![]() | InDesign SDK 20.5 |
#include <IDataStringUtils.h>

Public Types | |
| enum | { kDefaultIID = IID_IDATASTRINGUTILS } |
Public Member Functions | |
| virtual int32 | StringToInt32 (const WideString &source)=0 |
| virtual void | Int32ToString (int32 intValue, WideString *target)=0 |
| virtual int16 | StringToInt16 (const WideString &source)=0 |
| virtual void | Int16ToString (int16 intValue, WideString *target)=0 |
| virtual bool16 | StringToBool16 (const WideString &source)=0 |
| virtual void | Bool16ToString (bool16 boolValue, WideString *target)=0 |
| virtual PMReal | StringToPMReal (const WideString &source)=0 |
| PMReal | StringToPMReal (const UTF16TextChar *source) |
| virtual void | PMRealToString (const PMReal &realValue, WideString *target)=0 |
| virtual PMReal | StringToPMReal (const WideString &source, int32 precision)=0 |
| PMReal | StringToPMReal (const UTF16TextChar *source, int32 precision) |
| virtual void | PMRealToString (const PMReal &realValue, WideString *target, int32 precision)=0 |
| virtual PMPoint | StringToPMPoint (const WideString &source)=0 |
| virtual void | PMPointToString (const PMPoint &pointVal, WideString *target)=0 |
| virtual PMPoint | StringToPMPoint (const WideString &source, int32 precision)=0 |
| virtual void | PMPointToString (const PMPoint &pointVal, WideString *target, int32 precision)=0 |
| virtual PMRect | StringToPMRect (const WideString &source)=0 |
| virtual void | PMRectToString (const PMRect &rectVal, WideString *target)=0 |
| virtual PMRect | StringToPMRect (const WideString &source, int32 precision)=0 |
| virtual void | PMRectToString (const PMRect &rectVal, WideString *target, int32 precision)=0 |
| virtual void | PMRealToStringWithFixedPrecision (const PMReal &realValue, WideString *target, int32 precision)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
A utility class for converting between WideStrings and a variety of values, used primarily by the old InCopy incd file format methods. Developers should not use these methods unless they are implementing their own incd file format extensions. All implementations currently copy to/from std::string and stream the values in and out.
| pure virtual |
Bool16ToString converts a bool16 into a string
| boolValue | - The boolean value |
| target | - The string to convert into. |
| pure virtual |
Int16ToString converts a short integer into a string.
| intValue | - The short integer to write to the string. |
| target | - The string to hold the converted integer. |
| pure virtual |
Int32ToString converts an integer into a string
| intValue | - The value to convert to a string. |
| target | - The string containing the aforementioned integer value. |
| pure virtual |
| pure virtual |
PMPointToString converts a PMPoint into a scientific notation based string.
| pointVal | - The point to convert. |
| target | - The string to convert into. |
| precision | - The number of digits of precision desired. |
| pure virtual |
| pure virtual |
PMRealToString converts a PMReal into a real number in scientific notation.
| realValue | - The PMReal to convert to a string. |
| target | - The WideString to copy into. |
| precision | - The number of digits of precision desired. |
| pure virtual |
PMRealToString converts a PMReal into a real number in scientific notation.
| realValue | - The PMReal to convert to a string. |
| target | - The WideString to copy into. |
| precision | - The number of digits of precision desired. |
| pure virtual |
PMRectToString converts a PMRect into a hexidecimal string.
| rectVal | - The rectangle to convert. |
| target | - The string to convert into. |
| pure virtual |
PMRectToString converts a PMRect into a hexidecimal based string.
| rectVal | - The rectangle to convert. |
| target | - The string to convert into. |
| precision | - The number of digits of precision desired. |
| pure virtual |
StringToBool16 converts a string into a bool16.
| source | - The string to convert. |
| pure virtual |
StringToInt16 converts a string to a short integer.
| source | - The string containing an integer value. |
| pure virtual |
StringToInt32 converts a string to an integer.
| source | - The string containing an integer value. |
| pure virtual |
StringToPMPoint converts an alpha numeric hexadecimal value string to a PMPoint .
| source | - The WideString to convert. |
| pure virtual |
StringToPMPoint converts a scientific notation format string into a PMPoint.
| source | - The WideString to convert. |
| precision | - The number of digits of precision desired. |
| pure virtual |
StringToPMReal converts a hex string to a PMReal.
| source | - The string as a WideString. |
| inline |
| pure virtual |
StringToPMReal converts a scientific notation string to a PMReal.
| source | - The WideString to convert. |
| precision | - The number of digits of precision desired. |
| inline |
| pure virtual |
| pure virtual |