pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1718665 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSigBuilder.java
Date Tue, 08 Dec 2015 18:28:54 GMT
Author: tilman
Date: Tue Dec  8 18:28:53 2015
New Revision: 1718665

URL: http://svn.apache.org/viewvc?rev=1718665&view=rev
Log:
PDFBOX-2852: misc typos

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSigBuilder.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSigBuilder.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSigBuilder.java?rev=1718665&r1=1718664&r2=1718665&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSigBuilder.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/visible/PDVisibleSigBuilder.java
Tue Dec  8 18:28:53 2015
@@ -233,7 +233,7 @@ public class PDVisibleSigBuilder impleme
         signatureField.getWidgets().get(0).setAppearance(appearance);
 
         pdfStructure.setAppearanceDictionary(appearance);
-        log.info("PDF appearence Dictionary has been created");
+        log.info("PDF appearance dictionary has been created");
     }
 
     @Override
@@ -241,7 +241,7 @@ public class PDVisibleSigBuilder impleme
     {
         PDStream innterFormStream = new PDStream(template);
         pdfStructure.setInnterFormStream(innterFormStream);
-        log.info("Stream of another form (inner form - it would be inside holder form) "
+
+        log.info("Stream of another form (inner form - it will be inside holder form) " +
                  "has been created");
     }
 
@@ -250,7 +250,7 @@ public class PDVisibleSigBuilder impleme
     {
         PDResources innerFormResources = new PDResources();
         pdfStructure.setInnerFormResources(innerFormResources);
-        log.info("Resources of another form (inner form - it would be inside holder form)"
+
+        log.info("Resources of another form (inner form - it will be inside holder form)"
+
                  "have been created");
     }
 
@@ -263,16 +263,16 @@ public class PDVisibleSigBuilder impleme
         innerForm.setBBox(formrect);
         innerForm.setFormType(1);
         pdfStructure.setInnerForm(innerForm);
-        log.info("Another form (inner form - it would be inside holder form) have been created");
+        log.info("Another form (inner form - it will be inside holder form) has been created");
     }
 
     @Override
     public void insertInnerFormToHolderResources(PDFormXObject innerForm,
                                                 PDResources holderFormResources)
     {
-        COSName name = holderFormResources.add(innerForm, "FRM");
-        pdfStructure.setInnerFormName(name);
-        log.info("Already inserted inner form inside holder form");
+        COSName innerFormName = holderFormResources.add(innerForm, "FRM");
+        pdfStructure.setInnerFormName(innerFormName);
+        log.info("Now inserted inner form inside holder form");
     }
 
     @Override
@@ -280,7 +280,7 @@ public class PDVisibleSigBuilder impleme
     {
         PDStream imageFormStream = new PDStream(template);
         pdfStructure.setImageFormStream(imageFormStream);
-        log.info("Created image form Stream");
+        log.info("Created image form stream");
     }
 
     @Override
@@ -288,7 +288,7 @@ public class PDVisibleSigBuilder impleme
     {
         PDResources imageFormResources = new PDResources();
         pdfStructure.setImageFormResources(imageFormResources);
-        log.info("Created image form Resources");
+        log.info("Created image form resources");
     }
 
     @Override
@@ -345,7 +345,7 @@ public class PDVisibleSigBuilder impleme
                 innerFormComment);
         appendRawCommands(pdfStructure.getImageFormStream().createOutputStream(),
                 imgFormComment);
-        log.info("Injected apereance stream to pdf");
+        log.info("Injected appearance stream to pdf");
     }
 
     public void appendRawCommands(OutputStream os, String commands) throws IOException



Mime
View raw message