InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITableCellData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Adobe Developer Technologies
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 __ITCPJData__
25
#define __ITCPJData__
26
27
// Interface includes:
28
#include "IPMUnknown.h"
29
30
// Project includes:
31
#include "CelPnlID.h"
32
39
class
ITableCellData
:
public
IPMUnknown
40
{
41
public
:
42
enum
{ kDefaultIID = IID_ITABLECELLDATA };
// for UseDefaultIID()
43
47
virtual
int32
GetMaxColumn
(
void
)
const
= 0;
48
52
virtual
int32
GetMaxRow
(
void
)
const
= 0;
53
57
virtual
int32
GetCellNumberOfColumns
(
void
)
const
= 0;
58
62
virtual
int32
GetCellNumberOfRows
(
void
)
const
= 0;
63
67
virtual
int32
GetTableWidth
(
void
)
const
= 0;
68
72
virtual
int32
GetTableHeight
(
void
)
const
= 0;
73
77
virtual
int32
GetCellWidth
(
void
)
const
= 0;
78
82
virtual
int32
GetCellHeight
(
void
)
const
= 0;
83
87
virtual
int32
GetViewTopRow
(
void
)
const
= 0;
88
93
virtual
void
SetViewTopRow
(
const
int32 row) = 0;
94
98
virtual
int32
GetViewLeftColumn
(
void
)
const
= 0;
99
104
virtual
void
SetViewLeftColumn
(
const
int32 column) = 0;
105
109
virtual
int32
GetSelectRow
(
void
)
const
= 0;
110
115
virtual
void
SetSelectRow
(
const
int32 row) = 0;
116
120
virtual
int32
GetSelectColumn
(
void
)
const
= 0;
121
126
virtual
void
SetSelectColumn
(
const
int32 column) = 0;
127
133
virtual
bool
isSelection
(
const
int32 column,
const
int32 row)
const
= 0;
134
141
virtual
const
WideString
&
GetCellString
(int32 column, int32 row)
const
= 0;
142
146
virtual
const
WideString
&
GetCellString
(
void
)
const
= 0;
147
154
virtual
bool16
SetCellString
(
const
WideString
&
string
, int32 column, int32 row) = 0;
155
160
virtual
bool
SetCellString
(
const
WideString
&
string
) = 0;
161
166
virtual
void
Invalidate
(bool16 forceInvalidate =
false
) = 0;
167
175
virtual
PMPoint
ConstrainDimensions
(
const
PMPoint
& desiredDimen)
const
= 0;
176
177
178
enum
{ kNoSelected = -1 };
179
180
};
181
182
#endif
183
184
// End, ITableCellData.h.
tmpdoxygeninput
ITableCellData.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1