Documentation

AutoShape extends AbstractShape
in package
implements ComparableInterface

AutoShape shape.

Tags
see

: https://github.com/scanny/python-pptx/blob/eaa1e0fd3db28b03a353e116a5c7d2084dd87c26/pptx/enum/shapes.py

Table of Contents

Interfaces

ComparableInterface
PhpOffice\PhpPresentation\ComparableInterface.

Constants

TYPE_10_POINT_STAR  = 'star10'
TYPE_12_POINT_STAR  = 'star12'
TYPE_16_POINT_STAR  = 'star16'
TYPE_24_POINT_STAR  = 'star24'
TYPE_32_POINT_STAR  = 'star32'
TYPE_4_POINT_STAR  = 'star4'
TYPE_5_POINT_STAR  = 'star5'
TYPE_6_POINT_STAR  = 'star6'
TYPE_7_POINT_STAR  = 'star7'
TYPE_8_POINT_STAR  = 'star8'
TYPE_ACTION_BUTTON_BACK_OR_PREVIOUS  = 'actionButtonBackPrevious'
TYPE_ACTION_BUTTON_BEGINNING  = 'actionButtonBeginning'
TYPE_ACTION_BUTTON_CUSTOM  = 'actionButtonBlank'
TYPE_ACTION_BUTTON_DOCUMENT  = 'actionButtonDocument'
TYPE_ACTION_BUTTON_END  = 'actionButtonEnd'
TYPE_ACTION_BUTTON_FORWARD_OR_NEXT  = 'actionButtonForwardNext'
TYPE_ACTION_BUTTON_HELP  = 'actionButtonHelp'
TYPE_ACTION_BUTTON_HOME  = 'actionButtonHome'
TYPE_ACTION_BUTTON_INFORMATION  = 'actionButtonInformation'
TYPE_ACTION_BUTTON_MOVIE  = 'actionButtonMovie'
TYPE_ACTION_BUTTON_RETURN  = 'actionButtonReturn'
TYPE_ACTION_BUTTON_SOUND  = 'actionButtonSound'
TYPE_ARC  = 'arc'
TYPE_BALLOON  = 'wedgeRoundRectCallout'
TYPE_BENT_ARROW  = 'bentArrow'
TYPE_BENT_UP_ARROW  = 'bentUpArrow'
TYPE_BEVEL  = 'bevel'
TYPE_BLOCK_ARC  = 'blockArc'
TYPE_CAN  = 'can'
TYPE_CHART_PLUS  = 'chartPlus'
TYPE_CHART_STAR  = 'chartStar'
TYPE_CHARTX  = 'chartX'
TYPE_CHEVRON  = 'chevron'
TYPE_CHORD  = 'chord'
TYPE_CIRCULAR_ARROW  = 'circularArrow'
TYPE_CLOUD  = 'cloud'
TYPE_CLOUD_CALLOUT  = 'cloudCallout'
TYPE_CORNER  = 'corner'
TYPE_CORNER_TABS  = 'cornerTabs'
TYPE_CROSS  = 'plus'
TYPE_CUBE  = 'cube'
TYPE_CURVED_DOWN_ARROW  = 'curvedDownArrow'
TYPE_CURVED_DOWN_RIBBON  = 'ellipseRibbon'
TYPE_CURVED_LEFT_ARROW  = 'curvedLeftArrow'
TYPE_CURVED_RIGHT_ARROW  = 'curvedRightArrow'
TYPE_CURVED_UP_ARROW  = 'curvedUpArrow'
TYPE_CURVED_UP_RIBBON  = 'ellipseRibbon2'
TYPE_DECAGON  = 'decagon'
TYPE_DIAGONALSTRIPE  = 'diagStripe'
TYPE_DIAMOND  = 'diamond'
TYPE_DODECAGON  = 'dodecagon'
TYPE_DONUT  = 'donut'
TYPE_DOUBLE_BRACE  = 'bracePair'
TYPE_DOUBLE_BRACKET  = 'bracketPair'
TYPE_DOUBLE_WAVE  = 'doubleWave'
TYPE_DOWN_ARROW  = 'downArrow'
TYPE_DOWN_ARROWCALLOUT  = 'downArrowCallout'
TYPE_DOWN_RIBBON  = 'ribbon'
TYPE_EXPLOSIONEXPLOSION1  = 'irregularSeal1'
TYPE_EXPLOSIONEXPLOSION2  = 'irregularSeal2'
TYPE_FLOWCHART_ALTERNATEPROCESS  = 'flowChartAlternateProcess'
TYPE_FLOWCHART_CARD  = 'flowChartPunchedCard'
TYPE_FLOWCHART_COLLATE  = 'flowChartCollate'
TYPE_FLOWCHART_CONNECTOR  = 'flowChartConnector'
TYPE_FLOWCHART_DATA  = 'flowChartInputOutput'
TYPE_FLOWCHART_DECISION  = 'flowChartDecision'
TYPE_FLOWCHART_DELAY  = 'flowChartDelay'
TYPE_FLOWCHART_DIRECT_ACCESS_STORAGE  = 'flowChartMagneticDrum'
TYPE_FLOWCHART_DISPLAY  = 'flowChartDisplay'
TYPE_FLOWCHART_DOCUMENT  = 'flowChartDocument'
TYPE_FLOWCHART_EXTRACT  = 'flowChartExtract'
TYPE_FLOWCHART_INTERNAL_STORAGE  = 'flowChartInternalStorage'
TYPE_FLOWCHART_MAGNETIC_DISK  = 'flowChartMagneticDisk'
TYPE_FLOWCHART_MANUAL_INPUT  = 'flowChartManualInput'
TYPE_FLOWCHART_MANUAL_OPERATION  = 'flowChartManualOperation'
TYPE_FLOWCHART_MERGE  = 'flowChartMerge'
TYPE_FLOWCHART_MULTIDOCUMENT  = 'flowChartMultidocument'
TYPE_FLOWCHART_OFFLINE_STORAGE  = 'flowChartOfflineStorage'
TYPE_FLOWCHART_OFFPAGE_CONNECTOR  = 'flowChartOffpageConnector'
TYPE_FLOWCHART_OR  = 'flowChartOr'
TYPE_FLOWCHART_PREDEFINED_PROCESS  = 'flowChartPredefinedProcess'
TYPE_FLOWCHART_PREPARATION  = 'flowChartPreparation'
TYPE_FLOWCHART_PROCESS  = 'flowChartProcess'
TYPE_FLOWCHART_PUNCHEDTAPE  = 'flowChartPunchedTape'
TYPE_FLOWCHART_SEQUENTIAL_ACCESS_STORAGE  = 'flowChartMagneticTape'
TYPE_FLOWCHART_SORT  = 'flowChartSort'
TYPE_FLOWCHART_STORED_DATA  = 'flowChartOnlineStorage'
TYPE_FLOWCHART_SUMMING_JUNCTION  = 'flowChartSummingJunction'
TYPE_FLOWCHART_TERMINATOR  = 'flowChartTerminator'
TYPE_FOLDED_CORNER  = 'foldedCorner'
TYPE_FRAME  = 'frame'
TYPE_FUNNEL  = 'funnel'
TYPE_GEAR_6  = 'gear6'
TYPE_GEAR_9  = 'gear9'
TYPE_HALF_FRAME  = 'halfFrame'
TYPE_HEART  = 'heart'
TYPE_HEPTAGON  = 'heptagon'
TYPE_HEXAGON  = 'hexagon'
TYPE_HORIZONTAL_SCROLL  = 'horizontalScroll'
TYPE_ISOSCELES_TRIANGLE  = 'triangle'
TYPE_LEFT_ARROW  = 'leftArrow'
TYPE_LEFT_ARROW_CALLOUT  = 'leftArrowCallout'
TYPE_LEFT_BRACE  = 'leftBrace'
TYPE_LEFT_BRACKET  = 'leftBracket'
TYPE_LEFT_CIRCULAR_ARROW  = 'leftCircularArrow'
TYPE_LEFT_RIGHT_ARROW  = 'leftRightArrow'
TYPE_LEFT_RIGHT_ARROW_CALLOUT  = 'leftRightArrowCallout'
TYPE_LEFT_RIGHT_CIRCULAR_ARROW  = 'leftRightCircularArrow'
TYPE_LEFT_RIGHT_RIBBON  = 'leftRightRibbon'
TYPE_LEFT_RIGHT_UP_ARROW  = 'leftRightUpArrow'
TYPE_LEFT_UP_ARROW  = 'leftUpArrow'
TYPE_LIGHTNING_BOLT  = 'lightningBolt'
TYPE_LINE_CALLOUT_1  = 'borderCallout1'
TYPE_LINE_CALLOUT_1_ACCENT_BAR  = 'accentCallout1'
TYPE_LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR  = 'accentBorderCallout1'
TYPE_LINE_CALLOUT_1_NO_BORDER  = 'callout1'
TYPE_LINE_CALLOUT_2  = 'borderCallout2'
TYPE_LINE_CALLOUT_2_ACCENT_BAR  = 'accentCallout2'
TYPE_LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR  = 'accentBorderCallout2'
TYPE_LINE_CALLOUT_2_NO_BORDER  = 'callout2'
TYPE_LINE_CALLOUT_3  = 'borderCallout3'
TYPE_LINE_CALLOUT_3_ACCENT_BAR  = 'accentCallout3'
TYPE_LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR  = 'accentBorderCallout3'
TYPE_LINE_CALLOUT_3_NO_BORDER  = 'callout3'
TYPE_LINE_CALLOUT_4  = 'borderCallout4'
TYPE_LINE_CALLOUT_4_ACCENT_BAR  = 'accentCallout4'
TYPE_LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR  = 'accentBorderCallout4'
TYPE_LINE_CALLOUT_4_NO_BORDER  = 'callout4'
TYPE_LINE_INVERSE  = 'lineInv'
TYPE_MATH_DIVIDE  = 'mathDivide'
TYPE_MATH_EQUAL  = 'mathEqual'
TYPE_MATH_MINUS  = 'mathMinus'
TYPE_MATH_MULTIPLY  = 'mathMultiply'
TYPE_MATH_NOT_EQUAL  = 'mathNotEqual'
TYPE_MATH_PLUS  = 'mathPlus'
TYPE_MOON  = 'moon'
TYPE_NO_SYMBOL  = 'noSmoking'
TYPE_NON_ISOSCELES_TRAPEZOID  = 'nonIsoscelesTrapezoid'
TYPE_NOTCHED_RIGHT_ARROW  = 'notchedRightArrow'
TYPE_OCTAGON  = 'octagon'
TYPE_OVAL  = 'ellipse'
TYPE_OVAL_CALLOUT  = 'wedgeEllipseCallout'
TYPE_PARALLELOGRAM  = 'parallelogram'
TYPE_PENTAGON  = 'homePlate'
TYPE_PIE  = 'pie'
TYPE_PIE_WEDGE  = 'pieWedge'
TYPE_PLAQUE  = 'plaque'
TYPE_PLAQUE_TABS  = 'plaqueTabs'
TYPE_QUAD_ARROW  = 'quadArrow'
TYPE_QUAD_ARROW_CALLOUT  = 'quadArrowCallout'
TYPE_RECTANGLE  = 'rect'
TYPE_RECTANGULAR_CALLOUT  = 'wedgeRectCallout'
TYPE_REGULARP_ENTAGON  = 'pentagon'
TYPE_RIGHT_ARROW  = 'rightArrow'
TYPE_RIGHT_ARROW_CALLOUT  = 'rightArrowCallout'
TYPE_RIGHT_BRACE  = 'rightBrace'
TYPE_RIGHT_BRACKET  = 'rightBracket'
TYPE_RIGHT_TRIANGLE  = 'rtTriangle'
TYPE_ROUND_1_RECTANGLE  = 'round1Rect'
TYPE_ROUND_2_DIAG_RECTANGLE  = 'round2DiagRect'
TYPE_ROUND_2_SAME_RECTANGLE  = 'round2SameRect'
TYPE_ROUNDED_RECTANGLE  = 'roundRect'
TYPE_ROUNDED_RECTANGULAR_CALLOUT  = 'wedgeRoundRectCallout'
TYPE_SMILEY_FACE  = 'smileyFace'
TYPE_SNIP_1_RECTANGLE  = 'snip1Rect'
TYPE_SNIP_2_DIAG_RECTANGLE  = 'snip2DiagRect'
TYPE_SNIP_2_SAME_RECTANGLE  = 'snip2SameRect'
TYPE_SNIP_ROUND_RECTANGLE  = 'snipRoundRect'
TYPE_SQUARE_TABS  = 'squareTabs'
TYPE_STRIPED_RIGHT_ARROW  = 'stripedRightArrow'
TYPE_SUN  = 'sun'
TYPE_SWOOSH_ARROW  = 'swooshArrow'
TYPE_TEAR  = 'teardrop'
TYPE_TRAPEZOID  = 'trapezoid'
TYPE_U_TURN_ARROW  = 'uturnArrow'
TYPE_UP_ARROW  = 'upArrow'
TYPE_UP_ARROW_CALLOUT  = 'upArrowCallout'
TYPE_UP_DOWN_ARROW  = 'upDownArrow'
TYPE_UP_DOWN_ARROW_CALLOUT  = 'upDownArrowCallout'
TYPE_UP_RIBBON  = 'ribbon2'
TYPE_VERTICAL_SCROLL  = 'verticalScroll'
TYPE_WAVE  = 'wave'

