InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IDateConverter.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Anurag Wahi
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// The IDateConverter interface allows installable numbering styles. The styles may be
24
// aggregated on different services such as the page numbering service, the paragraph
25
// numbering service etc., which would allow each type of numbering to support different
26
// subsets of numbering styles.
27
// Given a number, this interface will convert that number into a string that will
28
// be used to display the number in the document. The earlier IPageDateConverter interface
29
// could implement multiple styles, but this interface implements only a single style.
30
//
31
//========================================================================================
32
33
#ifndef __IDATECONVERTER__
34
#define __IDATECONVERTER__
35
36
#include "IPMUnknown.h"
37
#include "SectionID.h"
38
39
class
PMString
;
40
class
GlobalTime
;
41
44
class
IDateConverter
:
public
IPMUnknown
45
{
46
public
:
47
enum
{ kDefaultIID = IID_IDATECONVERTER };
48
53
virtual
void
GetStyleName
(
PMString
&styleName)
const
= 0;
54
58
void
GetStyleNameBase
(
PMString
&styleName)
const
59
{
return
GetStyleName
(styleName); }
60
67
virtual
bool16
IncludeStyleChoiceInUI
()
const
= 0;
68
75
virtual
void
Convert
(
const
GlobalTime
& datetime,
PMString
&output)
const
= 0;
76
};
77
78
79
#endif // __IDATECONVERTER__
tmpdoxygeninput
IDateConverter.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1