public class SVGElement extends SVGObj
| Modifier and Type | Class and Description |
|---|---|
static class |
SVGElement.PDFUnitContext
This class is the default context for a particular
element.
|
FONode.FONodeIterator, FONode.GatherContextInfoFunctionFO_URI, FOX_URI, locator, log, nodeChangeBarList, parent, siblings, startOfNodeChangeBarList| Constructor and Description |
|---|
SVGElement(FONode parent)
Constructs an SVG object
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getNamespaceURI, getNormalNamespacePrefixaddChildNode, addElement, buildTopLevel, characters, createBasicDocument, getDOMDocument, getIntrinsicAlignmentAdjust, getLocalName, notifyObjectBuilt, processNode, validateChildNodeaddCharacters, attachSiblings, bind, canHaveMarkers, charIterator, clone, clone, collectDelimitedTextRanges, collectDelimitedTextRanges, createPropertyList, decorateWithContextInfo, endOfNode, errorText, finalizeNode, gatherContextInfo, getBuilderContext, getChangeBarList, getChildNodes, getChildNodes, getContextInfo, getContextInfoAlt, getExtensionAttachment, getFOEventHandler, getFOValidationEventProducer, getLocator, getLocatorString, getLogger, getName, getName, getNameId, getNodePrefix, getNodeString, getParent, getRoot, getStructureTreeElement, getUserAgent, inMarker, invalidChildError, invalidChildError, invalidPropertyValueError, isBidiRangeBlockItem, isChangeBarElement, isDelimitedTextRangeBoundary, missingChildElementError, missingChildElementError, missingPropertyError, nodesOutOfOrderError, nodesOutOfOrderError, notSupportedChildError, removeChild, setLocator, setStructureTreeElement, startOfNode, tooManyNodesError, tooManyNodesError, tooManyNodesError, validateChildNode, warningTextpublic SVGElement(FONode parent)
parent - the parent formatting objectpublic 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 dimensionspublic 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 factorCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.