#include <IDateConverter.h>
|
| enum | { kDefaultIID = IID_IDATECONVERTER } |
| |
IServiceConverter for type GlobalTime (dates & times)
| virtual void IDateConverter::Convert | ( | const GlobalTime & | datetime, | | | PMString & | output | | ) | | const |
| pure virtual |
Converts the input time into an output string.
- Parameters
| IN | datetime specifies the datetime to be converted |
| INOUT | on input it's the specification for the date (e.g. m/d/y), on output stores the string representation of the date (e.g. 4/21/77). |
| virtual void IDateConverter::GetStyleName | ( | PMString & | styleName | ) | const |
| pure virtual |
Returns the name of the style to be used in the UI
- Parameters
| OUT | styleName stores the returned name of the style. |
| void IDateConverter::GetStyleNameBase | ( | PMString & | styleName | ) | const |
| inline |
| virtual bool16 IDateConverter::IncludeStyleChoiceInUI | ( | | ) | const |
| 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.
- Returns
- kTrue if the style can be included in the UI, kFalse otherwise.