You are on page 1of 1

CHAPTER 1: Layout Master spreads and master pages 28

Deleting a master spread


Solution

Use kDeleteMasterSpreadCmdBoss.

Related APIs

 IMasterPage

 IMasterSpreadList

 kMasterPagesBoss

 IMasterSpread

 kPageBoss

Rearranging the order of master spreads


Solution

The order of master spreads in the document is given by their index order in IMasterSpreadList. To
rearrange the order process, use kMoveMasterSpread.

Related APIs

 IMasterPage

 kMasterPagesBoss

 IMasterSpread

 kPageBoss

Copying a master spread


You can duplicate a master spread and the page items it contains.

Solution

To append the duplicated master spread to the master spread list (IMasterSpreadList) in the target
document, use kCreateMasterFromMasterCmdBoss.

To control where in the master spread list (IMasterSpreadList) the master spread is positioned:

1. Use kNewMasterSpreadCmdBoss to create a new master spread at a position of your choice in the
target document’s master spread list.

2. Use kDuplicateSpreadCmdBoss to copy the source spread.

You might also like