PHP 클래스 PhpOffice\PhpPresentation\Writer\ODPresentation\Content

상속: extends AbstractDecoratorWriter
파일 보기 프로젝트 열기: phpoffice/phppowerpoint

보호된 프로퍼티들

프로퍼티 타입 설명
$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