Package io.keikai.model.util
Class RichTextHelper
java.lang.Object
io.keikai.model.util.RichTextHelper
- All Implemented Interfaces:
Serializable
- Since:
- 3.6.0
- Author:
- RaymondChao
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeText(String text, boolean wrap, boolean multiline) static StringescapeVText(String text, boolean wrap) static StringgetCellRichTextHtml(SCell cell) static StringgetCellRichTextHtml(SCell cell, SRichText rstr, boolean wrap) static StringgetCellVRichTextHtml(SCell cell, SRichText rstr, boolean wrap) static StringgetFontCSSStyle(SFont font, boolean displayTypeOffset) static StringgetFontTextHtml(String text, SFont font) static StringgetFontTextHtml(String text, SFont font, boolean vtext) static intgetRichTextHeightPoints(SCell cell, SRichText rstr) static SFontgetRichTextRealFont(SFont font, SCell cell)
-
Constructor Details
-
RichTextHelper
public RichTextHelper()
-
-
Method Details
-
parse
-
getCellRichTextHtml
-
getRichTextRealFont
-
getCellRichTextHtml
-
escapeText
-
getFontTextHtml
-
getFontTextHtml
-
getFontCSSStyle
-
escapeVText
-
getCellVRichTextHtml
-
getRichTextHeightPoints
-