Files from "Convert DOCX to PDF in Java" on pdfconversionapi.com (tested 2026-11-26).

project/PdfConversionApi.java   The API code from the page (java.net.http and Jackson; set PDFCONVERSIONAPI_KEY).
project/LibreOfficePdf.java     The LibreOffice code from the page, with a profile per call.
project/Bench.java, Usage.java  The API and LibreOffice runs: java -cp '/deps/api/*' Bench.java api | usage | lo.
                                We ran the API runs against a local container of our API, with only the address changed.
project/routes/                 The library calls we ran: Xdoc.java (Apache POI + XDocReport), Docx4j.java,
                                Documents4j.java, Jod.java and JodOne.java (JODConverter). Route.java holds the timer.
poms/                           One pom.xml per route; Dockerfile-jdk copies their jars to /deps/<route>.
Dockerfile-jdk, Dockerfile-libreoffice   The two images.
compare.py, compare_images.py   How we read the PDFs (PyMuPDF) and made the picture on the page.
results.txt                     What each run printed.
inputs/                         The three Word files (CC0, from our other guides).
outputs/api, xdoc, docx4j, lo, jod   Every PDF the runs wrote.

The sample files and these scripts are released under CC0 1.0. The libraries are their authors' work under their own
licenses.
