tdf#73056 doc import: table margins - unknown byte is EndCell
commit623d6cf06ccba392c1993a3b0ad271d508205e73
authorJustin Luth <justin.luth@collabora.com>
Tue, 21 Apr 2020 11:25:38 +0000 (21 14:25 +0300)
committerMiklos Vajna <vmiklos@collabora.com>
Wed, 29 Apr 2020 10:01:21 +0000 (29 12:01 +0200)
treee29a1c700addb897f290364aa82f7608f91e9780
parent6cd1591fb8b0a550067c37cf720708c6a5630b6d
tdf#73056 doc import: table margins - unknown byte is EndCell

The problem was that the cell margin that overrides the
table defaults was only being applied to one cell,
while a range of cells might be defined.

a sprmTCellPadding is specified by a CSSA.
The CSSA starts with an ItcFirstLim, which consists of
a start and end cell. The end cell is NOT included.

Change-Id: Ia90bc28451d39d60ce343d24b02fd3661b05d950
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92628
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
sw/qa/extras/ww8export/data/tdf73056_cellMargins.doc [new file with mode: 0644]
sw/qa/extras/ww8export/ww8export3.cxx
sw/source/filter/ww8/ww8par2.cxx