|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorksheets
A collection of all the Worksheet objects in the specified or active workbook. Each Worksheet object represents a worksheet.
Method Summary | |
---|---|
IWorksheet |
addCopyAfter(IWorksheet toCopy)
Adds copy of sheet to collection after choosed sheet. |
IWorksheet |
addCopyAfter(IWorksheet toCopy,
IWorksheet sheetBefore)
Adds copy of sheet to collection before choosed sheet. |
IWorksheet |
addCopyBefore(IWorksheet toCopy)
Adds copy of sheet to collection before choosed sheet. |
IWorksheet |
addCopyBefore(IWorksheet toCopy,
IWorksheet sheetAfter)
Adds copy of sheet to collection before choosed sheet. |
IWorksheet |
create()
Create a new worksheet. |
IWorksheet |
create(java.lang.String name)
Create worksheet with specified name. |
IWorksheet |
get(int Index)
Returns a single object from a collection. |
IWorksheet |
get(java.lang.String sheetName)
Returns a single object from a collection. |
int |
getCount()
Returns the number of objects in the collection. |
java.lang.Object |
getParent()
Returns the parent object for the specified object. |
boolean |
getUseRangesCache()
Indicates whether all created range objects should be cached. |
void |
remove(int index)
Removes specified worksheet from the collection. |
void |
remove(IWorksheet sheet)
Remove worksheet from collection. |
void |
remove(java.lang.String sheetName)
Removes specified worksheet from the collection. |
Method Detail |
---|
int getCount()
IWorksheet get(int Index)
IWorksheet get(java.lang.String sheetName)
java.lang.Object getParent()
boolean getUseRangesCache()
IWorksheet create(java.lang.String name)
name
- New name of worksheet. Must be unique for collection.
IWorksheet create()
void remove(IWorksheet sheet)
sheet
- Reference on worksheet to remove.void remove(java.lang.String sheetName)
sheetName
- Name of the sheet to remove.void remove(int index)
index
- Index of the sheet to remove.IWorksheet addCopyBefore(IWorksheet toCopy)
toCopy
- Represents worksheet to copy.
IWorksheet addCopyBefore(IWorksheet toCopy, IWorksheet sheetAfter)
toCopy
- Represents worksheet to copy.sheetAfter
- Represents sheet that, in collection must be after copied sheet.
IWorksheet addCopyAfter(IWorksheet toCopy)
toCopy
- Represents worksheet to copy.
IWorksheet addCopyAfter(IWorksheet toCopy, IWorksheet sheetBefore)
toCopy
- Represents worksheet to copy.sheetBefore
- Represents sheet that, in collection must be before copied sheet.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |