pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1676361 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripperByArea.java
Date Mon, 27 Apr 2015 19:24:13 GMT
Author: tilman
Date: Mon Apr 27 19:24:12 2015
New Revision: 1676361

URL: http://svn.apache.org/r1676361
Log:
PDFBOX-2775: disable ShouldSeparateByBeads in this derived class

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripperByArea.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripperByArea.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripperByArea.java?rev=1676361&r1=1676360&r2=1676361&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripperByArea.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/text/PDFTextStripperByArea.java Mon
Apr 27 19:24:12 2015
@@ -49,6 +49,18 @@ public class PDFTextStripperByArea exten
     public PDFTextStripperByArea() throws IOException
     {
         super();
+        super.setShouldSeparateByBeads(false);
+    }
+
+    /**
+     * This method does nothing in this derived class, because beads and regions are incompatible.
Beads are
+     * ignored when stripping by area.
+     *
+     * @param aShouldSeparateByBeads The new grouping of beads.
+     */
+    @Override
+    public void setShouldSeparateByBeads(boolean aShouldSeparateByBeads)
+    {
     }
 
    /**



Mime
View raw message