| java.lang.Object org.apache.fop.fo.FONode org.apache.fop.fo.FObj org.apache.fop.fo.flow.AbstractGraphics
All known Subclasses: org.apache.fop.fo.flow.InstreamForeignObject, org.apache.fop.fo.flow.ExternalGraphic,
AbstractGraphics | abstract public class AbstractGraphics extends FObj (Code) | | Common base class for instream-foreign-object and external-graphics
flow formatting objects.
|
Constructor Summary | |
public | AbstractGraphics(FONode parent) constructs an instream-foreign-object object (called by Maker). |
AbstractGraphics | public AbstractGraphics(FONode parent)(Code) | | constructs an instream-foreign-object object (called by Maker).
Parameters: parent - the parent formatting object |
computeXOffset | public int computeXOffset(int ipd, int cwidth)(Code) | | Given the ipd and the content width calculates the
required x offset based on the text-align property
Parameters: ipd - the inline-progression-dimension of the object Parameters: cwidth - the calculated content width of the object the X offset |
computeYOffset | public int computeYOffset(int bpd, int cheight)(Code) | | Given the bpd and the content height calculates the
required y offset based on the display-align property
Parameters: bpd - the block-progression-dimension of the object Parameters: cheight - the calculated content height of the object the Y offset |
getAlignmentAdjust | public Length getAlignmentAdjust()(Code) | | the "alignment-adjust" property |
getAlignmentBaseline | public int getAlignmentBaseline()(Code) | | the "alignment-baseline" property |
getBaselineShift | public Length getBaselineShift()(Code) | | the "baseline-shift" property |
getBlockProgressionDimension | public LengthRangeProperty getBlockProgressionDimension()(Code) | | the "block-progression-dimension" property. |
getContentHeight | public Length getContentHeight()(Code) | | the "content-height" property. |
getContentWidth | public Length getContentWidth()(Code) | | the "content-width" property. |
getDominantBaseline | public int getDominantBaseline()(Code) | | the "dominant-baseline" property |
getHeight | public Length getHeight()(Code) | | the "height" property. |
getInlineProgressionDimension | public LengthRangeProperty getInlineProgressionDimension()(Code) | | the "inline-progression-dimension" property. |
getIntrinsicAlignmentAdjust | abstract public Length getIntrinsicAlignmentAdjust()(Code) | | the graphics intrinsic alignment-adjust |
getIntrinsicHeight | abstract public int getIntrinsicHeight()(Code) | | the graphics intrinsic height in millipoints |
getIntrinsicWidth | abstract public int getIntrinsicWidth()(Code) | | the graphics intrinsic width in millipoints |
getOverflow | public int getOverflow()(Code) | | the "overflow" property. |
getScaling | public int getScaling()(Code) | | the "scaling" property. |
getWidth | public Length getWidth()(Code) | | the "width" property. |
Methods inherited from org.apache.fop.fo.FObj | protected void addChildNode(FONode child) throws FOPException(Code)(Java Doc) protected static void addChildTo(FONode child, FObj parent) throws FOPException(Code)(Java Doc) public void addExtensionAttachment(ExtensionAttachment attachment)(Code)(Java Doc) public void addForeignAttribute(QName attributeName, String value)(Code)(Java Doc) protected void addMarker(Marker marker)(Code)(Java Doc) public void bind(PropertyList pList) throws FOPException(Code)(Java Doc) public FONode clone(FONode parent, boolean removeChildren) throws FOPException(Code)(Java Doc) protected PropertyList createPropertyList(PropertyList parent, FOEventHandler foEventHandler) throws FOPException(Code)(Java Doc) protected int findAncestor(int ancestorID)(Code)(Java Doc) public FObj findNearestAncestorFObj()(Code)(Java Doc) protected String gatherContextInfo()(Code)(Java Doc) public boolean generatesReferenceAreas()(Code)(Java Doc) public FONodeIterator getChildNodes()(Code)(Java Doc) public FONodeIterator getChildNodes(FONode childNode)(Code)(Java Doc) public List getExtensionAttachments()(Code)(Java Doc) public Map getForeignAttributes()(Code)(Java Doc) public String getId()(Code)(Java Doc) public boolean getIsOutOfLineFODescendant()(Code)(Java Doc) public Map getMarkers()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public String getNormalNamespacePrefix()(Code)(Java Doc) public static PropertyMaker getPropertyMakerFor(int propId)(Code)(Java Doc) public boolean hasId()(Code)(Java Doc) public boolean hasMarkers()(Code)(Java Doc) protected boolean isBlockItem(String nsURI, String lName)(Code)(Java Doc) protected boolean isBlockOrInlineItem(String nsURI, String lName)(Code)(Java Doc) protected boolean isInlineItem(String nsURI, String lName)(Code)(Java Doc) protected boolean isNeutralItem(String nsURI, String lName)(Code)(Java Doc) protected void notifyChildRemoval(FONode node)(Code)(Java Doc) public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList pList) throws FOPException(Code)(Java Doc) public void removeChild(FONode child)(Code)(Java Doc) protected void startOfNode() throws FOPException(Code)(Java Doc)
|
Methods inherited from org.apache.fop.fo.FONode | protected void addCharacters(char[] data, int start, int end, PropertyList pList, Locator locator) throws FOPException(Code)(Java Doc) protected void addChildNode(FONode child) throws FOPException(Code)(Java Doc) protected static void attachSiblings(FONode precedingSibling, FONode followingSibling)(Code)(Java Doc) protected void attributeError(String problem) throws ValidationException(Code)(Java Doc) protected void attributeWarning(String problem)(Code)(Java Doc) public void bind(PropertyList propertyList) throws FOPException(Code)(Java Doc) protected boolean canHaveMarkers()(Code)(Java Doc) public CharIterator charIterator()(Code)(Java Doc) public FONode clone(FONode cloneparent, boolean removeChildren) throws FOPException(Code)(Java Doc) protected Object clone()(Code)(Java Doc) protected PropertyList createPropertyList(PropertyList pList, FOEventHandler foEventHandler) throws FOPException(Code)(Java Doc) public static String decorateWithContextInfo(String text, FONode node)(Code)(Java Doc) protected void endOfNode() throws FOPException(Code)(Java Doc) protected static String errorText(Locator loc)(Code)(Java Doc) protected String gatherContextInfo()(Code)(Java Doc) public FONodeIterator getChildNodes()(Code)(Java Doc) public FONodeIterator getChildNodes(FONode childNode)(Code)(Java Doc) public ContentHandlerFactory getContentHandlerFactory()(Code)(Java Doc) public String getContextInfo()(Code)(Java Doc) public ExtensionAttachment getExtensionAttachment()(Code)(Java Doc) public FOEventHandler getFOEventHandler()(Code)(Java Doc) abstract public String getLocalName()(Code)(Java Doc) public Locator getLocator()(Code)(Java Doc) public static String getLocatorString(Locator loc)(Code)(Java Doc) public Log getLogger()(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getName(String prefix)(Code)(Java Doc) public int getNameId()(Code)(Java Doc) public String getNamespaceURI()(Code)(Java Doc) public static String getNodeString(String namespaceURI, String localName)(Code)(Java Doc) abstract public String getNormalNamespacePrefix()(Code)(Java Doc) public FONode getParent()(Code)(Java Doc) public Root getRoot()(Code)(Java Doc) public FOUserAgent getUserAgent()(Code)(Java Doc) protected boolean inMarker()(Code)(Java Doc) protected void invalidChildError(Locator loc, String nsURI, String lName) throws ValidationException(Code)(Java Doc) protected void invalidChildError(Locator loc, String nsURI, String lName, String ruleViolated) throws ValidationException(Code)(Java Doc) protected void missingChildElementError(String contentModel) throws ValidationException(Code)(Java Doc) protected void missingPropertyError(String propertyName) throws ValidationException(Code)(Java Doc) protected void nodesOutOfOrderError(Locator loc, String tooLateNode, String tooEarlyNode) throws ValidationException(Code)(Java Doc) public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList pList) throws FOPException(Code)(Java Doc) public void removeChild(FONode child)(Code)(Java Doc) public void setLocator(Locator locator)(Code)(Java Doc) protected void startOfNode() throws FOPException(Code)(Java Doc) protected void tooManyNodesError(Locator loc, String nsURI, String lName) throws ValidationException(Code)(Java Doc) protected void tooManyNodesError(Locator loc, String offendingNode) throws ValidationException(Code)(Java Doc) protected void validateChildNode(Locator loc, String namespaceURI, String localName) throws ValidationException(Code)(Java Doc) protected static String warningText(Locator loc)(Code)(Java Doc)
|
|
|