document.xml.rels file not getting saved
Status: Beta
Brought to you by:
neodante
I am Nikhil Walvekar from India. My application needs generate reports in
docx format. There is original document which defines place holders which I
will replace by actual values and save as a new file.
While saving new docx file document.xml.rels file is not getting saved and
so the docx file is not getting opened into MS word.
Can you please guide me to solve the issue?
Thanks,
Nikhil
walvekar@gmail.com
Hello Nikhil.
Perhaps you shouldn't edit the document.xml.rels directy, but use methods like
PackagePart.addExternalRelationship(String target, String relationshipType, String id)
But be careful: there is another bug (2819820)
http://sourceforge.net/tracker/?func=detail&aid=2819820&group_id=175435&atid=873223