fop svn-trunk

org.apache.fop.layoutmgr
Interface BlockLevelLayoutManager

All Superinterfaces:
LayoutManager, PercentBaseContext
All Known Implementing Classes:
BlockContainerLayoutManager, BlockLayoutManager, BlockStackingLayoutManager, FlowLayoutManager, FootnoteBodyLayoutManager, LineLayoutManager, ListBlockLayoutManager, ListItemContentLayoutManager, ListItemLayoutManager, StaticContentLayoutManager, TableAndCaptionLayoutManager, TableCaptionLayoutManager, TableCellLayoutManager, TableLayoutManager

public interface BlockLevelLayoutManager
extends LayoutManager

The interface for LayoutManagers which generate block areas


Field Summary
static int KEEP_ALWAYS
          The integer value for "always" keep strength
static int KEEP_AUTO
          The integer value for "auto" keep strength
static int LINE_HEIGHT_ADJUSTMENT
          Adjustment class: adjustment for line height
static int LINE_NUMBER_ADJUSTMENT
          Adjustment class: adjustment for number of lines
static int NO_ADJUSTMENT
          Adjustment class: no adjustment
static int SPACE_AFTER_ADJUSTMENT
          Adjustment class: adjustment for space-after
static int SPACE_BEFORE_ADJUSTMENT
          Adjustment class: adjustment for space-before
 
Method Summary
 void discardSpace(KnuthGlue spaceGlue)
           
 int getKeepTogetherStrength()
          Returns the keep-together strength for this element.
 int getKeepWithNextStrength()
          Returns the keep-with-next strength for this element.
 int getKeepWithPreviousStrength()
          Returns the keep-with-previous strength for this element.
 boolean mustKeepTogether()
           
 boolean mustKeepWithNext()
           
 boolean mustKeepWithPrevious()
           
 int negotiateBPDAdjustment(int adj, KnuthElement lastElement)
           
 
Methods inherited from interface org.apache.fop.layoutmgr.LayoutManager
addAreas, addChildArea, addChildLM, addChildLMs, createNextChildLMs, getChangedKnuthElements, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getNextKnuthElements, getParent, getParentArea, getPSLM, initialize, isFinished, notifyPos, setFinished, setParent
 
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext
getBaseLength
 

Field Detail

NO_ADJUSTMENT

static final int NO_ADJUSTMENT
Adjustment class: no adjustment

See Also:
Constant Field Values

SPACE_BEFORE_ADJUSTMENT

static final int SPACE_BEFORE_ADJUSTMENT
Adjustment class: adjustment for space-before

See Also:
Constant Field Values

SPACE_AFTER_ADJUSTMENT

static final int SPACE_AFTER_ADJUSTMENT
Adjustment class: adjustment for space-after

See Also:
Constant Field Values

LINE_NUMBER_ADJUSTMENT

static final int LINE_NUMBER_ADJUSTMENT
Adjustment class: adjustment for number of lines

See Also:
Constant Field Values

LINE_HEIGHT_ADJUSTMENT

static final int LINE_HEIGHT_ADJUSTMENT
Adjustment class: adjustment for line height

See Also:
Constant Field Values

KEEP_AUTO

static final int KEEP_AUTO
The integer value for "auto" keep strength

See Also:
Constant Field Values

KEEP_ALWAYS

static final int KEEP_ALWAYS
The integer value for "always" keep strength

See Also:
Constant Field Values
Method Detail

negotiateBPDAdjustment

int negotiateBPDAdjustment(int adj,
                           KnuthElement lastElement)

discardSpace

void discardSpace(KnuthGlue spaceGlue)

getKeepTogetherStrength

int getKeepTogetherStrength()
Returns the keep-together strength for this element.

Returns:
the keep-together strength

mustKeepTogether

boolean mustKeepTogether()
Returns:
true if this element must be kept together

getKeepWithPreviousStrength

int getKeepWithPreviousStrength()
Returns the keep-with-previous strength for this element.

Returns:
the keep-with-previous strength

mustKeepWithPrevious

boolean mustKeepWithPrevious()
Returns:
true if this element must be kept with the previous element.

getKeepWithNextStrength

int getKeepWithNextStrength()
Returns the keep-with-next strength for this element.

Returns:
the keep-with-next strength

mustKeepWithNext

boolean mustKeepWithNext()
Returns:
true if this element must be kept with the next element.

fop svn-trunk

Copyright 1999-2009 The Apache Software Foundation. All Rights Reserved.