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

Public Member Functions | |
| virtual UID | FindByName (const PMString &styleName) const =0 |
| virtual uint32 | FindByUID (const UID &styleUID) const =0 |
| virtual uint32 | GetStyleCount (void) const =0 |
| virtual UID | GetNoStyleUID (void) const =0 |
| virtual void | AddStyle (const UID &newStyleUID)=0 |
| virtual ErrorCode | AddNoStyle (const UID &noStyleUID)=0 |
| virtual void | RemoveStyle (const UID &styleUID)=0 |
| virtual UID | GetNthStyle (uint32 index) 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 |
The graphic style name table interface manages a list of graphic styles for a workspace. Each name table has one special style, the "[No Style]" graphic style. A graphic style is a kGraphicStyleBoss object.
| pure virtual |
Add the specified [No Style] to the style name table.
| noStyleUID | specifies the [No Style] UID to add. |
| pure virtual |
Add the specified new style to the style name table.
| newStyleUID | specifies the new style UID to add. |
Find a graphic style in the style name table with the specified style name.
| styleName | specifies the style name to find. |
| pure virtual |
Find a graphic style in the style name table with the specified style UID.
| styleUID | specifies the style UID to find. |
| pure virtual |
Returns the UID of the [No Style] graphic style in the style name table.
| pure virtual |
Return the nth style from the style name table.
| index | specifies the nth style. |
| pure virtual |
Returns the number of graphic styles in the style name table.
| pure virtual |
Remove the specified style from the style name table.
| styleUID | specifies the style UID to remove. |