Rank: Member
Groups: Registered
Joined: 4/15/2018(UTC) Posts: 24   Location: Sydney Thanks: 2 times
|
Hello,
I've got a problem where an external PDF has a field with a value that is formatted (e.g. Number or Percentage). When I open the PDF the first time this formatting is applied (e.g. 14.00, 200.00%) but if I change the value and remove focus from the field the formatting won't be applied (e.g, 15).
It looks like this formatting comes from the additional-action item in the field dictionary (AA) and I've tried using the Pdfium.FORM_DoDocumentAAction method to enforce this formatting with little success.
Have you got any pointers?
Many thanks!
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
Could you please provide this document?
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/15/2018(UTC) Posts: 24   Location: Sydney Thanks: 2 times
|
CCCO0007 with sum calc.pdf (27kb) downloaded 18 time(s).Hi Paul, Document attached. The second field is formatted as a percentage and the third field as a number (also a calculation, being the sum of the first two fields). Thanks!
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,138
Thanks: 10 times Was thanked: 133 time(s) in 130 post(s)
|
I have tried your document with both WPF and WinForms PDF viewer. These works fine. I can't reproduce the issue. Could you please provide the steps to reproduce it. Maybe a simple test application... PS. You should not call Pdfium.FORM_DoDocumentAAction or something like this. The support for acro forms already enabled in the viewers by default.
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/15/2018(UTC) Posts: 24   Location: Sydney Thanks: 2 times
|
A test app might be a bit tricky. It must be something in our code, I'll have to keep digging for now.
Thanks for your help!
|
|
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close