class-Com.Tecnick.Pdf.MetaInfo

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 MetaInfo

Com\Tecnick\Pdf\MetaInfo

Meta Informaton PDF class

Com\Tecnick\Pdf\Output
Extended by Com\Tecnick\Pdf\MetaInfo

Direct known subclasses

Com\Tecnick\Pdf\ClassObjects

Indirect known subclasses

Com\Tecnick\Pdf\Tcpdf
Abstract
Namespace: Com\Tecnick\Pdf
Package: Pdf
Category: Library
Copyright: 2002-2017 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2002-08-03
Link: https://github.com/tecnickcom/tc-lib-pdf
Located at MetaInfo.php
Methods summary
public string
# getVersion( )

Return the program version.

private
# setNonEmptyFieldValue( strign $field, srting $value )

Set a field value only if it is not empty.

public
# setCreator( string $creator )

Defines the creator of the document. This is typically the name of the application that generates the PDF.

public
# setAuthor( string $author )

Defines the author of the document.

public
# setSubject( string $subject )

Defines the subject of the document.

public
# setTitle( string $title )

Defines the title of the document.

public
# setKeywords( string $keywords )

Associates keywords with the document, generally in the form 'keyword1 keyword2 ...'.

public
# setPDFVersion( string $version = '1.7' )

Set the PDF version (check PDF reference for valid values).

public
# setSRGB( boolean $enabled )

Set the sRGB mode

protected string
# getOutTextString( string $str, integer $oid )

Format a text string for output.

protected string
# getFormattedDate( integer $time )

Returns a formatted date for meta information

protected string
# getXMPFormattedDate( integer $time )

Returns a formatted date for XMP meta information

protected string
# getProducer( )

Returns the producer string

protected string
# getOutDateTimeString( integer $time, integer $oid )

Returns a formatted date for meta information

protected string
# getOutMetaInfo( )

Get the PDF output string for the Document Information Dictionary. (ref. Chapter 14.3.3 Document Information Dictionary of PDF32000_2008.pdf)

protected string
# getEscapedXML( string $str )

Escape some special characters (< > &) for XML output.

public
# setExtraXMP( string $xmp )

Set additional XMP data to be appended just before the end of "x:xmpmeta" tag.

protected string
# getOutXMP( )

Get the PDF output string for the XMP data object

public
# setRTL( boolean $enabled )

Set the default document language direction.

public
# setViewerPreferences( array $pref )

Set the viewer preferences dictionary controlling the way the document is to be presented on the screen or in print.

protected string
# getPageBoxName( string $name )

Sanitize the page box name and return the default 'CropBox' in case of error.

protected string
# getPagePrintScaling( )

Sanitize the page box name and return the default 'CropBox' in case of error.

protected string
# getDuplexMode( )

Returns the Duplex mode for the Viewer Preferences

protected string
# getBooleanMode( string $name )

Returns the Viewer Preference boolean entry.

protected string
# getOutViewerPref( )

Returns the PDF viewer preferences for the catalog section

Methods inherited from Com\Tecnick\Pdf\Output
getOutAnnotations(), getOutBookmarks(), getOutCatalog(), getOutDestinations(), getOutEmbeddedFiles(), getOutICC(), getOutJavascript(), getOutOCG(), getOutPDFBody(), getOutPDFHeader(), getOutPDFString(), getOutPDFTrailer(), getOutPDFXref(), getOutResourcesDict(), getOutSignature(), getOutSignatureFields(), getOutXObjects(), getOutputIntents(), getPDFLayers(), getPDFObjectOffsets()
Properties summary
protected string $version

TCPDF version.

# '8.0.0'
protected integer $doctime

Time is seconds since EPOCH when the document was created.

# 0
protected integer $docmodtime

Time is seconds since EPOCH when the document was modified.

# 0
protected string $creator

The name of the application that generates the PDF.

# 'TCPDF'
protected string $author

The name of the person who created the document.

# 'TCPDF'
protected string $subject

Subject of the document.

# '-'
protected string $title

Title of the document.

# 'PDF Document'
protected string $keywords

Space-separated list of keywords associated with the document.

# 'TCPDF'
protected string $custom_xmp

Additional XMP data to be appended just before the end of "x:xmpmeta" tag.

# ''
protected boolean $sRGB

Set this to TRUE to add the default sRGB ICC color profile

# false
protected array $viewerpref

Viewer preferences dictionary controlling the way the document is to be presented on the screen or in print. (Section 8.1 of PDF reference, "Viewer Preferences").

# array()
protected boolean $rtl

Boolean flag to set the default document language direction. False = LTR = Left-To-Right. True = RTL = Right-To-Left.

# false
Properties inherited from Com\Tecnick\Pdf\Output
$objid
 

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