11#ifndef INCLUDED_SVX_CLASSIFICATIONFIELD_HXX
12#define INCLUDED_SVX_CLASSIFICATIONFIELD_HXX
38 const OUString& sAbbreviatedName,
const OUString& sIdentifier =
"")
41 , msAbbreviatedName(sAbbreviatedName)
42 , msIdentifier(sIdentifier)
49 return !msAbbreviatedName.isEmpty() ? msAbbreviatedName :
msName;
71 , msDescription(sDescription)
72 , msFullClassName(sFullClassName)
73 , msIdentifier(sIdentifier)
76 std::unique_ptr<SvxFieldData>
Clone()
const override
78 return std::make_unique<ClassificationField>(
meType, msDescription, msFullClassName, msIdentifier);
83 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 const &sDescription, OUString const &sFullClassName, OUString const &sIdentifier)
ClassificationType meType
ClassificationResult(ClassificationType eType, const OUString &sName, const OUString &sAbbreviatedName, const OUString &sIdentifier="")
OUString const & getDisplayText() const
Returns the text to display, which is the Abbreviated Name, if provided, otherwise Name.
OUString msAbbreviatedName
bool operator==(const ClassificationResult &rOther) const
@ INTELLECTUAL_PROPERTY_PART