InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IRenderObjectService.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: SusanCL
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 __IRenderObjectService__
25 #define __IRenderObjectService__
26 //===================================================================================
27 //___________________________________________________________________________________
28 // INCLUDES
29 //___________________________________________________________________________________
30  #include "GraphicStylesID.h"
31  #include "IPMUnknown.h"
32 
33 //___________________________________________________________________________________
34 // CLASS FORWARDS
35 //___________________________________________________________________________________
36  class IWorkspace;
37  class ICommand;
38  class IRenderingObject;
39  class UIDList;
40 
46  {
47  public:
48 
49  enum { kDefaultIID = IID_IRENDEROBJECTSERVICE };
50 
51  public:
54  virtual ClassID GetRenderObjectClassID (void) const = 0;
55 
61  virtual IRenderingObject* CreateTemporaryRenderObject (const IRenderingObject* iSourceRenderObject) = 0;
62 
66 
72  virtual UID CreateNewNamedRenderObject (IDataBase* iTargetDB, const IRenderingObject* iNewRenderData) = 0;
73  virtual UID CreateNewUnnamedRenderObject (IDataBase* iTargetDB, const IRenderingObject* iNewRenderData) = 0;
74 
81  virtual ErrorCode DeleteRenderObjects (const UIDList& itemList, UIDList& remainderList) = 0;
82 
91  virtual UIDList* DuplicateRenderObjects (IDataBase* iTargetDB, const UIDList& itemList, UIDList& remainderList, ICommand* iCallingCommand, bool16 doUnlock, bool16 doConvertToUnnamed, bool16 doConvertToProcess) = 0;
92  };
93 
94 
95 #endif // __IRenderObjectService__