summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorLuke Deller <luke@deller.id.au>2014-03-28 22:51:36 +1100
committerCaolán McNamara <caolanm@redhat.com>2014-03-31 15:29:25 +0000
commitfe3dff30205d4b6b276e3687edda48c19de1547f (patch)
tree249e8cec3aa36d1a23d3662bb16765e710e0e1d0 /sw
parent2498e4725e4a8c3a8193e61618d314837d8db180 (diff)
.doc support for recently-added border line types
Some new border line types have been added recently to LibreOffice (FINE_DASHED, DASH_DOT, DASH_DOT_DOT) This change updates .doc import/export to support these. (Import of FINE_DASHED was already working, but not export). Change-Id: Id3bcb1d4e6e9ceb97b492f0c578fd5b885ab16ff Reviewed-on: https://gerrit.libreoffice.org/8780 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index bf92692f64dc..5fd495bca1e7 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -4266,6 +4266,15 @@ WW8_BRCVer9 WW8Export::TranslateBorderLine(const SvxBorderLine& rLine,
case table::BorderLineStyle::INSET:
brcType = 27;
break;
+ case table::BorderLineStyle::FINE_DASHED:
+ brcType = 22;
+ break;
+ case table::BorderLineStyle::DASH_DOT:
+ brcType = 8;
+ break;
+ case table::BorderLineStyle::DASH_DOT_DOT:
+ brcType = 9;
+ break;
default:
break;
}