Convert doc to docx using docx4j .
Posted: Thu Jan 22, 2015 6:48 pm
When i Convert doc file to docx file using docx4j
The alignment is missing,some extra special characters are coming,table is not present.
Have used the following code
The alignment is missing,some extra special characters are coming,table is not present.
Have used the following code
- Code: Select all
String localPath = "DocFile.doc";
WordprocessingMLPackage mlPackage = Doc.convert(iStream);
String outputfilepath = "DocxFile.docx";
out.save(new File(outputfilepath));