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

#include <PreflightRuleDataHelper.h>

Static Public Member Functions

static void AllowFont (IPreflightRuleData *iRuleData, const WideString &fontName)
 
static void DisallowFont (IPreflightRuleData *iRuleData, const WideString &fontName)
 
static bool16 IsAllowed (IPreflightRuleData *, const WideString &fontName)
 
static void NotifyRuleDataChanged (IPMUnknown *changeBy)
 

Detailed Description

Helper class for manipulating the rule data

Member Function Documentation

void PreflightRuleDataHelper::AllowFont (IPreflightRuleDataiRuleData,
const WideStringfontName 
)
static

Allow font to be used

Parameters
ruleRefIN The object that caused the change
fontNameIN The font name
void PreflightRuleDataHelper::DisallowFont (IPreflightRuleDataiRuleData,
const WideStringfontName 
)
static

Disallow font to be used

Parameters
ruleRefIN The object that caused the change
fontNameIN The font name
bool16 PreflightRuleDataHelper::IsAllowed (IPreflightRuleDataruleData,
const WideStringfontName 
)
static

Font is allowed or not

Parameters
ruleRefIN Preflight rule data object
fontNameIN The font name
Returns
allowed or not
void PreflightRuleDataHelper::NotifyRuleDataChanged (IPMUnknownchangeBy)
static

Notify "Preflight Profiles" dialog that rule data was changed

Parameters
changeByIN The object that caused the change