|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelAutoFormat
This class stores the table autoformat information like font name, font size, font bold, font italic, word wrap, font underline style, font subscript, font superscript, font strikethrough, background color, foreground color, horizontal alignment, vertical alignment, number or date format, cell locked or hidden, shrink, border type, border color. A table autoformat can be applied to a range of cells.
Constructor Summary | |
ExcelAutoFormat()
Defines a table autoformat that is initialized with the default style. |
|
ExcelAutoFormat(ExcelAutoFormat xlsAutoFormat)
Defines a table autoformat based on a predefined autoformat. |
|
ExcelAutoFormat(ExcelStyle xlsStyleTable)
Defines a table autoformat that is initialized with a specific style. |
|
ExcelAutoFormat(ExcelStyle xlsStyleTable,
ExcelStyle xlsStyleTableHeaderRow,
ExcelStyle xlsStyleTableFooterRow)
Defines a table autoformat that is initialized with a specific style and has a specific header row and footer row style. |
|
ExcelAutoFormat(ExcelStyle xlsStyleEvenRowStripes,
ExcelStyle xlsStyleOddRowStripes,
ExcelStyle xlsStyleTableHeaderRow,
ExcelStyle xlsStyleTableFooterRow)
Defines a table autoformat that is initialized with a specific striped style and has a specific header row and footer row style. |
|
ExcelAutoFormat(int autoformat)
Defines a table autoformat that is one of the predefined autoformats. |
Method Summary | |
ExcelAutoFormat |
Clone()
Creates and returns a copy of this object. |
int |
getAutoFormatType()
Returns the type of this autoformat. |
ExcelStyle |
getBottomLeftCellStyle()
Returns the style applied to the bottom left cell. |
ExcelStyle |
getBottomRightCellStyle()
Returns the style applied to the bottom right cell. |
ExcelStyle |
getEvenColumnStripesStyle()
Returns the style applied to the even columns. |
ExcelStyle |
getEvenRowStripesStyle()
Returns the style applied to the even rows. |
ExcelStyle |
getFooterRowStyle()
Returns the style applied to the footer row. |
ExcelStyle |
getHeaderRowStyle()
Returns the style applied to the header row. |
ExcelStyle |
getLeftColumnStyle()
Returns the style applied to the left column. |
ExcelStyle |
getOddColumnStripesStyle()
Returns the style applied to the odd columns. |
ExcelStyle |
getOddRowStripesStyle()
Returns the style applied to the odd rows. |
ExcelStyle |
getRightColumnStyle()
Returns the style applied to the right column. |
ExcelStyle |
getTableStyle()
Returns the style applied to the table. |
ExcelStyle |
getTopLeftCellStyle()
Returns the style applied to the top left cell. |
ExcelStyle |
getTopRightCellStyle()
Returns the style applied to the top right cell. |
void |
InitAs(int autoformat)
Initializes the table autoformat that is one of the predefined autoformats. |
void |
setBottomLeftCellStyle(ExcelStyle xlsStyle)
Sets the style of the bottom left cell. |
void |
setBottomRightCellStyle(ExcelStyle xlsStyle)
Sets the style of the bottom right cell. |
void |
setEvenColumnStripesStyle(ExcelStyle xlsStyle)
Sets the style of the even columns. |
void |
setEvenRowStripesStyle(ExcelStyle xlsStyle)
Sets the style of the even rows. |
void |
setFooterRowStyle(ExcelStyle xlsStyle)
Sets the style of the footer row. |
void |
setHeaderRowStyle(ExcelStyle xlsStyle)
Sets the style of the header row. |
void |
setLeftColumnStyle(ExcelStyle xlsStyle)
Sets the style of the left column. |
void |
setOddColumnStripesStyle(ExcelStyle xlsStyle)
Sets the style of the odd columns. |
void |
setOddRowStripesStyle(ExcelStyle xlsStyle)
Sets the style of the odd rows. |
void |
setRightColumnStyle(ExcelStyle xlsStyle)
Sets the style of the right column. |
void |
setTableStyle(ExcelStyle xlsStyle)
Sets the style of the table. |
void |
setTopLeftCellStyle(ExcelStyle xlsStyle)
Sets the style of the top left cell. |
void |
setTopRightCellStyle(ExcelStyle xlsStyle)
Sets the style of the top right cell. |
Constructor Detail |
public ExcelAutoFormat()
public ExcelAutoFormat(int autoformat)
autoformat
- the predefined autoformat. Possible values are available in Styles
class.public ExcelAutoFormat(ExcelStyle xlsStyleTable)
xlsStyleTable
- the style applied to the tablepublic ExcelAutoFormat(ExcelStyle xlsStyleTable, ExcelStyle xlsStyleTableHeaderRow, ExcelStyle xlsStyleTableFooterRow)
xlsStyleTable
- the style applied to the tablexlsStyleTableHeaderRow
- the style applied to the header rowxlsStyleTableFooterRow
- the style applied to the footer rowpublic ExcelAutoFormat(ExcelStyle xlsStyleEvenRowStripes, ExcelStyle xlsStyleOddRowStripes, ExcelStyle xlsStyleTableHeaderRow, ExcelStyle xlsStyleTableFooterRow)
xlsStyleEvenRowStripes
- the style applied to the even rowsxlsStyleOddRowStripes
- the style applied to the odd rowsxlsStyleTableHeaderRow
- the style applied to the header rowxlsStyleTableFooterRow
- the style applied to the footer rowpublic ExcelAutoFormat(ExcelAutoFormat xlsAutoFormat)
xlsAutoFormat
- the table autoformatMethod Detail |
public void setTableStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the tablegetTableStyle()
,
setHeaderRowStyle(ActiveXLS.ExcelStyle)
,
setFooterRowStyle(ActiveXLS.ExcelStyle)
,
setLeftColumnStyle(ActiveXLS.ExcelStyle)
,
setRightColumnStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getTableStyle()
setTableStyle(ActiveXLS.ExcelStyle)
,
getHeaderRowStyle()
,
getFooterRowStyle()
,
getLeftColumnStyle()
,
getRightColumnStyle()
public void setHeaderRowStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the header rowgetHeaderRowStyle()
,
setTableStyle(ActiveXLS.ExcelStyle)
,
setFooterRowStyle(ActiveXLS.ExcelStyle)
,
setLeftColumnStyle(ActiveXLS.ExcelStyle)
,
setRightColumnStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getHeaderRowStyle()
setHeaderRowStyle(ActiveXLS.ExcelStyle)
,
getTableStyle()
,
getFooterRowStyle()
,
getLeftColumnStyle()
,
getRightColumnStyle()
public void setFooterRowStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the footer rowgetFooterRowStyle()
,
setHeaderRowStyle(ActiveXLS.ExcelStyle)
,
setTableStyle(ActiveXLS.ExcelStyle)
,
setLeftColumnStyle(ActiveXLS.ExcelStyle)
,
setRightColumnStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getFooterRowStyle()
setFooterRowStyle(ActiveXLS.ExcelStyle)
,
getTableStyle()
,
getHeaderRowStyle()
,
getLeftColumnStyle()
,
getRightColumnStyle()
public void setLeftColumnStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the left columngetLeftColumnStyle()
,
setTableStyle(ActiveXLS.ExcelStyle)
,
setHeaderRowStyle(ActiveXLS.ExcelStyle)
,
setFooterRowStyle(ActiveXLS.ExcelStyle)
,
setRightColumnStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getLeftColumnStyle()
setLeftColumnStyle(ActiveXLS.ExcelStyle)
,
getTableStyle()
,
getHeaderRowStyle()
,
getFooterRowStyle()
,
getRightColumnStyle()
public void setRightColumnStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the right columngetRightColumnStyle()
,
setHeaderRowStyle(ActiveXLS.ExcelStyle)
,
setFooterRowStyle(ActiveXLS.ExcelStyle)
,
setTableStyle(ActiveXLS.ExcelStyle)
,
setLeftColumnStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getRightColumnStyle()
setRightColumnStyle(ActiveXLS.ExcelStyle)
,
getTableStyle()
,
getHeaderRowStyle()
,
getFooterRowStyle()
,
getLeftColumnStyle()
public void setTopLeftCellStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the top left cellgetTopLeftCellStyle()
,
setTopRightCellStyle(ActiveXLS.ExcelStyle)
,
setBottomLeftCellStyle(ActiveXLS.ExcelStyle)
,
setBottomRightCellStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getTopLeftCellStyle()
setTopLeftCellStyle(ActiveXLS.ExcelStyle)
,
getTopRightCellStyle()
,
getBottomLeftCellStyle()
,
getBottomRightCellStyle()
public void setTopRightCellStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the top right cellgetTopRightCellStyle()
,
setTopLeftCellStyle(ActiveXLS.ExcelStyle)
,
setBottomLeftCellStyle(ActiveXLS.ExcelStyle)
,
setBottomRightCellStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getTopRightCellStyle()
setTopRightCellStyle(ActiveXLS.ExcelStyle)
,
getTopLeftCellStyle()
,
getBottomLeftCellStyle()
,
getBottomRightCellStyle()
public void setBottomLeftCellStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the bottom left cellgetBottomLeftCellStyle()
,
setTopLeftCellStyle(ActiveXLS.ExcelStyle)
,
setTopRightCellStyle(ActiveXLS.ExcelStyle)
,
setBottomRightCellStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getBottomLeftCellStyle()
setBottomLeftCellStyle(ActiveXLS.ExcelStyle)
,
getTopLeftCellStyle()
,
getTopRightCellStyle()
,
getBottomRightCellStyle()
public void setBottomRightCellStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the bottom right cellgetBottomRightCellStyle()
,
setTopLeftCellStyle(ActiveXLS.ExcelStyle)
,
setTopRightCellStyle(ActiveXLS.ExcelStyle)
,
setBottomLeftCellStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getBottomRightCellStyle()
setBottomRightCellStyle(ActiveXLS.ExcelStyle)
,
getTopLeftCellStyle()
,
getTopRightCellStyle()
,
getBottomLeftCellStyle()
public void setEvenRowStripesStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the even rowsgetEvenRowStripesStyle()
,
setHeaderRowStyle(ActiveXLS.ExcelStyle)
,
setFooterRowStyle(ActiveXLS.ExcelStyle)
,
setOddRowStripesStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getEvenRowStripesStyle()
setEvenRowStripesStyle(ActiveXLS.ExcelStyle)
,
getHeaderRowStyle()
,
getFooterRowStyle()
,
getOddRowStripesStyle()
public void setEvenColumnStripesStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the even columnsgetEvenColumnStripesStyle()
,
setLeftColumnStyle(ActiveXLS.ExcelStyle)
,
setRightColumnStyle(ActiveXLS.ExcelStyle)
,
setOddColumnStripesStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getEvenColumnStripesStyle()
setEvenColumnStripesStyle(ActiveXLS.ExcelStyle)
,
getLeftColumnStyle()
,
getRightColumnStyle()
,
getOddColumnStripesStyle()
public void setOddRowStripesStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the odd rowsgetOddRowStripesStyle()
,
setHeaderRowStyle(ActiveXLS.ExcelStyle)
,
setFooterRowStyle(ActiveXLS.ExcelStyle)
,
setEvenRowStripesStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getOddRowStripesStyle()
setOddRowStripesStyle(ActiveXLS.ExcelStyle)
,
getHeaderRowStyle()
,
getFooterRowStyle()
,
getEvenRowStripesStyle()
public void setOddColumnStripesStyle(ExcelStyle xlsStyle)
xlsStyle
- the style applied to the odd columnsgetOddColumnStripesStyle()
,
setLeftColumnStyle(ActiveXLS.ExcelStyle)
,
setRightColumnStyle(ActiveXLS.ExcelStyle)
,
setEvenColumnStripesStyle(ActiveXLS.ExcelStyle)
public ExcelStyle getOddColumnStripesStyle()
setOddColumnStripesStyle(ActiveXLS.ExcelStyle)
,
getLeftColumnStyle()
,
getRightColumnStyle()
,
getEvenColumnStripesStyle()
public void InitAs(int autoformat)
autoformat
- the predefined autoformat. Possible values are available in Styles
class.public int getAutoFormatType()
Styles
class. The method returns -1 if the autoformat is user defined.public ExcelAutoFormat Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |