C# Class AODL.Document.TextDocuments.DocumentMetadata

DocumentMetadata global Document Metadata
Inheritance: IHtml
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Properties

Property Type Description
FileName string

Public Methods

Method Description
DocumentMetadata ( ) : System

Initializes a new instance of the DocumentMetadata class.

DocumentMetadata ( IDocument textDocument ) : System

Initializes a new instance of the DocumentMetadata class.

GetHtml ( ) : string

Return the content as Html string

GetUserDefinedInfo ( UserDefinedInfo info ) : string

Gets the user defined info.

LoadFromFile ( string file ) : void

Loads from file.

New ( ) : void

Load the style from assmebly resource.

SetUserDefinedInfo ( UserDefinedInfo info, string text ) : void

Sets the user defined info.

Private Methods

Method Description
GetUserDefinedNode ( UserDefinedInfo info ) : XmlNode

Gets the user defined node.

Init ( ) : void

Inits this instance.

Method Details

DocumentMetadata() public method

Initializes a new instance of the DocumentMetadata class.
public DocumentMetadata ( ) : System
return System

DocumentMetadata() public method

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

GetHtml() public method

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

GetUserDefinedInfo() public method

Gets the user defined info.
public GetUserDefinedInfo ( UserDefinedInfo info ) : string
info UserDefinedInfo The info.
return string

LoadFromFile() public method

Loads from file.
public LoadFromFile ( string file ) : void
file string The file.
return void

New() public method

Load the style from assmebly resource.
public New ( ) : void
return void

SetUserDefinedInfo() public method

Sets the user defined info.
public SetUserDefinedInfo ( UserDefinedInfo info, string text ) : void
info UserDefinedInfo The info.
text string The text.
return void

Property Details

FileName public static property

The file name
public static string FileName
return string