11#ifndef INCLUDED_SVX_CLASSIFICATIONCOMMON_HXX
12#define INCLUDED_SVX_CLASSIFICATIONCOMMON_HXX
21class XPropertyContainer;
29class ClassificationResult;
38getProperty(css::uno::Reference<css::beans::XPropertyContainer>
const& rxPropertyContainer,
39 OUString
const& rName);
42 std::u16string_view rName);
48 css::uno::Reference<css::beans::XPropertyContainer>
const& rxPropertyContainer,
49 OUString
const& rsKey, OUString
const& rsValue);
52 css::uno::Reference<css::beans::XPropertyContainer>
const& rxPropertyContainer,
54 std::vector<svx::ClassificationResult>
const& rResults);
ClassificationCreationOrigin
bool containsProperty(uno::Sequence< beans::Property > const &rProperties, std::u16string_view rName)
OUString convertClassificationResultToString(std::vector< svx::ClassificationResult > const &rResults)
OUString getProperty(uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, OUString const &rName)
void insertFullTextualRepresentationAsDocumentProperty(uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, sfx::ClassificationKeyCreator const &rKeyCreator, std::vector< svx::ClassificationResult > const &rResults)
void insertCreationOrigin(uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, sfx::ClassificationKeyCreator const &rKeyCreator, sfx::ClassificationCreationOrigin eOrigin)
bool addOrInsertDocumentProperty(uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer, OUString const &rsKey, OUString const &rsValue)
void removeAllProperties(uno::Reference< beans::XPropertyContainer > const &rxPropertyContainer)