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

#include <IPreflightFacade.h>

Inheritance diagram for Facade::IPreflightFacade:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IPREFLIGHTFACADE }
 

Public Member Functions

virtual void TurnOnPreflighting (IDataBase *iTargetDB)=0
 
virtual void TurnOffPreflighting (IDataBase *iTargetDB)=0
 
virtual bool16 IsPreflightingOn (IDataBase *iTargetDB) const =0
 
virtual void SetEmbedProfileInNewDocuments (bool16 autoEmbed)=0
 
virtual bool16 GetEmbedProfileInNewDocuments (void) const =0
 
virtual void SetOpenDocumentPolicy (IPreflightOptions::PreflightProfilePolicy &profilePolicy)=0
 
virtual
IPreflightOptions::PreflightProfilePolicy 
GetOpenDocumentPolicy (void) const =0
 
virtual void SetIncludeLayers (IDataBase *iTargetDB, const IPreflightOptions::LayerOptions whichLayer)=0
 
virtual
IPreflightOptions::LayerOptions 
GetIncludeLayers (IDataBase *iTargetDB) const =0
 
virtual void SetIncludeObjectsOnPasteboard (IDataBase *iTargetDB, const bool16 onOff)=0
 
virtual bool16 GetIncludeObjectsOnPasteboard (IDataBase *) const =0
 
virtual void SetIncludeNonPrintingObjects (IDataBase *, const bool16 onOff)=0
 
virtual bool16 GetIncludeNonPrintingObjects (IDataBase *) const =0
 
virtual void SetPreflightScope (IDataBase *iTargetDB, const IPreflightOptions::PreflightScope &scope, PMString *pPageRange=nil)=0
 
virtual
IPreflightOptions::PreflightScope 
GetPreflightScope (IDataBase *iTargetDB) const =0
 
virtual void GetPreflightScopePageRange (IDataBase *iTargetDB, PMString &pageRange) const =0
 
virtual void SetWorkingProfile (IDataBase *iTargetDB, const UIDRef &preflightProfile)=0
 
virtual UIDRef GetWorkingProfile (IDataBase *iTargetDB) const =0
 
virtual ErrorCode CreateProfile (const PMString &profileName, const PMString &profileDesc, bool prepopulateRules, UID *newProfileUID)=0
 
virtual ErrorCode DeleteProfile (const UIDRef &profileRef)=0
 
virtual ErrorCode DuplicateProfile (IDataBase *targetDB, const UIDRef &refSrcProfile, UID *newProfileUID)=0
 
virtual ErrorCode EmbedProfile (IDataBase *docDB, const UIDRef &refProfileToEmbed, UID *embeddedProfileUID)=0
 
virtual ErrorCode UnembedProfile (IDataBase *docDB, bool copyEmbeddedToApplication=kTrue)=0
 
virtual ErrorCode LoadPreflightProfileFromFile (const IDFile &sourceFile, UID *pNewProfileUID, bool16 showAlert)=0
 
virtual ErrorCode ExportPreflightProfileAsINX (const UIDRef &preflightProfile, const IDFile &exportFile)=0
 
virtual void GetAllProfiles (UIDList &profileList) const =0
 
virtual void GetProfileName (const UIDRef &preflightProfile, PMString &profileName) const =0
 
virtual ErrorCode SetProfileName (const UIDRef preflightProfile, const PMString &profileName)=0
 
virtual void GetProfileDescription (const UIDRef &preflightProfile, PMString &profileDesc) const =0
 
virtual ErrorCode SetProfileDescription (const UIDRef &preflightProfile, const PMString &profileDesc)=0
 
virtual UID GetRule (const UIDRef preflightProfile, const PreflightRuleID &ruleID) const =0
 
virtual UID GetNthRule (const UIDRef preflightProfile, int16 n) const =0
 
virtual int32 GetProfileRuleCount (const UIDRef preflightProfile) const =0
 
virtual ErrorCode RemoveAllRules (const UIDRef preflightProfile)=0
 
virtual ErrorCode UpdateEachRulesData (const UIDList &profiles)=0
 
virtual ErrorCode CreateRule (const UIDRef &preflightProfile, const PreflightRuleID &ruleID, UID *pNewRuleUID)=0
 
virtual ErrorCode DeleteRule (const UIDRef &rule)=0
 
