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: consensus suggestion


Hi,

here is a consensus suggestion. 
The proposal may still contain some problem, but I just wanted to get my consensus suggestion to the TC.

The basic are idea is that numbered-paragraphs get a text:list-id but we introduce a list-id-table.

The thing which will be hard to grasp for Thomas and Oliver is expressed by the following example I guess:

[Normative sample:
<office:automatic-styles>
<text:list-id-table>
<text:list-id-definition text:list-id="id1" text:style-name="L1">
</text:list-id-table>
</office:automatic-styles>
and
<text:numbered-paragraph text:list-id="id1" text:style-name="L4"><text:p>P1</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:list-id="id1"
text:style-name="L4"><text:p>P2</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:list-id="id1"
text:style-name="L4"><text:p>P3</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:list-id="id1"
text:style-name="L4"><text:p>P4</text:p></text:numbered-paragraph>
will result in
I. P1
I.i P2
I.ii P3
I.iii P4
and not in 
I. P1
I.x P2
I.xi P3
I.xi P4
since the start values are taken from the style associated with the list-id.
]

with

<text:list-style style:name="L1">
 <text:list-level-style-number text:level="1" style:num-suffix="." style:num-format="1">
  <style:list-level-properties text:space-before="0.25in" text:min-label-width="0.25in"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1">
  <style:list-level-properties text:space-before="0.5in" text:min-label-width="0.25in"/>
 </text:list-level-style-number>
...
</text:list-style>

and

<text:list-style style:name="L4">
 <text:list-level-style-number text:level="1" style:num-suffix="." style:num-format="I">
  <style:list-level-properties text:space-before="0.25in" text:min-label-width="0.25in"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="i" text:start-value="10">
  <style:list-level-properties text:space-before="0.5in" text:min-label-width="0.25in"/>
 </text:list-level-style-number>
</text:list-style>


However the good thing will be that in the "normal case" the XML representation gets pretty compact
[Normative sample:
<office:automatic-styles>
<text:list-id-table>
<text:list-id-definition text:list-id="id1" text:style-name="L1">
</text:list-id-table>
</office:automatic-styles>
and
<text:numbered-paragraph text:list-id="id1"><text:p>P1</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:list-id="id1"><text:p>P2</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:list-id="id1"><text:p>P3</text:p></text:numbered-paragraph>
<text:numbered-paragraph text:level="2" text:list-id="id1"
text:style-name="L2"><text:p>Appendix</text:p></text:numbered-paragraph>
will result in
1. P1
1.1 P2
1.1 P3
B Appendix
]

with 

<text:list-style style:name="L2">
 <text:list-level-style-number text:level="1" style:num-suffix="." style:num-format="I">
  <style:list-level-properties text:space-before="0.25in" text:min-label-width="0.25in"/>
 </text:list-level-style-number>
 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="i">
  <style:list-level-properties text:space-before="0.5in" text:min-label-width="0.25in"/>
 </text:list-level-style-number>
</text:list-style>

~Florian

consensusodf12numproposal.odt



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