46 Q_PROPERTY(
TabSizeModel *tabSize READ tabSize NOTIFY tabSizeChanged)
101 Q_ENUM(PropertyState)
124 LAGER_QT_CURSOR(
int, writingMode);
126 LAGER_QT_CURSOR(
int, direction);
128 LAGER_QT_CURSOR(
int, unicodeBidi);
130 LAGER_QT_CURSOR(
int, textAlignAll);
132 LAGER_QT_CURSOR(
int, textAlignLast);
134 LAGER_QT_CURSOR(
int, textAnchor);
137 LAGER_QT_CURSOR(
int, fontWeight);
139 LAGER_QT_CURSOR(
int, fontWidth);
142 LAGER_QT_CURSOR(
bool, fontOpticalSizeLink);
145 LAGER_QT_CURSOR(QVariantMap, axisValues);
151 LAGER_QT_CURSOR(
bool, textDecorationUnderline);
152 LAGER_QT_CURSOR(
bool, textDecorationOverline);
153 LAGER_QT_CURSOR(
bool, textDecorationLineThrough);
156 LAGER_QT_CURSOR(
int, textDecorationStyle);
159 LAGER_QT_CURSOR(QColor, textDecorationColor);
162 LAGER_QT_CURSOR(
int, textDecorationUnderlinePosHorizontal);
163 LAGER_QT_CURSOR(
int, textDecorationUnderlinePosVertical);
172 LAGER_QT_CURSOR(
bool, hangingPunctuationFirst);
174 LAGER_QT_CURSOR(
bool, hangingPunctuationLast);
177 LAGER_QT_CURSOR(
int, alignmentBaseline);
179 LAGER_QT_CURSOR(
int, dominantBaseline);
181 LAGER_QT_CURSOR(
int, baselineShiftMode);
184 LAGER_QT_CURSOR(
int, wordBreak);
186 LAGER_QT_CURSOR(
int, lineBreak);
189 LAGER_QT_CURSOR(
bool, fontSynthesisWeight);
191 LAGER_QT_CURSOR(
bool, fontSynthesisStyle);
195 LAGER_QT_CURSOR(
int, fontVariantPosition);
197 LAGER_QT_CURSOR(
int, fontVariantCaps);
207 LAGER_QT_CURSOR(QVariantMap, fontFeatureSettings);
210 LAGER_QT_CURSOR(
bool, fontKerning);
213 LAGER_QT_CURSOR(QString, language);
216 LAGER_QT_CURSOR(qreal, fontSizeAdjust);
219 LAGER_QT_CURSOR(
int, textCollapse);
221 LAGER_QT_CURSOR(
int, textWrap);
224 LAGER_QT_CURSOR(
int, textRendering);
233 LAGER_QT_CURSOR(
bool, spanSelection);
236 LAGER_QT_CURSOR(
bool, enabled);
245 Q_INVOKABLE qreal resolvedFontSize(
bool fontSize = false);
254 Q_INVOKABLE qreal resolvedXHeight(
bool fontSize = false);
257 void textPropertyChanged();
258 void fontSizeChanged();
259 void lineHeightChanged();
261 void letterSpacingChanged();
262 void wordSpacingChanged();
263 void baselineShiftValueChanged();
265 void textIndentChanged();
266 void tabSizeChanged();
267 void textTransformChanged();
268 void fontStyleChanged();
270 void fontVariantLigaturesChanged();
271 void fontVariantNumericChanged();
272 void fontVariantEastAsianChanged();
274 void shapePaddingChanged();
275 void shapeMarginChanged();
@ ForceHang
Force hanging at the start or end of a line, never measured for justification.
The KoSvgTextPropertiesModel class.
lager::cursor< KoSvgText::TabSizeInfo > tabSizeData
lager::cursor< KoSvgTextProperties > commonProperties
lager::cursor< KoSvgTextPropertyData > textData
FontVariantEastAsianModel fontVariantEastAsianModel
lager::cursor< KoSvgText::FontFeatureEastAsian > fontVariantEastAsianData
FontVariantLigaturesModel fontVariantLigaturesModel
lager::cursor< KoSvgText::FontFeatureLigatures > fontVariantLigaturesData
lager::cursor< KoSvgText::TextTransformInfo > textTransformData
lager::cursor< KoSvgText::CssLengthPercentage > letterSpacingData
lager::cursor< KoSvgText::CssLengthPercentage > shapePaddingData
@ PropertyTriState
The property has a mixed value across the range of current properties, the inherited properties are r...
@ PropertyUnset
The property is neither set on the inherited properties or the current properties,...
@ PropertySet
The property is set on the current properties.
lager::cursor< KoSvgText::CssLengthPercentage > baselineShiftValueData
lager::cursor< KoSvgText::CssLengthPercentage > wordSpacingData
lager::cursor< KoSvgText::TextIndentInfo > textIndentData
lager::cursor< KoSvgText::LineHeightInfo > lineHeightData
lager::cursor< KoSvgText::CssFontStyleData > cssFontStyleData
lager::cursor< KoSvgText::FontFeatureNumeric > fontVariantNumericData
lager::cursor< KoSvgText::CssLengthPercentage > shapeMarginData
lager::cursor< KoSvgText::CssLengthPercentage > fontSizeData
The KoSvgTextPropertyData struct.