public class LayoutManagerMapping extends java.lang.Object implements LayoutManagerMaker
Constructor and Description |
---|
LayoutManagerMapping()
default constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
initialize()
Initializes the set of maker objects associated with this LayoutManagerMapping
|
ContentLayoutManager |
makeContentLayoutManager(PageSequenceLayoutManager pslm,
Title title)
Make a ContentLayoutManager object.
|
ExternalDocumentLayoutManager |
makeExternalDocumentLayoutManager(AreaTreeHandler ath,
ExternalDocument ed)
Make a ExternalDocumentLayoutManager object for the fox:external-document extension.
|
FlowLayoutManager |
makeFlowLayoutManager(PageSequenceLayoutManager pslm,
Flow flow)
Make a FlowLayoutManager object.
|
LayoutManager |
makeLayoutManager(FONode node)
Make a specific LayoutManager for the node.
|
void |
makeLayoutManagers(FONode node,
java.util.List lms)
Make LayoutManagers for the node and add them to the list lms.
|
PageSequenceLayoutManager |
makePageSequenceLayoutManager(AreaTreeHandler ath,
PageSequence ps)
Make a PageSequenceLayoutManager object.
|
StaticContentLayoutManager |
makeStaticContentLayoutManager(PageSequenceLayoutManager pslm,
StaticContent sc,
Block block)
Make a StaticContentLayoutManager object for a footnote-separator.
|
StaticContentLayoutManager |
makeStaticContentLayoutManager(PageSequenceLayoutManager pslm,
StaticContent sc,
SideRegion reg)
Make a StaticContentLayoutManager object.
|
protected void |
registerMaker(java.lang.Class clazz,
LayoutManagerMapping.Maker maker)
Registers a Maker class for a specific formatting object.
|
protected void initialize()
protected void registerMaker(java.lang.Class clazz, LayoutManagerMapping.Maker maker)
clazz
- the formatting object classmaker
- the maker for the layout managerpublic void makeLayoutManagers(FONode node, java.util.List lms)
makeLayoutManagers
in interface LayoutManagerMaker
node
- the FO node for which the LayoutManagers are madelms
- the list to which the LayoutManagers are addedpublic LayoutManager makeLayoutManager(FONode node)
makeLayoutManager
in interface LayoutManagerMaker
node
- the FO node for which the LayoutManagers are madepublic PageSequenceLayoutManager makePageSequenceLayoutManager(AreaTreeHandler ath, PageSequence ps)
makePageSequenceLayoutManager
in interface LayoutManagerMaker
ath
- the AreaTreeHandler object the PSLM interacts withps
- the fo:page-sequence object this PSLM will processpublic ExternalDocumentLayoutManager makeExternalDocumentLayoutManager(AreaTreeHandler ath, ExternalDocument ed)
makeExternalDocumentLayoutManager
in interface LayoutManagerMaker
ath
- the AreaTreeHandler object the external-document interacts withed
- the fox:external-document object to be processedpublic FlowLayoutManager makeFlowLayoutManager(PageSequenceLayoutManager pslm, Flow flow)
makeFlowLayoutManager
in interface LayoutManagerMaker
pslm
- the parent PageSequenceLayoutManager objectflow
- the fo:flow object this FLM will processpublic ContentLayoutManager makeContentLayoutManager(PageSequenceLayoutManager pslm, Title title)
makeContentLayoutManager
in interface LayoutManagerMaker
pslm
- the parent PageSequenceLayoutManager objecttitle
- the fo:title object this CLM will processpublic StaticContentLayoutManager makeStaticContentLayoutManager(PageSequenceLayoutManager pslm, StaticContent sc, SideRegion reg)
makeStaticContentLayoutManager
in interface LayoutManagerMaker
pslm
- the parent PageSequenceLayoutManager objectsc
- the fo:static-content object this SCLM will processreg
- the side region indicating where the static content
needs to be processed.public StaticContentLayoutManager makeStaticContentLayoutManager(PageSequenceLayoutManager pslm, StaticContent sc, Block block)
makeStaticContentLayoutManager
in interface LayoutManagerMaker
pslm
- the parent PageSequenceLayoutManager objectsc
- the fo:static-content object this SCLM will processblock
- the Block area this SCLM must add its areas toCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.