pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1779388 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java
Date Wed, 18 Jan 2017 21:30:04 GMT
Author: tilman
Date: Wed Jan 18 21:30:03 2017
New Revision: 1779388

URL: http://svn.apache.org/viewvc?rev=1779388&view=rev
Log:
PDFBOX-2852: clarify javadoc

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java?rev=1779388&r1=1779387&r2=1779388&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/documentnavigation/destination/PDPageDestination.java
Wed Jan 18 21:30:03 2017
@@ -78,9 +78,9 @@ public abstract class PDPageDestination
     }
 
     /**
-     * Set the page for this destination.
+     * Set the page for a local destination. For an external destination, call {@link #setPageNumber(int)
setPageNumber(int pageNumber)}.
      *
-     * @param page The page for the destination.
+     * @param page The page for a local destination.
      */
     public void setPage( PDPage page )
     {
@@ -180,9 +180,10 @@ public abstract class PDPageDestination
     }
 
     /**
-     * Set the page number for this destination.
+     * Set the page number for a remote destination. For an internal destination, call 
+     * {@link #setPage(PDPage) setPage(PDPage page)}.
      *
-     * @param pageNumber The page for the destination.
+     * @param pageNumber The page for a remote destination.
      */
     public void setPageNumber( int pageNumber )
     {



Mime
View raw message