XHTML-docx roundtrip: content tracking
There are a couple of common use cases for docx4j’s XHTML import capability: The first is enabling a webapp with HTML reporting to output/export reports in Word’s docx format. With docx4j, you can get...
View ArticleWeb-based docx editing?
Following on from the previous post on content tracking, some people have been asking about how to edit a docx in a web browser. So I thought I’d link to a proof of concept we did a year or so ago. The...
View ArticleDocx4jHelper Word AddIn
The dream: View Open XML right from within Word, and see what happens when you edit it. Or generate corresponding docx4j Java code, with deep links into the corresponding docx4j source code and Open...
View ArticleWord 2013 repeatingSection content controls – ready for prime time?
For developers wondering about Microsoft’s commitment to content controls, Office 2013 was certainly good news. In Microsoft’s “What’s new for Word 2013 developers”, 2 of the 4 items were about content...
View ArticleI have my XML, now what?
A barrier to using content control data binding has been getting a feel for what the solution might look like. You have your XML data, but what do you do next? The audience for this post is broader...
View ArticleContent controls for business data connectivity
Sometimes, Word is a natural way for people to interact with back end applications (eg SAP). This is particularly so when: business data will be output to a Word document, the user is more familiar...
View ArticleHigh fidelity PDF output
This post introduces our new commercial component for docx to PDF output. The background is that docx4j’s standard method of producing PDF output has been via XSL FO, using Apache FOP. This has worked...
View Articledocx4j from GitHub in Eclipse – 5 years on
In May 2012 we posted docx4j-from-github-in-eclipse. That was 5 years ago now, so its about time to update that walkthrough This post is about getting the docx4j source code setup in Eclipse, so you...
View ArticleOff topic: Eclipse’s maven from a command line?
You’ve installed Eclipse. Eclipse includes maven (m2e). Can you use that Maven from outside Eclipse, or do you need to install maven again/separately? It turns out you can use it. Whether its worth...
View ArticleAspose.Confusion in Words
In June, Aspose’s Shoaib Khan published a blog post purporting to cover features available in Aspose.Words for Java but not docx4j. It is either breathtaking or amusing in its inaccuracy, depending on...
View ArticlePDF/A-2b compliant Word to PDF
Plutext’s commercial PDF Word/docx Converter now produces fully PDA/A-2b compliant PDF output. We say this having tested its output using http://verapdf.org/ “a purpose-built, open source, file-format...
View ArticleDocx4j Helper Word AddIn: new version v3.3.0
We’ve just published a new version of our Helper AddIn for Word; you can download it from http://www.plutext.com/dn/downloads/1463704836167/Docx4j_Helper_3-3-0-06.exe Here’s what it looks like: Its...
View ArticleTool review: Merging Word documents on the desktop
Sometimes Microsoft Word users need to join several Word documents into a single file, without loss of formatting. An example would be a cover letter, a quote, and a contract. Or a proposal or...
View ArticleJAXB RI new home on the web
https://github.com/javaee/jaxb-v2 is JAXB’s new home (jaxb.java.net now redirects there). Issue tracker is at https://github.com/javaee/jaxb-v2/issues (though it seems some existing issues didn’t get...
View ArticleScaling the PDF Converter with AWS Fargate
This is a walkthrough of deploying the PDF Converter on Amazon’s FarGate. What is Fargate? New since November 2017, its an easy way of deploying containers on AWS ECS. You don’t have to manage the...
View ArticleUsing HTTPS on FarGate
This is the second post in a series on scaling the PDF Converter using Amazon’s FarGate service. In the first post, we got the PDF Converter running across 2 instances behind a load balancer, in under...
View ArticlePDF Converter task sizing and auto scaling
With FarGate, you have to specify a task size: Load testing with JMeter, I have found that 2 vCPU works well for the Task CPU setting. The minimum Task Memory you can set for 2 vCPU’s is 4GB. (The...
View ArticleDocx4j and WebSphere 2018
TLDR Current 3.3.x Docx4j works with WebSphere versions 8.5.5.9 and 9.0.0.5 in WebSphere’s default configuration (tested with IBM Java 8, which is not the default in WebSphere 8.5.5.9). docx4j 3.3.7...
View ArticleFrom VariableReplace to OpenDoPE data binding
This blog post is a walkthrough of how to easily move from variable replacement to OpenDoPE content control data binding. Introduction Variable replacement is quite a popular way to get started...
View Articlemarkdown to docx
I was looking for a way to convert swagger2markup markdown output to docx using Java (as opposed to Pandoc). I found flexmark-java which describes itself as: Java Markdown parser with source level AST....
View Article