fop 0.90alpha1

org.apache.fop.layoutmgr
Interface BlockLevelLayoutManager

All Superinterfaces:
LayoutManager, PercentBaseContext
All Known Implementing Classes:
BlockStackingLayoutManager, FlowLayoutManager, LineLayoutManager, TableCellLayoutManager

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, resetPosition, setFinished, setParent
 
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext
getBaseLength
 

Field Detail

NO_ADJUSTMENT

public static final int NO_ADJUSTMENT
Adjustment class: no adjustment

SPACE_BEFORE_ADJUSTMENT

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

SPACE_AFTER_ADJUSTMENT

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

LINE_NUMBER_ADJUSTMENT

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

LINE_HEIGHT_ADJUSTMENT

public static final int LINE_HEIGHT_ADJUSTMENT
Adjustment class: adjustment for line height
Method Detail

negotiateBPDAdjustment

public int negotiateBPDAdjustment(int adj,
                                  KnuthElement lastElement)

discardSpace

public void discardSpace(KnuthGlue spaceGlue)

mustKeepTogether

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

mustKeepWithPrevious

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

mustKeepWithNext

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

fop 0.90alpha1

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