summaryrefslogtreecommitdiffstats
path: root/sc/inc/textuno.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-02-15 17:07:10 +0000
committerNiklas Nebel <nn@openoffice.org>2001-02-15 17:07:10 +0000
commit8dd9f54c38cc93d47481f76dbb46062694ee72a0 (patch)
treecda7f88409bf707e65709225137825b1549c42ea /sc/inc/textuno.hxx
parentexport/import of visarea added (diff)
downloadcore-8dd9f54c38cc93d47481f76dbb46062694ee72a0.tar.gz
core-8dd9f54c38cc93d47481f76dbb46062694ee72a0.zip
fill EditEngine for header/footer edit source only if data changed
Diffstat (limited to 'sc/inc/textuno.hxx')
-rw-r--r--sc/inc/textuno.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index 284e52e8a361..74596e01a605 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: textuno.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: nn $ $Date: 2001-01-18 15:55:11 $
+ * last change: $Author: nn $ $Date: 2001-02-15 18:05:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -66,6 +66,10 @@
#include <svx/unotext.hxx>
#endif
+#ifndef _SFXBRDCST_HXX
+#include <svtools/brdcst.hxx>
+#endif
+
#ifndef _COM_SUN_STAR_TEXT_XTEXTFIELDSSUPPLIER_HPP_
#include <com/sun/star/text/XTextFieldsSupplier.hpp>
#endif
@@ -116,6 +120,7 @@ private:
EditTextObject* pLeftText;
EditTextObject* pCenterText;
EditTextObject* pRightText;
+ SfxBroadcaster aBC;
public:
ScHeaderFooterContentObj();
@@ -129,6 +134,9 @@ public:
const EditTextObject* GetCenterEditObject() const { return pCenterText; }
const EditTextObject* GetRightEditObject() const { return pRightText; }
+ void AddListener( SfxListener& rListener );
+ void RemoveListener( SfxListener& rListener );
+
void UpdateText( USHORT nPart, EditEngine& rSource );
// XHeaderFooterContent