Package com.independentsoft.office.word

# Class SharedWordDocument

java.lang.Object
com.independentsoft.office.word.SharedWordDocument

public class SharedWordDocument extends Object
The Class SharedWordDocument.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static SharedWordDocument`
  `getInstance()`
  Gets the single instance of SharedWordDocument.
  `WordDocument`
  `getWordDocument()`
  Gets the word document.
  `void`
  `setWordDocument​(WordDocument wordDocument)`
  Sets the word document.

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

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

- ## Method Details

  - ### getInstance

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

  - ### getWordDocument

    public WordDocument getWordDocument()
    Gets the word document.
    Returns:
      the word document

  - ### setWordDocument

    public void setWordDocument​(WordDocument wordDocument)
    Sets the word document.
    Parameters:
      `wordDocument` - the new word document