PHP Класс PhpOffice\PhpPresentation\Slide\AbstractSlide

Наследование: implements PhpOffice\PhpPresentation\ComparableInterface, implements PhpOffice\PhpPresentation\ShapeContainerInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$background AbstractBackground Background of the slide
$extentX integer Extent X
$extentY integer Extent Y
$hashIndex string Hash index
$identifier string Slide identifier
$offsetX integer Offset X
$offsetY integer Offset Y
$parent PhpOffice\PhpPresentation\PhpPresentation Parent presentation
$relsIndex string
$shapeCollection ArrayObject | PhpOffice\PhpPresentation\AbstractShape[] Collection of shapes
$slideTransition PhpOffice\PhpPresentation\Slide\Transition

Открытые методы

Метод Описание
addShape ( AbstractShape $shape ) : AbstractShape Add shape to slide
createChartShape ( ) : Chart Create chart shape
createDrawingShape ( ) : File Create drawing shape
createGroup ( ) : Group Creates a group within this slide
createLineShape ( integer $fromX, integer $fromY, integer $toX, integer $toY ) : Line Create line shape
createRichTextShape ( ) : RichText Create rich text shape
createTableShape ( integer $columns = 1 ) : Table Create table shape
getBackground ( ) : AbstractBackground
getExtentX ( ) : integer Get X Extent
getExtentY ( ) : integer Get Y Extent
getHashCode ( ) : string Get hash code
getHashIndex ( ) : string Get hash index
getOffsetX ( ) : integer Get X Offset
getOffsetY ( ) : integer Get Y Offset
getParent ( ) : PhpPresentation Get parent
getRelsIndex ( ) : string
getShapeCollection ( ) : ArrayObject | AbstractShape[] Get collection of shapes
getTransition ( ) : PhpOffice\PhpPresentation\Slide\Transition
rebindParent ( PhpPresentation $parent ) : Slide Re-bind parent
setBackground ( AbstractBackground $background = null ) : Slide
setHashIndex ( string $value ) Set hash index
setRelsIndex ( string $indexName )
setShapeCollection ( $shapeCollection = [] ) : AbstractSlide Get collection of shapes
setTransition ( PhpOffice\PhpPresentation\Slide\Transition $transition = null ) : Slide

Описание методов

addShape() публичный Метод

Add shape to slide
public addShape ( AbstractShape $shape ) : AbstractShape
$shape PhpOffice\PhpPresentation\AbstractShape
Результат PhpOffice\PhpPresentation\AbstractShape

createChartShape() публичный Метод

Create chart shape
public createChartShape ( ) : Chart
Результат PhpOffice\PhpPresentation\Shape\Chart

createDrawingShape() публичный Метод

Create drawing shape
public createDrawingShape ( ) : File
Результат PhpOffice\PhpPresentation\Shape\Drawing\File

createGroup() публичный Метод

Creates a group within this slide
public createGroup ( ) : Group
Результат PhpOffice\PhpPresentation\Shape\Group

createLineShape() публичный Метод

Create line shape
public createLineShape ( integer $fromX, integer $fromY, integer $toX, integer $toY ) : Line
$fromX integer Starting point x offset
$fromY integer Starting point y offset
$toX integer Ending point x offset
$toY integer Ending point y offset
Результат PhpOffice\PhpPresentation\Shape\Line

createRichTextShape() публичный Метод

Create rich text shape
public createRichTextShape ( ) : RichText
Результат PhpOffice\PhpPresentation\Shape\RichText

createTableShape() публичный Метод

Create table shape
public createTableShape ( integer $columns = 1 ) : Table
$columns integer Number of columns
Результат PhpOffice\PhpPresentation\Shape\Table

getBackground() публичный Метод

public getBackground ( ) : AbstractBackground
Результат AbstractBackground

getExtentX() публичный Метод

Get X Extent
public getExtentX ( ) : integer
Результат integer

getExtentY() публичный Метод

Get Y Extent
public getExtentY ( ) : integer
Результат integer

getHashCode() публичный Метод

Get hash code
public getHashCode ( ) : string
Результат string Hash code

getHashIndex() публичный Метод

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
public getHashIndex ( ) : string
Результат string Hash index

getOffsetX() публичный Метод

Get X Offset
public getOffsetX ( ) : integer
Результат integer

getOffsetY() публичный Метод

Get Y Offset
public getOffsetY ( ) : integer
Результат integer

getParent() публичный Метод

Get parent
public getParent ( ) : PhpPresentation
Результат PhpOffice\PhpPresentation\PhpPresentation

getRelsIndex() публичный Метод

public getRelsIndex ( ) : string
Результат string

getShapeCollection() публичный Метод

Get collection of shapes
public getShapeCollection ( ) : ArrayObject | AbstractShape[]
Результат ArrayObject | PhpOffice\PhpPresentation\AbstractShape[]

getTransition() публичный Метод

public getTransition ( ) : PhpOffice\PhpPresentation\Slide\Transition
Результат PhpOffice\PhpPresentation\Slide\Transition

rebindParent() публичный Метод

Re-bind parent
public rebindParent ( PhpPresentation $parent ) : Slide
$parent PhpOffice\PhpPresentation\PhpPresentation
Результат PhpOffice\PhpPresentation\Slide

setBackground() публичный Метод

public setBackground ( AbstractBackground $background = null ) : Slide
$background AbstractBackground
Результат PhpOffice\PhpPresentation\Slide

setHashIndex() публичный Метод

Note that this index may vary during script execution! Only reliable moment is while doing a write of a workbook and when changes are not allowed.
public setHashIndex ( string $value )
$value string Hash index

setRelsIndex() публичный Метод

public setRelsIndex ( string $indexName )
$indexName string

setShapeCollection() публичный Метод

Get collection of shapes
public setShapeCollection ( $shapeCollection = [] ) : AbstractSlide
Результат AbstractSlide

setTransition() публичный Метод

public setTransition ( PhpOffice\PhpPresentation\Slide\Transition $transition = null ) : Slide
$transition PhpOffice\PhpPresentation\Slide\Transition
Результат PhpOffice\PhpPresentation\Slide

Описание свойств

$background защищенное свойство

Background of the slide
protected AbstractBackground $background
Результат AbstractBackground

$extentX защищенное свойство

Extent X
protected int $extentX
Результат integer

$extentY защищенное свойство

Extent Y
protected int $extentY
Результат integer

$hashIndex защищенное свойство

Hash index
protected string $hashIndex
Результат string

$identifier защищенное свойство

Slide identifier
protected string $identifier
Результат string

$offsetX защищенное свойство

Offset X
protected int $offsetX
Результат integer

$offsetY защищенное свойство

Offset Y
protected int $offsetY
Результат integer

$parent защищенное свойство

Parent presentation
protected PhpPresentation,PhpOffice\PhpPresentation $parent
Результат PhpOffice\PhpPresentation\PhpPresentation

$relsIndex защищенное свойство

protected string $relsIndex
Результат string

$shapeCollection защищенное свойство

Collection of shapes
protected ArrayObject|AbstractShape[],PhpOffice\PhpPresentation $shapeCollection
Результат ArrayObject | PhpOffice\PhpPresentation\AbstractShape[]

$slideTransition защищенное свойство

protected Transition,PhpOffice\PhpPresentation\Slide $slideTransition
Результат PhpOffice\PhpPresentation\Slide\Transition