InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IImportResourceCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Steve Flenniken
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 __IImportResourceCmdData__
25 #define __IImportResourceCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "OpenPlaceID.h"
29 
30 class URI;
31 
39 {
40 public:
41  /* Default IID to be used by UseDefaultIID() */
42  enum { kDefaultIID = IID_IIMPORTRESOURCECMDDATA };
43 
45  virtual void Set(const IImportResourceCmdData *data) = 0;
46 
57  virtual void Set(IDataBase *db, const URI &uri, UIFlags flags, bool16 retainFormat = kFalse, bool16 convertQuotes = kFalse, bool16 applyCJKGrid = kFalse, UID uidPreview = kInvalidUID) = 0;
58 
71  virtual void Set(IDataBase *db, UID linkResourceUID, UIFlags flags, UID oldPageItem=kInvalidUID, bool16 retainFormat = kFalse, bool16 convertQuotes = kFalse, bool16 applyCJKGrid = kFalse) = 0;
72 
74  virtual void SetFlags( UIFlags flags ) = 0;
75 
77  virtual IDataBase *GetDataBase() const = 0;
79  virtual const URI GetURI() const = 0;
81  virtual UIFlags GetFlags() const = 0;
83  virtual bool16 GetRetainFormat() const = 0;
85  virtual bool16 GetConvertQuotes() const = 0;
87  virtual bool16 GetApplyCJKGrid() const = 0;
89  virtual UID GetOldPageItem() const = 0;
91  virtual UID GetPreview() const = 0;
93  virtual UID GetLinkResourceUID() const = 0;
94 };
95 
96 #endif