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

Public Types | |
| enum | { kDefaultIID = IID_INUMBERCONVERTER } |
Public Member Functions | |
| void | GetStyleName (PMString &styleName) const |
| void | GetStyleNameBase (PMString &styleName) const |
| virtual bool16 | IncludeStyleChoiceInUI () const =0 |
| void | Convert (const int32 &number, PMString &numString) const |
| virtual void | GetNumberingStyleName (PMString &styleName) const =0 |
| virtual void | NumberToString (int32 number, PMString &numString) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
IServiceConverter for type int32 (number converter)
| inline |
| pure virtual |
Returns the name of the style to be used in the UI (e.g. "1, 2, 3, 4...", "a, b, c, d..." etc.)
| OUT | styleName stores the returned name of the style. |
| inline |
| inline |
| pure virtual |
Returns whether this style can be included in the UI or not. This can be used to exclude locale-specific string styles from the UI, but to still have the conversion service available to draw if the user opens a document that was created in a different locale.
| pure virtual |
Returns the string representation of the input number in the style implemented by this number converter.
| IN | number specifies the number to be converted |
| OUT | pNumString stores the string representation of the number. |