<class name="QTextListFormat" doc="/**
&lt;p&gt;The &lt;a href=&quot;QTextListFormat.html#QTextListFormat()&quot;&gt;&lt;tt&gt;QTextListFormat&lt;/tt&gt;&lt;/a&gt; class provides formatting information for lists 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;A list is composed of one or more items, represented as text blocks. The list's format specifies the appearance of items in the list. In particular, it determines the indentation and the style of each item.&lt;/p&gt;
&lt;p&gt;The indentation of the items is an integer value that causes each item to be offset from the left margin by a certain amount. This value is read with &lt;a href=&quot;QTextListFormat.html#indent()&quot;&gt;&lt;tt&gt;indent&lt;/tt&gt;&lt;/a&gt; and set with &lt;a href=&quot;QTextListFormat.html#setIndent(int)&quot;&gt;&lt;tt&gt;setIndent&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The style used to decorate each item is set with &lt;a href=&quot;QTextListFormat.html#setStyle(com.trolltech.qt.gui.QTextListFormat.Style)&quot;&gt;&lt;tt&gt;setStyle&lt;/tt&gt;&lt;/a&gt; and can be read with the &lt;a href=&quot;QTextListFormat.html#style()&quot;&gt;&lt;tt&gt;style&lt;/tt&gt;&lt;/a&gt; function. The style controls the type of bullet points and numbering scheme used for items in the list. Note that lists that use the decimal numbering scheme begin counting at 1 rather than 0.&lt;/p&gt;

@see &lt;a href=&quot;QTextList.html&quot;&gt;&lt;tt&gt;QTextList&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QTextListFormat()" doc="/**
&lt;p&gt;Constructs a new list format object.&lt;/p&gt;
 */"/>
    <method name="public final int indent()" doc="/**
&lt;p&gt;Returns the list format's indentation.&lt;/p&gt;

@see &lt;a href=&quot;QTextListFormat.html#setIndent(int)&quot;&gt;&lt;tt&gt;setIndent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isValid()" doc="/**
&lt;p&gt;Returns true if this list format is valid; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final void setIndent(int indent)" doc="/**
&lt;p&gt;Sets the list format's &lt;tt&gt;indent&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextListFormat.html#indent()&quot;&gt;&lt;tt&gt;indent&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setStyle(com.trolltech.qt.gui.QTextListFormat.Style style)" doc="/**
&lt;p&gt;Sets the list format's &lt;tt&gt;style&lt;/tt&gt;. See &lt;tt&gt;Style&lt;/tt&gt; for the available styles.&lt;/p&gt;

@see &lt;a href=&quot;QTextListFormat.html#style()&quot;&gt;&lt;tt&gt;style&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QTextListFormat.Style style()" doc="/**
&lt;p&gt;Returns the list format's style. See &lt;tt&gt;Style&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QTextListFormat.html#setStyle(com.trolltech.qt.gui.QTextListFormat.Style)&quot;&gt;&lt;tt&gt;setStyle&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="Style" doc="/**
&lt;p&gt;This enum describes the symbols used to decorate list items:&lt;/p&gt;
&lt;p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;
&lt;tr&gt;&lt;th width=&quot;25%&quot;&gt;Constant&lt;/th&gt;&lt;th width=&quot;15%&quot;&gt;Value&lt;/th&gt;&lt;th width=&quot;60%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ListDisc&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;-1&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;a filled circle&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ListCircle&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;-2&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;an empty circle&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ListSquare&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;-3&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;a filled square&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ListDecimal&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;-4&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;decimal values in ascending order&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ListLowerAlpha&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;-5&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;lower case Latin characters in alphabetical order&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ListUpperAlpha&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;-6&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;upper case Latin characters in alphabetical order&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
 */">
        <enum-value name="ListDisc" doc="/**
&lt;p&gt;a filled circle&lt;/p&gt;
 */"/>
        <enum-value name="ListCircle" doc="/**
&lt;p&gt;an empty circle&lt;/p&gt;
 */"/>
        <enum-value name="ListSquare" doc="/**
&lt;p&gt;a filled square&lt;/p&gt;
 */"/>
        <enum-value name="ListDecimal" doc="/**
&lt;p&gt;decimal values in ascending order&lt;/p&gt;
 */"/>
        <enum-value name="ListLowerAlpha" doc="/**
&lt;p&gt;lower case Latin characters in alphabetical order&lt;/p&gt;
 */"/>
        <enum-value name="ListUpperAlpha" doc="/**
&lt;p&gt;upper case Latin characters in alphabetical order&lt;/p&gt;
 */"/>
        <enum-value name="ListStyleUndefined" doc="/**
Internal. */"/>
</enum>
</class>
