related tdf#81705 doc export: eliminate duplicating OutlineNumbering
commit8259a221e0d090a00eb5f102406626dcc7beeb25
authorJustin Luth <justin.luth@collabora.com>
Thu, 1 Apr 2021 10:40:06 +0000 (1 12:40 +0200)
committerJustin Luth <justin_luth@sil.org>
Mon, 21 Jun 2021 16:49:14 +0000 (21 18:49 +0200)
tree13e4f39b5a2c66cb45eed60330b295c043899bd7
parentb4ffe68dd2fc7e2f2c36bf41dd3409f000cb42ad
related tdf#81705 doc export: eliminate duplicating OutlineNumbering

It just looks redundant. And all three formats
handle it very different.
RTF - never writes RES_PARATR_OUTLINELEVEL
or RES_PARATR_NUMRULE in styles,
only via this OutlineNumbering.

DOCX does nothing. That's because there always
seems to be a RES_PARATR_OUTLINELEVEL and
RES_PARATR_NUMRULE.

DOC does BOTH. It writes RES_PARATR_NUMRULE
(and now also writes RES_PARATR_OUTLINELEVEL)
and also writes them via OutlineNumbering.

So OutlineNumbering seems to always have
been partially redundant and now is fully
redundant. Thus it can be treated like DOCX.

Change-Id: Ib9fd32c440e0151b462d6499a60952f120887082
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113452
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
sw/source/filter/ww8/ww8atr.cxx