Package com.independentsoft.office.odf.styles

# Class DefaultStyle

java.lang.Object
com.independentsoft.office.odf.styles.DefaultStyle

Direct Known Subclasses:
  `DefaultCellStyle`, `DefaultChartStyle`, `DefaultColumnStyle`, `DefaultDrawingPageStyle`, `DefaultGraphicStyle`, `DefaultParagraphStyle`, `DefaultRowStyle`, `DefaultRubyStyle`, `DefaultSectionStyle`, `DefaultTableStyle`, `DefaultTextStyle`

public abstract class DefaultStyle extends Object
Represents default style.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected StyleFamily`
  `family`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultStyle()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `StyleFamily`
  `getFamily()`
  Gets the style family.
  `void`
  `setFamily​(StyleFamily family)`
  Gets the style family.
  `String`
  `toString()`
  Converts the value of the current DefaultStyle object to its equivalent string representation.
  `protected String`
  `toString​(String innerXml)`

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

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

- ## Field Details

  - ### family

    protected StyleFamily family

- ## Constructor Details

  - ### DefaultStyle

    public DefaultStyle()

- ## Method Details

  - ### toString

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

  - ### toString

    protected String toString​(String innerXml)

  - ### getFamily

    public StyleFamily getFamily()
    Gets the style family.
    Returns:
      the family

  - ### setFamily

    public void setFamily​(StyleFamily family)
    Gets the style family.
    Parameters:
      `family` - the new family