pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1688664 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSName.java
Date Wed, 01 Jul 2015 14:55:24 GMT
Author: tilman
Date: Wed Jul  1 14:55:23 2015
New Revision: 1688664

URL: http://svn.apache.org/r1688664
Log:
PDFBOX-2849: default value for check boxes and radio buttons is "Off", not "OFF".

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSName.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSName.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSName.java?rev=1688664&r1=1688663&r2=1688664&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSName.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/cos/COSName.java Wed Jul  1 14:55:23
2015
@@ -361,7 +361,17 @@ public final class COSName extends COSBa
     public static final COSName OCGS = new COSName("OCGs");
     public static final COSName OCPROPERTIES = new COSName("OCProperties");
     public static final COSName OE = new COSName("OE");
+    
+    /**
+     * "OFF", to be used for OCGs, not for Acroform
+     */
     public static final COSName OFF = new COSName("OFF");
+    
+    /**
+     * "Off", to be used for Acroform, not for OCGs
+     */
+    public static final COSName Off = new COSName("Off");    
+    
     public static final COSName ON = new COSName("ON");
     public static final COSName OP = new COSName("OP");
     public static final COSName OP_NS = new COSName("op");



Mime
View raw message