Hot Door CORE  0.7.1
Adobe® Illustrator® Plug-in Library
hdicoreTextTabStop.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_TEXT_TAB_STOP__
8 #define __HDI_CORE_TEXT_TAB_STOP__
9 
10 #include "hdicoreTypes.h"
11 
12 namespace hdi
13 {
14  namespace plugin
15  {
16  class TextTabStop;
17  }
18 
19  namespace core
20  {
22  {
23  public:
24  enum TabType
25  {
26  UnknownTabType = 0,
27  LeftTabType = 10,
28  CenterTabType = 20,
29  RightTabType = 30,
30  DecimalTabType = 40
31  };
32 
42  TextTabStop();
43 
51  TextTabStop(const TextTabStop& ts_);
52 
58  virtual ~TextTabStop();
59 
65  virtual TextTabStop& operator=(const TextTabStop& rhs_);
66 
75  virtual bool operator==(const TextTabStop& rhs_) const;
76 
85  virtual bool operator!=(const TextTabStop& rhs_) const;
86 
98  virtual std::auto_ptr<ATE::ITabStop> ateTabStop() const;
99 
107  virtual bool isEmpty() const;
108 
116  virtual TabType tabType() const;
117 
125  virtual void setTabType(const TabType type_);
126 
134  virtual double position() const;
135 
143  virtual void setPosition(const double pos_);
144 
152  virtual bool hasLeader() const;
153 
161  virtual std::string leader() const;
162 
170  virtual void setLeader(const std::string& leader_);
171 
179  virtual std::string decimalChar() const;
180 
188  virtual void setDecimalChar(const std::string& char_);
189 
190 
191  private:
192  friend plugin::TextTabStop* __accessImpl(const TextTabStop&);
193  friend TextTabStop __accessCtor(const plugin::TextTabStop&);
194 
198  plugin::TextTabStop* __impl;
199 
205  TextTabStop(const plugin::TextTabStop&);
206  };
207 
208  typedef std::auto_ptr<TextTabStop> TextTabStopAP;
209 
210  extern plugin::TextTabStop* __accessImpl(const TextTabStop&);
211  extern TextTabStop __accessCtor(const plugin::TextTabStop&);
212  }
213 }
214 
215 #endif
216 // __HDI_CORE_TEXT_TAB_STOP__
Definition: hdicoreTextTabStop.h:21
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
Definition: hdicoreaiArray.h:12