7#ifndef __HDI_CORE_TEXT_CHAR_STYLE__
8#define __HDI_CORE_TEXT_CHAR_STYLE__
10#if defined(HDI_CORE_AIP_MODE)
23 class TextCharFeatures;
111 virtual std::string
name()
const;
121 virtual bool setName(
const std::string& name_);
130 virtual std::unique_ptr<TextCharStyle>
parent()
const;
158 virtual std::unique_ptr<TextCharFeatures>
features()
const;
182 friend aip::TextCharStyle* __accessImpl(
const TextCharStyle&);
183 friend TextCharStyle __accessCtor(
const aip::TextCharStyle&);
188 aip::TextCharStyle* __impl;
198 typedef std::unique_ptr<TextCharStyle> TextCharStyleUP;
199 typedef std::shared_ptr<TextCharStyle> TextCharStyleSP;
200 typedef std::weak_ptr<TextCharStyle> TextCharStyleWP;
202 extern aip::TextCharStyle* __accessImpl(
const TextCharStyle&);
203 extern TextCharStyle __accessCtor(
const aip::TextCharStyle&);
Allows for easy manipulation of Illustrator text character features.
Definition: hdicoreTextCharFeatures.h:34
Definition: hdicoreTextCharStyle.h:26
TextCharStyle()
Creates a new TextCharStyle object.
virtual bool hasParent() const
Gets whether the target object has a parent.
virtual ~TextCharStyle()
Destructs a TextCharStyle object.
virtual void setFeatures(const TextCharFeatures &feat_)
Sets the features defined for the target style.
virtual TextCharStyle & operator=(const TextCharStyle &rhs_)
Overloaded assignment operator for TextCharStyle objects.
TextCharStyle(const TextCharStyle &cs_)
TextCharStyle copy constructor.
virtual bool operator!=(const TextCharStyle &rhs_) const
Tests whether a given TextCharStyle object is not the same as another.
virtual std::unique_ptr< TextCharStyle > parent() const
Gets the parent style of the target char style object.
virtual std::unique_ptr< TextCharFeatures > features() const
Gets the features defined for the target style.
virtual std::string name() const
Gets the name of the char style.
virtual bool isEmpty() const
Gets whether the target TextCharStyle object is empty.
virtual bool setName(const std::string &name_)
Sets the name of the char style.
virtual bool setParent(const TextCharStyle &parent_)
Sets the parent style of the target char style object.
virtual void replaceOrAddFeatures(const TextCharFeatures &feat_)
Replaces existing features in the target style, or adds them anew if they were not already present (v...
virtual std::unique_ptr< ATE::ICharStyle > ateCharStyle() const
Gets the ATE char style ref around which the target object is wrapped.
virtual bool operator==(const TextCharStyle &rhs_) const
Tests whether a given TextCharStyle object is the same as another.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.