public class Page extends AreaTreeObject implements java.io.Serializable
extensionAttachments, foreignAttributes
Constructor and Description |
---|
Page()
Empty constructor
|
Page(SimplePageMaster spm)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
void |
fakeNonEmpty()
Call this method to force this page to pretend not to be empty.
|
RegionViewport |
getRegionViewport(int areaClass)
Get the region from this page.
|
java.util.Map<java.lang.String,java.util.List<Resolvable>> |
getUnresolvedReferences()
Get the map unresolved references from this page.
|
boolean |
isEmpty()
Indicates whether any FOs have been added to the body region
|
void |
setRegionViewport(int areaclass,
RegionViewport port)
Set the region on this page.
|
void |
setUnresolvedReferences(java.util.Map<java.lang.String,java.util.List<Resolvable>> unres)
Set the unresolved references on this page for serializing.
|
void |
setWritingModeTraits(WritingModeTraitsGetter wmtg)
Sets the writing mode traits for the region viewports of
this page.
|
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
public Page()
public Page(SimplePageMaster spm)
spm
- SimplePageMaster containing the dimensions for this
page-reference-areapublic void fakeNonEmpty()
public void setRegionViewport(int areaclass, RegionViewport port)
areaclass
- the area class of the region to setport
- the region viewport to setpublic RegionViewport getRegionViewport(int areaClass)
areaClass
- the region area classpublic boolean isEmpty()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class AreaTreeObject
java.lang.CloneNotSupportedException
public void setUnresolvedReferences(java.util.Map<java.lang.String,java.util.List<Resolvable>> unres)
unres
- the Map of unresolved objectspublic java.util.Map<java.lang.String,java.util.List<Resolvable>> getUnresolvedReferences()
public void setWritingModeTraits(WritingModeTraitsGetter wmtg)
wmtg
- a WM traits getterCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.