Bug 100152 - Background colors are not applied for text
Summary: Background colors are not applied for text
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-31 05:29 UTC by jvchbabu
Modified: 2019-06-26 02:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
source html file and generated output (5.04 KB, application/zip)
2016-05-31 05:30 UTC, jvchbabu
Details
Converted generated doc file to html (68.54 KB, text/html)
2016-05-31 05:34 UTC, jvchbabu
Details
project files (1.62 MB, application/zip)
2016-09-28 14:42 UTC, jvchbabu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jvchbabu 2016-05-31 05:29:39 UTC
We use LibreOffice 5.0.4.2 to create  .docx and .doc documents using UNO Java API.
 We use MS Word 97 filter to produce .doc documents and MS Word 2007 XML  to produce .docx documents.

 We have content from HTML file. Background color for the text is not applied as specified. We have given color code as #F18493 but it applied as red.Another color code is #54C371, but applied as lime color. 
 
We have a bookmark  in both .doc and .docx files and used XDocumentInsertable.insertDocumentFromURL  API to insert text from HTML file in place of bookmark XTextCursor . But generated files shows different irrelevant colors.
 We tried the same in OpenOffice, they are working fine. 
Please find the attachment for source html generated output.
Comment 1 jvchbabu 2016-05-31 05:30:38 UTC
Created attachment 125404 [details]
source html file and generated output

source html file and generated output
Comment 2 jvchbabu 2016-05-31 05:34:54 UTC
Created attachment 125405 [details]
Converted generated doc file to html
Comment 3 Buovjaga 2016-06-08 12:35:29 UTC
Can you share your Java program so we can reproduce the issue?
Comment 4 jvchbabu 2016-09-20 09:48:54 UTC
Sure I can provide it  today itself.
Comment 5 jvchbabu 2016-09-28 14:40:31 UTC
I attached my source project  as eclipse project and attached all source content files, template and sample output files.
 Please follow the below steps:
1) Extract zip file content.
2) Import Libreoffice as java project.
3) Run DocumentGenerator.java by passing full path of template, full path of output file and full path of source html file.
 
Sample  arguments:
   
  "D:\libre\template.doc" "D:\libre\output.doc" "D:\libre\comments.html"
4) template and comments.html files are part of zip file content.

 Please let me know if you have  need any more information.
Comment 6 jvchbabu 2016-09-28 14:42:44 UTC
Created attachment 127703 [details]
project files
Comment 7 jvchbabu 2017-05-15 03:50:57 UTC
Team, 
Could you please look into this as basic colors are not working.
Comment 8 Xisco Faulí 2018-11-26 19:05:11 UTC
Dear jvchababu,
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 9 QA Administrators 2019-05-26 02:53:04 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-06-26 02:47:35 UTC
Dear jvchbabu,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp