Hi,
I am using iText.2.1.3 jar to create dynamic pdf in our web
application.Part of this dynamic pdf creation require create a overlay text
over rounded rectangle.I had already implemented PdfPTableEvent tableLayOut
method to draw round rectangle over table with same concept PdfContentByte
roundRectangle()(using lineTo,CurveTo and moveTo method,Create a blank space
of width of header that will be occupied by overlay text as header.).
For simpler one when i try to add overlay header with round rectangle it
works perfectly.but when i'm trying to do the following some header text
goes to end of the page.
let outer table "tblMn" with header "Txt1" and this outer table add 2 inner
table as cell with same colspan of outer table.let inner table "tblInnerOne"
has overlay header text "TxtInner1" and inner table "tblInnerTwo" has
overlay header text "TxtInner2".now outer table can span over pages and as
not waste page space i used
setSplitLate(false) and setSplitRows(true) for outer table.Now the problem
is overlay text is shown perfectly but same overlaytext (for any table
inner/outer that span over pages) displayed at the end of the page.
To Write text i'm used
cb.beginText();cb.setTextMatrix();cb.showText();cb.endText(); then add this
PdfPTemplate to canvas.
Sorry for my english.kindly help me.if anything required(whole code
snippet/PDF image/anything that will be helpful to understand my question)
you can ask for it.also you can give me an alternative approach if i'm doing
something wrong.
Thanks&Regards
Gandhi
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Problem-While-Creating-Overlay-Text-Over-Rounded-Rectangle-tp4655920.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) 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