wailbouhadda31 Posted July 29 Share Posted July 29 Unable to merge two word files from different sources. One docx file is created with java with jasper reports library and i can read and open the file and its working, and the other file is created with microsoft word.when i try with two word files created with jasper reports it works fine, and when i try two word files created with microsoft word also work fine but when i try to mix files i got namespaces errors namespace not bound in my project i need to create a word file from some data i collected and stored in database with a word file imported by a user and i should combine the two files. I use this answer to merge the word file https://stackoverflow.com/a/58694535 Link to comment Share on other sites More sharing options...
anish.rai Posted July 31 Share Posted July 31 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
ddonofr Posted July 31 Share Posted July 31 Hello, this error is mostly related to Apache poi internal behaviour. Would it be possible for you to provide the project src code and docx files you are trying to merge? Regards Link to comment Share on other sites More sharing options...
wailbouhadda31 Posted August 2 Author Share Posted August 2 Thank you for your reply, the problem is indeed related to Apache poi internal behaviour, I already mentioned the src code i 'm using this answer https://stackoverflow.com/a/58694535. I tried docx library in node.js but i got the same problem. but in the end i did fix the problem by using python-docx library, I created a simple api with python that gets the docx files from different sources and merge them to a single file. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now