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.
 
Inner classes inherited from class org.apache.fop.fo.FObj
FObj.Maker
 
Fields inherited from class org.apache.fop.fo.FObj
name, properties
 
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.FObj
end, generatesReferenceAreas, getContentWidth, getName, getProperty, removeID, start
 
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
 

Constructor Detail

Text

protected Text(FObj parent,
               PropertyList propertyList)
constructs an SVG Text object (called by Maker).
Parameters:
parent - the parent formatting object
propertyList - the explicit properties of this object
Method Detail

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 characters
start - start offset in character array
length - 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.