Question
Self
SG
Last activity: 20 Nov 2018 16:26 EST
Generating Word document (docx format)
Hi All,
I have a requirement, where I need to read a word document from one server location update and save back to a different location on the server.
Reading a file from the server, I have no issues. But updating the word template document is not happing even after hardcoding the values. Need advice ASAP
I tried using the below methods, but unable to generate
1. Using Docx4J
2. Using Apache POI
3. Unable use Aspose (Due to some issue in importing, Aspose jar's classes are not exploded into prEngineClass.
Below is the sample codes,
Docx4J
org.docx4j.openpackaging.packages.WordprocessingMLPackage.createPackage();
Hi All,
I have a requirement, where I need to read a word document from one server location update and save back to a different location on the server.
Reading a file from the server, I have no issues. But updating the word template document is not happing even after hardcoding the values. Need advice ASAP
I tried using the below methods, but unable to generate
1. Using Docx4J
2. Using Apache POI
3. Unable use Aspose (Due to some issue in importing, Aspose jar's classes are not exploded into prEngineClass.
Below is the sample codes,
Docx4J
org.docx4j.openpackaging.packages.WordprocessingMLPackage.createPackage();