Actually, I'm trying to include Docx4j in a Struts project. When I just use Docx4j in JEE with its Servlet and JSP, everything works correctly, but then when I try with Struts 1.x Framework, I get so many fails because of this:
"ERROR Digester.getParser: javax.xml.parsers.ParserConfigurationException: AElfred parser is non-validating"
Can you suggest me anything? I've to check more Docs here, but I'm spending a long while whit it.
I have a docx file created using word and filled with mail merge fields (by non-tech users). How do I convert that to use "content controls" so I can dull the pain of mail merge telling me "MailMerger(659) - TODO MERGEFIELD field contained complex instruction". I assume that's MS-Word splitting the merge fields across runs???
Hi , We need to convert html to docx file. The generated docx is not preserving the line spacing as in html file. We need to generate the docx with exact line spacing as in html file. Any inputs are welcome.Thanks.
Just started using the docx4j library to create some word documents. Now I need to create a pie chart within the word document, I've tried searching to forums and came across a few topics that still left me confused.
At my disposal I have 3 relevant objects: ObjectFactory WordprocessingMLPackage MainDocumentPart
How would I go about adding a pie chart into the MainDocumentPart?
I have been working on converting a docx file to pdf. The conversion runs successfully, however the output in the pdf file is not the same:
- Looks like it is a different font - the pdf is one less page - the spacing seems to be different in the pdf - horizontal rules are not converted - the header and footers are messed up - the table of contents is different
I'm trying to a find and replace app for our works. Actually, it may be faster and easier via VisualBasic; however, after a long time without programming, I've turn back to my old friend Java. First I've tried Apache POI but it was not very useful Than I've discovered docx4j and actually love it!
Anyway, I've researched on google and this forum completely and I've written my codes via Maven install. However, my ...