PHP Class PhpOffice\PhpPresentation\Writer\PowerPoint2007\AbstractDecoratorWriter

Show file Open project: phpoffice/phppowerpoint

Protected Methods

Method Description
absoluteZipPath ( string $path ) : string Determine absolute zip path
writeBorder ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Border $pBorder, string $pElementName = 'L' ) Write Border
writeColor ( PhpOffice\Common\XMLWriter $objWriter, Color $color, integer | null $alpha = null )
writeFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill ) Write Fill
writeGradientFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill ) Write Gradient Fill
writeOutline ( PhpOffice\Common\XMLWriter $objWriter, Outline $oOutline ) Write Outline
writePatternFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill ) Write Pattern Fill
writeRelationship ( PhpOffice\Common\XMLWriter $objWriter, integer $pId = 1, string $pType = '', string $pTarget = '', string $pTargetMode = '' ) Write relationship
writeSolidFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill ) Write Solid Fill

Method Details

absoluteZipPath() protected method

Determine absolute zip path
protected absoluteZipPath ( string $path ) : string
$path string
return string

writeBorder() protected method

Write Border
protected writeBorder ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Border $pBorder, string $pElementName = 'L' )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$pBorder PhpOffice\PhpPresentation\Style\Border Border
$pElementName string Element name

writeColor() protected method

protected writeColor ( PhpOffice\Common\XMLWriter $objWriter, Color $color, integer | null $alpha = null )
$objWriter PhpOffice\Common\XMLWriter
$color PhpOffice\PhpPresentation\Style\Color
$alpha integer | null

writeFill() protected method

Write Fill
protected writeFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$pFill PhpOffice\PhpPresentation\Style\Fill Fill style

writeGradientFill() protected method

Write Gradient Fill
protected writeGradientFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$pFill PhpOffice\PhpPresentation\Style\Fill Fill style

writeOutline() protected method

Write Outline
protected writeOutline ( PhpOffice\Common\XMLWriter $objWriter, Outline $oOutline )
$objWriter PhpOffice\Common\XMLWriter
$oOutline PhpOffice\PhpPresentation\Style\Outline

writePatternFill() protected method

Write Pattern Fill
protected writePatternFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$pFill PhpOffice\PhpPresentation\Style\Fill Fill style

writeRelationship() protected method

Write relationship
protected writeRelationship ( PhpOffice\Common\XMLWriter $objWriter, integer $pId = 1, string $pType = '', string $pTarget = '', string $pTargetMode = '' )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$pId integer Relationship ID. rId will be prepended!
$pType string Relationship type
$pTarget string Relationship target
$pTargetMode string Relationship target mode

writeSolidFill() protected method

Write Solid Fill
protected writeSolidFill ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Fill $pFill )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$pFill PhpOffice\PhpPresentation\Style\Fill Fill style