Bug 106326

Summary: Android: Change font / background color
Product: LibreOffice Reporter: Tomaz Vajngerl <quikee>
Component: Android ViewerAssignee: Mert Tumer <merttumer>
Status: RESOLVED FIXED    
Severity: enhancement CC: merttumer, suokunlong
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard: target:6.1.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 84726    

Description Tomaz Vajngerl 2017-03-04 23:08:21 UTC
Description:
Currently, it is not possible to change the font or background. 

To change the color we need to send the ".uno:Color" UNO command with json content:

"Color": { "type": "long", "value": 16750848 }

where the color is specified as the value - 32bit value 

For background color it is ".uno:BackColor" as the UNO command name but the same content.

In addition a color picker is needed for the UI. 


Steps to Reproduce:
.

Actual Results:  
.

Expected Results:
.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Mert Tumer 2017-03-19 13:38:18 UTC
I'm working on it
Comment 2 Tomaz Vajngerl 2017-03-19 22:27:05 UTC
The commit http://cgit.freedesktop.org/libreoffice/core/commit/?id=382f9f744652d6ae1482910ec62513d6ea94863c should interfere with this. I suggest you pull the new code from master...
Comment 3 Mert Tumer 2017-03-19 23:17:41 UTC
Okay thanks for the heads up
Comment 4 Commit Notification 2018-01-30 01:21:13 UTC
Mert Tümer committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3deac9691011711a3b9e50d19499c588af074d7f

[Pardus] tdf#106326 ability to change font background color

It will be available in 6.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.