17.05.2014 Views

PDFlib TET PDF IFilter 4.0 Manual

PDFlib TET PDF IFilter 4.0 Manual

PDFlib TET PDF IFilter 4.0 Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 4.1 XML elements and attributes in the configuration file<br />

element<br />

PropertySet-<br />

Collection<br />

parent: Metadata<br />

Source<br />

parent: Property<br />

Tet<br />

parent:<br />

TetPdf<strong>IFilter</strong>Config<br />

TetOptions<br />

parent: Tet<br />

TetPdf<strong>IFilter</strong>Config<br />

parent: (none)<br />

XmpLang<br />

parent:<br />

XmpLangSelector<br />

XmpLangSelector<br />

parent: Xmp<br />

description of the element and its attributes<br />

(May appear zero or one time) Specify filtering of predefined property set collections (see Section<br />

3.3, »Predefined Metadata Properties«, page 41). A list of properties can be found in Appendix A,<br />

»Predefined Metadata Properties«. Supported attributes:<br />

documentXmp<br />

(Boolean; required) Emit document XMP properties. Default: false<br />

imageXmp(Boolean; required) Emit image XMP properties. Default: false<br />

internal (Boolean; required) Emit internal properties of <strong>TET</strong> <strong>PDF</strong> <strong>IFilter</strong>. Default: true<br />

pdf (Boolean; required) Emit <strong>PDF</strong>-specific properties. Default: false<br />

shell (Boolean; required) Emit shell properties. Default: true<br />

(May appear one or more times) Specify one or more sources for a metadata property.<br />

The ordering of elements is relevant if Property/@precedence has the value first-wins. At least<br />

one of the attributes below must be provided.<br />

Supported attributes:<br />

pdfObject (pCOS path; optional) Extended pCOS path for one or more <strong>PDF</strong> objects containing the<br />

property. Default: /Root/Metadata (i.e. document-level XMP)<br />

xmpName (String consisting of the schema’s prefix, a colon »:«, and the property name; optional)<br />

Fully qualified XMP property name. A prefix can be used instead of the namespace<br />

URI provided it has been declared in a PrefixDeclaration element. This attribute will<br />

only be used if pdfobject points to one or more XMP streams. Default: empty<br />

(May appear zero or one time) Specify processing options for the <strong>TET</strong> kernel; refer to the <strong>TET</strong> manual<br />

for a description of the option list syntax and available options. Some options will be overridden<br />

by <strong>TET</strong> <strong>PDF</strong> <strong>IFilter</strong>.<br />

(May appear zero or one time) Specify an option list for <strong>TET</strong>_set_option( ) in the <strong>TET</strong> kernel.<br />

(Must appear exactly once as the root element) Root element of the XML configuration file. Supported<br />

attribute:<br />

version<br />

(String; optional; <strong>TET</strong> <strong>PDF</strong> <strong>IFilter</strong> <strong>4.0</strong>) Specify the version of <strong>TET</strong> <strong>PDF</strong> <strong>IFilter</strong> for which<br />

this configuration was written. Since the <strong>TET</strong> <strong>PDF</strong> <strong>IFilter</strong> 3 configuration file didn’t<br />

support this attribute the default is 3.0. New configurations should include this<br />

attribute with the appropriate version identifier (<strong>4.0</strong> for <strong>TET</strong> <strong>PDF</strong> <strong>IFilter</strong> 4). Default:<br />

3.0<br />

(Must appear exactly once if XmpLangSelector/@languages=subset) Specify the language of an<br />

XMP property. Supported attribute:<br />

lang<br />

(Language identifier; required). Name of the language; currently x-default is the<br />

only supported value.<br />

(May appear zero or one time) Select a language variant of an XMP property for indexing. This is<br />

only relevant for properties with an XMP source of type Lang Alt. Supported attribute:<br />

languages (Choice) Specify language-specific indexing of the property (default: all):<br />

all All available language entries of the property will be indexed.<br />

subset Only the languages specified in the XmpLang element will be indexed.<br />

68 Chapter 4: XML Configuration File

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!