tdf#150927: properly handle nesting in tables
commitc43b50bf027def7054bc15187d61d61d9b132bd7
authorMike Kaganski <mike.kaganski@collabora.com>
Tue, 13 Sep 2022 17:42:22 +0000 (13 20:42 +0300)
committerXisco Fauli <xiscofauli@libreoffice.org>
Thu, 15 Sep 2022 08:09:43 +0000 (15 10:09 +0200)
treef54cfb0ed60dbdac1c74658f90cfdd0159f0f170
parent832e2a266005d8ef5f9bcc7f51b545d5dc4ce165
tdf#150927: properly handle nesting in tables

This re-implements the relevant part of commit
35021cd56b3b4e38035804087f215c80085564be, to follow the same
recursion logic that is used in SwXMLExport::ExportTable.

Additionally, it found a place where XML was still emitted
when collecting autostyles (breaks were exported); fixed.

Change-Id: I3b7eed06e0eca9ad20304b45db4c3e9d72478c9b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139901
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
(cherry picked from commit 58cb4fc7d17ae5b339c5ed6ae139e6ef2433c927)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139843
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139930
sw/qa/extras/odfexport/data/table-in-frame-in-table-in-header-base.odt [new file with mode: 0644]
sw/qa/extras/odfexport/odfexport.cxx
sw/source/filter/xml/xmltble.cxx
sw/source/filter/xml/xmltexte.hxx
xmloff/source/text/txtparae.cxx