Properties

$container  : null|ShapeContainerInterface
Container.
$height  : int
Height.
$hyperlink  : null|Hyperlink
$name  : string
Name.
$offsetX  : int
Offset X.
$offsetY  : int
Offset Y.
$outline  : Outline
$placeholder  : null|Placeholder
$rotation  : int
Rotation.
$shadow  : null|Shadow
Shadow.
$text  : string
$type  : string
$width  : int
Width.
$border  : Border
Border.
$fill  : null|Fill
$hashIndex  : int
Hash index.

Methods

__clone()  : mixed
Magic Method : clone.
__construct()  : mixed
Create a new self.
getBorder()  : Border
getContainer()  : ShapeContainerInterface|null
Get Container, Slide or Group.
getFill()  : Fill|null
getHashCode()  : string
Get hash code.
getHashIndex()  : null|int
Get hash index.
getHeight()  : int
Get Height.
getHyperlink()  : Hyperlink
Get Hyperlink.
getName()  : string
Get Name.
getOffsetX()  : int
Get OffsetX.
getOffsetY()  : int
Get OffsetY.
getOutline()  : Outline
getPlaceholder()  : Placeholder|null
getRotation()  : int
Get Rotation.
getShadow()  : Shadow|null
getText()  : string
getType()  : string
getWidth()  : int
Get Width.
hasHyperlink()  : bool
Has Hyperlink?
isPlaceholder()  : bool
setContainer()  : $this
Set Container, Slide or Group.
setFill()  : self
setHashIndex()  : $this
Set hash index.
setHeight()  : $this
Set Height.
setHyperlink()  : self
Set Hyperlink.
setName()  : static
Set Name.
setOffsetX()  : $this
Set OffsetX.
setOffsetY()  : $this
Set OffsetY.
setOutline()  : self
setPlaceHolder()  : self
setRotation()  : $this
Set Rotation.
setShadow()  : $this
setText()  : self
setType()  : self
setWidth()  : $this
Set Width.
setWidthAndHeight()  : self
Set width and height with proportional resize.

