C# Class Malt.Reporting.AbstractZipBasedTemplate

Inheritance: ITemplate
Mostrar archivo Open project: oldrev/maltreport Class Usage Examples

Public Methods

Method Description
AddImage ( System.Image img ) : string
Clone ( ) : object
Compile ( ) : void
CopyTo ( AbstractZipBasedTemplate destDoc ) : void
EntryExists ( string entryPath ) : bool
GetBuffer ( ) : byte[]
GetEntryInputStream ( string entryPath ) : Stream
GetEntryOutputStream ( string entryPath ) : Stream
Load ( Stream inStream ) : void
Load ( string path ) : void
Render ( object>.IDictionary context ) : IDocument
Save ( Stream outStream ) : void
Save ( string path ) : void
ToBase64String ( ) : string

Protected Methods

Method Description
CopyStream ( Stream src, Stream dest ) : void

Private Methods

Method Description
GetEntryTextReader ( string entryPath ) : TextReader
GetEntryTextWriter ( string entryPath ) : TextWriter
ReadMainContentXml ( XmlDocument xml ) : void
ReadXmlEntry ( string entryPath, XmlDocument xml ) : void
WriteMainContentXml ( XmlDocument xml ) : void
WriteXmlEntry ( string entryPath, XmlDocument xml ) : void

Method Details

AddImage() public abstract method

public abstract AddImage ( System.Image img ) : string
img System.Image
return string

Clone() public abstract method

public abstract Clone ( ) : object
return object

Compile() public abstract method

public abstract Compile ( ) : void
return void

CopyStream() protected static method

protected static CopyStream ( Stream src, Stream dest ) : void
src Stream
dest Stream
return void

CopyTo() public method

public CopyTo ( AbstractZipBasedTemplate destDoc ) : void
destDoc AbstractZipBasedTemplate
return void

EntryExists() public abstract method

public abstract EntryExists ( string entryPath ) : bool
entryPath string
return bool

GetBuffer() public method

public GetBuffer ( ) : byte[]
return byte[]

GetEntryInputStream() public abstract method

public abstract GetEntryInputStream ( string entryPath ) : Stream
entryPath string
return Stream

GetEntryOutputStream() public abstract method

public abstract GetEntryOutputStream ( string entryPath ) : Stream
entryPath string
return Stream

Load() public abstract method

public abstract Load ( Stream inStream ) : void
inStream Stream
return void

Load() public method

public Load ( string path ) : void
path string
return void

Render() public abstract method

public abstract Render ( object>.IDictionary context ) : IDocument
context object>.IDictionary
return IDocument

Save() public abstract method

public abstract Save ( Stream outStream ) : void
outStream Stream
return void

Save() public method

public Save ( string path ) : void
path string
return void

ToBase64String() public method

public ToBase64String ( ) : string
return string