org.apache.fop.layout.inline
Class ForeignObjectArea
java.lang.Object
|
+--org.apache.fop.layout.Box
|
+--org.apache.fop.layout.Area
|
+--org.apache.fop.layout.inline.InlineArea
|
+--org.apache.fop.layout.inline.ForeignObjectArea
- public class ForeignObjectArea
- extends InlineArea
Fields inherited from class org.apache.fop.layout.Area |
allocationWidth, areaClass, backgroundColor, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, markers, maxHeight, page, returnedBy, tableCellXOffset |
Methods inherited from class org.apache.fop.layout.inline.InlineArea |
getBlue, getGreen, getLineThrough, getOverlined, getPageNumberID, getRed, getUnderlined, getYOffset, setLineThrough, setOverlined, setUnderlined, setXOffset, setYOffset |
Methods inherited from class org.apache.fop.layout.Area |
addChild, addChildAtStart, addDisplaySpace, addInlineSpace, addLineagePair, addMarker, addMarkers, end, getAbsoluteHeight, getAllocationWidth, getBackgroundColor, getBorderAndPadding, getBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getChildren, getContentHeight, getfoCreator, getFontInfo, getFontState, getGeneratedBy, getIDReferences, getMarkers, getMaxHeight, getNearestAncestorAreaContainer, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPage, getParent, getTableCellXOffset, hasChildren, increaseAbsoluteHeight, increaseHeight, isFirst, isFirst, isLast, isLast, remove, removeChild, removeChild, setAbsoluteHeight, setAllocationWidth, setBackgroundColor, setBorderAndPadding, setGeneratedBy, setIDReferences, setMaxHeight, setPage, setParent, setTableCellXOffset, spaceLeft, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xOffset
protected int xOffset
align
protected int align
valign
protected int valign
scaling
protected int scaling
foreignObject
protected Area foreignObject
cheight
protected int cheight
cwidth
protected int cwidth
awidth
protected int awidth
aheight
protected int aheight
width
protected int width
ForeignObjectArea
public ForeignObjectArea(FontState fontState,
int width)
render
public void render(Renderer renderer)
- Overrides:
render
in class Box
getContentWidth
public int getContentWidth()
- This is NOT the content width of the instream-foreign-object.
This is the content width for a Box.
- Overrides:
getContentWidth
in class Area
getHeight
public int getHeight()
- This is NOT the content height of the instream-foreign-object.
This is the content height for a Box.
- Overrides:
getHeight
in class InlineArea
- Following copied from class:
org.apache.fop.layout.Area
- Returns:
- allocation height in millipoints
getXOffset
public int getXOffset()
- Overrides:
getXOffset
in class InlineArea
setStartIndent
public void setStartIndent(int startIndent)
setObject
public void setObject(Area fobject)
getObject
public Area getObject()
setSizeAuto
public void setSizeAuto(boolean wa,
boolean ha)
setContentSizeAuto
public void setContentSizeAuto(boolean wa,
boolean ha)
isContentWidthAuto
public boolean isContentWidthAuto()
isContentHeightAuto
public boolean isContentHeightAuto()
setAlign
public void setAlign(int align)
getAlign
public int getAlign()
setVerticalAlign
public void setVerticalAlign(int align)
- Overrides:
setVerticalAlign
in class InlineArea
getVerticalAlign
public int getVerticalAlign()
- Overrides:
getVerticalAlign
in class InlineArea
setOverflow
public void setOverflow(int o)
getOverflow
public int getOverflow()
setHeight
public void setHeight(int height)
- Description copied from class:
Area
- Set the content height to the passed value if that value is
larger than current content height. If the new content height
is greater than the maximum available height, set the content height
to the max. available (!!!)
- Overrides:
setHeight
in class InlineArea
- Following copied from class:
org.apache.fop.layout.Area
- Parameters:
height
- allocation height of content in millipoints
setWidth
public void setWidth(int width)
setContentHeight
public void setContentHeight(int cheight)
setContentWidth
public void setContentWidth(int cwidth)
setScaling
public void setScaling(int scaling)
scalingMethod
public int scalingMethod()
setIntrinsicWidth
public void setIntrinsicWidth(int w)
setIntrinsicHeight
public void setIntrinsicHeight(int h)
getIntrinsicHeight
public int getIntrinsicHeight()
getIntrinsicWidth
public int getIntrinsicWidth()
getEffectiveHeight
public int getEffectiveHeight()
getEffectiveWidth
public int getEffectiveWidth()
Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.