eZPublish  3.8
eZPDFXMLOutput Class Reference
+ Inheritance diagram for eZPDFXMLOutput:
+ Collaboration diagram for eZPDFXMLOutput:

Public Member Functions

 eZPDFXMLOutput (&$xmlData, $aliasedType, &$contentObjectAttribute)
 
outputText ()
 
pdf ()
 
renderPDFSection (&$tpl, &$section, $currentSectionLevel, $tdSectionLevel=null)
 
- Public Member Functions inherited from eZXMLOutputHandler
attribute ($name)
 
 attributes ()
 
 eZXMLOutputHandler (&$xmlData, $aliasedType)
 
 hasAttribute ($name)
 
 isValid ()
 
viewTemplateName ()
 
viewTemplateSuffix (&$contentobjectAttribute)
 
 xmlData ()
 

Public Attributes

 $LinkArray = array()
 Contains the URL's for <link> tags hashed by ID. More...
 
 $LinkParameters = array()
 Array of parameters for rendering tags that are children of 'link' tag. More...
 
 $NodeArray = array()
 Contains the Nodes hashed by ID. More...
 
 $ObjectArray = array()
 Contains the Objects for the <object> tags hashed by ID. More...
 
 $WhiteSpaceArray = array( ' ', "\r\n", "\n", "\t" )
 Whitespace array of white spaces to remove. More...
 

Private Member Functions

 pdfTrim ($text)
 
renderList (&$tpl, &$listNode, $currentSectionLevel, $listSectionLevel=null)
 
renderPDFParagraph (&$tpl, $paragraph, $currentSectionLevel, $tdSectionLevel=null)
 
renderPDFTag (&$tpl, &$tag, $currentSectionLevel, &$isBlockTag, $tdSectionLevel=null, $isChildOfLinkTag=false)
 

Member Function Documentation

eZPDFXMLOutput::eZPDFXMLOutput ( $xmlData,
  $aliasedType,
$contentObjectAttribute 
)
& eZPDFXMLOutput::outputText ( )
virtual

Implements eZXMLOutputHandler.

& eZPDFXMLOutput::pdf ( )
Returns
the PDF rendered value of the XML data

Referenced by outputText().

eZPDFXMLOutput::pdfTrim (   $text)
private

Trim PDF code, and remove linebrea, linespace and tab.

Parameters
text
Returns
trimmed text.

Referenced by renderPDFTag().

& eZPDFXMLOutput::renderList ( $tpl,
$listNode,
  $currentSectionLevel,
  $listSectionLevel = null 
)
private
Returns
the PDF rendered version of the section

Referenced by renderPDFTag().

& eZPDFXMLOutput::renderPDFParagraph ( $tpl,
  $paragraph,
  $currentSectionLevel,
  $tdSectionLevel = null 
)
private
Returns
PDF rendered version of the paragrph

Referenced by renderList(), and renderPDFSection().

& eZPDFXMLOutput::renderPDFSection ( $tpl,
$section,
  $currentSectionLevel,
  $tdSectionLevel = null 
)

Referenced by pdf(), renderList(), and renderPDFTag().

& eZPDFXMLOutput::renderPDFTag ( $tpl,
$tag,
  $currentSectionLevel,
$isBlockTag,
  $tdSectionLevel = null,
  $isChildOfLinkTag = false 
)
private

Will render a tag and return the rendered text.

Referenced by renderPDFParagraph().

Member Data Documentation

eZPDFXMLOutput::$LinkArray = array()

Contains the URL's for <link> tags hashed by ID.

eZPDFXMLOutput::$LinkParameters = array()

Array of parameters for rendering tags that are children of 'link' tag.

eZPDFXMLOutput::$NodeArray = array()

Contains the Nodes hashed by ID.

eZPDFXMLOutput::$ObjectArray = array()

Contains the Objects for the <object> tags hashed by ID.

eZPDFXMLOutput::$WhiteSpaceArray = array( ' ', "\r\n", "\n", "\t" )

Whitespace array of white spaces to remove.


The documentation for this class was generated from the following file: