Method | Description | |
---|---|---|
EnsureCurrentStylesheet ( ILangProject lp, IThreadedProgress progressDlg ) : void |
If the current stylesheet version in the Db doesn't match that of the current XML file, update the DB.
|
|
FlexStylesXmlAccessor ( ILexDb lexicon ) : System |
Constructor
|
Method | Description | |
---|---|---|
StyleIsInUse ( IStStyle style ) : bool |
Determines whether the given style is (possibly) in use. This override is needed because previously hotlinks in FLEx were not have made good use of the InUse property of styles. |
|
StyleReplacementAllowed ( string styleName, string replStyleName ) : bool |
Special overridable method to allow application-specific overrides to allow a particular style to be renamed.
|
|
ValidateContext ( ContextValues context, string styleName ) : void |
Complain if the context is not valid for the tool that is loading the styles. Flex currently allows general styles and its own special one.
|
public static EnsureCurrentStylesheet ( ILangProject lp, IThreadedProgress progressDlg ) : void | ||
lp | ILangProject | The language project |
progressDlg | IThreadedProgress | The progress dialog. |
return | void |
public FlexStylesXmlAccessor ( ILexDb lexicon ) : System | ||
lexicon | ILexDb | The lexical database |
return | System |
protected StyleIsInUse ( IStStyle style ) : bool | ||
style | IStStyle | The style. |
return | bool |
protected StyleReplacementAllowed ( string styleName, string replStyleName ) : bool | ||
styleName | string | Name of the original style. |
replStyleName | string | Name of the replacement style. |
return | bool |
protected ValidateContext ( ContextValues context, string styleName ) : void | ||
context | ContextValues | |
styleName | string | |
return | void |