luffy45 wrote:
> Thanks for those tips but when i create an outline using the copy it doesn't
> appear on the pdf, the code sample is the following:
>
> Document d = new Document(reader.getPageSizeWithRotation(1));
> PdfCopy copy = new PdfCopy(d, new FileOutputStream("C:/rapportcopy_" +
> app.getTitle().replace(" ", "") + ".pdf"));
> copy.setPageEvent(index);
Who gave you the advice to do it this way?
Where did you find an example that uses page events with PdfCopy?
Why don't you follow our advice? Please throw away your code and
start anew using the advice that was previously given!!!
Why are you IGNORING the answers we are giving you???
Bruno
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar