Hot Door CORE  0.7.1
Adobe® Illustrator® Plug-in Library
hdicoreTextCharStyle.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_TEXT_CHAR_STYLE__
8 #define __HDI_CORE_TEXT_CHAR_STYLE__
9 
10 #include "hdicoreTypes.h"
11 
12 namespace hdi
13 {
14  namespace plugin
15  {
16  class TextCharStyle;
17  }
18 
19  namespace core
20  {
21  class TextCharFeatures;
22 
24  {
25  public:
35  TextCharStyle();
36 
44  TextCharStyle(const TextCharStyle& cs_);
45 
51  virtual ~TextCharStyle();
52 
58  virtual TextCharStyle& operator=(const TextCharStyle& rhs_);
59 
68  virtual bool operator==(const TextCharStyle& rhs_) const;
69 
78  virtual bool operator!=(const TextCharStyle& rhs_) const;
79 
91  virtual std::auto_ptr<ATE::ICharStyle> ateCharStyle() const;
92 
100  virtual bool isEmpty() const;
101 
109  virtual std::string name() const;
110 
119  virtual bool setName(const std::string& name_);
120 
128  virtual std::auto_ptr<TextCharStyle> parent() const;
129 
138  virtual bool setParent(const TextCharStyle& parent_);
139 
147  virtual bool hasParent() const;
148 
156  virtual std::auto_ptr<TextCharFeatures> features() const;
157 
165  virtual void setFeatures(const TextCharFeatures& feat_);
166 
176  virtual void replaceOrAddFeatures(const TextCharFeatures& feat_);
177 
178 
179  private:
180  friend plugin::TextCharStyle* __accessImpl(const TextCharStyle&);
181  friend TextCharStyle __accessCtor(const plugin::TextCharStyle&);
182 
186  plugin::TextCharStyle* __impl;
187 
193  TextCharStyle(const plugin::TextCharStyle&);
194  };
195 
196  typedef std::auto_ptr<TextCharStyle> TextCharStyleAP;
197 
198  extern plugin::TextCharStyle* __accessImpl(const TextCharStyle&);
199  extern TextCharStyle __accessCtor(const plugin::TextCharStyle&);
200  }
201 }
202 
203 #endif
204 // __HDI_CORE_TEXT_CHAR_STYLE__
Allows for easy manipulation of Illustrator text character features.
Definition: hdicoreTextCharFeatures.h:31
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
Definition: hdicoreaiArray.h:12
Definition: hdicoreTextCharStyle.h:23