<class name="QTextCharFormat" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextCharFormat.html#QTextCharFormat()&quot;&gt;&lt;tt&gt;QTextCharFormat&lt;/tt&gt;&lt;/a&gt; class provides formatting information for characters in a &lt;a href=&quot;QTextDocument.html&quot;&gt;&lt;tt&gt;QTextDocument&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The character format of text in a document specifies the visual properties of the text, as well as information about its role in a hypertext document.&lt;/p&gt;
&lt;p&gt;The font used can be set by supplying a font to the &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; function, and each aspect of its appearance can be adjusted to give the desired effect. &lt;a href=&quot;QTextCharFormat.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTextCharFormat.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt; define the font's family (e.g&amp;#x2e; Times) and printed size; &lt;a href=&quot;QTextCharFormat.html#setFontWeight(int)&quot;&gt;&lt;tt&gt;setFontWeight&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTextCharFormat.html#setFontItalic(boolean)&quot;&gt;&lt;tt&gt;setFontItalic&lt;/tt&gt;&lt;/a&gt; provide control over the style of the font. &lt;a href=&quot;QTextCharFormat.html#setFontUnderline(boolean)&quot;&gt;&lt;tt&gt;setFontUnderline&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextCharFormat.html#setFontOverline(boolean)&quot;&gt;&lt;tt&gt;setFontOverline&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QTextCharFormat.html#setFontStrikeOut(boolean)&quot;&gt;&lt;tt&gt;setFontStrikeOut&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QTextCharFormat.html#setFontFixedPitch(boolean)&quot;&gt;&lt;tt&gt;setFontFixedPitch&lt;/tt&gt;&lt;/a&gt; provide additional effects for text.&lt;/p&gt;
&lt;p&gt;The color is set with &lt;a href=&quot;QTextFormat.html#setForeground(com.trolltech.qt.gui.QBrush)&quot;&gt;&lt;tt&gt;setForeground&lt;/tt&gt;&lt;/a&gt;. If the text is intended to be used as an anchor (for hyperlinks), this can be enabled with &lt;a href=&quot;QTextCharFormat.html#setAnchor(boolean)&quot;&gt;&lt;tt&gt;setAnchor&lt;/tt&gt;&lt;/a&gt;. The &lt;a href=&quot;QTextCharFormat.html#setAnchorHref(java.lang.String)&quot;&gt;&lt;tt&gt;setAnchorHref&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QTextCharFormat.html#setAnchorNames(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setAnchorNames&lt;/tt&gt;&lt;/a&gt; functions are used to specify the information about the hyperlink's destination and the anchor's name.&lt;/p&gt;

@see &lt;a href=&quot;QTextFormat.html#QTextFormat(int)&quot;&gt;&lt;tt&gt;QTextFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextBlockFormat.html&quot;&gt;&lt;tt&gt;QTextBlockFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextTableFormat.html&quot;&gt;&lt;tt&gt;QTextTableFormat&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextListFormat.html&quot;&gt;&lt;tt&gt;QTextListFormat&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QTextCharFormat()" doc="/**
&lt;p&gt;Constructs a new character format object.&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String anchorHref()" doc="/**
&lt;p&gt;Returns the text format's hypertext link, or an empty string if none has been set.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setAnchorHref(java.lang.String)&quot;&gt;&lt;tt&gt;setAnchorHref&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.util.List&lt;java.lang.String&gt; anchorNames()" doc="/**
&lt;p&gt;Returns the anchor names associated with this text format, or an empty string list if none has been set. If the anchor names are set, text with this format can be the destination of a hypertext link.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setAnchorNames(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setAnchorNames&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QFont font()" doc="/**
&lt;p&gt;Returns the font for this character format.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String fontFamily()" doc="/**
&lt;p&gt;Returns the text format's font family.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontFamily(java.lang.String)&quot;&gt;&lt;tt&gt;setFontFamily&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontFixedPitch()" doc="/**
&lt;p&gt;Returns true if the text format's font is fixed pitch; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontFixedPitch(boolean)&quot;&gt;&lt;tt&gt;setFontFixedPitch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontItalic()" doc="/**
&lt;p&gt;Returns true if the text format's font is italic; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontItalic(boolean)&quot;&gt;&lt;tt&gt;setFontItalic&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontOverline()" doc="/**
&lt;p&gt;Returns true if the text format's font is overlined; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontOverline(boolean)&quot;&gt;&lt;tt&gt;setFontOverline&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final double fontPointSize()" doc="/**
&lt;p&gt;Returns the font size used to display text in this format.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontPointSize(double)&quot;&gt;&lt;tt&gt;setFontPointSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontStrikeOut()" doc="/**
&lt;p&gt;Returns true if the text format's font is struck out (has a horizontal line drawn through it); otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontStrikeOut(boolean)&quot;&gt;&lt;tt&gt;setFontStrikeOut&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean fontUnderline()" doc="/**
&lt;p&gt;Returns true if the text format's font is underlined; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontUnderline(boolean)&quot;&gt;&lt;tt&gt;setFontUnderline&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int fontWeight()" doc="/**
&lt;p&gt;Returns the text format's font weight.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setFontWeight(int)&quot;&gt;&lt;tt&gt;setFontWeight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QFont::Weight&lt;/tt&gt; */"/>
    <method name="public final boolean isAnchor()" doc="/**
