Package com.independentsoft.office.odf

# Class Page

java.lang.Object
com.independentsoft.office.odf.Page

public class Page extends Object
Represents a page.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Page()`
  Initializes a new instance of the Page class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Page`
  `clone()`
  Creates a new object that is a deep copy of the current instance.
  `String`
  `getMasterPageName()`
  Gets the name of the master page.
  `void`
  `setMasterPageName​(String masterPageName)`
  Sets the name of the master page.
  `String`
  `toString()`
  Converts the value of the current Page object to its equivalent string representation.

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

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

- ## Constructor Details

  - ### Page

    public Page()
    Initializes a new instance of the Page class.

- ## Method Details

  - ### clone

    public Page clone()
    Creates a new object that is a deep copy of the current instance.
    Overrides:
      `clone` in class `Object`
    Returns:
      A new object that is a copy of this instance.

  - ### toString

    public String toString()
    Converts the value of the current Page object to its equivalent string representation.
    Overrides:
      `toString` in class `Object`
    Returns:
      the string

  - ### getMasterPageName

    public String getMasterPageName()
    Gets the name of the master page.
    Returns:
      the master page name

  - ### setMasterPageName

    public void setMasterPageName​(String masterPageName)
    Sets the name of the master page.
    Parameters:
      `masterPageName` - the new master page name