![]() ![]() Use append() methods to append a FIELD element to the XFDF tree by passing a String name-value pair. When you create an instance of this class, an internal XFDF tree is initialized. ![]() Form fields in a PDF document include edit boxes, buttons, and radio buttons. XFDF is the XML version of Forms Data Format (FDF), a simplified version of PDF for representing forms data and annotations. XML Forms Data Format (XFDF) is a format for representing forms data and annotations in a PDF document. ("name : " + formName + ", value : " + fProcessor.getFieldValue(formName)) String formName = (String)enum.nextElement() The API returns the field names into an Enumeration object.įtTemplate(filePath) // Input File (PDF) nameĮnumeration enum = fProcessor.getFieldNames() Use the FormProcessor.getFieldNames() API to retrieve the field names from a PDF template. Merging an XML Data String with a PDF TemplateįtTemplate(originalFilePath) // Input File (PDF) nameįtDataString(xmlContents) // Input XML stringįtOutput(newFilePath) // Output File (PDF) nameįtMetaInfo(metaXml) // Metadata XML File name You can omit this setting when you do not use Metadata. Merging XML Data with a PDF Template Using Input/Output StreamsįileInputStream fIs = new FileInputStream(originalFilePath) // Input FileįileInputStream fIs2 = new FileInputStream(dataFilePath) // Input DataįileInputStream fIs3 = new FileInputStream(metaData) // Metadata XML DataįileOutputStream fOs = new FileOutputStream(newFilePath) // Output File Import .FormProcessor įormProcessor fProcessor = new FormProcessor() įtTemplate(args) // Input File (PDF) nameįtData(args) // Input XML data file nameįtOutput(args) // Output File (PDF) nameįtMetaInfo(args) // Metadata XML File name You can omit this setting when you do not use Metadata. Merging XML Data with a PDF Template Using Input/Output File Names You can optionally include a metadata XML file to describe the placement of overflow data in your template. XML data can be merged with a PDF template to produce a PDF output document in three ways: Generate the XFDF data from the PDF template Retrieve a list of field names from a PDF template The FO Processing Engine also includes utilities to provide information about your PDF template. This is a supplemental template to define the placement of overflow data. ![]() ![]() This can be done using file names, streams, or an XML data string.Īs input to the PDF Processing Engine you can optionally include an XML-based Template MetaInfo (.xtm) file. The PDF Form Processing Engine creates a PDF document by merging a PDF template with an XML data file. The following diagram illustrates the template type and output type options for each core processing engine: Provides batch processing functionality to access a single API or multiple APIs by passing a single XML file to specify template names, data sources, languages, output type, output names, and destinations. Provides optional postprocessing of PDF files to merge documents, add page numbering, and set watermarks.Ĭonverts RTF eText templates to XSL and merges the XSL with XML to produce text output for EDI and EFT transmissions. Merges XSL and XML to produce any of the following output formats: Excel (HTML), PDF, RTF, or HTML. Merges a PDF template with XML data (and optional metadata) to produce PDF document output.Ĭonverts an RTF template to XSL in preparation for input to the FO Engine. BI Publisher Core APIsīI Publisher is made up of the following core API components: This section assumes the reader is familiar with Java programming, XML, and XSL technologies. This information is meant to be used in conjunction with the Javadocs available with your installation files. This chapter is aimed at developers who wish to create programs or applications that interact with BI Publisher through its application programming interface. Advanced Barcode Font Formatting Implementation.This appendix covers the following topics: Oracle Business Intelligence Publisher User's Guide Skip Headers Oracle Business Intelligence Publisher User's Guide ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |