|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IExcelDataOnlyFormat
The IExcelDataOnlyFormat interface allows you to set the options for a report that
is to be exported as an Excel spreadsheet. You can customize the cell and column formats, as
well as how the worksheet functions are used.
| Method Summary | |
|---|---|
short |
getBaseAreaGroupNum()
Returns the group section the column width will be based on. |
int |
getBaseAreaType()
Returns the section the column width will be based on. |
double |
getConstColWidth()
Returns the size of the constant column width. |
boolean |
isColAlignmentMaintained()
Returns whether or not to maintain column alignments. |
boolean |
isConstColWidthUsed()
Returns whether or not to use constant column widths. |
boolean |
isFormatUsed()
Returns whether or not to export object formats and fonts. |
boolean |
isImageExported()
Returns whether or not to export images. |
boolean |
isPageHeaderExported()
Returns whether or not to export the header and footer. |
boolean |
isPageHeaderSimplified()
Returns whether or not to simplify the page header. |
boolean |
isRelativeObjPositionMaintained()
Returns whether to maintain relative object position. |
boolean |
isShowGroupOutlines()
|
boolean |
isWorksheetFuncUsed()
Returns whether or not to use Excel worksheet functions to represent summary fields. |
void |
setBaseAreaGroupNum(short BaseAreaGroupNum)
Sets the group section the column width will be based on. |
void |
setBaseAreaType(int baseAreaType)
Sets the section the column width will be based on. |
void |
setColAlignmentMaintained(boolean maintainColAlignment)
Sets whether or not to maintain column alignments. |
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 |
setFormatUsed(boolean useFormat)
Sets whether or not to export object formats and fonts. |
void |
setImageExported(boolean exportImage)
Sets whether or not to export images. |
void |
setPageHeaderExported(boolean exportPageHeader)
Sets whether or not to export the page header and footer. |
void |
setPageHeaderSimplified(boolean simplifyPageHeader)
Sets whether or not to simplify the page header. |
void |
setRelativeObjPositionMaintained(boolean placeInOneRow)
Sets whether to maintain relative object position. |
void |
setShowGroupOutlines(boolean shown)
|
void |
setWorksheetFuncUsed(boolean useWorksheetFunc)
Sets whether or not to use Excel worksheet functions to represent summary fields. |
| Method Detail |
|---|
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, and 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, and
false otherwise.
int getBaseAreaType()
throws SDKException
Returns the section the column width will be based on.
int specifying which section the column width will be based on.
SDKException - This is thrown if the process is unsuccessful.void setBaseAreaType(int baseAreaType)
Sets the section the column width will be based on.
baseAreaType - An int specifying which
section the column width will be based on.
short getBaseAreaGroupNum()
throws SDKException
Returns the group section the column width will be based on. This is only valid when BaseAreaType specifies a group header or group footer.
short specifying the group section the column width will be based on.
SDKException - This is thrown if the process is unsuccessful.void setBaseAreaGroupNum(short BaseAreaGroupNum)
Sets the group section the column width will be based on. This is only valid when BaseAreaType specifies a group header or group footer.
BaseAreaGroupNum - A short specifying the group section the column
width will be based on.
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 isPageHeaderExported()
throws SDKException
Returns whether or not to export the header and footer.
true if the page header and footer will be exported,
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.
boolean isPageHeaderSimplified()
throws SDKException
Returns whether or not to simplify the page header. This option is only valid when the report
format is ExcelDataOnly.
true if the page header will be simplified, false
otherwise.
SDKException - This is thrown if the process is unsuccessful.void setPageHeaderSimplified(boolean simplifyPageHeader)
Sets whether or not to simplify the page header. This option is only valid when the report
format is ExcelDataOnly.
simplifyPageHeader - true if the page header will be simplified,
false otherwise.
boolean isWorksheetFuncUsed()
throws SDKException
Returns whether or not to use Excel worksheet functions to represent summary fields. This option
is only valid when the report format is ExcelDataOnly.
true if worksheet functions will be used to represent subtotal fields,
false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setWorksheetFuncUsed(boolean useWorksheetFunc)
Sets whether or not to use Excel worksheet functions to represent summary fields. This option
is only valid when the report format is ExcelDataOnly.
useWorksheetFunc - true if worksheet functions will be used to represent
subtotal fields, false otherwise.
boolean isImageExported()
throws SDKException
Returns whether or not to export images. This option
is only valid when the report format is ExcelDataOnly.
true if images will be exported, false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setImageExported(boolean exportImage)
Sets whether or not to export images. This option
is only valid when the report format is ExcelDataOnly.
exportImage - true if images will be exported,
false otherwise.
boolean isFormatUsed()
throws SDKException
Returns whether or not to export object formats and fonts. This option
is only valid when the report format is ExcelDataOnly.
true if formats will be used, false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setFormatUsed(boolean useFormat)
Sets whether or not to export object formats and fonts. This option
is only valid when the report format is ExcelDataOnly.
useFormat - true if formats will be used,
false otherwise.
boolean isColAlignmentMaintained()
throws SDKException
Returns whether or not to maintain column alignments. This option
is only valid when the report format is ExcelDataOnly.
true if column alignments will be maintained, false
otherwise.
SDKException - This is thrown if the process is unsuccessful.void setColAlignmentMaintained(boolean maintainColAlignment)
Sets whether or not to maintain column alignments. This option
is only valid when the report format is ExcelDataOnly.
maintainColAlignment - true if column alignments will be maintained,
false otherwise.
boolean isRelativeObjPositionMaintained()
throws SDKException
Returns whether to maintain relative object position. Only valid when report format is ExcelDataOnly.
true if all section objects will be placed in one row, false otherwise.
SDKException - This is thrown if the process is unsuccessful.void setRelativeObjPositionMaintained(boolean placeInOneRow)
Sets whether to maintain relative object position. Only valid when report format is ExcelDataOnly.
placeInOneRow - true if all section objects will be placed in one row.
false otherwise.
boolean isShowGroupOutlines()
throws SDKException
SDKExceptionvoid setShowGroupOutlines(boolean shown)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||