From 8dd9f54c38cc93d47481f76dbb46062694ee72a0 Mon Sep 17 00:00:00 2001 From: Niklas Nebel Date: Thu, 15 Feb 2001 17:07:10 +0000 Subject: fill EditEngine for header/footer edit source only if data changed --- sc/inc/textuno.hxx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'sc/inc/textuno.hxx') 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 #endif +#ifndef _SFXBRDCST_HXX +#include +#endif + #ifndef _COM_SUN_STAR_TEXT_XTEXTFIELDSSUPPLIER_HPP_ #include #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 -- cgit