C# 클래스 Zetbox.API.Common.Reporting.AbstractReportingHost

상속: IGenerationHost, IDisposable
파일 보기 프로젝트 열기: daszat/zetbox

공개 메소드들

메소드 설명
AbstractReportingHost ( IFileOpener fileOpener, ITempFileService tempFileService, IReportingErrorReporter errorReporter ) : System

Creates a new reporting host

AbstractReportingHost ( string overrideTemplateNamespace, Assembly overrideTemplateAssembly, IFileOpener fileOpener, ITempFileService tempFileService, IReportingErrorReporter errorReporter ) : System

Creates a new reporting host

CallTemplate ( string templateClass ) : void
CallTemplateToFile ( string templateClass, string outputfile ) : void
Dispose ( ) : void
GetStream ( ) : Stream
GetStreamRtf ( ) : Stream
Initialize ( NameValueCollection settings ) : void
Open ( string filename ) : string
Save ( string filename ) : void
SaveTemp ( string filename ) : string
WriteFile ( string filename, string content ) : void
WriteOutput ( string str ) : void

비공개 메소드들

메소드 설명
CallTemplateToContext ( string templateClass ) : void
GetDocument ( ) : MigraDoc.DocumentObjectModel.Document
GetMDDLStream ( ) : Stream
IGenerationHost ( string fmt ) : void
LogErrors ( DdlReaderErrors errors, Exception ex, System mddl ) : void
ReportErrors ( DdlReaderErrors errors, Exception ex, System mddl ) : void

메소드 상세

AbstractReportingHost() 공개 메소드

Creates a new reporting host
public AbstractReportingHost ( IFileOpener fileOpener, ITempFileService tempFileService, IReportingErrorReporter errorReporter ) : System
fileOpener IFileOpener
tempFileService ITempFileService
errorReporter IReportingErrorReporter
리턴 System

AbstractReportingHost() 공개 메소드

Creates a new reporting host
public AbstractReportingHost ( string overrideTemplateNamespace, Assembly overrideTemplateAssembly, IFileOpener fileOpener, ITempFileService tempFileService, IReportingErrorReporter errorReporter ) : System
overrideTemplateNamespace string null or empty, if default templates should be used, else a assembly with templates.
overrideTemplateAssembly System.Reflection.Assembly null, if default templates should be used, else a assembly with templates.
fileOpener IFileOpener
tempFileService ITempFileService
errorReporter IReportingErrorReporter
리턴 System

CallTemplate() 공개 메소드

public CallTemplate ( string templateClass ) : void
templateClass string
리턴 void

CallTemplateToFile() 공개 메소드

public CallTemplateToFile ( string templateClass, string outputfile ) : void
templateClass string
outputfile string
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetStream() 공개 메소드

public GetStream ( ) : Stream
리턴 Stream

GetStreamRtf() 공개 메소드

public GetStreamRtf ( ) : Stream
리턴 Stream

Initialize() 공개 메소드

public Initialize ( NameValueCollection settings ) : void
settings System.Collections.Specialized.NameValueCollection
리턴 void

Open() 공개 메소드

public Open ( string filename ) : string
filename string
리턴 string

Save() 공개 메소드

public Save ( string filename ) : void
filename string
리턴 void

SaveTemp() 공개 메소드

public SaveTemp ( string filename ) : string
filename string
리턴 string

WriteFile() 공개 메소드

public WriteFile ( string filename, string content ) : void
filename string
content string
리턴 void

WriteOutput() 공개 메소드

public WriteOutput ( string str ) : void
str string
리턴 void