Content
extends AbstractDecoratorWriter
in package
Table of Contents
Properties
- $arrayChart : array<string|int, Chart>
- $arrStyleBullet : array<string, array<string, mixed>>
- Stores bullet styles for text shapes that include lists.
- $arrStyleParagraph : array<string, Paragraph>
- Stores paragraph information for text shapes.
- $arrStyleTextFont : array<string, Run>
- Stores font styles for text shapes that include lists.
- $oHashTable : HashTable
- $oPresentation : PhpPresentation
- $oZip : ZipInterface
- $shapeId : int
- Used to track the current shape ID.
Methods
- getArrayChart() : array<string|int, Chart>
- getDrawingHashTable() : HashTable
- getPresentation() : PhpPresentation
- getZip() : ZipInterface
- render() : ZipInterface
- setArrayChart() : AbstractDecoratorWriter
- setDrawingHashTable() : $this
- setPresentation() : $this
- setZip() : $this
- writeContent() : string
- Write content file to XML format.
- writeDrawingStyle() : void
- Write the default style information for an AbstractDrawingAdapter.
- writeGroupStyle() : void
- Writes the style information for a group of shapes.
- writeLineStyle() : void
- Write the default style information for a Line shape.
- writeShapeChart() : void
- Write table Chart.
- writeShapeComment() : void
- Write Comment.
- writeShapeDrawing() : void
- Write picture.
- writeShapeGroup() : void
- Writes a group of shapes.
- writeShapeLine() : void
- writeShapeMedia() : void
- Write picture.
- writeShapeTable() : void
- Write table Shape.
- writeShapeTxt() : void
- Write text.
- writeSlideNote() : void
- Write the slide note.
- writeStylePartFill() : void
- writeStylePartShadow() : void
- writeStyleSlide() : void
- Write style of a slide.
- writeTableStyle() : void
- Write the default style information for a Table shape.
- writeTxtStyle() : void
- Write the default style information for a RichText shape.
Properties
$arrayChart
protected
array<string|int, Chart>
$arrayChart
$arrStyleBullet
Stores bullet styles for text shapes that include lists.
protected
array<string, array<string, mixed>>
$arrStyleBullet
= []
$arrStyleParagraph
Stores paragraph information for text shapes.
protected
array<string, Paragraph>
$arrStyleParagraph
= []
$arrStyleTextFont
Stores font styles for text shapes that include lists.
protected
array<string, Run>
$arrStyleTextFont
= []
$oHashTable
protected
HashTable
$oHashTable
$oPresentation
protected
PhpPresentation
$oPresentation
$oZip
protected
ZipInterface
$oZip
$shapeId
Used to track the current shape ID.
protected
int
$shapeId
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
$thiswriteContent()
Write content file to XML format.
protected
writeContent() : string
Return values
string —XML Output
writeDrawingStyle()
Write the default style information for an AbstractDrawingAdapter.
protected
writeDrawingStyle(XMLWriter $objWriter, AbstractDrawingAdapter $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : AbstractDrawingAdapter
writeGroupStyle()
Writes the style information for a group of shapes.
protected
writeGroupStyle(XMLWriter $objWriter, Group $group) : void
Parameters
- $objWriter : XMLWriter
- $group : Group
writeLineStyle()
Write the default style information for a Line shape.
protected
writeLineStyle(XMLWriter $objWriter, Line $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : Line
writeShapeChart()
Write table Chart.
protected
writeShapeChart(XMLWriter $objWriter, Chart $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : Chart
writeShapeComment()
Write Comment.
protected
writeShapeComment(XMLWriter $objWriter, Comment $oShape) : void
Parameters
- $objWriter : XMLWriter
- $oShape : Comment
writeShapeDrawing()
Write picture.
protected
writeShapeDrawing(XMLWriter $objWriter, AbstractDrawingAdapter $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : AbstractDrawingAdapter
writeShapeGroup()
Writes a group of shapes.
protected
writeShapeGroup(XMLWriter $objWriter, Group $group) : void
Parameters
- $objWriter : XMLWriter
- $group : Group
writeShapeLine()
protected
writeShapeLine(XMLWriter $objWriter, Line $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : Line
writeShapeMedia()
Write picture.
protected
writeShapeMedia(XMLWriter $objWriter, Media $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : Media
writeShapeTable()
Write table Shape.
protected
writeShapeTable(XMLWriter $objWriter, Table $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : Table
writeShapeTxt()
Write text.
protected
writeShapeTxt(XMLWriter $objWriter, RichText $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : RichText
writeSlideNote()
Write the slide note.
protected
writeSlideNote(XMLWriter $objWriter, Note $note) : void
Parameters
- $objWriter : XMLWriter
- $note : Note
writeStylePartFill()
protected
writeStylePartFill(XMLWriter $objWriter, Fill|null $oFill) : void
Parameters
- $objWriter : XMLWriter
- $oFill : Fill|null
writeStylePartShadow()
protected
writeStylePartShadow(XMLWriter $objWriter, Shadow $oShadow) : void
Parameters
- $objWriter : XMLWriter
- $oShadow : Shadow
Tags
writeStyleSlide()
Write style of a slide.
protected
writeStyleSlide(XMLWriter $objWriter, Slide $slide, int $incPage) : void
Parameters
- $objWriter : XMLWriter
- $slide : Slide
- $incPage : int
writeTableStyle()
Write the default style information for a Table shape.
protected
writeTableStyle(XMLWriter $objWriter, Table $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : Table
writeTxtStyle()
Write the default style information for a RichText shape.
protected
writeTxtStyle(XMLWriter $objWriter, RichText $shape) : void
Parameters
- $objWriter : XMLWriter
- $shape : RichText