InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ICellFocusCache.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Joe Shankar
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: To cache cell attributes for all cells in a cell focus.
24
// The cache, once built, is time stamped so that the system can tell
25
// if the cache has changed.
26
//
27
//========================================================================================
28
29
#ifndef __ICellFocusCache__
30
#define __ICellFocusCache__
31
32
#include "IPMUnknown.h"
33
#include "TablesID.h"
34
#include "TableTypes.h"
35
36
class
AttributeBossList
;
37
43
class
ICellFocusCache
:
public
IPMUnknown
44
{
45
public
:
46
enum
{ kDefaultIID = IID_ICELLFOCUSCACHE };
47
48
// How many values for a particular attribute, and it's value
54
virtual
int32
CountAttributes
(
ClassID
which)
const
= 0;
62
virtual
const
IPMUnknown
*
QueryAttributeN
(int32 n,
ClassID
which,
const
PMIID
iid)
const
= 0;
63
64
// Notification for cache maintenance
69
virtual
void
RowsInserted
(
const
RowRange
& rows ) = 0;
74
virtual
void
ColsInserted
(
const
ColRange
& cols ) = 0;
79
virtual
void
RowsDeleted
(
const
RowRange
& rows ) = 0;
84
virtual
void
ColsDeleted
(
const
ColRange
& cols ) = 0;
89
virtual
void
CellsMerged
(
const
GridArea
& cells) = 0;
94
virtual
void
CellsUnmerged
(
const
GridArea
& cells) = 0;
95
99
virtual
void
TableDeleted
() = 0;
103
virtual
void
AttributesChanged
(
void
) = 0;
107
virtual
void
ClearCache
(
void
) = 0;
108
109
114
virtual
bool16
CacheIsBuilt
(
void
)
const
= 0;
115
120
virtual
uint32
GetTimeStamp
(
void
)
const
= 0;
121
127
virtual
void
CopyToAttributeLists
(
AttributeBossList
*attrList,
AttributeBossList
* mixedList = nil) = 0;
128
133
virtual
void
TableDirChange
(Tables::EDirection directionRTL) = 0;
134
};
135
136
137
#endif // __ICellFocusCache__
138
tmpdoxygeninput
ICellFocusCache.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1