Package com.grapecity.documents.excel
Interface IStyleCollection
Represents a collection of all the
IStyle objects in the specified oractive workbook.-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the style name is contained inIStyleCollection.get(int index) Returns theIStyleobject from a collection.Returns theIStyleobject from a collection.intgetCount()Returns the number of objects in the collection.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getCount
int getCount()Returns the number of objects in the collection. -
get
Returns theIStyleobject from a collection.- Parameters:
name- Specifies the name of an element in the collection.
-
get
Returns theIStyleobject from a collection.- Parameters:
index- Specifies the index of an element in the collection.
-
contains
Determines whether the style name is contained inIStyleCollection.- Parameters:
name- The style name.- Returns:
- Whether the style name is contained.
-
add
Creates a newIStyleand adds it to the list of styles that areavailable for the currentIWorkbook. This method is functionally equivalent to add(String name, IRange baseOn) with baseOn = null.- Parameters:
name- The newIStylename.
-
add
-
add
-