phpdftk API Documentation

Rendition extends PdfObject
in package

AbstractYes

Rendition (/Type /Rendition) — ISO 32000-2 §13.2.3.

Abstract base for Media renditions (MR) and Selector renditions (SR). Common entries: Type, S (subtype), N (name), MH (media-handler), BE.

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

Table of Contents

Constants

PDF_TYPE  = 'Rendition'

Properties

$be  : PdfDictionary|null
$generationNumber  : int
$mh  : PdfDictionary|null
$n  : PdfString|null
$objectNumber  : int

Methods

getRenditionSubtype()  : string
Returns the /S (subtype) value, e.g. "MR" or "SR".
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.
baseDictionary()  : PdfDictionary

Constants

PDF_TYPE

public mixed PDF_TYPE = 'Rendition'

Properties

$generationNumber

public int $generationNumber = 0

Methods

getRenditionSubtype()

Returns the /S (subtype) value, e.g. "MR" or "SR".

public abstract getRenditionSubtype() : string
Return values
string

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 abstract toPdf() : string
Return values
string

        
On this page

Search results