Avatar

Level 3

I do not use the method "renderPDFForm" (at least not explicitly), instead use the "renderXDPForm (...)".

I added the XDP form the zip (I forgot:disappointed_face: download from here!


And the only parameter that you can tell this method over the "target" of the resulting PDF is "com.adobe.idp.services.PDFFormRenderSpec. "

/* Common to all generated PDF */

com.adobe.idp.services.PDFFormRenderSpec renderSpec= new com.adobe.idp.services.PDFFormRenderSpec();
renderSpec.setLinearizedPDF(true);
renderSpec.setLocale("es_ES");
renderSpec.setRenderAtClient(RenderAtClient.No);
renderSpec.setCacheEnabled(false);
renderSpec.setStandAlone(true);

/* Target version 8 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion8.pdf" */
renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_8);

/* Target version 7.0.5 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion7.pdf"  */
renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_7_0_5);

/* Target version 6 o superior: Usede ONLY to generate "MyForm-ES-AcroVersion6.pdf"  */
renderSpec.setAcrobatVersion(AcrobatVersion.Acrobat_6);

After this, process PDF forms resulting in Assembler.

I tried also NO explicitly assign the "AcroVersion" ... and in such cases, the resulting AcroVersion indicated corresponds to the time of design (Adobe Designer, File / Form Properties / Default / Target Version), and in such cases the resulting PDF, also displays the warning message.

I do not know if I answered your question.

Any idea?