virtual void GetAllCategories (K2Vector< PMString > &allCategories) const =0
 
virtual void GetRulesInCategory (const PMString &category, PreflightRuleIDVector &rules) const =0
 
virtual PMString GetRuleCategory (const UIDRef &rule) const =0
 
virtual PreflightRuleID GetRuleID (const UIDRef &rule) const =0
 
virtual bool16 IsRuleEnabled (const UIDRef &rule) const =0
 
virtual ErrorCode EnableRule (const UIDRef &rule, bool isEnabled)=0
 
virtual PMString GetRuleDescription (const UIDRef &rule) const =0
 
virtual ErrorCode SetRuleData (const UIDRef &rule, const IPreflightRuleData::Key &key, const ScriptData &value)=0
 
virtual ErrorCode GetRuleData (const UIDRef &rule, const IPreflightRuleData::Key &key, ScriptData &value, bool *pExist) const =0
 
virtual bool16 ArePreflightResultsAvailable (IDataBase *iTargetDB) const =0
 
virtual void GetPreflightResults (IDataBase *iTargetDB, ScriptListData &results) const =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

This facade provides services for obtaining and modifying the preflight engine that is new to InDesign CS4. This preflight engine supports preflight profiles, extensible rule sets, and background (idle loop) as well as synchronous preflight.

Working from the top down, the important interfaces and objects in the preflight domain include the following.

Preflight profiles: These are bosses which represent a named set of rules and rule parameters. A list of these is maintained at the application and document levels by the IPreflightProfileManager interface.

See Also
IPreflightProfileManager
IPreflightProfile
IPreflightProfileUtils

Each preflight profile maintains a list of profile rules. These rules are bosses created by preflight rule services. InDesign has a native rule service boss which implements all the rules that ship with the application. Anyone can implement a rule service which extends the set of rules that work with the application.

See Also
IPreflightProfileRules
IPreflightRuleService

The engine itself is governed by the application-level IPreflightProcessManager and each instance of a profile being cheked against a document is represented by an in-memory Preflight Process boss that hosts an IPreflightProcess interface.

See Also
IPreflightProcessManager
IPreflightProcess

The preflight process is basically a state machine with a database attached. The state machine uses the database to keep track of what parts of the document have been examined against the set of rules in its assigned profile, and what results if any were found during that traversal. Since preflight works in the background, changes to the document require selective invalidation of portions of the database and subsequent re-investigation of those portions.

The preflight process is actually governed by two inputs. The first is the preflight profile, which of course provides the rules and rule parameters. The second is the preflight options, which control the filtering of objects that the rules are shown.

See Also
IPreflightOptions

Another core piece of the preflight feature is the preflight object model. This is the mechanism by which preflight rules can access information in the document including information that has no other API; it also allows preflight to maintain information about documents that aren't open at the moment; and it's extensible so that a developer can introduce its own hierarchy and objects. The preflight object model is implemented via a service and abstracted/multiplexed at the application level via IPreflightObjectModel.

See Also
IPreflightObjectModel
IPreflightObjectModelService

Preflight also works at the book level. The IPreflightBookRef interface sits on the book and maintains a reference to an in-memory preflight book object. This object shadows the book's content and records the preflight results for each chapter. It also has an IPreflightBookController interface which drives the state machine of book preflight, which is not a background operation.

See Also
IPreflightBookRef
IPreflightBookData
IPreflightBookOptions
IPreflightBookController
IPreflightBookContentData
IPreflightBookUtils

This facade doesn't attempt to cover everything above. In particular the extensible pieces, rule and object model services, are not represented here because they're well defined in their own interface headers. Instead this facade concentrates on the maintenance of preflight profiles, their rule settings, and getting/setting the parameters assigned to document preflight processes.

Member Function Documentation

virtual bool16 Facade::IPreflightFacade::ArePreflightResultsAvailable (IDataBaseiTargetDB) const
pure virtual

Preflight result related facade.Return true if the active preflight process for the specified database has completed and aggregated result are available.

Parameters
iTargetDBis the database of the preflight process result.
Returns
true is results are available; otherwise returns false.
virtual ErrorCode Facade::IPreflightFacade::CreateProfile (const PMStringprofileName,
const PMStringprofileDesc,
bool prepopulateRules,
UIDnewProfileUID 
)
pure virtual

