PHP 클래스 PhpOffice\PhpPresentation\Reader\ODPresentation

상속: implements PhpOffice\PhpPresentation\Reader\ReaderInterface
파일 보기 프로젝트 열기: phpoffice/phppowerpoint 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$arrayCommonStyles array[]
$arrayStyles array[]
$levelParagraph
$oPhpPresentation PhpOffice\PhpPresentation\PhpPresentation Output Object
$oXMLReader PhpOffice\Common\XMLReader
$oZip ZipArchive Output Object

공개 메소드들

메소드 설명
canRead ( string $pFilename ) : boolean Can the current \PhpOffice\PhpPresentation\Reader\ReaderInterface read the file?
fileSupportsUnserializePhpPresentation ( string $pFilename = '' ) : boolean Does a file support UnserializePhpPresentation ?
load ( string $pFilename ) : PhpPresentation Loads PhpPresentation Serialized file

보호된 메소드들

메소드 설명
loadDocumentProperties ( ) Read Document Properties
loadFile ( string $pFilename ) : PhpPresentation Load PhpPresentation Serialized file
loadShapeDrawing ( DOMElement $oNodeFrame ) Read Shape Drawing
loadShapeRichText ( DOMElement $oNodeFrame ) Read Shape RichText
loadSlide ( DOMElement $nodeSlide ) Read Slide
loadSlides ( ) Extract all slides
loadStyle ( DOMElement $nodeStyle ) Extract style
loadStylesFile ( ) Load file 'styles.xml'
readList ( RichText $oShape, DOMElement $oNodeParent ) Read List
readListItem ( RichText $oShape, DOMElement $oNodeParent, DOMElement $oNodeParagraph ) Read List Item
readParagraph ( RichText $oShape, DOMElement $oNodeParent ) Read Paragraph
readParagraphItem ( Paragraph $oParagraph, DOMElement $oNodeParent ) Read Paragraph Item

메소드 상세

canRead() 공개 메소드

Can the current \PhpOffice\PhpPresentation\Reader\ReaderInterface read the file?
public canRead ( string $pFilename ) : boolean
$pFilename string
리턴 boolean

fileSupportsUnserializePhpPresentation() 공개 메소드

Does a file support UnserializePhpPresentation ?
public fileSupportsUnserializePhpPresentation ( string $pFilename = '' ) : boolean
$pFilename string
리턴 boolean

load() 공개 메소드

Loads PhpPresentation Serialized file
public load ( string $pFilename ) : PhpPresentation
$pFilename string
리턴 PhpOffice\PhpPresentation\PhpPresentation

loadDocumentProperties() 보호된 메소드

Read Document Properties
protected loadDocumentProperties ( )

loadFile() 보호된 메소드

Load PhpPresentation Serialized file
protected loadFile ( string $pFilename ) : PhpPresentation
$pFilename string
리턴 PhpOffice\PhpPresentation\PhpPresentation

loadShapeDrawing() 보호된 메소드

Read Shape Drawing
protected loadShapeDrawing ( DOMElement $oNodeFrame )
$oNodeFrame DOMElement

loadShapeRichText() 보호된 메소드

Read Shape RichText
protected loadShapeRichText ( DOMElement $oNodeFrame )
$oNodeFrame DOMElement

loadSlide() 보호된 메소드

Read Slide
protected loadSlide ( DOMElement $nodeSlide )
$nodeSlide DOMElement

loadSlides() 보호된 메소드

Extract all slides
protected loadSlides ( )

loadStyle() 보호된 메소드

Extract style
protected loadStyle ( DOMElement $nodeStyle )
$nodeStyle DOMElement

loadStylesFile() 보호된 메소드

Load file 'styles.xml'
protected loadStylesFile ( )

readList() 보호된 메소드

Read List
protected readList ( RichText $oShape, DOMElement $oNodeParent )
$oShape PhpOffice\PhpPresentation\Shape\RichText
$oNodeParent DOMElement

readListItem() 보호된 메소드

Read List Item
protected readListItem ( RichText $oShape, DOMElement $oNodeParent, DOMElement $oNodeParagraph )
$oShape PhpOffice\PhpPresentation\Shape\RichText
$oNodeParent DOMElement
$oNodeParagraph DOMElement

readParagraph() 보호된 메소드

Read Paragraph
protected readParagraph ( RichText $oShape, DOMElement $oNodeParent )
$oShape PhpOffice\PhpPresentation\Shape\RichText
$oNodeParent DOMElement

readParagraphItem() 보호된 메소드

Read Paragraph Item
protected readParagraphItem ( Paragraph $oParagraph, DOMElement $oNodeParent )
$oParagraph PhpOffice\PhpPresentation\Shape\RichText\Paragraph
$oNodeParent DOMElement

프로퍼티 상세

$arrayCommonStyles 보호되어 있는 프로퍼티

protected array[] $arrayCommonStyles
리턴 array[]

$arrayStyles 보호되어 있는 프로퍼티

protected array[] $arrayStyles
리턴 array[]

$levelParagraph 보호되어 있는 프로퍼티

protected $levelParagraph

$oPhpPresentation 보호되어 있는 프로퍼티

Output Object
protected PhpPresentation,PhpOffice\PhpPresentation $oPhpPresentation
리턴 PhpOffice\PhpPresentation\PhpPresentation

$oXMLReader 보호되어 있는 프로퍼티

protected XMLReader,PhpOffice\Common $oXMLReader
리턴 PhpOffice\Common\XMLReader

$oZip 보호되어 있는 프로퍼티

Output Object
protected ZipArchive $oZip
리턴 ZipArchive