C# Class Malt.Reporting.OpenDocument.OdfTemplate

Inheritance: AbstractZipBasedTemplate
Show file Open project: oldrev/maltreport Class Usage Examples

Public Methods

Method Description
AddImage ( System.Image img ) : string
Clone ( ) : object
Compile ( ) : void
EntryExists ( string entryPath ) : bool
GetEntryInputStream ( string entryPath ) : Stream
GetEntryOutputStream ( string entryPath ) : Stream

千万要记得关闭

Load ( Stream inStream ) : void
OdfTemplate ( ) : System
Render ( object>.IDictionary context ) : IDocument
Save ( Stream outStream ) : void

Private Methods

Method Description
AppendZipEntry ( ZipFile zf, string name ) : void
ResetTextEngine ( string>.IDictionary userImages, OdfTemplate resultDocument ) : void
WriteXmlContent ( XmlDocument xml ) : void

Method Details

AddImage() public method

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

Clone() public method

public Clone ( ) : object
return object

Compile() public method

public Compile ( ) : void
return void

EntryExists() public method

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

GetEntryInputStream() public method

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

GetEntryOutputStream() public method

千万要记得关闭
public GetEntryOutputStream ( string entryPath ) : Stream
entryPath string
return Stream

Load() public method

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

OdfTemplate() public method

public OdfTemplate ( ) : System
return System

Render() public method

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

Save() public method

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