PHP Class PhpOffice\PhpPresentation\Writer\PowerPoint2007\PptCharts

Inheritance: extends AbstractDecoratorWriter
ファイルを表示 Open project: phpoffice/phppowerpoint

Public Methods

Method Description
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

Protected Methods

Method Description
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

Method Details

render() public method

public render ( ) : PhpOffice\Common\Adapter\Zip\ZipInterface
return PhpOffice\Common\Adapter\Zip\ZipInterface

writeAxis() protected method

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

writeAxisGridlines() protected method

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

writeChart() public method

Write chart to XML format
public writeChart ( Chart $chart ) : string
$chart PhpOffice\PhpPresentation\Shape\Chart
return string XML Output

writeChartRelationships() public method

Write chart relationships to XML format
public writeChartRelationships ( Chart $pChart ) : string
$pChart PhpOffice\PhpPresentation\Shape\Chart
return string XML Output

writeElementWithValAttribute() protected method

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() protected method

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

writeLegend() protected method

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() protected method

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() protected method

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 method

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

writeSingleValueOrReference() protected method

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() public method

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
return string String output

writeTitle() protected method

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() protected method

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() protected method

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() protected method

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() protected method

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() protected method

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() protected method

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() protected method

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