InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ISelectionDataSuite.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michael Martz
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
// Note:
24
//
25
//========================================================================================
26
27
#ifndef _ISelectionDataSuite_
28
#define _ISelectionDataSuite_
29
//________________________________________________________________________________________________
30
// INCLUDES
31
//________________________________________________________________________________________________
32
#include "IPMUnknown.h"
33
#include "ShuksanID.h"
34
#include "PMRect.h"
35
//================================================================================================
36
class
IControlView
;
37
//________________________________________________________________________________________________
38
// CLASS DECLARATION
39
//________________________________________________________________________________________________
40
43
class
ISelectionDataSuite
:
public
IPMUnknown
44
{
45
//____________________________________________________________________________________________
46
// Data Types
47
//____________________________________________________________________________________________
48
public
:
49
enum
{ kDefaultIID = IID_ISELECTIONDATASUITE };
50
51
//____________________________________________________________________________________________
52
// Member functions
53
//____________________________________________________________________________________________
54
public
:
59
virtual
PBPMRect
CalculatePBSelectionBounds
(
IControlView
* iLayoutControlView)
const
= 0;
60
65
virtual
PMRect
CalculateViewSelectionBounds
(
IControlView
* iLayoutControlView)
const
= 0;
66
71
virtual
SysRgn
GetSelectionRgn
(
IControlView
* iLayoutControlView)
const
= 0;
72
79
virtual
PBPMPoint
CalculatePBCenterPoint
(
IControlView
* iLayoutControlView)
const
= 0;
80
85
virtual
PMPoint
CalculateViewCenterPoint
(
IControlView
* iLayoutControlView)
const
= 0;
86
95
virtual
bool16
IsItemSelected
(
IPMUnknown
* theItem)
const
= 0;
96
100
virtual
bool16
HasItemSelected
()
const
= 0;
101
107
virtual
int32
GetSelectionCount
()
const
= 0;
108
};
109
110
#endif // _ISelectionDataSuite_
tmpdoxygeninput
ISelectionDataSuite.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1