This command creates one or more pages (kPageBoss) in a spread (kSpreadBoss)
or master spread (kMasterPagesBoss). If the targeted spread cannot accommodate some of the new pages, this command creates the necessary spreads.
- Postcondition
- The new pages (kPageBoss) are added to the targeted spread on the IHierarchy interface of its pages layer (kSpreadLayerBoss). The index of the new page in IHierarchy is given by this command's IPageCmdData interface.
- Item list input
- None (IPageCmdData identifies the spread to be edited)
- Item list output
- References the pages (kPageBoss) created by the command
- Observer notification 1
- theChange: kNewPageCmdBoss
- theSubject: kDocBoss
- protocol: IID_ISPREADLIST if adding page(s) to a spread (kSpreadBoss), IID_IMASTERSPREADLIST if adding to master(kMasterPagesBoss)
- changedBy: command instance
- pre-notifies: no
- Observer notification 2
- theChange: kNewPageCmdBoss
- theSubject: kDocBoss
- protocol: IID_IHIERARCHY
- changedBy: command instance
- pre-notifies: no
- Responder notification
- ServiceID: kPageNumEvenOddnessChangeSignalResponderService
- Signal data: IUIDData interface referencing the affected document (kDocBoss)
- See Also
- kPageBoss, ISpreadList, kSpreadBoss, IMasterSpreadList, kMasterPagesBoss, IPageSetupPrefs
IN IPageCmdData, identifies the target spread, number of pages to insert,
and the position of the new pages within the spread. The other parameters are taken from IPageSetupPrefs on the document workspace, if you leave them as default.
<ul>
<li>Implementation: kPageCmdDataImpl</li>
<li>Available in: </li>
<li>Class from:</li>
</ul>