InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ILockPosition.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Stacy Molitor
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 of Interface:
24
// ILockPosition is an interface which specifies whether or not a page item's position is
25
// locked. If it's position is locked it cannot be moved, resized, deleted, etc.
26
//
27
// All page items should have this interface, though if it's missing the page item is assumed
28
// to not be locked.
29
//
30
//========================================================================================
31
32
#ifndef __ILockPosition__
33
#define __ILockPosition__
34
35
#include "IPMUnknown.h"
36
#include "GenericID.h"
37
40
class
ILockPosition
:
public
IPMUnknown
41
{
42
public
:
43
enum
{ kDefaultIID = IID_ILOCKPOSITION };
44
45
typedef
enum
{ kUnlock = 0x00, kLock = 0x01 } LockType;
46
50
virtual
void
Set
(int32 lockFlag) = 0;
51
58
virtual
int32
GetLockPosition
()
const
= 0;
59
63
virtual
bool16
IsLocked
()
const
= 0;
64
68
virtual
bool16
IsUnlocked
()
const
= 0;
69
74
virtual
int32
GetLockState
()
const
= 0;
75
79
virtual
bool16
IsLockStateLocked
()
const
= 0;
80
87
virtual
bool16
IsPageItemLocked
(bool16 selecting = kFalse)
const
= 0;
88
89
};
90
91
#endif //__ILockPosition__
tmpdoxygeninput
ILockPosition.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1