|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.bliki.wiki.filter.LaTeXConverter
public class LaTeXConverter
A converter which renders the internal node representation as LaTeX text
| Field Summary | |
|---|---|
static java.lang.String[] |
CHAR_REPLACEMENTS
Escaped characters which can be used inside LaTeX |
static java.lang.String |
CHARS_TO_REPLACE
Original chars which have to be escaped, because they have a special meaning in LaTeX |
static java.lang.String[] |
STRING_REPLACEMENTS
|
static java.lang.String[] |
STRINGS_TO_REPLACE
replacements for whole Strings |
static java.lang.String |
TEMP_BRACES
|
| Constructor Summary | |
|---|---|
LaTeXConverter()
|
|
| Method Summary | |
|---|---|
void |
imageNodeToText(TagNode imageTagNode,
ImageFormat imageFormat,
java.lang.Appendable resultBuffer,
IWikiModel model)
Convert the imageTagNode into a given HTML string buffer |
void |
nodesToText(java.util.List<BaseToken> nodes,
java.lang.Appendable resultBuffer,
IWikiModel model)
Convert the list of TagTokens into a given HTML string buffer |
boolean |
noLinks()
If this method returns true, then the <a> tag should only render the title of the link and not a link to another HTML document, but only the link text. |
static java.lang.String |
texEscapeString(java.lang.String s)
Escapes characters or whole strings that otherwise have a special meaning in tex. |
static java.lang.String |
verbToText(java.lang.String s)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TEMP_BRACES
public static final java.lang.String[] CHAR_REPLACEMENTS
public static final java.lang.String CHARS_TO_REPLACE
public static final java.lang.String[] STRING_REPLACEMENTS
public static final java.lang.String[] STRINGS_TO_REPLACE
| Constructor Detail |
|---|
public LaTeXConverter()
| Method Detail |
|---|
public void nodesToText(java.util.List<BaseToken> nodes,
java.lang.Appendable resultBuffer,
IWikiModel model)
throws java.io.IOException
ITextConverter
nodesToText in interface ITextConverternodes - list of TagTokenresultBuffer - the rendered HTML stringmodel - the current wiki model
java.io.IOException
public void imageNodeToText(TagNode imageTagNode,
ImageFormat imageFormat,
java.lang.Appendable resultBuffer,
IWikiModel model)
throws java.io.IOException
ITextConverter
imageNodeToText in interface ITextConverterimageTagNode - the tag which carries the imageFormat wiki object as an object
attributeresultBuffer - the rendered HTML stringmodel - the current wiki model
java.io.IOExceptionpublic static java.lang.String verbToText(java.lang.String s)
public static java.lang.String texEscapeString(java.lang.String s)
public boolean noLinks()
ITextConverter
noLinks in interface ITextConverter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||