public class NumberList extends Object
Represents the numbered or bulleted list.
Constructor and Description |
---|
NumberList(String format,
byte numberFormat,
String font,
int fontSize)
Initializes a new instance of the
NumberList class. |
NumberList(String bulletedSymbol,
String font,
int fontSize)
Initializes a new instance of the
NumberList class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(NumberList other)
Determines whether the specified object is equal to the current object.
|
boolean |
equals(Object obj)
Determines whether the specified object is equal to the current object.
|
String |
getFont()
Gets or sets the name of the font.
|
Color |
getFontColor()
Gets or sets the font color.
|
int |
getFontSize()
Gets or sets the font size.
|
String |
getFormat()
Gets or sets the format of the line header.
|
Date |
getLastModifiedTime()
Gets or sets the last modified time.
|
String |
getNumberedListHeader(int sequenceNumber)
Gets the numbered list header.
|
Byte |
getNumberFormat()
Gets or sets the number format used for a group of automatically numbered objects.
|
int |
getRestart()
Gets or sets the numeric value that overrides the automatic number value of the list item.
|
int |
hashCode()
Serves as a hash function for the type.
|
boolean |
isBold()
Gets or sets a value indicating whether the text style is bold.
|
boolean |
isItalic()
Gets or sets a value indicating whether the text style is italic.
|
void |
setBold(boolean value)
Gets or sets a value indicating whether the text style is bold.
|
void |
setFont(String value)
Gets or sets the name of the font.
|
void |
setFontColor(Color value)
Gets or sets the font color.
|
void |
setFontSize(int value)
Gets or sets the font size.
|
void |
setFormat(String value)
Gets or sets the format of the line header.
|
void |
setItalic(boolean value)
Gets or sets a value indicating whether the text style is italic.
|
void |
setLastModifiedTime(Date value)
Gets or sets the last modified time.
|
void |
setNumberFormat(Byte value)
Gets or sets the number format used for a group of automatically numbered objects.
|
void |
setRestart(int value)
Gets or sets the numeric value that overrides the automatic number value of the list item.
|
public NumberList(String bulletedSymbol, String font, int fontSize)
Initializes a new instance of the NumberList
class.
This instance represents a bulleted list.
bulletedSymbol
- A symbol which represents a bullet.font
- A font for the bullet.fontSize
- A font size for the bullet.public NumberList(String format, byte numberFormat, String font, int fontSize)
Initializes a new instance of the NumberList
class.
This instance represents a numbered list.
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.public Date getLastModifiedTime()
Gets or sets the last modified time.
public void setLastModifiedTime(Date value)
Gets or sets the last modified time.
public String getFont()
Gets or sets the name of the font.
public void setFont(String value)
Gets or sets the name of the font.
public Byte getNumberFormat()
Gets or sets the number format used for a group of automatically numbered objects. Should be null for bulleted lists.
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.
public String getFormat()
Gets or sets the format of the line header. For bulleted lists represents a bullet symbol.
public void setFormat(String value)
Gets or sets the format of the line header. For bulleted lists represents a bullet symbol.
public boolean isBold()
Gets or sets a value indicating whether the text style is bold.
public void setBold(boolean value)
Gets or sets a value indicating whether the text style is bold.
public boolean isItalic()
Gets or sets a value indicating whether the text style is italic.
public void setItalic(boolean value)
Gets or sets a value indicating whether the text style is italic.
public int getFontSize()
Gets or sets the font size.
public void setFontSize(int value)
Gets or sets the font size.
public Color getFontColor()
Gets or sets the font color.
public void setFontColor(Color value)
Gets or sets the font color.
public int getRestart()
Gets or sets the numeric value that overrides the automatic number value of the list item.
public void setRestart(int value)
Gets or sets the numeric value that overrides the automatic number value of the list item.
public String getNumberedListHeader(int sequenceNumber)
Gets the numbered list header.
sequenceNumber
- The sequence number in the numbered list.public boolean equals(Object obj)
Determines whether the specified object is equal to the current object.
public boolean equals(NumberList other)
Determines whether the specified object is equal to the current object.
other
- The object.bool
.