InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
PathSelectionList.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Paul Sorrick
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
#ifndef __PathSelectionList__
25
#define __PathSelectionList__
26
27
#include "K2Vector.h"
28
#include "KeyValuePair.h"
29
#include "PathTypes.h"
30
#include "UIDList.h"
31
32
39
class
PathSelectionList
40
{
41
public
:
43
PathSelectionList
(
IDataBase
* db = nil ) ;
44
46
ErrorCode
SetDataBase
(
IDataBase
* db ) ;
48
IDataBase
*
GetDataBase
()
const
{
return
fDB ; }
49
51
ErrorCode
Add
(
const
UIDRef
& item,
const
PointSelector
& handle ) ;
53
ErrorCode
Add
(
const
UIDRef
& item,
const
PointSelectorList
& pts ) ;
56
ErrorCode
Add
(
const
PathSelectionList
& list ) ;
57
59
ErrorCode
Clear
() ;
61
ErrorCode
Clear
(
const
UIDRef
& item ) ;
63
ErrorCode
Clear
(
const
UIDRef
& item,
const
PointSelector
& handle ) ;
65
ErrorCode
Clear
(
const
UIDRef
& item,
const
PointSelectorList
& pts ) ;
67
ErrorCode
Clear
(
const
PathSelectionList
& list ) ;
68
70
bool16
IsEmpty
()
const
;
72
bool16
IsSelected
(
const
UIDRef
& item )
const
;
73
75
bool16
IsSelected
(
const
UIDRef
& item,
const
PointSelector
& handle )
const
;
76
77
79
int32
Length
()
const
;
81
UIDList
GetItemList
()
const
;
82
84
int32
Length
(
const
UIDRef
& item )
const
;
86
void
GetComponentList
(
const
UIDRef
& item,
PointSelectorList
& ptsOut )
const
;
87
89
void
ReadWrite (
IPMStream
* s,
IDataBase
* db);
90
91
//Comparison operators
93
bool16 operator==(
const
PathSelectionList
& other )
const
;
95
bool16 operator!=(
const
PathSelectionList
& other )
const
;
96
97
private
:
98
IDataBase
* fDB ;
99
K2Vector<KeyValuePair< UID, PointSelectorList >
> fSelection ;
100
} ;
101
102
103
#endif
tmpdoxygeninput
PathSelectionList.h
Generated on Sat Jul 19 2025 02:54:17 for InDesign SDK by
1.8.3.1