|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelDataGroup
This class allows to group and outline the cell ranges.
Constructor Summary | |
ExcelDataGroup()
Defines an instance of a data group. |
|
ExcelDataGroup(int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
int groupRowsColumns,
bool isCollapsed)
Defines an instance of a data group having the specified position, group per rows or columns and collapse options. |
|
ExcelDataGroup(int firstRow,
int firstColumn,
int lastRow,
int lastColumn,
int groupRowsColumns,
bool isCollapsed,
ExcelAutoFormat xlsAutoFormat)
Defines an instance of a data group having the specified position, group per rows or columns and collapse options. |
|
ExcelDataGroup(System.String range,
int groupRowsColumns,
bool isCollapsed)
Defines an instance of a data group having the specified position, group per rows or columns and collapse options. |
|
ExcelDataGroup(System.String range,
int groupRowsColumns,
bool isCollapsed,
ExcelAutoFormat xlsAutoFormat)
Defines an instance of a data group having the specified position, group per rows or columns and collapse options. |
Method Summary | |
ExcelDataGroup |
Clone()
Creates and returns a copy of this object. |
ExcelAutoFormat |
getAutoFormat()
Returns the autoformat to be applied. |
int |
getFirstColumn()
Returns the first column index of the cells range where the data group is located. |
int |
getFirstRow()
Returns the first row index of the cells range where the data group is located. |
int |
getGroupType()
Returns the group per rows or columns option. |
int |
getLastColumn()
Returns the last column index of the cells range where the data group is located. |
int |
getLastRow()
Returns the last row index of the cells range where the data group is located. |
bool |
IsCollapsed()
Returns true if the data group is collapsed, false if the data group is expanded. |
void |
setAutoFormat(ExcelAutoFormat xlsAutoFormat)
Sets the autoformat to be applied for the data group. |
void |
setCollapsed(bool isCollapsed)
Sets if the data group is collapsed or expanded. |
void |
setFirstColumn(int firstColumn)
Sets the first column of the cell range where the data group is located. |
void |
setFirstRow(int firstRow)
Sets the first row of the cell range where the data group is located. |
void |
setGroupType(int groupRowsColumns)
Sets the group per rows or columns option. |
void |
setLastColumn(int lastColumn)
Sets the last column of the cell range where the data group is located. |
void |
setLastRow(int lastRow)
Sets the last row of the cell range where the data group is located. |
void |
setRange(int firstRow,
int firstColumn,
int lastRow,
int lastColumn)
Sets the area location of the data group. |
void |
setRange(System.String range)
Sets the area location of the data group. |
Constructor Detail |
public ExcelDataGroup()
public ExcelDataGroup(System.String range, int groupRowsColumns, bool isCollapsed)
range
- the area location of the data group. It can be a cell reference or a range.groupRowsColumns
- the grouping per rows or columns option. Possible values are available in DataGroup
class.isCollapsed
- true if the data group is collapsed, false if the data group is expandedpublic ExcelDataGroup(int firstRow, int firstColumn, int lastRow, int lastColumn, int groupRowsColumns, bool isCollapsed)
firstRow
- first row index of the cells rangefirstColumn
- first column index of the cells rangelastRow
- last row index of the cells rangelastColumn
- last column index of the cells rangegroupRowsColumns
- the grouping per rows or columns option. Possible values are available in DataGroup
class.isCollapsed
- true if the data group is collapsed, false if the data group is expandedpublic ExcelDataGroup(System.String range, int groupRowsColumns, bool isCollapsed, ExcelAutoFormat xlsAutoFormat)
range
- the area location of the data group. It can be a cell reference or a range.groupRowsColumns
- the grouping per rows or columns option. Possible values are available in DataGroup
class.isCollapsed
- true if the data group is collapsed, false if the data group is expandedxlsAutoFormat
- the autoformat to be appliedpublic ExcelDataGroup(int firstRow, int firstColumn, int lastRow, int lastColumn, int groupRowsColumns, bool isCollapsed, ExcelAutoFormat xlsAutoFormat)
firstRow
- first row index of the cells rangefirstColumn
- first column index of the cells rangelastRow
- last row index of the cells rangelastColumn
- last column index of the cells rangegroupRowsColumns
- the grouping per rows or columns option. Possible values are available in DataGroup
class.isCollapsed
- true if the data group is collapsed, false if the data group is expandedxlsAutoFormat
- the autoformat to be appliedMethod Detail |
public void setFirstRow(int firstRow)
firstRow
- the first row of the cell range where the data group is locatedgetFirstRow()
,
setLastRow(int)
,
setFirstColumn(int)
,
setLastColumn(int)
,
setRange(int,int,int,int)
,
setRange(String)
public int getFirstRow()
setFirstRow(int)
,
getLastRow()
,
getFirstColumn()
,
getLastColumn()
,
setRange(int,int,int,int)
,
setRange(String)
public void setLastRow(int lastRow)
lastRow
- the last row of the cell range where the data group is locatedgetLastRow()
,
setFirstRow(int)
,
setFirstColumn(int)
,
setLastColumn(int)
,
setRange(int,int,int,int)
,
setRange(String)
public int getLastRow()
setLastRow(int)
,
getFirstRow()
,
getFirstColumn()
,
getLastColumn()
,
setRange(int,int,int,int)
,
setRange(String)
public void setFirstColumn(int firstColumn)
firstColumn
- the first column of the cell range where the data group is locatedgetFirstColumn()
,
setFirstRow(int)
,
setLastRow(int)
,
setLastColumn(int)
,
setRange(int,int,int,int)
,
setRange(String)
public int getFirstColumn()
setFirstColumn(int)
,
getFirstRow()
,
getLastRow()
,
getLastColumn()
,
setRange(int,int,int,int)
,
setRange(String)
public void setLastColumn(int lastColumn)
lastColumn
- the last column of the cell range where the data group is locatedgetLastColumn()
,
setFirstRow(int)
,
setLastRow(int)
,
setFirstColumn(int)
,
setRange(int,int,int,int)
,
setRange(String)
public int getLastColumn()
setLastColumn(int)
,
getFirstRow()
,
getLastRow()
,
getFirstColumn()
,
setRange(int,int,int,int)
,
setRange(String)
public void setRange(int firstRow, int firstColumn, int lastRow, int lastColumn)
firstRow
- first row index of the cells rangelastRow
- last row index of the cells rangefirstColumn
- first column index of the cells rangelastColumn
- last column index of the cells rangesetRange(String)
,
getFirstRow()
,
getLastRow()
,
getFirstColumn()
,
getLastColumn()
public void setRange(System.String range)
range
- the area location of the data group. It can be a cell reference or a range.setRange(int,int,int,int)
,
getFirstRow()
,
getLastRow()
,
getFirstColumn()
,
getLastColumn()
public int getGroupType()
DataGroup
class.
setGroupType(int)
public void setGroupType(int groupRowsColumns)
DataGroup
class.
groupRowsColumns
- the group per rows or columns optiongetGroupType()
public bool IsCollapsed()
setCollapsed(bool)
public void setCollapsed(bool isCollapsed)
isCollapsed
- true if the data group is collapsed, false if the data group is expandedIsCollapsed()
public ExcelAutoFormat getAutoFormat()
setAutoFormat(ActiveXLS.ExcelAutoFormat)
public void setAutoFormat(ExcelAutoFormat xlsAutoFormat)
xlsAutoFormat
- the autoformat to be appliedgetAutoFormat()
public ExcelDataGroup Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |