DiscussionMacroResolver Class |
Namespace: CMS.Helpers
public class DiscussionMacroResolver : CoreMethods
The DiscussionMacroResolver type exposes the following members.
Name | Description | |
---|---|---|
DiscussionMacroResolver |
Discussion macro helper constructor.
| |
DiscussionMacroResolver(Boolean, Boolean, Boolean, Int32, String, Boolean) |
Discussion macro helper constructor.
|
Name | Description | |
---|---|---|
ConvertLineBreaksToHTML |
If true, the line breaks are converted to HTML br tags.
| |
EnableBold |
Gets or sets the value that indicates whether bold macros are enabled.
| |
EnableCode |
Gets or sets the value that indicates whether code macros are enabled.
| |
EnableColor |
Gets or sets the value that indicates whether color macros are enabled.
| |
EnableImage |
Gets or sets the value that indicates whether Image macros are enabled.
| |
EnableItalics |
Gets or sets the value that indicates whether italics macros are enabled.
| |
EnableQuote |
Gets or sets the value that indicates whether Quote macros are enabled.
| |
EnableSize |
Gets or sets the value that indicates whether size macros are enabled.
| |
EnableStrikeThrough |
Gets or sets the value that indicates whether strikeThrough macros are enabled.
| |
EnableUnderline |
Gets or sets the value that indicates whether underline macros are enabled.
| |
EnableURL |
Gets or sets the value that indicates whether URL macros are enabled.
| |
EncodeText |
If true, the text outside of the macros is encoded.
| |
MaxImageSideSize |
Gets or sets max side size of image.
| |
MaxTextSize |
Gets or sets max text size of image.
| |
QuotePostText |
Gets or sets the text which should be displayed in quote area after user name.
| |
RegExBBTag |
Regular expression for the BB tag.
| |
RegExBBTagExpression |
Regular expression for the parsed BB tag expression.
| |
ResolveToPlainText |
If true, the tags are resolved to the plain text version.
| |
TextSizeUnit |
Gets or sets the text size unit which should be used.
| |
UseNoFollowForLinks |
Gets or sets the value that indicates whether rel="nofollow" should be used for resolved links
|
Name | Description | |
---|---|---|
GetBold |
Returns the forum discussion bold tag.
| |
GetClosingTag |
Gets the closing tag for specified BB tag.
| |
GetColor |
Returns the forum discussion color tag.
| |
GetImage |
Returns the forum discussion image tag.
| |
GetItalics |
Returns the forum discussion italics tag.
| |
GetQuote |
Returns the forum discussion Quote tag.
| |
GetSize |
Returns the forum discussion size tag.
| |
GetStrikeThrough |
Returns the forum discussion strike through tag.
| |
GetUnderline |
Returns the forum discussion underline tag.
| |
GetURL |
Returns the forum discussion URL tag.
| |
IsBBCodeEnabled |
Returns true if BBcode is enabled for given actions set (for DB column with stored enabled actions).
| |
IsURL |
Returns true if the given string is URL, decodes the string before the validation.
| |
ProcessText |
Processes the standard text.
| |
RemoveTags |
Remove all BB tags from the text.
| |
ResolveMacros(String) |
Resolves BB macros in a given text.
| |
ResolveMacros(String, String) |
Resolves BB macros in a given text.
| |
SetBBCode |
Sets enabled BBcode (for DB column with stored enabled actions).
|