19#ifndef INCLUDED_SVX_SOURCE_INC_FMPGEIMP_HXX
20#define INCLUDED_SVX_SOURCE_INC_FMPGEIMP_HXX
22#include <config_options.h>
23#include <com/sun/star/sdbc/XDataSource.hpp>
24#include <com/sun/star/form/XFormComponent.hpp>
25#include <com/sun/star/form/XForm.hpp>
26#include <com/sun/star/form/XForms.hpp>
27#include <com/sun/star/container/XMap.hpp>
47 css::uno::Reference< css::form::XForms >
m_xForms;
63 void setCurForm(
const css::uno::Reference< css::form::XForm>& xForm);
73 const css::uno::Reference< css::form::XFormComponent>& rContent,
74 const css::uno::Reference< css::sdbc::XDataSource>& rDatabase = css::uno::Reference< css::sdbc::XDataSource>(),
75 const OUString& rDBTitle = OUString(),
76 const OUString& rCursorSource = OUString(),
77 sal_Int32 nCommandType = 0
84 const css::uno::Reference< css::form::XForms>&
getForms(
bool _bForceCreate =
true );
101 const css::uno::Reference< css::form::XForm>& rForm,
102 const css::uno::Reference< css::sdbc::XDataSource>& rDatabase,
103 const OUString& rCommand,
104 sal_Int32 nCommandType
108 static OUString
setUniqueName(
const css::uno::Reference< css::form::XFormComponent>& xFormComponent,
const css::uno::Reference< css::form::XForm>& xControls);
134 css::uno::Reference< css::container::XMap >
FmFormPageImpl & operator=(const FmFormPageImpl &)=delete
void initFrom(FmFormPageImpl &i_foreignImpl)
FmFormPageImpl(const FmFormPageImpl &)=delete
void formModelAssigned(const FmFormObj &_object)
bool hasEverBeenActivated() const
Link< FmFormPageImpl &, void > m_aFormsCreationHdl
void formObjectInserted(const FmFormObj &_object)
css::uno::Reference< css::form::XForm > findFormForDataSource(const css::uno::Reference< css::form::XForm > &rForm, const css::uno::Reference< css::sdbc::XDataSource > &rDatabase, const OUString &rCommand, sal_Int32 nCommandType)
finds a form with a given data source signature
const css::uno::Reference< css::form::XForms > & getForms(bool _bForceCreate=true)
static OUString setUniqueName(const css::uno::Reference< css::form::XFormComponent > &xFormComponent, const css::uno::Reference< css::form::XForm > &xControls)
css::uno::Reference< css::form::XForms > m_xForms
css::uno::Reference< css::container::XMap > impl_createControlShapeMap_nothrow()
FmFormPageImpl(FmFormPage &_rPage)
void setCurForm(const css::uno::Reference< css::form::XForm > &xForm)
bool m_bAttemptedFormCreation
css::uno::Reference< css::form::XForm > getDefaultForm()
void setHasBeenActivated()
css::uno::Reference< css::form::XForm > findPlaceInFormComponentHierarchy(const css::uno::Reference< css::form::XFormComponent > &rContent, const css::uno::Reference< css::sdbc::XDataSource > &rDatabase=css::uno::Reference< css::sdbc::XDataSource >(), const OUString &rDBTitle=OUString(), const OUString &rCursorSource=OUString(), sal_Int32 nCommandType=0)
finds a place in the form component hierarchy where to insert the given component
void formObjectRemoved(const FmFormObj &_object)
bool validateCurForm()
returns an object mapping from control models to drawing shapes.
css::uno::WeakReference< css::container::XMap > m_aControlShapeMap
css::uno::Reference< css::form::XForm > xCurrentForm
void SetFormsCreationHdl(const Link< FmFormPageImpl &, void > &_rFormsCreationHdl)
#define SVXCORE_DLLPUBLIC