|
|||||||||
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.CollectionExtended
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 |