Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreTextCharFeatures.h
Go to the documentation of this file.
1
6
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
138
147 virtual bool operator==(const TextCharFeatures& rhs_) const;
148
157 virtual bool operator!=(const TextCharFeatures& rhs_) const;
158
170 virtual std::unique_ptr<ATE::ICharFeatures> ateCharFeatures() const;
171
179 virtual bool isEmpty() const;
180
188 virtual std::unique_ptr<TextCharFeatures> duplicate() const;
189
198 virtual bool font(Font& font__) const;
199
208 virtual bool fontSize(double& size__) const;
209
218 virtual bool horizontalScale(double& scale__) const;
219
228 virtual bool verticalScale(double& scale__) const;
229
238 virtual bool autoLeading(bool& leading__) const;
239
248 virtual bool leading(double& leading__) const;
249
258 virtual bool tracking(int32_t& tracking__) const;
259
268 virtual bool baselineShift(double& shift__) const;
269
278 virtual bool characterRotation(Angle& rotate__) const;
279
291 virtual bool autoKernType(AutoKernType& kerning__) const;
292
301 virtual bool fontCapsOption(FontCapsType& caps__) const;
302
311 virtual bool fontBaselineOption(FontBaseline& baseline__) const;
312
322
332
341 virtual bool underlinePosition(UnderlinePosition& pos__) const;
342
351 virtual bool underlineOffset(double& offset__) const;
352
361 virtual bool ligature(bool& lig__) const;
362
371 virtual bool discretionaryLigatures(bool& lig__) const;
372
381 virtual bool contextualLigatures(bool& lig__) const;
382
391 virtual bool alternateLigatures(bool& lig__) const;
392
401 virtual bool oldStyle(bool& old__) const;
402
411 virtual bool fractions(bool& frac__) const;
412
421 virtual bool ordinals(bool& ord__) const;
422
431 virtual bool swash(bool& swash__) const;
432
441 virtual bool titling(bool& titling__) const;
442
451 virtual bool connectionForms(bool& connForms__) const;
452
461 virtual bool stylisticAlternates(bool& styleAlt__) const;
462
471 bool stylisticSets(int32_t& styleSets__) const;
472
481 virtual bool ornaments(bool& orn__) const;
482
491 virtual bool figureStyle(FigureStyle& style__) const;
492
501 virtual bool noBreak(bool& noBr__) const;
502
511 virtual bool fillColor(ArtColor& color__) const;
512
521 virtual bool fill(bool& fill__) const;
522
531 virtual bool fillVisible(bool& fillVis__) const;
532
541 virtual bool strokeColor(ArtColor& color__) const;
542
551 virtual bool stroke(bool& stroke__) const;
552
561 virtual bool strokeVisible(bool& strokeVis__) const;
562
571 virtual bool fillFirst(bool& fillFirst__) const;
572
581 virtual bool fillOverPrint(bool& overprint__) const;
582
591 virtual bool strokeOverPrint(bool& overprint__) const;
592
601 virtual bool fillBackgroundColor(ArtColor& color__) const;
602
611 virtual bool fillBackground(bool& fillBG__) const;
612
621 virtual bool lineCap(StrokeStyle::CapStyle& cap__) const;
622
631 virtual bool lineJoin(StrokeStyle::JoinStyle& join__) const;
632
641 virtual bool lineWidth(double& width__) const;
642
651 virtual bool miterLimit(double& limit__) const;
652
661 virtual bool lineDashOffset(double& offset__) const;
662
671 virtual bool lineDashArray(DoubleVector& dists__) const;
672
681 virtual bool language(Language& lang__) const;
682
690 virtual void setFont(const Font& font_);
691
699 virtual void setFontSize(const double size_);
700
708 virtual void setHorizontalScale(const double scale_);
709
717 virtual void setVerticalScale(const double scale_);
718
726 virtual void setAutoLeading(const bool leading_);
727
735 virtual void setLeading(const double leading_);
736
744 virtual void setTracking(const int32_t tracking_);
745
753 virtual void setBaselineShift(const double shift_);
754
762 virtual void setCharacterRotation(const Angle& rotation_);
763
771 virtual void setAutoKernType(const AutoKernType kerning_);
772
780 virtual void setFontCapsOption(const FontCapsType caps_);
781
789 virtual void setFontBaselineOption(const FontBaseline baseline_);
790
799
808
816 virtual void setUnderlinePosition(const UnderlinePosition pos_);
817
825 virtual void setUnderlineOffset(const double offset_);
826
834 virtual void setLigature(const bool lig_);
835
843 virtual void setDiscretionaryLigatures(const bool lig_);
844
852 virtual void setContextualLigatures(const bool lig_);
853
861 virtual void setAlternateLigatures(const bool lig_);
862
870 virtual void setOldStyle(const bool old_);
871
879 virtual void setFractions(const bool frac_);
880
888 virtual void setOrdinals(const bool ord_);
889
897 virtual void setSwash(const bool swash_);
898
906 virtual void setTitling(const bool titling_);
907
915 virtual void setConnectionForms(const bool connForms_);
916
924 virtual void setStylisticAlternates(const bool styleAlt_);
925
933 void setStylisticSets(const int32_t styleSets_);
934
942 virtual void setOrnaments(const bool orn_);
943
951 virtual void setFigureStyle(const FigureStyle style_);
952
960 virtual void setNoBreak(const bool noBr_);
961
969 virtual void setFillColor(const ArtColor& color_);
970
978 virtual void setFill(const bool fill_);
979
987 virtual void setFillVisible(const bool fillVis_);
988
996 virtual void setFillOverPrint(const bool overprint_);
997
1005 virtual void setStrokeColor(const ArtColor& color_);
1006
1014 virtual void setStroke(const bool stroke_);
1015
1023 virtual void setStrokeVisible(const bool strokeVis_);
1024
1032 virtual void setStrokeOverPrint(const bool overprint_);
1033
1041 virtual void setFillFirst(const bool fillFirst_);
1042
1050 virtual void setFillBackgroundColor(const ArtColor& color_);
1051
1059 virtual void setFillBackground(const bool fillBG_);
1060
1068 virtual void setLineCap(const StrokeStyle::CapStyle cap_);
1069
1077 virtual void setLineJoin(const StrokeStyle::JoinStyle join_);
1078
1086 virtual void setLineWidth(const double width_);
1087
1095 virtual void setMiterLimit(const double limit_);
1096
1104 virtual void setLineDashOffset(const double offset_);
1105
1113 virtual void setLineDashArray(const DoubleVector& dists_);
1114
1122 virtual void setLanguage(const Language lang_);
1123
1129 virtual void clearFont();
1130
1136 virtual void clearFontSize();
1137
1143 virtual void clearHorizontalScale();
1144
1150 virtual void clearVerticalScale();
1151
1157 virtual void clearAutoLeading();
1158
1164 virtual void clearLeading();
1165
1171 virtual void clearTracking();
1172
1178 virtual void clearBaselineShift();
1179
1186
1193 virtual void clearAutoKernType();
1194
1200 virtual void clearFontCapsOption();
1201
1208
1215
1222
1229
1235 virtual void clearUnderlineOffset();
1236
1242 virtual void clearLigature();
1243
1250
1257
1264
1270 virtual void clearOldStyle();
1271
1277 virtual void clearFractions();
1278
1284 virtual void clearOrdinals();
1285
1291 virtual void clearSwash();
1292
1298 virtual void clearTitling();
1299
1305 virtual void clearConnectionForms();
1306
1313
1320
1326 virtual void clearOrnaments();
1327
1333 virtual void clearFigureStyle();
1334
1340 virtual void clearNoBreak();
1341
1347 virtual void clearFillColor();
1348
1354 virtual void clearStrokeColor();
1355
1361 virtual void clearFill();
1362
1368 virtual void clearFillVisible();
1369
1375 virtual void clearStroke();
1376
1382 virtual void clearStrokeVisible();
1383
1389 virtual void clearFillFirst();
1390
1396 virtual void clearFillOverPrint();
1397
1403 virtual void clearStrokeOverPrint();
1404
1411
1417 virtual void clearFillBackground();
1418
1424 virtual void clearLineCap();
1425
1431 virtual void clearLineJoin();
1432
1438 virtual void clearLineWidth();
1439
1445 virtual void clearMiterLimit();
1446
1452 virtual void clearLineDashOffset();
1453
1459 virtual void clearLineDashArray();
1460
1466 virtual void clearLanguage();
1467
1468
1469 private:
1470 friend aip::TextCharFeatures* __accessImpl(const TextCharFeatures&);
1471 friend TextCharFeatures __accessCtor(const aip::TextCharFeatures&);
1472
1476 aip::TextCharFeatures* __impl;
1477
1483 TextCharFeatures(const aip::TextCharFeatures&);
1484 };
1485
1486 typedef std::unique_ptr<TextCharFeatures> TextCharFeaturesUP;
1487 typedef std::shared_ptr<TextCharFeatures> TextCharFeaturesSP;
1488 typedef std::weak_ptr<TextCharFeatures> TextCharFeaturesWP;
1489
1490 extern aip::TextCharFeatures* __accessImpl(const TextCharFeatures&);
1491 extern TextCharFeatures __accessCtor(const aip::TextCharFeatures&);
1492 }
1493}
1494
1495#endif
1496// HDI_CORE_AIP_MODE
1497
1498#endif
1499// __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:42
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