Hot Door CORE  0.7.1
Adobe® Illustrator® Plug-in Library
hdicoreTextParaFeatures.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_TEXT_PARA_FEATURES__
8 #define __HDI_CORE_TEXT_PARA_FEATURES__
9 
10 #include "hdicoreTypes.h"
11 
12 namespace hdi
13 {
14  namespace plugin
15  {
16  class TextParaFeatures;
17  }
18 
19  namespace core
20  {
21  class TextCharFeatures;
22  class TextTabStopSet;
23 
28  {
29  public:
40 
49 
55  virtual ~TextParaFeatures();
56 
62  virtual TextParaFeatures& operator=(const TextParaFeatures& rhs_);
63 
72  virtual bool operator==(const TextParaFeatures& rhs_) const;
73 
82  virtual bool operator!=(const TextParaFeatures& rhs_) const;
83 
95  virtual std::auto_ptr<ATE::IParaFeatures> ateParaFeatures() const;
96 
104  virtual bool isEmpty() const;
105 
113  virtual std::auto_ptr<TextParaFeatures> duplicate() const;
114 
123  virtual bool justification(ParagraphJustification& just__) const;
124 
133  virtual bool firstLineIndent(double& indent__) const;
134 
143  virtual bool startIndent(double& indent__) const;
144 
153  virtual bool endIndent(double& indent__) const;
154 
163  virtual bool spaceBefore(double& space__) const;
164 
173  virtual bool spaceAfter(double& space__) const;
174 
184  virtual bool autoHyphenate(bool& hyphen__) const;
185 
194  virtual bool hyphenatedWordSize(int32_t& size__) const;
195 
204  virtual bool preHyphenSize(int32_t& size__) const;
205 
214  virtual bool postHyphenSize(int32_t& size__) const;
215 
224  virtual bool consecutiveHyphenLimit(int32_t& limit__) const;
225 
234  virtual bool hyphenationZone(double& zone__) const;
235 
245  virtual bool hyphenateCapitalized(bool& cap__) const;
246 
255  virtual bool hyphenationPreference(double& pref__) const;
256 
265  virtual bool desiredWordSpacing(double& space__) const;
266 
275  virtual bool minWordSpacing(double& space__) const;
276 
285  virtual bool maxWordSpacing(double& space__) const;
286 
295  virtual bool desiredLetterSpacing(double& space__) const;
296 
305  virtual bool minLetterSpacing(double& space__) const;
306 
315  virtual bool maxLetterSpacing(double& space__) const;
316 
325  virtual bool desiredGlyphScaling(double& scale__) const;
326 
335  virtual bool minGlyphScaling(double& scale__) const;
336 
345  virtual bool maxGlyphScaling(double& scale__) const;
346 
355  virtual bool singleWordJustification(ParagraphJustification& just__) const;
356 
366  virtual bool autoLeadingPercentage(double& perc__) const;
367 
376  virtual bool leadingType(LeadingType& type__) const;
377 
386  virtual bool tabStops(TextTabStopSet& stops__) const;
387 
396  virtual bool defaultTabWidth(double& width__) const;
397 
406  virtual bool everyLineComposer(bool& comp__) const;
407 
416  virtual bool defaultCharFeatures(TextCharFeatures& feat__) const;
417 
426  virtual bool composerEngine(ComposerEngine& engine__) const;
427 
435  virtual void setJustification(const ParagraphJustification just_);
436 
444  virtual void setFirstLineIndent(const double indent_);
445 
453  virtual void setStartIndent(const double indent_);
454 
462  virtual void setEndIndent(const double indent_);
463 
471  virtual void setSpaceBefore(const double space_);
472 
480  virtual void setSpaceAfter(const double space_);
481 
489  virtual void setAutoHyphenate(const bool hyphen_);
490 
498  virtual void setHyphenatedWordSize(const int32_t size_);
499 
507  virtual void setPreHyphenSize(const int32_t size_);
508 
516  virtual void setPostHyphenSize(const int32_t size_);
517 
525  virtual void setConsecutiveHyphenLimit(const int32_t limit_);
526 
534  virtual void setHyphenationZone(const double zone_);
535 
543  virtual void setHyphenateCapitalized(const bool cap_);
544 
552  virtual void setHyphenationPreference(const double pref_);
553 
561  virtual void setDesiredWordSpacing(const double space_);
562 
570  virtual void setMinWordSpacing(const double space_);
571 
579  virtual void setMaxWordSpacing(const double space_);
580 
588  virtual void setDesiredLetterSpacing(const double space_);
589 
597  virtual void setMinLetterSpacing(const double space_);
598 
606  virtual void setMaxLetterSpacing(const double space_);
607 
615  virtual void setDesiredGlyphScaling(const double scale_);
616 
624  virtual void setMinGlyphScaling(const double scale_);
625 
633  virtual void setMaxGlyphScaling(const double scale_);
634 
642  virtual void setSingleWordJustification(const ParagraphJustification just_);
643 
651  virtual void setAutoLeadingPercentage(const double perc_);
652 
660  virtual void setLeadingType(const LeadingType type_);
661 
669  virtual void setTabStops(const TextTabStopSet& stops_);
670 
678  virtual void setDefaultTabWidth(const double width_);
679 
687  virtual void setEveryLineComposer(const bool comp_);
688 
696  virtual void setDefaultCharFeatures(const TextCharFeatures& feat_);
697 
705  virtual void setComposerEngine(const ComposerEngine engine_);
706 
712  virtual void clearJustification();
713 
719  virtual void clearFirstLineIndent();
720 
726  virtual void clearStartIndent();
727 
733  virtual void clearEndIndent();
734 
740  virtual void clearSpaceBefore();
741 
747  virtual void clearSpaceAfter();
748 
754  virtual void clearAutoHyphenate();
755 
761  virtual void clearHyphenatedWordSize();
762 
768  virtual void clearPreHyphenSize();
769 
775  virtual void clearPostHyphenSize();
776 
782  virtual void clearConsecutiveHyphenLimit();
783 
789  virtual void clearHyphenationZone();
790 
796  virtual void clearHyphenateCapitalized();
797 
803  virtual void clearHyphenationPreference();
804 
810  virtual void clearWordSpacing();
811 
817  virtual void clearLetterSpacing();
818 
824  virtual void clearGlyphScaling();
825 
831  virtual void clearSingleWordJustification();
832 
838  virtual void clearAutoLeadingPercentage();
839 
845  virtual void clearLeadingType();
846 
852  virtual void clearTabStops();
853 
859  virtual void clearEveryLineComposer();
860 
866  virtual void clearDefaultCharFeatures();
867 
873  virtual void clearComposerEngine();
874 
875 
876  private:
877  friend plugin::TextParaFeatures* __accessImpl(const TextParaFeatures&);
878  friend TextParaFeatures __accessCtor(const plugin::TextParaFeatures&);
879 
883  plugin::TextParaFeatures* __impl;
884 
890  TextParaFeatures(const plugin::TextParaFeatures&);
891  };
892 
893  typedef std::auto_ptr<TextParaFeatures> TextParaFeaturesAP;
894 
895  extern plugin::TextParaFeatures* __accessImpl(const TextParaFeatures&);
896  extern TextParaFeatures __accessCtor(const plugin::TextParaFeatures&);
897  }
898 }
899 
900 #endif
901 // __HDI_CORE_TEXT_PARA_FEATURES__
Definition: hdicoreTextTabStopSet.h:23
Allows for easy manipulation of Illustrator text character features.
Definition: hdicoreTextCharFeatures.h:31
ParagraphJustification
Indicates how text should be justified for a text art object.
Definition: hdicoreTypes.h:367
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
LeadingType
Indicates the leading of some text.
Definition: hdicoreTypes.h:392
Allows for easy manipulation of Illustrator text paragraph features.
Definition: hdicoreTextParaFeatures.h:27
Definition: hdicoreaiArray.h:12
ComposerEngine
Indicates the composer engine of some text.
Definition: hdicoreTypes.h:402