diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-09-26 16:19:24 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-09-27 22:48:21 +0200 |
commit | ac6f8bc92b1abe995694602f43d8ad108b7030fb (patch) | |
tree | ae8ed9337704cd83ab10e4c9cce4b7e06aaa7e8e /sw/inc/fesh.hxx | |
parent | 5c26f79467e4c5f920b77a058aa079654c322c25 (diff) |
sw table styles: Implement table styles in Writer.
This extends the table auto formats so that SwDoc keeps track of the auto
formats used in the document. With this in mind, we can update the format of
the table with every operation like adding/removing a line, splitting a table,
etc.
So far we only have the core functionality, and cover inserting a line in
the table; more to come.
Based on work of Alex Ivan <alexnivan@yahoo.com> during GSoC 2013 - thank you!
Change-Id: I7839147e54c2f976988121a523331def9859f4c2
Diffstat (limited to 'sw/inc/fesh.hxx')
-rw-r--r-- | sw/inc/fesh.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx index a219ac1f6997..a41e119eef2f 100644 --- a/sw/inc/fesh.hxx +++ b/sw/inc/fesh.hxx @@ -720,8 +720,11 @@ public: /// Not allowed if only empty cells are selected. bool IsAdjustCellWidthAllowed( bool bBalance = false ) const; - /// AutoFormat for table/ table selection. - bool SetTableAutoFormat( const SwTableAutoFormat& rNew ); + /// Set table style of the current table. + bool SetTableStyle(const SwTableAutoFormat& rNew); + + /// Update the direct formatting according to the current table style. + bool UpdateTableStyleFormatting(); bool GetTableAutoFormat( SwTableAutoFormat& rGet ); |