pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1701387 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineItem.java
Date Sat, 05 Sep 2015 14:07:28 GMT
Author: tilman
Date: Sat Sep  5 14:07:28 2015
New Revision: 1701387

URL: http://svn.apache.org/r1701387
Log:
PDFBOX-2793: make method from rev 1679331 public as wished by Andrea Vacondio

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineItem.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineItem.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineItem.java?rev=1701387&r1=1701386&r2=1701387&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineItem.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/outline/PDOutlineItem.java
Sat Sep  5 14:07:28 2015
@@ -276,8 +276,14 @@ public final class PDOutlineItem extends
         return page;
     }
 
-    //if we have a named destination we need to lookup the PDPageDestination
-    private PDPageDestination findNamedDestinationPage(PDNamedDestination namedDest, PDDocument
doc)
+    /**
+     * Find the page destination from a named destination.
+     * @param namedDest the named destination.
+     * @param doc the document.
+     * @return a PDPageDestination object or null if not found.
+     * @throws IOException if there is an error creating the PDPageDestination object.
+     */
+    public PDPageDestination findNamedDestinationPage(PDNamedDestination namedDest, PDDocument
doc)
             throws IOException
     {
         PDPageDestination pageDestination = null;



Mime
View raw message