Bug 97413 - FORMATTING FILESAVE DOCX: character formatting applied to fields not preserved
Summary: FORMATTING FILESAVE DOCX: character formatting applied to fields not preserved
Status: RESOLVED DUPLICATE of bug 38778
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: filter:docx
Depends on:
Blocks:
 
Reported: 2016-01-28 13:18 UTC by David Kirstein
Modified: 2016-05-27 07:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT Master (8.83 KB, application/vnd.oasis.opendocument.text)
2016-01-28 13:18 UTC, David Kirstein
Details
generated DOCX (3.99 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-01-28 13:18 UTC, David Kirstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kirstein 2016-01-28 13:18:05 UTC
Created attachment 122256 [details]
ODT Master

Hi,

it seems that formatting of fields gets lost when saved as DOCX. It works fine when saved as .odt, .pdf or .doc (Word 97-2003).

Note that it looks good, if I open the generated .docx in Writer.

Steps to reproduce:
- open Writer
- insert a field (e.g. Time)
- add some dummy text before and after the field
- select everything and change the formatting (e.g. set highlight to yellow)
- save as .docx (Word 2007-2013 XML)
- open the .docx with MS-Word

Expected:
- the whole text should be yellow

Actual:
- the dummy text before and after the field is yellow
- the field has the standard style (no yellow highlight)

Tested with:
- Writer 5.0.4.2 (2b9802c1994aa0b7dc6079e128979269cf95bc78) x86
- Windows 8.1 x64
- MS-Word 2013 (15.0.4787.1000) x64

Again, the .docx looks okay when viewed in LibO, but not okay when viewed in MS-Word.

I searched through the bugs here, but didn't find anything that really matches this problem.
Comment 1 David Kirstein 2016-01-28 13:18:22 UTC
Created attachment 122257 [details]
generated DOCX
Comment 2 Kevin Suo 2016-02-02 11:13:51 UTC
I confirm the field text is not highlighted in polaris office, an office suite for mobile phones. Set to new.
Comment 3 Buovjaga 2016-02-04 16:48:47 UTC
Repro.

Win 8.1 32-bit
MSO 2013
LibO Version: 5.2.0.0.alpha0+
Build ID: 27a114e73f9ce64f360b045233e1c9c74c207880
CPU Threads: 4; OS Version: Windows 6.29; UI Render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-02-04_09:04:40
Locale: fi-FI (fi_FI)
Comment 4 Cor Nouws 2016-05-27 07:41:27 UTC

*** This bug has been marked as a duplicate of bug 38778 ***