[
https://issues.apache.org/jira/browse/PDFBOX-3636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandar Veljovic updated PDFBOX-3636:
----------------------------------------
Attachment: dv_kanal.pdf
E.g. take a look at the date in the third line. When it gets the focus the real
value is displayed. When I try to read the value with PDFBox it says "null".
When I export it in acrobat as a txt file it says "01.01". When I open the PDF
in a text editor I can find the line "(01.01.2016) Tj".
> Wrong value read from date field
> --------------------------------
>
> Key: PDFBOX-3636
> URL: https://issues.apache.org/jira/browse/PDFBOX-3636
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.4
> Environment: windows 10
> Reporter: Aleksandar Veljovic
> Attachments: dv_kanal.pdf
>
>
> I have defined a date field in my PDF with the format "dd.mm.yyyy". Reading
> the value (field.getValueAsString()) works as expected if the input is a
> whole date string.
> Now when I set the field to e.g. "10.10" the value is accepted and displayed
> as "10.10.2016" (probably always the current year). But when I try to read
> the field it always delivers the last valid entry of the field and not what
> is displayed in the PDF.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]