|
fop 0.95 | |||||||||
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.inline.LeafNodeLayoutManager
org.apache.fop.layoutmgr.inline.AbstractPageNumberCitationLayoutManager
public abstract class AbstractPageNumberCitationLayoutManager
LayoutManager for the fo:page-number-citation(-last) formatting object
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.layoutmgr.inline.LeafNodeLayoutManager |
---|
LeafNodeLayoutManager.AreaInfo |
Field Summary | |
---|---|
protected AbstractPageNumberCitation |
fobj
The page number citation object |
protected Font |
font
Font for the page-number-citation |
protected boolean |
resolved
Indicates whether the page referred to by the citation has been resolved yet |
Fields inherited from class org.apache.fop.layoutmgr.inline.LeafNodeLayoutManager |
---|
alignmentContext, areaInfo, commonBorderPaddingBackground, curArea, isSomethingChanged, log |
Fields inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
---|
childLMiter, childLMs, curChildLM, fobjIter, parentLM |
Fields inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
---|
generatesBlockArea, generatesReferenceArea |
Constructor Summary | |
---|---|
AbstractPageNumberCitationLayoutManager(AbstractPageNumberCitation node)
Constructor |
Method Summary | |
---|---|
void |
addAreas(PositionIterator posIter,
LayoutContext context)
Add the area for this layout manager. |
protected void |
addId()
This method is called by addAreas() so IDs can be added to a page for FOs that support the 'id' property. |
InlineArea |
get(LayoutContext context)
get the inline area. |
protected int |
getStringWidth(java.lang.String str)
|
void |
initialize()
initialize the layout manager. |
protected AlignmentContext |
makeAlignmentContext(LayoutContext context)
Creates a new alignment context or returns the current alignment context. |
protected void |
updateTextAreaTraits(TextArea text)
Updates the traits for the generated text area. |
Methods inherited from class org.apache.fop.layoutmgr.inline.LeafNodeLayoutManager |
---|
addALetterSpaceTo, addChildArea, addKnuthElementsForBorderPaddingEnd, addKnuthElementsForBorderPaddingStart, applyChanges, getAllocationIPD, getChangedKnuthElements, getEffectiveArea, getNextKnuthElements, getParentArea, getWordChars, hyphenate, offsetArea, removeWordSpace, resolved, setCommonBorderPaddingBackground, setCurrentArea, widthAdjustArea |
Methods inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
---|
addChildLM, addChildLMs, addMarkersToPage, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getPSLM, hasNextChildLM, isFinished, isFirst, isLast, notifyPos, setFinished, setParent, toString, transferForeignAttributes |
Methods inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
---|
getAncestorBlockAreaBPD, getAncestorBlockAreaIPD, getBaseLength, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParentAreaBPD, getParentAreaIPD, getReferenceAreaBPD, getReferenceAreaIPD, setGeneratesBlockArea, setGeneratesReferenceArea |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.fop.layoutmgr.LayoutManager |
---|
addChildLM, addChildLMs, createNextChildLMs, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParent, getPSLM, isFinished, notifyPos, setFinished, setParent |
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext |
---|
getBaseLength |
Field Detail |
---|
protected AbstractPageNumberCitation fobj
protected Font font
protected boolean resolved
Constructor Detail |
---|
public AbstractPageNumberCitationLayoutManager(AbstractPageNumberCitation node)
node
- the formatting object that creates this areaMethod Detail |
---|
public void initialize()
initialize
in interface LayoutManager
initialize
in class AbstractLayoutManager
protected AlignmentContext makeAlignmentContext(LayoutContext context)
makeAlignmentContext
in class LeafNodeLayoutManager
context
- the layout context used
public InlineArea get(LayoutContext context)
get
in class LeafNodeLayoutManager
context
- the context used to create the area
public void addAreas(PositionIterator posIter, LayoutContext context)
addAreas
in interface LayoutManager
addAreas
in class LeafNodeLayoutManager
posIter
- the position iteratorcontext
- the layout context for adding the areaprotected void updateTextAreaTraits(TextArea text)
text
- the text areaprotected int getStringWidth(java.lang.String str)
str
- string to be measured
protected void addId()
addId
in class LeafNodeLayoutManager
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |