/** removes a property from the bag @param_rName thenameoftheto-be-removedproperty. @throwsUnknownPropertyException ifthebagdoesnotcontainapropertywiththegivenname @throwsNotRemoveableException ifthepropertywiththegivennameisnotremovable,asindicated bythepropertyattributesusedinaprevious<code>addProperty</code> call.
*/ void removeProperty( const OUString& _rName
);
/** describes all properties in the bag @param_out_rProps takes,uponreturn,thedescriptionsofallpropertiesinthebag
*/ void describeProperties(
css::uno::Sequence< css::beans::Property >& _out_rProps
) const
{
OPropertyContainerHelper::describeProperties( _out_rProps );
}
/** retrieves the value of a property given by handle @param_nHandle thehandleofthepropertywhosevalueistoberetrieved @param_out_rValue outputparametertakingthepropertyvalue @throwsUnknownPropertyException ifthegivenhandledoesnotdenoteapropertyinthebag
*/ void getFastPropertyValue(
sal_Int32 _nHandle,
css::uno::Any& _out_rValue
) const;
/** converts a to-be-set value of a property (given by handle) so that it can beusedinsubsequentcallstosetFastPropertyValue @param_nHandle thehandleoftheproperty @param_rNewValue thenewvalue,whichshouldbeconverted @param_out_rConvertedValue outputparametertakingtheconvertedvalue @param_out_rCurrentValue outputparametertakingthecurrentvalueofthe property @throwsUnknownPropertyException ifthegivenhandledoesnotdenoteapropertyinthebag @throwsIllegalArgumentException ifthegivenvaluecannotbelosslessconvertedintoavalue forthegivenproperty.
*/ bool convertFastPropertyValue(
sal_Int32 _nHandle, const css::uno::Any& _rNewValue,
css::uno::Any& _out_rConvertedValue,
css::uno::Any& _out_rCurrentValue
) const;
/** sets a new value for a property given by handle @throwsUnknownPropertyException ifthegivenhandledoesnotdenoteapropertyinthebag
*/ void setFastPropertyValue(
sal_Int32 _nHandle, const css::uno::Any& _rValue
);
/** returns the default value for a property given by handle
/** determines whether a property with a given name is part of the bag
*/ bool hasPropertyByName( const OUString& _rName ) const
{ return isRegisteredProperty( _rName );
}
/** determines whether a property with a given handle is part of the bag
*/ bool hasPropertyByHandle( sal_Int32 _nHandle ) const
{ return isRegisteredProperty( _nHandle );
} protected: using OPropertyContainerHelper::convertFastPropertyValue; using OPropertyContainerHelper::getFastPropertyValue;
};
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.