| Generating Production Documents as Tagged PDFs | |
You can enable documents for assembly as tagged PDFs through the parameters submitted on a request message to the Expere Engine. To do this, in the request message you must pass an enumerated option, TaggedPDF, on the DocumentFormat object. This option can be submitted as part of the request message in the following operations: SelectAndGenerate, Generate, AssembleDocuments, and AssembleDocumentsSet.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <SelectAndGenerateRequest xmlns=""> <Transaction xmlns="">[Data]</Transaction> <Organization xmlns="">[Data]</Organization> <PackageID xmlns="">PKG.MortgageClosing</PackageID> <DocumentFormat>TaggedPDF</DocumentFormat> <DynamicPdfRender>FOP</DynamicPdfRender> </SelectAndGenerateRequest> </soapenv:Body> </soapenv:Envelope>
<xs:element minOccurs="0" maxOccurs="1" name="DocumentFormat" type="tns:DocumentFormatType"/>
<xs:complexType name="DocumentFormatType"> <xs:sequence> <xs:element minOccurs="0" name="Enum" type="tns:DocumentFormatTypeEnum"/> </xs:sequence> </xs:complexType> <xs:element name="DocumentFormatType" nillable="true" type="tns:DocumentFormatType"/> <xs:simpleType name="DocumentFormatTypeEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="PDF"/> <xs:enumeration value="RAW_XML"/> <xs:enumeration value="RTF"/> <xs:enumeration value="TaggedPDF"/> </xs:restriction> </xs:simpleType> <xs:element name="DocumentFormatTypeEnum" nillable="true" type="tns:DocumentFormatTypeEnum"/>
<xs:complexType name="DynamicPdfRender"> <xs:simpleContent> <xs:extension base="tns:DynamicPdfRenderEnum"/> </xs:simpleContent> </xs:complexType> <xs:simpleType name="DynamicPdfRenderEnum"> <xs:restriction base="xs:string"> <xs:enumeration value="XEP"/> <xs:enumeration value="FOP"/> </xs:restriction> </xs:simpleType>