[
https://issues.apache.org/jira/browse/PDFBOX-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17032108#comment-17032108
]
karthik guns commented on PDFBOX-4764:
--------------------------------------
Thanks for the input able to get the layout using
[PDFLayoutTextStripper|https://jonathanlink.ch/PDFLayoutTextStripper.html]
Order# Description PO
11111 TL12
I am getting above value as a string,Any thoughts how to get the Order#,
Description as all are spaces,If the try to split with spaces i am not able to
retrieve the spaces for description.
Any inputs please.
Thanks in advance
> When a PDF has table with blank entries in the column the stripper just
> ignores the column and moves to next field in the coulmn
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-4764
> URL: https://issues.apache.org/jira/browse/PDFBOX-4764
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 2.0.8
> Reporter: karthik guns
> Priority: Major
>
> When a PDF has tables with columns with empty values,the stripper ignores the
> field and moves to next column which has records(if its blank it should
> capture)
>
> PDFTextStripperByArea stripper = new PDFTextStripperByArea();
> stripper.setSortByPosition(true);
> PDFTextStripper tStripper = new PDFTextStripper();
> String pdfFileInText = tStripper.getText(document);
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]