public class Page
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isPagePositionOnly |
Constructor and Description |
---|
Page(java.awt.Rectangle viewArea,
int pageNumber,
java.lang.String pageNumberStr,
boolean blank)
Auxiliary constructor used when there's no SimplePageMaster.
|
Page(SimplePageMaster spm,
int pageNumber,
java.lang.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, java.lang.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(java.awt.Rectangle viewArea, int pageNumber, java.lang.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 1999-2017 The Apache Software Foundation. All Rights Reserved.