tdf#106541 doc import: inherit style numbering from parent
commitce762a7ab170aa1115cfb0dd68f1c50abf5a86f3
authorJustin Luth <justin_luth@sil.org>
Tue, 20 Apr 2021 17:47:09 +0000 (20 19:47 +0200)
committerJustin Luth <justin_luth@sil.org>
Sat, 19 Jun 2021 17:58:35 +0000 (19 19:58 +0200)
tree7936ffcda721be5a893a5f6666ac8a41613420d4
parent8be08b6d1f53136d899a8aac3ccd401eb18990e9
tdf#106541 doc import: inherit style numbering from parent

This patch depends on FOLLOWUP patches.
I thought the best way forward is to break
the existing unit tests, and then fix
them with followup patches. That best proves
the validity of each follow-up patch.

This patch is especially needed for Chapter Numbering.
In LO, Chapter Numbering is treated uniquely with its
own special rules that run counter to all other
conventions. So special handling is needed to
import styles that in MS Word would inherit,
but which don't in this special case.

Change-Id: I06b737ad96ff73dbd09bef252d09aa42adf2dc76
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114401
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
sw/qa/extras/ww8export/data/tdf106541_inheritChapterNumbering.doc [new file with mode: 0644]
sw/qa/extras/ww8export/data/tdf106541_inheritChapterNumberingB.doc [new file with mode: 0644]
sw/qa/extras/ww8export/ww8export3.cxx
sw/source/filter/ww8/ww8par.cxx