diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-18 23:28:42 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-03-19 00:28:16 -0400 |
commit | 402fffa1b42e8b54704bab5442590d192dea67ca (patch) | |
tree | 441a1df96a103551ee949942516b3328059c3cc9 /svtools | |
parent | 22c7da0ca5438b69165609db2a1ef219aa167dc2 (diff) |
Add dash-dot and dash-dot-dot line styles.
We need these for Excel interop.
Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 1065b34552a9..f8ae79d0f956 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -608,6 +608,20 @@ std::vector<double> GetDashing( sal_uInt16 nDashing ) aPattern.push_back( 6.0 ); // line aPattern.push_back( 2.0 ); // blank break; + case table::BorderLineStyle::DASH_DOT: + aPattern.push_back( 16.0 ); // line + aPattern.push_back( 5.0 ); // blank + aPattern.push_back( 5.0 ); // line + aPattern.push_back( 5.0 ); // blank + break; + case table::BorderLineStyle::DASH_DOT_DOT: + aPattern.push_back( 16.0 ); // line + aPattern.push_back( 5.0 ); // blank + aPattern.push_back( 5.0 ); // line + aPattern.push_back( 5.0 ); // blank + aPattern.push_back( 5.0 ); // line + aPattern.push_back( 5.0 ); // blank + break; default: ; } |