diff options
author | Justin Luth <justin.luth@collabora.com> | 2020-07-15 17:07:46 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-07-20 16:01:47 +0200 |
commit | 565912fa0334de1c05749768796a33a1a5e6b984 (patch) | |
tree | 51dde5ba89561ffcc678b1ab56f27420f3bfd484 /sw/source/filter/ww8/ww8par.hxx | |
parent | 39e25b9cd45c4d658dac36bc1f08e0480b32c9d7 (diff) |
tdf#117217 ww8: export/import all cell backgrounds
... using TDefTableShd2nd and TDefTableShd3rd
P.S. There might be some other subtleties going on here.
> sprmTDefTableShdRaw:
> If a cell is set to ShdAuto in rgShd, the cell is
> not shaded. If a cell is set to ShdNil in rgShd, the cell is shaded
> according to the table style. By default, cells are shaded according
> to the table style.
(sprmTDefTableShdRaw not imported in LO, and ShdNil unknown)
> sprmTDefTableShd:
> If nFib is greater than 0x00D9 and the application understands
> table styles, then this Sprm MUST be ignored.
(aka NewShd from MSO 2000ish - never ignored by LO, and almost certainly
LO doesn't understand these table styles despite ?nFib == 0x0101? )
These seem to be very "late" modifications to the .doc format,
so likely very few things support the advanced features.
In any case, I haven't done anything novel here - just copying
what was done for template1 into template2 and template3,
so these subtleties are irrelevant for this patch.
Change-Id: Ic330179cf771a6f2531ed75dfb441fba10a04c7c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98856
Tested-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source/filter/ww8/ww8par.hxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index 810b692ee6aa..2ff459b161ca 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -1058,7 +1058,7 @@ struct WW8TabBandDesc void ProcessSpacing(const sal_uInt8* pParamsTInsert); void ProcessSpecificSpacing(const sal_uInt8* pParamsTInsert); void ReadShd(const sal_uInt8* pS ); - void ReadNewShd(const sal_uInt8* pS, bool bVer67); + void ReadNewShd(const sal_uInt8* pS, bool bVer67, sal_uInt8 nStart); enum wwDIR {wwTOP = 0, wwLEFT = 1, wwBOTTOM = 2, wwRIGHT = 3}; |