#include <SynthObjModel.h>
This command deletes pages (kPageBoss) and the page items that lie on them.
- Postcondition
- The page items that lie on the affected pages are deleted from the spread, the pages are removed from the pages layer (kSpreadLayerBoss) IHierarchy and deleted. Any affected spread (kSpreadBoss) or master spread (kMasterPagesBoss) that is left with no pages by this command is deleted. Any pages that referenced a deleted master page get fixed up so they have no master.
- Item list input
- References the pages (kPageBoss) to be deleted. Don't try and delete regular pages and master pages in one instance of this command. If both regular pages and master pages are referenced by the item list the command will fail.
- Item list output
- None
- Observer notification 1
- theChange: kDeletePageCmdBoss
- theSubject: document (kDocBoss)
- protocol: IID_ISPREADLIST if deleting page(s) from a spread (kSpreadBoss), IID_IMASTERSPREADLIST if deleting page(s) from a master spread(kMasterPagesBoss)
- changedBy: command instance
- Observer notification 2
- Responder notification
- ServiceID: kPageNumEvenOddnessChangeSignalResponderService
- Signal data: IUIDData interface referencing the affected document (kDocBoss)
- See Also
- kPageBoss, ISpreadList, kSpreadBoss, IMasterSpreadList, kMasterPagesBoss, IPageSetupPrefs
IN IBoolData, kFalse = don't shuffle, kTrue = shuffle (default kTrue).
- See Also
- kShufflePagesCmdBoss
<ul>
<li>Implementation: kBoolDataImpl</li>
<li>Available in: </li>
<li>Class from:</li>
</ul>
| ICommand kDeletePageCmdBoss::IID_ICOMMAND | |
ICommand implementation.
- Implementation: kDeletePageCmdImpl
- Available in:
- Class from: