C# 클래스 OTFontFileVal.Driver

In order that the command line interface and the GUI app have the same behavior, this class has been factored out and should be used by both front ends.

Behavior specific to a font end, for example, displaying messages in a GUI window, should be handled via callbacks through an interface passed in here.

파일 보기 프로젝트 열기: HinTak/Font-Validator 1 사용 예제들

공개 메소드들

메소드 설명
CloseXmlReportFile ( ) : void
CopyXslFile ( string sReportFile ) : void
Driver ( DriverCallbacks cbs ) : System.Windows.Forms
OnValidateEvent ( OTFontFileVal.Validator e, object oParam ) : void
OpenXmlReportFile ( string sReportFile, string sFontFile ) : void
RunValidation ( OTFontFileVal.Validator v, string fontList ) : int
RunValidation ( OTFontFileVal.Validator v, string fpath, SafeFileHandle hFile ) : int
ValidatorCallback ( NS_ValCommon.ValInfoBasic viBasic ) : void

비공개 메소드들

메소드 설명
MakeCodeFriendlyTag ( OTFontFile.OTTag tag ) : OTFontFile.OTTag
OnBeginTable ( OTFontFile.DirectoryEntry de ) : void
OnEndElement ( ) : void
OnFontBegin ( uint fontIndex ) : void
OnFontParsed ( OTFontFile.OTFont f ) : void
OnRasterTestBegin ( string element, string label ) : void
ValInfoTypeToString ( OTFontFileVal.ValidationInfo vt ) : string
ValidateFont ( OTFontFileVal.Validator v, string fpath, SafeFileHandle hFile, int i, int n ) : int

메소드 상세

CloseXmlReportFile() 공개 메소드

public CloseXmlReportFile ( ) : void
리턴 void

CopyXslFile() 공개 정적인 메소드

public static CopyXslFile ( string sReportFile ) : void
sReportFile string
리턴 void

Driver() 공개 메소드

public Driver ( DriverCallbacks cbs ) : System.Windows.Forms
cbs DriverCallbacks
리턴 System.Windows.Forms

OnValidateEvent() 공개 메소드

public OnValidateEvent ( OTFontFileVal.Validator e, object oParam ) : void
e OTFontFileVal.Validator
oParam object
리턴 void

OpenXmlReportFile() 공개 메소드

public OpenXmlReportFile ( string sReportFile, string sFontFile ) : void
sReportFile string
sFontFile string
리턴 void

RunValidation() 공개 메소드

public RunValidation ( OTFontFileVal.Validator v, string fontList ) : int
v OTFontFileVal.Validator
fontList string
리턴 int

RunValidation() 공개 메소드

public RunValidation ( OTFontFileVal.Validator v, string fpath, SafeFileHandle hFile ) : int
v OTFontFileVal.Validator
fpath string
hFile SafeFileHandle
리턴 int

ValidatorCallback() 공개 메소드

public ValidatorCallback ( NS_ValCommon.ValInfoBasic viBasic ) : void
viBasic NS_ValCommon.ValInfoBasic
리턴 void