Constants

TYPE_10_POINT_STAR

public mixed TYPE_10_POINT_STAR = 'star10'

TYPE_12_POINT_STAR

public mixed TYPE_12_POINT_STAR = 'star12'

TYPE_16_POINT_STAR

public mixed TYPE_16_POINT_STAR = 'star16'

TYPE_24_POINT_STAR

public mixed TYPE_24_POINT_STAR = 'star24'

TYPE_32_POINT_STAR

public mixed TYPE_32_POINT_STAR = 'star32'

TYPE_4_POINT_STAR

public mixed TYPE_4_POINT_STAR = 'star4'

TYPE_5_POINT_STAR

public mixed TYPE_5_POINT_STAR = 'star5'

TYPE_6_POINT_STAR

public mixed TYPE_6_POINT_STAR = 'star6'

TYPE_7_POINT_STAR

public mixed TYPE_7_POINT_STAR = 'star7'

TYPE_8_POINT_STAR

public mixed TYPE_8_POINT_STAR = 'star8'

TYPE_ACTION_BUTTON_BACK_OR_PREVIOUS

public mixed TYPE_ACTION_BUTTON_BACK_OR_PREVIOUS = 'actionButtonBackPrevious'

TYPE_ACTION_BUTTON_BEGINNING

public mixed TYPE_ACTION_BUTTON_BEGINNING = 'actionButtonBeginning'

