Hot Door CORE  0.7.0
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__
virtual IntVector preHyphenSize() const
Retrieves the pre-hyphen size values from the paragraph set.
virtual LeadingTypeVector leadingType() const
Retrieves the leading types from the paragraph set.
virtual DoubleVector maxGlyphScaling() const
Retrieves the max glyph scaling values from the paragraph set.
virtual DoubleVector firstLineIndent() const
Retrieves the first-line indent values from the paragraph set.
virtual DoubleVector defaultTabWidth() const
Retrieves the default tab width values from the paragraph set.
virtual DoubleVector startIndent() const
Retrieves the start-indent values from the paragraph set.
virtual DoubleVector endIndent() const
Retrieves the end-indent values from the paragraph set.
virtual bool operator==(const TextParaInspector &rhs_) const
Tests whether a given TextParaInspector object is the same as another.
virtual DoubleVector autoLeadingPercentage() const
Retrieves the auto-leading percentage values from the paragraph set.
virtual DoubleVector desiredGlyphScaling() const
Retrieves the desired glyph scaling values from the paragraph set.
virtual DoubleVector maxLetterSpacing() const
Retrieves the max letter spacing values from the paragraph set.
virtual DoubleVector desiredWordSpacing() const
Retrieves the desired word spacing values from the paragraph set.
virtual ComposerEngineVector composerEngine() const
Retrieves the composer engine values from the paragraph set.
virtual bool isEmpty() const
Gets whether the target TextParaInspector object is empty.
virtual DoubleVector minGlyphScaling() const
Retrieves the min glyph scaling values from the paragraph set.
virtual DoubleVector minLetterSpacing() const
Retrieves the min letter spacing values from the paragraph set.
virtual BoolVector autoHyphenate() const
Retrieves the auto-hyphenate values from the paragraph set.
virtual IntVector hyphenatedWordSize() const
Retrieves the hyphenated word size values from the paragraph set.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
virtual DoubleVector hyphenationZone() const
Retrieves the hyphenation zone values from the paragraph set.
virtual ParagraphJustificationVector singleWordJustification() const
Retrieves the single-word justification values from the paragraph set.
virtual IntVector consecutiveHyphenLimit() const
Retrieves the consecutive hyphen limit values from the paragraph set.
virtual BoolVector hyphenateCapitalized() const
Retrieves the hyphenate capitalized settings from the paragraph set.
virtual ~TextParaInspector()
Destructs a TextParaInspector object.
virtual DoubleVector desiredLetterSpacing() const
Retrieves the desired letter spacing values from the paragraph set.
virtual DoubleVector maxWordSpacing() const
Retrieves the max word spacing values from the paragraph set.
Definition: hdicoreaiArray.h:12
virtual IntVector postHyphenSize() const
Retrieves the post-hyphen size values from the paragraph set.
virtual DoubleVector hyphenationPreference() const
Retrieves the hyphenation pref values from the paragraph set.
Allows for easy inspection of Illustrator text characters.
Definition: hdicoreTextParaInspector.h:26
virtual bool operator!=(const TextParaInspector &rhs_) const
Tests whether a given TextParaInspector object is not the same as another.
virtual DoubleVector minWordSpacing() const
Retrieves the min word spacing values from the paragraph set.
virtual TextParaInspector & operator=(const TextParaInspector &rhs_)
Overloaded assignment operator for TextParaInspector objects.
virtual std::auto_ptr< ATE::IParaInspector > ateParaInspector() const
Gets the ATE char inspector ref around which the target object is wrapped.
virtual BoolVector everyLineComposer() const
Retrieves the every-line composer values from the paragraph set.
virtual DoubleVector spaceBefore() const
Retrieves the space-before values from the paragraph set.
virtual DoubleVector spaceAfter() const
Retrieves the space-after values from the paragraph set.
TextParaInspector()
Creates a new TextParaInspector object.
virtual ParagraphJustificationVector justification() const
Retrieves the justification values from the paragraph set.