phpdftk API Documentation

OutlineItem extends PdfObject
in package

PDF Outline Item (bookmark entry).

Each item in the bookmarks tree. Items form a doubly-linked list at each level (Prev/Next) and a parent/child hierarchy (Parent/First/Last).

/Dest or /A must be set for the bookmark to navigate somewhere.

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_1

Table of Contents

Properties

$a  : PdfReference|null
$c  : PdfArray|null
$count  : int
$dest  : mixed
/Dest - destination: PdfArray, PdfName (named dest), or string
$f  : int
$first  : PdfReference|null
$generationNumber  : int
$last  : PdfReference|null
$next  : PdfReference|null
$objectNumber  : int
$parent  : PdfReference|null
$prev  : PdfReference|null
$title  : PdfString

Methods

__construct()  : mixed
toIndirectObject()  : string
Wrap the object in an indirect object structure: X Y obj ... endobj
toPdf()  : string
Serialize the object's dictionary/value to PDF syntax.

Properties

$dest

/Dest - destination: PdfArray, PdfName (named dest), or string

public mixed $dest = null

$generationNumber

public int $generationNumber = 0

Methods

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results