11#ifndef INCLUDED_SVX_CLASSIFICATIONFIELD_HXX
12#define INCLUDED_SVX_CLASSIFICATIONFIELD_HXX
39 OUString sAbbreviatedName, OUString sIdentifier =
"")
42 , msAbbreviatedName(
std::move(sAbbreviatedName))
43 , msIdentifier(
std::move(sIdentifier))
50 return !msAbbreviatedName.isEmpty() ? msAbbreviatedName :
msName;
72 , msDescription(
std::move(sDescription))
73 , msFullClassName(
std::move(sFullClassName))
74 , msIdentifier(
std::move(sIdentifier))
77 std::unique_ptr<SvxFieldData>
Clone()
const override
79 return std::make_unique<ClassificationField>(
meType, msDescription, msFullClassName, msIdentifier);
84 if (
typeid(rOther) !=
typeid(*
this))
bool operator==(const SvxFieldData &rOther) const override
ClassificationType meType
std::unique_ptr< SvxFieldData > Clone() const override
ClassificationField(ClassificationType eType, OUString sDescription, OUString sFullClassName, OUString sIdentifier)
ClassificationType meType
OUString const & getDisplayText() const
Returns the text to display, which is the Abbreviated Name, if provided, otherwise Name.
OUString msAbbreviatedName
ClassificationResult(ClassificationType eType, OUString sName, OUString sAbbreviatedName, OUString sIdentifier="")
bool operator==(const ClassificationResult &rOther) const
@ INTELLECTUAL_PROPERTY_PART