summaryrefslogtreecommitdiff
path: root/sw/inc/doc.hxx
diff options
context:
space:
mode:
authorJakub Trzebiatowski <ubap.dev@gmail.com>2016-06-07 21:57:49 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-13 10:48:55 +0000
commit3464befb48ccf1bf9ad4c8f321c7342db43c4019 (patch)
tree3575268ef66e0490cde203d5162a31002fb7ed64 /sw/inc/doc.hxx
parent8d51397bfd98615e74e116582a50e29846ecb76e (diff)
GSoC Table Styles, CellStyle
- insertByName - replaceByName - removeByName Change-Id: I964aa0dc2e7f5a5be9eaec719b8944e847eb9d6a Reviewed-on: https://gerrit.libreoffice.org/26037 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r--sw/inc/doc.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index e9b3be56b8dc..412b419edbb1 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -79,6 +79,7 @@ class SwAutoCompleteWord;
class SwAutoCorrExceptWord;
class SwCalc;
class SwCellFrame;
+class SwCellStyleTable;
class SwCharFormat;
class SwCharFormats;
class SwConditionTextFormatColl;
@@ -344,7 +345,8 @@ class SW_DLLPUBLIC SwDoc :
/// Table styles (autoformats that are applied with table changes).
std::unique_ptr<SwTableAutoFormatTable> mpTableStyles;
-
+ /// Cell Styles not assigned to a Table Style
+ std::unique_ptr<SwCellStyleTable> mpCellStyles;
private:
::std::unique_ptr< ::sfx2::IXmlIdRegistry > m_pXmlIdRegistry;
@@ -1255,6 +1257,9 @@ public:
SwTableAutoFormatTable& GetTableStyles() { return *mpTableStyles.get(); }
const SwTableAutoFormatTable& GetTableStyles() const { return *mpTableStyles.get(); }
+ const SwCellStyleTable& GetCellStyles() const { return *mpCellStyles.get(); }
+ SwCellStyleTable& GetCellStyles() { return *mpCellStyles.get(); }
+
void AppendUndoForInsertFromDB( const SwPaM& rPam, bool bIsTable );
bool SetColRowWidthHeight( SwTableBox& rAktBox, sal_uInt16 eType,