|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.layoutmgr.AbstractBaseLayoutManager
org.apache.fop.layoutmgr.AbstractLayoutManager
org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager
org.apache.fop.layoutmgr.PageSequenceLayoutManager
public class PageSequenceLayoutManager
LayoutManager for a PageSequence. This class is instantiated by area.AreaTreeHandler for each fo:page-sequence found in the input document.
Field Summary |
---|
Fields inherited from class org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager |
---|
areaTreeHandler, curPage, currentPageNum, idTracker, pageSeq, startPageNum |
Fields inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
---|
childLMiter, childLMs, curChildLM, fobjIter, parentLayoutManager |
Fields inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
---|
fobj, generatesBlockArea, generatesReferenceArea |
Constructor Summary | |
---|---|
PageSequenceLayoutManager(AreaTreeHandler ath,
PageSequence pseq)
Constructor |
Method Summary | |
---|---|
void |
activateLayout()
Activate the layout of this page sequence. |
void |
addTableFooterFootnotes(java.util.List<java.util.List<KnuthElement>> footerFootnotes)
Registers the given footnotes so that they can be added to the current page, after any other footnote. |
void |
addTableHeaderFootnotes(java.util.List<java.util.List<KnuthElement>> headerFootnotes)
Registers the given footnotes so that they can be added to the current page, before any other footnote. |
void |
clearTableHeadingFootnotes()
Clears the footnotes coming from repeated table headers/footers, in order to start afresh for a new page. |
protected Page |
createPage(int pageNumber,
boolean isBlank)
Creates and returns a new page. |
protected void |
finishPage()
Finishes a page in preparation for a new page. |
void |
finishPageSequence()
Finished the page-sequence and notifies everyone about it. |
int |
getCurrentColumnWidth()
|
int |
getEndIntrusionAdjustment()
|
int |
getFloatHeight()
|
int |
getFloatYOffset()
|
FlowLayoutManager |
getFlowLayoutManager()
|
protected int |
getForcedLastPageNum(int lastPageNum)
The last page number of the sequence may be incremented, as determined by the force-page-count formatting property semantics |
protected int |
getLastPageNumber()
|
int |
getOffsetDueToFloat()
|
PageProvider |
getPageProvider()
|
protected PageSequence |
getPageSequence()
|
PageSequenceLayoutManager |
getPSLM()
Provides access to this object |
int |
getStartIntrusionAdjustment()
|
java.util.List<java.util.List<KnuthElement>> |
getTableFooterFootnotes()
|
java.util.List<java.util.List<KnuthElement>> |
getTableHeaderFootnotes()
|
protected int |
getWidthOfCurrentPage()
|
boolean |
handlingEndOfFloat()
|
boolean |
handlingStartOfFloat()
|
void |
holdFootnotes(java.util.List fl,
java.util.List ll,
int tfl,
int ifl,
boolean fp,
boolean nf,
int fnfi,
int fli,
int fei,
MinOptMax fsl,
int pfli,
int pfei)
|
protected Page |
makeNewPage(boolean isBlank)
Makes a new page |
void |
recordEndOfFloat(int fHeight)
|
void |
recordStartOfFloat(int fHeight,
int fYOffset)
|
void |
retrieveFootnotes(org.apache.fop.layoutmgr.PageBreakingAlgorithm alg)
|
void |
setEndIntrusionAdjustment(int eia)
|
void |
setStartIntrusionAdjustment(int sia)
|
Methods inherited from class org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager |
---|
addIDToPage, addUnresolvedArea, associateLayoutManagerID, doForcePageCount, getCurrentPage, getCurrentPageNum, getFirstPVWithID, getLastPVWithID, getLayoutManagerMaker, initialize, notifyEndOfLayout, reset, resolveRetrieveMarker, setCurrentPage |
Methods inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
---|
getAncestorBlockAreaBPD, getAncestorBlockAreaIPD, getBaseLength, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getNextKnuthElements, getParentAreaBPD, getParentAreaIPD, getReferenceAreaBPD, getReferenceAreaIPD, isRestartable, setGeneratesBlockArea, setGeneratesReferenceArea |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PageSequenceLayoutManager(AreaTreeHandler ath, PageSequence pseq)
ath
- the area tree handler objectpseq
- fo:page-sequence to processMethod Detail |
---|
public PageProvider getPageProvider()
protected PageSequence getPageSequence()
public PageSequenceLayoutManager getPSLM()
getPSLM
in interface LayoutManager
getPSLM
in class AbstractLayoutManager
public FlowLayoutManager getFlowLayoutManager()
public void activateLayout()
public void finishPageSequence()
protected Page createPage(int pageNumber, boolean isBlank)
createPage
in class AbstractPageSequenceLayoutManager
pageNumber
- the page numberisBlank
- true if it's a blank page
protected Page makeNewPage(boolean isBlank)
AbstractPageSequenceLayoutManager
makeNewPage
in class AbstractPageSequenceLayoutManager
isBlank
- whether this page is blank or not
protected void finishPage()
finishPage
in class AbstractPageSequenceLayoutManager
protected int getForcedLastPageNum(int lastPageNum)
lastPageNum
- number of sequence
protected int getLastPageNumber()
getLastPageNumber
in class AbstractPageSequenceLayoutManager
protected int getWidthOfCurrentPage()
public void addTableHeaderFootnotes(java.util.List<java.util.List<KnuthElement>> headerFootnotes)
headerFootnotes
- footnotes coming from a repeated table headerpublic java.util.List<java.util.List<KnuthElement>> getTableHeaderFootnotes()
public void addTableFooterFootnotes(java.util.List<java.util.List<KnuthElement>> footerFootnotes)
footerFootnotes
- footnotes coming from a repeated table footerpublic java.util.List<java.util.List<KnuthElement>> getTableFooterFootnotes()
public void clearTableHeadingFootnotes()
public void setStartIntrusionAdjustment(int sia)
public void setEndIntrusionAdjustment(int eia)
public int getStartIntrusionAdjustment()
public int getEndIntrusionAdjustment()
public void recordEndOfFloat(int fHeight)
public boolean handlingEndOfFloat()
public int getOffsetDueToFloat()
public void recordStartOfFloat(int fHeight, int fYOffset)
public boolean handlingStartOfFloat()
public int getFloatHeight()
public int getFloatYOffset()
public int getCurrentColumnWidth()
public void holdFootnotes(java.util.List fl, java.util.List ll, int tfl, int ifl, boolean fp, boolean nf, int fnfi, int fli, int fei, MinOptMax fsl, int pfli, int pfei)
public void retrieveFootnotes(org.apache.fop.layoutmgr.PageBreakingAlgorithm alg)
|
fop 2.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |