public class AutoShape extends GeometryShape implements IAutoShape
Represents an AutoShape.
Modifier and Type | Method and Description |
---|---|
ITextFrame |
addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape.
|
IAutoShapeLock |
getAutoShapeLock()
Returns autoshape's locks.
|
IAutoShapeLock |
getShapeLock()
Returns shape's locks.
|
ITextFrame |
getTextFrame()
Returns TextFrame object for the AutoShape.
|
boolean |
getUseBackgroundFill()
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
|
void |
setUseBackgroundFill(boolean value)
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
|
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createShapeElements, getAdjustments, getShapeStyle, getShapeType, setShapeType
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getSlide
getPresentation
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
public final IAutoShapeLock getShapeLock()
Returns shape's locks.
Read-only IAutoShapeLock
.
getShapeLock
in interface IShape
getShapeLock
in class Shape
public final IAutoShapeLock getAutoShapeLock()
Returns autoshape's locks.
Read-only IAutoShapeLock
.
getAutoShapeLock
in interface IAutoShape
public final ITextFrame getTextFrame()
Returns TextFrame object for the AutoShape.
Read-only ITextFrame
.
getTextFrame
in interface IAutoShape
public final boolean getUseBackgroundFill()
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
Read/write boolean
.
getUseBackgroundFill
in interface IAutoShape
public final void setUseBackgroundFill(boolean value)
Determines whether this autoshape should be filled with slide's background fill instead of specified by style or fill format.
Read/write boolean
.
setUseBackgroundFill
in interface IAutoShape
public ITextFrame addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. If shape already has TextFrame then simply changes its text.
addTextFrame
in interface IAutoShape
text
- Default text for a new TextFrame.