How can i set Tab order entry in page with annotations to S(structure). This is one of check that fails for PDF documents generated with Aspose.Words for Accessibility compliance.
Hi Samir,
Thanks for your inquiry. Please note that Aspose.Words mimics the same behavior as MS Word does. Aspose.Words does not provide the requested feature. However, you can set the page TabOrder using Aspose.Pdf. I am moving this forum thread to Aspose.Pdf forum. My colleagues from Aspose.Pdf team will reply you in detail.
Hi Samir,
Aspose.Words.Document
doc = new Aspose.Words.Document(myDir
- “InputDocument.rtf”);<o:p></o:p>
Aspose.Words.Saving.PdfSaveOptions options = new Aspose.Words.Saving.PdfSaveOptions();
doc.Save(ms,options);
Document pdfDocument = new Document(ms);
pdfDocument.Pages[1].TabOrder = Aspose.Pdf.TabOrder.Default;
// Convert to PDF/A compliant document
//during conversion process, the validation is also performed
pdfDocument.Convert(myDir+"log.xml", PdfFormat.PDF_A_2B, ConvertErrorAction.Delete);
// Save output document
pdfDocument.Save(myDir+"output_pdfa2b.pdf");
Please feel free to contact us for any further assistance.
Best Regards,
Thanks Tilal, I was able to resolve this issue by using Aspose.pdf for .NET library and your sample code. Thanks for the solution.
Hi Samir,