Bug 155027 - Lost content when I transfer my word file to PDF
Summary: Lost content when I transfer my word file to PDF
Status: RESOLVED DUPLICATE of bug 61594
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Tables
  Show dependency treegraph
 
Reported: 2023-04-26 09:19 UTC by nianchongchong
Modified: 2023-04-27 10:04 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
the rar file is origin files (49.65 KB, application/vnd.rar)
2023-04-26 09:22 UTC, nianchongchong
Details
please see this file! (38.65 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-04-26 10:32 UTC, nianchongchong
Details
LO 7.6 alpha0+ vs Office 365 (389.26 KB, image/png)
2023-04-26 15:39 UTC, Stéphane Guillou (stragu)
Details
LO 7.5.3.1 vs Office 365 (408.14 KB, image/png)
2023-04-26 15:43 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nianchongchong 2023-04-26 09:19:55 UTC
Description:
my word file contains a table,and when I use LibreOffice software to open it, or export as pdf,then it loses some contents.

Steps to Reproduce:
1.open cmd and input soffice if you set enviroment variables of LibreOffice 
2.use LibreOffice software to open problem word file

Actual Results:
there will lose some contents of the word file.

Expected Results:
show the content of word file fully.


Reproducible: Always


User Profile Reset: No

Additional Info:
I cannot upload my word file here,so if you need the filem, you can contact with me by email.My email address is ngc_java@163.com.
Comment 1 nianchongchong 2023-04-26 09:22:57 UTC
Created attachment 186932 [details]
the rar file is origin files
Comment 2 Stéphane Guillou (stragu) 2023-04-26 10:13:13 UTC
The extracted DOCX file is 14 GB on my system. Why is it so big?
Can you please provide an example file that is smaller, and explain what data exactly is lost, when opening the file and when exporting as PDF?
Comment 3 nianchongchong 2023-04-26 10:32:47 UTC
Created attachment 186933 [details]
please see this file!

It is amazing. The example file is only 39 KB.Forgive me that I cannot send email to you.I can only receive your email.
There is nothing special about the lost data.Just simple characters.
Comment 4 nianchongchong 2023-04-26 10:51:27 UTC
I send a email message to you by google mail,please confirm it.My google mail box is niangaochong@gmail.com
Comment 5 Stéphane Guillou (stragu) 2023-04-26 15:29:17 UTC
Witch attachment 186933 [details], I can see the contents jumbled on a single page in:

Version: 7.5.3.1 (X86_64) / LibreOffice Community
Build ID: d29ee673721b12c92b3de9b9663473211414f0db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

It was already jumbled in 6.0, and OOo 3.3 had a an erroneous table structure, resulting in two many pages.

However, in a recent master build, the document looks the same as in Office 365, content spread over three page:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Marking as "worksforme" for now, but will try to identify which commit fixed it in Master. Possibly the recent floating table work.
Comment 6 Stéphane Guillou (stragu) 2023-04-26 15:39:13 UTC
Created attachment 186942 [details]
LO 7.6 alpha0+ vs Office 365
Comment 7 Stéphane Guillou (stragu) 2023-04-26 15:43:54 UTC
Created attachment 186943 [details]
LO 7.5.3.1 vs Office 365
Comment 8 Stéphane Guillou (stragu) 2023-04-26 16:42:34 UTC
Bibisected the fix with linux-64-7.6 repo to first good commit 08f3fed1a5fdf786b7f6a7c64ce01bde5cb2ee1b which points to core commit:

commit ce3308a926f036b87515b8cd97d2b197063dc77a
author	Miklos Vajna <vmiklos@collabora.com>	Wed Apr 12 08:13:07 2023 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	Wed Apr 12 09:12:17 2023 +0200
tdf#61594 sw floattable: import floating tables as split flys by default
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150252

Marking as a duplicate of bug 61594.
Thank you Miklos!

*** This bug has been marked as a duplicate of bug 61594 ***
Comment 9 nianchongchong 2023-04-27 10:04:28 UTC
Appreciated.It worked when I update LibreOffice to version 7.6.0.0.alpha0.