PHP Класс PhpOffice\PhpPresentation\Reader\ODPresentation

Наследование: implements PhpOffice\PhpPresentation\Reader\ReaderInterface
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$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