Property | Type | Description | |
---|---|---|---|
$dataSource | array |
Method | Description | |
---|---|---|
addCell ( $row, $cell ) | ||
addRow ( $table, $row ) | ||
alreadyInDataSource ( $objectType, $name ) | ||
createImage ( $name, $type, $binarySource ) | ||
createText ( $name, $data = null ) | ||
encodeTextForODT ( $text ) : string | Wrapper function to consistently encode text where appropriate for template functionality | |
fillTableData ( $table, $tableData ) | ||
generateSimpleTableHashData ( array $table ) : array | ||
getDataSource ( ) : array | ||
getSimpleTexts ( ) : array | ||
getTables ( ) : array | ||
setAttribute ( $obj ) | ||
setObjType ( $obj, $type ) | ||
setTableAndSimpleTextDataFromArray ( array $data ) | ||
setTableCellData ( $table, $row, $col, $cellData ) | ||
setTableRowData ( $table, $row, $rowData ) |
Method | Description | |
---|---|---|
createCell ( ) : ODTCell | ||
createRow ( ) : ODTRow | ||
createSimpleText ( $name ) : ODTSimpleText | ||
createTable ( $tableName ) : ODTTable | ||
import ( $obj ) |
protected createSimpleText ( $name ) : ODTSimpleText | ||
$name | ||
return | ODTSimpleText |
protected createTable ( $tableName ) : ODTTable | ||
$tableName | ||
return | ODTTable |
public static encodeTextForODT ( $text ) : string | ||
$text | ||
return | string |
public generateSimpleTableHashData ( array $table ) : array | ||
$table | array | |
return | array |
public setTableAndSimpleTextDataFromArray ( array $data ) | ||
$data | array |