21#include <helper/property.hxx>
30 for (
const sal_Int32 nID : rIDs )
36 for (
const auto& rId : rIDs)
51 sal_uInt16
id = sal::static_int_cast< sal_uInt16 >(nPropId);
67 std::map<OUString, sal_uInt16> aSortedPropsIds;
68 for (
const auto& rId :
maIDs)
70 sal_uInt16
nId = sal::static_int_cast< sal_uInt16 >(rId);
81 sal_uInt32 nProps = aSortedPropsIds.size();
82 css::uno::Sequence< css::beans::Property> aProps( nProps );
83 css::beans::Property* pProps = aProps.getArray();
86 for (
const auto& rPropIds : aSortedPropsIds )
88 sal_uInt16
nId = rPropIds.second;
89 pProps[
n].Name = rPropIds.first;
90 pProps[
n].Handle =
nId;
101 css::beans::Property aProp;
105 aProp.Name = rPropertyName;
127 const OUString* pNames = rPropNames.getConstArray();
128 sal_Int32 nValues = rPropNames.getLength();
129 sal_Int32 nValidHandles = 0;
131 for ( sal_Int32
n = 0;
n < nValues;
n++ )
136 pHandles[
n] = nPropId;
144 return nValidHandles;
sal_Bool SAL_CALL hasPropertyByName(const OUString &rPropertyName) override
css::uno::Sequence< css::beans::Property > SAL_CALL getProperties() override
sal_Int32 SAL_CALL fillHandles(sal_Int32 *pHandles, const css::uno::Sequence< OUString > &rPropNames) override
sal_Int32 SAL_CALL getHandleByName(const OUString &rPropertyName) override
css::beans::Property SAL_CALL getPropertyByName(const OUString &rPropertyName) override
sal_Bool SAL_CALL fillPropertyMembersByHandle(OUString *pPropName, sal_Int16 *pAttributes, sal_Int32 nHandle) override
bool ImplHasProperty(sal_uInt16 nPropId) const
UnoPropertyArrayHelper(const css::uno::Sequence< sal_Int32 > &rIDs)
o3tl::sorted_vector< sal_Int32 > maIDs
const_iterator find(const Value &x) const
const_iterator end() const
std::pair< const_iterator, bool > insert(Value &&x)
sal_Int16 GetPropertyAttribs(sal_uInt16 nPropertyId)
const OUString & GetPropertyName(sal_uInt16 nPropertyId)
const css::uno::Type * GetPropertyType(sal_uInt16 nPropertyId)
sal_uInt16 GetPropertyId(const OUString &rPropertyName)
#define BASEPROPERTY_FONTDESCRIPTORPART_START
#define BASEPROPERTY_FONTDESCRIPTORPART_END
#define BASEPROPERTY_FONTDESCRIPTOR