The Preflight profile facade methodsThis method does the following:

  • Create a new preflight profile with a specified name/description application default database;
  • Add it to that database's preflight profile manager;
  • Optionally return the new profile's UID.
Parameters
profileNameIN The name to use for the new profile.
See Also
IPreflightProfileManager::GetUniqueProfileName to ensure a unique name.
Parameters
profileDescIN The longer description of the profile.
prepopulateRulesIN kTrue if you want to prepopulate the rule list for the new profile with all rules registered with the rule manager; the rules will be disabled but present with default settings. If kFalse, the profile will not have any rules and will need to be added 'manually.'
newProfileUIDreceives the UID of new profile. If profile is not created, kInvalidUID is returned.
Returns
kSuccess or an error code from the command.
virtual ErrorCode Facade::IPreflightFacade::CreateRule (const UIDRefpreflightProfile,
const PreflightRuleIDruleID,
UIDpNewRuleUID 
)
pure virtual

Create an instance of rule ID in the database

Parameters
preflightProfileIN The target profile in which to create the rule.
ruleIDIN The rule to create.
pNewRuleUIDOUT If not nil, contains the new rule UID.
virtual ErrorCode Facade::IPreflightFacade::DeleteProfile (const UIDRefprofileRef)
pure virtual

Delete the specified profile. This removes the profile from its database's profile manager list and then deletes the UID of the profile and all rules.

Parameters
profileRefis the profile to delete.
Returns
kSuccess or an error code from the command.
virtual ErrorCode Facade::IPreflightFacade::DeleteRule (const UIDRefrule)
pure virtual

Delete athe specified rule

Parameters
ruleIN The rule to delete.
pNewRuleUIDOUT If not nil, contains the new rule UID.
virtual ErrorCode Facade::IPreflightFacade::DuplicateProfile (IDataBasetargetDB,
const UIDRefrefSrcProfile,
UIDnewProfileUID 
)
pure virtual

Duplicate the specified profile in the specified target database (which can be the same database as the source profile). The name of the new profile is autogenerated via GetUniqueProfileName() using the source profile's name.

Parameters
targetDBis the database in which the new profile should be created (and the corresponding IPreflightProfileManager that will receive the new profile). If nil, the new profile will be created in the default document (aka app).
srcProfileRefis the UIDRef of the profile to duplicate.
newProfileUIDreceives the UID of the duplicate (or kInvalidUID if error). This UID will be in the target DB.
Returns
kSuccess or an error code from the command.
virtual ErrorCode Facade::IPreflightFacade::EmbedProfile (IDataBasedocDB,
const UIDRefrefProfileToEmbed,
UIDembeddedProfileUID 
)
pure virtual

Embed a profile in a document. This creates a copy of an application level profile in a document, removing any existing document profile.

Parameters
docDBis the target document database.
refProfileToEmbedis the application-level profile to embed.
embeddedProfileUIDif not nil receives the resulting profile UID in the document.
Returns
kSuccess or an error code from the command.
virtual ErrorCode Facade::IPreflightFacade::EnableRule (const UIDRefrule,
bool isEnabled 
)
pure virtual

Enable or disable the specified rule.

Parameters
ruleIN The rule.
isEnabledIN Enable the rule if true; otherwise disable the rule.
virtual ErrorCode Facade::IPreflightFacade::ExportPreflightProfileAsINX (const UIDRefpreflightProfile,
const IDFileexportFile 
)
pure virtual

Export a preflight profile as an InDesign preflight profile file.

Parameters
iProfileis the preflight profile to export.
exportFileis the IDFile to export to.
Returns
kSuccess or an error code.
virtual void Facade::IPreflightFacade::GetAllCategories (K2Vector< PMString > & allCategories) const
pure virtual

Returns a list of rule categories supported

Parameters
allCategoriesOUT The list of all categories
virtual void Facade::IPreflightFacade::GetAllProfiles (UIDListprofileList) const
pure virtual

Returns a list of all the profiles in the application profile list.

