diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-08 14:40:59 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-08 14:40:59 +0000 |
commit | 29a839cf125a97ade8763a4493b40f764a19fc14 (patch) | |
tree | 07c53858036aee10fb475e20e5e37f5bdfaa3407 /sc | |
parent | 5166b060876f15881fc4a7f8afb43cbfeae7daa6 (diff) |
INTEGRATION: CWS calc30 (1.8.186); FILE MERGED
2005/02/14 16:39:46 nn 1.8.186.1: #i42764# ScEditAttrTester: compare items to cell attributes, not pool defaults
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/editutil.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sc/inc/editutil.hxx b/sc/inc/editutil.hxx index 0bfb744da8e4..c8b904c492f2 100644 --- a/sc/inc/editutil.hxx +++ b/sc/inc/editutil.hxx @@ -2,9 +2,9 @@ * * $RCSfile: editutil.hxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: hr $ $Date: 2004-09-08 13:41:52 $ + * last change: $Author: vg $ $Date: 2005-03-08 15:40:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -98,6 +98,7 @@ class OutputDevice; class ScDocument; class ScPatternAttr; +class ScEditEngineDefaulter; class ScEditUtil { @@ -133,13 +134,13 @@ public: class ScEditAttrTester { - EditEngine* pEngine; + ScEditEngineDefaulter* pEngine; SfxItemSet* pEditAttrs; BOOL bNeedsObject; BOOL bNeedsCellAttr; public: - ScEditAttrTester( EditEngine* pEng ); + ScEditAttrTester( ScEditEngineDefaulter* pEng ); ~ScEditAttrTester(); BOOL NeedsObject() const { return bNeedsObject; } @@ -187,6 +188,9 @@ public: /// The default ItemSet is then applied to each paragraph. void SetDefaultItem( const SfxPoolItem& rItem ); + /// Returns the stored defaults, used to find non-default character attributes + const SfxItemSet& GetDefaults(); + /// Overwritten method to be able to apply defaults already set void SetText( const EditTextObject& rTextObject ); /// Current defaults are not applied, new defaults are applied |