2008/9/9 Andrew Douglas Pitonyak <[EMAIL PROTECTED]>

>
>
> Michele wrote:
>
>> In my version of the template the values set in the Position page are
>> not all 0: have you by any chance saved the file at some point in time
>> with OOo2.x? this really makes a mess out of numbered lists due to the
>> difference between ODF1.0/1.1 and ODF 1.2.
>>
>>
>
>  Please try not to use the List styles directly but use instead the
>> associated paragraph styles. In some cases, due to a problem with
>> lists in some of the developers' snapshots the best way to fix bullet
>> and numbered lists is to re-create them from scratch taking care of
>> copying then the original text in the new structure, taking care to
>> avoid the paragraph mark.
>>
>>
>
> I had to deal with a couple hundred numbered items being wrong. To fix the
> problem, i wrote a macro that trolled the document, removed the numbering,
> and then used a dispatch to reapply it. Using the standard methods to apply
> it did not work. I considered this a bug in the OOo 3.0 developer versions.
>
> I am not sure if my macro could be adapted to your issues, but if you have
> many instances to fix, drop me a line.
>
> Andrew Pitonyak
>
> Thanks Andrew,

I have converted manually all the lists in the Writer guide and it took
quite a bit, so when I will start updating the Impress guide I will most
probably give you a shout although the macro would need to be rather
sophisticated as instead of using list styles directly we now embed the list
styles in the paragraph styles and furthermore we use three different
paragraph styles: one for the first list item, one for the last list item
and one for the items in between (if any).
The macro therefore should be sufficiently clever to:
1. find paragraph with an associated list style
2. apply to the paragraph the correct paragraph style depending on the
position of the list item in the list
3. apply the correct level

So a list like this in the user guide version 2.x
1. OOoNumbered list style level 1
2. OOoNumbered list style level 1
    a) OOoNumbered list style level 2
    b) OOoNumbered list style level 2
3. OOoNumbered list style level 1

Becomes in the user guide version 3.x
1. OOoNum 123 Start paragraph style (OOoNum123 list style level 1)
2. OOoNum 123 Cont. paragraph style (OOoNum123 list style level 1)
    a) OOoNum abc Start paragraph style (OOoNum abc list style level 2)
    a) OOoNum abc Cont. paragraph style (OOoNum abc list style level 2)
3. OOoNum 123 End paragraph style (OOoNum123 list style level 1)

Complicated eh?

Cheers,

Michele

Reply via email to