Package org.apache.fop.layoutmgr
Interface LayoutManagerMaker
- All Known Implementing Classes:
LayoutManagerMapping
public interface LayoutManagerMaker
The interface for all LayoutManager makers
-
Method Summary
Modifier and TypeMethodDescriptionmakeContentLayoutManager
(PageSequenceLayoutManager pslm, Title title) Make a ContentLayoutManager object.Make a ExternalDocumentLayoutManager object for the fox:external-document extension.makeFlowLayoutManager
(PageSequenceLayoutManager pslm, Flow flow) Make a FlowLayoutManager object.makeLayoutManager
(FONode node) Make a specific LayoutManager for the node.void
makeLayoutManagers
(FONode node, List lms) Make LayoutManagers for the node and add them to the list lms.Make a PageSequenceLayoutManager object.makeStaticContentLayoutManager
(PageSequenceLayoutManager pslm, StaticContent sc, Block block) Make a StaticContentLayoutManager object for a footnote-separator.Make a StaticContentLayoutManager object.
-
Method Details
-
makeLayoutManagers
Make LayoutManagers for the node and add them to the list lms.- Parameters:
node
- the FO node for which the LayoutManagers are madelms
- the list to which the LayoutManagers are added
-
makeLayoutManager
Make a specific LayoutManager for the node. If not exactly one LayoutManagers is available, an IllegalStateException is thrown.- Parameters:
node
- the FO node for which the LayoutManagers are made- Returns:
- The created LayoutManager
-
makePageSequenceLayoutManager
Make a PageSequenceLayoutManager object.- Parameters:
ath
- the AreaTreeHandler object the PSLM interacts withps
- the fo:page-sequence object this PSLM will process- Returns:
- The created PageSequenceLayoutManager object
-
makeExternalDocumentLayoutManager
ExternalDocumentLayoutManager makeExternalDocumentLayoutManager(AreaTreeHandler ath, ExternalDocument ed) Make a ExternalDocumentLayoutManager object for the fox:external-document extension.- Parameters:
ath
- the AreaTreeHandler object the external-document interacts withed
- the fox:external-document object to be processed- Returns:
- The created ExternalDocumentLayoutManager object
-
makeFlowLayoutManager
Make a FlowLayoutManager object.- Parameters:
pslm
- the parent PageSequenceLayoutManager objectflow
- the fo:flow object this FLM will process- Returns:
- The created FlowLayoutManager object
-
makeContentLayoutManager
Make a ContentLayoutManager object.- Parameters:
pslm
- the parent PageSequenceLayoutManager objecttitle
- the fo:title object this CLM will process- Returns:
- The created ContentLayoutManager object
-
makeStaticContentLayoutManager
StaticContentLayoutManager makeStaticContentLayoutManager(PageSequenceLayoutManager pslm, StaticContent sc, SideRegion reg) Make a StaticContentLayoutManager object.- Parameters:
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.- Returns:
- The created StaticContentLayoutManager object
-
makeStaticContentLayoutManager
StaticContentLayoutManager makeStaticContentLayoutManager(PageSequenceLayoutManager pslm, StaticContent sc, Block block) Make a StaticContentLayoutManager object for a footnote-separator.- Parameters:
pslm
- the parent PageSequenceLayoutManager objectsc
- the fo:static-content object this SCLM will processblock
- the Block area this SCLM must add its areas to- Returns:
- The created StaticContentLayoutManager object
-