|
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.inline.InlineArea
org.apache.fop.area.inline.InlineViewport
public class InlineViewport
Inline viewport area. This is an inline-level viewport area for inline container, external graphic and instream foreign object. This viewport holds the area and positions it.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.fop.area.inline.InlineArea |
|---|
InlineArea.InlineAdjustingInfo |
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.area.inline.InlineArea |
|---|
adjustingInfo, blockProgressionOffset |
| 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 | |
|---|---|
InlineViewport(Area child)
Create a new viewport area with the content area. |
|
InlineViewport(Area child,
int bidiLevel)
Create a new viewport area with the content area. |
|
| Method Summary | |
|---|---|
java.awt.Rectangle |
getClipRectangle()
Returns the clipping rectangle of this viewport area. |
Area |
getContent()
Get the content area for this viewport. |
java.awt.geom.Rectangle2D |
getContentPosition()
Get the position and size of the content of this viewport. |
boolean |
hasClip()
Returns true if this area will clip overflowing content. |
void |
setClip(boolean c)
Set the clip of this viewport. |
void |
setContent(Area content)
Sets the content area. |
void |
setContentPosition(java.awt.geom.Rectangle2D cp)
Set the position and size of the content of this viewport. |
| Methods inherited from class org.apache.fop.area.inline.InlineArea |
|---|
addChildArea, applyVariationFactor, collectInlineRuns, getAdjustingInfo, getBlockProgressionOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isAncestor, isAncestorOrSelf, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustment, setBlockProgressionOffset, setParentArea |
| 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 InlineViewport(Area child)
child - the child content area of this viewport
public InlineViewport(Area child,
int bidiLevel)
child - the child content area of this viewportbidiLevel - the bidirectional embedding level (or -1 if not defined)| Method Detail |
|---|
public void setClip(boolean c)
c - true if this viewport should clippublic 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 Viewportpublic void setContentPosition(java.awt.geom.Rectangle2D cp)
cp - the position and size to place the contentpublic java.awt.geom.Rectangle2D getContentPosition()
public void setContent(Area content)
content - the content areapublic Area getContent()
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||