TYPE_ACTION_BUTTON_CUSTOM

public mixed TYPE_ACTION_BUTTON_CUSTOM = 'actionButtonBlank'

TYPE_ACTION_BUTTON_DOCUMENT

public mixed TYPE_ACTION_BUTTON_DOCUMENT = 'actionButtonDocument'

TYPE_ACTION_BUTTON_END

public mixed TYPE_ACTION_BUTTON_END = 'actionButtonEnd'

TYPE_ACTION_BUTTON_FORWARD_OR_NEXT

public mixed TYPE_ACTION_BUTTON_FORWARD_OR_NEXT = 'actionButtonForwardNext'

TYPE_ACTION_BUTTON_HELP

public mixed TYPE_ACTION_BUTTON_HELP = 'actionButtonHelp'

TYPE_ACTION_BUTTON_HOME

public mixed TYPE_ACTION_BUTTON_HOME = 'actionButtonHome'

TYPE_ACTION_BUTTON_INFORMATION

public mixed TYPE_ACTION_BUTTON_INFORMATION = 'actionButtonInformation'

TYPE_ACTION_BUTTON_MOVIE

public mixed TYPE_ACTION_BUTTON_MOVIE = 'actionButtonMovie'

TYPE_ACTION_BUTTON_RETURN

public mixed TYPE_ACTION_BUTTON_RETURN = 'actionButtonReturn'

TYPE_ACTION_BUTTON_SOUND

public mixed TYPE_ACTION_BUTTON_SOUND = 'actionButtonSound'

TYPE_BALLOON

public mixed TYPE_BALLOON = 'wedgeRoundRectCallout'

TYPE_BENT_ARROW

public mixed TYPE_BENT_ARROW = 'bentArrow'

TYPE_BENT_UP_ARROW

public mixed TYPE_BENT_UP_ARROW = 'bentUpArrow'

TYPE_BEVEL

public mixed TYPE_BEVEL = 'bevel'

TYPE_BLOCK_ARC

public mixed TYPE_BLOCK_ARC = 'blockArc'

TYPE_CHART_PLUS

public mixed TYPE_CHART_PLUS = 'chartPlus'

TYPE_CHART_STAR

public mixed TYPE_CHART_STAR = 'chartStar'

TYPE_CHARTX

public mixed TYPE_CHARTX = 'chartX'

TYPE_CHEVRON

public mixed TYPE_CHEVRON = 'chevron'

TYPE_CHORD

public mixed TYPE_CHORD = 'chord'

TYPE_CIRCULAR_ARROW

public mixed TYPE_CIRCULAR_ARROW = 'circularArrow'

TYPE_CLOUD

public mixed TYPE_CLOUD = 'cloud'

TYPE_CLOUD_CALLOUT

public mixed TYPE_CLOUD_CALLOUT = 'cloudCallout'

TYPE_CORNER

public mixed TYPE_CORNER = 'corner'

TYPE_CORNER_TABS

public mixed TYPE_CORNER_TABS = 'cornerTabs'

TYPE_CURVED_DOWN_ARROW

public mixed TYPE_CURVED_DOWN_ARROW = 'curvedDownArrow'

TYPE_CURVED_DOWN_RIBBON

public mixed TYPE_CURVED_DOWN_RIBBON = 'ellipseRibbon'

TYPE_CURVED_LEFT_ARROW

public mixed TYPE_CURVED_LEFT_ARROW = 'curvedLeftArrow'

TYPE_CURVED_RIGHT_ARROW

