| Modifier and Type | Method and Description |
|---|---|
IStyle |
add(java.lang.String name)
|
IStyle |
add(java.lang.String name,
IRange baseOn)
|
IStyle |
add(java.lang.String name,
IStyle baseOn)
|
boolean |
contains(java.lang.String name)
Determines whether the style name is contained in
IStyleCollection. |
IStyle |
get(int index)
Returns the
IStyle object from a collection. |
IStyle |
get(java.lang.String name)
Returns the
IStyle object from a collection. |
int |
getCount()
Returns the number of objects in the collection.
|
int getCount()
IStyle get(java.lang.String name)
IStyle object from a collection.name - Specifies the name of an element in the collection.IStyle get(int index)
IStyle object from a collection.index - Specifies the index of an element in the collection.boolean contains(java.lang.String name)
IStyleCollection.name - The style name.IStyle add(java.lang.String name)
IStyle and adds it to the list of styles that are
available for the current IWorkbook.
This method is functionally equivalent to add(String name, IRange baseOn) with baseOn = null.name - The new IStyle name.