Top "Docx4j" questions

Docx4j is an open source (ASLv2) Java library for manipulating Microsoft OpenXML files (Word docx, Powerpoint pptx, and Excel xlsx) via JAXB

Reading .docx file in java

I am trying to read one file in java, following is the code : public void readFile(String fileName){ try { BufferedReader …

java apache-poi docx docx4j
Execution failed for task ':app:dexDebug'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException

I am building my android project when i got this error after import docx4j library in my project. What …

java android docx4j
Apache POI or docx4j for dealing with docx documents

What do you think Which is better to use to read docx document as java objects and why ? in other …

java apache-poi docx docx4j
Docx4j: Convert to PDF deprecated

The "getting started" document of docx4j contains sample code to write a docx to pdf: // Set up converter org.…

pdf docx4j
Creating a word document from a template dynamically using values from java objects

I want to create a word document from an HTML page. I am planning to get the values on the …

java ms-word jsoup docx4j
Convert HTML to DOCX

My question is very specific and I hope that someone has done this conversion from HTMLto DOCX. To do this …

java docx4j
Docx4j - How to replace placeholder with value

I've been trying to work through the examples FieldMailMerge and VariableReplace but can't seem to get a local test case …

java docx docx4j
how to convert HTML to .docx using docx4j?

I read some articles about the conversion of html to .docx and I found out that docx4j gives pretty …

java html converter docx docx4j
docx4j find and replace

I have docx document with some placeholders. Now I should replace them with other content and save new docx document. …

java docx docx4j
"img" must be terminated by the matching end-tag

When parsing some an XSL XML file using docx4j, I keep receiving this error: 'The element type "img" must …

xml xslt xslt-1.0 docx4j