Browse Source

Fixed IllegalArgumentException (no object number assigned) for this makeLink method. It makes no sense to add this to the trailer objects AFAICS. This particular method is only used by PDFGraphics2D's makeLink() method (SVG's #svgView(viewBox()) functionality). The positioning of the viewbox is still wrong, though. It must have been broken at some point.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@744690 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_0
Jeremias Maerki 15 years ago
parent
commit
61664b3492
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/java/org/apache/fop/pdf/PDFFactory.java

+ 1
- 1
src/java/org/apache/fop/pdf/PDFFactory.java View File

@@ -955,7 +955,7 @@ public class PDFFactory {

PDFGoTo gt = new PDFGoTo(page);
gt.setDestination(dest);
getDocument().addTrailerObject(gt);
getDocument().registerObject(gt);
PDFInternalLink internalLink = new PDFInternalLink(gt.referencePDF());
link.setAction(internalLink);


Loading…
Cancel
Save