On 01/03/13 08:03, iText Info wrote: > Op 28/02/2013 16:05, Paul Breslaw schreef: >> I isolated one of these misbehaved target files, and looked at the >> corresponding iText-generated pdf code in the source file:- [0 /FitH >> 10000]. > Just from the top of my mind (I didn't check), but a page count starts > with 1 instead of 0, doesn't it?
According to the Pdf Reference document (third edition), page numbers refering to the local document start at 1, whereas page numbers refering to a remote document start with 0. In other words the first page of a /GoTo is 1, but that of a /GoToR is 0. In the case of, for example, bookmarks generated with iText, this is definitely consistent with my experience. When generating bookmarks, my own code always checks if the target file is local or remote before computing the destination page number. Regards Paul. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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