summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 09:04:43 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 09:04:43 +0000
commit116032e0f5aaa7103945819b6bc9986aa830b02d (patch)
tree2803d22f6c3dad96e2627ad26e0af1ce4fb091f2
parentee93663d8ef525f60fa3316e31524d342b1740c2 (diff)
INTEGRATION: CWS dba23a (1.2.64); FILE MERGED
2007/05/09 11:37:20 fs 1.2.64.3: manual RESYNC step 1: copy changes of ../fmshell.hxx into this file 2007/05/09 11:35:30 fs 1.2.64.2: manual RESYNC step 1: copy version from MWS herein 2007/04/11 15:52:00 fs 1.2.64.1: file fmshell.hxx was added on branch cws_src680_dba23a on 2007-05-09 11:35:30 +0000
-rw-r--r--svx/inc/svx/fmshell.hxx30
1 files changed, 26 insertions, 4 deletions
diff --git a/svx/inc/svx/fmshell.hxx b/svx/inc/svx/fmshell.hxx
index ceee31d6d4e9..ab17e2d5c07d 100644
--- a/svx/inc/svx/fmshell.hxx
+++ b/svx/inc/svx/fmshell.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fmshell.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2007-04-11 15:52:00 $
+ * last change: $Author: kz $ $Date: 2007-05-10 10:04:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -71,6 +71,14 @@ class FmFormPage;
class SvxFmTabWin;
class FmXFormShell;
class FmFormView;
+class SdrView;
+class SdrPage;
+class SdrUnoObj;
+
+namespace com { namespace sun { namespace star { namespace form {
+ class XForm;
+ class XFormController;
+} } } }
//========================================================================
class SVX_DLLPUBLIC FmDesignModeChangedHint : public SfxHint
@@ -143,7 +151,6 @@ public:
FmXFormShell* GetImpl() const {return m_pImpl;};
sal_uInt16 PrepareClose(sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False);
- sal_Bool IsDesignMode() const {return m_bDesignMode;}
bool IsActiveControl() const;
void ForgetActiveControl();
@@ -152,12 +159,27 @@ public:
virtual void Activate(sal_Bool bMDI);
virtual void Deactivate(sal_Bool bMDI);
+ // helper methods for implementing XFormLayerAccess
+ SdrUnoObj* GetFormControl(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& _rxModel,
+ const SdrView& _rView,
+ const OutputDevice& _rDevice,
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _out_rxControl
+ ) const;
+ ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormController > GetFormController(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm >& _rxForm,
+ const SdrView& _rView,
+ const OutputDevice& _rDevice
+ ) const;
+ sal_Bool IsDesignMode() const { return m_bDesignMode; }
+ void SetDesignMode( sal_Bool _bDesignMode );
+
protected:
void GetFormState(SfxItemSet &rSet, sal_uInt16 nWhich);
// gibt es ein Formular auf der aktuellen Seite?
void DetermineForms(sal_Bool bInvalidate);
- void SetDesignMode( sal_Bool bDesign);
+ void impl_setDesignMode( sal_Bool bDesign);
};
// ***************************************************************************************************