Use the FAP2DDT utility to create or update a DDT file from a FAP file.
Note | DDT files were used in legacy Documaker implementations. Master resource libraries (MRLs) created with Documaker Studio do not use DDT files. |
FAP2DDTW /I /O
Parameter |
Description |
/I |
Enter the name of the input FAP file. Omit the extension. |
/O |
(Optional) Enter the name of the DDT file. If you omit this file name, the utility uses the FAP file name with the DDT extension. If the DDT file does not exist, the utility creates it. |
/X |
Enables the output of ;X;Y;FontID; |
/V |
Enter 7 or 8, force output to the new (8) or old (7) format, defaults to the same format as DDT input, or version 8.0 format if you omit this parameter. |
/S |
Synchronizes with the existing DDT file. |
The FAP2DDT utility creates a data definition table (DDT) file from the existing FAP. The DDT file stores section rule assignments. The parameters are optional and case insensitive.
Keep in mind the FAP2DDT utility adds a default SetOrigin rule to the Image Rules section if one does not exist. The SetOrigin rule that is added is shown here:
;SetOrigin;Abs+0,Abs+0;
For the FAP2DDT utility to add a SetOrigin rule into your DDT file, include this INI option in the FAPCOMP.INI file:
< DDTResource >
AutoIncludeSetOrigin = ;SetOrigin;Abs+0,Abs+0;
The DDTResource control group is used for DDT settings, such as WriteCoordinates, MultipleDDTs, and so on.
A SetOrigin rule is only added to a DDT file if there is an AutoIncludeSetOrigin option and these conditions are true:
Other than verifying that the rule begins with a semicolon and contains some form of the string “SetOrigin,” no other validation is performed. You must make sure you specify a valid rule with valid parameters.
Here is an example:
FAP2DDTW /I=fapfile
This will create a file named FAPFILE.DDT whose contents look like:
<Image Rules>
;SetImageDimensions;0,0,26400,20400,400,600,400,600;
/* By default, this section contains the following fields */
<Image Fields>
<Image Field Rules Override>
;0;0;BLANK FIELD NAME;;;BLANK FIELD NAME;;0;;noopfunc;;;;;;
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.