Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Dec 07, 2017 5:13 pm

When I flatten the form all field formatting is lost, i have a column that is formatted in currency format R xxx,000 , but when i flatten the pdf using doc.form.isflatten = true then the field goes back to what I primed it which is 123, before flattening the field shows correct R 123,000.

Terence

skyhikeeper
 
Posts: 3
Joined: Tue Jun 21, 2011 8:42 pm

Fri Dec 08, 2017 6:03 am

Hello,

Thanks for your inquiry.
I tested the scenario on my side with the latest hotfix(Spire.PDF Pack(Hot Fix) Version:3.9.511)and got the result 123000. Anyway, I have logged the issue into our bug tracking system. Once there's any update, I will let you know.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Fri Dec 08, 2017 4:42 pm

Hi Jane

Thanks I have not tested with the patch yet, when will the nuget packages be updated with the new release?

Terence

skyhikeeper
 
Posts: 3
Joined: Tue Jun 21, 2011 8:42 pm

Mon Dec 11, 2017 1:37 am

Hello,

Sorry for the late reply.
Now the version 3.9.511 is available on the Nuget. Once your issue has been resolved and the hotfix is released, I will inform you.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu Dec 14, 2017 6:23 am

Hello,

After a thorough investigation, our dev team found the format could not be maintained at present. Since the format for the form field is set by the JS function, yet our Spire.Pdf doesn't support the parsing of JS function, the issue could't be resolved in a short time. We will continue looking for other approaches, once there's any update in the future, I will notify you.
Sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDF