Bug 275414

Summary: Paragraph shading is not correct
Product: [Applications] calligrawords Reporter: LukasT <lukast.dev>
Component: docAssignee: Matus Uzak <matus.uzak>
Status: ASSIGNED ---    
Severity: normal CC: matus.uzak
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Various types of shading

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