InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITextSelectionAdornment.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Reena Agrawal
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:
24
// This is the interface used to add adornments to page items. For an example see...
25
//
26
//========================================================================================
27
28
#ifndef __ITextSelectionAdornment__
29
#define __ITextSelectionAdornment__
30
31
#include "IPMUnknown.h"
32
#include "IGraphicsContext.h"
33
34
#include "PMPolygon4.h"
35
36
#include "K2Vector.tpp"
37
#include "GenericID.h"
38
48
class
IWaxLineHilite
;
49
class
ITextSelectionAdornment
:
public
IPMUnknown
50
{
51
public
:
52
enum
{ kDefaultIID = IID_ITEXTSELECTIONADORNMENT };
53
60
virtual
void
DrawAdornment
(
const
IWaxLineHilite
* waxLineHilite,
const
K2Vector<PMPolygon4>
* pSetOfHighlightBounds,
IGraphicsContext
* gc, int32 flags) = 0;
61
69
virtual
bool16
HitTest
(
const
PMPoint
& mousePoint)
const
= 0;
70
78
virtual
bool16
IsMouseWithinHoverRect
(
const
PMPoint
& mousePoint)
const
= 0;
79
86
virtual
PMRect
GetAdornmentBounds
()
const
= 0;
87
88
};
89
90
#endif
tmpdoxygeninput
ITextSelectionAdornment.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1