20#include <com/sun/star/lang/IllegalArgumentException.hpp>
21#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
43 throw lang::IndexOutOfBoundsException();
45 uno::Sequence<beans::PropertyValue> aProps;
46 if (!(aElement >>= aProps))
47 throw lang::IllegalArgumentException(
"element is not beans::PropertyValue",
static_cast<cppu::OWeakObject*
>(
this), 2);
57 throw lang::IndexOutOfBoundsException();
67 throw lang::IndexOutOfBoundsException();
69 uno::Sequence<beans::PropertyValue> aProps;
70 if (!(aElement >>= aProps))
71 throw lang::IllegalArgumentException(
"element is not beans::PropertyValue",
static_cast<cppu::OWeakObject*
>(
this), 2);
85 throw lang::IndexOutOfBoundsException();
104 return "IndexedPropertyValuesContainer";
114 return {
"com.sun.star.document.IndexedPropertyValues" };
119extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
121 css::uno::XComponentContext *,
122 css::uno::Sequence<css::uno::Any>
const &)
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * IndexedPropertyValuesContainer_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 nIndex) override
IndexedPropertyValuesContainer() noexcept
virtual sal_Int32 SAL_CALL getCount() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Type SAL_CALL getElementType() override
virtual void SAL_CALL replaceByIndex(sal_Int32 nIndex, const css::uno::Any &aElement) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL hasElements() override
virtual void SAL_CALL removeByIndex(sal_Int32 nIndex) override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL insertByIndex(sal_Int32 nIndex, const css::uno::Any &aElement) override
IndexedPropertyValues maProperties
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)