com.aspose.note

Class NumberList



  • public class NumberList
    extends Object

    Represents the numbered or bulleted list.

    • Constructor Detail

      • NumberList

        public NumberList(String bulletedSymbol,
                          String font,
                          int fontSize)

        Initializes a new instance of the NumberList class. This instance represents a bulleted list.

        Parameters:
        bulletedSymbol - A symbol which represents a bullet.
        font - A font for the bullet.
        fontSize - A font size for the bullet.
      • NumberList

        public NumberList(String format,
                          byte numberFormat,
                          String font,
                          int fontSize)

        Initializes a new instance of the NumberList class. This instance represents a numbered list.

        Parameters:
        format - The format of the numbered header.
        numberFormat - The format of the number in header.
        font - A font for the numbered header.
        fontSize - A font size for the numbered header.
    • Method Detail

      • getLastModifiedTime

        public Date getLastModifiedTime()

        Gets or sets the last modified time.

      • setLastModifiedTime

        public void setLastModifiedTime(Date value)

        Gets or sets the last modified time.

      • getFont

        public String getFont()

        Gets or sets the name of the font.

      • setFont

        public void setFont(String value)

        Gets or sets the name of the font.

      • getNumberFormat

        public Byte getNumberFormat()

        Gets or sets the number format used for a group of automatically numbered objects. Should be null for bulleted lists.

      • setNumberFormat

        public void setNumberFormat(Byte value)

        Gets or sets the number format used for a group of automatically numbered objects. Should be null for bulleted lists.

      • getFormat

        public String getFormat()

        Gets or sets the format of the line header. For bulleted lists represents a bullet symbol.

      • setFormat

        public void setFormat(String value)

        Gets or sets the format of the line header. For bulleted lists represents a bullet symbol.

      • isBold

        public boolean isBold()

        Gets or sets a value indicating whether the text style is bold.

      • setBold

        public void setBold(boolean value)

        Gets or sets a value indicating whether the text style is bold.

      • isItalic

        public boolean isItalic()

        Gets or sets a value indicating whether the text style is italic.

      • setItalic

        public void setItalic(boolean value)

        Gets or sets a value indicating whether the text style is italic.

      • getFontSize

        public int getFontSize()

        Gets or sets the font size.

      • setFontSize

        public void setFontSize(int value)

        Gets or sets the font size.

      • getFontColor

        public Color getFontColor()

        Gets or sets the font color.

      • setFontColor

        public void setFontColor(Color value)

        Gets or sets the font color.

      • getRestart

        public int getRestart()

        Gets or sets the numeric value that overrides the automatic number value of the list item.

      • setRestart

        public void setRestart(int value)

        Gets or sets the numeric value that overrides the automatic number value of the list item.

      • getNumberedListHeader

        public String getNumberedListHeader(int sequenceNumber)

        Gets the numbered list header.

        Parameters:
        sequenceNumber - The sequence number in the numbered list.
        Returns:
        A string representation of the specified sequence number.