|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.ms.system.collections.collectionbase
![]()
com.spire.xls.core.spreadsheet.collections.xlsworksheetscollection
com.spire.xls.collections.worksheetscollection
public class worksheetscollection
represents the worksheetscollection.
method summary | |
---|---|
worksheet |
add(java.lang.string name)
adds a new worksheet. |
worksheet |
addcopy(int sheetindex)
adds copy of worksheet. |
worksheet |
addcopy(worksheet sheet)
adds copy of worksheet. |
void |
addcopy(worksheetscollection sheets)
adding worksheets collection to workbook. |
worksheet |
create()
creates a new worksheet. |
worksheet |
create(java.lang.string name)
create a new worksheet. |
cellrange[] |
findallbool(boolean boolvalue)
finds the cell with the input bool. |
cellrange[] |
findalldatetime(java.util.date datevalue)
finds the cell with the input datetime. |
cellrange[] |
findallnumber(double doublevalue,
boolean formulavalue)
finds the cell with the input double. |
cellrange[] |
findallstring(java.lang.string stringvalue,
boolean formula,
boolean formulavalue)
finds the cell with the input string. |
cellrange |
findbool(boolean boolvalue)
finds the cell with the input bool. |
cellrange |
finddatetime(java.util.date datevalue)
finds the cell with the input date. |
cellrange |
findnumber(double doublevalue,
boolean formulavalue)
finds the cell with the input double. |
cellrange |
findstring(java.lang.string stringvalue,
boolean formula,
boolean formulavalue)
finds the cell with the input string. |
worksheet |
get(int index)
returns a single object from a collection. |
worksheet |
get(java.lang.string sheetname)
returns a single object from a collection. |
void |
remove(worksheet sheet)
remove worksheet from collection. |
methods inherited from class com.spire.xls.core.spreadsheet.collections.xlsworksheetscollection |
---|
addcopy, addcopy, addcopy, addcopy, addcopy, addcopyafter, addcopyafter, addcopybefore, addcopybefore, clear, findall, findfirst, getusehashforworksheetlookup, getuserangescache, isrighttoleft, isrighttoleft, move, remove, remove, remove, removeat |
methods inherited from interface com.spire.xls.core.iworksheets |
---|
getcount, getparent |
method detail |
---|
public worksheet add(java.lang.string name)
add
in class xlsworksheetscollection
name
- worksheet name.
public worksheet addcopy(int sheetindex)
addcopy
in class xlsworksheetscollection
sheetindex
- sheet index.
public worksheet addcopy(worksheet sheet)
sheet
- worksheet to copy.
public void addcopy(worksheetscollection sheets)
sheets
- source worksheets collection.public worksheet create(java.lang.string name)
create
in interface iworksheets
create
in class xlsworksheetscollection
name
- worksheet name
public worksheet create()
create
in interface iworksheets
create
in class xlsworksheetscollection
public cellrange[] findallnumber(double doublevalue, boolean formulavalue)
doublevalue
- double value to search forformulavalue
- indicates whether to find formula value
public cellrange[] findallstring(java.lang.string stringvalue, boolean formula, boolean formulavalue)
stringvalue
- string value to search forformula
- indicates whether include formulaformulavalue
- indicates whether include formula value
public cellrange[] findalldatetime(java.util.date datevalue)
datevalue
- date value to search for
public cellrange[] findallbool(boolean boolvalue)
boolvalue
- bool value to search for
public cellrange findbool(boolean boolvalue)
boolvalue
- bool value to search for
public cellrange findnumber(double doublevalue, boolean formulavalue)
doublevalue
- double value to search forformulavalue
- indicates whether includes formula value to search for
public cellrange findstring(java.lang.string stringvalue, boolean formula, boolean formulavalue)
stringvalue
- string value to search forformula
- indicates whether includes formula to search forformulavalue
- indicates whether includes formula value to search for
public cellrange finddatetime(java.util.date datevalue)
datevalue
- date value to search for
public void remove(worksheet sheet)
sheet
- worksheet object.public worksheet get(int index)
get
in interface iworksheets
get
in class xlsworksheetscollection
index
-
public worksheet get(java.lang.string sheetname)
get
in interface iworksheets
get
in class xlsworksheetscollection
sheetname
-
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |