|
fop 1.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.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, log, somethingChanged |
| Fields inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
|---|
childLMiter, childLMs, curChildLM, fobjIter, parentLayoutManager |
| 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. |
abstract InlineArea |
get(LayoutContext context)
get the inline area. |
protected int |
getBidiLevel()
|
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, addALetterSpaceTo, addChildArea, addKnuthElementsForBorderPaddingEnd, addKnuthElementsForBorderPaddingStart, applyChanges, applyChanges, getAllocationIPD, getChangedKnuthElements, getChangedKnuthElements, getEffectiveArea, getNextKnuthElements, getParentArea, getWordChars, hyphenate, offsetArea, resolved, setCommonBorderPaddingBackground, setCurrentArea, widthAdjustArea |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
|---|
addChildLM, addChildLMs, addId, addMarkersToPage, checkEndOfLayout, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getPSLM, hasNextChildLM, isFinished, isFirst, isLast, notifyEndOfLayout, notifyPos, reset, setCurrentChildLM, setFinished, setParent, toString, transferExtensionAttachments, transferExtensions, transferForeignAttributes |
| 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 |
| Methods inherited from interface org.apache.fop.layoutmgr.LayoutManager |
|---|
addChildLM, addChildLMs, createNextChildLMs, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getNextKnuthElements, getParent, getPSLM, isFinished, isRestartable, notifyPos, reset, 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 area
TODO better retrieval of font info| Method Detail |
|---|
public void initialize()
initialize in interface LayoutManagerinitialize in class AbstractLayoutManagerprotected AlignmentContext makeAlignmentContext(LayoutContext context)
makeAlignmentContext in class LeafNodeLayoutManagercontext - the layout context used
public abstract InlineArea get(LayoutContext context)
get in class LeafNodeLayoutManagercontext - the context used to create the area
public void addAreas(PositionIterator posIter,
LayoutContext context)
addAreas in interface LayoutManageraddAreas in class LeafNodeLayoutManagerposIter - 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 int getBidiLevel()
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||