You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2021/07/13 17:45:21 UTC

svn commit: r1891510 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PageLayout.java

Author: tilman
Date: Tue Jul 13 17:45:21 2021
New Revision: 1891510

URL: http://svn.apache.org/viewvc?rev=1891510&view=rev
Log:
PDFBOX-4892: improve javadoc

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PageLayout.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PageLayout.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PageLayout.java?rev=1891510&r1=1891509&r2=1891510&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PageLayout.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PageLayout.java Tue Jul 13 17:45:21 2021
@@ -33,13 +33,20 @@ public enum PageLayout
     /** Display the pages in two columns), with odd numbered pages on the left. */
     TWO_COLUMN_LEFT("TwoColumnLeft"),
 
-    /** Display the pages in two columns), with odd numbered pages on the right.  */
+    /**
+     * Display the pages in two columns), with odd numbered pages on the right. See also
+     * {@link PDViewerPreferences#setReadingDirection(org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.READING_DIRECTION) PDViewerPreferences.setReadingDirection()}
+     * if dealing with RTL language.
+     */
     TWO_COLUMN_RIGHT("TwoColumnRight"),
 
     /** Display the pages two at a time), with odd-numbered pages on the left. */
     TWO_PAGE_LEFT("TwoPageLeft"),
 
-    /** Display the pages two at a time), with odd-numbered pages on the right. */
+    /** Display the pages two at a time), with odd-numbered pages on the right. See also
+     * {@link PDViewerPreferences#setReadingDirection(org.apache.pdfbox.pdmodel.interactive.viewerpreferences.PDViewerPreferences.READING_DIRECTION) PDViewerPreferences.setReadingDirection()}
+     * if dealing with RTL language.
+     */
     TWO_PAGE_RIGHT("TwoPageRight");
 
     public static PageLayout fromString(String value)