InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IChapterNumberPreferences.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Pushp Agarwal
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// ADOBE CONFIDENTIAL
16
//
17
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18
//
19
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
20
// with the terms of the Adobe license agreement accompanying it. If you have received
21
// this file from a source other than Adobe, then your use, modification, or
22
// distribution of it requires the prior written permission of Adobe.
23
//
24
//========================================================================================
25
26
#ifndef __IChapterNumberPreferences__
27
#define __IChapterNumberPreferences__
28
29
#include "PMTypes.h"
30
#include "BNCoreID.h"
31
#include "IPMUnknown.h"
32
#include "IDocument.h"
33
34
#define kMinChapterNumber 1
35
#define kMaxChapterNumber 9999
36
44
namespace
ChapterNumType
45
{
46
enum
Type
47
{
48
kUserDefined = 1,
49
kSameAsPrevDoc = 2,
50
kContFromPrevDoc = 3
51
};
52
}
53
60
class
IChapterNumberPreferences
:
public
IPMUnknown
61
{
62
public
:
63
enum
64
{
65
kDefaultIID = IID_ICHAPTERNUMBERPREFERENCES
66
};
67
73
virtual
ClassID
GetNumberFormatter
()
const
= 0;
78
virtual
int32
GetChapterNumber
()
const
= 0;
84
virtual
ChapterNumType::Type
GetChapterNumberType
()
const
= 0;
90
virtual
void
SetNumberFormatter
(
ClassID
) = 0;
96
virtual
void
SetUserDefinedChapterNumber
(int32) = 0;
101
virtual
void
SetChapterNumberType
(ChapterNumType::Type) = 0;
107
virtual
void
SetCalculatedChapterNumber
(int32) = 0;
108
118
virtual
bool16
IsChapterNumberingEnabled
()
const
= 0;
119
127
virtual
void
EnableChapterNumbering
(bool16) = 0;
128
134
virtual
void
CopyPreferencesFromDocument
(
IDocument
*) = 0;
135
136
};
137
138
#endif // __IChapterNumberPreferences__
tmpdoxygeninput
IChapterNumberPreferences.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1