InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWaxLineHilite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Ric Kamicar
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 // Interface for iterating through Wax Runs.
24 //
25 //========================================================================================
26 
27 #include "IGraphicsContext.h"
28 #include "PMLineSeg.h"
29 #include "PMMatrix.h"
30 #include "PMRect.h"
31 #include "K2Vector.h"
32 
37 class IWaxLineHilite : public IPMUnknown
38 {
39 public:
40  enum { kDefaultIID = IID_IWAXLINEHILITE };
41 
44  virtual void GetHighlightBounds(const PMMatrix &toWindow, bool16 XORmode, const PMRect& highlightAdjust, const PMLineSeg &maxTopBottom, K2Vector<PMPolygon4>* pSetOfHighlightBounds) const = 0;
45 
57  virtual void GetHighlightBounds(int32 offset, int32 length, const PMMatrix &toWindow, bool16 XORmode, const PMRect& highlightAdjust, const PMLineSeg &maxTopBottom, K2Vector<PMPolygon4>* pSetOfHighlightBounds) const = 0;
58 
63  virtual void DrawLineHighlight(IGraphicsContext* gc, const K2Vector<PMPolygon4>* pSetOfHighlightBounds) const = 0;
64 
67  virtual const ITextSelectionAdornment* GetTextSelectionAdornment() const = 0;
68 
69 };
70 
71