[
https://issues.apache.org/jira/browse/PDFBOX-4216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jim Halpert updated PDFBOX-4216:
--------------------------------
Description:
Facing issue with Pdf decimal value mapping in the pdffiled in LINUX
environment, right side decimal values are cutting off, appreciate quick help
on this.
{code:java}
for (Object fieldObj : acroForm.getFields()){
PDField field = (PDField) fieldObj;
if(m.get(field.getFullyQualifiedName())!=null) // set value of map when map
key and pdf key is matched
field.setValue(m.get(field.getFullyQualifiedName()).toString());
}
{code}
Works in Windows, Linux Mint, Ubuntu as expected. Issue is only with Red Hat
Enterprise 7.4.
was:
Facing issue with Pdf decimal value mapping in the pdffiled in LINUX
environment, right side decimal values are cutting off, appreciate quick help
on this.
{code:java}
for (Object fieldObj : acroForm.getFields()){
PDField field = (PDField) fieldObj;
if(m.get(field.getFullyQualifiedName())!=null) // set value of map when map
key and pdf key is matched
field.setValue(m.get(field.getFullyQualifiedName()).toString());
}
{code}
> PDFBox decimal value cutting off in Red Hat Enterprise 7.4
> ----------------------------------------------------------
>
> Key: PDFBOX-4216
> URL: https://issues.apache.org/jira/browse/PDFBOX-4216
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.9
> Environment: LINUX
> Reporter: Jim Halpert
> Priority: Major
> Attachments: pdfbox_issue.PNG, pdfbox_linux_issue-saved.pdf,
> pdfbox_linux_issue.pdf
>
>
> Facing issue with Pdf decimal value mapping in the pdffiled in LINUX
> environment, right side decimal values are cutting off, appreciate quick help
> on this.
> {code:java}
> for (Object fieldObj : acroForm.getFields()){
> PDField field = (PDField) fieldObj;
> if(m.get(field.getFullyQualifiedName())!=null) // set value of map when map
> key and pdf key is matched
> field.setValue(m.get(field.getFullyQualifiedName()).toString());
> }
> {code}
> Works in Windows, Linux Mint, Ubuntu as expected. Issue is only with Red Hat
> Enterprise 7.4.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]