This command shuffles the pages (kPageBoss) in a document (kDocBoss),
updating all affected spreads (kSpreadBoss) so that the IPageSetupPrefs pages-per-spread setting is respected. Shuffle Rules:
- only active in facing pages document with the global "shuffle" flag turned on
- sections that start with an odd page number start as a single right-hand page
- in a right-to-left bound document, sections which start with an odd page number, start as single left hand pages
- odd page numbers (e.g. initial page in a document or following a 3 page island spread) are single right hand pages (in left-to-right bound) or single left hand pages (in right-to-left bound)
- non-island spreads which don't start a section have one left and one right page
- Item list input
- None (IShuffleCmdData identifies the target).
- Item list output
- None
- Observer notification 1
- theChange: kShufflePagesCmdBoss
- theSubject: document (kDocBoss)
- protocol: IID_ISPREADLIST
- changedBy: command instance
- Observer notification 2
- theChange: kShufflePagesCmdBoss
- theSubject: document (kDocBoss)
- protocol: IID_IHIERARCHY
- changedBy: command instance
- Responder notification
- None