Content extends WriterPart
Tags
Table of Contents
- NUMBER_COLS_REPEATED_MAX = 1024
- NUMBER_ROWS_REPEATED_MAX = 1048576
- $formulaConvertor : Formula
- $parentWriter : Ods
- Parent Ods object.
- __construct() : mixed
- Set parent Ods writer.
- getParentWriter() : Ods
- Get Ods writer.
- write() : string
- Write content.xml to XML format.
- writeCellMerge() : void
- Write attributes for merged cell.
- writeCells() : void
- Write cells of the specified row.
- writeCellSpan() : void
- Write span.
- writeRows() : void
- Write rows of the specified sheet.
- writeSheets() : void
- Write sheets.
- writeXfStyles() : void
- Write XF cell styles.
Constants
NUMBER_COLS_REPEATED_MAX
public
mixed
NUMBER_COLS_REPEATED_MAX
= 1024
NUMBER_ROWS_REPEATED_MAX
public
mixed
NUMBER_ROWS_REPEATED_MAX
= 1048576
Properties
$formulaConvertor
private
Formula
$formulaConvertor
$parentWriter
Parent Ods object.
private
Ods
$parentWriter
Methods
__construct()
Set parent Ods writer.
public
__construct(Ods $writer) : mixed
Parameters
- $writer : Ods
Return values
mixed —getParentWriter()
Get Ods writer.
public
getParentWriter() : Ods
Return values
Ods —write()
Write content.xml to XML format.
public
write() : string
Return values
string —XML Output
writeCellMerge()
Write attributes for merged cell.
private
writeCellMerge(XMLWriter $objWriter, Cell $cell) : void
Parameters
Return values
void —writeCells()
Write cells of the specified row.
private
writeCells(XMLWriter $objWriter, RowCellIterator $cells) : void
Parameters
- $objWriter : XMLWriter
- $cells : RowCellIterator
Return values
void —writeCellSpan()
Write span.
private
writeCellSpan(XMLWriter $objWriter, int $curColumn, int $prevColumn) : void
Parameters
- $objWriter : XMLWriter
- $curColumn : int
- $prevColumn : int
Return values
void —writeRows()
Write rows of the specified sheet.
private
writeRows(XMLWriter $objWriter, Worksheet $sheet, int $sheetIndex) : void
Parameters
Return values
void —writeSheets()
Write sheets.
private
writeSheets(XMLWriter $objWriter) : void
Parameters
- $objWriter : XMLWriter
Return values
void —writeXfStyles()
Write XF cell styles.
private
writeXfStyles(XMLWriter $writer, Spreadsheet $spreadsheet) : void
Parameters
- $writer : XMLWriter
- $spreadsheet : Spreadsheet