OpenPetra
Free Administration Software for Non-Profits
|
Class for HyperLink handling. Used by the 'TtxtLinkTextBox' and 'TRtbHyperlinks' Controls. More...
Public Types | |
enum | THyperLinkType { None , Http , Http_With_Value_Replacement , Ftp , Email , Skype } |
Types of Hyperlinks that TtxtLinkTextBox supports. More... | |
Static Public Member Functions | |
static THyperLinkType | ParseHyperLinkType (string AHyperLinkType) |
Parses a string to a THyperLinkType. More... | |
Static Public Attributes | |
const string | HYPERLINK_PREFIX_EMAILLINK = "||email||" |
Prefix for an Email Link. More... | |
const string | HYPERLINK_PREFIX_URLLINK = "||hyperlink||" |
Prefix for a HTTP Link. More... | |
const string | HYPERLINK_PREFIX_URLWITHVALUELINK = "||hyperlink_with_value||" |
Prefix for a HTTP Link where a part of that link gets constructed by supplying a value. More... | |
const string | HYPERLINK_PREFIX_SECUREDURL = "||securehyperlink||" |
Prefix for a HTTPS Link. More... | |
const string | HYPERLINK_PREFIX_FTPLINK = "||FTP||" |
Prefix for a FTP Link. More... | |
const string | HYPERLINK_PREFIX_SKYPELINK = "||skype||" |
Prefix for a Skype Link. More... | |
const string | HYPERLINK_WITH_VALUE_VALUE_PLACEHOLDER_IDENTIFIER = "{VALUE}" |
Identifier for a Value that will get replaced in a Link that is prefixed with HYPERLINK_PREFIX_URLWITHVALUELINK. More... | |
Class for HyperLink handling. Used by the 'TtxtLinkTextBox' and 'TRtbHyperlinks' Controls.
Types of Hyperlinks that TtxtLinkTextBox supports.
Enumerator | |
---|---|
None | Act as a regular TextBox |
Http | |
Http_With_Value_Replacement | Act as a http:// or https:// hyperlink where a part of the URL is replaced with a custom value. |
Ftp | Act as a ftp:// hyperlink |
Act as a mailto: hyperlink | |
Skype | Get the Skype.exe application to start a call to the supplied Skype ID |
|
inlinestatic |
Parses a string to a THyperLinkType.
AHyperLinkType | String that should get parsed into a THyperLinkType. |
|
static |
Prefix for an Email Link.
|
static |
Prefix for a FTP Link.
|
static |
Prefix for a HTTPS Link.
|
static |
Prefix for a Skype Link.
|
static |
Prefix for a HTTP Link.
|
static |
Prefix for a HTTP Link where a part of that link gets constructed by supplying a value.
|
static |
Identifier for a Value that will get replaced in a Link that is prefixed with HYPERLINK_PREFIX_URLWITHVALUELINK.