The following code generate the paragraph and i know we can use same structure to add any other element to the document. But the the PDF getting generated from this does not compliant to the 508. The application is in .net and we dont have any samples for .net. I wonder whether we could use XML to create the PDF.But then again the book does not mentioned any parsers for .NET.
Document document = new Document(PageSize.A4, 36, 36, 54, 36); try { ColumnText _column; PdfWriter writer = PdfWriter.GetInstance(document, new FileStream("IText6.pdf", FileMode.OpenOrCreate)); writer.SetTagged(); document.Open(); PdfContentByte cb = writer.DirectContent; BaseFont bf = BaseFont.CreateFont(BaseFont.HELVETICA, BaseFont.CP1252, BaseFont.NOT_EMBEDDED); PdfStructureTreeRoot root = writer.StructureTreeRoot; _column = new ColumnText(cb); _column.SetSimpleColumn(50, 50, 400, 400); Paragraph _para = new Paragraph(@"Some of the most recognizable customers of the Adobe PDF Library are prominent Adobe products, including Adobe Acrobat, Reader®, Photoshop®, Illustrator®, InDesign®, and FrameMaker® software; Adobe LiveCycle™ server products family; the Adobe PostScript® language; and others. However, the Adobe PDF Library SDK was specifically created to support OEMs, systems integrators, independent software vendors, and enterprise IT developers who want to incorporate Adobe PDF functionality into new or existing applications and workflows. Some of the most recognizable customers of the Adobe PDF Library are prominent Adobe products, including Adobe Acrobat, Reader®, Photoshop®, Illustrator®, InDesign®, and FrameMaker® software; Adobe LiveCycle™ server products family; the Adobe PostScript® language; and others. However, the Adobe PDF Library SDK was specifically created to support OEMs, systems integrators, independent software vendors, and enterprise IT developers who want to incorporate Adobe PDF functionality into new or existing applications and workflows. Some of the most recognizable customers of the Adobe PDF Library are prominent Adobe products, including Adobe Acrobat, Reader®, Photoshop®, Illustrator®, InDesign®, and FrameMaker® software; Adobe LiveCycle™ server products family; the Adobe PostScript® language; and others. However, the Adobe PDF Library SDK was specifically created to support OEMs, systems integrators, independent software vendors, and enterprise IT developers who want to incorporate Adobe PDF functionality into new or existing applications and workflows. Some of the most recognizable customers of the Adobe PDF Library are prominent Adobe products"); _column.AddElement(_para); _column.Go(); document.Close(); } catch (Exception de) { } -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfStructureElement-with-ColumnText-tp3023234p3023370.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php