InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IObjectStyleInfo.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
25
#ifndef _IOBJECTSTYLEINFO_
26
#define _IOBJECTSTYLEINFO_
27
28
// ----- Interface files -----
29
30
#include "IPMUnknown.h"
31
32
// ----- ID files -----
33
34
#include "GenericID.h"
35
36
class
PMString
;
37
class
VirtualKey
;
38
41
class
IObjectStyleInfo
:
public
IPMUnknown
42
{
43
public
:
44
enum
{ kDefaultIID = IID_IOBJECTSTYLEINFO };
45
50
enum
{ kInvalidTimeStamp = 0, kPubConvertedTimeStamp = 1, kRefConvertedTimeStamp = 2 };
51
55
virtual
UID
GetBasedOn
()
const
= 0;
56
60
virtual
void
SetBasedOn
(
const
UID
& newBaseStyleUID) = 0;
61
65
virtual
const
PMString
&
GetName
()
const
= 0;
66
70
virtual
void
SetName
(
const
PMString
& newStyleName, bool16 translatable = kFalse) = 0;
71
77
virtual
void
SetKeyboardShortcut
(
VirtualKey
virtualKey, int16 modifiers) = 0;
78
83
virtual
VirtualKey
GetKeyboardShortcut
(int16 *modifiers)
const
= 0;
84
88
virtual
GlobalTime
GetKeyboardShortcutTimeStamp
()
const
= 0;
89
94
virtual
void
SetKeyboardShortcutTimeStamp
(
GlobalTime
gtime) = 0;
95
102
virtual
const
PMString
&
GetBasedOnStyleName
()
const
= 0;
103
109
virtual
void
SetBasedOnStyleName
(
const
PMString
& basedOnStyleName) = 0;
110
};
111
112
#endif // _IOBJECTSTYLEINFO_
tmpdoxygeninput
IObjectStyleInfo.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1