diff options
author | sb <sb@openoffice.org> | 2009-09-16 17:08:52 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2009-09-16 17:08:52 +0200 |
commit | 11418032c587bcee688fcb4f76739c0e2520193b (patch) | |
tree | fd69455f64f6f2940f9eab860e45b06e8abaf748 /svx/source/inc/formcontrolfactory.hxx | |
parent | ca107138e1786b636b8f81ebbcc9994ac7dd393f (diff) | |
parent | a11aa70b384e3ca0df953b53cff6b4d7f9699147 (diff) |
merged in DEV300_m59
Diffstat (limited to 'svx/source/inc/formcontrolfactory.hxx')
-rw-r--r-- | svx/source/inc/formcontrolfactory.hxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/svx/source/inc/formcontrolfactory.hxx b/svx/source/inc/formcontrolfactory.hxx index 2868308d6f7c..432ad25bdea0 100644 --- a/svx/source/inc/formcontrolfactory.hxx +++ b/svx/source/inc/formcontrolfactory.hxx @@ -37,6 +37,8 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/util/XNumberFormats.hpp> +#include <com/sun/star/lang/XServiceInfo.hpp> +#include <com/sun/star/container/XNameAccess.hpp> /** === end UNO includes === **/ #include <memory> @@ -94,6 +96,21 @@ namespace svxform const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormats >& _rxNumberFormats ); + static ::rtl::OUString getDefaultName( + const sal_Int16 nClassId, + const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XServiceInfo >& _rxObject + ); + + static ::rtl::OUString getDefaultUniqueName_ByComponentType( + const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxContainer, + const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObject + ); + + static ::rtl::OUString getUniqueName( + const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _rxContainer, + const ::rtl::OUString& _rBaseName + ); + private: ::std::auto_ptr< FormControlFactory_Data > m_pData; }; |