|
| __construct ($caneva="", Action &$action=null, Doc &$doc=null) |
|
| innerXML (DOMnode &$node) |
|
| parseListInBlock ($block, $aid, $vkey) |
|
| getAncestor (&$node, $type) |
|
| ParseBlock () |
|
| TestIf ($name, $block, $not=false, $levelPath=null) |
|
| ParseIf () |
|
| SetBlock ($name, $block) |
|
| ParseZone (&$out) |
|
| ParseKey () |
|
| odf2content ($odtfile) |
|
| content2odf ($odsfile) |
|
| execute ($appname, $actionargn) |
|
| set ($tag, $val) |
|
| eSet ($tag, $val) |
|
| isXML ($val) |
|
| get ($tag) |
|
| setColumn ($key, array $t) |
|
| SetBlockData ($p_nom_block, $data) |
|
| setrepeatable (array $data) |
|
| GenJsRef () |
|
| GenJsCode ($showlog) |
|
| ParseJs (&$out) |
|
| GenCssRef () |
|
| GenCssCode () |
|
| ParseCss (&$out) |
|
| parseHtmlText () |
|
| gen () |
|
| Layout ($caneva="", $action="", $template="[OUT]") |
|
| getZone ($key= '') |
|
| setZone ($zone) |
|
| SetBlockCorresp ($p_nom_block, $p_nom_modele, $p_nom=NULL) |
|
| SetBlockData ($p_nom_block, $data=NULL) |
|
| GetBlockData ($p_nom_block) |
|
| SetBlock ($name, $block) |
|
| ParseBlock (&$out) |
|
| TestIf ($name, $block, $not=false) |
|
| ParseIf (&$out) |
|
| ParseZone (&$out) |
|
| ParseKey (&$out) |
|
| setEncoding ($enc) |
|
| execute ($appname, $actionargn) |
|
| set ($tag, $val) |
|
| get ($tag) |
|
| ParseRef (&$out) |
|
| Text ($s) |
|
| GenJsRef () |
|
| GenJsCode ($showlog, $onlylog=false) |
|
| ParseJs (&$out) |
|
| GenCssRef () |
|
| GenCssCode () |
|
| ParseCss (&$out) |
|
| gen () |
|
| getRecursionCount ($class, $function) |
|
| printRecursionCountError ($class, $function, $count) |
|
|
| hideUserFieldSet () |
|
| restoreUserFieldSet () |
|
| ParseText () |
|
| updateManifest () |
|
| setDraw (DOMNode &$draw, $name, $file) |
|
| parseDraw () |
|
| removeXmlId (&$objNode) |
|
| replaceNodeText (DOMNode &$objNode, $strOldContent, $strNewContent) |
|
| parseListItem () |
|
| parseSection () |
|
| setInputField (DOMNode &$node, $name, $value) |
|
| setDropDownField (DOMNode &$node, $name, $value) |
|
| removeAllChilds (DOMNode &$objNode) |
|
| parseTableRow () |
|
| getArrayKeyValue ($key, array $levelPath) |
|
| replaceRowIf (DOMNode &$row, array $levelPath) |
|
| replaceRowNode (DOMNode &$row, array $levelPath) |
|
| replaceRowSomething (DOMNode &$row, array $levelPath, $ns, $tag, $recursive) |
|
| parseInput () |
|
| parseDropDown () |
|
| restoreProtectedValues () |
|
| parseTplSection () |
|
| restoreSection () |
|
| setArray ($key, array $t) |
|
| addHTMLStyle () |
|
| removeOrphanImages () |
|
| genStyle () |
|
| genMeta () |
|
| genContent () |
|
| ParseText (&$out) |
|
Definition at line 22 of file Class.OOoLayout.php.
__construct |
( |
|
$caneva = "" , |
|
|
Action & |
$action = null , |
|
|
Doc & |
$doc = null |
|
) |
| |
construct layout for view card containt
- Parameters
-
string | $caneva | file of the template |
Action | $action | current action |
Doc | $doc | document |
Definition at line 51 of file Class.OOoLayout.php.
recompose odt file
- Parameters
-
string | $odsfile | output file path |
Definition at line 412 of file Class.OOoLayout.php.
set key/value pair and XML entity encode
- Parameters
-
string | $tag | the key to replace |
string | $val | the value for the key |
Definition at line 521 of file Class.OOoLayout.php.
execute |
( |
|
$appname, |
|
|
|
$actionargn |
|
) |
| |
getAncestor |
( |
& |
$node, |
|
|
|
$type |
|
) |
| |
getArrayKeyValue |
( |
|
$key, |
|
|
array |
$levelPath |
|
) |
| |
|
protected |
Retrieve one of values for a multi value key
- Parameters
-
string | $key | the key name (multiple values) |
array | $levelPath | path to access of a particular value |
Definition at line 941 of file Class.OOoLayout.php.
innerXML |
( |
DOMnode & |
$node | ) |
|
read odt file and insert xmls in object
- Parameters
-
string | $odsfile | path to the odt file |
Definition at line 379 of file Class.OOoLayout.php.
clean section done by htmltext values delete unecessary span or p delete section tag if needed (not in cell or text:section or text:body
Definition at line 1419 of file Class.OOoLayout.php.
parseListInBlock |
( |
|
$block, |
|
|
|
$aid, |
|
|
|
$vkey |
|
) |
| |
parse section and clone "tpl_xxx" sections into saved_sections
Definition at line 1123 of file Class.OOoLayout.php.
removeAllChilds |
( |
DOMNode & |
$objNode | ) |
|
|
protected |
Delete not used images (need when reuse template where repeat section)
Definition at line 1330 of file Class.OOoLayout.php.
removeXmlId |
( |
& |
$objNode | ) |
|
|
protected |
replaceNodeText |
( |
DOMNode & |
$objNode, |
|
|
|
$strOldContent, |
|
|
|
$strNewContent |
|
) |
| |
|
protected |
This function replaces a node's string content with strNewContent
- Parameters
-
DomNode | $objNode | |
string | $strOldContent | |
string | $strNewContent | |
Definition at line 681 of file Class.OOoLayout.php.
replaceRowIf |
( |
DOMNode & |
$row, |
|
|
array |
$levelPath |
|
) |
| |
|
protected |
Inspect conditions in cells
- Parameters
-
string_type | $row | |
array | $levelPath | |
Definition at line 975 of file Class.OOoLayout.php.
replaceRowNode |
( |
DOMNode & |
$row, |
|
|
array |
$levelPath |
|
) |
| |
|
protected |
replaceRowSomething |
( |
DOMNode & |
$row, |
|
|
array |
$levelPath, |
|
|
|
$ns, |
|
|
|
$tag, |
|
|
|
$recursive |
|
) |
| |
|
protected |
Inspect list in sub tables
- Parameters
-
DOMNode | $row | |
array | $levelPath | |
string | $ns | namespace for filter items (like text or table) |
string | $tag | tag for filter (like table-row or list-item) |
boolean | $recursive | recursive mode |
Definition at line 1034 of file Class.OOoLayout.php.
restoreProtectedValues |
( |
| ) |
|
|
protected |
set key/value pair
- Parameters
-
string | $tag | the key to replace |
string | $val | the value for the key |
Definition at line 504 of file Class.OOoLayout.php.
setArray |
( |
|
$key, |
|
|
array |
$t |
|
) |
| |
|
protected |
SetBlock |
( |
|
$name, |
|
|
|
$block |
|
) |
| |
SetBlockData |
( |
|
$p_nom_block, |
|
|
|
$data |
|
) |
| |
setColumn |
( |
|
$key, |
|
|
array |
$t |
|
) |
| |
Initialize of list
- Parameters
-
string | $key | the key variable |
array | $t | the values of the key |
Definition at line 1217 of file Class.OOoLayout.php.
setDraw |
( |
DOMNode & |
$draw, |
|
|
|
$name, |
|
|
|
$file |
|
) |
| |
|
protected |
set image
- Parameters
-
DomNode | $node | |
string | $name | |
string | $value | |
Definition at line 615 of file Class.OOoLayout.php.
setDropDownField |
( |
DOMNode & |
$node, |
|
|
|
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
modify a text:drop-down list
- Parameters
-
| DomNode$node | |
string | $name | |
string | $value | |
Definition at line 838 of file Class.OOoLayout.php.
setInputField |
( |
DOMNode & |
$node, |
|
|
|
$name, |
|
|
|
$value |
|
) |
| |
|
protected |
modify a text:input field value
- Parameters
-
DomNode | $node | |
string | $name | |
string | $value | |
Definition at line 823 of file Class.OOoLayout.php.
setrepeatable |
( |
array |
$data | ) |
|
TestIf |
( |
|
$name, |
|
|
|
$block, |
|
|
|
$not = false , |
|
|
|
$levelPath = null |
|
) |
| |
- Parameters
-
string | $name | name of the IF |
string | $block | xml string which containt the condition |
boolean | $not | negative condition |
array | $levelPath | Path use to retrieve condition value in recursive repeatable mode |
Definition at line 182 of file Class.OOoLayout.php.
The documentation for this class was generated from the following file: