10#ifndef INCLUDED_VCL_FONT_FEATURE_HXX
11#define INCLUDED_VCL_FONT_FEATURE_HXX
14#include <rtl/character.hxx>
15#include <rtl/ustring.hxx>
23 return static_cast<uint32_t
>(sFeature[0]) << 24U |
static_cast<uint32_t
>(sFeature[1]) << 16U
24 |
static_cast<uint32_t
>(sFeature[2]) << 8U |
static_cast<uint32_t
>(sFeature[3]);
52 uint32_t getCode()
const;
53 OUString getDescription()
const;
72 std::vector<FeatureParameter>&& rEnumParameters
73 = std::vector<FeatureParameter>{},
74 int32_t nDefault = -1);
76 OUString aNumericPart = OUString());
78 std::vector<FeatureParameter> aEnumParameters);
80 const std::vector<FeatureParameter>& getEnumParameters()
const;
81 uint32_t getCode()
const;
82 OUString getDescription()
const;
84 int32_t getDefault()
const;
86 operator bool()
const;
96 return ((
m_nCode >> 24) & 0xFF) ==
'c' && ((
m_nCode >> 16) & 0xFF) ==
'v'
97 && rtl::isAsciiDigit((
m_nCode >> 8) & 0xFF)
98 && rtl::isAsciiDigit((
m_nCode >> 0) & 0xFF);
103 return ((
m_nCode >> 24) & 0xFF) ==
's' && ((
m_nCode >> 16) & 0xFF) ==
's'
104 && rtl::isAsciiDigit((
m_nCode >> 8) & 0xFF)
105 && rtl::isAsciiDigit((
m_nCode >> 0) & 0xFF);
FeatureParameterType m_eType
std::vector< FeatureParameter > m_aEnumParameters
TranslateId m_pDescriptionID
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...
constexpr uint32_t featureCode(const char sFeature[4])
OUString featureCodeAsString(uint32_t nFeature)
bool getType(BSTR name, Type &type)
const wchar_t *typedef BOOL
TranslateId m_pDescriptionID
FeatureSetting(OString feature)
bool isCharacterVariant() const
FeatureDefinition m_aDefinition
bool isStylisticSet() const