PHP Class PhpOffice\PhpPresentation\Writer\ODPresentation

Inheritance: implements PhpOffice\PhpPresentation\Writer\WriterInterface
Show file Open project: phpoffice/phppowerpoint Class Usage Examples

Public Properties

Property Type Description
$chartArray PhpOffice\PhpPresentation\Shape\Chart[]

Public Methods

Method Description
__construct ( PhpPresentation $pPhpPresentation = null ) Create a new \PhpOffice\PhpPresentation\Writer\ODPresentation
getDiskCachingDirectory ( ) : string Get disk caching directory
hasDiskCaching ( ) : boolean Get use disk caching where possible?
save ( string $pFilename ) Save PhpPresentation to file
setUseDiskCaching ( boolean $pValue = false, string $pDirectory = null ) : ODPresentation Set use disk caching where possible?

Method Details

__construct() public method

Create a new \PhpOffice\PhpPresentation\Writer\ODPresentation
public __construct ( PhpPresentation $pPhpPresentation = null )
$pPhpPresentation PhpOffice\PhpPresentation\PhpPresentation

getDiskCachingDirectory() public method

Get disk caching directory
public getDiskCachingDirectory ( ) : string
return string

hasDiskCaching() public method

Get use disk caching where possible?
public hasDiskCaching ( ) : boolean
return boolean

save() public method

Save PhpPresentation to file
public save ( string $pFilename )
$pFilename string

setUseDiskCaching() public method

Set use disk caching where possible?
public setUseDiskCaching ( boolean $pValue = false, string $pDirectory = null ) : ODPresentation
$pValue boolean
$pDirectory string Disk caching directory
return ODPresentation

Property Details

$chartArray public property

public Chart[],PhpOffice\PhpPresentation\Shape $chartArray
return PhpOffice\PhpPresentation\Shape\Chart[]