summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorLuke Deller <luke@deller.id.au>2014-04-04 21:58:16 +1100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-04-06 16:53:04 +0200
commitc78f918a7cb267a713804b8feacc3425196d4428 (patch)
tree519790f5f31858c29226f79995791096f9f6d018 /include/filter
parent5fa564d4a95160dee96604ffa2c2b82246ce09f4 (diff)
Full colour table borders in .doc export
Currently LO writes table cell border information to .doc files as part of the "sprmTDefTable" property, but this only supports the WW8 (Word '97) BRC (BoRder Control) structure which can only select from 16 colours. There is no newer version of this property. This commit adds output of an alternate property "sprmTSetBrc" which specifies border details for a sequence of cells. There is a WW9 (Word 2000) version of this property supporting full colours. For LO I have used the constant name NS_sprm::LN_TSetBorder following the existing naming convention here, which is to use *Border for the WW9 version because *Brc is taken for the WW8 version. Conflicts: include/filter/msfilter/sprmids.hxx Change-Id: Ie091d91c6d187e1c2542f59f58cec9a373a23e11
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/sprmids.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/filter/msfilter/sprmids.hxx b/include/filter/msfilter/sprmids.hxx
index 213ae0cd46dc..b12d907e8d31 100644
--- a/include/filter/msfilter/sprmids.hxx
+++ b/include/filter/msfilter/sprmids.hxx
@@ -252,6 +252,7 @@ namespace NS_sprm {
const sal_uInt16 LN_TFBiDi = 0x560b;
const sal_uInt16 LN_THTMLProps = 0x740c;
const sal_uInt16 LN_TSetBrc80 = 0xd620;
+ const sal_uInt16 LN_TSetBrc = 0xd62f;
const sal_uInt16 LN_TInsert = 0x7621;
const sal_uInt16 LN_TDelete = 0x5622;
const sal_uInt16 LN_TDxaCol = 0x7623;