poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pkininge <pkini...@yahoo.co.in>
Subject Facing challenge in processing {INCLUDETEXT "sample.doc" } in footer and body of the word document
Date Wed, 19 Oct 2016 07:04:26 GMT
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

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

View raw message