Parameters
profileListOut The list containing the profiles..
virtual bool16 Facade::IPreflightFacade::GetEmbedProfileInNewDocuments (void ) const
pure virtual
Returns
true if auto embed the wokring profile in the new document.
virtual IPreflightOptions::LayerOptions Facade::IPreflightFacade::GetIncludeLayers (IDataBaseiTargetDB) const
pure virtual
Returns
the current preflight include layer preference for the specified database.
virtual bool16 Facade::IPreflightFacade::GetIncludeNonPrintingObjects (IDataBase) const
pure virtual
Returns
the current preflight include non-printing objects preference for the specified database.
virtual bool16 Facade::IPreflightFacade::GetIncludeObjectsOnPasteboard (IDataBase) const
pure virtual
Returns
the current preflight include objects on pasteborad preference for the specified database.
virtual UID Facade::IPreflightFacade::GetNthRule (const UIDRef preflightProfile,
int16 n 
) const
pure virtual

Returns the nth rule UID in the given preflight profile.

Parameters
preflighProfileIN The preflight profile.
nIN The nth rule UID to get.
Returns
rule UID or kInvalidUID.
virtual IPreflightOptions::PreflightProfilePolicy Facade::IPreflightFacade::GetOpenDocumentPolicy (void ) const
pure virtual
Returns
the current default preflight profile policy for opening existing document.
virtual void Facade::IPreflightFacade::GetPreflightResults (IDataBaseiTargetDB,
ScriptListData & results 
) const
pure virtual

Return the aggregated result for the active preflight process of the specified database

Parameters
iTargetDBis the database of the preflight process result.
resultsis aggregated results. The results are formated as key-value pairs: document name key (string) document name (string) profile name key (string) profile name (string) ResultEntryKey (string) list of string arrays entries for error nodes.

Each of the string array describes an error node with the following:

  1. Node ID (int32)
  2. Error name (string)
  3. Page number (string)
virtual IPreflightOptions::PreflightScope Facade::IPreflightFacade::GetPreflightScope (IDataBaseiTargetDB) const
pure virtual

Returns the preflight scope for the specified document database. If hte database is a application default database, the scope is always set to IPreflightOptions::kAllPages.

Parameters
iTargetDBis the database.
Returns
the current scope.
See Also
also IPreflightOptions.h
virtual void Facade::IPreflightFacade::GetPreflightScopePageRange (IDataBaseiTargetDB,
PMStringpageRange 
) const
pure virtual

Returns the preflight scope's page range for the specified document database. If hte database is a application default database, the scope page range is always set to an empty string.

Parameters
iTargetDBis the database.
pageRangethe current scope page range.
See Also
also IPreflightOptions.h
virtual void Facade::IPreflightFacade::GetProfileDescription (const UIDRefpreflightProfile,
PMStringprofileDesc 
) const
pure virtual

Returns the profile description for the specified profile.

Parameters
profileRefIN The UIDRef of the profile.
profileDescOUT The profile description of the specified preflight profile.
virtual void Facade::IPreflightFacade::GetProfileName (const UIDRefpreflightProfile,
PMStringprofileName 
) const
pure virtual

Returns the profile name for the specified profile.

Parameters
profileRefIN The UIDRef of the profile.
profileNameOUT The profile name of the specified preflight profile.
virtual int32 Facade::IPreflightFacade::GetProfileRuleCount (const UIDRef preflightProfile) const
pure virtual

Returns the number of rules in the given preflight profile.

Parameters
preflighProfileIN The preflight profile.
Returns
the number rules in the profile.
virtual UID Facade::IPreflightFacade::GetRule (const UIDRef preflightProfile,
const PreflightRuleIDruleID 
) const
pure virtual

The Preflight profile rules facade methodsReturns the rule UID for the specified ruleID in the given preflight profile.

Parameters
preflighProfileIN The preflight profile.
ruleIDIN The rule ID in the preflight profile.
Returns
the corresponding rule UID for the specified ruleID in the profile.
virtual PMString Facade::IPreflightFacade::GetRuleCategory (const UIDRefrule) const
pure virtual

Returns the category for the specified rule.

Parameters
ruleIN The rule.
Returns
the rule category.
virtual ErrorCode Facade::IPreflightFacade::GetRuleData (const UIDRefrule,
const IPreflightRuleData::Keykey,
ScriptDatavalue,
bool * pExist 
) const
pure virtual

Get rule data for the specified rule.

