org.kabeja.dxf.helpers
Class TextDocument

java.lang.Object
  extended by org.kabeja.dxf.helpers.TextDocument

public class TextDocument
extends java.lang.Object

Author:
Field Summary
protected  java.util.List paragraphs
           
 
Constructor Summary
TextDocument()
           
 
Method Summary
 void addStyledParagraph(StyledTextParagraph para)
           
 int getLineCount()
           
 int getMaximumLineLength()
           
 int getParagraphCount()
           
 java.util.Iterator getStyledParagraphIterator()
           
 StyledTextParagraph getStyleTextParagraph(int i)
           
 java.lang.String getText()
          Return the pure text content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paragraphs

protected java.util.List paragraphs
Constructor Detail

TextDocument

public TextDocument()
Method Detail

getText

public java.lang.String getText()
Return the pure text content.

Returns:
the text content

addStyledParagraph

public void addStyledParagraph(StyledTextParagraph para)

getStyledParagraphIterator

public java.util.Iterator getStyledParagraphIterator()

getParagraphCount

public int getParagraphCount()

getStyleTextParagraph

public StyledTextParagraph getStyleTextParagraph(int i)

getLineCount

public int getLineCount()

getMaximumLineLength

public int getMaximumLineLength()