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.

Wed Sep 28, 2022 12:27 pm

When converting a file in PDF_A format, the personnalized properties of the document are lost.
please see attachment for examples

the code to perform in memory conversion is the following :

ByteArrayOutputStream baos = new ByteArrayOutputStream();
ByteArrayInputStream bais = null;
document.saveToStream(baos);
document.close();
bais = new ByteArrayInputStream(baos.toByteArray());

// Convert to PdfA1A
PdfStandardsConverter converter = new
PdfStandardsConverter(bais);
converter.toPdfA3B(outputName);

bais.close();
baos.close();

we are currently on Java 1.8, SAP JVM, and SpireOffice for java 7.6.4

Regards
Guillaume PATRY

GuiPATRY
 
Posts: 37
Joined: Wed Feb 17, 2021 10:18 am

Thu Sep 29, 2022 9:01 am

Hello,

Thanks for your inquiry.
Personalized data can’t be used in PDF/A document, you can verify it with using adobe to convert PDF containing personalized data to PDF/A document.
If you have any other issue, just feel free to contact us.

Sincerely
Abel
E-iceblue support team
User avatar

Abel.He
 
Posts: 1010
Joined: Tue Mar 08, 2022 2:02 am

Return to Spire.PDF