|  | Hot Door CORE 0.8.3
    Adobe® Illustrator® Plug-in Library | 
Allows access to and manipulation of Illustrator app preferences; can be used to store plugin preferences as well, but the core::Preferences class is recommended over this one. More...
#include <hdicoreaiPreferences.h>
| Public Member Functions | |
| bool | getBoolPref (const std::string &prefix_, const std::string &suffix_, bool &b__) const | 
| Gets a bool pref from the Illustrator prefs data tree. | |
| bool | setBoolPref (const std::string &prefix_, const std::string &suffix_, const bool b_) | 
| Sets a bool pref in the Illustrator prefs data tree. | |
| bool | getIntPref (const std::string &prefix_, const std::string &suffix_, int32_t &n__) const | 
| Gets an integer pref from the Illustrator prefs data tree. | |
| bool | setIntPref (const std::string &prefix_, const std::string &suffix_, const int32_t n_) | 
| Sets an integer pref in the Illustrator prefs data tree. | |
| bool | getFloatPref (const std::string &prefix_, const std::string &suffix_, double &n__) const | 
| Gets a floating-point pref from the Illustrator prefs data tree. | |
| bool | setFloatPref (const std::string &prefix_, const std::string &suffix_, const double n_) | 
| Sets a floating-point pref in the Illustrator prefs data tree. | |
| bool | getPointPref (const std::string &prefix_, const std::string &suffix_, Point &p__) const | 
| Gets a point pref from the Illustrator prefs data tree. | |
| bool | setPointPref (const std::string &prefix_, const std::string &suffix_, const Point &p_) | 
| Sets a point pref in the Illustrator prefs data tree. | |
| bool | getRectPref (const std::string &prefix_, const std::string &suffix_, Rect &r__) const | 
| Gets a rectangle pref from the Illustrator prefs data tree. | |
| bool | setRectPref (const std::string &prefix_, const std::string &suffix_, const Rect &r_) | 
| Sets a rectangle pref in the Illustrator prefs data tree. | |
| bool | getStringPref (const std::string &prefix_, const std::string &suffix_, std::string &str__) const | 
| Gets a string pref from the Illustrator prefs data tree. | |
| bool | setStringPref (const std::string &prefix_, const std::string &suffix_, const std::string &str_) | 
| Sets a string pref in the Illustrator prefs data tree. | |
| bool | prefExists (const std::string &prefix_, const std::string &suffix_) const | 
| Check if a preference from the Illustrator prefs data exists. | |
| bool | removePref (const std::string &prefix_, const std::string &suffix_) | 
| Removes a preference from the Illustrator prefs data tree. | |
| Friends | |
| class | core::Illustrator | 
Allows access to and manipulation of Illustrator app preferences; can be used to store plugin preferences as well, but the core::Preferences class is recommended over this one.
| bool hdi::core::ai::Preferences::getBoolPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| bool & | b__ | ||
| ) | const | 
Gets a bool pref from the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| b__ | Return-by-reference for the bool value | 
| bool hdi::core::ai::Preferences::getFloatPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| double & | n__ | ||
| ) | const | 
Gets a floating-point pref from the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| n__ | Return-by-reference for the float value | 
| bool hdi::core::ai::Preferences::getIntPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| int32_t & | n__ | ||
| ) | const | 
Gets an integer pref from the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| n__ | Return-by-reference for the integer value | 
| bool hdi::core::ai::Preferences::getPointPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| Point & | p__ | ||
| ) | const | 
Gets a point pref from the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| p__ | Return-by-reference for the point pref | 
| bool hdi::core::ai::Preferences::getRectPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| Rect & | r__ | ||
| ) | const | 
Gets a rectangle pref from the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| r__ | Return-by-reference for the rectangle pref | 
| bool hdi::core::ai::Preferences::getStringPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| std::string & | str__ | ||
| ) | const | 
Gets a string pref from the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| str__ | Return-by-reference for the string pref, as UTF-8 | 
| bool hdi::core::ai::Preferences::prefExists | ( | const std::string & | prefix_, | 
| const std::string & | suffix_ | ||
| ) | const | 
Check if a preference from the Illustrator prefs data exists.
| prefix_ | Typically the name of the plug-in, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| bool hdi::core::ai::Preferences::removePref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_ | ||
| ) | 
Removes a preference from the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| bool hdi::core::ai::Preferences::setBoolPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| const bool | b_ | ||
| ) | 
Sets a bool pref in the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| b_ | bool value to set | 
| bool hdi::core::ai::Preferences::setFloatPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| const double | n_ | ||
| ) | 
Sets a floating-point pref in the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| n_ | Float value to set | 
| bool hdi::core::ai::Preferences::setIntPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| const int32_t | n_ | ||
| ) | 
Sets an integer pref in the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| n_ | Integer value to set | 
| bool hdi::core::ai::Preferences::setPointPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| const Point & | p_ | ||
| ) | 
Sets a point pref in the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| p_ | Point pref to set | 
| bool hdi::core::ai::Preferences::setRectPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| const Rect & | r_ | ||
| ) | 
Sets a rectangle pref in the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| r_ | Rectangle pref to set | 
| bool hdi::core::ai::Preferences::setStringPref | ( | const std::string & | prefix_, | 
| const std::string & | suffix_, | ||
| const std::string & | str_ | ||
| ) | 
Sets a string pref in the Illustrator prefs data tree.
| prefix_ | Typically the name of the plug-in, or "" for an application preference, as UTF-8 | 
| suffix_ | The name of the preference, as UTF-8 | 
| str_ | String pref to set, as UTF-8 |