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

Public Types | |
| enum | { kDefaultIID = IID_IGRAPHICSTATE_RENDEROBJECTS } |
Public Member Functions | |
| virtual IDataBase * | GetDataBase (void)=0 |
| virtual void | Initialize (IGraphicStateData *iGraphicStateData)=0 |
| virtual ErrorCode | RegisterNewRenderObjectClass (ClassID renderClassID, UID renderUID)=0 |
| virtual ErrorCode | SetBlock (ClassID renderClassID, bool16 blockFlag)=0 |
| virtual ErrorCode | IsBlocked (ClassID renderClassID, bool16 *blockFlag) const =0 |
| virtual void | ClearEveryBlock (void)=0 |
| virtual const IRenderingObject * | QueryRenderObject (ClassID renderClassID) const =0 |
| virtual UID | GetRenderObjectUID (ClassID renderClassID) const =0 |
| virtual ErrorCode | ChangeRenderObject (ClassID renderClassID, UID renderUID, bool16 doBroadcast=kTrue)=0 |
| virtual bool16 | IsRenderingObjectIndeterminant (ClassID renderClassID) const =0 |
| virtual ClassID * | CreateRenderObjectClassList (int32 *renderClassCount) const =0 |
| virtual ClassID | GetCurrentRenderObjectClass (void) const =0 |
| virtual void | RenderObjectChanged (ClassID renderClassID, bool16 doForwardToDefinition)=0 |
| virtual void | ColorManagementChanged (void)=0 |
| virtual void | EnabledRenderingTypesHaveChanged (const K2Vector< ClassID > *disabledList)=0 |
| virtual bool16 | IsRenderingObjectDisabled (const ClassID &renderClassID)=0 |
| virtual ErrorCode | UpdateRenderData (ClassID renderClassID, UID renderUID)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This is a peresistent interface for the graphic state object. It manages changes to the graphic state's currently active rendering object.
| pure virtual |
Change the current rendering UID for the given rendering class to the specified rendering UID.
| renderClassID | the rendering class to change. |
| renderUID | the rendering UID to change. |
| doBroadcast | the flag indicating whether or not the change should be broadcasted. |
| pure virtual |
Clear all blocks for all registered rendering classes.
| pure virtual |
Broadcast a color management changed message.
| pure virtual |
Returns a list of the currently registered rendering classes.
| renderClassCount | the number of rendering class in the list. |
| pure virtual |
Broadcast a change message indicating the changes in the rendering type's enabling state.
| disabledList | the list of currently disabled rendering classes. |
| pure virtual |
Returns the currently active rendering class in the graphic state.
| pure virtual |
Returns the persistent data base associated with this interface.
| pure virtual |
Return the current rendering UID for the spcified rendering class.
| renderClassID | the rendering class to query. |
| pure virtual |
Initialized the graphic rendering objects with the data specified by IGrahicStateData interface. This is called only when the graphic state is created without app defaults.
| iGraphicStateData | specifies the graphic state data to update with. |
| pure virtual |
Return kTrue if the specified rendering class is blocked.
| renderClassID | the rendering class to query. |
| blockFlag | the flag is set to kTrue if the rendering object is blocked. Otherwise it is set to kFalse. |
| pure virtual |
Returns kTrue if the specified rendering class is currently disabled.
| renderClassID | the rendering class to query. |
| pure virtual |
Returns kTrue if the specified render class is currently indeterminant. This means that there are more than one dis-similar objects of the same rendering class in the graphic state.
| renderClassID | the rendering class to query. |
| pure virtual |
Return the current IRenderingObject interface for the spcified rendering class.
| renderClassID | the rendering class to query. |
| pure virtual |
Register the specified rendering object class.
| renderClassID | the new rendering class ID to register. |
| renderUID | the rendering UID for renderClassID to register. |
| pure virtual |
Broadcast a render object changed message.
| renderClassID | the rendering class to change. |
| doForwardToDefinition | when this is set to kTrue, then the change is forwarded to the current definition. |
| pure virtual |
Set block for the specified rendering class.
| renderClassID | the rendering class set block. |
| blockFlag | the flag to set the rendering class block state. |
| pure virtual |
Updates the interface's persistent data interface. This is called by the graphic state's private commands. Client should not make this call directly. To change the graphic states render object, use ChangeRenderObject(). Calling this directly will cause database transaction errors.
| renderClassID | the rendering class to update. |
| renderUID | the new UID for the corresponding class. |