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] Critical problem


I'm assuming a "1:1 relationship between the list style and the counter domain".

However Michael and Oliver clearly states that this is not the case.

So for example. In my world
<text:list style-name="L1" continue-numbering="true">
<text:list-item><text:p>P1</text:p></text:list-item>
<text:list-item><text:p>P2</text:p></text:list-item>
</text:list>
<text:p>Text</text:p>
<text:list style-name="L2" continue-numbering="true">
<text:list-item><text:p>P3</text:p></text:list-item>
<text:list-item><text:p>P4</text:p></text:list-item>
</text:list>
<text:p>Text</text:p>
<text:list style-name="L1" continue-numbering="true">
<text:list-item><text:p>P5</text:p></text:list-item>
<text:list-item><text:p>P6</text:p></text:list-item>
</text:list>
results in
1. P1
2. P2
Text
I. P3
II. P4
Text
3. P5
4. P6

In the interpretation from Oliver and Michael the above will result in
1. P1
2. P2
Text
III. P3
IV. P4
Text
5. P5
6. P6
since the preceeding list is just continued. Right? At least this is my understanding what Michael mean with HTML-like
list. But I'm not sure. However I asked him to clarify this. 

~Florian



>>> Thomas Zander <zander@kde.org> 03/13/07 1:17 PM >>>
On Tuesday 13 March 2007 12:49, Florian Reuter wrote:
> Hey. This is really no trick question. I don't know the answer. I only know
> an answer according to my proposal.

In the context of <text:list>s, how is your proposal different from ours?

See this stuff I wrote a week ago, in a reply to you.
On Tuesday 06 March 2007 18:08, Thomas Zander wrote:
> > I still don't see why a list-override would not be sufficient for you?
>
> That's a misunderstanding; I have absolutely nothing against list-override.
> As long as its used in the proper context.
>
> Basis difference between numbered paragraphs and text:list hierarchies are
> context.
> 1) numbered-paragraph does NOT have a way to map it to the list it belongs
> to. Text-list does have that because it is nested. So just get the xml-node
> that's the parent and you have the list it belongs to.
> We talked before about using the list-style as a marker for which list it
> belongs to; please read the archives for mails on why that's a bad idea.
> (hint its about separation of content and markup)
>
> 2) text:list does NOT have a way to give each item (aka paragraph) a
> different style. Instead you give the style to the list.
>
> The proposal I made in December [1] was to make the two basic units for
> lists more common by adding a feature to each.
> 1) Add list-id to numbered paragraphs to make it more like text:list.
> 2) add text:style-override to text:list to make it more like the numbered
> paragraphs.

-- 
Thomas Zander



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