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 /xmloff/source/style | |
parent | 22c7da0ca5438b69165609db2a1ef219aa167dc2 (diff) |
Add dash-dot and dash-dot-dot line styles.
We need these for Excel interop.
Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/bordrhdl.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xmloff/source/style/bordrhdl.cxx b/xmloff/source/style/bordrhdl.cxx index 6d6caf2aeefa..41b94c926a1f 100644 --- a/xmloff/source/style/bordrhdl.cxx +++ b/xmloff/source/style/bordrhdl.cxx @@ -51,6 +51,8 @@ SvXMLEnumMapEntry pXML_BorderStyles[] = { XML_INSET, table::BorderLineStyle::INSET }, { XML_OUTSET, table::BorderLineStyle::OUTSET }, { XML_FINE_DASHED, table::BorderLineStyle::FINE_DASHED }, + { XML_DASH_DOT, table::BorderLineStyle::DASH_DOT }, + { XML_DASH_DOT_DOT, table::BorderLineStyle::DASH_DOT_DOT }, { XML_TOKEN_INVALID, 0 } }; @@ -325,6 +327,12 @@ bool XMLBorderHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, co case table::BorderLineStyle::FINE_DASHED: eStyleToken = XML_FINE_DASHED; break; + case table::BorderLineStyle::DASH_DOT: + eStyleToken = XML_DASH_DOT; + break; + case table::BorderLineStyle::DASH_DOT_DOT: + eStyleToken = XML_DASH_DOT_DOT; + break; case table::BorderLineStyle::DOUBLE_THIN: eStyleToken = XML_DOUBLE_THIN; break; |