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] conversion algorithm


You mean:


<text:list style-name="L1">
<text:list-item>...</text:list-item>
</text:list>
<text:par>Normal Text</text:par>
<text:list style-name="L1" continue-numbering="true">
<text:list-item list-override="L2" >...</text:list-item>
<text:list-item list-override="L2" >...</text:list-item>
</text:list>
<text:par>Normal Text</text:par>
<text:list style-name="L1" continue-numbering="true">
<text:list-item>...</text:list-item>
</text:list>

or

<text:list style-name="L2">
<text:list-item   list-override="L1">...</text:list-item>
</text:list>
<text:par>Normal Text</text:par>
<text:list style-name="L2" continue-numbering="true">
<text:list-item>...</text:list-item>
<text:list-item>...</text:list-item>
</text:list>
<text:par>Normal Text</text:par>
<text:list style-name="L2"  continue-numbering="true">
<text:list-item list-override="L1" >...</text:list-item>
</text:list>

or even

<text:list style-name="L3">
<text:list-item list-override="L1">...</text:list-item>
</text:list>
<text:par>Normal Text</text:par>
<text:list style-name="L3"  continue-numbering="true">
<text:list-item list-override="L2" >...</text:list-item>
<text:list-item list-override="L2" >...</text:list-item>
</text:list>
<text:par>Normal Text</text:par>
<text:list style-name="L3" continue-numbering="true">
<text:list-item  list-override="L1" >...</text:list-item>
</text:list>


from converting from e.g

<text:numbered-paragraph list-id="id1" style:name="L1">...<text:numbered-paragraph>
<text:par>Normal Text</text:par>
<text:numbered-paragraph list-id="id1" style:name="L2">...<text:numbered-paragraph>
<text:numbered-paragraph list-id="id1" style:name="L2">...<text:numbered-paragraph>
<text:par>Normal Text</text:par>
<text:numbered-paragraph list-id="id1" style:name="L1">...<text:numbered-paragraph>


How does this change anything?


~Florian



>>> Thomas Zander <zander@kde.org> 03/12/07 6:20 PM >>>
On Monday 12 March 2007 17:32, Florian Reuter wrote:
> I personally have not figured out a way to write a deterministic conversion
> algorithm. I guess the choicce of what list style will be related to the
> list-id is always a non-deterministic choice.

[snip examples]

You end up with 3 different ways of doing it mostly because you are mixing 
proposals.

The proposal that Oliver sent out was to have the list-override on the 
text:list-item. Not on the text:list.

Try doing it like that and you'll see its a lot easier already.
-- 
Thomas Zander



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