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 />

PageOptions<br />

parent: Tet<br />

PrefixDeclaration<br />

parent:<br />

PrefixDeclarations<br />

PrefixDeclarations<br />

parent: Metadata<br />

Property<br />

parent: PropertySet<br />

PropertySet<br />

parent: Metadata<br />

description of the element and its attributes<br />

(May appear zero or one time) The value contains an option list for <strong>TET</strong>_open_page( ) in the <strong>TET</strong><br />

kernel.<br />

(May appear zero or more times) Declare a namespace prefix which can be used in Source/<br />

@xmpName. Supported attributes:<br />

prefix<br />

uri<br />

(String which does not contain colon »:« characters; required) Prefix to be used as an<br />

abbreviation for the namespace URI.<br />

(URI; required) Namespace URI<br />

(May appear zero or one time) Declare namespace prefixes for XMP properties in Xmp elements.<br />

(May appear one or more times) Specify a metadata property for indexing (see Section 3.4,<br />

»Custom Metadata Properties«, page 42).<br />

At least one of identifier and friendlyName must be present. If both are supplied, identifier<br />

will be used in the <strong>IFilter</strong> interface unless Filtering/@useIdentifier=false.<br />

Supported attributes:<br />

identifier (Integer >=2; optional) Number which uniquely identifies the property in a<br />

PropertySet.<br />

emitAsVector<br />

(Boolean; optional) If true, the property value will be emitted as a single vector entity,<br />

regardless of the number of values.<br />

If false, the property will be emitted as a flat value. If more than one source item was<br />

found, multiple flat properties will be emitted. Default: false<br />

friendlyName<br />

(String; optional) Name which uniquely identifies the property in a PropertySet. It can<br />

be used to document the property, or as an alternative to identifier.<br />

precedence<br />

(Choice; optional) Specifies precedence for multiple Source elements (default: firstwins):<br />

first-wins The first non-empty source will be used.<br />

try-all All non-empty sources contribute to the property.<br />

textIndexPrefix<br />

(String; optional) String to be prepended to the property value if Filtering/<br />

@metadataHandling is propertyAndPrefixedText. Default: empty<br />

type<br />

(Choice; optional) Windows data type of the metadata property. Supported choices<br />

are Boolean, DateTime, Double, Int32, and String. Default: String<br />

(May appear zero or more time) Specify filtering of a custom set of properties with the same<br />

GUID (see Section 3.4, »Custom Metadata Properties«, page 42).<br />

If present, this element must appear after PropertySetCollection and PrefixDeclarations.<br />

Supported attributes:<br />

guid<br />

(GUID; required) Unique 128-bit identifier for the property set in hexadecimal<br />

notation.<br />

4.2 XML Elements and Attributes 67

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

Saved successfully!

Ooh no, something went wrong!