19#ifndef INCLUDED_SVX_SOURCE_INC_FMVWIMP_HXX
20#define INCLUDED_SVX_SOURCE_INC_FMVWIMP_HXX
33#include <com/sun/star/form/XForm.hpp>
34#include <com/sun/star/container/XIndexAccess.hpp>
35#include <com/sun/star/form/runtime/XFormController.hpp>
36#include <com/sun/star/form/runtime/XFormControllerContext.hpp>
37#include <com/sun/star/container/XContainerListener.hpp>
38#include <com/sun/star/container/ContainerEvent.hpp>
39#include <com/sun/star/awt/XFocusListener.hpp>
40#include <com/sun/star/sdb/SQLErrorEvent.hpp>
41#include <com/sun/star/sdbc/XDataSource.hpp>
42#include <com/sun/star/uno/XComponentContext.hpp>
78 class ODataAccessDescriptor;
79 struct OXFormsDescriptor;
85typedef ::cppu::WeakImplHelper < css::container::XIndexAccess
86 , css::form::runtime::XFormControllerContext
93 ::std::vector< css::uno::Reference< css::form::runtime::XFormController > >
m_aControllerList;
95 css::uno::Reference<css::uno::XComponentContext>
m_xContext;
109 virtual sal_Int32 SAL_CALL
getCount()
override;
113 virtual void SAL_CALL
makeVisible(
const css::uno::Reference< css::awt::XControl >&
Control )
override;
120 css::uno::Reference< css::form::runtime::XFormController >
getController(
const css::uno::Reference< css::form::XForm >& xForm )
const;
122 const css::uno::Reference< css::form::XForm >& xForm,
123 const css::uno::Reference< css::form::runtime::XFormController >& _rxParentController );
125 void updateTabOrder(
const css::uno::Reference< css::form::XForm >& _rxForm );
133 css::form::XFormControllerListener,
134 css::awt::XFocusListener,
135 css::container::XContainerListener>
154 css::sdb::SQLErrorEvent
157 std::vector< rtl::Reference< FormViewPageWindowAdapter > >
159 typedef ::std::set< css::uno::Reference< css::form::XForm > >
SetOfForms;
160 std::map< css::uno::Reference< css::awt::XControlContainer >,
SetOfForms >
165 std::unique_ptr<ObjectRemoveListener>
190 virtual void SAL_CALL
disposing(
const css::lang::EventObject& Source)
override;
193 virtual void SAL_CALL
elementInserted(
const css::container::ContainerEvent& rEvent)
override;
194 virtual void SAL_CALL
elementReplaced(
const css::container::ContainerEvent& rEvent)
override;
195 virtual void SAL_CALL
elementRemoved(
const css::container::ContainerEvent& rEvent)
override;
198 virtual void SAL_CALL
formActivated(
const css::lang::EventObject& rEvent)
override;
199 virtual void SAL_CALL
formDeactivated(
const css::lang::EventObject& rEvent)
override;
202 virtual void SAL_CALL
focusGained(
const css::awt::FocusEvent& e )
override;
203 virtual void SAL_CALL
focusLost(
const css::awt::FocusEvent& e )
override;
208 css::uno::Reference< css::form::runtime::XFormController >
233 isFocusable(
const css::uno::Reference< css::awt::XControl >& i_rControl );
238 void removeWindow(
const css::uno::Reference< css::awt::XControlContainer >& _rxCC );
240 void Deactivate(
bool bDeactivateController =
true);
247 sal_Int32 _nXOffsetMM,
248 sal_Int32 _nYOffsetMM,
249 const css::uno::Reference< css::beans::XPropertySet >& _rxField,
250 const css::uno::Reference< css::util::XNumberFormats >& _rxNumberFormats,
252 std::u16string_view _rFieldPostfix,
266 sal_Int32 _nXOffsetMM,
267 sal_Int32 _nYOffsetMM,
268 const css::uno::Reference< css::beans::XPropertySet >& _rxField,
269 const css::uno::Reference< css::util::XNumberFormats >& _rxNumberFormats,
271 std::u16string_view _rFieldPostfix,
274 const css::uno::Reference< css::sdbc::XDataSource >& _rxDataSource,
275 const OUString& _rDataSourceName,
276 const OUString& _rCommand,
277 const sal_Int32 _nCommandType
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual ~FormViewPageWindowAdapter() override
void updateTabOrder(const css::uno::Reference< css::form::XForm > &_rxForm)
VclPtr< vcl::Window > m_pWindow
css::uno::Reference< css::form::runtime::XFormController > getController(const css::uno::Reference< css::form::XForm > &xForm) const
css::uno::Reference< css::uno::XComponentContext > m_xContext
::std::vector< css::uno::Reference< css::form::runtime::XFormController > > m_aControllerList
FormViewPageWindowAdapter(css::uno::Reference< css::uno::XComponentContext > _xContext, const SdrPageWindow &, FmXFormView *pView)
virtual void SAL_CALL makeVisible(const css::uno::Reference< css::awt::XControl > &Control) override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
const ::std::vector< css::uno::Reference< css::form::runtime::XFormController > > & GetList() const
css::uno::Reference< css::awt::XControlContainer > m_xControlContainer
virtual sal_Bool SAL_CALL hasElements() override
void setController(const css::uno::Reference< css::form::XForm > &xForm, const css::uno::Reference< css::form::runtime::XFormController > &_rxParentController)
vcl::Window * getWindow() const
FmXFormView * m_pViewImpl
const css::uno::Reference< css::awt::XControlContainer > & getControlContainer() const
class encapsulating the css::sdb::DataAccessDescriptor service.
::cppu::WeakImplHelper< css::container::XIndexAccess, css::form::runtime::XFormControllerContext > FormViewPageWindowAdapter_Base
class SAL_NO_VTABLE XPropertySet