17.05.2014 Views

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

PDFlib 8 Windows COM/.NET Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

11.6 Block Properties<br />

PPS and the Block Plugin support general properties which can be assigned to any type<br />

of Block. In addition there are properties which are specific to the Block types Textline,<br />

Textflow, Image, and PDF.<br />

Properties support the same data types as option lists except handles and action<br />

lists. The names of Block properties are generally identical to options for fit_image( )<br />

(e.g., fitmethod, charspacing). In these cases the behavior is exactly the same as the one<br />

documented for the respective option.<br />

11.6.1 Administrative Properties<br />

Administrative properties apply to all Block types. Required entries will automatically<br />

be generated by the Block Plugin. Table 11.4 lists the administrative Block properties.<br />

Table 11.4 Administrative properties<br />

keyword<br />

Description<br />

Locked<br />

Name<br />

Subtype<br />

textflow<br />

Type<br />

possible values and explanation<br />

(String) Human-readable description of the Block’s function, coded in PDFDocEncoding or Unicode (in the<br />

latter case starting with a BOM). This property is for user information only, and will be ignored by PPS.<br />

(Boolean) If true, the Block and its properties can not be edited with the Block Plugin. This property will<br />

be ignored by PPS. Default: false<br />

(String; required) Name of the Block. Block names must be unique within a page, but not within a document.<br />

The three characters []/ are not allowed in Block names. Block names are restricted to a maximum<br />

of 125 characters.<br />

(Keyword; required) Depending on the Block type, one of Text, Image, or PDF. Note that Textline and<br />

Textflow Blocks both have Subtype Text, but are distinguished by the textflow property.<br />

(Boolean) Controls single- or multiline processing. This property is not available explicitly in the user interface<br />

of the Block Plugin, but will be mapped to Textline or Textflow Blocks, respectively (Default:<br />

false):<br />

false Textline Block: text spans a single line and will be processed with fit_textline( ).<br />

true<br />

Textflow Block: text can span multiple lines and will be processed with fit_textflow( ). In<br />

addition to the standard text properties Textflow-related properties can be specified (see<br />

Table 11.9).<br />

(Keyword; required) Always Block<br />

300 Chapter 11: PPS and the <strong>PDFlib</strong> Block Plugin (Edition for <strong>COM</strong>, .<strong>NET</strong>, and REALbasic)

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

Saved successfully!

Ooh no, something went wrong!