InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
kPstLstDeleteDataCmdBoss Class Reference

#include <SdkObjModel.h>

Inheritance diagram for kPstLstDeleteDataCmdBoss:

Public Member Functions

ICommand IID_ICOMMAND
 

Detailed Description

 This boss class provides a command PstLstDeleteDataCmd that is used when the user select the

Delete command through the the plug-in panel's menu command, in such case, the command will delete the current IPstLstData from the IPstLstUIDList of the selected items. It supports one interfaces: ICommand, we provide the implementations.

Member Function Documentation

ICommand kPstLstDeleteDataCmdBoss::IID_ICOMMAND
     PstLstDeleteDataCmd will delete the selected IPstLstData object and remove its UID 

from the IPstLstUIDList from all selected page items. There is no need for an extra data interface like above since we are going to delete the page item's current selected IPstLstData, this information is available through IPstLstUIDList.

    Implementation: kPstLstDeleteDataCmdImpl.