Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreTextTabStop.h
Go to the documentation of this file.
1
6
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 {
27 {
28 public:
29 enum TabType
30 {
31 UnknownTabType = 0,
32 LeftTabType = 10,
33 CenterTabType = 20,
34 RightTabType = 30,
35 DecimalTabType = 40
36 };
37
48
57
63 virtual ~TextTabStop();
64
73 virtual TextTabStop& operator=(const TextTabStop& rhs_);
74
83 virtual bool operator==(const TextTabStop& rhs_) const;
84
93 virtual bool operator!=(const TextTabStop& rhs_) const;
94
106 virtual std::unique_ptr<ATE::ITabStop> ateTabStop() const;
107
115 virtual bool isEmpty() const;
116
124 virtual TabType tabType() const;
125
133 virtual void setTabType(const TabType type_);
134
142 virtual double position() const;
143
151 virtual void setPosition(const double pos_);
152
160 virtual bool hasLeader() const;
161
169 virtual std::string leader() const;
170
178 virtual void setLeader(const std::string& leader_);
179
187 virtual std::string decimalChar() const;
188
196 virtual void setDecimalChar(const std::string& char_);
197
198
199 private:
200 friend aip::TextTabStop* __accessImpl(const TextTabStop&);
201 friend TextTabStop __accessCtor(const aip::TextTabStop&);
202
206 aip::TextTabStop* __impl;
207
213 TextTabStop(const aip::TextTabStop&);
214 };
215
216 typedef std::unique_ptr<TextTabStop> TextTabStopUP;
217 typedef std::shared_ptr<TextTabStop> TextTabStopSP;
218 typedef std::weak_ptr<TextTabStop> TextTabStopWP;
219
220 extern aip::TextTabStop* __accessImpl(const TextTabStop&);
221 extern TextTabStop __accessCtor(const aip::TextTabStop&);
222 }
223}
224
225#endif
226// HDI_CORE_AIP_MODE
227
228#endif
229// __HDI_CORE_TEXT_TAB_STOP__
Encapsulates tab stop functionality from the Illustrator SDK.
Definition hdicoreTextTabStop.h:27
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.