InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
kSetPageSetupPrefsCmdBoss Class Reference

#include <SynthObjModel.h>

Inheritance diagram for kSetPageSetupPrefsCmdBoss:

Public Member Functions

IBoolData IID_IBOOLDATA
 
IUIDData IID_IUIDDATA
 
IPMUnknown IID_IDOCSETUPCMDDATA
 
IApplyMasterCmdData IID_IAPPLYMASTERCMDDATA
 
ICommand IID_ICOMMAND
 
IIntData IID_IINTDATA
 

Detailed Description

 This command edits page setup preferences (IPageSetupPrefs).

Postcondition
If a document's preferences are edited the changes are applied to all pages in the document. For example, if the page size is changed all pages in the document are resized accordingly.
Item list input
None (IDocSetupCmdData indicates the object to be edited)
Item list output
None
Observer notification
Responder notification
None
See Also
IPageSetupPrefs, kDocWorkspaceBoss stores the preferences for the document, kWorkspaceBoss stores the default preferences inherited by new documents, kDocStyleBoss stores preset preferences that can be used to create new documents

Member Function Documentation

IApplyMasterCmdData kSetPageSetupPrefsCmdBoss::IID_IAPPLYMASTERCMDDATA

IN IApplyMasterCmdData, identifies the default master to be applied to new pages.

  • Implementation: kApplyMasterCmdDataImpl
  • Available in:
  • Class from:
IBoolData kSetPageSetupPrefsCmdBoss::IID_IBOOLDATA
     IN IBoolData, kTrue = skip island spreads when changing the pages-per-spread preference (default),

kFalse = change island spreads into regular spreads that conform to the pages-per-spread preference.

    <ul>

    <li>Implementation: kBoolDataImpl</li>

    <li>Available in: </li>

    <li>Class from:</li>

    </ul>
ICommand kSetPageSetupPrefsCmdBoss::IID_ICOMMAND

ICommand implementation.

  • Implementation: kSetPageSetupPrefsCmdImpl
  • Available in:
  • Class from:
IPMUnknown kSetPageSetupPrefsCmdBoss::IID_IDOCSETUPCMDDATA
     IN IDocSetupCmdData; the boss object to be edited is indicated by data interfaces on this command as follows:

  • to edit the document workspace (kDocWorkspaceBoss) pass the UIDRef of the document (kDocBoss) in this interface,
  • to edit a document style (kDocStyleBoss) pass an invalid UIDRef this interface and pass the UIDRef of the style in this command's IUIDData interface,
  • to edit the session workspace (kWorkspaceBoss) pass an invalid UIDRef in this interface.
        <ul>
    
        <li>Implementation: kDocSetupCmdDataImpl</li>
    
        <li>Available in: </li>
    
        <li>Class from:</li>
    
        </ul>
IIntData kSetPageSetupPrefsCmdBoss::IID_IINTDATA

IN IIntData, 1 = Command is invoked by New(can't undo), 0 = Command is invoked by Document Setup(can undo)

  • Implementation: kIntDataImpl
  • Available in:
  • Class from:
IUIDData kSetPageSetupPrefsCmdBoss::IID_IUIDDATA

IN IUIDData, references the style (kDocStyleBoss) to be edited (if any).

  • Implementation: kUIDDataImpl
  • Available in:
  • Class from: