public final class ExcelPageDefinition extends Object
Constructor and Description |
---|
ExcelPageDefinition(short pageFormatCode,
int width,
int height)
Defines a new excel page format mapping.
|
ExcelPageDefinition(short pageFormatCode,
PageSize pageSize) |
Modifier and Type | Method and Description |
---|---|
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.
|
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)
public short getPageFormatCode()
public int getWidth()
public int getHeight()
Copyright © 2017 Hitachi Vantara. All rights reserved.