Settings
extends WriterPart
in package
Table of Contents
Properties
- $parentWriter : Ods
- Parent Ods object.
Methods
- __construct() : mixed
- Set parent Ods writer.
- getParentWriter() : Ods
- Get Ods writer.
- write() : string
- Write settings.xml to XML format.
- writeAllWorksheetSettings() : void
- writeFreezePane() : void
- writeSelectedCells() : void
- writeSplitValue() : void
- writeWorksheetSettings() : void
Properties
$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 settings.xml to XML format.
public
write() : string
Return values
string —XML Output
writeAllWorksheetSettings()
private
writeAllWorksheetSettings(XMLWriter $objWriter, Spreadsheet $spreadsheet) : void
Parameters
- $objWriter : XMLWriter
- $spreadsheet : Spreadsheet
writeFreezePane()
private
writeFreezePane(XMLWriter $objWriter, Worksheet $worksheet) : void
Parameters
writeSelectedCells()
private
writeSelectedCells(XMLWriter $objWriter, Worksheet $worksheet) : void
Parameters
writeSplitValue()
private
writeSplitValue(XMLWriter $objWriter, string $splitMode, string $type, string $value) : void
Parameters
- $objWriter : XMLWriter
- $splitMode : string
- $type : string
- $value : string
writeWorksheetSettings()
private
writeWorksheetSettings(XMLWriter $objWriter, Worksheet $worksheet) : void