The desired usage for this interface is as follows:
Public Member Functions | |
HRESULT | Accept ([out] VARIANT_BOOL *pIsNewInstance,[out, retval] IDSSReportInstance ppReportInstance) |
The method lets the user retrieve the final report instance that includes all the modifications done by user. | |
HRESULT | AddDerivedMetric ([in] VARIANT *pInput,[in] Int32 Position,[in] BSTR Name,[in, optional] BSTR DisplayName) |
Adds a newly created metric to the subset template. | |
HRESULT | AddMetric ([in] IDSSObjectInfo *pObject,[in] Int32 Position,[in, optional] BSTR DisplayName) |
The method adds a metric or a prompt on metric to the view template. | |
HRESULT | AddPercentToTotalMetric ([in] IDSSMetric *pOriginalMetric,[in, defaultvalue(DssAxisNone)] Int32 AxesBitmap,[in, optional] IDSSCollection *pUnitsOnAxes,[in, optional] IDSSCollection *pUnits) |
Creates a "percent to total" metric starting from a given metric. | |
HRESULT | AddRankMetric ([in] IDSSMetric *pOriginalMetric,[in] VARIANT_BOOL Ascending,[in, optional] IDSSObjectInfo *pBreakByObject,[in, defaultvalue(FALSE)] VARIANT_BOOL Dynamic) |
Creates a "rank" metric starting from a given metric. | |
HRESULT | AddTransformationMetric ([in] IDSSMetric *pOriginalMetric,[in] IDSSRole *pRole,[in, defaultvalue(DssMetricFormulaIdentity)] EnumDSSMetricFormulaType eFormulaType) |
Creates a "transformation" metric starting from a given metric. | |
HRESULT | AddUnit ([in] IDSSObjectInfo *pObject,[in] Int32 AxisIndex,[in] Int32 UnitIndex,[in, optional] BSTR DisplayName) |
The method adds a template unit to the view template. | |
HRESULT | ApplyDeltaXML ([in] IDispatch *pDeltaXML,[in] IDSSXMLContext *pXMLContext,[out, retval] IDispatch ppElement) |
This method is used mainly for 4-tier manipulations. | |
HRESULT | ApplyFix () |
The method fixes the problem that found out by the subset validation so that the report instance can be executed as a subset report of a base report. | |
HRESULT | ApplyGraphDelta ([in] IDispatch *pPropertiesXML) |
Apply the graph manipulations as described by the XML that's passed in. | |
HRESULT | ApplyObjectLock ([in] IDSSObjectInfo *pObject,[in] VARIANT_BOOL Value) |
Sets a boolean property on a template unit or a template metric corresponding to the given object, meaning that the object should not be removed from the subset report. | |
HRESULT | ApplyStyle ([in] VARIANT *pStyle) |
The method uses the Style passed in, and applies it to the template of the report (view template if this is a subset report). | |
HRESULT | AxisSubtotals ([in] EnumDSSAxisName Axis,[in] EnumDSSSubtotalStyle Style,[in] VARIANT *pSubtotal,[in] IDSSMetric *pMetric) |
The method adds an axis subtotal for a metric or all the metrics on the template. | |
HRESULT | Cancel ([out, retval] IDSSReportInstance ppReportInstance) |
The method lets the user cancel all the report manipulations applied so far and returns the original report instance without any modification. | |
HRESULT | ChangeDisplayName ([in] IDSSObjectInfo *pObject,[in] BSTR DisplayName) |
Changes the Alias (Display Name) of a given object on the template. | |
HRESULT | ClearTemplate () |
Clears the subset template to a state similar to the one after creation. | |
HRESULT | ClearTemplateUnit ([in] IDSSObjectInfo *pObject) |
Clears the specified template unit to a state similar to the one after creation, with the difference that the metrics on the TemplateMetrics unit are preserved. | |
HRESULT | ConvertMetricIntoDerivedMetric ([in] IDSSMetric *pMetric) |
Note: This method is not supported in the 7. | |
HRESULT | FormatAxis ([in] EnumDSSAxisName Axis,[in] EnumDSSFormat Format,[in] IDispatch *pFormatXML) |
This method lets the user change a particular format on a particular axis. | |
HRESULT | FormatUnit ([in] IDSSObjectInfo *pObject,[in] EnumDSSFormat Format,[in] IDispatch *pFormatXML) |
This method lets the user change a particular format on a particular unit or metric. | |
HRESULT | HideBanding ([in] VARIANT_BOOL HideBanding) |
This method controls the hiding/showing of banding on the report. | |
HRESULT | HideSubtotals ([in] VARIANT_BOOL Value) |
This method controls the hiding/showing of subtotals on the template. | |
HRESULT | HideThresholds ([in] IDSSMetric *pMetric,[in] VARIANT_BOOL HideThresholds) |
This method controls the hiding/showing of thresholds for a particular metric or for all the metrics on the report. | |
HRESULT | Locale ([in] Int32 Locale) |
This read-write, numeric property represents a locale (combination of a location and language) to be used during certain manipulations. | |
HRESULT | Locale ([out, retval] Int32 *pLocale) |
This read-write, numeric property represents a locale (combination of a location and language) to be used during certain manipulations. | |
HRESULT | MakeNormal () |
The method attempts to change a report to a normal (i. | |
HRESULT | ManipulationType ([out, retval] EnumDSSManipulationType *pManipulationType) |
The method lets the user retrieve the latest aggregated manipulation type. | |
HRESULT | PageBy ([in] BSTR ElementID) |
The method sets a current element on a template unit. | |
HRESULT | PivotUnit ([in] IDSSObjectInfo *pObject,[in] Int32 AxisIndex,[in] Int32 UnitIndex) |
The method moves a template unit from one place on a template to another. | |
HRESULT | RemoveInaccessibleMetrics () |
This method checks and removes from the view template the metrics for which the user does not have Execute rights. | |
HRESULT | RemoveSorting ([in] EnumDSSAxisName Axis) |
Removes all sorting information (all sorts defined) on the given axis. | |
HRESULT | RemoveSubtotals ([in] IDSSMetric *pMetric) |
The method removes all subtotals associated with a metric or all metrics on the template. | |
HRESULT | RemoveUnit ([in] IDSSObjectInfo *pObject,[in, defaultvalue(TRUE)] VARIANT_BOOL TargetView) |
The method removes a template unit from either the view or the base template. | |
HRESULT | SetFilter ([in] IDSSFilter *pFilter,[in, defaultvalue(TRUE)] VARIANT_BOOL TargetView,[in, defaultvalue(DssEmbeddedModelInherit)] EnumDSSEmbeddedModel EmbeddedModel) |
Set a new filter to the report instance. | |
HRESULT | SetTemplate ([in] IDSSTemplate *pTemplate,[in, defaultvalue(TRUE)] VARIANT_BOOL TargetView,[in, defaultvalue(DssEmbeddedModelInherit)] EnumDSSEmbeddedModel EmbeddedModel) |
Set a new template to the report instance. | |
HRESULT | SetTemplatePrompt ([in] IDSSPrompt *pPrompt) |
This method sets the template prompt property on the base template. | |
HRESULT | Sort ([in] EnumDSSAxisName eAxis,[in] EnumDSSSortType eSortType,[in] VARIANT_BOOL Ascending,[in] EnumDSSSubtotalsPosition eSubtotalsPosition,[in] IDSSObjectInfo *pSortingObject,[in] VARIANT *pAdditionalInfo,[in] SAFEARRAY(BSTR)*pElementsArray) |
Adds a single key sort to a given axis, before any other existing sorts on the axis. | |
HRESULT | UnitSubtotals ([in] IDSSObjectInfo *pObject,[in] VARIANT_BOOL IsAdd,[in] VARIANT *pSubtotal,[in] IDSSMetric *pMetric) |
The method adds a unit subtotal for a metric or all the metrics on the template. | |
HRESULT | UpdateDerivedMetricExpression ([in] IDSSMetric *pMetric,[in] VARIANT *pInput,[in, optional] BSTR Name,[in, optional] BSTR DisplayName) |
Changes a derived metric by re-defining its expression. | |
HRESULT | ValidationIssues ([out, retval] IDSSValidationIssues ppValidationIssues) |
The report validator returns a collection of validation issues resulted from its checks on whether the report instance can be executed as a subset report of a base report (see also IDSSReportValidator). | |
HRESULT | ValidationLevel ([out, retval] EnumDSSValidationLevel *pValidationLevel) |
This property returns a code indicating whether the report instance can be executed as a subset report of a base report. |
|
The method lets the user retrieve the final report instance that includes all the modifications done by user. Once the user makes this call, she can no longer make any report manipulation operations on the report instance.
|
|
Adds a newly created metric to the subset template. The metric is specified through an expression that can refer to metrics on the base report, other derived metrics, or even metrics from outside the report. It can also be specified as a reference to an existing metric, in which case this is used as an "original" from which an identical copy is made, embedded in the view template (see also the section below for exceptions).
|
|
The method adds a metric or a prompt on metric to the view template.
|
|
Creates a "percent to total" metric starting from a given metric. The equivalent formula for the new metric is: OriginalMetric / (Sum(OriginalMetric){...Dimensionality...})
|
|
Creates a "rank" metric starting from a given metric. The equivalent formula for the new metric is: Rank(OriginalMetric).
|
|
Creates a "transformation" metric starting from a given metric. First, an Identity metric is created; it is equivalent to the original metric with additional transformation (pRole) information attached. If required, another metric is created based on the formula type, the original and the Identity metric. The equivalent formulae/results, based on the formula type, are:
|
|
The method adds a template unit to the view template. The object should be an attribute, a custom group, a consolidation, a metric, a dimension or a prompt.
|
|
This method is used mainly for 4-tier manipulations. It can be used as an indirect entry point for many other methods of this interface. The "pDeltaXML" parameter will list the manipulations requested by user in XML format, and the intermediate results (again in XML format) are returned in "ppElement".
|
|
The method fixes the problem that found out by the subset validation so that the report instance can be executed as a subset report of a base report.
|
|
Apply the graph manipulations as described by the XML that's passed in.
|
|
Sets a boolean property on a template unit or a template metric corresponding to the given object, meaning that the object should not be removed from the subset report. The "lock" is not enforced (it is only a suggestion) and is to be used at client's discretion.
|
|
The method uses the Style passed in, and applies it to the template of the report (view template if this is a subset report). Applying a style object will change the formatting of the template to match the style.
|
|
The method adds an axis subtotal for a metric or all the metrics on the template.
|
|
The method lets the user cancel all the report manipulations applied so far and returns the original report instance without any modification. Once the user makes the call, she can no longer make any report manipulation operations on the report instance.
|
|
Changes the Alias (Display Name) of a given object on the template.
|
|
Clears the subset template to a state similar to the one after creation.
|
|
Clears the specified template unit to a state similar to the one after creation, with the difference that the metrics on the TemplateMetrics unit are preserved. Basically the unit is removed, and then re-added to the template in the same position.
|
|
Note: This method is not supported in the 7. 2 release.
|
|
This method lets the user change a particular format on a particular axis. The user specifies what properties to set or unset on the format by passing in an XML node that contains properties in XML (see IDSSSource2 documentation for more on the XML structure).
|
|
This method lets the user change a particular format on a particular unit or metric. The user specifies the template unit by passing in the relevant DSSObject (e.g. attribute or metric). If the user passes in NULL, then the Metrics unit will be modified. The user specifies what properties to set or unset on the format by passing in an XML node that contains properties in XML (see IDSSSource2 documentation for more on the XML structure).
|
|
This method controls the hiding/showing of banding on the report.
|
|
This method controls the hiding/showing of subtotals on the template.
|
|
This method controls the hiding/showing of thresholds for a particular metric or for all the metrics on the report.
|
|
This read-write, numeric property represents a locale (combination of a location and language) to be used during certain manipulations. Currently, it is used by some of the manipulations that create metrics (e.g. AddPercentToTotalMetric) in the construction of localized default names for the metrics.
|
|
This read-write, numeric property represents a locale (combination of a location and language) to be used during certain manipulations. Currently, it is used by some of the manipulations that create metrics (e.g. AddPercentToTotalMetric) in the construction of localized default names for the metrics.
|
|
The method attempts to change a report to a normal (i. e. non-subset report). If the report is already a normal report, or if it needs to be a subset report, then this method will do nothing. If this method succeeds in changing the report then it will be considered a SQL manipulation.
|
|
The method lets the user retrieve the latest aggregated manipulation type.
|
|
The method sets a current element on a template unit. The template unit to which the current element applies is determined by information stored in the ElementID.
|
|
The method moves a template unit from one place on a template to another. If no object is specified, we interpret it as moving the template metrics unit.
|
|
This method checks and removes from the view template the metrics for which the user does not have Execute rights.
|
|
Removes all sorting information (all sorts defined) on the given axis.
|
|
The method removes all subtotals associated with a metric or all metrics on the template.
|
|
The method removes a template unit from either the view or the base template. If no object is specified, we interpret it as removing the template metrics unit.
|
|
Set a new filter to the report instance. The EmbeddedModel controls the embedded model of the result filter.
|
|
Set a new template to the report instance. The EmbeddedModel controls the embedded model of the result template.
|
|
This method sets the template prompt property on the base template.
|
|
Adds a single key sort to a given axis, before any other existing sorts on the axis.
|
|
The method adds a unit subtotal for a metric or all the metrics on the template.
|
|
Changes a derived metric by re-defining its expression. This is done either by re-parsing the expression from a text formula, or by copying the expression from a "source" metric (in which case an identical copy is used).
|
|
The report validator returns a collection of validation issues resulted from its checks on whether the report instance can be executed as a subset report of a base report (see also IDSSReportValidator). This property of the manipulator provides access to the collection of issues. In the case of validation level "recoverable", issues can be "fixed" by calling the ApplyFix method, such that execution as a subset is possible. As an example of issue: the missing, from the base template, of a "leaf" metric used by / needed to evaluate a derived metric.
|
|
This property returns a code indicating whether the report instance can be executed as a subset report of a base report.
|