ColumnName, /// column name (string)
ColumnObject, /// column object (XPropertySet)
Selection, /// selection (sequence< any >)
BookmarkSelection, /// selection are bookmarks? (boolean)
Component /// component name (XContent)
};
//= ODataAccessDescriptor
/** class encapsulating the css::sdb::DataAccessDescriptor service.
*/ class SAL_WARN_UNUSED SVXCORE_DLLPUBLIC ODataAccessDescriptor final
{
std::unique_ptr<ODADescriptorImpl> m_pImpl;
// allows to construct a descriptor from an Any containing either an XPropertySet or a property value sequence
ODataAccessDescriptor( const css::uno::Any& _rValues );
/** returns the descriptor as property value sequence <p>Ifyoucallthismethodmorethanonce,withoutwritinganyvaluesbetweenbothcalls,thesameobject isreturned.Ifyouwrotevalues,anewobjectisreturned.</p>
*/
css::uno::Sequence< css::beans::PropertyValue > const &
createPropertyValueSequence();
/** initialized the descriptor from the property values given Thedescriptorwillclearallitscurrentsettingsbefore initializingwiththenewones.
*/ void initializeFrom( const css::uno::Sequence< css::beans::PropertyValue >& _rValues);
/// checks whether or not a given property is present in the descriptor bool has(DataAccessDescriptorProperty _eWhich) const;
/** erases the given property from the descriptor
*/ void erase(DataAccessDescriptorProperty _eWhich);
/** empties the descriptor
*/ void clear();
/// return the value of a given property const css::uno::Any& operator [] ( DataAccessDescriptorProperty _eWhich ) const;
/** return the (modifiable) value of a given property <p>Thisoperatorisnotallowedtobecalledifthedescriptorisreadonly.</p>
*/
css::uno::Any& operator [] ( DataAccessDescriptorProperty _eWhich );
/** returns either the data source name if given or the database location
*/
OUString getDataSource() const;
/** set the data source name, if it is not file URL @param_sDataSourceNameOrLocation thedatasourcenameordatabaselocation
*/ void setDataSource(const OUString& _sDataSourceNameOrLocation);
};
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.