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

Public Types | |
| enum | { kDefaultIID = IID_IPREFLIGHTRULEINFO } |
| enum | AlertStatus { kDisabled, kInfo, kWarning, kError } |
Public Member Functions | |
| virtual void | SetParentProfile (IPreflightProfile *iParent)=0 |
| virtual IPreflightProfile * | QueryParentProfile () const =0 |
| virtual void | SetRuleID (PreflightRuleID ruleID)=0 |
| virtual PreflightRuleID | GetRuleID () const =0 |
| virtual void | SetAlertStatus (AlertStatus newStatus)=0 |
| virtual AlertStatus | GetAlertStatus () const =0 |
| virtual void | SetIsFullPreflightModeOnly (bool isFullOnly)=0 |
| virtual bool | IsFullPreflightModeOnly () const =0 |
| virtual void | SetRuleDescription (const PMString &desc)=0 |
| virtual PMString | GetRuleDescription () const =0 |
| virtual void | SetPluginDescription (const PMString &desc)=0 |
| virtual PMString | GetPluginDescription () const =0 |
| virtual void | CopyFrom (const IPreflightRuleInfo *iSrc)=0 |
| virtual bool | IsEqual (const IPreflightRuleInfo *iOther) 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 |
This interface maintains the high-level information about a rule. Other interfaces on the same boss provide other critical information and functionality.
Alert status. Note that at this time only kDisabled and kError are used/honored. We may use the other options in a future version of the feature.
| pure virtual |
Utility: copy the settings from another interface (except the parent link).
| iSrc | IN The source data from which to copy. |
| pure virtual |
Get the alert status. At the moment this only uses two values: kDisabled and kError. kDisabled means the rule is not active; kError means it is.
| pure virtual |
Get the backup plugin string we'll display if the plugin is missing later.
| pure virtual |
Get the backup string we'll display if the plugin is missing later.
| pure virtual |
Get the unique ID for this rule.
| pure virtual |
Determines whether the properties are the same as another (not including the parent link).
| iOther | IN The other info interface to compare against. |
| pure virtual |
Not currently used but might be in future.
| pure virtual |
Get the parent profile for this rule.
| pure virtual |
Set the alert status. At the moment this only uses two values: kDisabled and kError. kDisabled means the rule is not active; kError means it is.
| newStatus | IN The new status. |
| pure virtual |
Not currently used but might be in future.
| isFullOnly | IN Full preflight flag. |
| pure virtual |
Establish a link to the parent profile, since we need to walk the tree from time to time.. plus the child needs to be able to tell the parent about changes to the rule and plugin descriptions.
| iParent | IN The parent. Note that we do NOT refcount this interface to avoid circular references. |
| pure virtual |
Set the backup plugin string we'll display if the plugin is missing later.
| desc | IN The backup plugin description string. |
| pure virtual |
Set the backup string we'll display if the plugin is missing later.
| desc | IN The new description. |
| pure virtual |
Set the ID for this rule. The ID is a unique string that identifies the rule. (The string does not appear in the UI anywhere.)
| ruleID | IN The new ID. |