On 2/11/2010 10:11, wowarjuna wrote:
>
> 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.

That's because you've thrown away these lines:
PdfStructureElement p = new PdfStructureElement(root, PdfName.P);
cb.BeginMarkedContentSequence(p);
cb.EndMarkedContentSequence(p);

You need to begin the marked content sequence before
_column.Go() and it it after _column.Go().
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
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

Reply via email to