Mark,

I've submitted a bug (ID 3189218) to the tracker list of Sourceforge, that
you closed referring to the mailing list. But the problem is not solved.

You said: "BeginMarkedContentSequence() checks the current page. You must
create
the tags while on the current page. In the above sample code, "oT2" would
have to be created and filled after the call to "oDoc.newPage();".
"

That seems simple in the example sent, but this is only a sample. In real
life I build the templates from data parsed from a XML document using a SAX
parser. At the moment of the collection I must write in various pages at the
same time (data comes in a table wider than a PDF page, so I'm
simultaneously writing in more than one). This is the reason why I'm using
templates (I don't need to write the same tempate in different pages).

As you see, I can't create marked content depending on calls to ..newPage().
So I think it seems an iText bug, because templates don't correctly addresse
marked content.



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Document-structure-and-marked-content-using-templates-tp3237661p3331203.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText® is a registered trademark of 1T3XT BVBA.
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