diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-02-15 17:07:10 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-02-15 17:07:10 +0000 |
commit | 8dd9f54c38cc93d47481f76dbb46062694ee72a0 (patch) | |
tree | cda7f88409bf707e65709225137825b1549c42ea /sc/inc/editsrc.hxx | |
parent | b212d97d617f593b18f25f3f55dda982f4a9e2ce (diff) |
fill EditEngine for header/footer edit source only if data changed
Diffstat (limited to 'sc/inc/editsrc.hxx')
-rw-r--r-- | sc/inc/editsrc.hxx | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/sc/inc/editsrc.hxx b/sc/inc/editsrc.hxx index 5dd92d73745c..d11125861371 100644 --- a/sc/inc/editsrc.hxx +++ b/sc/inc/editsrc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: editsrc.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2001-01-18 15:52:29 $ + * 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 @@ -83,6 +83,19 @@ class ScDocShell; class ScHeaderFooterContentObj; +class ScHeaderFooterChangedHint : public SfxHint +{ + USHORT nPart; + +public: + TYPEINFO(); + ScHeaderFooterChangedHint(USHORT nP); + ~ScHeaderFooterChangedHint(); + + USHORT GetPart() const { return nPart; } +}; + + class ScHeaderFooterEditSource : public SvxEditSource, public SfxListener { private: @@ -90,6 +103,8 @@ private: USHORT nPart; ScEditEngineDefaulter* pEditEngine; SvxEditEngineForwarder* pForwarder; + BOOL bDataValid; + BOOL bInUpdate; public: ScHeaderFooterEditSource( ScHeaderFooterContentObj* pContent, |