com.aspose.slides
Class GroupShape

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.GroupShape
Direct Known Subclasses:
Table

public class GroupShape
extends Shape

Represents a group of shapes on a slide.


Method Summary
 TextFrame addTextFrame(java.lang.String text)
           Adds a new TextFrame to a shape.
 java.lang.String getAlternativeText()
           Returns or sets the alternative text associated with a shape in a Web presentation.
 FillFormat getFillFormat()
           Returns null for a GroupShape.
 boolean getFlipHorizontal()
           <b>True</b> if a group was flipped horizontally.
 boolean getFlipVertical()
           <b>True</b> if a group was flipped vertically.
 boolean getHidden()
           Determines whether the shape is hidden.
 LineFormat getLineFormat()
           Returns null for a GroupShape.
 int getMasterShapeId()
           Returns the unique Id of a master shape or 0 in case shape is not inherited from any master shapes.
 java.lang.String getName()
           Returns or sets the name of a shape.
 long getProtection()
           Returns or sets the bit flags which determine how the group shape is protected.
 int getRotation()
           Returns or sets the number of degrees the specified group is rotated around the z-axis.
 int getShapeId()
           Returns the unique Id of a shape.
 ShapeCollection getShapes()
           Returns the collection of shapes inside the group.
 void setAlternativeText(java.lang.String value)
           
 void setFlipHorizontal(boolean value)
           
 void setFlipVertical(boolean value)
           
 void setHidden(boolean value)
           
 void setName(java.lang.String value)
           
 void setProtection(long value)
           
 void setRotation(int value)
           
 
Methods inherited from class com.aspose.slides.Shape
addLink, clearLink, createShapeElements, createShapeElements, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFlipH, getFlipV, getHeight, getLink, getParent, getParentSlide, getPlaceholder, getShadowFormat, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isMasterTextHolder, isTextHolder, serialize, setFlipH, setFlipV, setHeight, setWidth, setX, setY, zOrder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLineFormat

public LineFormat getLineFormat()

Returns null for a GroupShape. Read-only Aspose.Slides.LineFormat.

Overrides:
getLineFormat in class Shape

getFillFormat

public FillFormat getFillFormat()

Returns null for a GroupShape. Read-only Aspose.Slides.FillFormat.

Overrides:
getFillFormat in class Shape

getShapes

public ShapeCollection getShapes()

Returns the collection of shapes inside the group. Read-only Shapes.


getProtection

public long getProtection()

Returns or sets the bit flags which determine how the group shape is protected. Read/write ShapeProtection.

Overrides:
getProtection in class Shape

setProtection

public void setProtection(long value)
Overrides:
setProtection in class Shape

getRotation

public int getRotation()

Returns or sets the number of degrees the specified group is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. Read/write int.

Overrides:
getRotation in class Shape

setRotation

public void setRotation(int value)
Overrides:
setRotation in class Shape

getAlternativeText

public java.lang.String getAlternativeText()

Returns or sets the alternative text associated with a shape in a Web presentation. Read/write string.

Overrides:
getAlternativeText in class Shape

setAlternativeText

public void setAlternativeText(java.lang.String value)
Overrides:
setAlternativeText in class Shape

getName

public java.lang.String getName()

Returns or sets the name of a shape. Returns real name value only if name was explicitly set. Read/write string.

Overrides:
getName in class Shape

setName

public void setName(java.lang.String value)
Overrides:
setName in class Shape

getHidden

public boolean getHidden()

Determines whether the shape is hidden. Read/write bool.

Overrides:
getHidden in class Shape

setHidden

public void setHidden(boolean value)
Overrides:
setHidden in class Shape

getFlipHorizontal

public boolean getFlipHorizontal()

<b>True</b> if a group was flipped horizontally. Read/write bool.

Overrides:
getFlipHorizontal in class Shape

setFlipHorizontal

public void setFlipHorizontal(boolean value)
Overrides:
setFlipHorizontal in class Shape

getFlipVertical

public boolean getFlipVertical()

<b>True</b> if a group was flipped vertically. Read/write bool.

Overrides:
getFlipVertical in class Shape

setFlipVertical

public void setFlipVertical(boolean value)
Overrides:
setFlipVertical in class Shape

getShapeId

public int getShapeId()

Returns the unique Id of a shape. Read-only int.

Overrides:
getShapeId in class Shape

getMasterShapeId

public int getMasterShapeId()

Returns the unique Id of a master shape or 0 in case shape is not inherited from any master shapes. Read-only int.

Overrides:
getMasterShapeId in class Shape

addTextFrame

public TextFrame addTextFrame(java.lang.String text)

Adds a new TextFrame to a shape. If shape already has TextFrame then do nothing.

Overrides:
addTextFrame in class Shape
Parameters:
text - Default text for a new TextFrame.