Documentation

PptSlides extends AbstractSlide
in package

Table of Contents

Properties

$oHashTable  : HashTable
$oPresentation  : PhpPresentation
$oZip  : ZipInterface

Methods

getDrawingHashTable()  : HashTable
getPresentation()  : PhpPresentation
getZip()  : ZipInterface
render()  : ZipInterface
Add slides (drawings, ...) and slide relationships (drawings, ...).
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.
writeSlide()  : string
Write slide to XML format.
writeSlideAnimations()  : void
writeSlideBackground()  : void
writeSlideRelationships()  : string
Write slide relationships to XML format.
writeSlideTransition()  : void
Write Transition Slide.
writeSolidFill()  : void
Write Solid Fill.
getGUID()  : string

Properties

Methods

render()

Add slides (drawings, ...) and slide relationships (drawings, ...).

public render() : ZipInterface
Return values
ZipInterface

setZip()

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

absoluteZipPath()

Determine absolute zip path.

protected absoluteZipPath(string $path) : string
Parameters
$path : string
Return values
string

writeBorder()

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

writeNote()

Write Note Slide.

protected writeNote(Note $pNote) : string
Parameters
$pNote : Note
Return values
string

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

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

writeSlide()

Write slide to XML format.

protected writeSlide(Slide $pSlide) : string
Parameters
$pSlide : Slide
Return values
string

XML Output

writeSlideAnimations()

protected writeSlideAnimations(XMLWriter $objWriter, Slide $oSlide) : void
Parameters
$objWriter : XMLWriter
$oSlide : Slide

writeSlideRelationships()

Write slide relationships to XML format.

protected writeSlideRelationships(Slide $pSlide) : string
Parameters
$pSlide : Slide
Return values
string

XML Output

writeSolidFill()

Write Solid Fill.

protected writeSolidFill(XMLWriter $objWriter, Fill $pFill) : void
Parameters
$objWriter : XMLWriter

XML Writer

$pFill : Fill

Fill style


        
On this page

Search results