Bug 36868 - Different paragraph numbering than msword in doc
Summary: Different paragraph numbering than msword in doc
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Miklos Vajna
URL:
Whiteboard: target:4.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 05:10 UTC by Roman Polach
Modified: 2013-10-15 14:18 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
document where paragraph numbering is used (23.00 KB, application/msword)
2011-05-05 05:10 UTC, Roman Polach
Details
screenshot in ms word 2000 (3.75 KB, image/png)
2011-05-05 05:10 UTC, Roman Polach
Details
screenshot in libreoffice writer 3.3.2 (3.80 KB, image/png)
2011-05-05 05:11 UTC, Roman Polach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Polach 2011-05-05 05:10:13 UTC
Created attachment 46355 [details]
document where paragraph numbering is used

When I open attached .doc in Word 2000, paragraphs are numbered:
1, 2, 2.1, 2.2, 2.2.1.
When I open it in LibreOffice 3.3.2, paragraphs are numbered:
1, 2, 1.1, 1.2, 1.2.1.

Moreover, cross-reference "2.2" is incorrectly shown as "2".

Screenshots attached too.
Comment 1 Roman Polach 2011-05-05 05:10:50 UTC
Created attachment 46356 [details]
screenshot in ms word 2000
Comment 2 Roman Polach 2011-05-05 05:11:15 UTC
Created attachment 46357 [details]
screenshot in libreoffice writer 3.3.2
Comment 3 Noel Power 2011-05-06 02:42:32 UTC
caolan any insights ? feel free of course to push back to the bug-list
Comment 4 Luboš Luňák 2011-07-28 08:41:38 UTC
Fixed by commit 04e35708aaa625d180a5bb42591470508c40c522 .
Comment 5 Miklos Vajna 2013-10-15 13:14:38 UTC
I think the fix is buggy, it makes numbering which are plain numbering an outline level one as well. I'll provide a different fix that doesn't have this nasty side-efect.
Comment 6 Miklos Vajna 2013-10-15 13:18:27 UTC
Sha1 of the original fix in core.git is e3d5c3e0746916c4056389dd8c2daa6c451c8f6e
Comment 7 Commit Notification 2013-10-15 14:18:41 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=74904ca6b083f16074e1c5b60729890fc972ad42

fdo#36868 WW8 import: allow outline numbering and list style in the same ...



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.