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

#include <DocWchUtils.h>

Public Member Functions

 DocWchUtils ()
 

Static Public Member Functions

static void GetDefaultDocFileHandler ()
 
static bool16 QueryDocResponderMode ()
 
static void DwAlert (UIDRef document, char *txtMsg)
 
static void InitDocWchModes ()
 
static void StartDocResponderMode ()
 
static void StopDocResponderMode ()
 

Detailed Description

DocWchUtils provides a set of utility methods for tracking which demo mode is active as well as formatting alerts.

Constructor & Destructor Documentation

DocWchUtils::DocWchUtils ()
inline

Constructor

Member Function Documentation

void DocWchUtils::DwAlert (UIDRef document,
char * txtMsg 
)
static

Show an information alert

Parameters
documentptr to document that is subject of file action.
txtMsgptr to null terminated char array. If it contains ^1, this method will replace it with the document name.
void DocWchUtils::InitDocWchModes ()
static

Initializes the static variables.

static bool16 DocWchUtils::QueryDocResponderMode ()
inlinestatic

Methods to find out what mode we're in.

static void DocWchUtils::StartDocResponderMode ()
inlinestatic

Controls the document Responder mode variable.