Documentation

PptCharts 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.
writeAxis()  : void
writeAxisGridlines()  : void
writeBorder()  : void
Write Border.
writeChart()  : string
Write chart to XML format.
writeChartRelationships()  : string
Write chart relationships to XML format.
writeColor()  : void
writeElementWithValAttribute()  : void
Write element with value attribute.
writeFill()  : void
Write Fill.
writeGradientFill()  : void
Write Gradient Fill.
writeLayout()  : void
Write Layout.
writeLegend()  : void
Write Legend.
writeMultipleValuesOrReference()  : void
Write series value or reference.
writeOutline()  : void
Write Outline.
writePatternFill()  : void
Write Pattern Fill.
writePlotArea()  : void
Write Plot Area.
writeRelationship()  : void
Write relationship.
writeSeriesMarker()  : void
writeSingleValueOrReference()  : void
Write single value or reference.
writeSolidFill()  : void
Write Solid Fill.
writeSpreadsheet()  : string
Write chart to XML format.
writeTitle()  : void
Write Title.
writeTypeArea()  : void
Write Type Area.
writeTypeBar()  : void
Write Type Bar.
writeTypeBar3D()  : void
Write Type Bar3D.
writeTypeDoughnut()  : void
Write Type Pie.
writeTypeLine()  : void
Write Type Line.
writeTypePie()  : void
Write Type Pie.
writeTypePie3D()  : void
Write Type Pie3D.
writeTypeRadar()  : void
Write Type Radar.
writeTypeScatter()  : void
Write Type Scatter.

Properties

Methods

render()

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

writeAxis()

protected writeAxis(XMLWriter $objWriter, Axis $oAxis, string $typeAxis, AbstractType $typeChart) : void
Parameters
$objWriter : XMLWriter
$oAxis : Axis
$typeAxis : string
$typeChart : AbstractType

writeAxisGridlines()

protected writeAxisGridlines(XMLWriter $objWriter, Gridlines $oGridlines) : void
Parameters
$objWriter : XMLWriter
$oGridlines : Gridlines

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

writeChart()

Write chart to XML format.

protected writeChart(Chart $chart) : string
Parameters
$chart : Chart
Return values
string

XML Output

writeChartRelationships()

Write chart relationships to XML format.

protected writeChartRelationships(Chart $pChart) : string
Parameters
$pChart : Chart
Return values
string

XML Output

writeColor()

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

writeElementWithValAttribute()

Write element with value attribute.

protected writeElementWithValAttribute(XMLWriter $objWriter, string $elementName, string $value) : void
Parameters
$objWriter : XMLWriter

XML Writer

$elementName : string
$value : string

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

writeLegend()

Write Legend.

protected writeLegend(XMLWriter $objWriter, Legend $subject) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Legend

writeMultipleValuesOrReference()

Write series value or reference.

protected writeMultipleValuesOrReference(XMLWriter $objWriter, bool $isReference, array<int, mixed> $values, string $reference) : void
Parameters
$objWriter : XMLWriter

XML Writer

$isReference : bool
$values : array<int, mixed>
$reference : string

writePatternFill()

Write Pattern Fill.

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

XML Writer

$pFill : Fill

Fill style

writePlotArea()

Write Plot Area.

protected writePlotArea(XMLWriter $objWriter, PlotArea $subject, Chart $chart) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : PlotArea
$chart : Chart

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

writeSeriesMarker()

protected writeSeriesMarker(XMLWriter $objWriter, Marker $marker) : void
Parameters
$objWriter : XMLWriter
$marker : Marker

writeSingleValueOrReference()

Write single value or reference.

protected writeSingleValueOrReference(XMLWriter $objWriter, bool $isReference, string $value, string $reference) : void
Parameters
$objWriter : XMLWriter

XML Writer

$isReference : bool
$value : string
$reference : string

writeSolidFill()

Write Solid Fill.

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

XML Writer

$pFill : Fill

Fill style

writeSpreadsheet()

Write chart to XML format.

protected writeSpreadsheet(PhpPresentation $presentation, Chart $chart, string $tempName) : string
Parameters
$presentation : PhpPresentation
$chart : Chart
$tempName : string
Return values
string

String output

writeTitle()

Write Title.

protected writeTitle(XMLWriter $objWriter, Title $subject) : void
Parameters
$objWriter : XMLWriter
$subject : Title

writeTypeArea()

Write Type Area.

protected writeTypeArea(XMLWriter $objWriter, Area $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Area
$includeSheet : bool = false

writeTypeBar()

Write Type Bar.

protected writeTypeBar(XMLWriter $objWriter, Bar $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Bar
$includeSheet : bool = false

writeTypeBar3D()

Write Type Bar3D.

protected writeTypeBar3D(XMLWriter $objWriter, Bar3D $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Bar3D
$includeSheet : bool = false

writeTypeDoughnut()

Write Type Pie.

protected writeTypeDoughnut(XMLWriter $objWriter, Doughnut $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Doughnut
$includeSheet : bool = false

writeTypeLine()

Write Type Line.

protected writeTypeLine(XMLWriter $objWriter, Line $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Line
$includeSheet : bool = false

writeTypePie()

Write Type Pie.

protected writeTypePie(XMLWriter $objWriter, Pie $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Pie
$includeSheet : bool = false

writeTypePie3D()

Write Type Pie3D.

protected writeTypePie3D(XMLWriter $objWriter, Pie3D $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Pie3D
$includeSheet : bool = false

writeTypeRadar()

Write Type Radar.

protected writeTypeRadar(XMLWriter $objWriter, Radar $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter

XML Writer

$subject : Radar
$includeSheet : bool = false

writeTypeScatter()

Write Type Scatter.

protected writeTypeScatter(XMLWriter $objWriter, Scatter $subject[, bool $includeSheet = false ]) : void
Parameters
$objWriter : XMLWriter
$subject : Scatter
$includeSheet : bool = false

        
On this page

Search results