5 Replies Latest reply on Nov 3, 2016 5:15 AM by Mahen Govender

    AEM Forms API (com.adobe.fd) - Creating a servlet that flattens a pdf

    Mahen Govender Level 1

      Hi All


      I am having trouble flattening a pdf. 

      Using LiveCycle it would be done using the OutputService.generatePDFOutput operation

      However the generatePDFOutput method available on com.adobe.fd.output.api.OutputService does not have a TransformationFormat that can be specified to a flat pdf, and its options object also does not seem to have anything that will help with this.

      So my question is, using the com.adobe.fd library, how would you take a pdf Document that has fields etc, and flatten it?