Documentation

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

$useDiskCaching

Use disk caching where possible?

protected bool $useDiskCaching = false

Methods

getDiskCachingDirectory()

Get disk caching directory.

public getDiskCachingDirectory() : string
Return values
string

getZipAdapter()

public getZipAdapter() : ZipInterface|null
Return values
ZipInterface|null

hasDiskCaching()

Get use disk caching where possible?

public hasDiskCaching() : bool
Return values
bool

save()

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
self

setUseDiskCaching()

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
PowerPoint2007

setZipAdapter()

public setZipAdapter(ZipInterface $oZipAdapter) : self
Parameters
$oZipAdapter : ZipInterface
Return values
self

        
On this page

Search results