Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
The eXtyles list XML export behavior automatically generates the correct list type attributes for many common lists. Based on the label that is used in the list, eXtyles can automatically populate the list type in the XML. The following table describes the specific list types (both ordered and unordered) and the resulting XML.
Note |
---|
The list paragraph styles in Word are not formatted with Word’s auto-number/auto-bullet feature. |
List Label | Paragraph Style (and Example) | XML |
---|---|---|
Ordered Lists | ||
Arabic numerals | ListNum1*
| <ordered-list type="arabic"> |
Arabic numerals | ListNum1 Evid*
| <ordered-list type="arabic"> |
Roman numeral (lower) | ListNum1 i. Letter to Client | <ordered-list type="roman-lower"> |
Roman numeral (upper) | ListNum1 I. Letter to Client | <ordered-list type="roman-upper"> |
Lowercase letters | ListNum1 a. Letter to Client | <ordered-list type="alpha-lower"> |
Uppercase letters | ListNum1 A. Letter to Client | <ordered-list type="alpha-upper"> |
Uppercase letters | ListNumUpperCase A. Letter to Client | <ordered-list type="alpha-upper"> |
Unordered Lists | ||
Bullets | BulletList
| <unordered-list type="bull"> |
Checklist | BulletList ❐ Letter to Client | <unordered-list type="checklist"> |
Unnumbered | UnorderedList Letter to Client | <unordered-list type="checklist"> |
*The only difference between ListNum1 and ListNum1 Evid is that the Evidence list style is formatted as a smaller font in the Word document. The XML output is the same for both.
Panel | ||
---|---|---|
| ||
|
Nested (sub)List Items
When a list has subitems, the Numbered List 2 paragraph style should be used. For example,
Panel |
---|
Image Added |
Produces the following XML. Note that the ListNum2 items are correctly nested inside the first list item.
Code Block | ||
---|---|---|
| ||
<ordered-list type="arabic">
<list-item>
<para style="last-para" type="flush">Letter to Client Regarding Negotiating Settlement with Unrepresented Spouse (Form 8.5)</para>
<ordered-list type="alpha-lower2">
<list-item>
<para style="last-para" type="flush">Regarding Negotiating Settlement</para>
</list-item>
<list-item>
<para style="last-para" type="flush">with Unrepresented Spouse (Form 8.5)</para>
</list-item>
</ordered-list>
</list-item>
<list-item>
<para style="last-para" type="flush">Letter to Client’s Unrepresented Spouse Regarding Negotiating Settlement (Form 8.6)</para>
</list-item>
<list-item>
<para style="last-para" type="flush">Authorization to Hire Professionals (Form 7.3)</para>
</list-item>
</ordered-list> |
As with ListNum1, eXtyles will automatically populate the list type for ListNum2 based on the list label in the Word document (e.g., in the previous example, alpha-lower2
).