Documentation

Content extends WriterPart

Tags
author

Alexander Pervakov frost-nzcr4@jagmort.com

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

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
$objWriter : XMLWriter
$cell : Cell
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
$objWriter : XMLWriter
$sheet : Worksheet
$sheetIndex : int
Return values
void

writeSheets()

Write sheets.

private writeSheets(XMLWriter $objWriter) : void
Parameters
$objWriter : XMLWriter
Return values
void

Search results