fop 0.95

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 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)
           
 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
Method Detail

negotiateBPDAdjustment

int negotiateBPDAdjustment(int adj,
                           KnuthElement lastElement)

discardSpace

void discardSpace(KnuthGlue spaceGlue)

mustKeepTogether

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

mustKeepWithPrevious

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

mustKeepWithNext

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

fop 0.95

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