Bug 145788 - FILEOPEN DOC: OLE objects at wrong places, messing up layout
Summary: FILEOPEN DOC: OLE objects at wrong places, messing up layout
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2021-11-20 10:50 UTC by cs
Modified: 2025-12-18 14:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
错误显示 (34.00 KB, image/png)
2021-11-20 10:51 UTC, cs
Details
原文件 (327.95 KB, application/msword)
2021-11-20 10:53 UTC, cs
Details
it seems resolved. (293.59 KB, image/jpeg)
2023-10-30 09:29 UTC, Sophie Sipasseuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cs 2021-11-20 10:50:11 UTC
Description:
中文试卷 显示错乱

Steps to Reproduce:
1.打开 libreOffice
2.打开菜单:文件->打开
3.选择 *.Doc

Actual Results:
能打开,页面错乱

Expected Results:
能打开,页面错乱


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
无
Comment 1 cs 2021-11-20 10:51:45 UTC
Created attachment 176373 [details]
错误显示
Comment 2 cs 2021-11-20 10:53:40 UTC
Created attachment 176374 [details]
原文件
Comment 3 Ming Hua 2021-11-20 17:05:09 UTC
Translation:

Description:
Chinese quiz paper, display in disorder

Steps to Reproduce:
1. Open LibreOffice
2. Use menu: File > Open
3. Choose .doc

Actual Results:
File opened, but display in disorder

Expected Results:
File opened, but display in disorder [sic., same as above]

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info: None

(In reply to cs from comment #1)
> Created attachment 176373 [details]
The erroneous display

(In reply to cs from comment #2)
> Created attachment 176374 [details]
The original file
Comment 4 Ming Hua 2021-11-20 17:15:04 UTC
Reproduced with 7.3/master daily build on Windows 10:
Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 4be0ae19065b1b50870bc0b2a28189ad39c96a8a
CPU threads: 2; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded

Got similar display result like attachment 176373 [details].  Looks like some issue with anchoring and text wrapping, but I know too little in this area to be sure.  Just blocking the general DOC format meta bug 104527 for now.

Let me know if more translation work is needed.  I probably can do very little QA/testing-wise though.
Comment 5 Sophie Sipasseuth 2023-10-30 09:29:31 UTC
Created attachment 190506 [details]
it seems resolved.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 486ae5db6987411d5e394de94b2b077099d03856
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: threaded

This bug seems resolved.
Comment 6 QA Administrators 2025-10-30 03:13:04 UTC Comment hidden (obsolete)
Comment 7 Sufyan 2025-12-18 14:07:42 UTC
从你提供的描述来看,这个问题在 LibreOffice 中打开 中文 Word(.doc)试卷 时比较常见,通常不是文件无法打开,而是排版和样式解析出现错乱。

一些可能的原因和排查建议:

字体缺失或不匹配
很多中文试卷在 Word 中使用了特定中文字体(如宋体、仿宋等),如果系统中没有对应字体,LibreOffice 会自动替换,容易导致行距、分页和表格错乱。

旧版 .doc 格式兼容性问题
*.doc 属于较老的二进制格式,复杂排版(表格嵌套、文本框、页眉页脚)在 LibreOffice 中解析时稳定性不如 *.docx。可以尝试先在 Word 中另存为 *.docx 再打开。

页面样式与段落样式冲突
中文试卷常用手动空格、回车对齐,LibreOffice 对这类“非样式化排版”支持较差,建议查看并统一段落样式。

OpenGL 渲染影响显示
虽然你已开启 OpenGL,但有时会造成显示异常,可以测试关闭 OpenGL 后重启 LibreOffice,看页面是否改善。

如果该问题在不同系统和版本中都能稳定复现,建议附上示例文档提交到 bug 系统,方便开发者定位解析问题。
顺便一提,我平时也在维护一个内容更新频繁的小站,遇到这类兼容性问题时对排版稳定性特别敏感,相关内容可以参考:https://mytelenoranswertoday.pk