summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-10-09 14:18:45 +0000
committerKurt Zenker <kz@openoffice.org>2007-10-09 14:18:45 +0000
commitd487fa4850a6d8d50373e89974cf032b9f539845 (patch)
tree2c8460d14495f14fa1858906de491ad48dbecfa3 /svx
parent41808cbf41adf614fda24857ced87750a6a93db5 (diff)
INTEGRATION: CWS basmgr03 (1.5.416); FILE MERGED
2007/08/01 08:58:51 fs 1.5.416.1: in preparation of #i76129#: +LateInit
Diffstat (limited to 'svx')
-rw-r--r--svx/source/inc/eventdlg.hxx23
1 files changed, 15 insertions, 8 deletions
diff --git a/svx/source/inc/eventdlg.hxx b/svx/source/inc/eventdlg.hxx
index eba2d85c63b9..2c3e9ef6d03d 100644
--- a/svx/source/inc/eventdlg.hxx
+++ b/svx/source/inc/eventdlg.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: eventdlg.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 12:50:36 $
+ * last change: $Author: kz $ $Date: 2007-10-09 15:18:45 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -43,6 +43,8 @@
#include <sfx2/evntconf.hxx>
#include "macropg.hxx"
+#include <com/sun/star/frame/XFrame.hpp>
+
class Menu;
class SfxMacroInfoItem;
class SvxMacroItem;
@@ -52,9 +54,9 @@ class SvxEventConfigPage : public _SvxMacroTabPage
FixedText aSaveInText;
ListBox aSaveInListBox;
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > m_xEvents_app;
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > m_xEvents_doc;
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifiable > m_xModifiable_doc;
+ ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > m_xAppEvents;
+ ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > m_xDocumentEvents;
+ ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifiable > m_xDocumentModifiable;
BOOL bAppConfig;
@@ -65,15 +67,20 @@ class SvxEventConfigPage : public _SvxMacroTabPage
SvxEventConfigPage & operator= (const SvxEventConfigPage &);
public:
- SvxEventConfigPage( Window *pParent, const SfxItemSet& rSet );
+ /// this is only to let callers know that there is a LateInit which *must* be called
+ struct EarlyInit { };
+ SvxEventConfigPage( Window *pParent, const SfxItemSet& rSet, EarlyInit );
~SvxEventConfigPage();
- void Init();
- void Apply();
+ void LateInit( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame );
+protected:
virtual BOOL FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet& );
using _SvxMacroTabPage::Reset;
+
+private:
+ void ImplInitDocument();
};