Bug 143009 - [DOCX] OLE Image loses "In background" and "Transparency" properties during import
Summary: [DOCX] OLE Image loses "In background" and "Transparency" properties during i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-OLE-Objects
  Show dependency treegraph
 
Reported: 2021-06-23 14:31 UTC by Rafael Lima
Modified: 2023-06-08 15:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Original DOCX file (661.44 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-06-23 14:31 UTC, Rafael Lima
Details
PDF created in MS Word (220.87 KB, application/pdf)
2021-06-23 14:33 UTC, Rafael Lima
Details
PDF created in LO Writer (144.01 KB, application/pdf)
2021-06-23 14:34 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-06-23 14:31:47 UTC
Created attachment 173110 [details]
Original DOCX file

I attached a Sample file in DOCX and a PDF exported by MS Word and by LO Writer.

In the original DOCX file there is an image in the center of the page that was supposed to be in the background and have some transparency.

However, for some reason these properties got lost.

System info:
Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.1.3-0ubuntu0.21.04.1
Calc: threaded
Comment 1 Rafael Lima 2021-06-23 14:33:44 UTC
Created attachment 173111 [details]
PDF created in MS Word
Comment 2 Rafael Lima 2021-06-23 14:34:09 UTC
Created attachment 173112 [details]
PDF created in LO Writer
Comment 3 Rafael Lima 2021-06-23 14:37:48 UTC
The issue is also present in:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: b89ebf135818ccaa45bbfb164099a6e199bd7d11
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-15_23:28:17
Calc: threaded
Comment 4 Telesto 2021-06-24 06:43:18 UTC
Repro
Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 239b4bb27fd8db26e8416045b3015688a8b1b0ae
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 5 Telesto 2021-06-24 06:49:35 UTC
Also in
Version: 6.2.5.0.0+
Build ID: 92400e8df9f704ac4856dbb85d8551a0488fd334
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

and in
Versie: 6.0.4.1
Build ID: a63363f6506b8bdc5222481ce79ef33b2d13c741
CPU-threads: 4; Besturingssysteem: Windows 6.3; UI-render: GL; 
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

and in
Versie 4.0.0.3 (Bouw-id: 7545bee9c2a0782548772a21bc84a9dcc583b89)

and in
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 6 Telesto 2021-06-24 06:55:22 UTC Comment hidden (obsolete)
Comment 7 Telesto 2021-06-24 06:55:56 UTC Comment hidden (obsolete)
Comment 8 NISZ LibreOffice Team 2021-06-29 14:38:33 UTC
This is actually an OLE object (Word says Word97 document, that apparently contains an image... simplest!), setting meta bug.

With a real image the wrapping and transparency properties would have been imported better.