Hot Door CORE  0.7.1
Adobe® Illustrator® Plug-in Library
hdicoreTextParaInspector.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_TEXT_PARA_INSPECTOR__
8 #define __HDI_CORE_TEXT_PARA_INSPECTOR__
9 
10 #include <vector>
11 
12 #include "hdicoreTypes.h"
13 
14 namespace hdi
15 {
16  namespace plugin
17  {
18  class TextParaInspector;
19  }
20 
21  namespace core
22  {
27  {
28  public:
29  typedef std::vector<bool> BoolVector;
30  typedef std::vector<double> DoubleVector;
31  typedef std::vector<int32_t> IntVector;
32 
33  typedef std::vector<ComposerEngine> ComposerEngineVector;
34  typedef std::vector<LeadingType> LeadingTypeVector;
35  typedef std::vector<ParagraphJustification> ParagraphJustificationVector;
36 
47 
56 
62  virtual ~TextParaInspector();
63 
69  virtual TextParaInspector& operator=(const TextParaInspector& rhs_);
70 
79  virtual bool operator==(const TextParaInspector& rhs_) const;
80 
89  virtual bool operator!=(const TextParaInspector& rhs_) const;
90 
102  virtual std::auto_ptr<ATE::IParaInspector> ateParaInspector() const;
103 
111  virtual bool isEmpty() const;
112 
120  virtual ParagraphJustificationVector justification() const;
121 
129  virtual DoubleVector firstLineIndent() const;
130 
138  virtual DoubleVector startIndent() const;
139 
147  virtual DoubleVector endIndent() const;
148 
156  virtual DoubleVector spaceBefore() const;
157 
165  virtual DoubleVector spaceAfter() const;
166 
174  virtual BoolVector autoHyphenate() const;
175 
183  virtual IntVector hyphenatedWordSize() const;
184 
192  virtual IntVector preHyphenSize() const;
193 
201  virtual IntVector postHyphenSize() const;
202 
210  virtual IntVector consecutiveHyphenLimit() const;
211 
219  virtual DoubleVector hyphenationZone() const;
220 
228  virtual BoolVector hyphenateCapitalized() const;
229 
237  virtual DoubleVector hyphenationPreference() const;
238 
246  virtual DoubleVector desiredWordSpacing() const;
247 
255  virtual DoubleVector minWordSpacing() const;
256 
264  virtual DoubleVector maxWordSpacing() const;
265 
273  virtual DoubleVector desiredLetterSpacing() const;
274 
282  virtual DoubleVector minLetterSpacing() const;
283 
291  virtual DoubleVector maxLetterSpacing() const;
292 
300  virtual DoubleVector desiredGlyphScaling() const;
301 
309  virtual DoubleVector minGlyphScaling() const;
310 
318  virtual DoubleVector maxGlyphScaling() const;
319 
327  virtual ParagraphJustificationVector singleWordJustification() const;
328 
336  virtual DoubleVector autoLeadingPercentage() const;
337 
345  virtual LeadingTypeVector leadingType() const;
346 
354  virtual DoubleVector defaultTabWidth() const;
355 
363  virtual BoolVector everyLineComposer() const;
364 
372  virtual ComposerEngineVector composerEngine() const;
373 
374 
375  private:
376  friend plugin::TextParaInspector* __accessImpl(const TextParaInspector&);
377  friend TextParaInspector __accessCtor(const plugin::TextParaInspector&);
378 
382  plugin::TextParaInspector* __impl;
383 
389  TextParaInspector(const plugin::TextParaInspector&);
390  };
391 
392  typedef std::auto_ptr<TextParaInspector> TextParaInspectorAP;
393 
394  extern plugin::TextParaInspector* __accessImpl(const TextParaInspector&);
395  extern TextParaInspector __accessCtor(const plugin::TextParaInspector&);
396  }
397 }
398 
399 #endif
400 // __HDI_CORE_TEXT_PARA_INSPECTOR__
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
Definition: hdicoreaiArray.h:12
Allows for easy inspection of Illustrator text characters.
Definition: hdicoreTextParaInspector.h:26