File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Other JSE/JEE APIs
Making PDF 508 Compliant using IText
Joined: Jan 28, 2009
Feb 21, 2012 08:53:24
I am using IText 5.1.3 to generate PDFs. Now I have this challenge of making the
508 compliant. For this I need to set the document structure so that the screen readers can read the document.
The pdf on a high level is split into tables, a header, body table (has nested tables inside), footer table. After reading Itext in action, i figured out until this point.
PdfWriter docWriter = PdfWriter.getInstance(document, bos); docWriter.setTagged(); document.open(); PdfStructureTreeRoot root = docWriter.getStructureTreeRoot(); PdfStructureElement e = new PdfStructureElement(root, PdfName.TABLE); document.open();
I am not sure how to assign my header or body table to this PdfStructureElement. Let me know if there is a better way to do it.
I agree. Here's the link:
subject: Making PDF 508 Compliant using IText
Image not dispaying in RTF document (Worddocument) using iText API
I am trying to generate a PDF file in Hibernate
Adding Header and Footer to an existing PDF
iText PDF - Setting Page Magnification?
iText PDF export
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013