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

Public Types | |
| enum | { kDefaultIID = IID_IMODIFYTOCFORMATINFOCMDDATA } |
Public Member Functions | |
| virtual void | Set (const UIDRef &target, const UIDRef &styleRef, const PMString &styleName, bool16 isParaStyle, bool16 isRename, const UIDRef &replaceUIDRef)=0 |
| virtual const UIDRef & | GetTarget () const =0 |
| virtual void | SetTarget (const UIDRef &target)=0 |
| virtual const UIDRef & | GetStyleRef () const =0 |
| virtual void | SetStyleRef (const UIDRef &styleRef)=0 |
| virtual const PMString & | GetStyleName () const =0 |
| virtual void | SetStyleName (const PMString &styleName)=0 |
| virtual const bool16 & | IsParaStyle () const =0 |
| virtual void | SetParaStyleFlag (const bool16 ¶StyleFlag)=0 |
| virtual const bool16 & | IsRename () const =0 |
| virtual void | SetRenameFlag (const bool16 &renameFlag)=0 |
| virtual const UIDRef & | GetReplaceUIDRef () const =0 |
| virtual void | SetReplaceUIDRef (const UIDRef &replaceUIDRef)=0 |
| virtual const ICommand::CommandState | GetCmdState () const =0 |
| virtual void | SetCmdState (const ICommand::CommandState state)=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 interface is for accessing command data related to ModifyTOCFormatInfoCmd. ModifyTOCFormatInfoCmd is used for repairing the format information for table of content styles when those format table of content entry styles(paragraph or chracter styles) are being deleted or modified. In future release, we will use reference index to do the repair work and this interface may be obsolete.
| pure virtual |
This function is deprecated since InDesign 2.0. It is NOT used in InDesign's core code base.
| none |
| pure virtual |
| pure virtual |
Get the original name of deleted or edited paragraph or character style.
| none |
| pure virtual |
| pure virtual |
| pure virtual |
Get the boolean data about if the deleted or edited style is a paragraph style or not.
| none |
| pure virtual |
Get the boolean data indicating if the edited style is just a rename action or not. This flag is to optimize certain action. For example, if the format style is a character style and we just rename the style, then we should not do anything since we cache the UID for character style and rename does not change UID.
| none |
| pure virtual |
Set all the data for processing ModifyTOCFormatInfoCmd.
| target | IN the session or document workspace where the format style resides on. |
| styleRef | IN the UIDRef of the format style(paragraph style or character style) |
| styleName | IN the original name of the format style. |
| isParaStyle | IN flag indicates if it is paragraph style or not. |
| isRename | IN flag indicates if the edited style is renamed or not. This is to optimize certain action. For example, if the format style is a character style and we just rename the style, then we should not do anything since we cache the UID for character style and rename does not change UID. |
| replaceUIDRef | IN the UIDRef for the updated format style. |
| pure virtual |
This function is deprecated since InDesign 2.0. It is NOT used in InDesign's core code base.
| state | the command state to be set. |
| pure virtual |
Set the boolean flag regarding the deleted or edited style is a paragraph style or not.
| paraStyleFlag | IN the boolean data to be set. |
| pure virtual |
Set the flag indicates if the edited style is renamed or not.
| renameFlag | IN the boolean flag to be set. |
| pure virtual |
Set the updated format style.
| replaceUIDRef | IN the style to be set. |
| pure virtual |
Set the original name of deleted or edited paragraph or character style.
| styleName | IN the original name. |
| pure virtual |