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

Public Types | |
| enum | { kDefaultIID = IID_IPREFLIGHTRESULTNODEDATA } |
| enum | InfoField { kFieldRequired, kFieldProblem, kFieldFix } |
Public Member Functions | |
| virtual void | SetObjectID (const PreflightObjectID &objID)=0 |
| virtual const PreflightObjectID & | GetObjectID () const =0 |
| virtual void | SetRootSortValue (const PreflightRuleID &ruleID)=0 |
| virtual void | SetRootSortValue (const PMString &s)=0 |
| virtual void | SetName (const PMString &name)=0 |
| virtual PMString | GetName () const =0 |
| virtual PMString | GetSortValue () const =0 |
| virtual WideString | GetUniqueString () const =0 |
| virtual void | AddInfoString (InfoField whichField, const PMString &s)=0 |
| virtual void | AddInfoString (const PMString &fieldLabel, const PMString &s)=0 |
| virtual PMString | GetInfoText () const =0 |
| virtual void | GetDescriptionPairs (IPreflightResultNodeInfo::DescriptionPairVector &pairs) const =0 |
| virtual IPreflightResultNodeInfo::NodeType | GetNodeType () const =0 |
| virtual void | SetNodeType (IPreflightResultNodeInfo::NodeType t)=0 |
| virtual PMString | GetPageNumber () const =0 |
| virtual void | SetPageNumber (const PMString &sPage)=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 "lives" on the result node created by IPreflightAggregatedResultsUtils. It serves as the data for the IPreflightResultNodeInfo, which is the generic accessor used by the rest of the preflight UI. So this is an implementation-dependent interface that isn't required/guaranteed on other IPreflightResultNodeInfo implementations.
The purpose of this interface is to allow for reasonable setup of a result node because they tend to carry a lot of data/strings that are painful to construct and pass in one step.
This interface lives on the kPreflightResultNodeBoss which exists only in memory.
| pure virtual |
Appends an info string.
| whichField | IN The prefix to put before the string. If kFieldCustom no prefix is added. |
| s | IN The string to add. |
| pure virtual |
Appends an info string with a custom field name.
| label | IN The label for the field. Do not include a colon, just the string. |
| s | IN The string to add. |
| pure virtual |
Gets the strings as a vector.
| pairs | OUT Receives a vector of description pairs |
| pure virtual |
Gets the single string representing the concatenated info string.
| pure virtual |
| pure virtual |
Get the node type that is reported via IPreflightResultNodeInfo.
| pure virtual |
Gets the object.
| pure virtual |
Get the page number that is reported via IPreflightResultNodeInfo.
| pure virtual |
Get the sorting string. This determines the sort order compared to others at the same hierarchy level.
| pure virtual |
Get a unique string – a hash, basically – which uniquely identifies the node apart from all others in a given results set. Typically this is built using the rule ID, object ID hash, etc. This is used to support mapping of results between invalidations in the UI since the IPreflightResultNode::NodeID can vary.
| pure virtual |
Sets the name, ie the string that appears in the tree view itself.
| pure virtual |
Set the node type reported via IPreflightResultNodeInfo.
| t | IN The new node type. |
| pure virtual |
Sets the object.
| pure virtual |
Set the page number reported via IPreflightResultNodeInfo.
| sPage | IN The new page number string. |
| pure virtual |
Sets the root sorting value automatically based on the rule.
| pure virtual |
Sets the root sorting value. This is used to control the sorting of nodes in the trees. For nodes with object IDs this isn't required unless you want to force results above or below the natural sorting ranges.