This class represents a single entry in the table of contents in a PDF document - if this directory exists.
How to determine the number of entries in the table of contents:
If hPdfDocument.Index.Count > 0 Then Print "Anzahl der Einträge im Inhaltsverzeichnis = "; hPdfDocument.Index.Count Endif
The PdfIndex class has the following properties:
Property | Data type | Description |
---|---|---|
Action | PdfAction | Returns the action associated with this index entry. |
Children | Integer | Returns the number of sub-indexes for this index entry. |
Opened | Boolean | Returns with True whether the index entry is open - whether its child entries are visible. |
Parent | Integer | Returns the index of a parent element in the index hierarchy. The index of a root element is -1. |
Text | String | Returns the text associated with this index entry. |
Table 23.12.2.1.1 : Properties of the PdfIndex class
Notes
Opened: The Poppler documentation states: “Returns to the user whether this node should be expanded by default. The document may provide an indication of how the document's index should initially be expanded. “Text: Note that the text is output as it is found in a particular rectangle - as shown in the snippet in the following example:
Die Experimente zur Bestimmung des Stehwellen-Verhältnisses (SWR) wurden auf einem kommerziellen Messplatz an der Kaiser-Max-Universität in Heidelburg durchgeführt. Die Antennenhöhe betrug 11,3 m. Die Leistung wurde auf 10 W Ausgangsleistung begrenzt. Folgende Antennen für den Amateur-Funk wurden untersucht: * Richtantenne FB33 (3-Element-Beam für das 20m-Band, 15m-Band und das 10m-Band) * 2-Element-Monoband-Yagi für das 20m-Band * 2-Element-Monoband-Loop für das 20m-Band Auswertung: Bei allen drei Amateurfunk-Antennen konnten die in den Datenblättern angegebenen Werte hinreichend bestätigt werden. Das bezieht sich jedoch nur auf die Größe des SWR. Abweichungen gab es bei der Lage der Minima im Frequenz-Band.
This is the (formatted, original) continuous text snippet:
Illustration: Continuous text excerpt
The PdfAction class has the following five properties:
Property | Data type | Description |
---|---|---|
Goto | .PdfActionGoto | Returns a virtual object that describes what the action triggers for actions that target a different location in the PDF document. |
Launch | .PdfActionLaunch | Returns a virtual object that describes what the action triggers for actions that start another programme. |
Text | String | Returns the action text. Example: 'GotoDest' |
Type | String | Returns the action type as a character string. Example: '25.1.12.3 Project 3' |
URI | .PdfActionURI | Returns a virtual object that describes what the action triggers for actions that target an external URI. |
Table 23.12.2.2.1 : Properties of the PdfAction class
The virtual class PdfActionGoto has the following four properties:
Property | Data type | Description |
---|---|---|
Page | Integer | Returns the target page of the action. |
Rect | RectF | Returns the target rectangle of the action; relative to the target page. |
Target | String | Returns the argument of the action. |
Zoom | Float | Returns the target zoom of the action. |
Table 23.12.2.2.2 : Properties of the PdfActionGoto class
The virtual class PdfActionLaunch has the following two properties:
Property | Data type | Description |
---|---|---|
Arguments | String | Returns the arguments of the programme to be started. |
Target | String | Returns the file name of the programme to be started. |
Table 23.12.2.2.3 : Properties of the PdfActionLaunch class
The virtual class PdfActionURI only has this property:
Property | Data type | Description |
---|---|---|
Target | String | Returns the target URI. |
Table 23.12.2.2.4 : Properties of the PdfActionURI class