|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.documents.Style
com.spire.doc.documents.ListStyle
public class ListStyle
Represents a ListStyle.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.spire.doc.documents.Style |
|---|
Style.BuiltinStyleLoader |
| Constructor Summary | |
|---|---|
ListStyle(IDocument doc,
ListType listType)
Initializes a new instance of the |
|
| Method Summary | |
|---|---|
static ListStyle |
createEmptyListStyle(IDocument doc,
ListType listType,
boolean isOneLevelList)
|
IStyle |
deepClone()
Clones itself |
ListLevelCollection |
getLevels()
Gets list levels collection |
ListType |
getListType()
Returns or setslist type |
ListLevel |
getNearLevel(int levelNumber)
|
StyleType |
getStyleType()
Gets the type of the style. |
void |
setListType(ListType value)
Returns or setslist type |
| Methods inherited from class com.spire.doc.documents.Style |
|---|
applyBaseStyle, applyBaseStyle, createBuiltinStyle, createBuiltinStyle, getCharacterFormat, getName, getStyleId, isCustomStyle, isCustomStyle, isHeading, nameToBuiltIn, setName |
| Methods inherited from class com.spire.doc.OwnerHolder |
|---|
getDocument |
| Constructor Detail |
|---|
public ListStyle(IDocument doc,
ListType listType)
doc - The doc.listType - Type of the list.| Method Detail |
|---|
public ListType getListType()
public void setListType(ListType value)
public ListLevelCollection getLevels()
public StyleType getStyleType()
getStyleType in interface IStylegetStyleType in class Style
public static ListStyle createEmptyListStyle(IDocument doc,
ListType listType,
boolean isOneLevelList)
doc - listType - List type(bulleted or numbered)isOneLevelList - Is it list that consist of 1 level only.
public IStyle deepClone()
deepClone in interface IStyledeepClone in class Stylepublic ListLevel getNearLevel(int levelNumber)
levelNumber -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||