Description
The current behavior of the org.apache.pdfbox.util.PDFTextStripper class is to ignore paragraph demarcation in the text. It basically just renders each line of text as it discovers it, separating each line equally with the same line separator.
This makes it difficult to identify paragraph (or even page) starts and stops in the extracted text. This is often necessary for text processing that needs to work with logical 'chunks' of text. Further, rendering into other formats (such as HTML or XML) is facilitated by resolving the document into more discrete logical text chunks.
The request here is for improved text extraction that provides more discrete instrumentation of the parsing, allowing one to identify / tag paragraph starts and stops.
Attachments
Attachments
Issue Links
- incorporates
-
PDFBOX-659 Newlines added in the middle of words
- Closed
- relates to
-
PDFBOX-533 PDFTextStripper.writeCharacters is called no where in the class
- Closed