![]() | InDesign SDK 20.5 |
#include <IRenderObjectService.h>

Public Types | |
| enum | { kDefaultIID = IID_IRENDEROBJECTSERVICE } |
Public Member Functions | |
| virtual ClassID | GetRenderObjectClassID (void) const =0 |
| virtual IRenderingObject * | CreateTemporaryRenderObject (const IRenderingObject *iSourceRenderObject)=0 |
| virtual UID | CreateDefaultRenderObject (IWorkspace *)=0 |
| virtual UID | CreateNewNamedRenderObject (IDataBase *iTargetDB, const IRenderingObject *iNewRenderData)=0 |
| virtual UID | CreateNewUnnamedRenderObject (IDataBase *iTargetDB, const IRenderingObject *iNewRenderData)=0 |
| virtual ErrorCode | DeleteRenderObjects (const UIDList &itemList, UIDList &remainderList)=0 |
| virtual UIDList * | DuplicateRenderObjects (IDataBase *iTargetDB, const UIDList &itemList, UIDList &remainderList, ICommand *iCallingCommand, bool16 doUnlock, bool16 doConvertToUnnamed, bool16 doConvertToProcess)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Abstract interface to directly create, delete, duplicate one or more rendering objects. In practice client code would use ISwatchUtils or create corresponding command to provide for undo-able change to the swatches.
| pure virtual |
Create a default rendering object in the specified data base.
| pure virtual |
Create a new rendering object in the specified data base using the specified rendering object attributes.
| iTargetDB | the target data base in which the new rendering object is created. |
| iNewRenderObject | a memory copy of the rendering attributes which specifies how the new rendering object should be created. |
| pure virtual |
Create a temporary memory-based rendering object based on the specified rendering object. The caller is responsible for deleting this object when done.
| iSourceRenderObject | the rendering object this temporary object will copy the rendering properties. |
| pure virtual |
Delete the specified rendering objects matching the render class. This method is called from the DeleteSwatchCommand to perform rendering objecct specific tasks. Client should not call this directly to delete a swatch.
| itemList | the list of item UID to be deleted. |
| pure virtual |
Duplicate the specified rendering objects matching the render class. This method is called from the DuplicateSwatchCommand to perform rendering objecct specific tasks. Client should not call this directly to duplicate a swatch.
| iTargetDB | the target data base in which the duplicated objects are created. |
| itemList | the list of item UID to be duplicated. |
| pure virtual |
Returns the rendering object class ID of this render class provider.