Position the icon to be subordinate to the PDF result icon. It can be below the Portfolio icon and its Navigator icon. Do not change the values in Simple Editor for Package Files.
Drag two or more PDF source icons from the Sources panel onto your canvas. Position the icons to be subordinate to the Package Files icon. Save your work and then click Validate to validate the DDX file. Click Preview to view an example of the resultant document.
See Set PDF result and source properties. Here is the appearance of the canvas that the previous set of steps create. When you create a PDF document that is assembled from interactive PDF documents, the Assembler service flattens those forms before assembling them into the resultant document. If the Assembler service processes a DDX that requires it to flatten an XFA dynamic form and the Output service is unavailable, an exception is thrown.
For source XDP files that include insertion points, you can specify the fragments to insert. The resultant document obtains basic attributes from the base document, which is the first source XDP document. Typically, XDP documents can contain images referenced either through absolute or relative references. Assembler service, by default, retains the references to the images in the resultant XDP document. You can specify how the Assembler service handles the images referenced in the source XDP documents either through absolute or relative references in the XDP files when assembling.
You can choose to have all the images embedded in the resultant so that it contains no relative or absolute references. You define this by setting the value of the resolveAssets tag, which can take any of the following options. By default, no references are resolved in the result document. However, explicitly specifying the attribute for a source element overrides the setting of the result element for that source document alone. To resolve all references in the source XDP documents, specify the resolveAssets attribute for the resultant document to all, as in the example below:.
You can also specify the attribute for all the source XDP documents independently to get the same result. You can selectively specify the source references that you want to resolve by specifying the resolveAssets attribute for them.
In this example, the fragments included are also resolved. You can selectively resolve absolute or relative references in all or some of the source documents, as shown in the example below:. Using this feature, you can use fragments to create multiple forms.
Support for dynamic insertion of form fragments supports single-source control. You maintain a single source of commonly used components. For example, you can create a fragment for your company banner. If the banner changes, you only have to modify the fragment. The other forms that include the fragment are unchanged. Form designers use LiveCycle Designer to create form fragments.
These fragments are uniquely named subforms within an XFA form. The form designers also use Designer to create XFA forms that have uniquely named insertion points. The form on the left contains an insertion point named myInsertionPoint.
The form on the right contains a fragment named myFragment. You can use the Assembler service to disassemble a PDF document. The service can extract pages from the source document or divide a source document based on bookmarks. Typically, this task is useful if the PDF document was originally created from many individual documents, such as a collection of statements. In the following illustration, pages are extracted from the source document and placed in a new resultant document.
In the following illustration, DocA is divided into multiple resultant documents. The first level 1 bookmark on a page identifies the start of a new resultant document. The fonts are embedded within the document, and the file is uncompressed. Bookmarks, including the page number, title, destination, and appearance. File attachments, including file information. For page-level attachments, it also includes the location of the file attachment annotation. Package files, including file information, folders, package, schema, and field data.
You can use the Assembler service to determine whether a DDX document is valid. Place the NAV file in a location where your client application can access it. All files are passed to the Assembler service within a Map collection object.
You can set run-time options that control the behavior of the Assembler service while it performs a job. For example, you can set an option that instructs the Assembler service to continue processing a job if an error is encountered.
A PDF Portfolio is returned within a collection object. Including LiveCycle Java library files. Include client JAR files, such as adobe-assembler-client.
Create a ServiceClientFactory object that contains connection properties. Create a java. FileInputStream object that represents the DDX document by using its constructor and passing a string value that specifies the location of the DDX file. Create a com. Document object by using its constructor and passing the java.
FileInputStream object. FileInputStream object by using its constructor. Pass the location of the required NAV file repeat this task for each file required to create a portfolio. Document object and pass the java. FileInputStream object that contains the NAV file repeat this task for each file required to create a portfolio.
Add an entry to the java. Map object by invoking its put method and passing the following arguments:. A string value that represents the key name. This value must match the value of the source element specified in the DDX document. A com. Document object that contains the PDF document. Create an AssemblerOptionSpec object that stores run-time options by using its constructor.
Set run-time options to meet your business requirements by invoking a method that belongs to the AssemblerOptionSpec object. Document object that represents the DDX document to use. A java. Map object that contains the files required to build a PDF Portfolio. AssemblerOptionSpec object that specifies the runtime options, including the default font and the job log level.
The invokeDDX method returns a com. This method returns a java. Map object. Iterate through the java.
0コメント