diff options
author | Hideki Ikeda <hideki.ikeda@gmail.com> | 2014-07-17 16:46:16 -0400 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2014-09-17 13:16:03 +0000 |
commit | 9bfd1aced3da2aab9df3fc6f93543a5b6b1075b6 (patch) | |
tree | fd03525c67e5896173ff1c9a09d6d50fb65bf944 /svx/source/table/cell.hxx | |
parent | c44b8ce27fd5df20b2c871c28cce4cd913551779 (diff) |
fdo#60712 - Inherits cell styles in inserting rows/columns
Add the code to copy cell styles from the caret row/column
to new rows/columns. The span is also copiedl.
Change-Id: I39596a33141ed2159ea2d09e422892cbd68cd81a
Reviewed-on: https://gerrit.libreoffice.org/10373
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'svx/source/table/cell.hxx')
-rw-r--r-- | svx/source/table/cell.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/table/cell.hxx b/svx/source/table/cell.hxx index 65fdcd034d57..66cc5a7427bd 100644 --- a/svx/source/table/cell.hxx +++ b/svx/source/table/cell.hxx @@ -102,6 +102,8 @@ public: SVX_DLLPRIVATE void setMerged(); + SVX_DLLPRIVATE void copyFormatFrom( const CellRef& xSourceCell ); + // XInterface SVX_DLLPRIVATE virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& Type ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; SVX_DLLPRIVATE virtual void SAL_CALL acquire() throw () SAL_OVERRIDE; |