InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IGeneralXMLPreferences.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Ryan Gano
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
// This interface is used for action components to update the state of their actions.
24
// It is NOT a standard boss interface - it does not inherit from IPMUnknown!
25
//
26
//========================================================================================
27
28
#ifndef __IGeneralXMLPreferences__
29
#define __IGeneralXMLPreferences__
30
31
#include "XMLID.h"
32
37
class
IGeneralXMLPreferences
:
public
IPMUnknown
38
{
39
public
:
40
enum
{ kDefaultIID = IID_IGENERALXMLPREFERENCES };
41
46
typedef
enum
{
48
kStoryLocation
= 0,
50
kTableLocation
,
52
kRowLocation
,
54
kCellLocation
,
56
kImageLocation
,
58
kTableHeaderLocation
,
60
kTableBodyLocation
,
62
kTableFooterLocation
,
64
kEndElementType
65
}
kElementType
;
66
72
virtual
ErrorCode
Set
(
IGeneralXMLPreferences
*data) = 0;
73
80
virtual
void
SetData
(
IGeneralXMLPreferences::kElementType
which,
const
WideString
&name,
UID
color) = 0;
81
88
virtual
void
GetData
(
IGeneralXMLPreferences::kElementType
which,
WideString
*name,
UID
*color)
const
= 0;
89
95
virtual
WideString
GetName
(
IGeneralXMLPreferences::kElementType
which)
const
= 0;
96
102
virtual
UID
GetColor
(
IGeneralXMLPreferences::kElementType
which)
const
= 0;
103
112
virtual
WideString
GetDefaultName
(
IGeneralXMLPreferences::kElementType
which)
const
= 0;
113
124
virtual
int32
GetDefaultColor
(
IGeneralXMLPreferences::kElementType
which)
const
= 0;
130
virtual
bool16
operator==
(
const
IGeneralXMLPreferences
&o) = 0;
131
};
132
133
#endif // __IIGeneralXMLPreferences__
tmpdoxygeninput
IGeneralXMLPreferences.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1