Parameters
ruleIN The rule.
keyIN The data parameter key.
valueOUT The data parameter value corresponding to the key.
pExistOUT If not nil, this is true if the specified data key exists for the rule; otherwise, it is false.
Returns
kSuccess if data set correctly; otherwise returns kFailure.
virtual PMString Facade::IPreflightFacade::GetRuleDescription (const UIDRefrule) const
pure virtual

Returns the rule description for the specified rule. Rule description cannot be edited.

Parameters
ruleIN The rule.
Returns
rule description.
virtual PreflightRuleID Facade::IPreflightFacade::GetRuleID (const UIDRefrule) const
pure virtual

Returns the rule ID for the specified rule.

Parameters
ruleIN The rule.
Returns
the rule ID.
virtual void Facade::IPreflightFacade::GetRulesInCategory (const PMStringcategory,
PreflightRuleIDVectorrules 
) const
pure virtual

Returns a list of rules in the specified category.

Parameters
categoryIN The rule category.
rulesOUT The list of rules for the specified category.
virtual UIDRef Facade::IPreflightFacade::GetWorkingProfile (IDataBaseiTargetDB) const
pure virtual

Get the current working preflight profile for the specified database. The working profile will have the same database if it's the document's embedded profile. Or the working profile is a profile in the application's profile list.

Parameters
iTargetDBis the database.
Returns
the UIDRef of the working profile.
virtual bool16 Facade::IPreflightFacade::IsPreflightingOn (IDataBaseiTargetDB) const
pure virtual

Returns true if preflight is turned on for the given database.

Parameters
iTargetDBis the specified database If nil, application default database is assumed.
virtual bool16 Facade::IPreflightFacade::IsRuleEnabled (const UIDRefrule) const
pure virtual
Returns
true if this rule is enabled in the profile.
virtual ErrorCode Facade::IPreflightFacade::LoadPreflightProfileFromFile (const IDFilesourceFile,
UIDpNewProfileUID,
bool16 showAlert 
)
pure virtual

Import a preflight profile from a file. This file can be a InDesign preflight profile file (IDPP) or an InDesign document.

Parameters
sourceFileis the file to import from.
pNewProfileUIDis the UID of the profile imported from the specified INX file.
showAlertis true if alert should be shown for errors.
Returns
kSuccess or an error code.
virtual ErrorCode Facade::IPreflightFacade::RemoveAllRules (const UIDRef preflightProfile)
pure virtual

Remove all rules in the given profile

Parameters
preflighProfileIN The preflight profile.
virtual void Facade::IPreflightFacade::SetEmbedProfileInNewDocuments (bool16 autoEmbed)
pure virtual

Set to true if the current default working preflight profile should be automatically embedded when creating a new document. This is an application level only preference setting.

Parameters
autoEmbedis true if auto embed the working profile in the new document.
virtual void Facade::IPreflightFacade::SetIncludeLayers (IDataBaseiTargetDB,
const IPreflightOptions::LayerOptions whichLayer 
)
pure virtual

Set the preflight's include layer options for the specified database. If the database is the application default database, this setting is applied to new documents and when opening documents. If the database is a document database, this setting is only valid for as long as the document stayed opened. The setting is not saved with the document. When the document is opened again, this setting is initialized to the current application default.

Parameters
iTargetDBis the database.
whichLayeris the include layer option to set.
See Also
also IPreflightOptions.h
virtual void Facade::IPreflightFacade::SetIncludeNonPrintingObjects (IDataBase,
const bool16 onOff 
)
pure virtual

Set the preflight's include non-printing objects preference for the specified database. If the database is the application default database, this setting is applied to new documents and when opening documents. If the database is a document database, this setting is only valid for as long as the document stayed opened. The setting is not saved with the document. When the document is opened again, this setting is initialized to the current application default.

Parameters
iTargetDBis the database.
onOffis true if set inclusion to true; otherwise set to false.
See Also
also IPreflightOptions.h
virtual void Facade::IPreflightFacade::SetIncludeObjectsOnPasteboard (IDataBaseiTargetDB,
const bool16 onOff 
)
pure virtual

Set the preflight's include objects on pasteboard preference for the specified database. If the database is the application default database, this setting is applied to new documents and when opening documents. If the database is a document database, this setting is only valid for as long as the document stayed opened. The setting is not saved with the document. When the document is opened again, this setting is initialized to the current application default.

