PHP Class PhpOffice\PhpPresentation\Reader\ODPresentation

Inheritance: implements PhpOffice\PhpPresentation\Reader\ReaderInterface
Afficher le fichier Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Свойство Type Description
$arrayCommonStyles array[]
$arrayStyles array[]
$levelParagraph
$oPhpPresentation PhpOffice\PhpPresentation\PhpPresentation Output Object
$oXMLReader PhpOffice\Common\XMLReader
$oZip ZipArchive Output Object

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Method Details

canRead() public méthode

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

fileSupportsUnserializePhpPresentation() public méthode

Does a file support UnserializePhpPresentation ?
public fileSupportsUnserializePhpPresentation ( string $pFilename = '' ) : boolean
$pFilename string
Résultat boolean

load() public méthode

Loads PhpPresentation Serialized file
public load ( string $pFilename ) : PhpPresentation
$pFilename string
Résultat PhpOffice\PhpPresentation\PhpPresentation

loadDocumentProperties() protected méthode

Read Document Properties
protected loadDocumentProperties ( )

loadFile() protected méthode

Load PhpPresentation Serialized file
protected loadFile ( string $pFilename ) : PhpPresentation
$pFilename string
Résultat PhpOffice\PhpPresentation\PhpPresentation

loadShapeDrawing() protected méthode

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

loadShapeRichText() protected méthode

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

loadSlide() protected méthode

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

loadSlides() protected méthode

Extract all slides
protected loadSlides ( )

loadStyle() protected méthode

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

loadStylesFile() protected méthode

Load file 'styles.xml'
protected loadStylesFile ( )

readList() protected méthode

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

readListItem() protected méthode

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

readParagraph() protected méthode

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

readParagraphItem() protected méthode

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

Property Details

$arrayCommonStyles protected_oe property

protected array[] $arrayCommonStyles
Résultat array[]

$arrayStyles protected_oe property

protected array[] $arrayStyles
Résultat array[]

$levelParagraph protected_oe property

protected $levelParagraph

$oPhpPresentation protected_oe property

Output Object
protected PhpPresentation,PhpOffice\PhpPresentation $oPhpPresentation
Résultat PhpOffice\PhpPresentation\PhpPresentation

$oXMLReader protected_oe property

protected XMLReader,PhpOffice\Common $oXMLReader
Résultat PhpOffice\Common\XMLReader

$oZip protected_oe property

Output Object
protected ZipArchive $oZip
Résultat ZipArchive