public mixed TYPE_CURVED_RIGHT_ARROW = 'curvedRightArrow'

TYPE_CURVED_UP_ARROW

public mixed TYPE_CURVED_UP_ARROW = 'curvedUpArrow'

TYPE_CURVED_UP_RIBBON

public mixed TYPE_CURVED_UP_RIBBON = 'ellipseRibbon2'

TYPE_DECAGON

public mixed TYPE_DECAGON = 'decagon'

TYPE_DIAGONALSTRIPE

public mixed TYPE_DIAGONALSTRIPE = 'diagStripe'

TYPE_DIAMOND

public mixed TYPE_DIAMOND = 'diamond'

TYPE_DODECAGON

public mixed TYPE_DODECAGON = 'dodecagon'

TYPE_DONUT

public mixed TYPE_DONUT = 'donut'

TYPE_DOUBLE_BRACE

public mixed TYPE_DOUBLE_BRACE = 'bracePair'

TYPE_DOUBLE_BRACKET

public mixed TYPE_DOUBLE_BRACKET = 'bracketPair'

TYPE_DOUBLE_WAVE

public mixed TYPE_DOUBLE_WAVE = 'doubleWave'

TYPE_DOWN_ARROW

public mixed TYPE_DOWN_ARROW = 'downArrow'

TYPE_DOWN_ARROWCALLOUT

public mixed TYPE_DOWN_ARROWCALLOUT = 'downArrowCallout'

TYPE_DOWN_RIBBON

public mixed TYPE_DOWN_RIBBON = 'ribbon'

TYPE_EXPLOSIONEXPLOSION1

public mixed TYPE_EXPLOSIONEXPLOSION1 = 'irregularSeal1'

TYPE_EXPLOSIONEXPLOSION2

public mixed TYPE_EXPLOSIONEXPLOSION2 = 'irregularSeal2'

TYPE_FLOWCHART_ALTERNATEPROCESS

public mixed TYPE_FLOWCHART_ALTERNATEPROCESS = 'flowChartAlternateProcess'

TYPE_FLOWCHART_CARD

public mixed TYPE_FLOWCHART_CARD = 'flowChartPunchedCard'

TYPE_FLOWCHART_COLLATE

public mixed TYPE_FLOWCHART_COLLATE = 'flowChartCollate'

TYPE_FLOWCHART_CONNECTOR

public mixed TYPE_FLOWCHART_CONNECTOR = 'flowChartConnector'

TYPE_FLOWCHART_DATA

public mixed TYPE_FLOWCHART_DATA = 'flowChartInputOutput'

TYPE_FLOWCHART_DECISION

public mixed TYPE_FLOWCHART_DECISION = 'flowChartDecision'

TYPE_FLOWCHART_DELAY

public mixed TYPE_FLOWCHART_DELAY = 'flowChartDelay'

TYPE_FLOWCHART_DIRECT_ACCESS_STORAGE

public mixed TYPE_FLOWCHART_DIRECT_ACCESS_STORAGE = 'flowChartMagneticDrum'

TYPE_FLOWCHART_DISPLAY

public mixed TYPE_FLOWCHART_DISPLAY = 'flowChartDisplay'

TYPE_FLOWCHART_DOCUMENT

public mixed TYPE_FLOWCHART_DOCUMENT = 'flowChartDocument'

TYPE_FLOWCHART_EXTRACT

public mixed TYPE_FLOWCHART_EXTRACT = 'flowChartExtract'

TYPE_FLOWCHART_INTERNAL_STORAGE

public mixed TYPE_FLOWCHART_INTERNAL_STORAGE = 'flowChartInternalStorage'

TYPE_FLOWCHART_MAGNETIC_DISK

public mixed TYPE_FLOWCHART_MAGNETIC_DISK = 'flowChartMagneticDisk'

TYPE_FLOWCHART_MANUAL_INPUT

public mixed TYPE_FLOWCHART_MANUAL_INPUT = 'flowChartManualInput'

TYPE_FLOWCHART_MANUAL_OPERATION

public mixed TYPE_FLOWCHART_MANUAL_OPERATION = 'flowChartManualOperation'

TYPE_FLOWCHART_MERGE

public mixed TYPE_FLOWCHART_MERGE = 'flowChartMerge'

TYPE_FLOWCHART_MULTIDOCUMENT

public mixed TYPE_FLOWCHART_MULTIDOCUMENT = 'flowChartMultidocument'

TYPE_FLOWCHART_OFFLINE_STORAGE

public mixed TYPE_FLOWCHART_OFFLINE_STORAGE = 'flowChartOfflineStorage'

TYPE_FLOWCHART_OFFPAGE_CONNECTOR

public mixed TYPE_FLOWCHART_OFFPAGE_CONNECTOR = 'flowChartOffpageConnector'

TYPE_FLOWCHART_OR

public mixed TYPE_FLOWCHART_OR = 'flowChartOr'

TYPE_FLOWCHART_PREDEFINED_PROCESS

public mixed TYPE_FLOWCHART_PREDEFINED_PROCESS = 'flowChartPredefinedProcess'

TYPE_FLOWCHART_PREPARATION

