InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITOCCmdData.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
// Purpose: This is generic interface for creating and generating TOC.
24
//
25
//========================================================================================
26
27
#ifndef __ITOCCMDDATA__
28
#define __ITOCCMDDATA__
29
30
#include "IPMUnknown.h"
31
32
#include "ITOCStyleInfo.h"
33
34
#include "TOCID.h"
35
36
class
TOCEntryInfo
;
37
45
class
ITOCCmdData
:
public
IPMUnknown
46
{
47
public
:
48
enum
{ kDefaultIID = IID_ITOCCMDDATA };
49
55
typedef
enum
{kAfterEntry, kBeforeEntry, kNotIncluded}
PageNumPosition
;
56
63
virtual
const
bool16
GetIncludeHidderLayerFlag
()
const
= 0;
64
70
virtual
const
bool16
GetReplaceExistingTOCFlag
()
const
= 0;
71
78
virtual
const
bool16
GetIncludeBookPubs
()
const
= 0;
79
86
virtual
const
bool16
GetRunInFlag
()
const
= 0;
87
92
virtual
void
SetIncludeHidderLayerFlag
(
const
bool16 includeHidderLayer = kFalse) = 0;
93
98
virtual
void
SetReplaceExistingTOCFlag
(
const
bool16 replaceExistingTOC = kFalse) = 0;
99
104
virtual
void
SetIncludeBookPubs
(
const
bool16 includeBookPubs = kFalse) = 0;
105
110
virtual
void
SetRunInFlag
(
const
bool16 runIn = kFalse) = 0;
111
117
virtual
const
PMString
&
GetBookName
()
const
= 0;
118
123
virtual
void
SetBookName
(
const
PMString
& bookName) = 0;
124
133
virtual
const
bool16
GetIncludeOversetFlag
()
const
= 0;
134
139
virtual
void
SetIncludeOversetFlag
(bool16 includeOverset) = 0;
140
150
virtual
void
SetFormatEntryMap
(
const
FormatEntriesInfo
& formatStyleMap) = 0;
151
157
virtual
const
FormatEntriesInfo
&
GetFormatEntryMap
()
const
= 0;
158
165
virtual
const
bool16
GetIncludeBookmarks
()
const
= 0;
166
171
virtual
void
SetIncludeBookmarks
(
const
bool16 bIncludeBookmarks = kFalse) = 0;
172
178
virtual
const
UIDRef
&
GetTargetItem
()
const
= 0;
179
183
virtual
void
SetTargetItem
(
const
UIDRef
& sourceItem) = 0;
184
189
virtual
const
PMString
GetTOCTitle
()
const
= 0;
190
194
virtual
void
SetTOCTitle
(
const
PMString
& tocTitle) = 0;
195
200
virtual
const
UID
GetTOCTitleFormatStyle
()
const
= 0;
201
205
virtual
void
SetTOCTitleFormatStyle
(
const
UID
formatStyle) = 0;
206
211
virtual
const
UIDRef
&
GetTextModelUIDRef
()
const
= 0;
212
219
virtual
void
SetTextModelUIDRef
(
const
UIDRef
& textModelUIDRef =
UIDRef
(nil, kInvalidUID)) = 0;
220
227
virtual
void
SetTOCEntryInfoList
(
const
K2Vector<TOCEntryInfo>
& tocEntryInfoList) = 0;
228
236
virtual
const
K2Vector<TOCEntryInfo>
&
GetTOCEntryInfoList
()
const
= 0;
237
242
virtual
const
ITOCStyleInfo::TOCStoryDirection
GetStoryDirection
()
const
= 0;
243
247
virtual
void
SetStoryDirection
(
const
ITOCStyleInfo::TOCStoryDirection
storyDirection = ITOCStyleInfo::kHorizontal) = 0;
248
253
virtual
const
ITOCStyleInfo::TOCNumberedParagraphsEntriesType
GetNumberedParagraphsEntriesType
()
const
= 0;
254
258
virtual
void
SetNumberedParagraphsEntriesType
(
const
ITOCStyleInfo::TOCNumberedParagraphsEntriesType
numberedParagraphsEntriesType =
ITOCStyleInfo::kIncludeFullParagraph
) = 0;
259
265
virtual
const
PMString
&
GetTOCStyleName
()
const
= 0;
266
271
virtual
void
SetTOCStyleName
(
const
PMString
& styleName) = 0;
272
276
virtual
const
bool16
GetCreateTextAnchor
()
const
= 0;
277
281
virtual
void
SetCreateTextAnchor
(bool16 createAnchor) = 0;
282
286
virtual
const
bool16
GetRemoveForcedLineBreak
()
const
= 0;
287
291
virtual
void
SetRemoveForcedLineBreak
(bool16 removeForcedLineBreak) = 0;
292
};
293
294
#endif // __ITOCCMDDATA__
tmpdoxygeninput
ITOCCmdData.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1