|
|||||||||
| 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.
| Constructor Summary | |
|---|---|
ListStyle(IDocument doc,
ListType listType)
Initializes a new instance of the ListStyle class. |
|
| Method Summary | |
|---|---|
static ListStyle |
createEmptyListStyle(IDocument doc,
ListType listType,
boolean isOneLevelList)
|
IStyle |
deepClone()
Clones itself |
ListLevelCollection |
getLevels()
Gets list levels collection |
ListType |
getListType()
Returns the ListType |
ListLevel |
getNearLevel(int levelNumber)
|
StyleType |
getStyleType()
Gets the type of the style. |
void |
setListType(ListType value)
Setslist the ListType |
| Methods inherited from class com.spire.doc.documents.Style |
|---|
applyBaseStyle, applyBaseStyle, clearRunAttrs, createBuiltinStyle, createBuiltinStyle, fetchInheritedRunAttr, getCharacterFormat, getDefaultStyleType, getDirectRunAttr, getDirectRunAttrByIndex, getDirectRunAttrsCount, getName, getStyleId, isCustomStyle, isCustomStyle, nameToBuiltIn, setName, setRunAttr |
| 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)
value - ListTypepublic ListLevelCollection getLevels()
public StyleType getStyleType()
getStyleType in interface IStylegetStyleType in class Style
public static ListStyle createEmptyListStyle(IDocument doc,
ListType listType,
boolean isOneLevelList)
doc - IDocumentlistType - 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||