|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.AreaTreeObject
org.apache.fop.area.Area
org.apache.fop.area.BlockParent
org.apache.fop.area.Block
public class Block
This is the block area class. It holds child block areas such as other blocks or lines.
Field Summary | |
---|---|
static int |
ABSOLUTE
Relative to the block parent but not effecting the stacking Used for block-container, tables and lists. |
protected boolean |
allowBPDUpdate
|
static int |
FIXED
Relative to a viewport/page but not effecting the stacking Used for block-container. |
static int |
RELATIVE
Placed relative to the flow position. |
static int |
STACK
Normally stacked with other blocks. |
Fields inherited from class org.apache.fop.area.BlockParent |
---|
children, xOffset, yOffset |
Fields inherited from class org.apache.fop.area.Area |
---|
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB |
Fields inherited from class org.apache.fop.area.AreaTreeObject |
---|
foreignAttributes |
Constructor Summary | |
---|---|
Block()
|
Method Summary | |
---|---|
void |
addBlock(Block block)
Add the block to this block area. |
void |
addBlock(Block block,
boolean autoHeight)
Add the block to this block area. |
void |
addLineArea(LineArea line)
Add the line area to this block area. |
int |
getPositioning()
Get the positioning of this area. |
int |
getStartIndent()
|
boolean |
isStacked()
Indicates whether this block is stacked, rather than absolutely positioned. |
void |
setPositioning(int pos)
Set the positioning of this area. |
Methods inherited from class org.apache.fop.area.BlockParent |
---|
addChildArea, getChildAreas, getXOffset, getYOffset, isEmpty, setXOffset, setYOffset |
Methods inherited from class org.apache.fop.area.Area |
---|
addTrait, addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBooleanTrait, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString |
Methods inherited from class org.apache.fop.area.AreaTreeObject |
---|
getForeignAttributes, getForeignAttributeValue, setForeignAttribute, setForeignAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int STACK
public static final int RELATIVE
public static final int ABSOLUTE
public static final int FIXED
protected transient boolean allowBPDUpdate
Constructor Detail |
---|
public Block()
Method Detail |
---|
public void addBlock(Block block)
addBlock
in class BlockParent
block
- the block area to addpublic void addBlock(Block block, boolean autoHeight)
block
- the block area to addautoHeight
- increase the height of the block.public void addLineArea(LineArea line)
line
- the line area to addpublic void setPositioning(int pos)
pos
- the positioning to use when rendering this areapublic int getPositioning()
public boolean isStacked()
public int getStartIndent()
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |