|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.FONode
org.apache.fop.fo.FObj
org.apache.fop.fo.flow.AbstractGraphics
public abstract class AbstractGraphics
Common base class for the
fo:instream-foreign-object
and
fo:external-graphic
flow formatting objects.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.fop.fo.FObj |
---|
FObj.FObjIterator |
Nested classes/interfaces inherited from class org.apache.fop.fo.FONode |
---|
FONode.FONodeIterator, FONode.GatherContextInfoFunction |
Field Summary |
---|
Fields inherited from class org.apache.fop.fo.FObj |
---|
firstChild, lastChild |
Fields inherited from class org.apache.fop.fo.FONode |
---|
FO_URI, FOX_URI, locator, log, parent, siblings |
Constructor Summary | |
---|---|
AbstractGraphics(FONode parent)
constructs an instream-foreign-object object (called by Maker). |
Method Summary | |
---|---|
void |
bind(PropertyList pList)
Bind property values from the property list to the FO node. |
protected java.util.Stack |
collectDelimitedTextRanges(java.util.Stack ranges,
DelimitedTextRange currentRange)
Collect the sequence of delimited text ranges, where each new range is pushed onto RANGES, where default implementation collects ranges of child nodes. |
Length |
getAlignmentAdjust()
|
int |
getAlignmentBaseline()
|
java.lang.String |
getAltText()
|
Length |
getBaselineShift()
|
LengthRangeProperty |
getBlockProgressionDimension()
|
CommonAccessibility |
getCommonAccessibility()
Returns the accessibility properties. |
CommonBorderPaddingBackground |
getCommonBorderPaddingBackground()
|
Length |
getContentHeight()
|
Length |
getContentWidth()
|
int |
getDisplayAlign()
|
int |
getDominantBaseline()
|
Length |
getHeight()
|
java.lang.String |
getId()
|
LengthRangeProperty |
getInlineProgressionDimension()
|
abstract Length |
getIntrinsicAlignmentAdjust()
|
abstract int |
getIntrinsicHeight()
|
abstract int |
getIntrinsicWidth()
|
KeepProperty |
getKeepWithNext()
|
KeepProperty |
getKeepWithPrevious()
|
SpaceProperty |
getLineHeight()
|
int |
getOverflow()
|
int |
getScaling()
|
StructureTreeElement |
getStructureTreeElement()
Returns the element in the document's structure tree that corresponds to this instance. |
int |
getTextAlign()
|
Length |
getWidth()
|
boolean |
isDelimitedTextRangeBoundary(int boundary)
Determine if node has a delimited text range boundary. |
void |
setStructureTreeElement(StructureTreeElement structureTreeElement)
Sets the structure tree element. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractGraphics(FONode parent)
parent
- the parent formatting objectMethod Detail |
---|
public void bind(PropertyList pList) throws FOPException
bind
in class FObj
pList
- the PropertyList where the properties can be found.
FOPException
- if there is a problem binding the valuespublic CommonAccessibility getCommonAccessibility()
getCommonAccessibility
in interface CommonAccessibilityHolder
public java.lang.String getId()
getId
in class FObj
public CommonBorderPaddingBackground getCommonBorderPaddingBackground()
CommonBorderPaddingBackground
public SpaceProperty getLineHeight()
public LengthRangeProperty getInlineProgressionDimension()
getInlineProgressionDimension
in interface GraphicsProperties
public LengthRangeProperty getBlockProgressionDimension()
getBlockProgressionDimension
in interface GraphicsProperties
public Length getHeight()
getHeight
in interface GraphicsProperties
public Length getWidth()
getWidth
in interface GraphicsProperties
public Length getContentHeight()
getContentHeight
in interface GraphicsProperties
public Length getContentWidth()
getContentWidth
in interface GraphicsProperties
public int getScaling()
getScaling
in interface GraphicsProperties
public int getOverflow()
getOverflow
in interface GraphicsProperties
public int getDisplayAlign()
getDisplayAlign
in interface GraphicsProperties
public int getTextAlign()
getTextAlign
in interface GraphicsProperties
public Length getAlignmentAdjust()
public int getAlignmentBaseline()
public Length getBaselineShift()
public int getDominantBaseline()
public KeepProperty getKeepWithNext()
public KeepProperty getKeepWithPrevious()
public void setStructureTreeElement(StructureTreeElement structureTreeElement)
FONode
setStructureTreeElement
in class FONode
structureTreeElement
- set.public StructureTreeElement getStructureTreeElement()
getStructureTreeElement
in interface StructureTreeElementHolder
public java.lang.String getAltText()
public abstract int getIntrinsicWidth()
public abstract int getIntrinsicHeight()
public abstract Length getIntrinsicAlignmentAdjust()
public boolean isDelimitedTextRangeBoundary(int boundary)
FONode
isDelimitedTextRangeBoundary
in class FONode
boundary
- one of {EN_BEFORE, EN_AFTER, or EN_BOTH} enumeration constants
protected java.util.Stack collectDelimitedTextRanges(java.util.Stack ranges, DelimitedTextRange currentRange)
FONode
collectDelimitedTextRanges
in class FONode
ranges
- a stack of delimited text rangescurrentRange
- the current range or null (if none)
|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |