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

Public Types | |
| enum | { kDefaultIID = IID_IGRAPHICATTR_INFO } |
| enum | AttributeKind { kGraphicAttr = 0x0001, kTextAttr = 0x0002, kTableAttr = 0x0004, kExportAttr = 0x0008 } |
Public Member Functions | |
| virtual PMString * | GetName (void) const =0 |
| virtual bool16 | IsTextAttribute (void) const =0 |
| virtual bool16 | IsGraphicAttribute (void) const =0 |
| virtual bool16 | IsTableAttribute (void) const =0 |
| virtual bool16 | IsExportAttribute (void) const =0 |
| virtual bool16 | IsRequiredGraphicAttr (void) const =0 |
| virtual bool16 | AffectsPageItemGeometry (void) const =0 |
| virtual bool16 | ObservedByGraphicState (void) const =0 |
| virtual IPMUnknown * | CreateTextAttribute () const =0 |
| virtual IPMUnknown * | CreateTableAttribute () const =0 |
| virtual IPMUnknown * | DuplicateAttribute (const PMIID &iid) const =0 |
| virtual bool16 | IsEqual (const IPMUnknown *otherAttribute) const =0 |
| virtual ClassID | GetClass (void) const =0 |
| virtual bool16 | ObservedByTransparencyAttrSuite (void) const =0 |
| virtual PMString | GetValue (const ClassID &attrClass, const IWorkspace *ws) const =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 required interface for any graphic attributes. This class facilitates in the management of graphic attributes.
| pure virtual |
Returns kTrue if attribute affects page item geometry.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Create a table version of this attribute. This method should be implemented if this attribute is also a table attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Create a text version of this attribute. This method should be implemented if this attribute is also a text attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Creates a duplicate attribute and returns the given IID.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns the class ID the attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns the name of the attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns the string format of the attribute value.
| attrClass | IN: the ClassID for the attribute. |
| ws | IN: the workspace where we get this attribute value from. |
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Compare the two attributes by first checking that the classIDs are the same and then comparing the attribute values. Returns true if equal else false
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns kTrue if attribute is a export attribute.
Implemented in TranFxGraphicAttributeInfo.
| pure virtual |
Returns kTrue if attribute is a graphic attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns kTrue if attribute is a required graphic attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns kTrue if attribute is a table attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns kTrue if attribute is a text attribute.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns kTrue if attribute is observed by the graphic state. Should return kFalse, if plug-in that added the attribute is responsible for managing changes.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.
| pure virtual |
Returns kTrue if attribute is observed by the transparency attribute suite. Should return kFalse, if plug-in that added the attribute is responsible for managing the changes.
Implemented in TranFxGraphicAttributeInfo, and CGraphicAttributeInfo.