C# Class Zetbox.API.Common.Reporting.ReportTemplate

Inheritance: Arebis.CodeGeneration.CodeTemplate
Show file Open project: daszat/zetbox

Public Methods

Method Description
Generate ( ) : void
ReportTemplate ( IGenerationHost host ) : System

Protected Methods

Method Description
Format ( object text ) : string
FormatDate ( System.DateTime dt ) : string
FormatDateRange ( string von, System.DateTime v, string bis, System.DateTime b ) : string
FormatErrorMessage ( string message ) : string
FormatEuro ( decimal betrag ) : string
FormatLongDate ( System.DateTime dt ) : string
FormatNonBreaking ( string s ) : string
FormatPercent ( double betrag ) : string
FormatPercent ( float betrag ) : string
FormatTextfield ( string text ) : string
FormatTime ( System.DateTime dt ) : string
FormatWeekday ( System.DateTime dt ) : string
GetBlobImageFile ( Blob image ) : string
GetResourceImageFile ( System assembly, string image ) : string
ResolveTemplateResourceUrl ( string template ) : string
ToDo ( string message ) : string
Today ( ) : string

Method Details

Format() protected method

protected Format ( object text ) : string
text object
return string

FormatDate() protected method

protected FormatDate ( System.DateTime dt ) : string
dt System.DateTime
return string

FormatDateRange() protected method

protected FormatDateRange ( string von, System.DateTime v, string bis, System.DateTime b ) : string
von string
v System.DateTime
bis string
b System.DateTime
return string

FormatErrorMessage() protected method

protected FormatErrorMessage ( string message ) : string
message string
return string

FormatEuro() protected method

protected FormatEuro ( decimal betrag ) : string
betrag decimal
return string

FormatLongDate() protected method

protected FormatLongDate ( System.DateTime dt ) : string
dt System.DateTime
return string

FormatNonBreaking() protected method

protected FormatNonBreaking ( string s ) : string
s string
return string

FormatPercent() protected method

protected FormatPercent ( double betrag ) : string
betrag double
return string

FormatPercent() protected method

protected FormatPercent ( float betrag ) : string
betrag float
return string

FormatTextfield() protected method

protected FormatTextfield ( string text ) : string
text string
return string

FormatTime() protected method

protected FormatTime ( System.DateTime dt ) : string
dt System.DateTime
return string

FormatWeekday() protected method

protected FormatWeekday ( System.DateTime dt ) : string
dt System.DateTime
return string

Generate() public method

public Generate ( ) : void
return void

GetBlobImageFile() protected method

protected GetBlobImageFile ( Blob image ) : string
image System.IO.Blob
return string

GetResourceImageFile() protected method

protected GetResourceImageFile ( System assembly, string image ) : string
assembly System
image string
return string

ReportTemplate() public method

public ReportTemplate ( IGenerationHost host ) : System
host IGenerationHost
return System

ResolveTemplateResourceUrl() protected method

protected ResolveTemplateResourceUrl ( string template ) : string
template string
return string

ToDo() protected method

protected ToDo ( string message ) : string
message string
return string

Today() protected method

protected Today ( ) : string
return string