AbstractSlide
extends AbstractDecoratorWriter
in package
Table of Contents
Properties
- $oHashTable : HashTable
- $oPresentation : PhpPresentation
- $oZip : ZipInterface
Methods
- getDrawingHashTable() : HashTable
- getPresentation() : PhpPresentation
- getZip() : ZipInterface
- render() : ZipInterface
- setDrawingHashTable() : $this
- setPresentation() : $this
- setZip() : $this
- absoluteZipPath() : string
- Determine absolute zip path.
- writeBorder() : void
- Write Border.
- writeColor() : void
- writeDrawingRelations() : mixed
- writeFill() : void
- Write Fill.
- writeGradientFill() : void
- Write Gradient Fill.
- writeHyperlink() : void
- Write hyperlink.
- writeNote() : string
- Write Note Slide.
- writeOutline() : void
- Write Outline.
- writeParagraphs() : void
- Write paragraphs.
- writeParagraphStyles() : void
- Write Paragraph Styles (a:pPr).
- writePatternFill() : void
- Write Pattern Fill.
- writeRelationship() : void
- Write relationship.
- writeRunStyles() : void
- Write RichTextElement Styles (a:pPr).
- writeShadow() : void
- Write Shadow.
- writeShapeAutoShape() : void
- Write AutoShape.
- writeShapeChart() : void
- Write chart.
- writeShapeCollection() : void
- Note : $shapeId needs to start to 1 The animation is applied to the shape which is next to the target shape.
- writeShapeGroup() : void
- Write group.
- writeShapeLine() : void
- Write Line Shape.
- writeShapePic() : void
- Write pic.
- writeShapeTable() : void
- Write table.
- writeShapeText() : void
- Write txt.
- writeSlideBackground() : void
- writeSlideTransition() : void
- Write Transition Slide.
- writeSolidFill() : void
- Write Solid Fill.
- getGUID() : string
Properties
$oHashTable
protected
HashTable
$oHashTable
$oPresentation
protected
PhpPresentation
$oPresentation
$oZip
protected
ZipInterface
$oZip
Methods
getDrawingHashTable()
public
getDrawingHashTable() : HashTable
Return values
HashTablegetPresentation()
public
getPresentation() : PhpPresentation
Return values
PhpPresentationgetZip()
public
getZip() : ZipInterface
Return values
ZipInterfacerender()
public
abstract render() : ZipInterface
Return values
ZipInterfacesetDrawingHashTable()
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
$thisabsoluteZipPath()
Determine absolute zip path.
protected
absoluteZipPath(string $path) : string
Parameters
- $path : string
Return values
stringwriteBorder()
Write Border.
protected
writeBorder(XMLWriter $objWriter, Border $pBorder[, string $pElementName = 'L' ][, bool $isMarker = false ]) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $pBorder : Border
-
Border
- $pElementName : string = 'L'
-
Element name
- $isMarker : bool = false
writeColor()
protected
writeColor(XMLWriter $objWriter, Color $color[, int|null $alpha = null ]) : void
Parameters
- $objWriter : XMLWriter
- $color : Color
- $alpha : int|null = null
writeDrawingRelations()
protected
writeDrawingRelations(AbstractSlide $pSlideMaster, XMLWriter $objWriter, int $relId) : mixed
Parameters
- $pSlideMaster : AbstractSlide
- $objWriter : XMLWriter
- $relId : int
writeFill()
Write Fill.
protected
writeFill(XMLWriter $objWriter, null|Fill $pFill) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $pFill : null|Fill
-
Fill style
writeGradientFill()
Write Gradient Fill.
protected
writeGradientFill(XMLWriter $objWriter, Fill $pFill) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $pFill : Fill
-
Fill style
writeHyperlink()
Write hyperlink.
protected
writeHyperlink(XMLWriter $objWriter, AbstractShape|TextElement $shape) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $shape : AbstractShape|TextElement
writeNote()
Write Note Slide.
protected
writeNote(Note $pNote) : string
Parameters
- $pNote : Note
Return values
stringwriteOutline()
Write Outline.
protected
writeOutline(XMLWriter $objWriter, Outline|null $oOutline) : void
Parameters
- $objWriter : XMLWriter
- $oOutline : Outline|null
writeParagraphs()
Write paragraphs.
protected
writeParagraphs(XMLWriter $objWriter, array<string|int, Paragraph> $paragraphs) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $paragraphs : array<string|int, Paragraph>
writeParagraphStyles()
Write Paragraph Styles (a:pPr).
protected
writeParagraphStyles(XMLWriter $objWriter, Paragraph $paragraph[, bool $isPlaceholder = false ]) : void
Parameters
- $objWriter : XMLWriter
- $paragraph : Paragraph
- $isPlaceholder : bool = false
writePatternFill()
Write Pattern Fill.
protected
writePatternFill(XMLWriter $objWriter, Fill $pFill) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $pFill : Fill
-
Fill style
writeRelationship()
Write relationship.
protected
writeRelationship(XMLWriter $objWriter, int $pId, string $pType, string $pTarget[, string $pTargetMode = '' ]) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $pId : int
-
Relationship ID. rId will be prepended!
- $pType : string
-
Relationship type
- $pTarget : string
-
Relationship target
- $pTargetMode : string = ''
-
Relationship target mode
writeRunStyles()
Write RichTextElement Styles (a:pPr).
protected
writeRunStyles(XMLWriter $objWriter, Run $element) : void
Parameters
- $objWriter : XMLWriter
- $element : Run
writeShadow()
Write Shadow.
protected
writeShadow(XMLWriter $objWriter, Shadow $oShadow) : void
Parameters
- $objWriter : XMLWriter
- $oShadow : Shadow
writeShapeAutoShape()
Write AutoShape.
protected
writeShapeAutoShape(XMLWriter $objWriter, AutoShape $shape, int $shapeId) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $shape : AutoShape
- $shapeId : int
writeShapeChart()
Write chart.
protected
writeShapeChart(XMLWriter $objWriter, Chart $shape, int $shapeId) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $shape : Chart
- $shapeId : int
writeShapeCollection()
Note : $shapeId needs to start to 1 The animation is applied to the shape which is next to the target shape.
protected
writeShapeCollection(XMLWriter $objWriter[, array<int, AbstractShape>|ArrayObject<int, AbstractShape> $shapes = [] ][, int &$shapeId = 1 ]) : void
Parameters
- $objWriter : XMLWriter
- $shapes : array<int, AbstractShape>|ArrayObject<int, AbstractShape> = []
- $shapeId : int = 1
writeShapeGroup()
Write group.
protected
writeShapeGroup(XMLWriter $objWriter, Group $group, int &$shapeId) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $group : Group
- $shapeId : int
writeShapeLine()
Write Line Shape.
protected
writeShapeLine(XMLWriter $objWriter, Line $shape, int $shapeId) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $shape : Line
- $shapeId : int
writeShapePic()
Write pic.
protected
writeShapePic(XMLWriter $objWriter, AbstractGraphic $shape, int $shapeId) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $shape : AbstractGraphic
- $shapeId : int
writeShapeTable()
Write table.
protected
writeShapeTable(XMLWriter $objWriter, Table $shape, int $shapeId) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $shape : Table
- $shapeId : int
writeShapeText()
Write txt.
protected
writeShapeText(XMLWriter $objWriter, RichText $shape, int $shapeId) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $shape : RichText
- $shapeId : int
writeSlideBackground()
protected
writeSlideBackground(AbstractSlide $pSlide, XMLWriter $objWriter) : void
Parameters
- $pSlide : AbstractSlide
- $objWriter : XMLWriter
writeSlideTransition()
Write Transition Slide.
protected
writeSlideTransition(XMLWriter $objWriter, Transition|null $transition) : void
Parameters
- $objWriter : XMLWriter
- $transition : Transition|null
Tags
writeSolidFill()
Write Solid Fill.
protected
writeSolidFill(XMLWriter $objWriter, Fill $pFill) : void
Parameters
- $objWriter : XMLWriter
-
XML Writer
- $pFill : Fill
-
Fill style
getGUID()
private
getGUID() : string