|
fop 0.94 | |||||||||
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.PageNumberCitationLayoutManager
public class PageNumberCitationLayoutManager
LayoutManager for the fo:page-number-citation formatting object
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.layoutmgr.inline.LeafNodeLayoutManager |
---|
LeafNodeLayoutManager.AreaInfo |
Field Summary | |
---|---|
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, markers, parentLM |
Fields inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
---|
generatesBlockArea, generatesReferenceArea |
Constructor Summary | |
---|---|
PageNumberCitationLayoutManager(PageNumberCitation 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, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getPSLM, hasNextChildLM, isFinished, isFirst, isLast, notifyPos, reset, resetPosition, setFinished, setParent, 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, toString, 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, resetPosition, setFinished, setParent |
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext |
---|
getBaseLength |
Field Detail |
---|
protected Font font
protected boolean resolved
Constructor Detail |
---|
public PageNumberCitationLayoutManager(PageNumberCitation node)
node
- the formatting object that creates this areaMethod Detail |
---|
public void initialize()
LayoutManager
initialize
in interface LayoutManager
initialize
in class AbstractLayoutManager
LayoutManager.initialize()
protected AlignmentContext makeAlignmentContext(LayoutContext context)
LeafNodeLayoutManager
makeAlignmentContext
in class LeafNodeLayoutManager
context
- the layout context used
LeafNodeLayoutManager.makeAlignmentContext(LayoutContext)
public InlineArea get(LayoutContext context)
LeafNodeLayoutManager
get
in class LeafNodeLayoutManager
context
- the context used to create the area
LeafNodeLayoutManager.get(LayoutContext)
public void addAreas(PositionIterator posIter, LayoutContext context)
LeafNodeLayoutManager
addAreas
in interface LayoutManager
addAreas
in class LeafNodeLayoutManager
posIter
- the position iteratorcontext
- the layout context for adding the areaLeafNodeLayoutManager.addAreas(PositionIterator
, LayoutContext)
protected void updateTextAreaTraits(TextArea text)
text
- the text areaprotected int getStringWidth(java.lang.String str)
str
- string to be measured
protected void addId()
LeafNodeLayoutManager
addId
in class LeafNodeLayoutManager
LeafNodeLayoutManager.addId()
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |