21 std::vector<char> aString(5, 0);
22 aString[0] = char(nFeature >> 24 & 0xff);
23 aString[1] = char(nFeature >> 16 & 0xff);
24 aString[2] = char(nFeature >> 8 & 0xff);
25 aString[3] = char(nFeature >> 0 & 0xff);
27 return OStringToOUString(aString.data(), RTL_TEXTENCODING_ASCII_US);
51 if (hb_feature_from_string(feature.getStr(), feature.getLength(), &aFeat))
70 , m_pDescriptionID(pDescriptionID)
76 OUString aReturnString;
99 std::vector<FeatureParameter>&& rEnumParameters,
103 , m_nDefault(nDefault)
105 , m_aEnumParameters(
std::move(rEnumParameters))
110 OUString aNumericPart)
111 : m_pDescriptionID(pDescriptionID)
112 , m_sNumericPart(
std::move(aNumericPart))
120 std::vector<FeatureParameter> aEnumParameters)
121 : m_pDescriptionID(pDescriptionID)
125 , m_aEnumParameters(
std::move(aEnumParameters))
141 return sTranslatedDescription;
157FeatureDefinition::operator bool()
const {
return m_nCode != 0; }
FeatureParameterType m_eType
FeatureParameterType getType() const
int32_t getDefault() const
std::vector< FeatureParameter > m_aEnumParameters
TranslateId m_pDescriptionID
const std::vector< FeatureParameter > & getEnumParameters() const
OUString getDescription() const
const EnumerationType m_eType
A PhysicalFontFaceCollection is created by a PhysicalFontCollection and becomes invalid when original...
OUString featureCodeAsString(uint32_t nFeature)
const wchar_t *typedef BOOL
OUString getDescription() const
TranslateId m_pDescriptionID
FeatureParameter(uint32_t nCode, OUString aDescription)
FeatureSetting(OString feature)
OUString VclResId(TranslateId aId)