InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITableTextContent.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: ???
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 __ITableTextContent__
25
#define __ITableTextContent__
26
27
#include "TableTypes.h"
28
#include "TablesID.h"
29
#include "K2Vector.h"
30
31
class
ITextModel
;
32
class
ITextModelMemento
;
33
class
PasteDataXRefContext
;
34
class
ICommand
;
35
50
class
ITableTextContent
:
public
IPMUnknown
51
{
52
public
:
53
enum
{ kDefaultIID = IID_ITABLETEXTCONTENT };
54
55
56
62
virtual
UIDRef
GetTextModelRef
()
const
= 0;
63
69
virtual
ITextModel
*
QueryTextModel
()
const
= 0;
70
80
virtual
void
GetTextRange
(TextIndex& tableStartIndex,
81
int32& tableTextSpan)
const
= 0;
82
97
virtual
int32
GetTextChunk
(
GridArea
& inOutArea,
98
TextIndex& outStart)
const
= 0;
99
112
virtual
bool16
GetConnectedToTextContent
()
const
= 0;
113
114
virtual
void
SetConnectedToTextContent(bool16 connected) = 0;
115
116
125
class
Memento
126
{
127
public
:
128
virtual
~
Memento
() { };
129
130
virtual
void
TransferTo(
PasteDataXRefContext
* xRefContext) = 0;
131
132
};
133
//
134
// These next four methods are used to manipulate the ENTIRE Text content.
135
// by either deleting it (take), undeleting it (restore), copying it, or
136
// pasting it into the same or different table.
137
//
138
// These operations mirror what can be done with the TextModel.
139
//
140
141
144
virtual
void
ProcessDeleteTextContent
() = 0;
145
150
virtual
Memento
*
ProcessCutTextContent
() = 0;
151
155
virtual
void
RestoreTextContent
() = 0;
156
162
virtual
Memento
*
CopyTextContent
() = 0;
163
166
virtual
void
ProcessPasteTextContent
(
Memento
*) = 0;
167
168
};
169
170
#endif
tmpdoxygeninput
ITableTextContent.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1