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

Public Types | |
| enum | { kDefaultIID = IID_ISETSPREADCOMMANDDATA } |
| enum | MessageFlags { kActiveSpread_InitializationType = 0x0000, kActiveSpread_SpreadToSpreadType = 0x0001, kActiveSpread_MasterToMasterType = 0x0002, kActiveSpread_MasterToSpreadType = 0x0004, kActiveSpread_SpreadToMasterType = 0x0004, kActiveSpread_SetPageType = 0x0008 } |
Public Member Functions | |
| virtual void | Set (bool16 bDeselect, bool16 bWithinSetPageCmd=kFalse)=0 |
| virtual bool16 | GetDeselect (void) const =0 |
| virtual bool16 | GetWithinSetPageCmd (void) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Command data interface for the kSetSpreadCmdBoss. The command data controls whether to deselect all items when executing this command. All items that are selected in the layout suite (ILayoutSelectionSuite) will be deselected.
Further defines the IID_IACTIVESPREAD submessage broadcast in an int32 lazy cookie on IID_IACTIVESPREAD protocol. May be retrieved in a LazyUpdate method for observers of the IID_IACTIVESPREAD protocol (Layout window subject). For example, taken from a LazyUpdate observer method: case IID_IACTIVESPREAD: { int32 spreadChangedMessage = ISetSpreadCommandData::kActiveSpread_SpreadToSpreadType; const ListLazyNotificationData<int32>* pListCookie = static_cast<const ListLazyNotificationData<int32>* > (data); if (pListCookie) { K2Vector<int32> itemsChanged; pListCookie->BreakoutChanges (nil, nil, &itemsChanged); for (int32 n = 0; n < itemsChanged.size (); n++) spreadChangedMessage |= itemsChanged[n]; } } This replaces the now obsolete IChangedSpreadKindData.h interface, which has been removed for CS3.
| pure virtual |
Deselect - returns the value of the command data bDeselect parameter.
| pure virtual |
SetPage - returns the value of the command data bWithinSetPage parameter.
| pure virtual |
Set - Sets the value of the command data. All items that are selected in the layout suite (ILayoutSelectionSuite) will be deselected when set to kTrue.
| bool16 | - kTrue (kDeselect) to deselect, kFalse (kDontDeselect) to leave selection alone. |
| bool16 | - kTrue if the SetSpreadCmd has been processed within (or by) a SetPageCmd, kFalse if SetSpreadCmd is executing by itself. |