diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-20 16:48:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-20 17:08:05 +0100 |
commit | 4eff3e7c455e8db2c00b7ee5eb1d2296b45d2823 (patch) | |
tree | f619be51c35da0e3ccd13faf8e28c46d340c341a /sw/source/filter/ww8/docxattributeoutput.hxx | |
parent | 799fd7552f544834ae2d3b77c3ce69e36590b63a (diff) |
Related: tdf#90681 table model can have truly empty cells
this time the missing cells are on the left
Change-Id: I55a5aa60c8d06b25b0c48b3f6a683694adca8e6a
Diffstat (limited to 'sw/source/filter/ww8/docxattributeoutput.hxx')
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx index 66964a557119..3acde5bfcacf 100644 --- a/sw/source/filter/ww8/docxattributeoutput.hxx +++ b/sw/source/filter/ww8/docxattributeoutput.hxx @@ -421,12 +421,12 @@ private: void InitTableHelper( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ); void StartTable( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ); void StartTableRow( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ); - void StartTableCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner ); void StartTableCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow ); void TableCellProperties( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow ); - void EndTableCell( ); + void EndTableCell( ww8::WW8TableNodeInfoInner::Pointer_t pTableTextNodeInfoInner, sal_uInt32 nCell, sal_uInt32 nRow ); void EndTableRow( ); void EndTable(); + void SyncNodelessCells(ww8::WW8TableNodeInfoInner::Pointer_t pInner, sal_Int32 nCell, sal_uInt32 nRow); void PopulateFrameProperties(const SwFrmFmt* pFrmFmt, const Size& rSize); bool TextBoxIsFramePr(const SwFrmFmt& rFrmFmt); /// End cell, row, and even the entire table if necessary. @@ -883,6 +883,9 @@ private: // Remember first cell (used for default borders/margins) of each table std::vector<ww8::WW8TableNodeInfoInner::Pointer_t> tableFirstCells; + // Remember last open and closed cells on each level + std::vector<sal_Int32> lastOpenCell; + std::vector<sal_Int32> lastClosedCell; boost::optional<css::drawing::FillStyle> m_oFillStyle; /// If FormatBox() already handled fill style / gradient. @@ -922,8 +925,6 @@ 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; |