From 2c62596cf264ef10749d8bfdb2bb2ebef2d98fbc Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 3 Mar 2014 17:58:11 -0500 Subject: fdo#75260: Correctly draw double lines for both Writer and Calc. Fix all sorts of incorrect double line handling in drawinglayer in order to draw thick-thin double line types correctly. Also change handling of border lines in writer tables. There are still some outstanding issues but it's much better than how it was before. Also realized that Word and Excel handle simple thin double lines differently; Word varies widths of all of the lines and the gap whereas Excel only has one fixed size for its double line. For this reason I decided to add a separate double line type (DOUBLE_THIN) to handle Excel's double line. Change-Id: Iaaa353b6e4f998b524262bea59260b4333e0cdb4 --- cui/source/tabpages/border.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'cui') diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index 3f8881bc4657..fd7b9057aeac 100644 --- a/cui/source/tabpages/border.cxx +++ b/cui/source/tabpages/border.cxx @@ -1045,6 +1045,7 @@ void SvxBorderTabPage::FillLineListBox_Impl() // Double lines { DOUBLE, 10, &sameColor, &sameColor, &sameDistColor }, + { DOUBLE_THIN, 10, &sameColor, &sameColor, &sameDistColor }, { THINTHICK_SMALLGAP, 20, &sameColor, &sameColor, &sameDistColor }, { THINTHICK_MEDIUMGAP, 0, &sameColor, &sameColor, &sameDistColor }, { THINTHICK_LARGEGAP, 0, &sameColor, &sameColor, &sameDistColor }, -- cgit