Hot Door CORE 0.8.4
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreTextParaInspector.h
Go to the documentation of this file.
1
6
7#ifndef __HDI_CORE_TEXT_PARA_INSPECTOR__
8#define __HDI_CORE_TEXT_PARA_INSPECTOR__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include <vector>
13
14#include "hdicoreTypes.h"
15
16namespace hdi
17{
18 namespace aip
19 {
20 class TextParaInspector;
21 }
22
23 namespace core
24 {
29 {
30 public:
31 typedef std::vector<bool> BoolVector;
32 typedef std::vector<double> DoubleVector;
33 typedef std::vector<int32_t> IntVector;
34
35 typedef std::vector<ComposerEngine> ComposerEngineVector;
36 typedef std::vector<LeadingType> LeadingTypeVector;
37 typedef std::vector<ParagraphJustification> ParagraphJustificationVector;
38
49
58
65
75
84 virtual bool operator==(const TextParaInspector& rhs_) const;
85
94 virtual bool operator!=(const TextParaInspector& rhs_) const;
95
107 virtual std::unique_ptr<ATE::IParaInspector> ateParaInspector() const;
108
116 virtual bool isEmpty() const;
117
125 virtual ParagraphJustificationVector justification() const;
126
134 virtual DoubleVector firstLineIndent() const;
135
143 virtual DoubleVector startIndent() const;
144
152 virtual DoubleVector endIndent() const;
153
161 virtual DoubleVector spaceBefore() const;
162
170 virtual DoubleVector spaceAfter() const;
171
179 virtual BoolVector autoHyphenate() const;
180
188 virtual IntVector hyphenatedWordSize() const;
189
197 virtual IntVector preHyphenSize() const;
198
206 virtual IntVector postHyphenSize() const;
207
215 virtual IntVector consecutiveHyphenLimit() const;
216
224 virtual DoubleVector hyphenationZone() const;
225
233 virtual BoolVector hyphenateCapitalized() const;
234
242 virtual DoubleVector hyphenationPreference() const;
243
251 virtual DoubleVector desiredWordSpacing() const;
252
260 virtual DoubleVector minWordSpacing() const;
261
269 virtual DoubleVector maxWordSpacing() const;
270
278 virtual DoubleVector desiredLetterSpacing() const;
279
287 virtual DoubleVector minLetterSpacing() const;
288
296 virtual DoubleVector maxLetterSpacing() const;
297
305 virtual DoubleVector desiredGlyphScaling() const;
306
314 virtual DoubleVector minGlyphScaling() const;
315
323 virtual DoubleVector maxGlyphScaling() const;
324
332 virtual ParagraphJustificationVector singleWordJustification() const;
333
341 virtual DoubleVector autoLeadingPercentage() const;
342
350 virtual LeadingTypeVector leadingType() const;
351
359 virtual DoubleVector defaultTabWidth() const;
360
368 virtual BoolVector everyLineComposer() const;
369
377 virtual ComposerEngineVector composerEngine() const;
378
379
380 private:
381 friend aip::TextParaInspector* __accessImpl(const TextParaInspector&);
382 friend TextParaInspector __accessCtor(const aip::TextParaInspector&);
383
387 aip::TextParaInspector* __impl;
388
394 TextParaInspector(const aip::TextParaInspector&);
395 };
396
397 typedef std::unique_ptr<TextParaInspector> TextParaInspectorUP;
398 typedef std::shared_ptr<TextParaInspector> TextParaInspectorSP;
399 typedef std::weak_ptr<TextParaInspector> TextParaInspectorWP;
400
401 extern aip::TextParaInspector* __accessImpl(const TextParaInspector&);
402 extern TextParaInspector __accessCtor(const aip::TextParaInspector&);
403 }
404}
405
406#endif
407// HDI_CORE_AIP_MODE
408
409#endif
410// __HDI_CORE_TEXT_PARA_INSPECTOR__
Allows for easy inspection of Illustrator text characters.
Definition hdicoreTextParaInspector.h:29
virtual IntVector preHyphenSize() const
Retrieves the pre-hyphen size 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 maxGlyphScaling() const
Retrieves the max glyph scaling values from the paragraph set.
virtual DoubleVector desiredLetterSpacing() const
Retrieves the desired letter spacing values from the paragraph set.
virtual std::unique_ptr< ATE::IParaInspector > ateParaInspector() const
Gets the ATE char inspector ref around which the target object is wrapped.
virtual ~TextParaInspector()
Destructs a TextParaInspector object.
virtual TextParaInspector & operator=(const TextParaInspector &rhs_)
Overloaded assignment operator for TextParaInspector objects.
virtual DoubleVector desiredWordSpacing() const
Retrieves the desired word spacing values from the paragraph set.
TextParaInspector(const TextParaInspector &pi_)
TextParaInspector copy constructor.
virtual DoubleVector firstLineIndent() const
Retrieves the first-line indent values from the paragraph set.
virtual IntVector hyphenatedWordSize() const
Retrieves the hyphenated word size values from the paragraph set.
virtual DoubleVector minGlyphScaling() const
Retrieves the min glyph scaling values from the paragraph set.
virtual BoolVector hyphenateCapitalized() const
Retrieves the hyphenate capitalized settings from the paragraph set.
virtual DoubleVector spaceBefore() const
Retrieves the space-before values from the paragraph set.
virtual bool isEmpty() const
Gets whether the target TextParaInspector object is empty.
virtual IntVector postHyphenSize() const
Retrieves the post-hyphen size values from the paragraph set.
virtual ComposerEngineVector composerEngine() const
Retrieves the composer engine values from the paragraph set.
virtual DoubleVector minWordSpacing() const
Retrieves the min word spacing values from the paragraph set.
virtual DoubleVector endIndent() const
Retrieves the end-indent values from the paragraph set.
virtual DoubleVector minLetterSpacing() const
Retrieves the min letter spacing values from the paragraph set.
virtual ParagraphJustificationVector singleWordJustification() const
Retrieves the single-word justification values from the paragraph set.
virtual DoubleVector hyphenationZone() const
Retrieves the hyphenation zone values from the paragraph set.
virtual DoubleVector autoLeadingPercentage() const
Retrieves the auto-leading percentage values from the paragraph set.
virtual DoubleVector hyphenationPreference() const
Retrieves the hyphenation pref values from the paragraph set.
virtual LeadingTypeVector leadingType() const
Retrieves the leading types from the paragraph set.
virtual DoubleVector startIndent() const
Retrieves the start-indent values from the paragraph set.
TextParaInspector()
Creates a new TextParaInspector object.
virtual DoubleVector desiredGlyphScaling() const
Retrieves the desired glyph scaling values from the paragraph set.
virtual DoubleVector spaceAfter() const
Retrieves the space-after values from the paragraph set.
virtual DoubleVector maxWordSpacing() const
Retrieves the max word spacing values from the paragraph set.
virtual DoubleVector defaultTabWidth() const
Retrieves the default tab width values from the paragraph set.
virtual BoolVector autoHyphenate() const
Retrieves the auto-hyphenate values from the paragraph set.
virtual BoolVector everyLineComposer() const
Retrieves the every-line composer values from the paragraph set.
virtual DoubleVector maxLetterSpacing() const
Retrieves the max letter spacing values from the paragraph set.
virtual IntVector consecutiveHyphenLimit() const
Retrieves the consecutive hyphen limit values from the paragraph set.
virtual ParagraphJustificationVector justification() const
Retrieves the justification values from the paragraph set.
virtual bool operator!=(const TextParaInspector &rhs_) const
Tests whether a given TextParaInspector object is not the same as another.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.