InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAutoLayoutHandler Class Referenceabstract

#include <IAutoLayoutHandler.h>

Inheritance diagram for IAutoLayoutHandler:
IPMUnknown

Public Member Functions

virtual void HandleCommand (ICommand *cmd)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

FOR INTERNAL USE ONLY. An interface class for handling command actions on behalf of the Layout Adjustment feature. Used in FrameworkObserver::Update().

Member Function Documentation

virtual void IAutoLayoutHandler::HandleCommand (ICommandcmd)
pure virtual

Perform layout-adjustment operations on behalf the the passed-in command. Called by FrameworkObserver::Update(), and must handle both the kNotDone and kDone instances of the command (FrameworkObserver catches both moments in the command's lifecycle). See CAutoLayoutHandler.h for current usage example.

Parameters
cmdIN pointer to the command being intercepted