Java – apache poi Word documents (.doc, .docx) updating

apache-poijavams-word

There seems to be a huge lack of documentation regarding the manipulation of word documents in apache poi (or perhaps I'm looking in the wrong place?)

Is it possible to open a word document and only edit one line/paragraph and then rewrite the document just as it is using poi? Should I even bother with using apache poi, or is there a better supporting library for what I'm trying to accomplish?

Best Answer

I think it is possible with POI. You can find and replace relevant line using poi. I haven't tried editing documents

check more on this

and http://www.coderanch.com/t/534754/java/java/Editing-pdf-word-content-text

Related Topic