17.05.2014 Views

PDFlib Text Extraction Toolkit (TET) Manual

PDFlib Text Extraction Toolkit (TET) Manual

PDFlib Text Extraction Toolkit (TET) 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 9.3 Universal pseudo objects<br />

object name<br />

pcosinterface<br />

explanation<br />

(Number) Interface number of the underlying pCOS implementation. This specification describes interface<br />

number 3. The following table details which product versions implement various pCOS interface<br />

numbers:<br />

1 <strong>TET</strong> 2.0, 2.1<br />

2 pCOS 1.0<br />

3 <strong>PDFlib</strong>+PDI 7, PPS 7, <strong>TET</strong> 2.2, pCOS 2.0, PLOP 3.0, <strong>TET</strong> 2.3<br />

4 PLOP 4.0, <strong>TET</strong> 3.0<br />

(Number/string) pCOS mode as number or string:<br />

0 minimum<br />

1 restricted<br />

2 full<br />

pdfversion (Number) PDF version number multiplied by 10, e.g. 16 for PDF 1.6<br />

pcosmode<br />

pcosmodename<br />

pdfversionstring<br />

shrug<br />

version<br />

(String) Full PDF version string in the form expected by various API functions for setting the PDF output<br />

compatibility, e.g. 1.5, 1.6, 1.7, 1.7ext3<br />

(Boolean) True if and only if security settings were ignored when opening the PDF document; the client<br />

must take care of honoring the document author’s intentions. For <strong>TET</strong> the value will be true, and content<br />

extraction will be allowed, if all of the following conditions are true:<br />

> Shrug mode has been enabled with the shrug option.<br />

> The document has a master password but this has not been supplied.<br />

> The user password (if required for the document) has been supplied.<br />

> Content extraction is not allowed in the document’s permission settings.<br />

(String) Full library version string in the format .., possibly suffixed with additional<br />

qualifiers such as beta, rc, etc.<br />

9.5 Pseudo Objects 113

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

Saved successfully!

Ooh no, something went wrong!