org.apache.fop.fo.flow
Class TableCell
java.lang.Object
|
+--org.apache.fop.fo.FONode
|
+--org.apache.fop.fo.FObj
|
+--org.apache.fop.fo.flow.TableCell
- public class TableCell
- extends FObj
Field Summary |
protected int |
beforeOffset
Offset of content rectangle, in block-progression-direction,
relative to the row. |
protected int |
borderHeight
|
protected boolean |
bRelativeAlign
|
protected int |
height
|
protected int |
minCellHeight
Minimum ontent height of cell. |
protected int |
startAdjust
Offset of content rectangle, in inline-progression-direction,
relative to the column start edge. |
protected int |
startOffset
Offset of content rectangle in inline-progression-direction,
relative to table. |
protected int |
top
|
protected int |
verticalAlign
|
protected int |
width
Dimension of allocation rectangle in inline-progression-direction,
determined by the width of the column(s) occupied by the cell |
protected int |
widthAdjust
Adjust to theoretical column width to obtain content width
relative to the column start edge. |
Fields inherited from class org.apache.fop.fo.FONode |
areaClass, areasGenerated, BREAK_AFTER, bufferManager, children, forcedStartOffset, forcedWidth, isInTableCell, linkSet, log, marker, markers, orphans, parent, START, widows |
Methods inherited from class org.apache.fop.fo.FONode |
addChild, addMarker, forceStartOffset, forceWidth, getBufferManager, getLinkSet, getMarkers, getMarkerSnapshot, getParent, hasMarkers, removeAreas, resetMarker, rollback, setBufferManager, setIsInTableCell, setLinkSet, setLogger, setOrphans, setWidows |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startOffset
protected int startOffset
- Offset of content rectangle in inline-progression-direction,
relative to table.
width
protected int width
- Dimension of allocation rectangle in inline-progression-direction,
determined by the width of the column(s) occupied by the cell
beforeOffset
protected int beforeOffset
- Offset of content rectangle, in block-progression-direction,
relative to the row.
startAdjust
protected int startAdjust
- Offset of content rectangle, in inline-progression-direction,
relative to the column start edge.
widthAdjust
protected int widthAdjust
- Adjust to theoretical column width to obtain content width
relative to the column start edge.
borderHeight
protected int borderHeight
minCellHeight
protected int minCellHeight
- Minimum ontent height of cell.
height
protected int height
top
protected int top
verticalAlign
protected int verticalAlign
bRelativeAlign
protected boolean bRelativeAlign
TableCell
public TableCell(FObj parent,
PropertyList propertyList)
maker
public static FObj.Maker maker()
setStartOffset
public void setStartOffset(int offset)
setWidth
public void setWidth(int width)
getColumnNumber
public int getColumnNumber()
getNumColumnsSpanned
public int getNumColumnsSpanned()
getNumRowsSpanned
public int getNumRowsSpanned()
doSetup
public void doSetup()
layout
public Status layout(Area area)
throws FOPException
- Description copied from class:
FObj
- generates the area or areas for this formatting object
and adds these to the area. This method should always be
overridden by all sub classes
- Overrides:
layout
in class FObj
- Following copied from class:
org.apache.fop.fo.FObj
- Parameters:
area
-
getHeight
public int getHeight()
- Return the allocation height of the cell area.
Note: called by TableRow.
We adjust the actual allocation height of the area by the value
of border separation (for separate borders) or border height
adjustment for collapse style (because current scheme makes cell
overestimate the allocation height).
setRowHeight
public void setRowHeight(int h)
- Set the final size of cell content rectangles to the actual row height
and to vertically align the actual content within the cell rectangle.
- Parameters:
h
- Height of this row in the grid which is based on
the allocation height of all the cells in the row, including any
border separation values.
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.