HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › PDF UA set LANG metadata › Reply To: PDF UA set LANG metadata
May 24, 2022 at 14:22
#34757
Hi Nina,
the title can be set with void setDocumentTitle(String title)
API call. But with lang
it is a bit more tricky.
Try the following:
pd4ml.addStyle("HTML, BODY {lang: DE-de !important}", true);