&lt;p&gt;Returns true if the text is formatted as an anchor; otherwise returns false.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setAnchor(boolean)&quot;&gt;&lt;tt&gt;setAnchor&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setAnchorHref(java.lang.String)&quot;&gt;&lt;tt&gt;setAnchorHref&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setAnchorNames(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setAnchorNames&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean isValid()" doc="/**
&lt;p&gt;Returns true if this character format is valid; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final void setAnchor(boolean anchor)" doc="/**
&lt;p&gt;If &lt;tt&gt;anchor&lt;/tt&gt; is true, text with this format represents an anchor, and is formatted in the appropriate way; otherwise the text is formatted normally. (Anchors are hyperlinks which are often shown underlined and in a different color from plain text.)&lt;/p&gt;
&lt;p&gt;The way the text is rendered is independent of whether or not the format has a valid anchor defined. Use &lt;a href=&quot;QTextCharFormat.html#setAnchorHref(java.lang.String)&quot;&gt;&lt;tt&gt;setAnchorHref&lt;/tt&gt;&lt;/a&gt;, and optionally &lt;a href=&quot;QTextCharFormat.html#setAnchorNames(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setAnchorNames&lt;/tt&gt;&lt;/a&gt; to create a hypertext link.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#isAnchor()&quot;&gt;&lt;tt&gt;isAnchor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAnchorHref(java.lang.String value)" doc="/**
&lt;p&gt;Sets the hypertext link for the text format to the given &lt;tt&gt;value&lt;/tt&gt;. This is typically a URL like &amp;quot;http://www.trolltech.com/index.html&amp;quot;.&lt;/p&gt;
&lt;p&gt;The anchor will be displayed with the &lt;tt&gt;value&lt;/tt&gt; as its display text; if you want to display different text call &lt;a href=&quot;QTextCharFormat.html#setAnchorNames(java.util.List&lt;java.lang.String&gt;)&quot;&gt;&lt;tt&gt;setAnchorNames&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To format the text as a hypertext link use &lt;a href=&quot;QTextCharFormat.html#setAnchor(boolean)&quot;&gt;&lt;tt&gt;setAnchor&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#anchorHref()&quot;&gt;&lt;tt&gt;anchorHref&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAnchorNames(java.util.List&lt;java.lang.String&gt; names)" doc="/**
&lt;p&gt;Sets the text format's anchor &lt;tt&gt;names&lt;/tt&gt;. For the anchor to work as a hyperlink, the destination must be set with &lt;a href=&quot;QTextCharFormat.html#setAnchorHref(java.lang.String)&quot;&gt;&lt;tt&gt;setAnchorHref&lt;/tt&gt;&lt;/a&gt; and the anchor must be enabled with &lt;a href=&quot;QTextCharFormat.html#setAnchor(boolean)&quot;&gt;&lt;tt&gt;setAnchor&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#anchorNames()&quot;&gt;&lt;tt&gt;anchorNames&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFont(com.trolltech.qt.gui.QFont font)" doc="/**
&lt;p&gt;Sets the text format's &lt;tt&gt;font&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#font()&quot;&gt;&lt;tt&gt;font&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontFamily(java.lang.String family)" doc="/**
&lt;p&gt;Sets the text format's font &lt;tt&gt;family&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontFamily()&quot;&gt;&lt;tt&gt;fontFamily&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontFixedPitch(boolean fixedPitch)" doc="/**
&lt;p&gt;If &lt;tt&gt;fixedPitch&lt;/tt&gt; is true, sets the text format's font to be fixed pitch; otherwise a non-fixed pitch font is used.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontFixedPitch()&quot;&gt;&lt;tt&gt;fontFixedPitch&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontItalic(boolean italic)" doc="/**
&lt;p&gt;If &lt;tt&gt;italic&lt;/tt&gt; is true, sets the text format's font to be italic; otherwise the font will be non-italic.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontItalic()&quot;&gt;&lt;tt&gt;fontItalic&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontOverline(boolean overline)" doc="/**
&lt;p&gt;If &lt;tt&gt;overline&lt;/tt&gt; is true, sets the text format's font to be overlined; otherwise the font is displayed non-overlined.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontOverline()&quot;&gt;&lt;tt&gt;fontOverline&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontPointSize(double size)" doc="/**
&lt;p&gt;Sets the text format's font &lt;tt&gt;size&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontPointSize()&quot;&gt;&lt;tt&gt;fontPointSize&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontStrikeOut(boolean strikeOut)" doc="/**
&lt;p&gt;If &lt;tt&gt;strikeOut&lt;/tt&gt; is true, sets the text format's font with strike-out enabled (with a horizontal line through it); otherwise it is displayed without strikeout.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontStrikeOut()&quot;&gt;&lt;tt&gt;fontStrikeOut&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontUnderline(boolean underline)" doc="/**
&lt;p&gt;If &lt;tt&gt;underline&lt;/tt&gt; is true, sets the text format's font to be underlined; otherwise it is displayed non-underlined.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontUnderline()&quot;&gt;&lt;tt&gt;fontUnderline&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFontWeight(int weight)" doc="/**
&lt;p&gt;Sets the text format's font weight to &lt;tt&gt;weight&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#fontWeight()&quot;&gt;&lt;tt&gt;fontWeight&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QTextCharFormat.html#setFont(com.trolltech.qt.gui.QFont)&quot;&gt;&lt;tt&gt;setFont&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QFont::Weight&lt;/tt&gt; */"/>
    <method name="public final void setTableCellColumnSpan(int tableCellColumnSpan)" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#tableCellColumnSpan()&quot;&gt;&lt;tt&gt;tableCellColumnSpan&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTableCellRowSpan(int tableCellRowSpan)" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#tableCellRowSpan()&quot;&gt;&lt;tt&gt;tableCellRowSpan&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setTextOutline(com.trolltech.qt.gui.QPen pen)" doc="/**
&lt;p&gt;Sets the pen used to draw the outlines of characters to the given &lt;tt&gt;pen&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#textOutline()&quot;&gt;&lt;tt&gt;textOutline&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setToolTip(java.lang.String tip)" doc="/**
&lt;p&gt;Sets the tool tip for a fragment of text to the given &lt;tt&gt;tip&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#toolTip()&quot;&gt;&lt;tt&gt;toolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setUnderlineColor(com.trolltech.qt.gui.QColor color)" doc="/**
&lt;p&gt;Sets the underline color used for the characters with this format to the &lt;tt&gt;color&lt;/tt&gt; specified.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#underlineColor()&quot;&gt;&lt;tt&gt;underlineColor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setUnderlineStyle(com.trolltech.qt.gui.QTextCharFormat.UnderlineStyle style)" doc="/**
&lt;p&gt;Sets the style of underlining the text to &lt;tt&gt;style&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#underlineStyle()&quot;&gt;&lt;tt&gt;underlineStyle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVerticalAlignment(com.trolltech.qt.gui.QTextCharFormat.VerticalAlignment alignment)" doc="/**
&lt;p&gt;Sets the vertical alignment used for the characters with this format to the &lt;tt&gt;alignment&lt;/tt&gt; specified.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#verticalAlignment()&quot;&gt;&lt;tt&gt;verticalAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int tableCellColumnSpan()" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setTableCellColumnSpan(int)&quot;&gt;&lt;tt&gt;setTableCellColumnSpan&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int tableCellRowSpan()" doc="/**
&lt;p&gt;&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setTableCellRowSpan(int)&quot;&gt;&lt;tt&gt;setTableCellRowSpan&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QPen textOutline()" doc="/**
&lt;p&gt;Returns the pen used to draw the outlines of characters in this format.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setTextOutline(com.trolltech.qt.gui.QPen)&quot;&gt;&lt;tt&gt;setTextOutline&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String toolTip()" doc="/**
&lt;p&gt;Returns the tool tip that is displayed for a fragment of text.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setToolTip(java.lang.String)&quot;&gt;&lt;tt&gt;setToolTip&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QColor underlineColor()" doc="/**
&lt;p&gt;Returns the color used to underline the characters with this format.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setUnderlineColor(com.trolltech.qt.gui.QColor)&quot;&gt;&lt;tt&gt;setUnderlineColor&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextCharFormat.UnderlineStyle underlineStyle()" doc="/**
&lt;p&gt;Returns the style of underlining the text.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setUnderlineStyle(com.trolltech.qt.gui.QTextCharFormat.UnderlineStyle)&quot;&gt;&lt;tt&gt;setUnderlineStyle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextCharFormat.VerticalAlignment verticalAlignment()" doc="/**
&lt;p&gt;Returns the vertical alignment used for characters with this format.&lt;/p&gt;

@see &lt;a href=&quot;QTextCharFormat.html#setVerticalAlignment(com.trolltech.qt.gui.QTextCharFormat.VerticalAlignment)&quot;&gt;&lt;tt&gt;setVerticalAlignment&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="VerticalAlignment" doc="/**
&lt;p&gt;This enum describes the ways that adjacent characters can be vertically aligned.&lt;/p&gt;
 */">
        <enum-value name="AlignNormal" doc="/**
&lt;p&gt;Adjacent characters are positioned in the standard way for text in the writing system in use.&lt;/p&gt;
 */"/>
        <enum-value name="AlignSuperScript" doc="/**
&lt;p&gt;Characters are placed above the baseline for normal text.&lt;/p&gt;
 */"/>
        <enum-value name="AlignSubScript" doc="/**
&lt;p&gt;Characters are placed below the baseline for normal text.&lt;/p&gt;
 */"/>
        <enum-value name="AlignMiddle" doc="/**
&lt;p&gt;This is currently only implemented for inline objects. The center of the object is vertically aligned with the base line.&lt;/p&gt;
 */"/>
        <enum-value name="AlignTop" doc="/**
&lt;p&gt;The top edge of the object is vertically aligned with the base line.&lt;/p&gt;
 */"/>
        <enum-value name="AlignBottom" doc="/**
&lt;p&gt;The bottom edge of the object is vertically aligned with the base line.&lt;/p&gt;
 */"/>
</enum>
    <enum name="UnderlineStyle" doc="/**
&lt;p&gt;This enum describes the different ways drawing underlined text.&lt;/p&gt;

@see &lt;tt&gt;Qt::PenStyle&lt;/tt&gt; */">
        <enum-value name="NoUnderline" doc="/**
&lt;p&gt;Text is draw without any underlining decoration.&lt;/p&gt;
 */"/>
        <enum-value name="SingleUnderline" doc="/**
&lt;p&gt;A line is drawn using Qt::SolidLine.&lt;/p&gt;
 */"/>
        <enum-value name="DashUnderline" doc="/**
&lt;p&gt;Dashes are drawn using Qt::DashLine.&lt;/p&gt;
 */"/>
        <enum-value name="DotLine" doc="/**
&lt;p&gt;Dots are drawn using Qt::DotLine;&lt;/p&gt;
 */"/>
        <enum-value name="DashDotLine" doc="/**
&lt;p&gt;Dashs and dots are drawn using Qt::DashDotLine.&lt;/p&gt;
 */"/>
        <enum-value name="DashDotDotLine" doc="/**
&lt;p&gt;Underlines draw drawn using Qt::DashDotDotLine.&lt;/p&gt;
 */"/>
        <enum-value name="WaveUnderline" doc="/**
&lt;p&gt;The text is underlined using a wave shaped line.&lt;/p&gt;
 */"/>
        <enum-value name="SpellCheckUnderline" doc="/**
&lt;p&gt;The underline is drawn depending on the QStyle::SH_SpellCeckUnderlineStyle style hint of the &lt;a href=&quot;QApplication.html&quot;&gt;&lt;tt&gt;QApplication&lt;/tt&gt;&lt;/a&gt; style. By default this is mapped to &lt;a href=&quot;QTextCharFormat.html#UnderlineStyle-enum&quot;&gt;&lt;tt&gt;WaveUnderline&lt;/tt&gt;&lt;/a&gt;, on Mac OS X it is mapped to &lt;a href=&quot;QTextCharFormat.html#UnderlineStyle-enum&quot;&gt;&lt;tt&gt;DashDotLine&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</enum>
</class>
