You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by pkininge <pk...@yahoo.co.in> on 2016/10/19 07:04:26 UTC
Facing challenge in processing {INCLUDETEXT "sample.doc" } in
footer and body of the word document
Hello All,
I am using Apache POI XWPFDocument for word processing. The scenario is, I
have a word template using which I have to generate a new word document by
replacing the required placeholders. Am getting excellent results with
overall processing. But stuck at a particular point.
The word template is having placeholders of type {INCLUDETEXT "sample.doc"
}. In this the tag is supposed to be replaced with content of the
sample.doc. This tag is used in body as well as in the footer.
Fetching the content of the the new file and placing it into the new
document is not a problem. But getting the hold of this tag itself is a
concern. Any help is how to handle this tag and its processing will be
helpful.
Thanks in advance.
--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Facing-challenge-in-processing-INCLUDETEXT-sample-doc-in-footer-and-body-of-the-word-document-tp5725254.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org