Bug 64349

Summary: [FILEOPEN] DOCX loads without watermark
Product: LibreOffice Reporter: Adam CloudOn <rattles2013>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: kobzeci
Priority: medium    
Version: 4.0.2.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=58819
Whiteboard: BSA (target:4.3.0)
Crash report or crash signature: Regression By:
Attachments: DOCX with a watermark

Description Adam CloudOn 2013-05-08 08:07:20 UTC
Created attachment 79015 [details]
DOCX with a watermark

Problem description: 
When loading a DOCX with a single page with a watermark - LO shows the page with no watermark.
Also - when setting in LO the page's color and saving it as DOCX - when opening it in Word - the page has no watermark.

Steps to reproduce:
1. Load attached DOCX in LO
2. Page has no watermark.
4. Save to NEW.DOCX
5. Load NEW.DOCX in Word
6. Page has no watermark (lost data)

Current behavior:
LO loads DOCX with no watermark.
LO saves to new DOCX without the watermark (losing information)

Expected behavior:
LO should load the DOCX and show the watermark.
LO should save the DOCX to a NEW.DOCX, without losing the watermark.

Operating System: Windows 8
Version: 4.0.2.2 release
Comment 1 Jorendc 2013-05-08 13:45:07 UTC
Very related to Bug 58819

Because that bug is related to the export part of this bug, I'm going to change this bug report to the import part in particular.

I can reproduce this behavior using Linux Mint 14 x64 with LibreOffice 4.0.3.3 (Build ID: 0eaa50a932c8f2199a615e1eb30f7ac74279539) and Version: 4.1.0.0.alpha1+
Build ID: 94fdd5d302e34220a0b1beaf3610658d15c7b80

Kind regards
Joren
Comment 2 Zeki Bildirici 2013-09-17 15:23:38 UTC
Hi,

Loading watermark issue seems fixed in 4.1.x

But saving it in docx format does not work. The file cannot be opened by MS (Office 2010) also LibreOffice opens the file-which is saved by LO- without watermark, only 
"Airplane 
Airplane"

Text appeared in header.

doc format works in both load and save and can be opened by MSOffice.


Best regards,
Zeki
Comment 3 Jorendc 2014-03-19 21:27:55 UTC
Looks fixed, probably due fixed bug 35324. Tested using Windows 8.1 with LibreOffice Version: 4.3.0.0.alpha0+
Build ID: 90dd4320de6ace24e464979630a2c9fbab35f64b
TinderBox: Win-x86@39, Branch:master, Time: 2014-03-19_00:22:53

Lets mark this one as RESOLVED WORKSFORME, because we (at least I) am not sure which commit fixed this issue.

Kind regards,
Joren