PHP Class PhpOffice\PhpPresentation\Writer\PowerPoint2007

Inheritance: extends AbstractWriter, implements PhpOffice\PhpPresentation\Writer\WriterInterface
Afficher le fichier Open project: phpoffice/phppowerpoint Class Usage Examples

Protected Properties

Свойство 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?

Méthodes publiques

Méthode 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 méthode

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

getDiskCachingDirectory() public méthode

Get disk caching directory
public getDiskCachingDirectory ( ) : string
Résultat string

getLayoutPack() public méthode

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

hasDiskCaching() public méthode

Get use disk caching where possible?
public hasDiskCaching ( ) : boolean
Résultat boolean

save() public méthode

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

setLayoutPack() public méthode

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

setUseDiskCaching() public méthode

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

Property Details

$diskCachingDir protected_oe property

Disk caching directory
protected string $diskCachingDir
Résultat string

$layoutPack protected_oe property

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

$useDiskCaching protected_oe property

Use disk caching where possible?
protected bool $useDiskCaching
Résultat boolean