[
https://issues.apache.org/jira/browse/PDFBOX-3174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-3174.
-----------------------------------
Resolution: Not A Problem
Assignee: Tilman Hausherr
Good news: it works with the non sequential parser, which will be the only one
in 2.0:
{code}
PDDocument doc = PDDocument.loadNonSeq(new ByteArrayInputStream(pdfdata), null);
pdfStripper = new PDFTextStripper();
parsedText = pdfStripper.getText(doc);
{code}
> Get errormessage "FlateFilter: stop reading corrupt stream due to a
> DataFormatException" by extracting text from pdf-file
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-3174
> URL: https://issues.apache.org/jira/browse/PDFBOX-3174
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.8.10
> Environment: Windows 7/64bit, Java 1.7_67
> Reporter: Josef Sigritz
> Assignee: Tilman Hausherr
> Attachments: out1.pdf
>
>
> we generate pdf-Files from xml by transformation to fo and converting it with
> Antennahouse to pdf. We wants to check correct hyphenation in pdf, therefore
> we extract the text from the pdf. Sometimes we get errormessage
> "FlateFilter: stop reading corrupt stream due to a DataFormatException" by
> extracting the text.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]