|
fop 1.1 | |||||||||
| 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
org.apache.fop.area.BlockViewport
public class BlockViewport
A BlockViewport. This is used for block level Viewport/reference pairs. The block-container creates this area.
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.area.Block |
|---|
ABSOLUTE, allowBPDUpdate, FIXED, RELATIVE, STACK |
| Fields inherited from class org.apache.fop.area.BlockParent |
|---|
children, xOffset, yOffset |
| Fields inherited from class org.apache.fop.area.Area |
|---|
bidiLevel, bpd, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traits |
| Fields inherited from class org.apache.fop.area.AreaTreeObject |
|---|
extensionAttachments, foreignAttributes |
| Constructor Summary | |
|---|---|
BlockViewport()
Create a new block viewport area. |
|
BlockViewport(boolean allowBPDUpdate)
Create a new block viewport area. |
|
| Method Summary | |
|---|---|
java.awt.Rectangle |
getClipRectangle()
Returns the clipping rectangle of this viewport area. |
CTM |
getCTM()
Get the transform of this block viewport. |
boolean |
hasClip()
Returns true if this area will clip overflowing content. |
void |
setClip(boolean cl)
Set the clipping for this viewport. |
void |
setCTM(CTM ctm)
Set the transform of this viewport. |
| Methods inherited from class org.apache.fop.area.Block |
|---|
addBlock, addBlock, addLineArea, getEndIndent, getPositioning, getStartIndent, isStacked, setPositioning |
| 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, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getBPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setIPD, setTraits, setWritingModeTraits, toString |
| Methods inherited from class org.apache.fop.area.AreaTreeObject |
|---|
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BlockViewport()
public BlockViewport(boolean allowBPDUpdate)
allowBPDUpdate - true allows the BPD to be updated when children are added| Method Detail |
|---|
public void setCTM(CTM ctm)
ctm - the transformationpublic CTM getCTM()
public void setClip(boolean cl)
cl - the clipping for the viewportpublic boolean hasClip()
hasClip in interface Viewporttrue if the overflow trait has the value "hidden", "scroll" or
"error-if-overflow"public java.awt.Rectangle getClipRectangle()
getClipRectangle in interface Viewport
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||