InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ILocalFontManager.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: ???
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 __ILocalFontManager__
25
#define __ILocalFontManager__
26
27
28
#include "IFontMgr.h"
29
30
31
//----------------------------------------------------------------------------------------
32
// Interface ILocalFontManager
33
//----------------------------------------------------------------------------------------
34
51
class
DocumentFontGroupIteratorCallBack
;
52
53
54
class
ILocalFontManager
:
public
IFontMgr
55
{
56
public
:
63
virtual
64
bool
65
IsDocumentInstalledFont
(
IPMFont
*font)
const
66
= 0;
67
68
78
virtual
79
IPMFont
*
80
QueryDocumentFont
(
PMString
const
&family,
PMString
const
&face)
81
= 0;
82
89
virtual
90
int32
91
GetNumDocumentFontGroups
()
const
92
= 0;
93
101
virtual
102
IFontGroup
*
103
QueryDocumentFontGroup
(int32 groupIndex)
104
= 0;
105
115
virtual
116
IFontGroup
*
117
QueryDocumentFontGroup
(
PMString
const
&groupName)
118
= 0;
119
125
virtual
126
void
127
IterateDocumentFontGroups
(
DocumentFontGroupIteratorCallBack
*callBack)
128
= 0;
129
};
130
131
132
//----------------------------------------------------------------------------------------
133
// Class DocumentFontGroupIteratorCallBack
134
//----------------------------------------------------------------------------------------
135
140
class
DocumentFontGroupIteratorCallBack
141
{
142
public
:
147
virtual
148
void
149
OnStart
()
150
= 0;
151
155
virtual
156
void
157
OnEnd
()
158
= 0;
159
163
virtual
164
void
165
OnPreiteration
()
166
= 0;
167
173
virtual
174
void
175
OnFontGroupStart
(
IFontGroup
*fontGroup)
176
= 0;
177
186
virtual
187
void
188
OnFont
(
IPMFont
*pFont,
IFontGroup
*fontGroup,
PMString
const
&displayFamilyName,
PMString
const
&displayStyleName)
189
= 0;
190
196
virtual
197
void
198
OnFontGroupEnd
(
IFontGroup
*fontGroup)
199
= 0;
200
204
virtual
205
void
206
OnPostiteration
()
207
= 0;
208
214
virtual
215
bool16
216
RunFamilyOnly
()
const
217
= 0;
218
224
virtual
225
int16
226
GetNamesFlag
()
const
227
= 0;
228
235
virtual
236
bool16
237
SkipThisFont
(
IPMFont
*font)
const
238
= 0;
239
247
virtual
248
void
249
OnMMAxes
(
IPMFont
*pFont,
const
Fixed *sourceAxes, int32 numAxes)
250
= 0;
251
};
252
253
254
#endif
tmpdoxygeninput
ILocalFontManager.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1