InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IProgressBarControlData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Burnard (was Neil Levine)
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 __IProgressBarControlData__
25 #define __IProgressBarControlData__
26 
27 #include "IProgressBarManager.h"
28 
32 {
33 public:
35  virtual bool16 SetRange (int16 min, int16 max) = 0;
37  virtual int16 GetMin() const = 0;
39  virtual int16 GetMax() const = 0;
40 
47  virtual void SetValue( int16 newValue,
48  bool16 invalidate = kTrue,
49  bool16 notifyOfChange = kTrue) = 0;
50 
52  virtual int16 GetValue() const = 0;
53 
60  virtual void SetTitle( const PMString& title,
61  bool16 invalidate = kTrue,
62  bool16 notifyOfChange = kTrue) = 0;
64  virtual PMString GetTitle() const = 0;
65 
72  virtual void SetMajorTaskName( const PMString& majorTask,
73  bool16 invalidate = kTrue,
74  bool16 notifyOfChange = kTrue) = 0;
76  virtual PMString GetMajorTaskName() = 0;
77 
84  virtual void SetMinorTaskName( const PMString& minorTask,
85  bool16 invalidate = kTrue,
86  bool16 notifyOfChange = kTrue) = 0;
88  virtual PMString GetMinorTaskName() = 0;
89 
91  virtual void SetStyle(ProgressBarStyle s) = 0;
93  virtual ProgressBarStyle GetStyle() const = 0;
94 
101  virtual void SetTaskStatus( const PMString& taskStatus,
102  bool16 invalidate = kTrue,
103  bool16 notifyOfChange = kTrue) = 0;
105  virtual PMString GetTaskStatus() = 0;
106 
108  virtual void SetInnerText( const PMString& str ) = 0;
110  virtual PMString GetInnerText() = 0;
111 };
112 
113 #endif