edu.northwestern.at.wordhoard.tools
Class BuildParagraph

java.lang.Object
  extended by edu.northwestern.at.wordhoard.model.text.TextLine
      extended by edu.northwestern.at.wordhoard.tools.BuildParagraph
All Implemented Interfaces:
java.lang.Cloneable

public class BuildParagraph
extends TextLine

Builds styled paragraphs.


Nested Class Summary
static class BuildParagraph.Error
          Error class.
 
Field Summary
 
Fields inherited from class edu.northwestern.at.wordhoard.model.text.TextLine
CENTER, LEFT, RIGHT
 
Constructor Summary
BuildParagraph(org.w3c.dom.Element el, byte charset, byte size)
          Creates a new paragraph.
 
Method Summary
 
Methods inherited from class edu.northwestern.at.wordhoard.model.text.TextLine
addIndentation, appendRun, appendRun, appendRun, clone, computeVerticalPositioningInformation, computeWidth, finalize, getAscent, getDescent, getHeight, getIndentation, getJustification, getLabel, getLeading, getLength, getMarginalia, getNumber, getRuns, getStanzaLabel, getText, getWidth, isEmpty, isMarked, readExternal, setIndentation, setJustification, setMarginalia, setMarked, setWidth, writeExternal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildParagraph

public BuildParagraph(org.w3c.dom.Element el,
                      byte charset,
                      byte size)
               throws BuildParagraph.Error
Creates a new paragraph.

Parameters:
el - "p" or "seg" XML element.
charset - Character set.
size - Font size.
Throws:
BuildParagraph.Error