C# Class Malt.Reporting.OpenDocument.OdfTemplate

Inheritance: AbstractZipBasedTemplate
Afficher le fichier Open project: oldrev/maltreport Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

AddImage() public méthode

public AddImage ( System.Image img ) : string
img System.Image
Résultat string

Clone() public méthode

public Clone ( ) : object
Résultat object

Compile() public méthode

public Compile ( ) : void
Résultat void

EntryExists() public méthode

public EntryExists ( string entryPath ) : bool
entryPath string
Résultat bool

GetEntryInputStream() public méthode

public GetEntryInputStream ( string entryPath ) : Stream
entryPath string
Résultat Stream

GetEntryOutputStream() public méthode

千万要记得关闭
public GetEntryOutputStream ( string entryPath ) : Stream
entryPath string
Résultat Stream

Load() public méthode

public Load ( Stream inStream ) : void
inStream Stream
Résultat void

OdfTemplate() public méthode

public OdfTemplate ( ) : System
Résultat System

Render() public méthode

public Render ( object>.IDictionary context ) : IDocument
context object>.IDictionary
Résultat IDocument

Save() public méthode

public Save ( Stream outStream ) : void
outStream Stream
Résultat void