com.imcode.imcms.api
Class TextDocument.TextField

java.lang.Object
  extended bycom.imcode.imcms.api.TextDocument.TextField
Enclosing class:
TextDocument

public static class TextDocument.TextField
extends java.lang.Object


Method Summary
 java.lang.String getHtmlFormattedText()
          Get the text of this textfield as a html-formatted string, suitable for displaying in a html-page.
 java.lang.String getText()
          Get the text of this textfield.
 void setHtmlFormat()
          Set the format of the text in this textfield to HTML.
 void setPlainFormat()
          Set the format of the text in this textfield to plain text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setHtmlFormat

public void setHtmlFormat()
Set the format of the text in this textfield to HTML. (Should not be html-formatted.)


setPlainFormat

public void setPlainFormat()
Set the format of the text in this textfield to plain text. (Should be html-formatted.)


getText

public java.lang.String getText()
Get the text of this textfield.

Returns:
the text of this textfield.

getHtmlFormattedText

public java.lang.String getHtmlFormattedText()
Get the text of this textfield as a html-formatted string, suitable for displaying in a html-page.

Returns:
the text of this textfield as a html-formatted string, suitable for displaying in a html-page.