C# Class SIL.PublishingSolution.FlexDePlugin

Implements Fieldworks Utility Interface for DictionaryExpress
Inheritance: IUtility
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
LoadUtilities ( ) : void

Load 0 or more items in the list box.

OnSelection ( ) : void

Notify the utility is has been selected in the dlg.

ToString ( ) : string

The utility is represented by its label

Protected Methods

Method Description
DeFlexExports ( string expCss, string mainFullName, string revFullXhtml, string gramFullName ) : bool

Export process from Fieldworks Language explorer

ValidXmlFile ( string xml ) : void

Validating the xml file with xmldocument to avoid further processing.

Private Methods

Method Description
ChangeAreaTool ( string areaChoice, string toolChoice ) : bool
ContentsExists ( string areaChoice, string toolChoice, string exportFormat ) : bool
ExportTool ( string areaChoice, string toolChoice, string exportFormat, string filePath ) : void
Process ( ) : void

Method Details

DeFlexExports() protected method

Export process from Fieldworks Language explorer
protected DeFlexExports ( string expCss, string mainFullName, string revFullXhtml, string gramFullName ) : bool
expCss string Style sheet exported
mainFullName string Source of main dictionary
revFullXhtml string source of reversal Index if available in Xhtml format
gramFullName string Source of grammar
return bool

LoadUtilities() public method

Load 0 or more items in the list box.
public LoadUtilities ( ) : void
return void

OnSelection() public method

Notify the utility is has been selected in the dlg.
public OnSelection ( ) : void
return void

ToString() public method

The utility is represented by its label
public ToString ( ) : string
return string

ValidXmlFile() protected static method

Validating the xml file with xmldocument to avoid further processing.
if xml file missing if xml file won't load
protected static ValidXmlFile ( string xml ) : void
xml string Xml file Name for Validating
return void