Bug 140799 - FILEOPEN: Captions in grouped figures lose style informatino and figure number field.
Summary: FILEOPEN: Captions in grouped figures lose style informatino and figure numbe...
Status: RESOLVED DUPLICATE of bug 66039
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Frames
  Show dependency treegraph
 
Reported: 2021-03-04 15:03 UTC by Angelos Skembris
Modified: 2022-07-13 11:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test case for grouped captions. (28.53 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-03-04 15:03 UTC, Angelos Skembris
Details
Comparison MSO 2010 and LibreOffice 7.2 master (32.57 KB, image/png)
2021-03-08 19:59 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelos Skembris 2021-03-04 15:03:14 UTC
Created attachment 170212 [details]
Test case for grouped captions.

In my DOCX figures, I wrap the text around them, add a caption and group the caption with the figure so that I can move them together. I then include cross-references to these figures in the text. 

When opening the DOCX file LibreOffice Writer, the label in the caption text is lost (or not imported properly) and the caption's style information is not consistent with the original file. While the reference points to Figure 1, if I update the field the cross-reference will result in an error. 

Please see the attached test document. It includes the text with the cross-reference and a simple figure with a caption grouped with it. 

Opening the same file in writer results in the caption having lost the style information (it is no longer registered as "Caption" and not formatted correctly) and the figure label has been lost. 

Please note that the DOCX file was generated with Word 2010.
Comment 1 Xisco Faulí 2021-03-08 19:59:32 UTC
Created attachment 170348 [details]
Comparison MSO 2010 and LibreOffice 7.2 master
Comment 2 Xisco Faulí 2021-03-08 19:59:47 UTC
Reproduced in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: ee0f845b3d739a6109f08d5c0cd0d839100f6828
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc:
Comment 3 Xisco Faulí 2021-03-08 20:00:32 UTC
Also reproduced in

Version: 5.3.0.0.alpha0+
Build ID: a8a7b7114d96b2013b00e9bc0ced81aad5495457
CPU Threads: 4; OS Version: Linux 5.7; UI Render: default; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 4 Attila Bakos (NISZ) 2022-07-13 11:55:53 UTC

*** This bug has been marked as a duplicate of bug 66039 ***