C# 클래스 Reports.ReportHandler

Class contain the base information for report configs (Name of the report, the path of the generated .pdf and the dictionary)
상속: Utils.ProgressHandler
파일 보기 프로젝트 열기: ERTMSSolutions/ERTMSFormalSpecs 1 사용 예제들

공개 메소드들

메소드 설명
BuildDocument ( ) : MigraDoc.DocumentObjectModel.Document

This method must be implemented to create the document contents

ExecuteWork ( ) : void

Generates the file in the background thread

보호된 메소드들

메소드 설명
CleanTempFiles ( ) : void

Removes all temporary files

CreateFileName ( string title ) : void

Creates the full file name from a given title

CreateTempFile ( string extension ) : string

Creates a temporary file, with the provided extension

GenerateOutputFile ( MigraDoc.DocumentObjectModel.Document document ) : bool

Produces the .pdf corresponding to the book, according to user's choices specified in the report config

ReportHandler ( DataDictionary.Dictionary dictionary ) : System

Constructor

메소드 상세

BuildDocument() 공개 추상적인 메소드

This method must be implemented to create the document contents
public abstract BuildDocument ( ) : MigraDoc.DocumentObjectModel.Document
리턴 MigraDoc.DocumentObjectModel.Document

CleanTempFiles() 보호된 메소드

Removes all temporary files
protected CleanTempFiles ( ) : void
리턴 void

CreateFileName() 보호된 메소드

Creates the full file name from a given title
protected CreateFileName ( string title ) : void
title string Name of the report
리턴 void

CreateTempFile() 보호된 메소드

Creates a temporary file, with the provided extension
protected CreateTempFile ( string extension ) : string
extension string
리턴 string

ExecuteWork() 공개 메소드

Generates the file in the background thread
public ExecuteWork ( ) : void
리턴 void

GenerateOutputFile() 보호된 메소드

Produces the .pdf corresponding to the book, according to user's choices specified in the report config
protected GenerateOutputFile ( MigraDoc.DocumentObjectModel.Document document ) : bool
document MigraDoc.DocumentObjectModel.Document The document to be created
리턴 bool

ReportHandler() 보호된 메소드

Constructor
protected ReportHandler ( DataDictionary.Dictionary dictionary ) : System
dictionary DataDictionary.Dictionary
리턴 System