InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITOCStyleNameTable.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Yeming Liu
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
// Comments: This interface keeps track of the TOC styles on Session/Doc workspace.
24
// It is almost the same as IStyleNameTable except that it does not have
25
// IsBasedOn().
26
//
27
//========================================================================================
28
29
#ifndef __ITOCSTYLENAMETABLE__
30
#define __ITOCSTYLENAMETABLE__
31
32
#include "IPMUnknown.h"
33
#include "UIDRef.h"
34
#include "TOCID.h"
35
36
class
PMString
;
37
42
class
ITOCStyleNameTable
:
public
IPMUnknown
43
{
44
public
:
45
enum
{ kDefaultIID = IID_ITOCSTYLENAMETABLE };
46
51
virtual
const
int32
GetNumStyles
()
const
= 0;
52
57
virtual
const
UID
GetDefaultTOCStyleUID
()
const
= 0;
58
62
virtual
void
SetDefaultTOCStyleUID
(
UID
uid) = 0;
63
67
virtual
void
AddStyle
(
UID
style) = 0;
68
72
virtual
void
RemoveStyle
(
UID
style) = 0;
73
78
virtual
const
UID
GetNthStyle
(int32
id
)
const
= 0;
79
84
virtual
const
UID
FindByName
(
const
PMString
& name)
const
= 0;
85
90
virtual
void
GetNthStyleName
(int32 index,
PMString
*pName)
const
= 0;
91
96
virtual
int32
GetStyleIndexByName
(
PMString
& pName)
const
= 0;
97
104
virtual
PMString
GetUniqueStyleName
(
PMString
& baseName) = 0;
105
};
106
107
#endif // __ITOCSTYLENAMETABLE__
tmpdoxygeninput
ITOCStyleNameTable.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1