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 2019/12/14 04:09:44 UTC

svn commit: r1871360 - in /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox: multipdf/Overlay.java text/PDFMarkedContentExtractor.java text/PDFTextStripper.java

Author: tilman
Date: Sat Dec 14 04:09:44 2019
New Revision: 1871360

URL: http://svn.apache.org/viewvc?rev=1871360&view=rev
Log:
PDFBOX-4071: fix typo found by codespell on fossies.org

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java?rev=1871360&r1=1871359&r2=1871360&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/multipdf/Overlay.java Sat Dec 14 04:09:44 2019
@@ -52,7 +52,7 @@ import org.apache.pdfbox.pdmodel.graphic
 public class Overlay implements Closeable
 {
     /**
-     * Possible location of the overlayed pages: foreground or background.
+     * Possible location of the overlaid pages: foreground or background.
      */
     public enum Position
     {
@@ -593,9 +593,9 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the file to be overlayed.
+     * Sets the file to be overlaid.
      *
-     * @param inputFile the file to be overlayed. The {@link PDDocument} object gathered from
+     * @param inputFile the file to be overlaid. The {@link PDDocument} object gathered from
      * opening this file will be returned by
      * {@link #overlay(java.util.Map) overlay(Map<Integer, String>)}.
      */
@@ -605,9 +605,9 @@ public class Overlay implements Closeabl
     }
 
     /**
-     * Sets the PDF to be overlayed.
+     * Sets the PDF to be overlaid.
      *
-     * @param inputPDF the PDF to be overlayed. This will be the object that is returned by
+     * @param inputPDF the PDF to be overlaid. This will be the object that is returned by
      * {@link #overlay(java.util.Map) overlay(Map<Integer, String>)}.
      */
     public void setInputPDF(PDDocument inputPDF)

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java?rev=1871360&r1=1871359&r2=1871360&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFMarkedContentExtractor.java Sat Dec 14 04:09:44 2019
@@ -184,7 +184,7 @@ public class PDFMarkedContentExtractor e
 
             /* In the wild, some PDF encoded documents put diacritics (accents on
              * top of characters) into a separate Tj element.  When displaying them
-             * graphically, the two chunks get overlayed.  With text output though,
+             * graphically, the two chunks get overlaid.  With text output though,
              * we need to do the overlay. This code recombines the diacritic with
              * its associated character if the two are consecutive.
              */ 

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java?rev=1871360&r1=1871359&r2=1871360&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripper.java Sat Dec 14 04:09:44 2019
@@ -886,7 +886,7 @@ public class PDFTextStripper extends Leg
 
             // In the wild, some PDF encoded documents put diacritics (accents on
             // top of characters) into a separate Tj element. When displaying them
-            // graphically, the two chunks get overlayed. With text output though,
+            // graphically, the two chunks get overlaid. With text output though,
             // we need to do the overlay. This code recombines the diacritic with
             // its associated character if the two are consecutive.
             if (textList.isEmpty())