|
|||||||||
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.collections.CollectionEx
com.spire.doc.documents.xml.DocumentSerializableCollection
com.spire.doc.collections.StyleCollection
public class StyleCollection
Represents a collection of
Method Summary | |
---|---|
int |
add(IStyle style)
Adds Style to collection |
void |
applyDocDefaultsToNormalStyle()
Deprecated. |
IStyle |
findById(int styleId)
Deprecated. |
IStyle |
findByIdentifier(int sIdentifier)
Finds Style by identifier The style identifier. |
IStyle |
findByIstd(int istd)
Deprecated. |
Style |
findByName(java.lang.String name)
Finds Style by name |
IStyle |
findByName(java.lang.String name,
StyleType styleType)
Finds Style by id |
IStyle |
get(int index)
Gets the at the specified index. |
Methods inherited from class com.spire.doc.collections.CollectionEx |
---|
getCount, iterator |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Methods inherited from interface com.spire.doc.interfaces.ICollectionBase |
---|
getCount |
Methods inherited from interface com.spire.doc.interfaces.IXDLSSerializableCollection |
---|
addNewItem, getCount, getTagItemNameEx |
Method Detail |
---|
public IStyle get(int index)
get
in interface IStyleCollection
index
-
public int add(IStyle style)
add
in interface IStyleCollection
style
- The style.
@Deprecated public void applyDocDefaultsToNormalStyle()
public Style findByName(java.lang.String name)
findByName
in interface IStyleCollection
name
- The name.
public IStyle findByName(java.lang.String name, StyleType styleType)
findByName
in interface IStyleCollection
name
- The name.styleType
- Type of the style.
@Deprecated public IStyle findById(int styleId)
styleId
- The style id.
@Deprecated public IStyle findByIstd(int istd)
istd
- The style istd.
public IStyle findByIdentifier(int sIdentifier)
Documents.DefaultTableStyle
- enumeration value.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |