Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
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#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
72
81 virtual bool operator==(const TextParaInspector& rhs_) const;
82
91 virtual bool operator!=(const TextParaInspector& rhs_) const;
92
104 virtual std::unique_ptr<ATE::IParaInspector> ateParaInspector() const;
105
113 virtual bool isEmpty() const;
114
122 virtual ParagraphJustificationVector justification() const;
123
131 virtual DoubleVector firstLineIndent() const;
132
140 virtual DoubleVector startIndent() const;
141
149 virtual DoubleVector endIndent() const;
150
158 virtual DoubleVector spaceBefore() const;
159
167 virtual DoubleVector spaceAfter() const;
168
176 virtual BoolVector autoHyphenate() const;
177
185 virtual IntVector hyphenatedWordSize() const;
186
194 virtual IntVector preHyphenSize() const;
195
203 virtual IntVector postHyphenSize() const;
204
212 virtual IntVector consecutiveHyphenLimit() const;
213
221 virtual DoubleVector hyphenationZone() const;
222
230 virtual BoolVector hyphenateCapitalized() const;
231
239 virtual DoubleVector hyphenationPreference() const;
240
248 virtual DoubleVector desiredWordSpacing() const;
249
257 virtual DoubleVector minWordSpacing() const;
258
266 virtual DoubleVector maxWordSpacing() const;
267
275 virtual DoubleVector desiredLetterSpacing() const;
276
284 virtual DoubleVector minLetterSpacing() const;
285
293 virtual DoubleVector maxLetterSpacing() const;
294
302 virtual DoubleVector desiredGlyphScaling() const;
303
311 virtual DoubleVector minGlyphScaling() const;
312
320 virtual DoubleVector maxGlyphScaling() const;
321
329 virtual ParagraphJustificationVector singleWordJustification() const;
330
338 virtual DoubleVector autoLeadingPercentage() const;
339
347 virtual LeadingTypeVector leadingType() const;
348
356 virtual DoubleVector defaultTabWidth() const;
357
365 virtual BoolVector everyLineComposer() const;
366
374 virtual ComposerEngineVector composerEngine() const;
375
376
377 private:
378 friend aip::TextParaInspector* __accessImpl(const TextParaInspector&);
379 friend TextParaInspector __accessCtor(const aip::TextParaInspector&);
380
384 aip::TextParaInspector* __impl;
385
391 TextParaInspector(const aip::TextParaInspector&);
392 };
393
394 typedef std::unique_ptr<TextParaInspector> TextParaInspectorUP;
395 typedef std::shared_ptr<TextParaInspector> TextParaInspectorSP;
396 typedef std::weak_ptr<TextParaInspector> TextParaInspectorWP;
397
398 extern aip::TextParaInspector* __accessImpl(const TextParaInspector&);
399 extern TextParaInspector __accessCtor(const aip::TextParaInspector&);
400 }
401}
402
403#endif
404// HDI_CORE_AIP_MODE
405
406#endif
407// __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.