diff options
Diffstat (limited to 'sc/source/filter/inc/condformatbuffer.hxx')
-rw-r--r-- | sc/source/filter/inc/condformatbuffer.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/filter/inc/condformatbuffer.hxx b/sc/source/filter/inc/condformatbuffer.hxx index e81ca732f899..8420aaf7b519 100644 --- a/sc/source/filter/inc/condformatbuffer.hxx +++ b/sc/source/filter/inc/condformatbuffer.hxx @@ -217,6 +217,7 @@ public: /** Returns the cell ranges this conditional formatting belongs to. */ inline const ApiCellRangeList& getRanges() const { return maModel.maRanges; } + void setReadyForFinalize() { mbReadyForFinalize = true; } private: CondFormatRuleRef createRule(); void insertRule( CondFormatRuleRef xRule ); @@ -227,6 +228,7 @@ private: CondFormatModel maModel; /// Model of this conditional formatting. CondFormatRuleMap maRules; /// Maps formatting rules by priority. ScConditionalFormat* mpFormat; + bool mbReadyForFinalize; }; typedef ::boost::shared_ptr< CondFormat > CondFormatRef; @@ -246,7 +248,7 @@ public: /** Converts an OOXML condition operator token to the API constant. */ static sal_Int32 convertToApiOperator( sal_Int32 nToken ); static sal_Int32 convertToInternalOperator( sal_Int32 nToken ); - + void finalizeImport(); private: CondFormatRef createCondFormat(); |