Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreTextCharFeatures.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_TEXT_CHAR_FEATURES__
8#define __HDI_CORE_TEXT_CHAR_FEATURES__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include <vector>
13
14#include "hdicorePathStyle.h"
15#include "hdicoreTypes.h"
16
17namespace hdi
18{
19 namespace aip
20 {
21 class TextCharFeatures;
22 }
23
24 namespace core
25 {
26 class Angle;
27 class ArtColor;
28 class Font;
29
34 {
35 public:
36 typedef std::vector<double> DoubleVector;
37
38 enum Language
39 {
40 UnknownLanguage = 0,
41 AlbanianLanguage = 10,
42 ArabicLanguage = 20,
43 BelarussianLanguage = 30,
44 BengaliLanguage = 40,
45 BokmalNorwegianLanguage = 50,
46 BulgarianLanguage = 60,
47 BurmeseLanguage = 65,
48 CatalanLanguage = 70,
49 ChineseLanguage = 80,
50 CroatianLanguage = 90,
51 CzechLanguage = 100,
52 DanishLanguage = 110,
53 DutchLanguage = 120,
54 EnglishLanguage = 130,
55 EnglishBritishLanguage = 140,
56 EnglishCanadianLanguage = 150,
57 EstonianLanguage = 160,
58 FarsiLanguage = 170,
59 FinnishLanguage = 180,
60 FrenchLanguage = 190,
61 FrenchCanadianLanguage = 200,
62 GermanLanguage = 210,
63 GermanSwissLanguage = 220,
64 GreekLanguage = 230,
65 GujaratiLanguage = 240,
66 HebrewLanguage = 250,
67 HindiLanguage = 260,
68 HungarianLanguage = 270,
69 IcelandicLanguage = 280,
70 IndonesianLanguage = 285,
71 ItalianLanguage = 290,
72 JapaneseLanguage = 300,
73 KannadaLanguage = 310,
74 KhmerLanguage = 315,
75 LaoLanguage = 320,
76 LatvianLanguage = 330,
77 LithuanianLanguage = 340,
78 MalayalamLanguage = 350,
79 MarathiLanguage = 360,
80 NynorskNorwegianLanguage = 370,
81 OriyaLanguage = 380,
82 PolishLanguage = 390,
83 PortugueseLanguage = 400,
84 PortugueseBrazilianLanguage = 410,
85 PunjabiLanguage = 420,
86 RomanianLanguage = 430,
87 RussianLanguage = 440,
88 SerbianLanguage = 450,
89 SinhaleseLanguage = 455,
90 SlovakianLanguage = 460,
91 SlovenianLanguage = 470,
92 SpanishLanguage = 480,
93 SwedishLanguage = 490,
94 TamilLanguage = 500,
95 TeluguLanguage = 510,
96 ThaiLanguage = 520,
97 TurkishLanguage = 530,
98 UkranianLanguage = 540,
99 VietnameseLanguage = 550
100 };
101
112
121
128
135
144 virtual bool operator==(const TextCharFeatures& rhs_) const;
145
154 virtual bool operator!=(const TextCharFeatures& rhs_) const;
155
167 virtual std::unique_ptr<ATE::ICharFeatures> ateCharFeatures() const;
168
176 virtual bool isEmpty() const;
177
185 virtual std::unique_ptr<TextCharFeatures> duplicate() const;
186
195 virtual bool font(Font& font__) const;
196
205 virtual bool fontSize(double& size__) const;
206
215 virtual bool horizontalScale(double& scale__) const;
216
225 virtual bool verticalScale(double& scale__) const;
226
235 virtual bool autoLeading(bool& leading__) const;
236
245 virtual bool leading(double& leading__) const;
246
255 virtual bool tracking(int32_t& tracking__) const;
256
265 virtual bool baselineShift(double& shift__) const;
266
275 virtual bool characterRotation(Angle& rotate__) const;
276
288 virtual bool autoKernType(AutoKernType& kerning__) const;
289
298 virtual bool fontCapsOption(FontCapsType& caps__) const;
299
308 virtual bool fontBaselineOption(FontBaseline& baseline__) const;
309
319
329
338 virtual bool underlinePosition(UnderlinePosition& pos__) const;
339
348 virtual bool underlineOffset(double& offset__) const;
349
358 virtual bool ligature(bool& lig__) const;
359
368 virtual bool discretionaryLigatures(bool& lig__) const;
369
378 virtual bool contextualLigatures(bool& lig__) const;
379
388 virtual bool alternateLigatures(bool& lig__) const;
389
398 virtual bool oldStyle(bool& old__) const;
399
408 virtual bool fractions(bool& frac__) const;
409
418 virtual bool ordinals(bool& ord__) const;
419
428 virtual bool swash(bool& swash__) const;
429
438 virtual bool titling(bool& titling__) const;
439
448 virtual bool connectionForms(bool& connForms__) const;
449
458 virtual bool stylisticAlternates(bool& styleAlt__) const;
459
468 bool stylisticSets(int32_t& styleSets__) const;
469
478 virtual bool ornaments(bool& orn__) const;
479
488 virtual bool figureStyle(FigureStyle& style__) const;
489
498 virtual bool noBreak(bool& noBr__) const;
499
508 virtual bool fillColor(ArtColor& color__) const;
509
518 virtual bool fill(bool& fill__) const;
519
528 virtual bool fillVisible(bool& fillVis__) const;
529
538 virtual bool strokeColor(ArtColor& color__) const;
539
548 virtual bool stroke(bool& stroke__) const;
549
558 virtual bool strokeVisible(bool& strokeVis__) const;
559
568 virtual bool fillFirst(bool& fillFirst__) const;
569
578 virtual bool fillOverPrint(bool& overprint__) const;
579
588 virtual bool strokeOverPrint(bool& overprint__) const;
589
598 virtual bool fillBackgroundColor(ArtColor& color__) const;
599
608 virtual bool fillBackground(bool& fillBG__) const;
609
618 virtual bool lineCap(StrokeStyle::CapStyle& cap__) const;
619
628 virtual bool lineJoin(StrokeStyle::JoinStyle& join__) const;
629
638 virtual bool lineWidth(double& width__) const;
639
648 virtual bool miterLimit(double& limit__) const;
649
658 virtual bool lineDashOffset(double& offset__) const;
659
668 virtual bool lineDashArray(DoubleVector& dists__) const;
669
678 virtual bool language(Language& lang__) const;
679
687 virtual void setFont(const Font& font_);
688
696 virtual void setFontSize(const double size_);
697
705 virtual void setHorizontalScale(const double scale_);
706
714 virtual void setVerticalScale(const double scale_);
715
723 virtual void setAutoLeading(const bool leading_);
724
732 virtual void setLeading(const double leading_);
733
741 virtual void setTracking(const int32_t tracking_);
742
750 virtual void setBaselineShift(const double shift_);
751
759 virtual void setCharacterRotation(const Angle& rotation_);
760
768 virtual void setAutoKernType(const AutoKernType kerning_);
769
777 virtual void setFontCapsOption(const FontCapsType caps_);
778
786 virtual void setFontBaselineOption(const FontBaseline baseline_);
787
796
805
813 virtual void setUnderlinePosition(const UnderlinePosition pos_);
814
822 virtual void setUnderlineOffset(const double offset_);
823
831 virtual void setLigature(const bool lig_);
832
840 virtual void setDiscretionaryLigatures(const bool lig_);
841
849 virtual void setContextualLigatures(const bool lig_);
850
858 virtual void setAlternateLigatures(const bool lig_);
859
867 virtual void setOldStyle(const bool old_);
868
876 virtual void setFractions(const bool frac_);
877
885 virtual void setOrdinals(const bool ord_);
886
894 virtual void setSwash(const bool swash_);
895
903 virtual void setTitling(const bool titling_);
904
912 virtual void setConnectionForms(const bool connForms_);
913
921 virtual void setStylisticAlternates(const bool styleAlt_);
922
930 void setStylisticSets(const int32_t styleSets_);
931
939 virtual void setOrnaments(const bool orn_);
940
948 virtual void setFigureStyle(const FigureStyle style_);
949
957 virtual void setNoBreak(const bool noBr_);
958
966 virtual void setFillColor(const ArtColor& color_);
967
975 virtual void setFill(const bool fill_);
976
984 virtual void setFillVisible(const bool fillVis_);
985
993 virtual void setFillOverPrint(const bool overprint_);
994
1002 virtual void setStrokeColor(const ArtColor& color_);
1003
1011 virtual void setStroke(const bool stroke_);
1012
1020 virtual void setStrokeVisible(const bool strokeVis_);
1021
1029 virtual void setStrokeOverPrint(const bool overprint_);
1030
1038 virtual void setFillFirst(const bool fillFirst_);
1039
1047 virtual void setFillBackgroundColor(const ArtColor& color_);
1048
1056 virtual void setFillBackground(const bool fillBG_);
1057
1065 virtual void setLineCap(const StrokeStyle::CapStyle cap_);
1066
1074 virtual void setLineJoin(const StrokeStyle::JoinStyle join_);
1075
1083 virtual void setLineWidth(const double width_);
1084
1092 virtual void setMiterLimit(const double limit_);
1093
1101 virtual void setLineDashOffset(const double offset_);
1102
1110 virtual void setLineDashArray(const DoubleVector& dists_);
1111
1119 virtual void setLanguage(const Language lang_);
1120
1126 virtual void clearFont();
1127
1133 virtual void clearFontSize();
1134
1140 virtual void clearHorizontalScale();
1141
1147 virtual void clearVerticalScale();
1148
1154 virtual void clearAutoLeading();
1155
1161 virtual void clearLeading();
1162
1168 virtual void clearTracking();
1169
1175 virtual void clearBaselineShift();
1176
1183
1190 virtual void clearAutoKernType();
1191
1197 virtual void clearFontCapsOption();
1198
1205
1212
1219
1226
1232 virtual void clearUnderlineOffset();
1233
1239 virtual void clearLigature();
1240
1247
1254
1261
1267 virtual void clearOldStyle();
1268
1274 virtual void clearFractions();
1275
1281 virtual void clearOrdinals();
1282
1288 virtual void clearSwash();
1289
1295 virtual void clearTitling();
1296
1302 virtual void clearConnectionForms();
1303
1310
1317
1323 virtual void clearOrnaments();
1324
1330 virtual void clearFigureStyle();
1331
1337 virtual void clearNoBreak();
1338
1344 virtual void clearFillColor();
1345
1351 virtual void clearStrokeColor();
1352
1358 virtual void clearFill();
1359
1365 virtual void clearFillVisible();
1366
1372 virtual void clearStroke();
1373
1379 virtual void clearStrokeVisible();
1380
1386 virtual void clearFillFirst();
1387
1393 virtual void clearFillOverPrint();
1394
1400 virtual void clearStrokeOverPrint();
1401
1408
1414 virtual void clearFillBackground();
1415
1421 virtual void clearLineCap();
1422
1428 virtual void clearLineJoin();
1429
1435 virtual void clearLineWidth();
1436
1442 virtual void clearMiterLimit();
1443
1449 virtual void clearLineDashOffset();
1450
1456 virtual void clearLineDashArray();
1457
1463 virtual void clearLanguage();
1464
1465
1466 private:
1467 friend aip::TextCharFeatures* __accessImpl(const TextCharFeatures&);
1468 friend TextCharFeatures __accessCtor(const aip::TextCharFeatures&);
1469
1473 aip::TextCharFeatures* __impl;
1474
1480 TextCharFeatures(const aip::TextCharFeatures&);
1481 };
1482
1483 typedef std::unique_ptr<TextCharFeatures> TextCharFeaturesUP;
1484 typedef std::shared_ptr<TextCharFeatures> TextCharFeaturesSP;
1485 typedef std::weak_ptr<TextCharFeatures> TextCharFeaturesWP;
1486
1487 extern aip::TextCharFeatures* __accessImpl(const TextCharFeatures&);
1488 extern TextCharFeatures __accessCtor(const aip::TextCharFeatures&);
1489 }
1490}
1491
1492#endif
1493// HDI_CORE_AIP_MODE
1494
1495#endif
1496// __HDI_CORE_TEXT_CHAR_FEATURES__
Describes an angle, and allows for easy conversion between various units.
Definition: hdicoreAngle.h:26
Describes the color of art on the artboard.
Definition: hdicoreArtColor.h:40
Font class to allow for easy font manipulation.
Definition: hdicoreFont.h:183
JoinStyle
Indicates the type of join for a given stroke style.
Definition: hdicorePathStyle.h:277
CapStyle
Indicates the type of cap for a given stroke style.
Definition: hdicorePathStyle.h:266
Allows for easy manipulation of Illustrator text character features.
Definition: hdicoreTextCharFeatures.h:34
virtual void clearFillBackgroundColor()
Removes the local fill background color attribute value of this character.
virtual void clearContextualLigatures()
Removes the local OpenType contextual ligature attribute value of this character.
virtual void setHorizontalScale(const double scale_)
Sets the local horizontal scale attribute for the character.
virtual void clearLineJoin()
Removes the local line join attribute value of this character.
virtual void clearFigureStyle()
Removes the local OpenType figure style attribute value of this character.
virtual bool strikethroughPosition(StrikethroughPosition &pos__) const
Retrieves the strikethrough position attribute of the character.
virtual void setStroke(const bool stroke_)
Sets the local stroke attribute of the character.
virtual void clearUnderlinePosition()
Removes the local underline position attribute value of this character.
virtual bool lineDashOffset(double &offset__) const
Retrieves the line dash offset attribute of the character.
virtual void clearLigature()
Removes the local OpenType ligature attribute value of this character.
virtual void setOrdinals(const bool ord_)
Sets the local OpenType ordinals attribute for the character style.
virtual bool noBreak(bool &noBr__) const
Retrieves the no-break attribute of the character.
virtual void setVerticalScale(const double scale_)
Sets the local vertical scale attribute for the character.
virtual bool leading(double &leading__) const
Retrieves the leading attribute of the character.
virtual void setFontBaselineOption(const FontBaseline baseline_)
Sets the local font baseline option attribute for the character style.
virtual bool horizontalScale(double &scale__) const
Retrieves the horizontal scale attribute of the character.
virtual void setFont(const Font &font_)
Sets the local font attribute for the character.
TextCharFeatures(const TextCharFeatures &cf_)
TextCharFeatures copy constructor.
virtual void clearTitling()
Removes the local OpenType titling attribute value of this character.
TextCharFeatures()
Creates a new TextCharFeatures object.
virtual void clearLineCap()
Removes the local line cap attribute value of this character.
virtual void setFillBackground(const bool fillBG_)
Sets the local fill background attribute of the character.
virtual void clearFractions()
Removes the local OpenType fractions attribute value of this character.
virtual bool ordinals(bool &ord__) const
Retrieves the OpenType ordinals attribute of the character.
virtual bool miterLimit(double &limit__) const
Retrieves the miter limit attribute of the character.
virtual void setStylisticAlternates(const bool styleAlt_)
Sets the local OpenType stylistic alternates attribute for the character style.
virtual void setOldStyle(const bool old_)
Sets the local OpenType old-style attribute for the character style.
virtual bool fontSize(double &size__) const
Retrieves the font size attribute of the character.
virtual void setContextualLigatures(const bool lig_)
Sets the local OpenType contextual ligatures attribute for the character style.
virtual void clearFontOpenTypePositionOption()
Removes the local font OpenType position option attribute value of this character.
void setStylisticSets(const int32_t styleSets_)
Sets the local OpenType stylistic sets attribute for the character style.
virtual void setFontSize(const double size_)
Sets the local font size attribute for the character.
virtual void clearFillFirst()
Removes the local fill-first attribute value of this character.
virtual void setUnderlineOffset(const double offset_)
Sets the local underline offset attribute for the character style.
virtual bool figureStyle(FigureStyle &style__) const
Retrieves the OpenType figure style attribute of the character.
virtual bool stroke(bool &stroke__) const
Retrieves the stroke attribute of the character.
virtual bool ligature(bool &lig__) const
Retrieves the OpenType ligature attribute of the character.
virtual void setFigureStyle(const FigureStyle style_)
Sets the local OpenType figure style attribute for the character style.
virtual void setConnectionForms(const bool connForms_)
Sets the local OpenType connection forms attribute for the character style.
virtual bool strokeColor(ArtColor &color__) const
Retrieves the stroke color attribute of the character.
virtual bool fillColor(ArtColor &color__) const
Retrieves the fill color attribute of the character.
virtual void setAlternateLigatures(const bool lig_)
Sets the local OpenType alternate ligatures attribute for the character style.
virtual bool ornaments(bool &orn__) const
Retrieves the OpenType ornaments attribute of the character.
virtual void clearLineDashArray()
Removes the local line dash array attribute value of this character.
virtual bool strokeOverPrint(bool &overprint__) const
Retrieves the stroke overprint attribute of the character.
virtual void clearStylisticAlternates()
Removes the local OpenType stylistic alternates attribute value of this character.
virtual bool fillBackground(bool &fillBG__) const
Retrieves the fill background attribute of the character.
virtual void clearFontSize()
Removes the local font size attribute value of this character.
virtual void clearOldStyle()
Removes the local OpenType old-style attribute value of this character.
virtual bool lineJoin(StrokeStyle::JoinStyle &join__) const
Retrieves the line join attribute of the character.
virtual bool fillVisible(bool &fillVis__) const
Retrieves the fill visibility attribute of the character.
virtual void clearFillColor()
Removes the local fill color attribute value of this character.
virtual void setLineDashOffset(const double offset_)
Sets the local line dash offset attribute of the character.
virtual bool alternateLigatures(bool &lig__) const
Retrieves the OpenType alternate ligatures attribute of the character.
virtual void setMiterLimit(const double limit_)
Sets the local miter limit attribute of the character.
virtual bool fillOverPrint(bool &overprint__) const
Retrieves the fill overprint attribute of the character.
virtual void clearOrdinals()
Removes the local OpenType ordinals attribute value of this character.
virtual void clearFont()
Removes the local font attribute value of this character.
virtual bool swash(bool &swash__) const
Retrieves the OpenType swash attribute of the character.
virtual bool titling(bool &titling__) const
Retrieves the OpenType titling attribute of the character.
virtual void setOrnaments(const bool orn_)
Sets the local OpenType ornaments attribute for the character style.
virtual void setFractions(const bool frac_)
Sets the local OpenType fractions attribute for the character style.
virtual std::unique_ptr< ATE::ICharFeatures > ateCharFeatures() const
Gets the ATE char features ref around which the target object is wrapped.
virtual void setLanguage(const Language lang_)
Sets the language attribute of the character.
virtual void setStrokeVisible(const bool strokeVis_)
Sets the local stroke visibility attribute of the character.
virtual void setBaselineShift(const double shift_)
Sets the local baseline shift attribute for the character.
virtual bool autoLeading(bool &leading__) const
Retrieves the automatic leading attribute of the character.
virtual void clearNoBreak()
Removes the local no-break attribute value of this character.
virtual void setTitling(const bool titling_)
Sets the local OpenType titling attribute for the character style.
virtual void setLineCap(const StrokeStyle::CapStyle cap_)
Sets the local line cap attribute of the character.
virtual bool verticalScale(double &scale__) const
Retrieves the vertical scale attribute of the character.
virtual bool fontCapsOption(FontCapsType &caps__) const
Retrieves the font caps option attribute of the character.
virtual void clearFillOverPrint()
Removes the local fill overprint attribute value of this character.
virtual void setLineJoin(const StrokeStyle::JoinStyle join_)
Sets the local line join attribute of the character.
virtual ~TextCharFeatures()
Destructs a TextCharFeatures object.
virtual void setUnderlinePosition(const UnderlinePosition pos_)
Sets the local underline position attribute for the character style.
virtual bool fillBackgroundColor(ArtColor &color__) const
Retrieves the fill background color attribute of the character.
virtual void setFillColor(const ArtColor &color_)
Sets the local fill color attribute of the character.
virtual bool fractions(bool &frac__) const
Retrieves the OpenType fractions attribute of the character.
virtual void clearAutoLeading()
Removes the local automatic leading attribute value of this character.
virtual bool characterRotation(Angle &rotate__) const
Retrieves the character rotation attribute of the character.
void clearStylisticSets()
Removes the local OpenType stylistic sets attribute value of this character.
virtual void setLineDashArray(const DoubleVector &dists_)
Sets the local line dash array attribute of the character.
virtual bool strokeVisible(bool &strokeVis__) const
Retrieves the stroke visibility attribute of the character.
virtual void clearStrokeOverPrint()
Removes the local stroke overprint attribute value of this character.
virtual void setAutoLeading(const bool leading_)
Sets the local automatic leading attribute for the character.
virtual bool oldStyle(bool &old__) const
Retrieves the OpenType old-style attribute of the character.
virtual void clearAutoKernType()
Removes the local automatic kerning attribute value of this character style. This is not available fo...
virtual void clearStroke()
Removes the local stroke attribute value of this character.
virtual void setStrikethroughPosition(const StrikethroughPosition pos_)
Sets the local strikethrough position attribute for the character style.
virtual bool lineDashArray(DoubleVector &dists__) const
Retrieves the line dash array attribute of the character.
virtual bool stylisticAlternates(bool &styleAlt__) const
Retrieves the OpenType stylistic alternates attribute of the character.
virtual void clearUnderlineOffset()
Removes the local underline offset attribute value of this character.
virtual bool operator==(const TextCharFeatures &rhs_) const
Tests whether a given TextCharFeatures object is the same as another.
virtual void setCharacterRotation(const Angle &rotation_)
Sets the local character rotation attribute for the character.
virtual bool operator!=(const TextCharFeatures &rhs_) const
Tests whether a given TextCharFeatures object is not the same as another.
virtual bool fontOpenTypePositionOption(FontOpenTypePosition &pos__) const
Retrieves the font OpenType position option attribute of the character.
virtual void setFillFirst(const bool fillFirst_)
Sets the local fill-first attribute of the character.
virtual void clearConnectionForms()
Removes the local OpenType connection forms attribute value of this character.
virtual void setFillOverPrint(const bool overprint_)
Sets the local fill overprint attribute of the character.
virtual bool baselineShift(double &shift__) const
Retrieves the baseline shift attribute of the character.
virtual void clearLineDashOffset()
Removes the local line dash offset attribute value of this character.
virtual std::unique_ptr< TextCharFeatures > duplicate() const
Duplicates the target object.
virtual void setAutoKernType(const AutoKernType kerning_)
Sets the local automatic kerning type attribute for the character style.
virtual void setLigature(const bool lig_)
Sets the local OpenType ligature attribute for the character style.
bool stylisticSets(int32_t &styleSets__) const
Retrieves the OpenType stylistic sets attribute of the character.
virtual void clearLeading()
Removes the local leading attribute value of this character.
virtual bool contextualLigatures(bool &lig__) const
Retrieves the OpenType context ligatures attribute of the character.
virtual bool tracking(int32_t &tracking__) const
Retrieves the tracking attribute of the character.
virtual bool lineCap(StrokeStyle::CapStyle &cap__) const
Retrieves the line cap attribute of the character.
virtual bool connectionForms(bool &connForms__) const
Retrieves the OpenType connection forms attribute of the character.
virtual void setFill(const bool fill_)
Sets the local fill attribute of the character.
virtual bool fillFirst(bool &fillFirst__) const
Retrieves the fill-first attribute of the character.
virtual bool lineWidth(double &width__) const
Retrieves the line width attribute of the character.
virtual void clearMiterLimit()
Removes the local miter limit attribute value of this character.
virtual void clearStrokeVisible()
Removes the local stroke visibility attribute value of this character.
virtual void setDiscretionaryLigatures(const bool lig_)
Sets the local OpenType discretionary ligatures attribute for the character style.
virtual void clearFill()
Removes the local fill attribute value of this character.
virtual void setTracking(const int32_t tracking_)
Sets the local tracking attribute for the character.
virtual void clearVerticalScale()
Removes the local vertical scale attribute value of this character.
virtual void clearDiscretionaryLigatures()
Removes the local OpenType discretionary ligature attribute value of this character.
virtual void clearAlternateLigatures()
Removes the local OpenType alternate ligature attribute value of this character.
virtual void setLineWidth(const double width_)
Sets the local line width attribute of the character.
virtual void clearBaselineShift()
Removes the local baseline shift attribute value of this character.
virtual void clearLanguage()
Removes the language attribute of the character.
virtual void setStrokeColor(const ArtColor &color_)
Sets the local stroke color attribute of the character.
virtual bool autoKernType(AutoKernType &kerning__) const
Retrieves the automatic kerning type attribute of the character.
virtual bool language(Language &lang__) const
Retrieves the language attribute of the character.
virtual void clearStrokeColor()
Removes the local stroke color attribute value of this character.
virtual void setFontOpenTypePositionOption(const FontOpenTypePosition pos_)
Sets the local font OpenType position option attribute for the character style.
virtual void setFontCapsOption(const FontCapsType caps_)
Sets the local font caps option attribute for the character style.
virtual void setSwash(const bool swash_)
Sets the local OpenType swash attribute for the character style.
virtual void setFillVisible(const bool fillVis_)
Sets the local fill visibility attribute of the character.
virtual void setFillBackgroundColor(const ArtColor &color_)
Sets the local fill background color attribute of the character.
virtual bool isEmpty() const
Gets whether the target TextCharFeatures object is empty.
virtual void clearTracking()
Removes the local tracking attribute value of this character.
virtual TextCharFeatures & operator=(const TextCharFeatures &rhs_)
Overloaded assignment operator for TextCharFeatures objects.
virtual bool fontBaselineOption(FontBaseline &baseline__) const
Retrieves the font baseline option attribute of the character.
virtual void clearOrnaments()
Removes the local OpenType ornaments attribute value of this character.
virtual bool underlineOffset(double &offset__) const
Retrieves the underline offset attribute of the character.
virtual bool font(Font &font__) const
Retrieves the font attribute of the character.
virtual bool underlinePosition(UnderlinePosition &pos__) const
Retrieves the underline position attribute of the character.
virtual void setNoBreak(const bool noBr_)
Sets the local no-break attribute of the character.
virtual void clearCharacterRotation()
Removes the local character rotation attribute value of this character.
virtual void clearStrikethroughPosition()
Removes the local strikethrough position attribute value of this character.
virtual void clearFontCapsOption()
Removes the local font caps option attribute value of this character.
virtual void setStrokeOverPrint(const bool overprint_)
Sets the local stroke overprint attribute of the character.
virtual void clearFillVisible()
Removes the local fill visibility attribute value of this character.
virtual void clearSwash()
Removes the local OpenType swash attribute value of this character.
virtual bool fill(bool &fill__) const
Retrieves the fill attribute of the character.
virtual bool discretionaryLigatures(bool &lig__) const
Retrieves the OpenType discretionary ligatures attribute of the character.
virtual void clearLineWidth()
Removes the local line width attribute value of this character.
virtual void clearFillBackground()
Removes the local fill background attribute value of this character.
virtual void setLeading(const double leading_)
Sets the local leading attribute for the character.
virtual void clearHorizontalScale()
Removes the local horizontal scale attribute value of this character.
virtual void clearFontBaselineOption()
Removes the local font baseline option attribute value of this character.
Header file for path style-related classes.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
FontOpenTypePosition
Indicates the position of some OpenType text.
Definition: hdicoreTypes.h:459
AutoKernType
Indicates the kerning type of some text.
Definition: hdicoreTypes.h:495
FigureStyle
Indicates the figure style of some text.
Definition: hdicoreTypes.h:424
UnderlinePosition
Indicates the underline position of some text.
Definition: hdicoreTypes.h:437
StrikethroughPosition
Indicates the strikethrough position of some text.
Definition: hdicoreTypes.h:448
FontBaseline
Indicates the baseline of some text.
Definition: hdicoreTypes.h:472
FontCapsType
Indicates the capitalization of some text.
Definition: hdicoreTypes.h:483