|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IExcelFormat
The IExcelFormat interface allows you to set the options for a report that is to be scheduled
as an Excel spreadsheet. You can customize cell and column formats as well as how worksheet
functions are used.
| Nested Class Summary | |
|---|---|
static interface |
IExcelFormat.CeReportExportHeaderFooterOption
Specifies the way page header and footer are exported. |
static interface |
IExcelFormat.SectionType
Specifies the section to base the column width on when exporting to Excel. |
| Method Summary | |
|---|---|
short |
getBaseAreaGroupNum()
Returns which group section to base the column width on. |
int |
getBaseAreaType()
Returns which section to base the column width on. |
double |
getConstColWidth()
Returns the size of the constant column width. |
int |
getExportPageHeaderFooter()
Returns the way page header and footer are exported. |
boolean |
isColumnHeadingAvailable()
Returns whether or not to use column headings. |
boolean |
isConstColWidthUsed()
Returns whether or not to use constant column widths. |
boolean |
isDateConvertedToString()
Returns whether or not to convert the date to a string value. |
boolean |
isGridlineShown()
Returns whether or not to include gridlines during exporting. |
boolean |
isPageBreakCreated()
Returns whether or not to create page breaks. |
boolean |
isPageHeaderExported()
Returns whether or not to export the page header and footer. |
boolean |
isTabularFormat()
Returns whether or not to use a tabular format. |
void |
setBaseAreaGroupNum(short BaseAreaGroupNum)
Sets which group section to base the column width on. |
void |
setBaseAreaType(int baseAreaType)
Sets which section to base the column width on. |
void |
setColumnHeadingAvailable(boolean columnHeadings)
Sets whether or not to use column headings. |
void |
setConstColWidth(double constColWidth)
Sets the size of the constant column width. |
void |
setConstColWidthUsed(boolean useConstColWidth)
Sets whether or not to use constant column widths. |
void |
setDateConvertedToString(boolean convertDateToString)
Sets whether or not to convert the date to a string value. |
void |
setExportPageHeaderFooter(int type)
Sets the way page header and footer are exported. |
void |
setGridlineShown(boolean includeGridlines)
Sets whether or not to include gridlines during exporting. |
void |
setPageBreakCreated(boolean createPageBreak)
Sets whether or not to create page breaks. |
void |
setPageHeaderExported(boolean exportPageHeader)
Sets whether or not to export the page header and footer. |
void |
setTabularFormat(boolean isTabularFormat)
Sets whether or not to use a tabular format. |
| Methods inherited from interface com.crystaldecisions.sdk.plugin.desktop.common.IPageFormat |
|---|
getEndPageNumber, getStartPageNumber, isAllPagesExported, setAllPageExported, setEndPageNumber, setStartPageNumber |
| Method Detail |
|---|
boolean isColumnHeadingAvailable()
throws SDKException
Returns whether or not to use column headings.
true if column headings will be used, false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setColumnHeadingAvailable(boolean columnHeadings)
Sets whether or not to use column headings.
columnHeadings - true if column headings will be used,
false otherwise.
boolean isConstColWidthUsed()
throws SDKException
Returns whether or not to use constant column widths.
Note: The value for this property must be within the range 10-288.
true if constant column widths will be used, false
otherwise.
SDKException - This is thrown if the process is unsuccessful.void setConstColWidthUsed(boolean useConstColWidth)
Sets whether or not to use constant column widths.
Note: The value for this property must be within the range 10-288.
useConstColWidth - true if constant column widths will be used,
false otherwise.
double getConstColWidth()
throws SDKException
Returns the size of the constant column width.
Double specifying the size of the constant column width.
SDKException - This is thrown if the process is unsuccessful.void setConstColWidth(double constColWidth)
Sets the size of the constant column width.
constColWidth - A double specifying the size of the constant column width.
boolean isTabularFormat()
throws SDKException
Returns whether or not to use a tabular format.
true if tabular format will be used, false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setTabularFormat(boolean isTabularFormat)
Sets whether or not to use a tabular format.
isTabularFormat - true if tabular format will be used, false
otherwise.
int getBaseAreaType()
throws SDKException
Returns which section to base the column width on.
int specifying which section to base the column width on, of type IExcelFormat.SectionType.
SDKException - This is thrown if the process is unsuccessful.com.crystaldecisions.com.sdk.plugin.desktop.common.IExcelFormat.SectionTypevoid setBaseAreaType(int baseAreaType)
Sets which section to base the column width on.
baseAreaType - An int specifying which section to base the column width on,
of type IExcelFormat.SectionType.com.crystaldecisions.com.sdk.plugin.desktop.common.IExcelFormat.SectionType
short getBaseAreaGroupNum()
throws SDKException
Returns which group section to base the column width on. This is only valid when BaseAreaType specifies a group header or group footer.
short specifying the group section to base the column width on.
SDKException - This is thrown if the process is unsuccessful.void setBaseAreaGroupNum(short BaseAreaGroupNum)
Sets which group section to base the column width on. This is only valid when BaseAreaType specifies a group header or group footer.
BaseAreaGroupNum - A short specifying the group section to base the column width on.
boolean isPageBreakCreated()
throws SDKException
Returns whether or not to create page breaks.
true if page breaks will be created, and false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setPageBreakCreated(boolean createPageBreak)
Sets whether or not to create page breaks.
createPageBreak - true if page breaks will be created, and
false otherwise.
boolean isDateConvertedToString()
throws SDKException
Returns whether or not to convert the date to a string value.
true if date will be converted to string, and false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setDateConvertedToString(boolean convertDateToString)
Sets whether or not to convert the date to a string value.
convertDateToString - true if the date will be converted to a string value.
false otherwise.
boolean isPageHeaderExported()
throws SDKException
Returns whether or not to export the page header and footer.
true if the page header and footer will be exported,
and false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setPageHeaderExported(boolean exportPageHeader)
Sets whether or not to export the page header and footer.
exportPageHeader - true if the page header and footer will be exported,
false otherwise.
int getExportPageHeaderFooter()
throws SDKException
Returns the way page header and footer are exported.
int of type CeReportExportHeaderFooterOption.
SDKException - This is thrown if the process is unsuccessful.com.crystaldecisions.com.sdk.plugin.desktop.common.CeReportExportHeaderFooterOptionvoid setExportPageHeaderFooter(int type)
Sets the way page header and footer are exported.
type - page header and footer export format, corresponding to types defined in CeReportExportHeaderFooterOption.com.crystaldecisions.com.sdk.plugin.desktop.common.CeReportExportHeaderFooterOption
boolean isGridlineShown()
throws SDKException
Returns whether or not to include gridlines during exporting.
true if export include gridlines, false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setGridlineShown(boolean includeGridlines)
Sets whether or not to include gridlines during exporting.
includeGridlines - true if gridlines are included during exporting.
false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||