public mixed TYPE_FLOWCHART_PREPARATION = 'flowChartPreparation'

TYPE_FLOWCHART_PROCESS

public mixed TYPE_FLOWCHART_PROCESS = 'flowChartProcess'

TYPE_FLOWCHART_PUNCHEDTAPE

public mixed TYPE_FLOWCHART_PUNCHEDTAPE = 'flowChartPunchedTape'

TYPE_FLOWCHART_SEQUENTIAL_ACCESS_STORAGE

public mixed TYPE_FLOWCHART_SEQUENTIAL_ACCESS_STORAGE = 'flowChartMagneticTape'

TYPE_FLOWCHART_SORT

public mixed TYPE_FLOWCHART_SORT = 'flowChartSort'

TYPE_FLOWCHART_STORED_DATA

public mixed TYPE_FLOWCHART_STORED_DATA = 'flowChartOnlineStorage'

TYPE_FLOWCHART_SUMMING_JUNCTION

public mixed TYPE_FLOWCHART_SUMMING_JUNCTION = 'flowChartSummingJunction'

TYPE_FLOWCHART_TERMINATOR

public mixed TYPE_FLOWCHART_TERMINATOR = 'flowChartTerminator'

TYPE_FOLDED_CORNER

public mixed TYPE_FOLDED_CORNER = 'foldedCorner'

TYPE_FRAME

public mixed TYPE_FRAME = 'frame'

TYPE_FUNNEL

public mixed TYPE_FUNNEL = 'funnel'

TYPE_GEAR_6

public mixed TYPE_GEAR_6 = 'gear6'

TYPE_GEAR_9

public mixed TYPE_GEAR_9 = 'gear9'

TYPE_HALF_FRAME

public mixed TYPE_HALF_FRAME = 'halfFrame'

TYPE_HEART

public mixed TYPE_HEART = 'heart'

TYPE_HEPTAGON

public mixed TYPE_HEPTAGON = 'heptagon'

TYPE_HEXAGON

public mixed TYPE_HEXAGON = 'hexagon'

TYPE_HORIZONTAL_SCROLL

public mixed TYPE_HORIZONTAL_SCROLL = 'horizontalScroll'

TYPE_ISOSCELES_TRIANGLE

public mixed TYPE_ISOSCELES_TRIANGLE = 'triangle'

TYPE_LEFT_ARROW

public mixed TYPE_LEFT_ARROW = 'leftArrow'

TYPE_LEFT_ARROW_CALLOUT

public mixed TYPE_LEFT_ARROW_CALLOUT = 'leftArrowCallout'

TYPE_LEFT_BRACE

public mixed TYPE_LEFT_BRACE = 'leftBrace'

TYPE_LEFT_BRACKET

public mixed TYPE_LEFT_BRACKET = 'leftBracket'

TYPE_LEFT_CIRCULAR_ARROW

public mixed TYPE_LEFT_CIRCULAR_ARROW = 'leftCircularArrow'

TYPE_LEFT_RIGHT_ARROW

public mixed TYPE_LEFT_RIGHT_ARROW = 'leftRightArrow'

TYPE_LEFT_RIGHT_ARROW_CALLOUT

public mixed TYPE_LEFT_RIGHT_ARROW_CALLOUT = 'leftRightArrowCallout'

TYPE_LEFT_RIGHT_CIRCULAR_ARROW

public mixed TYPE_LEFT_RIGHT_CIRCULAR_ARROW = 'leftRightCircularArrow'

TYPE_LEFT_RIGHT_RIBBON

public mixed TYPE_LEFT_RIGHT_RIBBON = 'leftRightRibbon'

TYPE_LEFT_RIGHT_UP_ARROW

public mixed TYPE_LEFT_RIGHT_UP_ARROW = 'leftRightUpArrow'

TYPE_LEFT_UP_ARROW

public mixed TYPE_LEFT_UP_ARROW = 'leftUpArrow'

TYPE_LIGHTNING_BOLT

public mixed TYPE_LIGHTNING_BOLT = 'lightningBolt'

TYPE_LINE_CALLOUT_1

public mixed TYPE_LINE_CALLOUT_1 = 'borderCallout1'

TYPE_LINE_CALLOUT_1_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_1_ACCENT_BAR = 'accentCallout1'

TYPE_LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_1_BORDER_AND_ACCENT_BAR = 'accentBorderCallout1'

TYPE_LINE_CALLOUT_1_NO_BORDER

public mixed TYPE_LINE_CALLOUT_1_NO_BORDER = 'callout1'

TYPE_LINE_CALLOUT_2

public mixed TYPE_LINE_CALLOUT_2 = 'borderCallout2'

TYPE_LINE_CALLOUT_2_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_2_ACCENT_BAR = 'accentCallout2'

TYPE_LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_2_BORDER_AND_ACCENT_BAR = 'accentBorderCallout2'

TYPE_LINE_CALLOUT_2_NO_BORDER

public mixed TYPE_LINE_CALLOUT_2_NO_BORDER = 'callout2'

TYPE_LINE_CALLOUT_3

public mixed TYPE_LINE_CALLOUT_3 = 'borderCallout3'

TYPE_LINE_CALLOUT_3_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_3_ACCENT_BAR = 'accentCallout3'

TYPE_LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_3_BORDER_AND_ACCENT_BAR = 'accentBorderCallout3'

TYPE_LINE_CALLOUT_3_NO_BORDER

public mixed TYPE_LINE_CALLOUT_3_NO_BORDER = 'callout3'

TYPE_LINE_CALLOUT_4

public mixed TYPE_LINE_CALLOUT_4 = 'borderCallout4'

TYPE_LINE_CALLOUT_4_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_4_ACCENT_BAR = 'accentCallout4'

TYPE_LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR

public mixed TYPE_LINE_CALLOUT_4_BORDER_AND_ACCENT_BAR = 'accentBorderCallout4'

TYPE_LINE_CALLOUT_4_NO_BORDER

public mixed TYPE_LINE_CALLOUT_4_NO_BORDER = 'callout4'

TYPE_LINE_INVERSE

public mixed TYPE_LINE_INVERSE = 'lineInv'

TYPE_MATH_DIVIDE

public mixed TYPE_MATH_DIVIDE = 'mathDivide'

TYPE_MATH_EQUAL

public mixed TYPE_MATH_EQUAL = 'mathEqual'

TYPE_MATH_MINUS

public mixed TYPE_MATH_MINUS = 'mathMinus'

TYPE_MATH_MULTIPLY

public mixed TYPE_MATH_MULTIPLY = 'mathMultiply'

TYPE_MATH_NOT_EQUAL

public mixed TYPE_MATH_NOT_EQUAL = 'mathNotEqual'

TYPE_MATH_PLUS

public mixed TYPE_MATH_PLUS = 'mathPlus'

TYPE_NO_SYMBOL

public mixed TYPE_NO_SYMBOL = 'noSmoking'

TYPE_NON_ISOSCELES_TRAPEZOID

public mixed TYPE_NON_ISOSCELES_TRAPEZOID = 'nonIsoscelesTrapezoid'

TYPE_NOTCHED_RIGHT_ARROW

public mixed TYPE_NOTCHED_RIGHT_ARROW = 'notchedRightArrow'

TYPE_OCTAGON

public mixed TYPE_OCTAGON = 'octagon'

TYPE_OVAL

public mixed TYPE_OVAL = 'ellipse'

TYPE_OVAL_CALLOUT

public mixed TYPE_OVAL_CALLOUT = 'wedgeEllipseCallout'

TYPE_PARALLELOGRAM

public mixed TYPE_PARALLELOGRAM = 'parallelogram'

TYPE_PENTAGON

public mixed TYPE_PENTAGON = 'homePlate'

TYPE_PIE_WEDGE

public mixed TYPE_PIE_WEDGE = 'pieWedge'

TYPE_PLAQUE

public mixed TYPE_PLAQUE = 'plaque'

TYPE_PLAQUE_TABS

public mixed TYPE_PLAQUE_TABS = 'plaqueTabs'

TYPE_QUAD_ARROW

public mixed TYPE_QUAD_ARROW = 'quadArrow'

TYPE_QUAD_ARROW_CALLOUT

public mixed TYPE_QUAD_ARROW_CALLOUT = 'quadArrowCallout'

TYPE_RECTANGLE

public mixed TYPE_RECTANGLE = 'rect'

TYPE_RECTANGULAR_CALLOUT

public mixed TYPE_RECTANGULAR_CALLOUT = 'wedgeRectCallout'

TYPE_REGULARP_ENTAGON

public mixed TYPE_REGULARP_ENTAGON = 'pentagon'

TYPE_RIGHT_ARROW

public mixed TYPE_RIGHT_ARROW = 'rightArrow'

TYPE_RIGHT_ARROW_CALLOUT

public mixed TYPE_RIGHT_ARROW_CALLOUT = 'rightArrowCallout'

TYPE_RIGHT_BRACE

public mixed TYPE_RIGHT_BRACE = 'rightBrace'

TYPE_RIGHT_BRACKET

public mixed TYPE_RIGHT_BRACKET = 'rightBracket'

TYPE_RIGHT_TRIANGLE

public mixed TYPE_RIGHT_TRIANGLE = 'rtTriangle'

TYPE_ROUND_1_RECTANGLE

public mixed TYPE_ROUND_1_RECTANGLE = 'round1Rect'

TYPE_ROUND_2_DIAG_RECTANGLE

public mixed TYPE_ROUND_2_DIAG_RECTANGLE = 'round2DiagRect'

TYPE_ROUND_2_SAME_RECTANGLE

public mixed TYPE_ROUND_2_SAME_RECTANGLE = 'round2SameRect'

TYPE_ROUNDED_RECTANGLE

public mixed TYPE_ROUNDED_RECTANGLE = 'roundRect'

TYPE_ROUNDED_RECTANGULAR_CALLOUT

public mixed TYPE_ROUNDED_RECTANGULAR_CALLOUT = 'wedgeRoundRectCallout'

TYPE_SMILEY_FACE

public mixed TYPE_SMILEY_FACE = 'smileyFace'

TYPE_SNIP_1_RECTANGLE