Parameters
iTargetDBis the database.
onOffis true if set inclusion to true; otherwise set to false.
See Also
also IPreflightOptions.h
virtual void Facade::IPreflightFacade::SetOpenDocumentPolicy (IPreflightOptions::PreflightProfilePolicyprofilePolicy)
pure virtual

Set the preflight profile policy for openeing existing document. This is an application level only preference setting.

Parameters
profilePolicy
See Also
also IPreflightOptions.h
virtual void Facade::IPreflightFacade::SetPreflightScope (IDataBaseiTargetDB,
const IPreflightOptions::PreflightScopescope,
PMStringpPageRange = nil 
)
pure virtual

Set the preflight's scope preference for the specified database. This setting is only applicable if database is a document database. If the database is a application default database, the setting is ignored.

Parameters
iTargetDBis the database.
scopeis the preflight scope to set to.
pPageRangeif not nil sets the page ranges. This parameter is only useful if setting scope to kPageRange.
See Also
also IPreflightOptions.h
virtual ErrorCode Facade::IPreflightFacade::SetProfileDescription (const UIDRefpreflightProfile,
const PMStringprofileDesc 
)
pure virtual

Sets the new profile description for the specified profile.

Parameters
profileRefIN The UIDRef of the profile.
profileDescIN The profile description to set.
virtual ErrorCode Facade::IPreflightFacade::SetProfileName (const UIDRef preflightProfile,
const PMStringprofileName 
)
pure virtual

Sets the new profile name for the specified profile.

Parameters
profileRefIN The UIDRef of the profile.
profileNameIN The profile name to set.
virtual ErrorCode Facade::IPreflightFacade::SetRuleData (const UIDRefrule,
const IPreflightRuleData::Keykey,
const ScriptDatavalue 
)
pure virtual

Set rule data for the specified rule.

Parameters
ruleIN The rule.
keyIN The data parameter key.
valueIN The data parameter value.
Returns
kSuccess if data set correctly; otherwise returns kFailure.
virtual void Facade::IPreflightFacade::SetWorkingProfile (IDataBaseiTargetDB,
const UIDRefpreflightProfile 
)
pure virtual

Sets the working preflight profile for the given database. If the database is the application default database, this is the working space that will be set in the document when it is opened if the open document policy is set to use the working profile. If open policy is set to using the document embedded and the document does not have an embedded profile, then the document's working profile is set to the application default working profile when the document if first opened.

See Also
also SetOpenDocumentPolicy

This is also the working profile to auto-embed if

See Also
also SetEmbedProfileInNewDocuments
virtual void Facade::IPreflightFacade::TurnOffPreflighting (IDataBaseiTargetDB)
pure virtual

Turn preflight off for the specified data base. If the database is the application default database, this action affects all new documents as well as all currently opened documents. If the database is a document database, then preflight is turned off for this document only.

Parameters
iTargetDBis the database for which the preflighting is turned off. If nil, application default database is assumed.
virtual void Facade::IPreflightFacade::TurnOnPreflighting (IDataBaseiTargetDB)
pure virtual

The Preflight preferences facade methodsTurn preflight on for the specified data base. If the database is the application default database, this action affects all new documents as well as all currently opened documents. If the database is a document database, then preflight is turned on for this document only.

Parameters
iTargetDBis the database for which the preflighting is turned on. If nil, application default database is assumed.
virtual ErrorCode Facade::IPreflightFacade::UnembedProfile (IDataBasedocDB,
bool copyEmbeddedToApplication = kTrue 
)
pure virtual

Unembed the document profile. This simply deletes any existing profiles in the document.

Parameters
docDBis the target document.
copyEmbeddedToApplicationIN Specifies whether to apply the default behavior that the currently-embedded profile in the document, if any, will be copied to the application level list of profiles if a profile by that name does not currently exist at the application level. If this argument is false then this method does a simple unembed without any copying.
Returns
kSuccess or an error code from the command.
virtual ErrorCode Facade::IPreflightFacade::UpdateEachRulesData (const UIDListprofiles)
pure virtual

Give all of the rules in the specified profile(s) a chance to update their parameter values. If a rule's parameters change from one version to another it may need to tweak the parameters.

Parameters
profilesIN A list of the profiles to update.
Returns
kSuccess or an error code from the command.