|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.betabeans.scroogexhtml.converter.ScroogeXHTMLBase
de.betabeans.scroogexhtml.converter.ScroogeXHTMLMain
public abstract class ScroogeXHTMLMain
The ScroogeXHTMLMain class contains the core conversion algorithm for RTF. It follows the Microsoft Technical Documentation and Implementation Guide for RTF readers.
| Field Summary |
|---|
| Fields inherited from class de.betabeans.scroogexhtml.converter.ScroogeXHTMLBase |
|---|
DEFAULT_FONT_NR_UNKNOWN, FONTSIZE_EM, FONTSIZE_EX, FONTSIZE_PERCENT, FONTSIZE_POINT, NBSP_TAG |
| Constructor Summary | |
|---|---|
ScroogeXHTMLMain()
|
|
| Method Summary | |
|---|---|
java.lang.String |
convert()
The main converter method. |
java.lang.String |
process(FormattedText textElement)
The toString() methods of the FormattedText object calls this method to convert itself to HTML/XHTML. |
protected void |
replaceHyperlink(FormattedText textElement)
Implements abstract method ScroogeXHTMLBase.replaceHyperlink. |
protected void |
setReader(java.io.PushbackReader r)
Sets the reader attribute of the ScroogeXHTMLMain object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScroogeXHTMLMain()
| Method Detail |
|---|
protected final void setReader(java.io.PushbackReader r)
r - The new reader valuepublic final java.lang.String convert()
public final java.lang.String process(FormattedText textElement)
process in class ScroogeXHTMLBasetextElement - The text element.
protected final void replaceHyperlink(FormattedText textElement)
replaceHyperlink in class ScroogeXHTMLBasetextElement - The text element to be processed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||