![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IGRAPHICSTATE_DATA } |
| enum | TargetType { kCurrentTarget = -1, kDefaultTarget = 0, kEyedropperTarget } |
Public Member Functions | |
| virtual ErrorCode | Initialize (IWorkspace *)=0 |
| virtual ErrorCode | Initialize (IWorkspace *, ClassID)=0 |
| virtual void | InitializeDefaultFillRenderData (ClassID, UID)=0 |
| virtual void | InitializeDefaultStrokeRenderData (ClassID, UID)=0 |
| virtual void | InitializeDefaultAttributes (void)=0 |
| virtual ErrorCode | AddGraphicDefaults (const UIDList *)=0 |
| virtual ErrorCode | AddTextFrameDefaults (const UIDList *)=0 |
| virtual ErrorCode | AddGraphicFrameDefaults (const UIDList *)=0 |
| virtual ErrorCode | AddGroupDefaults (const UIDList *)=0 |
| virtual IPMUnknown * | QueryAttribute (ClassID, const PMIID &, TargetType)=0 |
| virtual ErrorCode | AddAttribute (IPMUnknown *, TargetType)=0 |
| virtual ErrorCode | CopyIntoAttribute (IPMUnknown *, TargetType)=0 |
| virtual ErrorCode | RemoveAttribute (ClassID, TargetType)=0 |
| virtual ErrorCode | RemoveAllAttributes (ClassID *, uint16, TargetType)=0 |
| virtual ErrorCode | AddMultAttributes (IGraphicStyleAttributeBossList *, TargetType)=0 |
| virtual ErrorCode | SwapStrokeAndFill (TargetType)=0 |
| virtual ErrorCode | SetAttributeList (IGraphicStyleAttributeBossList *, TargetType)=0 |
| virtual IGraphicStyleAttributeBossList * | CreateAttributeListCopy (TargetType)=0 |
| virtual void | SetFillClass (ClassID, TargetType)=0 |
| virtual ClassID | GetFillClass (TargetType)=0 |
| virtual void | SetStrokeClass (ClassID, TargetType)=0 |
| virtual ClassID | GetStrokeClass (TargetType)=0 |
| virtual ErrorCode | UpdateFillRenderObjectUID (ClassID, UID, TargetType)=0 |
| virtual ErrorCode | UpdateStrokeRenderObjectUID (ClassID, UID, TargetType)=0 |
| virtual UID | GetFillRenderObjectUID (ClassID, TargetType)=0 |
| virtual UID | GetStrokeRenderObjectUID (ClassID, TargetType)=0 |
| virtual GraphicTarget * | GetTarget (TargetType)=0 |
| virtual void | MarkPreDirty (void)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| pure virtual |
Add the specified the attribute in the given target type.
| iAttribute | the attribute object to be added. A copy is made of the specified attribute. |
| targetType | the target type from which the attribute is should be returned. |
| pure virtual |
Add current graphic default attributes, including rendering attributes to the specified page items.
| pageItemList | the page item UID list. |
| pure virtual |
Add graphic default attributes, including rendering attributes for the specified graphic frame items.
| graphicFrametemList | the graphic frame item UID list. |
| pure virtual |
Add graphic default attributes, including rendering attributes for the specified group items.
| grouptemList | the group item UID list. |
| pure virtual |
Add all specified attributes in the target.
| iAttributeBossList | the attribute list specified the attributes to be added. |
| targetType | the target type the attributes are to be added. |
| pure virtual |
Add graphic default attributes, including rendering attributes for the specified text frame items.
| itemList | the UID list specifying the text frame UID items. |
| pure virtual |
Copy the specified the attribute in the given target type. If the attribute already exists, the content is copied. If attribute does not exist, it is added.
| iAttribute | the attribute object to be copied. |
| targetType | the target type from which the attribute is should be returned. |
| pure virtual |
return a copy of the attributes in the given target. Caller should release the attribute boss list when done.
| targetType | the target type the rendering data should be swapped. |
| pure virtual |
Returns the current rendering class for the given target.
| targetType | the target type the rendering data should be returned. |
Returns the fill rendering UID of the specified rendering class in the target.
| renderClassID | the fill rendering class ID to update. |
| targetType | the target type the rendering data should be updated. |
| pure virtual |
Returns the current rendering class for the given target.
| targetType | the target type the rendering data should be returned. |
Returns the stroke rendering UID of the specified rendering class in the target.
| renderClassID | the stroke rendering class ID to update. |
| targetType | the target type the rendering data should be updated. |
| pure virtual |
Returns the GraphicTarget for the specified target type.
| targetType | the target type to get. |
| pure virtual |
Initializes the graphic state data in the specified workspace. Used during graphic state creation.
| workspace | the workspace to create the persistent graphic state data. |
| pure virtual |
Called to initialize the default rendering data for a specific rendering object class in an existing workspace. This is useful when a new type of rendering object has been added to the document.
| workspace | the workspace to operate on |
| classid | the class id of the kRenderClassProviderImpl to create default rendering UID. |
| pure virtual |
Initialize the default attributes for the graphic state.
Initialize the default fill rendering object for the specified rendering class.
| renderClassID | the rendering object class. |
| renderUID | the rendering UID for the renderClassID. |
Initialize the default fill rendering object for the specified rendering class.
| renderClassID | the rendering object class. |
| renderUID | the rendering UID for the renderClassID. |
| pure virtual |
Mark data dirty.
| pure virtual |
Return the attribute of a given target type. The caller is responsible for releasing the attribute when done.
| attrClassID | the attribute class to be returned. |
| attrInterfaceIID | the attribute's interface IID to be returned. |
| targetType | the target type from which the attribute is should be returned. |
| pure virtual |
Remove all specified attributes. If the list is nil, then all attributes in the target are removed.
| attrClassList | the attribute class list specified the attribute classes to be removed. |
| attrCount | the number attributes in the attrClassList. |
| targetType | the target type from which the attributes are to be removed. |
| pure virtual |
Remove the attribute from the given target type.
| iAttribute | the attribute object to be removed. |
| targetType | the target type from which the attribute is should be returned. |
| pure virtual |
Replace the attributes in the target with the given attribute boss list.
| iAttributeBossList | the attribute list specified the attributes to replace. |
| targetType | the target type the rendering data should be swapped. |
| pure virtual |
Set the current fill rendering class for the given target.
| renderClassID | the fill rendering class ID to set. |
| targetType | the target type the rendering data should be set. |
| pure virtual |
Set the current stroke rendering class for the given target.
| renderClassID | the stroke rendering class ID to set. |
| targetType | the target type the rendering data should be set. |
| pure virtual |
Swap the current stroke and fill rendering data in the target.
| targetType | the target type the rendering data should be swapped. |
| pure virtual |
Update the fill rendering data of the specified rendering class in the target.
| renderUID | the fill rendering UID to update to. |
| renderClassID | the fill rendering class ID to update. |
| targetType | the target type the rendering data should be updated. |
| pure virtual |
Update the stroke rendering data of the specified rendering class in the target.
| renderUID | the stroke rendering UID to update to. |
| renderClassID | the stroke rendering class ID to update. |
| targetType | the target type the rendering data should be updated. |