pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1828491 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroForm.java
Date Fri, 06 Apr 2018 05:51:52 GMT
Author: msahyoun
Date: Fri Apr  6 05:51:52 2018
New Revision: 1828491

URL: http://svn.apache.org/viewvc?rev=1828491&view=rev
Log:
PDFBOX-4172: add source code comment for default setting; closes #45

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroForm.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroForm.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroForm.java?rev=1828491&r1=1828490&r2=1828491&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroForm.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDAcroForm.java
Fri Apr  6 05:51:52 2018
@@ -711,6 +711,8 @@ public final class PDAcroForm implements
      */
     private boolean resolveNeedsTranslation(PDAppearanceStream appearanceStream)
     {
+        // a field without specific settings typically needs to be translated
+        // to the correct position
         boolean needsTranslation = true;
         
         PDResources resources = appearanceStream.getResources();



Mime
View raw message