[ 
https://issues.apache.org/jira/browse/PDFBOX-2545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235851#comment-14235851
 ] 

Maruan Sahyoun commented on PDFBOX-2545:
----------------------------------------

depends on the behavior we are trying to ensure

- using copy & paste in Adobe Reader the date "06-04-12 11:02“ is extracted
- using Save as -> Text in Adobe Reader the date "06-04-12 11:02“ is not 
extracted
- both ways the filename is never extracted in Adobe Reader

I wouldn’t consider it to be a bug as PDFBox works as designed but it might not 
be the expected result.

> ExtractText extracts filename and date
> --------------------------------------
>
>                 Key: PDFBOX-2545
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2545
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.8.7
>            Reporter: Stefan Postema
>         Attachments: 07-ALS-Onvoldoende-eten.pdf
>
>
> When using PDFBox 1.8 (and also a snapshot of 2.0.0), the ExtractText method 
> produces text which also contains the original Adobe Indesign filename (and 
> also the date and used images).
> Command line example:
> java -jar pdfbox-app-2.0.0-SNAPSHOT.jar ExtractText 
> 07-ALS-Onvoldoende-eten.pdf test.txt
> The first lines of this test.txt file are:
> VSN_Briefpapier_ontwerp_V03.indd   1 06-04-12   11:02
> Wat kan ik doen als het niet lukt om voldoende te eten? ALS en voeding
> Drinkvoeding
> Which should be without the Filename and date.
> When copy/pasting the text using Adobe Reader, the Indesign filename didn't 
> show up. Using a CLI tool 'pdftotext' also didn't show up the line with the 
> filename.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to