Re: [office] List item indents

From
David Faure <>
Date
2006-02-02T21:22:23+00:00
ID
Thread
Re: [office] List item indents
On Thursday 02 February 2006 21:25, Bruce D'Arcus wrote:
> Why is this a problem? 

Because OOo tends to generate something very un-html-like:

            <text:list text:style-name="L1">
              <text:list-item>
                <text:p text:style-name="P2">eins</text:p>
              </text:list-item>
            </text:list>
            <text:list text:style-name="L2">
              <text:list-item>
                <text:list>
                  <text:list-item>
                    <text:p text:style-name="P3">zwei</text:p>
                  </text:list-item>
                </text:list>
              </text:list-item>
            </text:list>
            <text:list text:style-name="L3">
              <text:list-item>
                <text:list>
                  <text:list-item>
                    <text:list>
                      <text:list-item>
                        <text:p text:style-name="P4">drei</text:p>
                      </text:list-item>
                    </text:list>
                  </text:list-item>
                </text:list>
              </text:list-item>
            </text:list>

In HTML this would actually nest the lists, instead of starting them from scratch (from the top level) every time.
Something like
            <text:list text:style-name="L1">
              <text:list-item>
                <text:p text:style-name="P2">eins</text:p>
                  <text:list-item>
                    <text:p text:style-name="P3">zwei</text:p>
                    etc.
                  </text:list-item>
                </text:list>
              </text:list-item>
            </text:list>

But due to some difference in the list style [which includes the definitions for 10 levels!!!!]
it can't use the same toplevel list, so it starts a new one every time.
I'm still quite unhappy about the design for lists in OpenDocument, it doesn't seem sound to me.
I would understand if a list style defined one level, but not 10.

The above XML is from simply changing indents on bullet points in ooimpress, nothing fancy.
See document attached.

-- 
David Faure, , sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).