PowerPoint2007
in package
implements
ReaderInterface
Serialized format reader.
Table of Contents
Interfaces
- ReaderInterface
- Reader interface.
Properties
- $arrayRels : array<string, array<string, array<string, string>>>
- $arraySlideLayouts : array<string|int, SlideLayout>
- $filename : string
- $fileRels : string
- $oPhpPresentation : PhpPresentation
- Output Object.
- $oZip : ZipArchive
- Output Object.
Methods
- canRead() : bool
- Can the current \PhpOffice\PhpPresentation\Reader\ReaderInterface read the file?
- fileSupportsUnserializePhpPresentation() : bool
- Does a file support UnserializePhpPresentation ?
- load() : PhpPresentation
- Loads PhpPresentation Serialized file.
- loadCustomProperties() : void
- Read Custom Properties.
- loadDocumentLayout() : void
- Read Document Layout.
- loadDocumentProperties() : void
- Read Document Properties.
- loadFile() : PhpPresentation
- Load PhpPresentation Serialized file.
- loadHyperlink() : Hyperlink
- loadLayoutSlide() : SlideLayout|null
- loadMasterSlide() : void
- loadMasterSlides() : void
- Extract all MasterSlides.
- loadParagraph() : void
- loadPresentationProperties() : void
- Read Presentation Properties.
- loadRels() : void
- loadShadow() : Shadow|null
- Load Shadow for shape or paragraph.
- loadShapeDrawing() : void
- loadShapeRichText() : void
- loadShapeTable() : void
- loadSlide() : void
- Extract data from slide.
- loadSlideBackground() : void
- loadSlideNote() : void
- loadSlides() : void
- Extract all slides.
- loadStyleBorder() : void
- loadStyleColor() : Color
- loadStyleFill() : Fill|null
- loadTheme() : void
- loadThumbnailProperties() : void
- Read information of the document thumbnail.
- loadViewProperties() : void
- Read View Properties.
Properties
$arrayRels
protected
array<string, array<string, array<string, string>>>
$arrayRels
= []
$arraySlideLayouts
protected
array<string|int, SlideLayout>
$arraySlideLayouts
= []
$filename
protected
string
$filename
$fileRels
protected
string
$fileRels
$oPhpPresentation
Output Object.
protected
PhpPresentation
$oPhpPresentation
$oZip
Output Object.
protected
ZipArchive
$oZip
Methods
canRead()
Can the current \PhpOffice\PhpPresentation\Reader\ReaderInterface read the file?
public
canRead(string $pFilename) : bool
Parameters
- $pFilename : string
Return values
boolfileSupportsUnserializePhpPresentation()
Does a file support UnserializePhpPresentation ?
public
fileSupportsUnserializePhpPresentation([string $pFilename = '' ]) : bool
Parameters
- $pFilename : string = ''
Return values
boolload()
Loads PhpPresentation Serialized file.
public
load(string $pFilename) : PhpPresentation
Parameters
- $pFilename : string
Return values
PhpPresentationloadCustomProperties()
Read Custom Properties.
protected
loadCustomProperties(string $sPart) : void
Parameters
- $sPart : string
loadDocumentLayout()
Read Document Layout.
protected
loadDocumentLayout(string $sPart) : void
Parameters
- $sPart : string
loadDocumentProperties()
Read Document Properties.
protected
loadDocumentProperties(string $sPart) : void
Parameters
- $sPart : string
loadFile()
Load PhpPresentation Serialized file.
protected
loadFile(string $pFilename) : PhpPresentation
Parameters
- $pFilename : string
Return values
PhpPresentationloadHyperlink()
protected
loadHyperlink(XMLReader $xmlReader, DOMElement $element, Hyperlink $hyperlink) : Hyperlink
Parameters
- $xmlReader : XMLReader
- $element : DOMElement
- $hyperlink : Hyperlink
Return values
HyperlinkloadLayoutSlide()
protected
loadLayoutSlide(string $sPart, string $baseFile, SlideMaster $oSlideMaster) : SlideLayout|null
Parameters
- $sPart : string
- $baseFile : string
- $oSlideMaster : SlideMaster
Return values
SlideLayout|nullloadMasterSlide()
protected
loadMasterSlide(string $sPart, string $baseFile) : void
Parameters
- $sPart : string
- $baseFile : string
loadMasterSlides()
Extract all MasterSlides.
protected
loadMasterSlides(XMLReader $xmlReader, string $fileRels) : void
Parameters
- $xmlReader : XMLReader
- $fileRels : string
loadParagraph()
protected
loadParagraph(XMLReader $document, DOMElement $oElement, Cell|RichText $oShape) : void
Parameters
loadPresentationProperties()
Read Presentation Properties.
protected
loadPresentationProperties(string $sPart) : void
Parameters
- $sPart : string
loadRels()
protected
loadRels(string $fileRels) : void
Parameters
- $fileRels : string
loadShadow()
Load Shadow for shape or paragraph.
protected
loadShadow(XMLReader $document, DOMElement $node) : Shadow|null
Parameters
- $document : XMLReader
- $node : DOMElement
Return values
Shadow|nullloadShapeDrawing()
protected
loadShapeDrawing(XMLReader $document, DOMElement $node, AbstractSlide $oSlide) : void
Parameters
- $document : XMLReader
- $node : DOMElement
- $oSlide : AbstractSlide
loadShapeRichText()
protected
loadShapeRichText(XMLReader $document, DOMElement $node, AbstractSlide|Note $oSlide) : void
Parameters
- $document : XMLReader
- $node : DOMElement
- $oSlide : AbstractSlide|Note
loadShapeTable()
protected
loadShapeTable(XMLReader $document, DOMElement $node, AbstractSlide $oSlide) : void
Parameters
- $document : XMLReader
- $node : DOMElement
- $oSlide : AbstractSlide
loadSlide()
Extract data from slide.
protected
loadSlide(string $sPart, string $baseFile) : void
Parameters
- $sPart : string
- $baseFile : string
loadSlideBackground()
protected
loadSlideBackground(XMLReader $xmlReader, DOMElement $oElement, AbstractSlide $oSlide) : void
Parameters
- $xmlReader : XMLReader
- $oElement : DOMElement
- $oSlide : AbstractSlide
loadSlideNote()
protected
loadSlideNote(string $baseFile, Slide $oSlide) : void
Parameters
- $baseFile : string
- $oSlide : Slide
loadSlides()
Extract all slides.
protected
loadSlides(string $sPart) : void
Parameters
- $sPart : string
loadStyleBorder()
protected
loadStyleBorder(XMLReader $xmlReader, DOMElement $oElement, Border $oBorder) : void
Parameters
- $xmlReader : XMLReader
- $oElement : DOMElement
- $oBorder : Border
loadStyleColor()
protected
loadStyleColor(XMLReader $xmlReader, DOMElement $oElement) : Color
Parameters
- $xmlReader : XMLReader
- $oElement : DOMElement
Return values
ColorloadStyleFill()
protected
loadStyleFill(XMLReader $xmlReader, DOMElement $oElement) : Fill|null
Parameters
- $xmlReader : XMLReader
- $oElement : DOMElement
Return values
Fill|nullloadTheme()
protected
loadTheme(string $sPart, SlideMaster $oSlideMaster) : void
Parameters
- $sPart : string
- $oSlideMaster : SlideMaster
loadThumbnailProperties()
Read information of the document thumbnail.
protected
loadThumbnailProperties(string $sPart) : void
Parameters
- $sPart : string
loadViewProperties()
Read View Properties.
protected
loadViewProperties(string $sPart) : void
Parameters
- $sPart : string