tdf#80635 ww8import:1 take float table CENTER to inlined table
commit35b3a3eb001ec8ff8c808ad6d990a583163ad365
authorJustin Luth <justin.luth@collabora.com>
Thu, 26 Mar 2020 06:33:08 +0000 (26 09:33 +0300)
committerJustin Luth <justin_luth@sil.org>
Sat, 28 Mar 2020 07:50:08 +0000 (28 08:50 +0100)
tree87a63ad86687ceeec7f596c104145fe72315877a
parent70adbc53e88e5b99032d63065410716c54b4f96f
tdf#80635 ww8import:1 take float table CENTER to inlined table

Since SW has problems with floating tables, any unnecessarily
floated tables are converted to inline. However, the
positioning of the tables is mostly lost. So the choice is
either to refuse to inline a strangely positioned table
or else to transfer the positioning onto the inlined table.

Transferring is easier said than done. But for centered tables,
it is easy to copy that.

Change-Id: I8a6deaa63c45277c30ffa12613c8ed125a45d607
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91188
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
sw/qa/extras/ww8export/data/tdf107773.doc [moved from sw/qa/extras/ww8import/data/tdf107773.doc with 100% similarity]
sw/qa/extras/ww8export/ww8export2.cxx
sw/qa/extras/ww8import/ww8import.cxx
sw/source/filter/ww8/ww8par2.cxx