|
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.pagination.AbstractPageSequence
org.apache.fop.fo.extensions.ExternalDocument
public class ExternalDocument
Class for the fox:external-document extension element.
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.pagination.AbstractPageSequence |
---|
forcePageCount, initialPageNumber, startingPageNumber |
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 | |
---|---|
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. |
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. |
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 |
---|
getCommonAccessibility, getForcePageCount, getInitialPageNumber, getReferenceOrientation, getRoot, getStartingPageNumber, initPageNumber, makeFormattedPageNumber |
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 objectMethod Detail |
---|
public void bind(PropertyList pList) throws FOPException
bind
in class AbstractPageSequence
pList
- the PropertyList where the properties can be found.
FOPException
- if there is a problem binding the valuesprotected void startOfNode() throws FOPException
AbstractPageSequence
startOfNode
in class AbstractPageSequence
FOPException
- in case of processing exceptionFONode.startOfNode()
protected void endOfNode() throws FOPException
FONode
FOEventHandler
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 FONode
FOPException
- in case of processing exceptionFONode.endOfNode()
protected void validateChildNode(org.xml.sax.Locator loc, java.lang.String nsURI, java.lang.String localName) throws ValidationException
FONode
fo: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 FONode
loc
- a locatornsURI
- a namespace uri or nulllocalName
- a local name
ValidationException
- if invalid childFONode.validateChildNode(Locator, String, String)
public java.lang.String getSrc()
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 java.lang.String getNamespaceURI()
FObj
getNamespaceURI
in class FObj
FONode.getNamespaceURI()
public java.lang.String getNormalNamespacePrefix()
FObj
getNormalNamespacePrefix
in class FObj
FONode.getNormalNamespacePrefix()
public java.lang.String getLocalName()
FONode
getLocalName
in class FONode
FONode.getLocalName()
|
fop 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |