public class Page extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isPagePositionOnly |
| Constructor and Description |
|---|
Page(Rectangle viewArea,
int pageNumber,
String pageNumberStr,
boolean blank)
Auxiliary constructor used when there's no SimplePageMaster.
|
Page(SimplePageMaster spm,
int pageNumber,
String pageNumberStr,
boolean blank,
boolean spanAll,
boolean isPagePositionOnly)
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
PageViewport |
getPageViewport() |
SimplePageMaster |
getSimplePageMaster() |
public Page(SimplePageMaster spm, int pageNumber, String pageNumberStr, boolean blank, boolean spanAll, boolean isPagePositionOnly)
spm - the simple-page-master used for this pagepageNumber - the page number (as an int)pageNumberStr - the page number (as a String)blank - true if this is a blank pagespanAll - true if the first span area spans all columnspublic Page(Rectangle viewArea, int pageNumber, String pageNumberStr, boolean blank)
viewArea - the view area of the pagepageNumber - the page number (as an int)pageNumberStr - the page number (as a String)blank - true if this is a blank pagepublic SimplePageMaster getSimplePageMaster()
public PageViewport getPageViewport()
Copyright © 2023 Apache Software Foundation. All rights reserved.