Documentation

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

$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 = []

$shapeId

Used to track the current shape ID.

protected int $shapeId

Methods

render()

public render() : ZipInterface
Return values
ZipInterface

setZip()

public setZip(ZipInterface $oZip) : $this
Parameters
$oZip : ZipInterface
Return values
$this

writeContent()

Write content file to XML format.

protected writeContent() : string
Return values
string

XML Output

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

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
todo

Improve for supporting any direction (https://sinepost.wordpress.com/2012/02/16/theyve-got-atan-you-want-atan2/)

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

        
On this page

Search results