接口 IStyleCollection
Represents a collection of all the
IStyle
objects in the specified oractive workbook.-
方法概要
修饰符和类型方法说明boolean
Determines whether the style name is contained inIStyleCollection
.get
(int index) Returns theIStyle
object from a collection.Returns theIStyle
object from a collection.int
getCount()
Returns the number of objects in the collection.从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
方法详细资料
-
getCount
int getCount()Returns the number of objects in the collection. -
get
Returns theIStyle
object from a collection.- 参数:
name
- Specifies the name of an element in the collection.
-
get
Returns theIStyle
object from a collection.- 参数:
index
- Specifies the index of an element in the collection.
-
contains
Determines whether the style name is contained inIStyleCollection
.- 参数:
name
- The style name.- 返回:
- Whether the style name is contained.
-
add
Creates a newIStyle
and 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.- 参数:
name
- The newIStyle
name.
-
add
-
add
-