You can create a PdfDestination to any page: past, present and future. See
PdfAction.gotoLocalPage().

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Finn Bock [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 31, 2003 11:03
> To:   itext-questions
> Subject:      [iText-questions] PdfDestinations to flushed pages.
> 
> Hi,
> 
> I'm seeking a hint on how I can create a PdfDestination to pages that I 
> already have completed. Unfortunately, I only know which parameters to 
> use for the PdfDestination after all the pages have been created.
> 
> The only solution that I was able to find required an additional method 
> on the PdfDestination class because the PdfIndirectReference class and 
> the PdfWriter.getPageReference() method are package private.
> 
>      public boolean addPage(PdfWriter writer, int page) {
>          return addPage(writer.getPageReference(page));
>      }
> 
> But perhaps I have overlooked a different or better way to save some 
> kind of reference to the pages when I create the pages.
> 
> regards,
> finn << File: destination.patch >> 


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to