* Regina Henschel ([email protected]) wrote:
> Hi David,

Hi Regina,
  Thanks for the reply.

> Dr. David Alan Gilbert schrieb am 10.10.2025 um 14:13:
> > Hi,
> >    Is anyone familiar with pptx's numbered lists?
> > I've got
> >    https://bugs.documentfoundation.org/show_bug.cgi?id=168406
> > half fixed by handling the text:start-value=  tag
> > but there seem to be other cases where the list numbering resets.
> 
> I have looked was is possible in ODF and what LO 25.8. currently does.

Note that I'm looking at pptx *import* not export.

> Slide 1: Start for my experiments
> 
> Slide 2: I remove the numbering by backspace in UI. That results in two
> paragraphs in the second list item. The numbering is correctly 1,2,no
> number, 3,4,5. But PowerPoint renders it as 1,2,3,4,5,6.
> 
> Slide 3: I have added a text:start-value="1" attribute to the third list
> item in file markup. That is rendered correctly as 1,2,no number,1,2,3 in
> LibreOffice. But neither PowerPoint nor Google Presentation can render this
> correctly when opening the .odp file
> 
> Slide 4. I have changed the list-item to an ordinary paragraph. LibreOffice
> has thereby automatically inserted a text:continue-numbering="true"
> attribute to the next list. When I set this to
> text:continue-numbering="false" in file markup, the rendering is 1,2,no
> number, 1,2,3. But the UI in Impress misses the needed option in the
> paragraph style. It exists in the paragraph style in Writer. => Enhancement
> request for Impress

I know there's already a request to add a UI to restart numbering in Impress
 ( https://bugs.documentfoundation.org/show_bug.cgi?id=163576 )
which you already commented on; it's not clear to me what the difference
is with continute-numbering.

> Slide 5. I have changed the list style for the second list to a different
> list style name. That should result in a new start of numbering. But that is
> not the case in LibreOffice => Bug.
> 
> Slide 6. I have added the text:start-value="1" attribute to the second list.
> That does not work in LibreOffice. It stills numbers 1,2,no number,3,4,5. =>
> Bug (Is this fixed by you already?)

No, I've only fixed the import side; if I import a pptx with a startAt=
it now gets a text:start-value= in the odp.

> Both PowerPoint and Google Presentation render the numbering the same 1,2,no
> number,1,2,3 for slides 4,5 and 6.

Consistency, rare :-)

> > 
> > My theories at the moment:
> >    some tests that reset if there's an intervening buNone paragraph.
> >    some that seem to do it if there's an endParaRPr in between.
> > 
> > And then...hmm, I'm not sure what some of the other cases are; the
> > original bug document doesn't do either of those, but has some unnumbered
> > paragraphs inbetween and I think those are triggering it.
> > 
> > Anyone want to suggest what the 'official' reset logic is?
> 
> I don't know, what is 'official' behavior for OOXML. Albeit, the behavior
> 'start with 1 after an unnumbered paragraph' and 'use startAt to force
> different start' is meaningful for PowerPoint.
> 
> > 
> > Dave
> > P.S. If you have a full version of Office, not the OneDrive version,
> > I'd be interested in some specific tests.
> 
> I have got an MS Office 365. You can tell me what you need.

Ah great, so what I could do with is something closer to the original;
something like:

     10 Ten
     11 Eleven
      1 One
      2 Two

maybe with a gap of various types between 11 and 1 ?
Then similar at second level:

   1 One
   2 Two
     a Aye
     b Bee
     f Eff
     g Gee
   3 Three
   4 Four

I want to make sure in that case that I only reset
the level that's supposed to and don't end up with
1,2,(a,b,f,g),1,2
(Maybe a gap between b and f ?)

I don't know whether that's possible in MS Office since all I can see
is the online version of whatever MS onedrive has - is that the same as
365 or does that give you more?

> BTW, the author of the original document is very "creative" to use a
> numbering that way. Normally such layout is done with tab stops.

Right!  My guess is that they started it with 1. something and Word
automatically turned it into a numbered list that they then
added stuff to.  (But in the online version I have access to
I can't see a way to change the starting value)

Thanks,

Dave

> Kind regards,
> Regina
> 
> 
> 
> 


-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/

Reply via email to