Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
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#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicoreTypes.h"
13
14namespace hdi
15{
16 namespace aip
17 {
18 class TextTabStop;
19 }
20
21 namespace core
22 {
24 {
25 public:
26 enum TabType
27 {
28 UnknownTabType = 0,
29 LeftTabType = 10,
30 CenterTabType = 20,
31 RightTabType = 30,
32 DecimalTabType = 40
33 };
34
45
54
60 virtual ~TextTabStop();
61
67 virtual TextTabStop& operator=(const TextTabStop& rhs_);
68
77 virtual bool operator==(const TextTabStop& rhs_) const;
78
87 virtual bool operator!=(const TextTabStop& rhs_) const;
88
100 virtual std::unique_ptr<ATE::ITabStop> ateTabStop() const;
101
109 virtual bool isEmpty() const;
110
118 virtual TabType tabType() const;
119
127 virtual void setTabType(const TabType type_);
128
136 virtual double position() const;
137
145 virtual void setPosition(const double pos_);
146
154 virtual bool hasLeader() const;
155
163 virtual std::string leader() const;
164
172 virtual void setLeader(const std::string& leader_);
173
181 virtual std::string decimalChar() const;
182
190 virtual void setDecimalChar(const std::string& char_);
191
192
193 private:
194 friend aip::TextTabStop* __accessImpl(const TextTabStop&);
195 friend TextTabStop __accessCtor(const aip::TextTabStop&);
196
200 aip::TextTabStop* __impl;
201
207 TextTabStop(const aip::TextTabStop&);
208 };
209
210 typedef std::unique_ptr<TextTabStop> TextTabStopUP;
211 typedef std::shared_ptr<TextTabStop> TextTabStopSP;
212 typedef std::weak_ptr<TextTabStop> TextTabStopWP;
213
214 extern aip::TextTabStop* __accessImpl(const TextTabStop&);
215 extern TextTabStop __accessCtor(const aip::TextTabStop&);
216 }
217}
218
219#endif
220// HDI_CORE_AIP_MODE
221
222#endif
223// __HDI_CORE_TEXT_TAB_STOP__
Definition: hdicoreTextTabStop.h:24
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 bool operator==(const TextTabStop &rhs_) const
Tests whether a given TextTabStop object is the same as another.
virtual void setDecimalChar(const std::string &char_)
Sets the decimal character for the target tab stop.
TextTabStop(const TextTabStop &ts_)
TextTabStop copy constructor.
virtual bool hasLeader() const
Reports whether the target tab stop uses a leader.
virtual void setTabType(const TabType type_)
Sets the type of the target's tab stop.
virtual bool isEmpty() const
Gets whether the target TextTabStop object is empty.
virtual void setPosition(const double pos_)
Sets the position of the target tab stop.
virtual void setLeader(const std::string &leader_)
Sets the leader string for the target tab stop.
virtual TabType tabType() const
Retrieves the type of the target's tab stop.
virtual ~TextTabStop()
Destructs a TextTabStop object.
virtual TextTabStop & operator=(const TextTabStop &rhs_)
Overloaded assignment operator for TextTabStop objects.
virtual std::string decimalChar() const
Retrieves the decimal character for the target tab stop.
virtual double position() const
Retrieves the position of the target tab stop.
TextTabStop()
Creates a new TextTabStop object.
virtual std::unique_ptr< ATE::ITabStop > ateTabStop() const
Gets the ATE tab stop ref around which the target object is wrapped.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.