PHP Класс PhpOffice\PhpPresentation\Writer\ODPresentation\Content

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

Защищенные свойства (Protected)

Свойство Тип Описание
$arrStyleBullet [] Stores bullet styles for text shapes that include lists.
$arrStyleParagraph array Stores paragraph information for text shapes.
$arrStyleTextFont PhpOffice\PhpPresentation\Shape\RichText\Run[] Stores font styles for text shapes that include lists.
$shapeId integer Used to track the current shape ID.

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

Метод Описание
render ( ) : PhpOffice\Common\Adapter\Zip\ZipInterface
writeContent ( ) : string Write content file to XML format
writeDrawingStyle ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\AbstractDrawing $shape ) Write the default style information for an AbstractDrawing
writeGroupStyle ( PhpOffice\Common\XMLWriter $objWriter, Group $group ) Writes the style information for a group of shapes
writeLineStyle ( PhpOffice\Common\XMLWriter $objWriter, Line $shape ) Write the default style information for a Line shape.
writeShapeChart ( PhpOffice\Common\XMLWriter $objWriter, Chart $shape ) Write table Chart
writeShapeComment ( PhpOffice\Common\XMLWriter $objWriter, Comment $oShape ) Write Comment
writeShapeDrawing ( PhpOffice\Common\XMLWriter $objWriter, AbstractDrawingAdapter $shape ) Write picture
writeShapeGroup ( PhpOffice\Common\XMLWriter $objWriter, Group $group ) Writes a group of shapes
writeShapeLine ( PhpOffice\Common\XMLWriter $objWriter, Line $shape )
writeShapeMedia ( PhpOffice\Common\XMLWriter $objWriter, Media $shape ) Write picture
writeShapeTable ( PhpOffice\Common\XMLWriter $objWriter, Table $shape ) Write table Shape
writeShapeTxt ( PhpOffice\Common\XMLWriter $objWriter, RichText $shape ) Write text
writeSlideNote ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Slide\Note $note ) Write the slide note
writeStyleSlide ( PhpOffice\Common\XMLWriter $objWriter, Slide $slide, integer $incPage ) Write style of a slide
writeTableStyle ( PhpOffice\Common\XMLWriter $objWriter, Table $shape ) Write the default style information for a Table shape
writeTxtStyle ( PhpOffice\Common\XMLWriter $objWriter, RichText $shape ) Write the default style information for a RichText shape

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

Метод Описание
writeStylePartShadow ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Shadow $oShadow )

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

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

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

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

Write content file to XML format
public writeContent ( ) : string
Результат string XML Output

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

Write the default style information for an AbstractDrawing
public writeDrawingStyle ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Shape\AbstractDrawing $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\AbstractDrawing

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

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

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

Write the default style information for a Line shape.
public writeLineStyle ( PhpOffice\Common\XMLWriter $objWriter, Line $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Line

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

Write table Chart
public writeShapeChart ( PhpOffice\Common\XMLWriter $objWriter, Chart $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Chart

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

Write Comment
public writeShapeComment ( PhpOffice\Common\XMLWriter $objWriter, Comment $oShape )
$objWriter PhpOffice\Common\XMLWriter
$oShape PhpOffice\PhpPresentation\Shape\Comment

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

Write picture
public writeShapeDrawing ( PhpOffice\Common\XMLWriter $objWriter, AbstractDrawingAdapter $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Drawing\AbstractDrawingAdapter

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

Writes a group of shapes
public writeShapeGroup ( PhpOffice\Common\XMLWriter $objWriter, Group $group )
$objWriter PhpOffice\Common\XMLWriter
$group PhpOffice\PhpPresentation\Shape\Group

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

public writeShapeLine ( PhpOffice\Common\XMLWriter $objWriter, Line $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Line

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

Write picture
public writeShapeMedia ( PhpOffice\Common\XMLWriter $objWriter, Media $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Media

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

Write table Shape
public writeShapeTable ( PhpOffice\Common\XMLWriter $objWriter, Table $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\Table

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

Write text
public writeShapeTxt ( PhpOffice\Common\XMLWriter $objWriter, RichText $shape )
$objWriter PhpOffice\Common\XMLWriter
$shape PhpOffice\PhpPresentation\Shape\RichText

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

Write the slide note
public writeSlideNote ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Slide\Note $note )
$objWriter PhpOffice\Common\XMLWriter
$note PhpOffice\PhpPresentation\Slide\Note

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

protected writeStylePartShadow ( PhpOffice\Common\XMLWriter $objWriter, PhpOffice\PhpPresentation\Style\Shadow $oShadow )
$objWriter PhpOffice\Common\XMLWriter
$oShadow PhpOffice\PhpPresentation\Style\Shadow

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

Write style of a slide
public writeStyleSlide ( PhpOffice\Common\XMLWriter $objWriter, Slide $slide, integer $incPage )
$objWriter PhpOffice\Common\XMLWriter
$slide PhpOffice\PhpPresentation\Slide
$incPage integer

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

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

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

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

Описание свойств

$arrStyleBullet защищенное свойство

Stores bullet styles for text shapes that include lists.
protected [] $arrStyleBullet
Результат []

$arrStyleParagraph защищенное свойство

Stores paragraph information for text shapes.
protected array $arrStyleParagraph
Результат array

$arrStyleTextFont защищенное свойство

Stores font styles for text shapes that include lists.
protected Run[],PhpOffice\PhpPresentation\Shape\RichText $arrStyleTextFont
Результат PhpOffice\PhpPresentation\Shape\RichText\Run[]

$shapeId защищенное свойство

Used to track the current shape ID.
protected int $shapeId
Результат integer