PHP Class PhpOffice\PhpPresentation\Writer\PowerPoint2007\PptSlides

Inheritance: extends AbstractDecoratorWriter
Exibir arquivo Open project: phpoffice/phppowerpoint

Public Methods

Method Description
render ( ) : PhpOffice\Common\Adapter\Zip\ZipInterface Add slides (drawings, .
writeSlide ( Slide $pSlide ) : string Write slide to XML format

Protected Methods

Method Description
writeHyperlink ( PhpOffice\Common\XMLWriter $objWriter, AbstractShape | TextElement $shape ) Write hyperlink
writeNote ( PhpOffice\PhpPresentation\Slide\Note $pNote ) : string Write Note Slide
writeParagraphs ( PhpOffice\Common\XMLWriter $objWriter, Paragraph[] $paragraphs, boolean $bIsPlaceholder = false ) Write paragraphs
writeShapeChart ( PhpOffice\Common\XMLWriter $objWriter, Chart $shape, integer $shapeId ) Write chart
writeShapeDrawing ( PhpOffice\Common\XMLWriter $objWriter, AbstractDrawingAdapter $shape, integer $shapeId ) Write pic
writeShapeGroup ( PhpOffice\Common\XMLWriter $objWriter, Group $group, integer &$shapeId ) Write group
writeShapeLine ( PhpOffice\Common\XMLWriter $objWriter, Line $shape, integer $shapeId ) Write Line Shape
writeShapeTable ( PhpOffice\Common\XMLWriter $objWriter, Table $shape, integer $shapeId ) Write table
writeShapeText ( PhpOffice\Common\XMLWriter $objWriter, RichText $shape, integer $shapeId ) Write txt
writeSlideAnimations ( PhpOffice\Common\XMLWriter $objWriter, Slide $oSlide )
writeSlideRelationships ( Slide $pSlide ) : string Write slide relationships to XML format
writeSlideTransition ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Slide\Transition $transition ) Write Transition Slide

Method Details

render() public method

..) and slide relationships (drawings, ...)
public render ( ) : PhpOffice\Common\Adapter\Zip\ZipInterface
return PhpOffice\Common\Adapter\Zip\ZipInterface

writeNote() protected method

Write Note Slide
protected writeNote ( PhpOffice\PhpPresentation\Slide\Note $pNote ) : string
$pNote PhpOffice\PhpPresentation\Slide\Note
return string

writeParagraphs() protected method

Write paragraphs
protected writeParagraphs ( PhpOffice\Common\XMLWriter $objWriter, Paragraph[] $paragraphs, boolean $bIsPlaceholder = false )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$paragraphs PhpOffice\PhpPresentation\Shape\RichText\Paragraph[]
$bIsPlaceholder boolean

writeShapeChart() protected method

Write chart
protected writeShapeChart ( PhpOffice\Common\XMLWriter $objWriter, Chart $shape, integer $shapeId )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$shape PhpOffice\PhpPresentation\Shape\Chart
$shapeId integer

writeShapeDrawing() protected method

Write pic
protected writeShapeDrawing ( PhpOffice\Common\XMLWriter $objWriter, AbstractDrawingAdapter $shape, integer $shapeId )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$shape PhpOffice\PhpPresentation\Shape\Drawing\AbstractDrawingAdapter
$shapeId integer

writeShapeGroup() protected method

Write group
protected writeShapeGroup ( PhpOffice\Common\XMLWriter $objWriter, Group $group, integer &$shapeId )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$group PhpOffice\PhpPresentation\Shape\Group
$shapeId integer

writeShapeLine() protected method

Write Line Shape
protected writeShapeLine ( PhpOffice\Common\XMLWriter $objWriter, Line $shape, integer $shapeId )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$shape PhpOffice\PhpPresentation\Shape\Line
$shapeId integer

writeShapeTable() protected method

Write table
protected writeShapeTable ( PhpOffice\Common\XMLWriter $objWriter, Table $shape, integer $shapeId )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$shape PhpOffice\PhpPresentation\Shape\Table
$shapeId integer

writeShapeText() protected method

Write txt
protected writeShapeText ( PhpOffice\Common\XMLWriter $objWriter, RichText $shape, integer $shapeId )
$objWriter PhpOffice\Common\XMLWriter XML Writer
$shape PhpOffice\PhpPresentation\Shape\RichText
$shapeId integer

writeSlide() public method

Write slide to XML format
public writeSlide ( Slide $pSlide ) : string
$pSlide PhpOffice\PhpPresentation\Slide
return string XML Output

writeSlideAnimations() protected method

protected writeSlideAnimations ( PhpOffice\Common\XMLWriter $objWriter, Slide $oSlide )
$objWriter PhpOffice\Common\XMLWriter
$oSlide PhpOffice\PhpPresentation\Slide

writeSlideRelationships() protected method

Write slide relationships to XML format
protected writeSlideRelationships ( Slide $pSlide ) : string
$pSlide PhpOffice\PhpPresentation\Slide
return string XML Output

writeSlideTransition() protected method

Write Transition Slide
protected writeSlideTransition ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Slide\Transition $transition )
$objWriter PhpOffice\Common\XMLWriter
$transition PhpOffice\PhpPresentation\Slide\Transition