InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IBookContentMgr.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
24
#ifndef __IBOOKCONTENTMGR__
25
#define __IBOOKCONTENTMGR__
26
27
#include "K2Vector.h"
28
#include "KeyValuePair.h"
29
#include "BookID.h"
30
31
class
UIDList
;
32
class
IDFile
;
33
34
typedef
K2Vector<KeyValuePair<UID, IDFile>
>
BookContentUIDFileList
;
35
42
class
IBookContentMgr
:
public
IPMUnknown
43
{
44
public
:
45
enum
{ kDefaultIID = IID_IBOOKCONTENTMGR };
46
51
virtual
ErrorCode
AppendContents
(
UIDList
* list) = 0;
52
59
virtual
ErrorCode
InsertContents
(
UIDList
* list, int32 pos = -1) = 0;
60
64
virtual
void
RemoveContents
(
UIDList
* list) = 0;
65
70
virtual
UID
GetNthContent
(int32 n) = 0;
71
76
virtual
int32
GetContentIndex
(
UID
content) = 0;
77
82
virtual
int32
GetContentCount
() = 0;
83
88
virtual
UID
GetCurrentContent
() = 0;
89
93
virtual
void
SetCurrentContent
(
UID
current) = 0;
94
99
virtual
int32
GetCurrentContentIndex
() = 0;
100
106
virtual
UID
FindContentByName
(
const
IDFile
& whatFile, int32& location) = 0;
107
111
virtual
void
Clear
() = 0;
112
117
virtual
void
UpdateBookContentFileList
(
const
UID
& content,
const
IDFile
& docFile) = 0;
118
};
119
120
#endif //__IBOOKCONTENTMGR__
tmpdoxygeninput
IBookContentMgr.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1