|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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()
Returns whether to show group outlines. |
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)
Sets whether to show group outlines. |
void |
setWorksheetFuncUsed(boolean useWorksheetFunc)
Sets whether or not to use Excel worksheet functions to represent summary fields. |
| Method Detail |
public 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.public 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.
public 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.public 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.
public 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.public 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.
public 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.public void setConstColWidth(double constColWidth)
Sets the size of the constant column width.
constColWidth - A double specifying the size of the constant column width.
public 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.public 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.
public 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.public 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.
public 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.public 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.
false otherwise.
public 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.public 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.
public 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.public 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.
public 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.public 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.
public 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.public 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.
public boolean isShowGroupOutlines()
throws SDKException
Returns whether to show group outlines. Only valid when the report format is ExcelDataOnly.
boolean value that indicates whether group outlines will be shown.
SDKException - This is thrown if the process is unsuccessful.public void setShowGroupOutlines(boolean shown)
Sets whether to show group outlines. Only valid when the report format is ExcelDataOnly.
shown - a boolean value that indicates whether group outlines will be shown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||