![]() | InDesign SDK 20.5 |
#include <SynthObjModel.h>

This command creates pages in a document and sets the current spread
in the view indicated by the ILayoutCmdData interface of the command to the spread containing the new pages, scrolling the view to the spread.
| IApplyMasterCmdData kNewPageSetSpreadCmdBoss::IID_IAPPLYMASTERCMDDATA |
IApplyMasterCmdData, identifies the master to be applied.
| IPMUnknown kNewPageSetSpreadCmdBoss::IID_IBINDINGSIDE |
IN IIntData, specifies the side of the binding line (default ISpread::kDefaultBindingSide).
<ul>
<li>Implementation: kPersistIntDataImpl</li>
<li>Available in: </li>
<li>Class from:</li>
</ul>| ICommand kNewPageSetSpreadCmdBoss::IID_ICOMMAND |
ICommand implementation.
| ILayoutCmdData kNewPageSetSpreadCmdBoss::IID_ILAYOUTCMDDATA |
IN ILayoutCmdData, parameterizes the view to be scrolled to display the new page.
| IPageCmdData kNewPageSetSpreadCmdBoss::IID_IPAGECMDDATA |
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>| IPMUnknown kNewPageSetSpreadCmdBoss::IID_IREPAGINATEFLAG |
IN IBoolData, kTrue = repaginate, kFalse= don't repaginate only used for book
<ul>
<li>Implementation: kRepaginateFlagImpl</li>
<li>Available in: </li>
<li>Class from:</li>
</ul>| IPMUnknown kNewPageSetSpreadCmdBoss::IID_ISETLAYOUTPOLICYCMDDATA |
IN Allows new pages to have a specified layout policy, defaults to kNoLayoutPolicy.
<ul>
<li>Implementation: kSetLayoutPolicyCmdDataImpl</li>
<li>Available in: </li>
<li>Class from:</li>
</ul>