C# Class Praeclarum.RichText

Inheritance: IRichText
Mostra file Open project: praeclarum/Praeclarum

Public Methods

Method Description
AddAttributes ( IRichTextAttributes istyleClass, StringRange range ) : void
AppendRtfBody ( StringBuilder r, int>.Dictionary colorTableIndex, int>.Dictionary fontTable ) : void
RichText ( string text ) : System
ToRtf ( IEnumerable classes ) : string

Private Methods

Method Description
ToRtf ( IEnumerable knownColors, IEnumerable knownFonts ) : string

Method Details

AddAttributes() public method

public AddAttributes ( IRichTextAttributes istyleClass, StringRange range ) : void
istyleClass IRichTextAttributes
range StringRange
return void

AppendRtfBody() public method

public AppendRtfBody ( StringBuilder r, int>.Dictionary colorTableIndex, int>.Dictionary fontTable ) : void
r StringBuilder
colorTableIndex int>.Dictionary
fontTable int>.Dictionary
return void

RichText() public method

public RichText ( string text ) : System
text string
return System

ToRtf() public method

public ToRtf ( IEnumerable classes ) : string
classes IEnumerable
return string