[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] revised proposal: newattributes text:style-override andtext:list-id // Pleaseclarify
Thank so much Oliver, the "broken" question was: 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 ~Florian >>> Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems <Oliver-Rainer.Wittmann@Sun.COM> 03/16/07 11:26 AM >>> Hi Florian, Florian Reuter wrote: > 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. In my view it's: 1 P1 1.10 P2 1.11 P3 > > 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. > In my view it's: 1 P1 1.1 P2 1.2 P3 > 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. > In my view it's: 1 P1 > 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-number: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 > In my view it's: 1 P1 2 P2 1 P3 2 P4 3 P5 4 P6 The third list (paragraphs P5 and P6) continues the numbering of first list (paragraphs P1 and P2), because we should clarify in the existing revised proposal (http://www.oasis-open.org/archives/office/200703/msg00172.html), that text:continue-list "wins over" text:continue-numbering and that these attributes should be used mutual exclusive. > 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 In my view it's: 1 P1 2 P2 1 P3 2 P4 3 P5 4 P6 The third list (paragraphs P5 and P6) continues the numbering of first list (paragraphs P1 and P2). > > 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 > I don't know, because the XML fragement isn't valid XML. > 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 > Correct. Regards, Oliver.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]