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 23:18, Bastian, Waldo wrote:
> David wrote:
> >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.
> 
> The intention behind the 10 list-levels seems to me that you can have 1
> list style with different styles at different indentations. So you would
> expect that OOo would keep the single list-style and only update the
> applicable level if it needs to make a change.
Yes.

> Is there a difference between L1 and L2 in your example at all?

    <text:list-style style:name="L1">
      <text:list-level-style-bullet text:level="1" text:bullet-char="●">
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="45%"/>
      </text:list-level-style-bullet>
      <text:list-level-style-bullet text:level="2" text:bullet-char="–">
        <style:list-level-properties text:space-before="1cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="75%"/>
      </text:list-level-style-bullet>
      <text:list-level-style-bullet text:level="3" text:bullet-char="●">
        <style:list-level-properties text:space-before="2cm" text:min-label-width="0.6cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="45%"/>
      </text:list-level-style-bullet>
...

    <text:list-style style:name="L2">
      <text:list-level-style-bullet text:level="1" text:bullet-char="●">
        <style:list-level-properties text:space-before="0.3cm" text:min-label-width="0.9cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="45%"/>
      </text:list-level-style-bullet>
      <text:list-level-style-bullet text:level="2" text:bullet-char="–">
        <style:list-level-properties text:space-before="2cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="75%"/>
      </text:list-level-style-bullet>
      <text:list-level-style-bullet text:level="3" text:bullet-char="●">
        <style:list-level-properties text:space-before="3cm" text:min-label-width="0.6cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="45%"/>
      </text:list-level-style-bullet>
...

The value of text:space-before was changed for *all* levels.

    <text:list-style style:name="L3">
      <text:list-level-style-bullet text:level="1" text:bullet-char="●">
        <style:list-level-properties text:space-before="0.3cm" text:min-label-width="0.9cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="45%"/>
      </text:list-level-style-bullet>
      <text:list-level-style-bullet text:level="2" text:bullet-char="–">
        <style:list-level-properties text:space-before="1.6cm" text:min-label-width="0.8cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="75%"/>
      </text:list-level-style-bullet>
      <text:list-level-style-bullet text:level="3" text:bullet-char="●">
        <style:list-level-properties text:space-before="3cm"/>
        <style:text-properties fo:font-family="StarSymbol" style:use-window-font-color="true" fo:font-size="45%"/>
      </text:list-level-style-bullet>
...

The value of text:space-before was changed for level 2 only.

We should definitely have a way to change the style for one level without having to define the style for 10 levels.
I advocate a <text:list-style text:level="2" style:name="L3"> + definition for level 2 only.
This requires to separate list stylename and list "id" (i.e. which paragraphs are part of the same
numbering), as discussed with Florian, but the issue has been postponed...

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


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