hello sir,
How are you?
I want to add book marks to my data. This data is
there in pdf table cell with an anchor.
At present i am having code like this.
Chunk chunk1 = new
Chunk(sName.trim(),FontFactory.getFont(FontFactory.HELVETICA,
7,Font.UNDERLINE,new Color(0, 0, 255)));
chunk1.setAnchor(new
URL("http://www.lowagie.com/iText/"));
Phrase ph1 = new Phrase(chunk1);
table.getDefaultCell().setBorder(0);
table.addCell(ph1);
There "sName.trim()" is coming from database.
I have tried to add book mark like this
Paragraph pp2 = new Paragraph(chunk1);
Chapter chapter1 = new Chapter(pp2, iCount);
document.add(chapter1);
But It is creating new chunk (new data) for which
book mark is adding.
Please suggest me some good alternative. It would be
great if you can send
some sample code.
regards
subrahmanyam
=====
subrahmanyam.gopaluni,
Pinnacle Info Solutions Pvt. Ltd
7th floor, Khivraj Complex-II
chennai-600 035, India
ph:+91 (44) 7198500 ext 507
7198506/7
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions