InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPrnSelUtils.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 __IPrnSelUtils_h__
25 #define __IPrnSelUtils_h__
26 
27 // Interface includes:
28 #include "IPMUnknown.h"
29 
30 // General includes:
31 #include "Utils.h"
32 
33 // Project includes
34 #include "PrnSelID.h"
35 
36 // forward declarations
37 class UIDList;
38 class IDocument;
39 class IDatabase;
40 
45 class IPrnSelUtils: public IPMUnknown
46 {
47 public:
49  enum { kDefaultIID = IID_IPRNSELUTILS };
50 
55  virtual bool16 _CanGetPrintSelectionFlag(const UIDList& itemList) = 0;
56 
61  virtual bool16 _CanGetPrintSelectionFlag(IDocument* doc) = 0;
62 
67  virtual bool16 _GetPrintSelectionFlag(IDataBase* db) = 0;
68 
73  virtual bool16 _GetPrintSelectionFlag(IDocument* doc) = 0;
74 
79  virtual bool16 _CanSetPrintSelectionFlag(const UIDList& itemList) = 0;
80 
85  virtual bool16 _CanSetPrintSelectionFlag(IDocument* doc) = 0;
86 
92  virtual ErrorCode _SetPrintSelectionFlag(IDataBase* db, const bool16 printSelection) = 0;
93 
99  virtual ErrorCode _SetPrintSelectionFlag(IDocument* doc, const bool16 printSelection) = 0;
100 
101 };
102 
103 #endif
104 
105 // End, IPrnSelUtils.h.