OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

parag4.odp



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]