Page 1 of 1

API Please?

PostPosted: Thu Apr 12, 2018 2:28 pm
by arthurw
Dear List and creators ,

Thank you for this lovely library. It has been very helpful and useful.

So I noticed a post from 2010 requesting an API. Apparently there is still no API that I can locate.

Would someone please help me locate the docx4j api please?
Just running javadoc on the source code ought to work, right? I could do it myself but it usually helps to have something like this available perhaps?

Sincerely and gratefully,

A

Re: API Please?

PostPosted: Fri Apr 13, 2018 3:25 pm
by jason
docx4j maps closely to OpenXML.

In other works, one layer implements the open packaging specification.

Another layer maps 1:1 to the Open XML XSDs.

With that you can do pretty much anything the file formats allow. But beyond that, docx4j also includes some higher level functionality, probably best discovered by Googling your specific use case. Feel free to post any questions, but if its a simple "how do I achieve format XYZ", please try generating the relevant code (as per my answer to your other question).