Documentation

PptSlides extends AbstractSlide
in package

Table of Contents

$oHashTable  : HashTable
$oPresentation  : PhpPresentation
$oZip  : ZipInterface
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.
writePatternFill()  : void
Write Pattern Fill.
writeRelationship()  : void
Write relationship.
writeShadow()  : void
Write Shadow.
writeShapeAutoShape()  : void
Write AutoShape
writeShapeChart()  : void
Write chart
writeShapeCollection()  : void
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
Return values
void

writeColor()

protected writeColor(XMLWriter $objWriter, Color $color[, int|null $alpha = null ]) : void
Parameters
$objWriter : XMLWriter
$color : Color
$alpha : int|null = null
Return values
void

writeDrawingRelations()

protected writeDrawingRelations(AbstractSlide $pSlideMaster, XMLWriter $objWriter, int $relId) : mixed
Parameters
$pSlideMaster : AbstractSlide
$objWriter : XMLWriter
$relId : int
Return values
mixed

writeFill()

Write Fill.

protected writeFill(XMLWriter $objWriter, Fill|null $pFill) : void
Parameters
$objWriter : XMLWriter

XML Writer

$pFill : Fill|null

Fill style

Return values
void

writeGradientFill()

Write Gradient Fill.

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

XML Writer

$pFill : Fill

Fill style

Return values
void

writeNote()

Write Note Slide.

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

writeOutline()

Write Outline

protected writeOutline(XMLWriter $objWriter, Outline|null $oOutline) : void
Parameters
$objWriter : XMLWriter
$oOutline : Outline|null
Return values
void

writeParagraphs()

Write paragraphs.

protected writeParagraphs(XMLWriter $objWriter, array<string|int, Paragraph$paragraphs[, bool $bIsPlaceholder = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$paragraphs : array<string|int, Paragraph>
$bIsPlaceholder : bool = false
Return values
void

writePatternFill()

Write Pattern Fill.

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

XML Writer

$pFill : Fill

Fill style

Return values
void

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

Return values
void

writeShadow()

Write Shadow.

protected writeShadow(XMLWriter $objWriter, Shadow $oShadow) : void
Parameters
$objWriter : XMLWriter
$oShadow : Shadow
Return values
void

writeShapeAutoShape()

Write AutoShape

protected writeShapeAutoShape(XMLWriter $objWriter, AutoShape $shape, int $shapeId) : void
Parameters
$objWriter : XMLWriter

XML Writer

$shape : AutoShape
$shapeId : int
Return values
void

writeShapeChart()

Write chart

protected writeShapeChart(XMLWriter $objWriter, Chart $shape, int $shapeId) : void
Parameters
$objWriter : XMLWriter

XML Writer

$shape : Chart
$shapeId : int
Return values
void

writeShapeGroup()

Write group.

protected writeShapeGroup(XMLWriter $objWriter, Group $group, int &$shapeId) : void
Parameters
$objWriter : XMLWriter

XML Writer

$group : Group
$shapeId : int
Return values
void

writeShapeLine()

Write Line Shape.

protected writeShapeLine(XMLWriter $objWriter, Line $shape, int $shapeId) : void
Parameters
$objWriter : XMLWriter

XML Writer

$shape : Line
$shapeId : int
Return values
void

writeShapePic()

Write pic.

protected writeShapePic(XMLWriter $objWriter, AbstractGraphic $shape, int $shapeId) : void
Parameters
$objWriter : XMLWriter

XML Writer

$shape : AbstractGraphic
$shapeId : int
Return values
void

writeShapeTable()

Write table.

protected writeShapeTable(XMLWriter $objWriter, Table $shape, int $shapeId) : void
Parameters
$objWriter : XMLWriter

XML Writer

$shape : Table
$shapeId : int
Return values
void

writeShapeText()

Write txt.

protected writeShapeText(XMLWriter $objWriter, RichText $shape, int $shapeId) : void
Parameters
$objWriter : XMLWriter

XML Writer

$shape : RichText
$shapeId : int
Return values
void

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
Return values
void

writeSlideBackground()

protected writeSlideBackground(AbstractSlide $pSlide, XMLWriter $objWriter) : void
Parameters
$pSlide : AbstractSlide
$objWriter : XMLWriter
Return values
void

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

Return values
void

getGUID()

private getGUID() : string
Return values
string

Search results