29 #include <com/sun/star/uno/XComponentContext.hpp>
36 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xRet;
38 if ( rServiceSpecifier.startsWith(
"com.sun.star.form.component." ) )
41 xRet = xContext->getServiceManager()->createInstanceWithContext(rServiceSpecifier, xContext);
43 else if ( rServiceSpecifier ==
"com.sun.star.drawing.ControlShape" )
46 SdrObject* pObj =
new FmFormObj(rTargetModel);
61 static const rtl::OUStringConstExpr aSvxComponentServiceNameList[] =
84 static const sal_uInt16 nSvxComponentServiceNameListCount =
SAL_N_ELEMENTS(aSvxComponentServiceNameList);
86 auto aSeq( comphelper::arrayToSequence< OUString >(aSvxComponentServiceNameList, nSvxComponentServiceNameListCount) );
constexpr OUStringLiteral FM_SUN_COMPONENT_GRIDCONTROL
constexpr OUStringLiteral FM_SUN_COMPONENT_FORM
constexpr OUStringLiteral FM_SUN_COMPONENT_HIDDENCONTROL
virtual SdrModel & getSdrModelFromUnoModel() const =0
abstract SdrModel provider
constexpr OUStringLiteral FM_SUN_COMPONENT_DATEFIELD
constexpr OUStringLiteral FM_SUN_COMPONENT_IMAGEBUTTON
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override
constexpr OUStringLiteral FM_SUN_COMPONENT_FIXEDTEXT
constexpr OUStringLiteral FM_SUN_COMPONENT_LISTBOX
#define SAL_N_ELEMENTS(arr)
constexpr OUStringLiteral FM_SUN_COMPONENT_RADIOBUTTON
constexpr OUStringLiteral FM_SUN_COMPONENT_NUMERICFIELD
css::uno::Sequence< T > concatSequences(const css::uno::Sequence< T > &rS1, const Ss &...rSn)
constexpr OUStringLiteral FM_SUN_COMPONENT_PATTERNFIELD
virtual ::com::sun::star::uno::Reference<::com::sun::star::uno::XInterface > SAL_CALL createInstance(const OUString &ServiceSpecifier) override
constexpr OUStringLiteral FM_SUN_COMPONENT_CHECKBOX
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() override
constexpr OUStringLiteral FM_SUN_COMPONENT_GROUPBOX
constexpr OUStringLiteral FM_SUN_COMPONENT_COMBOBOX
Reference< XComponentContext > getProcessComponentContext()
constexpr OUStringLiteral FM_SUN_COMPONENT_COMMANDBUTTON
Sequence< sal_Int8 > aSeq
constexpr OUStringLiteral FM_SUN_COMPONENT_FILECONTROL
constexpr OUStringLiteral FM_SUN_COMPONENT_IMAGECONTROL
constexpr OUStringLiteral FM_SUN_COMPONENT_CURRENCYFIELD
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(const OUString &aServiceSpecifier) override
constexpr OUStringLiteral FM_SUN_COMPONENT_TIMEFIELD
constexpr OUStringLiteral FM_SUN_COMPONENT_TEXTFIELD