InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IGraphicStyleNameTable.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michael_Martz
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
// Interface Description:
24
//
25
// The graphic style name table interface manages a list of graphic styles
26
// for a workspace. It is the interface that makes the list persistent.
27
//
28
// The interface on the session workspace contains the defaults for new
29
// documents. The interface on document workspaces contain the graphic styles
30
// created for that document's use.
31
//
32
// Each name table has one special style, the "[No Style]" graphic style.
33
// This style has a legitamite UID.
34
//
35
//========================================================================================
36
37
#ifndef _IGRAPHIC_STYLE_NAMETABLE_
38
#define _IGRAPHIC_STYLE_NAMETABLE_
39
40
//________________________________________________________________________________________
41
// INCLUDES
42
//________________________________________________________________________________________
43
#include "IPMUnknown.h"
44
#include "UIDRef.h"
45
//________________________________________________________________________________________
46
// CLASS FORWARDS
47
//________________________________________________________________________________________
48
class
PMString
;
49
//========================================================================================
50
//________________________________________________________________________________________
51
// CLASS DECLARATIONS
52
//________________________________________________________________________________________
53
58
class
IGraphicStyleNameTable
:
public
IPMUnknown
59
{
60
//____________________________________________________________________________________
61
// Style Utilities
62
//____________________________________________________________________________________
63
public
:
68
virtual
UID
FindByName
(
const
PMString
& styleName)
const
= 0;
69
75
virtual
uint32
FindByUID
(
const
UID
& styleUID)
const
= 0;
76
79
virtual
uint32
GetStyleCount
(
void
)
const
= 0;
82
virtual
UID
GetNoStyleUID
(
void
)
const
= 0;
83
87
virtual
void
AddStyle
(
const
UID
& newStyleUID) = 0;
92
virtual
ErrorCode
AddNoStyle
(
const
UID
& noStyleUID) = 0;
96
virtual
void
RemoveStyle
(
const
UID
& styleUID) = 0;
97
102
virtual
UID
GetNthStyle
(uint32 index)
const
= 0;
103
};
104
105
#endif // _IGRAPHIC_STYLE_NAMETABLE_
tmpdoxygeninput
IGraphicStyleNameTable.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1