[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Lists, and headings.
On Tuesday 10 April 2007, Dave Pawson wrote:
> My view is that headings are not part of a list, so shouldn't be embedded
> in list markup?
I agree. There is certainly a way to have numbered headings, by specifying that in the style for the heading (P3 in your case)
or even in <text:outline-style>.
This seems to be an OOo bug -- and another reason I am against <text:list> ;-)
Here's a better way to do numbered headings:
<text:h text:style-name="P1" text:outline-level="1"><text:number>1.</text:number>Content</text:h>
<text:h text:style-name="P2" text:outline-level="2"><text:number>1.1.</text:number></text:h>
(text:number is only informative for readers that don't implement numbering)
With this in styles.xml:
<text:outline-style>
<text:outline-level-style text:level="1" text:display-levels="1" style:num-format="1" style:num-prefix="" style:num-suffix="."/>
<text:outline-level-style text:level="2" text:display-levels="2" style:num-format="1" style:num-prefix="" style:num-suffix="."/>
<text:outline-level-style text:level="3" text:display-levels="3" style:num-format="1" style:num-prefix="" style:num-suffix="."/>
</text:outline-style>
--
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]