/** Returns the name of the passed property identifier. */ staticconst OUString& getPropertyName( sal_Int32 nPropId );
/** Returns the property identifier of the passed name. */ static sal_Int32 getPropertyId( std::u16string_view sPropName );
/** Returns true, if the map contains a property with the passed identifier. */ bool hasProperty( sal_Int32 nPropId ) const;
/** Sets the specified property to the passed value. Does nothing, if the
identifier is invalid. */ bool setAnyProperty( sal_Int32 nPropId, const css::uno::Any& rValue );
/** Sets the specified property to the passed value. Does nothing, if the
identifier is invalid. */ template< typename Type > bool setProperty( sal_Int32 nPropId, Type&& rValue )
{ if( nPropId < 0 ) returnfalse;
/** setAnyProperty should be used */ bool setProperty( sal_Int32, const css::uno::Any& ) = delete;
css::uno::Any getProperty( sal_Int32 nPropId );
void erase( sal_Int32 nPropId );
bool empty() const;
/** Inserts all properties contained in the passed property map. */ void assignUsed( const PropertyMap& rPropMap );
/** Inserts all properties contained in the passed property map */ void assignAll( const PropertyMap& rPropMap );
/** Returns a sequence of property values, filled with all contained properties. */
css::uno::Sequence< css::beans::PropertyValue >
makePropertyValueSequence() const;
/** Fills the passed sequences of names and anys with all contained properties. */ void fillSequences(
css::uno::Sequence< OUString >& rNames,
css::uno::Sequence< css::uno::Any >& rValues ) const;
/** Creates a property set supporting the XPropertySet interface and inserts all properties. */
css::uno::Reference< css::beans::XPropertySet >
makePropertySet() const;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.