PHP Class PhpOffice\PhpPresentation\Writer\ODPresentation\Styles

Inheritance: extends PhpOffice\PhpPresentation\Writer\ODPresentation\AbstractPart
Exibir arquivo Open project: phpoffice/phppowerpoint

Protected Properties

Property Type Description
$arrayGradient array Stores font styles draw:gradient nodes
$arrayStrokeDash array Stores font styles draw:stroke-dash nodes

Public Methods

Method Description
render ( ) : ZipInterface

Protected Methods

Method Description
writeBackgroundStyle ( PhpOffice\Common\XMLWriter $objWriter, Image $oBkgImage, $numSlide ) Write the background image style
writeGradientFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $oFill ) Write the gradient style
writeGroupStyle ( PhpOffice\Common\XMLWriter $objWriter, Group $group ) Writes the style information for a group of shapes
writePart ( ) : string Write Meta file to XML format
writeRichTextStyle ( PhpOffice\Common\XMLWriter $objWriter, RichText $shape ) Write the default style information for a RichText shape
writeTableStyle ( PhpOffice\Common\XMLWriter $objWriter, Table $shape ) Write the default style information for a Table shape

Method Details

render() public method

public render ( ) : ZipInterface
return ZipInterface

writeBackgroundStyle() protected method

Write the background image style
protected writeBackgroundStyle ( PhpOffice\Common\XMLWriter $objWriter, Image $oBkgImage, $numSlide )
$objWriter PhpOffice\Common\XMLWriter
$oBkgImage PhpOffice\PhpPresentation\Slide\Background\Image

writeGradientFill() protected method

Write the gradient style
protected writeGradientFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $oFill )
$objWriter PhpOffice\Common\XMLWriter
$oFill PhpOffice\PhpPresentation\Style\Fill

writeGroupStyle() protected method

Writes the style information for a group of shapes
protected writeGroupStyle ( PhpOffice\Common\XMLWriter $objWriter, Group $group )
$objWriter PhpOffice\Common\XMLWriter
$group PhpOffice\PhpPresentation\Shape\Group

writePart() protected method

Write Meta file to XML format
protected writePart ( ) : string
return string XML Output

writeRichTextStyle() protected method

Write the default style information for a RichText shape
protected writeRichTextStyle ( PhpOffice\Common\XMLWriter $objWriter, RichText $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\RichText

writeTableStyle() protected method

Write the default style information for a Table shape
protected writeTableStyle ( PhpOffice\Common\XMLWriter $objWriter, Table $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Table

Property Details

$arrayGradient protected_oe property

Stores font styles draw:gradient nodes
protected array $arrayGradient
return array

$arrayStrokeDash protected_oe property

Stores font styles draw:stroke-dash nodes
protected array $arrayStrokeDash
return array