public mixed TYPE_SNIP_1_RECTANGLE = 'snip1Rect'

TYPE_SNIP_2_DIAG_RECTANGLE

public mixed TYPE_SNIP_2_DIAG_RECTANGLE = 'snip2DiagRect'

TYPE_SNIP_2_SAME_RECTANGLE

public mixed TYPE_SNIP_2_SAME_RECTANGLE = 'snip2SameRect'

TYPE_SNIP_ROUND_RECTANGLE

public mixed TYPE_SNIP_ROUND_RECTANGLE = 'snipRoundRect'

TYPE_SQUARE_TABS

public mixed TYPE_SQUARE_TABS = 'squareTabs'

TYPE_STRIPED_RIGHT_ARROW

public mixed TYPE_STRIPED_RIGHT_ARROW = 'stripedRightArrow'

TYPE_SWOOSH_ARROW

public mixed TYPE_SWOOSH_ARROW = 'swooshArrow'

TYPE_TEAR

public mixed TYPE_TEAR = 'teardrop'

TYPE_TRAPEZOID

public mixed TYPE_TRAPEZOID = 'trapezoid'

TYPE_U_TURN_ARROW

public mixed TYPE_U_TURN_ARROW = 'uturnArrow'

TYPE_UP_ARROW

public mixed TYPE_UP_ARROW = 'upArrow'

TYPE_UP_ARROW_CALLOUT

public mixed TYPE_UP_ARROW_CALLOUT = 'upArrowCallout'

TYPE_UP_DOWN_ARROW

public mixed TYPE_UP_DOWN_ARROW = 'upDownArrow'

TYPE_UP_DOWN_ARROW_CALLOUT

public mixed TYPE_UP_DOWN_ARROW_CALLOUT = 'upDownArrowCallout'

TYPE_UP_RIBBON

public mixed TYPE_UP_RIBBON = 'ribbon2'

TYPE_VERTICAL_SCROLL

public mixed TYPE_VERTICAL_SCROLL = 'verticalScroll'

Properties

$type

protected string $type = self::TYPE_HEART

Methods

__construct()

Create a new self.

public __construct() : mixed

getHashCode()

Get hash code.

public getHashCode() : string
Return values
string

Hash code

getHashIndex()

Get hash index.

public getHashIndex() : null|int

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.

Return values
null|int

Hash index

getHeight()

Get Height.

public getHeight() : int
Return values
int

getName()

Get Name.

public getName() : string
Return values
string

getOffsetX()

Get OffsetX.

public getOffsetX() : int
Return values
int

getOffsetY()

Get OffsetY.

public getOffsetY() : int
Return values
int

getRotation()

Get Rotation.

public getRotation() : int
Return values
int

getText()

public getText() : string
Return values
string

getType()

public getType() : string
Return values
string

getWidth()

Get Width.

public getWidth() : int
Return values
int

Has Hyperlink?

public hasHyperlink() : bool
Return values
bool

isPlaceholder()

public isPlaceholder() : bool
Return values
bool

setContainer()

Set Container, Slide or Group.

public setContainer([ShapeContainerInterface|null $pValue = null ][, bool $pOverrideOld = false ]) : $this
Parameters
$pValue : ShapeContainerInterface|null = null
$pOverrideOld : bool = false

If a Slide has already been assigned, overwrite it and remove image from old Slide?

Return values
$this

setFill()

public setFill([Fill|null $pValue = null ]) : self
Parameters
$pValue : Fill|null = null
Return values
self

setHashIndex()

Set hash index.

public setHashIndex(int $value) : $this

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.

Parameters
$value : int

Hash index

Return values
$this

setHeight()

Set Height.

public setHeight([int $pValue = 0 ]) : $this
Parameters
$pValue : int = 0
Return values
$this

Set Hyperlink.

public setHyperlink([Hyperlink|null $pHyperlink = null ]) : self
Parameters
$pHyperlink : Hyperlink|null = null
Return values
self

setName()

Set Name.

public setName([string $pValue = '' ]) : static
Parameters
$pValue : string = ''
Return values
static

setOffsetX()

Set OffsetX.

public setOffsetX([int $pValue = 0 ]) : $this
Parameters
$pValue : int = 0
Return values
$this

setOffsetY()

Set OffsetY.

public setOffsetY([int $pValue = 0 ]) : $this
Parameters
$pValue : int = 0
Return values
$this

setRotation()

Set Rotation.

public setRotation([int $pValue = 0 ]) : $this
Parameters
$pValue : int = 0
Return values
$this

setShadow()

public setShadow([Shadow|null $pValue = null ]) : $this
Parameters
$pValue : Shadow|null = null
Return values
$this

setText()

public setText(string $text) : self
Parameters
$text : string
Return values
self

setType()

public setType(string $type) : self
Parameters
$type : string
Return values
self

setWidth()

Set Width.

public setWidth([int $pValue = 0 ]) : $this
Parameters
$pValue : int = 0
Return values
$this

setWidthAndHeight()

Set width and height with proportional resize.

public setWidthAndHeight([int $width = 0 ][, int $height = 0 ]) : self
Parameters
$width : int = 0
$height : int = 0
Return values
self

        
On this page

Search results