Bug 134793 - FILEOPEN DOCX Image in numbered paragraph loses the paragraph numbering
Summary: FILEOPEN DOCX Image in numbered paragraph loses the paragraph numbering
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.1.0
Keywords: filter:docx
Depends on:
Blocks: DOCX-Bullet-Number-Outline-Lists
  Show dependency treegraph
 
Reported: 2020-07-14 08:29 UTC by NISZ LibreOffice Team
Modified: 2020-07-14 14:30 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word (30.22 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-14 08:29 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document side by side in Word and Writer (73.70 KB, image/png)
2020-07-14 08:29 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-07-14 08:29:06 UTC
Created attachment 163002 [details]
Example file from Word

This is an extension to bug #118701
If the example file of that bug is modified in Word to have paragraph numbering set, we can set numbering on the paragraph with the inline image, putting 3 numbered paragraphs in the document.
When opened in Writer the paragraph with the inline image loses its numbering.

Steps to reproduce:
    1. Open attached document

Actual results:
“Paragraph with numbering” has number 2, the image has no numbering.

Expected results:
“Paragraph with numbering” has number 3, the image has numbering.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: ffe503b62f9a508285ed06ef977f91604130579a
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Also happens in:
Verzió: 6.4.0.3 (x86)
Build az.: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: GL; VCL: win; 
Területi beállítások: en-US (hu_HU); Felület nyelve: hu-HU
Calc: CL

Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Verzió: 4.0.0.3 (Build az.: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Comment 1 NISZ LibreOffice Team 2020-07-14 08:29:33 UTC
Created attachment 163003 [details]
Screenshot of the original document side by side in Word and Writer
Comment 2 Xisco Faulí 2020-07-14 10:28:15 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: fa844c15233f108a0e9b0b2e8c9757c1aa088a4b
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 3 Commit Notification 2020-07-14 11:02:53 UTC
László Németh committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/616a47c9570f9ce67b18a124f08f4a342bff3468

tdf#134793 DOCX import: fix numbering with inline images

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Xisco Faulí 2020-07-14 14:30:34 UTC
Verified in

Version: 7.1.0.0.alpha0+
Build ID: 616a47c9570f9ce67b18a124f08f4a342bff3468
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@László Németh, thanks for fixing this issue!!