Package com.independentsoft.office.spreadsheet.drawing

# Class DrawingObjects

java.lang.Object
com.independentsoft.office.spreadsheet.drawing.DrawingObjects

public class DrawingObjects extends Object
The Class DrawingObjects.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DrawingObjects()`
  Instantiates a new drawing objects.
  `DrawingObjects​(byte[] buffer, Relationship relationship)`
  Instantiates a new drawing objects.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DrawingObjects`
  `clone()`
  `List<Anchor>`
  `getAnchors()`
  Gets the anchors.
  `Relationship`
  `getOriginalRelationship()`
  Gets the relationships of the drawing part this instance was loaded from.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### DrawingObjects

    public DrawingObjects()
    Instantiates a new drawing objects.

  - ### DrawingObjects

    public DrawingObjects​(byte[] buffer, Relationship relationship) throws XMLStreamException
    Instantiates a new drawing objects.
    Parameters:
      `buffer` - the buffer
      `relationship` - the relationship
    Throws:
      `XMLStreamException` - the xML stream exception

- ## Method Details

  - ### clone

    public DrawingObjects clone()
    Overrides:
      `clone` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getAnchors

    public List<Anchor> getAnchors()
    Gets the anchors.
    Returns:
      the anchors

  - ### getOriginalRelationship

    public Relationship getOriginalRelationship()
    Gets the relationships of the drawing part this instance was loaded from. Used by the verbatim-reference rescue at save time.
    Returns:
      the original relationship, or null when not loaded from a package