Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
hdicoreTextParaStyle.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_TEXT_PARA_STYLE__
8 #define __HDI_CORE_TEXT_PARA_STYLE__
9 
10 #include "hdicoreTypes.h"
11 
12 namespace hdi
13 {
14  namespace plugin
15  {
16  class TextParaStyle;
17  }
18 
19  namespace core
20  {
21  class TextParaFeatures;
22 
24  {
25  public:
35  TextParaStyle();
36 
44  TextParaStyle(const TextParaStyle& ps_);
45 
51  virtual ~TextParaStyle();
52 
58  virtual TextParaStyle& operator=(const TextParaStyle& rhs_);
59 
68  virtual bool operator==(const TextParaStyle& rhs_) const;
69 
78  virtual bool operator!=(const TextParaStyle& rhs_) const;
79 
91  virtual std::auto_ptr<ATE::IParaStyle> ateParaStyle() 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<TextParaStyle> parent() const;
129 
138  virtual bool setParent(const TextParaStyle& parent_);
139 
147  virtual bool hasParent() const;
148 
156  virtual std::auto_ptr<TextParaFeatures> features() const;
157 
165  virtual void setFeatures(const TextParaFeatures& feat_);
166 
176  virtual void replaceOrAddFeatures(const TextParaFeatures& feat_);
177 
178 
179  private:
180  friend plugin::TextParaStyle* __accessImpl(const TextParaStyle&);
181  friend TextParaStyle __accessCtor(const plugin::TextParaStyle&);
182 
186  plugin::TextParaStyle* __impl;
187 
193  TextParaStyle(const plugin::TextParaStyle&);
194  };
195 
196  typedef std::auto_ptr<TextParaStyle> TextParaStyleAP;
197 
198  extern plugin::TextParaStyle* __accessImpl(const TextParaStyle&);
199  extern TextParaStyle __accessCtor(const plugin::TextParaStyle&);
200  }
201 }
202 
203 #endif
204 // __HDI_CORE_TEXT_PARA_STYLE__
virtual bool isEmpty() const
Gets whether the target TextParaStyle object is empty.
virtual std::auto_ptr< ATE::IParaStyle > ateParaStyle() const
Gets the ATE paragraph style ref around which the target object is wrapped.
virtual bool setName(const std::string &name_)
Sets the name of the paragraph style.
virtual ~TextParaStyle()
Destructs a TextParaStyle object.
virtual std::string name() const
Gets the name of the paragraph style.
virtual bool setParent(const TextParaStyle &parent_)
Sets the parent style of the target paragraph style object.
virtual bool operator!=(const TextParaStyle &rhs_) const
Tests whether a given TextParaStyle object is not the same as another.
virtual void replaceOrAddFeatures(const TextParaFeatures &feat_)
Replaces existing features in the target style, or adds them anew if they were not already present (v...
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
Allows for easy manipulation of Illustrator text paragraph features.
Definition: hdicoreTextParaFeatures.h:27
Definition: hdicoreaiArray.h:12
virtual void setFeatures(const TextParaFeatures &feat_)
Sets the features defined for the target style.
TextParaStyle()
Creates a new TextParaStyle object.
virtual std::auto_ptr< TextParaFeatures > features() const
Gets the features defined for the target style.
virtual TextParaStyle & operator=(const TextParaStyle &rhs_)
Overloaded assignment operator for TextParaStyle objects.
virtual bool hasParent() const
Gets whether the target object has a parent.
virtual std::auto_ptr< TextParaStyle > parent() const
Gets the parent style of the target paragraph style object.
Definition: hdicoreTextParaStyle.h:23
virtual bool operator==(const TextParaStyle &rhs_) const
Tests whether a given TextParaStyle object is the same as another.