java.lang.Object
com.independentsoft.office.spreadsheet.drawing.Shape
All Implemented Interfaces:
IAnchorElement, IGroupElement

public class Shape extends Object implements IGroupElement, IAnchorElement
The Class Shape.
  • Constructor Details

    • Shape

      public Shape()
      Instantiates a new shape.
  • Method Details

    • clone

      public Shape clone()
      Specified by:
      clone in interface IAnchorElement
      Specified by:
      clone in interface IGroupElement
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getShapeProperties

      public ShapeProperties getShapeProperties()
      Gets the shape properties.
      Returns:
      the shape properties
    • getTextBody

      public ShapeTextBody getTextBody()
      Gets the text body.
      Returns:
      the text body
    • setTextBody

      public void setTextBody(ShapeTextBody textBody)
      Sets the text body.
      Parameters:
      textBody - the new text body
    • getStyle

      public ShapeStyle getStyle()
      Gets the style.
      Returns:
      the style
    • setStyle

      public void setStyle(ShapeStyle style)
      Sets the style.
      Parameters:
      style - the new style
    • isLockText

      public boolean isLockText()
      Checks if is lock text.
      Returns:
      true, if is lock text
    • setLockText

      public void setLockText(boolean lockText)
      Sets the lock text.
      Parameters:
      lockText - the new lock text
    • isPublish

      public boolean isPublish()
      Checks if is publish.
      Returns:
      true, if is publish
    • setPublish

      public void setPublish(boolean publish)
      Sets the publish.
      Parameters:
      publish - the new publish
    • getMacro

      public String getMacro()
      Gets the macro.
      Returns:
      the macro
    • setMacro

      public void setMacro(String macro)
      Sets the macro.
      Parameters:
      macro - the new macro
    • getTextLink

      public String getTextLink()
      Gets the text link.
      Returns:
      the text link
    • setTextLink

      public void setTextLink(String textLink)
      Sets the text link.
      Parameters:
      textLink - the new text link
    • isTextBox

      public boolean isTextBox()
      Checks if is text box.
      Returns:
      true, if is text box
    • setTextBox

      public void setTextBox(boolean isTextBox)
      Sets the text box.
      Parameters:
      isTextBox - the new text box
    • getLocking

      public ShapeLocking getLocking()
      Gets the locking.
      Returns:
      the locking
    • setLocking

      public void setLocking(ShapeLocking locking)
      Sets the locking.
      Parameters:
      locking - the new locking
    • getID

      public String getID()
      Gets the id.
      Returns:
      the id
    • setID

      public void setID(String id)
      Sets the id.
      Parameters:
      id - the new id
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description.
      Parameters:
      description - the new description
    • isHidden

      public boolean isHidden()
      Checks if is hidden.
      Returns:
      true, if is hidden
    • setHidden

      public void setHidden(boolean isHidden)
      Sets the hidden.
      Parameters:
      isHidden - the new hidden