LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
svxform::FormControlFactory Class Reference

#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_Datam_pData
 

Detailed Description

Definition at line 48 of file formcontrolfactory.hxx.

Constructor & Destructor Documentation

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.

Member Function Documentation

OUString svxform::FormControlFactory::getDefaultName ( const sal_Int16  nClassId,
const css::uno::Reference< css::lang::XServiceInfo > &  _rxObject 
)
static
OUString svxform::FormControlFactory::getDefaultUniqueName_ByComponentType ( const css::uno::Reference< css::container::XNameAccess > &  _rxContainer,
const css::uno::Reference< css::beans::XPropertySet > &  _rxObject 
)
static

Definition at line 682 of file formcontrolfactory.cxx.

References FM_PROP_CLASSID, getDefaultName(), and getUniqueName().

OUString svxform::FormControlFactory::getUniqueName ( const css::uno::Reference< css::container::XNameAccess > &  _rxContainer,
const OUString &  _rBaseName 
)
static

Definition at line 693 of file formcontrolfactory.cxx.

References aBuf, 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

Parameters
_eDocTypethe type of the document which the control is to be inserted into
_rxControlModelthe control model to be inserted
_rControlBoundRectthe bound rect of the control, if applicable
Returns
the class ID of the control

Referenced by initializeControlModel().

sal_Int16 svxform::FormControlFactory::initializeControlModel ( const DocumentType  _eDocType,
const SdrUnoObj _rObject 
)
void svxform::FormControlFactory::initializeControlModel ( const DocumentType  _eDocType,
const css::uno::Reference< css::beans::XPropertySet > &  _rxControlModel 
)
void svxform::FormControlFactory::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
void svxform::FormControlFactory::initializeTextFieldLineEnds ( const css::uno::Reference< css::beans::XPropertySet > &  _rxModel)

Member Data Documentation

::std::unique_ptr< FormControlFactory_Data > svxform::FormControlFactory::m_pData
private

Definition at line 101 of file formcontrolfactory.hxx.

Referenced by initializeTextFieldLineEnds().


The documentation for this class was generated from the following files: