PHP Класс PhpOffice\PhpPresentation\Writer\PowerPoint2007\PptCharts

Наследование: extends AbstractDecoratorWriter
Показать файл Открыть проект

Открытые методы

Метод Описание
render ( ) : PhpOffice\Common\Adapter\Zip\ZipInterface
writeChart ( Chart $chart ) : string Write chart to XML format
writeChartRelationships ( Chart $pChart ) : string Write chart relationships to XML format
writeSpreadsheet ( PhpPresentation $presentation, Chart $chart, string $tempName ) : string Write chart to XML format

Защищенные методы

Метод Описание
writeAxis ( PhpOffice\Common\XMLWriter $objWriter, Axis $oAxis, $typeAxis )
writeAxisGridlines ( PhpOffice\Common\XMLWriter $objWriter, Gridlines $oGridlines )
writeElementWithValAttribute ( PhpOffice\Common\XMLWriter $objWriter, string $elementName, string $value ) Write element with value attribute
writeLayout ( PhpOffice\Common\XMLWriter $objWriter, mixed $subject ) Write Layout
writeLegend ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Legend $subject ) Write Legend
writeMultipleValuesOrReference ( PhpOffice\Common\XMLWriter $objWriter, boolean $isReference, mixed $values, string $reference ) Write series value or reference
writePlotArea ( PhpOffice\Common\XMLWriter $objWriter, PlotArea $subject, Chart $chart ) Write Plot Area
writeSeriesMarker ( PhpOffice\Common\XMLWriter $objWriter, Marker $oMarker )
writeSingleValueOrReference ( PhpOffice\Common\XMLWriter $objWriter, boolean $isReference, mixed $value, string $reference ) Write single value or reference
writeTitle ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Title $subject ) Write Title
writeTypeArea ( PhpOffice\Common\XMLWriter $objWriter, Area $subject, boolean $includeSheet = false ) Write Type Area
writeTypeBar ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Bar $subject, boolean $includeSheet = false ) Write Type Bar
writeTypeBar3D ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Bar3D $subject, boolean $includeSheet = false ) Write Type Bar3D
writeTypeLine ( PhpOffice\Common\XMLWriter $objWriter, Line $subject, boolean $includeSheet = false ) Write Type Line
writeTypePie ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Pie $subject, boolean $includeSheet = false ) Write Type Pie
writeTypePie3D ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Pie3D $subject, boolean $includeSheet = false ) Write Type Pie3D
writeTypeScatter ( PhpOffice\Common\XMLWriter $objWriter, Scatter $subject, boolean $includeSheet = false ) Write Type Scatter

Описание методов

render() публичный Метод

public render ( ) : PhpOffice\Common\Adapter\Zip\ZipInterface
Результат PhpOffice\Common\Adapter\Zip\ZipInterface

writeAxis() защищенный Метод

protected writeAxis ( PhpOffice\Common\XMLWriter $objWriter, Axis $oAxis, $typeAxis )
$objWriter PhpOffice\Common\XMLWriter
$oAxis PhpOffice\PhpPresentation\Shape\Chart\Axis
$typeAxis

writeAxisGridlines() защищенный Метод

protected writeAxisGridlines ( PhpOffice\Common\XMLWriter $objWriter, Gridlines $oGridlines )
$objWriter PhpOffice\Common\XMLWriter
$oGridlines PhpOffice\PhpPresentation\Shape\Chart\Gridlines

writeChart() публичный Метод

Write chart to XML format
public writeChart ( Chart $chart ) : string
$chart PhpOffice\PhpPresentation\Shape\Chart
Результат string XML Output

writeChartRelationships() публичный Метод

Write chart relationships to XML format
public writeChartRelationships ( Chart $pChart ) : string
$pChart PhpOffice\PhpPresentation\Shape\Chart
Результат string XML Output

writeElementWithValAttribute() защищенный Метод

Write element with value attribute
protected writeElementWithValAttribute ( PhpOffice\Common\XMLWriter $objWriter, string $elementName, string $value )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$elementName string
$value string

writeLayout() защищенный Метод

Write Layout
protected writeLayout ( PhpOffice\Common\XMLWriter $objWriter, mixed $subject )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject mixed

writeLegend() защищенный Метод

Write Legend
protected writeLegend ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Legend $subject )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Legend

writeMultipleValuesOrReference() защищенный Метод

Write series value or reference
protected writeMultipleValuesOrReference ( PhpOffice\Common\XMLWriter $objWriter, boolean $isReference, mixed $values, string $reference )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$isReference boolean
$values mixed
$reference string

writePlotArea() защищенный Метод

Write Plot Area
protected writePlotArea ( PhpOffice\Common\XMLWriter $objWriter, PlotArea $subject, Chart $chart )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\PlotArea
$chart PhpOffice\PhpPresentation\Shape\Chart

writeSeriesMarker() защищенный Метод

protected writeSeriesMarker ( PhpOffice\Common\XMLWriter $objWriter, Marker $oMarker )
$objWriter PhpOffice\Common\XMLWriter
$oMarker PhpOffice\PhpPresentation\Shape\Chart\Marker

writeSingleValueOrReference() защищенный Метод

Write single value or reference
protected writeSingleValueOrReference ( PhpOffice\Common\XMLWriter $objWriter, boolean $isReference, mixed $value, string $reference )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$isReference boolean
$value mixed
$reference string

writeSpreadsheet() публичный Метод

Write chart to XML format
public writeSpreadsheet ( PhpPresentation $presentation, Chart $chart, string $tempName ) : string
$presentation PhpOffice\PhpPresentation\PhpPresentation
$chart PhpOffice\PhpPresentation\Shape\Chart
$tempName string
Результат string String output

writeTitle() защищенный Метод

Write Title
protected writeTitle ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Title $subject )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Title

writeTypeArea() защищенный Метод

Write Type Area
protected writeTypeArea ( PhpOffice\Common\XMLWriter $objWriter, Area $subject, boolean $includeSheet = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Type\Area
$includeSheet boolean

writeTypeBar() защищенный Метод

Write Type Bar
protected writeTypeBar ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Bar $subject, boolean $includeSheet = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Type\Bar
$includeSheet boolean

writeTypeBar3D() защищенный Метод

Write Type Bar3D
protected writeTypeBar3D ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Bar3D $subject, boolean $includeSheet = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Type\Bar3D
$includeSheet boolean

writeTypeLine() защищенный Метод

Write Type Line
protected writeTypeLine ( PhpOffice\Common\XMLWriter $objWriter, Line $subject, boolean $includeSheet = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Type\Line
$includeSheet boolean

writeTypePie() защищенный Метод

Write Type Pie
protected writeTypePie ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Pie $subject, boolean $includeSheet = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Type\Pie
$includeSheet boolean

writeTypePie3D() защищенный Метод

Write Type Pie3D
protected writeTypePie3D ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\Chart\Type\Pie3D $subject, boolean $includeSheet = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Type\Pie3D
$includeSheet boolean

writeTypeScatter() защищенный Метод

Write Type Scatter
protected writeTypeScatter ( PhpOffice\Common\XMLWriter $objWriter, Scatter $subject, boolean $includeSheet = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$subject PhpOffice\PhpPresentation\Shape\Chart\Type\Scatter
$includeSheet boolean