org.apache.fop.layoutmgr.table

Class TableContentLayoutManager

Implemented Interfaces:
PercentBaseContext

public class TableContentLayoutManager
extends java.lang.Object
implements PercentBaseContext

Layout manager for table contents, particularly managing the creation of combined element lists.

Method Summary

int
getBaseLength(int lengthBase, FObj fobj)
protected LinkedList
getFooterElements()
protected int
getFooterNetHeight()
protected LinkedList
getHeaderElements()
protected int
getHeaderNetHeight()
LinkedList
getNextKnuthElements(LayoutContext context, int alignment)
protected int
getXOffsetOfGridUnit(PrimaryGridUnit gu)
Retuns the X offset of the given grid unit.

Method Details

getBaseLength

public int getBaseLength(int lengthBase,
                         FObj fobj)
Specified by:
getBaseLength in interface PercentBaseContext

getFooterElements

protected LinkedList getFooterElements()
Returns:
the footer element list

getFooterNetHeight

protected int getFooterNetHeight()
Returns:
the net footer height

getHeaderElements

protected LinkedList getHeaderElements()
Returns:
the header element list

getHeaderNetHeight

protected int getHeaderNetHeight()
Returns:
the net header height

getNextKnuthElements

public LinkedList getNextKnuthElements(LayoutContext context,
                                       int alignment)

getXOffsetOfGridUnit

protected int getXOffsetOfGridUnit(PrimaryGridUnit gu)
Retuns the X offset of the given grid unit.
Parameters:
gu - the grid unit
Returns:
the requested X offset

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