Hi,
We are working on saving off our documents as PDF and having it be accessible. We are saving the document structure and we see the tags but we are not getting the language in the tags even though it is specified in the document. I have attached a sample Word document and the resulting PDF. What is interesting to note is when inspecting the tags the language appears in the “content” tab of the tag inspector in Adobe Acrobat pro but not in the “tag” section. This is the code that was used to create the attached:
`com.aspose.words.Document docx = new com.aspose.words.Document("C:/path/to/Desktop/hello.docx");
PdfSaveOptions pdfSaveOptions = new PdfSaveOptions();
pdfSaveOptions.setExportDocumentStructure(true);
docx.save("C:/path/to/Desktop/hello.pdf", pdfSaveOptions);`
I am wondering if we are missing something or is there something that can be done to get the language from the content tab to tag tab.
tag.PNG (3.1 KB)
content.PNG (3.3 KB)
Hello.docx (11.3 KB)
hello.pdf (14.6 KB)