|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDetailAreaFormat
This interface enables you to get and set the formatting behaviour of a detail area.
Method Summary | |
---|---|
DetailPrintDirection |
getDetailPrintDirection()
Gets the detail print direction, which specifies whether the data should first be printed across or down, when multi-column formatting is enabled. |
int |
getDetailWidth()
Gets the width of one detail column. |
boolean |
getEnableFormatGroupWithMultipleColumn()
Gets whether groups should be formatted with multiple columns using the same multi-column formatting options as the detail section. |
boolean |
getEnableMultipleColumnFormatting()
Gets whether the report uses multi-column formatting. |
int |
getHorizontalGap()
Gets the horizontal gap between detail columns. |
int |
getVerticalGap()
Gets the vertical gap between details. |
void |
setDetailPrintDirection(DetailPrintDirection detailPrintDirection)
Sets the detail print direction, which specifies whether the data should first be printed across or down, when multi-column formatting is enabled. |
void |
setDetailWidth(int detailWidth)
Sets the width of one detail column. |
void |
setEnableFormatGroupWithMultipleColumn(boolean enableFormatGroupWithMultipleColumn)
Sets whether groups should be formatted with multiple columns using the same multi-column formatting options as the detail section. |
void |
setEnableMultipleColumnFormatting(boolean enableMultipleColumnFormatting)
Sets whether the report should use multi-column formatting. |
void |
setHorizontalGap(int horizontalGap)
Sets the horizontal gap between detail columns. |
void |
setVerticalGap(int verticalGap)
Sets the vertical gap between details. |
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.IAreaFormat |
---|
getEnableHideForDrillDown, setEnableHideForDrillDown |
Methods inherited from interface com.crystaldecisions.sdk.occa.report.definition.ISectionAreaFormat |
---|
getBackgroundColor, getConditionFormulas, getEnableKeepTogether, getEnableNewPageAfter, getEnableNewPageBefore, getEnablePrintAtBottomOfPage, getEnableResetPageNumberAfter, getEnableSuppress, setBackgroundColor, setConditionFormulas, setEnableKeepTogether, setEnableNewPageAfter, setEnableNewPageBefore, setEnablePrintAtBottomOfPage, setEnableResetPageNumberAfter, setEnableSuppress |
Method Detail |
---|
boolean getEnableMultipleColumnFormatting()
Instead of having the data print straight down the page, you can set up multiple columns and have the data flow from column to column. You can also have your data print across then down the page, printing one record in each column, then printing a second record in each column, then a third, and so on.
true
if multi-column formatting is enabled, or false
if
it is disabled.setEnableMultipleColumnFormatting(boolean)
void setEnableMultipleColumnFormatting(boolean enableMultipleColumnFormatting)
Instead of having the data print straight down the page, you can set up multiple columns and have the data flow from column to column. You can also have your data print across then down the page, printing one record in each column, then printing a second record in each column, then a third, and so on.
enableMultipleColumnFormatting
- true
to enable multi-column formatting,
or false
to disable it.boolean getEnableFormatGroupWithMultipleColumn()
The multi-column formatting options include Width, Gap, and Print Direction.
true
if groups use the same multi-column formatting as the detail
section, or false
otherwise.void setEnableFormatGroupWithMultipleColumn(boolean enableFormatGroupWithMultipleColumn)
The multi-column formatting options include Width, Gap, and Print Direction.
enableFormatGroupWithMultipleColumn
- true
to enable groups to use the same multi-column formattting
as the detail section, or false
to disable it.int getDetailWidth()
int
specifying the width of one detail columnvoid setDetailWidth(int detailWidth)
detailWidth
- the width of one detail columnint getHorizontalGap()
The horizontal gap is the empty space between details going across the page.
void setHorizontalGap(int horizontalGap)
The horizontal gap is the empty space you want to allow between details going across the page.
horizontalGap
- The size of the horizontal gap.int getVerticalGap()
The vertical gap is the empty space between details going down the page.
void setVerticalGap(int verticalGap)
The vertical gap is the empty space you want to allow between details going down the page.
verticalGap
- The size of the vertical gap.DetailPrintDirection getDetailPrintDirection()
DetailPrintDirection
void setDetailPrintDirection(DetailPrintDirection detailPrintDirection)
detailPrintDirection
- the detail print direction to use when multi-column formatting is enabledDetailPrintDirection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |