|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PageInfo
Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.
ThePageInfo interface describes the page setting of a report.
| Method Summary | |
|---|---|
int |
getHorizontalRecords()
Gets the maximum number of horizontal records displayed in the page. |
Margins |
getMargins()
Returns the Margins instance allowing to the margin information. |
Orientation |
getOrientation()
Returns the orientation of the report (portrait or landscape) |
PaperSize |
getPaperSize()
Gets the paper size type of the current report |
double |
getPaperSizeHeight()
Gets the height of the current page, in the current unity. |
double |
getPaperSizeWidth()
Gets the width of the current page in the current unity |
int |
getVerticalRecords()
Gets the maximum number of vertical records displayed in the page. |
void |
setHorizontalRecords(int nbRecords)
Specifies the maximum number of horizontal records that will be displayed in the report. |
void |
setOrientation(Orientation ori)
Changes the orientation of the page. |
void |
setPaperSize(PaperSize ps)
Changes the paper size. |
void |
setPaperSizeHeight(double height)
Changes the height of the page. |
void |
setPaperSizeWidth(double width)
Changes the width of the page. |
void |
setVerticalRecords(int nbRecords)
Specifies the maximum number of vertical records that will be displayed in the report. |
| Methods inherited from interface com.businessobjects.rebean.wi.Unit |
|---|
getUnit, setUnit |
| Method Detail |
|---|
Margins getMargins()
Margins instance allowing to the margin information.
Margins instance allowing to get and set margin information.Orientation getOrientation()
Orientationvoid setOrientation(Orientation ori)
ori - the new orientation
java.lang.NullPointerException - if ori is nullOrientationPaperSize getPaperSize()
PaperSizevoid setPaperSize(PaperSize ps)
ps - the new paper size
java.lang.NullPointerException - if ps is nullPaperSizedouble getPaperSizeWidth()
Unitvoid setPaperSizeWidth(double width)
PaperSize.CUSTOM.
The width will be set in the current unity.
java.lang.IllegalArgumentException - if width < 0Unit,
PageInfo.getPaperSize()double getPaperSizeHeight()
Unitvoid setPaperSizeHeight(double height)
PaperSize.CUSTOM.
The height will be set in the current unity.
java.lang.IllegalArgumentException - if height < 0Unit,
PageInfo.getPaperSize()int getHorizontalRecords()
void setHorizontalRecords(int nbRecords)
nbRecords - number of recordsint getVerticalRecords()
void setVerticalRecords(int nbRecords)
nbRecords - number of records
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||