tdf#150927: properly handle nesting in tables
commit58cb4fc7d17ae5b339c5ed6ae139e6ef2433c927
authorMike Kaganski <mike.kaganski@collabora.com>
Tue, 13 Sep 2022 17:42:22 +0000 (13 20:42 +0300)
committerMike Kaganski <mike.kaganski@collabora.com>
Wed, 14 Sep 2022 08:38:31 +0000 (14 10:38 +0200)
treeb4acd1d8a81c9409eee63bb2d15dfa1eced1a01d
parent6b2433f3b66c1f118dabcd40924122deb2d4f204
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>
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