C# Class AODL.Document.Content.Text.XLink

Represent a hyperlink, which could be a web-, ftp- or telnet link
Inheritance: IText, IHtml, ITextContainer, ICloneable
Mostrar archivo Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Create a deep clone of this XLink object.

A possible Attached Style wouldn't be cloned!

GetHtml ( ) : string

Return the content as Html string

XLink ( IDocument document ) : System

Initializes a new instance of the XLink class.

XLink ( IDocument document, string href, string name ) : System

Initializes a new instance of the XLink class.

Private Methods

Method Description
CreateAttribute ( string name, string text, string prefix ) : void

Creates the attribute.

GetLink ( ) : string

Gets the link.

InitStandards ( ) : void

Inits the standards.

NewXmlNode ( ) : void

News the XML node.

TextContent_Inserted ( int index, object value ) : void

Append the xml from added IText object.

TextContent_Removed ( int index, object value ) : void

Texts the content_ removed.

Method Details

Clone() public method

Create a deep clone of this XLink object.
A possible Attached Style wouldn't be cloned!
public Clone ( ) : object
return object

GetHtml() public method

Return the content as Html string
public GetHtml ( ) : string
return string

XLink() public method

Initializes a new instance of the XLink class.
public XLink ( IDocument document ) : System
document IDocument The document.
return System

XLink() public method

Initializes a new instance of the XLink class.
public XLink ( IDocument document, string href, string name ) : System
document IDocument The document.
href string The href.
name string The name.
return System