C# Class SIL.FieldWorks.Common.Widgets.TextBoxMetaDataCache

A very trivial MDC, just enough to allow styles to be applied to text in the text box.
Inheritance: IFwMetaDataCache
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
AddVirtualProp ( string bstrClass, string bstrField, int luFlid, int type ) : void
GetAbstract ( int luClid ) : bool
GetAllSubclasses ( int luClid, int cluMax, int &_cluOut, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgluSubclasses ) : void
GetBaseClsId ( int luClid ) : int
GetBaseClsName ( int luClid ) : string
GetClassId ( string bstrClassName ) : int
GetClassIds ( int cclid, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgclid ) : void
GetClassName ( int luClid ) : string
GetDirectSubclasses ( int luClid, int cluMax, int &_cluOut, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgluSubclasses ) : void
GetDstClsId ( int luFlid ) : int
GetDstClsName ( int luFlid ) : string
GetFieldHelp ( int luFlid ) : string
GetFieldId ( string bstrClassName, string bstrFieldName, bool fIncludeBaseClasses ) : int
GetFieldId2 ( int luClid, string bstrFieldName, bool fIncludeBaseClasses ) : int
GetFieldIds ( int cflid, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgflid ) : void
GetFieldLabel ( int luFlid ) : string
GetFieldName ( int luFlid ) : string
GetFieldNameOrNull ( int luFlid ) : string
GetFieldType ( int luFlid ) : int

The only field that gets asked about in a text box is the main string, and we need a type that DOES allow styles to be applied.

GetFieldWs ( int luFlid ) : int
GetFieldXml ( int luFlid ) : string
GetFields ( int luClid, bool fIncludeSuperclasses, int grfcpt, int cflidMax, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgflid ) : int
GetOwnClsId ( int luFlid ) : int
GetOwnClsName ( int luFlid ) : string
InitXml ( string bstrPathname, bool fClearPrevCache ) : void
get_IsValidClass ( int luFlid, int luClid ) : bool
get_IsVirtual ( int luFlid ) : bool

Method Details

AddVirtualProp() public méthode

public AddVirtualProp ( string bstrClass, string bstrField, int luFlid, int type ) : void
bstrClass string
bstrField string
luFlid int
type int
Résultat void

GetAbstract() public méthode

public GetAbstract ( int luClid ) : bool
luClid int
Résultat bool

GetAllSubclasses() public méthode

public GetAllSubclasses ( int luClid, int cluMax, int &_cluOut, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgluSubclasses ) : void
luClid int
cluMax int
_cluOut int
_rgluSubclasses SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
Résultat void

GetBaseClsId() public méthode

public GetBaseClsId ( int luClid ) : int
luClid int
Résultat int

GetBaseClsName() public méthode

public GetBaseClsName ( int luClid ) : string
luClid int
Résultat string

GetClassId() public méthode

public GetClassId ( string bstrClassName ) : int
bstrClassName string
Résultat int

GetClassIds() public méthode

public GetClassIds ( int cclid, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgclid ) : void
cclid int
rgclid SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
Résultat void

GetClassName() public méthode

public GetClassName ( int luClid ) : string
luClid int
Résultat string

GetDirectSubclasses() public méthode

public GetDirectSubclasses ( int luClid, int cluMax, int &_cluOut, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgluSubclasses ) : void
luClid int
cluMax int
_cluOut int
_rgluSubclasses SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
Résultat void

GetDstClsId() public méthode

public GetDstClsId ( int luFlid ) : int
luFlid int
Résultat int

GetDstClsName() public méthode

public GetDstClsName ( int luFlid ) : string
luFlid int
Résultat string

GetFieldHelp() public méthode

public GetFieldHelp ( int luFlid ) : string
luFlid int
Résultat string

GetFieldId() public méthode

public GetFieldId ( string bstrClassName, string bstrFieldName, bool fIncludeBaseClasses ) : int
bstrClassName string
bstrFieldName string
fIncludeBaseClasses bool
Résultat int

GetFieldId2() public méthode

public GetFieldId2 ( int luClid, string bstrFieldName, bool fIncludeBaseClasses ) : int
luClid int
bstrFieldName string
fIncludeBaseClasses bool
Résultat int

GetFieldIds() public méthode

public GetFieldIds ( int cflid, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgflid ) : void
cflid int
rgflid SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
Résultat void

GetFieldLabel() public méthode

public GetFieldLabel ( int luFlid ) : string
luFlid int
Résultat string

GetFieldName() public méthode

public GetFieldName ( int luFlid ) : string
luFlid int
Résultat string

GetFieldNameOrNull() public méthode

public GetFieldNameOrNull ( int luFlid ) : string
luFlid int
Résultat string

GetFieldType() public méthode

The only field that gets asked about in a text box is the main string, and we need a type that DOES allow styles to be applied.
public GetFieldType ( int luFlid ) : int
luFlid int
Résultat int

GetFieldWs() public méthode

public GetFieldWs ( int luFlid ) : int
luFlid int
Résultat int

GetFieldXml() public méthode

public GetFieldXml ( int luFlid ) : string
luFlid int
Résultat string

GetFields() public méthode

public GetFields ( int luClid, bool fIncludeSuperclasses, int grfcpt, int cflidMax, SIL.FieldWorks.Common.COMInterfaces.ArrayPtr _rgflid ) : int
luClid int
fIncludeSuperclasses bool
grfcpt int
cflidMax int
_rgflid SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
Résultat int

GetOwnClsId() public méthode

public GetOwnClsId ( int luFlid ) : int
luFlid int
Résultat int

GetOwnClsName() public méthode

public GetOwnClsName ( int luFlid ) : string
luFlid int
Résultat string

InitXml() public méthode

public InitXml ( string bstrPathname, bool fClearPrevCache ) : void
bstrPathname string
fClearPrevCache bool
Résultat void

get_IsValidClass() public méthode

public get_IsValidClass ( int luFlid, int luClid ) : bool
luFlid int
luClid int
Résultat bool

get_IsVirtual() public méthode

public get_IsVirtual ( int luFlid ) : bool
luFlid int
Résultat bool