class-Com.Tecnick.Pdf.Page.Page

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Page

Com\Tecnick\Pdf\Page\Page

Com\Tecnick\Pdf\Page\Format
Extended by Com\Tecnick\Pdf\Page\Mode
Extended by Com\Tecnick\Pdf\Page\Box
Extended by Com\Tecnick\Pdf\Page\Settings
Extended by Com\Tecnick\Pdf\Page\Region
Extended by Com\Tecnick\Pdf\Page\Page
Namespace: Com\Tecnick\Pdf\Page
Package: PdfPage
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2011-05-23
Link: https://github.com/tecnickcom/tc-lib-pdf-page
Located at Page.php
Methods summary
public
# __construct( string $unit, Com\Tecnick\Color\Pdf $col, Com\Tecnick\Pdf\Encrypt\Encrypt $enc, boolean $pdfa = false, boolean $sigapp = false )

Initialize page data

public float
# getKUnit( )

Get the unit ratio

public
# enableSignatureApproval( boolean $sigapp )

Enable Signature Approval

public array
# add( array $data = array() )

Add a new page

public array
# delete( integer $idx )

Remove the specified page

public array
# pop( )

Remove and return last page

public
# move( integer $from, integer $new )

Move a page to a previous position

public
# getPages( )

Returns the array (stack) containing all pages data.

public
# getPage( integer $idx )

Returns the specified page data.

public
# setCurrentPage( integer $pid )

Set the current page number (move to the specified page)

public array
# getCurrentPage( )

Returns the last page array

public
# addContent( array $content )

Add page content

public
# popContent( array $data,… )

Remove and return last page content

public
# addContentMark( )

Add page content mark

public
# popContentToLastMark( )

Remove the last marked page content

public string
# getPdfPages( integer & $pon )

Returns the PDF command to output all page sections

public
# getResourceDictObjID( )

Returns the reserved Object ID for the Resource dictionary.

protected string
# getPageTransition( integer $page, string $content,… )

Returns the PDF command to output the page content.

protected string
# getAnnotationRef( array $page )

Get references to page annotations.

protected string
# getPageContentObj( integer & $pon, string $content = '' )

Returns the PDF command to output the page content.

protected string
# getPageRootObj( integer & $pon )

Returns the PDF command to output the page root object.

protected
# replacePageTemplates( array $data )

Replace page templates and numbers

Methods inherited from Com\Tecnick\Pdf\Page\Region
checkRegionBreak(), enableAutoPageBreak(), getCurrentRegion(), getNextPage(), getNextRegion(), getX(), getY(), isAutoPageBreakEnabled(), isXOutRegion(), isYOutRegion(), selectRegion(), setX(), setY()
Methods inherited from Com\Tecnick\Pdf\Page\Settings
sanitizeAnnotRefs(), sanitizeBoxData(), sanitizeContent(), sanitizeGroup(), sanitizeMargins(), sanitizePageFormat(), sanitizePageNumber(), sanitizeRegions(), sanitizeRotation(), sanitizeTime(), sanitizeTransitions(), sanitizeZoom()
Methods inherited from Com\Tecnick\Pdf\Page\Box
getBox(), getBoxColorInfo(), setBox(), setPageBoxes(), swapCoordinates()
Methods inherited from Com\Tecnick\Pdf\Page\Mode
getDisplay(), getLayout()
Methods inherited from Com\Tecnick\Pdf\Page\Format
convertPoints(), getPageFormatSize(), getPageOrientation(), getPageOrientedSize(), getUnitRatio()
Constants summary
string PAGE_TOT

Alias for total number of pages in a group

# '~#PT'
string PAGE_NUM

Alias for page number

# '~#PN'
Constants inherited from Com\Tecnick\Pdf\Page\Settings
EPS
Properties summary
protected array $page

Array of pages (stack).

# array()
protected integer $pageid

Current page ID.

# -1
protected integer $pmaxid

Maximum page ID.

# -1
protected array $group

Count pages in each group

# array(0 => 0)
protected float $kunit

Unit of measure conversion ratio

# 1.0
protected Com\Tecnick\Color\Pdf $col

Color object

#
protected Com\Tecnick\Pdf\Encrypt\Encrypt $enc

Encrypt object

#
protected boolean $pdfa

True if we are in PDF/A mode.

# false
protected boolean $sigapp

True if the signature approval is enabled (for incremental updates).

# false
protected integer $rdoid

Reserved Object ID for the resource dictionary.

# 1
Properties inherited from Com\Tecnick\Pdf\Page\Box
$box
Properties inherited from Com\Tecnick\Pdf\Page\Mode
$display, $layout
Properties inherited from Com\Tecnick\Pdf\Page\Format
$format, $unitratio
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy