Hello Dave,
The "hanging" value inherits from the list definition (hanging=360) because
the <w:ind> in <w
><w
Pr> does not define and supersede this setting.
For the question of how it determines where to start the text in that
second bulleted paragraph:
Word 2003 (and Word 2007 with the compatibility setting on) looks forward
until it finds the first of:
o The hanging indent
o The next custom tab stop
o The next default tab top
In your example xml, we have the following in the second bulleted paragraph.
o A left indent of 1800 twips (from the direct formatting)
o A hanging indent of 360 twips (from the list definition)
o A list tab at 1080 twips (from the list definition)
o Default tab stops at {720,1440, 2160, 2880, ¡ } (from the document
settings)
Now, that means that:
1) The first line indent is 1440 twips (1800-360).
2) The bullet takes up some nominal width, followed by a tab stop. To get
that tab stop, we search for the first of the three things I mentioned:
The left indent - it's at 1800 twips
The next custom tab stop - none exist
The next default tab top - it's at 2160 twips
Therefore, 1800 twips wins.
And regarding the <w:tab val="list">, "list" is a value for Word 2003 only:
http://msdn.microsoft.com/en-us/library/aa173759(office.11).aspx
In ECMA word xml spec for the xml format in Word 2007, we use "num"
instead. It specifies that the current tab is a list tab, which is the tab
stop between the numbering and the paragraph contents in a numbered
paragraph. This justification style is used for backwards compatibility
with earlier word processors, and should be deprecated in favor of hanging
paragraph indention.
Regards,
Jialiang Ge (
[email protected], remove 'online.')
Microsoft Online Community Support