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

#include <SdkObjModel.h>

Inheritance diagram for kPstLstDeletePageItemCmdBoss:

Public Member Functions

ICommand IID_ICOMMAND
 

Detailed Description

 This boss class provides a command PstLstDeletePageItemCmd that is used when the user deletes the

page item, in such case, we are responsible to delete ALL the data we allocated for the page item while this plug-in is loaded. It supports one interfaces: ICommand, we provide the implementations.

Member Function Documentation

ICommand kPstLstDeletePageItemCmdBoss::IID_ICOMMAND
     When a page item is deleted, we need to delete ALL the data boss we added to the item, also 

we need to restore them in the event of undo deleting page item. Unlike PstLstDeleteDataCmd, which only deletes the current selected UID and its associated data boss for each selected page item, this command delete EVERY one that's carried by a page item.

    Implementation: kPstLstDeletePageItemCmdImpl.