C# Class SIL.FieldWorks.SharpViews.FieldWorksReplacements.DefaultWritingSystemFactory

Default very simple implementation of this interface, provides only the methods needed by SharpViewsLight and UniscribeEngine.
Inheritance: ILgWritingSystemFactory
Exibir arquivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
GetStrFromWs ( int wsId ) : string
GetWritingSystems ( SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgws, int cws ) : void
GetWsFromStr ( string bstr ) : int
get_CharPropEngine ( int ws ) : ILgCharacterPropertyEngine
get_Engine ( string bstrIcuLocale ) : ILgWritingSystem
get_EngineOrNull ( int ws ) : ILgWritingSystem
get_Renderer ( int ws, IVwGraphics _vg ) : IRenderEngine
get_RendererFromChrp ( IVwGraphics vg, LgCharRenderProps &_chrp ) : IRenderEngine
get_RendererFromChrp ( LgCharRenderProps &_chrp ) : IRenderEngine

Private Methods

Method Description
DefaultWritingSystemFactory ( ) : System

Method Details

GetStrFromWs() public method

public GetStrFromWs ( int wsId ) : string
wsId int
return string

GetWritingSystems() public method

public GetWritingSystems ( SIL.FieldWorks.Common.COMInterfaces.ArrayPtr rgws, int cws ) : void
rgws SIL.FieldWorks.Common.COMInterfaces.ArrayPtr
cws int
return void

GetWsFromStr() public method

public GetWsFromStr ( string bstr ) : int
bstr string
return int

get_CharPropEngine() public method

public get_CharPropEngine ( int ws ) : ILgCharacterPropertyEngine
ws int
return ILgCharacterPropertyEngine

get_Engine() public method

public get_Engine ( string bstrIcuLocale ) : ILgWritingSystem
bstrIcuLocale string
return ILgWritingSystem

get_EngineOrNull() public method

public get_EngineOrNull ( int ws ) : ILgWritingSystem
ws int
return ILgWritingSystem

get_Renderer() public method

public get_Renderer ( int ws, IVwGraphics _vg ) : IRenderEngine
ws int
_vg IVwGraphics
return IRenderEngine

get_RendererFromChrp() public method

public get_RendererFromChrp ( IVwGraphics vg, LgCharRenderProps &_chrp ) : IRenderEngine
vg IVwGraphics
_chrp LgCharRenderProps
return IRenderEngine

get_RendererFromChrp() public method

public get_RendererFromChrp ( LgCharRenderProps &_chrp ) : IRenderEngine
_chrp LgCharRenderProps
return IRenderEngine