PHP Class PhpOffice\PhpPresentation\Writer\PowerPoint2007

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

Protected Properties

Property Type Description
$diskCachingDir string Disk caching directory
$layoutPack PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack Layout pack to use
$useDiskCaching boolean Use disk caching where possible?

Public Methods

Method Description
__construct ( PhpPresentation $pPhpPresentation = null ) Create a new PowerPoint2007 file
getDiskCachingDirectory ( ) : string Get disk caching directory
getLayoutPack ( ) : AbstractLayoutPack Get layout pack to use
hasDiskCaching ( ) : boolean Get use disk caching where possible?
save ( string $pFilename ) Save PhpPresentation to file
setLayoutPack ( AbstractLayoutPack $pValue = null ) : PowerPoint2007 Set layout pack to use
setUseDiskCaching ( boolean $pValue = false, string $pDirectory = null ) : PowerPoint2007 Set use disk caching where possible?

Method Details

__construct() public method

Create a new PowerPoint2007 file
public __construct ( PhpPresentation $pPhpPresentation = null )
$pPhpPresentation PhpOffice\PhpPresentation\PhpPresentation

getDiskCachingDirectory() public method

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

getLayoutPack() public method

Get layout pack to use
Deprecation: 0.7
public getLayoutPack ( ) : AbstractLayoutPack
return PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack

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

setLayoutPack() public method

Set layout pack to use
Deprecation: 0.7
public setLayoutPack ( AbstractLayoutPack $pValue = null ) : PowerPoint2007
$pValue PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack
return PowerPoint2007

setUseDiskCaching() public method

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

Property Details

$diskCachingDir protected property

Disk caching directory
protected string $diskCachingDir
return string

$layoutPack protected property

Layout pack to use
Deprecation: 0.7
protected AbstractLayoutPack,PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack $layoutPack
return PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack

$useDiskCaching protected property

Use disk caching where possible?
protected bool $useDiskCaching
return boolean