Bug 65711 - FILESAVE DOC export color property for underlines not exported to DOC
Summary: FILESAVE DOC export color property for underlines not exported to DOC
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.0.3.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: NoRepro:4.2.2.1:OSX
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 13:34 UTC by Adam CloudOn
Modified: 2014-03-25 10:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
DOC containing text with underline color (22.00 KB, application/msword)
2013-06-13 13:53 UTC, Adam CloudOn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam CloudOn 2013-06-13 13:34:24 UTC
+++ This bug was initially created as a clone of Bug #56679 +++

Underline text color get lost saving to docx.

Analizing docx (word/document.xml) here a sample part of xml:

<w:r>
	<w:rPr>
		<w:u w:val="double" w:color="00B0F0"/>
	</w:rPr>
	<w:t>sample</w:t>
</w:r>

Attribute "w:color" are not considered are missing on writing.

Apparently this is implemented in RTF importer.
Comment 1 Adam CloudOn 2013-06-13 13:35:19 UTC
of course, this bug relates to the 'DOC' exporter, so the XML is not part of it.
Comment 2 Adam CloudOn 2013-06-13 13:53:29 UTC
Created attachment 80776 [details]
DOC containing text with underline color

Attached a DOC that contains a single line of text with an underlined color.
When opening in LO and doing 'save as NEW.DOC' and opening the NEW.DOC in Word - cannot see the text. If you double-click where the text *should* be - you see the text, but the underline color is lost.
Comment 3 Jorendc 2013-06-20 23:21:58 UTC
I can confirm this behavior using Mac OSX 10.8.3 with Version: 4.1.0.1
Build ID: 1b3956717a60d6ac35b133d7b0a0f5eb55e9155; and Word for Mac 2011. 

(In reply to comment #2)
> Created attachment 80776 [details]
> DOC containing text with underline color
> 
> Attached a DOC that contains a single line of text with an underlined color.
> When opening in LO and doing 'save as NEW.DOC' and opening the NEW.DOC in
> Word - cannot see the text. If you double-click where the text *should* be -
> you see the text, but the underline color is lost.

Mmh, I still see the text when I import it in Word for Mac, but only the underline color is gone. Maybe another glitch in Word for Mac :)?

Kind regards,
Joren
Comment 4 Adam CloudOn 2013-06-21 10:47:47 UTC
(In reply to comment #3)
> Mmh, I still see the text when I import it in Word for Mac, but only the
> underline color is gone. Maybe another glitch in Word for Mac :)?

@Jorendc - what you describe is exactly the bug I reported.
I reported that the *color* of the underline is lost, not the text itself.
Comment 5 retired 2014-03-25 10:02:12 UTC
NoRepro:4.2.2.1:OSX

WORKSFORME

I open doc file, save to docx, reopen. Both Word 2011 and LO 4.2.2.1 show text and red underline.

Yey!