Dear List I've written a couple of times about a strangeness with Chunk.setRemoteGoto(), but I'm no closer to an understanding of it.
The problem boiled down to a question about the PDF code emitted by this constructor for PdfAction:- public PdfAction(String filename, int page) { put(PdfName.S, PdfName.GOTOR); put(PdfName.F, new PdfString(filename)); put(PdfName.D, new PdfLiteral("[" + (page - 1) + " /FitH 10000]")); } As I wrote previously, some links generated by this code, when viewed with the Adobe reader, went to the wrong page of the destination document. However, changing the 10000 above to -32768 fixed it. Is this a bug? If so, is it a bug in iText or in the Adobe reader (other readers worked fine)? And whatever the case, does anyone have an explanation for the numbers? Thank you. Paul Breslaw. ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ 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