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