Package com.independentsoft.office

# Class SharedOfficeDocument

java.lang.Object
com.independentsoft.office.SharedOfficeDocument

public class SharedOfficeDocument extends Object
The Class SharedOfficeDocument.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static SharedOfficeDocument`
  `getInstance()`
  Gets the single instance of SharedOfficeDocument.
  `OfficeDocument`
  `getOfficeDocument()`
  Gets the office document.
  `void`
  `setOfficeDocument​(OfficeDocument officeDocument)`
  Sets the office document.

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

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

- ## Method Details

  - ### getInstance

    public static SharedOfficeDocument getInstance()
    Gets the single instance of SharedOfficeDocument.
    Returns:
      single instance of SharedOfficeDocument

  - ### getOfficeDocument

    public OfficeDocument getOfficeDocument()
    Gets the office document.
    Returns:
      the office document

  - ### setOfficeDocument

    public void setOfficeDocument​(OfficeDocument officeDocument)
    Sets the office document.
    Parameters:
      `officeDocument` - the new office document