diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-03 17:58:11 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-04 22:02:37 -0500 |
commit | 2c62596cf264ef10749d8bfdb2bb2ebef2d98fbc (patch) | |
tree | 1311156cb36884d0dde2b022467d7d0de6d799df /offapi/com | |
parent | fb052ae6174e4c96157ef6973f02c1d3cd4d9ba2 (diff) |
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
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/table/BorderLineStyle.idl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/offapi/com/sun/star/table/BorderLineStyle.idl b/offapi/com/sun/star/table/BorderLineStyle.idl index 7613272043d1..0c37c67519e2 100644 --- a/offapi/com/sun/star/table/BorderLineStyle.idl +++ b/offapi/com/sun/star/table/BorderLineStyle.idl @@ -41,7 +41,8 @@ constants BorderLineStyle */ const short DASHED = 2; - /** Double border line. + /** Double border line. Widths of the lines and the gap are all equal, + and vary equally with the total width. */ const short DOUBLE = 3; @@ -95,9 +96,14 @@ constants BorderLineStyle */ const short FINE_DASHED = 14; + /** Double border line consisting of two fixed thin lines separated by a + variable gap. + */ + const short DOUBLE_THIN = 15; + /** Maximum valid border line style value. */ - const short BORDER_LINE_STYLE_MAX = 14; + const short BORDER_LINE_STYLE_MAX = 15; }; |