InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ICHLFileNameTable.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Adobe Developer Technologies
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
24
#ifndef __ICHLFileNameTable__
25
#define __ICHLFileNameTable__
26
27
// Interface includes:
28
#include "IPMUnknown.h"
29
30
// General includes:
31
#include "LanguageID.h"
32
33
// Project includes:
34
#include "CHLID.h"
35
36
// Forward declarations:
37
class
PMString
;
38
class
ILanguage
;
39
40
#include "ICUForwardDeclare.h"
41
42
#include "unicode/uloc.h"
43
#include "unicode/ucol.h"
44
#include "unicode/coll.h"
45
49
struct
CHLFileNameData
50
{
53
typedef
object_type
data_type
;
54
58
LanguageID
fLanguageID
;
59
61
PMString
fLanguageName
;
62
64
PMString
fPrimaryLanguageName
;
65
67
PMString
fSubLanguageName
;
68
70
PMString
fCoreFileName
;
71
73
PMString
fHyphFileName
;
74
76
PMString
fThesaurusFileName
;
77
79
PMString
fDefaultUserDictFileName
;
80
82
U_ICU_NAMESPACE::Locale
fICULocale
;
83
88
inline
bool16
operator==
(
const
CHLFileNameData
& rData)
const
;
89
};
90
91
/* operator ==
92
*/
93
inline
bool16
CHLFileNameData::operator==
(
const
CHLFileNameData
& rData)
const
94
{
95
return
fLanguageID
== rData.
fLanguageID
&&
96
fPrimaryLanguageName
== rData.
fPrimaryLanguageName
&&
97
fSubLanguageName
== rData.
fSubLanguageName
&&
98
fCoreFileName
== rData.
fCoreFileName
&&
99
fHyphFileName
== rData.
fHyphFileName
&&
100
fThesaurusFileName
== rData.
fThesaurusFileName
&&
101
fDefaultUserDictFileName
== rData.
fDefaultUserDictFileName
&&
102
fICULocale
== rData.
fICULocale
;
103
}
104
105
112
class
ICHLFileNameTable
:
public
IPMUnknown
113
{
114
public
:
115
116
enum
{ kDefaultIID = IID_ICHLFILENAMETABLE };
117
123
virtual
void
Install
(
const
PMString
& rPath) = 0;
124
128
virtual
int32
GetEntriesCount
()
const
= 0;
129
134
virtual
const
CHLFileNameData
*
GetNthEntry
(int32 nIndex)
const
= 0;
135
140
virtual
bool16
IsSpellingService
(int32 nIndex)
const
= 0;
141
146
virtual
bool16
IsHyphenationService
(int32 nIndex)
const
= 0;
147
152
virtual
bool16
IsThesaurusService
(int32 nIndex)
const
= 0;
153
};
154
155
#endif //#ifndef __ICHLFileNameTable__
156
157
158
// End, ICHLFileNameTable.h.
159
tmpdoxygeninput
ICHLFileNameTable.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1