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] revised proposal: new attributestext:style-override and text:list-id // Please clarify


Hi Oliver, Thomas,

taking a look at your latest proposal I have the following questions:

Let’s consider the following list style definitions:
<text:list-style style:name="L1">
 <text:list-level-style-number text:level="1" style:num-format="1" text:start-value="1" text:display-levels="1"/>
 <text:list-level-style-number text:level="2" style:num-format="1" text:start-value="1" text:display-levels="2"/>
</text:list-style>

<text:list-style style:name="L2">
 <text:list-level-style-number text:level="1" style:num-format="1" text:start-value="1" text:display-levels="1"/>
 <text:list-level-style-number text:level="2" style:num-format="1" text:start-value="10" text:display-levels="2"/>
</text:list-style>

<text:list-style style:name="L3">
 <text:list-level-style-number text:level="1" style:num-format="1" text:start-value="1" text:display-levels="10"/>
</text:list-style>

<text:list-style style:name="L4">
<text:list-level-style-bullet text:level="1" text:bullet-char="*">
</text:list-style>

Question 1)
What will be the outcome of the following numbered paragraph fragment:
<text:numbered-paragraph text:level="1" text:style-name="L1" text:list-id="1"><text:p>P1</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:style-name="L2" text:list-id="1"><text:p>P2</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:style-name="L1" text:list-id="1"><text:p>P3</text:p></text:numbered-paragraph>

I can think of
1 P1
1.1 P2
1.1 P3

1 P1
1.10 P2
1.11 P3

1 P1
1.10 P2
1.2 P3

depending on how internally the numbering is done, i.e. when the counters are set.

Question 2)
<text:numbered-paragraph text:level="1" text:style-name="L2" text:list-id="2"><text:p>P1</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:style-name="L1" text:list-id="2"><text:p>P2</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:style-name="L2" text:list-id="2"><text:p>P3</text:p></text:numbered-paragraph>
with the possible outcomes:
1 P1
1.1 P2
1.1 P3

1 P1
1.10 P2
1.11 P3

1 P1
1.10 P2
1.2 P3

also depending on how the numbering is internally done.

Question 3)
<text:list text:style-name="L1" text:id="3">
<text:list-item text:style-override="L3"><text:p>P1</text:p></text:list-item>
</text:list>
with the possible outcomes:
1 P1
or
10 P1
depending on when the internal counters are set.

Question 4)
<text:list style-name="L1" text:id="id1_1" >
   <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:list style-name="L1" text:id="id1_2" >
   <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:list style-name="L1" text:id="id1_3" text:continue-list="id1_1" text: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>
with the possible outcomes of
1 P1
2 P2
3 P3
4 P4
5 P5
6 P6
or
1 P1
2 P2
3 P3
4 P4
3 P5
4 P6

Question 5)
<text:list style-name="L1" text:id="id1_1" >
   <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:list style-name="L1" text:id="id1_2" >
   <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:list style-name="L1" text:id="id1_3" text:continue-list="id1_1">
   <text:list-item><text:p>P5</text:p></text:list-item>
   <text:list-item><text:p>P6</text:p></text:list-item>
</text:list>
with the possible outcomes of
1 P1
2 P2
3 P3
4 P4
5 P5
6 P6
or
1 P1
2 P2
3 P3
4 P4
3 P5
4 P6

Question 6)
<text:list style-name="L1">
   <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:list style-name="L4">
   <text:list-item><text:p>P3</text:p></text:list-item>
   t-item><text:p>P5</text:p></text:list-item>
   <text:list-item><text:p>P6</text:p></text:list-item>
</text:list>
has the result of
1 P1
2 P2
* P3
* P4
1 P5
2 P6

Question 7)
<text:list style-name="L1">
   <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:list style-name="L2">
   <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:list style-name="L1" text: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>
has the result of
1 P1
2 P2
1 P3
2 P4
1 P5
2 P6

Thanks,

~Florian


>>> Thomas Zander <zander@kde.org> 03/15/07 11:43 AM >>>
On Thursday 15 March 2007 10:25, Oliver-Rainer Wittmann - Software Engineer - 
Sun Microsystems wrote:
> In my opinion, the revised proposal reflects the last discussions, which
> can be applied to the proposal. Thanks for the discussions, which showed
> a use case, which wasn't covered.
> I think the proposal now reaches a status, so that the TC can vote on it
> in the next TC call. I'm confident, that the given objections are solved
> and that the TC members are in a position to support it.

Thanks Oliver, for writing this up.
I'd like to state my support for this proposal. It will make the list 
definition in ODF a lot clearer and we can finally aim for full interop 
between ODF apps.

For Florian, you have my phone number, so if you still have unanswered 
questions about this proposal, you know where to find me.
-- 
Thomas Zander



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