19#ifndef INCLUDED_SVX_FMSHELL_HXX
20#define INCLUDED_SVX_FMSHELL_HXX
35#include <com/sun/star/uno/Reference.hxx>
48 class XFormController;
54template <
typename Arg,
typename Ret>
class Link;
58 class ISdrObjectFilter;
76 friend class FmXFormShell;
97 static void InitInterface_Impl();
110 bool GetY2KState(sal_uInt16& nReturn);
111 void SetY2KState(sal_uInt16 n);
120 bool PrepareClose(
bool bUI =
true);
122 bool IsActiveControl()
const;
123 void ForgetActiveControl();
126 virtual void Activate(
bool bMDI)
override;
131 const css::uno::Reference< css::awt::XControlModel >& _rxModel,
134 css::uno::Reference< css::awt::XControl >& _out_rxControl
137 static css::uno::Reference< css::form::runtime::XFormController > GetFormController(
138 const css::uno::Reference< css::form::XForm >& _rxForm,
146 void ToggleControlFocus(
152 static ::std::unique_ptr< svx::ISdrObjectFilter >
153 CreateFocusableControlFilter(
159 void SetDesignMode(
bool _bDesignMode );
162 void GetFormState(
SfxItemSet &rSet, sal_uInt16 nWhich);
165 void DetermineForms(
bool bInvalidate);
166 void impl_setDesignMode(
bool bDesign);
bool GetDesignMode() const
virtual void Activate(bool bMDI)
virtual bool HasUIFeature(SfxShellFeature nFeature) const
virtual void Deactivate(bool bMDI)
#define SVX_INTERFACE_FORM_SH
#define SFX_DECL_INTERFACE(nId)
#define SVXCORE_DLLPUBLIC