C# Class Rock.MergeTemplates.MergeTemplateType

Base class for merge template types (i.e. Word Document, HTML, etc)
Inheritance: Rock.Extension.Component
Mostra file Open project: NewSpring/Rock

Protected Properties

Property Type Description
lavaRegEx System.Text.RegularExpressions.Regex
nextEmptyRecordRegEx System.Text.RegularExpressions.Regex
nextRecordRegEx System.Text.RegularExpressions.Regex
regExDot System.Text.RegularExpressions.Regex

Public Methods

Method Description
CreateDocument ( MergeTemplate mergeTemplate, List mergeObjectList, object>.Dictionary globalMergeFields ) : BinaryFile

Creates the document.

GetDefaultLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields, string preText = null ) : string

Gets the default lava debug information.

GetLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields ) : string

Gets the lava debug information.

Method Details

CreateDocument() public abstract method

Creates the document.
public abstract CreateDocument ( MergeTemplate mergeTemplate, List mergeObjectList, object>.Dictionary globalMergeFields ) : BinaryFile
mergeTemplate MergeTemplate The merge template.
mergeObjectList List The merge object list.
globalMergeFields object>.Dictionary The global merge fields.
return BinaryFile

GetDefaultLavaDebugInfo() public static method

Gets the default lava debug information.
public static GetDefaultLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields, string preText = null ) : string
mergeObjectList List The merge object list.
globalMergeFields object>.Dictionary The global merge fields.
preText string The pre text.
return string

GetLavaDebugInfo() public method

Gets the lava debug information.
public GetLavaDebugInfo ( List mergeObjectList, object>.Dictionary globalMergeFields ) : string
mergeObjectList List The merge object list.
globalMergeFields object>.Dictionary The global merge fields.
return string

Property Details

lavaRegEx protected_oe property

The RegEx to detect if the text has {{ }} tags in it
protected Regex,System.Text.RegularExpressions lavaRegEx
return System.Text.RegularExpressions.Regex

nextEmptyRecordRegEx protected_oe property

The RegEx for finding the "next_empty" delimiter/indicator
protected Regex,System.Text.RegularExpressions nextEmptyRecordRegEx
return System.Text.RegularExpressions.Regex

nextRecordRegEx protected_oe property

The RegEx for finding the "next" delimiter/indicator
protected Regex,System.Text.RegularExpressions nextRecordRegEx
return System.Text.RegularExpressions.Regex

regExDot protected_oe property

The RegEx of "." that matches anything
protected Regex,System.Text.RegularExpressions regExDot
return System.Text.RegularExpressions.Regex