Hot Door CORE  0.7.0
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__
virtual std::string leader() const
Retrieves the leader string for the target tab stop.
virtual bool operator!=(const TextTabStop &rhs_) const
Tests whether a given TextTabStop object is not the same as another.
virtual void setTabType(const TabType type_)
Sets the type of the target's tab stop.
virtual bool hasLeader() const
Reports whether the target tab stop uses a leader.
virtual TabType tabType() const
Retrieves the type of the target's tab stop.
virtual bool isEmpty() const
Gets whether the target TextTabStop object is empty.
virtual void setLeader(const std::string &leader_)
Sets the leader string for the target tab stop.
Definition: hdicoreTextTabStop.h:21
virtual void setDecimalChar(const std::string &char_)
Sets the decimal character for the target tab stop.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
virtual std::auto_ptr< ATE::ITabStop > ateTabStop() const
Gets the ATE tab stop ref around which the target object is wrapped.
virtual bool operator==(const TextTabStop &rhs_) const
Tests whether a given TextTabStop object is the same as another.
virtual std::string decimalChar() const
Retrieves the decimal character for the target tab stop.
Definition: hdicoreaiArray.h:12
virtual double position() const
Retrieves the position of the target tab stop.
virtual TextTabStop & operator=(const TextTabStop &rhs_)
Overloaded assignment operator for TextTabStop objects.
TextTabStop()
Creates a new TextTabStop object.
virtual void setPosition(const double pos_)
Sets the position of the target tab stop.
virtual ~TextTabStop()
Destructs a TextTabStop object.