namespace com::sun::star::sdbc { class XResultSet; }
// Helper methods
SVXCORE_DLLPUBLIC bool IsSearchableControl( const css::uno::Reference< css::uno::XInterface>& _xControl,
OUString* pCurrentText = nullptr); // check if the control has one of the interfaces we can use for searching // *pCurrentText will be filled with the current text of the control (as used when searching this control)
// Helper structs
struct FmFoundRecordInformation
{
css::uno::Any aPosition; // bookmark of the record in which the text was found
sal_Int16 nFieldPos; // ditto: the relative position of the column (in the string name of the field list in the constructor)
sal_Int16 nContext; // the context in which was searched and found (if the current search knows several contexts)
};
// FmSearchContext - information for the search in different contexts
struct FmSearchContext
{ // [in]
sal_Int16 nContext; // the number of the context // [out]
css::uno::Reference< css::sdbc::XResultSet>
xCursor; // the iterator for the context
OUString strUsedFields; // a list of field names separated by ';'
::std::vector< css::uno::Reference< css::uno::XInterface > >
arrFields; // the corresponding text interfaces for the fields in strUsedFields
OUString sFieldDisplayNames; // if not empty: names to be displayed for the searchable fields (must have the same token count as strUsedFields!)
};
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.