Saving .odt files as .docx make tables, index/table of contents and text frames/containers, losing some settings/properties values

libreoffice-7.6.2.1

I’m asking because I want to know if this is solid enough to open a bug at (bugs. documentfoundation. org)

After saving a .odt file as .docx I found some bugs:

  • Tables loses the bottom spacing information, deleting the space. Even if I retry putting the value again after reopening the file, the space desappears;
  • Similar problem occurs with table of contents/index tabular space;
  • Similarly and even worst thing happens with text frame. The frame/container turns into a splitted in two parts (graphic shape and a textbox). Also the space under the frame desappears.

files:
FOR_BUG_REPORT_ODT.odt (15.3 KB)
FOR_BUG_REPORT_DOCX.docx (7.6 KB)

Could you attach a sample file so that I can study your formatting?

1 Like

Sure, done.

Yes.

1 Like

Bug reported: 159403 – Saving .odt files as .docx make tables, index/table of contents and text frames/containers, losing some settings/properties values (documentfoundation.org)

1 Like

Please don’t forget to attach a sample ODT to the report, which shows the problem when saved to DOCX - even if you believe it’s reliably reproducible and obvious from your description.

1 Like

I did two files, one is the original odt file and the other is the docx file with the bugs.

Are you sure you attached the original .odt file? When I open it, I have no space above or below the table.

I have a distortion with your frame. In the DOCX file, the frame is converted to a drawing object (but this is to be expected because DOCX has no notion of frames) and text is drawn outside of the borders!!! But if I untick Allow overlap in frame properties, save as DOCX and open this latter file, the distortion disappears. However spacing above and below lost anyway.

A TOC is a set of “standard paragraphs” except they are internally generated. Spacing and other properties are specified through paragraph parameters. These are kept in the conversion.

Here LO 7.6.4.1

Sorry for that, I forgot to add the space under the table. I have updated the files.

Issues confirmed:

  • table: spacing suppressed
  • frame: spacing suppressed but text now inside the box though Allow overlap still ticked

No problem with TOC spacing.

Maybe some options on Menu/Tools/LibreOffice Writer/Compatibility can help.

I’ll try doing some tests.

The TOC problem is here (update the TOC on right click):