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

Public Member Functions | |
| CGraphicAttributeInfo (IPMUnknown *boss) | |
| virtual | ~CGraphicAttributeInfo () |
| virtual PMString * | GetName (void) const |
| virtual bool16 | IsTextAttribute (void) const |
| virtual bool16 | IsGraphicAttribute (void) const |
| virtual bool16 | IsTableAttribute (void) const |
| virtual bool16 | IsRequiredGraphicAttr (void) const |
| virtual bool16 | AffectsPageItemGeometry (void) const |
| virtual bool16 | ObservedByGraphicState (void) const |
| virtual bool16 | ObservedByTransparencyAttrSuite (void) const |
| virtual IPMUnknown * | CreateTextAttribute (void) const |
| virtual IPMUnknown * | CreateTableAttribute (void) const |
| virtual IPMUnknown * | DuplicateAttribute (const PMIID &iid) const |
| virtual bool16 | IsEqual (const IPMUnknown *otherAttr) const |
| virtual ClassID | GetClass (void) const |
| virtual PMString | GetValue (const ClassID &attrClass, const IWorkspace *ws) const |
Public Member Functions inherited from CPMUnknown< IGraphicAttributeInfo > | |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| void | AddRef () const |
| void | Release () const |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| CPMUnknown (const CPMUnknown &)=delete | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Public Member Functions inherited from IGraphicAttributeInfo | |
| virtual bool16 | IsExportAttribute (void) const =0 |
Additional Inherited Members | |
Public Types inherited from IGraphicAttributeInfo | |
| enum | { kDefaultIID = IID_IGRAPHICATTR_INFO } |
| enum | AttributeKind { kGraphicAttr = 0x0001, kTextAttr = 0x0002, kTableAttr = 0x0004, kExportAttr = 0x0008 } |
Protected Member Functions inherited from CPMUnknown< IGraphicAttributeInfo > | |
| CPMUnknown (IPMUnknown *boss) | |
Protected Attributes inherited from CPMUnknown< IGraphicAttributeInfo > | |
| HelperInterface | fHelperInterface |
This is the default implementation for IGraphicAttributeInfo. In the future, if there are any changes in IGraphicAttributeInfo, it will be less work for client if their implementation derives from this one and likes to take the default behavior.
| CGraphicAttributeInfo::CGraphicAttributeInfo | ( | IPMUnknown * | boss | ) |
Constructor.
| inlinevirtual |
Destructor.
| virtual |
Returns kTrue if attribute affects page item geometry.
Implements IGraphicAttributeInfo.
| virtual |
Create a table version of this attribute. This method should be implemented if this attribute is also a table attribute.
Implements IGraphicAttributeInfo.
| virtual |
Create a text version of this attribute. This method should be implemented if this attribute is also a text attribute.
Implements IGraphicAttributeInfo.
| virtual |
Creates a duplicate attribute and returns the given IID.
Implements IGraphicAttributeInfo.
| virtual |
| virtual |
Returns the name of the attribute.
Implements IGraphicAttributeInfo.
| 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. |
Implements IGraphicAttributeInfo.
| 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
Implements IGraphicAttributeInfo.
| virtual |
Returns kTrue if attribute is a graphic attribute.
Implements IGraphicAttributeInfo.
| virtual |
Returns kTrue if attribute is a required graphic attribute.
Implements IGraphicAttributeInfo.
| virtual |
Returns kTrue if attribute is a table attribute.
Implements IGraphicAttributeInfo.
| virtual |
Returns kTrue if attribute is a text attribute.
Implements IGraphicAttributeInfo.
| 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.
Implements IGraphicAttributeInfo.
| 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.
Implements IGraphicAttributeInfo.