PowerPoint2007
extends AbstractWriter
in package
implements
WriterInterface
\PhpOffice\PhpPresentation\Writer\PowerPoint2007.
Table of Contents
Interfaces
- WriterInterface
- Writer interface.
Properties
- $diskCachingDir : string
- Disk caching directory.
- $oDrawingHashTable : HashTable
- Private unique hash table.
- $oPresentation : null|PhpPresentation
- Private PhpPresentation.
- $oZipAdapter : null|ZipInterface
- $useDiskCaching : bool
- Use disk caching where possible?
Methods
- __construct() : mixed
- Create a new PowerPoint2007 file.
- getDiskCachingDirectory() : string
- Get disk caching directory.
- getDrawingHashTable() : HashTable
- Get drawing hash table.
- getPhpPresentation() : PhpPresentation|null
- Get PhpPresentation object.
- getZipAdapter() : ZipInterface|null
- hasDiskCaching() : bool
- Get use disk caching where possible?
- save() : void
- Save PhpPresentation to file.
- setPhpPresentation() : self
- Get PhpPresentation object.
- setUseDiskCaching() : PowerPoint2007
- Set use disk caching where possible?
- setZipAdapter() : self
- allDrawings() : array<int, AbstractShape>
- Get an array of all drawings.
- iterateCollection() : array<int, AbstractShape>
Properties
$diskCachingDir
Disk caching directory.
protected
string
$diskCachingDir
$oDrawingHashTable
Private unique hash table.
protected
HashTable
$oDrawingHashTable
$oPresentation
Private PhpPresentation.
protected
null|PhpPresentation
$oPresentation
$oZipAdapter
protected
null|ZipInterface
$oZipAdapter
$useDiskCaching
Use disk caching where possible?
protected
bool
$useDiskCaching
= false
Methods
__construct()
Create a new PowerPoint2007 file.
public
__construct([PhpPresentation|null $pPhpPresentation = null ]) : mixed
Parameters
- $pPhpPresentation : PhpPresentation|null = null
getDiskCachingDirectory()
Get disk caching directory.
public
getDiskCachingDirectory() : string
Return values
stringgetDrawingHashTable()
Get drawing hash table.
public
getDrawingHashTable() : HashTable
Return values
HashTablegetPhpPresentation()
Get PhpPresentation object.
public
getPhpPresentation() : PhpPresentation|null
Return values
PhpPresentation|nullgetZipAdapter()
public
getZipAdapter() : ZipInterface|null
Return values
ZipInterface|nullhasDiskCaching()
Get use disk caching where possible?
public
hasDiskCaching() : bool
Return values
boolsave()
Save PhpPresentation to file.
public
save(string $pFilename) : void
Parameters
- $pFilename : string
setPhpPresentation()
Get PhpPresentation object.
public
setPhpPresentation([null|PhpPresentation $pPhpPresentation = null ]) : self
Parameters
- $pPhpPresentation : null|PhpPresentation = null
-
PhpPresentation object
Return values
selfsetUseDiskCaching()
Set use disk caching where possible?
public
setUseDiskCaching([bool $useDiskCaching = false ][, string $directory = null ]) : PowerPoint2007
Parameters
- $useDiskCaching : bool = false
- $directory : string = null
-
Disk caching directory
Return values
PowerPoint2007setZipAdapter()
public
setZipAdapter(ZipInterface $oZipAdapter) : self
Parameters
- $oZipAdapter : ZipInterface
Return values
selfallDrawings()
Get an array of all drawings.
protected
allDrawings() : array<int, AbstractShape>
Return values
array<int, AbstractShape>iterateCollection()
private
iterateCollection(array<int, AbstractShape> $collection) : array<int, AbstractShape>
Parameters
- $collection : array<int, AbstractShape>