Bug 82169

Summary: FILEOPEN: MSO ODT - Numbering list number reset on following page
Product: LibreOffice Reporter: Yousuf Philips (jay) (retired) <philipz85>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTOURBUG    
Severity: normal CC: jorendc, rb.henschel, xiscofauli
Priority: medium Keywords: filter:odt
Version: Inherited From OOo   
Hardware: Other   
OS: All   
URL: http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-text_continue-numbering
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103369    
Attachments: sample file
Word 2013 VS LibO 4.3.1
how it looks in calligra

Description Yousuf Philips (jay) (retired) 2014-08-05 03:41:31 UTC
Created attachment 104040 [details]
sample file

Steps:
1) open attached file
2) you'll see a numbering list on the first page from 1 to 4
3) scroll to second page and the numbering list resets back to 1

Tested on 4.3.1 on Linux and master on Windows.
Comment 1 Yousuf Philips (jay) (retired) 2014-08-05 03:42:09 UTC
Created attachment 104041 [details]
Word 2013 VS LibO 4.3.1
Comment 2 Yousuf Philips (jay) (retired) 2014-08-05 03:48:04 UTC
Created attachment 104042 [details]
how it looks in calligra

Word has it as     1, 2, 3, 4,  5,  6,  7,  8,  9, 10.

LibO has it as     1, 2, 3, 4,  1,  2,  3,  4,  5,  6.

Calligra has it as 1, 2, 3, 4, 11, 12, 13, 14, 15, 16.
Comment 3 Jorendc 2014-08-19 20:22:13 UTC
Repro, Version: 4.4.0.0.alpha0+
Build ID: c67026f27023008d124c8ab76533169f032b04f6
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-08-17_08:03:30
Comment 4 Xisco FaulĂ­ 2015-08-19 14:37:03 UTC
Problem still present in

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: es-ES (es_ES)

on Windows 7 (64-bit)
Comment 5 Robinson Tryon (qubit) 2015-12-10 01:38:21 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-01-03 19:42:11 UTC Comment hidden (obsolete)
Comment 7 vihsa 2017-06-01 08:39:17 UTC
reproducible with lo viewer version: 5.5.0.0.alpha0+ / build id : ec79f34 / android 5.1
Comment 8 vihsa 2017-09-04 05:59:32 UTC
repro
5.0.0.0.alpha1+ [ build id: ab465b9 ]
5.1.0.0.alpha1+ [ build id: 1a6ec13 ]
5.1.0.0.alpha1+ [ build id: 5b791ec ]
5.2.0.0.alpha0+ [ build id: f6a74ce ]
5.3.0.0.alpha1+ [ build id: 4136757 ]
5.4.0.0.alpha0+ [ build id: 3902bb7 ]

os: android 5.1
device: lyf flame 3 [ ls-4001 ]
Comment 9 Yousuf Philips (jay) (retired) 2017-10-31 06:57:56 UTC
TextMaker show it similar to Word - 1, 2, 3, 4,  5,  6,  7,  8,  9, 10.
WebODF shows it like LO           - 1, 2, 3, 4,  1,  2,  3,  4,  5,  6.

Regina: thoughts?
Comment 10 Yousuf Philips (jay) (retired) 2017-10-31 06:58:41 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2018-11-01 03:52:09 UTC Comment hidden (obsolete)
Comment 12 Regina Henschel 2018-11-01 14:31:39 UTC
I think, it is not an error in LibreOffice. But the way Word writes it to file does not reflect what Word shows.
Word uses the attribute text:continue-numbering. But that attribute references the previous list (see URL). To continue a specific list, in this case the list before the indented list, the attribute text:continue-list (section above the linked one in the URL) has to be used.

(In reply to Yousuf Philips (jay) (retired) from comment #9) 
> Regina: thoughts?

It is a bug in Word. The "previous list" belongs to a different list style, and therefore it is not continued. Otherwise the numbering would be 7 and not 5 as Word shows.