10 #ifndef INCLUDED_VCL_FONT_FEATURE_HXX
11 #define INCLUDED_VCL_FONT_FEATURE_HXX
14 #include <rtl/ustring.hxx>
21 return static_cast<uint32_t
>(sFeature[0]) << 24U | static_cast<uint32_t>(sFeature[1]) << 16U
22 |
static_cast<uint32_t
>(sFeature[2]) << 8U | static_cast<uint32_t>(sFeature[3]);
50 uint32_t getCode()
const;
51 OUString getDescription()
const;
70 std::vector<FeatureParameter>
const& rEnumParameters
71 = std::vector<FeatureParameter>{},
72 uint32_t nDefault = 0);
74 OUString
const& rNumericPart = OUString());
76 std::vector<FeatureParameter> aEnumParameters);
78 const std::vector<FeatureParameter>& getEnumParameters()
const;
79 uint32_t getCode()
const;
80 OUString getDescription()
const;
82 uint32_t getDefault()
const;
84 operator bool()
const;
118 #endif // INCLUDED_VCL_FONT_FEATURE_HXX
bool getType(BSTR name, Type &type)
OUString featureCodeAsString(uint32_t nFeature)
constexpr uint32_t featureCode(const char sFeature[4])
const char * m_pDescriptionID
FeatureSetting(OString feature)
const char * m_pDescriptionID
FeatureParameterType m_eType
std::vector< FeatureParameter > m_aEnumParameters
FeatureDefinition m_aDefinition