Styles
extends AbstractDecoratorWriter
in package
Table of Contents
Properties
- $arrayChart : array<string|int, Chart>
- $arrayGradient : array<int, string>
- Stores font styles draw:gradient nodes.
- $arrayStrokeDash : array<int, string>
- Stores font styles draw:stroke-dash nodes.
- $oHashTable : HashTable
- $oPresentation : PhpPresentation
- $oZip : ZipInterface
Methods
- getArrayChart() : array<string|int, Chart>
- getDrawingHashTable() : HashTable
- getPresentation() : PhpPresentation
- getZip() : ZipInterface
- render() : ZipInterface
- setArrayChart() : AbstractDecoratorWriter
- setDrawingHashTable() : $this
- setPresentation() : $this
- setZip() : $this
- writeBackgroundStyle() : void
- Write the background image style.
- writeGradientFill() : void
- Write the gradient style.
- writeGroupStyle() : void
- Writes the style information for a group of shapes.
- writePart() : string
- Write Meta file to XML format.
- writeRichTextStyle() : void
- Write the default style information for a RichText shape.
- writeTableStyle() : void
- Write the default style information for a Table shape.
Properties
$arrayChart
protected
array<string|int, Chart>
$arrayChart
$arrayGradient
Stores font styles draw:gradient nodes.
protected
array<int, string>
$arrayGradient
= []
$arrayStrokeDash
Stores font styles draw:stroke-dash nodes.
protected
array<int, string>
$arrayStrokeDash
= []
$oHashTable
protected
HashTable
$oHashTable
$oPresentation
protected
PhpPresentation
$oPresentation
$oZip
protected
ZipInterface
$oZip
Methods
getArrayChart()
public
getArrayChart() : array<string|int, Chart>
Return values
array<string|int, Chart>getDrawingHashTable()
public
getDrawingHashTable() : HashTable
Return values
HashTablegetPresentation()
public
getPresentation() : PhpPresentation
Return values
PhpPresentationgetZip()
public
getZip() : ZipInterface
Return values
ZipInterfacerender()
public
render() : ZipInterface
Return values
ZipInterfacesetArrayChart()
public
setArrayChart(array<string|int, Chart> $arrayChart) : AbstractDecoratorWriter
Parameters
- $arrayChart : array<string|int, Chart>
Return values
AbstractDecoratorWritersetDrawingHashTable()
public
setDrawingHashTable(HashTable $hashTable) : $this
Parameters
- $hashTable : HashTable
Return values
$thissetPresentation()
public
setPresentation(PhpPresentation $oPresentation) : $this
Parameters
- $oPresentation : PhpPresentation
Return values
$thissetZip()
public
setZip(ZipInterface $oZip) : $this
Parameters
- $oZip : ZipInterface
Return values
$thiswriteBackgroundStyle()
Write the background image style.
protected
writeBackgroundStyle(XMLWriter $objWriter, Image $oBkgImage, int $numSlide) : void
Parameters
- $objWriter : XMLWriter
- $oBkgImage : Image
- $numSlide : int
writeGradientFill()
Write the gradient style.
protected
writeGradientFill(XMLWriter $objWriter, Fill $oFill) : void
Parameters
- $objWriter : XMLWriter
- $oFill : Fill
writeGroupStyle()
Writes the style information for a group of shapes.
protected
writeGroupStyle(XMLWriter $objWriter, Group $group) : void
Parameters
- $objWriter : XMLWriter
- $group : Group
writePart()
Write Meta file to XML format.
protected
writePart() : string
Return values
string —XML Output
writeRichTextStyle()
Write the default style information for a RichText shape.
protected
writeRichTextStyle(XMLWriter $objWriter, RichText $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : RichText
writeTableStyle()
Write the default style information for a Table shape.
protected
writeTableStyle(XMLWriter $objWriter, Table $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : Table