Packages:
lithron
csstidy


Classes:

Class Lithron



Constructor Summary
public
__construct Array

Method Summary
protected  void
void
applyCSS ( $context_node, $pcss, $mode)
protected  void
protected  void
cleanXML ( $xml)
static  void
compileTemplate ( $template)
static  void
dumpLog ()
protected  void
generateWorkers ( $node, $level)
void
getFontHandle ( $pdf, $handlekey, $family, $subtype)
void
getFontMetric ( $node, $metric)
void
void
void
getStringWidth ( $node, $string)
void
void
void
init ()
protected  void
protected  void
static  void
log ( $msg, $level, $category, $nodelevel)
static  void
prepareTemplate ( $tpath)
protected  void
selectorToXPath ( $sel, &$paths, $mode)
void
setIMagickPath ( $value)
static  void
setLogLevel ( $level)
void
setOutputPath ( $value)
void
setTmpPath ( $value)
void
setXMLString ( $value)
void
stripNodes ( $query, $node)
void
static  void
trace ( $msg, $category, $nodelevel)
protected  void
protected  void
void
work ()

Constant Summary
int EPSILON
int INFINITY
int STYLESHEET_MODE_AUTHOR
int STYLESHEET_MODE_LITHRON

Constructor Details

__construct

public __construct Array


Method Details

applyAuthorStylesheet

protected void applyAuthorStylesheet ( $node )

Input
$node
Output
Exception

applyCSS

public void applyCSS ( $context_node , $pcss , $mode )

Input
$context_node
$pcss
$mode
Output
Exception

applyLithronStylesheet

protected void applyLithronStylesheet ( $node )

Input
$node
Output
Exception

cleanXML

protected void cleanXML ( $xml )

Input
$xml
Output
Exception

compileTemplate

public static void compileTemplate ( $template )

Input
$template
Output
Exception

dumpLog

public static void dumpLog ()

Output
Exception

generateWorkers

protected void generateWorkers ( $node , $level )

Input
$node
$level
Output
Exception

getFontHandle

public void getFontHandle ( $pdf , $handlekey , $family , $subtype )

Input
$pdf
$handlekey
$family
$subtype
Output
Exception

getFontMetric

public void getFontMetric ( $node , $metric )

Input
$node
$metric
Output
Exception

getIMagickPath

public void getIMagickPath ()

Output
Exception

getOutputPath

public void getOutputPath ()

Output
Exception

getStringWidth

public void getStringWidth ( $node , $string )

Input
$node
$string
Output
Exception

getTmpPath

public void getTmpPath ()

Output
Exception

getXMLString

public void getXMLString ()

Output
Exception

init

public void init ()

Output
Exception

initializeFonts

protected void initializeFonts ()

Output
Exception

invokeTransformers

protected void invokeTransformers ()

Output
Exception

log

public static void log ( $msg , $level , $category , $nodelevel )

Input
$msg
$level
$category
$nodelevel
Output
Exception

prepareTemplate

public static void prepareTemplate ( $tpath )

Input
$tpath
Output
Exception

selectorToXPath

protected void selectorToXPath ( $sel , &$paths , $mode )

Input
$sel
&$paths
$mode
Output
Exception

setIMagickPath

public void setIMagickPath ( $value )

Input
$value
Output
Exception

setLogLevel

public static void setLogLevel ( $level )

Input
$level
Output
Exception

setOutputPath

public void setOutputPath ( $value )

Input
$value
Output
Exception

setTmpPath

public void setTmpPath ( $value )

Input
$value
Output
Exception

setXMLString

public void setXMLString ( $value )

Input
$value
Output
Exception

stripNodes

public void stripNodes ( $query , $node )

Input
$query
$node
Output
Exception

stripPrivateAttributes

public void stripPrivateAttributes ( $node )

Input
$node
Output
Exception

trace

public static void trace ( $msg , $category , $nodelevel )

Input
$msg
$category
$nodelevel
Output
Exception

transformLinkTags

protected void transformLinkTags ()

Output
Exception

validateSpecifiedProperties

protected void validateSpecifiedProperties ( $node )

Input
$node
Output
Exception

work

public void work ()

Output
Exception


Constant Details

EPSILON

Type:

int

Value:

0.1

INFINITY

Type:

int

Value:

1000000

STYLESHEET_MODE_AUTHOR

Type:

int

Value:

1

STYLESHEET_MODE_LITHRON

Type:

int

Value:

0