Apache OpenOffice (AOO) Bugzilla – Issue 120769
[From Symphony]Color of underline display wrongly
Last modified: 2012-10-10 06:44:13 UTC
Created attachment 79247 [details] sample Build: AOO 3.5 rev. r1377620 OS: All Steps: 1. New a writer. 2. Input several lines text 3. Select some text across one line, and change the font color 4. Select all text and add underline for them. Defect: the underline color is not the same as the font color. Pls refer to the attached sample.
Created attachment 79278 [details] Fix for issue that in sw don't show same color for texts and underline/strikethrough. Root cause: Don't handle with the underline color for a paragraph with different font color settings when painting. Current it will keep same color with first portion of a paragraph for the other portions. Solution: Add the approach to keep the same color for the portions with different font color and their underlines. UT: 1.Test on a line texts with different font color. 2.Test on several continuous lines with different font color. 3.Test on several continuous lines with same font color. 4.Test on several discontinuous lines with same font color.
Not only the core function enhanced,but also the interoperability improved...This patch has been reviewed for working well,committed with revision 1380463...thanks for the patch.
verified on the build AOO3.5_r1387482
set Target Milestone to AOO 3.5.0 for PM purpose.