org.apache.fop.svg
Class Text
java.lang.Object
|
+--org.apache.fop.fo.FONode
|
+--org.apache.fop.fo.FObj
|
+--org.apache.fop.svg.SVGObj
|
+--org.apache.fop.svg.Text
- public class Text
- extends SVGObj
class representing svg:text pseudo flow object.
Inner Class Summary |
static class |
Text.Maker
inner class for making SVG Text objects. |
Fields inherited from class org.apache.fop.fo.FONode |
bodyIndent,
BREAK_AFTER,
children,
distanceBetweenStarts,
forcedStartOffset,
forcedWidth,
isInLabel,
isInListBody,
isInTableCell,
labelSeparation,
linkSet,
marker,
orphans,
parent,
START,
widows |
Constructor Summary |
protected |
Text(FObj parent,
PropertyList propertyList)
constructs an SVG Text object (called by Maker). |
Method Summary |
protected void |
addCharacters(char[] data,
int start,
int length)
add characters to the string to display. |
protected void |
addChild(FONode child)
The children need to be added in order so that the text data
is also added in order. |
org.w3c.dom.svg.SVGElement |
createGraphic()
|
static FObj.Maker |
maker()
returns the maker for this object. |
Methods inherited from class org.apache.fop.svg.SVGObj |
layout |
Methods inherited from class org.apache.fop.fo.FONode |
forceStartOffset,
forceWidth,
getLinkSet,
getMarkerSnapshot,
getParent,
removeAreas,
resetMarker,
rollback,
setBodyIndent,
setDistanceBetweenStarts,
setIsInLabel,
setIsInListBody,
setIsInTableCell,
setLabelSeparation,
setLinkSet,
setOrphans,
setWidows |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Text
protected Text(FObj parent,
PropertyList propertyList)
- constructs an SVG Text object (called by Maker).
- Parameters:
parent
- the parent formatting objectpropertyList
- the explicit properties of this object
maker
public static FObj.Maker maker()
- returns the maker for this object.
- Returns:
- the maker for SVG Text objects
addCharacters
protected void addCharacters(char[] data,
int start,
int length)
- add characters to the string to display.
- Overrides:
- addCharacters in class FObj
- Parameters:
data
- array of charactersstart
- start offset in character arraylength
- number of characters to add
addChild
protected void addChild(FONode child)
- The children need to be added in order so that the text data
is also added in order.
- Overrides:
- addChild in class FONode
createGraphic
public org.w3c.dom.svg.SVGElement createGraphic()
- Overrides:
- createGraphic in class SVGObj
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.