diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-05-05 14:46:00 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-05-05 14:46:00 +0000 |
commit | 1282a919c1caed724aeabf22c7c2f64da8ee1122 (patch) | |
tree | 35a2737e1189dfae433b4a583b22c86a782aea65 /svx/source/inc | |
parent | 193e8751a5b64d9fcfe5cf822496ebad800dacc5 (diff) |
INTEGRATION: CWS dba30b (1.16.590); FILE MERGED
2008/04/15 22:02:41 fs 1.16.590.2: RESYNC: (1.16-1.17); FILE MERGED
2008/02/26 08:37:28 fs 1.16.590.1: #i86263# #i85993# handler for when the forms collection has been created
Diffstat (limited to 'svx/source/inc')
-rw-r--r-- | svx/source/inc/fmpgeimp.hxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/svx/source/inc/fmpgeimp.hxx b/svx/source/inc/fmpgeimp.hxx index 2e8baee2a2b9..57545330dc11 100644 --- a/svx/source/inc/fmpgeimp.hxx +++ b/svx/source/inc/fmpgeimp.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmpgeimp.hxx,v $ - * $Revision: 1.17 $ + * $Revision: 1.18 $ * * This file is part of OpenOffice.org. * @@ -38,13 +38,11 @@ #include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> - #include <tools/list.hxx> +#include <tools/link.hxx> #include <comphelper/uno3.hxx> -#ifndef INCLUDED_SVXDLLAPI_H -#include "svx/dllapi.h" -#endif +#include "svx/svxdllapi.h" class SvStream; class FmFormObj; @@ -74,7 +72,8 @@ class SVX_DLLPRIVATE FmFormPageImpl ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm> xCurrentForm; ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer> m_xForms; - FmFormPage* pPage; + FmFormPage* pPage; + Link m_aFormsCreationHdl; sal_Bool m_bFirstActivation : 1; sal_Bool m_bAttemptedFormCreation : 2; @@ -111,6 +110,9 @@ public: inline sal_Bool hasEverBeenActivated( ) const { return !m_bFirstActivation; } inline void setHasBeenActivated( ) { m_bFirstActivation = sal_False; } + void SetFormsCreationHdl( const Link& _rFormsCreationHdl ) { m_aFormsCreationHdl = _rFormsCreationHdl; } + const Link& GetFormsCreationHdl() const { return m_aFormsCreationHdl; } + protected: // lesen und schreiben der Objecte void write(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& OutStream) const; |