You are on page 1of 1

CHAPTER 1: Layout Master spreads and master pages 27

 IObserver

 ISubject

Master spreads and master pages


Acquiring a reference to a master spread
Solution

A master spread (kMasterpagesBoss) is characterized by the IMasterSpread interface. A UIDRef that can
instantiate an IMasterSpread interface is a master spread.

If you have a document (see “Acquiring a reference to a document”) and want to examine all the master
spreads, use IMasterSpreadList.

If you have a page (see “Acquiring a reference to a page”) and want to find its master spread, use
IMasterPage::GetMasterPageUID.

Related APIs

 IMasterPage

 IMasterSpread

 kMasterPagesBoss

 kPageBoss

Creating a master spread


Solution

Use kNewMasterSpreadCmdBoss.

Related documentation

 “Copying a master spread”

Related APIs

 IMasterPage

 kMasterPagesBoss

 IMasterSpread

 IMasterSpreadList

 kPageBoss

You might also like