summaryrefslogtreecommitdiff
path: root/dtrans/Library_dnd.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-04-04 09:12:34 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-04-04 10:05:02 +0000
commit1bf7f6a1a50ee9f24a3687240fe6ae390b905a6b (patch)
treeba7c467f684dbdc861ae436cfd9f1bbd0418933a /dtrans/Library_dnd.mk
parentf1e2c030b09d25a285d6a206297f0ef7526ccc4a (diff)
tdf#106690 DOCX import: fix automatic spacing before/after numbered para block
The context is text nodes with automatic before/after spacing and numbering rules set, like: A * B * C * D E The correct behavior seems to be (though I haven't found this explicitly written in the OOXML spec) to drop spacing between B and C and C and D, but not before B and not after D. Originally no spacing was dropped, then commit c486e875de7c8e845594f5043a37ee8800865782 (tdf#95031 DOCX import: auto spacing inside numbering means no spacing, 2016-10-18) removed spacing around all B/C/D. Fix the problem by checking the numbering rules and automatic after spacing of the previous paragraph, so spacing before B and after D is not removed. Change-Id: Icbdb36e31057ab0e8ac033888cf5cc7c52dad5d0 Reviewed-on: https://gerrit.libreoffice.org/36062 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'dtrans/Library_dnd.mk')
0 files changed, 0 insertions, 0 deletions