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 2020/12/15 19:45:00 UTC

svn commit: r1884469 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentNameDictionary.java

Author: tilman
Date: Tue Dec 15 19:44:59 2020
New Revision: 1884469

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

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

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentNameDictionary.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentNameDictionary.java?rev=1884469&r1=1884468&r2=1884469&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentNameDictionary.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentNameDictionary.java Tue Dec 15 19:44:59 2020
@@ -148,10 +148,11 @@ public class PDDocumentNameDictionary im
     }
 
     /**
-     * Get the document level javascript entries. The values in this name tree
-     * will be PDTextStream objects.
+     * Get the document level JavaScript name tree. When the document is opened, all the JavaScript
+     * actions in it shall be executed, defining JavaScript functions for use by other scripts in
+     * the document.
      *
-     * @return The document level named javascript.
+     * @return The document level JavaScript name tree.
      */
     public PDJavascriptNameTreeNode getJavaScript()
     {