|
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.XMLObj
org.apache.fop.fo.extensions.svg.SVGObj
org.apache.fop.fo.extensions.svg.SVGElement
public class SVGElement
Class representing the SVG root element for constructing an SVG document.
| Nested Class Summary | |
|---|---|
static class |
SVGElement.PDFUnitContext
This class is the default context for a particular element. |
| 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.XMLObj |
|---|
doc, element, name |
| Fields inherited from class org.apache.fop.fo.FONode |
|---|
FO_URI, FOX_URI, locator, log, parent, siblings |
| Constructor Summary | |
|---|---|
SVGElement(FONode parent)
Constructs an SVG object |
|
| Method Summary | |
|---|---|
ContentHandlerFactory |
getContentHandlerFactory()
This method is overridden by extension elements and allows the extension element to return a ContentHandlerFactory. |
java.awt.geom.Point2D |
getDimension(java.awt.geom.Point2D view)
Get the dimensions of this XML document. |
static java.awt.geom.Point2D |
getSize(int size,
org.w3c.dom.Element svgRoot,
float ptmm)
Get the size of the SVG root element. |
| Methods inherited from class org.apache.fop.fo.extensions.svg.SVGObj |
|---|
getNamespaceURI, getNormalNamespacePrefix |
| Methods inherited from class org.apache.fop.fo.XMLObj |
|---|
addChildNode, addElement, buildTopLevel, characters, createBasicDocument, getDOMDocument, getIntrinsicAlignmentAdjust, getLocalName, notifyObjectBuilt, processNode, validateChildNode |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SVGElement(FONode parent)
parent - the parent formatting object| Method Detail |
|---|
public ContentHandlerFactory getContentHandlerFactory()
ContentHandlerFactory. This factory can create ContentHandler implementations that
handle foreign XML content by either building up a specific DOM, a Java object or something
else.
getContentHandlerFactory in class FONodeContentHandlerFactory or null if not applicablepublic java.awt.geom.Point2D getDimension(java.awt.geom.Point2D view)
getDimension in class XMLObjview - the viewport dimensions
public static java.awt.geom.Point2D getSize(int size,
org.w3c.dom.Element svgRoot,
float ptmm)
size - the font sizesvgRoot - the svg root elementptmm - the pixel to millimeter conversion factor
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||