summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/editutil.hxx12
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