A hyperlink object records a link between two reports or documents. A hyperlink can be placed within a grid or field of a report writing document or on the grid of a report. When the user chooses to follow a hyperlink another report or document is executed. The execution may be modified by preanswering prompts on the destination report or document in a manner described by the hyperlink.
Public Member Functions | |
| HRESULT | _NewEnum ([out, retval] IUnknown pp_NewEnum) |
| Enumerator for this collection. | |
| HRESULT | AddPrompt ([in] IDSSPrompt *ipPrompt,[out, retval] IDSSHyperlinkPrompt oppHyperlinkPrompt) |
| Add support for a new prompt in the hyperlink. | |
| HRESULT | AnswerMode ([out, retval] EnumDSSHyperlinkAnswerMode *opAnswerMode) |
| Get the default answer mode for prompts in the target report or document. | |
| HRESULT | AnswerMode ([in] EnumDSSHyperlinkAnswerMode iAnswerMode) |
| Set the default answer mode for prompts in the target report or document. | |
| HRESULT | ClearPrompts () |
| Delete information about all prompts. | |
| HRESULT | Count ([out, retval] Int32 *opCount) |
| Returns the number of hyperlink prompt objectss in this collection. | |
| HRESULT | Index ([out, retval] Int32 *opIndex) |
| Get the index number of this hyperlink in its collection. | |
| HRESULT | Index ([in] Int32 iIndex) |
| Set the index number of this hyperlink in its collection. | |
| HRESULT | IsDefault ([out, retval] VARIANT_BOOL *opIsDefault) |
| Get whether or not this is the default hyperlink in its question. | |
| HRESULT | IsDefault ([in] VARIANT_BOOL iIsDefault) |
| Set whether or not this is the default hyperlink in its question. | |
| HRESULT | LoadFromXMLDOM ([in] IDSSXMLContext *ipXMLContext,[in] IDispatch *ipParent) |
| Load this hyperlink from an XML context. | |
| HRESULT | MultilingualName ([out, retval] IDSSMultilingualString oppMultilingualName) |
| Get the multilingual string used to record the hyperlink's display name. | |
| HRESULT | Name ([out, retval] BSTR *opName) |
| Get the display name used to visually identify this hyperlink. | |
| HRESULT | Name ([in] BSTR iName) |
| Set the display name used to visually identify this hyperlink. | |
| HRESULT | PromptItem ([in] VARIANT *ipIndex,[out, retval] IDSSHyperlinkPrompt oppHyperlinkPrompt) |
| Access information about a prompt. | |
| HRESULT | RemovePrompt ([in] VARIANT *ipIndex) |
| Remove information about a prompt. | |
| HRESULT | SaveToXMLDOM ([in] IDSSXMLContext *ipXMLContext,[in] IDispatch *ipParent) |
| Save this hyperlink to XML. | |
| HRESULT | Target ([out, retval] IDSSObjectInfo oppTarget) |
| Get the report or document executed if this hyperlink is defined using an object. | |
| HRESULT | Target ([in] IDSSObjectInfo *ipTarget) |
| Set the report or document executed if this hyperlink is defined using an object. | |
| HRESULT | Type ([out, retval] EnumDSSHyperlinkType *opType) |
| Set the type of this hyperlink. | |
| HRESULT | Type ([in] EnumDSSHyperlinkType iType) |
| Set the type of this hyperlink. | |
| HRESULT | URL ([out, retval] BSTR *opURL) |
| Get the URL used when this hyperlink has URL type. | |
| HRESULT | URL ([in] BSTR iURL) |
| Set the URL used when this hyperlink has URL type. | |
|
|
Enumerator for this collection. This is the standard property used to return the objects in a collection. It returns an enumerator object. Calling methods on the enumerator object retrieves the contents of the collection.
|
|
||||||||||||
|
Add support for a new prompt in the hyperlink. The prompt is interpreted as a prompt definition, not a prompt instance. All that matters is the ID of the prompt. It is not possible to distinguish between different instances or questions of the same prompt.
|
|
|
Get the default answer mode for prompts in the target report or document. This answer mode is used for all prompts that do not have an explicit setting. Not all values of the enumeration make sense as the default answer mode.
|
|
|
Set the default answer mode for prompts in the target report or document. This answer mode is used for all prompts that do not have an explicit setting. Not all values of the enumeration make sense as the default answer mode.
|
|
|
Delete information about all prompts. It is not an error to call this method when the collection is already empty. |
|
|
Returns the number of hyperlink prompt objectss in this collection.
|
|
|
Get the index number of this hyperlink in its collection. Changeing this value moves this hyperlink to a new place, reindexing the other items in the usual manner.
|
|
|
Set the index number of this hyperlink in its collection. Changeing this value moves this hyperlink to a new place, reindexing the other items in the usual manner.
|
|
|
Get whether or not this is the default hyperlink in its question. This property defaults to false for all hyperlinks. That is a freshly created hyperlink, even if it is the only hyperlink in the collection will not be the default hyperlink. It the property is set to true for some hyperlink, the previous default hyperlink of the collection, if any, will automatically be modified to false. Thus a hyperlink collection can contain at most one default hyperlink.
|
|
|
Set whether or not this is the default hyperlink in its question. This property defaults to false for all hyperlinks. That is a freshly created hyperlink, even if it is the only hyperlink in the collection will not be the default hyperlink. It the property is set to true for some hyperlink, the previous default hyperlink of the collection, if any, will automatically be modified to false. Thus a hyperlink collection can contain at most one default hyperlink.
|
|
||||||||||||
|
Load this hyperlink from an XML context. Where possible we attempt to reuse the existing state. That is if a property is not mentioned in the XML its existing value is kept. In the case of a multilingual string property the change is only made to the current locale. However if the XML contains a collection of hyperlink prompts then the collection is modified to be exactly as defined in the XML. We are not able to modify just one prompt and leave the rest alone.
|
|
|
Get the multilingual string used to record the hyperlink's display name. This interface can be used to access and modify the display name in locales other than the effective locale of the current user.
|
|
|
Get the display name used to visually identify this hyperlink. This property is implemented using a multilingual string, so the name exposed here is actually the effective name of the hyperlink for the current user's MD locale preference. This property defaults to an empty string. There is no requirement that a hyperlink must be named to be valid.
|
|
|
Set the display name used to visually identify this hyperlink. This property is implemented using a multilingual string, so the name exposed here is actually the effective name of the hyperlink for the current user's MD locale preference. This property defaults to an empty string. There is no requirement that a hyperlink must be named to be valid.
|
|
||||||||||||
|
Access information about a prompt.
|
|
|
Remove information about a prompt. The corresponding collection member is deleted.
|
|
||||||||||||
|
Save this hyperlink to XML.
|
|
|
Get the report or document executed if this hyperlink is defined using an object. This property defaults to NULL. It is ignored if the hyperlink is defined by a URL. Although the property appears to accept any object type, only reports or documents can be assigned to the property.
|
|
|
Set the report or document executed if this hyperlink is defined using an object. This property defaults to NULL. It is ignored if the hyperlink is defined by a URL. Although the property appears to accept any object type, only reports or documents can be assigned to the property.
|
|
|
Set the type of this hyperlink. A hyperlink can either be defined using a URL (the default) or by explicitly specifying a target report or report writing document. Although some properties only make sense for certain types of hyperlink we do not attempt to clear unused properties based on the hyperlink's type. Instead unused properties are just ignored.
|
|
|
Set the type of this hyperlink. A hyperlink can either be defined using a URL (the default) or by explicitly specifying a target report or report writing document. Although some properties only make sense for certain types of hyperlink we do not attempt to clear unused properties based on the hyperlink's type. Instead unused properties are just ignored.
|
|
|
Get the URL used when this hyperlink has URL type. This property defaults to an empty string. It is not a multilingual string.
|
|
|
Set the URL used when this hyperlink has URL type. This property defaults to an empty string. It is not a multilingual string.
|