PHP Class PhpOffice\PhpPresentation\Writer\PowerPoint2007\LayoutPack\AbstractLayoutPack

Show file Open project: phpoffice/phppowerpoint

Protected Properties

Property Type Description
$layoutRelations array Structure: - layoutId (referencing layout id in layouts array) - id (relation id) - type - contentType - target (full path in OpenXML package) - contents (body)
$layouts array These are all an array consisting of: - id (int) - masterid (int) - name (string) - body (string)
$masterSlideRels array Structure: - master id - id (relation id) - type - contentType - target (full path in OpenXML package) - contents (body)
$masterSlides array Structure: - masterid - body
$themeRelations array Structure: - masterid - id (relation id) - type - contentType - target (full path in OpenXML package) - contents (body)
$themes array Structure: - masterid - body

Public Methods

Method Description
findLayout ( string $name = '', integer $masterId = 1 ) : array Find specific slide layout.
findLayoutId ( string $name = '' ) : integer Find specific slide layout id.
findLayoutName ( integer $idLayout = '' ) : integer Find specific slide layout name.
getLayoutRelations ( ) : array Get array of slide layout relations
getLayouts ( ) : array Get array of slide layouts
getMasterSlideRelations ( ) : array Get master slide relations
getMasterSlides ( ) : array Get master slides
getThemeRelations ( ) : array Get theme relations
getThemes ( ) : array Get themes

Method Details

findLayout() public method

This is an array consisting of: - masterid - name (string) - body (string)
public findLayout ( string $name = '', integer $masterId = 1 ) : array
$name string
$masterId integer
return array

findLayoutId() public method

Find specific slide layout id.
public findLayoutId ( string $name = '' ) : integer
$name string
return integer

findLayoutName() public method

Find specific slide layout name.
public findLayoutName ( integer $idLayout = '' ) : integer
$idLayout integer
return integer

getLayoutRelations() public method

Get array of slide layout relations
public getLayoutRelations ( ) : array
return array

getLayouts() public method

Get array of slide layouts
public getLayouts ( ) : array
return array

getMasterSlideRelations() public method

Get master slide relations
public getMasterSlideRelations ( ) : array
return array

getMasterSlides() public method

Get master slides
public getMasterSlides ( ) : array
return array

getThemeRelations() public method

Get theme relations
public getThemeRelations ( ) : array
return array

getThemes() public method

Get themes
public getThemes ( ) : array
return array

Property Details

$layoutRelations protected property

Structure: - layoutId (referencing layout id in layouts array) - id (relation id) - type - contentType - target (full path in OpenXML package) - contents (body)
protected array $layoutRelations
return array

$layouts protected property

These are all an array consisting of: - id (int) - masterid (int) - name (string) - body (string)
protected array $layouts
return array

$masterSlideRels protected property

Structure: - master id - id (relation id) - type - contentType - target (full path in OpenXML package) - contents (body)
protected array $masterSlideRels
return array

$masterSlides protected property

Structure: - masterid - body
protected array $masterSlides
return array

$themeRelations protected property

Structure: - masterid - id (relation id) - type - contentType - target (full path in OpenXML package) - contents (body)
protected array $themeRelations
return array

$themes protected property

Structure: - masterid - body
protected array $themes
return array