fop 0.94 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.fop.area.AreaTreeObject
org.apache.fop.area.Page
Field Summary |
Fields inherited from class org.apache.fop.area.AreaTreeObject | |
foreignAttributes |
Constructor Summary | |
| |
|
Method Summary | |
Object |
|
void |
|
RegionViewport |
|
Map |
|
boolean |
|
void |
|
void |
|
Methods inherited from class org.apache.fop.area.AreaTreeObject | |
getForeignAttributeValue , getForeignAttributes , setForeignAttribute , setForeignAttributes |
public Page()
Empty constructor, for cloning
public Page(SimplePageMaster spm)
Constructor
- Parameters:
spm
- SimplePageMaster containing the dimensions for this page-reference-area
public Object clone()
Clone this page. This returns a new page with a clone of all the regions.
- Returns:
- a new clone of this page
public void fakeNonEmpty()
Call this method to force this page to pretend not to be empty.
public RegionViewport getRegionViewport(int areaclass)
Get the region from this page.
- Parameters:
areaclass
- the region area class
- Returns:
- the region viewport or null if none
public Map getUnresolvedReferences()
Get the map unresolved references from this page. This should be called after deserializing to retrieve the map of unresolved references that were serialized.
- Returns:
- the de-serialized HashMap of unresolved objects
public boolean isEmpty()
indicates whether any FOs have been added to the body region
- Returns:
- whether any FOs have been added to the body region
public void setRegionViewport(int areaclass, RegionViewport port)
Set the region on this page.
- Parameters:
areaclass
- the area class of the region to setport
- the region viewport to set
public void setUnresolvedReferences(Map unres)
Set the unresolved references on this page for serializing.
- Parameters:
unres
- the Map of unresolved objects
fop 0.94 |