[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office] Re: [office-comment] Re: my comments on the numberingspec proposal discussed by David F. andFlorian R.
Hi, Florian Reuter wrote: > Wow --- thats interresting. > > Let's assume the lists will restart, then I would expect: > 1. > 1.A. > A.i. > i.a. I agree. That's what I would expect, too. I believe Oliver just stepped into the wrong row. > > since: > LS1=< {"1"/1}, {"1"/2}, {"1"/3}, {"1"/4}, … > > LS2=< {"1"/1}, {"A"/2}, {"1"/3}, {"1"/4}, … > > LS3=< {"A"/1}, {"i"/2}, {"1"/3}, {"1"/4}, … > > LS4=< {"i"/1}, {"a"/2}, {"1"/3}, {"1"/4}, … > > > However I woudn't expect the lists to restart --- can you point me to the relevant ODF1.1 spec line? I would expect: It's section 4.3.1.2 Continue Numbering "By default, the first list item in a list starts with the number specified in the list style. The continue numbering attribute can be used to continue the numbering from the preceding list." together with 14.10.4.4 Start Value <define name="text-list-level-style-number-attr" combine="interleave"> <optional> <attribute name="text:start-value" a:defaultValue="1"> <ref name="positiveInteger"/> </attribute> </optional> </define> The first sentence of 4.3 Lists further says: "The OpenDocument format supports list structures, similar to those found in [HTML4]." List restart in HTML, too. Michael > 1. > 2.A. > C.ii. > iv.c. > > --or-- > > 1. > 2.A. > 3.ii. > 4.c. > > However I would ~never~ expect: > 1. > 1.1. > A.A. > i.i. > > /me is quite confused. > > ~Florian > >>>> Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems <Oliver-Rainer.Wittmann@Sun.COM> 01/22/07 3:12 PM >>> > Florian Reuter wrote: >> Hi Oliver, >> >> thanks for your resonse. We still need to get confirmation from David whether he agrees or not. >> >> Let me ask you a different question. What will be the outcome of the following list? >> >> <list style-name="LS1"> >> <list-item> >> <p>..<p> >> <list style-name="LS2"> >> <list-item> <p>..<p> </list-item> >> </list> >> <list style-name="LS3"> >> <list-item> <p>..<p> </list-item> >> </list> >> <list style-name="LS4"> >> <list-item> <p>..<p> </list-item> >> </list> >> </list-item> >> </list> >> >> with the list styles as given below. >> >> Thanks very much helping me to understand the problem. >> >> ~Florian >> > Hi, > > In my interpretation of the ODF specification 1.1 the above given list > using the list definition given below will result in: > 1. > 1.1. > A.A. > i.i. > > Each <text:list> block restarts the numbering for the corresponding list > level. > > Regards, Oliver. >> >>>>> Oliver-Rainer Wittmann - Software Engineer - Sun Microsystems <Oliver-Rainer.Wittmann@Sun.COM> 01/22/07 2:19 PM >>> >> Florian Reuter wrote: >>> Hi Oliver, >>> Hi David, >>> >>> A question for a better understanding: >>> >>> So lets suppose we have the following list style definitions {style:num-format, text:display-levels}: >>> LS1=< {"1"/1}, {"1"/2}, {"1"/3}, {"1"/4}, … > >>> LS2=< {"1"/1}, {"A"/2}, {"1"/3}, {"1"/4}, … > >>> LS3=< {"A"/1}, {"i"/2}, {"1"/3}, {"1"/4}, … > >>> LS4=< {"i"/1}, {"a"/2}, {"1"/3}, {"1"/4}, … > >>> >>> and we have the following numbered paragraphs: >>> <numbered-paragraph list-id="1" style-name="LS1" level="1">..</..> >>> <numbered-paragraph list-id="1" style-name="LS2" level="2">..</..> >>> <numbered-paragraph list-id="1" style-name="LS3" level="2">..</..> >>> <numbered-paragraph list-id="1" style-name="LS4" level="2">..</..> >>> >>> my understanding of the list-id proposal is that this results in the following numbers: >>> 1. >>> 2.A. >>> C.ii. >>> iv.c. >>> >>> or will it be? (Which I would like more): >>> 1. >>> 2.A. >>> 3.ii. >>> 4.c. >>> >>> ~Florian >>> >>> P.S. Still trying to get it :-) >>> >>> >> Hi, >> >> when I understand your list definitions correct, then you will get: >> 1. >> 1.A. >> A.ii. >> i.c. >> >> Note: There is only one paragraph on level 1 for this list, which is the >> first paragraph one. The following paragraphs are all list items on >> level 2 and are all sub-elements of the first one. >> >> In my interpretation of the list style, which is applied at a paragraph, >> is used to build-up the numbering label. If the numbering label states, >> that numbers of superior levels have to be included, these numbers >> should be formatted in the number format given at this list style for >> the corresponding level. >> >> The same holds for the same list converted to <text:list> using >> attribute text:style-override. >> >> Regards, Oliver. >> >> > -- Michael Brauer, Technical Architect Software Engineering StarOffice/OpenOffice.org Sun Microsystems GmbH Nagelsweg 55 D-20097 Hamburg, Germany michael.brauer@sun.com http://sun.com/staroffice +49 40 23646 500 http://blogs.sun.com/GullFOSS
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]