C# 클래스 SIL.FieldWorks.FDO.DomainImpl.HomographConfiguration

This class stores various settings related to how homograph numbers (and sense numbers) are displayed.
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
HomographConfiguration ( ) : System

Make one.

SetShowHomographNumber ( HeadwordVariant hv, bool val ) : void

Set whether homograph numbers are displayed for the specified variant.

ShowHomographNumber ( HeadwordVariant hv ) : bool

True to display homograph numbers in the default headword method used as the header of an entry in the dictionary and in the program UI. Note that we can only show them in cross-refs if we show them in the main headword. (One reason for this is the design of the dialog, which does not allow to specify before/after if we choose 'hide'.)

ShowSenseNumber ( HeadwordVariant hv ) : bool

Provides a convenient way to get the appropriate ShowSenseNumber flag. Passing "main" doesn't make sense. This also implements the constraint that we don't show sense number when homograph number is suppressed.

비공개 메소드들

메소드 설명
RestoreDefaults ( ) : void

메소드 상세

HomographConfiguration() 공개 메소드

Make one.
public HomographConfiguration ( ) : System
리턴 System

SetShowHomographNumber() 공개 메소드

Set whether homograph numbers are displayed for the specified variant.
public SetShowHomographNumber ( HeadwordVariant hv, bool val ) : void
hv HeadwordVariant
val bool
리턴 void

ShowHomographNumber() 공개 메소드

True to display homograph numbers in the default headword method used as the header of an entry in the dictionary and in the program UI. Note that we can only show them in cross-refs if we show them in the main headword. (One reason for this is the design of the dialog, which does not allow to specify before/after if we choose 'hide'.)
public ShowHomographNumber ( HeadwordVariant hv ) : bool
hv HeadwordVariant
리턴 bool

ShowSenseNumber() 공개 메소드

Provides a convenient way to get the appropriate ShowSenseNumber flag. Passing "main" doesn't make sense. This also implements the constraint that we don't show sense number when homograph number is suppressed.
public ShowSenseNumber ( HeadwordVariant hv ) : bool
hv HeadwordVariant
리턴 bool