Bug 275414 - Paragraph shading is not correct
Summary: Paragraph shading is not correct
Status: ASSIGNED
Alias: None
Product: calligrawords
Classification: Applications
Component: doc (show other bugs)
Version: Git
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Matus Uzak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-11 18:49 UTC by LukasT
Modified: 2011-08-24 19:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Various types of shading (23.50 KB, application/msword)
2011-06-11 18:50 UTC, LukasT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LukasT 2011-06-11 18:49:11 UTC
Version:           svn
OS:                Linux

The colors are not computed properly.
Colors are wrong, in worst case, text is not readable.

Reproducible: Always

Steps to Reproduce:
Observe attached document in MS Office
Observe document in words.



Actual Results:  
Wrong colors

Expected Results:  
Same colors as in MS Office
Comment 1 LukasT 2011-06-11 18:50:18 UTC
I work on this one
Comment 2 LukasT 2011-06-11 18:50:55 UTC
Created attachment 60910 [details]
Various types of shading

Document showing various shadings.
Comment 3 LukasT 2011-06-12 12:13:22 UTC
Git commit 8ae84c5b1fc5d88be167078b5f375506f7dcb371 by Lukáš Tvrdý.
Committed on 12/06/2011 at 12:09.
Pushed by lukast into branch 'words-autocolor-uzak-ltvrdy'.

Improve computation of the shading color

o ipatAuto means in UI "Clear" mode, and that means
  use the background color
o ipatSolid means pattern that fully covers background
  so use the foreground color
o other patterns are interpolation between foreground
  and background color

CCBUG:275414

M  +18   -15   filters/words/msword-odf/conversion.cpp     

http://commits.kde.org/calligra/8ae84c5b1fc5d88be167078b5f375506f7dcb371