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.

Tue Jan 14, 2025 9:38 am

Using spire.pdf 10.10.7 (paid customer) for java.

I have problems in flattening the attached file (not_flatten.pdf).

After flattening using the following code:

Code: Select all
  PdfDocument pdf = new PdfDocument();
    pdf.loadFromFile("not_flatten.pdf");
    pdf.getForm().isFlatten(true);
    pdf.saveToFile("Flatten.pdf");


the textboxes in flatten.pdf file contain different values (one is empty) from the not_flatten file. Everything
seems to work for radio and checkboxes.

Can you help me?

donspa72
 
Posts: 7
Joined: Wed Dec 11, 2024 1:30 pm

Wed Jan 15, 2025 2:42 am

Hello,

Thank you for your letter. Using your document, I have indeed reproduced this issue. I have logged it into our bug system with SPIREPDF-7330. Our Dev team will further fix it. We will inform you once there is any progress.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1533
Joined: Wed Apr 25, 2018 3:20 am

Mon Mar 03, 2025 2:22 am

Hello,

Thanks for your patience.
We are pleased to inform you that our latest version (Spire.PDF for Java Version:11.2.3) includes the fix for the SPIREPDF-7330 issue. Please use our latest version for testing.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1533
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.PDF

cron