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, const OUString &_rBaseName) |
Private Attributes | |
::std::unique_ptr< FormControlFactory_Data > | m_pData |
Definition at line 47 of file formcontrolfactory.hxx.
svxform::FormControlFactory::FormControlFactory | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rContext | ) |
svxform::FormControlFactory::FormControlFactory | ( | ) |
Definition at line 108 of file formcontrolfactory.cxx.
References getProcessComponentContext().
svxform::FormControlFactory::~FormControlFactory | ( | ) |
Definition at line 114 of file formcontrolfactory.cxx.
|
static |
Definition at line 641 of file formcontrolfactory.cxx.
References FM_SUN_COMPONENT_FORMATTEDFIELD, and SvxResId().
Referenced by getDefaultUniqueName_ByComponentType().
|
static |
Definition at line 682 of file formcontrolfactory.cxx.
References FM_PROP_CLASSID, getDefaultName(), and getUniqueName().
|
static |
Definition at line 693 of file formcontrolfactory.cxx.
References aBuf, n, and sName.
Referenced by getDefaultUniqueName_ByComponentType().
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 119 of file formcontrolfactory.cxx.
References SdrObject::GetCurrentBoundRect(), SdrUnoObj::GetUnoControlModel(), and initializeControlModel().
void svxform::FormControlFactory::initializeControlModel | ( | const DocumentType | _eDocType, |
const css::uno::Reference< css::beans::XPropertySet > & | _rxControlModel | ||
) |
|
static |
Definition at line 543 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(), comphelper::getNumberFormatDecimals(), makeAny(), nDataType, nNullable, and Property.
void svxform::FormControlFactory::initializeTextFieldLineEnds | ( | const css::uno::Reference< css::beans::XPropertySet > & | _rxModel | ) |
Definition at line 512 of file formcontrolfactory.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, FM_PROP_LINEENDFORMAT, m_pData, and makeAny().
|
private |
Definition at line 100 of file formcontrolfactory.hxx.
Referenced by initializeTextFieldLineEnds().