java.lang.Object
com.independentsoft.office.odf.styles.Style
Direct Known Subclasses:
BaseStyle, BooleanStyle, CurrencyStyle, DateStyle, ListStyle, NumberStyle, NumberTextStyle, PercentageStyle, TimeStyle

public abstract class Style extends Object
Represents the style.
  • Field Details

    • name

      protected String name
    • displayName

      protected String displayName
  • Constructor Details

    • Style

      public Style()
  • Method Details

    • clone

      public abstract Style clone()
      Overrides:
      clone in class Object
    • getName

      public String getName()
      Gets the names that are used for referencing style.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the names that are used for referencing style.
      Parameters:
      name - the new name
    • getDisplayName

      public String getDisplayName()
      Gets the name of a style.
      Returns:
      the display name
    • setDisplayName

      public void setDisplayName(String displayName)
      Sets the name of a style.
      Parameters:
      displayName - the new display name