Class ChapterIndexEntry

java.lang.Object
com.independentsoft.office.odf.ChapterIndexEntry
All Implemented Interfaces:
ITableOfContentsEntryTemplateContent

public class ChapterIndexEntry extends Object implements ITableOfContentsEntryTemplateContent
Represents the chapter number where an index entry is located.
  • Constructor Details

    • ChapterIndexEntry

      public ChapterIndexEntry()
      Initializes a new instance of the ChapterIndexEntry class.
  • Method Details

    • clone

      public ChapterIndexEntry clone()
      Creates a new object that is a deep copy of the current instance.
      Specified by:
      clone in interface ITableOfContentsEntryTemplateContent
      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 ChapterIndexEntry object to its equivalent string representation.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getStyle

      public String getStyle()
      Gets the character family styles.
      Returns:
      the style
    • setStyle

      public void setStyle(String style)
      Sets the character family styles.
      Parameters:
      style - the new style
    • getFormat

      public ChapterDisplayFormat getFormat()
      Gets the information that a chapter field should display.
      Returns:
      the format
    • setFormat

      public void setFormat(ChapterDisplayFormat format)
      Sets the information that a chapter field should display.
      Parameters:
      format - the new format