InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ILineNumberDrawer.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Kevin Van Wiel
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 __ILineNumberDrawer__
25 #define __ILineNumberDrawer__
26 
27 #include "IPMUnknown.h"
28 
29 #include "WritingModeUIID.h"
30 #include "PMString.h"
31 #include "PMRect.h"
32 #include "Command.h"
33 
34 
35 class IGraphicsContext;
36 class IWaxLine;
37 class IDataBase;
38 class LineDescription;
39 
47 {
48  public:
49  enum { kDefaultIID = IID_ILINENUMBERDRAWER };
50 
57  virtual void SetDisplayInfoColumn(bool16 display) = 0;
58 
63  virtual bool16 GetDisplayInfoColumn() = 0;
64 
74  virtual void DrawLineNumber(IGraphicsContext* gc, int32 flags, int32 at) = 0;
75 
84  virtual PMReal DrawParagraphName(IGraphicsContext* gc, int32 flags, int32 at, bool16 overflow = kFalse) = 0;
85 };
86 
87 #endif // __ILineNumberDrawer__