LibreOffice Module svx (master) 1
|
#include <formcontrolfactory.hxx>
Public Member Functions | |
FormControlFactory (const css::uno::Reference< css::uno::XComponentContext > &_rContext) | |
FormControlFactory () | |
~FormControlFactory () | |
sal_Int16 | initializeControlModel (const DocumentType _eDocType, const css::uno::Reference< css::beans::XPropertySet > &_rxControlModel, const tools::Rectangle &_rControlBoundRect) |
initializes the given control model which is to be newly inserted into a document More... | |
sal_Int16 | initializeControlModel (const DocumentType _eDocType, const SdrUnoObj &_rObject) |
void | initializeControlModel (const DocumentType _eDocType, const css::uno::Reference< css::beans::XPropertySet > &_rxControlModel) |
void | initializeTextFieldLineEnds (const css::uno::Reference< css::beans::XPropertySet > &_rxModel) |
Static Public Member Functions | |
static void | initializeFieldDependentProperties (const css::uno::Reference< css::beans::XPropertySet > &_rxDatabaseField, const css::uno::Reference< css::beans::XPropertySet > &_rxControlModel, const css::uno::Reference< css::util::XNumberFormats > &_rxNumberFormats) |
static OUString | getDefaultName (const sal_Int16 nClassId, const css::uno::Reference< css::lang::XServiceInfo > &_rxObject) |
static OUString | getDefaultUniqueName_ByComponentType (const css::uno::Reference< css::container::XNameAccess > &_rxContainer, const css::uno::Reference< css::beans::XPropertySet > &_rxObject) |
static OUString | getUniqueName (const css::uno::Reference< css::container::XNameAccess > &_rxContainer, std::u16string_view _rBaseName) |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
Definition at line 45 of file formcontrolfactory.hxx.
svxform::FormControlFactory::FormControlFactory | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rContext | ) |
svxform::FormControlFactory::FormControlFactory | ( | ) |
Definition at line 97 of file formcontrolfactory.cxx.
References getProcessComponentContext(), and m_xContext.
svxform::FormControlFactory::~FormControlFactory | ( | ) |
Definition at line 103 of file formcontrolfactory.cxx.
|
static |
Definition at line 625 of file formcontrolfactory.cxx.
References FM_SUN_COMPONENT_FORMATTEDFIELD, and SvxResId().
Referenced by getDefaultUniqueName_ByComponentType().
|
static |
Definition at line 666 of file formcontrolfactory.cxx.
References FM_PROP_CLASSID, getDefaultName(), and getUniqueName().
|
static |
Definition at line 677 of file formcontrolfactory.cxx.
Referenced by getDefaultUniqueName_ByComponentType().
void svxform::FormControlFactory::initializeControlModel | ( | const DocumentType | _eDocType, |
const css::uno::Reference< css::beans::XPropertySet > & | _rxControlModel | ||
) |
sal_Int16 svxform::FormControlFactory::initializeControlModel | ( | const DocumentType | _eDocType, |
const css::uno::Reference< css::beans::XPropertySet > & | _rxControlModel, | ||
const tools::Rectangle & | _rControlBoundRect | ||
) |
initializes the given control model which is to be newly inserted into a document
_eDocType | the type of the document which the control is to be inserted into |
_rxControlModel | the control model to be inserted |
_rControlBoundRect | the bound rect of the control, if applicable |
Referenced by initializeControlModel().
sal_Int16 svxform::FormControlFactory::initializeControlModel | ( | const DocumentType | _eDocType, |
const SdrUnoObj & | _rObject | ||
) |
Definition at line 108 of file formcontrolfactory.cxx.
References SdrObject::GetCurrentBoundRect(), SdrUnoObj::GetUnoControlModel(), and initializeControlModel().
|
static |
Definition at line 527 of file formcontrolfactory.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_CLASSID, FM_PROP_DECIMAL_ACCURACY, FM_PROP_FIELDTYPE, FM_PROP_FORMATKEY, FM_PROP_ISNULLABLE, FM_PROP_TRISTATE, FM_PROP_VALUEMAX, FM_PROP_VALUEMIN, getDefaultNumberFormat(), getLocale(), nDataType, nNullable, and Property.
void svxform::FormControlFactory::initializeTextFieldLineEnds | ( | const css::uno::Reference< css::beans::XPropertySet > & | _rxModel | ) |
Definition at line 496 of file formcontrolfactory.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_LINEENDFORMAT, and m_xContext.
|
private |
Definition at line 98 of file formcontrolfactory.hxx.
Referenced by initializeTextFieldLineEnds().