|
fop 1.0 | ||||||||||
| 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.pagination.AbstractPageSequence
org.apache.fop.fo.extensions.ExternalDocument
Class for the fox:external-document extension element.
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.fo.FObj |
FObj.FObjIterator |
| Nested classes inherited from class org.apache.fop.fo.FONode |
FONode.FONodeIterator, FONode.GatherContextInfoFunction |
| Field Summary |
| Fields inherited from class org.apache.fop.fo.pagination.AbstractPageSequence |
forcePageCount, initialPageNumber, startingPageNumber |
| Fields inherited from class org.apache.fop.fo.FObj |
firstChild |
| Fields inherited from class org.apache.fop.fo.FONode |
FO_URI, FOX_URI, locator, log, parent, siblings |
| Constructor Summary | |
ExternalDocument(FONode parent)
Constructs a ExternalDocument object (called by Maker). |
|
| Method Summary | |
void |
bind(PropertyList pList)
Bind property values from the property list to the FO node. Must be overridden in all FObj subclasses that have properties applying to it. |
protected void |
endOfNode()
Primarily used for making final content model validation checks and/or informing the FOEventHandler that the end of this FO
has been reached. |
LengthRangeProperty |
getBlockProgressionDimension()
|
Length |
getContentHeight()
|
Length |
getContentWidth()
|
int |
getDisplayAlign()
|
Length |
getHeight()
|
LengthRangeProperty |
getInlineProgressionDimension()
|
java.lang.String |
getLocalName()
Returns the local name (i.e. |
java.lang.String |
getNamespaceURI()
Returns the namespace URI for this node |
java.lang.String |
getNormalNamespacePrefix()
Returns the normally used namespace prefix for this node |
int |
getOverflow()
|
int |
getScaling()
|
java.lang.String |
getSrc()
Returns the src attribute (the URI to the embedded document). |
int |
getTextAlign()
|
Length |
getWidth()
|
protected void |
startOfNode()
Called after processNode() is called. Subclasses can do additional processing. |
protected void |
validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
Checks to make sure, during SAX processing of input document, that the incoming node is valid for this (parent) node (e.g., checking to see that fo:table is not an immediate child of fo:root)
called from FOTreeBuilder#startElement(String, String, String, Attributes)
before constructing the child FObj. |
| Methods inherited from class org.apache.fop.fo.pagination.AbstractPageSequence |
getForcePageCount, getInitialPageNumber, getReferenceOrientation, getRoot, getStartingPageNumber, initPageNumber, makeFormattedPageNumber |
| Methods inherited from class org.apache.fop.fo.FObj |
addChildNode, addChildTo, addForeignAttribute, addMarker, clearChildNodes, clone, createPropertyList, findAncestor, findNearestAncestorFObj, gatherContextInfo, generatesReferenceAreas, getChildNodes, getChildNodes, getContextInfoAlt, getExtensionAttachments, getForeignAttributes, getId, getMarkers, getPropertyMakerFor, hasChildren, hasExtensionAttachments, hasId, hasMarkers, isBlockItem, isBlockOrInlineItem, isInlineItem, processNode, removeChild, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ExternalDocument(FONode parent)
parent - the parent formatting object| Method Detail |
public void bind(PropertyList pList)
throws FOPException
bind in class AbstractPageSequenceFOPException
protected void startOfNode()
throws FOPException
AbstractPageSequence
startOfNode in class AbstractPageSequenceFOPException
protected void endOfNode()
throws FOPException
FONodeFOEventHandler that the end of this FO
has been reached.
The default implementation simply calls FONode.finalizeNode(), without
sending any event to the FOEventHandler.
super.endOfNode(); // invoke finalizeNode()
getFOEventHandler().endXXX(); // send endOfNode() notification
endOfNode in class FONodeFOPException - if there's a problem during processingFONode.endOfNode()
protected void validateChildNode(org.xml.sax.Locator loc,
java.lang.String nsURI,
java.lang.String localName)
throws ValidationException
FONodefo:table is not an immediate child of fo:root)
called from FOTreeBuilder.startElement(String, String, String, Attributes)
before constructing the child FObj.
validateChildNode in class FONodeloc - location in the FO source filensURI - namespace of incoming nodelocalName - name of the incoming node (without namespace prefix)
ValidationException - if incoming node not valid for parentXSL/FOP: emptypublic java.lang.String getSrc()
public LengthRangeProperty getInlineProgressionDimension()
getInlineProgressionDimension in interface GraphicsPropertiespublic LengthRangeProperty getBlockProgressionDimension()
getBlockProgressionDimension in interface GraphicsPropertiespublic Length getHeight()
getHeight in interface GraphicsPropertiespublic Length getWidth()
getWidth in interface GraphicsPropertiespublic Length getContentHeight()
getContentHeight in interface GraphicsPropertiespublic Length getContentWidth()
getContentWidth in interface GraphicsPropertiespublic int getScaling()
getScaling in interface GraphicsPropertiespublic int getOverflow()
getOverflow in interface GraphicsPropertiespublic int getDisplayAlign()
getDisplayAlign in interface GraphicsPropertiespublic int getTextAlign()
getTextAlign in interface GraphicsPropertiespublic java.lang.String getNamespaceURI()
FObj
getNamespaceURI in class FObjFONode.getNamespaceURI()public java.lang.String getNormalNamespacePrefix()
FObj
getNormalNamespacePrefix in class FObjFONode.getNormalNamespacePrefix()public java.lang.String getLocalName()
FONode
getLocalName in class FONodeFONode.getLocalName()
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||