InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IPreflightRuleData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: SusanCL
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
25
#include "IPMUnknown.h"
26
#include "PackageAndPreflightID.h"
27
#include <vector>
28
29
#include "ScriptData.h"
30
37
class
IPreflightRuleData
:
public
IPMUnknown
38
{
39
public
:
40
enum
{ kDefaultIID = IID_IPREFLIGHTRULEDATA };
41
42
public
:
43
typedef
PMString
Key
;
44
typedef
ScriptData::ScriptDataType ValueType;
45
48
virtual
Key
AnInvalidKey
()
const
= 0;
49
50
//_______________________________________________________________________________
51
// Read access
52
//_______________________________________________________________________________
53
58
virtual
bool
KeyExists
(
const
Key
& k)
const
= 0;
59
65
virtual
ValueType
GetValueType
(
const
Key
& k)
const
= 0;
73
virtual
void
GetData
(
const
Key
& k,
const
ScriptData
& defData,
ScriptData
& data,
bool
* pExist = nil)
const
= 0;
78
virtual
void
GetAllKeys
(std::vector<Key>& keyList)
const
= 0;
79
84
virtual
Key
GetKey
()
const
= 0;
85
86
//_______________________________________________________________________________
87
// Write access
88
//_______________________________________________________________________________
89
94
virtual
void
SetData
(
const
Key
& k,
const
ScriptData
& data) = 0;
98
virtual
void
RemoveKey
(
const
Key
& k) = 0;
101
virtual
void
RemoveAllKeys
() = 0;
102
106
virtual
void
CopyFrom
(
const
IPreflightRuleData
* iSrc) = 0;
107
108
//_______________________________________________________________________________
109
// Utility
110
//_______________________________________________________________________________
111
116
virtual
bool
IsEqual
(
const
IPreflightRuleData
* iOther)
const
= 0;
117
};
tmpdoxygeninput
IPreflightRuleData.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1