Joined: 28 Oct 2010
|Posted: Thu Oct 28, 2010 1:24 am Post subject: Filling up word template with text and images from other doc
I need to generate a word document based on a template. Template has few bookmarks, and contents(to fill up) for these bookmarks comes from various other documents.
These word document may contain text/image or both. I need to read entire word document and then paste it in the template to replace the bookmar.
I could read bookmarks using API, I even have managed to replace it with either text or image. I am still not able find out how do I put entire document including text/image into the template.
I could read either all text paragraphs in a Enum or all graphics objects in a enum. How do I read entire document sequentially ?
I am using Java API.