Content
extends WriterPart
in package
Tags
Table of Contents
Constants
- NUMBER_COLS_REPEATED_MAX = 1024
- NUMBER_ROWS_REPEATED_MAX = 1048576
Properties
- $formulaConvertor : Formula
- $parentWriter : Ods
- Parent Ods object.
Methods
- __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
getParentWriter()
Get Ods writer.
public
getParentWriter() : Ods
Return values
Odswrite()
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
writeCells()
Write cells of the specified row.
private
writeCells(XMLWriter $objWriter, RowCellIterator $cells) : void
Parameters
- $objWriter : XMLWriter
- $cells : RowCellIterator
writeCellSpan()
Write span.
private
writeCellSpan(XMLWriter $objWriter, int $curColumn, int $prevColumn) : void
Parameters
- $objWriter : XMLWriter
- $curColumn : int
- $prevColumn : int
writeRows()
Write rows of the specified sheet.
private
writeRows(XMLWriter $objWriter, Worksheet $sheet, int $sheetIndex) : void
Parameters
writeSheets()
Write sheets.
private
writeSheets(XMLWriter $objWriter) : void
Parameters
- $objWriter : XMLWriter
writeXfStyles()
Write XF cell styles.
private
writeXfStyles(XMLWriter $writer, Spreadsheet $spreadsheet) : void
Parameters
- $writer : XMLWriter
- $spreadsheet : Spreadsheet