|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.engine.classic.core.modules.output.table.xls.helper.ExcelPageDefinition
public final class ExcelPageDefinition
A read only page format mapping definiton to map a page format to an predefined excel constant.
Constructor Summary | |
---|---|
ExcelPageDefinition(short pageFormatCode,
int width,
int height)
Defines a new excel page format mapping. |
|
ExcelPageDefinition(short pageFormatCode,
PageSize pageSize)
|
Method Summary | |
---|---|
int |
getHeight()
Returns the defined page height for that page definition. |
short |
getPageFormatCode()
Return the excel page format code that describes that page size. |
int |
getWidth()
Returns the defined page width for that page definition. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExcelPageDefinition(short pageFormatCode, int width, int height)
pageFormatCode
- the excel internal page format code.width
- the width of the page.height
- the height of the page.public ExcelPageDefinition(short pageFormatCode, PageSize pageSize)
Method Detail |
---|
public short getPageFormatCode()
public int getWidth()
public int getHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |