diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-17 15:31:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-17 20:35:00 +0100 |
commit | 9657455d985ecce30c4e9d3d799212e7cc8aa57a (patch) | |
tree | d0efbf0ead6eaf3578a1fe3574b4644ca3af1753 /sw/source/filter/ww8/docxattributeoutput.hxx | |
parent | 67ef5f22aa3c8f060ab5caf5b816e9806c610654 (diff) |
Resolves: tdf#90681 table model can have truly empty cells
old school complex tables can create a table model
where a cell exists in the table but there are no
paragraphs in it.
--------
| A | C |
----
| B |*D*|
--------
i.e. normally for the above there are 4 nodes which
get exported, even though C and D are merged. But it
can be the case that there are only three nodes, and
*D* is missing
be conservative for now and only do this for the
obviously broken no cell start but cell end case
and incrementally build up the test-cases
Change-Id: I5703595f61688a66b7fac7f3905ace0c207c9875
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.hxx')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 2b253d269559..ff495417e25a 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -945,6 +945,8 @@ private: OUString m_aRunSdtPrAlias; /// Currently paragraph SDT has a <w:id> child element. bool m_bParagraphSdtHasId; + /// Checking for balanced table cells start/ends + sal_Int32 m_nCellsOpen; std::map<SvxBoxItemLine, css::table::BorderLine2> m_aTableStyleConf; |