C# Class Malt.Reporting.OpenDocument.OdfTemplateTestHelper

Show file Open project: oldrev/maltreport

Public Methods

Method Description
GetContentDocument ( this odfTemplate ) : XmlDocument
RenderTemplate ( string odfPath, object>.IDictionary context ) : OdfTemplate

一部执行模板编译、渲染并返回结果

ShouldBeWellFormedOdfContent ( this odf ) : void

Method Details

GetContentDocument() public static method

public static GetContentDocument ( this odfTemplate ) : XmlDocument
odfTemplate this
return System.Xml.XmlDocument

RenderTemplate() public static method

一部执行模板编译、渲染并返回结果
public static RenderTemplate ( string odfPath, object>.IDictionary context ) : OdfTemplate
odfPath string
context object>.IDictionary
return OdfTemplate

ShouldBeWellFormedOdfContent() public static method

public static ShouldBeWellFormedOdfContent ( this odf ) : void
odf this
return void