C# Class Itenso.Rtf.Interpreter.RtfInterpreterListenerFileLogger

Inheritance: RtfInterpreterListenerBase, IDisposable
Mostra file Open project: Shereef/RTF-to-HTML-Converter-Class-Library-DLL Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
RtfInterpreterListenerFileLogger ( string fileName ) : System
RtfInterpreterListenerFileLogger ( string fileName, RtfInterpreterLoggerSettings settings ) : System

Protected Methods

Method Description
DoBeginDocument ( IRtfInterpreterContext context ) : void
DoEndDocument ( IRtfInterpreterContext context ) : void
DoInsertBreak ( IRtfInterpreterContext context, RtfVisualBreakKind kind ) : void
DoInsertImage ( IRtfInterpreterContext context, RtfVisualImageFormat format, int width, int height, int desiredWidth, int desiredHeight, int scaleWidthPercent, int scaleHeightPercent, string imageDataHex ) : void
DoInsertSpecialChar ( IRtfInterpreterContext context, RtfVisualSpecialCharKind kind ) : void
DoInsertText ( IRtfInterpreterContext context, string text ) : void

Private Methods

Method Description
CloseStream ( ) : void
EnsureDirectory ( ) : void
OpenStream ( ) : void
WriteLine ( string message ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

DoBeginDocument() protected method

protected DoBeginDocument ( IRtfInterpreterContext context ) : void
context IRtfInterpreterContext
return void

DoEndDocument() protected method

protected DoEndDocument ( IRtfInterpreterContext context ) : void
context IRtfInterpreterContext
return void

DoInsertBreak() protected method

protected DoInsertBreak ( IRtfInterpreterContext context, RtfVisualBreakKind kind ) : void
context IRtfInterpreterContext
kind RtfVisualBreakKind
return void

DoInsertImage() protected method

protected DoInsertImage ( IRtfInterpreterContext context, RtfVisualImageFormat format, int width, int height, int desiredWidth, int desiredHeight, int scaleWidthPercent, int scaleHeightPercent, string imageDataHex ) : void
context IRtfInterpreterContext
format RtfVisualImageFormat
width int
height int
desiredWidth int
desiredHeight int
scaleWidthPercent int
scaleHeightPercent int
imageDataHex string
return void

DoInsertSpecialChar() protected method

protected DoInsertSpecialChar ( IRtfInterpreterContext context, RtfVisualSpecialCharKind kind ) : void
context IRtfInterpreterContext
kind RtfVisualSpecialCharKind
return void

DoInsertText() protected method

protected DoInsertText ( IRtfInterpreterContext context, string text ) : void
context IRtfInterpreterContext
text string
return void

RtfInterpreterListenerFileLogger() public method

public RtfInterpreterListenerFileLogger ( string fileName ) : System
fileName string
return System

RtfInterpreterListenerFileLogger() public method

public RtfInterpreterListenerFileLogger ( string fileName, RtfInterpreterLoggerSettings settings ) : System
fileName string
settings RtfInterpreterLoggerSettings
return System