text
stringlengths
14
6.51M
unit floating; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, VCL.Graphics, VCL.Controls, VCL.Forms, VCL.Dialogs, Vcl.ExtCtrls, GemINI, ovcbase, ovcsplit; type TFloatingForm = class(TForm) procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); procedure FormShow(Sender: TObject); procedure FormDeactivate(Sender: TObject); procedure FormDestroy(Sender: TObject); procedure ClickImage(Sender: TObject); private fNoFloatParent : TWinControl; fSetFloatControl : TControl; fExitControl : TImage; fOnBeforeDock : TNotifyEvent; fOnAfterDock : TNotifyEvent; fOnBeforeFloat : TNotifyEvent; fOnAfterFloat : TNotifyEvent; fOnDestroyFloat : TNotifyEvent; fOnShowFloat : TNotifyEvent; fSplitterWidth : integer; fLocationStorage : TGemINI; fStorePathFile : string; fHeaderName : string; public procedure CreateParams (var Params: TCreateParams); override; constructor Create(AOwner : TComponent; const noFloatParent : TWinControl; const SetFloatControl: TControl; ExitControl: TImage; const aStorePathFile, aHeaderName: string); reintroduce; //destructor FormDestroy(Sender: TObject); procedure LoadFormLocation; procedure SaveFormLocation; procedure Float; property OnBeforeDock : TNotifyEvent read fOnBeforeDock write fOnBeforeDock; property OnAfterDock : TNotifyEvent read fOnAfterDock write fOnAfterDock; property OnBeforeFloat : TNotifyEvent read fOnBeforeFloat write fOnBeforeFloat; property OnAfterFloat : TNotifyEvent read fOnAfterFloat write fOnAfterFloat; property OnDestroyFloat : TNotifyEvent read fOnDestroyFloat write fOnDestroyFloat; property OnShowFloat : TNotifyEvent read fOnShowFloat write fOnShowFloat; property SplitterPos : Integer read fSplitterWidth write fSplitterWidth; end; implementation {$R *.dfm} procedure TFloatingForm.ClickImage(Sender: TObject); begin Close; end; constructor TFloatingForm.Create(AOwner: TComponent; const noFloatParent : TWinControl; const setFloatControl: TControl; ExitControl: TImage; const aStorePathFile, aHeaderName: string); //constructor TFloatingForm.Create(AOwner: TComponent; const noFloatParent : TWinControl); begin fNoFloatParent := noFloatParent; fSetFloatControl := setFloatControl; fExitControl := ExitControl; fExitControl.OnClick := ClickImage; fStorePathFile := aStorePathFile; fHeaderName := aHeaderName; //Self.Visible := False; inherited Create(AOwner); end; procedure TFloatingForm.FormDeactivate(Sender: TObject); begin if Assigned(fOnDestroyFloat) then fOnDestroyFloat(self); //inherited; end; procedure TFloatingForm.FormDestroy(Sender: TObject); begin if Assigned(fOnDestroyFloat) then fOnDestroyFloat(self); end; procedure TFloatingForm.FormShow(Sender: TObject); begin if Assigned(fOnShowFloat) then begin fOnShowFloat(self); end; end; procedure TFloatingForm.LoadFormLocation; begin fLocationStorage:= TGemINI.Create(fStorePathFile); try Left := fLocationStorage.ReadInteger(fHeaderName, 'Left', 10); Top := fLocationStorage.ReadInteger(fHeaderName, 'Top', 10); ClientWidth := fLocationStorage.ReadInteger(fHeaderName, 'Width', 235); ClientHeight := fLocationStorage.ReadInteger(fHeaderName, 'Height', 524); finally FreeAndNil(fLocationStorage); end; end; procedure TFloatingForm.SaveFormLocation; begin fLocationStorage:= TGemINI.Create(fStorePathFile); try fLocationStorage.WriteInteger(fHeaderName,'Left', Left); fLocationStorage.WriteInteger(fHeaderName, 'Top', Top); fLocationStorage.WriteInteger(fHeaderName, 'Width', ClientWidth); fLocationStorage.WriteInteger(fHeaderName, 'Height', ClientHeight); finally FreeAndNil(fLocationStorage); end; end; procedure TFloatingForm.CreateParams(var Params: TCreateParams); begin inherited CreateParams(Params); //desktop button Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW; end; procedure TFloatingForm.Float; var cnt : integer; begin if Visible then Exit; //already floating //fSetFloatControl. fSetFloatControl.Visible := false; if Assigned(fOnBeforeFloat) then fOnBeforeFloat(self); for cnt := -1 + fNoFloatParent.ControlCount downto 0 do begin fNoFloatParent.Controls[cnt].Parent := self; end; Visible := true; if Assigned(fOnAfterFloat) then fOnAfterFloat(self); end; procedure TFloatingForm.FormCloseQuery(Sender: TObject; var CanClose: Boolean); var cnt : integer; begin if Assigned(fOnBeforeDock) then fOnBeforeDock(self); for cnt:= -1 + ControlCount downto 0 do begin Controls[cnt].Parent := fNoFloatParent; end; fSetFloatControl.Visible := true; if Assigned(fOnAfterDock) then fOnAfterDock(self); //form is hidden by default (Action = caHide on OnClose) end; end.
{ ---------------------------------------------------------------------------- } { BulbTracer for MB3D } { Copyright (C) 2016-2017 Andreas Maschke } { ---------------------------------------------------------------------------- } unit BulbTracerUITools; interface uses Vcl.ComCtrls, BulbTracerConfig; type TMeshSaveType = (stMeshAsObj, stMeshAsLWO2, stUnprocessedMeshData, stNoSave); TPointCloudSaveType = (pstAsPly, pstNoSave); TCancelType = (ctCancelAndShowResult, ctCancelImmediately); function Clamp255(i: Integer): Integer; procedure Lighten(pc: PCardinal; b: Byte); procedure Darken(pc: PCardinal); procedure Solid2(pc: PCardinal; b1, b2: Integer); procedure Solid4(pc: PCardinal; b1, b2: Integer); procedure Solid8(pc: PCardinal; b1, b2: Integer); procedure Solid16(pc: PCardinal; b1, b2: Integer); function GetDefaultMeshFilename(const Filename: String; const SaveType: TMeshSaveType): String; overload; function GetDefaultMeshFilename(const Filename: String; const SaveType: TPointCloudSaveType): String; overload; function GetMeshFileExt(const SaveType: TMeshSaveType): String; overload; function GetMeshFileExt(const SaveType: TPointCloudSaveType): String; overload; function GetMeshFileFilter(const SaveType: TMeshSaveType): String; overload; function GetMeshFileFilter(const SaveType: TPointCloudSaveType): String; overload; function MakeMeshRawFilename(const Filename: String): String; function UpDownBtnValue(const Button: TUDBtnType; const Scl: Double): Double; function StrToFloatSafe(const Str: String; const DfltVal: Double): Double; function GuessSequence( const FilenameWithPath: String; var SequenceBaseFilename, SequenceFileExt: String; var SequencePatternLength, SequenceFrom, SequenceTo, SequenceCurrFrame: Integer ): Boolean; function GetSequenceFilename( const SequenceBaseFilename, SequenceFileExt: String; const SequencePatternLength, SequenceCurrFrame: Integer ): String; implementation uses SysUtils, MeshIOUtil; procedure Darken(pc: PCardinal); type ta = array[0..3] of Byte; pta = ^ta; begin if pta(pc)[0] > 3 then Dec(pta(pc)[0], 4); if pta(pc)[1] > 3 then Dec(pta(pc)[1], 4); if pta(pc)[2] > 3 then Dec(pta(pc)[2], 4); Inc(pc); if pta(pc)[0] > 3 then Dec(pta(pc)[0], 4); if pta(pc)[1] > 3 then Dec(pta(pc)[1], 4); if pta(pc)[2] > 3 then Dec(pta(pc)[2], 4); Inc(pc); if pta(pc)[0] > 3 then Dec(pta(pc)[0], 4); if pta(pc)[1] > 3 then Dec(pta(pc)[1], 4); if pta(pc)[2] > 3 then Dec(pta(pc)[2], 4); Inc(pc); if pta(pc)[0] > 3 then Dec(pta(pc)[0], 4); if pta(pc)[1] > 3 then Dec(pta(pc)[1], 4); if pta(pc)[2] > 3 then Dec(pta(pc)[2], 4); end; function Clamp255(i: Integer): Integer; asm cmp eax, 255 jle @up mov eax, 255 @up: end; procedure Lighten(pc: PCardinal; b: Byte); type ta = array[0..3] of Byte; pta = ^ta; begin { pta(pc)[0] := Min(255, pta(pc)[0] + 64); pta(pc)[1] := Min(127, pta(pc)[1] + 32); pta(pc)[2] := Min(127, pta(pc)[2] + 32); Inc(pc); pta(pc)[0] := Min(255, pta(pc)[0] + 64); pta(pc)[1] := Min(127, pta(pc)[1] + 32); pta(pc)[2] := Min(127, pta(pc)[2] + 32); Inc(pc); pta(pc)[0] := Min(255, pta(pc)[0] + 64); pta(pc)[1] := Min(127, pta(pc)[1] + 32); pta(pc)[2] := Min(127, pta(pc)[2] + 32); Inc(pc); pta(pc)[0] := Min(255, pta(pc)[0] + 64); pta(pc)[1] := Min(127, pta(pc)[1] + 32); pta(pc)[2] := Min(127, pta(pc)[2] + 32); } pta(pc)[0] := Clamp255(pta(pc)[0] + b); pta(pc)[1] := Clamp255(pta(pc)[1] + b); pta(pc)[2] := Clamp255(pta(pc)[2] + b); Inc(pc); pta(pc)[0] := Clamp255(pta(pc)[0] + b); pta(pc)[1] := Clamp255(pta(pc)[1] + b); pta(pc)[2] := Clamp255(pta(pc)[2] + b); Inc(pc); pta(pc)[0] := Clamp255(pta(pc)[0] + b); pta(pc)[1] := Clamp255(pta(pc)[1] + b); pta(pc)[2] := Clamp255(pta(pc)[2] + b); { Inc(pc); pta(pc)[0] := Min(255, pta(pc)[0] + b); pta(pc)[1] := Min(127, pta(pc)[1] + b); pta(pc)[2] := Min(127, pta(pc)[2] + b); } end; procedure Solid4(pc: PCardinal; b1, b2: Integer); begin pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b2; end; procedure Solid8(pc: PCardinal; b1, b2: Integer); begin pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b2; Inc(pc); pc^ := b2; end; procedure Solid16(pc: PCardinal; b1, b2: Integer); begin pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b1; Inc(pc); pc^ := b2; Inc(pc); pc^ := b2; Inc(pc); pc^ := b2; Inc(pc); pc^ := b2; end; procedure Solid2(pc: PCardinal; b1, b2: Integer); begin pc^ := b1; Inc(pc); pc^ := b2; end; function GetDefaultMeshFilename(const Filename: String; const SaveType: TMeshSaveType): String; overload; var OldExt, NewExt: String; begin OldExt := ExtractFileExt(Filename); NewExt := GetMeshFileExt(SaveType); if NewExt <> '' then NewExt := '.'+ NewExt; if OldExt='' then Result := Copy(Filename, 1, Length(Filename) - Length(OldExt)) + NewExt else Result := Filename + NewExt; end; function GetDefaultMeshFilename(const Filename: String; const SaveType: TPointCloudSaveType): String; overload; var OldExt, NewExt: String; begin OldExt := ExtractFileExt(Filename); NewExt := GetMeshFileExt(SaveType); if NewExt <> '' then NewExt := '.'+ NewExt; if OldExt='' then Result := Copy(Filename, 1, Length(Filename) - Length(OldExt)) + NewExt else Result := Filename + NewExt; end; function GetMeshFileFilter(const SaveType: TMeshSaveType): String; overload; begin case SaveType of stMeshAsObj: Result := 'Wavefront OBJ (*.obj)|*.obj'; stMeshAsLWO2: Result := 'Lightwave3D Object (*.lwo)|*.lwo'; stUnprocessedMeshData: Result := 'Raw mesh data (*'+cMB3DMeshSegFileExt+')|*.'+cMB3DMeshSegFileExt; else Result := ''; end; end; function GetMeshFileFilter(const SaveType: TPointCloudSaveType): String; overload; begin case SaveType of pstAsPly: Result := 'Polygon File Format (*.ply)|*.ply'; else Result := ''; end; end; function GetMeshFileExt(const SaveType: TMeshSaveType): String; overload; begin case SaveType of stMeshAsObj: Result := 'obj'; stMeshAsLWO2: Result := 'lwo'; stUnprocessedMeshData: Result := cMB3DMeshSegFileExt; else Result := ''; end; end; function GetMeshFileExt(const SaveType: TPointCloudSaveType): String; overload; begin case SaveType of pstAsPly: Result := 'ply'; else Result := ''; end; end; function MakeMeshRawFilename(const Filename: String): String; var Path, Name, Ext: String; begin Path := ExtractFilePath(Filename); Name := ExtractFileName(Filename); Ext := ExtractFileExt(Filename); if Ext <> '' then Name := Copy(Name, 1, Length(Name) - Length(Ext)); Result := Path + Name + '_raw'+ Ext; end; function UpDownBtnValue(const Button: TUDBtnType; const Scl: Double): Double; begin if btNext = Button then Result := Scl else Result := -Scl; end; function StrToFloatSafe(const Str: String; const DfltVal: Double): Double; begin try Result := StrToFloat(Str); except Result := DfltVal; end; end; function GuessSequence( const FilenameWithPath: String; var SequenceBaseFilename, SequenceFileExt: String; var SequencePatternLength, SequenceFrom, SequenceTo, SequenceCurrFrame: Integer ): Boolean; var I: Integer; Filename, BaseFilename, CurrFilename: String; Ch: Char; function IsNumeric(const Ch: Char): Boolean; begin Result := ( Ch >= '0' ) and ( Ch <= '9' ); end; begin Result := False; Filename := ExtractFileName( FilenameWithPath ); SequenceFileExt := ExtractFileExt( Filename ); BaseFilename := ChangeFileExt( Filename, '' ); if ( BaseFilename <> '' ) and IsNumeric( BaseFilename[ Length( BaseFilename ) ] ) then begin I := Length( BaseFilename ); while ( I > 0 ) and IsNumeric( BaseFilename[I] ) do Dec( I ); SequencePatternLength := Length( BaseFilename ) - I; SequenceBaseFilename := IncludeTrailingBackslash( ExtractFilePath( FilenameWithPath ) ) + Copy( BaseFilename, 1, I ); SequenceCurrFrame := StrToInt( Copy( BaseFilename, I + 1, Length( BaseFilename ) - I ) ); SequenceFrom := SequenceCurrFrame; SequenceTo := SequenceCurrFrame; while FileExists( GetSequenceFilename( SequenceBaseFilename, SequenceFileExt, SequencePatternLength, SequenceFrom - 1 ) ) do Dec( SequenceFrom ); while FileExists( GetSequenceFilename( SequenceBaseFilename, SequenceFileExt, SequencePatternLength, SequenceTo + 1 ) ) do Inc( SequenceTo ); Result := ( SequenceFrom <> SequenceTo ); end; end; function GetSequenceFilename( const SequenceBaseFilename, SequenceFileExt: String; const SequencePatternLength, SequenceCurrFrame: Integer ): String; var I: Integer; begin Result := IntToStr( SequenceCurrFrame ); while Length( Result ) < SequencePatternLength do Result := '0' + Result; Result := SequenceBaseFilename + Result + SequenceFileExt; end; end.
unit Util.Mensageria; interface uses System.UITYpes, FMX.DialogService, FMX.Dialogs, TiposComuns; type TMensageria = class private public class procedure Mensagem(const ATexto: String; const ATipo: TTipoMensagemIcone; ACallBack: TInputCloseDialogProc = nil);overload; class procedure Mensagem(const ATexto: String; const ATipo: TMsgDlgType; const ACloseDialogProc: TInputCloseDialogProc);overload; end; implementation { TMensageria } class procedure TMensageria.Mensagem(const ATexto: String; const ATipo: TMsgDlgType; const ACloseDialogProc: TInputCloseDialogProc); begin TDialogService.MessageDialog(ATexto, ATipo, [System.UITypes.TMsgDlgBtn.mbOk], System.UITypes.TMsgDlgBtn.mbOk, 0, ACloseDialogProc); end; class procedure TMensageria.Mensagem(const ATexto: String; const ATipo: TTipoMensagemIcone; ACallBack: TInputCloseDialogProc); var vTpMsgIconDelphi : TMsgDlgType; vTpMsgBtnDelphi : System.UITypes.TMsgDlgButtons; lTpMsgBtnFocusDelphi : System.UITypes.TMsgDlgBtn; begin vTpMsgBtnDelphi := [System.UITypes.TMsgDlgBtn.mbOk]; lTpMsgBtnFocusDelphi := System.UITypes.TMsgDlgBtn.mbOk; case ATipo of tmiInformacao : vTpMsgIconDelphi := System.UITypes.TMsgDlgType.mtInformation; tmiConfirmacao : begin vTpMsgIconDelphi := System.UITypes.TMsgDlgType.mtConfirmation; vTpMsgBtnDelphi := FMX.Dialogs.mbYesNo; lTpMsgBtnFocusDelphi := System.UITypes.TMsgDlgBtn.mbNo; end; tmiAviso : vTpMsgIconDelphi := System.UITypes.TMsgDlgType.mtWarning; tmiErro : vTpMsgIconDelphi := System.UITypes.TMsgDlgType.mtError; tmiNenhum : vTpMsgIconDelphi := System.UITypes.TMsgDlgType.mtCustom; end; TDialogService.MessageDialog(ATexto, vTpMsgIconDelphi, vTpMsgBtnDelphi, lTpMsgBtnFocusDelphi, 0, ACallBack); end; end.
unit u_J16Receiver; interface uses Classes, SysUtils, u_J08Task; type PSetCoffPackate = ^TSetCoffPackate; { TSetCoffPackate } TCoffs = Array[0..2, 0..1] of Single; TSetCoffPackate = packed Record SOF: Byte; LEN: Byte; Cmd: Byte; AM_FM: Byte; Coffs: TCoffs; EOF: Byte; Procedure Fill(AM_FMSel: Byte; V0_A, V0_B, V1_A, V1_B, V2_A, V2_B: Single); function ToString: AnsiString; end; { TCoffReport } TCoffReport = packed Record SOF: Byte; LEN: Byte; Cmd: Byte; Applied: Byte; Valid: Byte; AMCoff: TCoffs; FMCoff: TCoffs; EOF: Byte; Procedure FromString(const Raw: String); function ToString: AnsiString; end; ISlopeCalibrate = Interface ['{F36DF0F2-74FF-4A3C-85BD-46C00FFC43B3}'] Procedure LevelDataFormat(Value : Integer); //0: orginal value 1: calibrated value Procedure SetCoeffValid(Value : Boolean); //false: Coeff invalid and not used 1: Coeff valid can used by leveldata format Procedure SetAMCoeff(AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); //three coff to define the calibrateequtions: //1 : A0 * x + B0 放大状态系数(小信号) //2 : A1 * x + B1 直通状态系数(中信号) //3 : A2 * x + B2 衰减状态系数(大信号) Procedure SetAMCoeff2(const Value: TCoffs); Procedure SetFMCoeff2(const Value: TCoffs); Procedure SetFMCoeff(AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); //same with SetAMCoeff Function QueryCoeffInfo(var Value: TCoffReport): Boolean; // the receiver will be report the coeff info as responding this command, // the value will return to TCoffReport struct, // 此命令发送后,应该用消息循环等待一会儿,以处理串口发送出来的数据 //保证返回的变量有效 Procedure WriteToE2PROM; End; TJ16Receiver = Class(TJ08Receiver, ISlopeCalibrate) Private FCoffReport: TCoffReport; Procedure ProcessLevelCoffStatus(const Raw: String); procedure SetCoeff(AM_FM_indicate: Byte; AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); Public Type TJ16RawPaser = class(TJ08Receiver.TJ08RawParser) Protected // Procedure DoParser(var ABuf: AnsiString; const ACtrl: TJ08Receiver); Override; Procedure DoParse2(var ABuf: AnsiString; const ACtrl: TJ08Receiver; var MatchCode: Byte); Override; end; protected function GetParserClass: TRawParserClass; override; Protected //interface Procedure LevelDataFormat(Value : Integer); Procedure SetCoeffValid(Value : Boolean); Procedure SetAMCoeff(AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); Procedure SetFMCoeff(AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); Function QueryCoeffInfo(var Value: TCoffReport): Boolean; Procedure WriteToE2PROM; Procedure SetAMCoeff2(const Value: TCoffs); Procedure SetFMCoeff2(const Value: TCoffs); End; Procedure ReverseCoffsByteOrder(var Coffs: TCoffs); implementation uses StrUtils, PlumUtils, Windows; Procedure DebugText(const Info: String); begin end; Procedure ReverseDWORD(var value: DWORD); type PtrLongRec = ^LongRec; var PtrOld: PtrLongRec; PtrNew: PtrLongRec; RAW: LongInt; begin PtrOld:= @Value; PtrNew:= @Raw; PtrNew.Bytes[0]:= PtrOld.Bytes[3]; PtrNew.Bytes[1]:= PtrOld.Bytes[2]; PtrNew.Bytes[2]:= PtrOld.Bytes[1]; PtrNew.Bytes[3]:= PtrOld.Bytes[0]; PLongInt(PtrOld)^:= Raw; end; Procedure ReverseCoffsByteOrder(var Coffs: TCoffs); var i: Integer; Ptr: PDWORD; begin Ptr:= @Coffs; for i:= 0 to (SizeOf(Coffs) div SizeOf(Single)) - 1 do begin ReverseDWORD(Ptr^); Inc(Ptr); end; end; { TCoffReport } procedure TCoffReport.FromString(const Raw: String); begin Move(PChar(Raw)^, Self, SizeOf(Self)); end; function TCoffReport.ToString: AnsiString; begin SetLength(Result, SizeOf(Self)); Move(Pointer(@Self.SOF)^, PAnsiChar(Result)^, SizeOf(Self)); end; { TSetCoffPackate } procedure TSetCoffPackate.Fill(AM_FMSel: Byte; V0_A, V0_B, V1_A, V1_B, V2_A, V2_B: Single); begin self.SOF:= $7B; self.LEN:= SizeOf(Self); self.Cmd:= $55; self.AM_FM:= AM_FMSel; self.Coffs[0, 0]:= V0_A; self.Coffs[0, 1]:= V0_B; self.Coffs[1, 0]:= V1_A; self.Coffs[1, 1]:= V1_B; self.Coffs[2, 0]:= V2_A; self.Coffs[2, 1]:= V2_B; self.EOF:= $7D; end; function TSetCoffPackate.ToString: AnsiString; begin SetLength(Result, SizeOf(Self)); Move(Pointer(@Self.SOF)^, PAnsiChar(Result)^, SizeOf(Self)); end; { TJ16Receiver } function TJ16Receiver.GetParserClass: TRawParserClass; begin Result:= TJ16RawPaser; end; procedure TJ16Receiver.LevelDataFormat(Value: Integer); const L_Cmds: Array[0..1] of AnsiString = (#$7B#$05#$53#$00#$7D, #$7B#$05#$53#$01#$7D); begin WriteRawData(PAnsiChar(L_Cmds[Value]), Length(L_Cmds[Value])); end; procedure TJ16Receiver.ProcessLevelCoffStatus(const Raw: String); begin FCoffReport.FromString(Raw); ReverseCoffsByteOrder(FCoffReport.AMCoff); ReverseCoffsByteOrder(FCoffReport.FMCoff); DebugText(PlumUtils.Buf2Hex(FCoffReport.ToString)); end; Function TJ16Receiver.QueryCoeffInfo(var Value: TCoffReport): Boolean; const L_Cmd: AnsiString = #$7B#$04#$56#$7D; var Try_Time: Integer; begin {$IFNDEF Debug_Emu} Result:= False; WriteRawData(PAnsiChar(L_Cmd), Length(L_Cmd)); FCoffReport.SOF:= 0; Try_Time:= 0; while (Try_Time < 3) and (FCoffReport.SOF = 0) do begin WaitMS(100); Inc(Try_Time); end; if FCoffReport.SOF <> 0 then begin Value:= FCoffReport; Result:= True; end; {$ELSE} Result:= True; {$ENDIF} end; procedure TJ16Receiver.SetCoeff(AM_FM_indicate: Byte; AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); var L_Packate: TSetCoffPackate; L_Buf: AnsiString; begin L_Packate.Fill(AM_FM_indicate, AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2); ReverseCoffsByteOrder(L_Packate.Coffs); L_Buf:= L_Packate.ToString; WriteRawData(PAnsiChar(L_Buf), Length(L_Buf)); DebugText('写入串口:' + PlumUtils.Buf2Hex(AnsiLeftStr(L_Buf, Length(L_Buf)))); end; procedure TJ16Receiver.SetAMCoeff(AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); begin SetCoeff(0, AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2); end; procedure TJ16Receiver.SetAMCoeff2(const Value: TCoffs); begin SetCoeff(0, Value[0, 0], Value[0, 1], Value[1, 0], Value[1, 1], Value[2, 0], Value[2, 1]); end; procedure TJ16Receiver.SetCoeffValid(Value: Boolean); const L_Cmds: Array[0..1] of String = (#$7B#$05#$54#$00#$7D, #$7B#$05#$54#$01#$7D); begin if Value then WriteRawData(PAnsiChar(L_Cmds[1]), Length(L_Cmds[1])) else WriteRawData(PAnsiChar(L_Cmds[0]), Length(L_Cmds[0])); end; procedure TJ16Receiver.SetFMCoeff(AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2: Single); begin SetCoeff(0, AmpA0, AmpB0, DirA1, DirB1, AttenA2, AttenB2); end; procedure TJ16Receiver.SetFMCoeff2(const Value: TCoffs); begin SetCoeff(1, Value[0, 0], Value[0, 1], Value[1, 0], Value[1, 1], Value[2, 0], Value[2, 1]); end; procedure TJ16Receiver.WriteToE2PROM; const L_Cmds:Array[0..0] of String = (#$7B#$04#$57#$7D); begin WriteRawData(PAnsiChar(L_Cmds[0]), Length(L_Cmds[0])); end; { TJ16Receiver.TJ16RawPaser } procedure TJ16Receiver.TJ16RawPaser.DoParse2(var ABuf: AnsiString; const ACtrl: TJ08Receiver; var MatchCode: Byte); var L_PackLen: WORD; L_HexStr: AnsiString; begin //DebugText( PlumUtils.Buf2Hex(ABuf)); While (Length(ABuf) >= 3) do begin if strlcomp(#$7B, PAnsiChar(ABuf),1) = 0 then begin if Length(ABuf) >= 3 then //可以取得长度了 begin if (Byte(ABuf[1]) = $7B) and (Byte(ABuf[3]) = $7D) then //原来的协议,无长度,真是要命 begin Case Byte(ABuf[2]) of $33: begin DebugText('接收到协议格式正确应答'); end else DebugText('接收到协议其它应答'); end; ABuf:= RightStr(ABuf, Length(ABuf) - 3); end else begin //有长度的协议 L_PackLen:= byte(ABuf[2]); if Length(ABuf) >= L_PackLen then begin if ABuf[L_PackLen] = #$7D then begin L_HexStr:= PlumUtils.Buf2Hex(AnsiLeftStr(ABuf, L_PackLen)); DebugText('接收到数据: ' + L_HexStr); Case Byte(ABuf[3]) of //Cmd $56: begin TJ16Receiver(ACtrl).ProcessLevelCoffStatus(ABuf); end; end; ABuf:= AnsiRightStr(ABuf, Length(ABuf) - L_PackLen); end else begin ABuf:= RightStr(ABuf, Length(ABuf) - 1); DebugText('找不到数据尾,弹出1字节'); end; end else begin Break; end; end; end else begin break; end; end else begin ABuf:= RightStr(ABuf, Length(ABuf) - 1); end; end; end; var x: DWORD; initialization x:= $11223344; windows.OutputDebugString(PChar(Format('%x', [x]))); ReverseDWORD(x); windows.OutputDebugString(PChar(Format('%x', [x]))); end.
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, XLSReadWriteII5, xpgParseChart, XLSRelCells5, ExtCtrls, FormFormatChartItem, Xc12DataStyleSheet5, XLSDrawing5, Grids, XLSUtils5, Xc12Utils5; type TSampleChartItemProps = class(TObject) protected FShape : TXLSDrwShapeProperies; FFont : TXc12Font; public constructor Create(ADrawing: TXLSDrawing; ADefaultFont: TXc12Font); destructor Destroy; override; property Shape : TXLSDrwShapeProperies read FShape; property Font : TXc12Font read FFont; end; type TfrmMain = class(TForm) Label1: TLabel; edFilename: TEdit; Button3: TButton; dlgSave: TSaveDialog; Button1: TButton; Button4: TButton; shpChart: TShape; shpPlotArea: TShape; shpTitle: TShape; cbTitle: TCheckBox; btnTitleStyle: TButton; btnTitleText: TButton; Button5: TButton; Label3: TLabel; Label4: TLabel; Shape1: TShape; cbLegend: TCheckBox; btnLegendStyle: TButton; btnLegendText: TButton; lblLegendPos: TLabel; cbLegendPos: TComboBox; dlgFont: TFontDialog; cbChart: TComboBox; Label5: TLabel; Shape2: TShape; Shape3: TShape; Button2: TButton; Button6: TButton; Button7: TButton; Button8: TButton; Label2: TLabel; Label6: TLabel; sgData: TStringGrid; Label7: TLabel; btnAddSerie: TButton; BtnRemoveSerie: TButton; Button9: TButton; Label8: TLabel; cbMarkers: TComboBox; lblTitleRef: TLabel; edTitleRef: TEdit; Button10: TButton; Label9: TLabel; edValAxisNumFmt: TEdit; cbValAxisLog: TCheckBox; btbPos: TButton; cbCatAxValues: TCheckBox; procedure Button3Click(Sender: TObject); procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObject); procedure Button1Click(Sender: TObject); procedure Button4Click(Sender: TObject); procedure cbTitleClick(Sender: TObject); procedure btnTitleStyleClick(Sender: TObject); procedure Button5Click(Sender: TObject); procedure cbLegendClick(Sender: TObject); procedure btnLegendStyleClick(Sender: TObject); procedure btnTitleTextClick(Sender: TObject); procedure btnLegendTextClick(Sender: TObject); procedure btnAddSerieClick(Sender: TObject); procedure BtnRemoveSerieClick(Sender: TObject); procedure Button2Click(Sender: TObject); procedure Button7Click(Sender: TObject); procedure Button6Click(Sender: TObject); procedure Button8Click(Sender: TObject); procedure Button9Click(Sender: TObject); procedure Button10Click(Sender: TObject); procedure btbPosClick(Sender: TObject); private XLS : TXLSReadWriteII5; FPropsChart : TSampleChartItemProps; FPropsValAxis : TSampleChartItemProps; FPropsCatAxis : TSampleChartItemProps; FPropsPlotArea: TSampleChartItemProps; FPropsLegend : TSampleChartItemProps; FPropsTitle : TSampleChartItemProps; procedure SetupDefaultProps; procedure FillSheetValues; procedure MakeChart; procedure AddSerie; public { Public declarations } end; var frmMain: TfrmMain; implementation {$R *.dfm} procedure TfrmMain.AddSerie; var i,j: integer; begin j := sgData.ColCount; sgData.ColCount := sgData.ColCount + 1; sgData.Cells[j,0] := 'Ser ' + IntToStr(j); for i := 0 to 5 do sgData.Cells[j,i + 1] := IntToStr(Random(10000)); btnRemoveSerie.Enabled := sgData.ColCount > 2; end; procedure TfrmMain.btnLegendStyleClick(Sender: TObject); begin TfrmFormatChartItem.Create(Self).Execute(FPropsLegend.Shape); end; procedure TfrmMain.btnLegendTextClick(Sender: TObject); begin FPropsLegend.Font.CopyToTFont(dlgFont.Font); if dlgFont.Execute then FPropsLegend.Font.Assign(dlgFont.Font); end; procedure TfrmMain.btnTitleStyleClick(Sender: TObject); begin TfrmFormatChartItem.Create(Self).Execute(FPropsTitle.Shape); end; procedure TfrmMain.btnTitleTextClick(Sender: TObject); begin FPropsTitle.Font.CopyToTFont(dlgFont.Font); if dlgFont.Execute then FPropsTitle.Font.Assign(dlgFont.Font); end; procedure TfrmMain.BtnRemoveSerieClick(Sender: TObject); begin sgData.ColCount := sgData.ColCount - 1; btnRemoveSerie.Enabled := sgData.ColCount > 2; end; procedure TfrmMain.Button10Click(Sender: TObject); begin TfrmFormatChartItem.Create(Self).Execute(FPropsChart.Shape); end; procedure TfrmMain.Button1Click(Sender: TObject); begin Close; end; procedure TfrmMain.Button2Click(Sender: TObject); begin TfrmFormatChartItem.Create(Self).Execute(FPropsValAxis.Shape); end; procedure TfrmMain.Button3Click(Sender: TObject); begin dlgSave.InitialDir := ExtractFilePath(Application.ExeName); dlgSave.FileName := edFilename.Text; if dlgSave.Execute then edFilename.Text := dlgSave.FileName; end; procedure TfrmMain.Button4Click(Sender: TObject); begin XLS.Filename := edFilename.Text; XLS.Write; end; procedure TfrmMain.Button5Click(Sender: TObject); begin TfrmFormatChartItem.Create(Self).Execute(FPropsPlotArea.Shape); end; procedure TfrmMain.Button6Click(Sender: TObject); begin FPropsValAxis.Font.CopyToTFont(dlgFont.Font); if dlgFont.Execute then FPropsValAxis.Font.Assign(dlgFont.Font); end; procedure TfrmMain.Button7Click(Sender: TObject); begin TfrmFormatChartItem.Create(Self).Execute(FPropsCatAxis.Shape); end; procedure TfrmMain.Button8Click(Sender: TObject); begin FPropsCatAxis.Font.CopyToTFont(dlgFont.Font); if dlgFont.Execute then FPropsCatAxis.Font.Assign(dlgFont.Font); end; procedure TfrmMain.Button9Click(Sender: TObject); begin MakeChart; end; procedure TfrmMain.btbPosClick(Sender: TObject); begin if XLS[0].Drawing.Charts.Count > 0 then begin XLS[0].Drawing.Charts[0].Col1 := 5; XLS[0].Drawing.Charts[0].Col2 := 15; end; end; procedure TfrmMain.btnAddSerieClick(Sender: TObject); begin AddSerie; end; procedure TfrmMain.cbTitleClick(Sender: TObject); begin btnTitleStyle.Enabled := cbTitle.Checked; btnTitleText.Enabled := cbTitle.Checked; lblTitleRef.Enabled := cbTitle.Checked; edTitleRef.Enabled := cbTitle.Checked; end; procedure TfrmMain.FillSheetValues; var r,c: integer; begin for c := 0 to sgData.ColCount - 1 do XLS[0].AsString[c,0] := sgData.Cells[c,0]; for r := 1 to sgData.RowCount - 1 do XLS[0].AsString[0,r] := sgData.Cells[0,r]; for c := 1 to sgData.ColCount - 1 do begin for r := 1 to sgData.RowCount - 1 do XLS[0].AsFloat[c,r] := StrToFloatDef(sgData.Cells[c,r],0); end; end; procedure TfrmMain.FormCreate(Sender: TObject); var i: integer; begin XLS := TXLSReadWriteII5.Create(Nil); cbLegendPos.ItemIndex := 0; cbChart.ItemIndex := 0; cbMarkers.ItemIndex := 0; FPropsChart := TSampleChartItemProps.Create(XLS[0].Drawing,XLS.Font); FPropsValAxis := TSampleChartItemProps.Create(XLS[0].Drawing,XLS.Font); FPropsCatAxis := TSampleChartItemProps.Create(XLS[0].Drawing,XLS.Font); FPropsPlotArea := TSampleChartItemProps.Create(XLS[0].Drawing,XLS.Font); FPropsLegend := TSampleChartItemProps.Create(XLS[0].Drawing,XLS.Font); FPropsTitle := TSampleChartItemProps.Create(XLS[0].Drawing,XLS.Font); SetupDefaultProps; sgData.Cells[0,0] := 'Month'; for i := 1 to 5 do sgData.Cells[0,i] := FormatSettings.ShortMonthNames[i]; end; procedure TfrmMain.FormDestroy(Sender: TObject); begin FPropsChart.Free; FPropsValAxis.Free; FPropsCatAxis.Free; FPropsPlotArea.Free; FPropsLegend.Free; FPropsTitle.Free; XLS.Free; end; procedure TfrmMain.MakeChart; var i : integer; S : AxUCString; ChartSpace: TCT_ChartSpace; RCells : TXLSRelCells; Text : TXLSDrwText; begin if sgData.ColCount <= 1 then begin ShowMessage('Add at least one serie'); Exit; end; FillSheetValues; RCells := XLS[0].CreateRelativeCells; RCells.SetArea(1,0,sgData.ColCount - 1,sgData.RowCount - 1); case cbChart.ItemIndex of 0: ChartSpace := XLS[0].Drawing.Charts.MakeBarChart(RCells,1,sgData.RowCount,True); 1: ChartSpace := XLS[0].Drawing.Charts.MakeLineChart(RCells,1,sgData.RowCount); 2: ChartSpace := XLS[0].Drawing.Charts.MakeAreaChart(RCells,1,sgData.RowCount); 3: ChartSpace := XLS[0].Drawing.Charts.MakeBubbleChart(RCells,1,sgData.RowCount); 4: ChartSpace := XLS[0].Drawing.Charts.MakeDoughnutChart(RCells,1,sgData.RowCount); 5: ChartSpace := XLS[0].Drawing.Charts.MakePieChart(RCells,1,sgData.RowCount); 6: ChartSpace := XLS[0].Drawing.Charts.MakeRadarChart(RCells,1,sgData.RowCount); 7: ChartSpace := XLS[0].Drawing.Charts.MakeScatterChart(RCells,1,sgData.RowCount); else ChartSpace := XLS[0].Drawing.Charts.MakeBarChart(RCells,1,sgData.RowCount,True); end; if FPropsChart.Shape.Assigned then begin ChartSpace.Create_SpPr; ChartSpace.SpPr.Assign(FPropsChart.Shape.SpPr); end; if not FPropsChart.Font.Equal(XLS.Font) then SetChartFont(FPropsValAxis.Font,ChartSpace); if FPropsPlotArea.Shape.Assigned then begin ChartSpace.Chart.PlotArea.Create_SpPr; ChartSpace.Chart.PlotArea.SpPr.Assign(FPropsPlotArea.Shape.SpPr); end; if FPropsValAxis.Shape.Assigned then begin for i := 0 to ChartSpace.Chart.PlotArea.ValAxis.Count - 1 do begin ChartSpace.Chart.PlotArea.ValAxis[i].Shared.Create_SpPr; ChartSpace.Chart.PlotArea.ValAxis[i].Shared.SpPr.Assign(FPropsValAxis.Shape.SpPr); end; end; if not FPropsValAxis.Font.Equal(XLS.Font) then begin for i := 0 to ChartSpace.Chart.PlotArea.ValAxis.Count - 1 do SetChartFont(FPropsValAxis.Font,ChartSpace.Chart.PlotArea.ValAxis[0]); end; if edValAxisNumFmt.Text <> '' then begin for i := 0 to ChartSpace.Chart.PlotArea.ValAxis.Count - 1 do begin ChartSpace.Chart.PlotArea.ValAxis[i].Shared.Create_NumFmt; ChartSpace.Chart.PlotArea.ValAxis[i].Shared.NumFmt.FormatCode := edValAxisNumFmt.Text; ChartSpace.Chart.PlotArea.ValAxis[i].Shared.NumFmt.SourceLinked := False; end; end; if cbValAxisLog.Checked then begin for i := 0 to ChartSpace.Chart.PlotArea.ValAxis.Count - 1 do begin ChartSpace.Chart.PlotArea.ValAxis[i].Shared.Create_Scaling; ChartSpace.Chart.PlotArea.ValAxis[i].Shared.Scaling.Create_LogBase; ChartSpace.Chart.PlotArea.ValAxis[i].Shared.Scaling.LogBase.Val := 10; ChartSpace.Chart.PlotArea.ValAxis[i].Shared.Scaling.Create_Orientation; ChartSpace.Chart.PlotArea.ValAxis[i].Shared.Scaling.Orientation.Val := stoMaxMin; end; end; if cbCatAxValues.Checked then begin ChartSpace.Chart.PlotArea.BarChart.Shared.Series[0].Create_Cat; ChartSpace.Chart.PlotArea.BarChart.Shared.Series[0].Cat.Create_strRef; ChartSpace.Chart.PlotArea.BarChart.Shared.Series[0].Cat.strRef.F := 'Sheet1!' + AreaToRefStr(0,1,0,sgData.RowCount - 1,True,True,True,True); end; if FPropsCatAxis.Shape.Assigned then begin ChartSpace.Chart.PlotArea.CatAxis[0].Shared.Create_SpPr; ChartSpace.Chart.PlotArea.CatAxis[0].Shared.SpPr.Assign(FPropsCatAxis.Shape.SpPr); end; if not FPropsCatAxis.Font.Equal(XLS.Font) then SetChartFont(FPropsValAxis.Font,ChartSpace.Chart.PlotArea.CatAxis[0]); if cbLegend.Checked then begin ChartSpace.Chart.CreateDefaultLegend; ChartSpace.Chart.Legend.Create_LegendPos; case cbLegendPos.ItemIndex of 0: ChartSpace.Chart.Legend.LegendPos.Val := stlpR; 1: ChartSpace.Chart.Legend.LegendPos.Val := stlpL; 2: ChartSpace.Chart.Legend.LegendPos.Val := stlpT; 3: ChartSpace.Chart.Legend.LegendPos.Val := stlpB; end; if FPropsLegend.Shape.Assigned then begin ChartSpace.Chart.Legend.Create_SpPr; ChartSpace.Chart.Legend.SpPr.Assign(FPropsLegend.Shape.SpPr); end; if not FPropsLegend.Font.Equal(XLS.Font) then SetChartFont(FPropsValAxis.Font,ChartSpace.Chart.Legend); end; if cbTitle.Checked then begin ChartSpace.Chart.Create_Title; Text := TXLSDrwText.Create(ChartSpace.Chart.Title.Create_Tx); try i := Pos('!',edTitleRef.Text); S := ''; if i > 1 then S := Copy(edTitleRef.Text,i + 1,MAXINT) else S := ''; if IsAreaStr(S) then Text.Ref := XLS[0].CreateRelativeCells(S) else Text.PlainText := 'Chart Test'; finally Text.Free; end; if not FPropsTitle.Font.Equal(XLS.Font) then SetChartFont(FPropsValAxis.Font,ChartSpace.Chart.Title); end; end; procedure TfrmMain.SetupDefaultProps; begin FPropsTitle.Font.Size := 18; FPropsTitle.Font.Style := [xfsBold]; end; procedure TfrmMain.cbLegendClick(Sender: TObject); begin btnLegendStyle.Enabled := cbLegend.Checked; btnLegendText.Enabled := cbLegend.Checked; lblLegendPos.Enabled := cbLegend.Checked; cbLegendPos.Enabled := cbLegend.Checked; end; { TSampleChartItemProps } constructor TSampleChartItemProps.Create(ADrawing: TXLSDrawing; ADefaultFont: TXc12Font); begin FShape := ADrawing.CreateShapeProps; FFont := TXc12Font.Create(Nil); FFont.Assign(ADefaultFont); end; destructor TSampleChartItemProps.Destroy; begin FShape.Free; FFont.Free; inherited; end; end.
unit TestModel1; {$IFDEF FPC} {$mode objfpc}{$H+} {$ENDIF} interface uses SysUtils, tiObject, tiAutoMap, tiOPFManager, tiVisitorDB, tiVisitorCriteria, tiCriteria, tiSQLParser, mapper, tiQueryXMLLight, agTIOPF; type // --------------------------------------------- // Generated Classes // --------------------------------------------- { Generated Class: TTestModel1} TTestModel1 = class(TagtiopfMarkObject) protected FName: string; FPhoneNumber: string; procedure SetName(const AValue: string); virtual; procedure SetPhoneNumber(const AValue: string); virtual; public procedure Read; override; procedure Save; override; published property Name: string read FName write SetName; property PhoneNumber: string read FPhoneNumber write SetPhoneNumber; end; { List of TTestModel1. TtiMappedFilteredObjectList descendant. } TTestModel1List = class(TtiMappedFilteredObjectList) protected procedure SetItems(i: integer; const AValue: TTestModel1); reintroduce; function GetItems(i: integer): TTestModel1; reintroduce; public property Items[i: integer]: TTestModel1 read GetItems write SetItems; procedure Add(AObject: TTestModel1); reintroduce; procedure Read; override; procedure Save; override; { Return count (1) if successful. } function FindByOID(const AOID: string): integer; end; { Read Visitor for TTestModel1 } TTestModel1_Read = class(TtiVisitorSelect) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure SetupParams; override; procedure MapRowToObject; override; end; { Create Visitor for TTestModel1 } TTestModel1_Create = class(TtiVisitorUpdate) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure SetupParams; override; end; { Update Visitor for TTestModel1 } TTestModel1_Save = class(TtiVisitorUpdate) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure SetupParams; override; end; { Delete Visitor for TTestModel1 } TTestModel1_Delete = class(TtiVisitorUpdate) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure SetupParams; override; end; { List Read Visitor for TTestModel1List } TTestModel1List_Read = class(TtiVisitorSelect) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure MapRowToObject; override; end; { List Create Visitor for TTestModel1List } TTestModel1List_Create = class(TtiVisitorUpdate) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure SetupParams; override; end; { List Update Visitor for TTestModel1List } TTestModel1List_Save = class(TtiVisitorUpdate) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure SetupParams; override; end; { List Delete Visitor for TTestModel1List } TTestModel1List_Delete = class(TtiVisitorUpdate) protected function AcceptVisitor: boolean; override; procedure Init; override; procedure SetupParams; override; end; { Visitor Manager Registrations } procedure RegisterVisitors; { Register Auto Mappings } procedure RegisterMappings; implementation procedure RegisterMappings; begin { Automap registrations for TTestModel1 } GTIOPFManager.ClassDBMappingMgr.RegisterMapping(TTestModel1, 'TestModel1', 'OID', 'OID', [pktDB]); GTIOPFManager.ClassDBMappingMgr.RegisterMapping(TTestModel1, 'TestModel1', 'Name', 'Name'); GTIOPFManager.ClassDBMappingMgr.RegisterMapping(TTestModel1, 'TestModel1', 'PhoneNumber', 'PhoneNumber'); GTIOPFManager.ClassDBMappingMgr.RegisterCollection(TTestModel1List, TTestModel1); end; procedure RegisterVisitors; begin { Register Visitors for TTestModel1 } GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1List_listread', TTestModel1List_Read); GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1List_listsave', TTestModel1List_Create); GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1List_listsave', TTestModel1List_Save); GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1List_listsave', TTestModel1List_Delete); GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1read', TTestModel1_Read); GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1save', TTestModel1_Save); GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1delete', TTestModel1_Delete); GTIOPFManager.VisitorManager.RegisterVisitor('TTestModel1create', TTestModel1_Create); end; procedure TTestModel1.SetName(const AValue: string); begin if FName <> AValue then FName := AValue; end; procedure TTestModel1.SetPhoneNumber(const AValue: string); begin if FPhoneNumber <> AValue then FPhoneNumber := AValue; end; procedure TTestModel1.Read; begin GTIOPFManager.VisitorManager.Execute(ClassName + 'read', self); end; procedure TTestModel1.Save; begin case ObjectState of posDelete: GTIOPFManager.VisitorManager.Execute('TTestModel1delete', self); posUpdate: GTIOPFManager.VisitorManager.Execute('TTestModel1save', self); posCreate: GTIOPFManager.VisitorManager.Execute('TTestModel1create', self); end; end; {TTestModel1List } procedure TTestModel1List.Add(AObject: TTestModel1); begin inherited Add(AObject); end; function TTestModel1List.GetItems(i: integer): TTestModel1; begin Result := inherited GetItems(i) as TTestModel1; end; procedure TTestModel1List.Read; begin GTIOPFManager.VisitorManager.Execute('TTestModel1List_listread', self); end; procedure TTestModel1List.Save; begin GTIOPFManager.VisitorManager.Execute('TTestModel1List_listsave', self); end; procedure TTestModel1List.SetItems(i: integer; const AValue: TTestModel1); begin inherited SetItems(i, AValue); end; function TTestModel1List.FindByOID(const AOID: string): integer; begin if self.Count > 0 then self.Clear; Criteria.ClearAll; Criteria.AddEqualTo('OID', AOID); Read; Result := Count; end; { TTestModel1_Create } function TTestModel1_Create.AcceptVisitor: boolean; begin Result := Visited.ObjectState = posCreate; end; procedure TTestModel1_Create.Init; begin Query.SQLText := 'INSERT INTO TestModel1(' + ' OID, ' + ' Name, ' + ' PhoneNumber' + ') VALUES (' + ' :OID, ' + ' :Name, ' + ' :PhoneNumber' + ') '; end; procedure TTestModel1_Create.SetupParams; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignToTIQuery('OID', Query); Query.ParamAsString['Name'] := lObj.Name; Query.ParamAsString['PhoneNumber'] := lObj.PhoneNumber; end; { TTestModel1_Save } function TTestModel1_Save.AcceptVisitor: boolean; begin Result := Visited.ObjectState = posUpdate; end; procedure TTestModel1_Save.Init; begin Query.SQLText := 'UPDATE TestModel1 SET ' + ' Name = :Name, ' + ' PhoneNumber = :PhoneNumber ' + 'WHERE OID = :OID'; end; procedure TTestModel1_Save.SetupParams; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignToTIQuery('OID', Query); Query.ParamAsString['Name'] := lObj.Name; Query.ParamAsString['PhoneNumber'] := lObj.PhoneNumber; end; { TTestModel1_Read } function TTestModel1_Read.AcceptVisitor: boolean; begin Result := (Visited.ObjectState = posPK) or (Visited.ObjectState = posClean); end; procedure TTestModel1_Read.Init; begin Query.SQLText := 'SELECT ' + ' OID, ' + ' Name, ' + ' PhoneNumber ' + 'FROM TestModel1 WHERE OID = :OID'; end; procedure TTestModel1_Read.SetupParams; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignToTIQuery('OID', Query); end; procedure TTestModel1_Read.MapRowToObject; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignFromTIQuery('OID', Query); lObj.Name := Query.FieldAsString['Name']; lObj.PhoneNumber := Query.FieldAsString['PhoneNumber']; end; { TTestModel1_Delete } function TTestModel1_Delete.AcceptVisitor: boolean; begin Result := Visited.ObjectState = posDelete; end; procedure TTestModel1_Delete.Init; begin Query.SQLText := 'DELETE FROM TestModel1 ' + 'WHERE OID = :OID'; end; procedure TTestModel1_Delete.SetupParams; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignToTIQuery('OID', Query); end; { TTestModel1List_Read } function TTestModel1List_Read.AcceptVisitor: boolean; begin Result := (Visited.ObjectState = posEmpty); end; procedure TTestModel1List_Read.Init; var lFiltered: ItiFiltered; lWhere: string; lOrder: string; lSQL: string; begin if Supports(Visited, ItiFiltered, lFiltered) then begin if lFiltered.GetCriteria.HasCriteria then lWhere := ' WHERE ' + tiCriteriaAsSQL(lFiltered.GetCriteria) else lWhere := ''; if lFiltered.GetCriteria.hasOrderBy then lOrder := tiCriteriaOrderByAsSQL(lFiltered.GetCriteria) else lOrder := ''; end; lSQL := 'SELECT ' + ' OID, ' + ' Name, ' + ' PhoneNumber ' + 'FROM TestModel1 %s %s ;'; Query.SQLText := gFormatSQL(Format(lSQL, [lWhere, lOrder]), TTestModel1); end; procedure TTestModel1List_Read.MapRowToObject; var lObj: TTestModel1; begin lObj := TTestModel1.Create; lObj.OID.AssignFromTIQuery('OID', Query); lObj.Name := Query.FieldAsString['Name']; lObj.PhoneNumber := Query.FieldAsString['PhoneNumber']; lObj.ObjectState := posClean; TtiObjectList(Visited).Add(lObj); end; { TTestModel1List_Create } function TTestModel1List_Create.AcceptVisitor: boolean; begin Result := Visited.ObjectState = posCreate; end; procedure TTestModel1List_Create.Init; begin Query.SQLText := 'INSERT INTO TestModel1(' + ' OID, ' + ' Name, ' + ' PhoneNumber' + ') VALUES (' + ' :OID, ' + ' :Name, ' + ' :PhoneNumber' + ') '; end; procedure TTestModel1List_Create.SetupParams; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignToTIQuery('OID', Query); Query.ParamAsString['Name'] := lObj.Name; Query.ParamAsString['PhoneNumber'] := lObj.PhoneNumber; end; { TTestModel1List_Delete } function TTestModel1List_Delete.AcceptVisitor: boolean; begin Result := Visited.ObjectState = posDelete; end; procedure TTestModel1List_Delete.Init; begin Query.SQLText := 'DELETE FROM TestModel1 ' + 'WHERE OID = :OID'; end; procedure TTestModel1List_Delete.SetupParams; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignToTIQuery('OID', Query); end; { TTestModel1List_Save } function TTestModel1List_Save.AcceptVisitor: boolean; begin Result := Visited.ObjectState = posUpdate; end; procedure TTestModel1List_Save.Init; begin Query.SQLText := 'UPDATE TestModel1 SET ' + ' Name = :Name, ' + ' PhoneNumber = :PhoneNumber ' + 'WHERE OID = :OID'; end; procedure TTestModel1List_Save.SetupParams; var lObj: TTestModel1; begin lObj := TTestModel1(Visited); lObj.OID.AssignToTIQuery('OID', Query); Query.ParamAsString['Name'] := lObj.Name; Query.ParamAsString['PhoneNumber'] := lObj.PhoneNumber; end; initialization RegisterVisitors; RegisterMappings; end.
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { } {*******************************************************} unit RSConsole.Data; interface uses System.Generics.Collections, System.Classes, System.JSON, REST.Types, REST.Backend.EMSAPI, RSConsole.ModuleBackend, RSConsole.Types, FMX.Grid, FMX.ListBox; type TEMSConsoleData = class private FUsersInfo: TUsersInfoArray; FGroupsInfo: TGroupsInfoArray; FInstallationInfo: TInstallationInfoArray; FChannelsList: TStringList; FChannelsInfo: TChannelsInfoArray; function GetGroupsEMSAPI: TEMSClientAPI; function GetPushEMSAPI: TEMSClientAPI; function GetUsersEMSAPI: TEMSClientAPI; public constructor Create; destructor Destroy; override; // Users function AddUser(const AUserName, APassword: string; const ACustomFields: TStringGrid; out AUserID: string): Boolean; procedure GetUsers(Sender: TObject; const AJSON: TJSONArray); procedure GetUsersFields(Sender: TObject; const AJSON: TJSONArray); function GetUsersFieldsArray: TArray<string>; function GetUserGroups(const AID: string): TArray<string>; function DeleteUser(const AUserID: string): Boolean; function UpdateUser(const AUserID: string; AJSONObject: TJSONObject): Boolean; function GetUserNames: TArray<string>; // Groups function AddGroup(const AGroupName: string; const ACustomFields: TStringGrid): Boolean; procedure GetGroup(Sender: TObject; const AName: string; const AJSON: TJSONArray); procedure GetGroups(Sender: TObject; const AJSON: TJSONArray); procedure GetGroupsFields(Sender: TObject; const AJSON: TJSONArray); function GetGroupsFieldsArray: TArray<string>; function DeleteGroup(const AGroupName: string): Boolean; function UpdateGroup(const AGroupName: string; AJSONObject: TJSONObject): Boolean; function GetGroupsNames: TArray<string>; procedure AddUserToGroups(const AUserID: string; AGroups: TArray<string>); procedure AddUsersToGroup(const AUserNames: TArray<string>; AGroup: string); procedure RemoveUsersFromGroup(const AUserNames: TArray<string>; AGroup: string); procedure RemoveUserFromGroups(const AUserID: string; AGroup: TArray<string>); // Installations function AddInstallation(const ADeviceToken: string; const AProperties: TJSONObject; AChannels: array of string): TJSONObject; procedure GetInstallations(Sender: TObject; const AJSON: TJSONArray); procedure GetInstallationsFields(Sender: TObject; const AJSON: TJSONArray); function GetInstallationsFieldsArray: TArray<string>; function UpdateInstallation(const AID: string; AJSONObject: TJSONObject): Boolean; function DeleteInstallation(const AID: string): Boolean; procedure GetInstallation(AID: string; const AJSON: TJSONArray); function AddInstallationData(const ADevice, AToken: string; const ACustomFields: TStringGrid; LChannelsListBox: TListBox; out AInstallationID: string): Boolean; // Channels function GetChannelsNames: TArray<string>; property UsersInfo: TUsersInfoArray read FUsersInfo; property GroupsInfo: TGroupsInfoArray read FGroupsInfo; property InstallationInfo: TInstallationInfoArray read FInstallationInfo; property ChannelsInfo: TChannelsInfoArray read FChannelsInfo; // EdgeModules // function AddEdgeModule(const AModuleName, APassword: string; const ACustomFields: TStringGrid; out AModuleID: string): Boolean; procedure GetEdgeModules(Sender: TObject; const AJSON: TJSONArray); procedure GetEdgeModulesFields(Sender: TObject; const AJSON: TJSONArray); function GetEdgeModulesFieldsArray: TArray<string>; function DeleteEdgeModule(const AModuleID: string): Boolean; function UpdateEdgeModule(const AModuleID, AModuleName, AProtocol, AProtocolProps: string; AJSONObject: TJSONObject): Boolean; // Resources // function AddResource(const AResourceName, APassword: string; const ACustomFields: TStringGrid; out AResourceID: string): Boolean; procedure GetResource(Sender: TObject; const AResourceName: string; const AJSON: TJSONArray); procedure GetResourcesFields(Sender: TObject; const AJSON: TJSONArray); function GetResourcesFieldsArray: TArray<string>; function DeleteResource(const AModuleID, AResourceName: string): Boolean; function UpdateResource(const AModuleID, AResourceName: string; AJSONObject: TJSONObject): Boolean; property GroupsEMSAPI: TEMSClientAPI read GetGroupsEMSAPI; property PushEMSAPI: TEMSClientAPI read GetPushEMSAPI; property UsersEMSAPI: TEMSClientAPI read GetUsersEMSAPI; end; implementation uses REST.Backend.EMSProvider, FMX.Dialogs, RSConsole.Consts, System.UITypes, System.SysUtils; { TEMSConsoleData } function TEMSConsoleData.GetPushEMSAPI: TEMSClientAPI; begin Result := (BackendDM.BackendPush1.ProviderService as IGetEMSApi).EMSAPI; end; function TEMSConsoleData.GetGroupsEMSAPI: TEMSClientAPI; begin Result := (BackendDM.BackendGroups1.ProviderService as IGetEMSApi).EMSAPI; end; function TEMSConsoleData.GetUsersEMSAPI: TEMSClientAPI; begin Result := (BackendDM.BackendUsers1.ProviderService as IGetEMSApi).EMSAPI; end; function TEMSConsoleData.AddGroup(const AGroupName: string; const ACustomFields: TStringGrid): Boolean; var LGroupsFieldsJSON: TJSONObject; I: Integer; AGroup: TEMSClientAPI.TGroup; begin Result := False; LGroupsFieldsJSON := TJSONObject.Create; try for I := 0 to ACustomFields.RowCount - 1 do if (ACustomFields.Cells[0, I] <> '') and (ACustomFields.Cells[1, I] <> '') then LGroupsFieldsJSON.AddPair(ACustomFields.Cells[0, I], ACustomFields.Cells[1, I]); GroupsEMSAPI.CreateGroup(AGroupName, LGroupsFieldsJSON, AGroup); if AGroup.GroupName <> '' then begin ShowMessage(strGroupName + ': ' + AGroupName); Result := True; end else MessageDlg(strGroupName + ': ' + AGroupName + ' ' + strGroupNotCreated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); finally LGroupsFieldsJSON.Free; end; end; function TEMSConsoleData.AddInstallation(const ADeviceToken: string; const AProperties: TJSONObject; AChannels: array of string): TJSONObject; var LJSONInstallationObject: TJSONObject; begin LJSONInstallationObject := TJSONObject.Create; try LJSONInstallationObject := nil; if ADeviceToken = 'ios' then LJSONInstallationObject := PushEMSAPI.CreateIOSInstallationObject(ADeviceToken, AProperties, AChannels) else if ADeviceToken = 'android' then LJSONInstallationObject := PushEMSAPI.CreateAndroidInstallationObject(ADeviceToken, AProperties, AChannels); BackendDM.BackendEndpoint1.Body.Add(LJSONInstallationObject); BackendDM.BackendEndpoint1.Method := TRESTRequestMethod.rmPOST; BackendDM.BackendEndpoint1.Resource := TManagerEndPoints.cInstallationsEndPoint; BackendDM.BackendEndpoint1.ResourceSuffix := ''; BackendDM.BackendEndpoint1.Execute; Result := BackendDM.BackendEndpoint1.Response.JSONValue as TJSONObject; finally LJSONInstallationObject.Free; end; end; function TEMSConsoleData.AddInstallationData(const ADevice, AToken: string; const ACustomFields: TStringGrid; LChannelsListBox: TListBox; out AInstallationID: string): Boolean; var LJSON, LResponse: TJSONObject; I: Integer; LChannels: TArray<string>; begin Result := False; LJSON := TJSONObject.Create; try LJSON.AddPair(TInstallationInfo.cDeviceToken, AToken); LJSON.AddPair(TInstallationInfo.cDeviceType, ADevice); for I := 0 to ACustomFields.RowCount - 1 do if (ACustomFields.Cells[0, I] <> '') and (ACustomFields.Cells[1, I] <> '') then LJSON.AddPair(ACustomFields.Cells[0, I], ACustomFields.Cells[1, I]); SetLength(LChannels, LChannelsListBox.Count); for I := 0 to LChannelsListBox.Count - 1 do LChannels[I] := LChannelsListBox.Items[I]; LResponse := AddInstallation(ADevice, LJSON, LChannels); if LResponse <> nil then begin ShowMessage(strDeviceWithToken + ': ' + AToken + #10#13 + ' ID: ' + LResponse.values[TInstallationInfo.cID].value); AInstallationID := LResponse.values[TInstallationInfo.cID].value; Result := True; end else MessageDlg(strDeviceWithToken + ': ' + AToken + ' ' + strInstallationNotCreated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); finally LJSON.Free; end; end; function TEMSConsoleData.AddUser(const AUserName, APassword: string; const ACustomFields: TStringGrid; out AUserID: string): Boolean; var AUser: TEMSClientAPI.TUser; AUserFields: TJSONObject; I: Integer; begin Result := False; AUserFields := TJSONObject.Create; try for I := 0 to ACustomFields.RowCount - 1 do if (ACustomFields.Cells[0, I] <> '') and (ACustomFields.Cells[1, I] <> '') then AUserFields.AddPair(ACustomFields.Cells[0, I], ACustomFields.Cells[1, I]); UsersEMSAPI.AddUser(AUserName, APassword, AUserFields, AUser); if AUser.UserID <> '' then begin ShowMessage(strUserName + ': ' + AUserName + #10#13 + ' ID: ' + AUser.UserID); AUserID := AUser.UserID; Result := True; end else MessageDlg(strUserName + ': ' + AUserName + ' ' + strUserNotCreated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); finally AUserFields.Free; end; end; constructor TEMSConsoleData.Create; begin FChannelsList := TStringList.Create; end; destructor TEMSConsoleData.Destroy; var I: Integer; begin for I := Low(FUsersInfo) to High(FUsersInfo) do FUsersInfo[I].Groups.Free; for I := Low(FGroupsInfo) to High(FGroupsInfo) do FGroupsInfo[I].Users.Free; FChannelsList.Free; inherited; end; procedure TEMSConsoleData.GetInstallation(AID: string; const AJSON: TJSONArray); var LFoundInstallation: TEMSClientAPI.TInstallation; begin if BackendDM.EMSProvider.baseURL <> '' then PushEMSAPI.RetrieveInstallation(AID, LFoundInstallation, AJSON) else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetInstallations(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then PushEMSAPI.QueryInstallations([], AJSON) else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetInstallationsFields(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then PushEMSAPI.RetrieveInstallationsFields(AJSON) else raise Exception.Create(strURLBlank); end; function TEMSConsoleData.GetInstallationsFieldsArray: TArray<string>; var LJSON: TJSONArray; LValue: TJSONValue; begin LJSON := TJSONArray.Create; try PushEMSAPI.RetrieveInstallationsFields(LJSON); for LValue in LJSON do if LValue.GetValue<Boolean>('custom', False) then Result := Result + [LValue.GetValue<string>('name')]; finally LJSON.Free; end; end; procedure TEMSConsoleData.GetResource(Sender: TObject; const AResourceName: string; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then UsersEMSAPI.QueryModuleResources(AResourceName, [], AJSON) else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetResourcesFields(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then UsersEMSAPI.RetrieveModuleResourcesFields(AJSON) else raise Exception.Create(strURLBlank); end; function TEMSConsoleData.GetResourcesFieldsArray: TArray<string>; var LJSON: TJSONArray; LValue: TJSONValue; begin LJSON := TJSONArray.Create; try GroupsEMSAPI.RetrieveModuleResourcesFields(LJSON); for LValue in LJSON do if LValue.GetValue<Boolean>('custom', False) then Result := Result + [LValue.GetValue<string>('name')]; finally LJSON.Free; end; end; procedure TEMSConsoleData.GetUsers(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then UsersEMSAPI.QueryUsers([], AJSON) else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetUsersFields(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then UsersEMSAPI.RetrieveUsersFields(AJSON) else raise Exception.Create(strURLBlank); end; function TEMSConsoleData.GetUsersFieldsArray: TArray<string>; var LJSON: TJSONArray; LValue: TJSONValue; begin LJSON := TJSONArray.Create; try UsersEMSAPI.RetrieveUsersFields(LJSON); for LValue in LJSON do if LValue.GetValue<Boolean>('custom', False) then Result := Result + [LValue.GetValue<string>('name')]; finally LJSON.Free; end; end; procedure TEMSConsoleData.RemoveUserFromGroups(const AUserID: string; AGroup: TArray<string>); var LUpdatedAt: TEMSClientAPI.TUpdatedAt; I: Integer; LUserArray: TArray<string>; begin SetLength(LUserArray, 1); LUserArray[0] := AUserID; for I := 0 to Length(AGroup) - 1 do begin GroupsEMSAPI.RemoveUsersFromGroup(AGroup[I], LUserArray, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then MessageDlg(strUser + strNotRemovedFromGroup + AGroup[I], TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); end; end; procedure TEMSConsoleData.RemoveUsersFromGroup(const AUserNames: TArray<string>; AGroup: string); var LUpdatedAt: TEMSClientAPI.TUpdatedAt; LUser: TEMSClientAPI.TUser; I: Integer; LUserList: TList<string>; begin LUserList := TList<string>.Create; try for I := 0 to Length(AUserNames) - 1 do begin UsersEMSAPI.QueryUserName(AUserNames[I], LUser, nil); if LUser.UserID <> '' then LUserList.Add(LUser.UserID); end; GroupsEMSAPI.RemoveUsersFromGroup(AGroup, LUserList.ToArray, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then MessageDlg(strUsers + strNotRemovedFromGroupP + AGroup, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); finally LUserList.Free; end; end; function TEMSConsoleData.GetChannelsNames: TArray<string>; begin if BackendDM.EMSProvider.baseURL <> '' then Result := PushEMSAPI.RetrieveInstallationsChannelNames else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetEdgeModules(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then UsersEMSAPI.QueryModules([], AJSON) else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetEdgeModulesFields(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then UsersEMSAPI.RetrieveModulesFields(AJSON) else raise Exception.Create(strURLBlank); end; function TEMSConsoleData.GetEdgeModulesFieldsArray: TArray<string>; var LJSON: TJSONArray; LValue: TJSONValue; begin LJSON := TJSONArray.Create; try GroupsEMSAPI.RetrieveModulesFields(LJSON); for LValue in LJSON do if LValue.GetValue<Boolean>('custom', False) then Result := Result + [LValue.GetValue<string>('name')]; finally LJSON.Free; end; end; procedure TEMSConsoleData.GetGroup(Sender: TObject; const AName: string; const AJSON: TJSONArray); var LFoundGroup: TEMSClientAPI.TGroup; begin if BackendDM.EMSProvider.baseURL <> '' then GroupsEMSAPI.RetrieveGroup(AName, LFoundGroup, AJSON) else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetGroups(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then GroupsEMSAPI.QueryGroups([], AJSON) else raise Exception.Create(strURLBlank); end; procedure TEMSConsoleData.GetGroupsFields(Sender: TObject; const AJSON: TJSONArray); begin if BackendDM.EMSProvider.baseURL <> '' then GroupsEMSAPI.RetrieveGroupsFields(AJSON) else raise Exception.Create(strURLBlank); end; function TEMSConsoleData.GetGroupsFieldsArray: TArray<string>; var LJSON: TJSONArray; LValue: TJSONValue; begin LJSON := TJSONArray.Create; try GroupsEMSAPI.RetrieveGroupsFields(LJSON); for LValue in LJSON do if LValue.GetValue<Boolean>('custom', False) then Result := Result + [LValue.GetValue<string>('name')]; finally LJSON.Free; end; end; function TEMSConsoleData.GetUserGroups(const AID: string): TArray<string>; begin Result := UsersEMSAPI.RetrieveUserGroups(AID); end; function TEMSConsoleData.GetUserNames: TArray<string>; begin Result := UsersEMSAPI.RetrieveUsersNames; end; function TEMSConsoleData.GetGroupsNames: TArray<string>; begin Result := GroupsEMSAPI.RetrieveGroupsNames; end; procedure TEMSConsoleData.AddUserToGroups(const AUserID: string; AGroups: TArray<string>); var LUpdatedAt: TEMSClientAPI.TUpdatedAt; I: Integer; begin for I := 0 to Length(AGroups) - 1 do begin GroupsEMSAPI.AddUsersToGroup(AGroups[I], [AUserID], LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then MessageDlg(TUserInfo.cID + ': ' + AUserID + strNotAddedToGroup + AGroups[I], TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); end; end; procedure TEMSConsoleData.AddUsersToGroup(const AUserNames: TArray<string>; AGroup: string); var LUpdatedAt: TEMSClientAPI.TUpdatedAt; LUser: TEMSClientAPI.TUser; I: Integer; LUserList: TList<string>; begin LUserList := TList<string>.Create; try for I := 0 to Length(AUserNames) - 1 do begin UsersEMSAPI.QueryUserName(AUserNames[I], LUser, nil); if LUser.UserID <> '' then LUserList.Add(LUser.UserID); end; GroupsEMSAPI.AddUsersToGroup(AGroup, LUserList.ToArray, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then MessageDlg(strUsers + strNotAddedToGroupP + AGroup, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); finally LUserList.Free; end; end; function TEMSConsoleData.DeleteEdgeModule(const AModuleID: string): Boolean; begin Result := PushEMSAPI.UnregisterModule(AModuleID); if not Result then MessageDlg(strEdgeModule + ': ' + AModuleID + strNotDeleted, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); end; function TEMSConsoleData.DeleteGroup(const AGroupName: string): Boolean; begin Result := PushEMSAPI.DeleteGroup(AGroupName); if not Result then MessageDlg(strGroup + ': ' + AGroupName + strNotDeleted, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); end; function TEMSConsoleData.DeleteInstallation(const AID: string): Boolean; begin Result := PushEMSAPI.DeleteInstallation(AID); if not Result then MessageDlg(strInstallation + ': ' + AID + strNotDeleted, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); end; function TEMSConsoleData.DeleteResource(const AModuleID, AResourceName : string): Boolean; begin Result := PushEMSAPI.UnregisterModuleResource(AModuleID, AResourceName); if not Result then MessageDlg(strResource + ': ' + AResourceName + strNotDeleted, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); end; function TEMSConsoleData.DeleteUser(const AUserID: string): Boolean; begin Result := UsersEMSAPI.DeleteUser(AUserID); if not Result then MessageDlg(strUser + ': ' + AUserID + strNotDeleted, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); end; function TEMSConsoleData.UpdateEdgeModule(const AModuleID, AModuleName, AProtocol, AProtocolProps: string; AJSONObject: TJSONObject): Boolean; var LUpdatedAt: TEMSClientAPI.TUpdatedAt; begin Result := True; UsersEMSAPI.UpdateModule(AModuleID, AModuleName, AProtocol, AProtocolProps, AJSONObject, nil, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then begin MessageDlg(TEdgeModuleInfo.cID + ': ' + AModuleID + ' ' + strNotUpdated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); Result := False; end; end; function TEMSConsoleData.UpdateGroup(const AGroupName: string; AJSONObject: TJSONObject): Boolean; var LUpdatedAt: TEMSClientAPI.TUpdatedAt; begin Result := True; GroupsEMSAPI.UpdateGroup(AGroupName, AJSONObject, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then begin MessageDlg(TGroupInfo.cGroupName + ': ' + AGroupName + ' ' + strNotUpdated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); Result := False; end; end; function TEMSConsoleData.UpdateInstallation(const AID: string; AJSONObject: TJSONObject): Boolean; var LUpdatedAt: TEMSClientAPI.TUpdatedAt; begin Result := True; PushEMSAPI.UpdateInstallation(AID, AJSONObject, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then begin MessageDlg(TInstallationInfo.cID + ': ' + AID + ' ' + strNotUpdated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); Result := False; end end; function TEMSConsoleData.UpdateResource(const AModuleID, AResourceName: string; AJSONObject: TJSONObject): Boolean; var LUpdatedAt: TEMSClientAPI.TUpdatedAt; begin Result := True; UsersEMSAPI.UpdateModuleResource(AModuleID, AResourceName, AJSONObject, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then begin MessageDlg(TResourcesInfo.cID + ': ' + AResourceName + ' ' + strNotUpdated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); Result := False; end; end; function TEMSConsoleData.UpdateUser(const AUserID: string; AJSONObject: TJSONObject): Boolean; var LUpdatedAt: TEMSClientAPI.TUpdatedAt; begin Result := True; UsersEMSAPI.UpdateUser(AUserID, AJSONObject, LUpdatedAt); if LUpdatedAt.UpdatedAt = 0 then begin MessageDlg(TUserInfo.cID + ': ' + AUserID + ' ' + strNotUpdated, TMsgDlgType.mtWarning, [TMsgDlgBtn.mbOK], 0); Result := False; end; end; end.
//: @stopdocumentation Unit TestOTAIntfSearch.Constants; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } Interface Uses TestFramework; Type TTestOTAIntfSearchConstants = Class(TTestCase) Strict Private Strict Protected Procedure TestRegEx(strPattern, strTestText : String; boolExpected : Boolean = True); Public Published Procedure TestInterfaceRegEx; Procedure TestProcedureStartRegEx; Procedure TestFunctionStartRegEx; Procedure TestPropertyStartRegEx; Procedure TestInterfaceObjectStart; Procedure TestMethodPropertyStart; Procedure TestEnd; Procedure TestSingleLineComment; Procedure TestMultiLineCommentEnd; Procedure TestMultiLineCommentStart; Procedure TestMethodStart; Procedure TestOpenParenthesis; Procedure TestCloseParenthesis; Procedure TestEndingSemiColon; Procedure TestInterfaceMethodSearchRegEx; Procedure TestInterfaceClassSearchRegEx; Procedure TestServiceRegEx; Procedure TestInterfaceClassIdentifier; Procedure TestGeneralIdentifier; Procedure TestNotifierSearchRegEx; End; Implementation Uses SysUtils, RegularExpressions, OTAIntfSearch.Constants; { TTestOTAIntfSearchConstants } Procedure TTestOTAIntfSearchConstants.TestCloseParenthesis; Begin TestRegEx(strCloseParenthesisRegEx, ')'); TestRegEx(strCloseParenthesisRegEx, ');'); TestRegEx(strCloseParenthesisRegEx, ') '); TestRegEx(strCloseParenthesisRegEx, ') ; '); TestRegEx(strCloseParenthesisRegEx, ' Procedure Hello()'); TestRegEx(strCloseParenthesisRegEx, ' Procedure Hello( i : Integer) ; '); End; Procedure TTestOTAIntfSearchConstants.TestEnd; Begin TestRegEx(strEndRegEx, 'end;'); TestRegEx(strEndRegEx, ' end;'); TestRegEx(strEndRegEx, #9'end;'); TestRegEx(strEndRegEx, ' end ;'); TestRegEx(strEndRegEx, ' end ; '); End; Procedure TTestOTAIntfSearchConstants.TestEndingSemiColon; Begin TestRegEx(strEndingSemiColonRegEx, ';'); TestRegEx(strEndingSemiColonRegEx, ' ;'); TestRegEx(strEndingSemiColonRegEx, ' ; '); TestRegEx(strEndingSemiColonRegEx, ' Hello ; '); End; Procedure TTestOTAIntfSearchConstants.TestFunctionStartRegEx; Begin TestRegEx(strFunctionStartRegEx, 'Function Hello : Integer;'); TestRegEx(strFunctionStartRegEx, ' Function Hello : Integer;'); TestRegEx(strFunctionStartRegEx, #9'Function Hello : Integer;'); TestRegEx(strFunctionStartRegEx, ' Function Hello() : Integer;'); TestRegEx(strFunctionStartRegEx, ' Function Hello(str : String) : Integer;'); End; Procedure TTestOTAIntfSearchConstants.TestGeneralIdentifier; Begin TestRegEx(strGeneralIdentifier, 'MyHello'); TestRegEx(strGeneralIdentifier, 'iMyHello'); TestRegEx(strGeneralIdentifier, ' iMyHello90 '); End; Procedure TTestOTAIntfSearchConstants.TestInterfaceClassIdentifier; Begin TestRegEx(strInterfaceClassIdentifier, 'TMyHello'); TestRegEx(strInterfaceClassIdentifier, ' IMyHello '); TestRegEx(strInterfaceClassIdentifier, ' TMyHello90'); TestRegEx(strInterfaceClassIdentifier, ' IMy90Hello120 '); End; Procedure TTestOTAIntfSearchConstants.TestInterfaceClassSearchRegEx; Var strSearch : String; Begin // strSearch := Format(strInterfaceClassSearchRegEx, ['IMyOtherInterface']); // TestRegEx(strSearch, 'IMyInterface=Interface;', False); // TestRegEx(strSearch, ' IMyInterface = Interface ; ', False); // TestRegEx(strSearch, ' IMyInterface = Interface(IMyOtherInterface) ;'); // TestRegEx(strSearch, 'IMyOtherInterface = Interface(IMyInterface);', False); End; Procedure TTestOTAIntfSearchConstants.TestInterfaceMethodSearchRegEx; Var strSearchText : String; Begin strSearchText := Format(strInterfaceMethodSearchRegEx, ['IMyInterface', 'IMyInterface', 'IMyInterface', 'IMyInterface']); TestRegEx(strSearchText, 'function Hello: IMyInterface;'); TestRegEx(strSearchText, ' function Hello : IMyInterface ; '); TestRegEx(strSearchText, ' function Hello( i : integer) : IMyInterface ; '); TestRegEx(strSearchText, ' function Hello ( i : IMyInterface) : IMyOtherInterface ; ', False); TestRegEx(strSearchText, 'Property Hello:IMyInterface Read GetHello;'); TestRegEx(strSearchText, ' Property Hello : IMyInterface Read GetHello ; '); TestRegEx(strSearchText, ' Property Hello[i: : Integer] : IMyInterface Read GetHello ; '); TestRegEx(strSearchText, ' Property Hello[i: : UMyInterface] : IMyOtherInterface Read GetHello ; ', False); End; Procedure TTestOTAIntfSearchConstants.TestInterfaceObjectStart; Begin TestRegEx(strInterfaceObjectStartRegEx, 'IMyInterface = Interface;'); TestRegEx(strInterfaceObjectStartRegEx, ' IMyInterface = Interface;'); TestRegEx(strInterfaceObjectStartRegEx, #9'IMyInterface = Interface;'); TestRegEx(strInterfaceObjectStartRegEx, ' IMyInterface = Interface(IMyOtherInterface)'); TestRegEx(strInterfaceObjectStartRegEx, 'TMyObject = Class'); TestRegEx(strInterfaceObjectStartRegEx, ' TMyObject = Class'); TestRegEx(strInterfaceObjectStartRegEx, #9'TMyObject = Class'); TestRegEx(strInterfaceObjectStartRegEx, 'TMyObject = Class(TObject)'); TestRegEx(strInterfaceObjectStartRegEx, ' TMyObject = Class(TObject, IMyInterface)'); End; Procedure TTestOTAIntfSearchConstants.TestInterfaceRegEx; Begin TestRegEx(strInterfaceRegEx, 'IMyInterface = Interface'); TestRegEx(strInterfaceRegEx, ' IMyInterface = Interface;'); TestRegEx(strInterfaceRegEx, #9'IMyInterface = Interface;'); TestRegEx(strInterfaceRegEx, ' IMyInterface = Interface(IMyOtherInterface)'); End; Procedure TTestOTAIntfSearchConstants.TestMethodPropertyStart; Begin TestRegEx(strMethodPropertyStartRegEx, 'Procedure Hello;'); TestRegEx(strMethodPropertyStartRegEx, ' Procedure Hello;'); TestRegEx(strMethodPropertyStartRegEx, ' Procedure Hello();'); TestRegEx(strMethodPropertyStartRegEx, #9'Procedure Hello();'); TestRegEx(strMethodPropertyStartRegEx, ' Procedure Hello(i : Integer);'); TestRegEx(strMethodPropertyStartRegEx, 'Function Hello : Integer;'); TestRegEx(strMethodPropertyStartRegEx, ' Function Hello : Integer;'); TestRegEx(strMethodPropertyStartRegEx, ' Function Hello() : Integer;'); TestRegEx(strMethodPropertyStartRegEx, #9'Function Hello() : Integer;'); TestRegEx(strMethodPropertyStartRegEx, ' Function Hello(str : String) : Integer;'); TestRegEx(strMethodPropertyStartRegEx, 'Property Hello;'); TestRegEx(strMethodPropertyStartRegEx, ' Property Hello;'); TestRegEx(strMethodPropertyStartRegEx, #9'Property Hello;'); TestRegEx(strMethodPropertyStartRegEx, ' Property Hello Read GetHello;'); TestRegEx(strMethodPropertyStartRegEx, 'Property Hello[i : Integer] Read Hello;'); End; Procedure TTestOTAIntfSearchConstants.TestMethodStart; Begin TestRegEx(strMethodStartRegEx, 'Procedure Hello;'); TestRegEx(strMethodStartRegEx, ' Procedure Hello;'); TestRegEx(strMethodStartRegEx, ' Procedure Hello();'); TestRegEx(strMethodStartRegEx, ' Procedure Hello(i : Integer);'); TestRegEx(strMethodStartRegEx, 'Function Hello : Integer;'); TestRegEx(strMethodStartRegEx, ' Function Hello : Integer;'); TestRegEx(strMethodStartRegEx, ' Function Hello() : Integer;'); TestRegEx(strMethodStartRegEx, ' Function Hello(str : String) : Integer;'); End; Procedure TTestOTAIntfSearchConstants.TestMultiLineCommentEnd; Begin TestRegEx(strMultiLineCommentEndRegEx, 'This is a comment}'); TestRegEx(strMultiLineCommentEndRegEx, ' This is a comment}'); TestRegEx(strMultiLineCommentEndRegEx, ' This is a comment }'); TestRegEx(strMultiLineCommentEndRegEx, ' This is a comment } '); End; Procedure TTestOTAIntfSearchConstants.TestMultiLineCommentStart; Begin TestRegEx(strMultiLineCommentStartRegEx, '{This is a comment'); TestRegEx(strMultiLineCommentStartRegEx, '{ This is a comment'); TestRegEx(strMultiLineCommentStartRegEx, ' { This is a comment'); TestRegEx(strMultiLineCommentStartRegEx, ' { This is a comment '); End; Procedure TTestOTAIntfSearchConstants.TestNotifierSearchRegEx; Begin TestRegEx(Format(strNotifierSearchRegEx, ['IOTAIDENotifier']), 'AddNotifier(Notifier : IOTAIDENotifier)') End; Procedure TTestOTAIntfSearchConstants.TestOpenParenthesis; Begin TestRegEx(strOpenParenthesisRegEx, '('); TestRegEx(strOpenParenthesisRegEx, 'Procedure Hello('); TestRegEx(strOpenParenthesisRegEx, 'Procedure Hello();'); TestRegEx(strOpenParenthesisRegEx, ' Procedure Hello( i : Integer ) ; '); End; Procedure TTestOTAIntfSearchConstants.TestProcedureStartRegEx; Begin TestRegEx(strProcedureStartRegEx, 'Procedure Hello;'); TestRegEx(strProcedureStartRegEx, ' Procedure Hello;'); TestRegEx(strProcedureStartRegEx, ' Procedure Hello();'); TestRegEx(strProcedureStartRegEx, #9'Procedure Hello();'); TestRegEx(strProcedureStartRegEx, ' Procedure Hello(i : Integer);'); End; Procedure TTestOTAIntfSearchConstants.TestPropertyStartRegEx; Begin TestRegEx(strPropertyStartRegEx, 'Property Hello;'); TestRegEx(strPropertyStartRegEx, ' Property Hello;'); TestRegEx(strPropertyStartRegEx, #9'Property Hello;'); TestRegEx(strPropertyStartRegEx, ' Property Hello Read GetHello;'); TestRegEx(strPropertyStartRegEx, 'Property Hello[i : Integer] Read Hello;'); End; Procedure TTestOTAIntfSearchConstants.TestRegEx(strPattern, strTestText: String; boolExpected : Boolean = True); Var RegEx : TRegEx; M: TMatch; Begin RegEx := TRegEx.Create(strPattern, [roIgnoreCase, roSingleLine]); M := RegEx.Match(strTestText); CheckEquals(boolExpected, M.Success, Format('%s in [%s] Failed', [strPattern, strTestText])); End; Procedure TTestOTAIntfSearchConstants.TestServiceRegEx; Begin TestRegEx(strServiceRegEx, 'IMyServices = Interface;'); TestRegEx(strServiceRegEx, ' IMyServices = Interface;'); TestRegEx(strServiceRegEx, #9'IMyServices = Interface ; '); TestRegEx(strServiceRegEx, 'IOTAEditorServices = Interface(IMyOtherInterface);'); End; Procedure TTestOTAIntfSearchConstants.TestSingleLineComment; Begin TestRegEx(strSingleLineCommentRegEx, '{ Hello Dave. }'); TestRegEx(strSingleLineCommentRegEx, ' { Hello Dave. }'); TestRegEx(strSingleLineCommentRegEx, ' { Hello Dave. } '); TestRegEx(strSingleLineCommentRegEx, '{ Hello Dave. } '); End; Initialization RegisterTest(TTestOTAIntfSearchConstants.Suite); End.
unit FC.StockChart.UnitTask.Bars.CopyToClipboard; interface {$I Compiler.inc} uses SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions, FC.Definitions, FC.Singletons, FC.StockChart.UnitTask.Base; implementation uses Clipbrd,StockChart.Definitions.Drawing; type //Специальный Unit Task для автоматического подбора размеров грани и длины периода. //Подюор оусщестьвляется прямым перебором. TStockUnitTaskBarsCopyToClipboard = class(TStockUnitTaskBase) public function CanApply(const aIndicator: ISCIndicator; out aOperationName: string): boolean; override; procedure Perform(const aIndicator: ISCIndicator; const aStockChart: IStockChart; const aCurrentPosition: TStockPosition); override; end; { TStockUnitTaskBarsCopyToClipboard } function TStockUnitTaskBarsCopyToClipboard.CanApply(const aIndicator: ISCIndicator; out aOperationName: string): boolean; begin result:=Supports(aIndicator,ISCIndicatorBars); if result then aOperationName:='Bars: Copy Item To Clipboard'; end; procedure TStockUnitTaskBarsCopyToClipboard.Perform(const aIndicator: ISCIndicator; const aStockChart: IStockChart; const aCurrentPosition: TStockPosition); var s: string; i: integer; begin if aCurrentPosition.X>0 then begin i:=Trunc(aCurrentPosition.X); if (i>0) and (i<aStockChart.GetInputData.Count) then begin s:='Time: '+DefaultFormatter.DateTimeToStr(aStockChart.GetInputData.DirectGetItem_DataDateTime(i),false,true); s:=s+#13#10'OHLCV: '+ DefaultFormatter.RealToStr(aStockChart.GetInputData[i].DataOpen)+';'+ DefaultFormatter.RealToStr(aStockChart.GetInputData[i].DataHigh)+';'+ DefaultFormatter.RealToStr(aStockChart.GetInputData[i].DataLow)+';'+ DefaultFormatter.RealToStr(aStockChart.GetInputData[i].DataClose)+';'+ IntToStr(aStockChart.GetInputData[i].DataVolume); Clipboard.Open; Clipboard.AsText:=s; Clipboard.Close; end; end; end; initialization //Регистрируем Unit Task StockUnitTaskRegistry.AddUnitTask(TStockUnitTaskBarsCopyToClipboard.Create); end.
{Pascal function that calculates the sum of the digits of a number To calculate the sum of the digits, we go through each digit by successively dividing the number by 10, and extracting each digit using the mod operator.} function digit_sum(number:longint):longint; var sum:longint; begin sum := 0; while (number > 0) do begin sum := sum + number mod 10; number := number div 10; end; digit_sum := sum; end;
(* Ejercicio 17 En los datos de entrada se proporcionan dos tiempos como enteros de la forma hhmm donde hh representa las horas (menos de 24) y mm los minutos (menos de 60). Determine la suma de estos dos tiempos, y exhiba el resultado en la forma d hhmm, donde d es días, ya sea cero o uno. Ejemplo de entrada : 1345 2153. Ejemplo de salida : 1 1138. *) program Ejercicio17; var tiempo1, tiempo2, hh1, mm1, hh2, mm2, ddt, hhf, mmf : integer; begin writeln('Ingrese los tiempos separados por un espacio.'); read(tiempo1, tiempo2); hh1 := tiempo1 div 100; mm1 := tiempo1 - (hh1*100); hh2 := tiempo2 div 100; mm2 := tiempo2 -(hh2*100); mmf := (mm1 + mm2) mod 60; hhf := ((hh1 + hh2) mod 24) + ((mm1 + mm2) div 60); ddt := (hh1 + hh2) div 24; writeln('El resultado es: ',ddt,' ',hhf,mmf) end.
unit ncaConfigRecibo; interface uses SysUtils, Classes, ncClassesBase; const autoprint_nao = 0; autoprint_pagamento = 1; autoprint_venda = 2; type TncConfigRecibo = class ( TStringList ) private procedure LoadFromGConfig; function FName: String; function ConfigExists: Boolean; function GetBobina: Boolean; function GetImpressora: String; function GetImpSerial: Boolean; function GetImpWindows: Boolean; function GetLarguraBobina: Integer; function GetPortaSerial: Byte; function GetSaltoFimRecibo: Integer; function GetSomenteTexto: Boolean; procedure SetBobina(const Value: Boolean); procedure SetImpressora(const Value: String); procedure SetLarguraBobina(const Value: Integer); procedure SetPortaSerial(const Value: Byte); procedure SetSaltoFimRecibo(const Value: Integer); procedure SetSomenteTexto(const Value: Boolean); function GetCortarPapel: Boolean; procedure SetCortarPapel(const Value: Boolean); function GetImprimir: Boolean; procedure SetImprimir(const Value: Boolean); function GetAutoPrint: Byte; procedure SetAutoPrint(const Value: Byte); function GetDirectPrintFormat: String; procedure SetDirectPrintFormat(const Value: String); function GetCmdAbreGaveta: String; procedure SetCmdAbreGaveta(const Value: String); public constructor Create; procedure Load; procedure Save; function IsSomenteTexto: Boolean; function StrAbreGaveta: String; function GetIntBobina: Boolean; property CmdAbreGaveta: String read GetCmdAbreGaveta write SetCmdAbreGaveta; property DirectPrintFormat: String read GetDirectPrintFormat write SetDirectPrintFormat; property Imprimir: Boolean read GetImprimir write SetImprimir; property AutoPrint: Byte read GetAutoPrint write SetAutoPrint; property ImpWindows: Boolean read GetImpWindows; property ImpSerial: Boolean read GetImpSerial; property CortarPapel: Boolean read GetCortarPapel write SetCortarPapel; property PortaSerial: Byte read GetPortaSerial write SetPortaSerial; property LarguraBobina: Integer read GetLarguraBobina write SetLarguraBobina; property SaltoFimRecibo: Integer read GetSaltoFimRecibo write SetSaltoFimRecibo; property Bobina: Boolean read GetBobina write SetBobina; property SomenteTexto: Boolean read GetSomenteTexto write SetSomenteTexto; property Impressora: String read GetImpressora write SetImpressora; end; var gRecibo : TncConfigRecibo = nil; implementation uses uNexTransResourceStrings_PT, ncDebug; { TncConfigRecibo } const BoolChar : Array[boolean] of char = ('0', '1'); function TncConfigRecibo.ConfigExists: Boolean; begin Result := FileExists(FName); end; constructor TncConfigRecibo.Create; begin inherited; end; function TncConfigRecibo.FName: String; begin Result := ExtractFilePath(ParamStr(0))+'custom\rec.ini'; end; function TncConfigRecibo.GetAutoPrint: Byte; begin if Values['autoprint']>'' then Result := StrToIntDef(Values['autoprint'], autoprint_nao) else if Values['imprimir']='2' then Result := autoprint_pagamento else Result := autoprint_nao; end; function TncConfigRecibo.GetBobina: Boolean; begin Result := GetIntBobina and gConfig.IsPremium; end; function TncConfigRecibo.GetCmdAbreGaveta: String; begin Result := Values['cmd_abregaveta']; end; function TncConfigRecibo.GetCortarPapel: Boolean; begin Result := (Values['cortarpapel']='1'); end; function TncConfigRecibo.GetDirectPrintFormat: String; begin Result := Trim(Values['directprintformat']); if (Result='') then Result := 'TEXT'; end; function TncConfigRecibo.GetImpressora: String; begin Result := Values['impressora']; end; function TncConfigRecibo.GetImprimir: Boolean; begin if Values['imprimirrec']>'' then Result := (Values['imprimirrec']='1') else Result := (Values['imprimir']='1') or (Values['imprimir']='2'); end; function TncConfigRecibo.GetImpSerial: Boolean; begin Result := SameText(Impressora, SncaFrmConfigRec_OutraSerial); end; function TncConfigRecibo.GetImpWindows: Boolean; begin Result := (not ImpSerial); end; function TncConfigRecibo.GetIntBobina: Boolean; begin Result := (Values['tipopapel']='1'); end; function TncConfigRecibo.GetLarguraBobina: Integer; begin Result := StrToIntDef(Values['largura'], 40); end; function TncConfigRecibo.GetPortaSerial: Byte; begin Result := StrToIntDef(Values['porta'], 1); end; function TncConfigRecibo.GetSaltoFimRecibo: Integer; begin Result := StrToIntDef(Values['salto'], 0); end; function TncConfigRecibo.GetSomenteTexto: Boolean; begin Result := (Values['somentetexto']='1'); end; function TncConfigRecibo.IsSomenteTexto: Boolean; begin Result := SomenteTexto or (Pos('Generic', Impressora)>0); end; procedure TncConfigRecibo.Load; begin if ConfigExists then LoadFromFile(FName) else LoadFromGConfig; end; procedure TncConfigRecibo.LoadFromGConfig; begin Imprimir := (gConfig.RecImprimir>0); if gConfig.RecImprimir=2 then AutoPrint := 1 else AutoPrint := 0; Impressora := gConfig.RecTipoImpressora; PortaSerial := StrToIntDef(gConfig.RecPorta, 1); LarguraBobina := gConfig.RecLargura; SaltoFimRecibo := gConfig.RecSalto; Bobina := gConfig.RecMatricial; SomenteTexto := gConfig.RecPrinterGeneric or ImpSerial; CortarPapel := gConfig.RecCortaFolha; Save; end; procedure TncConfigRecibo.Save; begin try if Values['directprintformat']='' then Values['directprintformat'] := 'TEXT'; ForceDirectories(ExtractFilePath(ParamStr(0))+'custom'); SaveToFile(FName); except on e: exception do DebugMsg('TncConfigRecibo.Save - Exception: ' + E.Message); end; end; procedure TncConfigRecibo.SetAutoPrint(const Value: Byte); begin Values['autoprint'] := IntToStr(Value); end; procedure TncConfigRecibo.SetBobina(const Value: Boolean); begin Values['tipopapel'] := BoolChar[Value]; end; procedure TncConfigRecibo.SetCmdAbreGaveta(const Value: String); begin Values['cmd_abregaveta'] := Value; end; procedure TncConfigRecibo.SetCortarPapel(const Value: Boolean); begin Values['cortarpapel'] := BoolChar[Value]; end; procedure TncConfigRecibo.SetDirectPrintFormat(const Value: String); begin Values['directprintformat'] := Value; end; procedure TncConfigRecibo.SetImpressora(const Value: String); begin Values['impressora'] := Value; end; procedure TncConfigRecibo.SetImprimir(const Value: Boolean); begin Values['imprimirrec'] := BoolChar[Value]; end; procedure TncConfigRecibo.SetLarguraBobina(const Value: Integer); begin Values['largurabobina'] := IntToStr(Value); end; procedure TncConfigRecibo.SetPortaSerial(const Value: Byte); begin Values['porta'] := IntToStr(Value); end; procedure TncConfigRecibo.SetSaltoFimRecibo(const Value: Integer); begin Values['saltofimrecibo'] := IntToStr(Value); end; procedure TncConfigRecibo.SetSomenteTexto(const Value: Boolean); begin Values['somentetexto'] := BoolChar[Value]; end; function StrToChar(S: String): String; begin S := Trim(S); if S>'' then if S[1]='#' then begin Delete(S, 1, 1); Result := Char(StrToIntDef(S, 0)); end else Result := S; end; function TncConfigRecibo.StrAbreGaveta: String; var S: String; procedure AddCmd; var P, I: Integer; begin P := Pos(',', S); if P>0 then begin Result := Result + StrToChar(Copy(S, 1, P-1)); System.Delete(S, 1, P); end else begin Result := Result + StrToChar(S); S := ''; end; end; begin S := CmdAbreGaveta; Result := ''; while S>'' do AddCmd; end; initialization gRecibo := TncConfigRecibo.Create; finalization gRecibo.Free; end.
unit CustomExcelTable; interface uses FireDAC.Comp.Client, Data.DB, System.Classes, FieldInfoUnit, System.Generics.Collections, ErrorTable, DBRecordHolder, NotifyEvents, ProgressInfo, TableWithProgress, ErrorType, RecordCheck; type TCustomExcelTable = class(TTableWithProgress) private FErrors: TErrorTable; FFieldsInfo: TObjectList<TFieldInfo>; FSaveAllActionCaption: string; FSkipAllActionCaption: string; function GetErrorType: TField; function GetExcelRow: TField; procedure SetSaveAllActionCaption(const Value: string); procedure SetSkipAllActionCaption(const Value: string); protected function ProcessValue(const AFieldName, AValue: string): String; virtual; procedure CreateFieldDefs; virtual; procedure ProcessErrors(ARecordCheck: TRecordCheck); procedure SetFieldsInfo; virtual; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; procedure AfterConstruction; override; function AppendRow(AExcelRow: Integer; var Value: Variant; ArrayRow: Integer): Boolean; function CheckRecord: Boolean; virtual; procedure ExcludeErrors(AErrorTypes: TErrorType); procedure SetUnionCellValues(ARecHolder: TRecordHolder); function TryEdit: Boolean; procedure TryPost; property Errors: TErrorTable read FErrors; property ErrorType: TField read GetErrorType; property ExcelRow: TField read GetExcelRow; property FieldsInfo: TObjectList<TFieldInfo> read FFieldsInfo; property SaveAllActionCaption: string read FSaveAllActionCaption write SetSaveAllActionCaption; property SkipAllActionCaption: string read FSkipAllActionCaption write SetSkipAllActionCaption; end; implementation uses System.SysUtils, System.Variants, StrHelper; constructor TCustomExcelTable.Create(AOwner: TComponent); begin inherited; FFieldsInfo := TObjectList<TFieldInfo>.Create; FErrors := TErrorTable.Create(Self); end; destructor TCustomExcelTable.Destroy; begin FreeAndNil(FFieldsInfo); inherited; end; procedure TCustomExcelTable.AfterConstruction; begin inherited; SetFieldsInfo; CreateFieldDefs; CreateDataSet; Open; end; function TCustomExcelTable.AppendRow(AExcelRow: Integer; var Value: Variant; ArrayRow: Integer): Boolean; var AFieldInfo: TFieldInfo; i: Integer; k: Integer; S: string; V: Variant; begin Assert(VarIsArray(Value)); Append; ExcelRow.AsInteger := AExcelRow; i := 0; k := 0; // Цикл по всем полям из Excel файла for AFieldInfo in FieldsInfo do begin // Получаем очередное значение из вариантного массива V := VarArrayGet(Value, [ArrayRow, i + 1]); S := VarToStrDef(V, ''); if not S.IsEmpty then begin FieldByName(AFieldInfo.FieldName).AsString := ProcessValue(AFieldInfo.FieldName, S); Inc(k); end; Inc(i); end; Result := k > 0; if Result then Post else Cancel; end; function TCustomExcelTable.CheckRecord: Boolean; var ACol: Integer; AFieldInfo: TFieldInfo; ARecordCheck: TRecordCheck; begin Assert(not IsEmpty); ACol := 0; for AFieldInfo in FFieldsInfo do begin Inc(ACol); if (AFieldInfo.Required) and (FieldByName(AFieldInfo.FieldName).IsNull or FieldByName(AFieldInfo.FieldName).AsString.Trim.IsEmpty) then begin // Сигнализируем о пустом значении ARecordCheck.ErrorType := etError; ARecordCheck.Row := ExcelRow.AsInteger; ARecordCheck.Col := ACol; ARecordCheck.ErrorMessage := 'Пустое значение'; ARecordCheck.Description := AFieldInfo.ErrorMessage; ProcessErrors(ARecordCheck); end; end; Result := ErrorType.AsInteger = Integer(etNone); end; function TCustomExcelTable.ProcessValue(const AFieldName, AValue: string): String; begin // Избавляемся от начальных, конечных и двойных пробелов Result := DeleteDouble(AValue.Trim, ' '); end; procedure TCustomExcelTable.CreateFieldDefs; var AFieldInfo: TFieldInfo; begin // Сначала создаём все поля из Excel файла for AFieldInfo in FFieldsInfo do begin FieldDefs.Add(AFieldInfo.FieldName, ftWideString, AFieldInfo.Size); end; FieldDefs.Add('ExcelRow', ftInteger, 0, True); // Обяз. для заполнения FieldDefs.Add('ErrorType', ftInteger); end; procedure TCustomExcelTable.ExcludeErrors(AErrorTypes: TErrorType); begin Filter := Format('%s < %d', [ErrorType.FieldName, Integer(AErrorTypes)]); Filtered := True; end; function TCustomExcelTable.GetErrorType: TField; begin Result := FieldByName('ErrorType'); end; function TCustomExcelTable.GetExcelRow: TField; begin Result := FieldByName('ExcelRow'); end; procedure TCustomExcelTable.ProcessErrors(ARecordCheck: TRecordCheck); var OK: Boolean; begin if ARecordCheck.ErrorType = etNone then Exit; // Помечаем, что в этой строке есть ошибка OK := TryEdit; ErrorType.AsInteger := Integer(ARecordCheck.ErrorType); if OK then TryPost; // Добавляем запись в таблицу с ошибками Errors.Add(ARecordCheck); end; procedure TCustomExcelTable.SetUnionCellValues(ARecHolder: TRecordHolder); var AFieldInfo: TFieldInfo; begin // Цикл по всем полям из excel-файла for AFieldInfo in FieldsInfo do begin // Если в Excel файле пустая ячейка и возможно она была объеденина if (FieldByName(AFieldInfo.FieldName).IsNull) and (AFieldInfo.IsCellUnion) then begin TryEdit; FieldByName(AFieldInfo.FieldName).Value := ARecHolder.Field [AFieldInfo.FieldName]; end; end; TryPost; end; procedure TCustomExcelTable.SetFieldsInfo; begin // TODO -cMM: TCustomExcelTable.SetFieldsInfo default body inserted end; procedure TCustomExcelTable.SetSaveAllActionCaption(const Value: string); begin Assert(not Value.IsEmpty); FSaveAllActionCaption := Value; end; procedure TCustomExcelTable.SetSkipAllActionCaption(const Value: string); begin Assert(not Value.IsEmpty); FSkipAllActionCaption := Value; end; function TCustomExcelTable.TryEdit: Boolean; begin Assert(Active); Result := False; if not (State in [dsEdit, dsInsert]) then begin Edit; Result := True; end; end; procedure TCustomExcelTable.TryPost; begin Assert(Active); if (State in [dsEdit, dsInsert]) then Post; end; end.
(** This modules contains a form for specifying the EXE, Params and Working Directory for external tools. @Version 1.0 @Author David Hoyle @Date 03 Jan 2018 **) Unit ITHelper.ProgrammeInfoForm; Interface Uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Buttons, StdCtrls, ExtCtrls; Type (** A class to represent the form. **) TfrmITHProgrammeInfo = Class(TForm) lblProgramme: TLabel; edtProgramme: TEdit; lblParameters: TLabel; edtParameters: TEdit; lblWorkingDirectrory: TLabel; edtWorkingDirectory: TEdit; btnEXE: TButton; btnDirectory: TButton; btnOK: TBitBtn; btnCancel: TBitBtn; dlgOpen: TOpenDialog; edtTitle: TEdit; lblTitle: TLabel; Procedure btnEXEClick(Sender: TObject); Procedure btnDirectoryClick(Sender: TObject); Strict Private Strict Protected Procedure LoadPosition(Const strINIFile: String); Procedure SavePosition(Const strINIFile: String); Public Class Function Execute(Var strTitle, strEXE, strParam, strDir: String; Const strINIFile: String): Boolean; End; Implementation {$R *.dfm} Uses FileCtrl, INIFiles; Const (** An INI section name for the dialogue settings. **) strProgrammeInfoDlgSection = 'ProgrammeInfoDlg'; (** An INI key for the dialogue top. **) strTopKey = 'Top'; (** An INI key for the dialogue left. **) strLeftKey = 'Left'; (** An INI key for the dialogue height. **) strHeightKey = 'Height'; (** An INI key for the dialogue width. **) strWidthKey = 'Width'; (** This is an on click event handler for the Directory browse button. @precon None. @postcon Allows the user to browse for a directory. @param Sender as a TObject **) Procedure TfrmITHProgrammeInfo.btnDirectoryClick(Sender: TObject); ResourceString strSelectWorkingDirectory = 'Select a Working Directory'; Var strDirectory: String; Begin strDirectory := edtWorkingDirectory.Text; If strDirectory = '' Then strDirectory := ExtractFilePath(edtProgramme.Text); If SelectDirectory(strSelectWorkingDirectory, '', strDirectory, [sdNewFolder, sdShowShares, sdNewUI, sdValidateDir]) Then edtWorkingDirectory.Text := strDirectory + '\'; End; (** This is an on click event handler for the EXE browse button. @precon None. @postcon Allows the user to browse for EXE, BAT anmd BTM files. @param Sender as a TObject **) Procedure TfrmITHProgrammeInfo.btnEXEClick(Sender: TObject); Begin If dlgOpen.Execute Then Begin edtProgramme.Text := dlgOpen.Filename; If edtWorkingDirectory.Text = '' Then edtWorkingDirectory.Text := ExtractFilePath(dlgOpen.Filename); End; End; (** This is the classes interface Singleton method. If the dialogue is confirmed the information is returned in the var parameters. @precon None. @postcon If the dialogue is confirmed the information is returned in the var parameters . @param strTitle as a String as a reference @param strEXE as a String as a reference @param strParam as a String as a reference @param strDir as a String as a reference @param strINIFile as a String as a constant @return a Boolean **) Class Function TfrmITHProgrammeInfo.Execute(Var strTitle, strEXE, strParam, strDir: String; Const strINIFile: String): Boolean; Var frm: TfrmITHProgrammeInfo; Begin frm := TfrmITHProgrammeInfo.Create(Nil); Try Result := False; frm.edtTitle.Text := strTitle; frm.edtProgramme.Text := strEXE; frm.edtParameters.Text := strParam; frm.edtWorkingDirectory.Text := strDir; frm.LoadPosition(strINIFile); If frm.ShowModal = mrOK Then Begin strTitle := frm.edtTitle.Text; strEXE := frm.edtProgramme.Text; strParam := frm.edtParameters.Text; strDir := frm.edtWorkingDirectory.Text; frm.SavePosition(strINIFile); Result := True; End; Finally frm.Free; End; End; (** This method loads the position of the dialogue from the pased INI File. @precon None. @postcon Loads the position of the dialogue from the pased INI File. @param strINIFile as a String as a constant **) Procedure TfrmITHProgrammeInfo.LoadPosition(Const strINIFile: String); Var iniFile: TMemIniFile; Begin iniFile := TMemIniFile.Create(strINIFile); Try Top := iniFile.ReadInteger(strProgrammeInfoDlgSection, strTopKey, Application.MainForm.Top + Application.MainForm.Height Div 2 - Height Div 2); Left := iniFile.ReadInteger(strProgrammeInfoDlgSection, strLeftKey, Application.MainForm.Left + Application.MainForm.Width Div 2 - Width Div 2); Height := iniFile.ReadInteger(strProgrammeInfoDlgSection, strHeightKey, Height); Width := iniFile.ReadInteger(strProgrammeInfoDlgSection, strWidthKey, Width); Finally iniFile.Free; End; End; (** This method saves the position of the dialogue to the passed INI file. @precon None. @postcon Saves the position of the dialogue to the passed INI file. @param strINIFile as a String as a constant **) Procedure TfrmITHProgrammeInfo.SavePosition(Const strINIFile: String); Var iniFile: TMemIniFile; Begin iniFile := TMemIniFile.Create(strINIFile); Try iniFile.WriteInteger(strProgrammeInfoDlgSection, strTopKey, Top); iniFile.WriteInteger(strProgrammeInfoDlgSection, strLeftKey, Left); iniFile.WriteInteger(strProgrammeInfoDlgSection, strHeightKey, Height); iniFile.WriteInteger(strProgrammeInfoDlgSection, strWidthKey, Width); iniFile.UpdateFile; Finally iniFile.Free; End; End; End.
unit LLVM.Imports.Error; //based on Error.h interface uses LLVM.Imports , LLVM.Imports.Types; type (** * Opaque reference to an error instance. Null serves as the 'success' value. *) TLLVMErrorRef = type TLLVMRef; (** * Error type identifier. *) TLLVMErrorTypeId = Pointer; (** * Returns the type id for the given error instance, which must be a failure * value (i.e. non-null). *) function LLVMGetErrorTypeId(Err: TLLVMErrorRef): TLLVMErrorTypeId; cdecl; external CLLVMLibrary; (* * Dispose of the given error without handling it. This operation consumes the * error, and the given LLVMErrorRef value is not usable once this call returns. * Note: This method *only* needs to be called if the error is not being passed * to some other consuming operation, e.g. LLVMGetErrorMessage. *) procedure LLVMConsumeError(Err: TLLVMErrorRef); cdecl; external CLLVMLibrary; (* * Returns the given string's error message. This operation consumes the error, * and the given LLVMErrorRef value is not usable once this call returns. * The caller is responsible for disposing of the string by calling * LLVMDisposeErrorMessage. *) function LLVMGetErrorMessage( Err: TLLVMErrorRef):PLLVMChar;cdecl; external CLLVMLibrary; (* * Dispose of the given error message. *) procedure LLVMDisposeErrorMessage(ErrMsg: PLLVMChar); cdecl; external CLLVMLibrary; (* * Returns the type id for llvm StringError. *) function LLVMGetStringErrorTypeId: TLLVMErrorTypeId; cdecl; external CLLVMLibrary; implementation end.
unit uManufacturing; {$mode objfpc}{$H+} interface uses SynCommons, mORMot, uForwardDeclaration;//Classes, SysUtils; type // 1 TSQLProductManufacturingRule = class(TSQLRecord) private fProduct: TSQLProductID; fProductIdFor: TSQLProductID; fProductIdIn: TSQLProductID; fRuleSeqId: Integer; fProductIdInSubst: TSQLProductID; fProductFeature: TSQLProductFeatureID; fRuleOperator: Integer; fQuantity: Double; fDescription: RawUTF8; fFromDate: TDateTime; fThruDate: TDateTime; published property Product: TSQLProductID read fProduct write fProduct; property ProductIdFor: TSQLProductID read fProductIdFor write fProductIdFor; property ProductIdIn: TSQLProductID read fProductIdIn write fProductIdIn; property RuleSeqId: Integer read fRuleSeqId write fRuleSeqId; property ProductIdInSubst: TSQLProductID read fProductIdInSubst write fProductIdInSubst; property ProductFeature: TSQLProductFeatureID read fProductFeature write fProductFeature; property RuleOperator: Integer read fRuleOperator write fRuleOperator; property Quantity: Double read fQuantity write fQuantity; property Description: RawUTF8 read fDescription write fDescription; property FromDate: TDateTime read fFromDate write fFromDate; property ThruDate: TDateTime read fThruDate write fThruDate; end; // 2 TSQLTechDataCalendar = class(TSQLRecord) private fCalendar: TSQLTechDataCalendarID; fDescription: RawUTF8; fCalendarWeek: TSQLTechDataCalendarWeekID; published property Calendar: TSQLTechDataCalendarID read fCalendar write fCalendar; property Description: RawUTF8 read fDescription write fDescription; property CalendarWeek: TSQLTechDataCalendarWeekID read fCalendarWeek write fCalendarWeek; end; // 3 TSQLTechDataCalendarExcDay = class(TSQLRecord) private fCalendar: TSQLTechDataCalendarID; fExceptionDateStartTime: TDateTime; fExceptionCapacity: Double; fUsedCapacity: Double; fDescription: RawUTF8; published property Calendar: TSQLTechDataCalendarID read fCalendar write fCalendar; property ExceptionDateStartTime: TDateTime read fExceptionDateStartTime write fExceptionDateStartTime; property ExceptionCapacity: Double read fExceptionCapacity write fExceptionCapacity; property UsedCapacity: Double read fUsedCapacity write fUsedCapacity; property Description: RawUTF8 read fDescription write fDescription; end; // 4 TSQLTechDataCalendarExcWeek = class(TSQLRecord) private fCalendar: TSQLTechDataCalendarID; fExceptionDateStart: TDateTime; fCalendarWeek: TSQLTechDataCalendarWeekID; fDescription: RawUTF8; published property Calendar: TSQLTechDataCalendarID read fCalendar write fCalendar; property ExceptionDateStart: TDateTime read fExceptionDateStart write fExceptionDateStart; property CalendarWeek: TSQLTechDataCalendarWeekID read fCalendarWeek write fCalendarWeek; property Description: RawUTF8 read fDescription write fDescription; end; // 5 TSQLTechDataCalendarWeek = class(TSQLRecord) private fDescription: RawUTF8; fMondayStartTime: TDateTime; fMondayCapacity: Double; fTuesdayStartTime: TDateTime; fTuesdayCapacity: Double; fWednesdayStartTime: TDateTime; fWednesdayCapacity: Double; fThursdayStartTime: TDateTime; fThursdayCapacity: Double; fFridayStartTime: TDateTime; fFridayCapacity: Double; fSaturdayStartTime: TDateTime; fSaturdayCapacity: Double; fSundayStartTime: TDateTime; fSundayCapacity: TDateTime; published property Description: RawUTF8 read fDescription write fDescription; property MondayStartTime: TDateTime read fMondayStartTime write fMondayStartTime; property MondayCapacity: Double read fMondayCapacity write fMondayCapacity; property TuesdayStartTime: TDateTime read fTuesdayStartTime write fTuesdayStartTime; property TuesdayCapacity: Double read fTuesdayCapacity write fTuesdayCapacity; property WednesdayStartTime: TDateTime read fWednesdayStartTime write fWednesdayStartTime; property WednesdayCapacity: Double read fWednesdayCapacity write fWednesdayCapacity; property ThursdayStartTime: TDateTime read fThursdayStartTime write fThursdayStartTime; property ThursdayCapacity: Double read fThursdayCapacity write fThursdayCapacity; property FridayStartTime: TDateTime read fFridayStartTime write fFridayStartTime; property FridayCapacity: Double read fFridayCapacity write fFridayCapacity; property SaturdayStartTime: TDateTime read fSaturdayStartTime write fSaturdayStartTime; property SaturdayCapacity: Double read fSaturdayCapacity write fSaturdayCapacity; property SundayStartTime: TDateTime read fSundayStartTime write fSundayStartTime; property SundayCapacity: TDateTime read fSundayCapacity write fSundayCapacity; end; // 6 TSQLMrpEventType = class(TSQLRecord) private fName: RawUTF8; fDescription: RawUTF8; published property Name: RawUTF8 read fName write fName; property Description: RawUTF8 read fDescription write fDescription; end; // 7 TSQLMrpEvent = class(TSQLRecord) private fProduct: TSQLProductID; fEventDate: TDateTime; fMrpEventType: TSQLMrpEventTypeID; fFacility: TSQLFacilityID; fQuantity: Double; fEventName: RawUTF8; fIsLate: Boolean; published property Product: TSQLProductID read fProduct write fProduct; property EventDate: TDateTime read fEventDate write fEventDate; property MrpEventType: TSQLMrpEventTypeID read fMrpEventType write fMrpEventType; property Facility: TSQLFacilityID read fFacility write fFacility; property Quantity: Double read fQuantity write fQuantity; property EventName: RawUTF8 read fEventName write fEventName; property IsLate: Boolean read fIsLate write fIsLate; end; implementation end.
unit FunctionsTest; interface implementation uses SysUtils, ntxTestUnit, ntxTestResult, microdom, udomtest_const, udomtest_init; function PrtXMLTokenKind(const val: TXMLTokenKind): string; const _names: array[TXMLTokenKind] of PChar = ( 'tokEOF', 'tokError', 'tokText', 'tokTag', 'tokOpenTag', 'tokCloseTag', 'tokHeader', 'tokDoctype', 'tokComment', 'tokCDATA', 'tokPCDATA' ); begin Result:=StrPas(_names[val]); end; {******************************************************************************* Test_SkipSpaces - 12.05.20 12:34 by: JL ********************************************************************************} procedure Test_SkipSpaces(trs: TntxTestResults); const TESTNAME = 'procedure SkipSpaces'; var t: TntxTest; begin t:=trs.NewTest(TESTNAME); t.Start; try t.Subtest('empty string').Start .Call( function(t: TntxTest): Boolean var ipos: integer; begin ipos:=1; SkipSpaces('', ipos); t.Eq(ipos, 1); Result:=true; end ) .Done; t.Subtest('spaces only').Start .Call( function(t: TntxTest): Boolean var ipos: integer; begin ipos:=1; // 7 space chars SkipSpaces(' ', ipos); t.Eq(ipos, 8); Result:=true; end ) .Done; finally t.Done; end; end; {Test_SkipSpaces} {******************************************************************************* Test_GetXMLToken - 13.05.20 21:20 by: JL ********************************************************************************} procedure Test_GetXMLToken(trs: TntxTestResults); const TESTNAME = 'function GetXMLToken'; function Test(const xml: string; i, xPos: integer; xKind: TXMLTokenKind; const xVal: string): TntxCallFunction; begin Result:=function(t: TntxTest): Boolean var res: TXMLToken; ipos: integer; begin ipos:=i; res:=GetXMLToken(xml, ipos); t .Eq(ipos, xPos, 'ipos') .Eq(PrtXMLTokenKind(res.kind), PrtXMLTokenKind(xKind), 'kind') .Eq(res.value, xVal, 'value'); Result:=true; end; end; var t: TntxTest; begin t:=trs.NewTest(TESTNAME); t.Start; try t.Subtest('empty string').Start .Call(Test('', 1, 1, tokEOF, '')) .Done; t.Subtest('text').Start .Call(Test('<a>text</a>', 4, 8, tokText, 'text')) .Done; t.Subtest('tag').Start .Call(Test('<a/><b>test</b>', 1, 5, tokTag, 'a')) .Done; t.Subtest('open tag').Start .Call(Test('<a/><b>test</b>', 5, 8, tokOpenTag, 'b')) .Done; t.Subtest('close tag').Start .Call(Test('<a/><b>test</b><c></c>', 12, 16, tokCloseTag, 'b')) .Done; t.Subtest('header').Start .Call(Test(XML_HEADER+'<a/><b>test</b><c></c>', 1, Length(XML_HEADER)+1, tokHeader, XML_HEADER_CONTENT)) .Done; t.Subtest('DTD').Start .Call(Test(DTD+'<a><b>test</b><c></c></a>', 1, Length(DTD)+1, tokDoctype, DTD_CONTENT)) .Done; finally t.Done; end; end; {Test_GetXMLToken} {******************************************************************************* Test_ScanChar - 13.05.20 23:03 by: JL ********************************************************************************} procedure Test_ScanChar(trs: TntxTestResults); const TESTNAME = 'function ScanChar'; var t: TntxTest; begin t:=trs.NewTest(TESTNAME); t.Start; try t.Eq(ScanChar('', 1, ' '), 0, 'empty arguments'); t.Eq(ScanChar('abc', 1, 'a'), 1, 'first char in string'); t.Eq(ScanChar('abc', 2, 'a'), 0, 'behing first char in string'); t.Eq(ScanChar('abc', 1, 'b'), 2, 'second char in string'); t.Eq(ScanChar('abc', 2, 'b'), 2, 'second char in string'); t.Eq(ScanChar('abc', 3, 'b'), 0, 'behind second char in string'); t.Eq(ScanChar('abcdef', 1, 'f'), 6, 'last char in string, start from begin'); t.Eq(ScanChar('abcdef', 6, 'f'), 6, 'last char in string, start from char'); t.Eq(ScanChar('abcdef', 7, 'f'), 0, 'behind last char in string'); t.Eq(ScanChar('ab"cd"ef', 1, 'c'), 0, 'char in "string"'); t.Eq(ScanChar('ab"c''d"e''f', 1, ''''), 9, '"''" in "string" and behind'); finally t.Done; end; end; {Test_ScanChar} initialization begin RegisterTest('SkipSpaces', Test_SkipSpaces); RegisterTest('ScanChar', Test_ScanChar); RegisterTest.Only('GetXMLToken', Test_GetXMLToken); end; end.
unit DevExUtil; interface uses DB, Classes, Forms, Dialogs, SysUtils, Controls, Windows, dxTL, dxDBCtrl, dxDBGrid, dxLayout, dxDBTLCl, dxGrClms; Procedure SaveLayoutToDataSet(ADataSet: TDataSet; AFieldName: String; AGrid: TdxDBGrid; AParent: TWinControl); Procedure LoadLayoutFromDataSet(ADataSet: TDataSet; AFieldName: String; AGrid: TdxDBGrid; AParent: TWinControl); implementation Procedure LoadLayoutFromDataSet(ADataSet: TDataSet; AFieldName: String; AGrid: TdxDBGrid; AParent: TWinControl); Var Field: TBlobField; Begin If ADataSet = Nil Then Exit; Field := ADataSet.FindField(AFieldName) As TBlobField; If Not ADataSet.CanModify Or (Field = Nil) Or (Field.DataType <> ftBlob) Then Exit; If (AGrid = Nil) Or (Field = nil) Or (Field.DataType <> ftBlob) Then Exit; Try LockWindowUpdate(AParent.Handle); Field.SaveToFile('temp.lay'); AGrid.LoadFromIniFile('temp.lay'); Finally LockWindowUpdate(0); End; End; Procedure SaveLayoutToDataSet(ADataSet: TDataSet; AFieldName: String; AGrid: TdxDBGrid; AParent: TWinControl); Var Field: TBlobField; DataSetIsEdited: Boolean; Begin If ADataSet = Nil Then Exit; Field := ADataSet.FindField(AFieldName) As TBlobField; If Not ADataSet.CanModify Or (Field = Nil) Or (Field.DataType <> ftBlob) Then Exit; DataSetIsEdited := ADataSet.State <> dsBrowse; Try LockWindowUpdate(AParent.Handle); AGrid.SaveToIniFile('temp.lay'); Field.LoadFromFile('temp.lay'); If Not DataSetIsEdited Then ADataSet.Post; Finally LockWindowUpdate(0); End; End; end.
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2015-2018 Embarcadero Technologies, Inc. } { All rights reserved } { } {*******************************************************} unit EMSHosting.LoggingService; {$HPPEMIT LINKUNIT} interface uses System.SysUtils, System.Classes, EMS.Services, System.Generics.Collections, System.JSON; type TEMSLoggingService = class(TInterfacedObject, IEMSLoggingService, IEMSLoggingServiceSetup) private FWriter: TStreamWriter; FLogIsEmpty: Boolean; FOutputProc: TEMSLoggingOutputProc; FEnabledFunc: TEMSLoggingEnabledFunc; FSynchronize: Boolean; public destructor Destroy; override; // IEMSLoggingService function GetLoggingEnabled: Boolean; procedure Log(const ACategory: string; const AJSON: TJSONObject); // IEMSLoggingServiceSetup procedure SetupCustomOutput(const AEnabled: TEMSLoggingEnabledFunc; const AOutput: TEMSLoggingOutputProc; const ASynchronize: Boolean); procedure SetupFileOutput(const AFileName: string; const AAppend: Boolean); end; implementation uses System.DateUtils, EMSHosting.ExtensionsServices, EMSHosting.Helpers; { TEMSLoggingService } destructor TEMSLoggingService.Destroy; begin SetupFileOutput('', False); SetupCustomOutput(nil, nil, False); inherited Destroy; end; procedure TEMSLoggingService.SetupFileOutput(const AFileName: string; const AAppend: Boolean); var LJSON: TJSONObject; LLine: string; begin try if FWriter <> nil then begin if not FLogIsEmpty then FWriter.WriteLine; FWriter.Write(']}'); FWriter.WriteLine; FreeAndNil(FWriter); end; if AFileName <> '' then begin FWriter := TStreamWriter.Create(AFileName, AAppend, TEncoding.UTF8); LJSON := TJSONObject.Create; try LJSON.AddPair(TLogObjectNames.Application, GetModuleName(HInstance)); LJSON.AddPair(TLogObjectNames.Started, DateToISO8601(Now(), False)); LJSON.AddPair(TLogObjectNames.Log, TJSONArray.Create); LLine := LJSON.ToJSON; FWriter.Write(Copy(LLine, 1, Length(LLine) - 2)); FWriter.WriteLine; FLogIsEmpty := True; finally LJSON.Free; end; end; except if Assigned(ApplicationHandleException) then ApplicationHandleException(Self); end; end; procedure TEMSLoggingService.SetupCustomOutput(const AEnabled: TEMSLoggingEnabledFunc; const AOutput: TEMSLoggingOutputProc; const ASynchronize: Boolean); begin FEnabledFunc := AEnabled; FOutputProc := AOutput; FSynchronize := ASynchronize; end; function TEMSLoggingService.GetLoggingEnabled: Boolean; begin if FWriter <> nil then Result := True else begin Result := Assigned(FOutputProc); if Result then if Assigned(FEnabledFunc) then Result := FEnabledFunc(); end; end; procedure TEMSLoggingService.Log(const ACategory: string; const AJSON: TJSONObject); var LJSON: TJSONObject; LPrivateJSON: TJSONObject; LLine: string; begin if not GetLoggingEnabled then Exit; LJSON := TJSONObject.Create; try LJSON.AddPair(TLogObjectNames.Thread, TJSONNumber.Create(TThread.CurrentThread.ThreadID)); LJSON.AddPair(ACategory, TJSONValue(AJSON.Clone)); if FWriter <> nil then begin TMonitor.Enter(FWriter); try if not FLogIsEmpty then begin FWriter.Write(','); FWriter.WriteLine; end; LLine := LJSON.ToString; FWriter.Write(LLine); FLogIsEmpty := False; finally TMonitor.Exit(FWriter); end; end; if Assigned(FOutputProc) and (not Assigned(FEnabledFunc) or FEnabledFunc()) then if FSynchronize then begin LPrivateJSON := LJSON; LJSON := nil; TThread.Synchronize(nil, procedure begin FOutputProc(ACategory, LPrivateJSON); LPrivateJSON.Free; end); end else FOutputProc(ACategory, LJSON); finally LJSON.Free; end; end; var LIndex: Integer; initialization LIndex := AddService(TEMSLoggingService.Create as IEMSLoggingService); finalization RemoveService(LIndex); end.
unit BillContentExportQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ProductsBaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, Vcl.StdCtrls, DSWrap; type TBillContentExportW = class(TProductW) private FBillDate: TFieldWrap; FValue2: TFieldWrap; FShipmentDate: TFieldWrap; FBillNumber: TFieldWrap; FWidth: TFieldWrap; protected procedure InitFields; override; public constructor Create(AOwner: TComponent); override; procedure ApplyNotShipmentFilter; procedure ApplyShipmentFilter; property BillDate: TFieldWrap read FBillDate; property Value2: TFieldWrap read FValue2; property ShipmentDate: TFieldWrap read FShipmentDate; property BillNumber: TFieldWrap read FBillNumber; property Width: TFieldWrap read FWidth; end; TQueryBillContentExport = class(TQueryProductsBase) private function GetExportW: TBillContentExportW; { Private declarations } protected function CreateDSWrap: TDSWrap; override; procedure DoOnCalcFields; override; procedure InitFieldDefs; override; public function SearchByPeriod(ABeginDate, AEndDate: TDate): Integer; property ExportW: TBillContentExportW read GetExportW; { Public declarations } end; implementation uses StrHelper, System.StrUtils; function TQueryBillContentExport.CreateDSWrap: TDSWrap; begin Result := TBillContentExportW.Create(FDQuery); end; procedure TQueryBillContentExport.DoOnCalcFields; begin inherited; if (CalcStatus > 0) then Exit; ExportW.Value2.F.AsString := Format('Счёт №%s от %s%s', [Format('%.' + ExportW.Width.F.AsString + 'd', [ExportW.BillNumber.F.AsInteger]), FormatDateTime('dd.mm.yyyy', ExportW.BillDate.F.AsDateTime), IfThen(ExportW.ShipmentDate.F.IsNull, '', Format(' отгружен %s', [FormatDateTime('dd.mm.yyyy', ExportW.ShipmentDate.F.AsDateTime)]))]); end; function TQueryBillContentExport.GetExportW: TBillContentExportW; begin Result := W as TBillContentExportW; end; procedure TQueryBillContentExport.InitFieldDefs; begin inherited; // Составное имя склада FDQuery.FieldDefs.Add(ExportW.Value2.FieldName, ftWideString, 100); end; function TQueryBillContentExport.SearchByPeriod(ABeginDate, AEndDate: TDate): Integer; var AED: TDate; ANewSQL: string; ASD: TDate; AStipulation: string; begin if ABeginDate <= AEndDate then begin ASD := ABeginDate; AED := AEndDate; end else begin ASD := AEndDate; AED := ABeginDate; end; // Делаем замену в SQL запросе AStipulation := Format('%s >= date(''%s'')', [ExportW.BillDate.FieldName, FormatDateTime('YYYY-MM-DD', ASD)]); ANewSQL := ReplaceInSQL(SQL, AStipulation, 0); // Делаем замену в SQL запросе AStipulation := Format('%s <= date(''%s'')', [ExportW.BillDate.FieldName, FormatDateTime('YYYY-MM-DD', AED)]); ANewSQL := ReplaceInSQL(ANewSQL, AStipulation, 1); FDQuery.SQL.Text := ANewSQL; W.RefreshQuery; Result := FDQuery.RecordCount; end; constructor TBillContentExportW.Create(AOwner: TComponent); begin inherited; FShipmentDate := TFieldWrap.Create(Self, 'ShipmentDate'); FBillDate := TFieldWrap.Create(Self, 'BillDate'); FBillNumber := TFieldWrap.Create(Self, 'BillNumber'); FWidth := TFieldWrap.Create(Self, 'Width'); FValue2 := TFieldWrap.Create(Self, 'Value2'); end; procedure TBillContentExportW.ApplyNotShipmentFilter; begin DataSet.Filter := Format('%s is null', [ShipmentDate.FieldName]); DataSet.Filtered := True; end; procedure TBillContentExportW.ApplyShipmentFilter; begin DataSet.Filter := Format('%s is not null', [ShipmentDate.FieldName]); DataSet.Filtered := True; end; procedure TBillContentExportW.InitFields; begin inherited; Value2.F.FieldKind := fkInternalCalc; end; {$R *.dfm} end.
unit uMyJoson; interface uses sysutils,strutils,classes,System.json; type TMyJson=class constructor Create(txt:ansiString);overload; constructor Create(txt:ansiString;bJson:boolean);overload; destructor Destroy; private mTxt:tStrings; mJSONObject: TJSONObject; public function getValue(key:ansiString):ansiString;overload; function getValue(key:ansiString;bJson:boolean):ansiString;overload; function getValue(i:integer):ansiString;overload; end; implementation constructor TMyJson.Create(txt:ansiString); begin mTxt:=tStringlist.Create; mTxt.Delimiter:=','; mTxt.DelimitedText:=txt; end; constructor TMyJson.Create(txt:ansiString;bJson:boolean); begin if(bJson)then begin mJSONObject:= TJSONObject.ParseJSONValue(txt) as TJSONObject; end else begin Create(txt); end; end; destructor TMyJson.Destroy; begin if(assigned(mTxt))then mTxt.Free; if(assigned(mJSONObject))then mJSONObject.Free; end; function TMyJson.getValue(i:integer):ansiString; begin result:=''; if i>=mTxt.Count then exit; result:=mtxt[i]; end; function TMyJson.getValue(key:ansiString;bJson:boolean):ansiString; begin if(bJson)then begin result:=mJSONObject.Values[key].ToString; end else begin result:=getValue(key); end; end; function TMyJson.getValue(key:ansiString):ansiString; var i,j:integer; s:ansiString; begin result:=''; for I := 0 to mTxt.Count-1 do begin s:=mtxt[i]; if(pos(key,s)>0)then begin j:=pos('=',s); if(j<=0)then continue; result:=rightstr(s,length(s)-j); result:=replacestr(result,'"',''); end; end; end; end.
{**********************************************} { TPoint3DSeries Component Editor Dialog } { Copyright (c) 1998-2004 by David Berneda } {**********************************************} unit TeePo3DEdit; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classes, {$IFDEF CLX} QGraphics, QControls, QForms, QDialogs, QStdCtrls, QExtCtrls, QComCtrls, {$ELSE} Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, {$ENDIF} Chart, Series, TeePoin3, TeCanvas, TeePenDlg, TeeProcs; type TPoint3DSeriesEditor = class(TForm) GPLine: TGroupBox; BColor: TButtonColor; CBColorEach: TCheckBox; Button1: TButtonPen; Label4: TLabel; SEPointDepth: TEdit; UDPointDepth: TUpDown; BBasePen: TButtonPen; procedure FormShow(Sender: TObject); procedure CBColorEachClick(Sender: TObject); procedure SEPointDepthChange(Sender: TObject); procedure FormCreate(Sender: TObject); private { Private declarations } PointerForm : TCustomForm; TheSeries : TPoint3DSeries; public { Public declarations } end; implementation {$IFNDEF CLX} {$R *.DFM} {$ELSE} {$R *.xfm} {$ENDIF} uses TeEngine, TeePoEdi, TeeConst; procedure TPoint3DSeriesEditor.FormShow(Sender: TObject); begin TheSeries:=TPoint3DSeries(Tag); if Assigned(TheSeries) then begin With TheSeries do Begin UDPointDepth.Position :=Round(DepthSize); CBColorEach.Checked:=ColorEachPoint; Button1.LinkPen(LinePen); BBasePen.LinkPen(BaseLine); end; BColor.LinkProperty(TheSeries,'SeriesColor'); BColor.Enabled:=not TheSeries.ColorEachPoint; if not Assigned(PointerForm) then PointerForm:=TeeInsertPointerForm(Parent,TheSeries.Pointer,TeeMsg_GalleryPoint); end; end; procedure TPoint3DSeriesEditor.CBColorEachClick(Sender: TObject); begin TheSeries.ColorEachPoint:=CBColorEach.Checked; BColor.Enabled:=not TheSeries.ColorEachPoint; end; procedure TPoint3DSeriesEditor.SEPointDepthChange(Sender: TObject); begin if Showing then TheSeries.DepthSize:=UDPointDepth.Position; end; procedure TPoint3DSeriesEditor.FormCreate(Sender: TObject); begin Align:=alClient; end; initialization RegisterClass(TPoint3DSeriesEditor); end.
unit Finance.Interfaces; interface uses System.JSON; type iFinance = interface; iFinanceCurrency = interface; iFinanceCurrencies = interface; iFinanceStocks = interface; iFinanceStock = interface; iFinanceTaxes = interface; iFinanceStockPrice = interface; iFinance = interface ['{F7B90DC6-31B0-451E-9332-2EBE69DBDC0C}'] function Key (value : string) : iFinance; function Get : iFinance; function Currencies : iFinanceCurrencies; function Stocks : iFinanceStocks; function Taxes : iFinanceTaxes; end; iFinanceCurrencies = interface ['{3E9EC8EF-D002-4485-AE59-A07F7365653B}'] function Source : string; overload; function Source(value : string) : iFinanceCurrencies; overload; function GetUSD : iFinanceCurrency; function GetEUR : iFinanceCurrency; function GetGBP : iFinanceCurrency; function GetARS : iFinanceCurrency; function GetCAD : iFinanceCurrency; function GetAUD : iFinanceCurrency; function GetJPY : iFinanceCurrency; function GetCNY : iFinanceCurrency; function GetBTC : iFinanceCurrency; function SetJSON( value : TJSONObject) : iFinanceCurrencies; function GetJSONArray : TJSONArray; function &End : iFinance; end; iFinanceCurrency = interface ['{1480B557-FA6F-4359-B172-9FE3B2623E84}'] function Code : string; overload; function Name : string; overload; function Buy : string; overload; function Sell : string; overload; function Variation : string; overload; function Code (value : string) : iFinanceCurrency; overload; function Name (value : string) : iFinanceCurrency; overload; function Buy (value : string) : iFinanceCurrency; overload; function Sell (value : string) : iFinanceCurrency; overload; function Variation (value : string) : iFinanceCurrency; overload; function SetJSON( value : TJSONPair) : iFinanceCurrency; function getJSON : TJSONObject; function &End : iFinanceCurrencies; end; iFinanceStocks = interface ['{F5D0D24B-5DE7-4D26-A883-7B47D31E48DF}'] function GetIBOVESPA : iFinanceStock; function GetNASDAQ : iFinanceStock; function GetCAC : iFinanceStock; function GetNIKKEI : iFinanceStock; function SetJSON( value : TJSONObject ) : iFinanceStocks; function &End : iFinance; end; iFinanceStock = interface ['{E89C283C-133F-42C3-AA99-E15DAAD026B7}'] function Code : string; overload; function Name : string; overload; function Location : string; overload; function Points : string; overload; function Variation : string; overload; function Code ( value : string ) : iFinanceStock; overload; function Name ( value : string ) : iFinanceStock; overload; function Location ( value : string ) : iFinanceStock; overload; function Points ( value : string ) : iFinanceStock; overload; function Variation ( value : string ) : iFinanceStock; overload; function SetJSON( value : TJSONPair ) : iFinanceStock; function &End : iFinanceStocks; end; iFinanceTaxes = interface function GetDate : string; function GetCdi : string; function GetSelic : string; function GetDailyFactor : string; function GetSelicDaily : string; function GetCdiDaily : string; function SetJSON( value : TJSONArray ) : iFinanceTaxes; function &End : iFinance; end; iFinanceStockPrice = interface function Code : string; function Name : string; function Price : string; function ChangePercent : string; function SetJSON( value : TJSONObject ) : iFinanceStockPrice; function &End : iFinance; end; implementation end.
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { } {*******************************************************} unit Data.DBXMetaDataNames; interface type TDBXCatalogsColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Catalogs</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; end; TDBXCatalogsIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Catalogs</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; const Last = 0; end; TDBXColumnConstraintsColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 'TableName'; /// <summary> <p>Used to access the <c>ConstraintName</c> column in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the constraint name.</p> /// </summary> const ConstraintName = 'ConstraintName'; /// <summary> <p>Used to access the <c>ColumnName</c> column in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the column name.</p> /// </summary> const ColumnName = 'ColumnName'; end; TDBXColumnConstraintsIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 2; /// <summary> <p>Used to access the <c>ConstraintName</c> column by ordinal in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the constraint name.</p> /// </summary> const ConstraintName = 3; /// <summary> <p>Used to access the <c>ColumnName</c> column by ordinal in the <c>ColumnConstraints</c> metadata collection.</p> /// <p>The data in this column specifies the column name.</p> /// </summary> const ColumnName = 4; const Last = 4; end; TDBXColumnsColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 'TableName'; /// <summary> <p>Used to access the <c>ColumnName</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the column name.</p> /// </summary> const ColumnName = 'ColumnName'; /// <summary> <p>Used to access the <c>TypeName</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 'TypeName'; /// <summary> <p>Used to access the <c>Precision</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the precision of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br> </br> /// For a decimal types, this is the maximum number digits including /// digits from the scale. /// </remarks> const Precision = 'Precision'; /// <summary> <p>Used to access the <c>Scale</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the scale of a decimal type.</p> /// </summary> const Scale = 'Scale'; /// <summary> <p>Used to access the <c>Ordinal</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the position in the columns of the /// table starting with 1.</p> /// </summary> const Ordinal = 'Ordinal'; /// <summary> <p>Used to access the <c>DefaultValue</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the default value.</p> /// </summary> const DefaultValue = 'DefaultValue'; /// <summary> <p>Used to access the <c>IsNullable</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column can accept NULL /// values.</p> /// </summary> const IsNullable = 'IsNullable'; /// <summary> <p>Used to access the <c>IsAutoIncrement</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column is an autoincrement /// value.</p> /// </summary> const IsAutoIncrement = 'IsAutoIncrement'; /// <summary> <p>Used to access the <c>MaxInline</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the maximal number of bytes to write /// into row.</p> /// </summary> /// <remarks> The rest of the data is handled as a blob (BlackfishSQL /// only). /// </remarks> const MaxInline = 'MaxInline'; /// <summary> <p>Used to access the <c>DbxDataType</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 'DbxDataType'; /// <summary> <p>Used to access the <c>IsFixedLength</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column holds fixed length /// data.</p> /// </summary> const IsFixedLength = 'IsFixedLength'; /// <summary> <p>Used to access the <c>IsUnicode</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column can hold unicode /// characters.</p> /// </summary> const IsUnicode = 'IsUnicode'; /// <summary> <p>Used to access the <c>IsLong</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column is a blob data /// type.</p> /// </summary> const IsLong = 'IsLong'; /// <summary> <p>Used to access the <c>IsUnsigned</c> column in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column is an unsigned /// numeric type.</p> /// </summary> const IsUnsigned = 'IsUnsigned'; end; TDBXColumnsIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 2; /// <summary> <p>Used to access the <c>ColumnName</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the column name.</p> /// </summary> const ColumnName = 3; /// <summary> <p>Used to access the <c>TypeName</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 4; /// <summary> <p>Used to access the <c>Precision</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the precision of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br></br> /// For a decimal types, this is the maximum number digits including /// digits from the scale. /// </remarks> const Precision = 5; /// <summary> <p>Used to access the <c>Scale</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the scale of a decimal type.</p> /// </summary> const Scale = 6; /// <summary> <p>Used to access the <c>Ordinal</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the position in the columns of the /// table starting with 1.</p> /// </summary> const Ordinal = 7; /// <summary> <p>Used to access the <c>DefaultValue</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the default value.</p> /// </summary> const DefaultValue = 8; /// <summary> <p>Used to access the <c>IsNullable</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column can accept NULL /// values.</p> /// </summary> const IsNullable = 9; /// <summary> <p>Used to access the <c>IsAutoIncrement</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column is an autoincrement /// value.</p> /// </summary> const IsAutoIncrement = 10; /// <summary> <p>Used to access the <c>MaxInline</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the maximal number of bytes to write /// into row.</p> /// </summary> /// <remarks> The rest of the data is handled as a blob (BlackfishSQL /// only). /// </remarks> const MaxInline = 11; /// <summary> <p>Used to access the <c>DbxDataType</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 12; /// <summary> <p>Used to access the <c>IsFixedLength</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column holds fixed length /// data.</p> /// </summary> const IsFixedLength = 13; /// <summary> <p>Used to access the <c>IsUnicode</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column can hold unicode /// characters.</p> /// </summary> const IsUnicode = 14; /// <summary> <p>Used to access the <c>IsLong</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column is a blob data /// type.</p> /// </summary> const IsLong = 15; /// <summary> <p>Used to access the <c>IsUnsigned</c> column by ordinal in the <c>Columns</c> metadata collection.</p> /// <p>The data in this column specifies that the column is an unsigned /// numeric type.</p> /// </summary> const IsUnsigned = 16; const Last = 16; end; TDBXDataTypesColumns = class public /// <summary> <p>Used to access the <c>TypeName</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 'TypeName'; /// <summary> <p>Used to access the <c>DbxDataType</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 'DbxDataType'; /// <summary> <p>Used to access the <c>ColumnSize</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the length of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br></br> /// For a floating point number, this is the number of significant bits in /// the mantissa. <br></br> /// For other numeric types, this is the maximum number of significant /// digits. <br></br> /// For a date, time, and timestamp types, this is the length of the /// string representation. /// </remarks> const ColumnSize = 'ColumnSize'; /// <summary> <p>Used to access the <c>CreateFormat</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the create format as used in CREATE /// TABLE.</p> /// </summary> const CreateFormat = 'CreateFormat'; /// <summary> <p>Used to access the <c>CreateParameters</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the parameters for the create /// format.</p> /// </summary> const CreateParameters = 'CreateParameters'; /// <summary> <p>Used to access the <c>DataType</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the name of the language type /// representing this data type.</p> /// </summary> const DataType = 'DataType'; /// <summary> <p>Used to access the <c>IsAutoIncrementable</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be used as /// for an autoincrement column.</p> /// </summary> const IsAutoIncrementable = 'IsAutoIncrementable'; /// <summary> <p>Used to access the <c>IsBestMatch</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is the best match /// for the language type.</p> /// </summary> const IsBestMatch = 'IsBestMatch'; /// <summary> <p>Used to access the <c>IsCaseSensitive</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is case /// sensitive.</p> /// </summary> const IsCaseSensitive = 'IsCaseSensitive'; /// <summary> <p>Used to access the <c>IsFixedLength</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is fixed /// length.</p> /// </summary> const IsFixedLength = 'IsFixedLength'; /// <summary> <p>Used to access the <c>IsFixedPrecisionScale</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is an exact /// numeric.</p> /// </summary> const IsFixedPrecisionScale = 'IsFixedPrecisionScale'; /// <summary> <p>Used to access the <c>IsLong</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is a blob /// type.</p> /// </summary> const IsLong = 'IsLong'; /// <summary> <p>Used to access the <c>IsNullable</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be assigned a /// value of NULL.</p> /// </summary> const IsNullable = 'IsNullable'; /// <summary> <p>Used to access the <c>IsSearchable</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be searched /// in the SQL database.</p> /// </summary> const IsSearchable = 'IsSearchable'; /// <summary> <p>Used to access the <c>IsSearchableWithLike</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be search /// with the SQL LIKE operator.</p> /// </summary> const IsSearchableWithLike = 'IsSearchableWithLike'; /// <summary> <p>Used to access the <c>IsUnsigned</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is an unsigned /// numeric.</p> /// </summary> const IsUnsigned = 'IsUnsigned'; /// <summary> <p>Used to access the <c>MaximumScale</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the maximum possible scale /// value.</p> /// </summary> const MaximumScale = 'MaximumScale'; /// <summary> <p>Used to access the <c>MinimumScale</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the minimum possible scale /// value.</p> /// </summary> const MinimumScale = 'MinimumScale'; /// <summary> <p>Used to access the <c>IsConcurrencyType</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type has special /// update semantics.</p> /// </summary> const IsConcurrencyType = 'IsConcurrencyType'; /// <summary> <p>Used to access the <c>MaximumVersion</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the last database product version /// where this type was avaliable.</p> /// </summary> const MaximumVersion = 'MaximumVersion'; /// <summary> <p>Used to access the <c>MinimumVersion</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the first database product version /// where this type was available.</p> /// </summary> const MinimumVersion = 'MinimumVersion'; /// <summary> <p>Used to access the <c>IsLiteralSupported</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be /// represented as a SQL literal.</p> /// </summary> const IsLiteralSupported = 'IsLiteralSupported'; /// <summary> <p>Used to access the <c>LiteralPrefix</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the prefix of a SQL literal.</p> /// </summary> const LiteralPrefix = 'LiteralPrefix'; /// <summary> <p>Used to access the <c>LiteralSuffix</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the suffix of a SQL literal.</p> /// </summary> const LiteralSuffix = 'LiteralSuffix'; /// <summary> <p>Used to access the <c>IsUnicode</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can hold unicode /// character data.</p> /// </summary> const IsUnicode = 'IsUnicode'; /// <summary> <p>Used to access the <c>ProviderDbType</c> column in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the same as the /// <c>DbxDataType</c> column.</p> /// </summary> /// <remarks> <br></br> /// Reserved for .NET applications. /// </remarks> const ProviderDbType = 'ProviderDbType'; end; TDBXDataTypesIndex = class public /// <summary> <p>Used to access the <c>TypeName</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 0; /// <summary> <p>Used to access the <c>DbxDataType</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 1; /// <summary> <p>Used to access the <c>ColumnSize</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the length of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br></br> /// For a floating point number, this is the number of significant bits in /// the mantissa. <br></br> /// For other numeric types, this is the maximum number of significant /// digits. <br></br> /// For a date, time, and timestamp types, this is the length of the /// string representation. /// </remarks> const ColumnSize = 2; /// <summary> <p>Used to access the <c>CreateFormat</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the create format as used in CREATE /// TABLE.</p> /// </summary> const CreateFormat = 3; /// <summary> <p>Used to access the <c>CreateParameters</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the parameters for the create /// format.</p> /// </summary> const CreateParameters = 4; /// <summary> <p>Used to access the <c>DataType</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the name of the language type /// representing this data type.</p> /// </summary> const DataType = 5; /// <summary> <p>Used to access the <c>IsAutoIncrementable</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be used as /// for an autoincrement column.</p> /// </summary> const IsAutoIncrementable = 6; /// <summary> <p>Used to access the <c>IsBestMatch</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is the best match /// for the language type.</p> /// </summary> const IsBestMatch = 7; /// <summary> <p>Used to access the <c>IsCaseSensitive</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is case /// sensitive.</p> /// </summary> const IsCaseSensitive = 8; /// <summary> <p>Used to access the <c>IsFixedLength</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is fixed /// length.</p> /// </summary> const IsFixedLength = 9; /// <summary> <p>Used to access the <c>IsFixedPrecisionScale</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is an exact /// numeric.</p> /// </summary> const IsFixedPrecisionScale = 10; /// <summary> <p>Used to access the <c>IsLong</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is a blob /// type.</p> /// </summary> const IsLong = 11; /// <summary> <p>Used to access the <c>IsNullable</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be assigned a /// value of NULL.</p> /// </summary> const IsNullable = 12; /// <summary> <p>Used to access the <c>IsSearchable</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be searched /// in the SQL database.</p> /// </summary> const IsSearchable = 13; /// <summary> <p>Used to access the <c>IsSearchableWithLike</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be search /// with the SQL LIKE operator.</p> /// </summary> const IsSearchableWithLike = 14; /// <summary> <p>Used to access the <c>IsUnsigned</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type is an unsigned /// numeric.</p> /// </summary> const IsUnsigned = 15; /// <summary> <p>Used to access the <c>MaximumScale</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the maximum possible scale /// value.</p> /// </summary> const MaximumScale = 16; /// <summary> <p>Used to access the <c>MinimumScale</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the minimum possible scale /// value.</p> /// </summary> const MinimumScale = 17; /// <summary> <p>Used to access the <c>IsConcurrencyType</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type has special /// update semantics.</p> /// </summary> const IsConcurrencyType = 18; /// <summary> <p>Used to access the <c>MaximumVersion</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the last database product version /// where this type was avaliable.</p> /// </summary> const MaximumVersion = 19; /// <summary> <p>Used to access the <c>MinimumVersion</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the first database product version /// where this type was available.</p> /// </summary> const MinimumVersion = 20; /// <summary> <p>Used to access the <c>IsLiteralSupported</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can be /// represented as a SQL literal.</p> /// </summary> const IsLiteralSupported = 21; /// <summary> <p>Used to access the <c>LiteralPrefix</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the prefix of a SQL literal.</p> /// </summary> const LiteralPrefix = 22; /// <summary> <p>Used to access the <c>LiteralSuffix</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the suffix of a SQL literal.</p> /// </summary> const LiteralSuffix = 23; /// <summary> <p>Used to access the <c>IsUnicode</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies that the data type can hold unicode /// character data.</p> /// </summary> const IsUnicode = 24; /// <summary> <p>Used to access the <c>ProviderDbType</c> column by ordinal in the <c>DataTypes</c> metadata collection.</p> /// <p>The data in this column specifies the same as the /// <c>DbxDataType</c> column.</p> /// </summary> /// <remarks> <br></br> /// Reserved for .NET applications. /// </remarks> const ProviderDbType = 25; const Last = 25; end; TDBXForeignKeyColumnsColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name of the table with /// the foreign key.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name of the table with /// the foreign key.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the name of the table with the /// foreign key.</p> /// </summary> const TableName = 'TableName'; /// <summary> <p>Used to access the <c>ForeignKeyName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the foreign key name.</p> /// </summary> const ForeignKeyName = 'ForeignKeyName'; /// <summary> <p>Used to access the <c>ColumnName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies a column which refers to a column of /// in another table.</p> /// </summary> const ColumnName = 'ColumnName'; /// <summary> <p>Used to access the <c>PrimaryCatalogName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name of the table being /// referred to.</p> /// </summary> const PrimaryCatalogName = 'PrimaryCatalogName'; /// <summary> <p>Used to access the <c>PrimarySchemaName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name of the table being /// referred to.</p> /// </summary> const PrimarySchemaName = 'PrimarySchemaName'; /// <summary> <p>Used to access the <c>PrimaryTableName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the name of the table being referred /// to.</p> /// </summary> const PrimaryTableName = 'PrimaryTableName'; /// <summary> <p>Used to access the <c>PrimaryKeyName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the name of the key being referred /// to.</p> /// </summary> /// <remarks> <br></br> /// This is usually the primary key. /// </remarks> const PrimaryKeyName = 'PrimaryKeyName'; /// <summary> <p>Used to access the <c>PrimaryColumnName</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the column which is being referred /// to.</p> /// </summary> const PrimaryColumnName = 'PrimaryColumnName'; /// <summary> <p>Used to access the <c>Ordinal</c> column in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the position of the column reference /// in the foreign key.</p> /// </summary> const Ordinal = 'Ordinal'; end; TDBXForeignKeyColumnsIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name of the table with /// the foreign key.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name of the table with /// the foreign key.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the name of the table with the /// foreign key.</p> /// </summary> const TableName = 2; /// <summary> <p>Used to access the <c>ForeignKeyName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the foreign key name.</p> /// </summary> const ForeignKeyName = 3; /// <summary> <p>Used to access the <c>ColumnName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies a column which refers to a column of /// in another table.</p> /// </summary> const ColumnName = 4; /// <summary> <p>Used to access the <c>PrimaryCatalogName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name of the table being /// referred to.</p> /// </summary> const PrimaryCatalogName = 5; /// <summary> <p>Used to access the <c>PrimarySchemaName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name of the table being /// referred to.</p> /// </summary> const PrimarySchemaName = 6; /// <summary> <p>Used to access the <c>PrimaryTableName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the name of the table being referred /// to.</p> /// </summary> const PrimaryTableName = 7; /// <summary> <p>Used to access the <c>PrimaryKeyName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the name of the key being referred /// to.</p> /// </summary> /// <remarks> <br></br> /// This is usually the primary key. /// </remarks> const PrimaryKeyName = 8; /// <summary> <p>Used to access the <c>PrimaryColumnName</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the column which is being referred /// to.</p> /// </summary> const PrimaryColumnName = 9; /// <summary> <p>Used to access the <c>Ordinal</c> column by ordinal in the <c>ForeignKeyColumns</c> metadata collection.</p> /// <p>The data in this column specifies the position of the column reference /// in the foreign key.</p> /// </summary> const Ordinal = 10; const Last = 10; end; TDBXForeignKeysColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 'TableName'; /// <summary> <p>Used to access the <c>ForeignKeyName</c> column in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the foreign key name.</p> /// </summary> const ForeignKeyName = 'ForeignKeyName'; end; TDBXForeignKeysIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 2; /// <summary> <p>Used to access the <c>ForeignKeyName</c> column by ordinal in the <c>ForeignKeys</c> metadata collection.</p> /// <p>The data in this column specifies the foreign key name.</p> /// </summary> const ForeignKeyName = 3; const Last = 3; end; TDBXIndexColumnsColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 'TableName'; /// <summary> <p>Used to access the <c>IndexName</c> column in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the index name.</p> /// </summary> const IndexName = 'IndexName'; /// <summary> <p>Used to access the <c>ColumnName</c> column in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies a column in the index.</p> /// </summary> const ColumnName = 'ColumnName'; /// <summary> <p>Used to access the <c>Ordinal</c> column in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the position of the column in the /// index starting with 1.</p> /// </summary> const Ordinal = 'Ordinal'; /// <summary> <p>Used to access the <c>IsAscending</c> column in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies that the index column is a /// descending index column.</p> /// </summary> const IsAscending = 'IsAscending'; end; TDBXIndexColumnsIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 2; /// <summary> <p>Used to access the <c>IndexName</c> column by ordinal in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the index name.</p> /// </summary> const IndexName = 3; /// <summary> <p>Used to access the <c>ColumnName</c> column by ordinal in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies a column in the index.</p> /// </summary> const ColumnName = 4; /// <summary> <p>Used to access the <c>Ordinal</c> column by ordinal in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies the position of the column in the /// index starting with 1.</p> /// </summary> const Ordinal = 5; /// <summary> <p>Used to access the <c>IsAscending</c> column by ordinal in the <c>IndexColumns</c> metadata collection.</p> /// <p>The data in this column specifies that the index column is a /// descending index column.</p> /// </summary> const IsAscending = 6; const Last = 6; end; TDBXIndexesColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 'TableName'; /// <summary> <p>Used to access the <c>IndexName</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the index name.</p> /// </summary> const IndexName = 'IndexName'; /// <summary> <p>Used to access the <c>ConstraintName</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the constraint name, may be /// NULL.</p> /// </summary> const ConstraintName = 'ConstraintName'; /// <summary> <p>Used to access the <c>IsPrimary</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies that the index is the primary key of /// the table.</p> /// </summary> const IsPrimary = 'IsPrimary'; /// <summary> <p>Used to access the <c>IsUnique</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies that the index is an unique index of /// the table.</p> /// </summary> const IsUnique = 'IsUnique'; /// <summary> <p>Used to access the <c>IsAscending</c> column in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies that the index is a descending index /// (Interbase only).</p> /// </summary> const IsAscending = 'IsAscending'; /// <summary> <p>Used to access the <c>IndexQualifier</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the identifier that is used to qualify the index name /// doing a Drop Index (ODBC only). See SQLStatistics for more details.</p> /// </summary> const IndexQualifier = 'IndexQualifier'; /// <summary> <p>Used to access the <c>Type</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the type of information being returned (ODBC only). /// See SQLStatistics for more details.</p> /// </summary> const TypeName = 'Type'; /// <summary> <p>Used to access the <c>OrdinalPosition</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the column sequence number in the index (ODBC only). /// See SQLStatistics for more details.</p> /// </summary> const OrdinalPosition = 'OrdinalPosition'; /// <summary> <p>Used to access the <c>ColumnName</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the column name (ODBC only). /// See SQLStatistics for more details.</p> /// </summary> const ColumnName = 'ColumnName'; /// <summary> <p>Used to access the <c>AscDesc</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the sort sequence for the column (ODBC only). /// See SQLStatistics for more details.</p> /// </summary> const AscDesc = 'AscDesc'; /// <summary> <p>Used to access the <c>Cardinality</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the cardinality of the index (ODBC only). /// See SQLStatistics for more details.</p> /// </summary> const Cardinality = 'Cardinality'; /// <summary> <p>Used to access the <c>Pages</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the number of pages used to store the index (ODBC only). /// See SQLStatistics for more details.</p> /// </summary> const Pages = 'Pages'; /// <summary> <p>Used to access the <c>FilterCondition</c> column in the <c>Indexes</c> metadata collection</p> /// <p>The data in this column specifies the filter condition of the index if there is one (ODBC only). /// See SQLStatistics for more details.</p> /// </summary> const FilterCondition = 'FilterCondition'; end; TDBXIndexesIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 2; /// <summary> <p>Used to access the <c>IndexName</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the index name.</p> /// </summary> const IndexName = 3; /// <summary> <p>Used to access the <c>ConstraintName</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies the constraint name, may be /// NULL.</p> /// </summary> const ConstraintName = 4; /// <summary> <p>Used to access the <c>IsPrimary</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies that the index is the primary key of /// the table.</p> /// </summary> const IsPrimary = 5; /// <summary> <p>Used to access the <c>IsUnique</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies that the index is an unique index of /// the table.</p> /// </summary> const IsUnique = 6; /// <summary> <p>Used to access the <c>IsAscending</c> column by ordinal in the <c>Indexes</c> metadata collection.</p> /// <p>The data in this column specifies that the index is a descending index /// (Interbase only).</p> /// </summary> const IsAscending = 7; const Last = 7; end; TDBXMetaDataCollectionIndex = class public /// <summary> <p>This metadata collection represents the data types supported by a specific database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>ColumnSize</td><td>Int64</td><td>The length of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a floating point number, this is the number of significant bits in the mantissa. <br></br> For other numeric types, this is the maximum number of significant digits. <br></br> For a date, time, and timestamp types, this is the length of the string representation.</td></tr> /// <tr><td>CreateFormat</td><td>AsString</td><td>The create format as used in CREATE TABLE.</td></tr> /// <tr><td>CreateParameters</td><td>AsString</td><td>The parameters for the create format.</td></tr> /// <tr><td>DataType</td><td>AsString</td><td>The name of the language type representing this data type.</td></tr> /// <tr><td>IsAutoIncrementable</td><td>AsBoolean</td><td>Can be used as for an autoincrement column.</td></tr> /// <tr><td>IsBestMatch</td><td>AsBoolean</td><td>Is the best match for the language type.</td></tr> /// <tr><td>IsCaseSensitive</td><td>AsBoolean</td><td>Is case sensitive.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Is fixed length.</td></tr> /// <tr><td>IsFixedPrecisionScale</td><td>AsBoolean</td><td>Is an exact numeric.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is a blob type.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can be assigned a value of NULL.</td></tr> /// <tr><td>IsSearchable</td><td>AsBoolean</td><td>Can be searched in the SQL database.</td></tr> /// <tr><td>IsSearchableWithLike</td><td>AsBoolean</td><td>Can be search with the SQL LIKE operator.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is an unsigned numeric.</td></tr> /// <tr><td>MaximumScale</td><td>Int16</td><td>The maximum possible scale value.</td></tr> /// <tr><td>MinimumScale</td><td>Int16</td><td>The minimum possible scale value.</td></tr> /// <tr><td>IsConcurrencyType</td><td>AsBoolean</td><td>Has special update semantics.</td></tr> /// <tr><td>MaximumVersion</td><td>AsString</td><td>The last database product version where this type was avaliable.</td></tr> /// <tr><td>MinimumVersion</td><td>AsString</td><td>The first database product version where this type was available.</td></tr> /// <tr><td>IsLiteralSupported</td><td>AsBoolean</td><td>Can be represented as a SQL literal.</td></tr> /// <tr><td>LiteralPrefix</td><td>AsString</td><td>The prefix of a SQL literal.</td></tr> /// <tr><td>LiteralSuffix</td><td>AsString</td><td>The suffix of a SQL literal.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode character data.</td></tr> /// <tr><td>ProviderDbType</td><td>AsInt32</td><td>The same as the <c>DbxDataType</c> column. <br></br> Reserved for .NET applications.</td></tr> /// </table> /// </summary> const DataTypes = 1; /// <summary> <p>This metadata collection represents catalogs in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// </table> /// </summary> const Catalogs = 2; /// <summary> <p>This metadata collection represents schemas in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// </table> /// </summary> const Schemas = 3; /// <summary> <p>This metadata collection represents tables in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>TableType</td><td>AsString</td><td>The table type: TABLE, VIEW, SYNONYM, SYSTEM_TABLE.</td></tr> /// </table> /// </summary> const Tables = 4; /// <summary> <p>This metadata collection represents tables in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ViewName</td><td>AsString</td><td>The view name.</td></tr> /// <tr><td>Definition</td><td>AsString</td><td>The SQL which was used to create the view.</td></tr> /// </table> /// </summary> const Views = 5; /// <summary> <p>This metadata collection represents synonyms in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>SynonymName</td><td>AsString</td><td>The synonym name.</td></tr> /// <tr><td>TableCatalogName</td><td>AsString</td><td>The catalog name of the table this synonym refers to.</td></tr> /// <tr><td>TableSchemaName</td><td>AsString</td><td>The schema name of the table this synonym refers to.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The name of the table this synonym refers to.</td></tr> /// </table> /// </summary> const Synonyms = 6; /// <summary> <p>This metadata collection represents table columns in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>The column name.</td></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>Precision</td><td>AsInt32</td><td>The precision of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a decimal types, this is the maximum number digits including digits from the scale.</td></tr> /// <tr><td>Scale</td><td>AsInt32</td><td>The scale of a decimal type.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position in the columns of the table starting with 1.</td></tr> /// <tr><td>DefaultValue</td><td>AsString</td><td>The default value.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can accept NULL values.</td></tr> /// <tr><td>IsAutoIncrement</td><td>AsBoolean</td><td>Is an autoincrement value.</td></tr> /// <tr><td>MaxInline</td><td>AsInt32</td><td>The maximal number of bytes to write into row. The rest of the data is handled as a blob (BlackfishSQL only).</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Holds fixed length data.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode characters.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is a blob data type.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is an unsigned numeric type.</td></tr> /// </table> /// </summary> const Columns = 7; /// <summary> <p>This metadata collection is only used internally.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>ConstraintName</td><td>AsString</td><td>The constraint name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>The column name.</td></tr> /// </table> /// </summary> const ColumnConstraints = 8; /// <summary> <p>This metadata collection represents table indexes in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>IndexName</td><td>AsString</td><td>The index name.</td></tr> /// <tr><td>ConstraintName</td><td>AsString</td><td>The constraint name, may be NULL.</td></tr> /// <tr><td>IsPrimary</td><td>AsBoolean</td><td>Is the primary key of the table.</td></tr> /// <tr><td>IsUnique</td><td>AsBoolean</td><td>Is an unique index of the table.</td></tr> /// <tr><td>IsAscending</td><td>AsBoolean</td><td>Is a descending index (Interbase only).</td></tr> /// </table> /// </summary> const Indexes = 9; /// <summary> <p>This metadata collection represents index columns in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>IndexName</td><td>AsString</td><td>The index name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>A column in the index.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position of the column in the index starting with 1.</td></tr> /// <tr><td>IsAscending</td><td>AsBoolean</td><td>Is a descending index column.</td></tr> /// </table> /// </summary> const IndexColumns = 10; /// <summary> <p>This metadata collection represents foreign keys in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>ForeignKeyName</td><td>AsString</td><td>The foreign key name.</td></tr> /// </table> /// </summary> const ForeignKeys = 11; /// <summary> <p>This metadata collection represents foreign key columns in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name of the table with the foreign key.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name of the table with the foreign key.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The name of the table with the foreign key.</td></tr> /// <tr><td>ForeignKeyName</td><td>AsString</td><td>The foreign key name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>A column which refers to a column of in another table.</td></tr> /// <tr><td>PrimaryCatalogName</td><td>AsString</td><td>The catalog name of the table being referred to.</td></tr> /// <tr><td>PrimarySchemaName</td><td>AsString</td><td>The schema name of the table being referred to.</td></tr> /// <tr><td>PrimaryTableName</td><td>AsString</td><td>The name of the table being referred to.</td></tr> /// <tr><td>PrimaryKeyName</td><td>AsString</td><td>The name of the key being referred to. /// <br></br> This is usually the primary key.</td></tr> /// <tr><td>PrimaryColumnName</td><td>AsString</td><td>The column which is being referred to.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position of the column reference in the foreign key.</td></tr> /// </table> /// </summary> const ForeignKeyColumns = 12; /// <summary> <p>This metadata collection represents procedures in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name.</td></tr> /// <tr><td>ProcedureType</td><td>AsString</td><td>The procedure type: FUNCTION or PROCEDURE.</td></tr> /// </table> /// </summary> const Procedures = 13; /// <summary> <p>This metadata collection represents procedure source code in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name.</td></tr> /// <tr><td>ProcedureType</td><td>AsString</td><td>The procedure type: FUNCTION or PROCEDURE.</td></tr> /// <tr><td>Definition</td><td>AsString</td><td>The source of the SQL procedure.</td></tr> /// <tr><td>ExternalDefinition</td><td>AsString</td><td>A reference to an procedure external to the database.</td></tr> /// </table> /// </summary> const ProcedureSources = 14; /// <summary> <p>This metadata collection represents procedure parameters in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name.</td></tr> /// <tr><td>ParameterName</td><td>AsString</td><td>The parameter name.</td></tr> /// <tr><td>ParameterMode</td><td>AsString</td><td>The parameter mode: IN, OUT, INOUT, RESULT.</td></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>Precision</td><td>AsInt32</td><td>The precision of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a decimal types, this is the maximum number digits including digits from the scale.</td></tr> /// <tr><td>Scale</td><td>AsInt32</td><td>The scale of a decimal type.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position in the rows of the table starting with 1.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can accept NULL values.</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Holds fixed length data.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode characters.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is blob data type.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is unsigned numeric type.</td></tr> /// </table> /// </summary> const ProcedureParameters = 15; /// <summary> <p>This metadata collection represents packages in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// </table> /// </summary> const Packages = 16; /// <summary> <p>This metadata collection represents package procedures in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name from the package.</td></tr> /// <tr><td>ProcedureType</td><td>AsString</td><td>The procedure type: FUNCTION, PROCEDURE.</td></tr> /// </table> /// </summary> const PackageProcedures = 17; /// <summary> <p>This metadata collection represents package procedure parameters in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name from the package.</td></tr> /// <tr><td>ParameterName</td><td>AsString</td><td>The parameter name.</td></tr> /// <tr><td>ParameterMode</td><td>AsString</td><td>The parameter mode: IN, OUT, INOUT, RESULT.</td></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>Precision</td><td>AsInt32</td><td>The precision of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a decimal types, this is the maximum number digits including digits from the scale.</td></tr> /// <tr><td>Scale</td><td>AsInt32</td><td>The scale of a decimal type.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position in the rows of the table starting with 1.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can accept NULL values.</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Holds fixed length data.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode characters.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is blob data type.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is unsigned numeric type.</td></tr> /// </table> /// </summary> const PackageProcedureParameters = 18; /// <summary> <p>This metadata collection represents package source code in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// <tr><td>Definition</td><td>AsString</td><td>The package source code.</td></tr> /// </table> /// </summary> const PackageSources = 19; /// <summary> <p>This metadata collection represents users in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>UserName</td><td>AsString</td><td>A user name.</td></tr> /// </table> /// </summary> const Users = 20; /// <summary> <p>This metadata collection represents roles in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>RoleName</td><td>AsString</td><td>A role name.</td></tr> /// </table> /// </summary> const Roles = 21; /// <summary> <p>This metadata collection represents reserved words in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>ReservedWord</td><td>AsString</td><td>An identifier reserved for the SQL syntax. /// <br></br> These identifiers should not be used as object names such as tables and columns. Some databases allows their use if they are quoted.</td></tr> /// </table> /// </summary> const ReservedWords = 22; end; TDBXMetaDataCollectionName = class public /// <summary> <p>This metadata collection represents the data types supported by a specific database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>ColumnSize</td><td>Int64</td><td>The length of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a floating point number, this is the number of significant bits in the mantissa. <br></br> For other numeric types, this is the maximum number of significant digits. <br></br> For a date, time, and timestamp types, this is the length of the string representation.</td></tr> /// <tr><td>CreateFormat</td><td>AsString</td><td>The create format as used in CREATE TABLE.</td></tr> /// <tr><td>CreateParameters</td><td>AsString</td><td>The parameters for the create format.</td></tr> /// <tr><td>DataType</td><td>AsString</td><td>The name of the language type representing this data type.</td></tr> /// <tr><td>IsAutoIncrementable</td><td>AsBoolean</td><td>Can be used as for an autoincrement column.</td></tr> /// <tr><td>IsBestMatch</td><td>AsBoolean</td><td>Is the best match for the language type.</td></tr> /// <tr><td>IsCaseSensitive</td><td>AsBoolean</td><td>Is case sensitive.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Is fixed length.</td></tr> /// <tr><td>IsFixedPrecisionScale</td><td>AsBoolean</td><td>Is an exact numeric.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is a blob type.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can be assigned a value of NULL.</td></tr> /// <tr><td>IsSearchable</td><td>AsBoolean</td><td>Can be searched in the SQL database.</td></tr> /// <tr><td>IsSearchableWithLike</td><td>AsBoolean</td><td>Can be search with the SQL LIKE operator.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is an unsigned numeric.</td></tr> /// <tr><td>MaximumScale</td><td>Int16</td><td>The maximum possible scale value.</td></tr> /// <tr><td>MinimumScale</td><td>Int16</td><td>The minimum possible scale value.</td></tr> /// <tr><td>IsConcurrencyType</td><td>AsBoolean</td><td>Has special update semantics.</td></tr> /// <tr><td>MaximumVersion</td><td>AsString</td><td>The last database product version where this type was avaliable.</td></tr> /// <tr><td>MinimumVersion</td><td>AsString</td><td>The first database product version where this type was available.</td></tr> /// <tr><td>IsLiteralSupported</td><td>AsBoolean</td><td>Can be represented as a SQL literal.</td></tr> /// <tr><td>LiteralPrefix</td><td>AsString</td><td>The prefix of a SQL literal.</td></tr> /// <tr><td>LiteralSuffix</td><td>AsString</td><td>The suffix of a SQL literal.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode character data.</td></tr> /// <tr><td>ProviderDbType</td><td>AsInt32</td><td>The same as the <c>DbxDataType</c> column. <br></br> Reserved for .NET applications.</td></tr> /// </table> /// </summary> const DataTypes = 'DataTypes'; /// <summary> <p>This metadata collection represents catalogs in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// </table> /// </summary> const Catalogs = 'Catalogs'; /// <summary> <p>This metadata collection represents schemas in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// </table> /// </summary> const Schemas = 'Schemas'; /// <summary> <p>This metadata collection represents tables in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>TableType</td><td>AsString</td><td>The table type: TABLE, VIEW, SYNONYM, SYSTEM_TABLE.</td></tr> /// </table> /// </summary> const Tables = 'Tables'; /// <summary> <p>This metadata collection represents tables in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ViewName</td><td>AsString</td><td>The view name.</td></tr> /// <tr><td>Definition</td><td>AsString</td><td>The SQL which was used to create the view.</td></tr> /// </table> /// </summary> const Views = 'Views'; /// <summary> <p>This metadata collection represents synonyms in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>SynonymName</td><td>AsString</td><td>The synonym name.</td></tr> /// <tr><td>TableCatalogName</td><td>AsString</td><td>The catalog name of the table this synonym refers to.</td></tr> /// <tr><td>TableSchemaName</td><td>AsString</td><td>The schema name of the table this synonym refers to.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The name of the table this synonym refers to.</td></tr> /// </table> /// </summary> const Synonyms = 'Synonyms'; /// <summary> <p>This metadata collection represents table columns in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>The column name.</td></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>Precision</td><td>AsInt32</td><td>The precision of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a decimal types, this is the maximum number digits including digits from the scale.</td></tr> /// <tr><td>Scale</td><td>AsInt32</td><td>The scale of a decimal type.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position in the columns of the table starting with 1.</td></tr> /// <tr><td>DefaultValue</td><td>AsString</td><td>The default value.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can accept NULL values.</td></tr> /// <tr><td>IsAutoIncrement</td><td>AsBoolean</td><td>Is an autoincrement value.</td></tr> /// <tr><td>MaxInline</td><td>AsInt32</td><td>The maximal number of bytes to write into row. The rest of the data is handled as a blob (BlackfishSQL only).</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Holds fixed length data.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode characters.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is a blob data type.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is an unsigned numeric type.</td></tr> /// </table> /// </summary> const Columns = 'Columns'; /// <summary> <p>This metadata collection is only used internally.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>ConstraintName</td><td>AsString</td><td>The constraint name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>The column name.</td></tr> /// </table> /// </summary> const ColumnConstraints = 'ColumnConstraints'; /// <summary> <p>This metadata collection represents table indexes in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>IndexName</td><td>AsString</td><td>The index name.</td></tr> /// <tr><td>ConstraintName</td><td>AsString</td><td>The constraint name, may be NULL.</td></tr> /// <tr><td>IsPrimary</td><td>AsBoolean</td><td>Is the primary key of the table.</td></tr> /// <tr><td>IsUnique</td><td>AsBoolean</td><td>Is an unique index of the table.</td></tr> /// <tr><td>IsAscending</td><td>AsBoolean</td><td>Is a descending index (Interbase only).</td></tr> /// </table> /// </summary> const Indexes = 'Indexes'; /// <summary> <p>This metadata collection represents index columns in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>IndexName</td><td>AsString</td><td>The index name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>A column in the index.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position of the column in the index starting with 1.</td></tr> /// <tr><td>IsAscending</td><td>AsBoolean</td><td>Is a descending index column.</td></tr> /// </table> /// </summary> const IndexColumns = 'IndexColumns'; /// <summary> <p>This metadata collection represents foreign keys in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The table name.</td></tr> /// <tr><td>ForeignKeyName</td><td>AsString</td><td>The foreign key name.</td></tr> /// </table> /// </summary> const ForeignKeys = 'ForeignKeys'; /// <summary> <p>This metadata collection represents foreign key columns in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name of the table with the foreign key.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name of the table with the foreign key.</td></tr> /// <tr><td>TableName</td><td>AsString</td><td>The name of the table with the foreign key.</td></tr> /// <tr><td>ForeignKeyName</td><td>AsString</td><td>The foreign key name.</td></tr> /// <tr><td>ColumnName</td><td>AsString</td><td>A column which refers to a column of in another table.</td></tr> /// <tr><td>PrimaryCatalogName</td><td>AsString</td><td>The catalog name of the table being referred to.</td></tr> /// <tr><td>PrimarySchemaName</td><td>AsString</td><td>The schema name of the table being referred to.</td></tr> /// <tr><td>PrimaryTableName</td><td>AsString</td><td>The name of the table being referred to.</td></tr> /// <tr><td>PrimaryKeyName</td><td>AsString</td><td>The name of the key being referred to. /// <br></br> This is usually the primary key.</td></tr> /// <tr><td>PrimaryColumnName</td><td>AsString</td><td>The column which is being referred to.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position of the column reference in the foreign key.</td></tr> /// </table> /// </summary> const ForeignKeyColumns = 'ForeignKeyColumns'; /// <summary> <p>This metadata collection represents procedures in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name.</td></tr> /// <tr><td>ProcedureType</td><td>AsString</td><td>The procedure type: FUNCTION or PROCEDURE.</td></tr> /// </table> /// </summary> const Procedures = 'Procedures'; /// <summary> <p>This metadata collection represents procedure source code in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name.</td></tr> /// <tr><td>ProcedureType</td><td>AsString</td><td>The procedure type: FUNCTION or PROCEDURE.</td></tr> /// <tr><td>Definition</td><td>AsString</td><td>The source of the SQL procedure.</td></tr> /// <tr><td>ExternalDefinition</td><td>AsString</td><td>A reference to an procedure external to the database.</td></tr> /// </table> /// </summary> const ProcedureSources = 'ProcedureSources'; /// <summary> <p>This metadata collection represents procedure parameters in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name.</td></tr> /// <tr><td>ParameterName</td><td>AsString</td><td>The parameter name.</td></tr> /// <tr><td>ParameterMode</td><td>AsString</td><td>The parameter mode: IN, OUT, INOUT, RESULT.</td></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>Precision</td><td>AsInt32</td><td>The precision of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a decimal types, this is the maximum number digits including digits from the scale.</td></tr> /// <tr><td>Scale</td><td>AsInt32</td><td>The scale of a decimal type.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position in the rows of the table starting with 1.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can accept NULL values.</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Holds fixed length data.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode characters.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is blob data type.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is unsigned numeric type.</td></tr> /// </table> /// </summary> const ProcedureParameters = 'ProcedureParameters'; /// <summary> <p>This metadata collection represents packages in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// </table> /// </summary> const Packages = 'Packages'; /// <summary> <p>This metadata collection represents package procedures in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name from the package.</td></tr> /// <tr><td>ProcedureType</td><td>AsString</td><td>The procedure type: FUNCTION, PROCEDURE.</td></tr> /// </table> /// </summary> const PackageProcedures = 'PackageProcedures'; /// <summary> <p>This metadata collection represents package procedure parameters in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// <tr><td>ProcedureName</td><td>AsString</td><td>The procedure name from the package.</td></tr> /// <tr><td>ParameterName</td><td>AsString</td><td>The parameter name.</td></tr> /// <tr><td>ParameterMode</td><td>AsString</td><td>The parameter mode: IN, OUT, INOUT, RESULT.</td></tr> /// <tr><td>TypeName</td><td>AsString</td><td>The database specific data type name.</td></tr> /// <tr><td>Precision</td><td>AsInt32</td><td>The precision of this type. /// <br></br> For a string data type, this is the maximum number of characters. <br></br> For a decimal types, this is the maximum number digits including digits from the scale.</td></tr> /// <tr><td>Scale</td><td>AsInt32</td><td>The scale of a decimal type.</td></tr> /// <tr><td>Ordinal</td><td>AsInt32</td><td>The position in the rows of the table starting with 1.</td></tr> /// <tr><td>IsNullable</td><td>AsBoolean</td><td>Can accept NULL values.</td></tr> /// <tr><td>DbxDataType</td><td>AsInt32</td><td>The DBX data type.</td></tr> /// <tr><td>IsFixedLength</td><td>AsBoolean</td><td>Holds fixed length data.</td></tr> /// <tr><td>IsUnicode</td><td>AsBoolean</td><td>Can hold unicode characters.</td></tr> /// <tr><td>IsLong</td><td>AsBoolean</td><td>Is blob data type.</td></tr> /// <tr><td>IsUnsigned</td><td>AsBoolean</td><td>Is unsigned numeric type.</td></tr> /// </table> /// </summary> const PackageProcedureParameters = 'PackageProcedureParameters'; /// <summary> <p>This metadata collection represents package source code in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>CatalogName</td><td>AsString</td><td>The catalog name.</td></tr> /// <tr><td>SchemaName</td><td>AsString</td><td>The schema name.</td></tr> /// <tr><td>PackageName</td><td>AsString</td><td>The package name.</td></tr> /// <tr><td>Definition</td><td>AsString</td><td>The package source code.</td></tr> /// </table> /// </summary> const PackageSources = 'PackageSources'; /// <summary> <p>This metadata collection represents users in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>UserName</td><td>AsString</td><td>A user name.</td></tr> /// </table> /// </summary> const Users = 'Users'; /// <summary> <p>This metadata collection represents roles in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>RoleName</td><td>AsString</td><td>A role name.</td></tr> /// </table> /// </summary> const Roles = 'Roles'; /// <summary> <p>This metadata collection represents reserved words in a database.</p> /// <p>The columns are:</p> /// <table cellspacing="0" cellpadding="4" border="1"> /// <tr><th align="left">Column Name</th><th align="left">Data Type</th><th align="left">Description</th></tr> /// <tr><td>ReservedWord</td><td>AsString</td><td>An identifier reserved for the SQL syntax. /// <br></br> These identifiers should not be used as object names such as tables and columns. Some databases allows their use if they are quoted.</td></tr> /// </table> /// </summary> const ReservedWords = 'ReservedWords'; end; TDBXPackageProcedureParametersColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>PackageName</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 'PackageName'; /// <summary> <p>Used to access the <c>ProcedureName</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name from the /// package.</p> /// </summary> const ProcedureName = 'ProcedureName'; /// <summary> <p>Used to access the <c>ParameterName</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter name.</p> /// </summary> const ParameterName = 'ParameterName'; /// <summary> <p>Used to access the <c>ParameterMode</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter mode: IN, OUT, INOUT, /// RESULT.</p> /// </summary> const ParameterMode = 'ParameterMode'; /// <summary> <p>Used to access the <c>TypeName</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 'TypeName'; /// <summary> <p>Used to access the <c>Precision</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the precision of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br></br> /// For a decimal types, this is the maximum number digits including /// digits from the scale. /// </remarks> const Precision = 'Precision'; /// <summary> <p>Used to access the <c>Scale</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the scale of a decimal type.</p> /// </summary> const Scale = 'Scale'; /// <summary> <p>Used to access the <c>Ordinal</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the position in the rows of the /// table starting with 1.</p> /// </summary> const Ordinal = 'Ordinal'; /// <summary> <p>Used to access the <c>IsNullable</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// can accept NULL values.</p> /// </summary> const IsNullable = 'IsNullable'; /// <summary> <p>Used to access the <c>DbxDataType</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 'DbxDataType'; /// <summary> <p>Used to access the <c>IsFixedLength</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// holds fixed length data.</p> /// </summary> const IsFixedLength = 'IsFixedLength'; /// <summary> <p>Used to access the <c>IsUnicode</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// can hold unicode characters.</p> /// </summary> const IsUnicode = 'IsUnicode'; /// <summary> <p>Used to access the <c>IsLong</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// is blob data type.</p> /// </summary> const IsLong = 'IsLong'; /// <summary> <p>Used to access the <c>IsUnsigned</c> column in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// is unsigned numeric type.</p> /// </summary> const IsUnsigned = 'IsUnsigned'; end; TDBXPackageProcedureParametersIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>PackageName</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 2; /// <summary> <p>Used to access the <c>ProcedureName</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name from the /// package.</p> /// </summary> const ProcedureName = 3; /// <summary> <p>Used to access the <c>ParameterName</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter name.</p> /// </summary> const ParameterName = 4; /// <summary> <p>Used to access the <c>ParameterMode</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter mode: IN, OUT, INOUT, /// RESULT.</p> /// </summary> const ParameterMode = 5; /// <summary> <p>Used to access the <c>TypeName</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 6; /// <summary> <p>Used to access the <c>Precision</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the precision of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br></br> /// For a decimal types, this is the maximum number digits including /// digits from the scale. /// </remarks> const Precision = 7; /// <summary> <p>Used to access the <c>Scale</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the scale of a decimal type.</p> /// </summary> const Scale = 8; /// <summary> <p>Used to access the <c>Ordinal</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the position in the rows of the /// table starting with 1.</p> /// </summary> const Ordinal = 9; /// <summary> <p>Used to access the <c>IsNullable</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// can accept NULL values.</p> /// </summary> const IsNullable = 10; /// <summary> <p>Used to access the <c>DbxDataType</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 11; /// <summary> <p>Used to access the <c>IsFixedLength</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// holds fixed length data.</p> /// </summary> const IsFixedLength = 12; /// <summary> <p>Used to access the <c>IsUnicode</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// can hold unicode characters.</p> /// </summary> const IsUnicode = 13; /// <summary> <p>Used to access the <c>IsLong</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// is blob data type.</p> /// </summary> const IsLong = 14; /// <summary> <p>Used to access the <c>IsUnsigned</c> column by ordinal in the <c>PackageProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the package procedure parameter /// is unsigned numeric type.</p> /// </summary> const IsUnsigned = 15; const Last = 15; end; TDBXPackageProceduresColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>PackageName</c> column in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 'PackageName'; /// <summary> <p>Used to access the <c>ProcedureName</c> column in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name from the /// package.</p> /// </summary> const ProcedureName = 'ProcedureName'; /// <summary> <p>Used to access the <c>ProcedureType</c> column in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure type: FUNCTION, /// PROCEDURE.</p> /// </summary> const ProcedureType = 'ProcedureType'; end; TDBXPackageProceduresIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>PackageName</c> column by ordinal in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 2; /// <summary> <p>Used to access the <c>ProcedureName</c> column by ordinal in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name from the /// package.</p> /// </summary> const ProcedureName = 3; /// <summary> <p>Used to access the <c>ProcedureType</c> column by ordinal in the <c>PackageProcedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure type: FUNCTION, /// PROCEDURE.</p> /// </summary> const ProcedureType = 4; const Last = 4; end; TDBXPackagesColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Packages</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Packages</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>PackageName</c> column in the <c>Packages</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 'PackageName'; end; TDBXPackagesIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Packages</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Packages</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>PackageName</c> column by ordinal in the <c>Packages</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 2; const Last = 2; end; TDBXPackageSourcesColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>PackageName</c> column in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 'PackageName'; /// <summary> <p>Used to access the <c>Definition</c> column in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the package source code.</p> /// </summary> const Definition = 'Definition'; end; TDBXPackageSourcesIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>PackageName</c> column by ordinal in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the package name.</p> /// </summary> const PackageName = 2; /// <summary> <p>Used to access the <c>Definition</c> column by ordinal in the <c>PackageSources</c> metadata collection.</p> /// <p>The data in this column specifies the package source code.</p> /// </summary> const Definition = 3; const Last = 3; end; TDBXProcedureParametersColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>ProcedureName</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name.</p> /// </summary> const ProcedureName = 'ProcedureName'; /// <summary> <p>Used to access the <c>ParameterName</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter name.</p> /// </summary> const ParameterName = 'ParameterName'; /// <summary> <p>Used to access the <c>ParameterMode</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter mode: IN, OUT, INOUT, /// RESULT.</p> /// </summary> const ParameterMode = 'ParameterMode'; /// <summary> <p>Used to access the <c>TypeName</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 'TypeName'; /// <summary> <p>Used to access the <c>Precision</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the precision of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br></br> /// For a decimal types, this is the maximum number digits including /// digits from the scale. /// </remarks> const Precision = 'Precision'; /// <summary> <p>Used to access the <c>Scale</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the scale of a decimal type.</p> /// </summary> const Scale = 'Scale'; /// <summary> <p>Used to access the <c>Ordinal</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the position in the rows of the /// table starting with 1.</p> /// </summary> const Ordinal = 'Ordinal'; /// <summary> <p>Used to access the <c>IsNullable</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter can /// accept NULL values.</p> /// </summary> const IsNullable = 'IsNullable'; /// <summary> <p>Used to access the <c>DbxDataType</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 'DbxDataType'; /// <summary> <p>Used to access the <c>IsFixedLength</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter holds /// fixed length data.</p> /// </summary> const IsFixedLength = 'IsFixedLength'; /// <summary> <p>Used to access the <c>IsUnicode</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter can /// hold unicode characters.</p> /// </summary> const IsUnicode = 'IsUnicode'; /// <summary> <p>Used to access the <c>IsLong</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter is blob /// data type.</p> /// </summary> const IsLong = 'IsLong'; /// <summary> <p>Used to access the <c>IsUnsigned</c> column in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter is /// unsigned numeric type.</p> /// </summary> const IsUnsigned = 'IsUnsigned'; end; TDBXProcedureParametersIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>ProcedureName</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name.</p> /// </summary> const ProcedureName = 2; /// <summary> <p>Used to access the <c>ParameterName</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter name.</p> /// </summary> const ParameterName = 3; /// <summary> <p>Used to access the <c>ParameterMode</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the parameter mode: IN, OUT, INOUT, /// RESULT.</p> /// </summary> const ParameterMode = 4; /// <summary> <p>Used to access the <c>TypeName</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the database specific data type /// name.</p> /// </summary> const TypeName = 5; /// <summary> <p>Used to access the <c>Precision</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the precision of this type.</p> /// </summary> /// <remarks> <br></br> /// For a string data type, this is the maximum number of characters. <br></br> /// For a decimal types, this is the maximum number digits including /// digits from the scale. /// </remarks> const Precision = 6; /// <summary> <p>Used to access the <c>Scale</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the scale of a decimal type.</p> /// </summary> const Scale = 7; /// <summary> <p>Used to access the <c>Ordinal</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the position in the rows of the /// table starting with 1.</p> /// </summary> const Ordinal = 8; /// <summary> <p>Used to access the <c>IsNullable</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter can /// accept NULL values.</p> /// </summary> const IsNullable = 9; /// <summary> <p>Used to access the <c>DbxDataType</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies the DBX data type.</p> /// </summary> const DbxDataType = 10; /// <summary> <p>Used to access the <c>IsFixedLength</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter holds /// fixed length data.</p> /// </summary> const IsFixedLength = 11; /// <summary> <p>Used to access the <c>IsUnicode</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter can /// hold unicode characters.</p> /// </summary> const IsUnicode = 12; /// <summary> <p>Used to access the <c>IsLong</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter is blob /// data type.</p> /// </summary> const IsLong = 13; /// <summary> <p>Used to access the <c>IsUnsigned</c> column by ordinal in the <c>ProcedureParameters</c> metadata collection.</p> /// <p>The data in this column specifies that the procedure parameter is /// unsigned numeric type.</p> /// </summary> const IsUnsigned = 14; const Last = 14; end; TDBXProceduresColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>ProcedureName</c> column in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name.</p> /// </summary> const ProcedureName = 'ProcedureName'; /// <summary> <p>Used to access the <c>ProcedureType</c> column in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure type: FUNCTION or /// PROCEDURE.</p> /// </summary> const ProcedureType = 'ProcedureType'; end; TDBXProceduresIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>ProcedureName</c> column by ordinal in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name.</p> /// </summary> const ProcedureName = 2; /// <summary> <p>Used to access the <c>ProcedureType</c> column by ordinal in the <c>Procedures</c> metadata collection.</p> /// <p>The data in this column specifies the procedure type: FUNCTION or /// PROCEDURE.</p> /// </summary> const ProcedureType = 3; const Last = 3; end; TDBXProcedureSourcesColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>ProcedureName</c> column in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name.</p> /// </summary> const ProcedureName = 'ProcedureName'; /// <summary> <p>Used to access the <c>ProcedureType</c> column in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the procedure type: FUNCTION or /// PROCEDURE.</p> /// </summary> const ProcedureType = 'ProcedureType'; /// <summary> <p>Used to access the <c>Definition</c> column in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the source of the SQL procedure.</p> /// </summary> const Definition = 'Definition'; /// <summary> <p>Used to access the <c>ExternalDefinition</c> column in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies a reference to an procedure external /// to the database.</p> /// </summary> const ExternalDefinition = 'ExternalDefinition'; end; TDBXProcedureSourcesIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>ProcedureName</c> column by ordinal in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the procedure name.</p> /// </summary> const ProcedureName = 2; /// <summary> <p>Used to access the <c>ProcedureType</c> column by ordinal in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the procedure type: FUNCTION or /// PROCEDURE.</p> /// </summary> const ProcedureType = 3; /// <summary> <p>Used to access the <c>Definition</c> column by ordinal in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies the source of the SQL procedure.</p> /// </summary> const Definition = 4; /// <summary> <p>Used to access the <c>ExternalDefinition</c> column by ordinal in the <c>ProcedureSources</c> metadata collection.</p> /// <p>The data in this column specifies a reference to an procedure external /// to the database.</p> /// </summary> const ExternalDefinition = 5; const Last = 5; end; TDBXReservedWordsColumns = class public /// <summary> <p>Used to access the <c>ReservedWord</c> column in the <c>ReservedWords</c> metadata collection.</p> /// <p>The data in this column specifies an identifier reserved for the SQL /// syntax.</p> /// </summary> /// <remarks> <br></br> /// These identifiers should not be used as object names such as tables /// and columns. Some databases allows their use if they are quoted. /// </remarks> const ReservedWord = 'ReservedWord'; end; TDBXReservedWordsIndex = class public /// <summary> <p>Used to access the <c>ReservedWord</c> column by ordinal in the <c>ReservedWords</c> metadata collection.</p> /// <p>The data in this column specifies an identifier reserved for the SQL /// syntax.</p> /// </summary> /// <remarks> <br></br> /// These identifiers should not be used as object names such as tables /// and columns. Some databases allows their use if they are quoted. /// </remarks> const ReservedWord = 0; const Last = 0; end; TDBXRolesColumns = class public /// <summary> <p>Used to access the <c>RoleName</c> column in the <c>Roles</c> metadata collection.</p> /// <p>The data in this column specifies a role name.</p> /// </summary> const RoleName = 'RoleName'; end; TDBXRolesIndex = class public /// <summary> <p>Used to access the <c>RoleName</c> column by ordinal in the <c>Roles</c> metadata collection.</p> /// <p>The data in this column specifies a role name.</p> /// </summary> const RoleName = 0; const Last = 0; end; TDBXSchemasColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Schemas</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Schemas</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; end; TDBXSchemasIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Schemas</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Schemas</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; const Last = 1; end; TDBXSynonymsColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>SynonymName</c> column in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the synonym name.</p> /// </summary> const SynonymName = 'SynonymName'; /// <summary> <p>Used to access the <c>TableCatalogName</c> column in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name of the table this /// synonym refers to.</p> /// </summary> const TableCatalogName = 'TableCatalogName'; /// <summary> <p>Used to access the <c>TableSchemaName</c> column in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the schema name of the table this /// synonym refers to.</p> /// </summary> const TableSchemaName = 'TableSchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the name of the table this synonym /// refers to.</p> /// </summary> const TableName = 'TableName'; end; TDBXSynonymsIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>SynonymName</c> column by ordinal in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the synonym name.</p> /// </summary> const SynonymName = 2; /// <summary> <p>Used to access the <c>TableCatalogName</c> column by ordinal in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name of the table this /// synonym refers to.</p> /// </summary> const TableCatalogName = 3; /// <summary> <p>Used to access the <c>TableSchemaName</c> column by ordinal in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the schema name of the table this /// synonym refers to.</p> /// </summary> const TableSchemaName = 4; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>Synonyms</c> metadata collection.</p> /// <p>The data in this column specifies the name of the table this synonym /// refers to.</p> /// </summary> const TableName = 5; const Last = 5; end; TDBXTablesColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>TableName</c> column in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 'TableName'; /// <summary> <p>Used to access the <c>TableType</c> column in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the table type: TABLE, VIEW, /// SYNONYM, SYSTEM_TABLE.</p> /// </summary> const TableType = 'TableType'; end; TDBXTablesIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>TableName</c> column by ordinal in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the table name.</p> /// </summary> const TableName = 2; /// <summary> <p>Used to access the <c>TableType</c> column by ordinal in the <c>Tables</c> metadata collection.</p> /// <p>The data in this column specifies the table type: TABLE, VIEW, /// SYNONYM, SYSTEM_TABLE.</p> /// </summary> const TableType = 3; const Last = 3; end; TDBXUsersColumns = class public /// <summary> <p>Used to access the <c>UserName</c> column in the <c>Users</c> metadata collection.</p> /// <p>The data in this column specifies a user name.</p> /// </summary> const UserName = 'UserName'; end; TDBXUsersIndex = class public /// <summary> <p>Used to access the <c>UserName</c> column by ordinal in the <c>Users</c> metadata collection.</p> /// <p>The data in this column specifies a user name.</p> /// </summary> const UserName = 0; const Last = 0; end; TDBXViewsColumns = class public /// <summary> <p>Used to access the <c>CatalogName</c> column in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 'CatalogName'; /// <summary> <p>Used to access the <c>SchemaName</c> column in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 'SchemaName'; /// <summary> <p>Used to access the <c>ViewName</c> column in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the view name.</p> /// </summary> const ViewName = 'ViewName'; /// <summary> <p>Used to access the <c>Definition</c> column in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the SQL which was used to create the /// view.</p> /// </summary> const Definition = 'Definition'; end; TDBXViewsIndex = class public /// <summary> <p>Used to access the <c>CatalogName</c> column by ordinal in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the catalog name.</p> /// </summary> const CatalogName = 0; /// <summary> <p>Used to access the <c>SchemaName</c> column by ordinal in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the schema name.</p> /// </summary> const SchemaName = 1; /// <summary> <p>Used to access the <c>ViewName</c> column by ordinal in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the view name.</p> /// </summary> const ViewName = 2; /// <summary> <p>Used to access the <c>Definition</c> column by ordinal in the <c>Views</c> metadata collection.</p> /// <p>The data in this column specifies the SQL which was used to create the /// view.</p> /// </summary> const Definition = 3; const Last = 3; end; implementation end.
{ Algorithme Croix For But : Dessiner une croix d'une taille saisi par l'utilisateur et avec un caractere saisi par l'utilisateur. Entrée : Taille, Symbole Variables : Taille, Largeur, Hauteur : Entier Symbole : Caractere DEBUT ECRIRE("Veuillez entrer le caractere que vous souhaitez utiliser :""); LIRE(symbol); ECRIRE("Veuillez entrez la taille de votre croix :""); LIRE(taille); POUR hauteur allant de 1 à taille FAIRE //On vérifie que la hauteur de la croix n'a pas encore été atteinte POUR largeur allant de 1 à taille FAIRE SI (largeur=hauteur) OU (largeur=((taille+1)-hauteur)) //On test si on se trouve en une position où il faut mettre un caractere ALORS write(symbol); SINON ECRIRE(" ") //Si ce n'est pas le cas on écris un espace FINSI; ECRIRE(); //Si c'est la cas on reviens à la ligne FINPOUR FINPOUR FIN } PROGRAM croix_for; USES crt; VAR taille,largeur,hauteur : integer; symbol : char; BEGIN writeln('Veuillez entrer le caractere que vous souhaitez utiliser :'); readln(symbol); writeln('Veuillez entrez la taille de votre croix :'); readln(taille); clrscr; for hauteur:=1 to taille do //On vérifie que la hauteur de la croix n'a pas encore été atteinte BEGIN for largeur:=1 to taille do BEGIN if (largeur=hauteur) or (largeur=((taille+1)-hauteur)) then //On test si on se trouve en une position où il faut mettre un caractere BEGIN write(symbol); END else //Si ce n'est pas le cas on écris un espace BEGIN write(' '); END; END; writeln(); //Si c'est la cas on reviens à la ligne END; readln(); END.
unit queues; interface const BoardSize = 8; type TCell = (cQueen, cUnderAttack, cFree); TBoard = array[1..BoardSize,1..BoardSize] of TCell; pQueue = ^Queue; Queue = record x: byte; board: TBoard; next:pQueue; end; procedure CreateQueue(var tail: pQueue); procedure PushQueue(var tail: pQueue; x: byte; board: TBoard); procedure PopQueue(var tail: pQueue; var x: byte; var board: TBoard); implementation procedure CreateQueue(var tail: pQueue); {создание пустой очереди} begin tail:=nil; end; procedure PushQueue(var tail: pQueue; x: byte; board: TBoard); {добавление элемента в конец очереди} var temp: pQueue; begin new(temp); temp^.x:=x; temp^.board:=board; temp^.next:=tail; tail:=temp; end; procedure PopQueue(var tail: pQueue; var x: byte; var board: TBoard); {удаление элемента из начала очереди} {ололо работает? не} var temp: pQueue; begin if tail<>nil then begin {temp:=tail; while tail^.next<>nil do tail:=tail^.next; data:=tail^.data; writeln('popping - ',data); dispose(tail); tail:=temp; } if tail^.next=nil then begin x:=tail^.x; board:=tail^.board; dispose(tail); tail:=nil; end else begin temp:=tail; while tail^.next^.next<>nil do tail:=tail^.next; x:=tail^.next^.x; board:=tail^.next^.board; tail^.next:=nil; tail:=temp; end; end; end; end.
unit Main; interface uses System.SysUtils, System.Classes, System.IOUtils, AppConfiguration; type TMainApplication = class private fAppConfig: TAppConfiguration; fSilentMode: boolean; procedure ValidateSourceConfiguration(); function ExtractInputParameters(): string; procedure ProcessReadmeMarkdown(const aNewVersion: string); procedure ProcessSourcePasFiles(const aNewVersion: string); procedure ProcessOnePasFile(const aPath: string; const aNewVersion: string); procedure WriteProcessErrorAndHalt(const AErrorMsg: string); public constructor Create(); destructor Destroy; override; procedure ExecuteApplication(); class procedure Run; end; implementation uses Processor.Utils, Processor.PascalUnit, Processor.ReadmeMarkdown; constructor TMainApplication.Create(); begin fAppConfig := TAppConfiguration.Create; fAppConfig.LoadFromFile; fSilentMode := true; end; destructor TMainApplication.Destroy; begin fAppConfig.Free; inherited; end; procedure TMainApplication.ValidateSourceConfiguration(); var aIsError: boolean; aSourceDir: string; aSourceUnit: string; begin aIsError := False; for aSourceUnit in fAppConfig.SourceUnits do begin aSourceDir := ExtractFileDir(aSourceUnit); if not DirectoryExists(aSourceDir) then begin writeln(Format ('Configured source directory [%s] didnt exists. Please update configuration!', [aSourceDir])); aIsError := true; end; end; if aIsError then Halt(1); end; procedure TMainApplication.WriteProcessErrorAndHalt(const AErrorMsg: string); begin writeln(' [Error] Processing error!'); writeln(' ' + AErrorMsg); Halt(3); end; procedure TMainApplication.ProcessReadmeMarkdown(const aNewVersion: string); var aFilePath: string; aSourceText: string; aNewSource: string; begin aFilePath := fAppConfig.ReadmeFilePath; if not FileExists(aFilePath) then raise EProcessError.CreateFmt('Error! Readme file not found %s',[aFilePath]); aSourceText := TFile.ReadAllText(aFilePath, TEncoding.UTF8); try aNewSource := TReadmeMarkdownProcessor.ProcessReadme(aSourceText, aNewVersion, fAppConfig.ReadmeSearchPattern); except on E: Processor.Utils.EProcessError do WriteProcessErrorAndHalt(E.Message); end; TFile.WriteAllText(aFilePath, aNewSource, TEncoding.UTF8); writeln(' - bumped readme version to: '+aNewVersion); end; procedure TMainApplication.ProcessSourcePasFiles(const aNewVersion: string); var aSourcePath: string; aSourceDir: string; aSourcePattern: string; aFiles: TArray<string>; aPath: string; begin for aSourcePath in fAppConfig.SourceUnits do begin if FileExists(aSourcePath) then begin ProcessOnePasFile(aSourcePath, aNewVersion) end else begin aSourceDir := ExtractFileDir(aSourcePath); aSourcePattern := ExtractFileName(aSourcePath); aFiles := TDirectory.GetFiles(aSourceDir, aSourcePattern); for aPath in aFiles do begin ProcessOnePasFile(aPath, aNewVersion); end; end; end; end; procedure TMainApplication.ProcessOnePasFile(const aPath: string; const aNewVersion: string); var aSourceText: string; aOldVersion: string; aNewSource: string; begin aSourceText := TFile.ReadAllText(aPath, TEncoding.UTF8); try aNewSource := TPascalUnitProcessor.ProcessUnit(aSourceText, aNewVersion); aOldVersion := TPascalUnitProcessor.OldVersion; except on E: Processor.Utils.EProcessError do WriteProcessErrorAndHalt(E.Message); end; if aSourceText <> aNewSource then begin TFile.WriteAllText(aPath, aNewSource, TEncoding.UTF8); writeln(Format(' - %s - %s => %s', [aPath, aOldVersion, aNewVersion])); end; end; procedure TMainApplication.ExecuteApplication(); var aNewVersion: string; begin ValidateSourceConfiguration; aNewVersion := ExtractInputParameters; if fAppConfig.DoReadmeBump then ProcessReadmeMarkdown(aNewVersion); ProcessSourcePasFiles(aNewVersion); if fSilentMode = False then begin writeln(''); write('All files was updated. Press [Enter] to close application ...'); readln; end; end; function TMainApplication.ExtractInputParameters: string; var version: string; begin if ParamCount = 0 then begin fSilentMode := False; Write('New version: '); readln(version); if Trim(version) = '' then Halt(2); writeln(''); end else version := ParamStr(1); Result := version; end; class procedure TMainApplication.Run; var App: TMainApplication; begin App := TMainApplication.Create; try App.ExecuteApplication; finally App.Free; end; end; end.
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC TFDBatchMove SQL driver } { } { Copyright(c) 2004-2018 Embarcadero Technologies, Inc. } { All rights reserved } { } {*******************************************************} {$I FireDAC.inc} unit FireDAC.Comp.BatchMove.SQL; interface uses System.Classes, Data.DB, FireDAC.Stan.Intf, FireDAC.Phys.Intf, FireDAC.Comp.Client, FireDAC.Comp.BatchMove, FireDAC.Comp.BatchMove.DataSet; type TFDBatchMoveSQLDriver = class; TFDBatchMoveSQLReader = class; TFDBatchMoveSQLWriter = class; TFDBatchMoveSQLDriver = class(TFDBatchMoveDataSetDriver) private FConnection: TFDCustomConnection; FConnectionName: String; FTransaction: TFDCustomTransaction; FTableName: String; FReadSQL: String; FReadQuery: TFDQuery; FActualConnection: TFDCustomConnection; procedure SetConnection(const AValue: TFDCustomConnection); procedure SetConnectionName(const AValue: String); procedure SetTransaction(const AValue: TFDCustomTransaction); procedure SetReadSQL(const AValue: String); procedure SetTableName(const AValue: String); protected // TFDBatchMoveDataSetDriver procedure Notification(AComponent: TComponent; Operation: TOperation); override; function CheckDefined(ARaise: Boolean): Boolean; override; procedure Open(AStartTx: Boolean); override; procedure Close(AStopTxError: Boolean); override; // introduced function GetActualTableName: String; virtual; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; property ActualTableName: String read GetActualTableName; published property Connection: TFDCustomConnection read FConnection write SetConnection; property ConnectionName: String read FConnectionName write SetConnectionName; property Transaction: TFDCustomTransaction read FTransaction write SetTransaction; property TableName: String read FTableName write SetTableName; property ReadSQL: String read FReadSQL write SetReadSQL; end; [ComponentPlatformsAttribute(pidAllPlatforms)] TFDBatchMoveSQLReader = class(TFDBatchMoveSQLDriver, IFDBatchMoveReader) protected // IFDBatchMoveReader function GetSourceTableName: String; procedure Open(AStartTx: Boolean); override; procedure Refresh; override; procedure ReadHeader; function GetFieldValue(AField: TObject): Variant; function Eof: Boolean; procedure ReadRecord; procedure NextRecord; procedure GuessFormat(AAnalyze: TFDBatchMoveAnalyze = [taDelimSep, taHeader, taFields]); end; [ComponentPlatformsAttribute(pidAllPlatforms)] TFDBatchMoveSQLWriter = class(TFDBatchMoveSQLDriver, IFDBatchMoveWriter) private FWriteSQL: String; FGeneratorName: String; FRecIndex: Integer; FWriteQuery: TFDQuery; FCreateTableParts: TFDPhysCreateTableParts; function MoveRecord: Integer; protected // IFDBatchMoveWriter function GetIsBatch: Boolean; override; procedure Open(AStartTx: Boolean); override; procedure Close(AStopTxError: Boolean); override; procedure CreateTable; procedure StartTransaction; procedure CommitTransaction; procedure RollbackTransaction; procedure Erase(ANoUndo: Boolean); procedure WriteHeader; procedure SetFieldValue(AField: TObject; const AValue: Variant); function FindRecord: Boolean; function InsertRecord: Integer; function UpdateRecord: Integer; function DeleteRecord: Integer; function FlushRecords: Integer; function GetFieldCount: Integer; function GetFieldName(AIndex: Integer): String; function GetFieldIndex(const AName: String; ACheck: Boolean): Integer; function GetFieldInfo(AIndex: Integer; var AType: TFDDataType; var ASize: LongWord; var APrec, AScale: Integer; var AInKey, AIsIdentity: Boolean): TObject; // TFDBatchMoveSQLDriver function GetActualTableName: String; override; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; published property WriteSQL: String read FWriteSQL write FWriteSQL; property GeneratorName: String read FGeneratorName write FGeneratorName; /// <summary> The CreateTableParts property specifies which table definition /// parts will be included into CREATE TABLE statement and which associated /// database objects will be create together with table. </summary> property CreateTableParts: TFDPhysCreateTableParts read FCreateTableParts write FCreateTableParts default [tpTable .. tpIndexes]; end; implementation uses System.SysUtils, System.Variants, FireDAC.Stan.Util, FireDAC.Stan.Consts, FireDAC.Stan.Error, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt, FireDAC.Comp.DataSet; {-------------------------------------------------------------------------------} { TFDBatchMoveSQLDriver } {-------------------------------------------------------------------------------} constructor TFDBatchMoveSQLDriver.Create(AOwner: TComponent); begin inherited Create(AOwner); FReadQuery := TFDQuery.Create(nil); FReadQuery.ResourceOptions.CmdExecMode := amBlocking; FReadQuery.ResourceOptions.PreprocessCmdText := True; FReadQuery.FetchOptions.Mode := fmOnDemand; FReadQuery.FetchOptions.Unidirectional := True; FReadQuery.FetchOptions.Items := [fiMeta, fiBlobs, fiDetails]; FReadQuery.FetchOptions.Cache := []; FReadQuery.UpdateOptions.FastUpdates := True; FReadQuery.UpdateOptions.CheckReadOnly := True; DataSet := FReadQuery; if FDIsDesigning(Self) then Connection := FDFindDefaultConnection(Self); end; {-------------------------------------------------------------------------------} destructor TFDBatchMoveSQLDriver.Destroy; begin DataSet := nil; FDFreeAndNil(FReadQuery); inherited Destroy; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.SetConnection(const AValue: TFDCustomConnection); begin if Connection <> AValue then begin if Connection <> nil then Connection.RemoveFreeNotification(Self); FConnection := AValue; if AValue <> nil then ConnectionName := ''; if Connection <> nil then Connection.FreeNotification(Self); end; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.SetConnectionName(const AValue: String); begin if CompareText(ConnectionName, AValue) <> 0 then begin FConnectionName := AValue; if AValue <> '' then Connection := nil; end; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.SetTransaction(const AValue: TFDCustomTransaction); begin if Transaction <> AValue then begin if Transaction <> nil then Transaction.RemoveFreeNotification(Self); FTransaction := AValue; if Transaction <> nil then Transaction.FreeNotification(Self); end; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.SetReadSQL(const AValue: String); begin if ReadSQL <> AValue then begin FReadSQL := AValue; if ReadSQL <> '' then TableName := ''; end; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.SetTableName(const AValue: String); begin if TableName <> AValue then begin FTableName := AValue; if TableName <> '' then ReadSQL := ''; end; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLDriver.GetActualTableName: String; begin Result := FDExpandStr(Trim(TableName)); end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.Notification(AComponent: TComponent; Operation: TOperation); begin if Operation = opRemove then if AComponent = Connection then Connection := nil else if AComponent = Transaction then Transaction := nil; inherited Notification(AComponent, Operation); end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLDriver.CheckDefined(ARaise: Boolean): Boolean; begin Result := ((ActualTableName <> '') or (ReadSQL <> '')) and ((Connection <> nil) or (ConnectionName <> '')); if not Result and ARaise then FDException(BatchMove, [S_FD_LComp, S_FD_LComp_PDM], er_FD_DPNoSQLTab, []); Result := Result and (BatchMove.CommitCount > 0); if not Result and ARaise then FDException(BatchMove, [S_FD_LComp, S_FD_LComp_PDM], er_FD_DPNoSQLBatch, []); end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.Open(AStartTx: Boolean); begin FReadQuery.DisableControls; FReadQuery.SQL.Clear; FReadQuery.ConnectionName := ConnectionName; FReadQuery.Connection := Connection; FReadQuery.Transaction := Transaction; FActualConnection := FReadQuery.PointedConnection; if FActualConnection = nil then FDException(BatchMove, [S_FD_LComp, S_FD_LComp_PDM], er_FD_DPNoSQLTab, []); inherited Open(AStartTx); end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLDriver.Close(AStopTxError: Boolean); begin FReadQuery.Disconnect(); inherited Close(AStopTxError); end; {-------------------------------------------------------------------------------} { TFDBatchMoveSQLReader } {-------------------------------------------------------------------------------} function TFDBatchMoveSQLReader.GetSourceTableName: String; begin if ReadSQL <> '' then Result := '' else Result := ActualTableName; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLReader.Open(AStartTx: Boolean); begin inherited Open(AStartTx); if BatchMove.CommitCount > 0 then FReadQuery.FetchOptions.RowsetSize := BatchMove.CommitCount; if ReadSQL <> '' then FReadQuery.SQL.Text := ReadSQL else FReadQuery.SQL.Text := 'SELECT * FROM ' + ActualTableName; FReadQuery.Open; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLReader.Refresh; begin FReadQuery.Close; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLReader.ReadHeader; begin // nothing end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLReader.GetFieldValue(AField: TObject): Variant; begin Result := TField(AField).Value; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLReader.Eof: Boolean; begin Result := DataSet.Eof; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLReader.ReadRecord; begin // nothing end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLReader.NextRecord; begin DataSet.Next; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLReader.GuessFormat(AAnalyze: TFDBatchMoveAnalyze); begin // nothing end; {-------------------------------------------------------------------------------} { TFDBatchMoveSQLWriter } {-------------------------------------------------------------------------------} constructor TFDBatchMoveSQLWriter.Create(AOwner: TComponent); begin inherited Create(AOwner); FWriteQuery := TFDQuery.Create(nil); FWriteQuery.ResourceOptions.CmdExecMode := amBlocking; FWriteQuery.ResourceOptions.PreprocessCmdText := True; FReadQuery.FetchOptions.RowsetSize := 1; FCreateTableParts := [tpTable .. tpIndexes]; end; {-------------------------------------------------------------------------------} destructor TFDBatchMoveSQLWriter.Destroy; begin FDFreeAndNil(FWriteQuery); inherited Destroy; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.GetActualTableName: String; begin Result := inherited GetActualTableName; if Result = '' then Result := FDExpandStr(Trim(BatchMove.Reader.SourceTableName)); end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.GetIsBatch: Boolean; begin Result := True; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.Open(AStartTx: Boolean); var oGen: IFDPhysCommandGenerator; i: Integer; oPar: TFDParam; oFld: TField; lAvoidArrayDML: Boolean; sFields: String; begin inherited Open(AStartTx); FRecIndex := 0; if ReadSQL <> '' then FReadQuery.SQL.Text := ReadSQL else begin if BatchMove.Mappings.Count > 0 then begin sFields := ''; for i := 0 to BatchMove.Mappings.Count - 1 do begin if i > 0 then sFields := sFields + ', '; if BatchMove.Mappings[i].DestinationFieldName <> '' then sFields := sFields + BatchMove.Mappings[i].DestinationFieldName else sFields := sFields + BatchMove.Mappings[i].SourceFieldName; end; end else sFields := '*'; FReadQuery.SQL.Text := 'SELECT ' + sFields + ' FROM ' + ActualTableName + ' WHERE 0=1'; end; try FReadQuery.Open; except on E: EFDDBEngineException do if (poCreateDest in BatchMove.Options) and (ReadSQL = '') and (E.Kind = ekObjNotExists) then begin CreateTable; FReadQuery.Open; end else raise; end; if poIdentityInsert in BatchMove.Options then for i := 0 to FReadQuery.FieldCount - 1 do begin oFld := FReadQuery.Fields[i]; if oFld is TFDAutoIncField then TFDAutoIncField(oFld).IdentityInsert := True else if caAutoInc in TFDDataSet(DataSet).GetFieldColumn(oFld).ActualAttributes then begin oFld.ReadOnly := False; oFld.ProviderFlags := oFld.ProviderFlags + [pfInUpdate]; end; end; FWriteQuery.ConnectionName := ConnectionName; FWriteQuery.Connection := Connection; FWriteQuery.Transaction := Transaction; FWriteQuery.SQL.Clear; FWriteQuery.Params.Clear; if WriteSQL <> '' then FWriteQuery.SQL.Text := WriteSQL else begin FActualConnection.ConnectionIntf.CreateCommandGenerator(oGen, FReadQuery.Command.CommandIntf); oGen.FillRowOptions := []; oGen.GenOptions := [goBeautify, goNoVersion]; oGen.Options := FReadQuery.OptionsIntf; oGen.Table := FReadQuery.Table; oGen.Params := FWriteQuery.Params; case BatchMove.Mode of dmAlwaysInsert: FWriteQuery.SQL.Text := oGen.GenerateInsert; dmAppend: FWriteQuery.SQL.Text := oGen.GenerateMerge(maInsertIgnore); dmUpdate: FWriteQuery.SQL.Text := oGen.GenerateUpdate; dmAppendUpdate: FWriteQuery.SQL.Text := oGen.GenerateMerge(maInsertUpdate); dmDelete: FWriteQuery.SQL.Text := oGen.GenerateDelete; end; FWriteQuery.Command.CommandKind := oGen.CommandKind; end; lAvoidArrayDML := False; FWriteQuery.Params.ArraySize := 1; for i := 0 to FWriteQuery.ParamCount - 1 do begin oPar := FWriteQuery.Params[i]; oFld := FReadQuery.FindField(oPar.Name); if oFld <> nil then begin oPar.AssignFieldValue(oFld, Null); lAvoidArrayDML := lAvoidArrayDML or (oPar.ArrayType = atTable) or (oPar.DataType in [ftBlob, ftMemo, ftGraphic, ftFmtMemo, ftParadoxOle, ftDBaseOle, ftTypedBinary, ftOraBlob, ftOraClob, ftWideMemo]) or (oPar.DataType in [ftVarBytes, ftBytes, ftString, ftFixedChar, ftWideString, ftFixedWideChar]) and (LongWord(oPar.Size) >= FWriteQuery.FormatOptions.MaxStringSize); end; end; if not lAvoidArrayDML then FWriteQuery.Params.ArraySize := BatchMove.CommitCount; if AStartTx and (BatchMove.CommitCount > 0) then StartTransaction; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.CreateTable; var oTab: TFDTable; begin if ReadSQL = '' then begin oTab := TFDTable.Create(nil); try oTab.ConnectionName := ConnectionName; oTab.Connection := Connection; oTab.Transaction := Transaction; oTab.TableName := ActualTableName; oTab.UpdateOptions.GeneratorName := GeneratorName; BatchMove.Reader.GetTableDefs(oTab.FieldDefs, oTab.IndexDefs); oTab.CreateTable(True, CreateTableParts); finally FDFree(oTab); end; end else FDCapabilityNotSupported(BatchMove, [S_FD_LComp, S_FD_LComp_PDM]); end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.Close(AStopTxError: Boolean); begin FWriteQuery.Disconnect(); FWriteQuery.Params.ClearValues(); if WriteSQL = '' then FWriteQuery.Command.CommandKind := skUnknown; inherited Close(AStopTxError); if AStopTxError then RollbackTransaction else CommitTransaction; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.StartTransaction; begin if poUseTransactions in BatchMove.Options then if Transaction <> nil then begin if not Transaction.Active then Transaction.StartTransaction; end else begin if not FActualConnection.InTransaction then FActualConnection.StartTransaction; end; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.RollbackTransaction; begin if poUseTransactions in BatchMove.Options then if Transaction <> nil then begin if Transaction.Active then Transaction.Rollback; end else begin if FActualConnection.InTransaction then FActualConnection.Rollback; end; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.CommitTransaction; begin if poUseTransactions in BatchMove.Options then if Transaction <> nil then begin if Transaction.Active then Transaction.Commit; end else begin if FActualConnection.InTransaction then FActualConnection.Commit; end; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.Erase(ANoUndo: Boolean); var oConnMeta: IFDPhysConnectionMetadata; oGen: IFDPhysCommandGenerator; oCmd: IFDPhysCommand; begin FActualConnection.ConnectionIntf.CreateMetadata(oConnMeta); if ANoUndo and oConnMeta.TruncateSupported then if Transaction <> nil then while Transaction.Active do Transaction.Commit else while FActualConnection.InTransaction do FActualConnection.Commit; FActualConnection.ConnectionIntf.CreateCommandGenerator(oGen, FReadQuery.Command.CommandIntf); oGen.Table := FReadQuery.Table; FActualConnection.ConnectionIntf.CreateCommand(oCmd); if Transaction <> nil then oCmd.Transaction := Transaction.TransactionIntf; oCmd.CommandText := oGen.GenerateDeleteAll(ANoUndo); oCmd.CommandKind := oGen.CommandKind; oCmd.Prepare; oCmd.Execute(1, 0, True); end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.WriteHeader; begin // nothing end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.FindRecord: Boolean; begin // nothing Result := False; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.InsertRecord: Integer; begin Result := MoveRecord; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.UpdateRecord: Integer; begin Result := MoveRecord; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.DeleteRecord: Integer; begin Result := MoveRecord; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.MoveRecord: Integer; begin BatchMove.Mappings.Move(False); Inc(FRecIndex); if FRecIndex >= FWriteQuery.Params.ArraySize then Result := FlushRecords else Result := 0; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.FlushRecords: Integer; begin try if FRecIndex <= 0 then Result := 0 else begin FWriteQuery.Execute(FRecIndex, 0); Result := FWriteQuery.RowsAffected; end; finally FRecIndex := 0; end; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.GetFieldCount: Integer; begin Result := FWriteQuery.Params.Count; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.GetFieldName(AIndex: Integer): String; begin Result := FWriteQuery.Params[AIndex].Name; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.GetFieldIndex(const AName: String; ACheck: Boolean): Integer; var oPar: TFDParam; begin if ACheck then Result := FWriteQuery.Params.ParamByName(AName).Index else begin oPar := FWriteQuery.Params.FindParam(AName); if oPar <> nil then Result := oPar.Index else Result := -1; end; end; {-------------------------------------------------------------------------------} function TFDBatchMoveSQLWriter.GetFieldInfo(AIndex: Integer; var AType: TFDDataType; var ASize: LongWord; var APrec, AScale: Integer; var AInKey, AIsIdentity: Boolean): TObject; var oPar: TFDParam; oField: TField; eAttrs: TFDDataAttributes; begin AType := dtUnknown; ASize := 0; APrec := 0; AScale := 0; eAttrs := []; oPar := FWriteQuery.Params[AIndex]; oField := FReadQuery.FindField(oPar.Name); if oField <> nil then begin TFDFormatOptions.FieldDef2ColumnDef(oField, AType, ASize, APrec, AScale, eAttrs); AInKey := pfInKey in oField.ProviderFlags; AIsIdentity := (oField is TFDAutoIncField) or (caAutoInc in FReadQuery.GetFieldColumn(oField).ActualAttributes); end else begin TFDFormatOptions.FieldDef2ColumnDef(oPar.DataType, oPar.Size, oPar.Precision, oPar.NumericScale, AType, ASize, APrec, AScale, eAttrs); AInKey := False; AIsIdentity := False; end; Result := oPar; end; {-------------------------------------------------------------------------------} procedure TFDBatchMoveSQLWriter.SetFieldValue(AField: TObject; const AValue: Variant); begin TFDParam(AField).Values[FRecIndex] := AValue; end; end.
{*************************************************************************** * * Orion-project.org Lazarus Helper Library * Copyright (C) 2016-2017 by Nikolay Chunosov * * This file is part of the Orion-project.org Lazarus Helper Library * https://github.com/Chunosov/orion-lazarus * * This Library is free software: you can redistribute it and/or modify it * under the terms of the MIT License. See enclosed LICENSE.txt for details. * ***************************************************************************} unit OriTabs; {$mode objfpc}{$H+} interface uses Classes, Controls, SysUtils, ImgList, Graphics, Messages, LMessages; type TOriTabSet = class; TOriTab = class(TCollectionItem) private FCaption: String; FHint: String; FControl: TControl; FImageIndex: Integer; FTabWidth: Integer; FTag: Integer; procedure SetImageIndex(Value: Integer); procedure SetCaption(const Value: String); protected function GetDisplayName: String; override; public constructor Create(ACollection: TCollection); override; procedure Assign(Source: TPersistent); override; property TabWidth: Integer read FTabWidth; published property ImageIndex: Integer read FImageIndex write SetImageIndex default -1; property Caption: String read FCaption write SetCaption; property Hint: String read FHint write FHint; // TODO this property Control: TControl read FControl write FControl; property Tag: Integer read FTag write FTag default 0; end; TOriTabs = class(TCollection) private FOwner: TOriTabSet; procedure SetItem(Index: Integer; Value: TOriTab); function GetItem(Index: Integer): TOriTab; protected procedure Update(Item: TCollectionItem); override; function GetOwner: TPersistent; override; procedure Notify(Item: TCollectionItem; Action: TCollectionNotification); override; public constructor Create(AOwner: TOriTabSet); function Add: TOriTab; function IndexOf(Item: TOriTab): Integer; function IndexOfControl(Control: TControl): Integer; property Items[index: Integer]: TOriTab read GetItem write SetItem; default; end; TOriTabSetOption = (tsoUseButtons, tsoUseMargins, tsoOwnControls, tsoFrameTabs, tsoDrawHover, tsoUseTabKeys, tsoNoSeparateTabs, tsoShowBorder, tsoNoRotateText, tsoSeparateTab); TOriTabSetOptions = set of TOriTabSetOption; TOriTabSetButton = (tsbNone, tsbUndef, tsbLeft, tsbRight); TOriTabVisibleState = (tvsFalse, tvsTrue, tvsPartial); TOriTabsPosition = (otpTop, otpBottom, otpLeft, otpRight); TOriTabSetLook = (otlDotNet, otlFlat); TOriTabEvent = procedure (Sender: TObject; Tab: TOriTab) of object; TTabChangingEvent = procedure (Sender: TObject; var AllowChange: Boolean) of object; TOriTabSet = class(TCustomControl) private FTabs: TOriTabs; FImages: TCustomImageList; FImageChangeLink: TChangeLink; FTabIndex: Integer; FTabOffset: Integer; FButtonsVisible: Boolean; FLeftEnabled, FRightEnabled: Boolean; FButtonHover: TOriTabSetButton; FButtonDown: TOriTabSetButton; FOnTabChange: TNotifyEvent; FOnTabChanging: TTabChangingEvent; FMarginLeft, FMarginRight: Integer; FMarginTop, FMarginBottom: Integer; FTabsHeight, FTabsWidth: Integer; FTabWidth, FTabHeight: Integer; FOptions: TOriTabSetOptions; FTabsPosition: TOriTabsPosition; FUndockingTab: Integer; FColorTabsBack: TColor; FColorTabsBorder: TColor; FColorActiveTab: TColor; FColorHoverTab: TColor; FHoverTab: Integer; FOnTabAdded: TOriTabEvent; FLook: TOriTabSetLook; CTabMarginV, CTabMarginH: Byte; CTabIndentH, CTabIndentV: Byte; procedure ShowControl(AIndex: Integer); reintroduce; procedure HideControl(AIndex: Integer); procedure UpdateTabControls(OldTab, NewTab: Integer); function FindNextTabIndex(CurIndex: Integer; GoForward: Boolean): Integer; function GetTabIndexFromDockClient(Client: TControl): Integer; function GetButtonFromPos(X, Y: Integer): TOriTabSetButton; procedure ImageListChange(Sender: TObject); function GetTabCount: Integer; function GetActiveTab: TOriTab; procedure SetImages(Value: TCustomImageList); procedure SetOptions(Value: TOriTabSetOptions); procedure SetMargin(Index: Integer; Value: Integer); procedure SetIndent(Index: Integer; Value: Byte); procedure SetActiveTab(Value: TOriTab); procedure SetActiveTabIndex(Value: Integer); procedure SetColors(Index: Integer; Value: TColor); procedure SetTabsPosition(const Value: TOriTabsPosition); procedure SetTabSize(Index: Integer; Value: Integer); procedure SetLook(Value: TOriTabSetLook); procedure InvalidateTab(Target: TCanvas; Index: Integer; const TabRect: TRect); procedure InvalidateButtons(Target: TCanvas); procedure EnableButtons; procedure ShiftLeft; procedure ShiftRight; procedure CMMouseLeave(var Message: TMessage); message CM_MOUSELEAVE; //procedure CMDialogKey(var Message: TCMDialogKey); message CM_DIALOGKEY; //procedure CMDockClient(var Message: TCMDockClient); message CM_DOCKCLIENT; //procedure CMUnDockClient(var Message: TCMUnDockClient); message CM_UNDOCKCLIENT; //procedure CMDockNotification(var Message: TCMDockNotification); message CM_DOCKNOTIFICATION; procedure CMFontChanged(var Message: TMessage); message CM_FONTCHANGED; procedure CMColorChanged(var Message: TMessage); message CM_COLORCHANGED; procedure WMSize(var Message: TWMSize); message WM_SIZE; procedure WMEraseBkgnd(var Message: TMessage); message WM_ERASEBKGND; procedure WMLButtonDblClk(var Message: TLMMouse); message WM_LBUTTONDBLCLK; protected procedure Loaded; override; procedure Paint; override; procedure DoTabAdded(Tab: TOriTab); dynamic; procedure DoChange; dynamic; function DoChanging: Boolean; dynamic; procedure MeasureTabs; virtual; procedure AdjustClientRect(var Rect: TRect); override; procedure DoRemoveDockClient(Client: TControl); override; procedure Notification(AComponent: TComponent; Operation: TOperation); override; procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; procedure MouseMove(Shift: TShiftState; X, Y: Integer); override; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; procedure UpdateView; function GetTabRect(Index: Integer): TRect; function GetTabFromPos(X, Y: Integer): Integer; function GetTabFromControl(Control: TControl): Integer; function TabIsVisible(Index: Integer): TOriTabVisibleState; function TabIndexAtCursor: Integer; procedure SelectNextTab; // for navigation by Ctrl+Tab procedure SelectPrevTab; // for navigation by Shift+Ctrl+Tab property TabCount: Integer read GetTabCount; property TabsHeight: Integer read FTabsHeight; property ActiveTab: TOriTab read GetActiveTab write SetActiveTab; published property Images: TCustomImageList read FImages write SetImages; property MarginLeft: Integer index 0 read FMarginLeft write SetMargin default 3; property MarginRight: Integer index 1 read FMarginRight write SetMargin default 3; property MarginTop: Integer index 2 read FMarginTop write SetMargin default 3; property MarginBottom: Integer index 3 read FMarginBottom write SetMargin default 3; property Tabs: TOriTabs read FTabs write FTabs; // must be before ActiveTabIndex property ActiveTabIndex: Integer read FTabIndex write SetActiveTabIndex default -1; property ColorTabsBack: TColor index 0 read FColorTabsBack write SetColors default clWindow; property ColorTabsBorder: TColor index 1 read FColorTabsBorder write SetColors default clBlack; property ColorActiveTab: TColor index 2 read FColorActiveTab write SetColors default clBtnFace; property ColorHoverTab: TColor index 3 read FColorHoverTab write SetColors default clBtnFace; property TabsPosition: TOriTabsPosition read FTabsPosition write SetTabsPosition default otpTop; property Options: TOriTabSetOptions read FOptions write SetOptions default [tsoUseButtons, tsoUseMargins]; property OnChange: TNotifyEvent read FOnTabChange write FOnTabChange; property OnChanging: TTabChangingEvent read FOnTabChanging write FOnTabChanging; property OnTabAdded: TOriTabEvent read FOnTabAdded write FOnTabAdded; property TabWidth: Integer index 0 read FTabWidth write SetTabSize default 0; property TabHeight: Integer index 1 read FTabHeight write SetTabSize default 0; property TabMarginV: Byte index 0 read CTabMarginV write SetIndent default 3; property TabMarginH: Byte index 1 read CTabMarginH write SetIndent default 4; property TabIndentH: Byte index 2 read CTabIndentH write SetIndent default 5; property TabIndentV: Byte index 3 read CTabIndentV write SetIndent default 5; property Look: TOriTabSetLook read FLook write SetLook default otlDotNet; property Align; property AutoSize; property Color default clBtnFace; property Font; property TabStop; property ParentFont; property PopupMenu; property OnDblClick; property OnMouseUp; end; implementation uses LCLIntf, OriGraphics; {%region 'Constants'} const //CTabMarginV = 3; //CTabMarginH = 4; { tabs text margins - range between tab bound an text inside of any tab ------+ <- CTabMarginH -> <- CTabMarginH -> +------ | | CTabMarginV | | TEXT | | | CTabMarginV | +------------------------------------------+ эти значения также задаются относительно направления текста, т.е. при расположении закладок слева или справа, если не стоит флаг tsoNoRotateText, вся картинка повернется на 90 градусов. Если флаг tsoNoRotateText стоит, то смысл "горизонтальности" и "вертикальности" полей сохраняется: | +------------------------------------------+ | | CTabMarginV | <- CTabMarginH -> TEXT <- CTabMarginH -> | | CTabMarginV +------------------------------------------+ | } //CTabIndentH = 5; //CTabIndentV = 5; { tabs indents - range between bounds of tab-set control and bound or tabs area | | +-------------------+ +--------------+-------------------+ | <- CTabIndentH -> | TAB1 | TAB2 | <- CTabIndentH -> | | +---------------+--------------+ | | | CTabIndentV | +----------------------------------------------------------------------+ отступы области закладок измеряются относительно стороны компонента, вдоль которой расположены закладки, независимо от флага tsoNoRotateText (т.к. текст тут не причем). Т.е. при положении закладок справа или слева картинки поворачиваются на 90 градусов. В этом смысле немного не логичны названия констант, указывающие на "горизонтальность" или "вертикальность" отступа (V или H), но умнее ничего не придумалось: +------------------------------+-------- | CTabIndentH | | | +----------+ | | | <- CTabIndentV -> | TAB | | | +----------+ | | } CButtonIndentV = 2; CButtonIndentH = 2; CButtonW = 16; { width and indents of navigate or close buttons Buttons "Tab" | ---+ +---+ --------------------------------------------+ | | | CButtonW | CButtonIndentV | | | | <- CButton +---+---+---+ | | TAB | | IndentH -> | < | > | X | CButton -> | | | | +---+---+---+ <- IndentH | | | | CButtonIndentV | | +---------------+ +---------------------------------------------+ | ---------------------------------------------------------------------+ аналогично отступам области закладок, измеряются относительно стороны компонента, вдоль которой расположены закладки } {%endregion} {%region 'TOriTab'} constructor TOriTab.Create(ACollection: TCollection); begin inherited Create(ACollection); FImageIndex := -1; end; procedure TOriTab.Assign(Source: TPersistent); begin if Source is TOriTab then begin FCaption := TOriTab(Source).Caption; FHint := TOriTab(Source).Hint; FImageIndex := TOriTab(Source).ImageIndex; FControl := TOriTab(Source).Control; FTabWidth := TOriTab(Source).TabWidth; end; inherited Assign(Source); Changed(False); end; function TOriTab.GetDisplayName: String; begin Result := Trim(FCaption); if Result = '' then Result := ClassName; end; procedure TOriTab.SetCaption(const Value: String); begin if FCaption <> Value then begin FCaption := Value; Changed(False); end; end; procedure TOriTab.SetImageIndex(Value: Integer); begin if FImageIndex <> Value then begin FImageIndex := Value; Changed(False); end; end; {%endregion} {%region 'TOriTabs'} constructor TOriTabs.Create(AOwner: TOriTabSet); begin inherited Create(TOriTab); FOwner := AOwner; end; function TOriTabs.Add: TOriTab; begin Result := TOriTab(inherited Add); FOwner.DoTabAdded(Result); end; procedure TOriTabs.Update(Item: TCollectionItem); begin if Count = 0 then FOwner.FTabIndex := -1; FOwner.UpdateView; end; function TOriTabs.GetOwner: TPersistent; begin Result := FOwner; end; procedure TOriTabs.SetItem(Index: Integer; Value: TOriTab); begin inherited SetItem(Index, Value); end; function TOriTabs.GetItem(Index: Integer): TOriTab; begin Result := TOriTab(inherited GetItem(Index)); end; function TOriTabs.IndexOf(Item: TOriTab): Integer; var I: Integer; begin Result := -1; for I := 0 to Count-1 do if GetItem(I) = Item then begin Result := I; Exit; end; end; function TOriTabs.IndexOfControl(Control: TControl): Integer; var I: Integer; begin Result := -1; for I := 0 to Count-1 do if GetItem(I).Control = Control then begin Result := I; Exit; end; end; procedure TOriTabs.Notify(Item: TCollectionItem; Action: TCollectionNotification); var Index: Integer; begin if Action in [cnDeleting, cnExtracting] then begin if Assigned(TOriTab(Item).Control) and (tsoOwnControls in FOwner.Options) then FreeAndNil(TOriTab(Item).FControl); Index := IndexOf(TOriTab(Item)); if Index = FOwner.FTabIndex then FOwner.FTabIndex := -1 else if Index < FOwner.FTabIndex then Dec(FOwner.FTabIndex); end; inherited; end; {%endregion} {%region 'TOriTabSet'} constructor TOriTabSet.Create(AOwner: TComponent); begin inherited Create(AOwner); ControlStyle := ControlStyle - [csSetCaption] + [csAcceptsControls, csOpaque, csDoubleClicks, csCaptureMouse] ; //DoubleBuffered := True; we do this by hands FButtonHover := tsbNone; FLeftEnabled := False; FRightEnabled := False; FMarginLeft := 3; FMarginTop := 3; FMarginRight := 3; FMarginBottom := 3; CTabMarginV := 3; CTabMarginH := 4; CTabIndentH := 5; CTabIndentV := 5; FTabs := TOriTabs.Create(Self); Color := clBtnFace; FColorTabsBack := clWindow; FColorTabsBorder := clBlack; FColorActiveTab := clBtnFace; FColorHoverTab := clBtnFace; FLook := otlDotNet; FOptions := [tsoUseButtons, tsoUseMargins]; FTabOffset := 0; FTabIndex := -1; FHoverTab := -1; FImageChangeLink := TChangeLink.Create; FImageChangeLink.OnChange := @ImageListChange; end; destructor TOriTabSet.Destroy; begin FTabs.Free; inherited; end; procedure TOriTabSet.Loaded; var I: Integer; begin inherited; for I := 0 to FTabs.Count-1 do if I <> FTabIndex then HideControl(I) else ShowControl(I); end; procedure TOriTabSet.UpdateView; begin MeasureTabs; Realign; Invalidate; end; procedure TOriTabSet.AdjustClientRect(var Rect: TRect); begin inherited; if tsoUseMargins in FOptions then begin Inc(Rect.Left, FMarginLeft); Dec(Rect.Right, FMarginRight); Inc(Rect.Top, FMarginTop); Dec(Rect.Bottom, FMarginBottom); end; case FTabsPosition of otpBottom: begin Dec(Rect.Bottom, FTabsHeight + CTabIndentV); if tsoShowBorder in FOptions then begin Inc(Rect.Top); Inc(Rect.Left); Dec(Rect.Right); end; end; otpTop: begin Inc(Rect.Top, FTabsHeight + CTabIndentV + 1); if tsoShowBorder in FOptions then begin Dec(Rect.Bottom); Inc(Rect.Left); Dec(Rect.Right); end; end; otpLeft: begin Inc(Rect.Left, FTabsHeight + CTabIndentV + 1); if tsoShowBorder in FOptions then begin Inc(Rect.Top); Dec(Rect.Bottom); Dec(Rect.Right); end; end; otpRight: begin Dec(Rect.Right, FTabsHeight + CTabIndentV); if tsoShowBorder in FOptions then begin Inc(Rect.Top); Dec(Rect.Bottom); Inc(Rect.Left); end; end; end; end; procedure TOriTabSet.MeasureTabs; var I, Tmp: Integer; ImgExtraW, ImgExtraH: Integer; begin if Assigned(FImages) then if (FTabsPosition in [otpTop, otpBottom]) or (tsoNoRotateText in FOptions) then begin ImgExtraW := FImages.Width; ImgExtraH := FImages.Height; end else begin ImgExtraH := FImages.Width; ImgExtraW := FImages.Height; end else begin ImgExtraW := 0; ImgExtraH := 0; end; Canvas.Font := Self.Font; if not (tsoNoRotateText in FOptions) then case FTabsPosition of otpLeft: Canvas.Font.Orientation := 900; otpRight: Canvas.Font.Orientation := 2700; end; if FTabWidth = 0 then begin FTabsWidth := 0; // width of all tabs together for I := 0 to FTabs.Count-1 do with FTabs[I] do begin FTabWidth := Canvas.TextWidth(Caption) + CTabMarginH * 2; if Assigned(FImages) and (ImageIndex > -1) then Inc(FTabWidth, ImgExtraW + CTabMarginH); Inc(FTabsWidth, FTabWidth); end; end else begin for I := 0 to FTabs.Count-1 do FTabs[I].FTabWidth := FTabWidth; FTabsWidth := FTabWidth * FTabs.Count; end; // height of tabs (equal for all tabs) if FTabHeight = 0 then begin FTabsHeight := Canvas.TextHeight('Iy'); if Assigned(FImages) and (ImgExtraH > FTabsHeight) then FTabsHeight := ImgExtraH; Inc(FTabsHeight, CTabMarginV * 2); end else FTabsHeight := FTabHeight; if (FTabsPosition in [otpLeft, otpRight]) and (tsoNoRotateText in FOptions) then begin // максимальная ширина закладки -> высота закладок и наоборот Tmp := 0; for I := 0 to FTabs.Count-1 do if FTabs[I].FTabWidth > Tmp then Tmp := FTabs[I].FTabWidth; I := FTabsHeight; FTabsHeight := Tmp; Tmp := I; FTabsWidth := FTabs.Count * Tmp; for I := 0 to FTabs.Count-1 do FTabs[I].FTabWidth := Tmp; end; Tmp := MaxInt; // чтобы гарантировано не выполнилось условие ниже case FTabsPosition of otpTop, otpBottom: if Width > 0 then Tmp := Width - CTabIndentH; otpLeft, otpRight: if Height > 0 then Tmp := Height - CTabIndentH; end; if FTabsWidth > Tmp then // recalc tab-widths to find room for all tabs if (FTabWidth = 0) and not (tsoUseButtons in FOptions) then begin FTabOffset := 0; for I := 0 to FTabs.Count-1 do FTabs[I].FTabWidth := Trunc(FTabs[I].FTabWidth / FTabsWidth * Tmp); FTabsWidth := 0; for I := 0 to FTabs.Count-1 do Inc(FTabsWidth, FTabs[I].FTabWidth); FButtonsVisible := False; end else begin FButtonsVisible := True; EnableButtons; end else begin FButtonsVisible := False; FTabOffset := 0; // usefull only if (tsoUseButtons in FOptions) end; end; procedure TOriTabSet.Paint; var I, Bound, Separ: Integer; Pos1, Pos2, ActivePos: Integer; Target: TCanvas; Buffer: TBitmap; begin Buffer := TBitmap.Create; try Buffer.Width := Width; Buffer.Height := Height; Target := Buffer.Canvas; with Target do begin Font := Self.Font; if not (tsoNoRotateText in FOptions) then case FTabsPosition of otpLeft: Font.Orientation := 900; otpRight: Font.Orientation := 2700; end; // fill background Brush.Color := Color; FillRect(0, 0, Self.Width, Self.Height); case FTabsPosition of otpTop: begin Bound := CTabIndentV; Separ := Bound + FTabsHeight; // fill tabs background Brush.Color := ColorTabsBack; FillRect(0, 0, Width, Separ+1); if tsoFrameTabs in Options then begin Pen.Color := ColorTabsBorder; Polyline([Point(0, Separ), Point(0, 0), Point(Width-1, 0), Point(Width-1, Separ)]); end; if tsoShowBorder in FOptions then begin Pen.Color := ColorTabsBorder; Polyline([Point(0, Separ), Point(0, Height-1), Point(Width-1, Height-1), Point(Width-1, Separ)]); end; end; otpBottom: begin Bound := Height - CTabIndentV; Separ := Bound - FTabsHeight; // fill tabs background Brush.Color := ColorTabsBack; FillRect(0, Separ, Width, Height); if tsoFrameTabs in Options then begin Pen.Color := ColorTabsBorder; Polyline([Point(0, Separ), Point(0, Height-1), Point(Width-1, Height-1), Point(Width-1, Separ)]); end; if tsoShowBorder in FOptions then begin Pen.Color := ColorTabsBorder; Polyline([Point(0, Separ), Point(0, 0), Point(Width-1, 0), Point(Width-1, Separ)]); end; end; otpLeft: begin Bound := CTabIndentV; Separ := Bound + FTabsHeight; // fill tabs background Brush.Color := ColorTabsBack; FillRect(0, 0, Separ+1, Height); if tsoFrameTabs in Options then begin Pen.Color := ColorTabsBorder; Polyline([Point(Separ, 0), Point(0, 0), Point(0, Height-1), Point(Separ, Height-1)]); end; if tsoShowBorder in FOptions then begin Pen.Color := ColorTabsBorder; Polyline([Point(Separ, 0), Point(Width-1, 0), Point(Width-1, Height-1), Point(Separ, Height-1)]); end; end; otpRight: begin Bound := Width - CTabIndentV; Separ := Bound - FTabsHeight; // fill tabs background Brush.Color := ColorTabsBack; FillRect(Separ, 0, Width, Height); if tsoFrameTabs in Options then begin Pen.Color := ColorTabsBorder; Polyline([Point(Separ, 0), Point(Width-1, 0), Point(Width-1, Height-1), Point(Separ, Height-1)]); end; if tsoShowBorder in FOptions then begin Pen.Color := ColorTabsBorder; Polyline([Point(Separ, 0), Point(0, 0), Point(0, Height-1), Point(Separ, Height-1)]); end; end; end; // tabs separator line if not (tsoNoSeparateTabs in Options) then begin Pen.Color := ColorTabsBorder; case TabsPosition of otpTop, otpBottom: begin MoveTo(0, Separ); LineTo(Width, Separ); end; otpLeft, otpRight: begin MoveTo(Separ, 0); LineTo(Separ, Height); end; end; end; end; // paint not active tabs Pos1 := CTabIndentH; for I := FTabOffset to FTabs.Count-1 do begin Pos2 := Pos1 + FTabs[I].TabWidth; if I <> FTabIndex then case FTabsPosition of otpTop: InvalidateTab(Target, I, Rect(Pos1, Bound, Pos2, Separ)); otpLeft: InvalidateTab(Target, I, Rect(Bound, Pos1, Separ, Pos2)); otpBottom: InvalidateTab(Target, I, Rect(Pos1, Separ, Pos2, Bound)); otpRight: InvalidateTab(Target, I, Rect(Separ, Pos1, Bound, Pos2)); end else ActivePos := Pos1; Pos1 := Pos2 - 1; end; // paint active tab if FTabIndex <> -1 then begin Pos1 := ActivePos; Pos2 := Pos1 + FTabs[FTabIndex].TabWidth; case FTabsPosition of otpTop: InvalidateTab(Target, FTabIndex, Rect(Pos1, Bound, Pos2, Separ)); otpLeft: InvalidateTab(Target, FTabIndex, Rect(Bound, Pos1, Separ, Pos2)); otpBottom: InvalidateTab(Target, FTabIndex, Rect(Pos1, Separ, Pos2, Bound)); otpRight: InvalidateTab(Target, FTabIndex, Rect(Separ, Pos1, Bound, Pos2)); end end; if FButtonsVisible then InvalidateButtons(Target); Canvas.Draw(0, 0, Buffer); finally Buffer.Free; end; end; function TOriTabSet.GetTabRect(Index: Integer): TRect; var I, Pos1, Pos2: Integer; begin Pos1 := CTabIndentH; for I := FTabOffset to FTabs.Count-1 do begin Pos2 := Pos1 + FTabs[I].TabWidth; if I = Index then begin case FTabsPosition of otpTop, otpBottom: begin Result.Left := Pos1; Result.Right := Pos2; case FTabsPosition of otpTop: begin Result.Top := CTabIndentV; Result.Bottom := Result.Top + FTabsHeight; end; otpBottom: begin Result.Bottom := Height - CTabIndentV; Result.Top := Result.Bottom - FTabsHeight; end; end; end; otpLeft, otpRight: begin Result.Top := Pos1; Result.Bottom := Pos2; case FTabsPosition of otpLeft: begin Result.Left := CTabIndentV; Result.Right := Result.Left + FTabsHeight; end; otpRight: begin Result.Right := Width - CTabIndentV; Result.Left := Result.Right - FTabsHeight; end; end; end; end; Break; end; Pos1 := Pos2 - 1; end; end; procedure TOriTabSet.InvalidateTab(Target: TCanvas; Index: Integer; const TabRect: TRect); var //Flags: Cardinal; TxtRect: TRect; Style: TTextStyle; begin Text := FTabs[Index].Caption; with Target, TabRect do begin //case FLook of begin // отрисовка активной вкладки if FTabIndex = Index then begin // draw tab border Brush.Color := ColorActiveTab; Brush.Style := bsSolid; Pen.Color := ColorTabsBorder; case FTabsPosition of otpTop: begin MoveTo(Left, Bottom); LineTo(Left, Top); LineTo(Right-1, Top); LineTo(Right-1, Bottom+1); FillRect(Left+1, Top+1, Right-1, Bottom+1); if tsoSeparateTab in FOptions then begin MoveTo(Left, Bottom); LineTo(Right, Bottom); end; end; otpBottom: begin MoveTo(Left, Top); LineTo(Left, Bottom-1); LineTo(Right-1, Bottom-1); LineTo(Right-1, Top-1); FillRect(Left+1, Top, Right-1, Bottom-1); if tsoSeparateTab in FOptions then begin MoveTo(Left, Top); LineTo(Right, Top); end; end; otpLeft: begin MoveTo(Right, Top); LineTo(Left, Top); LineTo(Left, Bottom-1); LineTo(Right+1, Bottom-1); FillRect(Left+1, Top+1, Right+1, Bottom-1); if tsoSeparateTab in FOptions then begin MoveTo(Right, Top); LineTo(Right, Bottom); end; end; otpRight: begin MoveTo(Left, Top); LineTo(Right, Top); LineTo(Right, Bottom-1); LineTo(Left, Bottom-1); FillRect(Left, Top+1, Right, Bottom-1); if tsoSeparateTab in FOptions then begin MoveTo(Left, Top); LineTo(Left, Bottom); end; end; end; end // <-- конец отрисовки активной вкладки else // обычная (неактивная) закладка begin // фон закладки if tsoDrawHover in Options then begin Brush.Style := bsSolid; if Index = FHoverTab then Brush.Color := ColorHoverTab else Brush.Color := ColorTabsBack; case FTabsPosition of otpTop: FillRect(Left+1, Top+1, Right-1, Bottom); otpBottom: FillRect(Left+1, Top+1, Right-1, Bottom-1); otpLeft: FillRect(Left+1, Top+1, Right, Bottom-1); otpRight: FillRect(Left+1, Top+1, Right-1, Bottom-1); end; end; // рамка закладки case FLook of otlDotNet: begin // draw tab separator Pen.Color := Lighten(ColorTabsBack, -75); case FTabsPosition of otpTop, otpBottom: begin MoveTo(Right-1, Top+3); LineTo(Right-1, Bottom-3); end; otpLeft, otpRight: begin MoveTo(Left+3, Bottom-1); LineTo(Right-3, Bottom-1); end; end; end; otlFlat: begin Brush.Style := bsSolid; Brush.Color := ColorTabsBack; Pen.Color := ColorTabsBorder; case FTabsPosition of otpTop: begin MoveTo(Left, Bottom); LineTo(Left, Top); LineTo(Right-1, Top); LineTo(Right-1, Bottom+1); FillRect(Left+1, Top+1, Right-1, Bottom); if tsoSeparateTab in FOptions then begin MoveTo(Left, Bottom); LineTo(Right, Bottom); end; end; otpBottom: begin MoveTo(Left, Top); LineTo(Left, Bottom-1); LineTo(Right-1, Bottom-1); LineTo(Right-1, Top-1); FillRect(Left+1, Top+1, Right-1, Bottom-1); if tsoSeparateTab in FOptions then begin MoveTo(Left, Top); LineTo(Right, Top); end; end; otpLeft: begin MoveTo(Right, Top); LineTo(Left, Top); LineTo(Left, Bottom-1); LineTo(Right+1, Bottom-1); FillRect(Left+1, Top+1, Right, Bottom-1); if tsoSeparateTab in FOptions then begin MoveTo(Right, Top); LineTo(Right, Bottom); end; end; otpRight: begin MoveTo(Left, Top); LineTo(Right, Top); LineTo(Right, Bottom-1); LineTo(Left, Bottom-1); FillRect(Left+1, Top+1, Right, Bottom-1); if tsoSeparateTab in FOptions then begin MoveTo(Left, Top); LineTo(Left, Bottom); end; end; end; end; end; end; end; //end; //------------------------------------------------ Style.Opaque := True; // warning suppress FillChar(Style, SizeOf(TTextStyle), 0); Style.SingleLine := True; Style.EndEllipsis := True; Style.Alignment := taCenter; Style.Layout := tlCenter; // вывод картинки и текста Brush.Style := bsClear; TxtRect := TabRect; case FTabsPosition of otpTop, otpBottom: begin Inc(TxtRect.Left, CTabMarginH); Dec(TxtRect.Right, CTabMarginH); // draw tab image if Assigned(FImages) and (FTabs[Index].ImageIndex > -1) and (FImages.Width <= (FTabs[Index].TabWidth - CTabMarginH * 2)) then begin Inc(TxtRect.Left, FImages.Width + CTabMarginH); FImages.Draw(Target, TabRect.Left + CTabMarginH, (TabRect.Top + TabRect.Bottom - FImages.Height) div 2, FTabs[Index].ImageIndex); end; // draw tab text TextRect(TxtRect, TxtRect.Left, TxtRect.Top, Caption, Style); end; // TODO: нужна процедура для вывода вертикального текста. // Выравнивание в Canvas.TextRect отличается от того, что делала // виндовая DrawText с вроде как аналогичными настройками. otpLeft: if tsoNoRotateText in FOptions then begin Inc(TxtRect.Left, CTabMarginH); Dec(TxtRect.Right, CTabMarginH); // draw tab image if Assigned(FImages) and (FTabs[Index].ImageIndex > -1) and (FImages.Width <= (FTabsHeight - CTabMarginH * 2)) then begin Inc(TxtRect.Left, FImages.Width + CTabMarginH); FImages.Draw(Target, TabRect.Left + CTabMarginH, (TabRect.Top + TabRect.Bottom - FImages.Height) div 2, FTabs[Index].ImageIndex); end; // draw tab text Style.Alignment := taLeftJustify; TextRect(TxtRect, TxtRect.Left, TxtRect.Top, Caption, Style); end else begin Inc(TxtRect.Top, CTabMarginH); Dec(TxtRect.Bottom, CTabMarginH); // draw tab image if Assigned(FImages) and (FTabs[Index].ImageIndex > -1) and (FImages.Height <= (FTabs[Index].TabWidth - CTabMarginH * 2)) then begin Dec(TxtRect.Bottom, FImages.Height + CTabMarginH); FImages.Draw(Target, (TabRect.Left + TabRect.Right - FImages.Width) div 2, TabRect.Bottom - FImages.Height - CTabMarginV, FTabs[Index].ImageIndex); end; // draw tab text Style.Alignment := taCenter; Style.Layout := tlCenter; TextRect(TxtRect, TxtRect.Left, TxtRect.Bottom, Caption, Style); end; otpRight: // если текст горизонтален, то код отрисовки слева и справа // совершенно одинаков. Нужно ли текст справа выравнивать по правому // краю или рисовать картинки справа от текста? if tsoNoRotateText in FOptions then begin Inc(TxtRect.Left, CTabMarginH); Dec(TxtRect.Right, CTabMarginH); // draw tab image if Assigned(FImages) and (FTabs[Index].ImageIndex > -1) and (FImages.Width <= (FTabsHeight - CTabMarginH * 2)) then begin Inc(TxtRect.Left, FImages.Width + CTabMarginH); FImages.Draw(Target, TabRect.Left + CTabMarginH, (TabRect.Top + TabRect.Bottom - FImages.Height) div 2, FTabs[Index].ImageIndex); end; // draw tab text Style.Alignment := taLeftJustify; TextRect(TxtRect, TxtRect.Left, TxtRect.Top, Caption, Style); end else begin Inc(TxtRect.Top, CTabMarginH); Dec(TxtRect.Bottom, CTabMarginH); // draw tab image if Assigned(FImages) and (FTabs[Index].ImageIndex > -1) and (FImages.Height <= (FTabs[Index].TabWidth - CTabMarginH * 2)) then begin Inc(TxtRect.Top, FImages.Height + CTabMarginH); FImages.Draw(Target, (TabRect.Left + TabRect.Right - FImages.Width) div 2, TabRect.Top + CTabMarginV, FTabs[Index].ImageIndex); end; Style.Alignment := taLeftJustify; TextRect(TxtRect, TxtRect.Left, TxtRect.Top, Caption, Style); end; end; end; end; procedure TOriTabSet.InvalidateButtons(Target: TCanvas); var X1, Y1, X2, Y2: Integer; procedure DrawButton_Flat(Enabled, Hover, Pressed: Boolean); begin with Target do begin if Hover then Brush.Color := cl3DLight else Brush.Color := clBtnFace; if Enabled then Pen.Color := cl3DDkShadow else Pen.Color := clBtnShadow; if Pressed then Rectangle(X1+1, Y1+1, X2-1, Y2-1) else Rectangle(X1, Y1, X2, Y2); end; end; //const // GlyphColors: array [Boolean] of TColor = (clBtnShadow, clBlack); var butHover, butPressed: Boolean; begin with Target do begin Brush.Color := ColorTabsBack; // fill buttons area to erase tabs under buttons // CButtonW*2 - because of two buttons: left shift and right // CButtonIndentH*2 - buttons placed within buttons-area with margins case FTabsPosition of otpTop, otpBottom: begin X1 := Width - CButtonW * 2 - CButtonIndentH * 2; if tsoFrameTabs in Options then X2 := Width-1 else X2 := Width; case FTabsPosition of otpTop: begin FillRect(X1, 0, X2, CTabIndentV + FTabsHeight); case FLook of otlDotNet: begin Pen.Color := FColorTabsBorder; MoveTo(X1, CTabIndentV + FTabsHeight); LineTo(X2, CTabIndentV + FTabsHeight); end; end; Y1 := CTabIndentV + CButtonIndentV - 1; // top Y2 := CTabIndentV + FTabsHeight - CButtonIndentV - 1; // bottom end; otpBottom: begin FillRect(X1, Height - CTabIndentV - FTabsHeight + 1, X2, Height); Pen.Color := FColorTabsBorder; MoveTo(X1, Height - CTabIndentV - FTabsHeight); LineTo(X2, Height - CTabIndentV - FTabsHeight); Y2 := Height - CTabIndentV - CButtonIndentV + 1; // bottom Y1 := Height - CTabIndentV - FTabsHeight + CButtonIndentV + 1; // top end; end; X2 := Width - CButtonIndentH; X1 := X2 - CButtonW; butPressed := FButtonDown = tsbRight; butHover := FButtonHover = tsbRight; DrawButton_Flat(FRightEnabled, butHover, butPressed); //DrawMonoGlyph(Target.Handle, (X1 + X2 - MonoGlyphW) div 2, // (Y1 + Y2 - MonoGlyphH) div 2, bgTriangleRight, GlyphColors[FRightEnabled]); X2 := X1; X1 := X2 - CButtonW; butPressed := FButtonDown = tsbLeft; butHover := FButtonHover = tsbLeft; DrawButton_Flat(FLeftEnabled, butHover, butPressed); //DrawMonoGlyph(Target.Handle, (X1 + X2 - MonoGlyphW) div 2, // (Y1 + Y2 - MonoGlyphH) div 2, bgTriangleLeft, GlyphColors[FLeftEnabled]); end; otpLeft, otpRight: begin Y1 := Height - CButtonW * 2 - CButtonIndentH * 2; if tsoFrameTabs in Options then Y2 := Height - 1 else Y2 := Height; case FTabsPosition of otpLeft: begin FillRect(0, Y1, CTabIndentV + FTabsHeight, Y2); Pen.Color := FColorTabsBorder; MoveTo(CTabIndentV + FTabsHeight, Y1); LineTo(CTabIndentV + FTabsHeight, Y2); X1 := CTabIndentV + CButtonIndentV - 1; // left X2 := CTabIndentV + FTabsHeight - CButtonIndentV - 1 // right end; otpRight: begin FillRect(Width - CTabIndentV - FTabsHeight + 1, Y1, Width, Y2); Pen.Color := FColorTabsBorder; MoveTo(Width - CTabIndentV - FTabsHeight, Y1); LineTo(Width - CTabIndentV - FTabsHeight, Y2); X2 := Width - CTabIndentV - CButtonIndentV + 1; // right X1 := Width - CTabIndentV - FTabsHeight + CButtonIndentV + 1; // left end; end; Y2 := Height - CButtonIndentH; Y1 := Y2 - CButtonW; butPressed := FButtonDown = tsbRight; butHover := FButtonHover = tsbRight; DrawButton_Flat(FRightEnabled, butHover, butPressed); //DrawMonoGlyph(Target.Handle, (X1 + X2 - MonoGlyphW) div 2, // (Y1 + Y2 - MonoGlyphH) div 2, bgTriangleDown, GlyphColors[FRightEnabled]); Y2 := Y1; Y1 := Y2 - CButtonW; butPressed := FButtonDown = tsbLeft; butHover := FButtonHover = tsbLeft; DrawButton_Flat(FLeftEnabled, butHover, butPressed); //DrawMonoGlyph(Target.Handle, (X1 + X2 - MonoGlyphW) div 2, // (Y1 + Y2 - MonoGlyphH) div 2, bgTriangleUp, GlyphColors[FLeftEnabled]); end; end; end; end; procedure TOriTabSet.MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); var TabIndex: Integer; Btn: TOriTabSetButton; begin inherited; if Button = mbLeft then begin if FButtonsVisible then begin Btn := GetButtonFromPos(X, Y); if Btn <> tsbNone then begin FButtonHover := Btn; FButtonDown := Btn; case FButtonDown of tsbLeft: ShiftLeft; tsbRight: ShiftRight; end; Exit; end; end; TabIndex := GetTabFromPos(X, Y); if TabIndex > -1 then begin if FButtonsVisible and (TabIsVisible(TabIndex) = tvsPartial) then begin Inc(FTabOffset); // don't call ShiftRight to avoid unnecessary drawing EnableButtons; end; ActiveTabIndex := TabIndex end; end; end; procedure TOriTabSet.MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); begin inherited MouseUp(Button, Shift, X, Y); if FButtonsVisible and (Button = mbLeft) and (FButtonDown <> tsbNone) then begin FButtonDown := tsbNone; // release button InvalidateButtons(Canvas); end; end; procedure TOriTabSet.MouseMove(Shift: TShiftState; X, Y: Integer); var Index, OldIndex: Integer; Button: TOriTabSetButton; begin inherited MouseMove(Shift, X, Y); if FButtonsVisible then begin if (ssLeft in Shift) and (FButtonDown <> tsbNone) then Exit; Button := GetButtonFromPos(X, Y); if Button <> FButtonHover then begin FButtonHover := Button; FButtonDown := tsbNone; InvalidateButtons(Canvas); end; end else Button := tsbNone; if Button = tsbNone then begin Index := GetTabFromPos(X, Y); if (tsoDrawHover in Options) and (Index <> FHoverTab) then begin OldIndex := FHoverTab; FHoverTab := Index; if OldIndex <> -1 then InvalidateTab(Canvas, OldIndex, GetTabRect(OldIndex)); if Index <> -1 then InvalidateTab(Canvas, Index, GetTabRect(Index)); if FButtonsVisible and (TabIsVisible(Index) = tvsPartial) or (TabIsVisible(OldIndex) = tvsPartial) then InvalidateButtons(Canvas); if (FTabIndex <> -1) and ( (Index = FTabIndex+1) or (Index = FTabIndex-1) or (OldIndex = FTabIndex+1) or (OldIndex = FTabIndex-1)) then begin InvalidateTab(Canvas, FTabIndex, GetTabRect(FTabIndex)); if FButtonsVisible and (TabIsVisible(FTabIndex) = tvsPartial) then InvalidateButtons(Canvas); end; end; if (ssLeft in Shift) and (Index <> -1) and Assigned(FTabs[Index].Control) and (FTabs[Index].Control.HostDockSite = Self) then FTabs[Index].Control.BeginDrag(False, 10); end; end; procedure TOriTabSet.CMMouseLeave(var Message: TMessage); var OldIndex: Integer; begin inherited; if (tsoDrawHover in Options) and (FHoverTab <> -1) then begin OldIndex := FHoverTab; FHoverTab := -1; InvalidateTab(Canvas, OldIndex, GetTabRect(OldIndex)); end; if FButtonsVisible and (FButtonHover <> tsbNone) then begin FButtonHover := tsbNone; FButtonDown := tsbNone; InvalidateButtons(Canvas); end; end; procedure TOriTabSet.CMFontChanged(var Message: TMessage); begin UpdateView; inherited; end; procedure TOriTabSet.CMColorChanged(var Message: TMessage); begin Invalidate; inherited; end; procedure TOriTabSet.WMEraseBkgnd(var Message: TMessage); begin // do nothing // inherited; //inherited EraseBackground(DC); end; procedure TOriTabSet.WMSize(var Message: TWMSize); begin inherited; MeasureTabs; Invalidate; end; function TOriTabSet.TabIndexAtCursor: Integer; var pt: TPoint; begin pt.x := 0; pt.y := 0; GetCursorPos(pt); pt := ScreenToClient(pt); Result := GetTabFromPos(pt.X, pt.Y); end; function TOriTabSet.GetTabFromPos(X, Y: Integer): Integer; var I, Pos, TabPos: Integer; begin Result := -1; TabPos := CTabIndentH; case FTabsPosition of otpTop: if (Y < CTabIndentV) or (Y > CTabIndentV + FTabsHeight) then Exit; otpBottom: if (Y < Height - CTabIndentV - FTabsHeight) or (Y > Height - CTabIndentV) then Exit; otpLeft: if (X < CTabIndentV) or (X > CTabIndentV + FTabsHeight) then Exit; otpRight: if (X < Width - CTabIndentV - FTabsHeight) or (X > Width - CTabIndentV) then Exit; end; case FTabsPosition of otpTop, otpBottom: Pos := X; else Pos := Y; end; for I := FTabOffset to FTabs.Count-1 do if (Pos >= TabPos) and (Pos < TabPos + FTabs[I].TabWidth) then begin Result := I; Exit; end else Inc(TabPos, FTabs[I].TabWidth); end; function TOriTabSet.GetButtonFromPos(X, Y: Integer): TOriTabSetButton; begin Result := tsbNone; case TabsPosition of otpTop, otpBottom: if X > Width - CButtonW * 2 - CButtonIndentH * 2 then begin Result := tsbUndef; case TabsPosition of otpBottom: if (Y < Height - CTabIndentV - FTabsHeight + CButtonIndentV + 1) or (Y > Height - CTabIndentV - CButtonIndentV + 1) then Exit; otpTop: if (Y < CTabIndentV + CButtonIndentV) or (Y > CTabIndentV + FTabsHeight - CButtonIndentV) then Exit; end; if X > Width - CButtonW * 2 - CButtonIndentH then if X > Width - CButtonW - CButtonIndentH then if X > Width - CButtonIndentH then Result := tsbUndef else Result := tsbRight else Result := tsbLeft; end; otpLeft, otpRight: if Y > Height - CButtonW * 2 - CButtonIndentH * 2 then begin Result := tsbUndef; case TabsPosition of otpRight: if (X < Width - CTabIndentV - FTabsHeight + CButtonIndentV + 1) or (X > Width - CTabIndentV - CButtonIndentV + 1) then Exit; otpLeft: if (X < CTabIndentV + CButtonIndentV) or (X > CTabIndentV + FTabsHeight - CButtonIndentV) then Exit; end; if Y > Height - CButtonW * 2 - CButtonIndentH then if Y > Height - CButtonW - CButtonIndentH then if Y > Height - CButtonIndentH then Result := tsbUndef else Result := tsbRight else Result := tsbLeft; end; end; end; procedure TOriTabSet.EnableButtons; var I, Pos1, Pos2, Limit: Integer; begin FLeftEnabled := FTabOffset > 0; FRightEnabled := False; if FButtonsVisible then begin case FTabsPosition of otpTop, otpBottom: Limit := Width - CButtonW*2 - CButtonIndentH*2; else Limit := Height - CButtonW*2 - CButtonIndentH*2; end; Pos1 := CTabIndentH; for I := FTabOffset to FTabs.Count-1 do begin Pos2 := Pos1 + FTabs[I].TabWidth; if Pos2 > Limit then begin FRightEnabled := True; Break; end; Inc(Pos1, FTabs[I].TabWidth); end; end; end; procedure TOriTabSet.ShiftLeft; begin if FLeftEnabled then begin Dec(FTabOffset); EnableButtons; Invalidate; end; end; procedure TOriTabSet.ShiftRight; begin if FRightEnabled then begin Inc(FTabOffset); EnableButtons; Invalidate; end; end; function TOriTabSet.TabIsVisible(Index: Integer): TOriTabVisibleState; var I, Pos, Limit: Integer; begin Result := tvsTrue; if FButtonsVisible then if Index >= FTabOffset then begin Pos := CTabIndentH; // near limit case FTabsPosition of otpTop, otpBottom: Limit := Width - CButtonW*2 - CButtonIndentH*2; // far limit else Limit := Height - CButtonW*2 - CButtonIndentH*2; // far limit end; for I := FTabOffset to FTabs.Count-1 do if I = Index then begin if Pos >= Limit then Result := tvsFalse else if (Pos + FTabs[I].TabWidth) > Limit then Result := tvsPartial else Result := tvsTrue; Break; end else Inc(Pos, FTabs[I].TabWidth); end else Result := tvsFalse; end; function TOriTabSet.GetTabCount: Integer; begin Result := FTabs.Count; end; function TOriTabSet.GetActiveTab: TOriTab; begin if (FTabIndex > -1) and (FTabIndex < FTabs.Count) then Result := FTabs[FTabIndex] else Result := nil; end; procedure TOriTabSet.SetActiveTab(Value: TOriTab); begin SetActiveTabIndex(FTabs.IndexOf(Value)); end; procedure TOriTabSet.SetActiveTabIndex(Value: Integer); begin if (Value > -1) and (Value < FTabs.Count) and (Value <> FTabIndex) then begin if not DoChanging then Exit; UpdateTabControls(FTabIndex, Value); FTabIndex := Value; Invalidate; DoChange; end; end; function TOriTabSet.GetTabFromControl(Control: TControl): Integer; var I: Integer; begin Result := -1; for I := 0 to FTabs.Count-1 do if FTabs[I].Control = Control then begin Result := I; Break; end; end; procedure TOriTabSet.ShowControl(AIndex: Integer); var Control: TControl; begin Control := FTabs[AIndex].Control; if Assigned(Control) then begin Control.Show; Control.BringToFront; if Control is TWinControl then with TWinControl(Control) do try if CanFocus then SetFocus; except // can't focus disable or invisible window end; // и CanFocus в некоторых случаях не помогает end; end; procedure TOriTabSet.HideControl(AIndex: Integer); var Control: TControl; begin Control := FTabs[AIndex].Control; if Assigned(Control) then Control.Hide; end; procedure TOriTabSet.UpdateTabControls(OldTab, NewTab: Integer); begin if (NewTab > -1) and (NewTab < FTabs.Count) then ShowControl(NewTab); if (OldTab > -1) and (OldTab < FTabs.Count) then HideControl(OldTab); end; function TOriTabSet.DoChanging: Boolean; begin Result := True; if Assigned(FOnTabChanging) then FOnTabChanging(Self, Result); end; procedure TOriTabSet.DoChange; begin if Assigned(FOnTabChange) then FOnTabChange(Self); end; procedure TOriTabSet.DoTabAdded(Tab: TOriTab); begin if Assigned(FOnTabAdded) then FOnTabAdded(Self, Tab); end; function TOriTabSet.FindNextTabIndex(CurIndex: Integer; GoForward: Boolean): Integer; begin if FTabs.Count <> 0 then begin if (CurIndex < 0) or (CurIndex > FTabs.Count) then if GoForward then CurIndex := FTabs.Count - 1 else CurIndex := 0; Result := CurIndex; if GoForward then begin Inc(Result); if Result = FTabs.Count then Result := 0; end else begin if Result = 0 then Result := FTabs.Count; Dec(Result); end; end else Result := -1; end; procedure TOriTabSet.SelectNextTab; begin ActiveTabIndex := FindNextTabIndex(FTabIndex, True); end; procedure TOriTabSet.SelectPrevTab; begin ActiveTabIndex := FindNextTabIndex(FTabIndex, False); end; procedure TOriTabSet.SetOptions(Value: TOriTabSetOptions); begin if FOptions <> Value then begin FOptions := Value; UpdateView; end; end; procedure TOriTabSet.SetMargin(Index: Integer; Value: Integer); begin case Index of 0: if FMarginLeft <> Value then begin FMarginLeft := Value; UpdateView; end; 1: if FMarginRight <> Value then begin FMarginRight := Value; UpdateView; end; 2: if FMarginTop <> Value then begin FMarginTop := Value; UpdateView; end; 3: if FMarginBottom <> Value then begin FMarginBottom := Value; UpdateView; end; end; end; procedure TOriTabSet.SetIndent(Index: Integer; Value: Byte); begin case Index of 0: if Value <> CTabMarginV then begin CTabMarginV := Value; UpdateView; end; 1: if Value <> CTabMarginH then begin CTabMarginH := Value; UpdateView; end; 2: if Value <> CTabIndentH then begin CTabIndentH := Value; UpdateView; end; 3: if Value <> CTabIndentV then begin CTabIndentV := Value; UpdateView; end; end; end; procedure TOriTabSet.SetTabSize(Index: Integer; Value: Integer); begin case Index of 0: if FTabWidth <> Value then begin FTabWidth := Value; UpdateView; end; 1: if FTabHeight <> Value then begin FTabHeight := Value; UpdateView; end; end; end; procedure TOriTabSet.SetColors(Index: Integer; Value: TColor); begin case Index of 0: if FColorTabsBack <> Value then begin FColorTabsBack := Value; UpdateView; end; 1: if FColorTabsBorder <> Value then begin FColorTabsBorder := Value; UpdateView; end; 2: if FColorActiveTab <> Value then begin FColorActiveTab := Value; UpdateView; end; 3: if FColorHoverTab <> Value then begin FColorHoverTab := Value; UpdateView; end; end; end; procedure TOriTabSet.SetImages(Value: TCustomImageList); begin if Images <> nil then Images.UnRegisterChanges(FImageChangeLink); FImages := Value; if Images <> nil then begin Images.RegisterChanges(FImageChangeLink); Images.FreeNotification(Self); end; UpdateView; end; procedure TOriTabSet.SetTabsPosition(const Value: TOriTabsPosition); begin if FTabsPosition <> Value then begin FTabsPosition := Value; UpdateView; end; end; procedure TOriTabSet.SetLook(Value: TOriTabSetLook); begin if FLook <> Value then begin FLook := Value; UpdateView; end; end; procedure TOriTabSet.Notification(AComponent: TComponent; Operation: TOperation); begin inherited Notification(AComponent, Operation); if (Operation = opRemove) and (AComponent = Images) then Images := nil; end; procedure TOriTabSet.ImageListChange(Sender: TObject); begin UpdateView; end; procedure TOriTabSet.WMLButtonDblClk(var Message: TLMMouse); var Index: Integer; Control: TControl; begin inherited; if FButtonsVisible then if GetButtonFromPos(Message.Pos.x, Message.Pos.y) <> tsbNone then Exit; Index := GetTabFromPos(Message.Pos.x, Message.Pos.y); if (Index <> -1) and Assigned(FTabs[Index].Control) and (FTabs[Index].Control.HostDockSite = Self) then begin Control := FTabs[Index].Control; Control.ManualDock(nil, nil, alNone); if not Control.Visible then Control.Visible := True; end; end; function TOriTabSet.GetTabIndexFromDockClient(Client: TControl): Integer; var I: Integer; begin Result := -1; if Client.HostDockSite = Self then for I := 0 to FTabs.Count-1 do if FTabs[I].Control = Client then begin Result := I; Break; end; end; procedure TOriTabSet.DoRemoveDockClient(Client: TControl); begin if (FUndockingTab <> -1) and not (csDestroying in ComponentState) then begin FTabs.Delete(FUndockingTab); FTabIndex := -1; // to prevent hiding just selected page ActiveTabIndex := FindNextTabIndex(FUndockingTab-1, True); FUndockingTab := -1; Client.Visible := True; end; end; { not implemented in Lazarus 1.0.4 procedure TOriTabSet.CMDockClient(var Message: TCMDockClient); var DockCtl: TControl; NewTab: TOriTab; begin Message.Result := 0; NewTab := FTabs.Add; try DockCtl := Message.DockSource.Control; if DockCtl is TForm then NewTab.Caption := TForm(DockCtl).Caption; DockCtl.Dock(Self, Message.DockSource.DockRect); except NewTab.Free; raise; end; DockCtl.Align := alClient; NewTab.Control := DockCtl; ActiveTab := NewTab; end; } { not implemented in Lazarus 1.0.4 procedure TOriTabSet.CMUnDockClient(var Message: TCMUnDockClient); begin Message.Result := 0; Message.Client.Align := alNone; Message.Client.Visible := True; FUndockingTab := GetTabIndexFromDockClient(Message.Client); end; } { not implemented in Lazarus 1.0.4 procedure TOriTabSet.CMDockNotification(var Message: TCMDockNotification); var I: Integer; S: TOriString; Index: Integer; begin Index := GetTabIndexFromDockClient(Message.Client); if Index <> -1 then case Message.NotifyRec.ClientMsg of WM_SETTEXT: begin S := POriChar(Message.NotifyRec.MsgLParam); // Search for first CR/LF and end string there for I := 1 to Length(S) do if (S[I] = #13) or (S[I] = #10) then begin SetLength(S, I - 1); Break; end; FTabs[Index].Caption := S; end; end; inherited; end; } { not implemented in Lazarus 1.0.4 procedure TOriTabSet.CMDialogKey(var Message: TCMDialogKey); begin if (tsoUseTabKeys in Options) and (Focused or Windows.IsChild(Handle, Windows.GetFocus)) and (Message.CharCode = VK_TAB) and (GetKeyState(VK_CONTROL) < 0) then begin if GetKeyState(VK_SHIFT) >= 0 then SelectNextTab else SelectPrevTab; Message.Result := 1; end else inherited; end; } {%endregion} end.
(* AVR Basic Compiler Copyright 1997-2002 Silicon Studio Ltd. Copyright 2008 Trioflex OY http://www.trioflex.com *) unit Funproc; interface uses SysUtils, EFile, CompUt, CompDef, Common, NodePool, bs1lex; function AddProcedure(Node: PSym): PSym; { Add New Procedure Name } function GetFunction(Node: PSym): PSym; procedure Init_Proc; implementation procedure Init_Proc; var cur, next: PSym; begin if ProcPool = nil then Exit; cur := ProcPool; repeat next := cur^.right; {FreeNode(cur);} cur := next; until cur = nil; ProcPool := nil; end; function AddProcedure; var P, R, N, Param, Res, First, Last: PSym; fp: Integer; procedure Funtype; var v, subv, typ: integer; begin N := DropNode(N); { Drop : } subv := 0; case N^.val of sym_WORD: begin v := 30; typ := sym_WORD; end; sym_DEF: begin v := WREG.val; typ := sym_DEF; end; sym_BIT: begin v := $3F; subv := 6; typ := sym_ioBit; end; end; N := DropNode(N); { Drop type } if IfL(N, T_AT) then begin N := DropNode(N); { Drop @ } if IfL(N, T_VAR) then begin // function @ v := N^.Val; subv := N^.SubVal; typ := N^.Typ; end else begin error(48); end; end; // DefineSymbol('RESULT', v, subv, typ); { Z } if P^.mid = nil then P^.mid := AllocNode; res := AllocNode; res.yylex := T_VAR; res.typ := typ; res.val := v; res.SubVal := subv; P^.mid^.left := res; end; begin P := AllocNode; { Get Node} if P = nil then begin Exit; { Cant get node } end; fp := 1; if node^.yylex = T_FUNCTION then fp := 2; N := DropNode(node); { Drop Fun/Proc} if ProcPool = nil then begin ProcPool := P; { Point to First Proc;} end else begin R := ProcPool; while R^.Right <> nil do { Seek For Tail} begin R := R^.Right; end; R^.Right := P; { Insert New Procedure!} end; if IfL(N^.right, T_DOT) then begin N^.right := DropNode(N^.right); { Drop Proc name } strcat(N^.name, '$'); strcat(N^.name, N^.right^.Name); DropNode(N^.right); { Drop Proc name } end; // Set Procedure Function Params. with P^ do begin mid := nil; { Nothing!} StrCopy(name, N^.name); val := ip; yylex := T_LABEL; typ := fp; { Procedure ?} end; // DefineLabel(N, nil, 1); // Label at? N := DropNode(N); { Drop Proc name } // if N^.yylex = T_LBRACKET then begin // Define Function Params... N := DropNode(N); { Drop ( } P^.mid := AllocNode; { We Have Params! } Param := AllocNode; { 1st Parameter } P^.mid^.right := Param; { Place to Param Tree } { Procedure ProcName(ident: Type; ident: type); } { Process Formal Paramaters } while N^.yylex = T_LABEL do begin StrCopy(Param^.name, N^.name); First := Param; {First Param of same kind } Last := Param; { Process} N := DropNode(N); { Drop Name } while N^.yylex = T_COMMA do begin N := DropNode(N); { Drop , } if N^.yylex = T_LABEL then begin Param := AllocNode; StrCopy(Param^.name, N^.name); Last^.right := Param; Last := Param; N := DropNode(N); { Drop Name } end else begin { error } end; end; end; // Process TYPE // i:byte @ ; if N^.yylex = T_COLON then begin N := DropNode(N); // Drop Colon //---------- case N^.val of sym_DEF: begin repeat N := DropNode(N); { Drop TYPE SPECIFIER } with First^ do begin val := wreg_def; subval := 0; yylex := T_VAR; typ := sym_DEF; end; if IfL(N, T_AT) then begin N := DropNode(N); { Drop @ } First^.val := N^.Val; N := DropNode(N); { Drop .. } end; DefineSymbol(First^.name, First^.val, 0, sym_DEF); First := First^.right; until First = nil; end; sym_WORD: begin repeat N := DropNode(N); { Drop TYPE SPECIFIER } with First^ do begin val := 30; subval := 0; yylex := T_VAR; typ := sym_WORD; end; if IfL(N, T_AT) then begin N := DropNode(N); { Drop @ } First^.val := N^.Val; N := DropNode(N); { Drop .. } end; DefineSymbol(First^.name, First^.val, 0, sym_WORD); First := First^.right; until First = nil; end; sym_BIT: begin repeat N := DropNode(N); { Drop TYPE SPECIFIER } with First^ do begin val := $3F; subval := 6; yylex := T_VAR; typ := sym_ioBit; end; if IfL(N, T_AT) then begin N := DropNode(N); { Drop @ } First^.val := N^.Val; First^.subval := N^.subVal; First^.typ := N^.typ; N := DropNode(N); { Drop .. } end; DefineSymbol(First^.name, First^.val, First^.subval, First^.typ); { SREG.6 } First := First^.right; until First = nil; N := DropNode(N); { Drop TYPE SPECIFIER } end; end; //--------------- if N.yylex = T_RBRACKET then begin N := DropNode(N); { Drop : } // Check for Function Type if N^.yylex = T_COLON then Funtype; end; end; end else begin // Check for function with no params! if N^.yylex = T_COLON then Funtype; end; end; { Get Pointer to Function/Proc } function GetFunction(Node: PSym): PSym; var N: PSym; begin GetFunction := nil; N := ProcPool; if N = nil then Exit; while N <> nil do begin if se(N^.Name, Node^.Name) then begin GetFunction := N; Exit; end; N := N^.right; end; end; begin ProcPool := nil; end.
unit Test_FIToolkit.Config.Data; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, FIToolkit.Config.Data; type // Test methods for class TConfigData TestTConfigData = class(TGenericTestCase) strict private FConfigData: TConfigData; public procedure SetUp; override; procedure TearDown; override; published procedure TestEmptyData; procedure TestInvalidData; procedure TestValidData; end; implementation uses System.SysUtils, System.IOUtils, TestUtils, TestConsts, FIToolkit.Config.Exceptions; procedure TestTConfigData.SetUp; begin FConfigData := TConfigData.Create; end; procedure TestTConfigData.TearDown; begin FreeAndNil(FConfigData); end; procedure TestTConfigData.TestEmptyData; begin FConfigData.Validate := True; { Check validation - empty custom template file name } CheckException( procedure begin FConfigData.CustomTemplateFileName := String.Empty; end, nil, 'CheckException::<nil>' ); { Check validation - empty exclude project regex } CheckException( procedure begin FConfigData.ExcludeProjectPatterns := [String.Empty]; end, ECDInvalidExcludeProjectPattern, 'CheckException::ECDInvalidExcludeProjectPattern' ); { Check validation - empty exclude unit regex } CheckException( procedure begin FConfigData.ExcludeUnitPatterns := [String.Empty]; end, ECDInvalidExcludeUnitPattern, 'CheckException::ECDInvalidExcludeUnitPattern' ); { Check validation - empty FixInsight executable path } CheckException( procedure begin FConfigData.FixInsightExe := String.Empty; end, ECDFixInsightExeNotFound, 'CheckException::ECDFixInsightExeNotFound' ); { Check validation - empty input file name } CheckException( procedure begin FConfigData.InputFileName := String.Empty; end, ECDInputFileNotFound, 'CheckException::ECDInputFileNotFound' ); { Check validation - zero message count threshold } CheckException( procedure begin FConfigData.NonZeroExitCodeMsgCount := 0; end, nil, 'CheckException::<nil>' ); { Check validation - empty output directory } CheckException( procedure begin FConfigData.OutputDirectory := String.Empty; end, ECDOutputDirectoryNotFound, 'CheckException::ECDOutputDirectoryNotFound' ); { Check validation - empty output file name } CheckException( procedure begin FConfigData.OutputFileName := String.Empty; end, ECDInvalidOutputFileName, 'CheckException::ECDInvalidOutputFileName' ); { Check validation - zero snippet size } CheckException( procedure begin FConfigData.SnippetSize := 0; end, nil, 'CheckException::<nil>' ); { Check validation - empty temp directory } CheckException( procedure begin FConfigData.TempDirectory := String.Empty; end, ECDTempDirectoryNotFound, 'CheckException::ECDTempDirectoryNotFound' ); end; procedure TestTConfigData.TestInvalidData; const REGEX_VALID = '^[0-9]+'; REGEX_INVALID = '[0-|9)'; begin FConfigData.Validate := True; { Check validation - invalid custom template file name } CheckException( procedure begin FConfigData.CustomTemplateFileName := STR_NON_EXISTENT_FILE; end, ECDCustomTemplateFileNotFound, 'CheckException::ECDCustomTemplateFileNotFound' ); { Check validation - invalid exclude project regex } CheckException( procedure begin FConfigData.ExcludeProjectPatterns := [REGEX_VALID, REGEX_INVALID]; end, ECDInvalidExcludeProjectPattern, 'CheckException::ECDInvalidExcludeProjectPattern' ); { Check validation - invalid exclude unit regex } CheckException( procedure begin FConfigData.ExcludeUnitPatterns := [REGEX_VALID, REGEX_INVALID]; end, ECDInvalidExcludeUnitPattern, 'CheckException::ECDInvalidExcludeUnitPattern' ); { Check validation - invalid FixInsight executable path } CheckException( procedure begin FConfigData.FixInsightExe := STR_NON_EXISTENT_FILE; end, ECDFixInsightExeNotFound, 'CheckException::ECDFixInsightExeNotFound' ); { Check validation - invalid input file name } CheckException( procedure begin FConfigData.InputFileName := STR_NON_EXISTENT_FILE; end, ECDInputFileNotFound, 'CheckException::ECDInputFileNotFound' ); { Check validation - invalid message count threshold } CheckException( procedure begin FConfigData.NonZeroExitCodeMsgCount := -1; end, ECDInvalidNonZeroExitCodeMsgCount, 'CheckException::ECDInvalidNonZeroExitCodeMsgCount' ); { Check validation - invalid output directory } CheckException( procedure begin FConfigData.OutputDirectory := STR_NON_EXISTENT_DIR; end, ECDOutputDirectoryNotFound, 'CheckException::ECDOutputDirectoryNotFound' ); { Check validation - invalid output file name } CheckException( procedure begin FConfigData.OutputFileName := STR_INVALID_FILENAME; end, ECDInvalidOutputFileName, 'CheckException::ECDInvalidOutputFileName' ); { Check validation - invalid snippet size } CheckException( procedure begin FConfigData.SnippetSize := -1; end, ECDSnippetSizeOutOfRange, 'CheckException::ECDSnippetSizeOutOfRange' ); { Check validation - invalid temp directory } CheckException( procedure begin FConfigData.TempDirectory := STR_NON_EXISTENT_DIR; end, ECDTempDirectoryNotFound, 'CheckException::ECDTempDirectoryNotFound' ); end; procedure TestTConfigData.TestValidData; const REGEX_VALID1 = '^interface$'; REGEX_VALID2 = '[0-9]+[A-F]{2}'; begin CheckException( procedure begin with FConfigData do begin Validate := True; CustomTemplateFileName := ParamStr(0); ExcludeProjectPatterns := [REGEX_VALID1, REGEX_VALID2]; ExcludeUnitPatterns := [REGEX_VALID1, REGEX_VALID2]; FixInsightExe := ParamStr(0); InputFileName := ParamStr(0); NonZeroExitCodeMsgCount := 1; OutputDirectory := ExtractFileDir(ParamStr(0)); OutputFileName := ExtractFileName(ParamStr(0)); SnippetSize := 1; TempDirectory := ExtractFileDir(ParamStr(0)); end; end, nil, 'CheckException::nil' ); CheckTrue(FConfigData.OutputDirectory.EndsWith(TPath.DirectorySeparatorChar), 'CheckTrue::OutputDirectory.EndsWith(TPath.DirectorySeparatorChar)'); CheckTrue(FConfigData.TempDirectory.EndsWith(TPath.DirectorySeparatorChar), 'CheckTrue::TempDirectory.EndsWith(TPath.DirectorySeparatorChar)'); end; initialization // Register any test cases with the test runner RegisterTest(TestTConfigData.Suite); end.
unit WebServerWizardPage; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, WizardAPI, StdCtrls, ExtCtrls, AppEvnts, InetWiz, ExpertsUIWizard; type TWebServerWizardFrame = class(TFrame, IExpertsWizardPageFrame) CoClassLabel: TLabel; CreateNewISAPIApp: TRadioButton; CreateNewCGIApp: TRadioButton; CreateNewCOMWebApp: TRadioButton; CoClassName: TEdit; CreateNewIndyConsoleApp: TRadioButton; CreateNewIndyVCLApp: TRadioButton; ApplicationEvents1: TApplicationEvents; procedure ApplicationEvents1Idle(Sender: TObject; var Done: Boolean); procedure CreateAppTypeClick(Sender: TObject); private //FOnProjectTypeChangeProc: TProc; FOnProjectTypeChange: TNotifyEvent; FCoClassNameFocused: Boolean; FOnCoClassNameFocused: TNotifyEvent; FHiddenProjectTypes: TProjectTypes; FPage: TCustomExpertsFrameWizardPage; procedure ValidateFields; function GetProjectType: TProjectType; procedure SetProjectType(AProjectType: TProjectType); function GetLeftMargin: Integer; procedure SetLeftMargin(const Value: Integer); procedure SetHiddenProjectTypes(const Value: TProjectTypes); protected function ExpertsFrameValidatePage(ASender: TCustomExpertsWizardPage; var AHandled: Boolean): Boolean; procedure ExpertsFrameUpdateInfo(ASender: TCustomExpertsWizardPage; var AHandled: Boolean); procedure ExpertsFrameCreated(APage: TCustomExpertsFrameWizardPage); procedure ExpertsFrameEnterPage(APage: TCustomExpertsFrameWizardPage); function GetWizardInfo: string; property LeftMargin: Integer read GetLeftMargin write SetLeftMargin; public { Public declarations } // class function CreateFrame(AOwner: TComponent): TWebServerWizardFrame; property ProjectType: TProjectType read GetProjectType write SetProjectType; property OnProjectTypeChange: TNotifyEvent read FOnProjectTypeChange write FOnProjectTypeChange; property HiddenProjectTypes: TProjectTypes read FHiddenProjectTypes write SetHiddenProjectTypes; end; IWebServerWizardPage = interface(IWizardPage) ['{D62307AA-C316-4FAE-9B1B-5D873EFDD693}'] function GetProjectType: TProjectType; function GetOnProjectTypeChange: TNotifyEvent; function GetFrame: TWebServerWizardFrame; procedure SetOnProjectTypeChange(AValue: TNotifyEvent); function GetCoClassName: string; function GetLeftMargin: Integer; function GetHiddenProjectTypes: TProjectTypes; procedure SetHiddenProjectTypes(AProjectTypes: TProjectTypes); procedure SetLeftMargin(const Value: Integer); property ProjectType: TProjectType read GetProjectType; property CoClassName: string read GetCoClassName; property Frame: TWebServerWizardFrame read GetFrame; property LeftMargin: Integer read GetLeftMargin write SetLeftMargin; property OnProjectTypeChange: TNotifyEvent read GetOnProjectTypeChange write SetOnProjectTypeChange; property HiddenProjectTypes: TProjectTypes read GetHiddenProjectTypes write SetHiddenProjectTypes; end; TWebServerWizardPage = class(TWizardPage, IWebServerWizardPage, IWizardPage, IWizardPageEvents) private FFrame: TWebServerWizardFrame; FProjectType: TProjectType; FLeftMargin: Integer; FOnProjectTypeChange: TNotifyEvent; FHiddenProjectTypes: TProjectTypes; procedure OnProjectTypeChange(ASender: TObject); procedure UpdateInfo; function GetProjectType: TProjectType; function GetWizardInfo(AProjectType: TProjectType): string; procedure SetProjectType(const Value: TProjectType); function GetCoClassName: string; function GetLeftMargin: Integer; procedure SetLeftMargin(const Value: Integer); { IWizardPageEvents } procedure OnEnterPage(PageTransition: TPageTransition); procedure OnLeavePage(PageTransition: TPageTransition); procedure OnLeavingPage(PageTransition: TPageTransition; var Allow: Boolean); function GetOnProjectTypeChange: TNotifyEvent; procedure SetOnProjectTypeChange(AValue: TNotifyEvent); procedure OnCoClassNameFocused(ASender: TObject); function GetFrame: TWebServerWizardFrame; function GetHiddenProjectTypes: TProjectTypes; procedure SetHiddenProjectTypes(AProjectTypes: TProjectTypes); public constructor Create; destructor Destroy; override; { IWizardPage } function Close: Boolean; function Page: TFrame; function PageID: TGUID; override; procedure Clear; property ProjectType: TProjectType read GetProjectType write SetProjectType; property HiddenProjectTypes: TProjectTypes read GetHiddenProjectTypes write SetHiddenProjectTypes; end; const sWebServerWizardPage = 'sWebServerWizardPage'; implementation {$R *.dfm} uses NetConst,InetDesignResStrs; { TWebServerWizardPage } procedure TWebServerWizardPage.Clear; begin inherited; end; procedure TWebServerWizardPage.UpdateInfo; begin if Wizard <> nil then if (FFrame <> nil) and FFrame.FCoClassNameFocused then Wizard.Info := sCoClassNameInfo else Wizard.Info := GetWizardInfo(ProjectType); end; function TWebServerWizardPage.GetCoClassName: string; begin if FFrame <> nil then Result := FFrame.CoClassName.Text else Result := ''; end; function TWebServerWizardPage.GetFrame: TWebServerWizardFrame; begin Result := FFrame; end; function TWebServerWizardPage.GetHiddenProjectTypes: TProjectTypes; begin Result := FHiddenProjectTypes; end; function TWebServerWizardPage.GetLeftMargin: Integer; begin if FFrame <> nil then Result := FFrame.LeftMargin else Result := FLeftMargin; end; function TWebServerWizardPage.GetOnProjectTypeChange: TNotifyEvent; begin if FFrame <> nil then Result := FFrame.OnProjectTypeChange else Result := FOnProjectTypeChange; end; function TWebServerWizardPage.GetProjectType: TProjectType; begin if FFrame <> nil then Result := FFrame.ProjectType else Result := FProjectType; end; function TWebServerWizardPage.GetWizardInfo(AProjectType: TProjectType): string; begin case AProjectType of ptISAPI: Result := sISAPIInfo; ptCGI: Result := sCGIInfo; ptIndyForm: Result := sIndyFormInfo; ptIndyConsole: Result := sIndyConsoleInfo; ptCOM: Result := sWebAppDebugExeInfo; end; end; function TWebServerWizardPage.Close: Boolean; begin Result := True; end; constructor TWebServerWizardPage.Create; begin inherited; Title := sWebServerPageTitle; Description := sWebServerPageDescription; FProjectType := ptIndyForm; Name := sWebServerWizardPage; end; destructor TWebServerWizardPage.Destroy; begin inherited; end; function TWebServerWizardPage.Page: TFrame; begin if FFrame = nil then begin FFrame := TWebServerWizardFrame.Create(Wizard.Owner); FFrame.ProjectType := FProjectType; FFrame.OnProjectTypeChange := OnProjectTypeChange; FFrame.FOnCoClassNameFocused := OnCoClassNameFocused; FFrame.LeftMargin := FLeftMargin; FFrame.HiddenProjectTypes := FHiddenProjectTypes; end; Result := FFrame; end; procedure TWebServerWizardPage.OnEnterPage(PageTransition: TPageTransition); begin UpdateInfo; end; procedure TWebServerWizardPage.OnLeavePage(PageTransition: TPageTransition); begin end; procedure TWebServerWizardPage.OnLeavingPage(PageTransition: TPageTransition; var Allow: Boolean); begin try case PageTransition of prNext, prFinish: if FFrame <> nil then FFrame.ValidateFields; end; except on E: Exception do begin MessageDlg(E.Message, mtError, [mbOK], 0); Allow := False; end; end; end; procedure TWebServerWizardPage.OnProjectTypeChange(ASender: TObject); begin FProjectType := FFrame.ProjectType; UpdateInfo; if Assigned(FOnProjectTypeChange) then FOnProjectTypeChange(Self); end; procedure TWebServerWizardPage.OnCoClassNameFocused(ASender: TObject); begin UpdateInfo; end; function TWebServerWizardPage.PageID: TGUID; begin Result := IWebServerWizardPage; end; procedure TWebServerWizardPage.SetHiddenProjectTypes( AProjectTypes: TProjectTypes); begin if FFrame <> nil then FFrame.HiddenProjectTypes := AProjectTypes else FHiddenProjectTypes := AProjectTypes; end; procedure TWebServerWizardPage.SetLeftMargin(const Value: Integer); begin if FFrame <> nil then FFrame.LeftMargin := Value else FLeftMargin := Value; end; procedure TWebServerWizardPage.SetOnProjectTypeChange(AValue: TNotifyEvent); begin if FFrame <> nil then FFrame.OnProjectTypeChange := AValue else FOnProjectTypeChange := AValue; end; procedure TWebServerWizardPage.SetProjectType(const Value: TProjectType); begin if FFrame <> nil then FFrame.ProjectType := Value else FProjectType := Value; end; procedure TWebServerWizardFrame.ApplicationEvents1Idle(Sender: TObject; var Done: Boolean); begin CoClassName.Enabled := CreateNewCOMWebApp.Checked; CoClassLabel.Enabled := CreateNewCOMWebApp.Checked; if CoClassName.Focused <> FCoClassNameFocused then begin FCoClassNameFocused := CoClassName.Focused; if Assigned(FOnCoClassNameFocused) then FOnCoClassNameFocused(Self); end; end; //class function TWebServerWizardFrame.CreateFrame(AOwner: TComponent): TWebServerWizardFrame; //var // LFrame: TWebServerWizardFrame; //begin // LFrame := TWebServerWizardFrame.Create(AOwner); //// LFrame.HiddenProjectTypes := [ptCom]; // Deprecate Web App Debugger //// LFrame.ProjectType := ptIndyForm; //// //LFrame.FOnProjectTypeChange := AOnProjectChange; //// LFrame.LeftMargin := ExpertsUIWizard.cExpertsLeftMargin; // Result := LFrame; //end; procedure TWebServerWizardFrame.CreateAppTypeClick(Sender: TObject); begin if Assigned(OnProjectTypeChange) then OnProjectTypeChange(Self); Self.FPage.UpdateInfo; Self.FPage.DoOnFrameOptionsChanged; // if Assigned(FOnProjectTypeChangeProc) then // FOnProjectTypeChange(Self); end; procedure TWebServerWizardFrame.ExpertsFrameCreated( APage: TCustomExpertsFrameWizardPage); begin FPage := APage; HiddenProjectTypes := [ptCom]; // Deprecate Web App Debugger ProjectType := ptIndyForm; //LFrame.FOnProjectTypeChange := AOnProjectChange; LeftMargin := ExpertsUIWizard.cExpertsLeftMargin; FPage.Title := sWebServerPageTitle; FPage.Description := sWebServerPageDescription; end; procedure TWebServerWizardFrame.ExpertsFrameEnterPage( APage: TCustomExpertsFrameWizardPage); begin // APage.UpdateInfo; end; procedure TWebServerWizardFrame.ExpertsFrameUpdateInfo( ASender: TCustomExpertsWizardPage; var AHandled: Boolean); begin AHandled := True; ASender.WizardInfo := GetWizardInfo; end; function TWebServerWizardFrame.ExpertsFrameValidatePage( ASender: TCustomExpertsWizardPage; var AHandled: Boolean): Boolean; begin AHandled := True; Result := True; ValidateFields; // raise exception end; procedure TWebServerWizardFrame.ValidateFields; begin if CreateNewCOMWebApp.Checked then if not IsValidIdent(CoClassName.Text) then begin CoClassName.SetFocus; raise Exception.CreateFmt(sInvalidIdent, [CoClassName.Text]); end; end; function TWebServerWizardFrame.GetLeftMargin: Integer; begin Result := CreateNewCGIApp.Left; end; function TWebServerWizardFrame.GetProjectType: TProjectType; begin if CreateNewCGIApp.Checked then Result := ptCGI else if CreateNewCOMWebApp.Checked then Result := ptCOM else if CreateNewISAPIApp.Checked then Result := ptISAPI else if CreateNewIndyVCLApp.Checked then Result := ptIndyForm else if CreateNewIndyConsoleApp.Checked then Result := ptIndyConsole else begin Result := ptIndyForm; Assert(False); end; end; procedure TWebServerWizardFrame.SetLeftMargin(const Value: Integer); begin CoClassLabel.Left := CoClassLabel.Left + Value - CreateNewISAPIApp.Left; CoClassName.Left := CoClassName.Left + Value - CreateNewISAPIApp.Left; CreateNewISAPIApp.Left := Value; CreateNewCGIApp.Left := Value; CreateNewIndyVCLApp.Left := Value; CreateNewIndyConsoleApp.Left := Value; CreateNewCOMWebApp.Left := Value; end; procedure TWebServerWizardFrame.SetProjectType(AProjectType: TProjectType); begin if ProjectType <> AProjectType then begin case AProjectType of ptISAPI: CreateNewISAPIApp.Checked := True; ptCGI: CreateNewCGIApp.Checked := True; ptIndyForm: CreateNewIndyVCLApp.Checked := True; ptIndyConsole: CreateNewIndyConsoleApp.Checked := True; ptCOM: CreateNewCOMWebApp.Checked := True; end; if Assigned(OnProjectTypeChange) then OnProjectTypeChange(nil); // if Assigned(FOnProjectTypeChangeProc) then // FOnProjectTypeChange(Self); if Self.FPage <> nil then Self.FPage.UpdateInfo; end; end; procedure TWebServerWizardFrame.SetHiddenProjectTypes( const Value: TProjectTypes); var LMoveUp: Integer; begin if FHiddenProjectTypes <> Value then begin FHiddenProjectTypes := Value; Assert(FHiddenProjectTypes - [ptCGI, ptCom] = []); // Only implemented for CGI and Web App Debugger if ptCGI in FHiddenProjectTypes then begin LMoveUp := CreateNewComWebApp.Top - CreateNewCGIApp.Top; CreateNewCGIApp.Visible := False; CreateNewCOMWebApp.Top := CreateNewCOMWebApp.Top - LMoveUp; CoClassLabel.Top := CoClassLabel.Top - LMoveUp; CoClassName.Top := CoClassName.Top - LMoveUp; end; end; if True then // Always hide deprecated WebAppDebugger // ptCOM in FHiddenProjectTypes then begin CreateNewCOMWebApp.Visible := False; CoClassLabel.Visible := False; CoClassName.Visible := False; end end; function TWebServerWizardFrame.GetWizardInfo: string; begin case ProjectType of ptIndyForm: Result := sIndyFormInfo; ptIndyConsole: Result := sIndyConsoleInfo; ptISAPI: Result := sISAPIInfo; ptCGI: Result := sCGIInfo; else Result := ''; end; end; end.
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Menus; type TForm1 = class(TForm) Button1: TButton; Edit1: TEdit; Memo1: TMemo; Panel1: TPanel; procedure FormCreate(Sender: TObject); procedure Panel1Resize(Sender: TObject); procedure Panel1Click(Sender: TObject); procedure Memo1Enter(Sender: TObject); procedure Edit1Enter(Sender: TObject); //1.定义方法 procedure USER_SYSMENU(var Msg: TWMMenuSelect); message WM_SYSCommand; procedure WMNCPaint(var Msg: TWMNCPaint); message WM_NCPAINT; procedure FormPaint(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} //2.实现方法 procedure TForm1.WMNCPaint(var Msg: TWMNCPaint); var dc: hDc; Pen: hPen; OldPen: hPen; OldBrush: hBrush; begin inherited; //获取本窗口设备上下文 dc := GetWindowDC(Handle); msg.Result := 1; //创建画笔,实线、宽度为l、红色 Pen := CreatePen(PS_SOLID, 10, RGB(255, 0, 0)); //将新创建的画笔选入窗体的设备上下文 OldPen := SelectObject(dc, Pen); //将系统库存的空画刷入窗体的设备上下文 OldBrush := SelectObject(dc, GetStockObject(NULL_BRUSH)); //给窗体“镶边” Rectangle(dc, 0, 0, Form1.Width, Form1.Height); //恢复旧画笔和旧画刷 SelectObject(dc, OldBrush); SelectObject(dc, oldPen); //删除新创建的画笔,释放系统资源 DeleteObject(Pen); //释放设备上下文 ReleaseDC(Handle, Canvas.Handle); end; //3.DBGrid控件描边 procedure TForm1.FormPaint(Sender: TObject); var Rct: TRect; begin Rct := Rect(Memo1.Left, Memo1.Top, Memo1.Left + Memo1.Width, Memo1.top + Memo1.Height); with Form1.Canvas do begin Pen.Color := clRed; Pen.Width := 5; Brush.Style := bsClear; Rectangle(Rct); end; Rct := Rect(Button1.Left, Button1.Top, Button1.Left + Button1.Width, Button1.top + Button1.Height); with Form1.Canvas do begin Pen.Color := clBlue; Pen.Width := 5; Brush.Style := bsClear; Rectangle(Rct); end; Rct := Rect(0, 0, Form1.Width - 18, Form1.Height - 40); with Form1.Canvas do begin Pen.Color := clYellow; Pen.Width := 5; Brush.Style := bsClear; Rectangle(Rct); end; end; procedure TForm1.FormCreate(Sender: TObject); var bmp: TBitmap; hMenu: DWORD; begin hMenu := getsystemmenu(handle, false); {获取系统菜单句柄} appendmenu(hMenu, MF_SEPARATOR, 0, nil); appendmenu(hMenu, MF_STRING, 100, '关于(&A)'); AppendMenu(hMenu, MF_STRING, 101, '帮忙(&H)'); // AppendMenu(hMenu,MF_POPUP or MF_STRING,PopupMenu1.Handle,'Sub Menu'); {加入用户菜单} { DeleteMenu(hMenu,0,MF_BYPOSITION); //删掉最上面一个菜单项 DeleteMenu(hmenu,1,MF_BYPOSITION); DeleteMenu(hmenu,2,MF_BYPOSITION); }//DeleteMenu(hmenu,0,MF_BYPOSITION); Bmp := TBitmap.Create; Bmp.LoadFromFile('E:\范二朋\rev\Dbox\邮件合并生成Doc\bmp\布\1.bmp'); //Bmp.LoadFromResourceID(0,seed); Brush.Bitmap := Bmp; //Image1.Picture.Bitmap; Panel1.repaint; Memo1.Repaint; Edit1.Repaint; Button1.Repaint; end; procedure TForm1.Panel1Resize(Sender: TObject); var bmp: TBitmap; begin Bmp := TBitmap.Create; Bmp.LoadFromFile('E:\范二朋\rev\Dbox\邮件合并生成Doc\bmp\布\2.bmp'); //Bmp.LoadFromResourceID(0,seed); Panel1.Brush.Bitmap := Bmp; //Image1.Picture.Bitmap; end; procedure TForm1.Panel1Click(Sender: TObject); var bmp: TBitmap; begin Bmp := TBitmap.Create; Bmp.LoadFromFile('E:\范二朋\rev\Dbox\邮件合并生成Doc\bmp\布\2.bmp'); //Bmp.LoadFromResourceID(0,seed); Brush.Bitmap := Bmp; //Image1.Picture.Bitmap; Self.Update; end; procedure TForm1.Memo1Enter(Sender: TObject); var bmp: TBitmap; begin Bmp := TBitmap.Create; Bmp.LoadFromFile('E:\范二朋\rev\Dbox\邮件合并生成Doc\bmp\布\3.bmp'); //Bmp.LoadFromResourceID(0,seed); Memo1.Brush.Bitmap := Bmp; //Image1.Picture.Bitmap; memo1.Repaint; end; procedure TForm1.Edit1Enter(Sender: TObject); var bmp: TBitmap; begin Bmp := TBitmap.Create; Bmp.LoadFromFile('E:\范二朋\rev\Dbox\邮件合并生成Doc\bmp\布\3.bmp'); //Bmp.LoadFromResourceID(0,seed); Memo1.Brush.Bitmap := Bmp; //Image1.Picture.Bitmap; Edit1.Repaint; end; procedure TForm1.user_sysmenu(var msg: TWMMENUSELECT); begin self.Caption := IntToStr(msg.iditem) + ' '; inherited; { 作缺省处理,必须调用这一过程} end; end.
unit ncaFrmEscolhaProdDup; { ResourceString: Dario 11/03/13 } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, cxControls, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, cxNavigator, DB, cxDBData, cxTextEdit, cxCurrencyEdit, cxGridLevel, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxClasses, cxGridCustomView, cxGrid, StdCtrls, cxButtons, LMDControl, LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDSimplePanel, nxdb, cxImage, cxLabel, cxMemo, ExtCtrls; Const kMinImageHeight = 60; kMaxImageHeight = 100; type TFrmEscolhaProdDup = class(TForm) dsTab: TDataSource; Tab: TnxTable; TabID: TAutoIncField; TabPreco: TCurrencyField; TabImagem: TGraphicField; LMDSimplePanel1: TLMDSimplePanel; LMDSimplePanel2: TLMDSimplePanel; cxButton1: TcxButton; Grid: TcxGrid; TVprod: TcxGridDBTableView; TVprodID: TcxGridDBColumn; TVDescr: TcxGridDBColumn; TVprodPreco: TcxGridDBColumn; GL: TcxGridLevel; TVprodUnid: TcxGridDBColumn; TVprodImagem: TcxGridDBColumn; cxStyleRepository1: TcxStyleRepository; cxStyle1: TcxStyle; cxStyle2: TcxStyle; cxStyle3: TcxStyle; cxStyle4: TcxStyle; cxButton2: TcxButton; TabCodigo: TWideStringField; TabDescricao: TWideStringField; TabUnid: TWideStringField; TabObs: TWideMemoField; TabCategoria: TWideStringField; procedure cxButton1Click(Sender: TObject); procedure TVprodGetCellHeight(Sender: TcxCustomGridTableView; ARecord: TcxCustomGridRecord; AItem: TcxCustomGridTableItem; ACellViewInfo: TcxGridTableDataCellViewInfo; var AHeight: Integer); procedure TVprodCustomDrawCell(Sender: TcxCustomGridTableView; ACanvas: TcxCanvas; AViewInfo: TcxGridTableDataCellViewInfo; var ADone: Boolean); procedure FormCreate(Sender: TObject); procedure cxButton2Click(Sender: TObject); procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); private Fid : integer; FIniH : integer; FNewH : integer; //FRealH : integer; //fsl : TStringList; //Fcalcular, fok : boolean; { Private declarations } public function Mostrar(aCodigo: string):integer; { Public declarations } end; var FrmEscolhaProdDup: TFrmEscolhaProdDup; implementation {$R *.dfm} uses ncaFrmPri; { TFrmEscolhaProdDup } procedure TFrmEscolhaProdDup.cxButton1Click(Sender: TObject); begin Fid := TabID.AsInteger; Close; end; procedure TFrmEscolhaProdDup.cxButton2Click(Sender: TObject); begin Fid := -1; Close; end; procedure TFrmEscolhaProdDup.FormCreate(Sender: TObject); begin //fsl := TStringList.create; end; procedure TFrmEscolhaProdDup.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin case Key of Key_Esc : begin Fid := -1; Close; end; Key_Enter : begin Fid := TabID.AsInteger;; Close; end; end; end; function TFrmEscolhaProdDup.Mostrar(aCodigo: string):integer; begin Fid := -1; TVprod.DataController.DataSource := nil; tab.filter := '(codigo='''+trim(aCodigo)+''')'; // do not localize tab.Filtered := true; tab.Open; FIniH := height - grid.height ; while not tab.Eof do begin if TabImagem.IsNull then FNewH := FNewH + kMinImageHeight + 1 else FNewH := FNewH + kMaxImageHeight + 1; tab.Next; end; TVprod.OptionsView.HeaderHeight := 19; Height := FIniH + FNewH + (2*TVprod.OptionsView.HeaderHeight) + 2; //50; tab.First; TVprod.DataController.DataSource := dsTab; //Fcalcular := true; ShowModal; tab.Close; result := Fid; end; procedure TFrmEscolhaProdDup.TVprodCustomDrawCell( Sender: TcxCustomGridTableView; ACanvas: TcxCanvas; AViewInfo: TcxGridTableDataCellViewInfo; var ADone: Boolean); begin ADone := false; { if fsl.indexof(inttostr(AViewInfo.RecordViewInfo.Index))=-1 then begin //if fsl.indexof(inttostr(AViewInfo.Item.ID))=-1 then begin fsl.add (inttostr(AViewInfo.RecordViewInfo.Index)); //fsl.add (inttostr(AViewInfo.Item.ID)); //AViewInfo.Item.ID; FRealH := FRealH + AViewInfo.Height; end; // else if fsl.count = tab.RecordCount then Timer1.enabled:=true; } end; procedure TFrmEscolhaProdDup.TVprodGetCellHeight(Sender: TcxCustomGridTableView; ARecord: TcxCustomGridRecord; AItem: TcxCustomGridTableItem; ACellViewInfo: TcxGridTableDataCellViewInfo; var AHeight: Integer); begin //if ARecord.ViewData. then //if not Fcalcular then exit; if AHeight>kMaxImageHeight then AHeight := kMaxImageHeight; if AHeight<kMinImageHeight then AHeight := kMinImageHeight; {if fsl.indexof(inttostr(ARecord.Index))=-1 then begin fsl.add (inttostr(ARecord.Index)); if TabImagem.IsNull then FNewH := FNewH + kMinImageHeight + 1 else FNewH := FNewH + kMaxImageHeight + 1; FRealH := FRealH + AHeight; end; // else if (not fok) and (fsl.count = tab.RecordCount) then begin Height := FIniH + FRealH + (2*TVprod.OptionsView.HeaderHeight) + 2; //50; fok := true;//Timer1.enabled:=true; Fcalcular := false; end; } end; end.
unit MasterMind.View.Console; {$IFDEF FPC}{$MODE DELPHI}{$ENDIF} interface uses MasterMind.API; type TMasterMindConsoleView = class(TInterfacedObject, IGameView) private FPresenter: IGamePresenter; procedure WriteEvaluatedGuess(const PreviousGuess: TEvaluatedGuess); procedure WriteGuessResult(const GuessResult: TGuessEvaluationResult); procedure WriteHint(const Hint: TMasterMindHint); function GetColorForHint(const Hint: TMasterMindHint): Integer; function GetCharForHint(const Hint: TMasterMindHint): Char; procedure WriteCode(const Code: TMasterMindCode); procedure WriteCodeColor(const Color: TMasterMindCodeColor); function CodeColorToTextColor(const Color: TMasterMindCodeColor): Integer; procedure AskToStartNewGame; public constructor Create; procedure Start; procedure StartRequestGuess(const PreviousGuesses: TPreviousGuesses); procedure ShowGuesses(const PreviousGuesses: TPreviousGuesses); procedure ShowPlayerWinsMessage(const PreviousGuesses: TPreviousGuesses); procedure ShowPlayerLosesMessage(const PreviousGuesses: TPreviousGuesses); end; implementation uses MasterMind.PresenterFactory, MasterMind.ConsoleUtils, crt; constructor TMasterMindConsoleView.Create; begin inherited Create; FPresenter := TMasterMindPresenterFactory.CreatePresenter(Self); end; procedure TMasterMindConsoleView.Start; begin FPresenter.NewGame; end; procedure TMasterMindConsoleView.StartRequestGuess(const PreviousGuesses: TPreviousGuesses); var Code: TMasterMindCode; CodeString: String; begin repeat WriteLn(Output); Writeln(Output, 'Make a guess!'); WriteLn(Output); Writeln(Output, 'A guess consists of ', Length(Code), ' colors.'); Writeln(Output, 'Type "robw" if you want to guess red, orange, brown, white.'); Writeln(Output, 'Select your code from these colors: '); TextColor(Green); Writeln(Output, ' (G)reen'); TextColor(Yellow); Writeln(Output, ' (Y)ello'); TextColor(LightRed); Writeln(Output, ' (O)range'); TextColor(Red); Writeln(Output, ' (R)ed'); TextColor(White); Writeln(Output, ' (W)hite'); TextColor(Brown); Writeln(Output, ' (B)rown'); TextColor(White); WriteLn(Output); ReadLn(Input, CodeString); until TryStringToCode(CodeString, Code); FPresenter.TakeGuess(Code); end; procedure TMasterMindConsoleView.ShowGuesses(const PreviousGuesses: TPreviousGuesses); var I: Integer; begin for I := High(PreviousGuesses) downto Low(PreviousGuesses) do WriteEvaluatedGuess(PreviousGuesses[I]); end; procedure TMasterMindConsoleView.ShowPlayerWinsMessage(const PreviousGuesses: TPreviousGuesses); begin WriteLn(Output, 'You win!'); AskToStartNewGame; end; procedure TMasterMindConsoleView.ShowPlayerLosesMessage(const PreviousGuesses: TPreviousGuesses); begin WriteLn(Output, 'You lose!'); WriteLn(Output); Write('Searched code was: '); WriteCode(FPresenter.CodeToBeGuessed); WriteLn(Output); AskToStartNewGame; end; procedure TMasterMindConsoleView.WriteEvaluatedGuess(const PreviousGuess: TEvaluatedGuess); begin WriteGuessResult(PreviousGuess.GuessResult); Write(Output, ' '); WriteCode(PreviousGuess.GuessedCode); WriteLn(Output); end; procedure TMasterMindConsoleView.WriteGuessResult(const GuessResult: TGuessEvaluationResult); var Hint: TMasterMindHint; begin for Hint in GuessResult do WriteHint(Hint); end; procedure TMasterMindConsoleView.WriteHint(const Hint: TMasterMindHint); var Color: Integer; Chr: Char; begin Color := GetColorForHint(Hint); TextColor(Color); Chr := GetCharForHint(Hint); Write(Output, Chr); TextColor(White); end; function TMasterMindConsoleView.GetColorForHint(const Hint: TMasterMindHint): Integer; const COLORS: array[TMasterMindHint] of Integer = ( DarkGray, White, LightRed ); begin Result := COLORS[Hint]; end; function TMasterMindConsoleView.GetCharForHint(const Hint: TMasterMindHint): Char; begin if Hint = mmhNoMatch then Result := ' ' else Result := 'o'; end; procedure TMasterMindConsoleView.WriteCode(const Code: TMasterMindCode); var Color: TMasterMindCodeColor; begin for Color in Code do WriteCodeColor(Color); end; procedure TMasterMindConsoleView.WriteCodeColor(const Color: TMasterMindCodeColor); var CharColor: Integer; begin CharColor := CodeColorToTextColor(Color); TextColor(CharColor); Write(Output, 'O'); TextColor(White); end; function TMasterMindConsoleView.CodeColorToTextColor(const Color: TMasterMindCodeColor): Integer; const COLORS: array[TMasterMindCodeColor] of Integer = ( Green, Yellow, LightRed, Red, White, Brown ); begin Result := COLORS[Color]; end; procedure TMasterMindConsoleView.AskToStartNewGame; var Chr: Char; begin repeat Write('Do you want to start a new game? (y/n)'); Read(Input, Chr); until (Chr = 'y') or (Chr = 'n'); if Chr = 'y' then FPresenter.NewGame else FPresenter := Nil; end; end.
unit SettingsFrame; {$mode objfpc}{$H+} interface uses Classes, TreeFilterEdit, Forms, StdCtrls, ExtCtrls, ComCtrls, Spin, Dialogs, IDELocale, AppSettings; type { TSettingsFrame } TSettingsFrame = class(TFrame) AssemblerTabSheet: TTabSheet; CDChange: TColorDialog; AsmVerboseCheckBox: TCheckBox; CompilerTabSheet: TTabSheet; FontSizeSpinEdit: TSpinEdit; GeneralTabSheet: TTabSheet; HexEditorFontTabSheet: TTabSheet; FontNameLabel: TLabel; FontSizeLabel: TLabel; LocaleComboBox: TComboBox; FontNameComboBox: TComboBox; LocaleLabel: TLabel; OptionsPageControl: TPageControl; OptionsTreeFilterEdit: TTreeFilterEdit; OptionsTreeView: TTreeView; Panel1: TPanel; ReOpenCheckBox: TCheckBox; Splitter1: TSplitter; procedure OnComponentChange(Sender: TObject); procedure OptionsTreeViewClick(Sender: TObject); public constructor Create(AOwner: TComponent); override; destructor Destroy; override; private initialize: boolean; end; implementation {$R *.lfm} { TSettingsFrame } procedure TSettingsFrame.OptionsTreeViewClick(Sender: TObject); var node: TTreeNode; i: integer; begin node := OptionsTreeView.Selected; if node <> nil then begin for i := 0 to OptionsPageControl.PageCount - 1 do begin if OptionsPageControl.Pages[i].Caption = node.Text then begin OptionsPageControl.ActivePageIndex := i; exit; end; end; end; end; procedure TSettingsFrame.OnComponentChange(Sender: TObject); begin if initialize then exit; //General Settings.Language := LocaleComboBox.Text; Settings.ReOpenAtStart := ReOpenCheckBox.Checked; //Editor general Settings.FontName := FontNameComboBox.Text; Settings.FontSize := FontSizeSpinEdit.Value; //assembler Settings.AsmVerbose := AsmVerboseCheckBox.Checked; end; constructor TSettingsFrame.Create(AOwner: TComponent); var i: integer; begin inherited Create(AOwner); OptionsPageControl.ShowTabs := false; OptionsTreeView.Items[0].Selected := true; OptionsPageControl.ActivePageIndex := 0; LoadTranslations(LocaleComboBox); initialize := True; //General LocaleComboBox.Text := Settings.Language; ReOpenCheckBox.Checked := Settings.ReOpenAtStart; //Editor FontNameComboBox.Items.Assign(Screen.Fonts); FontNameComboBox.Text := Settings.FontName; FontSizeSpinEdit.Value := Settings.FontSize; //Assembler AsmVerboseCheckBox.Checked := Settings.AsmVerbose; initialize := False; end; destructor TSettingsFrame.Destroy; begin //save all settings Settings.Save; inherited Destroy; end; end.
unit pdv_forma_pagamento; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, StdCtrls, cxButtons, cxControls, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom, dxSkinDarkSide, dxSkinFoggy, dxSkinGlassOceans, dxSkiniMaginary, dxSkinLilian, dxSkinLiquidSky, dxSkinLondonLiquidSky, dxSkinMcSkin, dxSkinMoneyTwins, dxSkinOffice2007Black, dxSkinOffice2007Blue, dxSkinOffice2007Green, dxSkinOffice2007Pink, dxSkinOffice2007Silver, dxSkinOffice2010Black, dxSkinOffice2010Blue, dxSkinOffice2010Silver, dxSkinPumpkin, dxSkinSeven, dxSkinSharp, dxSkinSilver, dxSkinSpringTime, dxSkinStardust, dxSkinSummer2008, dxSkinsDefaultPainters, dxSkinValentine, dxSkinXmas2008Blue, cxLabel, cxTextEdit, DB, Provider, ADODB, cxCurrencyEdit, cxMaskEdit, cxButtonEdit, ExtCtrls, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox; type TfrmFormaPagamento = class(TForm) scbMenu: TScrollBox; scbValor: TScrollBox; adqPadrao: TADOQuery; dspPadrao: TDataSetProvider; dtsPadrao: TDataSource; adqPadraoID: TAutoIncField; adqPadraoID_CAIXA: TIntegerField; adqPadraoVRINICIAL: TFloatField; adqPadraoVRCORRIGIDO: TFloatField; adqPadraoDTMOVI: TDateField; adqPadraoFUNCICONFABERTURA: TIntegerField; adqPadraoSTATUS: TStringField; lblFormaPagamento: TcxLabel; btnCartao: TcxButton; btnDinheiro: TcxButton; panEscolheCartao: TPanel; dtsBandeira: TDataSource; adqBandeira: TADOQuery; adqBandeiraid: TAutoIncField; adqBandeiranmbandeira: TWideStringField; cxButton1: TcxButton; panBandeira: TPanel; cxLabel1: TcxLabel; edtBandeira: TcxLookupComboBox; panCartao: TPanel; btnDebito: TcxButton; btnCredito: TcxButton; procedure FormShow(Sender: TObject); procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure btnDinheiroClick(Sender: TObject); procedure btnCreditoClick(Sender: TObject); procedure btnDebitoClick(Sender: TObject); procedure btnCartaoClick(Sender: TObject); private { Private declarations } procedure validaBandeira(); public { Public declarations } end; function Escolhe_Forma_Pagamento: TStringList; var frmFormaPagamento: TfrmFormaPagamento; stForma: String; stBandeira: string; implementation {$R *.dfm} uses lib_mensagem; { TfrmFormaPagamento } function Escolhe_Forma_Pagamento: TStringList; begin frmFormaPagamento := TfrmFormaPagamento.Create(Nil); frmFormaPagamento.ShowModal; Result := TStringList.Create; Result.Add(stForma); if stForma <> 'DI' then Result.Add(stBandeira); end; procedure TfrmFormaPagamento.FormShow(Sender: TObject); var iComp: Integer; begin stForma := ''; stBandeira := ''; for iComp := 0 to pred(scbMenu.ControlCount) do begin scbMenu.Controls[iComp].Width := Trunc(scbMenu.Width/(scbMenu.ControlCount)); end; panEscolheCartao.Visible := False; Height := 159; adqBandeira.Close; adqBandeira.Open; end; procedure TfrmFormaPagamento.FormClose(Sender: TObject; var Action: TCloseAction); begin Release; end; procedure TfrmFormaPagamento.btnDinheiroClick(Sender: TObject); begin stForma := 'DI'; Close; end; procedure TfrmFormaPagamento.btnCreditoClick(Sender: TObject); begin stForma := 'CR'; validaBandeira(); Close; end; procedure TfrmFormaPagamento.btnDebitoClick(Sender: TObject); begin stForma := 'DE'; validaBandeira(); Close; end; procedure TfrmFormaPagamento.btnCartaoClick(Sender: TObject); begin panEscolheCartao.Visible := visible; Height := 289; end; procedure TfrmFormaPagamento.validaBandeira; begin if (edtBandeira.EditText = '') then begin ShowMessage('Bandeira do Cartão deve ser selecionada.'); Abort; end; stBandeira := IntToStr(edtBandeira.EditValue); end; end.
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { } {*******************************************************} unit ExpertsTemplates; interface uses Classes, ToolsAPI, SysUtils, Generics.Collections; type IPropertyPairs = interface; TExpertsTemplateFileManager = class(TComponent) public function GetFileName(const APersonality: string): string; virtual; abstract; end; TCustomExpertsTemplatePersonalityFiles = class(TExpertsTemplateFileManager) private FCBuilderTemplateFile: TFileName; FGenericTemplateFile: TFileName; FDelphiTemplateFile: TFileName; public function GetFileName(const APersonality: string): string; override; property DelphiTemplateFile: TFileName read FDelphiTemplateFile write FDelphiTemplateFile; property CBuilderTemplateFile: TFileName read FCBuilderTemplateFile write FCBuilderTemplateFile; property GenericTemplateFile: TFileName read FGenericTemplateFile write FGenericTemplateFile; end; TExpertsTemplatePersonalityFiles = class(TCustomExpertsTemplatePersonalityFiles) published property DelphiTemplateFile; property CBuilderTemplateFile; property GenericTemplateFile; end; TCustomExpertsTemplateProperties = class; TCustomExpertsTemplateFile = class(TComponent) private FTemplateFile: TFileName; FTemplateDoc: TStrings; FTemplateProperties: TCustomExpertsTemplateProperties; FTemplatePropertiesDoc: TStrings; FTemplateFileManager: TExpertsTemplateFileManager; procedure SetTemplateFile(const Value: TFileName); procedure SetTemplateDoc(Value: TStrings); procedure SetTemplateProperties(const Value: TCustomExpertsTemplateProperties); procedure SetTemplatePropertiesDoc(const Value: TStrings); procedure SetTemplateFileManager( const Value: TExpertsTemplateFileManager); protected procedure Notification(AComponent: TComponent; Operation: TOperation); override; function GetTemplateFileName: string; virtual; public constructor Create(AOwner: TComponent); override; destructor Destroy; override; function CreateSource(const APersonality: string; Props: IPropertyPairs): string; function CreateFile(const APersonality: string; Props: IPropertyPairs): IOTAFile; property TemplateDoc: TStrings read FTemplateDoc write SetTemplateDoc; property TemplateFile: TFileName read FTemplateFile write SetTemplateFile; property TemplateFileManager: TExpertsTemplateFileManager read FTemplateFileManager write SetTemplateFileManager; property TemplatePropertiesDoc: TStrings read FTemplatePropertiesDoc write SetTemplatePropertiesDoc; property TemplateProperties: TCustomExpertsTemplateProperties read FTemplateProperties write SetTemplateProperties; end; TExpertsTemplateFile = class(TCustomExpertsTemplateFile) published property TemplateDoc; property TemplateFile; property TemplateProperties; property TemplatePropertiesDoc; property TemplateFileManager; end; TCustomExpertsTemplateProperties = class(TComponent) private FProperties: TStrings; procedure SetProperties(const Value: TStrings); public constructor Create(AOwner: TComponent); override; destructor Destroy; override; property Properties: TStrings read FProperties write SetProperties; end; TExpertsTemplateProperties = class(TCustomExpertsTemplateProperties) published property Properties; end; IPropertyPair = interface ['{C304A811-9BA5-412E-8C0B-965210E1031F}'] function Name: string; function Value: string; end; IPropertyPairs = interface(IEnumerable<IPropertyPair>) ['{F361A483-CD1C-4A64-88FD-EF313F6BEFF6}'] function Count: Integer; function GetItem(I: Integer): IPropertyPair; property Item[I: Integer]: IPropertyPair read GetItem; end; TPropertyPair = class(TInterfacedObject, IPropertyPair) private FName: string; FValue: string; function Name: string; function Value: string; public constructor Create(const AName, AValue: string); end; TStringsPropertiesPairs = class(TInterfacedObject, IPropertyPairs, IEnumerable<IPropertyPair>, IEnumerable) private FOwnsStrings: Boolean; FProperties: TStrings; { IPropertyPairs } // function GetGenericEnumerator: IEnumerator; function Count: Integer; function GetItem(I: Integer): IPropertyPair; function GetEnumerator: IEnumerator; function IEnumerable<IPropertyPair>.GetEnumerator = GetGenericEnumerator; function IPropertyPairs.GetEnumerator = GetGenericEnumerator; function GetGenericEnumerator: IEnumerator<IPropertyPair>; public constructor Create(AProperties: TStrings; AOwnsStrings: Boolean); destructor Destroy; override; end; TExpertsPropertiesPairs = class(TStringsPropertiesPairs) public constructor Create(AProperties: TCustomExpertsTemplateProperties); end; TExpertsPropertiesPairsEnumerator = class(TInterfacedObject,IEnumerator<IPropertyPair>,IEnumerator) private FPairs : TStrings; FIndex : integer; FDictionary: TDictionary<integer, IPropertyPair>; function GetItem(AIndex: Integer): IPropertyPair; protected function GetCurrent: TObject; function GenericGetCurrent: IPropertyPair; function IEnumerator<IPropertyPair>.GetCurrent = GenericGetCurrent; function MoveNext: Boolean; procedure Reset; public constructor Create(const APairs : TStrings); destructor Destroy; override; end; function MergePropertyPairs(APairs1, APairs2: IPropertyPairs): IPropertyPairs; function FindTemplateFile(const ATemplateFile: string; out APath: string): boolean; implementation uses ExpertsIntf, ExpertsResStrs, ExpertFilter; function MergePropertyPairs(APairs1, APairs2: IPropertyPairs): IPropertyPairs; var LList: TList<string>; LStrings: TStringList; procedure Add(APairs: IPropertyPairs); var LPair: IPropertyPair; begin for LPair in APairs do if not LList.Contains(LPair.Name) then begin LList.Add(LPair.Name); LStrings.Add(LPair.Name + '=' + LPair.Value); end; end; begin LStrings := TStringList.Create; try LList := TList<string>.Create; try Add(APairs1); Add(APairs2); finally LList.Free; end; except LStrings.Free; raise; end; Result := TStringsPropertiesPairs.Create(LStrings, True); end; type TStringsProvider = class(TInterfacedObject, ILineProvider) protected FLineNumber: Integer; FLines: TStrings; { ILineProvider } function HasMore: boolean; function NextLine: string; function LineNumber: integer; function ReStart: boolean; procedure Cleanup; function IsOutputOn: boolean; public constructor Create(ALines: TStrings); destructor Destroy; override; end; function ExtractStringValue(const S: string): string; var P: Integer; begin P := AnsiPos('=', S); if (P <> 0) and (Length(S) > P) then Result := Copy(S, P+1, MaxInt) else SetLength(Result, 0); end; function FindTemplateFile(const ATemplateFile: string; out APath: string): boolean; begin APath := ATemplateFile; if IsRelativePath(APath) then begin APath := (BorlandIDEServices as IOTAServices).GetTemplateDirectory + APath; end; Result := LocaleFileExists(APath); if Result then APath := GetLocaleFile(APath) end; function GetSourceFromTemplateFile(const FileName: string; Props: IPropertyPairs): string; var Filter: IExpertFilter; TemplateDirectory: string; Pair: IPropertyPair; begin //try Filter := CoExpertFilter.Create; if Props <> nil then for Pair in Props do Filter.SetProperty(Pair.Name, Pair.Value); if IsRelativePath(FileName) then TemplateDirectory := (BorlandIDEServices as IOTAServices).GetTemplateDirectory else TemplateDirectory := ''; // if SameFileName(ExtractFileExt(FileName), '.cpp') or SameFileName(ExtractFileExt(FileName), '.h') then // TemplateDirectory := TemplateDirectory + 'cpp\'; // Do not localize Result := Filter.Filter(FileName, TemplateDirectory); // except // Result := ''; // end; end; function GetSourceFromStrings(ALines: TStrings; Props: IPropertyPairs): string; var Filter: IExpertFilter; Pair: IPropertyPair; begin // try Filter := CoExpertFilter.Create; if Props <> nil then for Pair in Props do Filter.SetProperty(Pair.Name, Pair.Value); Result := Filter.Filter(TStringsProvider.Create(ALines)); // except // Result := ''; // end; end; { TCustomExpertsFile } constructor TCustomExpertsTemplateFile.Create(AOwner: TComponent); begin inherited Create(AOwner); FTemplateDoc := TStringList.Create; FTemplatePropertiesDoc := TStringList.Create; end; destructor TCustomExpertsTemplateFile.Destroy; begin FTemplateDoc.Free; FTemplatePropertiesDoc.Free; inherited Destroy; end; procedure TCustomExpertsTemplateFile.SetTemplateFile(const Value: TFileName); begin if CompareText(FTemplateFile, Value) <> 0 then begin FTemplateFile := Value; if Value <> '' then begin FTemplateDoc.Clear; TemplateFileManager := nil; end; end; end; procedure TCustomExpertsTemplateFile.SetTemplateFileManager( const Value: TExpertsTemplateFileManager); begin if FTemplateFileManager <> Value then begin if Value <> nil then begin Value.FreeNotification(Self); FTemplateFile := ''; FTemplateDoc.Clear; end; FTemplateFileManager := Value; end; end; procedure TCustomExpertsTemplateFile.Notification(AComponent: TComponent; Operation: TOperation); begin inherited Notification(AComponent, Operation); if (Operation = opRemove) and (AComponent = FTemplateProperties) then FTemplateProperties := nil; if (Operation = opRemove) and (AComponent = FTemplateFileManager) then FTemplateFileManager := nil; end; procedure TCustomExpertsTemplateFile.SetTemplateProperties( const Value: TCustomExpertsTemplateProperties); begin if FTemplateProperties <> Value then begin if Value <> nil then Value.FreeNotification(Self); FTemplateProperties := Value; end; end; procedure TCustomExpertsTemplateFile.SetTemplatePropertiesDoc( const Value: TStrings); begin FTemplatePropertiesDoc.Assign(Value); if Value.Text <> '' then begin FTemplateFile := ''; TemplateFileManager := nil; end; end; procedure TCustomExpertsTemplateFile.SetTemplateDoc(Value: TStrings); begin FTemplateDoc.Assign(Value); FTemplateFile := ''; end; function TCustomExpertsTemplateFile.GetTemplateFileName: string; begin Result := TemplateFile; end; { TCustomExpertsFile } function TCustomExpertsTemplateFile.CreateSource(const APersonality: string; Props: IPropertyPairs): string; var LFileName: string; LDoc: TStrings; begin LDoc := nil; if TemplateFileManager <> nil then begin LFileName := TemplateFileManager.GetFileName(APersonality); end else if Trim(TemplateFile) <> '' then LFileName := TemplateFile else LDoc := TemplateDoc; if LFileName <> '' then Result := GetSourceFromTemplateFile(LFileName, Props) else if LDoc <> nil then Result := GetSourceFromStrings(TemplateDoc, Props); end; function TCustomExpertsTemplateFile.CreateFile(const APersonality: string; Props: IPropertyPairs): IOTAFile; var S: string; LMergedPairs: IPropertyPairs; begin // Combine pairs from caller with this component's property pairs if Props <> nil then LMergedPairs := MergePropertyPairs(Props, TStringsPropertiesPairs.Create(FTemplatePropertiesDoc, False)); if LMergedPairs <> nil then LMergedPairs := MergePropertyPairs(LMergedPairs, TExpertsPropertiesPairs.Create(Self.FTemplateProperties)) else LMergedPairs := TExpertsPropertiesPairs.Create(Self.FTemplateProperties); S := CreateSource(APersonality, LMergedPairs); Result := TOTAFile.Create(S); end; { TStringProvider } procedure TStringsProvider.Cleanup; begin { NOP } end; constructor TStringsProvider.Create(ALines: TStrings); begin inherited Create; FLineNumber := 0; FLines := ALines; end; destructor TStringsProvider.Destroy; begin inherited; end; function TStringsProvider.HasMore: boolean; begin Result := FLineNumber < FLines.Count; end; function TStringsProvider.IsOutputOn: boolean; begin Result := True; end; function TStringsProvider.LineNumber: integer; begin Result := FLineNumber; end; function TStringsProvider.NextLine: string; begin Result :=FLines[FLineNumber]; Inc(FLineNumber); end; function TStringsProvider.ReStart: boolean; begin { File Resource Providers don't need to be restarted } Assert(False); Result := False; end; { TCustomExpertsProperties } constructor TCustomExpertsTemplateProperties.Create(AOwner: TComponent); begin inherited; FProperties := TStringList.Create; end; destructor TCustomExpertsTemplateProperties.Destroy; begin FProperties.Free; inherited; end; procedure TCustomExpertsTemplateProperties.SetProperties(const Value: TStrings); begin FProperties.Assign(Value); end; { TStringsPropertiesPairs } function TStringsPropertiesPairs.Count: Integer; begin if FProperties <> nil then Result := FProperties.Count else Result := 0; end; constructor TStringsPropertiesPairs.Create( AProperties: TStrings; AOwnsStrings:Boolean); begin FProperties := AProperties; FOwnsStrings := AOwnsStrings; end; destructor TStringsPropertiesPairs.Destroy; begin if FOwnsStrings then FProperties.Free; inherited; end; function TStringsPropertiesPairs.GetEnumerator: IEnumerator; begin Result := GetGenericEnumerator; end; function TStringsPropertiesPairs.GetGenericEnumerator: IEnumerator<IPropertyPair>; begin if FProperties <> nil then Result := TExpertsPropertiesPairsEnumerator.Create(FProperties) else Result := TExpertsPropertiesPairsEnumerator.Create(nil) end; function TStringsPropertiesPairs.GetItem(I: Integer): IPropertyPair; begin if FProperties <> nil then Result := TPropertyPair.Create(FProperties.Names[I], FProperties.ValueFromIndex[I]) else Result := nil; end; { TPropertyPair } constructor TPropertyPair.Create(const AName, AValue: string); begin FName := AName; FValue := AValue; end; function TPropertyPair.Name: string; begin Result := FName; end; function TPropertyPair.Value: string; begin Result := FValue; end; { TExpertsPropertiesPairsEnumerator } constructor TExpertsPropertiesPairsEnumerator.Create(const APairs: TStrings); begin FPairs := APairs; FIndex := -1; FDictionary := TDictionary<Integer, IPropertyPair>.Create; end; function TExpertsPropertiesPairsEnumerator.GetItem(AIndex: Integer): IPropertyPair; begin if FDictionary.TryGetValue(AIndex, Result) then Exit; if (FPairs <> nil) and (FPairs.Count > 0) and (FIndex < FPairs.Count) then result := TPropertyPair.Create(FPairs.Names[FIndex], FPairs.ValueFromIndex[FIndex]) else result := nil; FDictionary.Add(AIndex, result); end; destructor TExpertsPropertiesPairsEnumerator.Destroy; begin FDictionary.Free; inherited; end; function TExpertsPropertiesPairsEnumerator.GenericGetCurrent: IPropertyPair; begin Result := GetItem(FIndex); end; function TExpertsPropertiesPairsEnumerator.GetCurrent: TObject; begin Result := TObject(GetItem(FIndex)); end; function TExpertsPropertiesPairsEnumerator.MoveNext: Boolean; begin Inc(FIndex); result := (FPairs <> nil) and (FIndex < FPairs.Count); end; procedure TExpertsPropertiesPairsEnumerator.Reset; begin FIndex := -1; end; { TExpertsPropertiesPairs } constructor TExpertsPropertiesPairs.Create( AProperties: TCustomExpertsTemplateProperties); begin if AProperties <> nil then inherited Create(AProperties.Properties, False) else inherited Create(nil, False); end; { TCustomExpertsPersonalityFilesManager } function TCustomExpertsTemplatePersonalityFiles.GetFileName( const APersonality: string): string; begin if SameText(sDelphiPersonality, APersonality) then Result := FDelphiTemplateFile else if SameText(sCBuilderPersonality, APersonality) then Result := FCBuilderTemplateFile else if APersonality = '' then Result := FGenericTemplateFile else raise Exception.CreateFmt(sUnknownPersonality, [APersonality]); if Result = '' then Result := FGenericTemplateFile; end; end.
unit GMOPCSrv; interface uses Windows, SysUtils, Classes, prOpcServer, prOpcTypes, GMGlobals; const OPC_NO_REFRESH_INTERVAL = 300; // в секундах type TOpcServer = class(TOpcItemServer) private protected function GetItemInfo(const ItemID: String; var AccessPath: string; var AccessRights: TAccessRights): Integer; override; procedure ReleaseHandle(ItemHandle: TItemHandle); override; procedure ListItemIDs(List: TItemIDList); override; procedure SetItemValue(ItemHandle: TItemHandle; const Value: OleVariant); override; function GetServerVersionIndependentID: string; override; function Options: TServerOptions; override; function GetItemVQT(ItemHandle: TItemHandle; var Quality: Word; var Timestamp: TFileTime): OleVariant; override; end; TChannelItem = class(TCollectionItem) public ID_Prm: int; Val: double; UTime: UINT; Tag: string; procedure AfterConstruction(); override; end; TChannelsCollection = class(TCollection) private FSynch: TMultiReadExclusiveWriteSynchronizer; function GetChannel(Index: int): TChannelItem; function GetChannelByID(ID_Prm: int): TChannelItem; function GetChannelByTag(Tag: string): TChannelItem; public function Add(): TChannelItem; property Channels[Index: int]: TChannelItem read GetChannel; default; property ByID[ID_Prm: int]: TChannelItem read GetChannelByID; property ByTag[Tag: string]: TChannelItem read GetChannelByTag; property synch: TMultiReadExclusiveWriteSynchronizer read FSynch; function FindOrAdd(ID_Prm: int): TChannelItem; procedure AfterConstruction(); override; procedure BeforeDestruction(); override; end; var lstChannels: TChannelsCollection; implementation uses prOpcError, prOpcDa, DateUtils, Variants; { TOpcServer } function TOpcServer.GetItemInfo(const ItemID: String; var AccessPath: string; var AccessRights: TAccessRights): Integer; var c: TChannelItem; begin {Return a handle that will subsequently identify ItemID} {raise exception of type EOpcError if Item ID not recognised} lstChannels.synch.BeginRead(); try c := lstChannels.ByTag[ItemID]; if c <> nil then begin Result := c.ID_Prm; AccessRights := [iaRead]; AccessPath := 'Geomer'; end else raise EOpcError.Create(OPC_E_INVALIDITEMID); finally lstChannels.synch.EndRead(); end; end; procedure TOpcServer.ReleaseHandle(ItemHandle: TItemHandle); begin {Release the handle previously returned by GetItemInfo} end; procedure TOpcServer.ListItemIds(List: TItemIDList); var i: int; begin {Call List.AddItemId(ItemId, AccessRights, VarType) for each ItemId} lstChannels.synch.BeginRead(); try for i := 0 to lstChannels.Count - 1 do List.AddItemId(lstChannels[i].Tag, [iaRead], varDouble); finally lstChannels.synch.EndRead(); end; end; function TOpcServer.GetItemVQT(ItemHandle: TItemHandle; var Quality: Word; var Timestamp: TFileTime): OleVariant; var c: TChannelItem; begin {return the value of the item identified by ItemHandle} lstChannels.synch.BeginRead(); try c := lstChannels.ByID[ItemHandle]; if c <> nil then begin Result := c.Val; Timestamp := DateTimeToFileTime(UTCtoLocal(c.UTime)); if Abs(int64(c.UTime) - NowGM(TimeZone)) < OPC_NO_REFRESH_INTERVAL then Quality := OPC_QUALITY_GOOD else if c.UTime = 0 then Quality := OPC_QUALITY_COMM_FAILURE else Quality := OPC_QUALITY_LAST_KNOWN end else begin Result := Null; Quality := OPC_QUALITY_CONFIG_ERROR; end; finally lstChannels.synch.EndRead(); end; end; procedure TOpcServer.SetItemValue(ItemHandle: TItemHandle; const Value: OleVariant); begin {set the value of the item identified by ItemHandle} end; const ServerGuid: TGUID = '{705D98B7-368D-4D9A-9174-7DA56E92501F}'; ServerVersion = 1; ServerDesc = 'Sirius ATM Opc Server'; ServerVendor = 'Sirius ATM'; function TOpcServer.GetServerVersionIndependentID: string; begin Result := 'SiriusATM'; end; function TOpcServer.Options: TServerOptions; begin Result := inherited Options + [soHierarchicalBrowsing]; end; { TChannelItem } procedure TChannelItem.AfterConstruction; begin inherited; ID_Prm := 0; UTime := 0; Val := 0; Tag := ''; end; { TChannelsCollection } function TChannelsCollection.Add: TChannelItem; begin Result := TChannelItem(inherited Add()); end; procedure TChannelsCollection.AfterConstruction; begin inherited; FSynch := TMultiReadExclusiveWriteSynchronizer.Create(); end; procedure TChannelsCollection.BeforeDestruction; begin inherited; FSynch.Free(); end; function TChannelsCollection.FindOrAdd(ID_Prm: int): TChannelItem; begin Result := ByID[ID_Prm]; if Result = nil then begin Result := Add(); Result.ID_Prm := ID_Prm; end; end; function TChannelsCollection.GetChannel(Index: int): TChannelItem; begin Result := TChannelItem(Items[Index]); end; function TChannelsCollection.GetChannelByID(ID_Prm: int): TChannelItem; var i: int; begin Result := nil; for i := 0 to Count - 1 do begin if Channels[i].ID_Prm = ID_Prm then begin Result := Channels[i]; Exit; end; end; end; function TChannelsCollection.GetChannelByTag(Tag: string): TChannelItem; var i: int; begin Result := nil; for i := 0 to Count - 1 do begin if Channels[i].Tag = Tag then begin Result := Channels[i]; Exit; end; end; end; initialization lstChannels := TChannelsCollection.Create(TChannelItem); RegisterOPCServer(ServerGUID, ServerVersion, ServerDesc, ServerVendor, TOpcServer.Create); finalization lstChannels.Free(); end.
unit Jet.IO; { Console IO, logging and other system facilities. } interface uses Windows, UniStrUtils, Jet.CommandLine; type //"Default" states are needed because some defaults are unknown until later. //They will be resolved before returning from ParseCommandLine. TLoggingMode = (lmDefault, lmSilent, lmNormal, lmVerbose); TErrorHandlingMode = (emDefault, emIgnore, emStop); TTriBool = (tbDefault, tbTrue, tbFalse); //Application settings. Mostly set from command-line or auto-configured. var LoggingMode: TLoggingMode = lmDefault; Errors: TErrorHandlingMode = emDefault; CrlfBreak: TTriBool = tbDefault; type TIoSettingsParser = class(TCommandLineParser) protected //I/O Redirects stdi, stdo, stde: UniString; public procedure PrintUsage; override; function HandleOption(ctx: PParsingContext; const s: UniString): boolean; override; procedure Finalize; override; end; var IoSettings: TIoSettingsParser; //Writes a string to error output. //All errors, usage info, hints go here. Redirect it somewhere if you don't need it. procedure err(msg: UniString); //Writes a string to error output if not in silent mode procedure warn(msg: UniString); //Writes a string to error output if verbose log is enabled. procedure log(msg: UniString); procedure verbose(msg: UniString); implementation uses SysUtils; procedure TIoSettingsParser.PrintUsage; begin err('What to do with errors when executing:'); err(' --silent :: do not print anything at all'); err(' --verbose :: echo commands which are being executed'); err(' --ignore-errors :: continue on errors'); err(' --stop-on-errors :: exit with error code'); err(' --crlf-break :: CR/LF ends command'); err(' --no-crlf-break'); err('With private extensions enabled, **WEAK** commands do not produce errors in any way (no messages, no aborts).'); err(''); err('IO redirection helpers:'); err(' -stdi [filename] :: sets standard input'); err(' -stdo [filename] :: sets standard output'); err(' -stde [filename] :: sets standard error console'); err('These are only applied after the command-line parsing is over'); err(''); end; function TIoSettingsParser.HandleOption(ctx: PParsingContext; const s: UniString): boolean; begin Result := true; //Logging if WideSameText(s, '--silent') then begin LoggingMode := lmSilent end else if WideSameText(s, '--verbose') then begin LoggingMode := lmVerbose end else //Errors if WideSameText(s, '--ignore-errors') then begin Errors := emIgnore; end else if WideSameText(s, '--stop-on-errors') then begin Errors := emStop; end else //CRLF break if WideSameText(s, '--crlf-break') then begin CrlfBreak := tbTrue; end else if WideSameText(s, '--no-crlf-break') then begin CrlfBreak := tbFalse; end else //IO redirection if WideSameText(s, '-stdi') then Define(stdi, 'Filename', ctx.NextParam('-stdi', 'filename')) else if WideSameText(s, '-stdo') then Define(stdo, 'Filename', ctx.NextParam('-stdo', 'filename')) else if WideSameText(s, '-stde') then begin Define(stde, 'Filename', ctx.NextParam('-stde', 'filename')); end else Result := false; end; //Returns true when a specified STD_HANDLE actually points to a console object. //It's a LUCKY / UNKNOWN type situation: if it does, we're lucky and assume //keyboard input. If it doesn't, we don't know: it might be a file or a pipe //to another console. function IsConsoleHandle(stdHandle: cardinal): boolean; begin //Failing GetFileType/GetStdHandle is fine, we'll return false. Result := (GetFileType(GetStdHandle(stdHandle))=FILE_TYPE_CHAR); end; //Leaks file handles! By design. We don't care, they'll be released on exit anyway. procedure RedirectIo(nStdHandle: dword; filename: UniString); var hFile: THandle; begin if nStdHandle=STD_INPUT_HANDLE then hFile := CreateFileW(PWideChar(Filename), GENERIC_READ, FILE_SHARE_READ, nil, OPEN_EXISTING, 0, 0) else hFile := CreateFileW(PWideChar(Filename), GENERIC_WRITE, 0, nil, OPEN_ALWAYS, 0, 0); if hFile=INVALID_HANDLE_VALUE then RaiseLastOsError(); SetStdHandle(nStdHandle, hFile); end; procedure TIoSettingsParser.Finalize; var KeyboardInput: boolean; begin //Resolve default values depending on a type of input stream. //If we fail to guess the type, default to File (this can always be overriden manually!) KeyboardInput := IsConsoleHandle(STD_INPUT_HANDLE) and (IoSettings.stdi=''); if Errors=emDefault then if KeyboardInput then Errors := emIgnore else Errors := emStop; if LoggingMode=lmDefault then if KeyboardInput then LoggingMode := lmVerbose else LoggingMode := lmNormal; if CrlfBreak=tbDefault then if KeyboardInput then CrlfBreak := tbTrue else CrlfBreak := tbFalse; //Auto-redirect I/O if stdi<>'' then RedirectIo(STD_INPUT_HANDLE, stdi); if stdo<>'' then RedirectIo(STD_OUTPUT_HANDLE, stdo); if stde<>'' then RedirectIo(STD_OUTPUT_HANDLE, stde); end; procedure err(msg: UniString); begin writeln(ErrOutput, msg); end; procedure warn(msg: UniString); begin if LoggingMode<>lmSilent then err(msg); end; procedure log(msg: UniString); begin if LoggingMode = lmVerbose then err(msg); end; procedure verbose(msg: UniString); begin if LoggingMode = lmVerbose then err(msg); end; initialization IoSettings := TIoSettingsParser.Create; finalization {$IFDEF DEBUG} FreeAndNil(IoSettings); {$ENDIF} end.
unit xProtocolPacks; interface uses System.Types, xTypes, xConsts, System.Classes, xFunction, system.SysUtils; type /// <summary> /// 通讯协议数据包操作类 /// </summary> TProtocolPacks = class private protected {**************************生成发送数据包******************************} function PackNoData: TBytes; // 生成没有数据命令包 // /// <summary> // /// 生成数据包 // /// </summary> // function CreatePacks: TBytes; function CreatePackRsetTime: TBytes; virtual; // 广播校时 function CreatePackReadData: TBytes; virtual; // 读数据 function CreatePackReadNextData: TBytes; virtual;abstract; // 读后续数据 function CreatePackReadAddr: TBytes; virtual;abstract; // 读通信地址 function CreatePackWriteData: TBytes;virtual;abstract; // 写数据 function CreatePackWriteAddr: TBytes;virtual; // 写通信地址 function CreatePackFreeze: TBytes; virtual; // 冻结命令 function CreatePackChangeBaudRate: TBytes; virtual; // 改波通讯速率 function CreatePackChangePWD: TBytes;virtual;abstract; // 改密码 function CreatePackClearMaxDemand: TBytes;virtual;abstract; // 最大需量清零 function CreatePackClearData: TBytes;virtual; // 电表清零 function CreatePackClearEvent: TBytes;virtual; // 事件清零 function CreatePackSetWOutType: TBytes;virtual;abstract; // 设置多功能口 function CreatePackIdentity: TBytes;virtual;abstract; // 费控 function CreatePackOnOffControl: TBytes;virtual;abstract; // 费控 {**************************生成应答数据包******************************} // {S25-校验仪} // function ReplyPackS25_CALIBRATOR_GET_TIME : TBytes; //获取时间 {**************************解析数据包******************************} // procedure ParseVersion(ADevice: TObject; APack : TBytes); // 解析版本 {功率查询板} // procedure ParsePackSTATE_GET_VALUE(APowerStatus : TPOWER_STATUS; APack : TBytes);//解析获取电压电流角度测量值 // /// <summary> // /// 刷新包头包尾 // /// </summary> // procedure RefreshHeadEnd(nCmdType: Integer); /// <summary> /// 解析数据包 /// </summary> procedure ParsePack(nCmdType: Integer; ADevice: TObject; APack : TBytes); virtual; // /// <summary> // /// 获取通讯地址 // /// </summary> // function GetAddr(nCmdType: Integer; ADevice: TObject) : Byte; /// <summary> /// 生成数据包 /// </summary> procedure CreatePacks(var aDatas: TBytes; nCmdType: Integer; ADevice: TObject);virtual; /// <summary> /// 生成回复数据包 /// </summary> procedure CreateReplyPacks(var aDatas: TBytes; nCmdType: Integer; ADevice: TObject);virtual; public constructor Create; virtual; destructor Destroy; override; // /// <summary> // /// 整理数据包 // /// </summary> // function ReSetPacks(nCmdType: Integer; ADevice: TObject;aDatas: TBytes; // bIsReply : Boolean = False; bIsReplyRight : Boolean = True):TBytes; /// <summary> /// 获取发送回复命令的数据包 /// </summary> function GetReplyPacks(nCmdType: Integer; ADevice: TObject; APacks : TBytes) : TBytes; virtual; /// <summary> /// 获取发送的数据包 /// </summary> function GetPacks( nCmdType: Integer; ADevice: TObject ): tbytes; virtual; /// <summary> /// 解析接收的数据包 /// </summary> function RevPacks(nCmdType: Integer; ADevice: TObject; APack: TBytes): Integer;virtual; end; var AProtocolPacks : TProtocolPacks; implementation { TProtocolPacks } constructor TProtocolPacks.Create; begin end; function TProtocolPacks.CreatePackChangeBaudRate: TBytes; begin end; function TProtocolPacks.CreatePackClearData: TBytes; begin end; function TProtocolPacks.CreatePackClearEvent: TBytes; begin end; function TProtocolPacks.CreatePackFreeze: TBytes; begin end; function TProtocolPacks.CreatePackReadData: TBytes; begin end; function TProtocolPacks.CreatePackRsetTime: TBytes; begin end; procedure TProtocolPacks.CreatePacks(var aDatas: TBytes; nCmdType: Integer; ADevice: TObject); begin end; //function TProtocolPacks.CreatePacks: TBytes; //begin // //end; function TProtocolPacks.CreatePackWriteAddr: TBytes; begin end; procedure TProtocolPacks.CreateReplyPacks(var aDatas: TBytes; nCmdType: Integer; ADevice: TObject); begin end; destructor TProtocolPacks.Destroy; begin inherited; end; function TProtocolPacks.GetPacks(nCmdType: Integer; ADevice: TObject): tbytes; begin CreatePacks(Result, nCmdType, ADevice); end; function TProtocolPacks.GetReplyPacks(nCmdType: Integer; ADevice: TObject; APacks: TBytes): TBytes; begin end; function TProtocolPacks.PackNoData: TBytes; begin end; procedure TProtocolPacks.ParsePack(nCmdType: Integer; ADevice: TObject; APack: TBytes); begin end; function TProtocolPacks.RevPacks(nCmdType: Integer; ADevice: TObject; APack: TBytes): Integer; begin Result := 0; end; end.
// // This unit is part of the GLScene Project, http://glscene.org // { : FXCollectionEditor<p> Edits a TXCollection<p> <b>Historique : </b><font size=-1><ul> <li>20/01/11 - DanB - Collection items are now grouped by ItemCategory <li>16/06/10 - YP - Fixed IDE exception when item removed <li>05/10/08 - DanB - removed Kylix support + some other old ifdefs <li>29/03/07 - DaStr - Renamed LINUX to KYLIX (BugTrackerID=1681585) <li>03/07/04 - LR - Make change for Linux <li>12/07/03 - DanB - Fixed crash when owner deleted <li>27/02/02 - Egg - Fixed crash after item deletion <li>11/04/00 - Egg - Fixed crashes in IDE <li>06/04/00 - Egg - Creation </ul></font> } unit FXCollectionEditor; interface {$I GLScene.inc} uses System.Classes, System.SysUtils, System.Actions, VCL.Forms, VCL.ImgList, VCL.Controls, VCL.ActnList, VCL.Menus, VCL.ComCtrls, VCL.ToolWin, VCL.Dialogs, DesignIntf, //GLS GLScene, GLBehaviours, GLMaterialEx, XCollection; type TXCollectionEditor = class(TForm) ListView: TListView; PMListView: TPopupMenu; ActionList: TActionList; ACRemove: TAction; ACMoveUp: TAction; ACMoveDown: TAction; ImageList: TImageList; MIAdd: TMenuItem; N1: TMenuItem; N2: TMenuItem; Moveup1: TMenuItem; Movedown1: TMenuItem; ToolBar1: TToolBar; TBAdd: TToolButton; ToolButton2: TToolButton; ToolButton3: TToolButton; ToolButton4: TToolButton; ToolButton5: TToolButton; ToolButton6: TToolButton; PMToolBar: TPopupMenu; procedure TBAddClick(Sender: TObject); procedure ListViewChange(Sender: TObject; Item: TListItem; Change: TItemChange); procedure ACRemoveExecute(Sender: TObject); procedure ACMoveUpExecute(Sender: TObject); procedure ACMoveDownExecute(Sender: TObject); procedure PMToolBarPopup(Sender: TObject); procedure PMListViewPopup(Sender: TObject); procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObject); procedure FormHide(Sender: TObject); private { Private declarations } FXCollection: TXCollection; // ownerComponent : TComponent; FDesigner: IDesigner; UpdatingListView: Boolean; procedure PrepareListView; procedure PrepareXCollectionItemPopup(parent: TMenuItem); procedure OnAddXCollectionItemClick(Sender: TObject); procedure OnNameChanged(Sender: TObject); procedure OnXCollectionDestroyed(Sender: TObject); protected procedure Notification(AComponent: TComponent; Operation: TOperation); override; public { Public declarations } procedure SetXCollection(aXCollection: TXCollection; designer: IDesigner ); end; function XCollectionEditor: TXCollectionEditor; procedure ReleaseXCollectionEditor; // ------------------------------------------------------------------ // ------------------------------------------------------------------ // ------------------------------------------------------------------ implementation // ------------------------------------------------------------------ // ------------------------------------------------------------------ // ------------------------------------------------------------------ {$R *.dfm} resourcestring cXCollectionEditor = 'XCollection editor'; var vXCollectionEditor: TXCollectionEditor; function XCollectionEditor: TXCollectionEditor; begin if not Assigned(vXCollectionEditor) then vXCollectionEditor := TXCollectionEditor.Create(nil); Result := vXCollectionEditor; end; procedure ReleaseXCollectionEditor; begin if Assigned(vXCollectionEditor) then begin vXCollectionEditor.Release; vXCollectionEditor := nil; end; end; // FormCreate // procedure TXCollectionEditor.FormCreate(Sender: TObject); begin RegisterGLBehaviourNameChangeEvent(OnNameChanged); RegisterGLMaterialExNameChangeEvent(OnNameChanged); RegisterXCollectionDestroyEvent(OnXCollectionDestroyed); end; // FormDestroy // procedure TXCollectionEditor.FormDestroy(Sender: TObject); begin DeRegisterGLBehaviourNameChangeEvent(OnNameChanged); DeRegisterGLMaterialExNameChangeEvent(OnNameChanged); DeRegisterXCollectionDestroyEvent(OnXCollectionDestroyed); end; // FormHide // procedure TXCollectionEditor.FormHide(Sender: TObject); begin SetXCollection(nil, nil); ReleaseXCollectionEditor; end; // SetXCollection // procedure TXCollectionEditor.SetXCollection(aXCollection: TXCollection; designer: IDesigner); begin // if Assigned(ownerComponent) then // ownerComponent.RemoveFreeNotification(Self); FXCollection := aXCollection; FDesigner := designer; if Assigned(FXCollection) then begin // if Assigned(FXCollection.Owner) and (FXCollection.Owner is TComponent) then // ownerComponent:=TComponent(FXCollection.Owner); // if Assigned(ownerComponent) then // ownerComponent.FreeNotification(Self); Caption := FXCollection.GetNamePath; end else begin // ownerComponent:=nil; Caption := cXCollectionEditor; end; PrepareListView; end; // TBAddClick // procedure TXCollectionEditor.TBAddClick(Sender: TObject); begin TBAdd.CheckMenuDropdown; end; // ListViewChange // procedure TXCollectionEditor.ListViewChange(Sender: TObject; Item: TListItem; Change: TItemChange); var sel: Boolean; begin if (Change = ctState) and Assigned(FDesigner) and (not updatingListView) then begin // setup enablings sel := (ListView.Selected <> nil); TBAdd.Enabled := Assigned(FDesigner); ACRemove.Enabled := sel; ACMoveUp.Enabled := sel and (ListView.Selected.Index > 0); ACMoveDown.Enabled := sel and (ListView.Selected.Index < ListView.Items.Count - 1); if Assigned(FDesigner) then if sel then FDesigner.SelectComponent(TXCollectionItem(ListView.Selected.Data)) else FDesigner.SelectComponent(nil); end; end; // PrepareListView // procedure TXCollectionEditor.PrepareListView; var i: Integer; prevSelData: Pointer; XCollectionItem: TXCollectionItem; DisplayedName: String; begin Assert(Assigned(ListView)); updatingListView := True; try if ListView.Selected <> nil then prevSelData := ListView.Selected.Data else prevSelData := nil; with ListView.Items do begin BeginUpdate; Clear; if Assigned(FXCollection) then begin for i := 0 to FXCollection.Count - 1 do with Add do begin XCollectionItem := FXCollection[i]; DisplayedName := XCollectionItem.Name; if DisplayedName = '' then DisplayedName := '(unnamed)'; Caption := Format('%d - %s', [i, DisplayedName]); SubItems.Add(XCollectionItem.FriendlyName); Data := XCollectionItem; end; if prevSelData <> nil then ListView.Selected := ListView.FindData(0, prevSelData, True, False); end; EndUpdate; end; finally updatingListView := False; end; ListViewChange(Self, nil, ctState); end; // PrepareXCollectionItemPopup // procedure TXCollectionEditor.PrepareXCollectionItemPopup(parent: TMenuItem); var i: Integer; list: TList; XCollectionItemClass: TXCollectionItemClass; mi, categoryItem: TMenuItem; begin list := GetXCollectionItemClassesList(FXCollection.ItemsClass); try parent.Clear; for i := 0 to list.Count - 1 do begin XCollectionItemClass := TXCollectionItemClass(list[i]); if XCollectionItemClass.ItemCategory <> '' then begin categoryItem := parent.Find(XCollectionItemClass.ItemCategory); if categoryItem = nil then begin categoryItem := TMenuItem.Create(owner); categoryItem.Caption := XCollectionItemClass.ItemCategory; parent.Add(categoryItem); end; end else categoryItem := parent; mi := TMenuItem.Create(owner); mi.Caption := XCollectionItemClass.FriendlyName; mi.OnClick := OnAddXCollectionItemClick; mi.Tag := Integer(XCollectionItemClass); mi.Enabled := Assigned(FXCollection) and FXCollection.CanAdd(XCollectionItemClass); categoryItem.Add(mi); end; finally list.Free; end; end; // OnNameChanged // procedure TXCollectionEditor.OnNameChanged(Sender: TObject); begin if TXCollectionItem(Sender).owner = FXCollection then PrepareListView; end; // OnXCollectionDestroyed // procedure TXCollectionEditor.OnXCollectionDestroyed(Sender: TObject); begin if TXCollection(Sender) = FXCollection then Close; end; // Notification // procedure TXCollectionEditor.Notification(AComponent: TComponent; Operation: TOperation); begin { if (Operation=opRemove) and (AComponent=ownerComponent) then begin ownerComponent:=nil; SetXCollection(nil, nil); Close; end; } inherited; end; // OnAddXCollectionItemClick // procedure TXCollectionEditor.OnAddXCollectionItemClick(Sender: TObject); var XCollectionItemClass: TXCollectionItemClass; XCollectionItem: TXCollectionItem; begin XCollectionItemClass := TXCollectionItemClass((Sender as TMenuItem).Tag); XCollectionItem := XCollectionItemClass.Create(FXCollection); PrepareListView; ListView.Selected := ListView.FindData(0, XCollectionItem, True, False); FDesigner.Modified; end; // ACRemoveExecute // procedure TXCollectionEditor.ACRemoveExecute(Sender: TObject); begin if ListView.Selected <> nil then begin FDesigner.Modified; FDesigner.SelectComponent(FXCollection.owner); TXCollectionItem(ListView.Selected.Data).Free; ListView.Selected.Free; ListViewChange(Self, nil, ctState); end; end; // ACMoveUpExecute // procedure TXCollectionEditor.ACMoveUpExecute(Sender: TObject); begin if ListView.Selected <> nil then begin TXCollectionItem(ListView.Selected.Data).MoveUp; PrepareListView; FDesigner.Modified; end; end; // ACMoveDownExecute // procedure TXCollectionEditor.ACMoveDownExecute(Sender: TObject); begin if ListView.Selected <> nil then begin TXCollectionItem(ListView.Selected.Data).MoveDown; PrepareListView; FDesigner.Modified; end; end; // PMToolBarPopup // procedure TXCollectionEditor.PMToolBarPopup(Sender: TObject); begin PrepareXCollectionItemPopup(PMToolBar.Items); end; // PMListViewPopup // procedure TXCollectionEditor.PMListViewPopup(Sender: TObject); begin PrepareXCollectionItemPopup(MIAdd); end; initialization finalization ReleaseXCollectionEditor; end.
unit DirOutln; { Directory outline component } interface uses Classes, Forms, Controls, Outline, SysUtils, Graphics, Grids, StdCtrls, Menus; type TTextCase = (tcLowerCase, tcUpperCase, tcAsIs); TCaseFunction = function(const AString: string): string; TDirectoryOutline = class(TCustomOutline) private FDrive: Char; FDirectory: TFileName; FOnChange: TNotifyEvent; FTextCase: TTextCase; FCaseFunction: TCaseFunction; protected procedure SetDrive(NewDrive: Char); procedure SetDirectory(const NewDirectory: TFileName); procedure SetTextCase(NewTextCase: TTextCase); procedure AssignCaseProc; procedure BuildOneLevel(RootItem: Longint); virtual; procedure BuildTree; virtual; procedure BuildSubTree(RootItem: Longint); virtual; procedure Change; virtual; procedure Click; override; procedure CreateWnd; override; procedure Expand(Index: Longint); override; function FindIndex(RootNode: TOutLineNode; SearchName: TFileName): Longint; procedure Loaded; override; procedure WalkTree(const Dest: string); public constructor Create(AOwner: TComponent); override; function ForceCase(const AString: string): string; property Drive: Char read FDrive write SetDrive; property Directory: TFileName read FDirectory write SetDirectory; property Lines stored False; published property Align; property Anchors; property BorderStyle; property Color; property Constraints; property Ctl3D; property DragCursor; property DragKind; property DragMode; property Enabled; property Font; property ItemHeight; property Options default [ooStretchBitmaps, ooDrawFocusRect]; property ParentColor; property ParentCtl3D; property ParentFont; property ParentShowHint; property PictureClosed; property PictureLeaf; property PictureOpen; property PopupMenu; property ScrollBars; property Style; property ShowHint; property TabOrder; property TabStop; property TextCase: TTextCase read FTextCase write SetTextCase default tcLowerCase; property Visible; property OnChange: TNotifyEvent read FOnChange write FOnChange; property OnClick; property OnCollapse; property OnDblClick; property OnDragDrop; property OnDragOver; property OnDrawItem; property OnEndDock; property OnEndDrag; property OnEnter; property OnExit; property OnExpand; property OnKeyDown; property OnKeyPress; property OnKeyUp; property OnMouseDown; property OnMouseMove; property OnMouseUp; property OnStartDock; property OnStartDrag; end; function SameLetter(Letter1, Letter2: Char): Boolean; implementation const InvalidIndex = -1; constructor TDirectoryOutline.Create(AOwner: TComponent); begin inherited Create(AOwner); PictureLeaf := PictureClosed; Options := [ooDrawFocusRect]; TextCase := tcLowerCase; AssignCaseProc; end; procedure TDirectoryOutline.AssignCaseProc; begin case TextCase of tcLowerCase: FCaseFunction := AnsiLowerCaseFileName; tcUpperCase: FCaseFunction := AnsiUpperCaseFileName; else FCaseFunction := nil; end; end; type PNodeInfo = ^TNodeInfo; TNodeInfo = record RootName: TFileName; SearchRec: TSearchRec; DosError: Integer; RootNode: TOutlineNode; TempChild, NewChild: Longint; end; function TDirectoryOutline.FindIndex(RootNode: TOutLineNode; SearchName: TFileName): Longint; var FirstChild, LastChild, TempChild: Longint; begin FirstChild := RootNode.GetFirstChild; if (FirstChild = InvalidIndex) or (SearchName <= Items[FirstChild].Text) then FindIndex := FirstChild else begin LastChild := RootNode.GetLastChild; if (SearchName >= Items[LastChild].Text) then FindIndex := InvalidIndex else begin repeat TempChild := (FirstChild + LastChild) div 2; { binary search } if (TempChild = FirstChild) then Inc(TempChild); if (SearchName > Items[TempChild].Text) then FirstChild := TempChild else LastChild := TempChild until FirstChild >= (LastChild - 1); FindIndex := LastChild end end end; procedure TDirectoryOutline.BuildOneLevel(RootItem: Longint); var NodeInfo: PNodeInfo; P: Integer; begin New(NodeInfo); try with NodeInfo^ do begin RootName := Items[RootItem].FullPath; P := AnsiPos(':\\', RootName); if P <> 0 then System.Delete(RootName, P + 2, 1); if (RootName <> '') and (AnsiLastChar(RootName) <> '\') then RootName := Concat(RootName, '\'); RootName := Concat(RootName, '*.*'); DosError := FindFirst(RootName, faDirectory, SearchRec); try while DosError = 0 do begin if (SearchRec.Attr and faDirectory = faDirectory) and (SearchRec.Name[1] <> '.') then begin SearchRec.Name := ForceCase(SearchRec.Name); RootNode := Items[RootItem]; if RootNode.HasItems then { if has children, must alphabetize } begin TempChild := FindIndex(RootNode, SearchRec.Name); if TempChild <> InvalidIndex then NewChild := Insert(TempChild, SearchRec.Name) else NewChild := Add(RootNode.GetLastChild, SearchRec.Name); end else NewChild := AddChild(RootItem, SearchRec.Name); { if first child, just add } end; DosError := FindNext(SearchRec); end; finally FindClose(SearchRec); end; end; Items[RootItem].Data := Pointer(1); { make non-nil so we know we've been here } finally Dispose(NodeInfo); end; end; procedure TDirectoryOutline.BuildTree; begin Clear; AddChild(0, ForceCase(Drive + ':\')); WalkTree(FDirectory); Change; end; procedure TDirectoryOutline.BuildSubTree(RootItem: Longint); var TempRoot: Longint; RootNode: TOutlineNode; begin BuildOneLevel(RootItem); RootNode := Items[RootItem]; TempRoot := RootNode.GetFirstChild; while TempRoot <> InvalidIndex do begin BuildSubTree(TempRoot); TempRoot := RootNode.GetNextChild(TempRoot); end; end; procedure TDirectoryOutline.Change; begin if Assigned(FOnChange) then FOnChange(Self); end; procedure TDirectoryOutline.Click; var P: Integer; S: string; begin inherited Click; S := Items[SelectedItem].FullPath; P := AnsiPos(':\\', S); if P <> 0 then System.Delete(S, P + 2, 1); Directory := S; end; procedure TDirectoryOutline.CreateWnd; var CurrentPath: string; begin inherited CreateWnd; if FDrive = #0 then begin GetDir(0, CurrentPath); FDrive := ForceCase(CurrentPath)[1]; FDirectory := ForceCase(CurrentPath); end; if (not (csLoading in ComponentState)) and (csDesigning in ComponentState) then BuildTree; end; procedure TDirectoryOutline.Expand(Index: Longint); begin if Items[Index].Data = nil then { if we've not previously expanded } BuildOneLevel(Index); inherited Expand(Index); { call the event handler } end; function TDirectoryOutline.ForceCase(const AString: string): string; begin if Assigned(FCaseFunction) then Result := FCaseFunction(AString) else Result := AString; end; procedure TDirectoryOutline.Loaded; begin inherited Loaded; AssignCaseProc; BuildTree; end; procedure TDirectoryOutline.SetDirectory(const NewDirectory: TFileName); var TempPath: TFileName; begin if Length(NewDirectory) > 0 then { ignore empty directory } begin if Copy(NewDirectory, Length(NewDirectory) - 1, 2) = ':\' then TempPath := ForceCase(NewDirectory) else TempPath := ForceCase(ExpandFileName(NewDirectory)); { expand to full path } if (Length(TempPath) > 3) and (AnsiLastChar(TempPath) = '\') then SetLength(TempPath, Length(TempPath) - 1); if AnsiCompareFileName(TempPath, FDirectory) <> 0 then { is it a dir change? } begin FDirectory := TempPath; { set new directory } ChDir(FDirectory); { go there } if TempPath[1] <> Drive then { check to see if we changed drives, too } Drive := TempPath[1] { change drive/build list if needed } else begin if Copy(FDirectory, Length(FDirectory) - 1, 2) = ':\' then WalkTree(TempPath); Change; { otherwise, we're done } end; end; end; end; procedure TDirectoryOutline.SetDrive(NewDrive: Char); var TempPath: string; begin if UpCase(NewDrive) in ['A'..'Z'] then { disallow all but drive letters} begin if (FDrive = #0) or not SameLetter(NewDrive, FDrive) then { update if no current drive or change } begin FDrive := NewDrive; ChDir(FDrive + ':\'); GetDir(0, TempPath); FDirectory := ForceCase(TempPath); { use correct case } if not (csLoading in ComponentState) then BuildTree; { this ends up calling Change } end; end; end; procedure TDirectoryOutline.SetTextCase(NewTextCase: TTextCase); var CurrentPath: string; begin if NewTextCase <> FTextCase then begin FTextCase := NewTextCase; AssignCaseProc; if NewTextCase = tcAsIs then begin GetDir(0, CurrentPath); FDrive := CurrentPath[1]; FDirectory := CurrentPath; end; if not (csLoading in ComponentState) then BuildTree; end; end; procedure TDirectoryOutline.WalkTree(const Dest: string); var TempPath, NextDir: TFileName; SlashPos: Integer; TempItem: Longint; function GetChildNamed(const Name: string): Longint; begin Items[TempItem].Expanded := True; Result := Items[TempItem].GetFirstChild; while Result <> InvalidIndex do begin if Items[Result].Text = Name then Exit; Result := Items[TempItem].GetNextChild(Result); end; end; begin TempItem := 1; { start at root } TempPath := ForceCase(Dest); if Pos(':', TempPath) > 0 then TempPath := Copy(TempPath, Pos(':', TempPath) + 1, Length(TempPath)); if TempPath[1] = '\' then System.Delete(TempPath, 1, 1); NextDir := TempPath; while Length(TempPath) > 0 do begin SlashPos := AnsiPos('\', TempPath); if SlashPos > 0 then begin NextDir := Copy(TempPath, 1, SlashPos - 1); TempPath := Copy(TempPath, SlashPos + 1, Length(TempPath)); end else begin NextDir := TempPath; TempPath := ''; end; TempItem := GetChildNamed(NextDir); end; SelectedItem := TempItem; end; function SameLetter(Letter1, Letter2: Char): Boolean; begin Result := UpCase(Letter1) = UpCase(Letter2); end; end.
{ Commence Mister Patate et le termine } unit MrpInit; interface uses MrpText, MrpVga, MrpStr, MrpKey, MrpSon, MrpLoad, MrpPal, MrpTps; var { Handle de la m‚moire Ems } HandleEms: Word; { Erreur d'initialisation } InitError: Byte; { D‚bute mister patate } procedure Init; { Termine le programme en affichant un message d'erreur } procedure Erreur (Quand, Cause: String); { V‚rifi‚ si la m‚moire est suffisante } procedure TestAlloue (Taille: Word); { Alloue un segment } procedure AlloueBuffer (var p: PtrBuffer); { Ouvre en v‚rifiant l'existence d'un fichier } function Ouvre (Fichier: String; var Handle: File; TailleEnr: Word): Boolean; { Fin de mister patate } procedure Fin; { Pour la m‚moire EMS } function InitEms (var p: PtrBuffer): Byte; implementation const { Texte pour v‚rifi‚ la pr‚sence du driver EMS } EmsAble: array[0..7] of Char = 'EMMXXXX0'; NoDriver = 1; NoEnoughEms = 2; function InitEms; assembler; asm XOR AX,AX MOV ES,AX MOV ES,ES:[$019E] MOV DI,10 MOV SI,OFFSET [EmsAble] MOV CX,8 REPE CMPSB MOV AX,NoDriver JNE @Exit MOV AH,$42 INT $67 MOV AL,NoEnoughEms CMP BX,4 JB @Exit MOV AH,$43 MOV BX,4 INT $67 MOV [HandleEms],DX MOV AH,$41 INT $67 LES DI,[p] MOV ES:[DI+2],BX MOV DX,[HandleEms] XOR BX,BX XOR AL,AL @Label1:MOV AH,$44 INT $67 INC BX INC AL CMP AL,4 JNE @Label1 XOR AL,AL @Exit: end; procedure ReleaseEms; assembler; asm MOV AH,$45 MOV DX,[HandleEms] INT $67 end; { Fin de Mister Patate } procedure Fin; begin { Rend la m‚moire EMS si elle est allou‚e } if HandleEms <> 0 then ReleaseEMS; { Passe en mode texte si non fait, sinon retourne … la ligne } if GetMode <> $03 then InitTexte else Retour; { D‚sinstalle le compteur } CounterOff; { Arrˆte la musique } CloseSound; { Arrˆte le HP } StopSon; { Remet l'ancienne interruption du clavier } KBHoff; { Si le code de sortie est diff‚rent de 0, } { alors une erreurs c'est produites } if ExitCode <> 0 then begin PrintR ('Erreur d''‚x‚cution nø' + StrHexa (ExitCode, 2) + 'h … ' + PtrToStr (ErrorAddr) + '.', 12); Beep; end; { Termine le programme } Halt; end; { Ouvre un fichier et renvoie FALSE s'il n'existe pas } function Ouvre; begin assign (Handle, Fichier); {$I- Ouvre le fichier en lecture } reset (Handle, TailleEnr); {$I+ Si IOResult = 0, le fichier existe } Ouvre := IOResult = 0; end; procedure TestAlloue; begin { Si la m‚moire est insuffisante, alors on quitte } if MemAvail < Taille then Erreur ('l''allocation de m‚moire', 'M‚moire libre insuffisante.'); end; procedure AlloueBuffer; begin { Si la m‚moire est insuffisante, alors on quitte } if MemAvail < $10000 then begin if HandleEms = 0 then case InitEms (p) of NoDriver: Erreur ('l''allocation de m‚moire EMS','Driver EMS non pr‚sent.'); NoEnoughEms: Erreur ('l''allocation de m‚moire EMS','M‚moire EMS insuffisante.'); end else Erreur ('l''allocation de m‚moire', 'M‚moire libre insuffisante.'); end else GetMem (p, $FFFF); end; { Initialisation de Mister Patate } procedure Init; var i: Byte; p: PtrBuffer; begin { Passe en mode texte } InitTexte; { Fixe la proc‚dure de fin du programme } ExitProc := @Fin; { Installe le compteur } CounterOn; { Installe la nouvelle interruption du clavier } KBHon; { Affiche le titre } Print (CenterText ('- Mister Patate -'), $4F); Print (CenterText ('Attention, ne pas confier ce jeu aux fast-food!'), $12); PrintR ('Chargement des configurations.', 7); LoadConfig; PrintR ('Chargement des sprites.', 7); LoadSprite; PrintR ('Allocation de la m‚moire.', 7); TestAlloue (1); GetMem (p, 1); if LongInt (p) and 15 <> 0 then begin release (p); GetMem (p, 15 - (LongInt (p) and 15)); end else release (p); AlloueBuffer (Decor); AlloueBuffer (P); Plan[0] := Ptr (Seg(P^),0); Plan[1] := Ptr (Seg(P^)+$800,0); AlloueBuffer (P); Plan[2] := Ptr (Seg(P^),0); Plan[3] := Ptr (Seg(P^)+$800,0); PrintR ('Initialisation de la carte son.', 7); if not InitSound then begin PrintR ('Carte son non pr‚sente ou driver non install‚.', 14); inc (InitError); end else SetVolumeSon; if InitError > 0 then Pause (InitError * 200); { Passe en mode VGA } InitVga; end; procedure Erreur; begin { Passe en mode texte si non fait, sinon retourne … la ligne } if GetMode <> $03 then InitTexte else Retour; { Affiche un message } Print ('Une erreur c''est produite lors de ', 12); PrintR (Quand, 14); Print ('À> ', 15); PrintR (Cause, 7); Beep; { Attend l'appuie sur une touche } repeat until KeyPress; { Termine le programme } Halt; end; end.
{*******************************************************} { } { Borland Delphi Runtime Library } { } { Copyright (C) 1998 Inprise Corporation } { } {*******************************************************} unit CorbCnst; interface resourcestring SCorbaDllNotLoaded = 'Unable to load CORBA libraries'; SCorbaNotInitialized = 'CORBA libraries are unavailable or not initialized'; SCorbaSkeletonNotRegistered = 'CORBA server skeleton not registered for object %s'; SCorbaStubNotRegistered = 'CORBA client stub not registered'; SCorbaInterfaceIDNotRegister = 'CORBA interface not registered'; SCorbaRepositoryIDNotRegistered = 'CORBA Repository ID "%s" not registered'; SCorbaIncompleteFactory = 'CORBA Factory did not implement CreateInterface'; resourcestring sInvalidTypeCast = 'Variant cannot be converted to a CORBA Any'; sNotCorbaObject = 'Variant/Any not a CORBA object'; sParamTypeCast = 'Parameter (%d) of method %s not of the correct type'; sParamOut = 'Parameter (%d) of method %s is an out or in/out parameter and requires a variable reference'; sNoRepository = 'Could not perform CORBA Dispatch, no interface repository found'; sInvalidParameterCount = 'Incorrect number of parameters to method %s'; sMethodNotFound = 'Method %s not found'; implementation end.
unit SourceFile; interface uses SourceLocation, SourceToken, SourceNode, Classes, SysUtils, StrUtils, StringBuilder, NodeParsing; type TCharType = (ctEof, ctWhitespace, ctLetter, ctNumber, ctSymbol); TStringMode = (smNone, smAt, smOpen, smOpenRaw, smEscape, smRawEscape, smCharOpen, smCharEscape, smSlash, smLineComment, smBlockComment, smBlockCommentStar, smWildEscape); //, smUnicode4, smUnicode3, smUnicode2, smUnicode1) TFloatMode = (fmNone, fmMinus, fmNakedDot, fmPrefix, fmDot, fmFraction, fmSignedExponent); TSourceFile = class public FErrors: TStringList; FOutput: TSourceNode; constructor Create; destructor Destroy; override; procedure ReadFromFile(const FileName: String); private FPhase1Position: TLocation; FPhase1_2Mode: Boolean; FPhase1_5Mode: TStringMode; FPhase1_5Token: TToken; FPhase1_5Buffer: TStringBuilder; FPhase2Token: TToken; FPhase2Buffer: TStringBuilder; FPhase2PreviousCharType: TCharType; FPhase3Mode: TFloatMode; FPhase3Token: TToken; FPhase3Buffer: TStringBuilder; FNodeParser: TNodeParser; procedure Phase1(B: Byte); // locations and newline conversion procedure Phase1_1(B: Byte; Position: PLocation); procedure Phase1_5(B: Byte; Position: PLocation); // Strings procedure Phase1_5B(B: Byte; Position: PLocation); // Strings procedure Phase2(B: Byte; Position: PLocation); // first tokenization pass procedure Phase2B(Token: PToken); procedure Phase2C(B: Byte; Position: PLocation); procedure Phase3(Token: PToken); // floating point procedure Phase3B(Token: PToken); // floating point procedure Phase4(Token: PToken); procedure Error(const Message: String; Position: TLocation); end; implementation var CharTypeMapping : array[Byte] of TCharType; SNK: array[TTokenKind] of TSourceNodeKind; constructor TSourceFile.Create; begin FErrors := TStringList.Create; FPhase1_5Buffer := TStringBuilder.Create; FPhase2Buffer := TStringBuilder.Create; FPhase3Buffer := TStringBuilder.Create; FOutput := TSourceNode.Create; FOutput.Kind := NodeParsing.RootNodeKind; FNodeParser := TNodeParser.Create; end; destructor TSourceFile.Destroy; begin FNodeParser.Free; FOutput.FreeChildren; FOutput.Free; FErrors.Free; FPhase1_5Buffer.Free; FPhase2Buffer.Free; FPhase3Buffer.Free; end; procedure TSourceFile.ReadFromFile(const FileName: String); var Stream: TFileStream; Size, Len: Integer; I: Integer; Buffer: array of Byte; const BufferSize = 65536; begin FOutput.Data := FileName; FPhase1Position.Line := 1; FPhase1Position.Column := 1; FPhase1Position.Offset := 0; FPhase1Position.EndOffset := 1; FPhase1_2Mode := False; FPhase1_5Mode := smNone; FPhase1_5Token.Kind := tkEof; FPhase2Token.Kind := tkEof; FPhase2PreviousCharType := ctEof; Stream := TFileStream.Create(FileName, fmOpenRead); try Size := Stream.Size; SetLength(Buffer, BufferSize); while Size > 0 do begin Len := Size; if Len > BufferSize then Len := BufferSize; Stream.ReadBuffer(Buffer[0], Len); for I := 0 to Len-1 do begin Phase1(Buffer[I]); end; Dec(Size, Len); end; finally Stream.Free; end; Phase1(0); FNodeParser.Process(FOutput); end; procedure TSourceFile.Phase1(B: Byte); begin if B = 0 then begin Phase1_1(B, @FPhase1Position); Exit; end; if B = 13 then begin Inc(FPhase1Position.Offset); Inc(FPhase1Position.EndOffset); Exit; // Dos newlines are a bother end; Phase1_1(B, @FPhase1Position); Inc(FPhase1Position.Offset); Inc(FPhase1Position.EndOffset); Inc(FPhase1Position.Column); if B = 10 then begin Inc(FPhase1Position.Line); FPhase1Position.Column := 1; end; end; procedure TSourceFile.Phase1_1(B: Byte; Position: PLocation); begin if FPhase1_2Mode then begin FPhase1_2Mode := False; if B = 10 then Exit; Dec(Position.Offset); Dec(Position.EndOffset); Dec(Position.Column); Phase1_5(92, Position); Inc(Position.Offset); Inc(Position.EndOffset); Inc(Position.Column); end; if B = 92 then begin FPhase1_2Mode := True; Exit; end; Phase1_5(B, Position); end; procedure TSourceFile.Phase1_5(B: Byte; Position: PLocation); begin if (CharTypeMapping[B] <> ctEof) and (FPhase1_5Mode = smNone) and (B <> 34) and (B <> 47) and (B <> 39) and (B <> 92) and (B <> 64) and (B <> 35) then begin Phase2(B, Position); end else begin Phase1_5B(B, Position); end; end; procedure TSourceFile.Phase1_5B(B: Byte; Position: PLocation); begin if CharTypeMapping[B] = ctEof then begin if FPhase1_5Mode = smSlash then begin Phase2(47, @FPhase1_5Token.Position); FPhase1_5Mode := smNone; end else if FPhase1_5Mode = smAt then begin Phase2(64, @FPhase1_5Token.Position); FPhase1_5Mode := smNone; end else if FPhase1_5Mode <> smNone then begin if (FPhase1_5Mode = smOpen) or (FPhase1_5Mode = smEscape) or (FPhase1_5Mode = smOpenRaw) or (FPhase1_5Mode = smRawEscape) then Error('Unterminated string constant', FPhase1_5Token.Position); if (FPhase1_5Mode = smCharOpen) or (FPhase1_5Mode = smCharEscape) then Error('Unterminated character constant', FPhase1_5Token.Position); if (FPhase1_5Mode = smBlockComment) or (FPhase1_5Mode = smBlockCommentStar) then Error('Unterminated comment', FPhase1_5Token.Position); FPhase1_5Token.Data := FPhase1_5Buffer.ToString; Phase2B(@FPhase1_5Token); FPhase1_5Mode := smNone; end; Phase2(B, Position); Exit; end; case FPhase1_5Mode of smNone: begin if B = 34 then begin FPhase1_5Mode := smOpen; FPhase1_5Token.Kind := tkString; FPhase1_5Token.Position := Position^; FPhase1_5Buffer.Clear; end else if B = 39 then begin FPhase1_5Mode := smCharOpen; FPhase1_5Token.Kind := tkCharacter; FPhase1_5Token.Position := Position^; FPhase1_5Buffer.Clear; end else if B = 47 then begin FPhase1_5Mode := smSlash; FPhase1_5Token.Kind := tkComment; FPhase1_5Token.Position := Position^; FPhase1_5Buffer.Clear; FPhase1_5Buffer.AppendByte(B); end else if B = 92 then begin FPhase1_5Mode := smWildEscape; FPhase1_5Token.Position := Position^; FPhase1_5Buffer.Clear; end else if B = 35 then begin FPhase1_5Mode := smLineComment; FPhase1_5Token.Position := Position^; FPhase1_5Buffer.Clear; FPhase1_5Buffer.AppendByte(B); end else if B = 64 then begin FPhase1_5Mode := smAt; FPhase1_5Token.Position := Position^; end else begin Phase2(B, Position); end; end; smAt: begin if B <> 34 then begin Phase2(64, @FPhase1_5Token.Position); FPhase1_5Mode := smNone; Phase1_5B(B, Position); Exit; end; FPhase1_5Mode := smOpenRaw; FPhase1_5Token.Kind := tkString; FPhase1_5Buffer.Clear; end; smOpen: begin FPhase1_5Token.Position.EndOffset := Position.EndOffset; if B = 34 then begin FPhase1_5Mode := smNone; FPhase1_5Token.Data := FPhase1_5Buffer.ToString; Phase2B(@FPhase1_5Token); end else if B = 92 then begin FPhase1_5Mode := smEscape; end else begin FPhase1_5Buffer.AppendByte(B); end; end; smOpenRaw: begin FPhase1_5Token.Position.EndOffset := Position.EndOffset; if B = 34 then begin FPhase1_5Mode := smRawEscape; end else begin FPhase1_5Buffer.AppendByte(B); end; end; smRawEscape: begin FPhase1_5Token.Position.EndOffset := Position.EndOffset; if B = 34 then begin FPhase1_5Buffer.AppendByte(34); FPhase1_5Mode := smOpenRaw; Exit; end; FPhase1_5Mode := smNone; FPhase1_5Token.Data := FPhase1_5Buffer.ToString; Phase2B(@FPhase1_5Token); Phase1_1(B, Position); Exit; end; smEscape: begin FPhase1_5Token.Position.EndOffset := Position.EndOffset; FPhase1_5Mode := smOpen; case B of 92: begin // \ FPhase1_5Buffer.AppendByte(B); end; 48: begin // 0 FPhase1_5Buffer.AppendByte(0); end; 97: begin // a FPhase1_5Buffer.AppendByte(7); end; 98: begin // b FPhase1_5Buffer.AppendByte(8); end; 102: begin // f FPhase1_5Buffer.AppendByte(12); end; 110: begin // n FPhase1_5Buffer.AppendByte(10); end; 114: begin // r // don't use plz FPhase1_5Buffer.AppendByte(13); end; 116: begin // t FPhase1_5Buffer.AppendByte(9); end; 118: begin // v FPhase1_5Buffer.AppendByte(11); end; 34: begin // " FPhase1_5Buffer.AppendByte(B); end; 39: begin // ' FPhase1_5Buffer.AppendByte(B); end; //placeholdery 120: begin // x FPhase1_5Buffer.AppendByte(92); FPhase1_5Buffer.AppendByte(B); end; 117: begin // u FPhase1_5Buffer.AppendByte(92); FPhase1_5Buffer.AppendByte(B); end; 86: begin // U FPhase1_5Buffer.AppendByte(92); FPhase1_5Buffer.AppendByte(B); end; else begin Error('Unrecognized escape sequence', Position^); end; end; end; smCharOpen: begin FPhase1_5Token.Position.EndOffset := Position.EndOffset; if B = 39 then begin FPhase1_5Mode := smNone; FPhase1_5Token.Data := FPhase1_5Buffer.ToString; Phase2B(@FPhase1_5Token); end else if B = 92 then begin FPhase1_5Mode := smCharEscape; end else begin FPhase1_5Buffer.AppendByte(B); end; end; smCharEscape: begin FPhase1_5Token.Position.EndOffset := Position.EndOffset; FPhase1_5Mode := smCharOpen; case B of 92: begin // \ FPhase1_5Buffer.AppendByte(B); end; 48: begin // 0 FPhase1_5Buffer.AppendByte(0); end; 97: begin // a FPhase1_5Buffer.AppendByte(7); end; 98: begin // b FPhase1_5Buffer.AppendByte(8); end; 102: begin // f FPhase1_5Buffer.AppendByte(12); end; 110: begin // n FPhase1_5Buffer.AppendByte(10); end; 114: begin // r // don't use plz FPhase1_5Buffer.AppendByte(13); end; 116: begin // t FPhase1_5Buffer.AppendByte(9); end; 118: begin // v FPhase1_5Buffer.AppendByte(11); end; 34: begin // " FPhase1_5Buffer.AppendByte(B); end; 39: begin // ' FPhase1_5Buffer.AppendByte(B); end; //placeholdery 120: begin // x FPhase1_5Buffer.AppendByte(92); FPhase1_5Buffer.AppendByte(B); end; 117: begin // u FPhase1_5Buffer.AppendByte(92); FPhase1_5Buffer.AppendByte(B); end; 86: begin // U FPhase1_5Buffer.AppendByte(92); FPhase1_5Buffer.AppendByte(B); end; else begin Error('Unrecognized escape sequence', Position^); FPhase1_5Mode := smCharOpen; end; end; end; smSlash: begin if B = 47 then begin FPhase1_5Buffer.AppendByte(B); FPhase1_5Mode := smLineComment; end else if B = 42 then begin FPhase1_5Buffer.AppendByte(B); FPhase1_5Mode := smBlockComment; end else begin Phase2(47, @FPhase1_5Token.Position); Phase2(B, Position); FPhase1_5Mode := smNone; end; end; smLineComment: begin if B = 10 then begin FPhase1_5Token.Data := FPhase1_5Buffer.ToString; FPhase1_5Mode := smNone; Phase2B(@FPhase1_5Token); Phase2(B, Position); end else begin FPhase1_5Buffer.AppendByte(B); end; end; smBlockComment: begin if B = 42 then FPhase1_5Mode := smBlockCommentStar; FPhase1_5Buffer.AppendByte(B); end; smBlockCommentStar: begin FPhase1_5Buffer.AppendByte(B); if B = 47 then begin FPhase1_5Token.Data := FPhase1_5Buffer.ToString; FPhase1_5Mode := smNone; Phase2B(@FPhase1_5Token); end else if B <> 42 then FPhase1_5Mode := smBlockComment; end; smWildEscape: begin if B <> 10 then begin Phase2(92, @FPhase1_5Token.Position); Phase2(B, Position); end; FPhase1_5Mode := smNone; end; end; end; procedure TSourceFile.Phase2(B: Byte; Position: PLocation); begin case CharTypeMapping[B] of ctEof: begin Phase2C(B, Position); end; ctWhitespace: begin if FPhase2PreviousCharType <> ctWhitespace then begin if FPhase2Token.Kind <> tkEof then begin Phase2C(B, Position); Exit; end; end; FPhase2PreviousCharType := ctWhitespace; end; ctLetter: begin if (FPhase2PreviousCharType = ctLetter) or (FPhase2PreviousCharType = ctNumber) then begin FPhase2Token.Position.EndOffset := Position.EndOffset; FPhase2Buffer.AppendByte(B); end else begin Phase2C(B, Position); Exit; end; end; ctNumber: begin if (FPhase2PreviousCharType = ctLetter) or (FPhase2PreviousCharType = ctNumber) then begin FPhase2Token.Position.EndOffset := Position.EndOffset; Fphase2Buffer.AppendByte(B); end else begin Phase2C(B, Position); Exit; end; end; ctSymbol: begin Phase2C(B, Position); Exit; end; end; end; procedure TSourceFile.Phase2C(B: Byte; Position: PLocation); begin case CharTypeMapping[B] of ctEof: begin if FPhase2Token.Kind <> tkEof then begin FPhase2Token.Data := FPhase2Buffer.ToString; Phase3(@FPhase2Token); end; FPhase2PreviousCharType := ctEof; FPhase2Token.Position := Position^; FPhase2Token.Kind := tkEof; Phase3(@FPhase2Token); end; ctWhitespace: begin if FPhase2PreviousCharType <> ctWhitespace then begin if FPhase2Token.Kind <> tkEof then begin FPhase2Token.Data := FPhase2Buffer.ToString; Phase3(@FPhase2Token); end; end; FPhase2PreviousCharType := ctWhitespace; FPhase2Token.Kind := tkEof; end; ctLetter: begin if (FPhase2PreviousCharType = ctLetter) or (FPhase2PreviousCharType = ctNumber) then begin FPhase2Token.Position.EndOffset := Position.EndOffset; FPhase2Buffer.AppendByte(B); end else begin if FPhase2Token.Kind <> tkEof then begin FPhase2Token.Data := FPhase2Buffer.ToString; Phase3(@FPhase2Token); end; FPhase2PreviousCharType := ctLetter; FPhase2Token.Position := Position^; FPhase2Token.Kind := tkIdentifier; FPhase2Buffer.Clear(); Fphase2Buffer.AppendByte(B); end; end; ctNumber: begin if (FPhase2PreviousCharType = ctLetter) or (FPhase2PreviousCharType = ctNumber) then begin FPhase2Token.Position.EndOffset := Position.EndOffset; Fphase2Buffer.AppendByte(B); end else begin if FPhase2Token.Kind <> tkEof then begin FPhase2Token.Data := FPhase2Buffer.ToString; Phase3(@FPhase2Token); end; FPhase2PreviousCharType := ctNumber; FPhase2Token.Position := Position^; FPhase2Token.Kind := tkNumber; Fphase2Buffer.Clear(); Fphase2Buffer.AppendByte(B); end; end; ctSymbol: begin if FPhase2Token.Kind <> tkEof then begin FPhase2Token.Data := FPhase2Buffer.ToString; Phase3(@FPhase2Token); end; FPhase2PreviousCharType := ctSymbol; FPhase2Token.Position := Position^; FPhase2Token.Kind := tkSymbol; FPhase2Token.Data := CChr(B); Phase3(@FPhase2Token); FPhase2Token.Kind := tkEof; end; end; end; procedure TSourceFile.Phase2B(Token: PToken); begin FPhase2PreviousCharType := ctEof; if FPhase2Token.Kind <> tkEof then begin FPhase2Token.Data := FPhase2Buffer.ToString; Phase3(@FPhase2Token); end; FPhase2Token.Kind := tkEof; Phase3(Token); end; // Parses more than strictly floating point numbers // including integers, hex, bin and octal literals // and also a good amount of invalid forms. procedure TSourceFile.Phase3(Token: PToken); begin if FPhase3Mode <> fmNone then begin if Token.Position.Offset <> FPhase3Token.Position.EndOffset then begin if (FPhase3Mode <> fmPrefix) and (FPhase3Mode <> fmMinus) and (FPhase3Mode <> fmNakedDot) then begin Phase3B(Token); Exit; end; Phase4(@FPhase3Token); FPhase3Mode := fmNone; end; end; case FPhase3Mode of fmNone: begin if Token.Kind = tkNumber then begin Phase3B(Token); Exit; end; if (Token.Kind = tkSymbol) and (Token.Data = '-') then begin Phase3B(Token); Exit; end; if (Token.Kind = tkSymbol) and (Token.Data = '.') then begin Phase3B(Token); Exit; end; Phase4(Token); end; fmNakedDot: begin if Token.Kind = tkNumber then begin Phase3B(Token); Exit; end; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmMinus: begin if Token.Kind = tkNumber then begin Phase3B(Token); Exit; end; if (Token.Kind = tkSymbol) and (Token.Data = '.') then begin Phase3B(Token); Exit; end; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmPrefix: begin if (Token.Kind = tkSymbol) then begin Phase3B(Token); Exit; end; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmDot: begin if Token.Kind = tkNumber then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.AppendString(Token.Data); FPhase3Mode := fmFraction; Exit; end; if Token.Kind = tkIdentifier then begin Phase3B(Token); Exit; end; Phase3B(Token); Exit; end; fmFraction: begin Phase3B(Token); Exit; end; fmSignedExponent: begin Phase3B(Token); Exit; end; end; end; procedure TSourceFile.Phase3B(Token: PToken); var S: String; begin if FPhase3Mode <> fmNone then begin if Token.Position.Offset <> FPhase3Token.Position.EndOffset then begin if (FPhase3Mode <> fmPrefix) and (FPhase3Mode <> fmMinus) and (FPhase3Mode <> fmNakedDot) then FPhase3Token.Data := FPhase3Buffer.ToString; Phase4(@FPhase3Token); FPhase3Mode := fmNone; end; end; case FPhase3Mode of fmNone: begin if Token.Kind = tkNumber then begin FPhase3Token := Token^; FPhase3Mode := fmPrefix; Exit; end; if (Token.Kind = tkSymbol) and (Token.Data = '-') then begin FPhase3Token := Token^; FPhase3Mode := fmMinus; Exit; end; if (Token.Kind = tkSymbol) and (Token.Data = '.') then begin FPhase3Token := Token^; FPhase3Mode := fmNakedDot; Exit; end; Phase4(Token); end; fmNakedDot: begin if Token.Kind = tkNumber then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.Clear(); FPhase3Buffer.AppendString(FPhase3Token.Data); FPhase3Buffer.AppendString(Token.Data); FPhase3Token.Kind := tkNumber; FPhase3Mode := fmFraction; Exit; end; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmMinus: begin if Token.Kind = tkNumber then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Token.Data := FPhase3Token.Data + Token.Data; FPhase3Token.Kind := tkNumber; FPhase3Mode := fmPrefix; Exit; end; if (Token.Kind = tkSymbol) and (Token.Data = '.') then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.Clear(); FPhase3Buffer.AppendString(FPhase3Token.Data); FPhase3Buffer.AppendString(Token.Data); FPhase3Mode := fmDot; Exit; end; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmPrefix: begin if (Token.Kind = tkSymbol) and (Token.Data = '.') then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.Clear(); FPhase3Buffer.AppendString(FPhase3Token.Data); FPhase3Buffer.AppendString(Token.Data); FPhase3Mode := fmDot; Exit; end; if AnsiEndsText('e', FPhase3Token.Data) and not (AnsiStartsText('0x', FPhase3Token.Data) or AnsiStartsText('-0x', FPhase3Token.Data)) then begin if (Token.Kind = tkSymbol) and ((Token.Data = '-') or (Token.Data = '+')) then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.Clear(); FPhase3Buffer.AppendString(FPhase3Token.Data); FPhase3Buffer.AppendString(Token.Data); FPhase3Mode := fmSignedExponent; Exit; end; end; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmDot: begin if Token.Kind = tkNumber then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.AppendString(Token.Data); FPhase3Mode := fmFraction; Exit; end; if Token.Kind = tkIdentifier then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.AppendString(Token.Data); FPhase3Token.Data := FPhase3Buffer.ToString; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Exit; end; FPhase3Token.Data := FPhase3Buffer.ToString; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmFraction: begin S := FPhase3Buffer.ToString; if AnsiEndsText('e', S) and not (AnsiStartsText('0x', S) or AnsiStartsText('-0x', S)) then begin if (Token.Kind = tkSymbol) and ((Token.Data = '-') or (Token.Data = '+')) then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.AppendString(Token.Data); FPhase3Mode := fmSignedExponent; Exit; end; if Token.Kind = tkNumber then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.AppendString(Token.Data); Phase4(@FPhase3Token); FPhase3Mode := fmNone; Exit; end; end; FPhase3Token.Data := S; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; fmSignedExponent: begin if Token.Kind = tkNumber then begin FPhase3Token.Position.EndOffset := Token.Position.EndOffset; FPhase3Buffer.AppendString(Token.Data); Phase4(@FPhase3Token); FPhase3Mode := fmNone; Exit; end; FPhase3Token.Data := FPhase3Buffer.ToString; Phase4(@FPhase3Token); FPhase3Mode := fmNone; Phase3(Token); Exit; end; end; end; procedure TSourceFile.Phase4(Token: PToken); var SourceNode: TSourceNode; begin if Token.Kind = tkEof then Exit; SourceNode := TSourceNode.Create; SourceNode.Position := Token.Position; SourceNode.Data := Token.Data; SourceNode.Kind := SNK[Token.Kind]; if FOutput.LastChild = nil then begin FOutput.FirstChild := SourceNode; end else begin FOutput.LastChild.Next := SourceNode; end; SourceNode.Previous := FOutput.LastChild; FOutput.LastChild := SourceNode; SourceNode.Parent := FOutput; end; procedure BuildCharTypeMapping; var B: Byte; begin for B := 0 to 255 do CharTypeMapping[B] := ctEof; CharTypeMapping[9] := ctWhiteSpace; CharTypeMapping[10] := ctWhiteSpace; CharTypeMapping[13] := ctWhiteSpace; CharTypeMapping[32] := ctWhiteSpace; for B := 33 to 47 do CharTypeMapping[B] := ctSymbol; for B := 48 to 57 do CharTypeMapping[B] := ctNumber; for B := 58 to 64 do CharTypeMapping[B] := ctSymbol; for B := 65 to 90 do CharTypeMapping[B] := ctLetter; for B := 91 to 94 do CharTypeMapping[B] := ctSymbol; CharTypeMapping[95] := ctLetter; CharTypeMapping[96] := ctSymbol; for B := 97 to 122 do CharTypeMapping[B] := ctLetter; for B := 123 to 126 do CharTypeMapping[B] := ctSymbol; for B := 128 to 255 do CharTypeMapping[B] := ctLetter; // le unicode end; procedure TSourceFile.Error(const Message: String; Position: TLocation); begin if FErrors.Count < 1000 then FErrors.Append('Error: '+Message+' '+DescribeLocation(Position)); end; procedure BuildSNK; begin // move into NodeParsing SNK[tkIdentifier] := TSourceNodeKind.Create('identifier'); SNK[tkSymbol] := NodeParsing.SymbolNodeKind; SNK[tkNumber] := TSourceNodeKind.Create('number'); SNK[tkString] := TSourceNodeKind.Create('string'); SNK[tkCharacter] := TSourceNodeKind.Create('character'); SNK[tkComment] := TSourceNodeKind.Create('comment'); SNK[tkError] := TSourceNodeKind.Create('error'); SNK[tkEof] := TSourceNodeKind.Create('eof'); end; initialization BuildCharTypeMapping; BuildSNK; finalization end.
unit CSVToDataSet; interface uses System.SysUtils, Datasnap.DBClient, System.IOUtils, Data.DB, System.Variants, System.Classes, InterfaceConversor; type TCSVToDataSet = class(TConversor) private DataSet: TClientDataSet; CaminhoDoArqv: String; procedure Split(Linha: string; Delimiter: char; ListaDeStrings: TStringList); public function Converter: string; override; constructor Create(const Arquivo: string; ClientDataSet: TClientDataSet); override; end; implementation uses UnitConversor; constructor TCSVToDataSet.Create(const Arquivo: string; ClientDataSet: TClientDataSet); begin inherited; CaminhoDoArqv := Arquivo; DataSet := ClientDataSet; end; procedure TCSVToDataSet.Split(Linha: string; Delimiter: char; ListaDeStrings: TStringList); begin ListaDeStrings.Delimiter := Delimiter; ListaDeStrings.DelimitedText := Linha; end; function TCSVToDataSet.Converter: string; var ListaDeDados, ListaDeItens: TStringList; I, J, K: integer; LinhaAtual: string; Field: TField; begin inherited; ListaDeDados := TStringList.Create; ListaDeItens := TStringList.Create; DataSet.Close; DataSet.Fields.Clear; try ListaDeItens.LoadFromFile(CaminhoDoArqv); for I := 0 to ListaDeItens.Count - 1 do begin LinhaAtual := ListaDeItens[I]; Split(LinhaAtual, ',', ListaDeDados); if I = 0 then begin for J := 0 to ListaDeDados.Count - 1 do begin Field := TWideStringField.Create(DataSet); Field.Name := ''; Field.FieldName := ListaDeDados[J]; Field.DataSet := DataSet; end; DataSet.CreateDataSet; continue; end; DataSet.Insert; for K := 0 to ListaDeDados.Count - 1 do DataSet.Fields[K].Value := ListaDeDados[K]; DataSet.Post; Form1.rchTextos.Lines.Add(LinhaAtual); end; finally ListaDeDados.Free; ListaDeItens.Free; end; end; end.
unit u_feuille_style; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, ExtCtrls, Grids, StdCtrls, Graphics; type Tfeuille_style = CLASS procedure fonte_defaut (ctrl : TControl); procedure panel_defaut (pnl : TPanel); procedure panel_selection (pnl : TPanel); procedure panel_travail (pnl : TPanel); procedure panel_bouton (pnl : TPanel); procedure grille (grid : TStringGrid); procedure label_titre (lbl : TLabel); procedure label_erreur (lbl : TLabel); procedure combo (cbo : TComboBox); END; var style : Tfeuille_style; implementation procedure Tfeuille_style.fonte_defaut (ctrl : TControl); begin ctrl.Font.Name := 'Calibri'; ctrl.Font.Size := 11; ctrl.Font.Color := $00000000; end; procedure Tfeuille_style.panel_defaut (pnl : TPanel); begin pnl.Color := $00EBEBEB; pnl.BorderStyle:= bsNone; pnl.BevelOuter := bvNone; pnl.Alignment := taLeftJustify; fonte_defaut(pnl); end; procedure Tfeuille_style.panel_selection (pnl : TPanel); begin panel_defaut(pnl); pnl.Color := $00505050; pnl.Font.Color := $00FFFFFF; end; procedure Tfeuille_style.panel_travail (pnl : TPanel); begin panel_defaut(pnl); pnl.Color := $00FFFFFF; end; procedure Tfeuille_style.panel_bouton (pnl : TPanel); begin panel_defaut(pnl); pnl.BorderStyle:= bsSingle; end; procedure Tfeuille_style.grille (grid : TStringGrid); begin fonte_defaut (grid); grid.Options := [goFixedHorzLine, goRowSelect, goColSizing, goSmoothScroll]; grid.Flat := true; grid.BorderStyle := bsnone; grid.FixedColor := $00EBEBEB; grid.AlternateColor := $00EBEBEB; grid.SelectedColor := $00505050; grid.RowCount := 1; grid.ColumnClickSorts := true; end; procedure Tfeuille_style.label_titre (lbl : TLabel); begin fonte_defaut (lbl); lbl.color := $005B5B5B; lbl.font.color := $00FFFFFF; lbl.font.style := [fsBold]; end; procedure Tfeuille_style.label_erreur (lbl : TLabel); begin fonte_defaut (lbl); lbl.font.size := lbl.font.size -1; lbl.transparent:= true; lbl.font.color := $000000FF; lbl.font.style := [fsItalic]; end; procedure Tfeuille_style.combo (cbo : TComboBox); begin fonte_defaut (cbo); cbo.color := $00FFFFFF; cbo.Style := csOwnerDrawFixed; cbo.sorted := true; cbo.AutoComplete := true; end; end.
unit WasmTest_Bench; interface uses System.SysUtils, System.Generics.Collections , Wasm {$ifndef USE_WASMER} , Wasmtime {$else} , Wasmer {$ifend} ; function Bench() : Boolean; implementation uses Diagnostics, Ownership; function fibonacci(n : Integer) : Integer; begin case n of 0: result := 0; 1: result := 1; else var p1 := 0; for var i := 1 to 2 do begin p1 := p1 + fibonacci(n-i); end; result := p1; end; end; function vec_bench() : Integer; begin var dat := TList<Integer>.Create(); for var i := 0 to 1000000-1 do begin dat.add(i); end; var sum := 0; for var d in dat do begin sum := sum + (d+1); end; result := sum; dat.Free; end; function Bench() : Boolean; begin // Initialize. writeln('Initializing...'); var config := TWasmConfig.New(); {$ifdef USE_WASMER} (+config).SetCompiler(TWasmerCompiler.CRANELIFT); {$else} (+config).StrategySet(TWasmtimeStrategy.WASMTIME_STRATEGY_CRANELIFT); {$endif} var engine := TWasmEngine.NewWithConfig(config); var store := TWasmStore.New(+engine); // Load binary. var binary := TWasmByteVec.NewEmpty; {$ifdef USE_WASMER_AOT} var fname := '../wasm_bench_llvm.wasmu'; {$else} var fname := '../wasm_bench.wasm'; {$endif} writeln('Loading binary '+fname); binary.Unwrap.LoadFromFile(fname); // Compile. writeln('Compiling module...'); {$ifdef USE_WASMER_AOT} var module := TWasmModule.Deserialize(+store, +binary); {$else} var module := TWasmModule.New(+store, +binary); {$endif} if module.IsNone then begin writeln('> Error compiling module!'); exit(false) end; var fibonacci_bench_id := -1; var vec_bench_id := -1; var export_types := (+module).GetExports; for var i := 0 to (+export_types).size-1 do begin var name := (+export_types).items[i].Name; if name = 'fibonacci_bench' then fibonacci_bench_id := i else if name = 'vec_bench' then vec_bench_id := i; end; // Instantiate. writeln('Instantiating module...'); var imports := TWasmExternVec.Create([]); var instance := TWasmInstance.New(+store, +module, @imports); if instance.IsNone then begin writeln('> Error instantiating module!'); exit(false); end; // Extract export. writeln('Extracting export...'); var export_s := (+instance).GetExports; if export_s.Unwrap.size = 0 then begin writeln('> Error accessing exports!'); exit(false); end; var fibonacci_bench_func := (+export_s).Items[fibonacci_bench_id].AsFunc; var vec_bench_func := (+export_s).Items[vec_bench_id].AsFunc; if fibonacci_bench_func <> nil then begin // Call. writeln('Calling export [fibonacci_bench]...'); var sw := TStopWatch.Create(); var res := [ WASM_INIT_VAL ]; var args := TWasmValVec.Create([]); sw.Start(); var results := TWasmValVec.Create(res); if fibonacci_bench_func.Call( @args, @results).IsError then begin writeln('> Error calling function!'); exit(false); end; sw.Stop(); // Print result. writeln('Printing result...'); writeln( Format('Wasm-fibonacci> %u (%d ms)', [ UInt32(res[0].i32), sw.ElapsedMilliseconds ])); sw.Reset; sw.Start; var nr := fibonacci(38); sw.Stop(); writeln( Format('Delphi-fibonacci> %u (%d ms)', [ nr, sw.ElapsedMilliseconds ])); end; if vec_bench_func <> nil then begin // Call. writeln('Calling export [vec_bench]...'); var sw := TStopWatch.Create(); var res := [ WASM_INIT_VAL ]; var args := TWasmValVec.Create([]); sw.Start(); var results := TWasmValVec.Create(res); if vec_bench_func.Call( @args, @results).IsError then begin writeln('> Error calling function!'); exit(false); end; sw.Stop(); // Print result. writeln('Printing result...'); writeln( Format('Wasm-vec_bench> %u (%d ms)', [ UInt32(res[0].i32), sw.ElapsedMilliseconds ])); sw.Reset; sw.Start; var nr := vec_bench(); sw.Stop(); writeln( Format('Delphi-vec_bench> %u (%d ms)', [ nr, sw.ElapsedMilliseconds ])); end; // Shut down. writeln('Shutting down...'); // All done. writeln('Done.'); result := true; end; end.
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://fias.nalog.ru/WebServices/Public/DownloadService.asmx?WSDL // >Import : http://fias.nalog.ru/WebServices/Public/DownloadService.asmx?WSDL>0 // Encoding : utf-8 // Codegen : [wfUseSerializerClassForAttrs-] // Version : 1.0 // (23.11.2012 13:20:55 - - $Rev: 19514 $) // ************************************************************************ // unit DownloadService; interface uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns; const IS_OPTN = $0001; IS_UNBD = $0002; IS_NLBL = $0004; IS_REF = $0080; type // ************************************************************************ // // The following types, referred to in the WSDL document are not being represented // in this file. They are either aliases[@] of other types represented or were referred // to but never[!] declared in the document. The types from the latter category // typically map to predefined/known XML or Borland types; however, they could also // indicate incorrect WSDL documents that failed to declare or import a schema type. // ************************************************************************ // // !:int - "http://www.w3.org/2001/XMLSchema"[Gbl] // !:string - "http://www.w3.org/2001/XMLSchema"[Gbl] DownloadFileInfo = class; { "http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/"[GblCplx] } // ************************************************************************ // // XML : DownloadFileInfo, global, <complexType> // Namespace : http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/ // ************************************************************************ // DownloadFileInfo = class(TRemotable) private FVersionId: Integer; FTextVersion: string; FTextVersion_Specified: boolean; FFiasCompleteDbfUrl: string; FFiasCompleteDbfUrl_Specified: boolean; FFiasCompleteXmlUrl: string; FFiasCompleteXmlUrl_Specified: boolean; FFiasDeltaDbfUrl: string; FFiasDeltaDbfUrl_Specified: boolean; FFiasDeltaXmlUrl: string; FFiasDeltaXmlUrl_Specified: boolean; FKladr4ArjUrl: string; FKladr4ArjUrl_Specified: boolean; FKladr47ZUrl: string; FKladr47ZUrl_Specified: boolean; procedure SetTextVersion(Index: Integer; const Astring: string); function TextVersion_Specified(Index: Integer): boolean; procedure SetFiasCompleteDbfUrl(Index: Integer; const Astring: string); function FiasCompleteDbfUrl_Specified(Index: Integer): boolean; procedure SetFiasCompleteXmlUrl(Index: Integer; const Astring: string); function FiasCompleteXmlUrl_Specified(Index: Integer): boolean; procedure SetFiasDeltaDbfUrl(Index: Integer; const Astring: string); function FiasDeltaDbfUrl_Specified(Index: Integer): boolean; procedure SetFiasDeltaXmlUrl(Index: Integer; const Astring: string); function FiasDeltaXmlUrl_Specified(Index: Integer): boolean; procedure SetKladr4ArjUrl(Index: Integer; const Astring: string); function Kladr4ArjUrl_Specified(Index: Integer): boolean; procedure SetKladr47ZUrl(Index: Integer; const Astring: string); function Kladr47ZUrl_Specified(Index: Integer): boolean; published property VersionId: Integer read FVersionId write FVersionId; property TextVersion: string Index (IS_OPTN) read FTextVersion write SetTextVersion stored TextVersion_Specified; property FiasCompleteDbfUrl: string Index (IS_OPTN) read FFiasCompleteDbfUrl write SetFiasCompleteDbfUrl stored FiasCompleteDbfUrl_Specified; property FiasCompleteXmlUrl: string Index (IS_OPTN) read FFiasCompleteXmlUrl write SetFiasCompleteXmlUrl stored FiasCompleteXmlUrl_Specified; property FiasDeltaDbfUrl: string Index (IS_OPTN) read FFiasDeltaDbfUrl write SetFiasDeltaDbfUrl stored FiasDeltaDbfUrl_Specified; property FiasDeltaXmlUrl: string Index (IS_OPTN) read FFiasDeltaXmlUrl write SetFiasDeltaXmlUrl stored FiasDeltaXmlUrl_Specified; property Kladr4ArjUrl: string Index (IS_OPTN) read FKladr4ArjUrl write SetKladr4ArjUrl stored Kladr4ArjUrl_Specified; property Kladr47ZUrl: string Index (IS_OPTN) read FKladr47ZUrl write SetKladr47ZUrl stored Kladr47ZUrl_Specified; end; ArrayOfDownloadFileInfo = array of DownloadFileInfo; { "http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/"[GblCplx] } // ************************************************************************ // // Namespace : http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/ // soapAction: http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/%operationName% // transport : http://schemas.xmlsoap.org/soap/http // style : document // binding : DownloadServiceSoap // service : DownloadService // port : DownloadServiceSoap // URL : http://fias.nalog.ru/WebServices/Public/DownloadService.asmx // ************************************************************************ // DownloadServiceSoap = interface(IInvokable) ['{ED86DABA-68D5-4422-8BD4-2B00A07E83B6}'] function GetLastDownloadFileInfo: DownloadFileInfo; stdcall; function GetAllDownloadFileInfo: ArrayOfDownloadFileInfo; stdcall; end; function GetDownloadServiceSoap(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): DownloadServiceSoap; implementation uses SysUtils; function GetDownloadServiceSoap(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): DownloadServiceSoap; const defWSDL = 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx?WSDL'; defURL = 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx'; defSvc = 'DownloadService'; defPrt = 'DownloadServiceSoap'; var RIO: THTTPRIO; begin Result := nil; if (Addr = '') then begin if UseWSDL then Addr := defWSDL else Addr := defURL; end; if HTTPRIO = nil then RIO := THTTPRIO.Create(nil) else RIO := HTTPRIO; try Result := (RIO as DownloadServiceSoap); if UseWSDL then begin RIO.WSDLLocation := Addr; RIO.Service := defSvc; RIO.Port := defPrt; end else RIO.URL := Addr; finally if (Result = nil) and (HTTPRIO = nil) then RIO.Free; end; end; procedure DownloadFileInfo.SetTextVersion(Index: Integer; const Astring: string); begin FTextVersion := Astring; FTextVersion_Specified := True; end; function DownloadFileInfo.TextVersion_Specified(Index: Integer): boolean; begin Result := FTextVersion_Specified; end; procedure DownloadFileInfo.SetFiasCompleteDbfUrl(Index: Integer; const Astring: string); begin FFiasCompleteDbfUrl := Astring; FFiasCompleteDbfUrl_Specified := True; end; function DownloadFileInfo.FiasCompleteDbfUrl_Specified(Index: Integer): boolean; begin Result := FFiasCompleteDbfUrl_Specified; end; procedure DownloadFileInfo.SetFiasCompleteXmlUrl(Index: Integer; const Astring: string); begin FFiasCompleteXmlUrl := Astring; FFiasCompleteXmlUrl_Specified := True; end; function DownloadFileInfo.FiasCompleteXmlUrl_Specified(Index: Integer): boolean; begin Result := FFiasCompleteXmlUrl_Specified; end; procedure DownloadFileInfo.SetFiasDeltaDbfUrl(Index: Integer; const Astring: string); begin FFiasDeltaDbfUrl := Astring; FFiasDeltaDbfUrl_Specified := True; end; function DownloadFileInfo.FiasDeltaDbfUrl_Specified(Index: Integer): boolean; begin Result := FFiasDeltaDbfUrl_Specified; end; procedure DownloadFileInfo.SetFiasDeltaXmlUrl(Index: Integer; const Astring: string); begin FFiasDeltaXmlUrl := Astring; FFiasDeltaXmlUrl_Specified := True; end; function DownloadFileInfo.FiasDeltaXmlUrl_Specified(Index: Integer): boolean; begin Result := FFiasDeltaXmlUrl_Specified; end; procedure DownloadFileInfo.SetKladr4ArjUrl(Index: Integer; const Astring: string); begin FKladr4ArjUrl := Astring; FKladr4ArjUrl_Specified := True; end; function DownloadFileInfo.Kladr4ArjUrl_Specified(Index: Integer): boolean; begin Result := FKladr4ArjUrl_Specified; end; procedure DownloadFileInfo.SetKladr47ZUrl(Index: Integer; const Astring: string); begin FKladr47ZUrl := Astring; FKladr47ZUrl_Specified := True; end; function DownloadFileInfo.Kladr47ZUrl_Specified(Index: Integer): boolean; begin Result := FKladr47ZUrl_Specified; end; initialization InvRegistry.RegisterInterface(TypeInfo(DownloadServiceSoap), 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/', 'utf-8'); InvRegistry.RegisterDefaultSOAPAction(TypeInfo(DownloadServiceSoap), 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/%operationName%'); InvRegistry.RegisterInvokeOptions(TypeInfo(DownloadServiceSoap), ioDocument); RemClassRegistry.RegisterXSClass(DownloadFileInfo, 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/', 'DownloadFileInfo'); RemClassRegistry.RegisterXSInfo(TypeInfo(ArrayOfDownloadFileInfo), 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx/', 'ArrayOfDownloadFileInfo'); end.
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 2016 Embarcadero Technologies, Inc. } { All rights reserved } { } {*******************************************************} unit Data.DBConsts; interface resourcestring SInvalidFieldSize = 'Tamanho de campo inválido'; SInvalidFieldKind = 'FieldKind inválido'; SInvalidFieldRegistration = 'Registro de campo inválido'; SUnknownFieldType = 'Campo "%s" de tipo desconhecido'; SFieldNameMissing = 'Nome do campo ausente'; SDuplicateFieldName = 'Nome de campo duplicado "%s"'; SFieldNotFound = 'Campo "%s" não encontrado'; SFieldAccessError = 'Não é possível acessar o campo "%s" do tipo %s'; SFieldValueError = 'Valor inválido para o campo "%s"'; SFieldRangeError = '%g Não é um valor válido para o campo "%s". A faixa permitida é de %g até %g'; SBcdFieldRangeError = '%s não é um valor válido para o campo "%s". A faixa permitida vai de %s até %s'; SInvalidIntegerValue = '"%s" não é um inteiro válido para o campo "%s"'; SInvalidBoolValue = '"%s" não é uma valor boleano válido para o campo "%s"'; SInvalidFloatValue = '"%s" não é um valor de ponto flutuante válido para o campo "%s"'; SFieldTypeMismatch = 'Campo "%s" não é do tipo esperado'; SFieldSizeMismatch = 'Tamanho sem combinação para campo "%s", esperando: %d atual: %d'; SInvalidVarByteArray = 'Tipo ou tamanho da variante inválido para o campo "%s"'; SFieldOutOfRange = 'Valor do campo "%s" está fora de faixa'; // SBCDOverflow = '(Estouro de capacidade)'; SCantAdjustPrecision = 'Erro ao ajustar precisão do BCD'; SFieldRequired = 'Campo "%s" é requerido e deve ter um valor'; SDataSetMissing = 'Dataset "%s" desconhecido ou não encontrado'; SInvalidCalcType = 'Campo "%s" não pode ser um campo calculado ou lookup'; SFieldReadOnly = 'Campo "%s" não pode ser modificado. Ele está em modo somente-leitura'; SFieldIndexError = 'Índice de campo fora de faixa'; SNoFieldIndexes = 'Índice corrente não ativo'; SNotIndexField = 'Campo "%s" não está indexado e não pode ser modificado'; SIndexFieldMissing = 'Não é possível acessar o índice do campo "%s"'; SDuplicateIndexName = 'Nome de índice duplicado "%s"'; SNoIndexForFields = '"%s" não tem índice para os campos "%s"'; SIndexNotFound = 'Índice "%s" não encontrado'; SDBDuplicateName = 'Nome duplicado "%s" em "%s"'; SCircularDataLink = 'Ligações de dados circulares não são permitidas'; SLookupInfoError = 'Informação Lookup para o campo "%s" está incompleta'; SNewLookupFieldCaption = 'Novo Campo Lookup'; SDataSourceChange = 'Este DataSource não pode ser atualizado'; SNoNestedMasterSource = 'Arquivos aninhados não podem ter uma tabela mestra'; SDataSetOpen = 'Não é possível realizar esta operação em um Dataset'; SNotEditing = 'O Dataset não está em modo de edição ou inserção'; SDataSetClosed = 'Não é possível realizar esta operação em um Dataset fechado'; SDataSetEmpty = 'Não é possível realizar esta operação em um Dataset vazio'; SDataSetReadOnly = 'Não é possível modificar um Dataset somente de leitura'; SNestedDataSetClass = 'Dataset aninhado têm que herdar de "%s"'; SExprTermination = 'Expressão de filtro incorretamente terminada'; SExprNameError = 'Nome de campo não terminado'; SExprStringError = 'Constante de string não terminada'; SExprInvalidChar = 'Caractere inválido na expressão de filtro: "%s"'; SExprNoLParen = '"(" esperado mas "%s" encontrado'; SExprNoRParen = '")" esperado mas "%s" encontrado'; SExprNoRParenOrComma = '")" ou "," aguardado mas "%s" existe'; SExprExpected = 'Expressão esperada mas "%s" encontrada'; SExprBadField = 'Campo "%s" não pode ser usado em uma expressão de filtro'; SExprBadNullTest = 'NULL somente permitido com "=" e "<>"'; SExprRangeError = 'Constante fora de faixa'; SExprNotBoolean = 'Campo "%s" não é do tipo boleano'; SExprIncorrect = 'Expressão de filtro formada incorretamente'; SExprNothing = 'Absolutamente'; SExprTypeMis = 'Tipo de expressão desconhecida'; SExprBadScope = 'Operação não pode misturar valor agregado com valor registro-variado'; SExprNoArith = 'Filtro de expressão aritmética não suportada'; SExprNotAgg = 'Expressão não é uma expressão agregada'; SExprBadConst = 'Constante corrente não é do tipo "%s"'; SExprNoAggFilter = 'Expressões agregadas não permitem filtros'; SExprEmptyInList = 'Lista de predicados IN pode não estar vazia'; SInvalidKeywordUse = 'Uso de Keyword inválido'; STextFalse = 'Falso'; STextTrue = 'Verdadeiro'; SParameterNotFound = 'Parametro "%s" não encontrado'; SInvalidVersion = 'Não é possível carregar parâmetros da fita'; SParamTooBig = 'Parâmetro "%s", não é possível salvar dados maiores que "%d" bytes'; SBadFieldType = 'Campo "%s" é um tipo não suportado'; SAggActive = 'Esta propriedade não pode ser modificada enquanto o agregado está ativo'; SProviderSQLNotSupported = 'Sentença SQL não suportada: "%s"'; SProviderExecuteNotSupported = 'Execução não suportada: "%s"'; SExprNoAggOnCalcs = 'Campo "%s" não é do tipo campo calculado para ser usado em uma agregação. use um calculo interno'; SRecordChanged = 'Registro foi alterado por outro usuário'; SDataSetUnidirectional = 'Operação não permitida em um dataset unidirecional'; SUnassignedVar = 'Valor variant não atribuído'; SRecordNotFound = 'Registro não encontrado'; SFileNameBlank = 'Propriedade FileName não pode ser vazia'; SFieldNameTooLarge = 'Nome de campo "%s" excede %d caracteres'; { For FMTBcd } SBcdOverflow = 'BCD estouro de capacidade'; SInvalidBcdValue = '"%s" não é uma valor BCD válido'; SInvalidFormatType = 'Tipo de formato inválido para BCD'; { For SqlTimSt } SCouldNotParseTimeStamp = 'Poderia não analisar string SQL TimeStamp'; SInvalidSqlTimeStamp = 'Valores de SQL data/hota inválidas'; SCalendarTimeCannotBeRepresented = 'A hora do calendário não pode ser apresentado'; SDeleteRecordQuestion = 'Apagar registro?'; SDeleteMultipleRecordsQuestion = 'Apagar todos os registros selecionados?'; STooManyColumns = 'Grid requisitou para mostrar mais do que 256 colunas'; { For reconcile error } SSkip = 'Skip'; SAbort = 'Abortar'; SMerge = 'Mesclar'; SCorrect = 'Corrigir'; SCancel = 'Cancelar'; SRefresh = 'Atualizar'; SModified = 'Modificado'; SInserted = 'Inserido'; SDeleted = 'Apagado'; SCaption = 'Erro de atualização - %s'; SUnchanged = '<Não alterado>'; SBinary = '(Binário)'; SAdt = '(ADT)'; SArray = '(Matriz)'; SFieldName = 'Nome do Campo'; SOriginal = 'Valor Original'; SConflict = 'Valor Conflitante'; SValue = ' Valor'; SNoData = '<Sem Registros>'; SNew = 'Novo'; implementation end.
unit fNewLog; {$mode objfpc} interface uses Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, LCLType, fCommonLocal; type { TfrmNewLog } TfrmNewLog = class(TfrmCommonLocal) btnOK: TButton; Button2: TButton; cmbContestType: TComboBox; edtLogName: TEdit; edtLogNR: TEdit; Label1: TLabel; Label2: TLabel; Label3: TLabel; procedure btnOKClick(Sender: TObject); procedure FormShow(Sender: TObject); private { private declarations } public { public declarations } end; var frmNewLog: TfrmNewLog; implementation uses dUtils, dData; { TfrmNewLog } procedure TfrmNewLog.FormShow(Sender: TObject); begin if edtLogNR.Enabled then edtLogNR.SetFocus else edtLogName.SetFocus end; procedure TfrmNewLog.btnOKClick(Sender: TObject); var nr : Integer; begin if edtLogNR.Enabled then begin if not TryStrToInt(edtLogNR.Text,nr) then begin Application.MessageBox('Please enter correct log number!','Info ...', mb_ok + mb_IconInformation); exit end; if dmData.LogExists(nr) then begin Application.MessageBox('Log with this number already exists!','Info ...', mb_ok + mb_IconInformation); exit end end; ModalResult := mrOK end; initialization {$I fNewLog.lrs} end.
unit ExportBaseFrm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, ComCtrls, DBGrids, Utilits, Db, Mask, ToolEdit; type TExportBaseForm = class(TForm) ScrollBox: TScrollBox; StatusBar: TStatusBar; BtnPanel: TPanel; OkBtn: TBitBtn; CancelBtn: TBitBtn; ProgressBar: TProgressBar; BeginCheckBox: TCheckBox; BrokerComboBox: TComboBox; FixedCheckBox: TCheckBox; BrokerCheckBox: TCheckBox; FilenameEdit: TFilenameEdit; FileNameLabel: TLabel; TrimCheckBox: TCheckBox; procedure OkBtnClick(Sender: TObject); procedure FormShow(Sender: TObject); procedure BtnPanelResize(Sender: TObject); procedure FormCreate(Sender: TObject); procedure BrokerComboBoxChange(Sender: TObject); procedure BrokerCheckBoxClick(Sender: TObject); procedure FilenameEditChange(Sender: TObject); private FSourceDBGrid: TDBGrid; FControlIsInited: Boolean; protected procedure SetSourceDBGrid(ASourceDBGrid: TDBGrid); procedure InitControls; public property ControlIsInited: Boolean read FControlIsInited default False; property SourceDBGrid: TDBGrid read FSourceDBGrid write SetSourceDBGrid; procedure ClickCheckBox(Sender: TObject); end; implementation {$R *.DFM} function FieldLength(F: TField): Integer; begin case F.DataType of ftBoolean: Result := 1; ftSmallInt: Result := 4; ftWord: Result := 5; ftDate: Result := 10; ftInteger: Result := 11; ftFloat: Result := 20; else Result := F.DataSize; end; end; procedure TExportBaseForm.InitControls; var I,Y: Integer; CB: TCheckBox; T: array[0..255] of Char; S: TSize; begin if not FControlIsInited and (FSourceDBGrid <> nil) and (FSourceDBGrid.DataSource<>nil) and (FSourceDBGrid.DataSource.DataSet<>nil) and FSourceDBGrid.DataSource.DataSet.Active then begin I := ControlCount; while I>0 do begin Dec(I); if (Controls[I] is TEdit) or (Controls[I] is TCheckBox) then Controls[I].Free; end; with FSourceDBGrid.Columns do begin Y := 8; for I := 1 to Count do begin CB := TCheckBox.Create(ScrollBox); with CB do begin Caption := Items[I-1].Title.Caption; StrPCopy(T, Caption); GetTextExtentPoint32(Canvas.Handle, T, StrLen(T), S); SetBounds(17, Y, S.CX+24, Abs(CB.Font.Height)+2); OnClick := ClickCheckBox; Parent := ScrollBox; Tag := Items[I-1].Field.Index; Show; Y := Y+Height+2; end; end; end; FControlIsInited := True; end; end; procedure TExportBaseForm.SetSourceDBGrid(ASourceDBGrid: TDBGrid); begin FSourceDBGrid := ASourceDBGrid; InitControls; end; var Broker: string = ';'; procedure TExportBaseForm.ClickCheckBox(Sender: TObject); var I: Integer; begin with ScrollBox do begin I := ComponentCount-1; while (I>=0) and not((Components[I] is TCheckBox) and (Components[I] as TCheckBox).Checked) do Dec(I); end; OkBtn.Enabled := (I>=0) and (Length(FilenameEdit.Text)>0) ; end; procedure TExportBaseForm.OkBtnClick(Sender: TObject); var CB: TCheckBox; I,J: Integer; S, V: string; F: TField; TF: TextFile; begin CancelBtn.Enabled := not CancelBtn.Enabled; if not CancelBtn.Enabled then with SourceDBGrid.DataSource.DataSet do begin OkBtn.Caption := '&Стоп'; ProgressBar.Max := RecordCount; StatusBar.Panels[0].Width := ProgressBar.Width; ProgressBar.Show; if BeginCheckBox.Checked then First; AssignFile(TF, FilenameEdit.Text); {$I-} Rewrite(TF); {$I+} if IOResult=0 then begin with ScrollBox do begin S := ''; for I := 0 to ComponentCount-1 do begin CB := Components[I] as TCheckBox; if CB.Checked then begin if Length(S)>0 then S := S + ';'; S := S + CB.Caption; end; end; end; WriteLn(TF, S); Self.SourceDBGrid.DataSource.Enabled := False; while not EoF and not CancelBtn.Enabled do begin with ScrollBox do begin S := ''; I := 0; while (I<ComponentCount) and not CancelBtn.Enabled do begin CB := Components[I] as TCheckBox; if CB.Checked then begin J := CB.Tag; F := Fields.Fields[J]; V := F.AsString; if TrimCheckBox.Checked then begin J := Pos(#13#10, V); while J>0 do begin V := Copy(V, 1, J-1)+' '+Copy(V, J+2, Length(V)-J-1); J := Pos(#13#10, V); end; V := Trim(V); end; if FixedCheckBox.Checked then begin J := FieldLength(F); while Length(V)<J do V := V + ' '; end; if (Length(Broker)>0) and (Length(S)>0) then begin S := S + Broker; end; S := S + V; end; Inc(I); end; WriteLn(TF, S); end; Next; ProgressBar.Position := RecNo; Application.ProcessMessages; end; CloseFile(TF); Self.SourceDBGrid.DataSource.Enabled := True; MessageBox(Handle, PChar('Файл заполнен ['+FilenameEdit.Text+']'), PChar(Caption), MB_OK or MB_ICONINFORMATION); end else MessageBox(Handle, PChar('Не могу создать ['+FilenameEdit.Text+']'), PChar(Caption), MB_OK or MB_ICONWARNING); ProgressBar.Hide; StatusBar.Panels[0].Width := 0; CancelBtn.Enabled := True; OkBtn.Caption := '&Найти'; end; end; procedure TExportBaseForm.FormShow(Sender: TObject); begin InitControls; ClickCheckBox(Sender); end; const BtrDist=5; procedure TExportBaseForm.BtnPanelResize(Sender: TObject); begin CancelBtn.Left := BtnPanel.ClientWidth-CancelBtn.Width-2*BtrDist; OkBtn.Left:= CancelBtn.Left-OkBtn.Width-BtrDist; end; procedure TExportBaseForm.FormCreate(Sender: TObject); const Border=2; begin with ProgressBar do begin Parent := StatusBar; SetBounds(0, Border, Width, StatusBar.Height - Border); end; BtnPanelResize(Sender); BrokerComboBox.ItemIndex := 0; end; procedure TExportBaseForm.BrokerComboBoxChange(Sender: TObject); begin if UpperCase(BrokerComboBox.Text)='TAB' then Broker := #9 else if UpperCase(BrokerComboBox.Text)='SPACE' then Broker := ' ' else Broker := BrokerComboBox.Text; end; procedure TExportBaseForm.BrokerCheckBoxClick(Sender: TObject); begin BrokerComboBox.Enabled := BrokerCheckBox.Checked; if BrokerComboBox.Enabled then BrokerComboBoxChange(nil) else Broker := ''; end; procedure TExportBaseForm.FilenameEditChange(Sender: TObject); begin ClickCheckBox(nil); end; end.
unit uSpeechesClass; interface uses {The various uses which the unit may require are loaded.} SysUtils, Classes, uMembersClass, uMembersArray; {Class is created as TSpeeches.} type TSpeeches = class {The Private attributes are added.} private sSpeechID :integer; sMemberID : integer; sMemberName : string; sType : string; sBest : boolean; sMeetingID : integer; sConjugateSpeech : integer; sSlot : integer; {The public methods are added.} public {The class constructor is described. } constructor Create(id, member : integer; fullname, speechType : string; best : boolean; meeting, conjugate, slot : integer); {The functions which return values.} function getID : integer; function getMemberID : integer; function getMemberName : string; function getType : string; function getBest : boolean; function getMeetingID : integer; function getConjugateSpeech : integer; function getSlot : integer; {AddSpaces function allows for equal spacing between strings.} function addSpaces(s : String; i : integer) : string; {ToString function converts all the data to a single string and returns it.} function toString : string; function toShortString : string; {The procedures which allow values in the class to be set to a specific value.} procedure setID(id : integer); procedure setMember(member : integer); procedure setType(speechType : string); procedure setBest(best : boolean); procedure setMeeting(meeting : integer); procedure setConjugateSpeech(conjugate : integer); procedure setSlot(slot : integer); end; implementation { TSpeeches } {Allows strings to fill a preset number of spaces (i) and appends the string with spaces if it is less than that lenght (i).} function TSpeeches.addSpaces(s: String; i: integer): string; var counter : integer; begin Result := s; for counter := 1 to i - length(s) do begin Result := Result + ' '; end; end; constructor TSpeeches.Create(id, member: integer; fullname, speechType: string; best: boolean; meeting, conjugate, slot: integer); begin sSpeechID := id; sMemberID := member; sMemberName := fullname; sType := speechType; sBest := best; sMeetingID := meeting; sConjugateSpeech := conjugate; sSlot := slot; end; {The following functions return the values found in the attributes of the class.} function TSpeeches.getBest: boolean; begin Result := sBest; end; function TSpeeches.getConjugateSpeech: integer; begin Result := sConjugateSpeech; end; function TSpeeches.getID: integer; begin Result := sSpeechID; end; function TSpeeches.getMeetingID: integer; begin Result := sMeetingID; end; function TSpeeches.getMemberID: integer; begin Result := sMemberID; end; function TSpeeches.getMemberName: string; begin Result := sMemberName; end; function TSpeeches.getSlot: integer; begin Result := sSlot; end; function TSpeeches.getType: string; begin Result := sType; end; {The following procedures set the attributes of the class to the values that are entered into the procedure.} procedure TSpeeches.setBest(best: boolean); begin sBest := best; end; procedure TSpeeches.setConjugateSpeech(conjugate: integer); begin sConjugateSpeech := conjugate; end; procedure TSpeeches.setID(id: integer); begin sSpeechID := id; end; procedure TSpeeches.setMeeting(meeting: integer); begin sMeetingID := meeting; end; procedure TSpeeches.setMember(member: integer); begin sMemberID := member; end; procedure TSpeeches.setSlot(slot: integer); begin sSlot := slot; end; procedure TSpeeches.setType(speechType: string); begin sType := speechType; end; function TSpeeches.toShortString: string; var best : string; begin {Checks if the speech won a best speech award and prints 'best' next to them.} if sBest = True then begin Result := addSpaces(IntToStr(sMeetingID), 6) + addSpaces(sType, 18) + 'Best'; end else begin Result := addSpaces(IntToStr(sMeetingID), 6) + addSpaces(sType, 18); end; end; {A function that compiles the crucial information in the class and returns it as a single, formatted string for output purposes.} function TSpeeches.toString: string; var best : string; name : string; begin name := sMemberName; {Ensures name does not exceed character display limit, else it is cut and indicated with ellipsis.} if length(name) > 20 then begin name := Copy(name, 1, 15) + ' ... '; end; {Checks if the speech won a best speech award and prints 'best' next to them.} if sBest = True then begin Result := addSpaces(IntToStr(sMeetingID), 6) + addSpaces(name, 21) + addSpaces(sType, 18) + 'Best'; end else begin Result := addSpaces(IntToStr(sMeetingID), 6) + addSpaces(name, 21) + addSpaces(sType, 18); end; end; end.
{ ledger Copyright (c) 2018 mr-highball Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. } program ledger_test; {$mode delphi}{$H+} uses DateUtils, SysUtils, ledger, ledger.standard; procedure TestSimple; var LTest:IDoubleLedger; begin WriteLn('TestSimple'); //use helper method to get a double ledger, then //add 1 credit and 1 debit which should balance LTest:=NewDoubleLedger; WriteLn(LTest.RecordEntry(1,ltCredit).Balance); WriteLn(LTest.RecordEntry(1,ltDebit).Balance); end; (* this filter simply checks for entries that are recorded as debits (mimics the ILedger.Debits property) *) function FilterDebits(Const AEntry:Extended; Const AType:TLedgerType):Boolean; begin Result:=False; if AType=ltDebit then Result:=True; end; procedure TestFilter; var I:Integer; LTest:IExtendedLedger; LEntries:TExtendedLedgerEntries; LFilter:TExtendedFilter; begin WriteLn('TestFilter'); LTest:=NewExtendedLedger; //can either use a local var, or just use @methodname LFilter:=FilterDebits; WriteLn('Balance:',NewExtendedLedger .RecordEntry(1,ltCredit) .RecordEntry(1.1,ltDebit) .Filter(@FilterDebits,LEntries) .Balance ); WriteLn('Debits using filter:'); if Length(LEntries)<1 then WriteLn('(none)') else for I:=0 to High(LEntries) do WriteLn(LEntries[I].Entry); end; procedure TestMany; const MANY = 1000000; var I:Integer; LTest:IIntLedger; LStart:TDateTime; begin WriteLn('TestMany'); LTest:=NewIntLedger; LStart:=Now; for I:=0 to MANY do LTest.RecordEntry(I,ltCredit); for I:=0 to MANY do LTest.RecordEntry(I,ltDebit); WriteLn( 'Count:',LTest.Count[[]], ' Balance:',LTest.Balance, ' TimeMSecs:',MilliSecondsBetween(Now,LStart) ); end; procedure TestClear; var LTest : IIntLedger; begin WriteLn('TestClear - should be 0'); LTest := NewIntLedger; WriteLn( LTest .RecordEntry(1,ltCredit) .Clear .Count[[]] + LTest.Balance ); end; begin TestSimple; TestFilter; TestClear; TestMany; ReadLn; end.
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { } {*******************************************************} unit RSSetUp.QueryU; {$SCOPEDENUMS ON} interface uses System.SysUtils, System.Generics.Collections, System.JSON, System.Classes, System.Rtti; type TJSONOpNames = record public const OpLike = '$like'; OpNlike = '$nlike'; OpOr = '$or'; OpAnd = '$and'; OpEq = '$e'; OpNeq = '$ne'; OpGt = '$gt'; OpGte = '$gte'; OpLt = '$lt'; OpLte = '$lte'; OpIn = '$in'; OpNin = '$nin'; OpExists = '$exists'; end; TFilterItem = class abstract public function GetAttributes: TArray<string>; virtual; end; TFilters = class; TFilterItemGroup = class(TFilterItem) private FFilters: TFilters; public constructor Create; destructor Destroy; override; property Filters: TFilters read FFilters; end; TFilters = class private FList: TList<TFilterItem>; function GetCount: Integer; function GetItem(I: Integer): TFilterItem; public constructor Create; destructor Destroy; override; procedure Add(const AFilter: TFilterItem); procedure Remove(const AFilter: TFilterItem); procedure Delete(I: Integer); procedure Clear; property Count: Integer read GetCount; property Items[I: Integer]: TFilterItem read GetItem; end; TQuery = class public type TDirection = (Ascending, Descending); TOrderByItem = TPair<string, TDirection>; TOrderBy = class private FList: TList<TOrderByItem>; function GetCount: Integer; function GetItem(I: Integer): TOrderByItem; public constructor Create; destructor Destroy; override; procedure Add(const AFieldName: string; ADirection: TDirection); procedure Remove(const AItemIndex: Integer); property Count: Integer read GetCount; procedure Clear; property Items[I: Integer]: TOrderByItem read GetItem; end; private FFilters: TFilters; FOrderBy: TOrderBy; FLimit: Integer; FSkip: Integer; function GetHasFilters: Boolean; function GetHasMultipleFilters: Boolean; function GetHasLimit: Boolean; function GetHasOrderBy: Boolean; function GetHasSkip: Boolean; function GetFilters: TFilters; function GetOrderBy: TOrderBy; public constructor Create; destructor Destroy; override; procedure Clear; property HasFilters: Boolean read GetHasFilters; property HasMultipleFilters: Boolean read GetHasMultipleFilters; property HasOrderBy: Boolean read GetHasOrderBy; property HasLimit: Boolean read GetHasLimit; property HasSkip: Boolean read GetHasSkip; property Filters: TFilters read GetFilters; property OrderBy: TOrderBy read GetOrderBy; property Limit: Integer read FLimit write FLimit; property Skip: Integer read FSkip write FSkip; end; TQueryWriter = class abstract public type TParameter = TPair<string, TValue>; TParameters = TArray<TParameter>; private FQuery: TQuery; protected property Query: TQuery read FQuery; public constructor Create(const AQuery: TQuery); procedure Validate; virtual; abstract; procedure Write(const AStrings: TStrings; out AParameters: TParameters); overload; procedure Write(const AStrings: TStringWriter; out AParameters: TParameters); overload; virtual; abstract; end; EQueryException = class(Exception); TCommonFilterItem = class(TFilterItem) private FAttribute: string; public property Attribute: string read FAttribute write FAttribute; function GetAttributes: TArray<string>; override; end; TSimpleFilter = class(TCommonFilterItem) public type TOperator = (lt, lte, gt, gte, eq, neq, like, nlike); private FOp: TOperator; FValue: TValue; public property Op: TOperator read FOp write FOp; property Value: TValue read FValue write FValue; end; TExistsFilter = class(TCommonFilterItem) private FExists: Boolean; public property Exists: Boolean read FExists write FExists; end; TInFilter = class(TCommonFilterItem) public type TOperator = (inop, ninop); private FOp: TOperator; FValues: TArray<TValue>; public property Op: TOperator read FOp write FOp; property Values: TArray<TValue> read FValues write FValues; end; TRangeFilter = class(TCommonFilterItem) public type TOperator = (lt, lte, gt, gte); private FOp1: TOperator; FValue1: TValue; FOp2: TOperator; FValue2: TValue; public property Op1: TOperator read FOp1 write FOp1; property Op2: TOperator read FOp2 write FOp2; property Value1: TValue read FValue1 write FValue1; property Value2: TValue read FValue2 write FValue2; end; TOrFilter = class(TFilterItemGroup) end; TAndFilter = class(TFilterItemGroup) end; TQueryToJSON = class private class procedure WriteFilter(const AFilter: TFilterItem; const AJSON: TJSONObject); static; class procedure WriteExistsFilter(const AFilter: TExistsFilter; const AJSON: TJSONObject); static; class procedure WriteOrFilter(const AFilter: TOrFilter; const AJSON: TJSONObject); static; class procedure WriteAndFilter(const AFilter: TAndFilter; const AJSON: TJSONObject); static; class procedure WriteRangeFilter(const AFilter: TRangeFilter; const AJSON: TJSONObject); static; class procedure WriteSimpleFilter(const AFilter: TSimpleFilter; const AJSON: TJSONObject); static; class procedure WriteInFilter(const AFilter: TInFilter; const AJSON: TJSONObject); static; class function ValueToJSON(const AValue: TValue): TJSONValue; static; public class procedure WriteFilters(const AFilters: TFilters; const AJSON: TJSONObject); static; end; TJSONFilterParser = class protected const ISO8601_datetime = 'yyyy/MM/dd hh:nn:ss'; ISO8601_date = 'yyyy/MM/dd'; USDate = 'MM/dd/yyyy'; private class var FUtcOffset: Integer; public // Examples // {"score":{"$gte":1000,"$lte":3000}} // {"score":{"$in":[1,3,5,7,9]}} // {"name": {"$nin":["Jonathan Walsh","Dario Wunsch","Shawn Simon"]}} // {"playerName":"Sean Plott"} // {"playerName":{"$ne", "Sean Plott"}} // {"score":{"$exists":true}} // {"$or":[{"wins":{"$gt":150}},{"wins":{"$lt":5}}]} // {"$or":[{"wins":{"$gt":150}},{"playerName":"Sean Plott","cheatMode":false}]} // {"playerName":"Sean Plott","cheatMode":false} // {"$and":[{"username":"thomasm"},{"lname":"Blas"}]} // Internal methods class procedure Parse(const AJSONObject: TJSONObject; const AFilters: TFilters; const AUtcOffset: Integer); static; end; EFilterParserException = class(Exception); implementation uses System.StrUtils, System.DateUtils, System.TimeSpan; { TFilters } procedure TFilters.Add(const AFilter: TFilterItem); begin FList.Add(AFilter); end; procedure TFilters.Clear; begin FList.Clear; end; constructor TFilters.Create; begin FList := TObjectList<TFilterItem>.Create; // Owns objects end; procedure TFilters.Remove(const AFilter: TFilterItem); begin FList.Remove(AFilter); end; procedure TFilters.Delete(I: Integer); begin FList.Delete(I); end; destructor TFilters.Destroy; begin FList.Free; inherited; end; function TFilters.GetCount: Integer; begin Result := FList.Count; end; function TFilters.GetItem(I: Integer): TFilterItem; begin Result := FList[I]; end; { TQuery.TOrderBy } procedure TQuery.TOrderBy.Add(const AFieldName: string; ADirection: TDirection); begin Assert(AFieldName <> ''); if AFieldName <> '' then FList.Add(TOrderByItem.Create(AFieldName, ADirection)); end; procedure TQuery.TOrderBy.Remove(const AItemIndex: Integer); begin FList.Delete(AItemIndex); end; procedure TQuery.TOrderBy.Clear; begin FList.Clear; end; constructor TQuery.TOrderBy.Create; begin FList := TList<TOrderByItem>.Create; end; destructor TQuery.TOrderBy.Destroy; begin FList.Free; inherited; end; function TQuery.TOrderBy.GetCount: Integer; begin Result := FList.Count; end; function TQuery.TOrderBy.GetItem(I: Integer): TOrderByItem; begin Result := FList[I]; end; { TQuery } procedure TQuery.Clear; begin FLimit := 0; FSkip := 0; FreeAndNil(FOrderBy); FreeAndNil(FFilters); end; constructor TQuery.Create; begin // end; destructor TQuery.Destroy; begin FFilters.Free; FOrderBy.Free; inherited; end; function TQuery.GetFilters: TFilters; begin if FFilters = nil then FFilters := TFilters.Create; Result := FFilters; end; function TQuery.GetHasFilters: Boolean; begin Result := (FFilters <> nil) and (FFilters.Count > 0); end; function TQuery.GetHasMultipleFilters: Boolean; begin Result := (FFilters <> nil) and (FFilters.Count > 1); end; function TQuery.GetHasLimit: Boolean; begin Result := FLimit <> 0; end; function TQuery.GetHasOrderBy: Boolean; begin Result := (FOrderBy <> nil) and (FOrderBy.Count > 0); end; function TQuery.GetHasSkip: Boolean; begin Result := FSkip <> 0; end; function TQuery.GetOrderBy: TOrderBy; begin if FOrderBy = nil then FOrderBy := TOrderBy.Create; Result := FOrderBy; end; { TQueryWriter } constructor TQueryWriter.Create(const AQuery: TQuery); begin FQuery := AQuery; end; procedure TQueryWriter.Write(const AStrings: TStrings; out AParameters: TArray<TParameter>); var LWriter: TStringWriter; begin LWriter := TStringWriter.Create; try Write(LWriter, AParameters); AStrings.Text := LWriter.ToString; finally LWriter.Free; end; end; { TFilterItemGroup } constructor TFilterItemGroup.Create; begin FFilters := TFilters.Create; end; destructor TFilterItemGroup.Destroy; begin FFilters.Free; inherited; end; { TFilterItem } function TFilterItem.GetAttributes: TArray<string>; begin Result := nil; end; { TCommonFilterItem } function TCommonFilterItem.GetAttributes: TArray<string>; begin Result := TArray<string>.Create(Attribute); end; { TQueryToJSON } class procedure TQueryToJSON.WriteFilters(const AFilters: TFilters; const AJSON: TJSONObject); var LFilter: TFilterItem; I: Integer; begin for I := 0 to AFilters.Count - 1 do begin LFilter := AFilters.Items[I]; WriteFilter(LFilter, AJSON); end; end; class function TQueryToJSON.ValueToJSON(const AValue: TValue): TJSONValue; begin if AValue.IsEmpty then Result := TJSONNull.Create else case AValue.Kind of tkInteger: Result := TJSONNumber.Create(AValue.AsInteger); tkFloat: Result := TJSONNumber.Create(AValue.AsExtended); tkUString: Result := TJSONString.Create(AValue.AsString); tkInt64: Result := TJSONNumber.Create(AValue.AsInt64); tkEnumeration: if AValue.AsBoolean then Result := TJSONTrue.Create else Result := TJSONFalse.Create; else raise Exception.CreateFmt('Unknown type: %s', [AValue.TypeInfo.Name]); end; end; class procedure TQueryToJSON.WriteSimpleFilter(const AFilter: TSimpleFilter; const AJSON: TJSONObject); var LOp: string; begin case AFilter.Op of TSimpleFilter.TOperator.lt: LOp := TJSONOpNames.OpLt; TSimpleFilter.TOperator.lte: LOp := TJSONOpNames.OpLte; TSimpleFilter.TOperator.gt: LOp := TJSONOpNames.OpGt; TSimpleFilter.TOperator.gte: LOp := TJSONOpNames.OpGte; TSimpleFilter.TOperator.eq: ; TSimpleFilter.TOperator.neq: LOp := TJSONOpNames.OpNeq; TSimpleFilter.TOperator.like: LOp := TJSONOpNames.OpLike; TSimpleFilter.TOperator.nlike: LOp := TJSONOpNames.OpNlike; end; if LOp <> '' then AJSON.AddPair(AFilter.Attribute, TJSONObject.Create(TJSONPair.Create(LOp, ValueToJSON(AFilter.Value)))) else AJSON.AddPair(AFilter.Attribute, ValueToJSON(AFilter.Value)); end; class procedure TQueryToJSON.WriteExistsFilter(const AFilter: TExistsFilter; const AJSON: TJSONObject); begin if AFilter.Exists then AJSON.AddPair(AFilter.Attribute, TJSONObject.Create(TJSONPair.Create(TJSONOpNames.OpExists, TJSONTrue.Create))) else AJSON.AddPair(AFilter.Attribute, TJSONObject.Create(TJSONPair.Create(TJSONOpNames.OpExists, TJSONFalse.Create))) end; class procedure TQueryToJSON.WriteRangeFilter(const AFilter: TRangeFilter; const AJSON: TJSONObject); procedure WriteOne(const AJSON: TJSONObject; AOp: TRangeFilter.TOperator; const AValue: TValue); var LOp: string; begin case AOp of TRangeFilter.TOperator.lt: LOp := TJSONOpNames.OpLt; TRangeFilter.TOperator.lte: LOp := TJSONOpNames.OpLte; TRangeFilter.TOperator.gt: LOp := TJSONOpNames.OpGt; TRangeFilter.TOperator.gte: LOp := TJSONOpNames.OpGte; else Assert(False); end; AJSON.AddPair(LOp, ValueToJSON(AValue)) end; var LRange: TJSONObject; begin LRange := TJSONObject.Create; try WriteOne(LRange, AFilter.Op1, AFilter.Value1); WriteOne(LRange, AFilter.Op2, AFilter.Value2); AJSON.AddPair(AFilter.Attribute, LRange) except LRange.Free; raise; end; end; class procedure TQueryToJSON.WriteOrFilter(const AFilter: TOrFilter; const AJSON: TJSONObject); var LArray: TJSONArray; LJSON: TJSONObject; I: Integer; begin LArray := TJSONArray.Create; try for I := 0 to AFilter.Filters.Count - 1 do begin LJSON := TJSONObject.Create; try WriteFilter(AFilter.Filters.Items[I], LJSON); LArray.Add(LJSON); except LJSON.Free; raise; end; end; AJSON.AddPair(TJSONPair.Create(TJSONOpNames.OpOr, LArray)); except LArray.Free; raise; end; end; class procedure TQueryToJSON.WriteAndFilter(const AFilter: TAndFilter; const AJSON: TJSONObject); var LArray: TJSONArray; LJSON: TJSONObject; I: Integer; begin LArray := TJSONArray.Create; try for I := 0 to AFilter.Filters.Count - 1 do begin LJSON := TJSONObject.Create; try WriteFilter(AFilter.Filters.Items[I], LJSON); LArray.Add(LJSON); except LJSON.Free; raise; end; end; AJSON.AddPair(TJSONPair.Create(TJSONOpNames.OpAnd, LArray)); except LArray.Free; raise; end; end; class procedure TQueryToJSON.WriteInFilter(const AFilter: TInFilter; const AJSON: TJSONObject); var LArray: TJSONArray; LValue: TValue; LOp: string; begin LArray := TJSONArray.Create; try for LValue in AFilter.Values do LArray.AddElement(ValueToJSON(LValue)); case AFilter.Op of TInFilter.TOperator.inop: LOp := TJSONOpNames.OpIn; TInFilter.TOperator.ninop: LOp := TJSONOpNames.OpNin; else Assert(False); end; Assert(LOp <> ''); AJSON.AddPair(AFilter.Attribute, TJSONObject.Create(TJSONPair.Create(LOp, LArray))); except LArray.Free; raise; end; end; class procedure TQueryToJSON.WriteFilter(const AFilter: TFilterItem; const AJSON: TJSONObject); begin if AFilter is TSimpleFilter then WriteSimpleFilter(TSimpleFilter(AFilter), AJSON) else if AFilter is TExistsFilter then WriteExistsFilter(TExistsFilter(AFilter), AJSON) else if AFilter is TInFilter then WriteInFilter(TInFilter(AFilter), AJSON) else if AFilter is TRangeFilter then WriteRangeFilter(TRangeFilter(AFilter), AJSON) else if AFilter is TOrFilter then WriteOrFilter(TOrFilter(AFilter), AJSON) else if AFilter is TAndFilter then WriteAndFilter(TAndFilter(AFilter), AJSON) else raise Exception.Create('Unknown filter'); end; procedure ParseJSON(const AJSONObject: TJSONObject; const AFilters: TFilters); forward; { TJSONFilterParser } class procedure TJSONFilterParser.Parse(const AJSONObject: TJSONObject; const AFilters: TFilters; const AUtcOffset: Integer); begin try AFilters.Clear; FUtcOffset := AUtcOffset; ParseJSON(AJSONObject, AFilters); except AFilters.Clear; raise; end; end; // Internal methods procedure ParseOr(const AJSONArray: TJSONArray; const AFilter: TOrFilter); forward; procedure ParseAnd(const AJSONArray: TJSONArray; const AFilter: TAndFilter); forward; procedure ParseNameValue(const AName: string; AJSONValue: TJSONValue; const AFilters: TFilters); forward; procedure ParseSimpleFilter(const AName: string; AOp: TSimpleFilter.TOperator; const AValue: TJSONValue; const AFilters: TFilters); forward; procedure ParseOneOperator(const AName, AOp: string; const AJSONValue: TJSONValue; const AFilters: TFilters); forward; function ParseValue(const AJSONValue: TJSONValue): TValue; forward; procedure ParseTwoOperators(const AName, AOp1: string; const AJSONValue1: TJSONValue; const AOp2: string; const AJSONValue2: TJSONValue; const AFilters: TFilters); forward; procedure RaiseUnexpectedJSONArgument(const AMessage: string); begin raise EFilterParserException.Create(AMessage); end; procedure RaiseUnexpectedJSON(const AJSONValue: TJSONValue); begin raise EFilterParserException.Create('Unexpected JSON: ' + AJSONValue.ToString); end; procedure RaiseUnexpectedOperator(const AOperator: string); begin raise EFilterParserException.Create('Unexpected operator: ' + AOperator); end; function CheckObject(const AJSON: TJSONValue): TJSONObject; begin if not(AJSON is TJSONObject) then RaiseUnexpectedJSON(AJSON); Result := TJSONObject(AJSON); end; function CheckArray(const AJSON: TJSONValue): TJSONArray; begin if not(AJSON is TJSONArray) then RaiseUnexpectedJSON(AJSON); Result := TJSONArray(AJSON); end; procedure ParseOr(const AJSONArray: TJSONArray; const AFilter: TOrFilter); var LJSONValue: TJSONValue; begin for LJSONValue in AJSONArray do ParseJSON(CheckObject(LJSONValue), AFilter.Filters); end; procedure ParseAnd(const AJSONArray: TJSONArray; const AFilter: TAndFilter); var LJSONValue: TJSONValue; begin for LJSONValue in AJSONArray do ParseJSON(CheckObject(LJSONValue), AFilter.Filters); end; var FSimpleFilterLookup: TDictionary<string, TSimpleFilter.TOperator>; FExistsOperator: string; FInFilterLookup: TDictionary<string, TInFilter.TOperator>; FRangeFilterLookup: TDictionary<string, TRangeFilter.TOperator>; procedure ParseExistsFilter(const AName: string; const AValue: TJSONValue; const AFilters: TFilters); var LExistsFilter: TExistsFilter; begin LExistsFilter := TExistsFilter.Create; AFilters.Add(LExistsFilter); LExistsFilter.Attribute := AName; if AValue is TJSONTrue then LExistsFilter.Exists := True else if AValue is TJSONFalse then LExistsFilter.Exists := False else RaiseUnexpectedJSONArgument('Boolean argment expected'); end; procedure ParseSimpleFilter(const AName: string; AOp: TSimpleFilter.TOperator; const AValue: TJSONValue; const AFilters: TFilters); var LSimpleFilter: TSimpleFilter; begin LSimpleFilter := TSimpleFilter.Create; AFilters.Add(LSimpleFilter); LSimpleFilter.Attribute := AName; LSimpleFilter.Op := AOp; LSimpleFilter.Value := ParseValue(AValue); end; procedure ParseInFilter(const AName: string; AOp: TInFilter.TOperator; const AValue: TJSONValue; const AFilters: TFilters); var LInFilter: TInFilter; LValues: TList<TValue>; LJSONValue: TJSONValue; begin LInFilter := TInFilter.Create; AFilters.Add(LInFilter); LInFilter.Attribute := AName; LInFilter.Op := AOp; LValues := TList<TValue>.Create; try if AValue is TJSONArray then for LJSONValue in TJSONArray(AValue) do LValues.Add(ParseValue(LJSONValue)) else RaiseUnexpectedJSON(AValue); LInFilter.Values := LValues.ToArray; finally LValues.Free; end; end; procedure ParseRangeFilter(const AName: string; AOp1: TRangeFilter.TOperator; const AValue1: TJSONValue; AOp2: TRangeFilter.TOperator; const AValue2: TJSONValue; const AFilters: TFilters); var LRangeFilter: TRangeFilter; begin LRangeFilter := TRangeFilter.Create; AFilters.Add(LRangeFilter); LRangeFilter.Attribute := AName; LRangeFilter.Op1 := AOp1; LRangeFilter.Op2 := AOp2; LRangeFilter.Value1 := ParseValue(AValue1); LRangeFilter.Value2 := ParseValue(AValue2); end; procedure ParseOneOperator(const AName, AOp: string; const AJSONValue: TJSONValue; const AFilters: TFilters); var LSimpleOperator: TSimpleFilter.TOperator; LInOperator: TInFilter.TOperator; begin if AOp = FExistsOperator then ParseExistsFilter(AName, AJSONValue, AFilters) else if FSimpleFilterLookup.TryGetValue(AOp, LSimpleOperator) then ParseSimpleFilter(AName, LSimpleOperator, AJSONValue, AFilters) else if FInFilterLookup.TryGetValue(AOp, LInOperator) then ParseInFilter(AName, LInOperator, AJSONValue, AFilters) else RaiseUnexpectedOperator(AOp); end; procedure ParseTwoOperators(const AName, AOp1: string; const AJSONValue1: TJSONValue; const AOp2: string; const AJSONValue2: TJSONValue; const AFilters: TFilters); var LOp1: TRangeFilter.TOperator; LOp2: TRangeFilter.TOperator; begin if not FRangeFilterLookup.TryGetValue(AOp1, LOp1) then RaiseUnexpectedOperator(AOp1); if not FRangeFilterLookup.TryGetValue(AOp2, LOp2) then RaiseUnexpectedOperator(AOp2); ParseRangeFilter(AName, LOp1, AJSONValue1, LOp2, AJSONValue2, AFilters); end; function ParseValue(const AJSONValue: TJSONValue): TValue; function IsValidDateString(const ADateStr: string; out ADateTime: TDateTime): Boolean; var FSettings: TFormatSettings; begin Result := TryStrToDate(ADateStr, ADateTime); if Result then exit; FSettings := TFormatSettings.Create; FSettings.ShortDateFormat := TJSONFilterParser.USDate; Result := TryStrToDateTime(ADateStr, ADateTime, FSettings); if Result then exit; FSettings.ShortDateFormat := TJSONFilterParser.ISO8601_date; // ISO8601 Result := TryStrToDateTime(ADateStr, ADateTime, FSettings); end; function ParseDateToObject(ADateTime: TDateTime): TValue; var LTimeDiff, LServerTimeZone: Integer; begin LServerTimeZone := Trunc(TTimeZone.Local.UtcOffset.Hours * 60 + TTimeZone.Local.UtcOffset.Minutes); LTimeDiff := LServerTimeZone + TJSONFilterParser.FUtcOffset; ADateTime := IncMinute(ADateTime, LTimeDiff); Result := TValue.From<variant>(ADateTime); end; var LInteger: Int64; LDateTime: TDateTime; begin if AJSONValue is TJSONNumber then begin if AJSONValue.TryGetValue<Int64>('', LInteger) then Result := LInteger else Result := TJSONNumber(AJSONValue).AsDouble; end else if AJSONValue is TJSONTrue then Result := True else if AJSONValue is TJSONFalse then Result := False else if AJSONValue is TJSONNull then Result := TValue.Empty else if AJSONValue is TJSONString then begin if IsValidDateString(TJSONString(AJSONValue).Value, LDateTime) then Result := ParseDateToObject(LDateTime) else Result := TJSONString(AJSONValue).Value; end else RaiseUnexpectedJSON(AJSONValue); end; procedure ParseCompare(const AName: string; const AJSONValue: TJSONValue; const AFilters: TFilters); var LJSONObject: TJSONObject; begin if AJSONValue is TJSONObject then begin LJSONObject := TJSONObject(AJSONValue); if LJSONObject.Count = 1 then begin ParseOneOperator(AName, LJSONObject.Pairs[0].JsonString.Value, LJSONObject.Pairs[0].JsonValue, AFilters); end else if LJSONObject.Count = 2 then ParseTwoOperators(AName, LJSONObject.Pairs[0].JsonString.Value, LJSONObject.Pairs[0].JsonValue, LJSONObject.Pairs[1].JsonString.Value, LJSONObject.Pairs[1].JsonValue, AFilters) else RaiseUnexpectedJSON(LJSONObject); end else begin // {"playerName":"Sean Plott"} ParseSimpleFilter(AName, TSimpleFilter.TOperator.eq, AJSONValue, AFilters); end end; procedure ParseNameValue(const AName: string; AJSONValue: TJSONValue; const AFilters: TFilters); var LOrFilter: TOrFilter; LAndFilter: TAndFilter; begin if AName = TJSONOpNames.OpOr then begin LOrFilter := TOrFilter.Create; AFilters.Add(LOrFilter); ParseOr(CheckArray(AJSONValue), LOrFilter); end else if AName = TJSONOpNames.OpAnd then begin LAndFilter := TAndFilter.Create; AFilters.Add(LAndFilter); ParseAnd(CheckArray(AJSONValue), LAndFilter); end else ParseCompare(AName, AJSONValue, AFilters); end; procedure ParseJSON(const AJSONObject: TJSONObject; const AFilters: TFilters); var LPair: TJSONPair; begin for LPair in AJSONObject do ParseNameValue(LPair.JsonString.Value, LPair.JsonValue, AFilters) end; function CreateSimpleFilterLookup: TDictionary<string, TSimpleFilter.TOperator>; begin Result := TDictionary<string, TSimpleFilter.TOperator>.Create; Result.Add(TJSONOpNames.OpLike, TSimpleFilter.TOperator.like); Result.Add(TJSONOpNames.OpNlike, TSimpleFilter.TOperator.nlike); Result.Add(TJSONOpNames.OpEq, TSimpleFilter.TOperator.eq); Result.Add(TJSONOpNames.OpNeq, TSimpleFilter.TOperator.neq); Result.Add(TJSONOpNames.OpGt, TSimpleFilter.TOperator.gt); Result.Add(TJSONOpNames.OpGte, TSimpleFilter.TOperator.gte); Result.Add(TJSONOpNames.OpLt, TSimpleFilter.TOperator.lt); Result.Add(TJSONOpNames.OpLte, TSimpleFilter.TOperator.lte); end; function CreateInFilterLookup: TDictionary<string, TInFilter.TOperator>; begin Result := TDictionary<string, TInFilter.TOperator>.Create; Result.Add(TJSONOpNames.OpIn, TInFilter.TOperator.inop); Result.Add(TJSONOpNames.OpNin, TInFilter.TOperator.ninop); end; function CreateRangeFilterLookup: TDictionary<string, TRangeFilter.TOperator>; begin Result := TDictionary<string, TRangeFilter.TOperator>.Create; Result.Add(TJSONOpNames.OpLt, TRangeFilter.TOperator.lt); Result.Add(TJSONOpNames.OpLte, TRangeFilter.TOperator.lte); Result.Add(TJSONOpNames.OpGt, TRangeFilter.TOperator.gt); Result.Add(TJSONOpNames.OpGte, TRangeFilter.TOperator.gte); end; initialization FExistsOperator := TJSONOpNames.OpExists;; FSimpleFilterLookup := CreateSimpleFilterLookup; FInFilterLookup := CreateInFilterLookup; FRangeFilterLookup := CreateRangeFilterLookup; finalization FSimpleFilterLookup.Free; FInFilterLookup.Free; FRangeFilterLookup.Free; end.
{ Double Commander ------------------------------------------------------------------------- Basic tool items types for KASToolBar Copyright (C) 2012 Przemyslaw Nagay (cobines@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA } unit KASToolItems; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DCXmlConfig, DCBasicTypes; type TKASToolBarItems = class; TKASToolItem = class; TOnLoadToolItem = procedure (Item: TKASToolItem) of object; {$interfaces corba} IToolOwner = interface ['{A7908D38-1E13-4E8D-8FA7-8830A2FF9290}'] function ExecuteToolItem(Item: TKASToolItem): Boolean; function GetToolItemShortcutsHint(Item: TKASToolItem): String; end; {$interfaces default} { TKASToolBarLoader } TKASToolBarLoader = class protected function CreateItem(Node: TXmlNode): TKASToolItem; virtual; public procedure Load(Config: TXmlConfig; RootNode: TXmlNode; OnLoadToolItem: TOnLoadToolItem); virtual; end; { TKASToolItem } TKASToolItem = class private FToolOwner: IToolOwner; FUserData: Pointer; protected property ToolOwner: IToolOwner read FToolOwner; public procedure Assign(OtherItem: TKASToolItem); virtual; function CheckExecute(ToolItemID: String): Boolean; virtual; function Clone: TKASToolItem; virtual; abstract; function ConfigNodeName: String; virtual; abstract; function GetEffectiveHint: String; virtual; abstract; function GetEffectiveText: String; virtual; abstract; procedure Load(Config: TXmlConfig; Node: TXmlNode; Loader: TKASToolBarLoader); virtual; abstract; procedure Save(Config: TXmlConfig; Node: TXmlNode); procedure SaveContents(Config: TXmlConfig; Node: TXmlNode); virtual; abstract; procedure SetToolOwner(AToolOwner: IToolOwner); virtual; property UserData: Pointer read FUserData write FUserData; end; TKASToolItemClass = class of TKASToolItem; { TKASSeparatorItem } TKASSeparatorItem = class(TKASToolItem) public Style: Boolean; procedure Assign(OtherItem: TKASToolItem); override; function Clone: TKASToolItem; override; function ConfigNodeName: String; override; function GetEffectiveHint: String; override; function GetEffectiveText: String; override; procedure Load(Config: TXmlConfig; Node: TXmlNode; Loader: TKASToolBarLoader); override; procedure SaveContents(Config: TXmlConfig; Node: TXmlNode); override; end; { TKASNormalItem } TKASNormalItem = class(TKASToolItem) strict private FID: String; // Unique identificator of the button function GetID: String; strict protected procedure SaveHint(Config: TXmlConfig; Node: TXmlNode); virtual; procedure SaveIcon(Config: TXmlConfig; Node: TXmlNode); virtual; procedure SaveText(Config: TXmlConfig; Node: TXmlNode); virtual; public Icon: String; Text: String; Hint: String; procedure Assign(OtherItem: TKASToolItem); override; function CheckExecute(ToolItemID: String): Boolean; override; function Clone: TKASToolItem; override; function ConfigNodeName: String; override; function GetEffectiveHint: String; override; function GetEffectiveText: String; override; function GetShortcutsHint: String; procedure Load(Config: TXmlConfig; Node: TXmlNode; Loader: TKASToolBarLoader); override; procedure SaveContents(Config: TXmlConfig; Node: TXmlNode); override; property ID: String read GetID; end; { TKASMenuItem } TKASMenuItem = class(TKASNormalItem) procedure ToolItemLoaded(Item: TKASToolItem); private FItems: TKASToolBarItems; public constructor Create; reintroduce; destructor Destroy; override; procedure Assign(OtherItem: TKASToolItem); override; function CheckExecute(ToolItemID: String): Boolean; override; function Clone: TKASToolItem; override; function ConfigNodeName: String; override; procedure Load(Config: TXmlConfig; Node: TXmlNode; Loader: TKASToolBarLoader); override; procedure SaveContents(Config: TXmlConfig; Node: TXmlNode); override; procedure SetToolOwner(AToolOwner: IToolOwner); override; property SubItems: TKASToolBarItems read FItems; end; { TKASToolBarItems } TKASToolBarItems = class private FButtons: TFPList; function GetButton(Index: Integer): TKASToolItem; function GetButtonCount: Integer; procedure SetButton(Index: Integer; const AValue: TKASToolItem); public constructor Create; destructor Destroy; override; function Add(Item: TKASToolItem): Integer; procedure Clear; function Insert(InsertAt: Integer; Item: TKASToolItem): Integer; procedure Move(FromIndex, ToIndex: Integer); {en Returns the item at Index, removes it from the list but does not free it like Remove. } function ReleaseItem(Index: Integer): TKASToolItem; procedure Remove(Index: Integer); property Count: Integer read GetButtonCount; property Items[Index: Integer]: TKASToolItem read GetButton write SetButton; default; end; { TKASToolBarSerializer } TKASToolBarSerializer = class private FDeserializedItem: TKASToolItem; procedure SetDeserializedItem(Item: TKASToolItem); public function Deserialize(Stream: TStream; Loader: TKASToolBarLoader): TKASToolItem; procedure Serialize(Stream: TStream; Item: TKASToolItem); end; const MenuItemConfigNode = 'Menu'; NormalItemConfigNode = 'Normal'; SeparatorItemConfigNode = 'Separator'; implementation uses DCStrUtils; { TKASToolItem } procedure TKASToolItem.Assign(OtherItem: TKASToolItem); begin FUserData := OtherItem.FUserData; end; function TKASToolItem.CheckExecute(ToolItemID: String): Boolean; begin Result := False; end; procedure TKASToolItem.Save(Config: TXmlConfig; Node: TXmlNode); begin Node := Config.AddNode(Node, ConfigNodeName); SaveContents(Config, Node); end; procedure TKASToolItem.SetToolOwner(AToolOwner: IToolOwner); begin FToolOwner := AToolOwner; end; { TKASToolBarSerializer } function TKASToolBarSerializer.Deserialize(Stream: TStream; Loader: TKASToolBarLoader): TKASToolItem; var Config: TXmlConfig; begin Result := nil; FDeserializedItem := nil; Config := TXmlConfig.Create; try Config.ReadFromStream(Stream); Loader.Load(Config, Config.RootNode, @SetDeserializedItem); Result := FDeserializedItem; finally Config.Free; end; end; procedure TKASToolBarSerializer.Serialize(Stream: TStream; Item: TKASToolItem); var Config: TXmlConfig; begin Config := TXmlConfig.Create; try Item.Save(Config, Config.RootNode); Config.WriteToStream(Stream); finally Config.Free; end; end; procedure TKASToolBarSerializer.SetDeserializedItem(Item: TKASToolItem); begin FDeserializedItem := Item; end; { TKASToolBarLoader } function TKASToolBarLoader.CreateItem(Node: TXmlNode): TKASToolItem; begin if Node.CompareName(MenuItemConfigNode) = 0 then Result := TKASMenuItem.Create else if Node.CompareName(NormalItemConfigNode) = 0 then Result := TKASNormalItem.Create else if Node.CompareName(SeparatorItemConfigNode) = 0 then Result := TKASSeparatorItem.Create else Result := nil; end; procedure TKASToolBarLoader.Load(Config: TXmlConfig; RootNode: TXmlNode; OnLoadToolItem: TOnLoadToolItem); var Node: TXmlNode; Item: TKASToolItem; begin Node := RootNode.FirstChild; while Assigned(Node) do begin Item := CreateItem(Node); if Assigned(Item) then try Item.Load(Config, Node, Self); OnLoadToolItem(Item); Item := nil; finally FreeAndNil(Item); end; Node := Node.NextSibling; end; end; { TKASMenuItem } procedure TKASMenuItem.Assign(OtherItem: TKASToolItem); var MenuItem: TKASMenuItem; Item: TKASToolItem; I: Integer; begin inherited Assign(OtherItem); if OtherItem is TKASMenuItem then begin MenuItem := TKASMenuItem(OtherItem); FItems.Clear; for I := 0 to MenuItem.SubItems.Count - 1 do begin Item := MenuItem.SubItems.Items[I].Clone; Item.SetToolOwner(ToolOwner); FItems.Add(Item); end; end; end; function TKASMenuItem.CheckExecute(ToolItemID: String): Boolean; var I: Integer; begin Result := inherited CheckExecute(ToolItemID); if not Result then begin for I := 0 to SubItems.Count - 1 do begin if SubItems[I].CheckExecute(ToolItemID) then Exit(True); end; end; end; function TKASMenuItem.Clone: TKASToolItem; begin Result := TKASMenuItem.Create; Result.Assign(Self); end; function TKASMenuItem.ConfigNodeName: String; begin Result := MenuItemConfigNode; end; constructor TKASMenuItem.Create; begin FItems := TKASToolBarItems.Create; end; destructor TKASMenuItem.Destroy; begin inherited Destroy; FItems.Free; end; procedure TKASMenuItem.Load(Config: TXmlConfig; Node: TXmlNode; Loader: TKASToolBarLoader); begin inherited Load(Config, Node, Loader); SubItems.Clear; Node := Config.FindNode(Node, 'MenuItems', False); if Assigned(Node) then Loader.Load(Config, Node, @ToolItemLoaded); end; procedure TKASMenuItem.SaveContents(Config: TXmlConfig; Node: TXmlNode); var I: Integer; begin inherited SaveContents(Config, Node); if SubItems.Count > 0 then begin Node := Config.AddNode(Node, 'MenuItems'); for I := 0 to SubItems.Count - 1 do SubItems.Items[I].Save(Config, Node); end; end; procedure TKASMenuItem.SetToolOwner(AToolOwner: IToolOwner); var I: Integer; begin inherited SetToolOwner(AToolOwner); for I := 0 to SubItems.Count - 1 do SubItems.Items[I].SetToolOwner(ToolOwner); end; procedure TKASMenuItem.ToolItemLoaded(Item: TKASToolItem); begin Item.SetToolOwner(ToolOwner); SubItems.Add(Item); end; { TKASDividerItem } procedure TKASSeparatorItem.Assign(OtherItem: TKASToolItem); begin inherited Assign(OtherItem); if OtherItem is TKASSeparatorItem then Style := TKASSeparatorItem(OtherItem).Style; end; function TKASSeparatorItem.Clone: TKASToolItem; begin Result := TKASSeparatorItem.Create; Result.Assign(Self); end; function TKASSeparatorItem.ConfigNodeName: String; begin Result := SeparatorItemConfigNode; end; function TKASSeparatorItem.GetEffectiveHint: String; begin Result := ''; end; function TKASSeparatorItem.GetEffectiveText: String; begin Result := ''; end; procedure TKASSeparatorItem.Load(Config: TXmlConfig; Node: TXmlNode; Loader: TKASToolBarLoader); begin Style := Config.GetValue(Node, 'Style', False); end; procedure TKASSeparatorItem.SaveContents(Config: TXmlConfig; Node: TXmlNode); begin Config.AddValue(Node, 'Style', Style); end; { TKASNormalItem } procedure TKASNormalItem.Assign(OtherItem: TKASToolItem); var NormalItem: TKASNormalItem; begin inherited Assign(OtherItem); if OtherItem is TKASNormalItem then begin // Don't copy ID. NormalItem := TKASNormalItem(OtherItem); Icon := NormalItem.Icon; Text := NormalItem.Text; Hint := NormalItem.Hint; end; end; function TKASNormalItem.CheckExecute(ToolItemID: String): Boolean; begin Result := (ID = ToolItemID); if Result and Assigned(FToolOwner) then FToolOwner.ExecuteToolItem(Self); end; function TKASNormalItem.Clone: TKASToolItem; begin Result := TKASNormalItem.Create; Result.Assign(Self); end; function TKASNormalItem.ConfigNodeName: String; begin Result := NormalItemConfigNode; end; function TKASNormalItem.GetEffectiveHint: String; var ShortcutsHint: String; begin Result := Hint; ShortcutsHint := GetShortcutsHint; if ShortcutsHint <> '' then AddStrWithSep(Result, '(' + ShortcutsHint + ')', ' '); end; function TKASNormalItem.GetEffectiveText: String; begin Result := Text; end; function TKASNormalItem.GetID: String; var Guid: TGuid; begin if FID = EmptyStr then begin if CreateGUID(Guid) = 0 then FID := GUIDToString(Guid) else FID := IntToStr(Random(MaxInt)); end; Result := FID; end; function TKASNormalItem.GetShortcutsHint: String; begin if Assigned(FToolOwner) then Result := FToolOwner.GetToolItemShortcutsHint(Self) else Result := ''; end; procedure TKASNormalItem.Load(Config: TXmlConfig; Node: TXmlNode; Loader: TKASToolBarLoader); begin Node := Node.FirstChild; while Assigned(Node) do begin if Node.CompareName('ID') = 0 then FID := Config.GetContent(Node) else if Node.CompareName('Text') = 0 then Text := Config.GetContent(Node) else if Node.CompareName('Icon') = 0 then Icon := Config.GetContent(Node) else if Node.CompareName('Hint') = 0 then Hint := Config.GetContent(Node); Node := Node.NextSibling; end; end; procedure TKASNormalItem.SaveContents(Config: TXmlConfig; Node: TXmlNode); begin Config.AddValue(Node, 'ID', ID); SaveText(Config, Node); SaveIcon(Config, Node); SaveHint(Config, Node); end; procedure TKASNormalItem.SaveHint(Config: TXmlConfig; Node: TXmlNode); begin Config.AddValueDef(Node, 'Hint', Hint, ''); end; procedure TKASNormalItem.SaveIcon(Config: TXmlConfig; Node: TXmlNode); begin Config.AddValueDef(Node, 'Icon', Icon, ''); end; procedure TKASNormalItem.SaveText(Config: TXmlConfig; Node: TXmlNode); begin Config.AddValueDef(Node, 'Text', Text, ''); end; { TKASToolBarItems } constructor TKASToolBarItems.Create; begin FButtons := TFPList.Create; end; destructor TKASToolBarItems.Destroy; begin Clear; inherited Destroy; FButtons.Free; end; function TKASToolBarItems.Insert(InsertAt: Integer; Item: TKASToolItem): Integer; begin FButtons.Insert(InsertAt, Item); Result := InsertAt; end; procedure TKASToolBarItems.Move(FromIndex, ToIndex: Integer); begin FButtons.Move(FromIndex, ToIndex); end; function TKASToolBarItems.ReleaseItem(Index: Integer): TKASToolItem; begin Result := TKASToolItem(FButtons[Index]); FButtons.Delete(Index); end; function TKASToolBarItems.Add(Item: TKASToolItem): Integer; begin Result := FButtons.Add(Item); end; procedure TKASToolBarItems.Remove(Index: Integer); begin TKASToolItem(FButtons[Index]).Free; FButtons.Delete(Index); end; procedure TKASToolBarItems.Clear; var i: Integer; begin for i := 0 to FButtons.Count - 1 do TKASToolItem(FButtons[i]).Free; FButtons.Clear; end; function TKASToolBarItems.GetButtonCount: Integer; begin Result := FButtons.Count; end; function TKASToolBarItems.GetButton(Index: Integer): TKASToolItem; begin Result := TKASToolItem(FButtons[Index]); end; procedure TKASToolBarItems.SetButton(Index: Integer; const AValue: TKASToolItem); begin TKASToolItem(FButtons[Index]).Free; FButtons[Index] := AValue; end; end.
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls {$IFDEF MSWINDOWS} , REST.Authenticator.OAuth.WebForm.Win {$ELSE} , REST.Authenticator.OAuth.WebForm.FMX {$ENDIF} , FMX.RESTLight.Types, FMX.RESTLight; type TfrmMain = class(TForm) btnAuth: TButton; btnWallMsg: TButton; Memo1: TMemo; btnAccOffline: TButton; btnWallPicture: TButton; procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObject); procedure btnAuthClick(Sender: TObject); procedure btnWallMsgClick(Sender: TObject); procedure btnAccOfflineClick(Sender: TObject); procedure btnWallPictureClick(Sender: TObject); private { Private declarations } public { Public declarations } procedure AfterRedirect(const AURL: string; var DoCloseWebView: Boolean); end; var frmMain: TfrmMain; WebForm: Tfrm_OAuthWebForm; FAuthToken: TmyAuthToken; FVKApp: TmyAppSettings; implementation {$R *.fmx} uses System.DateUtils, System.Threading, System.IOUtils, XSuperObject, uAppSettings; { TfrmMain } procedure TfrmMain.AfterRedirect(const AURL: string; var DoCloseWebView: Boolean); var iPos: Integer; aStr: string; aParams: TStringList; begin iPos := Pos('#access_token=', AURL); if (iPos > 0) and (FAuthToken.token.IsEmpty) then begin aStr := AURL; Delete(aStr, 1, iPos); aParams := TStringList.Create; try aParams.Delimiter := '&'; aParams.DelimitedText := aStr; FAuthToken.token := aParams.Values['access_token']; FAuthToken.expires_in := IncSecond(Now, StrToInt(aParams.Values['expires_in']) - 10); FAuthToken.user_id := aParams.Values['user_id']; finally aParams.Free; end; DoCloseWebView := true; Memo1.Lines.Add('---- auth ----'); Memo1.Lines.Add('token = ' + FAuthToken.token); Memo1.Lines.Add('owner_id = ' + FAuthToken.user_id); btnAuth.Enabled := false; btnWallMsg.Enabled := true; btnAccOffline.Enabled := true; btnWallPicture.Enabled := true; end; end; procedure TfrmMain.btnAccOfflineClick(Sender: TObject); var aFields: TArray<TmyRestParam>; aJSON: string; begin SetLength(aFields, 3); aFields[0] := TmyRestParam.Create('access_token', FAuthToken.token, false); aFields[1] := TmyRestParam.Create('v', FVKApp.APIVersion, false); aFields[2] := TmyRestParam.Create('owner_id', FAuthToken.user_id, false); TTask.Run( procedure begin aJSON := TRESTLight.Execute('account.setOffline', FVKApp, aFields); TThread.Synchronize(TThread.CurrentThread, procedure begin Memo1.Lines.Add('---- account.setOffline ----'); Memo1.Lines.Add(aJSON); end); end); end; procedure TfrmMain.btnAuthClick(Sender: TObject); begin FVKApp.ID := TmyVKApp.ID; FVKApp.Key := TmyVKApp.Key; FVKApp.OAuthURL := TmyVKApp.OAuthURL; FVKApp.RedirectURL := TmyVKApp.RedirectURL; FVKApp.BaseURL := TmyVKApp.BaseURL; FVKApp.Scope := TmyVKApp.Scope; FVKApp.APIVersion := TmyVKApp.APIVersion; WebForm.ShowWithURL(TRESTLight.AccessTokenURL(FVKApp)); end; procedure TfrmMain.btnWallMsgClick(Sender: TObject); var aFields: TArray<TmyRestParam>; aJSON: string; begin SetLength(aFields, 5); aFields[0] := TmyRestParam.Create('access_token', FAuthToken.token, false); aFields[1] := TmyRestParam.Create('v', FVKApp.APIVersion, false); aFields[2] := TmyRestParam.Create('owner_id', FAuthToken.user_id, false); aFields[3] := TmyRestParam.Create('friends_only', '0', false); aFields[4] := TmyRestParam.Create('message', 'Тестовое сообщение <RESTLight>', false); TTask.Run( procedure begin aJSON := TRESTLight.Execute('wall.post', FVKApp, aFields); TThread.Synchronize(TThread.CurrentThread, procedure begin Memo1.Lines.Add('---- wall.post ----'); Memo1.Lines.Add(aJSON); end); end); end; procedure TfrmMain.btnWallPictureClick(Sender: TObject); var aFields: TArray<TmyRestParam>; aJSON: string; xJS: ISuperObject; aUploadURL: string; aAlbumID: string; aUploadFile: string; aPhotoServer: string; aPhotoData: string; aPhotoHash: string; aPhotoID: string; begin aUploadURL := ''; aAlbumID := ''; aUploadFile := TPath.Combine( {$IFDEF MSWINDOWS} TPath.GetDirectoryName(ParamStr(0)) + '\..\..\' {$ELSE} TPath.GetDocumentsPath{$ENDIF}, 'fmx.jpg'); if not FileExists(aUploadFile) then begin Memo1.Lines.Add('File not found'); exit; end; SetLength(aFields, 3); aFields[0] := TmyRestParam.Create('access_token', FAuthToken.token, false); aFields[1] := TmyRestParam.Create('v', FVKApp.APIVersion, false); aFields[2] := TmyRestParam.Create('owner_id', FAuthToken.user_id, false); TTask.Run( procedure begin // photos.getWallUploadServer aJSON := TRESTLight.Execute('photos.getWallUploadServer', FVKApp, aFields); Log.d('---------------------- photos.getWallUploadServer'); Log.d(aJSON); xJS := SO(aJSON); if xJS.Check('response') then begin aUploadURL := xJS.O['response'].S['upload_url'].Replace('\', ''); aAlbumID := xJS.O['response'].I['album_id'].ToString; end; // ... photos.getWallUploadServer if (not aUploadURL.IsEmpty) and (not aAlbumID.IsEmpty) then begin // upload file to server aPhotoServer := ''; aPhotoData := ''; aPhotoHash := ''; SetLength(aFields, 4); aFields[0] := TmyRestParam.Create('access_token', FAuthToken.token, false); aFields[1] := TmyRestParam.Create('v', FVKApp.APIVersion, false); aFields[2] := TmyRestParam.Create('owner_id', FAuthToken.user_id, false); aFields[3] := TmyRestParam.Create('photo', aUploadFile, true); aJSON := TRESTLight.Execute2(aUploadURL, FVKApp, aFields); Log.d('---------------------- upload file to server'); Log.d(aJSON); xJS := SO(aJSON); if xJS.Check('server') then begin aPhotoServer := xJS.I['server'].ToString; aPhotoHash := xJS.S['hash']; aPhotoData := xJS.S['photo']; end; // ... upload file to server if (not aPhotoServer.IsEmpty) and (not aPhotoData.IsEmpty) and (not aPhotoHash.IsEmpty) then begin // photos.saveWallPhoto SetLength(aFields, 6); aFields[0] := TmyRestParam.Create('access_token', FAuthToken.token, false); aFields[1] := TmyRestParam.Create('v', FVKApp.APIVersion, false); aFields[2] := TmyRestParam.Create('user_id', FAuthToken.user_id, false); aFields[3] := TmyRestParam.Create('photo', aPhotoData, false); aFields[4] := TmyRestParam.Create('server', aPhotoServer, false); aFields[5] := TmyRestParam.Create('hash', aPhotoHash, false); aJSON := TRESTLight.Execute('photos.saveWallPhoto', FVKApp, aFields); Log.d('---------------------- photos.saveWallPhoto'); Log.d(aJSON); xJS := SO(aJSON); if xJS.Check('response') then begin aPhotoID := xJS.A['response'].O[0].I['id'].ToString; aAlbumID := xJS.A['response'].O[0].I['album_id'].ToString; end; // ... photos.saveWallPhoto if (not aPhotoID.IsEmpty) and (not aAlbumID.IsEmpty) then begin // wall.post SetLength(aFields, 6); aFields[0] := TmyRestParam.Create('access_token', FAuthToken.token, false); aFields[1] := TmyRestParam.Create('v', FVKApp.APIVersion, false); aFields[2] := TmyRestParam.Create('owner_id', FAuthToken.user_id, false); aFields[3] := TmyRestParam.Create('friends_only', '1', false); aFields[4] := TmyRestParam.Create('message', 'Тестовое сообщение <RESTLight>', false); aFields[5] := TmyRestParam.Create('attachments', 'photo' + FAuthToken.user_id + '_' + aPhotoID + ',http://fire-monkey.ru', false); aJSON := TRESTLight.Execute('wall.post', FVKApp, aFields); Log.d('---------------------- wall.post'); Log.d(aJSON); // .. wall.post end; end; end; TThread.Synchronize(TThread.CurrentThread, procedure begin Memo1.Lines.Add('---- wall.post ----'); Memo1.Lines.Add(aJSON); end); end); end; procedure TfrmMain.FormCreate(Sender: TObject); begin WebForm := Tfrm_OAuthWebForm.Create(nil); WebForm.OnAfterRedirect := AfterRedirect; end; procedure TfrmMain.FormDestroy(Sender: TObject); begin FreeAndNil(WebForm); end; end.
unit Utils; interface function GetPath(SubDir: string): string; implementation uses SysUtils, Dialogs; function GetPath(SubDir: string): string; begin Result := ExtractFilePath(ParamStr(0)); Result := IncludeTrailingPathDelimiter(Result + SubDir); end; end.
unit ComponentManagerUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, StdCtrls, FileUtil, Forms, Controls, Graphics, Dialogs, IniFiles, ShellApi; type TComponentManager = class private buttonsList: array of TButton; myListbox: TListBox; Ini: Tinifile; NAMES, CMD_LINES: array of string; size: integer; procedure useButtons(); procedure useListbox(); procedure ListClick(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: integer); procedure SpacePress(Sender: TObject; var Key: Word; Shift: TShiftState); procedure ButtonClick(Sender: TObject); public constructor Create(); destructor Destroy(); override; end; implementation uses RunTimeUnit; //Клик по кнопке procedure TComponentManager.ButtonClick(Sender: TObject); begin ShellExecute(0, 'open', PChar(CMD_LINES[TButton(Sender).Tag]), nil, nil, 1); end; //Пробел или Enter по списку procedure TComponentManager.SpacePress(Sender: TObject; var Key: Word; Shift: TShiftState); begin if (Key = 32) or (Key = 13) then ShellExecute(0, 'open', PChar(CMD_LINES[myListbox.ItemIndex]), nil, nil, 1); end; //Клик по списку procedure TComponentManager.ListClick(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: integer); var Point: TPoint; Index: Integer; begin if (Button <> mbleft) or not(ssDouble in Shift) then Exit; Point.X := X; Point.Y := Y; Index := myListbox.ItemAtPos(Point, True); if index > -1 then ShellExecute(0, 'open', PChar(CMD_LINES[Index]), nil, nil, 1); end; //Используем кнопки procedure TComponentManager.useButtons(); var i: integer; begin setlength(buttonsList, size); for i:= 0 to size-1 do begin buttonsList[i] := TButton.Create(RunTimeForm); buttonsList[i].Parent := RunTimeForm; buttonsList[i].Width := 304; buttonsList[i].Height := 30; buttonsList[i].Left := 8; buttonsList[i].Tag := i; buttonsList[i].Top := 8 + i * 30; buttonsList[i].Caption := NAMES[i]; buttonsList[i].OnCLick := @ButtonClick; end; end; //Используем список procedure TComponentManager.useListbox(); var i: integer; begin myListbox := TListBox.Create(RunTimeForm); myListbox.Parent := RunTimeForm; myListbox.Width := 304; myListbox.Top := 8; myListbox.Left := 8; myListbox.Height := 200; for i:=0 to size-1 do myListBox.Items.Add(NAMES[i]); myListbox.OnMouseUp := @ListClick; myListbox.OnKeyUp := @SpacePress; end; //конструктор constructor TComponentManager.Create; var OUTPUT_TYPE: byte; begin Ini := TiniFile.Create(extractfilepath(Application.ExeName)+'myinifile.ini'); OUTPUT_TYPE := Ini.ReadInteger('OUTPUT', 'OUTPUT_TYPE', 1); size := 0; repeat setlength(NAMES, size + 1); setlength(CMD_LINES, size + 1); NAMES[size] := Ini.ReadString('NAMES', 'NAME_'+IntToStr(size), 'null'); CMD_LINES[size] := Ini.ReadString('CMD_LINES', 'LINE_'+IntToStr(size), 'null'); size := size + 1; until (NAMES[size-1] = 'null') or (CMD_LINES[size-1] = 'null'); size := size - 1; setlength(NAMES, size); setlength(CMD_LINES, size); if OUTPUT_TYPE = 2 then useButtons() else useListbox(); end; //деструктор destructor TComponentManager.Destroy; var i: integer; begin for i := 0 to size-1 do buttonsList[i].Free; myListbox.Free; Ini.Free; end; end.
unit TestDelphiNetClass; { AFS May 2005 This unit compiles but is not semantically meaningfull it is test cases for the code formatting utility Basic test of class heritage, visibility and uses in Delphi.NET } interface uses Borland.Vcl.SysUtils, System.Drawing, System.Collections, System.ComponentModel, System.Windows.Forms, System.Data; type TMyForm = class(System.Windows.Forms.Form) TextBox: System.Windows.Forms.TextBox; end; TTestClass = class(TObject) strict private foo: integer; strict protected bar: integer; private fish: integer; protected spon: integer; end; TTestRecord = record strict private fNameValue : integer; function GetName: string; public NamePrefix : string; constructor Create(const psNameValue: integer); property Name : string read GetName; end; implementation { TTestRecord } constructor TTestRecord.Create(const psNameValue: integer); begin fNameValue := psNameValue; NamePrefix := 'Test'; end; function TTestRecord.GetName: string; begin Inc(fNameValue) ; result := Format('%s %d',[NamePrefix, fNameValue]) ; end; end.
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { } {*******************************************************} unit RSConsole.CustomHeaderDlgForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FMX.Objects, FMX.Edit, FMX.ListBox, FMX.ComboEdit, REST.Client, REST.Consts, REST.Types, FMX.Controls.Presentation, FMX.Layouts; type Tfrm_CustomHeaderDlg = class(TForm) btn_Cancel: TButton; btn_Apply: TButton; Line1: TLine; cmb_ParameterKind: TComboBox; Label3: TLabel; cmb_ParameterName: TComboEdit; edt_ParameterValue: TEdit; Label2: TLabel; Label1: TLabel; cbx_DoNotEncode: TCheckBox; Layout1: TLayout; procedure btn_CancelClick(Sender: TObject); procedure btn_ApplyClick(Sender: TObject); procedure cmb_ParameterKindChange(Sender: TObject); procedure FormDeactivate(Sender: TObject); procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); private FStandardHeaderNames: TStrings; procedure SetStandardHeaderNames(const Value: TStrings); { Private declarations } property StandardHeaderNames: TStrings read FStandardHeaderNames write SetStandardHeaderNames; procedure InitParamKind; public { Public declarations } constructor Create(AOwner: TComponent; AParameter: TRESTRequestParameter); reintroduce; end; var frm_CustomHeaderDlg: Tfrm_CustomHeaderDlg; implementation {$R *.fmx} uses RSConsole.ExplorerConsts; { Tfrm_CustomHeaderDlg } procedure Tfrm_CustomHeaderDlg.btn_ApplyClick(Sender: TObject); begin ModalResult := mrOk; end; procedure Tfrm_CustomHeaderDlg.btn_CancelClick(Sender: TObject); begin ModalResult := mrCancel; end; constructor Tfrm_CustomHeaderDlg.Create(AOwner: TComponent; AParameter: TRESTRequestParameter); begin inherited Create(AOwner); FStandardHeaderNames := TStringList.Create; // Store standard headers, that have been put in using the IDE FStandardHeaderNames.Assign(cmb_ParameterName.Items); InitParamKind; if Assigned(AParameter) then begin Caption := RSEditCustomParameter; cmb_ParameterName.Text := AParameter.Name; edt_ParameterValue.Text := AParameter.Value; if cmb_ParameterKind.Items.IndexOf(RESTRequestParameterKindToString(AParameter.Kind)) > -1 then cmb_ParameterKind.ItemIndex := cmb_ParameterKind.Items.IndexOf (RESTRequestParameterKindToString(AParameter.Kind)) else cmb_ParameterKind.ItemIndex := cmb_ParameterKind.Items.IndexOf (RESTRequestParameterKindToString(DefaultRESTRequestParameterKind)); cbx_DoNotEncode.IsChecked := poDoNotEncode in AParameter.Options; end else begin Caption := RSAddCustomParameter; cmb_ParameterName.Text := ''; edt_ParameterValue.Text := ''; cmb_ParameterKind.ItemIndex := cmb_ParameterKind.Items.IndexOf (RESTRequestParameterKindToString(DefaultRESTRequestParameterKind)); cbx_DoNotEncode.IsChecked := False; end; end; procedure Tfrm_CustomHeaderDlg.cmb_ParameterKindChange(Sender: TObject); begin // If Kind is "Header" then present available standard header parameters if cmb_ParameterKind.ItemIndex = ord(TRESTRequestParameterKind.pkHTTPHEADER) then begin cmb_ParameterName.BeginUpdate; try cmb_ParameterName.Items.Assign(StandardHeaderNames); finally cmb_ParameterName.EndUpdate; cmb_ParameterName.DropDown; end; end else cmb_ParameterName.Items.Clear; end; procedure Tfrm_CustomHeaderDlg.FormCloseQuery(Sender: TObject; var CanClose: Boolean); begin if IsPositiveResult(ModalResult) then if Trim(cmb_ParameterName.Text) = '' then begin MessageDlg(sRESTErrorEmptyParamName, TMsgDlgType.mtError, [TMsgDlgBtn.mbOK], 0); CanClose := False; end; end; procedure Tfrm_CustomHeaderDlg.FormDeactivate(Sender: TObject); begin FreeAndNil(FStandardHeaderNames); end; procedure Tfrm_CustomHeaderDlg.InitParamKind; var LKind: TRESTRequestParameterKind; begin cmb_ParameterKind.BeginUpdate; try cmb_ParameterKind.Clear; for LKind in [Low(TRESTRequestParameterKind)..High(TRESTRequestParameterKind)] do cmb_ParameterKind.Items.Add(RESTRequestParameterKindToString(LKind)); finally cmb_ParameterKind.EndUpdate; end; // try to set the itemindex to the default-value if cmb_ParameterKind.Items.IndexOf(RESTRequestParameterKindToString (DefaultRESTRequestParameterKind)) > -1 then cmb_ParameterKind.ItemIndex := cmb_ParameterKind.Items.IndexOf (RESTRequestParameterKindToString(DefaultRESTRequestParameterKind)); end; procedure Tfrm_CustomHeaderDlg.SetStandardHeaderNames(const Value: TStrings); begin FStandardHeaderNames := Value; end; end.
unit ExtraChargeSimpleQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, Vcl.StdCtrls, DSWrap; type TExtraChargeSimpleW = class(TDSWrap) private FH: TFieldWrap; FID: TFieldWrap; FIDExtraChargeType: TFieldWrap; FL: TFieldWrap; FWholeSale: TFieldWrap; public constructor Create(AOwner: TComponent); override; property H: TFieldWrap read FH; property ID: TFieldWrap read FID; property IDExtraChargeType: TFieldWrap read FIDExtraChargeType; property L: TFieldWrap read FL; property WholeSale: TFieldWrap read FWholeSale; end; TQueryExtraChargeSimple = class(TQueryBase) private FW: TExtraChargeSimpleW; { Private declarations } protected public constructor Create(AOwner: TComponent); override; function CheckBounds(AID, AIDExtraRangeType: Integer; ARange: string; out ALow, AHight: Integer): string; function SearchByID(AID: Integer; TestResult: Integer = -1): Integer; function SearchValueInRange(const AValue: Integer; AIDExtraRangeType, AID: Integer): Integer; property W: TExtraChargeSimpleW read FW; { Public declarations } end; implementation uses StrHelper, ProjectConst; {$R *.dfm} constructor TQueryExtraChargeSimple.Create(AOwner: TComponent); begin inherited; FW := TExtraChargeSimpleW.Create(FDQuery); end; function TQueryExtraChargeSimple.CheckBounds(AID, AIDExtraRangeType: Integer; ARange: string; out ALow, AHight: Integer): string; var m: TArray<String>; rc: Integer; begin Assert(AIDExtraRangeType > 0); Assert(not ARange.IsEmpty); Result := sExtraChargeRangeError; m := ARange.Split(['-']); if Length(m) <> 2 then Exit; ALow := StrToIntDef(m[0], 0); AHight := StrToIntDef(m[1], 0); if (ALow = 0) or (AHight = 0) then Exit; if AHight <= ALow then begin Result := sExtraChargeRangeError2; Exit; end; rc := SearchValueInRange(ALow, AIDExtraRangeType, AID); if rc = 0 then rc := SearchValueInRange(AHight, AIDExtraRangeType, AID); if rc > 0 then begin Result := Format('Диапазон %d-%d пересекается с диапазоном %d-%d', [ALow, AHight, W.L.F.AsInteger, W.H.F.AsInteger]); Exit; end; Result := ''; end; function TQueryExtraChargeSimple.SearchByID(AID: Integer; TestResult: Integer = -1): Integer; begin Assert(AID >= 0); // Ищем Result := SearchEx([TParamRec.Create(W.ID.FullName, AID)], TestResult); end; function TQueryExtraChargeSimple.SearchValueInRange(const AValue: Integer; AIDExtraRangeType, AID: Integer): Integer; var AStipulation: string; S1: string; S2: string; S3: string; S4: string; AValueParamName: string; begin // Assert(AID >= 0); Assert(AIDExtraRangeType >= 0); AValueParamName := 'Value'; S1 := Format(':%s >= %s', [AValueParamName, W.L.FieldName]); S2 := Format(':%s <= %s', [AValueParamName, W.H.FieldName]); S3 := Format('%s = :%s', [W.IDExtraChargeType.FieldName, W.IDExtraChargeType.FieldName]); S4 := Format('%s <> :%s', [W.ID.FieldName, W.ID.FieldName]); AStipulation := Format('(%s) and (%s) and (%s) and (%s)', [S1, S2, S3, S4]); // Меняем SQL запрос FDQuery.SQL.Text := ReplaceInSQL(SQL, AStipulation, 0); SetParamType(AValueParamName); SetParamType(W.IDExtraChargeType.FieldName); SetParamType(W.ID.FieldName); // Ищем Result := Search([AValueParamName, W.IDExtraChargeType.FieldName, W.ID.FieldName], [AValue, AIDExtraRangeType, AID]); end; constructor TExtraChargeSimpleW.Create(AOwner: TComponent); begin inherited; FID := TFieldWrap.Create(Self, 'ID', '', True); FH := TFieldWrap.Create(Self, 'H'); FL := TFieldWrap.Create(Self, 'L'); FIDExtraChargeType := TFieldWrap.Create(Self, 'IDExtraChargeType'); FWholeSale := TFieldWrap.Create(Self, 'WholeSale'); end; end.
unit IFinanceDialogs; interface uses InfoBox, ErrorBox, ConfBox, DecisionBox, WarningBox; procedure ShowInfoBox(const info: string); procedure ShowErrorBox(const error: string); procedure ShowConfirmationBox(const conf: string = 'Changes have been saved successfully.'); function ShowDecisionBox(const confMessage: string): integer; function ShowWarningBox(const confMessage: string): integer; implementation procedure ShowInfoBox(const info: string); begin with TfrmInfoBox.Create(nil,info) do try ShowModal; finally Free; end end; procedure ShowErrorBox(const error: string); begin with TfrmErrorBox.Create(nil,error) do try ShowModal; finally Free; end; end; procedure ShowConfirmationBox(const conf: string); begin with TfrmConfBox.Create(nil,conf) do try ShowModal; finally Free; end; end; function ShowDecisionBox(const confMessage: string): integer; begin with TfrmDecisionBox.Create(nil,confMessage) do try ShowModal; Result := Integer(ModalResult); finally Free; end; end; function ShowWarningBox(const confMessage: string): integer; begin with TfrmWarningBox.Create(nil,confMessage) do try ShowModal; Result := Integer(ModalResult); finally Free; end; end; end.
unit FC.StockChart.UnitTask.MBB.AdjustWidthDialog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Contnrs, Dialogs, BaseUtils,SystemService, ufmDialogClose_B, ufmDialog_B, ActnList, StdCtrls, ExtendControls, ExtCtrls, Spin, StockChart.Definitions,StockChart.Definitions.Units, FC.Definitions, DB, Grids, DBGrids, MultiSelectDBGrid, ColumnSortDBGrid, EditDBGrid, MemoryDS, ComCtrls; type TfmMBBAdjustWidthDialog = class(TfmDialogClose_B) buAdjust: TButton; taReport: TMemoryDataSet; DataSource1: TDataSource; grReport: TEditDBGrid; taReportPeriod: TIntegerField; taReportProfit: TFloatField; taReportNumber: TIntegerField; Label1: TLabel; laBestValue: TLabel; Label2: TLabel; edJitter: TExtendSpinEdit; Label3: TLabel; taReportTrendPeriod: TIntegerField; pbProgress: TProgressBar; DateTimePicker1: TExtendDateTimePicker; Label4: TLabel; DateTimePicker2: TExtendDateTimePicker; Label5: TLabel; procedure buAdjustClick(Sender: TObject); private FIndicator: ISCIndicatorMBB; function Iterate:double; procedure Adjust; public class procedure Run(const aIndicator: ISCIndicatorMBB); constructor Create(aOwner: TComponent); override; destructor Destroy; override; end; implementation uses Math; type TDirection = (dNone,dUp,dDown); {$R *.dfm} { TfmAdjustWidthDialog } function TfmMBBAdjustWidthDialog.Iterate: double; var i: integer; aSumm : double; aInputData: ISCInputDataCollection; aTop,aBottom: TSCRealNumber; aCurrentDirection: TDirection; aPrevValue : TSCRealNumber; aJitter: TSCRealNumber; aDelta : TSCRealNumber; begin aInputData:=FIndicator.GetInputData; aCurrentDirection:=dNone; aPrevValue:=0; aSumm:=0; aJitter:=aInputData.PointToPrice(edJitter.Value); //Проверка левая, нужна только для того, чтобы обратиться к последнему значению //и тем самым сразу расчитать весь диапазон. Небольшая оптимизация if IsNan(FIndicator.GetValue(aInputData.Count-1)) then raise EAlgoError.Create; for i:=FIndicator.GetFirstValidValueIndex to aInputData.Count-1 do begin aBottom:=aInputData.RoundPrice(FIndicator.GetBottomLine(i)); //Пересечение нижней границы if aInputData.DirectGetItem_DataLow(i)<=aBottom then begin case aCurrentDirection of dNone: ; //Уже отталкивлись от границы и опять от нее отталкиваемся dUp: begin aDelta:= (aBottom-aPrevValue); if abs(aDelta)>aJitter then aSumm:=aSumm+aDelta; end; dDown: begin aSumm:=aSumm+(aPrevValue-aBottom); end; end; aCurrentDirection:=dUp; aPrevValue:=aBottom; continue; end; aTop:=aInputData.RoundPrice(FIndicator.GetTopLine(i)); //Пересечение верхней границы if aInputData.DirectGetItem_DataHigh(i)>=aTop then begin case aCurrentDirection of dNone: ; dUp: begin aSumm:=aSumm+(aTop-aPrevValue); end; //Уже отталкивлись от границы и опять от нее отталкиваемся dDown: begin aDelta:=(aPrevValue-aTop); if abs(aDelta)>aJitter then aSumm:=aSumm+aDelta; end; end; aCurrentDirection:=dDown; aPrevValue:=aTop; continue; end; end; result:=aSumm end; procedure TfmMBBAdjustWidthDialog.Adjust; var i,j: Integer; aBestPeriod,aBestTrendPeriod: integer; aBestValue: double; begin TWaitCursor.SetUntilIdle; aBestValue:=0; aBestPeriod:=21; aBestTrendPeriod:=40; taReport.DisableControls; try taReport.EmptyTable; taReport.Open; pbProgress.Max:=100-21; pbProgress.Position:=0; pbProgress.Visible:=true; j:=0; for i := 21 to 100 do begin Application.ProcessMessages; FIndicator.SetPeriod(i); FIndicator.GetGeneralTrendMA.SetPeriod(40); while FIndicator.GetGeneralTrendMA.GetPeriod<200 do begin taReport.Append; taReport['Number']:=j; taReport['TrendPeriod']:=FIndicator.GetGeneralTrendMA.GetPeriod; taReport['Period']:=i; taReport['Profit']:=FIndicator.GetInputData.PriceToPoint(Iterate); if aBestValue<taReport['Profit'] then begin aBestValue:=taReport['Profit']; aBestPeriod:=i; aBestTrendPeriod:=FIndicator.GetGeneralTrendMA.GetPeriod; end; taReport.Post; FIndicator.GetGeneralTrendMA.SetPeriod(FIndicator.GetGeneralTrendMA.GetPeriod+10); end; pbProgress.StepIt; Application.ProcessMessages; end; finally grReport.RefreshSort; pbProgress.Visible:=false; taReport.EnableControls; end; FIndicator.SetPeriod(aBestPeriod); laBestValue.Caption:=IntToStr(aBestTrendPeriod)+', '+IntToStr(aBestPeriod); end; procedure TfmMBBAdjustWidthDialog.buAdjustClick(Sender: TObject); begin inherited; Adjust; end; constructor TfmMBBAdjustWidthDialog.Create(aOwner: TComponent); begin inherited; end; destructor TfmMBBAdjustWidthDialog.Destroy; begin inherited; end; class procedure TfmMBBAdjustWidthDialog.Run(const aIndicator: ISCIndicatorMBB); begin with TfmMBBAdjustWidthDialog.Create(nil) do try FIndicator:=aIndicator; Caption:=IndicatorFactory.GetIndicatorInfo(FIndicator.GetIID).Name+': '+Caption; ShowModal; finally Free; end; end; end.
unit IdMessage; interface uses Classes, IdBaseComponent, IdCoder, IdCoderIMF, IdCoder3To4, IdCoderText, IdException, IdEMailAddress, IdHeaderList, SysUtils; type TIdMessagePriority = (mpHighest, mpHigh, mpNormal, mpLow, mpLowest); const ID_MSG_NODECODE = False; ID_MSG_USENOWFORDATE = True; ID_MSG_PRIORITY = mpNormal; type TOnGetMessagePartStream = procedure(AStream: TStream) of object; TIdMessagePart = class(TCollectionItem) protected FBoundary: string; FBoundaryBegin: Boolean; FBoundaryEnd: Boolean; FContentMD5: string; FContentTransfer: string; FContentType: string; FEndBoundary: string; FExtraHeaders: TIdHeaderList; FHeaders: TIdHeaderList; FIsEncoded: Boolean; FOnGetMessagePartStream: TOnGetMessagePartStream; FStoredPathName: TFileName; function GetContentType: string; function GetContentTransfer: string; procedure SetContentType(const Value: string); procedure SetContentTransfer(const Value: string); procedure SetExtraHeaders(const Value: TIdHeaderList); public constructor Create(Collection: TCollection); override; destructor Destroy; override; procedure Assign(Source: TPersistent); override; property Boundary: string read FBoundary write FBoundary; property BoundaryBegin: Boolean read FBoundaryBegin write FBoundaryBegin; property BoundaryEnd: Boolean read FBoundaryEnd write FBoundaryEnd; property IsEncoded: Boolean read fIsEncoded; property OnGetMessagePartStream: TOnGetMessagePartStream read FOnGetMessagePartStream write FOnGetMessagePartStream; property StoredPathName: TFileName read FStoredPathName write FStoredPathName; property Headers: TIdHeaderList read FHeaders; published property ContentTransfer: string read GetContentTransfer write SetContentTransfer; property ContentType: string read GetContentType write SetContentType; property ExtraHeaders: TIdHeaderList read FExtraHeaders write SetExtraHeaders; end; TIdMessagePartClass = class of TIdMessagePart; TIdMessageParts = class; TIdAttachment = class(TIdMessagePart) protected FContentDisposition: string; FFileName: TFileName; function GetContentDisposition: string; procedure SetContentDisposition(const Value: string); public function SaveToFile(const FileName: TFileName): Boolean; constructor Create(Collection: TIdMessageParts; const AFileName: TFileName = ''); reintroduce; procedure Assign(Source: TPersistent); override; published property ContentDisposition: string read GetContentDisposition write SetContentDisposition; property FileName: TFileName read FFileName write FFileName; end; TIdText = class(TIdMessagePart) protected FBody: TStrings; procedure SetBody(const AStrs: TStrings); public constructor Create(Collection: TIdMessageParts; ABody: TStrings = nil); reintroduce; destructor Destroy; override; procedure Assign(Source: TPersistent); override; published property Body: TStrings read FBody write SetBody; end; TIdMessageParts = class(TOwnedCollection) protected function GetItem(Index: Integer): TIdMessagePart; procedure SetItem(Index: Integer; const Value: TIdMessagePart); public function Add: TIdMessagePart; constructor Create(AOwner: TPersistent); reintroduce; property Items[Index: Integer]: TIdMessagePart read GetItem write SetItem; default; end; TIdMessage = class(TIdBaseComponent) protected FBccList: TIdEmailAddressList; FBody: TStrings; FCharSet: string; FCcList: TIdEmailAddressList; FContentType: string; FContentTransferEncoding: string; FDate: TDateTime; FIsEncoded: Boolean; FExtraHeaders: TIdHeaderList; FFrom: TIdEmailAddressItem; FHeaders: TIdHeaderList; FMessageParts: TIdMessageParts; FMsgId: string; FNewsGroups: TStrings; FNoDecode: Boolean; FOrganization: string; FPriority: TIdMessagePriority; FSubject: string; FReceiptRecipient: TIdEmailAddressItem; FRecipients: TIdEmailAddressList; FReferences: string; FReplyTo: TIdEmailAddressList; FSender: TIdEMailAddressItem; FXProgram: string; public procedure AddHeader(const Value: string); procedure Clear; virtual; procedure ClearBody; procedure ClearHeader; constructor Create(AOwner: TComponent); override; destructor Destroy; override; procedure GetHeader; function GenerateHeader: TIdHeaderList; function GetUseNowForDate: Boolean; procedure SetBody(const Value: TStrings); procedure SetNewsGroups(const Value: TStrings); procedure SetExtraHeaders(const Value: TIdHeaderList); procedure SetUseNowForDate(const Value: Boolean); property IsEncoded: Boolean read fIsEncoded write fIsEncoded; property MsgId: string read FMsgId write FMsgId; property Headers: TIdHeaderList read FHeaders; property MessageParts: TIdMessageParts read FMessageParts; published property Body: TStrings read FBody write SetBody; property BccList: TIdEmailAddressList read FBccList write FBccList; property CharSet: string read FCharSet write FCharSet; property CCList: TIdEmailAddressList read FCcList write FCcList; property ContentType: string read FContentType write FContentType; property ContentTransferEncoding: string read FContentTransferEncoding write FContentTransferEncoding; property Date: TDateTime read FDate write FDate; property ExtraHeaders: TIdHeaderList read FExtraHeaders write SetExtraHeaders; property From: TIdEmailAddressItem read FFrom write FFrom; property NewsGroups: TStrings read FNewsGroups write SetNewsGroups; property NoDecode: Boolean read FNoDecode write FNoDecode default ID_MSG_NODECODE; property Organization: string read FOrganization write FOrganization; property Priority: TIdMessagePriority read FPriority write FPriority default ID_MSG_PRIORITY; property ReceiptRecipient: TIdEmailAddressItem read FReceiptRecipient write FReceiptRecipient; property Recipients: TIdEmailAddressList read FRecipients write FRecipients; property References: string read FReferences write FReferences; property ReplyTo: TIdEmailAddressList read FReplyTo write FReplyTo; property Subject: string read FSubject write FSubject; property Sender: TIdEmailAddressItem read FSender write FSender; property UseNowForDate: Boolean read GetUseNowForDate write SetUseNowForDate default ID_MSG_USENOWFORDATE; end; TIdMessageEvent = procedure(ASender: TComponent; var AMsg: TIdMessage) of object; TIdStringMessageEvent = procedure(ASender: TComponent; const AString: string; var AMsg: TIdMessage) of object; EIdMessageException = class(EIdException); EIdCanNotCreateMessagePart = class(EIdMessageException); EIdTextInvalidCount = class(EIdMessageException); implementation uses IdGlobal, IdHeaderCoder, IdResourceStrings; procedure TIdMessage.AddHeader(const Value: string); begin FHeaders.Add(Value); end; procedure TIdMessage.Clear; begin ClearHeader; ClearBody; end; procedure TIdMessage.ClearBody; begin MessageParts.Clear; Body.Clear; end; procedure TIdMessage.ClearHeader; begin CcList.Clear; BccList.Clear; Date := 0; From.Text := ''; NewsGroups.Clear; Organization := ''; References := ''; ReplyTo.Clear; Subject := ''; Recipients.Clear; Priority := ID_MSG_PRIORITY; ReceiptRecipient.Text := ''; ContentType := ''; CharSet := ''; ContentTransferEncoding := ''; FSender.Text := ''; Headers.Clear; ExtraHeaders.Clear; UseNowForDate := ID_MSG_USENOWFORDATE; end; constructor TIdMessage.Create(AOwner: TComponent); begin inherited; FBody := TStringList.Create; FRecipients := TIdEmailAddressList.Create(Self); FBccList := TIdEmailAddressList.Create(Self); FCcList := TIdEmailAddressList.Create(Self); FMessageParts := TIdMessageParts.Create(Self); FNewsGroups := TStringList.Create; FHeaders := TIdHeaderList.Create; FFrom := TIdEmailAddressItem.Create(nil); FReplyTo := TIdEmailAddressList.Create(Self); FSender := TIdEmailAddressItem.Create(nil); FExtraHeaders := TIdHeaderList.Create; FReceiptRecipient := TIdEmailAddressItem.Create(nil); NoDecode := ID_MSG_NODECODE; Clear; end; destructor TIdMessage.Destroy; begin FBody.Free; FRecipients.Free; FBccList.Free; FCcList.Free; FMessageParts.Free; FNewsGroups.Free; FHeaders.Free; FExtraHeaders.Free; FFrom.Free; FReplyTo.Free; FSender.Free; FReceiptRecipient.Free; inherited destroy; end; procedure TIdMessage.SetBody(const Value: TStrings); begin FBody.Assign(Value); end; procedure TIdMessage.SetNewsGroups(const Value: TStrings); begin FNewsgroups.Assign(Value); end; function TIdMessageParts.Add: TIdMessagePart; begin Result := nil; end; constructor TIdMessageParts.Create(AOwner: TPersistent); begin inherited Create(AOwner, TIdMessagePart); end; function TIdMessageParts.GetItem(Index: Integer): TIdMessagePart; begin Result := TIdMessagePart(inherited GetItem(Index)); end; procedure TIdMessageParts.SetItem(Index: Integer; const Value: TIdMessagePart); begin inherited SetItem(Index, Value); end; procedure TIdMessage.GetHeader; function GetMsgPriority(Priority: string): TIdMessagePriority; var s: string; Num: integer; begin if IndyPos('urgent', LowerCase(Priority)) <> 0 then {do not localize} begin Result := mpHigh; end else if IndyPos('non-priority', LowerCase(Priority)) <> 0 then {do not localize} begin Result := mpLow; end else begin s := Trim(Priority); s := Trim(Fetch(s, ' ')); Num := StrToIntDef(s, 3); Result := TIdMessagePriority(Num - 1); end; end; begin ContentType := Headers.Values['Content-Type']; {do not localize} ContentTransferEncoding := Headers.Values['Content-Transfer-Encoding']; {do not localize} Subject := DecodeHeader(Headers.Values['Subject']); {do not localize} From.Text := DecodeHeader(Headers.Values['From']); {do not localize} MsgId := Headers.Values['Message-Id']; {do not localize} CommaSeperatedToStringList(Newsgroups, Headers.Values['Newsgroups']); {do not localize} Recipients.EMailAddresses := DecodeHeader(Headers.Values['To']); {do not localize} CCList.EMailAddresses := DecodeHeader(Headers.Values['Cc']); {do not localize} Organization := Headers.Values['Organization']; {do not localize} ReceiptRecipient.Text := Headers.Values['Disposition-Notification-To']; {do not localize} if Length(ReceiptRecipient.Text) = 0 then begin ReceiptRecipient.Text := Headers.Values['Return-Receipt-To']; {do not localize} end; References := Headers.Values['References']; {do not localize} ReplyTo.EmailAddresses := Headers.Values['Reply-To']; {do not localize} Date := GMTToLocalDateTime(Headers.Values['Date']); {do not localize} Sender.Text := Headers.Values['Sender']; {do not localize} if Length(Headers.Values['Priority']) = 0 then {do not localize} Priority := GetMsgPriority(Headers.Values['X-Priority']) {do not localize} else Priority := GetMsgPriority(Headers.Values['Priority']); {do not localize} end; procedure TIdMessage.SetExtraHeaders(const Value: TIdHeaderList); begin FExtraHeaders.Assign(Value); end; function TIdMessage.GetUseNowForDate: Boolean; begin Result := FDate = 0; end; procedure TIdMessage.SetUseNowForDate(const Value: Boolean); begin Date := 0; end; procedure TIdMessagePart.Assign(Source: TPersistent); var mp: TIdMessagePart; begin if ClassType <> Source.ClassType then begin inherited; end else begin mp := TIdMessagePart(Source); ContentTransfer := mp.ContentTransfer; ContentType := mp.ContentType; ExtraHeaders.Assign(mp.ExtraHeaders); end; end; constructor TIdMessagePart.Create(Collection: TCollection); begin if ClassType = TIdMessagePart then begin raise EIdCanNotCreateMessagePart.Create(RSTIdMessagePartCreate); end; inherited; FIsEncoded := False; FHeaders := TIdHeaderList.Create; FExtraHeaders := TIdHeaderList.Create; end; destructor TIdMessagePart.Destroy; begin FHeaders.Free; FExtraHeaders.Free; inherited; end; function TIdMessage.GenerateHeader: TIdHeaderList; var MimeCharset: string; HeaderEncoding: Char; TransferHeader: TTransfer; begin InitializeMime(TransferHeader, HeaderEncoding, MimeCharSet); Result := TIdHeaderList.Create; with Result do begin Values['From'] := EncodeAddressItem(From, HeaderEncoding, TransferHeader, MimeCharSet); {do not localize} Values['Subject'] := EncodeHeader(Subject, [], HeaderEncoding, TransferHeader, {do not localize} MimeCharSet); Values['To'] := EncodeAddress(Recipients, HeaderEncoding, TransferHeader, MimeCharSet); {do not localize} Values['Cc'] := EncodeAddress(CCList, HeaderEncoding, TransferHeader, MimeCharSet); {do not localize} Values['Newsgroups'] := NewsGroups.CommaText; {do not localize} Values['Content-Type'] := ContentType; {do not localize} if MessageParts.Count > 0 then Values['MIME-Version'] := '1.0'; Values['Content-Transfer-Encoding'] := ContentTransferEncoding; {do not localize} Values['Sender'] := Sender.Text; {do not localize} Values['Reply-To'] := EncodeAddress(ReplyTo, HeaderEncoding, TransferHeader, {do not localize} MimeCharSet); Values['Organization'] := EncodeHeader(Organization, [], HeaderEncoding, {do not localize} TransferHeader, MimeCharSet); Values['Disposition-Notification-To'] := EncodeAddressItem(ReceiptRecipient, {do not localize} HeaderEncoding, TransferHeader, MimeCharSet); Values['References'] := References; {do not localize} if UseNowForDate then begin Values['Date'] := DateTimeToInternetStr(Now); {do not localize} end else begin Values['Date'] := DateTimeToInternetStr(Self.Date); {do not localize} end; Values['X-Priority'] := IntToStr(Ord(Priority) + 1); {do not localize} Values['X-Library'] := gsIdProductName + ' ' + gsIdVersion; {do not localize} // Add the extra-headers AddStrings(ExtraHeaders); end; end; function TIdMessagePart.GetContentTransfer: string; begin Result := Headers.Values['Content-Transfer-Encoding']; {do not localize} end; function TIdMessagePart.GetContentType: string; begin Result := Headers.Values['Content-Type']; {do not localize} end; procedure TIdMessagePart.SetContentTransfer(const Value: string); begin Headers.Values['Content-Transfer-Encoding'] := Value; {do not localize} end; procedure TIdMessagePart.SetContentType(const Value: string); begin Headers.Values['Content-Type'] := Value {do not localize} end; procedure TIdMessagePart.SetExtraHeaders(const Value: TIdHeaderList); begin FExtraHeaders.Assign(Value); end; procedure TIdAttachment.Assign(Source: TPersistent); var mp: TIdAttachment; begin if ClassType <> Source.ClassType then begin inherited; end else begin mp := TIdAttachment(Source); ContentTransfer := mp.ContentTransfer; ContentType := mp.ContentType; ExtraHeaders.Assign(mp.ExtraHeaders); ContentDisposition := mp.ContentDisposition; FileName := mp.FileName; end; end; constructor TIdAttachment.Create(Collection: TIdMessageParts; const AFileName: TFileName = ''); begin inherited Create(Collection); FFileName := AFileName; end; function TIdAttachment.GetContentDisposition: string; begin Result := Headers.Values['Content-Disposition']; {do not localize} end; function TIdAttachment.SaveToFile(const FileName: TFileName): Boolean; begin Result := CopyFileTo(StoredPathname, FileName); end; procedure TIdAttachment.SetContentDisposition(const Value: string); begin Headers.Values['Content-Disposition'] := Value; {do not localize} end; procedure TIdText.Assign(Source: TPersistent); var mp: TIdText; begin if ClassType <> Source.ClassType then begin inherited; end else begin mp := TIdText(Source); ContentTransfer := mp.ContentTransfer; ContentType := mp.ContentType; ExtraHeaders.Assign(mp.ExtraHeaders); Body.Assign(mp.Body); end; end; constructor TIdText.Create(Collection: TIdMessageParts; ABody: TStrings = nil); begin inherited Create(Collection); FBody := TStringList.Create; if ABody <> nil then begin FBody.Assign(ABody); end; end; destructor TIdText.Destroy; begin FBody.Free; inherited; end; procedure TIdText.SetBody(const AStrs: TStrings); begin FBody.Assign(AStrs); end; initialization RegisterClasses([TIdAttachment, TIdText]); end.
unit LoadFromExcelFileHelper; interface uses ExcelDataModule, ProgressBarForm2, CustomErrorForm, ProcRefUnit, ProgressInfo; type TLoad = class(TObject) private class var Instance: TLoad; var FCustomErrorFormClass: TCustomErrorFormClass; FfrmProgressBar: TfrmProgressBar2; FProcRef: TProcRef; FWriteProgress: TTotalProgress; procedure DoAfterLoadSheet(ASender: TObject); procedure DoOnTotalReadProgress(ASender: TObject); procedure TryUpdateWriteStatistic(API: TProgressInfo); public procedure LoadAndProcess(const AFileName: string; AExcelDMClass: TExcelDMClass; ACustomErrorFormClass: TCustomErrorFormClass; AProcRef: TProcRef; AInitExcelTable: TProcRef = nil; AInitExcelModule: TProcRef = nil); class function NewInstance: TObject; override; end; implementation uses System.Sysutils, NotifyEvents, VCL.Controls, CustomExcelTable, ProjectConst, System.Contnrs, System.Classes, ErrorType; var SingletonList: TObjectList; procedure TLoad.DoAfterLoadSheet(ASender: TObject); var AfrmError: TfrmCustomError; e: TExcelDMEvent; OK: Boolean; begin e := ASender as TExcelDMEvent; // Надо обновить прогресс записи if FWriteProgress.PIList.Count = 0 then FWriteProgress.Assign(e.TotalProgress); OK := e.ExcelTable.Errors.RecordCount = 0; // Если в ходе загрузки данных произошли ошибки if not OK then begin FfrmProgressBar.Hide; AfrmError := FCustomErrorFormClass.Create(nil); try if not e.ExcelTable.SaveAllActionCaption.IsEmpty then AfrmError.actAll.Caption := e.ExcelTable.SaveAllActionCaption; if not e.ExcelTable.SkipAllActionCaption.IsEmpty then AfrmError.actSkip.Caption := e.ExcelTable.SkipAllActionCaption; AfrmError.ViewGridEx.DSWrap := e.ExcelTable.Errors.W; // Показываем ошибки OK := AfrmError.ShowModal = mrOk; if OK then begin if AfrmError.ContinueType = ctSkip then // Убираем записи с ошибками и предупреждениями e.ExcelTable.ExcludeErrors(etWarring) else // Убираем записи с ошибками e.ExcelTable.ExcludeErrors(etError); end; finally FreeAndNil(AfrmError); end; end; // Надо ли останавливать загрузку остальных листов e.Terminate := not OK; if OK then begin FfrmProgressBar.Show; e.ExcelTable.Process(FProcRef, // Обработчик события procedure(ASender: TObject) Var API: TProgressInfo; begin API := ASender as TProgressInfo; // Запоминаем прогресс записи листа FWriteProgress.PIList[e.SheetIndex - 1].Assign(API); // Обновляем общий прогресс записи FWriteProgress.UpdateTotalProgress; TryUpdateWriteStatistic(FWriteProgress.TotalProgress); end); end; end; procedure TLoad.DoOnTotalReadProgress(ASender: TObject); var e: TExcelDMEvent; begin Assert(FfrmProgressBar <> nil); e := ASender as TExcelDMEvent; FfrmProgressBar.UpdateReadStatistic(e.TotalProgress.TotalProgress); end; procedure TLoad.LoadAndProcess(const AFileName: string; AExcelDMClass: TExcelDMClass; ACustomErrorFormClass: TCustomErrorFormClass; AProcRef: TProcRef; AInitExcelTable: TProcRef = nil; AInitExcelModule: TProcRef = nil); var AExcelDM: TExcelDM; begin FProcRef := AProcRef; FCustomErrorFormClass := ACustomErrorFormClass; FfrmProgressBar := TfrmProgressBar2.Create(nil); FWriteProgress := TTotalProgress.Create; // Создаём модуль для работы с Excel нужного класса AExcelDM := AExcelDMClass.Create(nil); try // Дополнительно инициализируем Excel модуль if Assigned(AInitExcelModule) then AInitExcelModule(AExcelDM); // Дополнительно инициализируем Excel таблицу if Assigned(AInitExcelTable) then AInitExcelTable(AExcelDM.CustomExcelTable); TNotifyEventWrap.Create(AExcelDM.AfterLoadSheet, DoAfterLoadSheet); TNotifyEventWrap.Create(AExcelDM.OnTotalProgress, DoOnTotalReadProgress); FfrmProgressBar.Show; if not AFileName.IsEmpty then AExcelDM.LoadExcelFile2(AFileName) else AExcelDM.LoadFromActiveSheet; finally FreeAndNil(FWriteProgress); FreeAndNil(AExcelDM); FreeAndNil(FfrmProgressBar); end; end; class function TLoad.NewInstance: TObject; begin if not Assigned(Instance) then begin Instance := TLoad(inherited NewInstance); SingletonList.Add(Instance); end; Result := Instance; end; procedure TLoad.TryUpdateWriteStatistic(API: TProgressInfo); begin if (API.ProcessRecords mod OnWriteProcessEventRecordCount = 0) or (API.ProcessRecords = API.TotalRecords) then // Отображаем общий прогресс записи FfrmProgressBar.UpdateWriteStatistic(API); end; initialization SingletonList := TObjectList.Create(True); finalization FreeAndNil(SingletonList); end.
unit uAlarmList; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, Grids, BaseGrid, AdvGrid, uSubForm, CommandArray; type TfmAlarmList = class(TfmASubForm) Panel1: TPanel; cmb_EcuID: TComboBox; Label1: TLabel; btn_Search: TSpeedButton; btn_AlaramDelete: TSpeedButton; btn_Close: TSpeedButton; sg_Alarm: TAdvStringGrid; btn_AllDelete: TSpeedButton; procedure FormCreate(Sender: TObject); procedure cmb_EcuIDChange(Sender: TObject); procedure btn_CloseClick(Sender: TObject); procedure btn_SearchClick(Sender: TObject); procedure btn_AlaramDeleteClick(Sender: TObject); procedure btn_AllDeleteClick(Sender: TObject); private FOnEcuID: string; procedure SetEcuID(const Value: string); { Private declarations } procedure LoadEcuID; procedure AlarmSearch(aEcuID:string); public { Public declarations } property SelectEcuID : string read FOnEcuID write SetEcuID; end; var fmAlarmList: TfmAlarmList; implementation uses uLomosUtil, uCommon; {$R *.dfm} { TfmAlarmList } procedure TfmAlarmList.SetEcuID(const Value: string); var nIndex : integer; begin FOnEcuID := Value; if cmb_EcuID.Items.Count > 0 then begin nIndex := cmb_EcuID.Items.IndexOf(Value); if nIndex > -1 then cmb_EcuID.ItemIndex := nIndex; end; AlarmSearch(Value); end; procedure TfmAlarmList.FormCreate(Sender: TObject); begin LoadEcuID; end; procedure TfmAlarmList.LoadEcuID; var i : integer; begin cmb_EcuID.Items.Clear; for i := 0 to 63 do begin cmb_EcuID.Items.Add(FillZeroNumber(i,2)); end; end; procedure TfmAlarmList.cmb_EcuIDChange(Sender: TObject); begin if SelectEcuID = cmb_EcuID.Text then Exit; SelectEcuID := cmb_EcuID.Text; end; procedure TfmAlarmList.AlarmSearch(aEcuID: string); var nRow : integer; nIndex : integer; stTemp : string; stAlarmTime : string; begin GridInitialize(sg_Alarm); nIndex := DeviceAlarmList.IndexOf(aEcuID); if nIndex < 0 then Exit; if TAlarmList(DeviceAlarmList.Objects[nIndex]).AlarmList.Count < 1 then Exit; sg_Alarm.RowCount := TAlarmList(DeviceAlarmList.Objects[nIndex]).AlarmList.Count + 1; for nRow := 0 to TAlarmList(DeviceAlarmList.Objects[nIndex]).AlarmList.Count - 1 do begin stTemp := TAlarmList(DeviceAlarmList.Objects[nIndex]).AlarmList.Strings[nRow]; stAlarmTime := copy(stTemp,8 + G_nIDLength + 5,14); sg_Alarm.Cells[0,nRow + 1] := MakeDatetimeStr(stAlarmTime); sg_Alarm.Cells[1,nRow + 1] := stTemp; end; end; procedure TfmAlarmList.btn_CloseClick(Sender: TObject); begin Close; end; procedure TfmAlarmList.btn_SearchClick(Sender: TObject); begin AlarmSearch(SelectEcuID); end; procedure TfmAlarmList.btn_AlaramDeleteClick(Sender: TObject); var nIndex : integer; begin nIndex := DeviceAlarmList.IndexOf(SelectEcuID); if nIndex < 0 then Exit; TAlarmList(DeviceAlarmList.Objects[nIndex]).AlarmList.Clear; AlarmSearch(SelectEcuID); end; procedure TfmAlarmList.btn_AllDeleteClick(Sender: TObject); var nIndex : integer; begin //nIndex := DeviceAlarmList.IndexOf(SelectEcuID); //if nIndex < 0 then Exit; for nIndex := 0 to DeviceAlarmList.Count - 1 do begin TAlarmList(DeviceAlarmList.Objects[nIndex]).AlarmList.Clear; end; AlarmSearch(SelectEcuID); end; end.
unit ShowForms; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, NppForms, NppPlugin, SciSupport, FileCtrl, StrUtils, ShellCtrls, ExtCtrls, ComCtrls, Mask, ShellAPI, ShlObj, Registry; type TShowForms = class(TNppForm) GetFilesButton: TButton; FoldersEdit: TEdit; FoldersLabel: TLabel; OpenFolderButton: TButton; FilesMemo: TMemo; SearchLabel: TLabel; SearchListBox: TListBox; ExcludesEdit: TEdit; ExcludesLabel: TLabel; MaxResultsLabel: TLabel; MaxResultsComboBox: TComboBox; StatusBar: TStatusBar; SearchMemo: TMemo; FilesLabel: TLabel; StopButton: TButton; GetFilesTimer: TTimer; procedure SaveSetting; procedure LoadSetting; function GetSelectedText: String; procedure OpenFolderButtonClick(Sender: TObject); procedure GetFilesButtonClick(Sender: TObject); procedure SearchListBoxClick(Sender: TObject); procedure FormShow(Sender: TObject); procedure FormCreate(Sender: TObject); procedure SearchListBoxDblClick(Sender: TObject); procedure SearchMemoChange(Sender: TObject); procedure SearchMemoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); procedure MaxResultsComboBoxClick(Sender: TObject); procedure StopButtonClick(Sender: TObject); procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); procedure GetFilesTimerTimer(Sender: TObject); procedure FilesMemoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); private FPrevSearch: String; FExcludesStringList: TStringList; procedure GetFiles; procedure AddAllFilesInDir(const Dir: string); end; var ShowForm: TShowForms; SearchFromRegistry: String; isGetFilesStopped: Boolean; stopGetFiles: Boolean; closeAfterStopGetFiles: Boolean; {$IFDEF UNICODE} function ILCreateFromPath(pszPath: PChar): PItemIDList stdcall; external shell32 name 'ILCreateFromPathW'; {$ELSE} function ILCreateFromPath(pszPath: PChar): PItemIDList stdcall; external shell32 name 'ILCreateFromPathA'; {$ENDIF} procedure ILFree(pidl: PItemIDList) stdcall; external shell32; function SHOpenFolderAndSelectItems(pidlFolder: PItemIDList; cidl: Cardinal; apidl: pointer; dwFlags: DWORD): HRESULT; stdcall; external shell32; implementation {$R *.dfm} function OpenFolderAndSelectFile(const FileName: String): Boolean; var IIDL: PItemIDList; begin Result := false; IIDL := ILCreateFromPath(PChar(FileName)); if IIDL <> nil then try Result := SHOpenFolderAndSelectItems(IIDL, 0, nil, 0) = S_OK; finally ILFree(IIDL); end; end; { TShowForms } procedure TShowForms.GetFiles; var i: Integer; Dirs: String; Excludes: String; FDirsStringList: TStringList; begin isGetFilesStopped := false; stopGetFiles := false; Dirs := FoldersEdit.Text; Excludes := ExcludesEdit.Text; Dirs := StringReplace(Dirs, ' ', '*', [rfReplaceAll]); FDirsStringList := TStringList.Create; FDirsStringList.Delimiter := '|'; FDirsStringList.DelimitedText := Dirs; for i := 0 to FDirsStringList.Count - 1 do FDirsStringList[i] := Trim(StringReplace(FDirsStringList[i], '*', ' ', [rfReplaceAll])); Excludes := StringReplace(Excludes, ' ', '*', [rfReplaceAll]); FExcludesStringList := TStringList.Create; FExcludesStringList.Delimiter := '|'; FExcludesStringList.DelimitedText := Excludes; for i := 0 to FExcludesStringList.Count - 1 do FExcludesStringList[i] := Trim(StringReplace(FExcludesStringList[i], '*', ' ', [rfReplaceAll])); FilesMemo.Lines.Clear; FilesMemo.Update; FilesMemo.Lines.BeginUpdate; for i := 0 to FDirsStringList.Count - 1 do AddAllFilesInDir(FDirsStringList[i]); FilesMemo.Lines.EndUpdate; StatusBar.SimpleText := 'Loaded files: ' + IntToStr(FilesMemo.Lines.Count); FPrevSearch := ''; SearchMemoChange(nil); SearchMemo.SetFocus; FExcludesStringList.Free; FDirsStringList.Free; // Set the values as in the Form Show isGetFilesStopped := true; stopGetFiles := false; if closeAfterStopGetFiles then ShowForm.Close; end; procedure TShowForms.AddAllFilesInDir(const Dir: string); var SR: TSearchRec; Excluded: Boolean; FullPath: String; i: Integer; begin if stopGetFiles or Application.Terminated then Exit; if FindFirst(IncludeTrailingBackslash(Dir) + '*.*', faAnyFile or faDirectory, SR) = 0 then try repeat if stopGetFiles or Application.Terminated then Exit; Application.ProcessMessages; if (SR.Name = '.') or (SR.Name = '..') then Continue; Excluded := false; FullPath := IncludeTrailingBackslash(Dir) + SR.Name; for i := 0 to FExcludesStringList.Count - 1 do if AnsiContainsText(FullPath, FExcludesStringList[i]) then begin Excluded := true; Break; end; if Excluded then Continue; if (SR.Attr and faDirectory) = 0 then begin FilesMemo.Lines.Add(FullPath); StatusBar.SimpleText := 'Loading files: ' + IntToStr(FilesMemo.Lines.Count) + '...'; Continue; end; AddAllFilesInDir(FullPath); if stopGetFiles or Application.Terminated then Exit; until FindNext(Sr) <> 0; finally FindClose(SR); end; end; procedure TShowForms.OpenFolderButtonClick(Sender: TObject); var d: String; begin if SelectDirectory('Select a directory', '', d) then begin FoldersEdit.Text := Trim(FoldersEdit.Text); if (FoldersEdit.Text = '') then FoldersEdit.Text := d else FoldersEdit.Text := FoldersEdit.Text + ' | ' + d; end; end; procedure TShowForms.GetFilesButtonClick(Sender: TObject); begin stopGetFiles := true; if not isGetFilesStopped then begin GetFilesTimer.Enabled := true; Exit; end; SearchMemo.SetFocus; GetFiles; end; procedure TShowForms.FormCreate(Sender: TObject); begin ExcludesEdit.DoubleBuffered := true; FoldersEdit.DoubleBuffered := true; MaxResultsComboBox.DoubleBuffered := true; SearchMemo.DoubleBuffered := true; FilesMemo.DoubleBuffered := true; StatusBar.DoubleBuffered := true; end; procedure TShowForms.SearchMemoChange(Sender: TObject); var i: Integer; max: Integer; s, sWin, sLin: String; newSearch: TStringList; begin if SearchMemo.Lines.Text = '' then begin SearchListBox.Items.Clear; FPrevSearch := ''; Exit; end; s := SearchMemo.Lines.Text; s := StringReplace(s, #13, '', [rfReplaceAll]); s := StringReplace(s, #10, '', [rfReplaceAll]); sWin := StringReplace(s, '/', '\', [rfReplaceAll]); sLin := StringReplace(s, '\', '/', [rfReplaceAll]); SearchMemo.Lines.Text := s; if SearchMemo.Lines.Text = FPrevSearch then Exit; FPrevSearch := s; newSearch := TStringList.Create; max := StrToIntDef(MaxResultsComboBox.Text, -1); for i := 0 to FilesMemo.Lines.Count - 1 do if AnsiContainsText(FilesMemo.Lines[i], s) or AnsiContainsText(FilesMemo.Lines[i], sWin) or AnsiContainsText(FilesMemo.Lines[i], sLin) then begin newSearch.Add( FilesMemo.Lines[i] ); if (max <> -1) and (newSearch.Count >= max) then Break; end; if (SearchListBox.Items.Text <> newSearch.Text) then begin SearchListBox.Items.Text := newSearch.Text; if SearchListBox.Items.Count > 0 then SearchListBox.Selected[0] := true; end; newSearch.Free; end; procedure TShowForms.SearchMemoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); var filename: nppString; i, topSelected, newTopSelected, bottomSelected, newBottomSelected: Integer; shouldClose, shouldGoToEnd: Boolean; selectedItems: TStringList; SearchText: String; begin SearchText := SearchMemo.Text; topSelected := -1; newTopSelected := -1; bottomSelected := -1; newBottomSelected := -1; if (SearchListBox.Count > 0) and ( (Key = VK_DOWN) or (Key = VK_UP) or (Key = VK_PRIOR) or (Key = VK_NEXT) or (Key = VK_RETURN) or (Key = VK_ESCAPE) ) then begin for i := 0 to SearchListBox.Count - 1 do if SearchListBox.Selected[i] then begin if topSelected = -1 then topSelected := i; bottomSelected := i; end; if topSelected = -1 then begin topSelected := 0; bottomSelected := 0; SearchListBox.Selected[0] := true; end; end; case Key of VK_DOWN: begin newBottomSelected := bottomSelected; if bottomSelected < SearchListBox.Count - 1 then newBottomSelected := bottomSelected + 1; if not (ssShift in Shift) and not (ssCtrl in Shift) then SearchListBox.ClearSelection; SearchListBox.Selected[ newBottomSelected ] := true; Key := 0; end; VK_UP: begin newTopSelected := topSelected; if topSelected > 0 then newTopSelected := topSelected - 1; if not (ssShift in Shift) and not (ssCtrl in Shift) then SearchListBox.ClearSelection; SearchListBox.Selected[ newTopSelected ] := true; Key := 0; end; VK_NEXT: // Page Down begin if SearchListBox.Items.Count > 0 then if bottomSelected + 5 < SearchListBox.Items.Count - 1 then newBottomSelected := bottomSelected + 5 else newBottomSelected := SearchListBox.Items.Count - 1; if not (ssShift in Shift) and not (ssCtrl in Shift) then begin SearchListBox.ClearSelection; SearchListBox.Selected[ newBottomSelected ] := true; end else for i := bottomSelected to newBottomSelected do SearchListBox.Selected[ i ] := true; Key := 0; end; VK_PRIOR: // Page Up begin if SearchListBox.Items.Count > 0 then if topSelected - 5 > 0 then newTopSelected := topSelected - 5 else newTopSelected := 0; if not (ssShift in Shift) and not (ssCtrl in Shift) then begin SearchListBox.ClearSelection; SearchListBox.Selected[ newTopSelected ] := true; end else for i := topSelected downto newTopSelected do SearchListBox.Selected[ i ] := true; Key := 0; end; VK_RETURN: begin Key := 0; shouldClose := false; shouldGoToEnd := false; if topSelected <> -1 then begin selectedItems := TStringList.Create; for i := 0 to SearchListBox.Count - 1 do if SearchListBox.Selected[i] then selectedItems.Add( SearchListBox.Items[ i ] ); for i := 0 to selectedItems.Count - 1 do begin filename := selectedItems[ i ]; if (Shift = [ssCtrl]) then begin if not OpenFolderAndSelectFile(filename) then begin SendMessage(self.Npp.NppData.NppHandle, WM_DOOPEN, 0, LPARAM(PChar(filename))); shouldClose := true; end else shouldGoToEnd := true; end else begin SendMessage(self.Npp.NppData.NppHandle, WM_DOOPEN, 0, LPARAM(PChar(filename))); shouldClose := true; end; end; selectedItems.Free; SearchMemo.Text := SearchText; if shouldClose then Close; if shouldGoToEnd then SearchMemo.SelStart := Length(SearchMemo.Text); end; end; VK_ESCAPE: begin Key := 0; if isGetFilesStopped then ShowForm.Close else begin stopGetFiles := true; closeAfterStopGetFiles := true; end; end; end; end; procedure TShowForms.FormShow(Sender: TObject); var selectedText: String; begin isGetFilesStopped := true; stopGetFiles := false; closeAfterStopGetFiles := false; LoadSetting; selectedText := GetSelectedText; if (selectedText <> '') then SearchMemo.Lines.Text := selectedText else if (SearchFromRegistry <> '') then SearchMemo.Lines.Text := SearchFromRegistry; SearchMemo.SetFocus; SearchMemo.SelectAll; GetFilesTimer.Enabled := true; end; procedure TShowForms.SaveSetting; var Reg: TRegistry; begin Reg:= TRegistry.Create; try Reg.RootKey := HKEY_CURRENT_USER; if Reg.OpenKey('SOFTWARE\NPPOpenFileInFoldersPlugin', true) then begin Reg.WriteString('Excludes', ExcludesEdit.Text); Reg.WriteString('Folders', FoldersEdit.Text); Reg.WriteInteger('MaxResultsItemIndex', MaxResultsComboBox.ItemIndex); Reg.WriteString('Search', SearchMemo.Lines.Text); Reg.WriteInteger('Height', ShowForm.Height); Reg.WriteInteger('Width', ShowForm.Width); end; finally Reg.Free; end; end; procedure TShowForms.LoadSetting; var Reg: TRegistry; begin ExcludesEdit.Text := ''; FoldersEdit.Text := ''; MaxResultsComboBox.ItemIndex := 0; Reg:= TRegistry.Create; try Reg.RootKey := HKEY_CURRENT_USER; if Reg.OpenKey('SOFTWARE\NPPOpenFileInFoldersPlugin', false) then begin try ExcludesEdit.Text := Reg.ReadString('Excludes'); except end; try FoldersEdit.Text := Reg.ReadString('Folders'); except end; try MaxResultsComboBox.ItemIndex := Reg.ReadInteger('MaxResultsItemIndex'); except end; try SearchFromRegistry := Reg.ReadString('Search'); except end; try ShowForm.Height := Reg.ReadInteger('Height'); except end; try ShowForm.Width := Reg.ReadInteger('Width'); except end; end; finally Reg.Free; end; end; function TShowForms.GetSelectedText: String; var len: Integer; begin SetLength(Result, 1024); SendMessage(self.Npp.NppData.ScintillaMainHandle, SciSupport.SCI_GETSELTEXT, 0, LPARAM(PChar(Result))); len := StrLen(PChar(Result)); if len > 1024 then len := 1024; SetString(Result, PChar(Result), len); end; procedure TShowForms.MaxResultsComboBoxClick(Sender: TObject); begin SearchMemo.SetFocus; //SearchMemo.SelectAll; SearchMemo.SelStart := Length(SearchMemo.Text); FPrevSearch := ''; SearchMemoChange(nil); SearchMemo.SetFocus; end; procedure TShowForms.SearchListBoxClick(Sender: TObject); begin SearchMemo.SetFocus; //SearchMemo.SelectAll; SearchMemo.SelStart := Length(SearchMemo.Text); end; procedure TShowForms.SearchListBoxDblClick(Sender: TObject); var ret: Word; begin ret := 13; SearchMemoKeyDown(nil, ret, []); end; procedure TShowForms.StopButtonClick(Sender: TObject); begin stopGetFiles := true; SearchMemo.SetFocus; end; procedure TShowForms.FormCloseQuery(Sender: TObject; var CanClose: Boolean); begin SaveSetting; if isGetFilesStopped then begin CanClose := true; end else begin CanClose := false; stopGetFiles := true; closeAfterStopGetFiles := true; end; end; procedure TShowForms.GetFilesTimerTimer(Sender: TObject); begin GetFilesTimer.Enabled := false; GetFilesButtonClick(nil); end; procedure TShowForms.FilesMemoKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin case Key of VK_ESCAPE: begin Key := 0; if isGetFilesStopped then ShowForm.Close else begin stopGetFiles := true; closeAfterStopGetFiles := true; end; end; end; end; end.
unit PrnCmd; interface uses SysUtils, Windows, MemBuf, PmTypedef; {$J+ $WARNINGS OFF} type TPrnCmd = class(TObject) public procedure InitPrinter; virtual; abstract; procedure CommandEx(lpCmd: Pointer; cbCmdSize: Cardinal); virtual; //命令扩展 procedure CarriageReturn; virtual; //回车 procedure NewLine; virtual; //换行 procedure Backspace; virtual; procedure Str(S: PChar); virtual; //字符串 procedure HTab; virtual; //水平跳格 procedure VTab; virtual; //垂直跳格 procedure FormFeed; virtual; //换页 protected procedure Write(lpData: Pointer; cbSize: Cardinal); virtual; abstract; end; TLQPrnCmd = class(TPrnCmd) public procedure NewLineEx(RowSpace: Byte=24); virtual; //换行 procedure InitPrinter; override; procedure LeftIndent(Pos: Word); virtual; procedure Bidirectional(bBid: Boolean); virtual; end; TLQMemPrn = class(TLQPrnCmd) private function GetSize: Longint; function GetPointer: Pointer; public constructor Create; destructor Destroy; override; procedure GraphicsMode(lpRec: PGraphicsRecord; RecCounts: Word); virtual; property Memory: Pointer read GetPointer; property Size: Longint read GetSize; protected FMem: TMemoryBuffer; procedure Write(lpData: Pointer; cbSize: Cardinal); override; end; implementation { TPrnCmd } procedure TPrnCmd.Backspace; const Cmd: Byte = $08; begin Write(@Cmd, SizeOf(Cmd)); end; procedure TPrnCmd.CarriageReturn; const CmdCR: Byte = $0D; begin Write(@CmdCR, SizeOf(CmdCR)); end; procedure TPrnCmd.CommandEx(lpCmd: Pointer; cbCmdSize: Cardinal); begin Write(lpCmd, cbCmdSize); end; procedure TPrnCmd.FormFeed; const Cmd: Byte = $0C; begin Write(@Cmd, SizeOf(Cmd)); end; procedure TPrnCmd.HTab; const Cmd: Byte = $09; begin Write(@Cmd, SizeOf(Cmd)); end; procedure TPrnCmd.NewLine; const Cmd: Byte = $A; begin Write(@Cmd, SizeOf(Cmd)); end; procedure TPrnCmd.Str(S: PChar); begin Write(S, StrLen(S)); end; procedure TPrnCmd.VTab; const Cmd: Byte = $0B; begin Write(@Cmd, SizeOf(Cmd)); end; { TLQPrnCmd } procedure TLQPrnCmd.Bidirectional(bBid: Boolean); const Cmd: array[0..2] of Byte = ($1B, $55, $01); begin if bBid then Cmd[2] := $02; Write(@Cmd, SizeOf(Cmd)); end; procedure TLQPrnCmd.InitPrinter; const Cmd: array[0..1] of Byte = ($1B, $40); begin Write(@Cmd, SizeOf(Cmd)); end; procedure TLQPrnCmd.LeftIndent(Pos: Word); const Cmd: array[0..3] of Byte = ($1B, $24, $00, $00); var P: PWord; begin P := PWord(@Cmd[2]); P^ := Pos; Write(@Cmd, SizeOf(Cmd)); end; procedure TLQPrnCmd.NewLineEx(RowSpace: Byte = 24); const Cmd: array[0..2] of Byte = ($1B, $4A, $00); begin Cmd[2] := RowSpace; Write(@Cmd, SizeOf(Cmd)); end; { TLQMemPrn } constructor TLQMemPrn.Create; begin FMem := TMemoryBuffer.Create; end; destructor TLQMemPrn.Destroy; begin if FMem <> nil then begin FMem.Free; FMem := nil; end; inherited Destroy; end; function TLQMemPrn.GetPointer: Pointer; begin if FMem <> nil then Result := FMem.Memory else Result := nil; end; function TLQMemPrn.GetSize: Longint; begin if FMem <> nil then Result := FMem.Size else Result := 0; end; procedure TLQMemPrn.GraphicsMode(lpRec: PGraphicsRecord; RecCounts: Word); const Cmd: array[0..4] of Byte = ($1B, $2A, $27, $00, $00); var P: PWord; begin P := @(Cmd[3]); P^ := RecCounts; Write(@Cmd, SizeOf(Cmd)); Write(lpRec, RecCounts * 3); end; procedure TLQMemPrn.Write(lpData: Pointer; cbSize: Cardinal); begin if FMem <> nil then FMem.Write(lpData^, cbSize); end; end.
unit servdata; { This is the remote datamodule for this demo. It contains the implementaion of the OLE automation object that the client application talks to. The datamodule contains a TDataSetProvider component that has an OnDataRequest event which is used for dynamically assigning a SQL string. This demo also shows how to use automation methods which are used by the client. } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComServ, ComObj, VCLCom, StdVcl, DataBkr, serv_tlb, Db, DBTables, Provider, Variants; type TAdHocQueryDemo = class(TRemoteDataModule, IAdHocQueryDemo) AdHocQuery: TQuery; AdHocProvider: TDataSetProvider; Database1: TDatabase; Session1: TSession; procedure AdHocQueryDemoCreate(Sender: TObject); procedure AdHocQueryDemoDestroy(Sender: TObject); procedure AdHocQueryAfterOpen(DataSet: TDataSet); protected function GetDatabaseNames: OleVariant; safecall; procedure SetDatabaseName(const DBName, Password: WideString); safecall; class procedure UpdateRegistry(Register: Boolean; const ClassID, ProgID: string); override; end; var AdHocQueryDemo: TAdHocQueryDemo; implementation uses ServMain, BDE; {$R *.dfm} function TAdHocQueryDemo.GetDatabaseNames: OleVariant; var I: Integer; DBNames: TStrings; begin { Return a list of all of the database names to the client } DBNames := TStringList.Create; try Session1.GetDatabaseNames(DBNames); Result := VarArrayCreate([0, DBNames.Count - 1], varOleStr); for I := 0 to DBNames.Count - 1 do Result[I] := DBNames[I]; finally DBNames.Free; end; end; procedure TAdHocQueryDemo.SetDatabaseName(const DBName, Password: WideString); begin { Assign a new Database name } try Database1.Close; Database1.AliasName := DBName; if Password <> '' then Database1.Params.Values['PASSWORD'] := Password; Database1.Open; except { If the DB open fails, assume it is because a password is required and raise a special exception which will cause the client to prompt the user for a password } on E: EDBEngineError do if (Password = '') then raise Exception.Create('Password Required') else raise; end; end; procedure TAdHocQueryDemo.AdHocQueryDemoCreate(Sender: TObject); begin { Update the client counter } MainForm.UpdateClientCount(1); end; procedure TAdHocQueryDemo.AdHocQueryDemoDestroy(Sender: TObject); begin { Update the client counter } MainForm.UpdateClientCount(-1); end; procedure TAdHocQueryDemo.AdHocQueryAfterOpen(DataSet: TDataSet); begin { Update the query counter } MainForm.IncQueryCount; end; class procedure TAdHocQueryDemo.UpdateRegistry(Register: Boolean; const ClassID, ProgID: string); begin if Register then begin inherited UpdateRegistry(Register, ClassID, ProgID); EnableSocketTransport(ClassID); EnableWebTransport(ClassID); end else begin DisableSocketTransport(ClassID); DisableWebTransport(ClassID); inherited UpdateRegistry(Register, ClassID, ProgID); end; end; initialization TComponentFactory.Create(ComServer, TAdHocQueryDemo, Class_AdHocQueryDemo, ciMultiInstance); end.
{ *************************************************************************** Copyright (c) 2016-2020 Kike Pérez Unit : Quick.DAO.QueryGenerator.MySQL Description : DAO MySQL Query Generator Author : Kike Pérez Version : 1.0 Created : 22/06/2018 Modified : 31/03/2020 This file is part of QuickDAO: https://github.com/exilon/QuickDAO *************************************************************************** Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. *************************************************************************** } unit Quick.DAO.QueryGenerator.MySQL; {$i QuickDAO.inc} interface uses Classes, SysUtils, Quick.Commons, Quick.DAO; type TMySQLQueryGenerator = class(TDAOQueryGenerator,IDAOQueryGenerator) public function Name : string; function CreateTable(const aTable : TDAOModel) : string; function ExistsTable(aModel : TDAOModel) : string; function ExistsColumn(aModel : TDAOModel; const aFieldName : string) : string; function AddColumn(aModel : TDAOModel; aField : TDAOField) : string; function SetPrimaryKey(aModel : TDAOModel) : string; function CreateIndex(aModel : TDAOModel; aIndex : TDAOIndex) : string; function Select(const aTableName, aFieldNames : string; aLimit : Integer; const aWhere : string; aOrderFields : string; aOrderAsc : Boolean) : string; function Sum(const aTableName, aFieldName, aWhere : string) : string; function Count(const aTableName : string; const aWhere : string) : string; function Add(const aTableName: string; const aFieldNames, aFieldValues : string) : string; function AddOrUpdate(const aTableName: string; const aFieldNames, aFieldValues : string) : string; function Update(const aTableName, aFieldPairs, aWhere : string) : string; function Delete(const aTableName : string; const aWhere : string) : string; function DateTimeToDBField(aDateTime : TDateTime) : string; function DBFieldToDateTime(const aValue : string) : TDateTime; end; implementation const {$IFNDEF FPC} DBDATATYPES : array of string = ['varchar(%d)','text','char(%d)','int','integer','bigint','decimal(%d,%d)','bit','date','time','datetime','datetime','datetime']; {$ELSE} DBDATATYPES : array[0..10] of string = ('varchar(%d)','text','char(%d)','int','integer','bigint','decimal(%d,%d)','bit','date','time','datetime','datetime','datetime'); {$ENDIF} { TSQLiteQueryGenerator } function TMySQLQueryGenerator.AddColumn(aModel: TDAOModel; aField: TDAOField) : string; var datatype : string; querytext : TStringList; begin querytext := TStringList.Create; try querytext.Add(Format('ALTER TABLE [%s]',[aModel.TableName])); if aField.DataType = dtFloat then begin datatype := Format(DBDATATYPES[Integer(aField.DataType)],[aField.DataSize,aField.Precision]) end else begin if aField.DataSize > 0 then datatype := Format(DBDATATYPES[Integer(aField.DataType)],[aField.DataSize]) else datatype := DBDATATYPES[Integer(aField.DataType)]; end; querytext.Add(Format('ADD [%s] %s',[aField.Name,datatype])); Result := querytext.Text; finally querytext.Free; end; end; function TMySQLQueryGenerator.CreateIndex(aModel: TDAOModel; aIndex: TDAOIndex) : string; begin Result := Format('CREATE INDEX IF NOT EXISTS PK_%s ON %s (%s)',[aIndex.FieldNames[0],aModel.TableName,aIndex.FieldNames[0]]); end; function TMySQLQueryGenerator.CreateTable(const aTable: TDAOModel) : string; var field : TDAOField; datatype : string; querytext : TStringList; begin querytext := TStringList.Create; try querytext.Add(Format('CREATE TABLE IF NOT EXISTS [%s] (',[aTable.TableName])); for field in aTable.Fields do begin if field.DataType = dtFloat then begin datatype := Format(DBDATATYPES[Integer(field.DataType)],[field.DataSize,field.Precision]) end else begin if field.DataSize > 0 then datatype := Format(DBDATATYPES[Integer(field.DataType)],[field.DataSize]) else datatype := DBDATATYPES[Integer(field.DataType)]; end; querytext.Add(Format('[%s] %s,',[field.Name,datatype])); end; if not aTable.PrimaryKey.Name.IsEmpty then begin if aTable.PrimaryKey.DataType = dtAutoID then querytext.Add(Format('PRIMARY KEY(%s) AUTOINCREMENT',[aTable.PrimaryKey.Name])) else querytext.Add(Format('PRIMARY KEY(%s)',[aTable.PrimaryKey.Name])); end else querytext[querytext.Count-1] := Copy(querytext[querytext.Count-1],1,querytext[querytext.Count-1].Length-1); querytext.Add(')'); Result := querytext.Text; finally querytext.Free; end; end; function TMySQLQueryGenerator.ExistsTable(aModel: TDAOModel): string; begin Result := Format('SHOW TABLES LIKE ''%s''',[aModel.TableName]); end; function TMySQLQueryGenerator.Name: string; begin Result := 'MYSQL'; end; function TMySQLQueryGenerator.ExistsColumn(aModel : TDAOModel; const aFieldName : string) : string; begin Result := Format('PRAGMA table_info(%s)',[aModel.TableName]); end; function TMySQLQueryGenerator.SetPrimaryKey(aModel: TDAOModel) : string; begin Result := ''; Exit; end; function TMySQLQueryGenerator.Sum(const aTableName, aFieldName, aWhere: string): string; var querytext : TStringList; begin querytext := TStringList.Create; try querytext.Add(Format('SELECT SUM(%s) as cnt FROM [%s] WHERE %s',[aTableName,aFieldName,aWhere])); Result := querytext.Text; finally querytext.Free; end; end; function TMySQLQueryGenerator.Select(const aTableName, aFieldNames: string; aLimit: Integer; const aWhere: string; aOrderFields: string; aOrderAsc: Boolean) : string; var orderdir : string; querytext : TStringList; begin querytext := TStringList.Create; try //define select-where clauses if aFieldNames.IsEmpty then querytext.Add(Format('SELECT * FROM [%s] WHERE %s',[aTableName,aWhere])) else querytext.Add(Format('SELECT %s FROM [%s] WHERE %s',[aFieldNames,aTableName,aWhere])); //define orderby clause if not aOrderFields.IsEmpty then begin if aOrderAsc then orderdir := 'ASC' else orderdir := 'DESC'; querytext.Add(Format('ORDER BY %s %s',[aOrderFields,orderdir])); end; //define limited query clause if aLimit > 0 then querytext.Add('LIMIT ' + aLimit.ToString); Result := querytext.Text; finally querytext.Free; end; end; function TMySQLQueryGenerator.Add(const aTableName: string; const aFieldNames, aFieldValues : string) : string; var querytext : TStringList; begin querytext := TStringList.Create; try querytext.Add(Format('INSERT INTO [%s]',[aTableName])); querytext.Add(Format('(%s)',[aFieldNames])); querytext.Add(Format('VALUES(%s)',[aFieldValues])); finally querytext.Free; end; end; function TMySQLQueryGenerator.AddOrUpdate(const aTableName: string; const aFieldNames, aFieldValues : string) : string; var querytext : TStringList; begin querytext := TStringList.Create; try querytext.Add(Format('INSERT OR REPLACE INTO [%s]',[aTableName])); querytext.Add(Format('(%s)',[aFieldNames])); querytext.Add(Format('VALUES(%s)',[aFieldValues])); Result := querytext.Text; finally querytext.Free; end; end; function TMySQLQueryGenerator.Update(const aTableName, aFieldPairs, aWhere : string) : string; var querytext : TStringList; begin querytext := TStringList.Create; try querytext.Add(Format('UPDATE [%s]',[aTableName])); querytext.Add(Format('SET %s',[aFieldPairs])); querytext.Add(Format('WHERE %s',[aWhere])); Result := querytext.Text; finally querytext.Free; end; end; function TMySQLQueryGenerator.Count(const aTableName : string; const aWhere : string) : string; begin Result := Format('SELECT COUNT(*) AS cnt FROM [%s] WHERE %s',[aTableName,aWhere]); end; function TMySQLQueryGenerator.DateTimeToDBField(aDateTime: TDateTime): string; begin Result := FormatDateTime('YYYYMMDD hh:nn:ss',aDateTime); end; function TMySQLQueryGenerator.DBFieldToDateTime(const aValue: string): TDateTime; begin Result := StrToDateTime(aValue); end; function TMySQLQueryGenerator.Delete(const aTableName, aWhere: string) : string; begin Result := Format('SELECT COUNT(*) AS cnt FROM [%s] WHERE %s',[aTableName,aWhere]); end; end.
unit ASMZ80; interface uses SysUtils, MessageIntf; {R-} { $M 16384,0,655360 } CONST maxSymLen = 16; maxOpcdLen = 4; alphaNumeric = '1234567890$ABCDEFGHIJKLMNOPQRSTUVWXYZ_'; numeric = '1234567890'; hex = '0123456789ABCDEF'; white = #9' '; { A tab plus a space } o_Illegal = 0; { Opcode not found in FindOpcode } o_None = 1; { No operands } o_LD = 2; { Generic LD opcode } o_EX = 3; { Generic EX opcode } o_ADD = 4; { Generic ADD opcode } o_ADC_SBC = 5; { Generic ADC and SBC opcodes } o_INC_DEC = 6; { Generic INC and DEC opcodes } o_JP_CALL = 7; { Generic JP and CALL opcodes } o_JR = 8; { Generic JR opcode } o_RET = 9; { Generic RET opcode } o_IN = 10; { Generic IN opcode } o_OUT = 11; { Generic OUT opcode } o_PushPop = 12; { PUSH and POP instructions } o_Arith = 13; { Arithmetic instructions } o_Rotate = 14; { Z-80 rotate instructions } o_Bit = 15; { BIT, RES, and SET instructions } o_IM = 16; { IM instruction } o_DJNZ = 17; { DJNZ instruction } o_RST = 18; { RST instruction } o_DB = 19; { DB pseudo-op } o_DW = 20; { DW pseudo-op } o_DS = 21; { DS pseudo-op } o_EQU = -22; { EQU and SET pseudo-ops } o_ORG = -23; { ORG pseudo-op } o_END = 24; { END pseudo-op } o_LIST = -25; { LIST pseudo-op } o_OPT = -26; { OPT pseudo-op } regs = ' B C D E H L A I R BC DE HL SP IX IY AF ( '; regVals = ' 0 1 2 3 4 5 7 8 9 10 11 12 13 14 15 16 17 '; reg_None = -1; reg_B = 0; reg_C = 1; reg_D = 2; reg_E = 3; reg_H = 4; reg_L = 5; reg_M = 6; reg_A = 7; { reg_Byte = [reg_B..reg_A]; } reg_I = 8; reg_R = 9; reg_BC = 10; reg_DE = 11; reg_HL = 12; reg_SP = 13; { reg_Word = [reg_BC..reg_SP]; } reg_IX = 14; reg_IY = 15; reg_AF = 16; reg_Paren = 17; conds = ' NZ Z NC C PO PE P M '; condVals = ' 0 1 2 3 4 5 6 7 '; TYPE SymStr = String[maxSymLen]; SymPtr = ^SymRec; SymRec = RECORD name: SymStr; { Symbol name } value: Integer; { Symbol value } next: SymPtr; { Pointer to next symtab entry } defined: Boolean; { TRUE if defined } multiDef: Boolean; { TRUE if multiply defined } isSet: Boolean; { TRUE if defined with SET pseudo } equ: Boolean; { TRUE if defined with EQU pseudo } END; OpcdStr = String[maxOpcdLen]; OpcdPtr = ^OpcdRec; OpcdRec = RECORD name: OpcdStr; { Opcode name } typ: Integer; { Opcode type } parm: Integer; { Opcode parameter } next: OpcdPtr; { Pointer to next opcode entry } END; { TP 3.0 does not know any length-less string variable } string_tp = String[128]; { TP 3.0 does not know any machine dependant variable like 'word' } word = integer; VAR symTab: SymPtr; { Pointer to first entry in symtab } opcdTab: OpcdPtr; { Opcode table } locPtr: Integer; { Current program address } newLoc: Integer; { New program address } updLoc: Boolean; { TRUE if newLoc needs to be written to file } pass: Integer; { Current assembler pass } errFlag: Boolean; { TRUE if error occurred this line } errCount: Integer; { Total number of errors } lineCount: integer; { Number of lines processed in sourcefile } byteCount: integer; { Number of bytes processed in sourcefile } line: string_tp; { Current line from input file } listLine: string_tp; { Current listing line } listFlag: Boolean; { FALSE to suppress listing source } listThisLine: Boolean; { TRUE to force listing this line } sourceEnd: Boolean; { TRUE when END pseudo encountered } instr: ARRAY[1..5] OF Integer; { Current instruction word } instrLen: Integer; { Current instruction length } bytStr: string_tp; { Buffer for long DB statements } showAddr: Boolean; { TRUE to show LocPtr on listing } xferAddr: Integer; { Transfer address from END pseudo } xferFound: Boolean; { TRUE if xfer addr defined w/ END } { Command line parameters } cl_SrcName: string_tp; { Source file name } cl_ListName: string_tp; { Listing file name } cl_ObjName: string_tp; { Object file name } cl_Err: Boolean; { TRUE for errors to screen } source: Text; object_: Text; listing: Text; procedure ASMZ80_execute(SrcName, ListName, ObjName: String_tp; Err: Boolean); implementation FUNCTION Deblank(s: string_tp): string_tp; VAR i: Integer; BEGIN i := Length(s); WHILE (i>0) AND (s[i] IN [#9,' ']) DO i:=i-1; s[0] := CHR(i); i := 1; WHILE (i<=Length(s)) AND (s[i] IN [#9,' ']) DO i:=i+1; Delete(s,1,i-1); Deblank := s; END; FUNCTION UprCase(s: string_tp): string_tp; VAR i: Integer; BEGIN FOR i := 1 TO Length(s) DO IF s[i] IN ['a'..'z'] THEN s[i] := UpCase(s[i]); UprCase := s; END; FUNCTION Hex2(i: Integer): string_tp; BEGIN i := i AND 255; Hex2 := Copy(hex,(i SHR 4)+1,1) + Copy(hex,(i AND 15)+1,1); END; FUNCTION Hex4(i: Integer): string_tp; BEGIN Hex4 := Hex2(i SHR 8) + Hex2(i AND 255); END; PROCEDURE Error(message: string_tp); BEGIN errFlag := TRUE; errCount:=errCount+1; IF pass<>1 THEN BEGIN listThisLine := TRUE; WriteLn(listing,'*** Error: ',Message,' ***'); IF cl_Err THEN Messages.LogFmt('*** Error: %s ***', [Message]); END; END; PROCEDURE IllegalOperand; BEGIN Error('Illegal operand'); line := ''; END; PROCEDURE AddOpcode(name: OpcdStr; typ: Integer; parm: Word); VAR p: OpcdPtr; BEGIN New(p); p^.name := name; p^.typ := typ; p^.parm := parm; p^.next := opcdTab; opcdTab := p; END; PROCEDURE FindOpcode(name: OpcdStr; VAR typ,parm: Integer); VAR p: OpcdPtr; found: Boolean; BEGIN found := FALSE; p := opcdTab; WHILE (p<>NIL) AND NOT found DO BEGIN found := (p^.name = name); IF NOT found THEN p := p^.next; END; IF NOT found THEN BEGIN typ := o_Illegal; parm := 0; END ELSE BEGIN typ := p^.typ; parm := p^.parm; END; END; PROCEDURE InitOpcodes; BEGIN opcdTab := NIL; AddOpcode('EXX' ,o_None,$D9); AddOpcode('LDI' ,o_None,$EDA0); AddOpcode('LDIR',o_None,$EDB0); AddOpcode('LDD' ,o_None,$EDA8); AddOpcode('LDDR',o_None,$EDB8); AddOpcode('CPI' ,o_None,$EDA1); AddOpcode('CPIR',o_None,$EDB1); AddOpcode('CPD' ,o_None,$EDA9); AddOpcode('CPDR',o_None,$EDB9); AddOpcode('DAA' ,o_None,$27); AddOpcode('CPL' ,o_None,$2F); AddOpcode('NEG' ,o_None,$ED44); AddOpcode('CCF' ,o_None,$3F); AddOpcode('SCF' ,o_None,$37); AddOpcode('NOP' ,o_None,$00); AddOpcode('HALT',o_None,$76); AddOpcode('DI' ,o_None,$F3); AddOpcode('EI' ,o_None,$FB); AddOpcode('RLCA',o_None,$07); AddOpcode('RLA' ,o_None,$17); AddOpcode('RRCA',o_None,$0F); AddOpcode('RRA' ,o_None,$1F); AddOpcode('RLD' ,o_None,$ED6F); AddOpcode('RRD' ,o_None,$ED67); AddOpcode('RET' ,o_None,$C9); AddOpcode('RETI',o_None,$ED4D); AddOpcode('RETN',o_None,$ED45); AddOpcode('INI' ,o_None,$EDA2); AddOpcode('INIR',o_None,$EDB2); AddOpcode('IND' ,o_None,$EDAA); AddOpcode('INDR',o_None,$EDBA); AddOpcode('OUTI',o_None,$EDA3); AddOpcode('OTIR',o_None,$EDB3); AddOpcode('OUTD',o_None,$EDAB); AddOpcode('OTDR',o_None,$EDBB); AddOpcode('LD' ,o_LD,0); AddOpcode('EX' ,o_EX,0); AddOpcode('ADD' ,o_ADD,0); AddOpcode('ADC' ,o_ADC_SBC,0); AddOpcode('SBC' ,o_ADC_SBC,1); AddOpcode('INC' ,o_INC_DEC,0); AddOpcode('DEC' ,o_INC_DEC,1); AddOpcode('JP' ,o_JP_CALL,$C3C2); AddOpcode('CALL',o_JP_CALL,$CDC4); AddOpcode('JR' ,o_JR,0); AddOpcode('RET' ,o_RET,0); AddOpcode('PUSH',o_PushPop,$C5); AddOpcode('POP' ,o_PushPop,$C1); AddOpcode('SUB' ,o_Arith,$D690); AddOpcode('AND' ,o_Arith,$E6A0); AddOpcode('XOR' ,o_Arith,$EEA8); AddOpcode('OR' ,o_Arith,$F6B0); AddOpcode('CP' ,o_Arith,$FEB8); AddOpcode('RLC' ,o_Rotate,$00); AddOpcode('RRC' ,o_Rotate,$08); AddOpcode('RL' ,o_Rotate,$10); AddOpcode('RR' ,o_Rotate,$18); AddOpcode('SLA' ,o_Rotate,$20); AddOpcode('SRA' ,o_Rotate,$28); AddOpcode('SRL' ,o_Rotate,$38); AddOpcode('BIT' ,o_Bit,$40); AddOpcode('RES' ,o_Bit,$80); AddOpcode('SET' ,o_Bit,$C0); AddOpcode('IM' ,o_IM,0); AddOpcode('DJNZ',o_DJNZ,0); AddOpcode('IN' ,o_IN,0); AddOpcode('OUT' ,o_OUT,0); AddOpcode('RST' ,o_RST,0); AddOpcode('DB' ,o_DB,0); AddOpcode('DW' ,o_DW,0); AddOpcode('DS' ,o_DS,0); AddOpcode('=' ,o_EQU,0); AddOpcode('EQU' ,o_EQU,0); {AddOpcode('SET' ,o_EQU,1);} AddOpcode('DEFL',o_EQU,1); AddOpcode('ORG' ,o_ORG,0); AddOpcode('END' ,o_END,0); AddOpcode('LIST',o_LIST,0); AddOpcode('OPT' ,o_OPT,0); END; FUNCTION FindSym(symName: SymStr): SymPtr; VAR p: SymPtr; found: Boolean; BEGIN found := FALSE; p := SymTab; WHILE (p<>NIL) AND NOT Found DO BEGIN found := (p^.name = symName); IF NOT found THEN p := p^.next; END; FindSym := p; END; FUNCTION AddSym(symName: SymStr): SymPtr; VAR p: SymPtr; BEGIN New(p); WITH p^ DO BEGIN name := SymName; value := 0; next := SymTab; defined := FALSE; multiDef := FALSE; isSet := FALSE; equ := FALSE; END; symTab := p; AddSym := p; END; FUNCTION RefSym(symName: SymStr): Integer; VAR p: SymPtr; BEGIN p := FindSym(symName); IF p=NIL THEN p := AddSym(symName); IF NOT p^.defined THEN Error('Symbol "' + symName + '" undefined'); RefSym := p^.value; END; PROCEDURE DefSym(symName: SymStr; val: Integer; setSym,equSym: Boolean); VAR p: SymPtr; BEGIN IF Length(symName)<>0 THEN BEGIN p := FindSym(symName); IF p=NIL THEN p := AddSym(symName); IF (NOT p^.defined) OR (p^.isSet AND setSym) THEN BEGIN p^.value := val; p^.defined := TRUE; p^.isSet := setSym; p^.equ := equSym; END ELSE IF p^.value <> val THEN BEGIN p^.multiDef := TRUE; Error('Symbol "' + symName + '" multiply defined'); END; END; END; FUNCTION GetWord: string_tp; VAR word: string_tp; done: Boolean; BEGIN line := Deblank(line); word := ''; IF Length(line)>0 THEN IF (line[1]=#12) OR (line[1]=';') THEN line := ''; IF Length(line)>0 THEN BEGIN IF Pos(Upcase(line[1]),alphaNumeric)=0 THEN BEGIN word := Copy(Line,1,1); Delete(line,1,1); END ELSE BEGIN done := FALSE; WHILE (Length(line)>0) AND NOT done DO BEGIN word := word + Upcase(line[1]); Delete(line,1,1); IF Length(line)>0 THEN done := Pos(Upcase(line[1]),AlphaNumeric)=0; END; END; END; GetWord := word; END; PROCEDURE Expect(expected: string_tp); BEGIN IF GetWord<>expected THEN Error('"' + expected + '" expected'); END; PROCEDURE Comma; BEGIN Expect(','); END; PROCEDURE RParen; BEGIN Expect(')'); END; FUNCTION EvalOct(octStr: string_tp): Integer; VAR octVal: Integer; evalErr: Boolean; i,n: Integer; BEGIN evalErr := FALSE; octVal := 0; FOR i := 1 TO Length(octStr) DO BEGIN n := Pos(octStr[i],'01234567'); IF n=0 THEN evalErr := TRUE ELSE octVal := octVal*8 + n-1; END; IF evalErr THEN BEGIN octVal := 0; Error('Invalid octal number'); END; EvalOct := octVal; END; FUNCTION EvalDec(decStr: string_tp): Integer; VAR decVal: Integer; evalErr: Boolean; i,n: Integer; BEGIN evalErr := FALSE; decVal := 0; FOR i := 1 TO Length(decStr) DO BEGIN n := Pos(decStr[i],'0123456789'); IF n=0 THEN evalErr := TRUE ELSE decVal := decVal*10 + n-1; END; IF evalErr THEN BEGIN decVal := 0; Error('Invalid decimal number'); END; EvalDec := decVal; END; FUNCTION EvalHex(hexStr: string_tp): Integer; VAR hexVal: Integer; evalErr: Boolean; i,n: Integer; BEGIN evalErr := FALSE; hexVal := 0; FOR i := 1 TO Length(hexStr) DO BEGIN n := Pos(Upcase(hexStr[i]),'0123456789ABCDEF'); IF n=0 THEN evalErr := TRUE ELSE hexVal := hexVal*16 + n-1; END; IF evalErr THEN BEGIN hexVal := 0; Error('Invalid hexadecimal number'); END; EvalHex := hexVal; END; FUNCTION Factor: Integer; FORWARD; FUNCTION Term: Integer; VAR word: string_tp; val: Integer; oldLine: string_tp; BEGIN val := Factor; { oldLine := line; word := GetWord; WHILE ( word = '*' ) OR ( word = '/' ) OR ( word = '%' ) DO BEGIN CASE word[1] OF '*': val := val * Factor; '/': val := val DIV Factor; '%': val := val MOD Factor; END; oldLine := line; word := GetWord; END; line := oldLine; } Term := val; END; FUNCTION Eval: Integer; VAR word: string_tp; val: Integer; oldLine: string_tp; BEGIN val := Term; oldLine := line; word := GetWord; WHILE (word='+') OR (word='-') {OR (word='*') OR (word='/')} DO BEGIN CASE word[1] OF '+': val := val + Term; '-': val := val - Term; END; oldLine := line; word := GetWord; END; line := oldLine; Eval := val; END; FUNCTION Factor: integer; VAR word: string_tp; val: Integer; BEGIN word := GetWord; val := 0; IF Length(word)=0 THEN Error('Missing operand') ELSE IF (word='.') OR (word='*') THEN val := locPtr ELSE IF word='$' THEN val := locPtr ELSE IF word='-' THEN val := -Factor ELSE IF word='+' THEN val := Factor ELSE IF word='~' THEN val := -Factor-1 ELSE IF word='(' THEN BEGIN val := Eval; RParen; END ELSE IF word='''' THEN BEGIN IF Length(line)=0 THEN Error('Missing operand') ELSE BEGIN val := Ord(line[1]); Delete(line,1,1); Expect(''''); END; END ELSE IF Pos(word[1],numeric)>0 THEN BEGIN CASE word[Length(word)] OF 'O': val := EvalOct(Copy(word,1,Length(word)-1)); 'D': val := EvalDec(Copy(word,1,Length(word)-1)); 'H': val := EvalHex(Copy(word,1,Length(word)-1)); ELSE val := EvalDec(word); END; END ELSE val := RefSym(word); Factor := val; END; FUNCTION EvalByte: Integer; VAR val: Integer; BEGIN val := Eval; IF (val<-128) OR (val>255) THEN Error('Byte out of range'); EvalByte := val AND 255; END; FUNCTION FindReg(regName,regList,valList: string_tp): Integer; VAR p: Integer; reg: Integer; code: Integer; BEGIN p := Pos(' ' + Deblank(regName) + ' ',regList); IF p=0 THEN reg := -1 ELSE IF valList[p+2]=' ' THEN Val(Copy(valList,p+1,1),reg,code) ELSE Val(Copy(valList,p+1,2),reg,code); FindReg := reg; END; PROCEDURE CodeOut(byte: Integer); BEGIN IF (pass=2) AND updLoc THEN BEGIN WriteLn(object_,':',Hex4(newLoc)); updLoc := FALSE; END; IF pass=2 THEN WriteLn(object_,Hex2(byte)); END; PROCEDURE CodeOrg(addr: Integer); BEGIN locPtr := addr; newLoc := locPtr; updLoc := TRUE; END; PROCEDURE CodeFlush; BEGIN { Object file format does not use buffering; no flush needed } END; PROCEDURE CodeEnd; BEGIN CodeFlush; IF (pass=2) AND xferFound THEN BEGIN WriteLn(object_,'$',Hex4(xferAddr)); END; END; PROCEDURE CodeXfer(addr: Integer); BEGIN xferAddr := addr; xferFound := TRUE; END; PROCEDURE Instr1(b: Byte); BEGIN instr[1] := b; instrLen := 1; END; PROCEDURE Instr2(b1,b2: Byte); BEGIN instr[1] := b1; instr[2] := b2; instrLen := 2; END; PROCEDURE Instr3(b1,b2,b3: Byte); BEGIN instr[1] := b1; instr[2] := b2; instr[3] := b3; instrLen := 3; END; PROCEDURE Instr3W(b: Byte; w: Word); BEGIN Instr3(b,w AND 255,w SHR 8); END; PROCEDURE Instr4(b1,b2,b3,b4: Byte); BEGIN instr[1] := b1; instr[2] := b2; instr[3] := b3; instr[4] := b4; instrLen := 4; END; PROCEDURE Instr4W(b1,b2: Byte; w: Word); BEGIN Instr4(b1,b2,w AND 255,w SHR 8); END; PROCEDURE DoOpcode(typ: Integer; parm: Word); VAR val: Integer; reg1: Integer; reg2: Integer; word: string_tp; oldLine: string_tp; PROCEDURE IXOffset; BEGIN word := GetWord; IF word=')' THEN val := 0 ELSE IF (word='+') OR (word='-') THEN BEGIN val := Eval; IF word='-' THEN val := -val; RParen; END; END; PROCEDURE DoArith(imm,reg: Integer); BEGIN oldLine := line; reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_None: { ADD A,nn } BEGIN line := oldLine; val := Eval; Instr2(imm,val); END; reg_B, reg_C, reg_D, reg_E, reg_H, reg_L, reg_A: { ADD A,r } Instr1(reg + reg2); reg_Paren: BEGIN reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_HL: BEGIN RParen; Instr1(reg+reg_M); END; reg_IX, reg_IY: BEGIN IXOffset; IF reg2=reg_IX THEN Instr3($DD,reg+reg_M,val) ELSE Instr3($FD,reg+reg_M,val); END; ELSE IllegalOperand; END; END; ELSE IllegalOperand; END; END; BEGIN CASE typ OF o_None: IF parm>255 THEN Instr2(parm SHR 8,parm AND 255) ELSE Instr1(parm); o_LD: BEGIN word := GetWord; reg1 := FindReg(word,regs,regVals); CASE reg1 OF reg_None: { LD nnnn,? } IllegalOperand; reg_B, reg_C, reg_D, reg_E, reg_H, reg_L, reg_A: { LD r,? } BEGIN Comma; oldLine := line; reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_B, reg_C, reg_D, reg_E, reg_H, reg_L, reg_A: { LD r,r } Instr1($40 + reg1*8 + reg2); reg_I: { LD A,I } Instr2($ED,$57); reg_R: { LD A,R } Instr2($ED,$5F); reg_Paren: { LD r,(?) } BEGIN oldLine := line; reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_BC, { LD A,(BC) } reg_DE: { LD A,(DE) } IF reg1<>reg_A THEN IllegalOperand ELSE BEGIN RParen; Instr1($0A + (reg2-reg_BC)*16); END; reg_HL: { LD r,(HL) } BEGIN RParen; Instr1($40 + reg1*8 + reg_M); END; reg_IX, { LD r,(IX+d) } reg_IY: { LD r,(IY+d) } BEGIN IXOffset; IF reg2=reg_IX THEN Instr3($DD,$46 + reg1*8,val) ELSE Instr3($FD,$46 + reg1*8,val); END; reg_None: { LD A,(nnnn) } IF reg1<>reg_A THEN IllegalOperand ELSE BEGIN line := oldLine; val := Eval; RParen; Instr3W($3A,val); END; ELSE IllegalOperand; END; END; reg_None: { LD r,nn } BEGIN line := oldLine; Instr2($06 + reg1*8,Eval); END; ELSE IllegalOperand; END; { CASE reg2 } END; { reg_Byte } reg_I: BEGIN { LD I,A } Comma; Expect('A'); Instr2($ED,$47); END; reg_R: BEGIN { LD R,A } Comma; Expect('A'); Instr2($ED,$4F); END; reg_BC, reg_DE, reg_HL, reg_SP: BEGIN { LD rr,? } Comma; oldLine := line; reg2 := FindReg(GetWord,regs,regVals); IF (reg1=reg_SP) AND { LD SP,HL } (reg2 IN [reg_HL,reg_IX,reg_IY]) THEN BEGIN CASE reg2 OF reg_HL: Instr1($F9); reg_IX: Instr2($DD,$F9); reg_IY: Instr2($FD,$F9); END; END ELSE IF (reg1=reg_HL) AND (reg2=reg_Paren) THEN BEGIN val := Eval; { LD HL,(nnnn) } RParen; Instr3W($2A,val); END ELSE IF reg2=reg_Paren THEN BEGIN val := Eval; { LD BC,(nnnn) } RParen; Instr4W($ED,$4B + (reg1-reg_BC)*16,val); END ELSE IF reg2=reg_None THEN BEGIN { LD rr,nnnn } line := oldLine; val := Eval; Instr3W($01 + (reg1-reg_BC)*16,val); END ELSE IllegalOperand; END; reg_IX, { LD IX,? } reg_IY: { LD IY,? } BEGIN Comma; oldLine := line; reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_None: { LD IX,nnnn } BEGIN line := oldLine; val := Eval; IF reg1=reg_IX THEN Instr4W($DD,$21,val) ELSE Instr4W($FD,$21,val); END; reg_Paren: { LD IX,(nnnn) } BEGIN val := Eval; RParen; IF reg1=reg_IX THEN Instr4W($DD,$2A,val) ELSE Instr4W($FD,$2A,val); END; ELSE IllegalOperand; END; END; reg_Paren: { LD (?),? } BEGIN oldLine := line; reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_None: { LD (nnnn),? } BEGIN line := oldLine; val := Eval; RParen; Comma; reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_A: Instr3W($32,val); reg_HL: Instr3W($22,val); reg_BC, reg_DE, reg_SP: Instr4W($ED,$43+(reg2-reg_BC)*16,val); reg_IX: Instr4W($DD,$22,val); reg_IY: Instr4W($FD,$22,val); ELSE IllegalOperand; END; { CASE reg2 } END; reg_BC, reg_DE: BEGIN RParen; Comma; Expect('A'); Instr1($02+(reg1-reg_BC)*16); END; reg_HL: { LD (HL),? } BEGIN RParen; Comma; oldLine := line; reg2 := FindReg(GetWord,regs,regVals); IF reg2=reg_None THEN BEGIN line := oldLine; val := Eval; Instr2($36,val); END ELSE IF reg2 IN [ 0..7 ] THEN Instr1($70 + reg2) ELSE IllegalOperand; END; reg_IX, reg_IY: { LD (IX),? } BEGIN IXOffset; Comma; oldLine := line; reg2 := FindReg(GetWord,regs,regVals); IF reg2=reg_None THEN BEGIN line := oldLine; reg2 := Eval; IF reg1=reg_IX THEN Instr4($DD,$36,val,reg2) ELSE Instr4($FD,$36,val,reg2); END ELSE IF reg2 IN [ 0..7 ] THEN IF reg1=reg_IX THEN Instr3($DD,$70 + reg2,val) ELSE Instr3($FD,$70 + reg2,val) ELSE IllegalOperand; END; END; { CASE reg1 } END; { reg_Paren } ELSE IllegalOperand; END; { CASE reg1 } END; { o_LD } o_EX: BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_DE: { EX DE,HL } BEGIN Comma; Expect('HL'); Instr1($EB); END; reg_AF: { EX AF,AF' } BEGIN Comma; Expect('AF'); Expect(''''); Instr1($08); END; reg_Paren: { EX (SP),? } BEGIN Expect('SP'); RParen; Comma; reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_HL: Instr1($E3); reg_IX: Instr2($DD,$E3); reg_IY: Instr2($FD,$E3); ELSE IllegalOperand; END; END; ELSE IllegalOperand; END; { CASE reg1 } END; { o_EX } o_ADD: BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_A: BEGIN Comma; DoArith($C6,$80); END; reg_HL, reg_IX, reg_IY: BEGIN Comma; reg2 := FindReg(GetWord,regs,regVals); IF reg2=reg1 THEN reg2 := reg_HL; IF reg2 IN [ 10..13 ] THEN BEGIN CASE reg1 OF reg_HL: Instr1($09 + (reg2-reg_BC)*16); reg_IX: Instr2($DD,$09 + (reg2-reg_BC)*16); reg_IY: Instr2($FD,$09 + (reg2-reg_BC)*16); END; END ELSE IllegalOperand; END; ELSE IllegalOperand; END; { CASE reg1 } END; { o_ADD } o_ADC_SBC: BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_A: BEGIN Comma; DoArith($CE+parm*16,$88+parm*16); END; reg_HL: BEGIN Comma; reg2 := FindReg(GetWord,regs,regVals); IF reg2 IN [ 10..13 ] THEN Instr2($ED,$4A + (reg2-reg_BC)*16 - parm*8) ELSE IllegalOperand; END; ELSE IllegalOperand; END; { CASE reg1 } END; { o_ADC_SBC } o_INC_DEC: BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_B, reg_C, reg_D, reg_E, reg_H, reg_L, reg_A: { INC r } Instr1($04 + reg1*8 + parm); reg_BC, reg_DE, reg_HL, reg_SP: { INC rr } Instr1($03 + (reg1-reg_BC)*16 + parm*8); reg_IX: Instr2($DD,$23 + parm*8); reg_IY: Instr2($FD,$23 + parm*8); reg_Paren: { INC (HL) } BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_HL: BEGIN RParen; Instr1($34 + parm); END; reg_IX, reg_IY: BEGIN IXOffset; IF reg1=reg_IX THEN Instr3($DD,$34 + parm,val) ELSE Instr3($FD,$34 + parm,val); END; ELSE IllegalOperand; END; END; END; END; { o_INC_DEC } o_JP_CALL: BEGIN oldLine := line; word := GetWord; IF word='(' THEN BEGIN reg1 := FindReg(GetWord,regs,regVals); RParen; CASE reg1 OF reg_HL: Instr1($E9); reg_IX: Instr2($DD,$E9); reg_IY: Instr2($FD,$E9); ELSE IllegalOperand; END; END ELSE BEGIN reg1 := FindReg(word,conds,condVals); IF reg1=reg_None THEN BEGIN line := oldLine; val := Eval; Instr3W(parm SHR 8,val); END ELSE BEGIN Comma; val := Eval; Instr3W((parm AND 255) + reg1*8,val); END; END; END; { o_JP_CALL } o_JR: BEGIN oldLine := line; reg1 := FindReg(GetWord,conds,condVals); IF reg1=reg_None THEN BEGIN line := oldLine; val := Eval; val := val - locPtr - 2; IF (val<-128) OR (val>127) THEN Error('Branch out of range'); Instr2($18,val); END ELSE IF reg1>=4 THEN IllegalOperand ELSE BEGIN Comma; val := Eval; val := val - locPtr - 2; IF (val<-128) OR (val>127) THEN Error('Branch out of range'); Instr2($20 + reg1*8,val); END; END; { o_JR } o_RET: BEGIN reg1 := FindReg(GetWord,conds,condVals); IF reg1=reg_None THEN Instr1($C9) ELSE Instr1($C0 + reg1*8); END; { o_RET } o_IN: BEGIN reg1 := FindReg(GetWord,regs,regVals); IF NOT (reg1 IN [reg_B..reg_A]) THEN IllegalOperand ELSE BEGIN Comma; Expect('('); oldLine := line; reg2 := FindReg(GetWord,regs,regVals); IF (reg1=reg_A) AND (reg2=reg_none) THEN BEGIN line := oldLine; val := Eval; RParen; Instr2($DB,val); END ELSE IF reg2=reg_C THEN BEGIN RParen; Instr2($ED,$40 + reg1*8) END ELSE IllegalOperand; END; END; { o_IN } o_OUT: BEGIN Expect('('); oldLine := line; reg1 := FindReg(GetWord,regs,regVals); IF reg1=reg_None THEN BEGIN line := oldLine; val := Eval; RParen; Comma; Expect('A'); Instr2($D3,val); END ELSE IF reg1=reg_C THEN BEGIN RParen; Comma; reg2 := FindReg(GetWord,regs,regVals); IF reg2 IN [reg_B..reg_A] THEN BEGIN Instr2($ED,$41 + reg2*8); END ELSE IllegalOperand; END ELSE IllegalOperand; END; { o_OUT } o_PushPop: BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_BC, reg_DE, reg_HL: Instr1(parm + (reg1-reg_BC)*16); reg_AF: Instr1(parm + $30); reg_IX: Instr2($DD,parm + $20); reg_IY: Instr2($FD,parm + $20); ELSE IllegalOperand; END; END; o_Arith: DoArith(parm SHR 8,parm AND 255); o_Rotate: BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_B, reg_C, reg_D, reg_E, reg_H, reg_L, reg_A: { RLC r } Instr2($CB,parm+reg1); reg_Paren: BEGIN reg1 := FindReg(GetWord,regs,regVals); CASE reg1 OF reg_HL: BEGIN RParen; Instr2($CB,parm+reg_M); END; reg_IX, reg_IY: BEGIN IXOffset; IF reg1=reg_IX THEN Instr4($DD,$CB,val,parm+reg_M) ELSE Instr4($FD,$CB,val,parm+reg_M); END; ELSE IllegalOperand; END; END; ELSE IllegalOperand; END; { CASE reg1 } END; { o_Rotate } o_Bit: BEGIN reg1 := Eval; Comma; reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_B, reg_C, reg_D, reg_E, reg_H, reg_L, reg_A: { BIT n,r } Instr2($CB,parm + reg1*8 + reg2); reg_Paren: { BIT n,(HL) } BEGIN reg2 := FindReg(GetWord,regs,regVals); CASE reg2 OF reg_HL: BEGIN RParen; Instr2($CB,parm + reg1*8 + reg_M); END; reg_IX, reg_IY: BEGIN IXOffset; IF reg1=reg_IX THEN Instr4($DD,$CB,val,parm + reg1*8 + reg_M) ELSE Instr4($FD,$CB,val,parm + reg1*8 + reg_M); END; ELSE IllegalOperand; END; END; END; { CASE reg2 } END; { o_Bit } o_IM: BEGIN word := GetWord; IF word='0' THEN Instr2($ED,$46) ELSE IF word='1' THEN Instr2($ED,$56) ELSE IF word='2' THEN Instr2($ED,$5E) ELSE IllegalOperand; END; o_DJNZ: BEGIN val := Eval; val := val - locPtr - 2; IF (val<-128) OR (val>127) THEN Error('Branch out of range'); Instr2($10,val); END; o_RST: BEGIN val := Eval; IF val IN [0..7] THEN Instr1($C7 + val*8) ELSE IF val IN [$08,$10,$18,$20,$28,$30,$38] THEN Instr1($C7 + val) ELSE IllegalOperand; END; o_DB: BEGIN bytStr := ''; oldLine := line; word := GetWord; IF (word='') OR (word=';') THEN Error('Missing operand'); WHILE (word<>'') AND (word<>';') DO BEGIN IF word='''' THEN WHILE word='''' DO BEGIN val := Pos('''',line); IF val=0 THEN BEGIN bytStr := bytStr + line; line := ''; word := ''; END ELSE BEGIN bytStr := bytStr + Copy(line,1,val-1); Delete(line,1,val); word := GetWord; IF word='''' THEN bytStr := bytStr + ''''; END; END ELSE BEGIN line := oldLine; bytStr := bytStr + CHR(EvalByte); END; word := GetWord; oldLine := line; IF word=',' THEN BEGIN word := GetWord; IF (word='') OR (word=';') THEN Error('Missing operand'); END; END; instrLen := -Length(bytStr); END; o_DW: BEGIN bytStr := ''; oldLine := line; word := GetWord; IF (word='') OR (word=';') THEN Error('Missing operand'); WHILE (word<>'') AND (word<>';') DO BEGIN line := oldLine; val := Eval; bytStr := bytStr + CHR(val AND 255) + CHR(val SHR 8); word := GetWord; oldLine := line; IF word=',' THEN BEGIN word := GetWord; IF (word='') OR (word=';') THEN Error('Missing operand'); END; END; instrLen := -Length(bytStr); END; o_DS: BEGIN val := Eval; IF pass=2 THEN BEGIN showAddr := FALSE; Delete(listLine,1,12); listLine := Hex4(locPtr) + ' (' + Hex4(val) + ')' + listLine; END; val := val + locPtr; CodeOrg(val); END; o_END: BEGIN oldLine := line; IF Length(GetWord)<>0 THEN BEGIN line := oldLine; val := Eval; CodeXfer(val); line := Copy(line,1,6) + '(' + Hex4(val) + ')' + Copy(line,13,255); END; sourceEnd := TRUE; END; ELSE Error('Unknown opcode'); END; END; PROCEDURE DoLabelOp(typ,parm: Integer; labl: SymStr); VAR val: Integer; word: string_tp; BEGIN CASE typ OF o_EQU: BEGIN IF Length(labl)=0 THEN Error('Missing label') ELSE BEGIN val := Eval; listLine := Copy(listLine,1,5) + '= ' + Hex4(val) + Copy(listLine,12,255); DefSym(labl,val,parm=1,parm=0); END; END; o_ORG: BEGIN CodeOrg(Eval); DefSym(labl,locPtr,FALSE,FALSE); showAddr := TRUE; END; o_LIST: BEGIN listThisLine := TRUE; IF Length(labl)<>0 THEN Error('Label not allowed'); word := GetWord; IF word='ON' THEN listFlag := TRUE ELSE IF word='OFF' THEN listFlag := FALSE ELSE IllegalOperand; END; o_OPT: BEGIN listThisLine := TRUE; IF Length(labl)<>0 THEN Error('Label not allowed'); word := GetWord; IF word='LIST' THEN listFlag := TRUE ELSE IF word='NOLIST' THEN listFlag := FALSE ELSE Error('Illegal option'); END; ELSE Error('Unknown opcode'); END; END; PROCEDURE ListOut; VAR i: Integer; BEGIN IF Deblank(listLine) = #12 THEN WriteLn(listing,#12) ELSE IF Deblank(listLine)='' THEN WriteLn(listing) ELSE BEGIN i := Length(listLine); WHILE (i>0) AND (listLine[i]=' ') DO i:=i-1; listLine[0] := CHR(i); WriteLn(listing,listLine); IF errFlag AND cl_Err THEN Messages.Log(listLine); END; END; PROCEDURE DoPass; VAR labl: SymStr; opcode: OpcdStr; typ: Integer; parm: Integer; i: Integer; word: string_tp; BEGIN Assign(source,cl_SrcName); Reset(source); sourceEnd := FALSE; //Messages.LogFmt('Pass %d',[pass]); CodeOrg(0); errCount := 0; listFlag := TRUE; WHILE (NOT Eof(source)) AND (NOT SourceEnd) DO BEGIN ReadLn(source,line); if Pass = 1 then begin inc(lineCount); inc(byteCount, length(line)); end; errFlag := FALSE; instrLen := 0; showAddr := FALSE; listThisLine := ListFlag; listLine := ' '; { 16 blanks } IF Pass=2 THEN listLine := Copy(listLine,1,16) + line; labl := ''; IF Length(line)>0 THEN IF Pos(line[1],white)=0 THEN BEGIN labl := GetWord; showAddr := (Length(labl)<>0); IF Length(line)>0 THEN IF line[1]=':' THEN Delete(line,1,1); END; opcode := GetWord; IF Length(opcode)=0 THEN BEGIN typ := 0; DefSym(labl,locPtr,FALSE,FALSE); END ELSE BEGIN FindOpcode(opcode,typ,parm); IF typ=o_Illegal THEN Error('Illegal opcode "' + Deblank(opcode) + '"') ELSE IF typ<0 THEN BEGIN showAddr := FALSE; DoLabelOp(typ,parm,labl); END ELSE BEGIN showAddr := TRUE; DefSym(labl,locPtr,FALSE,FALSE); DoOpcode(typ,parm); END; IF typ<>o_Illegal THEN IF Length(GetWord)>0 THEN Error('Too many operands'); END; IF Pass=2 THEN BEGIN IF ShowAddr THEN listLine := Hex4(locPtr) + Copy(listLine,5,255); IF instrLen>0 THEN FOR i := 1 TO instrLen DO BEGIN word := Hex2(instr[i]); listLine[i*2+4] := word[1]; listLine[i*2+5] := word[2]; CodeOut(instr[I]); END ELSE FOR i := 1 TO -instrLen DO BEGIN IF I<=5 THEN BEGIN word := Hex2(ORD(bytStr[i])); listLine[i*2+4] := word[1]; listLine[i*2+5] := word[2]; END; CodeOut(ORD(bytStr[i])); END; IF listThisLine THEN ListOut; END; locPtr := locPtr + ABS(instrLen); END; IF Pass=2 THEN CodeEnd; { Put the lines after the END statement into the listing file } { while still checking for listing control statements. Ignore } { any lines which have invalid syntax, etc., because whatever } { is found after an END statement should esentially be ignored. } IF Pass=2 THEN WHILE NOT Eof(source) DO BEGIN listThisLine := listFlag; listLine := ' ' + line; { 16 blanks } IF Length(line)>0 THEN IF Pos(line[1],white)<>0 THEN BEGIN word := GetWord; IF Length(word)<>0 THEN BEGIN IF word='LIST' THEN BEGIN listThisLine := TRUE; word := GetWord; IF word='ON' THEN listFlag := TRUE ELSE IF word='OFF' THEN listFlag := FALSE ELSE listThisLine := listFlag; END ELSE IF word='OPT' THEN BEGIN listThisLine := TRUE; word := GetWord; IF word='LIST' THEN listFlag := TRUE ELSE IF word='NOLIST' THEN listFlag := FALSE ELSE listThisLine := listFlag; END; END; END; IF listThisLine THEN ListOut; END; Close(source); END; PROCEDURE SortSymTab; VAR i,j,t: SymPtr; sorted: Boolean; temp: SymRec; BEGIN IF symTab<>NIL THEN BEGIN i := symTab; j := i^.next; WHILE (j<>NIL) DO BEGIN sorted := TRUE; WHILE (j<>NIL) DO BEGIN IF j^.name < i^.name THEN BEGIN temp := i^; i^ := j^; j^ := temp; t := i^.next; i^.next := j^.next; j^.next := t; sorted := FALSE; END; j := j^.next; END; i := i^.next; j := i^.next; END; END; END; PROCEDURE DumpSym(p: SymPtr); BEGIN Write(listing,p^.name:maxSymLen,' ',Hex4(p^.value)); IF NOT p^.defined THEN Write(listing,' U'); IF p^.multiDef THEN Write(listing,' M'); IF p^.isSet THEN Write(listing,' S'); IF p^.equ THEN Write(listing,' E'); WriteLn(listing); END; PROCEDURE DumpSymTab; VAR p: SymPtr; BEGIN SortSymTab; p := symTab; WHILE (p<>NIL) DO BEGIN DumpSym(p); p := p^.next; END; END; FUNCTION GetOption(VAR optStr: String_tp): String_tp; VAR option: String[80]; p: Integer; BEGIN optStr := Deblank(optStr); p := Pos(' ',optStr); IF p=0 THEN BEGIN option := optStr; optStr := ''; END ELSE BEGIN option := Copy(optStr,1,p-1); optStr := Copy(optStr,p+1,255); END; optStr := UprCase(Deblank(optStr)); GetOption := option; END; procedure ASMZ80_execute(SrcName, ListName, ObjName: String_tp; Err: Boolean); var time: double; begin Messages.Log('ASMZ80 - easy80 assembler'); time := Now; lineCount := 0; byteCount := 0; cl_SrcName := SrcName; cl_ListName := ListName; cl_ObjName := ObjName; cl_Err := Err; Assign(listing,cl_ListName); Rewrite(listing); Assign(object_,cl_ObjName); Rewrite(object_); symTab := NIL; xferAddr := 0; xferFound := FALSE; InitOpcodes; pass := 1; DoPass; pass := 2; DoPass; WriteLn(listing); WriteLn(listing,errCount:5,' Total Error(s)'); WriteLn(listing); IF cl_Err THEN BEGIN Messages.Log(''); Messages.LogFmt('%d lines assembled, %.1f sec, %d bytes code', [lineCount, (Now - time) * 24 * 3600, byteCount]); //Messages.LogFmt('%d warning(s) issued', [warnCount]); //Messages.LogFmt('%d note(s) issued', [noteCount]); Messages.LogFmt('%d error(s) issued', [errCount]); Messages.Log(''); END; DumpSymTab; Close(listing); Close(object_); end; end.
unit ItemsValidator; interface uses SysUtils, Classes, ItemsDef, Forms; type TItemsValidator = class private CurProject: TNumProject; CheckedItems: TStringList; MaxCount: integer; CurCount: Integer; procedure CheckNumLabelTpl(Item: TNumLabelTpl); procedure CheckNumPlanItem(Item: TNumPlanItem); procedure CheckHallItem(Item: THallItem); procedure CheckTicketTpl(Item: TTicketTpl); procedure CheckNumPageTpl(Item: TNumPageTpl); procedure CheckNumLabel(Item: TNumLabel); procedure CheckNumLabelData(Item: TNumLabelData); procedure CheckTicket(Item: TTicket); procedure CheckNumPage(Item: TNumPage); procedure UpdateProgress(); public ErrList: TStringList; ProgressText: PWideString; constructor Create(); destructor Destroy; override; procedure CheckProject(Item: TNumProject); end; var DBItemsValidator: TItemsValidator; implementation uses Core; constructor TItemsValidator.Create(); begin ErrList:=TStringList.Create(); CheckedItems:=TStringList.Create(); ProgressText:=nil; end; destructor TItemsValidator.Destroy; begin FreeAndNil(CheckedItems); FreeAndNil(ErrList); inherited Destroy(); end; procedure TItemsValidator.UpdateProgress(); var s: string; begin if (CurCount div 10) <> 0 then Exit; s:='['+IntToStr(CurCount)+' / '+IntToStr(MaxCount)+']'; Core.Cmd('STATUS '+s); Application.ProcessMessages(); end; procedure TItemsValidator.CheckNumLabelTpl(Item: TNumLabelTpl); begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); if Trim(Item.Name)='' then ErrList.AddObject('Empty name', Item); if Trim(Item.BaseValue)='' then ErrList.AddObject('Empty base value', Item); if Trim(Item.Action)='' then ErrList.AddObject('Empty action', Item); end; procedure TItemsValidator.CheckNumLabel(Item: TNumLabel); var TicketTplAssigned: boolean; NumPageTplAssigned: boolean; begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); if Trim(Item.Name)='' then ErrList.AddObject('Empty name', Item); if (Item.Size = 0) then ErrList.AddObject('Wrong size', Item); //Item.Position //Item.Angle //Item.Font //Item.Color // Object fields if not Assigned(Item.NumLabelTpl) then ErrList.AddObject('Not assigned NumLabelTpl', Item) else CheckNumLabelTpl(Item.NumLabelTpl); // Owner TicketTplAssigned:=Assigned(Item.TicketTpl); NumPageTplAssigned:=Assigned(Item.NumPageTpl); if (not TicketTplAssigned) and (not NumPageTplAssigned) then ErrList.AddObject('Not assigned owner TicketTpl and NumPageTpl', Item) else if (TicketTplAssigned) and (NumPageTplAssigned) then ErrList.AddObject('Assigned owner TicketTpl and NumPageTpl', Item) else begin if TicketTplAssigned then CheckTicketTpl(Item.TicketTpl); if NumPageTplAssigned then CheckNumPageTpl(Item.NumPageTpl); end; end; procedure TItemsValidator.CheckNumLabelData(Item: TNumLabelData); begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); if Trim(Item.Value)='' then ErrList.AddObject('Empty Value', Item); if Trim(Item.Action)='' then ErrList.AddObject('Empty Action', Item); //Item.ValueType // Object fields if not Assigned(Item.NumLabelTpl) then ErrList.AddObject('Not assigned NumLabelTpl', Item) else CheckNumLabelTpl(Item.NumLabelTpl); // Owner if not Assigned(Item.NumPlanItem) then ErrList.AddObject('Not assigned owner NumPlanItem', Item) else CheckNumPlanItem(Item.NumPlanItem); end; procedure TItemsValidator.CheckNumPlanItem(Item: TNumPlanItem); var i: Integer; begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); //Item.Order //Item.State // Object fields if not Assigned(Item.Ticket) then ErrList.AddObject('Not assigned Ticket', Item) else CheckTicket(Item.Ticket); if not Assigned(Item.NumPage) then ErrList.AddObject('Not assigned NumPage', Item) else CheckNumPage(Item.NumPage); // Subitems // NumLabelDataList list if Item.NumLabelDataList.Count=0 then ErrList.AddObject('Empty NumLabelDataList list', Item); for i:=0 to Item.NumLabelDataList.Count-1 do begin CheckNumLabelData(Item.NumLabelDataList[i]); end; end; procedure TItemsValidator.CheckHallItem(Item: THallItem); var i: Integer; begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); //Item.Order //Item.State //Item.Position //Item.Kind //Item.ParamsText //Item.Color //Item.Row //Item.Place //Item.Sector // Object fields if Assigned(Item.NumPlanItem) then CheckNumPlanItem(Item.NumPlanItem); end; procedure TItemsValidator.CheckTicket(Item: TTicket); begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); if Trim(Item.Name)='' then ErrList.AddObject('Empty name', Item); //Item.Position // Object fields if not Assigned(Item.Tpl) then ErrList.AddObject('Not assigned TicketTpl', Item) else CheckTicketTpl(Item.Tpl); // Owner if not Assigned(Item.NumPageTpl) then ErrList.AddObject('Not assigned owner NumPageTpl', Item) else CheckNumPageTpl(Item.NumPageTpl); end; procedure TItemsValidator.CheckNumPage(Item: TNumPage); begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); //Item.Order //Item.State // Object fields if not Assigned(Item.NumPageTpl) then ErrList.AddObject('Not assigned NumPageTpl', Item) else CheckNumPageTpl(Item.NumPageTpl); end; procedure TItemsValidator.CheckTicketTpl(Item: TTicketTpl); var i: Integer; begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); if Trim(Item.Name)='' then ErrList.AddObject('Empty name', Item); if (Item.Size.X < 1) or (Item.Size.Y < 1) then ErrList.AddObject('Wrong size', Item); // Numlabels list if Item.NumLabels.Count=0 then ErrList.AddObject('Empty NumLabels list', Item); for i:=0 to Item.NumLabels.Count-1 do begin CheckNumLabel(Item.NumLabels[i]); end; end; procedure TItemsValidator.CheckNumPageTpl(Item: TNumPageTpl); var i: Integer; begin if CheckedItems.IndexOfObject(Item) <> -1 then Exit; CheckedItems.AddObject('', Item); if not Assigned(Item.Project) then ErrList.AddObject('Empty project', Item) else if Item.Project <> CurProject then ErrList.AddObject('Wrong project', Item); if Trim(Item.Name)='' then ErrList.AddObject('Empty name', Item); if (Item.Size.X < 1) or (Item.Size.Y < 1) then ErrList.AddObject('Wrong size', Item); if (Item.Tickets.Count=0) and (Item.NumLabels.Count=0) then ErrList.AddObject('Empty subitems list', Item); // Tickets list //if Item.Tickets.Count=0 then ErrList.AddObject('Empty Tickets list', Item); for i:=0 to Item.Tickets.Count-1 do begin CheckTicket(Item.Tickets[i]); end; // Numlabels list //if Item.NumLabels.Count=0 then ErrList.AddObject('Empty NumLabels list', Item); for i:=0 to Item.NumLabels.Count-1 do begin CheckNumLabel(Item.NumLabels[i]); end; end; procedure TItemsValidator.CheckProject(Item: TNumProject); var i: integer; begin CheckedItems.Clear(); if not Assigned(ErrList) then ErrList:=TStringList.Create(); CurProject:=Item; if Trim(Item.Name)='' then begin ErrList.AddObject('Empty name', Item); end; // parent ? // For progress indicator MaxCount := Item.NumLabelsTpl.Count + Item.TicketTplList.Count + Item.PagesTpl.Count + Item.Tickets.Count + Item.Pages.Count + Item.NumPlanItems.Count + Item.HallPlan.Count; CurCount:=0; // NumLabelTpl List if Item.NumLabelsTpl.Count=0 then ErrList.AddObject('Empty NumLabelsTpl list', Item); for i:=0 to Item.NumLabelsTpl.Count-1 do begin CheckNumLabelTpl(Item.NumLabelsTpl[i]); Inc(CurCount); UpdateProgress(); end; // TicketTplList if Item.TicketTplList.Count=0 then ErrList.AddObject('Empty TicketTplList', Item); for i:=0 to Item.TicketTplList.Count-1 do begin CheckTicketTpl(Item.TicketTplList[i]); Inc(CurCount); UpdateProgress(); end; // PagesTpl List if Item.PagesTpl.Count=0 then ErrList.AddObject('Empty PagesTpl list', Item); for i:=0 to Item.PagesTpl.Count-1 do begin CheckNumPageTpl(Item.PagesTpl[i]); Inc(CurCount); UpdateProgress(); end; // Tickets List if Item.Tickets.Count=0 then ErrList.AddObject('Empty Tickets list', Item); for i:=0 to Item.Tickets.Count-1 do begin CheckTicket(Item.Tickets[i]); Inc(CurCount); UpdateProgress(); end; // Pages List if Item.Pages.Count=0 then ErrList.AddObject('Empty Pages list', Item); for i:=0 to Item.Pages.Count-1 do begin CheckNumPage(Item.Pages[i]); Inc(CurCount); UpdateProgress(); // Check pages order // !!! end; // NumPlanItems List if Item.NumPlanItems.Count=0 then ErrList.AddObject('Empty NumPlanItems list', Item); for i:=0 to Item.NumPlanItems.Count-1 do begin CheckNumPlanItem(Item.NumPlanItems[i]); Inc(CurCount); UpdateProgress(); // Check items order // !!! end; // HallPlan List if Item.HallPlan.Count=0 then ErrList.AddObject('Empty HallPlan list', Item); for i:=0 to Item.HallPlan.Count-1 do begin CheckHallItem(Item.HallPlan[i]); Inc(CurCount); UpdateProgress(); // Check items order // !!! end; Core.AddCmd('STATUS Check finished'); CheckedItems.Clear(); end; end.
// // This unit is part of the GLScene Project, http://glscene.org // {: GLMultisampleImage<p> This unit provides support for two new types of "multisample textures" - two-dimensional and two-dimensional array - as well as mechanisms to fetch a specific sample from such a texture in a shader, and to attach such textures to FBOs for rendering. <b>History : </b><font size=-1><ul> <li>04/11/10- DaStr - Added $I GLScene.inc <li>23/08/10 - Yar - Added OpenGLTokens to uses, replaced OpenGL1x functions to OpenGLAdapter <li>16/05/10 - Yar - Creation (thanks to C4) </ul></font> } unit GLMultisampleImage; interface {$I GLScene.inc} uses Classes, OpenGLTokens, GLContext, GLTexture, GLGraphics, GLTextureFormat; type // TGLMultisampleImage // TGLMultisampleImage = class(TGLTextureImage) private { Private Declarations } FBitmap: TGLBitmap32; FSamplesCount: Integer; FWidth, FHeight, FDepth: Integer; FFixedSamplesLocation: Boolean; procedure SetWidth(val: Integer); procedure SetHeight(val: Integer); procedure SetDepth(val: Integer); procedure SetSamplesCount(val: Integer); procedure SetFixedSamplesLocation(val: Boolean); protected { Protected Declarations } function GetWidth: Integer; override; function GetHeight: Integer; override; function GetDepth: Integer; override; function GetTextureTarget: TGLTextureTarget; override; public { Public Declarations } constructor Create(AOwner: TPersistent); override; destructor Destroy; override; procedure Assign(Source: TPersistent); override; class function IsSelfLoading: Boolean; override; procedure LoadTexture(AInternalFormat: TGLInternalFormat); override; function GetBitmap32: TGLBitmap32; override; procedure ReleaseBitmap32; override; procedure SaveToFile(const fileName: string); override; procedure LoadFromFile(const fileName: string); override; class function FriendlyName: string; override; class function FriendlyDescription: string; override; property NativeTextureTarget; published { Published Declarations } {: Width of the blank image (for memory allocation). } property Width: Integer read GetWidth write SetWidth default 256; {: Width of the blank image (for memory allocation). } property Height: Integer read GetHeight write SetHeight default 256; property Depth: Integer read GetDepth write SetDepth default 0; property SamplesCount: Integer read FSamplesCount write SetSamplesCount default 0; property FixedSamplesLocation: Boolean read FFixedSamplesLocation write SetFixedSamplesLocation; end; implementation // ------------------ // ------------------ TGLMultisampleImage ------------------ // ------------------ {$IFDEF GLS_REGIONS}{$REGION 'TGLMultisampleImage'}{$ENDIF} // Create // constructor TGLMultisampleImage.Create(AOwner: TPersistent); begin inherited; FWidth := 256; FHeight := 256; FDepth := 0; FSamplesCount := 0; end; // Destroy // destructor TGLMultisampleImage.Destroy; begin ReleaseBitmap32; inherited Destroy; end; // Assign // procedure TGLMultisampleImage.Assign(Source: TPersistent); begin if Assigned(Source) then begin if (Source is TGLMultisampleImage) then begin FWidth := TGLMultisampleImage(Source).FWidth; FHeight := TGLMultisampleImage(Source).FHeight; FDepth := TGLMultisampleImage(Source).FDepth; FSamplesCount := TGLMultisampleImage(Source).FSamplesCount; Invalidate; end else inherited; end else inherited; end; // SetWidth // procedure TGLMultisampleImage.SetWidth(val: Integer); begin if val <> FWidth then begin FWidth := val; if FWidth < 1 then FWidth := 1; Invalidate; end; end; // GetWidth // function TGLMultisampleImage.GetWidth: Integer; begin Result := FWidth; end; // SetHeight // procedure TGLMultisampleImage.SetHeight(val: Integer); begin if val <> FHeight then begin FHeight := val; if FHeight < 1 then FHeight := 1; Invalidate; end; end; // GetHeight // function TGLMultisampleImage.GetHeight: Integer; begin Result := FHeight; end; // GetDepth // function TGLMultisampleImage.GetDepth: Integer; begin Result := FDepth; end; // SetHeight // procedure TGLMultisampleImage.SetDepth(val: Integer); begin if val <> FDepth then begin FDepth := val; if FDepth < 0 then FDepth := 0; Invalidate; end; end; // SetSamplesCount // procedure TGLMultisampleImage.SetSamplesCount(val: Integer); begin if val < 0 then val := 0; if val <> FSamplesCount then begin FSamplesCount := val; Invalidate; end; end; // SetFixedSamplesLocation // procedure TGLMultisampleImage.SetFixedSamplesLocation(val: Boolean); begin if val <> FFixedSamplesLocation then begin FFixedSamplesLocation := val; Invalidate; end; end; // GetBitmap32 // function TGLMultisampleImage.GetBitmap32: TGLBitmap32; begin if not Assigned(FBitmap) then begin FBitmap := TGLBitmap32.Create; FBitmap.Blank := true; FBitmap.Width := FWidth; FBitmap.Height := FHeight; end; Result := FBitmap; end; // ReleaseBitmap32 // procedure TGLMultisampleImage.ReleaseBitmap32; begin FBitmap.Free; FBitmap := nil; end; // SaveToFile // procedure TGLMultisampleImage.SaveToFile(const fileName: string); begin end; // LoadFromFile // procedure TGLMultisampleImage.LoadFromFile(const fileName: string); begin end; // FriendlyName // class function TGLMultisampleImage.FriendlyName: string; begin Result := 'Multisample Image'; end; // FriendlyDescription // class function TGLMultisampleImage.FriendlyDescription: string; begin Result := 'Image for rendering to texture with antialiasing'; end; // GetTextureTarget // function TGLMultisampleImage.GetTextureTarget: TGLTextureTarget; begin if fDepth > 0 then Result := ttTexture2DMultisampleArray else Result := ttTexture2DMultisample; end; class function TGLMultisampleImage.IsSelfLoading: Boolean; begin Result := True; end; procedure TGLMultisampleImage.LoadTexture(AInternalFormat: TGLInternalFormat); var target: TGLTextureTarget; maxSamples, maxSize: TGLint; begin // Check smaples count range GL.GetIntegerv(GL_MAX_SAMPLES, @maxSamples); if FSamplesCount > maxSamples then FSamplesCount := maxSamples; if IsDepthFormat(AInternalFormat) then begin GL.GetIntegerv(GL_MAX_DEPTH_TEXTURE_SAMPLES, @maxSamples); if FSamplesCount > maxSamples then FSamplesCount := maxSamples; end else begin GL.GetIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, @maxSamples); if FSamplesCount > maxSamples then FSamplesCount := maxSamples; end; // Check texture size GL.GetIntegerv(GL_MAX_TEXTURE_SIZE, @maxSize); if FWidth > maxSize then FWidth := maxSize; if FHeight > maxSize then FHeight := maxSize; target := NativeTextureTarget; case target of ttTexture2DMultisample: GL.TexImage2DMultisample( DecodeGLTextureTarget(target), SamplesCount, InternalFormatToOpenGLFormat(AInternalFormat), Width, Height, FFixedSamplesLocation); ttTexture2DMultisampleArray: GL.TexImage3DMultisample( DecodeGLTextureTarget(target), SamplesCount, InternalFormatToOpenGLFormat(AInternalFormat), Width, Height, Depth, FFixedSamplesLocation); end; end; {$IFDEF GLS_REGIONS}{$ENDREGION}{$ENDIF} initialization RegisterGLTextureImageClass(TGLMultisampleImage); end.
{******************************************} { TPieSeries Editor Dialog } { Copyright (c) 1996-2004 by David Berneda } {******************************************} unit TeePieEdit; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Messages, {$ENDIF} SysUtils, Classes, {$IFDEF CLX} QGraphics, QControls, QForms, QDialogs, QStdCtrls, QExtCtrls, QComCtrls, {$ELSE} Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, {$ENDIF} Chart, Series, TeCanvas, TeePenDlg, TeeProcs, TeeCircledEdit; type TPieSeriesEditor = class(TForm) PageControl1: TPageControl; TabOptions: TTabSheet; TabGroup: TTabSheet; Label5: TLabel; Label6: TLabel; Label7: TLabel; CBOther: TComboFlat; EOtherValue: TEdit; EOtherLabel: TEdit; Button2: TButton; Label4: TLabel; Label2: TLabel; Label1: TLabel; CBDark3d: TCheckBox; SEExpBig: TEdit; UDExpBig: TUpDown; CBPatterns: TCheckBox; BPen: TButtonPen; Edit1: TEdit; UDAngleSize: TUpDown; BShadow: TButton; CBMarksAutoPosition: TCheckBox; Button1: TButton; Edit2: TEdit; UpDown1: TUpDown; Label3: TLabel; CBMultiple: TComboFlat; TabSheet1: TTabSheet; CBColorEach: TCheckBox; BColor: TButtonColor; procedure FormShow(Sender: TObject); procedure CBDark3dClick(Sender: TObject); procedure CBPatternsClick(Sender: TObject); procedure CBOtherChange(Sender: TObject); procedure EOtherValueChange(Sender: TObject); procedure EOtherLabelChange(Sender: TObject); procedure SEExpBigChange(Sender: TObject); procedure Edit1Change(Sender: TObject); procedure FormCreate(Sender: TObject); procedure BShadowClick(Sender: TObject); procedure CBMarksAutoPositionClick(Sender: TObject); procedure Button2Click(Sender: TObject); procedure Button1Click(Sender: TObject); procedure Edit2Change(Sender: TObject); procedure CBMultipleChange(Sender: TObject); procedure CBColorEachClick(Sender: TObject); private { Private declarations } Pie : TPieSeries; tmpCircled : TCircledSeriesEditor; public { Public declarations } end; implementation {$IFNDEF CLX} {$R *.DFM} {$ELSE} {$R *.xfm} {$ENDIF} Uses TeeConst, TeEngine, TeeEdiSeri, TeeShadowEditor, TeeEdiGrad, TeeEdiLege; procedure TPieSeriesEditor.FormShow(Sender: TObject); begin Pie:=TPieSeries(Tag); if Assigned(Pie) then begin BColor.LinkProperty(Pie,'SeriesColor'); // 7.0 With Pie do begin UDExpBig.Position :=ExplodeBiggest; CBDark3D.Checked :=Dark3D; CBDark3D.Enabled :=ParentChart.View3D; CBPatterns.Checked :=UsePatterns; if MultiPie=mpAutomatic then CBMultiple.ItemIndex:=0 else CBMultiple.ItemIndex:=1; CBColorEach.Checked:=ColorEachPoint; With OtherSlice do begin EOtherLabel.Text:=Text; EOtherValue.Text:=FloatToStr(Value); CBOther.ItemIndex:=Ord(Style); EnableControls(Style<>poNone,[EOtherLabel,EOtherValue]); end; UDAngleSize.Position:=AngleSize; CBMarksAutoPosition.Checked:=AutoMarkPosition; BPen.LinkPen(PiePen); UpDown1.Position:=DarkPen; end; if not Assigned(tmpCircled) then tmpCircled:=TCircledSeriesEditor( TFormTeeSeries(Parent.Owner).InsertSeriesForm( TCircledSeriesEditor,1,TeeMsg_GalleryCircled,Pie)); tmpCircled.BBack.Hide; tmpCircled.CBTransp.Hide; tmpCircled.BGradient.Hide; end; end; procedure TPieSeriesEditor.CBDark3DClick(Sender: TObject); begin if Showing then Pie.Dark3D:=CBDark3D.Checked; end; procedure TPieSeriesEditor.CBPatternsClick(Sender: TObject); begin Pie.UsePatterns:=CBPatterns.Checked; end; procedure TPieSeriesEditor.CBOtherChange(Sender: TObject); begin With Pie.OtherSlice do begin Style:=TPieOtherStyle(CBOther.ItemIndex); EnableControls(Style<>poNone,[EOtherLabel,EOtherValue]); end; end; procedure TPieSeriesEditor.EOtherValueChange(Sender: TObject); begin if EOtherValue.Text<>'' then Pie.OtherSlice.Value:=StrToFloat(EOtherValue.Text); end; procedure TPieSeriesEditor.EOtherLabelChange(Sender: TObject); begin if Assigned(Pie) then // 5.02 Pie.OtherSlice.Text:=EOtherLabel.Text; end; procedure TPieSeriesEditor.SEExpBigChange(Sender: TObject); begin if Showing then Pie.ExplodeBiggest:=UDExpBig.Position; end; procedure TPieSeriesEditor.Edit1Change(Sender: TObject); begin if Showing then Pie.AngleSize:=UDAngleSize.Position; end; procedure TPieSeriesEditor.FormCreate(Sender: TObject); begin BorderStyle:=TeeBorderStyle; end; procedure TPieSeriesEditor.BShadowClick(Sender: TObject); begin EditTeeShadow(Self,Pie.Shadow); end; procedure TPieSeriesEditor.CBMarksAutoPositionClick(Sender: TObject); begin Pie.AutoMarkPosition:=CBMarksAutoPosition.Checked; end; procedure TPieSeriesEditor.Button2Click(Sender: TObject); begin with TFormTeeLegend.CreateLegend(Self,Pie.OtherSlice.Legend) do try ShowModal; finally Free; end; end; procedure TPieSeriesEditor.Button1Click(Sender: TObject); begin EditTeeGradient(Self,Pie.Gradient,True); end; procedure TPieSeriesEditor.Edit2Change(Sender: TObject); begin if Showing then Pie.DarkPen:=UpDown1.Position; end; procedure TPieSeriesEditor.CBMultipleChange(Sender: TObject); begin if CBMultiple.ItemIndex=0 then Pie.MultiPie:=mpAutomatic else Pie.MultiPie:=mpDisabled; end; procedure TPieSeriesEditor.CBColorEachClick(Sender: TObject); begin Pie.ColorEachPoint:=CBColorEach.Checked; BColor.Enabled:=not Pie.ColorEachPoint; end; initialization RegisterClass(TPieSeriesEditor); end.
{ } { Unicode character functions v3.04 } { } { This unit is copyright © 2002-2004 by David J Butler } { } { This unit is part of Delphi Fundamentals. } { Its original file name is cUnicodeChar.pas } { The latest version is available from the Fundamentals home page } { http://fundementals.sourceforge.net/ } { } { I invite you to use this unit, free of charge. } { I invite you to distibute this unit, but it must be for free. } { I also invite you to contribute to its development, } { but do not distribute a modified copy of this file. } { } { A forum is available on SourceForge for general discussion } { http://sourceforge.net/forum/forum.php?forum_id=2117 } { } { } { Description: } { Unicode character constants. } { Functions for checking unicode character properties. } { Functions to interpret unicode characters. } { Unicode character case functions. } { } { } { Notes: } { Most functions in this unit work from tables in source code form. } { All tables were generated from the Unicode 3.2 data. } { } { The source code is deceptively big, for example, the upper-lower case } { table is about 128K in the source code, but only 7K when compiled. } { } { This unit has no dependancies on any other unit. } { } { Revision history: } { 19/04/2002 0.01 Initial version } { 21/04/2002 0.02 Added case and decomposition functions } { 28/10/2002 3.03 Refactored for Fundamentals 3. } { 10/01/2004 3.04 Changes to allow smart-linking by the compiler. } { Typically this saves 100-200K on the executable size. } { } {$INCLUDE ..\cDefines.inc} unit cUnicodeChar; interface const UnitName = 'cUnicodeChar'; UnitVersion = '3.04'; UnitCopyright = 'Copyright (c) 2002-2004 David J Butler'; { } { Unicode character constants } { } const WideNULL = WideChar(#0); WideSOH = WideChar(#1); WideSTX = WideChar(#2); WideETX = WideChar(#3); WideEOT = WideChar(#4); WideENQ = WideChar(#5); WideACK = WideChar(#6); WideBEL = WideChar(#7); WideBS = WideChar(#8); WideHT = WideChar(#9); WideLF = WideChar(#10); WideVT = WideChar(#11); WideFF = WideChar(#12); WideCR = WideChar(#13); WideNAK = WideChar(#21); WideSYN = WideChar(#22); WideCAN = WideChar(#24); WideEOF = WideChar(#26); WideESC = WideChar(#27); WideSP = WideChar(#32); WideCRLF : WideString = #13#10; WideSingleQuote = WideChar(''''); WideDoubleQuote = WideChar('"'); WideNoBreakSpace = WideChar(#$00A0); WideLineSeparator = WideChar(#$2028); WideParagraphSeparator = WideChar(#$2029); WideBOM_MSB_First = WideChar(#$FFFE); WideBOM_LSB_First = WideChar(#$FEFF); WideObjectReplacement = WideChar(#$FFFC); WideCharReplacement = WideChar(#$FFFD); WideInvalid = WideChar(#$FFFF); WideCopyrightSign = WideChar(#$00A9); WideRegisteredSign = WideChar(#$00AE); WideHighSurrogateFirst = WideChar(#$D800); WideHighSurrogateLast = WideChar(#$DB7F); WideLowSurrogateFirst = WideChar(#$DC00); WideLowSurrogateLast = WideChar(#$DFFF); WidePrivateHighSurrogateFirst = WideChar(#$DB80); WidePrivateHighSurrogateLast = WideChar(#$DBFF); { } { Unicode character functions } { } {$IFDEF DELPHI5} type UCS4Char = LongWord; {$ENDIF} type WideCharMatchFunction = function (const Ch: WideChar): Boolean; function IsASCIIChar(const Ch: WideChar): Boolean; function IsWhiteSpace(const Ch: WideChar): Boolean; function IsControl(const Ch: WideChar): Boolean; function IsControlOrWhiteSpace(const Ch: WideChar): Boolean; function IsIgnorable(const Ch: UCS4Char): Boolean; function IsDash(const Ch: WideChar): Boolean; function IsHyphen(const Ch: WideChar): Boolean; function IsFullStop(const Ch: WideChar): Boolean; function IsComma(const Ch: WideChar): Boolean; function IsExclamationMark(const Ch: WideChar): Boolean; function IsQuestionMark(const Ch: WideChar): Boolean; function IsLeftParenthesis(const Ch: WideChar): Boolean; function IsLeftBracket(const Ch: WideChar): Boolean; function GetRightParenthesis(const LeftParenthesis: WideChar): WideChar; function GetRightBracket(const LeftBracket: WideChar): WideChar; function IsSingularQuotationMark(const Ch: WideChar): Boolean; function IsOpeningQuotationMark(const Ch: WideChar): Boolean; function IsClosingQuotationMark(const Ch: WideChar): Boolean; function GetClosingQuotationMark(const OpeningQuote: WideChar): WideChar; function GetOpeningQuotationMark(const ClosingQuote: WideChar): WideChar; function IsPunctuation(const Ch: WideChar): Boolean; function IsDecimalDigit(const Ch: UCS4Char): Boolean; overload; function IsDecimalDigit(const Ch: WideChar): Boolean; overload; function IsASCIIDecimalDigit(const Ch: WideChar): Boolean; function DecimalDigitValue(const Ch: UCS4Char): Integer; overload; function DecimalDigitValue(const Ch: WideChar): Integer; overload; function FractionCharacterValue(const Ch: WideChar; var A, B: Integer): Boolean; function RomanNumeralValue(const Ch: WideChar): Integer; function IsHexDigit(const Ch: UCS4Char): Boolean; overload; function IsHexDigit(const Ch: WideChar): Boolean; overload; function IsASCIIHexDigit(const Ch: WideChar): Boolean; function HexDigitValue(const Ch: UCS4Char): Integer; overload; function HexDigitValue(const Ch: WideChar): Integer; overload; function IsUpperCase(const Ch: WideChar): Boolean; function IsLowerCase(const Ch: WideChar): Boolean; function IsTitleCase(const Ch: WideChar): Boolean; function WideUpCase(const Ch: WideChar): WideChar; function WideLowCase(const Ch: WideChar): WideChar; function WideUpCaseFolding(const Ch: WideChar): WideString; function WideLowCaseFolding(const Ch: WideChar): WideString; function WideTitleCaseFolding(const Ch: WideChar): WideString; function WideIsEqualNoCase(const A, B: WideChar): Boolean; function IsLetter(const Ch: WideChar): Boolean; function IsAlphabetic(const Ch: WideChar): Boolean; function GetCombiningClass(const Ch: WideChar): Byte; function GetCharacterDecomposition(const Ch: UCS4Char): WideString; overload; function GetCharacterDecomposition(const Ch: WideChar): WideString; overload; implementation { } { Character functions } { } function IsASCIIChar(const Ch: WideChar): Boolean; begin Result := Ord(Ch) <= $7F; end; function IsWhiteSpace(const Ch: WideChar): Boolean; begin Case Ch of #$0009..#$000D, // ASCII CONTROL #$0020, // SPACE #$0085, // <control> #$00A0, // NO-BREAK SPACE #$1680, // OGHAM SPACE MARK #$2000..#$200A, // EN QUAD..HAIR SPACE #$2028, // LINE SEPARATOR #$2029, // PARAGRAPH SEPARATOR #$202F, // NARROW NO-BREAK SPACE #$3000 : // IDEOGRAPHIC SPACE Result := True; else Result := False; end; end; function IsControl(const Ch: WideChar): Boolean; begin Case Ch of #$0000..#$001F, #$007F..#$009F : Result := True; else Result := False; end; end; function IsControlOrWhiteSpace(const Ch: WideChar): Boolean; begin Result := IsControl(Ch) or IsWhiteSpace(Ch); end; // Derived from 'Cf' + 'Cc' + 'Cs' - White_Space function IsIgnorable(const Ch: UCS4Char): Boolean; begin Case Ch of $0000..$0008, // # Cc [9] <control>..<control> $000E..$001F, // # Cc [18] <control>..<control> $007F..$0084, // # Cc [6] <control>..<control> $0086..$009F, // # Cc [26] <control>..<control> $06DD, // # Cf ARABIC END OF AYAH $070F, // # Cf SYRIAC ABBREVIATION MARK $180B..$180D, // # Mn [3] MONGOLIAN FREE VARIATION SELECTOR ONE..MONGOLIAN FREE VARIATION SELECTOR THREE $180E, // # Cf MONGOLIAN VOWEL SEPARATOR $200C..$200F, // # Cf [4] ZERO WIDTH NON-JOINER..RIGHT-TO-LEFT MARK $202A..$202E, // # Cf [5] LEFT-TO-RIGHT EMBEDDING..RIGHT-TO-LEFT OVERRIDE $2060..$2063, // # Cf [4] WORD JOINER..INVISIBLE SEPARATOR $2064..$2069, // # Cn [6] $206A..$206F, // # Cf [6] INHIBIT SYMMETRIC SWAPPING..NOMINAL DIGIT SHAPES $D800..$DFFF, // # Cs [2048] $FE00..$FE0F, // # Mn [16] VARIATION SELECTOR-1..VARIATION SELECTOR-16 $FEFF, // # Cf ZERO WIDTH NO-BREAK SPACE $FFF0..$FFF8, // # Cn [9] $FFF9..$FFFB, // # Cf [3] INTERLINEAR ANNOTATION ANCHOR..INTERLINEAR ANNOTATION TERMINATOR $1D173..$1D17A, // # Cf [8] MUSICAL SYMBOL BEGIN BEAM..MUSICAL SYMBOL END PHRASE $E0000, // # Cn $E0001, // # Cf LANGUAGE TAG $E0002..$E001F, // # Cn [30] $E0020..$E007F, // # Cf [96] TAG SPACE..CANCEL TAG $E0080..$E0FFF : // # Cn [3968] Result := True; else Result := False; end; end; function IsDash(const Ch: WideChar): Boolean; begin Case Ch of #$002D, // HYPHEN-MINUS #$00AD, // SOFT HYPHEN #$058A, // ARMENIAN HYPHEN #$1806, // MONGOLIAN TODO SOFT HYPHEN #$2010..#$2015, // HYPHEN..HORIZONTAL BAR #$207B, // SUPERSCRIPT MINUS #$208B, // SUBSCRIPT MINUS #$2212, // MINUS SIGN #$301C, // WAVE DASH #$3030, // WAVY DASH #$FE31..#$FE32, // PRESENTATION FORM FOR VERTICAL EM DASH..PRESENTATION FORM FOR VERTICAL EN DASH #$FE58, // SMALL EM DASH #$FE63, // SMALL HYPHEN-MINUS #$FF0D : // FULLWIDTH HYPHEN-MINUS Result := True; else Result := False; end; end; function IsHyphen(const Ch: WideChar): Boolean; begin Case Ch of #$002D, // HYPHEN-MINUS #$00AD, // SOFT HYPHEN #$058A, // ARMENIAN HYPHEN #$1806, // MONGOLIAN TODO SOFT HYPHEN #$2010..#$2011, // HYPHEN..NON-BREAKING HYPHEN #$30FB, // KATAKANA MIDDLE DOT #$FE63, // SMALL HYPHEN-MINUS #$FF0D, // FULLWIDTH HYPHEN-MINUS #$FF65 : // HALFWIDTH KATAKANA MIDDLE DOT Result := True; else Result := False; end; end; function IsFullStop(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $002E, // FULL STOP $0589, // ARMENIAN FULL STOP $06D4, // ARABIC FULL STOP $0701, // SYRIAC SUPRALINEAR FULL STOP $0702, // SYRIAC SUBLINEAR FULL STOP $1362, // ETHIOPIC FULL STOP $166E, // CANADIAN SYLLABICS FULL STOP $1803, // MONGOLIAN FULL STOP $1809, // MONGOLIAN MANCHU FULL STOP $3002, // IDEOGRAPHIC FULL STOP $FE52, // SMALL FULL STOP $FF0E, // FULLWIDTH FULL STOP $FF61 : // HALFWIDTH IDEOGRAPHIC FULL STOP Result := True; else Result := False; end; end; function IsComma(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $002C, // COMMA $055D, // ARMENIAN COMMA $060C, // ARABIC COMMA $0F14, // TIBETAN MARK GTER TSHEG $1363, // ETHIOPIC COMMA $1802, // MONGOLIAN COMMA $1808, // MONGOLIAN MANCHU COMMA $3001, // IDEOGRAPHIC COMMA $FE50, // SMALL COMMA $FE51, // SMALL IDEOGRAPHIC COMMA $FF0C, // FULLWIDTH COMMA $FF64 : // HALFWIDTH IDEOGRAPHIC COMMA Result := True; else Result := False; end; end; function IsExclamationMark(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $0021, // EXCLAMATION MARK $00A1, // INVERTED EXCLAMATION MARK $055C, // ARMENIAN EXCLAMATION MARK $203C, // DOUBLE EXCLAMATION MARK $203D, // INTERROBANG $2048, // QUESTION EXCLAMATION MARK $2049, // EXCLAMATION QUESTION MARK $FE57, // SMALL EXCLAMATION MARK $FF01 : // FULLWIDTH EXCLAMATION MARK Result := True; else Result := False; end; end; function IsQuestionMark(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $003F, // QUESTION MARK $00BF, // INVERTED QUESTION MARK $037E, // GREEK QUESTION MARK $055E, // ARMENIAN QUESTION MARK $061F, // ARABIC QUESTION MARK $1367, // ETHIOPIC QUESTION MARK $2049, // EXCLAMATION QUESTION MARK $FE56, // SMALL QUESTION MARK $FF1F : // FULLWIDTH QUESTION MARK Result := True; else Result := False; end; end; function GetRightParenthesis(const LeftParenthesis: WideChar): WideChar; begin Case Ord(LeftParenthesis) of $0028 : Result := #$0029; // PARENTHESIS $207D : Result := #$207E; // SUPERSCRIPT PARENTHESIS $208D : Result := #$208E; // SUBSCRIPT PARENTHESIS $FD3E : Result := #$FD3F; // ORNATE PARENTHESIS $FE35 : Result := #$FE36; // PRESENTATION FORM FOR VERTICAL PARENTHESIS $FE59 : Result := #$FE5A; // SMALL PARENTHESIS $FF08 : Result := #$FF09; // FULLWIDTH PARENTHESIS else Result := #$0000; end; end; function IsLeftParenthesis(const Ch: WideChar): Boolean; begin Result := GetRightParenthesis(Ch) <> #$0000; end; function GetRightBracket(const LeftBracket: WideChar): WideChar; begin Case Ord(LeftBracket) of $005B : Result := #$005D; // SQUARE BRACKET $007B : Result := #$007D; // CURLY BRACKET $2045 : Result := #$2046; // SQUARE BRACKET WITH QUILL $2329 : Result := #$232A; // POINTING ANGLE BRACKET $3008 : Result := #$3009; // ANGLE BRACKET $300A : Result := #$300B; // DOUBLE ANGLE BRACKET $300C : Result := #$300D; // CORNER BRACKET $300E : Result := #$300F; // WHITE CORNER BRACKET $3010 : Result := #$3011; // BLACK LENTICULAR BRACKET $3014 : Result := #$3015; // TORTOISE SHELL BRACKET $3016 : Result := #$3017; // WHITE LENTICULAR BRACKET $3018 : Result := #$3019; // WHITE TORTOISE SHELL BRACKET $301A : Result := #$301B; // WHITE SQUARE BRACKET $FE37 : Result := #$FE38; // PRESENTATION FORM FOR VERTICAL CURLY BRACKET $FE39 : Result := #$FE3A; // PRESENTATION FORM FOR VERTICAL TORTOISE SHELL BRACKET $FE3B : Result := #$FE3C; // PRESENTATION FORM FOR VERTICAL BLACK LENTICULAR BRACKET $FE3D : Result := #$FE3E; // PRESENTATION FORM FOR VERTICAL DOUBLE ANGLE BRACKET $FE3F : Result := #$FE40; // PRESENTATION FORM FOR VERTICAL ANGLE BRACKET $FE41 : Result := #$FE42; // PRESENTATION FORM FOR VERTICAL CORNER BRACKET $FE43 : Result := #$FE44; // PRESENTATION FORM FOR VERTICAL WHITE CORNER BRACKET $FE5B : Result := #$FE5C; // SMALL CURLY BRACKET $FE5D : Result := #$FE5E; // SMALL TORTOISE SHELL BRACKET $FF3B : Result := #$FF3D; // FULLWIDTH SQUARE BRACKET $FF5B : Result := #$FF5D; // FULLWIDTH CURLY BRACKET $FF62 : Result := #$FF63; // HALFWIDTH CORNER BRACKET else Result := #$0000; end; end; function IsLeftBracket(const Ch: WideChar): Boolean; begin Result := GetRightBracket(Ch) <> #$0000; end; function IsSingularQuotationMark(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $0022, // QUOTATION MARK $0027, // APOSTROPHE $FF02, // FULLWIDTH QUOTATION MARK $FF07 : // FULLWIDTH APOSTROPHE Result := True; else Result := False; end; end; function GetClosingQuotationMark(const OpeningQuote: WideChar): WideChar; begin Case Ord(OpeningQuote) of $00AB : Result := #$00BB; // LEFT/RIGHT -POINTING DOUBLE ANGLE QUOTATION MARK $2018 : Result := #$2019; // LEFT/RIGHT SINGLE QUOTATION MARK $201A : Result := #$201B; // SINGLE LOW-9 QUOTATION MARK / SINGLE HIGH-REVERSED-9 QUOTATION MARK $201C : Result := #$201D; // LEFT/RIGHT DOUBLE QUOTATION MARK $201E : Result := #$201F; // DOUBLE LOW-9 QUOTATION MARK / DOUBLE HIGH-REVERSED-9 QUOTATION MARK $2039 : Result := #$203A; // SINGLE LEFT/RIGHT -POINTING ANGLE QUOTATION MARK $301D : Result := #$301E; // REVERSED DOUBLE PRIME QUOTATION MARK / DOUBLE PRIME QUOTATION MARK (also $301F) else Result := #$0000; end; end; function IsOpeningQuotationMark(const Ch: WideChar): Boolean; begin Result := GetClosingQuotationMark(Ch) <> #$0000; end; function GetOpeningQuotationMark(const ClosingQuote: WideChar): WideChar; begin Case Ord(ClosingQuote) of $00BB : Result := #$00AB; // LEFT/RIGHT -POINTING DOUBLE ANGLE QUOTATION MARK $2019 : Result := #$2018; // LEFT/RIGHT SINGLE QUOTATION MARK $201B : Result := #$201A; // SINGLE LOW-9 QUOTATION MARK / SINGLE HIGH-REVERSED-9 QUOTATION MARK $201D : Result := #$201C; // LEFT/RIGHT DOUBLE QUOTATION MARK $201F : Result := #$201E; // DOUBLE LOW-9 QUOTATION MARK / DOUBLE HIGH-REVERSED-9 QUOTATION MARK $203A : Result := #$2039; // SINGLE LEFT/RIGHT -POINTING ANGLE QUOTATION MARK $301E : Result := #$301D; // REVERSED DOUBLE PRIME QUOTATION MARK / DOUBLE PRIME QUOTATION MARK $301F : Result := #$301D; // REVERSED DOUBLE PRIME QUOTATION MARK / LOW DOUBLE PRIME QUOTATION MARK else Result := #$0000; end; end; function IsClosingQuotationMark(const Ch: WideChar): Boolean; begin Result := GetOpeningQuotationMark(Ch) <> #$0000; end; function IsPunctuation(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $0021, // EXCLAMATION MARK $0022, // QUOTATION MARK $0023, // NUMBER SIGN $0025, // PERCENT SIGN $0026, // AMPERSAND $0027, // APOSTROPHE $0028, // LEFT PARENTHESIS $0029, // RIGHT PARENTHESIS $002A, // ASTERISK $002C, // COMMA $002D, // HYPHEN-MINUS $002E, // FULL STOP $002F, // SOLIDUS $003A, // COLON $003B, // SEMICOLON $003F, // QUESTION MARK $0040, // COMMERCIAL AT $005B, // LEFT SQUARE BRACKET $005C, // REVERSE SOLIDUS $005D, // RIGHT SQUARE BRACKET $005F, // LOW LINE $007B, // LEFT CURLY BRACKET $007D, // RIGHT CURLY BRACKET $00A1, // INVERTED EXCLAMATION MARK $00AB, // LEFT-POINTING DOUBLE ANGLE QUOTATION MARK $00AD, // SOFT HYPHEN $00B7, // MIDDLE DOT $00BB, // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK $00BF, // INVERTED QUESTION MARK $037E, // GREEK QUESTION MARK $0387, // GREEK ANO TELEIA $055A, // ARMENIAN APOSTROPHE $055B, // ARMENIAN EMPHASIS MARK $055C, // ARMENIAN EXCLAMATION MARK $055D, // ARMENIAN COMMA $055E, // ARMENIAN QUESTION MARK $055F, // ARMENIAN ABBREVIATION MARK $0589, // ARMENIAN FULL STOP $058A, // ARMENIAN HYPHEN $05BE, // HEBREW PUNCTUATION MAQAF $05C0, // HEBREW PUNCTUATION PASEQ $05C3, // HEBREW PUNCTUATION SOF PASUQ $05F3, // HEBREW PUNCTUATION GERESH $05F4, // HEBREW PUNCTUATION GERSHAYIM $060C, // ARABIC COMMA $061B, // ARABIC SEMICOLON $061F, // ARABIC QUESTION MARK $066A, // ARABIC PERCENT SIGN $066B, // ARABIC DECIMAL SEPARATOR $066C, // ARABIC THOUSANDS SEPARATOR $066D, // ARABIC FIVE POINTED STAR $06D4, // ARABIC FULL STOP $0700, // SYRIAC END OF PARAGRAPH $0701, // SYRIAC SUPRALINEAR FULL STOP $0702, // SYRIAC SUBLINEAR FULL STOP $0703, // SYRIAC SUPRALINEAR COLON $0704, // SYRIAC SUBLINEAR COLON $0705, // SYRIAC HORIZONTAL COLON $0706, // SYRIAC COLON SKEWED LEFT $0707, // SYRIAC COLON SKEWED RIGHT $0708, // SYRIAC SUPRALINEAR COLON SKEWED LEFT $0709, // SYRIAC SUBLINEAR COLON SKEWED RIGHT $070A, // SYRIAC CONTRACTION $070B, // SYRIAC HARKLEAN OBELUS $070C, // SYRIAC HARKLEAN METOBELUS $070D, // SYRIAC HARKLEAN ASTERISCUS $0964, // DEVANAGARI DANDA $0965, // DEVANAGARI DOUBLE DANDA $0970, // DEVANAGARI ABBREVIATION SIGN $0DF4, // SINHALA PUNCTUATION KUNDDALIYA $0E4F, // THAI CHARACTER FONGMAN $0E5A, // THAI CHARACTER ANGKHANKHU $0E5B, // THAI CHARACTER KHOMUT $0F04, // TIBETAN MARK INITIAL YIG MGO MDUN MA $0F05, // TIBETAN MARK CLOSING YIG MGO SGAB MA $0F06, // TIBETAN MARK CARET YIG MGO PHUR SHAD MA $0F07, // TIBETAN MARK YIG MGO TSHEG SHAD MA $0F08, // TIBETAN MARK SBRUL SHAD $0F09, // TIBETAN MARK BSKUR YIG MGO $0F0A, // TIBETAN MARK BKA- SHOG YIG MGO $0F0B, // TIBETAN MARK INTERSYLLABIC TSHEG $0F0C, // TIBETAN MARK DELIMITER TSHEG BSTAR $0F0D, // TIBETAN MARK SHAD $0F0E, // TIBETAN MARK NYIS SHAD $0F0F, // TIBETAN MARK TSHEG SHAD $0F10, // TIBETAN MARK NYIS TSHEG SHAD $0F11, // TIBETAN MARK RIN CHEN SPUNGS SHAD $0F12, // TIBETAN MARK RGYA GRAM SHAD $0F3A, // TIBETAN MARK GUG RTAGS GYON $0F3B, // TIBETAN MARK GUG RTAGS GYAS $0F3C, // TIBETAN MARK ANG KHANG GYON $0F3D, // TIBETAN MARK ANG KHANG GYAS $0F85, // TIBETAN MARK PALUTA $104A, // MYANMAR SIGN LITTLE SECTION $104B, // MYANMAR SIGN SECTION $104C, // MYANMAR SYMBOL LOCATIVE $104D, // MYANMAR SYMBOL COMPLETED $104E, // MYANMAR SYMBOL AFOREMENTIONED $104F, // MYANMAR SYMBOL GENITIVE $10FB, // GEORGIAN PARAGRAPH SEPARATOR $1361, // ETHIOPIC WORDSPACE $1362, // ETHIOPIC FULL STOP $1363, // ETHIOPIC COMMA $1364, // ETHIOPIC SEMICOLON $1365, // ETHIOPIC COLON $1366, // ETHIOPIC PREFACE COLON $1367, // ETHIOPIC QUESTION MARK $1368, // ETHIOPIC PARAGRAPH SEPARATOR $166D, // CANADIAN SYLLABICS CHI SIGN $166E, // CANADIAN SYLLABICS FULL STOP $169B, // OGHAM FEATHER MARK $169C, // OGHAM REVERSED FEATHER MARK $16EB, // RUNIC SINGLE PUNCTUATION $16EC, // RUNIC MULTIPLE PUNCTUATION $16ED, // RUNIC CROSS PUNCTUATION $17D4, // KHMER SIGN KHAN $17D5, // KHMER SIGN BARIYOOSAN $17D6, // KHMER SIGN CAMNUC PII KUUH $17D7, // KHMER SIGN LEK TOO $17D8, // KHMER SIGN BEYYAL $17D9, // KHMER SIGN PHNAEK MUAN $17DA, // KHMER SIGN KOOMUUT $17DC, // KHMER SIGN AVAKRAHASANYA $1800, // MONGOLIAN BIRGA $1801, // MONGOLIAN ELLIPSIS $1802, // MONGOLIAN COMMA $1803, // MONGOLIAN FULL STOP $1804, // MONGOLIAN COLON $1805, // MONGOLIAN FOUR DOTS $1806, // MONGOLIAN TODO SOFT HYPHEN $1807, // MONGOLIAN SIBE SYLLABLE BOUNDARY MARKER $1808, // MONGOLIAN MANCHU COMMA $1809, // MONGOLIAN MANCHU FULL STOP $180A, // MONGOLIAN NIRUGU $2010, // HYPHEN $2011, // NON-BREAKING HYPHEN $2012, // FIGURE DASH $2013, // EN DASH $2014, // EM DASH $2015, // HORIZONTAL BAR $2016, // DOUBLE VERTICAL LINE $2017, // DOUBLE LOW LINE $2018, // LEFT SINGLE QUOTATION MARK $2019, // RIGHT SINGLE QUOTATION MARK $201A, // SINGLE LOW-9 QUOTATION MARK $201B, // SINGLE HIGH-REVERSED-9 QUOTATION MARK $201C, // LEFT DOUBLE QUOTATION MARK $201D, // RIGHT DOUBLE QUOTATION MARK $201E, // DOUBLE LOW-9 QUOTATION MARK $201F, // DOUBLE HIGH-REVERSED-9 QUOTATION MARK $2020, // DAGGER $2021, // DOUBLE DAGGER $2022, // BULLET $2023, // TRIANGULAR BULLET $2024, // ONE DOT LEADER $2025, // TWO DOT LEADER $2026, // HORIZONTAL ELLIPSIS $2027, // HYPHENATION POINT $2030, // PER MILLE SIGN $2031, // PER TEN THOUSAND SIGN $2032, // PRIME $2033, // DOUBLE PRIME $2034, // TRIPLE PRIME $2035, // REVERSED PRIME $2036, // REVERSED DOUBLE PRIME $2037, // REVERSED TRIPLE PRIME $2038, // CARET $2039, // SINGLE LEFT-POINTING ANGLE QUOTATION MARK $203A, // SINGLE RIGHT-POINTING ANGLE QUOTATION MARK $203B, // REFERENCE MARK $203C, // DOUBLE EXCLAMATION MARK $203D, // INTERROBANG $203E, // OVERLINE $203F, // UNDERTIE $2040, // CHARACTER TIE $2041, // CARET INSERTION POINT $2042, // ASTERISM $2043, // HYPHEN BULLET $2045, // LEFT SQUARE BRACKET WITH QUILL $2046, // RIGHT SQUARE BRACKET WITH QUILL $2048, // QUESTION EXCLAMATION MARK $2049, // EXCLAMATION QUESTION MARK $204A, // TIRONIAN SIGN ET $204B, // REVERSED PILCROW SIGN $204C, // BLACK LEFTWARDS BULLET $204D, // BLACK RIGHTWARDS BULLET $207D, // SUPERSCRIPT LEFT PARENTHESIS $207E, // SUPERSCRIPT RIGHT PARENTHESIS $208D, // SUBSCRIPT LEFT PARENTHESIS $208E, // SUBSCRIPT RIGHT PARENTHESIS $2329, // LEFT-POINTING ANGLE BRACKET $232A, // RIGHT-POINTING ANGLE BRACKET $3001, // IDEOGRAPHIC COMMA $3002, // IDEOGRAPHIC FULL STOP $3003, // DITTO MARK $3008, // LEFT ANGLE BRACKET $3009, // RIGHT ANGLE BRACKET $300A, // LEFT DOUBLE ANGLE BRACKET $300B, // RIGHT DOUBLE ANGLE BRACKET $300C, // LEFT CORNER BRACKET $300D, // RIGHT CORNER BRACKET $300E, // LEFT WHITE CORNER BRACKET $300F, // RIGHT WHITE CORNER BRACKET $3010, // LEFT BLACK LENTICULAR BRACKET $3011, // RIGHT BLACK LENTICULAR BRACKET $3014, // LEFT TORTOISE SHELL BRACKET $3015, // RIGHT TORTOISE SHELL BRACKET $3016, // LEFT WHITE LENTICULAR BRACKET $3017, // RIGHT WHITE LENTICULAR BRACKET $3018, // LEFT WHITE TORTOISE SHELL BRACKET $3019, // RIGHT WHITE TORTOISE SHELL BRACKET $301A, // LEFT WHITE SQUARE BRACKET $301B, // RIGHT WHITE SQUARE BRACKET $301C, // WAVE DASH $301D, // REVERSED DOUBLE PRIME QUOTATION MARK $301E, // DOUBLE PRIME QUOTATION MARK $301F, // LOW DOUBLE PRIME QUOTATION MARK $3030, // WAVY DASH $30FB, // KATAKANA MIDDLE DOT $FD3E, // ORNATE LEFT PARENTHESIS $FD3F, // ORNATE RIGHT PARENTHESIS $FE30, // PRESENTATION FORM FOR VERTICAL TWO DOT LEADER $FE31, // PRESENTATION FORM FOR VERTICAL EM DASH $FE32, // PRESENTATION FORM FOR VERTICAL EN DASH $FE33, // PRESENTATION FORM FOR VERTICAL LOW LINE $FE34, // PRESENTATION FORM FOR VERTICAL WAVY LOW LINE $FE35, // PRESENTATION FORM FOR VERTICAL LEFT PARENTHESIS $FE36, // PRESENTATION FORM FOR VERTICAL RIGHT PARENTHESIS $FE37, // PRESENTATION FORM FOR VERTICAL LEFT CURLY BRACKET $FE38, // PRESENTATION FORM FOR VERTICAL RIGHT CURLY BRACKET $FE39, // PRESENTATION FORM FOR VERTICAL LEFT TORTOISE SHELL BRACKET $FE3A, // PRESENTATION FORM FOR VERTICAL RIGHT TORTOISE SHELL BRACKET $FE3B, // PRESENTATION FORM FOR VERTICAL LEFT BLACK LENTICULAR BRACKET $FE3C, // PRESENTATION FORM FOR VERTICAL RIGHT BLACK LENTICULAR BRACKET $FE3D, // PRESENTATION FORM FOR VERTICAL LEFT DOUBLE ANGLE BRACKET $FE3E, // PRESENTATION FORM FOR VERTICAL RIGHT DOUBLE ANGLE BRACKET $FE3F, // PRESENTATION FORM FOR VERTICAL LEFT ANGLE BRACKET $FE40, // PRESENTATION FORM FOR VERTICAL RIGHT ANGLE BRACKET $FE41, // PRESENTATION FORM FOR VERTICAL LEFT CORNER BRACKET $FE42, // PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET $FE43, // PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET $FE44, // PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET $FE49, // DASHED OVERLINE $FE4A, // CENTRELINE OVERLINE $FE4B, // WAVY OVERLINE $FE4C, // DOUBLE WAVY OVERLINE $FE4D, // DASHED LOW LINE $FE4E, // CENTRELINE LOW LINE $FE4F, // WAVY LOW LINE $FE50, // SMALL COMMA $FE51, // SMALL IDEOGRAPHIC COMMA $FE52, // SMALL FULL STOP $FE54, // SMALL SEMICOLON $FE55, // SMALL COLON $FE56, // SMALL QUESTION MARK $FE57, // SMALL EXCLAMATION MARK $FE58, // SMALL EM DASH $FE59, // SMALL LEFT PARENTHESIS $FE5A, // SMALL RIGHT PARENTHESIS $FE5B, // SMALL LEFT CURLY BRACKET $FE5C, // SMALL RIGHT CURLY BRACKET $FE5D, // SMALL LEFT TORTOISE SHELL BRACKET $FE5E, // SMALL RIGHT TORTOISE SHELL BRACKET $FE5F, // SMALL NUMBER SIGN $FE60, // SMALL AMPERSAND $FE61, // SMALL ASTERISK $FE63, // SMALL HYPHEN-MINUS $FE68, // SMALL REVERSE SOLIDUS $FE6A, // SMALL PERCENT SIGN $FE6B, // SMALL COMMERCIAL AT $FF01, // FULLWIDTH EXCLAMATION MARK $FF02, // FULLWIDTH QUOTATION MARK $FF03, // FULLWIDTH NUMBER SIGN $FF05, // FULLWIDTH PERCENT SIGN $FF06, // FULLWIDTH AMPERSAND $FF07, // FULLWIDTH APOSTROPHE $FF08, // FULLWIDTH LEFT PARENTHESIS $FF09, // FULLWIDTH RIGHT PARENTHESIS $FF0A, // FULLWIDTH ASTERISK $FF0C, // FULLWIDTH COMMA $FF0D, // FULLWIDTH HYPHEN-MINUS $FF0E, // FULLWIDTH FULL STOP $FF0F, // FULLWIDTH SOLIDUS $FF1A, // FULLWIDTH COLON $FF1B, // FULLWIDTH SEMICOLON $FF1F, // FULLWIDTH QUESTION MARK $FF20, // FULLWIDTH COMMERCIAL AT $FF3B, // FULLWIDTH LEFT SQUARE BRACKET $FF3C, // FULLWIDTH REVERSE SOLIDUS $FF3D, // FULLWIDTH RIGHT SQUARE BRACKET $FF3F, // FULLWIDTH LOW LINE $FF5B, // FULLWIDTH LEFT CURLY BRACKET $FF5D, // FULLWIDTH RIGHT CURLY BRACKET $FF61, // HALFWIDTH IDEOGRAPHIC FULL STOP $FF62, // HALFWIDTH LEFT CORNER BRACKET $FF63, // HALFWIDTH RIGHT CORNER BRACKET $FF64, // HALFWIDTH IDEOGRAPHIC COMMA $FF65 : // HALFWIDTH KATAKANA MIDDLE DOT Result := True; else Result := False; end; end; function DecimalDigitBase(const Ch: UCS4Char): UCS4Char; begin Case Ch of $0030..$0039 : Result := $0030; // DIGIT $0660..$0669 : Result := $0660; // ARABIC-INDIC DIGIT $06F0..$06F9 : Result := $06F0; // EXTENDED ARABIC-INDIC DIGIT $0966..$096F : Result := $0966; // DEVANAGARI DIGIT $09E6..$09EF : Result := $09E6; // BENGALI DIGIT $0A66..$0A6F : Result := $0A66; // GURMUKHI DIGIT $0AE6..$0AEF : Result := $0AE6; // GUJARATI DIGIT $0B66..$0B6F : Result := $0B66; // ORIYA DIGIT $0C66..$0C6F : Result := $0C66; // TELUGU DIGIT $0CE6..$0CEF : Result := $0CE6; // KANNADA DIGIT $0D66..$0D6F : Result := $0D66; // MALAYALAM DIGIT $0E50..$0E59 : Result := $0E50; // THAI DIGIT $0ED0..$0ED9 : Result := $0ED0; // LAO DIGIT $0F20..$0F29 : Result := $0F20; // TIBETAN DIGIT $1040..$1049 : Result := $1040; // MYANMAR DIGIT $17E0..$17E9 : Result := $17E0; // KHMER DIGIT $1810..$1819 : Result := $1810; // MONGOLIAN DIGIT $2070..$2079 : Result := $2070; // SUPERSCRIPT DIGIT $2080..$2089 : Result := $2080; // SUBSCRIPT DIGIT $FF10..$FF19 : Result := $FF10; // FULLWIDTH DIGIT $1D7CE..$1D7D7 : Result := $1D7CE; // MATHEMATICAL BOLD DIGIT $1D7D8..$1D7E1 : Result := $1D7D8; // MATHEMATICAL DOUBLE-STRUCK DIGIT $1D7E2..$1D7EB : Result := $1D7E2; // MATHEMATICAL SANS-SERIF DIGIT $1D7EC..$1D7F5 : Result := $1D7EC; // MATHEMATICAL SANS-SERIF BOLD DIGIT $1D7F6..$1D7FF : Result := $1D7F6; // MATHEMATICAL MONOSPACE DIGIT else Result := 0; end; end; function DecimalDigitValue(const Ch: UCS4Char): Integer; var I : LongWord; begin I := DecimalDigitBase(Ch); if I = 0 then Result := -1 else Result := Ch - I; end; function DecimalDigitValue(const Ch: WideChar): Integer; begin Result := DecimalDigitValue(Ord(Ch)); end; function IsDecimalDigit(const Ch: UCS4Char): Boolean; begin Result := DecimalDigitBase(Ch) <> 0; end; function IsDecimalDigit(const Ch: WideChar): Boolean; begin Result := DecimalDigitBase(Ord(Ch)) <> 0; end; function IsASCIIDecimalDigit(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $0030..$0039 : Result := True; else Result := False; end; end; function FractionCharacterValue(const Ch: WideChar; var A, B : Integer): Boolean; begin Case Ord(Ch) of $00BC : begin A := 1; B := 4; end; // # No VULGAR FRACTION ONE QUARTER $00BD : begin A := 1; B := 2; end; // # No VULGAR FRACTION ONE HALF $00BE : begin A := 3; B := 4; end; // # No VULGAR FRACTION THREE QUARTERS $0F2A : begin A := 1; B := 2; end; // # No TIBETAN DIGIT HALF ONE $2153 : begin A := 1; B := 3; end; // # No VULGAR FRACTION ONE THIRD $2154 : begin A := 2; B := 3; end; // # No VULGAR FRACTION TWO THIRDS $2155 : begin A := 1; B := 5; end; // # No VULGAR FRACTION ONE FIFTH $2156 : begin A := 2; B := 5; end; // # No VULGAR FRACTION TWO FIFTHS $2157 : begin A := 3; B := 5; end; // # No VULGAR FRACTION THREE FIFTHS $2158 : begin A := 4; B := 5; end; // # No VULGAR FRACTION FOUR FIFTHS $2159 : begin A := 1; B := 6; end; // # No VULGAR FRACTION ONE SIXTH $215A : begin A := 5; B := 6; end; // # No VULGAR FRACTION FIVE SIXTHS $215B : begin A := 1; B := 8; end; // # No VULGAR FRACTION ONE EIGHTH $215C : begin A := 3; B := 8; end; // # No VULGAR FRACTION THREE EIGHTHS $215D : begin A := 5; B := 8; end; // # No VULGAR FRACTION FIVE EIGHTHS $215E : begin A := 7; B := 8; end; // # No VULGAR FRACTION SEVEN EIGHTHS else begin A := 0; B := 0; end; end; Result := B <> 0; end; function RomanNumeralValue(const Ch: WideChar): Integer; begin Case Ord(Ch) of $2160 : Result := 1; // Nl ROMAN NUMERAL ONE $2161 : Result := 2; // Nl ROMAN NUMERAL TWO $2162 : Result := 3; // Nl ROMAN NUMERAL THREE $2163 : Result := 4; // Nl ROMAN NUMERAL FOUR $2164 : Result := 5; // Nl ROMAN NUMERAL FIVE $2165 : Result := 6; // Nl ROMAN NUMERAL SIX $2166 : Result := 7; // Nl ROMAN NUMERAL SEVEN $2167 : Result := 8; // Nl ROMAN NUMERAL EIGHT $2168 : Result := 9; // Nl ROMAN NUMERAL NINE $2169 : Result := 10; // Nl ROMAN NUMERAL TEN $216A : Result := 11; // Nl ROMAN NUMERAL ELEVEN $216B : Result := 12; // Nl ROMAN NUMERAL TWELVE $216C : Result := 50; // Nl ROMAN NUMERAL FIFTY $216D : Result := 100; // Nl ROMAN NUMERAL ONE HUNDRED $216E : Result := 500; // Nl ROMAN NUMERAL FIVE HUNDRED $216F : Result := 1000; // Nl ROMAN NUMERAL ONE THOUSAND $2170 : Result := 1; // Nl SMALL ROMAN NUMERAL ONE $2171 : Result := 2; // Nl SMALL ROMAN NUMERAL TWO $2172 : Result := 3; // Nl SMALL ROMAN NUMERAL THREE $2173 : Result := 4; // Nl SMALL ROMAN NUMERAL FOUR $2174 : Result := 5; // Nl SMALL ROMAN NUMERAL FIVE $2175 : Result := 6; // Nl SMALL ROMAN NUMERAL SIX $2176 : Result := 7; // Nl SMALL ROMAN NUMERAL SEVEN $2177 : Result := 8; // Nl SMALL ROMAN NUMERAL EIGHT $2178 : Result := 9; // Nl SMALL ROMAN NUMERAL NINE $2179 : Result := 10; // Nl SMALL ROMAN NUMERAL TEN $217A : Result := 11; // Nl SMALL ROMAN NUMERAL ELEVEN $217B : Result := 12; // Nl SMALL ROMAN NUMERAL TWELVE $217C : Result := 50; // Nl SMALL ROMAN NUMERAL FIFTY $217D : Result := 100; // Nl SMALL ROMAN NUMERAL ONE HUNDRED $217E : Result := 500; // Nl SMALL ROMAN NUMERAL FIVE HUNDRED $217F..$2180 : Result := 1000; // Nl [2] SMALL ROMAN NUMERAL ONE THOUSAND..ROMAN NUMERAL ONE THOUSAND C D $2181 : Result := 5000; // Nl ROMAN NUMERAL FIVE THOUSAND $2182 : Result := 10000; // Nl ROMAN NUMERAL TEN THOUSAND else Result := 0; end; end; function LatinAlphaCharBase(const Ch: WideChar): UCS4Char; begin Case Ord(Ch) of $0041..$005A : Result := $0041; // LATIN CAPITAL LETTER $0061..$007A : Result := $0061; // LATIN SMALL LETTER $FF21..$FF3A : Result := $FF21; // FULLWIDTH LATIN CAPITAL LETTER $FF41..$FF5A : Result := $FF41; // FULLWIDTH LATIN SMALL LETTER else Result := 0; end; end; function HexAlphaDigitBase(const Ch: WideChar): UCS4Char; overload; begin Result := LatinAlphaCharBase(Ch); if Result = 0 then exit; if Ord(Ch) - Result > 5 then Result := 0; end; function HexAlphaDigitBase(const Ch: UCS4Char): UCS4Char; overload; begin if Ch <= $FFFF then Result := HexAlphaDigitBase(WideChar(Ch)) else Case Ch of $1D400..$1D405 : Result := $1D400; // MATHEMATICAL BOLD CAPITAL $1D41A..$1D41F : Result := $1D41A; // MATHEMATICAL BOLD SMALL $1D434..$1D439 : Result := $1D434; // MATHEMATICAL ITALIC CAPITAL $1D44E..$1D453 : Result := $1D44E; // MATHEMATICAL ITALIC SMALL $1D468..$1D46D : Result := $1D468; // MATHEMATICAL BOLD ITALIC CAPITAL $1D482..$1D487 : Result := $1D482; // MATHEMATICAL BOLD ITALIC SMALL $1D49C..$1D4A1 : Result := $1D49C; // MATHEMATICAL SCRIPT CAPITAL $1D4B6..$1D4BB : Result := $1D4B6; // MATHEMATICAL SCRIPT SMALL $1D4D0..$1D4D5 : Result := $1D4D0; // MATHEMATICAL BOLD SCRIPT CAPITAL $1D4EA..$1D4EF : Result := $1D4EA; // MATHEMATICAL BOLD SCRIPT SMALL $1D504..$1D509 : Result := $1D504; // MATHEMATICAL FRAKTUR CAPITAL $1D51E..$1D523 : Result := $1D51E; // MATHEMATICAL FRAKTUR SMALL $1D538..$1D53D : Result := $1D538; // MATHEMATICAL DOUBLE-STRUCK CAPITAL $1D552..$1D557 : Result := $1D552; // MATHEMATICAL DOUBLE-STRUCK SMALL $1D56C..$1D571 : Result := $1D56C; // MATHEMATICAL BOLD FRAKTUR CAPITAL $1D586..$1D58B : Result := $1D586; // MATHEMATICAL BOLD FRAKTUR SMALL $1D5A0..$1D5A5 : Result := $1D5A0; // MATHEMATICAL SANS-SERIF CAPITAL $1D5BA..$1D5BF : Result := $1D5BA; // MATHEMATICAL SANS-SERIF SMALL $1D5D4..$1D5D9 : Result := $1D5D4; // MATHEMATICAL SANS-SERIF BOLD CAPITAL $1D5EE..$1D5F3 : Result := $1D5EE; // MATHEMATICAL SANS-SERIF BOLD SMALL $1D608..$1D60D : Result := $1D608; // MATHEMATICAL SANS-SERIF ITALIC CAPITAL $1D622..$1D627 : Result := $1D622; // MATHEMATICAL SANS-SERIF ITALIC SMALL $1D63C..$1D641 : Result := $1D63C; // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL $1D656..$1D65B : Result := $1D656; // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL $1D670..$1D675 : Result := $1D670; // MATHEMATICAL MONOSPACE CAPITAL $1D68A..$1D68F : Result := $1D68A; // MATHEMATICAL MONOSPACE SMALL $E0041..$E0046 : Result := $E0041; // TAG LATIN CAPITAL LETTER else Result := 0; end; end; function HexDigitValue(const Ch: UCS4Char): Integer; var I : UCS4Char; begin Result := DecimalDigitValue(Ch); if Result >= 0 then exit; I := HexAlphaDigitBase(Ch); if I > 0 then Result := Ch - I + 10; end; function HexDigitValue(const Ch: WideChar): Integer; var I : UCS4Char; begin Result := DecimalDigitValue(Ch); if Result >= 0 then exit; I := HexAlphaDigitBase(Ch); if I > 0 then Result := Ord(Ch) - I + 10; end; function IsHexDigit(const Ch: UCS4Char): Boolean; begin Result := HexDigitValue(Ch) >= 0; end; function IsHexDigit(const Ch: WideChar): Boolean; begin Result := HexDigitValue(Ch) >= 0; end; function IsASCIIHexDigit(const Ch: WideChar): Boolean; begin Case Ord(Ch) of $0030..$0039, $0041..$0046, $0061..$0066 : Result := True; else Result := False; end; end; { Unicode letter table } type TUnicodeLetterAttr = (laUpper, laLower); TUnicodeLetterInfo = packed record Unicode : WideChar; Attr : TUnicodeLetterAttr; CaseCode : WideChar; end; PUnicodeLetterInfo = ^TUnicodeLetterInfo; const // Derived from 'Lu' and 'Ll' class UnicodeLetterEntries = 1492; // ~7K table UnicodeLetterInfo : Array[0..UnicodeLetterEntries - 1] of TUnicodeLetterInfo = ( (Unicode:#$0041; Attr:laUpper; CaseCode:#$0061), // LATIN CAPITAL LETTER A (Unicode:#$0042; Attr:laUpper; CaseCode:#$0062), // LATIN CAPITAL LETTER B (Unicode:#$0043; Attr:laUpper; CaseCode:#$0063), // LATIN CAPITAL LETTER C (Unicode:#$0044; Attr:laUpper; CaseCode:#$0064), // LATIN CAPITAL LETTER D (Unicode:#$0045; Attr:laUpper; CaseCode:#$0065), // LATIN CAPITAL LETTER E (Unicode:#$0046; Attr:laUpper; CaseCode:#$0066), // LATIN CAPITAL LETTER F (Unicode:#$0047; Attr:laUpper; CaseCode:#$0067), // LATIN CAPITAL LETTER G (Unicode:#$0048; Attr:laUpper; CaseCode:#$0068), // LATIN CAPITAL LETTER H (Unicode:#$0049; Attr:laUpper; CaseCode:#$0069), // LATIN CAPITAL LETTER I (Unicode:#$004A; Attr:laUpper; CaseCode:#$006A), // LATIN CAPITAL LETTER J (Unicode:#$004B; Attr:laUpper; CaseCode:#$006B), // LATIN CAPITAL LETTER K (Unicode:#$004C; Attr:laUpper; CaseCode:#$006C), // LATIN CAPITAL LETTER L (Unicode:#$004D; Attr:laUpper; CaseCode:#$006D), // LATIN CAPITAL LETTER M (Unicode:#$004E; Attr:laUpper; CaseCode:#$006E), // LATIN CAPITAL LETTER N (Unicode:#$004F; Attr:laUpper; CaseCode:#$006F), // LATIN CAPITAL LETTER O (Unicode:#$0050; Attr:laUpper; CaseCode:#$0070), // LATIN CAPITAL LETTER P (Unicode:#$0051; Attr:laUpper; CaseCode:#$0071), // LATIN CAPITAL LETTER Q (Unicode:#$0052; Attr:laUpper; CaseCode:#$0072), // LATIN CAPITAL LETTER R (Unicode:#$0053; Attr:laUpper; CaseCode:#$0073), // LATIN CAPITAL LETTER S (Unicode:#$0054; Attr:laUpper; CaseCode:#$0074), // LATIN CAPITAL LETTER T (Unicode:#$0055; Attr:laUpper; CaseCode:#$0075), // LATIN CAPITAL LETTER U (Unicode:#$0056; Attr:laUpper; CaseCode:#$0076), // LATIN CAPITAL LETTER V (Unicode:#$0057; Attr:laUpper; CaseCode:#$0077), // LATIN CAPITAL LETTER W (Unicode:#$0058; Attr:laUpper; CaseCode:#$0078), // LATIN CAPITAL LETTER X (Unicode:#$0059; Attr:laUpper; CaseCode:#$0079), // LATIN CAPITAL LETTER Y (Unicode:#$005A; Attr:laUpper; CaseCode:#$007A), // LATIN CAPITAL LETTER Z (Unicode:#$0061; Attr:laLower; CaseCode:#$0041), // LATIN SMALL LETTER A (Unicode:#$0062; Attr:laLower; CaseCode:#$0042), // LATIN SMALL LETTER B (Unicode:#$0063; Attr:laLower; CaseCode:#$0043), // LATIN SMALL LETTER C (Unicode:#$0064; Attr:laLower; CaseCode:#$0044), // LATIN SMALL LETTER D (Unicode:#$0065; Attr:laLower; CaseCode:#$0045), // LATIN SMALL LETTER E (Unicode:#$0066; Attr:laLower; CaseCode:#$0046), // LATIN SMALL LETTER F (Unicode:#$0067; Attr:laLower; CaseCode:#$0047), // LATIN SMALL LETTER G (Unicode:#$0068; Attr:laLower; CaseCode:#$0048), // LATIN SMALL LETTER H (Unicode:#$0069; Attr:laLower; CaseCode:#$0049), // LATIN SMALL LETTER I (Unicode:#$006A; Attr:laLower; CaseCode:#$004A), // LATIN SMALL LETTER J (Unicode:#$006B; Attr:laLower; CaseCode:#$004B), // LATIN SMALL LETTER K (Unicode:#$006C; Attr:laLower; CaseCode:#$004C), // LATIN SMALL LETTER L (Unicode:#$006D; Attr:laLower; CaseCode:#$004D), // LATIN SMALL LETTER M (Unicode:#$006E; Attr:laLower; CaseCode:#$004E), // LATIN SMALL LETTER N (Unicode:#$006F; Attr:laLower; CaseCode:#$004F), // LATIN SMALL LETTER O (Unicode:#$0070; Attr:laLower; CaseCode:#$0050), // LATIN SMALL LETTER P (Unicode:#$0071; Attr:laLower; CaseCode:#$0051), // LATIN SMALL LETTER Q (Unicode:#$0072; Attr:laLower; CaseCode:#$0052), // LATIN SMALL LETTER R (Unicode:#$0073; Attr:laLower; CaseCode:#$0053), // LATIN SMALL LETTER S (Unicode:#$0074; Attr:laLower; CaseCode:#$0054), // LATIN SMALL LETTER T (Unicode:#$0075; Attr:laLower; CaseCode:#$0055), // LATIN SMALL LETTER U (Unicode:#$0076; Attr:laLower; CaseCode:#$0056), // LATIN SMALL LETTER V (Unicode:#$0077; Attr:laLower; CaseCode:#$0057), // LATIN SMALL LETTER W (Unicode:#$0078; Attr:laLower; CaseCode:#$0058), // LATIN SMALL LETTER X (Unicode:#$0079; Attr:laLower; CaseCode:#$0059), // LATIN SMALL LETTER Y (Unicode:#$007A; Attr:laLower; CaseCode:#$005A), // LATIN SMALL LETTER Z (Unicode:#$00AA; Attr:laLower; CaseCode:#$FFFF), // FEMININE ORDINAL INDICATOR (Unicode:#$00B5; Attr:laLower; CaseCode:#$039C), // MICRO SIGN (Unicode:#$00BA; Attr:laLower; CaseCode:#$FFFF), // MASCULINE ORDINAL INDICATOR (Unicode:#$00C0; Attr:laUpper; CaseCode:#$00E0), // LATIN CAPITAL LETTER A WITH GRAVE (Unicode:#$00C1; Attr:laUpper; CaseCode:#$00E1), // LATIN CAPITAL LETTER A WITH ACUTE (Unicode:#$00C2; Attr:laUpper; CaseCode:#$00E2), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX (Unicode:#$00C3; Attr:laUpper; CaseCode:#$00E3), // LATIN CAPITAL LETTER A WITH TILDE (Unicode:#$00C4; Attr:laUpper; CaseCode:#$00E4), // LATIN CAPITAL LETTER A WITH DIAERESIS (Unicode:#$00C5; Attr:laUpper; CaseCode:#$00E5), // LATIN CAPITAL LETTER A WITH RING ABOVE (Unicode:#$00C6; Attr:laUpper; CaseCode:#$00E6), // LATIN CAPITAL LETTER AE (Unicode:#$00C7; Attr:laUpper; CaseCode:#$00E7), // LATIN CAPITAL LETTER C WITH CEDILLA (Unicode:#$00C8; Attr:laUpper; CaseCode:#$00E8), // LATIN CAPITAL LETTER E WITH GRAVE (Unicode:#$00C9; Attr:laUpper; CaseCode:#$00E9), // LATIN CAPITAL LETTER E WITH ACUTE (Unicode:#$00CA; Attr:laUpper; CaseCode:#$00EA), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX (Unicode:#$00CB; Attr:laUpper; CaseCode:#$00EB), // LATIN CAPITAL LETTER E WITH DIAERESIS (Unicode:#$00CC; Attr:laUpper; CaseCode:#$00EC), // LATIN CAPITAL LETTER I WITH GRAVE (Unicode:#$00CD; Attr:laUpper; CaseCode:#$00ED), // LATIN CAPITAL LETTER I WITH ACUTE (Unicode:#$00CE; Attr:laUpper; CaseCode:#$00EE), // LATIN CAPITAL LETTER I WITH CIRCUMFLEX (Unicode:#$00CF; Attr:laUpper; CaseCode:#$00EF), // LATIN CAPITAL LETTER I WITH DIAERESIS (Unicode:#$00D0; Attr:laUpper; CaseCode:#$00F0), // LATIN CAPITAL LETTER ETH (Unicode:#$00D1; Attr:laUpper; CaseCode:#$00F1), // LATIN CAPITAL LETTER N WITH TILDE (Unicode:#$00D2; Attr:laUpper; CaseCode:#$00F2), // LATIN CAPITAL LETTER O WITH GRAVE (Unicode:#$00D3; Attr:laUpper; CaseCode:#$00F3), // LATIN CAPITAL LETTER O WITH ACUTE (Unicode:#$00D4; Attr:laUpper; CaseCode:#$00F4), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX (Unicode:#$00D5; Attr:laUpper; CaseCode:#$00F5), // LATIN CAPITAL LETTER O WITH TILDE (Unicode:#$00D6; Attr:laUpper; CaseCode:#$00F6), // LATIN CAPITAL LETTER O WITH DIAERESIS (Unicode:#$00D8; Attr:laUpper; CaseCode:#$00F8), // LATIN CAPITAL LETTER O WITH STROKE (Unicode:#$00D9; Attr:laUpper; CaseCode:#$00F9), // LATIN CAPITAL LETTER U WITH GRAVE (Unicode:#$00DA; Attr:laUpper; CaseCode:#$00FA), // LATIN CAPITAL LETTER U WITH ACUTE (Unicode:#$00DB; Attr:laUpper; CaseCode:#$00FB), // LATIN CAPITAL LETTER U WITH CIRCUMFLEX (Unicode:#$00DC; Attr:laUpper; CaseCode:#$00FC), // LATIN CAPITAL LETTER U WITH DIAERESIS (Unicode:#$00DD; Attr:laUpper; CaseCode:#$00FD), // LATIN CAPITAL LETTER Y WITH ACUTE (Unicode:#$00DE; Attr:laUpper; CaseCode:#$00FE), // LATIN CAPITAL LETTER THORN (Unicode:#$00DF; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER SHARP S (Unicode:#$00E0; Attr:laLower; CaseCode:#$00C0), // LATIN SMALL LETTER A WITH GRAVE (Unicode:#$00E1; Attr:laLower; CaseCode:#$00C1), // LATIN SMALL LETTER A WITH ACUTE (Unicode:#$00E2; Attr:laLower; CaseCode:#$00C2), // LATIN SMALL LETTER A WITH CIRCUMFLEX (Unicode:#$00E3; Attr:laLower; CaseCode:#$00C3), // LATIN SMALL LETTER A WITH TILDE (Unicode:#$00E4; Attr:laLower; CaseCode:#$00C4), // LATIN SMALL LETTER A WITH DIAERESIS (Unicode:#$00E5; Attr:laLower; CaseCode:#$00C5), // LATIN SMALL LETTER A WITH RING ABOVE (Unicode:#$00E6; Attr:laLower; CaseCode:#$00C6), // LATIN SMALL LETTER AE (Unicode:#$00E7; Attr:laLower; CaseCode:#$00C7), // LATIN SMALL LETTER C WITH CEDILLA (Unicode:#$00E8; Attr:laLower; CaseCode:#$00C8), // LATIN SMALL LETTER E WITH GRAVE (Unicode:#$00E9; Attr:laLower; CaseCode:#$00C9), // LATIN SMALL LETTER E WITH ACUTE (Unicode:#$00EA; Attr:laLower; CaseCode:#$00CA), // LATIN SMALL LETTER E WITH CIRCUMFLEX (Unicode:#$00EB; Attr:laLower; CaseCode:#$00CB), // LATIN SMALL LETTER E WITH DIAERESIS (Unicode:#$00EC; Attr:laLower; CaseCode:#$00CC), // LATIN SMALL LETTER I WITH GRAVE (Unicode:#$00ED; Attr:laLower; CaseCode:#$00CD), // LATIN SMALL LETTER I WITH ACUTE (Unicode:#$00EE; Attr:laLower; CaseCode:#$00CE), // LATIN SMALL LETTER I WITH CIRCUMFLEX (Unicode:#$00EF; Attr:laLower; CaseCode:#$00CF), // LATIN SMALL LETTER I WITH DIAERESIS (Unicode:#$00F0; Attr:laLower; CaseCode:#$00D0), // LATIN SMALL LETTER ETH (Unicode:#$00F1; Attr:laLower; CaseCode:#$00D1), // LATIN SMALL LETTER N WITH TILDE (Unicode:#$00F2; Attr:laLower; CaseCode:#$00D2), // LATIN SMALL LETTER O WITH GRAVE (Unicode:#$00F3; Attr:laLower; CaseCode:#$00D3), // LATIN SMALL LETTER O WITH ACUTE (Unicode:#$00F4; Attr:laLower; CaseCode:#$00D4), // LATIN SMALL LETTER O WITH CIRCUMFLEX (Unicode:#$00F5; Attr:laLower; CaseCode:#$00D5), // LATIN SMALL LETTER O WITH TILDE (Unicode:#$00F6; Attr:laLower; CaseCode:#$00D6), // LATIN SMALL LETTER O WITH DIAERESIS (Unicode:#$00F8; Attr:laLower; CaseCode:#$00D8), // LATIN SMALL LETTER O WITH STROKE (Unicode:#$00F9; Attr:laLower; CaseCode:#$00D9), // LATIN SMALL LETTER U WITH GRAVE (Unicode:#$00FA; Attr:laLower; CaseCode:#$00DA), // LATIN SMALL LETTER U WITH ACUTE (Unicode:#$00FB; Attr:laLower; CaseCode:#$00DB), // LATIN SMALL LETTER U WITH CIRCUMFLEX (Unicode:#$00FC; Attr:laLower; CaseCode:#$00DC), // LATIN SMALL LETTER U WITH DIAERESIS (Unicode:#$00FD; Attr:laLower; CaseCode:#$00DD), // LATIN SMALL LETTER Y WITH ACUTE (Unicode:#$00FE; Attr:laLower; CaseCode:#$00DE), // LATIN SMALL LETTER THORN (Unicode:#$00FF; Attr:laLower; CaseCode:#$0178), // LATIN SMALL LETTER Y WITH DIAERESIS (Unicode:#$0100; Attr:laUpper; CaseCode:#$0101), // LATIN CAPITAL LETTER A WITH MACRON (Unicode:#$0101; Attr:laLower; CaseCode:#$0100), // LATIN SMALL LETTER A WITH MACRON (Unicode:#$0102; Attr:laUpper; CaseCode:#$0103), // LATIN CAPITAL LETTER A WITH BREVE (Unicode:#$0103; Attr:laLower; CaseCode:#$0102), // LATIN SMALL LETTER A WITH BREVE (Unicode:#$0104; Attr:laUpper; CaseCode:#$0105), // LATIN CAPITAL LETTER A WITH OGONEK (Unicode:#$0105; Attr:laLower; CaseCode:#$0104), // LATIN SMALL LETTER A WITH OGONEK (Unicode:#$0106; Attr:laUpper; CaseCode:#$0107), // LATIN CAPITAL LETTER C WITH ACUTE (Unicode:#$0107; Attr:laLower; CaseCode:#$0106), // LATIN SMALL LETTER C WITH ACUTE (Unicode:#$0108; Attr:laUpper; CaseCode:#$0109), // LATIN CAPITAL LETTER C WITH CIRCUMFLEX (Unicode:#$0109; Attr:laLower; CaseCode:#$0108), // LATIN SMALL LETTER C WITH CIRCUMFLEX (Unicode:#$010A; Attr:laUpper; CaseCode:#$010B), // LATIN CAPITAL LETTER C WITH DOT ABOVE (Unicode:#$010B; Attr:laLower; CaseCode:#$010A), // LATIN SMALL LETTER C WITH DOT ABOVE (Unicode:#$010C; Attr:laUpper; CaseCode:#$010D), // LATIN CAPITAL LETTER C WITH CARON (Unicode:#$010D; Attr:laLower; CaseCode:#$010C), // LATIN SMALL LETTER C WITH CARON (Unicode:#$010E; Attr:laUpper; CaseCode:#$010F), // LATIN CAPITAL LETTER D WITH CARON (Unicode:#$010F; Attr:laLower; CaseCode:#$010E), // LATIN SMALL LETTER D WITH CARON (Unicode:#$0110; Attr:laUpper; CaseCode:#$0111), // LATIN CAPITAL LETTER D WITH STROKE (Unicode:#$0111; Attr:laLower; CaseCode:#$0110), // LATIN SMALL LETTER D WITH STROKE (Unicode:#$0112; Attr:laUpper; CaseCode:#$0113), // LATIN CAPITAL LETTER E WITH MACRON (Unicode:#$0113; Attr:laLower; CaseCode:#$0112), // LATIN SMALL LETTER E WITH MACRON (Unicode:#$0114; Attr:laUpper; CaseCode:#$0115), // LATIN CAPITAL LETTER E WITH BREVE (Unicode:#$0115; Attr:laLower; CaseCode:#$0114), // LATIN SMALL LETTER E WITH BREVE (Unicode:#$0116; Attr:laUpper; CaseCode:#$0117), // LATIN CAPITAL LETTER E WITH DOT ABOVE (Unicode:#$0117; Attr:laLower; CaseCode:#$0116), // LATIN SMALL LETTER E WITH DOT ABOVE (Unicode:#$0118; Attr:laUpper; CaseCode:#$0119), // LATIN CAPITAL LETTER E WITH OGONEK (Unicode:#$0119; Attr:laLower; CaseCode:#$0118), // LATIN SMALL LETTER E WITH OGONEK (Unicode:#$011A; Attr:laUpper; CaseCode:#$011B), // LATIN CAPITAL LETTER E WITH CARON (Unicode:#$011B; Attr:laLower; CaseCode:#$011A), // LATIN SMALL LETTER E WITH CARON (Unicode:#$011C; Attr:laUpper; CaseCode:#$011D), // LATIN CAPITAL LETTER G WITH CIRCUMFLEX (Unicode:#$011D; Attr:laLower; CaseCode:#$011C), // LATIN SMALL LETTER G WITH CIRCUMFLEX (Unicode:#$011E; Attr:laUpper; CaseCode:#$011F), // LATIN CAPITAL LETTER G WITH BREVE (Unicode:#$011F; Attr:laLower; CaseCode:#$011E), // LATIN SMALL LETTER G WITH BREVE (Unicode:#$0120; Attr:laUpper; CaseCode:#$0121), // LATIN CAPITAL LETTER G WITH DOT ABOVE (Unicode:#$0121; Attr:laLower; CaseCode:#$0120), // LATIN SMALL LETTER G WITH DOT ABOVE (Unicode:#$0122; Attr:laUpper; CaseCode:#$0123), // LATIN CAPITAL LETTER G WITH CEDILLA (Unicode:#$0123; Attr:laLower; CaseCode:#$0122), // LATIN SMALL LETTER G WITH CEDILLA (Unicode:#$0124; Attr:laUpper; CaseCode:#$0125), // LATIN CAPITAL LETTER H WITH CIRCUMFLEX (Unicode:#$0125; Attr:laLower; CaseCode:#$0124), // LATIN SMALL LETTER H WITH CIRCUMFLEX (Unicode:#$0126; Attr:laUpper; CaseCode:#$0127), // LATIN CAPITAL LETTER H WITH STROKE (Unicode:#$0127; Attr:laLower; CaseCode:#$0126), // LATIN SMALL LETTER H WITH STROKE (Unicode:#$0128; Attr:laUpper; CaseCode:#$0129), // LATIN CAPITAL LETTER I WITH TILDE (Unicode:#$0129; Attr:laLower; CaseCode:#$0128), // LATIN SMALL LETTER I WITH TILDE (Unicode:#$012A; Attr:laUpper; CaseCode:#$012B), // LATIN CAPITAL LETTER I WITH MACRON (Unicode:#$012B; Attr:laLower; CaseCode:#$012A), // LATIN SMALL LETTER I WITH MACRON (Unicode:#$012C; Attr:laUpper; CaseCode:#$012D), // LATIN CAPITAL LETTER I WITH BREVE (Unicode:#$012D; Attr:laLower; CaseCode:#$012C), // LATIN SMALL LETTER I WITH BREVE (Unicode:#$012E; Attr:laUpper; CaseCode:#$012F), // LATIN CAPITAL LETTER I WITH OGONEK (Unicode:#$012F; Attr:laLower; CaseCode:#$012E), // LATIN SMALL LETTER I WITH OGONEK (Unicode:#$0130; Attr:laUpper; CaseCode:#$0069), // LATIN CAPITAL LETTER I WITH DOT ABOVE (Unicode:#$0131; Attr:laLower; CaseCode:#$0049), // LATIN SMALL LETTER DOTLESS I (Unicode:#$0132; Attr:laUpper; CaseCode:#$0133), // LATIN CAPITAL LIGATURE IJ (Unicode:#$0133; Attr:laLower; CaseCode:#$0132), // LATIN SMALL LIGATURE IJ (Unicode:#$0134; Attr:laUpper; CaseCode:#$0135), // LATIN CAPITAL LETTER J WITH CIRCUMFLEX (Unicode:#$0135; Attr:laLower; CaseCode:#$0134), // LATIN SMALL LETTER J WITH CIRCUMFLEX (Unicode:#$0136; Attr:laUpper; CaseCode:#$0137), // LATIN CAPITAL LETTER K WITH CEDILLA (Unicode:#$0137; Attr:laLower; CaseCode:#$0136), // LATIN SMALL LETTER K WITH CEDILLA (Unicode:#$0138; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER KRA (Unicode:#$0139; Attr:laUpper; CaseCode:#$013A), // LATIN CAPITAL LETTER L WITH ACUTE (Unicode:#$013A; Attr:laLower; CaseCode:#$0139), // LATIN SMALL LETTER L WITH ACUTE (Unicode:#$013B; Attr:laUpper; CaseCode:#$013C), // LATIN CAPITAL LETTER L WITH CEDILLA (Unicode:#$013C; Attr:laLower; CaseCode:#$013B), // LATIN SMALL LETTER L WITH CEDILLA (Unicode:#$013D; Attr:laUpper; CaseCode:#$013E), // LATIN CAPITAL LETTER L WITH CARON (Unicode:#$013E; Attr:laLower; CaseCode:#$013D), // LATIN SMALL LETTER L WITH CARON (Unicode:#$013F; Attr:laUpper; CaseCode:#$0140), // LATIN CAPITAL LETTER L WITH MIDDLE DOT (Unicode:#$0140; Attr:laLower; CaseCode:#$013F), // LATIN SMALL LETTER L WITH MIDDLE DOT (Unicode:#$0141; Attr:laUpper; CaseCode:#$0142), // LATIN CAPITAL LETTER L WITH STROKE (Unicode:#$0142; Attr:laLower; CaseCode:#$0141), // LATIN SMALL LETTER L WITH STROKE (Unicode:#$0143; Attr:laUpper; CaseCode:#$0144), // LATIN CAPITAL LETTER N WITH ACUTE (Unicode:#$0144; Attr:laLower; CaseCode:#$0143), // LATIN SMALL LETTER N WITH ACUTE (Unicode:#$0145; Attr:laUpper; CaseCode:#$0146), // LATIN CAPITAL LETTER N WITH CEDILLA (Unicode:#$0146; Attr:laLower; CaseCode:#$0145), // LATIN SMALL LETTER N WITH CEDILLA (Unicode:#$0147; Attr:laUpper; CaseCode:#$0148), // LATIN CAPITAL LETTER N WITH CARON (Unicode:#$0148; Attr:laLower; CaseCode:#$0147), // LATIN SMALL LETTER N WITH CARON (Unicode:#$0149; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE (Unicode:#$014A; Attr:laUpper; CaseCode:#$014B), // LATIN CAPITAL LETTER ENG (Unicode:#$014B; Attr:laLower; CaseCode:#$014A), // LATIN SMALL LETTER ENG (Unicode:#$014C; Attr:laUpper; CaseCode:#$014D), // LATIN CAPITAL LETTER O WITH MACRON (Unicode:#$014D; Attr:laLower; CaseCode:#$014C), // LATIN SMALL LETTER O WITH MACRON (Unicode:#$014E; Attr:laUpper; CaseCode:#$014F), // LATIN CAPITAL LETTER O WITH BREVE (Unicode:#$014F; Attr:laLower; CaseCode:#$014E), // LATIN SMALL LETTER O WITH BREVE (Unicode:#$0150; Attr:laUpper; CaseCode:#$0151), // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE (Unicode:#$0151; Attr:laLower; CaseCode:#$0150), // LATIN SMALL LETTER O WITH DOUBLE ACUTE (Unicode:#$0152; Attr:laUpper; CaseCode:#$0153), // LATIN CAPITAL LIGATURE OE (Unicode:#$0153; Attr:laLower; CaseCode:#$0152), // LATIN SMALL LIGATURE OE (Unicode:#$0154; Attr:laUpper; CaseCode:#$0155), // LATIN CAPITAL LETTER R WITH ACUTE (Unicode:#$0155; Attr:laLower; CaseCode:#$0154), // LATIN SMALL LETTER R WITH ACUTE (Unicode:#$0156; Attr:laUpper; CaseCode:#$0157), // LATIN CAPITAL LETTER R WITH CEDILLA (Unicode:#$0157; Attr:laLower; CaseCode:#$0156), // LATIN SMALL LETTER R WITH CEDILLA (Unicode:#$0158; Attr:laUpper; CaseCode:#$0159), // LATIN CAPITAL LETTER R WITH CARON (Unicode:#$0159; Attr:laLower; CaseCode:#$0158), // LATIN SMALL LETTER R WITH CARON (Unicode:#$015A; Attr:laUpper; CaseCode:#$015B), // LATIN CAPITAL LETTER S WITH ACUTE (Unicode:#$015B; Attr:laLower; CaseCode:#$015A), // LATIN SMALL LETTER S WITH ACUTE (Unicode:#$015C; Attr:laUpper; CaseCode:#$015D), // LATIN CAPITAL LETTER S WITH CIRCUMFLEX (Unicode:#$015D; Attr:laLower; CaseCode:#$015C), // LATIN SMALL LETTER S WITH CIRCUMFLEX (Unicode:#$015E; Attr:laUpper; CaseCode:#$015F), // LATIN CAPITAL LETTER S WITH CEDILLA (Unicode:#$015F; Attr:laLower; CaseCode:#$015E), // LATIN SMALL LETTER S WITH CEDILLA (Unicode:#$0160; Attr:laUpper; CaseCode:#$0161), // LATIN CAPITAL LETTER S WITH CARON (Unicode:#$0161; Attr:laLower; CaseCode:#$0160), // LATIN SMALL LETTER S WITH CARON (Unicode:#$0162; Attr:laUpper; CaseCode:#$0163), // LATIN CAPITAL LETTER T WITH CEDILLA (Unicode:#$0163; Attr:laLower; CaseCode:#$0162), // LATIN SMALL LETTER T WITH CEDILLA (Unicode:#$0164; Attr:laUpper; CaseCode:#$0165), // LATIN CAPITAL LETTER T WITH CARON (Unicode:#$0165; Attr:laLower; CaseCode:#$0164), // LATIN SMALL LETTER T WITH CARON (Unicode:#$0166; Attr:laUpper; CaseCode:#$0167), // LATIN CAPITAL LETTER T WITH STROKE (Unicode:#$0167; Attr:laLower; CaseCode:#$0166), // LATIN SMALL LETTER T WITH STROKE (Unicode:#$0168; Attr:laUpper; CaseCode:#$0169), // LATIN CAPITAL LETTER U WITH TILDE (Unicode:#$0169; Attr:laLower; CaseCode:#$0168), // LATIN SMALL LETTER U WITH TILDE (Unicode:#$016A; Attr:laUpper; CaseCode:#$016B), // LATIN CAPITAL LETTER U WITH MACRON (Unicode:#$016B; Attr:laLower; CaseCode:#$016A), // LATIN SMALL LETTER U WITH MACRON (Unicode:#$016C; Attr:laUpper; CaseCode:#$016D), // LATIN CAPITAL LETTER U WITH BREVE (Unicode:#$016D; Attr:laLower; CaseCode:#$016C), // LATIN SMALL LETTER U WITH BREVE (Unicode:#$016E; Attr:laUpper; CaseCode:#$016F), // LATIN CAPITAL LETTER U WITH RING ABOVE (Unicode:#$016F; Attr:laLower; CaseCode:#$016E), // LATIN SMALL LETTER U WITH RING ABOVE (Unicode:#$0170; Attr:laUpper; CaseCode:#$0171), // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE (Unicode:#$0171; Attr:laLower; CaseCode:#$0170), // LATIN SMALL LETTER U WITH DOUBLE ACUTE (Unicode:#$0172; Attr:laUpper; CaseCode:#$0173), // LATIN CAPITAL LETTER U WITH OGONEK (Unicode:#$0173; Attr:laLower; CaseCode:#$0172), // LATIN SMALL LETTER U WITH OGONEK (Unicode:#$0174; Attr:laUpper; CaseCode:#$0175), // LATIN CAPITAL LETTER W WITH CIRCUMFLEX (Unicode:#$0175; Attr:laLower; CaseCode:#$0174), // LATIN SMALL LETTER W WITH CIRCUMFLEX (Unicode:#$0176; Attr:laUpper; CaseCode:#$0177), // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX (Unicode:#$0177; Attr:laLower; CaseCode:#$0176), // LATIN SMALL LETTER Y WITH CIRCUMFLEX (Unicode:#$0178; Attr:laUpper; CaseCode:#$00FF), // LATIN CAPITAL LETTER Y WITH DIAERESIS (Unicode:#$0179; Attr:laUpper; CaseCode:#$017A), // LATIN CAPITAL LETTER Z WITH ACUTE (Unicode:#$017A; Attr:laLower; CaseCode:#$0179), // LATIN SMALL LETTER Z WITH ACUTE (Unicode:#$017B; Attr:laUpper; CaseCode:#$017C), // LATIN CAPITAL LETTER Z WITH DOT ABOVE (Unicode:#$017C; Attr:laLower; CaseCode:#$017B), // LATIN SMALL LETTER Z WITH DOT ABOVE (Unicode:#$017D; Attr:laUpper; CaseCode:#$017E), // LATIN CAPITAL LETTER Z WITH CARON (Unicode:#$017E; Attr:laLower; CaseCode:#$017D), // LATIN SMALL LETTER Z WITH CARON (Unicode:#$017F; Attr:laLower; CaseCode:#$0053), // LATIN SMALL LETTER LONG S (Unicode:#$0180; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER B WITH STROKE (Unicode:#$0181; Attr:laUpper; CaseCode:#$0253), // LATIN CAPITAL LETTER B WITH HOOK (Unicode:#$0182; Attr:laUpper; CaseCode:#$0183), // LATIN CAPITAL LETTER B WITH TOPBAR (Unicode:#$0183; Attr:laLower; CaseCode:#$0182), // LATIN SMALL LETTER B WITH TOPBAR (Unicode:#$0184; Attr:laUpper; CaseCode:#$0185), // LATIN CAPITAL LETTER TONE SIX (Unicode:#$0185; Attr:laLower; CaseCode:#$0184), // LATIN SMALL LETTER TONE SIX (Unicode:#$0186; Attr:laUpper; CaseCode:#$0254), // LATIN CAPITAL LETTER OPEN O (Unicode:#$0187; Attr:laUpper; CaseCode:#$0188), // LATIN CAPITAL LETTER C WITH HOOK (Unicode:#$0188; Attr:laLower; CaseCode:#$0187), // LATIN SMALL LETTER C WITH HOOK (Unicode:#$0189; Attr:laUpper; CaseCode:#$0256), // LATIN CAPITAL LETTER AFRICAN D (Unicode:#$018A; Attr:laUpper; CaseCode:#$0257), // LATIN CAPITAL LETTER D WITH HOOK (Unicode:#$018B; Attr:laUpper; CaseCode:#$018C), // LATIN CAPITAL LETTER D WITH TOPBAR (Unicode:#$018C; Attr:laLower; CaseCode:#$018B), // LATIN SMALL LETTER D WITH TOPBAR (Unicode:#$018D; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED DELTA (Unicode:#$018E; Attr:laUpper; CaseCode:#$01DD), // LATIN CAPITAL LETTER REVERSED E (Unicode:#$018F; Attr:laUpper; CaseCode:#$0259), // LATIN CAPITAL LETTER SCHWA (Unicode:#$0190; Attr:laUpper; CaseCode:#$025B), // LATIN CAPITAL LETTER OPEN E (Unicode:#$0191; Attr:laUpper; CaseCode:#$0192), // LATIN CAPITAL LETTER F WITH HOOK (Unicode:#$0192; Attr:laLower; CaseCode:#$0191), // LATIN SMALL LETTER F WITH HOOK (Unicode:#$0193; Attr:laUpper; CaseCode:#$0260), // LATIN CAPITAL LETTER G WITH HOOK (Unicode:#$0194; Attr:laUpper; CaseCode:#$0263), // LATIN CAPITAL LETTER GAMMA (Unicode:#$0195; Attr:laLower; CaseCode:#$01F6), // LATIN SMALL LETTER HV (Unicode:#$0196; Attr:laUpper; CaseCode:#$0269), // LATIN CAPITAL LETTER IOTA (Unicode:#$0197; Attr:laUpper; CaseCode:#$0268), // LATIN CAPITAL LETTER I WITH STROKE (Unicode:#$0198; Attr:laUpper; CaseCode:#$0199), // LATIN CAPITAL LETTER K WITH HOOK (Unicode:#$0199; Attr:laLower; CaseCode:#$0198), // LATIN SMALL LETTER K WITH HOOK (Unicode:#$019A; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER L WITH BAR (Unicode:#$019B; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER LAMBDA WITH STROKE (Unicode:#$019C; Attr:laUpper; CaseCode:#$026F), // LATIN CAPITAL LETTER TURNED M (Unicode:#$019D; Attr:laUpper; CaseCode:#$0272), // LATIN CAPITAL LETTER N WITH LEFT HOOK (Unicode:#$019E; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER N WITH LONG RIGHT LEG (Unicode:#$019F; Attr:laUpper; CaseCode:#$0275), // LATIN CAPITAL LETTER O WITH MIDDLE TILDE (Unicode:#$01A0; Attr:laUpper; CaseCode:#$01A1), // LATIN CAPITAL LETTER O WITH HORN (Unicode:#$01A1; Attr:laLower; CaseCode:#$01A0), // LATIN SMALL LETTER O WITH HORN (Unicode:#$01A2; Attr:laUpper; CaseCode:#$01A3), // LATIN CAPITAL LETTER OI (Unicode:#$01A3; Attr:laLower; CaseCode:#$01A2), // LATIN SMALL LETTER OI (Unicode:#$01A4; Attr:laUpper; CaseCode:#$01A5), // LATIN CAPITAL LETTER P WITH HOOK (Unicode:#$01A5; Attr:laLower; CaseCode:#$01A4), // LATIN SMALL LETTER P WITH HOOK (Unicode:#$01A6; Attr:laUpper; CaseCode:#$0280), // LATIN LETTER YR (Unicode:#$01A7; Attr:laUpper; CaseCode:#$01A8), // LATIN CAPITAL LETTER TONE TWO (Unicode:#$01A8; Attr:laLower; CaseCode:#$01A7), // LATIN SMALL LETTER TONE TWO (Unicode:#$01A9; Attr:laUpper; CaseCode:#$0283), // LATIN CAPITAL LETTER ESH (Unicode:#$01AA; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER REVERSED ESH LOOP (Unicode:#$01AB; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER T WITH PALATAL HOOK (Unicode:#$01AC; Attr:laUpper; CaseCode:#$01AD), // LATIN CAPITAL LETTER T WITH HOOK (Unicode:#$01AD; Attr:laLower; CaseCode:#$01AC), // LATIN SMALL LETTER T WITH HOOK (Unicode:#$01AE; Attr:laUpper; CaseCode:#$0288), // LATIN CAPITAL LETTER T WITH RETROFLEX HOOK (Unicode:#$01AF; Attr:laUpper; CaseCode:#$01B0), // LATIN CAPITAL LETTER U WITH HORN (Unicode:#$01B0; Attr:laLower; CaseCode:#$01AF), // LATIN SMALL LETTER U WITH HORN (Unicode:#$01B1; Attr:laUpper; CaseCode:#$028A), // LATIN CAPITAL LETTER UPSILON (Unicode:#$01B2; Attr:laUpper; CaseCode:#$028B), // LATIN CAPITAL LETTER V WITH HOOK (Unicode:#$01B3; Attr:laUpper; CaseCode:#$01B4), // LATIN CAPITAL LETTER Y WITH HOOK (Unicode:#$01B4; Attr:laLower; CaseCode:#$01B3), // LATIN SMALL LETTER Y WITH HOOK (Unicode:#$01B5; Attr:laUpper; CaseCode:#$01B6), // LATIN CAPITAL LETTER Z WITH STROKE (Unicode:#$01B6; Attr:laLower; CaseCode:#$01B5), // LATIN SMALL LETTER Z WITH STROKE (Unicode:#$01B7; Attr:laUpper; CaseCode:#$0292), // LATIN CAPITAL LETTER EZH (Unicode:#$01B8; Attr:laUpper; CaseCode:#$01B9), // LATIN CAPITAL LETTER EZH REVERSED (Unicode:#$01B9; Attr:laLower; CaseCode:#$01B8), // LATIN SMALL LETTER EZH REVERSED (Unicode:#$01BA; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER EZH WITH TAIL (Unicode:#$01BC; Attr:laUpper; CaseCode:#$01BD), // LATIN CAPITAL LETTER TONE FIVE (Unicode:#$01BD; Attr:laLower; CaseCode:#$01BC), // LATIN SMALL LETTER TONE FIVE (Unicode:#$01BE; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER INVERTED GLOTTAL STOP WITH STROKE (Unicode:#$01BF; Attr:laLower; CaseCode:#$01F7), // LATIN LETTER WYNN (Unicode:#$01C4; Attr:laUpper; CaseCode:#$01C6), // LATIN CAPITAL LETTER DZ WITH CARON (Unicode:#$01C6; Attr:laLower; CaseCode:#$01C4), // LATIN SMALL LETTER DZ WITH CARON (Unicode:#$01C7; Attr:laUpper; CaseCode:#$01C9), // LATIN CAPITAL LETTER LJ (Unicode:#$01C9; Attr:laLower; CaseCode:#$01C7), // LATIN SMALL LETTER LJ (Unicode:#$01CA; Attr:laUpper; CaseCode:#$01CC), // LATIN CAPITAL LETTER NJ (Unicode:#$01CC; Attr:laLower; CaseCode:#$01CA), // LATIN SMALL LETTER NJ (Unicode:#$01CD; Attr:laUpper; CaseCode:#$01CE), // LATIN CAPITAL LETTER A WITH CARON (Unicode:#$01CE; Attr:laLower; CaseCode:#$01CD), // LATIN SMALL LETTER A WITH CARON (Unicode:#$01CF; Attr:laUpper; CaseCode:#$01D0), // LATIN CAPITAL LETTER I WITH CARON (Unicode:#$01D0; Attr:laLower; CaseCode:#$01CF), // LATIN SMALL LETTER I WITH CARON (Unicode:#$01D1; Attr:laUpper; CaseCode:#$01D2), // LATIN CAPITAL LETTER O WITH CARON (Unicode:#$01D2; Attr:laLower; CaseCode:#$01D1), // LATIN SMALL LETTER O WITH CARON (Unicode:#$01D3; Attr:laUpper; CaseCode:#$01D4), // LATIN CAPITAL LETTER U WITH CARON (Unicode:#$01D4; Attr:laLower; CaseCode:#$01D3), // LATIN SMALL LETTER U WITH CARON (Unicode:#$01D5; Attr:laUpper; CaseCode:#$01D6), // LATIN CAPITAL LETTER U WITH DIAERESIS AND MACRON (Unicode:#$01D6; Attr:laLower; CaseCode:#$01D5), // LATIN SMALL LETTER U WITH DIAERESIS AND MACRON (Unicode:#$01D7; Attr:laUpper; CaseCode:#$01D8), // LATIN CAPITAL LETTER U WITH DIAERESIS AND ACUTE (Unicode:#$01D8; Attr:laLower; CaseCode:#$01D7), // LATIN SMALL LETTER U WITH DIAERESIS AND ACUTE (Unicode:#$01D9; Attr:laUpper; CaseCode:#$01DA), // LATIN CAPITAL LETTER U WITH DIAERESIS AND CARON (Unicode:#$01DA; Attr:laLower; CaseCode:#$01D9), // LATIN SMALL LETTER U WITH DIAERESIS AND CARON (Unicode:#$01DB; Attr:laUpper; CaseCode:#$01DC), // LATIN CAPITAL LETTER U WITH DIAERESIS AND GRAVE (Unicode:#$01DC; Attr:laLower; CaseCode:#$01DB), // LATIN SMALL LETTER U WITH DIAERESIS AND GRAVE (Unicode:#$01DD; Attr:laLower; CaseCode:#$018E), // LATIN SMALL LETTER TURNED E (Unicode:#$01DE; Attr:laUpper; CaseCode:#$01DF), // LATIN CAPITAL LETTER A WITH DIAERESIS AND MACRON (Unicode:#$01DF; Attr:laLower; CaseCode:#$01DE), // LATIN SMALL LETTER A WITH DIAERESIS AND MACRON (Unicode:#$01E0; Attr:laUpper; CaseCode:#$01E1), // LATIN CAPITAL LETTER A WITH DOT ABOVE AND MACRON (Unicode:#$01E1; Attr:laLower; CaseCode:#$01E0), // LATIN SMALL LETTER A WITH DOT ABOVE AND MACRON (Unicode:#$01E2; Attr:laUpper; CaseCode:#$01E3), // LATIN CAPITAL LETTER AE WITH MACRON (Unicode:#$01E3; Attr:laLower; CaseCode:#$01E2), // LATIN SMALL LETTER AE WITH MACRON (Unicode:#$01E4; Attr:laUpper; CaseCode:#$01E5), // LATIN CAPITAL LETTER G WITH STROKE (Unicode:#$01E5; Attr:laLower; CaseCode:#$01E4), // LATIN SMALL LETTER G WITH STROKE (Unicode:#$01E6; Attr:laUpper; CaseCode:#$01E7), // LATIN CAPITAL LETTER G WITH CARON (Unicode:#$01E7; Attr:laLower; CaseCode:#$01E6), // LATIN SMALL LETTER G WITH CARON (Unicode:#$01E8; Attr:laUpper; CaseCode:#$01E9), // LATIN CAPITAL LETTER K WITH CARON (Unicode:#$01E9; Attr:laLower; CaseCode:#$01E8), // LATIN SMALL LETTER K WITH CARON (Unicode:#$01EA; Attr:laUpper; CaseCode:#$01EB), // LATIN CAPITAL LETTER O WITH OGONEK (Unicode:#$01EB; Attr:laLower; CaseCode:#$01EA), // LATIN SMALL LETTER O WITH OGONEK (Unicode:#$01EC; Attr:laUpper; CaseCode:#$01ED), // LATIN CAPITAL LETTER O WITH OGONEK AND MACRON (Unicode:#$01ED; Attr:laLower; CaseCode:#$01EC), // LATIN SMALL LETTER O WITH OGONEK AND MACRON (Unicode:#$01EE; Attr:laUpper; CaseCode:#$01EF), // LATIN CAPITAL LETTER EZH WITH CARON (Unicode:#$01EF; Attr:laLower; CaseCode:#$01EE), // LATIN SMALL LETTER EZH WITH CARON (Unicode:#$01F0; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER J WITH CARON (Unicode:#$01F1; Attr:laUpper; CaseCode:#$01F3), // LATIN CAPITAL LETTER DZ (Unicode:#$01F3; Attr:laLower; CaseCode:#$01F1), // LATIN SMALL LETTER DZ (Unicode:#$01F4; Attr:laUpper; CaseCode:#$01F5), // LATIN CAPITAL LETTER G WITH ACUTE (Unicode:#$01F5; Attr:laLower; CaseCode:#$01F4), // LATIN SMALL LETTER G WITH ACUTE (Unicode:#$01F6; Attr:laUpper; CaseCode:#$0195), // LATIN CAPITAL LETTER HWAIR (Unicode:#$01F7; Attr:laUpper; CaseCode:#$01BF), // LATIN CAPITAL LETTER WYNN (Unicode:#$01F8; Attr:laUpper; CaseCode:#$01F9), // LATIN CAPITAL LETTER N WITH GRAVE (Unicode:#$01F9; Attr:laLower; CaseCode:#$01F8), // LATIN SMALL LETTER N WITH GRAVE (Unicode:#$01FA; Attr:laUpper; CaseCode:#$01FB), // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE (Unicode:#$01FB; Attr:laLower; CaseCode:#$01FA), // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE (Unicode:#$01FC; Attr:laUpper; CaseCode:#$01FD), // LATIN CAPITAL LETTER AE WITH ACUTE (Unicode:#$01FD; Attr:laLower; CaseCode:#$01FC), // LATIN SMALL LETTER AE WITH ACUTE (Unicode:#$01FE; Attr:laUpper; CaseCode:#$01FF), // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE (Unicode:#$01FF; Attr:laLower; CaseCode:#$01FE), // LATIN SMALL LETTER O WITH STROKE AND ACUTE (Unicode:#$0200; Attr:laUpper; CaseCode:#$0201), // LATIN CAPITAL LETTER A WITH DOUBLE GRAVE (Unicode:#$0201; Attr:laLower; CaseCode:#$0200), // LATIN SMALL LETTER A WITH DOUBLE GRAVE (Unicode:#$0202; Attr:laUpper; CaseCode:#$0203), // LATIN CAPITAL LETTER A WITH INVERTED BREVE (Unicode:#$0203; Attr:laLower; CaseCode:#$0202), // LATIN SMALL LETTER A WITH INVERTED BREVE (Unicode:#$0204; Attr:laUpper; CaseCode:#$0205), // LATIN CAPITAL LETTER E WITH DOUBLE GRAVE (Unicode:#$0205; Attr:laLower; CaseCode:#$0204), // LATIN SMALL LETTER E WITH DOUBLE GRAVE (Unicode:#$0206; Attr:laUpper; CaseCode:#$0207), // LATIN CAPITAL LETTER E WITH INVERTED BREVE (Unicode:#$0207; Attr:laLower; CaseCode:#$0206), // LATIN SMALL LETTER E WITH INVERTED BREVE (Unicode:#$0208; Attr:laUpper; CaseCode:#$0209), // LATIN CAPITAL LETTER I WITH DOUBLE GRAVE (Unicode:#$0209; Attr:laLower; CaseCode:#$0208), // LATIN SMALL LETTER I WITH DOUBLE GRAVE (Unicode:#$020A; Attr:laUpper; CaseCode:#$020B), // LATIN CAPITAL LETTER I WITH INVERTED BREVE (Unicode:#$020B; Attr:laLower; CaseCode:#$020A), // LATIN SMALL LETTER I WITH INVERTED BREVE (Unicode:#$020C; Attr:laUpper; CaseCode:#$020D), // LATIN CAPITAL LETTER O WITH DOUBLE GRAVE (Unicode:#$020D; Attr:laLower; CaseCode:#$020C), // LATIN SMALL LETTER O WITH DOUBLE GRAVE (Unicode:#$020E; Attr:laUpper; CaseCode:#$020F), // LATIN CAPITAL LETTER O WITH INVERTED BREVE (Unicode:#$020F; Attr:laLower; CaseCode:#$020E), // LATIN SMALL LETTER O WITH INVERTED BREVE (Unicode:#$0210; Attr:laUpper; CaseCode:#$0211), // LATIN CAPITAL LETTER R WITH DOUBLE GRAVE (Unicode:#$0211; Attr:laLower; CaseCode:#$0210), // LATIN SMALL LETTER R WITH DOUBLE GRAVE (Unicode:#$0212; Attr:laUpper; CaseCode:#$0213), // LATIN CAPITAL LETTER R WITH INVERTED BREVE (Unicode:#$0213; Attr:laLower; CaseCode:#$0212), // LATIN SMALL LETTER R WITH INVERTED BREVE (Unicode:#$0214; Attr:laUpper; CaseCode:#$0215), // LATIN CAPITAL LETTER U WITH DOUBLE GRAVE (Unicode:#$0215; Attr:laLower; CaseCode:#$0214), // LATIN SMALL LETTER U WITH DOUBLE GRAVE (Unicode:#$0216; Attr:laUpper; CaseCode:#$0217), // LATIN CAPITAL LETTER U WITH INVERTED BREVE (Unicode:#$0217; Attr:laLower; CaseCode:#$0216), // LATIN SMALL LETTER U WITH INVERTED BREVE (Unicode:#$0218; Attr:laUpper; CaseCode:#$0219), // LATIN CAPITAL LETTER S WITH COMMA BELOW (Unicode:#$0219; Attr:laLower; CaseCode:#$0218), // LATIN SMALL LETTER S WITH COMMA BELOW (Unicode:#$021A; Attr:laUpper; CaseCode:#$021B), // LATIN CAPITAL LETTER T WITH COMMA BELOW (Unicode:#$021B; Attr:laLower; CaseCode:#$021A), // LATIN SMALL LETTER T WITH COMMA BELOW (Unicode:#$021C; Attr:laUpper; CaseCode:#$021D), // LATIN CAPITAL LETTER YOGH (Unicode:#$021D; Attr:laLower; CaseCode:#$021C), // LATIN SMALL LETTER YOGH (Unicode:#$021E; Attr:laUpper; CaseCode:#$021F), // LATIN CAPITAL LETTER H WITH CARON (Unicode:#$021F; Attr:laLower; CaseCode:#$021E), // LATIN SMALL LETTER H WITH CARON (Unicode:#$0222; Attr:laUpper; CaseCode:#$0223), // LATIN CAPITAL LETTER OU (Unicode:#$0223; Attr:laLower; CaseCode:#$0222), // LATIN SMALL LETTER OU (Unicode:#$0224; Attr:laUpper; CaseCode:#$0225), // LATIN CAPITAL LETTER Z WITH HOOK (Unicode:#$0225; Attr:laLower; CaseCode:#$0224), // LATIN SMALL LETTER Z WITH HOOK (Unicode:#$0226; Attr:laUpper; CaseCode:#$0227), // LATIN CAPITAL LETTER A WITH DOT ABOVE (Unicode:#$0227; Attr:laLower; CaseCode:#$0226), // LATIN SMALL LETTER A WITH DOT ABOVE (Unicode:#$0228; Attr:laUpper; CaseCode:#$0229), // LATIN CAPITAL LETTER E WITH CEDILLA (Unicode:#$0229; Attr:laLower; CaseCode:#$0228), // LATIN SMALL LETTER E WITH CEDILLA (Unicode:#$022A; Attr:laUpper; CaseCode:#$022B), // LATIN CAPITAL LETTER O WITH DIAERESIS AND MACRON (Unicode:#$022B; Attr:laLower; CaseCode:#$022A), // LATIN SMALL LETTER O WITH DIAERESIS AND MACRON (Unicode:#$022C; Attr:laUpper; CaseCode:#$022D), // LATIN CAPITAL LETTER O WITH TILDE AND MACRON (Unicode:#$022D; Attr:laLower; CaseCode:#$022C), // LATIN SMALL LETTER O WITH TILDE AND MACRON (Unicode:#$022E; Attr:laUpper; CaseCode:#$022F), // LATIN CAPITAL LETTER O WITH DOT ABOVE (Unicode:#$022F; Attr:laLower; CaseCode:#$022E), // LATIN SMALL LETTER O WITH DOT ABOVE (Unicode:#$0230; Attr:laUpper; CaseCode:#$0231), // LATIN CAPITAL LETTER O WITH DOT ABOVE AND MACRON (Unicode:#$0231; Attr:laLower; CaseCode:#$0230), // LATIN SMALL LETTER O WITH DOT ABOVE AND MACRON (Unicode:#$0232; Attr:laUpper; CaseCode:#$0233), // LATIN CAPITAL LETTER Y WITH MACRON (Unicode:#$0233; Attr:laLower; CaseCode:#$0232), // LATIN SMALL LETTER Y WITH MACRON (Unicode:#$0250; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED A (Unicode:#$0251; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER ALPHA (Unicode:#$0252; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED ALPHA (Unicode:#$0253; Attr:laLower; CaseCode:#$0181), // LATIN SMALL LETTER B WITH HOOK (Unicode:#$0254; Attr:laLower; CaseCode:#$0186), // LATIN SMALL LETTER OPEN O (Unicode:#$0255; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER C WITH CURL (Unicode:#$0256; Attr:laLower; CaseCode:#$0189), // LATIN SMALL LETTER D WITH TAIL (Unicode:#$0257; Attr:laLower; CaseCode:#$018A), // LATIN SMALL LETTER D WITH HOOK (Unicode:#$0258; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER REVERSED E (Unicode:#$0259; Attr:laLower; CaseCode:#$018F), // LATIN SMALL LETTER SCHWA (Unicode:#$025A; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER SCHWA WITH HOOK (Unicode:#$025B; Attr:laLower; CaseCode:#$0190), // LATIN SMALL LETTER OPEN E (Unicode:#$025C; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER REVERSED OPEN E (Unicode:#$025D; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER REVERSED OPEN E WITH HOOK (Unicode:#$025E; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER CLOSED REVERSED OPEN E (Unicode:#$025F; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER DOTLESS J WITH STROKE (Unicode:#$0260; Attr:laLower; CaseCode:#$0193), // LATIN SMALL LETTER G WITH HOOK (Unicode:#$0261; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER SCRIPT G (Unicode:#$0262; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL G (Unicode:#$0263; Attr:laLower; CaseCode:#$0194), // LATIN SMALL LETTER GAMMA (Unicode:#$0264; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER RAMS HORN (Unicode:#$0265; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED H (Unicode:#$0266; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER H WITH HOOK (Unicode:#$0267; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER HENG WITH HOOK (Unicode:#$0268; Attr:laLower; CaseCode:#$0197), // LATIN SMALL LETTER I WITH STROKE (Unicode:#$0269; Attr:laLower; CaseCode:#$0196), // LATIN SMALL LETTER IOTA (Unicode:#$026A; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL I (Unicode:#$026B; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER L WITH MIDDLE TILDE (Unicode:#$026C; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER L WITH BELT (Unicode:#$026D; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER L WITH RETROFLEX HOOK (Unicode:#$026E; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER LEZH (Unicode:#$026F; Attr:laLower; CaseCode:#$019C), // LATIN SMALL LETTER TURNED M (Unicode:#$0270; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED M WITH LONG LEG (Unicode:#$0271; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER M WITH HOOK (Unicode:#$0272; Attr:laLower; CaseCode:#$019D), // LATIN SMALL LETTER N WITH LEFT HOOK (Unicode:#$0273; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER N WITH RETROFLEX HOOK (Unicode:#$0274; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL N (Unicode:#$0275; Attr:laLower; CaseCode:#$019F), // LATIN SMALL LETTER BARRED O (Unicode:#$0276; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL OE (Unicode:#$0277; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER CLOSED OMEGA (Unicode:#$0278; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER PHI (Unicode:#$0279; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED R (Unicode:#$027A; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED R WITH LONG LEG (Unicode:#$027B; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED R WITH HOOK (Unicode:#$027C; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER R WITH LONG LEG (Unicode:#$027D; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER R WITH TAIL (Unicode:#$027E; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER R WITH FISHHOOK (Unicode:#$027F; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER REVERSED R WITH FISHHOOK (Unicode:#$0280; Attr:laLower; CaseCode:#$01A6), // LATIN LETTER SMALL CAPITAL R (Unicode:#$0281; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL INVERTED R (Unicode:#$0282; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER S WITH HOOK (Unicode:#$0283; Attr:laLower; CaseCode:#$01A9), // LATIN SMALL LETTER ESH (Unicode:#$0284; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER DOTLESS J WITH STROKE AND HOOK (Unicode:#$0285; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER SQUAT REVERSED ESH (Unicode:#$0286; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER ESH WITH CURL (Unicode:#$0287; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED T (Unicode:#$0288; Attr:laLower; CaseCode:#$01AE), // LATIN SMALL LETTER T WITH RETROFLEX HOOK (Unicode:#$0289; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER U BAR (Unicode:#$028A; Attr:laLower; CaseCode:#$01B1), // LATIN SMALL LETTER UPSILON (Unicode:#$028B; Attr:laLower; CaseCode:#$01B2), // LATIN SMALL LETTER V WITH HOOK (Unicode:#$028C; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED V (Unicode:#$028D; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED W (Unicode:#$028E; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED Y (Unicode:#$028F; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL Y (Unicode:#$0290; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER Z WITH RETROFLEX HOOK (Unicode:#$0291; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER Z WITH CURL (Unicode:#$0292; Attr:laLower; CaseCode:#$01B7), // LATIN SMALL LETTER EZH (Unicode:#$0293; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER EZH WITH CURL (Unicode:#$0294; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER GLOTTAL STOP (Unicode:#$0295; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER PHARYNGEAL VOICED FRICATIVE (Unicode:#$0296; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER INVERTED GLOTTAL STOP (Unicode:#$0297; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER STRETCHED C (Unicode:#$0298; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER BILABIAL CLICK (Unicode:#$0299; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL B (Unicode:#$029A; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER CLOSED OPEN E (Unicode:#$029B; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL G WITH HOOK (Unicode:#$029C; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL H (Unicode:#$029D; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER J WITH CROSSED-TAIL (Unicode:#$029E; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TURNED K (Unicode:#$029F; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER SMALL CAPITAL L (Unicode:#$02A0; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER Q WITH HOOK (Unicode:#$02A1; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER GLOTTAL STOP WITH STROKE (Unicode:#$02A2; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER REVERSED GLOTTAL STOP WITH STROKE (Unicode:#$02A3; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER DZ DIGRAPH (Unicode:#$02A4; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER DEZH DIGRAPH (Unicode:#$02A5; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER DZ DIGRAPH WITH CURL (Unicode:#$02A6; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TS DIGRAPH (Unicode:#$02A7; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TESH DIGRAPH (Unicode:#$02A8; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER TC DIGRAPH WITH CURL (Unicode:#$02A9; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER FENG DIGRAPH (Unicode:#$02AA; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER LS DIGRAPH (Unicode:#$02AB; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER LZ DIGRAPH (Unicode:#$02AC; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER BILABIAL PERCUSSIVE (Unicode:#$02AD; Attr:laLower; CaseCode:#$FFFF), // LATIN LETTER BIDENTAL PERCUSSIVE (Unicode:#$0386; Attr:laUpper; CaseCode:#$03AC), // GREEK CAPITAL LETTER ALPHA WITH TONOS (Unicode:#$0388; Attr:laUpper; CaseCode:#$03AD), // GREEK CAPITAL LETTER EPSILON WITH TONOS (Unicode:#$0389; Attr:laUpper; CaseCode:#$03AE), // GREEK CAPITAL LETTER ETA WITH TONOS (Unicode:#$038A; Attr:laUpper; CaseCode:#$03AF), // GREEK CAPITAL LETTER IOTA WITH TONOS (Unicode:#$038C; Attr:laUpper; CaseCode:#$03CC), // GREEK CAPITAL LETTER OMICRON WITH TONOS (Unicode:#$038E; Attr:laUpper; CaseCode:#$03CD), // GREEK CAPITAL LETTER UPSILON WITH TONOS (Unicode:#$038F; Attr:laUpper; CaseCode:#$03CE), // GREEK CAPITAL LETTER OMEGA WITH TONOS (Unicode:#$0390; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS (Unicode:#$0391; Attr:laUpper; CaseCode:#$03B1), // GREEK CAPITAL LETTER ALPHA (Unicode:#$0392; Attr:laUpper; CaseCode:#$03B2), // GREEK CAPITAL LETTER BETA (Unicode:#$0393; Attr:laUpper; CaseCode:#$03B3), // GREEK CAPITAL LETTER GAMMA (Unicode:#$0394; Attr:laUpper; CaseCode:#$03B4), // GREEK CAPITAL LETTER DELTA (Unicode:#$0395; Attr:laUpper; CaseCode:#$03B5), // GREEK CAPITAL LETTER EPSILON (Unicode:#$0396; Attr:laUpper; CaseCode:#$03B6), // GREEK CAPITAL LETTER ZETA (Unicode:#$0397; Attr:laUpper; CaseCode:#$03B7), // GREEK CAPITAL LETTER ETA (Unicode:#$0398; Attr:laUpper; CaseCode:#$03B8), // GREEK CAPITAL LETTER THETA (Unicode:#$0399; Attr:laUpper; CaseCode:#$03B9), // GREEK CAPITAL LETTER IOTA (Unicode:#$039A; Attr:laUpper; CaseCode:#$03BA), // GREEK CAPITAL LETTER KAPPA (Unicode:#$039B; Attr:laUpper; CaseCode:#$03BB), // GREEK CAPITAL LETTER LAMDA (Unicode:#$039C; Attr:laUpper; CaseCode:#$03BC), // GREEK CAPITAL LETTER MU (Unicode:#$039D; Attr:laUpper; CaseCode:#$03BD), // GREEK CAPITAL LETTER NU (Unicode:#$039E; Attr:laUpper; CaseCode:#$03BE), // GREEK CAPITAL LETTER XI (Unicode:#$039F; Attr:laUpper; CaseCode:#$03BF), // GREEK CAPITAL LETTER OMICRON (Unicode:#$03A0; Attr:laUpper; CaseCode:#$03C0), // GREEK CAPITAL LETTER PI (Unicode:#$03A1; Attr:laUpper; CaseCode:#$03C1), // GREEK CAPITAL LETTER RHO (Unicode:#$03A3; Attr:laUpper; CaseCode:#$03C3), // GREEK CAPITAL LETTER SIGMA (Unicode:#$03A4; Attr:laUpper; CaseCode:#$03C4), // GREEK CAPITAL LETTER TAU (Unicode:#$03A5; Attr:laUpper; CaseCode:#$03C5), // GREEK CAPITAL LETTER UPSILON (Unicode:#$03A6; Attr:laUpper; CaseCode:#$03C6), // GREEK CAPITAL LETTER PHI (Unicode:#$03A7; Attr:laUpper; CaseCode:#$03C7), // GREEK CAPITAL LETTER CHI (Unicode:#$03A8; Attr:laUpper; CaseCode:#$03C8), // GREEK CAPITAL LETTER PSI (Unicode:#$03A9; Attr:laUpper; CaseCode:#$03C9), // GREEK CAPITAL LETTER OMEGA (Unicode:#$03AA; Attr:laUpper; CaseCode:#$03CA), // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA (Unicode:#$03AB; Attr:laUpper; CaseCode:#$03CB), // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA (Unicode:#$03AC; Attr:laLower; CaseCode:#$0386), // GREEK SMALL LETTER ALPHA WITH TONOS (Unicode:#$03AD; Attr:laLower; CaseCode:#$0388), // GREEK SMALL LETTER EPSILON WITH TONOS (Unicode:#$03AE; Attr:laLower; CaseCode:#$0389), // GREEK SMALL LETTER ETA WITH TONOS (Unicode:#$03AF; Attr:laLower; CaseCode:#$038A), // GREEK SMALL LETTER IOTA WITH TONOS (Unicode:#$03B0; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS (Unicode:#$03B1; Attr:laLower; CaseCode:#$0391), // GREEK SMALL LETTER ALPHA (Unicode:#$03B2; Attr:laLower; CaseCode:#$0392), // GREEK SMALL LETTER BETA (Unicode:#$03B3; Attr:laLower; CaseCode:#$0393), // GREEK SMALL LETTER GAMMA (Unicode:#$03B4; Attr:laLower; CaseCode:#$0394), // GREEK SMALL LETTER DELTA (Unicode:#$03B5; Attr:laLower; CaseCode:#$0395), // GREEK SMALL LETTER EPSILON (Unicode:#$03B6; Attr:laLower; CaseCode:#$0396), // GREEK SMALL LETTER ZETA (Unicode:#$03B7; Attr:laLower; CaseCode:#$0397), // GREEK SMALL LETTER ETA (Unicode:#$03B8; Attr:laLower; CaseCode:#$0398), // GREEK SMALL LETTER THETA (Unicode:#$03B9; Attr:laLower; CaseCode:#$0399), // GREEK SMALL LETTER IOTA (Unicode:#$03BA; Attr:laLower; CaseCode:#$039A), // GREEK SMALL LETTER KAPPA (Unicode:#$03BB; Attr:laLower; CaseCode:#$039B), // GREEK SMALL LETTER LAMDA (Unicode:#$03BC; Attr:laLower; CaseCode:#$039C), // GREEK SMALL LETTER MU (Unicode:#$03BD; Attr:laLower; CaseCode:#$039D), // GREEK SMALL LETTER NU (Unicode:#$03BE; Attr:laLower; CaseCode:#$039E), // GREEK SMALL LETTER XI (Unicode:#$03BF; Attr:laLower; CaseCode:#$039F), // GREEK SMALL LETTER OMICRON (Unicode:#$03C0; Attr:laLower; CaseCode:#$03A0), // GREEK SMALL LETTER PI (Unicode:#$03C1; Attr:laLower; CaseCode:#$03A1), // GREEK SMALL LETTER RHO (Unicode:#$03C2; Attr:laLower; CaseCode:#$03A3), // GREEK SMALL LETTER FINAL SIGMA (Unicode:#$03C3; Attr:laLower; CaseCode:#$03A3), // GREEK SMALL LETTER SIGMA (Unicode:#$03C4; Attr:laLower; CaseCode:#$03A4), // GREEK SMALL LETTER TAU (Unicode:#$03C5; Attr:laLower; CaseCode:#$03A5), // GREEK SMALL LETTER UPSILON (Unicode:#$03C6; Attr:laLower; CaseCode:#$03A6), // GREEK SMALL LETTER PHI (Unicode:#$03C7; Attr:laLower; CaseCode:#$03A7), // GREEK SMALL LETTER CHI (Unicode:#$03C8; Attr:laLower; CaseCode:#$03A8), // GREEK SMALL LETTER PSI (Unicode:#$03C9; Attr:laLower; CaseCode:#$03A9), // GREEK SMALL LETTER OMEGA (Unicode:#$03CA; Attr:laLower; CaseCode:#$03AA), // GREEK SMALL LETTER IOTA WITH DIALYTIKA (Unicode:#$03CB; Attr:laLower; CaseCode:#$03AB), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA (Unicode:#$03CC; Attr:laLower; CaseCode:#$038C), // GREEK SMALL LETTER OMICRON WITH TONOS (Unicode:#$03CD; Attr:laLower; CaseCode:#$038E), // GREEK SMALL LETTER UPSILON WITH TONOS (Unicode:#$03CE; Attr:laLower; CaseCode:#$038F), // GREEK SMALL LETTER OMEGA WITH TONOS (Unicode:#$03D0; Attr:laLower; CaseCode:#$0392), // GREEK BETA SYMBOL (Unicode:#$03D1; Attr:laLower; CaseCode:#$0398), // GREEK THETA SYMBOL (Unicode:#$03D2; Attr:laUpper; CaseCode:#$FFFF), // GREEK UPSILON WITH HOOK SYMBOL (Unicode:#$03D3; Attr:laUpper; CaseCode:#$FFFF), // GREEK UPSILON WITH ACUTE AND HOOK SYMBOL (Unicode:#$03D4; Attr:laUpper; CaseCode:#$FFFF), // GREEK UPSILON WITH DIAERESIS AND HOOK SYMBOL (Unicode:#$03D5; Attr:laLower; CaseCode:#$03A6), // GREEK PHI SYMBOL (Unicode:#$03D6; Attr:laLower; CaseCode:#$03A0), // GREEK PI SYMBOL (Unicode:#$03D7; Attr:laLower; CaseCode:#$FFFF), // GREEK KAI SYMBOL (Unicode:#$03DA; Attr:laUpper; CaseCode:#$03DB), // GREEK LETTER STIGMA (Unicode:#$03DB; Attr:laLower; CaseCode:#$03DA), // GREEK SMALL LETTER STIGMA (Unicode:#$03DC; Attr:laUpper; CaseCode:#$03DD), // GREEK LETTER DIGAMMA (Unicode:#$03DD; Attr:laLower; CaseCode:#$03DC), // GREEK SMALL LETTER DIGAMMA (Unicode:#$03DE; Attr:laUpper; CaseCode:#$03DF), // GREEK LETTER KOPPA (Unicode:#$03DF; Attr:laLower; CaseCode:#$03DE), // GREEK SMALL LETTER KOPPA (Unicode:#$03E0; Attr:laUpper; CaseCode:#$03E1), // GREEK LETTER SAMPI (Unicode:#$03E1; Attr:laLower; CaseCode:#$03E0), // GREEK SMALL LETTER SAMPI (Unicode:#$03E2; Attr:laUpper; CaseCode:#$03E3), // COPTIC CAPITAL LETTER SHEI (Unicode:#$03E3; Attr:laLower; CaseCode:#$03E2), // COPTIC SMALL LETTER SHEI (Unicode:#$03E4; Attr:laUpper; CaseCode:#$03E5), // COPTIC CAPITAL LETTER FEI (Unicode:#$03E5; Attr:laLower; CaseCode:#$03E4), // COPTIC SMALL LETTER FEI (Unicode:#$03E6; Attr:laUpper; CaseCode:#$03E7), // COPTIC CAPITAL LETTER KHEI (Unicode:#$03E7; Attr:laLower; CaseCode:#$03E6), // COPTIC SMALL LETTER KHEI (Unicode:#$03E8; Attr:laUpper; CaseCode:#$03E9), // COPTIC CAPITAL LETTER HORI (Unicode:#$03E9; Attr:laLower; CaseCode:#$03E8), // COPTIC SMALL LETTER HORI (Unicode:#$03EA; Attr:laUpper; CaseCode:#$03EB), // COPTIC CAPITAL LETTER GANGIA (Unicode:#$03EB; Attr:laLower; CaseCode:#$03EA), // COPTIC SMALL LETTER GANGIA (Unicode:#$03EC; Attr:laUpper; CaseCode:#$03ED), // COPTIC CAPITAL LETTER SHIMA (Unicode:#$03ED; Attr:laLower; CaseCode:#$03EC), // COPTIC SMALL LETTER SHIMA (Unicode:#$03EE; Attr:laUpper; CaseCode:#$03EF), // COPTIC CAPITAL LETTER DEI (Unicode:#$03EF; Attr:laLower; CaseCode:#$03EE), // COPTIC SMALL LETTER DEI (Unicode:#$03F0; Attr:laLower; CaseCode:#$039A), // GREEK KAPPA SYMBOL (Unicode:#$03F1; Attr:laLower; CaseCode:#$03A1), // GREEK RHO SYMBOL (Unicode:#$03F2; Attr:laLower; CaseCode:#$03A3), // GREEK LUNATE SIGMA SYMBOL (Unicode:#$03F3; Attr:laLower; CaseCode:#$FFFF), // GREEK LETTER YOT (Unicode:#$03F4; Attr:laUpper; CaseCode:#$03B8), // GREEK CAPITAL THETA SYMBOL (Unicode:#$03F5; Attr:laLower; CaseCode:#$0395), // GREEK LUNATE EPSILON SYMBOL (Unicode:#$0400; Attr:laUpper; CaseCode:#$0450), // CYRILLIC CAPITAL LETTER IE WITH GRAVE (Unicode:#$0401; Attr:laUpper; CaseCode:#$0451), // CYRILLIC CAPITAL LETTER IO (Unicode:#$0402; Attr:laUpper; CaseCode:#$0452), // CYRILLIC CAPITAL LETTER DJE (Unicode:#$0403; Attr:laUpper; CaseCode:#$0453), // CYRILLIC CAPITAL LETTER GJE (Unicode:#$0404; Attr:laUpper; CaseCode:#$0454), // CYRILLIC CAPITAL LETTER UKRAINIAN IE (Unicode:#$0405; Attr:laUpper; CaseCode:#$0455), // CYRILLIC CAPITAL LETTER DZE (Unicode:#$0406; Attr:laUpper; CaseCode:#$0456), // CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I (Unicode:#$0407; Attr:laUpper; CaseCode:#$0457), // CYRILLIC CAPITAL LETTER YI (Unicode:#$0408; Attr:laUpper; CaseCode:#$0458), // CYRILLIC CAPITAL LETTER JE (Unicode:#$0409; Attr:laUpper; CaseCode:#$0459), // CYRILLIC CAPITAL LETTER LJE (Unicode:#$040A; Attr:laUpper; CaseCode:#$045A), // CYRILLIC CAPITAL LETTER NJE (Unicode:#$040B; Attr:laUpper; CaseCode:#$045B), // CYRILLIC CAPITAL LETTER TSHE (Unicode:#$040C; Attr:laUpper; CaseCode:#$045C), // CYRILLIC CAPITAL LETTER KJE (Unicode:#$040D; Attr:laUpper; CaseCode:#$045D), // CYRILLIC CAPITAL LETTER I WITH GRAVE (Unicode:#$040E; Attr:laUpper; CaseCode:#$045E), // CYRILLIC CAPITAL LETTER SHORT U (Unicode:#$040F; Attr:laUpper; CaseCode:#$045F), // CYRILLIC CAPITAL LETTER DZHE (Unicode:#$0410; Attr:laUpper; CaseCode:#$0430), // CYRILLIC CAPITAL LETTER A (Unicode:#$0411; Attr:laUpper; CaseCode:#$0431), // CYRILLIC CAPITAL LETTER BE (Unicode:#$0412; Attr:laUpper; CaseCode:#$0432), // CYRILLIC CAPITAL LETTER VE (Unicode:#$0413; Attr:laUpper; CaseCode:#$0433), // CYRILLIC CAPITAL LETTER GHE (Unicode:#$0414; Attr:laUpper; CaseCode:#$0434), // CYRILLIC CAPITAL LETTER DE (Unicode:#$0415; Attr:laUpper; CaseCode:#$0435), // CYRILLIC CAPITAL LETTER IE (Unicode:#$0416; Attr:laUpper; CaseCode:#$0436), // CYRILLIC CAPITAL LETTER ZHE (Unicode:#$0417; Attr:laUpper; CaseCode:#$0437), // CYRILLIC CAPITAL LETTER ZE (Unicode:#$0418; Attr:laUpper; CaseCode:#$0438), // CYRILLIC CAPITAL LETTER I (Unicode:#$0419; Attr:laUpper; CaseCode:#$0439), // CYRILLIC CAPITAL LETTER SHORT I (Unicode:#$041A; Attr:laUpper; CaseCode:#$043A), // CYRILLIC CAPITAL LETTER KA (Unicode:#$041B; Attr:laUpper; CaseCode:#$043B), // CYRILLIC CAPITAL LETTER EL (Unicode:#$041C; Attr:laUpper; CaseCode:#$043C), // CYRILLIC CAPITAL LETTER EM (Unicode:#$041D; Attr:laUpper; CaseCode:#$043D), // CYRILLIC CAPITAL LETTER EN (Unicode:#$041E; Attr:laUpper; CaseCode:#$043E), // CYRILLIC CAPITAL LETTER O (Unicode:#$041F; Attr:laUpper; CaseCode:#$043F), // CYRILLIC CAPITAL LETTER PE (Unicode:#$0420; Attr:laUpper; CaseCode:#$0440), // CYRILLIC CAPITAL LETTER ER (Unicode:#$0421; Attr:laUpper; CaseCode:#$0441), // CYRILLIC CAPITAL LETTER ES (Unicode:#$0422; Attr:laUpper; CaseCode:#$0442), // CYRILLIC CAPITAL LETTER TE (Unicode:#$0423; Attr:laUpper; CaseCode:#$0443), // CYRILLIC CAPITAL LETTER U (Unicode:#$0424; Attr:laUpper; CaseCode:#$0444), // CYRILLIC CAPITAL LETTER EF (Unicode:#$0425; Attr:laUpper; CaseCode:#$0445), // CYRILLIC CAPITAL LETTER HA (Unicode:#$0426; Attr:laUpper; CaseCode:#$0446), // CYRILLIC CAPITAL LETTER TSE (Unicode:#$0427; Attr:laUpper; CaseCode:#$0447), // CYRILLIC CAPITAL LETTER CHE (Unicode:#$0428; Attr:laUpper; CaseCode:#$0448), // CYRILLIC CAPITAL LETTER SHA (Unicode:#$0429; Attr:laUpper; CaseCode:#$0449), // CYRILLIC CAPITAL LETTER SHCHA (Unicode:#$042A; Attr:laUpper; CaseCode:#$044A), // CYRILLIC CAPITAL LETTER HARD SIGN (Unicode:#$042B; Attr:laUpper; CaseCode:#$044B), // CYRILLIC CAPITAL LETTER YERU (Unicode:#$042C; Attr:laUpper; CaseCode:#$044C), // CYRILLIC CAPITAL LETTER SOFT SIGN (Unicode:#$042D; Attr:laUpper; CaseCode:#$044D), // CYRILLIC CAPITAL LETTER E (Unicode:#$042E; Attr:laUpper; CaseCode:#$044E), // CYRILLIC CAPITAL LETTER YU (Unicode:#$042F; Attr:laUpper; CaseCode:#$044F), // CYRILLIC CAPITAL LETTER YA (Unicode:#$0430; Attr:laLower; CaseCode:#$0410), // CYRILLIC SMALL LETTER A (Unicode:#$0431; Attr:laLower; CaseCode:#$0411), // CYRILLIC SMALL LETTER BE (Unicode:#$0432; Attr:laLower; CaseCode:#$0412), // CYRILLIC SMALL LETTER VE (Unicode:#$0433; Attr:laLower; CaseCode:#$0413), // CYRILLIC SMALL LETTER GHE (Unicode:#$0434; Attr:laLower; CaseCode:#$0414), // CYRILLIC SMALL LETTER DE (Unicode:#$0435; Attr:laLower; CaseCode:#$0415), // CYRILLIC SMALL LETTER IE (Unicode:#$0436; Attr:laLower; CaseCode:#$0416), // CYRILLIC SMALL LETTER ZHE (Unicode:#$0437; Attr:laLower; CaseCode:#$0417), // CYRILLIC SMALL LETTER ZE (Unicode:#$0438; Attr:laLower; CaseCode:#$0418), // CYRILLIC SMALL LETTER I (Unicode:#$0439; Attr:laLower; CaseCode:#$0419), // CYRILLIC SMALL LETTER SHORT I (Unicode:#$043A; Attr:laLower; CaseCode:#$041A), // CYRILLIC SMALL LETTER KA (Unicode:#$043B; Attr:laLower; CaseCode:#$041B), // CYRILLIC SMALL LETTER EL (Unicode:#$043C; Attr:laLower; CaseCode:#$041C), // CYRILLIC SMALL LETTER EM (Unicode:#$043D; Attr:laLower; CaseCode:#$041D), // CYRILLIC SMALL LETTER EN (Unicode:#$043E; Attr:laLower; CaseCode:#$041E), // CYRILLIC SMALL LETTER O (Unicode:#$043F; Attr:laLower; CaseCode:#$041F), // CYRILLIC SMALL LETTER PE (Unicode:#$0440; Attr:laLower; CaseCode:#$0420), // CYRILLIC SMALL LETTER ER (Unicode:#$0441; Attr:laLower; CaseCode:#$0421), // CYRILLIC SMALL LETTER ES (Unicode:#$0442; Attr:laLower; CaseCode:#$0422), // CYRILLIC SMALL LETTER TE (Unicode:#$0443; Attr:laLower; CaseCode:#$0423), // CYRILLIC SMALL LETTER U (Unicode:#$0444; Attr:laLower; CaseCode:#$0424), // CYRILLIC SMALL LETTER EF (Unicode:#$0445; Attr:laLower; CaseCode:#$0425), // CYRILLIC SMALL LETTER HA (Unicode:#$0446; Attr:laLower; CaseCode:#$0426), // CYRILLIC SMALL LETTER TSE (Unicode:#$0447; Attr:laLower; CaseCode:#$0427), // CYRILLIC SMALL LETTER CHE (Unicode:#$0448; Attr:laLower; CaseCode:#$0428), // CYRILLIC SMALL LETTER SHA (Unicode:#$0449; Attr:laLower; CaseCode:#$0429), // CYRILLIC SMALL LETTER SHCHA (Unicode:#$044A; Attr:laLower; CaseCode:#$042A), // CYRILLIC SMALL LETTER HARD SIGN (Unicode:#$044B; Attr:laLower; CaseCode:#$042B), // CYRILLIC SMALL LETTER YERU (Unicode:#$044C; Attr:laLower; CaseCode:#$042C), // CYRILLIC SMALL LETTER SOFT SIGN (Unicode:#$044D; Attr:laLower; CaseCode:#$042D), // CYRILLIC SMALL LETTER E (Unicode:#$044E; Attr:laLower; CaseCode:#$042E), // CYRILLIC SMALL LETTER YU (Unicode:#$044F; Attr:laLower; CaseCode:#$042F), // CYRILLIC SMALL LETTER YA (Unicode:#$0450; Attr:laLower; CaseCode:#$0400), // CYRILLIC SMALL LETTER IE WITH GRAVE (Unicode:#$0451; Attr:laLower; CaseCode:#$0401), // CYRILLIC SMALL LETTER IO (Unicode:#$0452; Attr:laLower; CaseCode:#$0402), // CYRILLIC SMALL LETTER DJE (Unicode:#$0453; Attr:laLower; CaseCode:#$0403), // CYRILLIC SMALL LETTER GJE (Unicode:#$0454; Attr:laLower; CaseCode:#$0404), // CYRILLIC SMALL LETTER UKRAINIAN IE (Unicode:#$0455; Attr:laLower; CaseCode:#$0405), // CYRILLIC SMALL LETTER DZE (Unicode:#$0456; Attr:laLower; CaseCode:#$0406), // CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I (Unicode:#$0457; Attr:laLower; CaseCode:#$0407), // CYRILLIC SMALL LETTER YI (Unicode:#$0458; Attr:laLower; CaseCode:#$0408), // CYRILLIC SMALL LETTER JE (Unicode:#$0459; Attr:laLower; CaseCode:#$0409), // CYRILLIC SMALL LETTER LJE (Unicode:#$045A; Attr:laLower; CaseCode:#$040A), // CYRILLIC SMALL LETTER NJE (Unicode:#$045B; Attr:laLower; CaseCode:#$040B), // CYRILLIC SMALL LETTER TSHE (Unicode:#$045C; Attr:laLower; CaseCode:#$040C), // CYRILLIC SMALL LETTER KJE (Unicode:#$045D; Attr:laLower; CaseCode:#$040D), // CYRILLIC SMALL LETTER I WITH GRAVE (Unicode:#$045E; Attr:laLower; CaseCode:#$040E), // CYRILLIC SMALL LETTER SHORT U (Unicode:#$045F; Attr:laLower; CaseCode:#$040F), // CYRILLIC SMALL LETTER DZHE (Unicode:#$0460; Attr:laUpper; CaseCode:#$0461), // CYRILLIC CAPITAL LETTER OMEGA (Unicode:#$0461; Attr:laLower; CaseCode:#$0460), // CYRILLIC SMALL LETTER OMEGA (Unicode:#$0462; Attr:laUpper; CaseCode:#$0463), // CYRILLIC CAPITAL LETTER YAT (Unicode:#$0463; Attr:laLower; CaseCode:#$0462), // CYRILLIC SMALL LETTER YAT (Unicode:#$0464; Attr:laUpper; CaseCode:#$0465), // CYRILLIC CAPITAL LETTER IOTIFIED E (Unicode:#$0465; Attr:laLower; CaseCode:#$0464), // CYRILLIC SMALL LETTER IOTIFIED E (Unicode:#$0466; Attr:laUpper; CaseCode:#$0467), // CYRILLIC CAPITAL LETTER LITTLE YUS (Unicode:#$0467; Attr:laLower; CaseCode:#$0466), // CYRILLIC SMALL LETTER LITTLE YUS (Unicode:#$0468; Attr:laUpper; CaseCode:#$0469), // CYRILLIC CAPITAL LETTER IOTIFIED LITTLE YUS (Unicode:#$0469; Attr:laLower; CaseCode:#$0468), // CYRILLIC SMALL LETTER IOTIFIED LITTLE YUS (Unicode:#$046A; Attr:laUpper; CaseCode:#$046B), // CYRILLIC CAPITAL LETTER BIG YUS (Unicode:#$046B; Attr:laLower; CaseCode:#$046A), // CYRILLIC SMALL LETTER BIG YUS (Unicode:#$046C; Attr:laUpper; CaseCode:#$046D), // CYRILLIC CAPITAL LETTER IOTIFIED BIG YUS (Unicode:#$046D; Attr:laLower; CaseCode:#$046C), // CYRILLIC SMALL LETTER IOTIFIED BIG YUS (Unicode:#$046E; Attr:laUpper; CaseCode:#$046F), // CYRILLIC CAPITAL LETTER KSI (Unicode:#$046F; Attr:laLower; CaseCode:#$046E), // CYRILLIC SMALL LETTER KSI (Unicode:#$0470; Attr:laUpper; CaseCode:#$0471), // CYRILLIC CAPITAL LETTER PSI (Unicode:#$0471; Attr:laLower; CaseCode:#$0470), // CYRILLIC SMALL LETTER PSI (Unicode:#$0472; Attr:laUpper; CaseCode:#$0473), // CYRILLIC CAPITAL LETTER FITA (Unicode:#$0473; Attr:laLower; CaseCode:#$0472), // CYRILLIC SMALL LETTER FITA (Unicode:#$0474; Attr:laUpper; CaseCode:#$0475), // CYRILLIC CAPITAL LETTER IZHITSA (Unicode:#$0475; Attr:laLower; CaseCode:#$0474), // CYRILLIC SMALL LETTER IZHITSA (Unicode:#$0476; Attr:laUpper; CaseCode:#$0477), // CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT (Unicode:#$0477; Attr:laLower; CaseCode:#$0476), // CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT (Unicode:#$0478; Attr:laUpper; CaseCode:#$0479), // CYRILLIC CAPITAL LETTER UK (Unicode:#$0479; Attr:laLower; CaseCode:#$0478), // CYRILLIC SMALL LETTER UK (Unicode:#$047A; Attr:laUpper; CaseCode:#$047B), // CYRILLIC CAPITAL LETTER ROUND OMEGA (Unicode:#$047B; Attr:laLower; CaseCode:#$047A), // CYRILLIC SMALL LETTER ROUND OMEGA (Unicode:#$047C; Attr:laUpper; CaseCode:#$047D), // CYRILLIC CAPITAL LETTER OMEGA WITH TITLO (Unicode:#$047D; Attr:laLower; CaseCode:#$047C), // CYRILLIC SMALL LETTER OMEGA WITH TITLO (Unicode:#$047E; Attr:laUpper; CaseCode:#$047F), // CYRILLIC CAPITAL LETTER OT (Unicode:#$047F; Attr:laLower; CaseCode:#$047E), // CYRILLIC SMALL LETTER OT (Unicode:#$0480; Attr:laUpper; CaseCode:#$0481), // CYRILLIC CAPITAL LETTER KOPPA (Unicode:#$0481; Attr:laLower; CaseCode:#$0480), // CYRILLIC SMALL LETTER KOPPA (Unicode:#$048C; Attr:laUpper; CaseCode:#$048D), // CYRILLIC CAPITAL LETTER SEMISOFT SIGN (Unicode:#$048D; Attr:laLower; CaseCode:#$048C), // CYRILLIC SMALL LETTER SEMISOFT SIGN (Unicode:#$048E; Attr:laUpper; CaseCode:#$048F), // CYRILLIC CAPITAL LETTER ER WITH TICK (Unicode:#$048F; Attr:laLower; CaseCode:#$048E), // CYRILLIC SMALL LETTER ER WITH TICK (Unicode:#$0490; Attr:laUpper; CaseCode:#$0491), // CYRILLIC CAPITAL LETTER GHE WITH UPTURN (Unicode:#$0491; Attr:laLower; CaseCode:#$0490), // CYRILLIC SMALL LETTER GHE WITH UPTURN (Unicode:#$0492; Attr:laUpper; CaseCode:#$0493), // CYRILLIC CAPITAL LETTER GHE WITH STROKE (Unicode:#$0493; Attr:laLower; CaseCode:#$0492), // CYRILLIC SMALL LETTER GHE WITH STROKE (Unicode:#$0494; Attr:laUpper; CaseCode:#$0495), // CYRILLIC CAPITAL LETTER GHE WITH MIDDLE HOOK (Unicode:#$0495; Attr:laLower; CaseCode:#$0494), // CYRILLIC SMALL LETTER GHE WITH MIDDLE HOOK (Unicode:#$0496; Attr:laUpper; CaseCode:#$0497), // CYRILLIC CAPITAL LETTER ZHE WITH DESCENDER (Unicode:#$0497; Attr:laLower; CaseCode:#$0496), // CYRILLIC SMALL LETTER ZHE WITH DESCENDER (Unicode:#$0498; Attr:laUpper; CaseCode:#$0499), // CYRILLIC CAPITAL LETTER ZE WITH DESCENDER (Unicode:#$0499; Attr:laLower; CaseCode:#$0498), // CYRILLIC SMALL LETTER ZE WITH DESCENDER (Unicode:#$049A; Attr:laUpper; CaseCode:#$049B), // CYRILLIC CAPITAL LETTER KA WITH DESCENDER (Unicode:#$049B; Attr:laLower; CaseCode:#$049A), // CYRILLIC SMALL LETTER KA WITH DESCENDER (Unicode:#$049C; Attr:laUpper; CaseCode:#$049D), // CYRILLIC CAPITAL LETTER KA WITH VERTICAL STROKE (Unicode:#$049D; Attr:laLower; CaseCode:#$049C), // CYRILLIC SMALL LETTER KA WITH VERTICAL STROKE (Unicode:#$049E; Attr:laUpper; CaseCode:#$049F), // CYRILLIC CAPITAL LETTER KA WITH STROKE (Unicode:#$049F; Attr:laLower; CaseCode:#$049E), // CYRILLIC SMALL LETTER KA WITH STROKE (Unicode:#$04A0; Attr:laUpper; CaseCode:#$04A1), // CYRILLIC CAPITAL LETTER BASHKIR KA (Unicode:#$04A1; Attr:laLower; CaseCode:#$04A0), // CYRILLIC SMALL LETTER BASHKIR KA (Unicode:#$04A2; Attr:laUpper; CaseCode:#$04A3), // CYRILLIC CAPITAL LETTER EN WITH DESCENDER (Unicode:#$04A3; Attr:laLower; CaseCode:#$04A2), // CYRILLIC SMALL LETTER EN WITH DESCENDER (Unicode:#$04A4; Attr:laUpper; CaseCode:#$04A5), // CYRILLIC CAPITAL LIGATURE EN GHE (Unicode:#$04A5; Attr:laLower; CaseCode:#$04A4), // CYRILLIC SMALL LIGATURE EN GHE (Unicode:#$04A6; Attr:laUpper; CaseCode:#$04A7), // CYRILLIC CAPITAL LETTER PE WITH MIDDLE HOOK (Unicode:#$04A7; Attr:laLower; CaseCode:#$04A6), // CYRILLIC SMALL LETTER PE WITH MIDDLE HOOK (Unicode:#$04A8; Attr:laUpper; CaseCode:#$04A9), // CYRILLIC CAPITAL LETTER ABKHASIAN HA (Unicode:#$04A9; Attr:laLower; CaseCode:#$04A8), // CYRILLIC SMALL LETTER ABKHASIAN HA (Unicode:#$04AA; Attr:laUpper; CaseCode:#$04AB), // CYRILLIC CAPITAL LETTER ES WITH DESCENDER (Unicode:#$04AB; Attr:laLower; CaseCode:#$04AA), // CYRILLIC SMALL LETTER ES WITH DESCENDER (Unicode:#$04AC; Attr:laUpper; CaseCode:#$04AD), // CYRILLIC CAPITAL LETTER TE WITH DESCENDER (Unicode:#$04AD; Attr:laLower; CaseCode:#$04AC), // CYRILLIC SMALL LETTER TE WITH DESCENDER (Unicode:#$04AE; Attr:laUpper; CaseCode:#$04AF), // CYRILLIC CAPITAL LETTER STRAIGHT U (Unicode:#$04AF; Attr:laLower; CaseCode:#$04AE), // CYRILLIC SMALL LETTER STRAIGHT U (Unicode:#$04B0; Attr:laUpper; CaseCode:#$04B1), // CYRILLIC CAPITAL LETTER STRAIGHT U WITH STROKE (Unicode:#$04B1; Attr:laLower; CaseCode:#$04B0), // CYRILLIC SMALL LETTER STRAIGHT U WITH STROKE (Unicode:#$04B2; Attr:laUpper; CaseCode:#$04B3), // CYRILLIC CAPITAL LETTER HA WITH DESCENDER (Unicode:#$04B3; Attr:laLower; CaseCode:#$04B2), // CYRILLIC SMALL LETTER HA WITH DESCENDER (Unicode:#$04B4; Attr:laUpper; CaseCode:#$04B5), // CYRILLIC CAPITAL LIGATURE TE TSE (Unicode:#$04B5; Attr:laLower; CaseCode:#$04B4), // CYRILLIC SMALL LIGATURE TE TSE (Unicode:#$04B6; Attr:laUpper; CaseCode:#$04B7), // CYRILLIC CAPITAL LETTER CHE WITH DESCENDER (Unicode:#$04B7; Attr:laLower; CaseCode:#$04B6), // CYRILLIC SMALL LETTER CHE WITH DESCENDER (Unicode:#$04B8; Attr:laUpper; CaseCode:#$04B9), // CYRILLIC CAPITAL LETTER CHE WITH VERTICAL STROKE (Unicode:#$04B9; Attr:laLower; CaseCode:#$04B8), // CYRILLIC SMALL LETTER CHE WITH VERTICAL STROKE (Unicode:#$04BA; Attr:laUpper; CaseCode:#$04BB), // CYRILLIC CAPITAL LETTER SHHA (Unicode:#$04BB; Attr:laLower; CaseCode:#$04BA), // CYRILLIC SMALL LETTER SHHA (Unicode:#$04BC; Attr:laUpper; CaseCode:#$04BD), // CYRILLIC CAPITAL LETTER ABKHASIAN CHE (Unicode:#$04BD; Attr:laLower; CaseCode:#$04BC), // CYRILLIC SMALL LETTER ABKHASIAN CHE (Unicode:#$04BE; Attr:laUpper; CaseCode:#$04BF), // CYRILLIC CAPITAL LETTER ABKHASIAN CHE WITH DESCENDER (Unicode:#$04BF; Attr:laLower; CaseCode:#$04BE), // CYRILLIC SMALL LETTER ABKHASIAN CHE WITH DESCENDER (Unicode:#$04C0; Attr:laUpper; CaseCode:#$FFFF), // CYRILLIC LETTER PALOCHKA (Unicode:#$04C1; Attr:laUpper; CaseCode:#$04C2), // CYRILLIC CAPITAL LETTER ZHE WITH BREVE (Unicode:#$04C2; Attr:laLower; CaseCode:#$04C1), // CYRILLIC SMALL LETTER ZHE WITH BREVE (Unicode:#$04C3; Attr:laUpper; CaseCode:#$04C4), // CYRILLIC CAPITAL LETTER KA WITH HOOK (Unicode:#$04C4; Attr:laLower; CaseCode:#$04C3), // CYRILLIC SMALL LETTER KA WITH HOOK (Unicode:#$04C7; Attr:laUpper; CaseCode:#$04C8), // CYRILLIC CAPITAL LETTER EN WITH HOOK (Unicode:#$04C8; Attr:laLower; CaseCode:#$04C7), // CYRILLIC SMALL LETTER EN WITH HOOK (Unicode:#$04CB; Attr:laUpper; CaseCode:#$04CC), // CYRILLIC CAPITAL LETTER KHAKASSIAN CHE (Unicode:#$04CC; Attr:laLower; CaseCode:#$04CB), // CYRILLIC SMALL LETTER KHAKASSIAN CHE (Unicode:#$04D0; Attr:laUpper; CaseCode:#$04D1), // CYRILLIC CAPITAL LETTER A WITH BREVE (Unicode:#$04D1; Attr:laLower; CaseCode:#$04D0), // CYRILLIC SMALL LETTER A WITH BREVE (Unicode:#$04D2; Attr:laUpper; CaseCode:#$04D3), // CYRILLIC CAPITAL LETTER A WITH DIAERESIS (Unicode:#$04D3; Attr:laLower; CaseCode:#$04D2), // CYRILLIC SMALL LETTER A WITH DIAERESIS (Unicode:#$04D4; Attr:laUpper; CaseCode:#$04D5), // CYRILLIC CAPITAL LIGATURE A IE (Unicode:#$04D5; Attr:laLower; CaseCode:#$04D4), // CYRILLIC SMALL LIGATURE A IE (Unicode:#$04D6; Attr:laUpper; CaseCode:#$04D7), // CYRILLIC CAPITAL LETTER IE WITH BREVE (Unicode:#$04D7; Attr:laLower; CaseCode:#$04D6), // CYRILLIC SMALL LETTER IE WITH BREVE (Unicode:#$04D8; Attr:laUpper; CaseCode:#$04D9), // CYRILLIC CAPITAL LETTER SCHWA (Unicode:#$04D9; Attr:laLower; CaseCode:#$04D8), // CYRILLIC SMALL LETTER SCHWA (Unicode:#$04DA; Attr:laUpper; CaseCode:#$04DB), // CYRILLIC CAPITAL LETTER SCHWA WITH DIAERESIS (Unicode:#$04DB; Attr:laLower; CaseCode:#$04DA), // CYRILLIC SMALL LETTER SCHWA WITH DIAERESIS (Unicode:#$04DC; Attr:laUpper; CaseCode:#$04DD), // CYRILLIC CAPITAL LETTER ZHE WITH DIAERESIS (Unicode:#$04DD; Attr:laLower; CaseCode:#$04DC), // CYRILLIC SMALL LETTER ZHE WITH DIAERESIS (Unicode:#$04DE; Attr:laUpper; CaseCode:#$04DF), // CYRILLIC CAPITAL LETTER ZE WITH DIAERESIS (Unicode:#$04DF; Attr:laLower; CaseCode:#$04DE), // CYRILLIC SMALL LETTER ZE WITH DIAERESIS (Unicode:#$04E0; Attr:laUpper; CaseCode:#$04E1), // CYRILLIC CAPITAL LETTER ABKHASIAN DZE (Unicode:#$04E1; Attr:laLower; CaseCode:#$04E0), // CYRILLIC SMALL LETTER ABKHASIAN DZE (Unicode:#$04E2; Attr:laUpper; CaseCode:#$04E3), // CYRILLIC CAPITAL LETTER I WITH MACRON (Unicode:#$04E3; Attr:laLower; CaseCode:#$04E2), // CYRILLIC SMALL LETTER I WITH MACRON (Unicode:#$04E4; Attr:laUpper; CaseCode:#$04E5), // CYRILLIC CAPITAL LETTER I WITH DIAERESIS (Unicode:#$04E5; Attr:laLower; CaseCode:#$04E4), // CYRILLIC SMALL LETTER I WITH DIAERESIS (Unicode:#$04E6; Attr:laUpper; CaseCode:#$04E7), // CYRILLIC CAPITAL LETTER O WITH DIAERESIS (Unicode:#$04E7; Attr:laLower; CaseCode:#$04E6), // CYRILLIC SMALL LETTER O WITH DIAERESIS (Unicode:#$04E8; Attr:laUpper; CaseCode:#$04E9), // CYRILLIC CAPITAL LETTER BARRED O (Unicode:#$04E9; Attr:laLower; CaseCode:#$04E8), // CYRILLIC SMALL LETTER BARRED O (Unicode:#$04EA; Attr:laUpper; CaseCode:#$04EB), // CYRILLIC CAPITAL LETTER BARRED O WITH DIAERESIS (Unicode:#$04EB; Attr:laLower; CaseCode:#$04EA), // CYRILLIC SMALL LETTER BARRED O WITH DIAERESIS (Unicode:#$04EC; Attr:laUpper; CaseCode:#$04ED), // CYRILLIC CAPITAL LETTER E WITH DIAERESIS (Unicode:#$04ED; Attr:laLower; CaseCode:#$04EC), // CYRILLIC SMALL LETTER E WITH DIAERESIS (Unicode:#$04EE; Attr:laUpper; CaseCode:#$04EF), // CYRILLIC CAPITAL LETTER U WITH MACRON (Unicode:#$04EF; Attr:laLower; CaseCode:#$04EE), // CYRILLIC SMALL LETTER U WITH MACRON (Unicode:#$04F0; Attr:laUpper; CaseCode:#$04F1), // CYRILLIC CAPITAL LETTER U WITH DIAERESIS (Unicode:#$04F1; Attr:laLower; CaseCode:#$04F0), // CYRILLIC SMALL LETTER U WITH DIAERESIS (Unicode:#$04F2; Attr:laUpper; CaseCode:#$04F3), // CYRILLIC CAPITAL LETTER U WITH DOUBLE ACUTE (Unicode:#$04F3; Attr:laLower; CaseCode:#$04F2), // CYRILLIC SMALL LETTER U WITH DOUBLE ACUTE (Unicode:#$04F4; Attr:laUpper; CaseCode:#$04F5), // CYRILLIC CAPITAL LETTER CHE WITH DIAERESIS (Unicode:#$04F5; Attr:laLower; CaseCode:#$04F4), // CYRILLIC SMALL LETTER CHE WITH DIAERESIS (Unicode:#$04F8; Attr:laUpper; CaseCode:#$04F9), // CYRILLIC CAPITAL LETTER YERU WITH DIAERESIS (Unicode:#$04F9; Attr:laLower; CaseCode:#$04F8), // CYRILLIC SMALL LETTER YERU WITH DIAERESIS (Unicode:#$0531; Attr:laUpper; CaseCode:#$0561), // ARMENIAN CAPITAL LETTER AYB (Unicode:#$0532; Attr:laUpper; CaseCode:#$0562), // ARMENIAN CAPITAL LETTER BEN (Unicode:#$0533; Attr:laUpper; CaseCode:#$0563), // ARMENIAN CAPITAL LETTER GIM (Unicode:#$0534; Attr:laUpper; CaseCode:#$0564), // ARMENIAN CAPITAL LETTER DA (Unicode:#$0535; Attr:laUpper; CaseCode:#$0565), // ARMENIAN CAPITAL LETTER ECH (Unicode:#$0536; Attr:laUpper; CaseCode:#$0566), // ARMENIAN CAPITAL LETTER ZA (Unicode:#$0537; Attr:laUpper; CaseCode:#$0567), // ARMENIAN CAPITAL LETTER EH (Unicode:#$0538; Attr:laUpper; CaseCode:#$0568), // ARMENIAN CAPITAL LETTER ET (Unicode:#$0539; Attr:laUpper; CaseCode:#$0569), // ARMENIAN CAPITAL LETTER TO (Unicode:#$053A; Attr:laUpper; CaseCode:#$056A), // ARMENIAN CAPITAL LETTER ZHE (Unicode:#$053B; Attr:laUpper; CaseCode:#$056B), // ARMENIAN CAPITAL LETTER INI (Unicode:#$053C; Attr:laUpper; CaseCode:#$056C), // ARMENIAN CAPITAL LETTER LIWN (Unicode:#$053D; Attr:laUpper; CaseCode:#$056D), // ARMENIAN CAPITAL LETTER XEH (Unicode:#$053E; Attr:laUpper; CaseCode:#$056E), // ARMENIAN CAPITAL LETTER CA (Unicode:#$053F; Attr:laUpper; CaseCode:#$056F), // ARMENIAN CAPITAL LETTER KEN (Unicode:#$0540; Attr:laUpper; CaseCode:#$0570), // ARMENIAN CAPITAL LETTER HO (Unicode:#$0541; Attr:laUpper; CaseCode:#$0571), // ARMENIAN CAPITAL LETTER JA (Unicode:#$0542; Attr:laUpper; CaseCode:#$0572), // ARMENIAN CAPITAL LETTER GHAD (Unicode:#$0543; Attr:laUpper; CaseCode:#$0573), // ARMENIAN CAPITAL LETTER CHEH (Unicode:#$0544; Attr:laUpper; CaseCode:#$0574), // ARMENIAN CAPITAL LETTER MEN (Unicode:#$0545; Attr:laUpper; CaseCode:#$0575), // ARMENIAN CAPITAL LETTER YI (Unicode:#$0546; Attr:laUpper; CaseCode:#$0576), // ARMENIAN CAPITAL LETTER NOW (Unicode:#$0547; Attr:laUpper; CaseCode:#$0577), // ARMENIAN CAPITAL LETTER SHA (Unicode:#$0548; Attr:laUpper; CaseCode:#$0578), // ARMENIAN CAPITAL LETTER VO (Unicode:#$0549; Attr:laUpper; CaseCode:#$0579), // ARMENIAN CAPITAL LETTER CHA (Unicode:#$054A; Attr:laUpper; CaseCode:#$057A), // ARMENIAN CAPITAL LETTER PEH (Unicode:#$054B; Attr:laUpper; CaseCode:#$057B), // ARMENIAN CAPITAL LETTER JHEH (Unicode:#$054C; Attr:laUpper; CaseCode:#$057C), // ARMENIAN CAPITAL LETTER RA (Unicode:#$054D; Attr:laUpper; CaseCode:#$057D), // ARMENIAN CAPITAL LETTER SEH (Unicode:#$054E; Attr:laUpper; CaseCode:#$057E), // ARMENIAN CAPITAL LETTER VEW (Unicode:#$054F; Attr:laUpper; CaseCode:#$057F), // ARMENIAN CAPITAL LETTER TIWN (Unicode:#$0550; Attr:laUpper; CaseCode:#$0580), // ARMENIAN CAPITAL LETTER REH (Unicode:#$0551; Attr:laUpper; CaseCode:#$0581), // ARMENIAN CAPITAL LETTER CO (Unicode:#$0552; Attr:laUpper; CaseCode:#$0582), // ARMENIAN CAPITAL LETTER YIWN (Unicode:#$0553; Attr:laUpper; CaseCode:#$0583), // ARMENIAN CAPITAL LETTER PIWR (Unicode:#$0554; Attr:laUpper; CaseCode:#$0584), // ARMENIAN CAPITAL LETTER KEH (Unicode:#$0555; Attr:laUpper; CaseCode:#$0585), // ARMENIAN CAPITAL LETTER OH (Unicode:#$0556; Attr:laUpper; CaseCode:#$0586), // ARMENIAN CAPITAL LETTER FEH (Unicode:#$0561; Attr:laLower; CaseCode:#$0531), // ARMENIAN SMALL LETTER AYB (Unicode:#$0562; Attr:laLower; CaseCode:#$0532), // ARMENIAN SMALL LETTER BEN (Unicode:#$0563; Attr:laLower; CaseCode:#$0533), // ARMENIAN SMALL LETTER GIM (Unicode:#$0564; Attr:laLower; CaseCode:#$0534), // ARMENIAN SMALL LETTER DA (Unicode:#$0565; Attr:laLower; CaseCode:#$0535), // ARMENIAN SMALL LETTER ECH (Unicode:#$0566; Attr:laLower; CaseCode:#$0536), // ARMENIAN SMALL LETTER ZA (Unicode:#$0567; Attr:laLower; CaseCode:#$0537), // ARMENIAN SMALL LETTER EH (Unicode:#$0568; Attr:laLower; CaseCode:#$0538), // ARMENIAN SMALL LETTER ET (Unicode:#$0569; Attr:laLower; CaseCode:#$0539), // ARMENIAN SMALL LETTER TO (Unicode:#$056A; Attr:laLower; CaseCode:#$053A), // ARMENIAN SMALL LETTER ZHE (Unicode:#$056B; Attr:laLower; CaseCode:#$053B), // ARMENIAN SMALL LETTER INI (Unicode:#$056C; Attr:laLower; CaseCode:#$053C), // ARMENIAN SMALL LETTER LIWN (Unicode:#$056D; Attr:laLower; CaseCode:#$053D), // ARMENIAN SMALL LETTER XEH (Unicode:#$056E; Attr:laLower; CaseCode:#$053E), // ARMENIAN SMALL LETTER CA (Unicode:#$056F; Attr:laLower; CaseCode:#$053F), // ARMENIAN SMALL LETTER KEN (Unicode:#$0570; Attr:laLower; CaseCode:#$0540), // ARMENIAN SMALL LETTER HO (Unicode:#$0571; Attr:laLower; CaseCode:#$0541), // ARMENIAN SMALL LETTER JA (Unicode:#$0572; Attr:laLower; CaseCode:#$0542), // ARMENIAN SMALL LETTER GHAD (Unicode:#$0573; Attr:laLower; CaseCode:#$0543), // ARMENIAN SMALL LETTER CHEH (Unicode:#$0574; Attr:laLower; CaseCode:#$0544), // ARMENIAN SMALL LETTER MEN (Unicode:#$0575; Attr:laLower; CaseCode:#$0545), // ARMENIAN SMALL LETTER YI (Unicode:#$0576; Attr:laLower; CaseCode:#$0546), // ARMENIAN SMALL LETTER NOW (Unicode:#$0577; Attr:laLower; CaseCode:#$0547), // ARMENIAN SMALL LETTER SHA (Unicode:#$0578; Attr:laLower; CaseCode:#$0548), // ARMENIAN SMALL LETTER VO (Unicode:#$0579; Attr:laLower; CaseCode:#$0549), // ARMENIAN SMALL LETTER CHA (Unicode:#$057A; Attr:laLower; CaseCode:#$054A), // ARMENIAN SMALL LETTER PEH (Unicode:#$057B; Attr:laLower; CaseCode:#$054B), // ARMENIAN SMALL LETTER JHEH (Unicode:#$057C; Attr:laLower; CaseCode:#$054C), // ARMENIAN SMALL LETTER RA (Unicode:#$057D; Attr:laLower; CaseCode:#$054D), // ARMENIAN SMALL LETTER SEH (Unicode:#$057E; Attr:laLower; CaseCode:#$054E), // ARMENIAN SMALL LETTER VEW (Unicode:#$057F; Attr:laLower; CaseCode:#$054F), // ARMENIAN SMALL LETTER TIWN (Unicode:#$0580; Attr:laLower; CaseCode:#$0550), // ARMENIAN SMALL LETTER REH (Unicode:#$0581; Attr:laLower; CaseCode:#$0551), // ARMENIAN SMALL LETTER CO (Unicode:#$0582; Attr:laLower; CaseCode:#$0552), // ARMENIAN SMALL LETTER YIWN (Unicode:#$0583; Attr:laLower; CaseCode:#$0553), // ARMENIAN SMALL LETTER PIWR (Unicode:#$0584; Attr:laLower; CaseCode:#$0554), // ARMENIAN SMALL LETTER KEH (Unicode:#$0585; Attr:laLower; CaseCode:#$0555), // ARMENIAN SMALL LETTER OH (Unicode:#$0586; Attr:laLower; CaseCode:#$0556), // ARMENIAN SMALL LETTER FEH (Unicode:#$0587; Attr:laLower; CaseCode:#$FFFF), // ARMENIAN SMALL LIGATURE ECH YIWN (Unicode:#$10A0; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER AN (Unicode:#$10A1; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER BAN (Unicode:#$10A2; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER GAN (Unicode:#$10A3; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER DON (Unicode:#$10A4; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER EN (Unicode:#$10A5; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER VIN (Unicode:#$10A6; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER ZEN (Unicode:#$10A7; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER TAN (Unicode:#$10A8; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER IN (Unicode:#$10A9; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER KAN (Unicode:#$10AA; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER LAS (Unicode:#$10AB; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER MAN (Unicode:#$10AC; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER NAR (Unicode:#$10AD; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER ON (Unicode:#$10AE; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER PAR (Unicode:#$10AF; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER ZHAR (Unicode:#$10B0; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER RAE (Unicode:#$10B1; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER SAN (Unicode:#$10B2; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER TAR (Unicode:#$10B3; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER UN (Unicode:#$10B4; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER PHAR (Unicode:#$10B5; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER KHAR (Unicode:#$10B6; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER GHAN (Unicode:#$10B7; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER QAR (Unicode:#$10B8; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER SHIN (Unicode:#$10B9; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER CHIN (Unicode:#$10BA; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER CAN (Unicode:#$10BB; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER JIL (Unicode:#$10BC; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER CIL (Unicode:#$10BD; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER CHAR (Unicode:#$10BE; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER XAN (Unicode:#$10BF; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER JHAN (Unicode:#$10C0; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER HAE (Unicode:#$10C1; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER HE (Unicode:#$10C2; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER HIE (Unicode:#$10C3; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER WE (Unicode:#$10C4; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER HAR (Unicode:#$10C5; Attr:laUpper; CaseCode:#$FFFF), // GEORGIAN CAPITAL LETTER HOE (Unicode:#$1E00; Attr:laUpper; CaseCode:#$1E01), // LATIN CAPITAL LETTER A WITH RING BELOW (Unicode:#$1E01; Attr:laLower; CaseCode:#$1E00), // LATIN SMALL LETTER A WITH RING BELOW (Unicode:#$1E02; Attr:laUpper; CaseCode:#$1E03), // LATIN CAPITAL LETTER B WITH DOT ABOVE (Unicode:#$1E03; Attr:laLower; CaseCode:#$1E02), // LATIN SMALL LETTER B WITH DOT ABOVE (Unicode:#$1E04; Attr:laUpper; CaseCode:#$1E05), // LATIN CAPITAL LETTER B WITH DOT BELOW (Unicode:#$1E05; Attr:laLower; CaseCode:#$1E04), // LATIN SMALL LETTER B WITH DOT BELOW (Unicode:#$1E06; Attr:laUpper; CaseCode:#$1E07), // LATIN CAPITAL LETTER B WITH LINE BELOW (Unicode:#$1E07; Attr:laLower; CaseCode:#$1E06), // LATIN SMALL LETTER B WITH LINE BELOW (Unicode:#$1E08; Attr:laUpper; CaseCode:#$1E09), // LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE (Unicode:#$1E09; Attr:laLower; CaseCode:#$1E08), // LATIN SMALL LETTER C WITH CEDILLA AND ACUTE (Unicode:#$1E0A; Attr:laUpper; CaseCode:#$1E0B), // LATIN CAPITAL LETTER D WITH DOT ABOVE (Unicode:#$1E0B; Attr:laLower; CaseCode:#$1E0A), // LATIN SMALL LETTER D WITH DOT ABOVE (Unicode:#$1E0C; Attr:laUpper; CaseCode:#$1E0D), // LATIN CAPITAL LETTER D WITH DOT BELOW (Unicode:#$1E0D; Attr:laLower; CaseCode:#$1E0C), // LATIN SMALL LETTER D WITH DOT BELOW (Unicode:#$1E0E; Attr:laUpper; CaseCode:#$1E0F), // LATIN CAPITAL LETTER D WITH LINE BELOW (Unicode:#$1E0F; Attr:laLower; CaseCode:#$1E0E), // LATIN SMALL LETTER D WITH LINE BELOW (Unicode:#$1E10; Attr:laUpper; CaseCode:#$1E11), // LATIN CAPITAL LETTER D WITH CEDILLA (Unicode:#$1E11; Attr:laLower; CaseCode:#$1E10), // LATIN SMALL LETTER D WITH CEDILLA (Unicode:#$1E12; Attr:laUpper; CaseCode:#$1E13), // LATIN CAPITAL LETTER D WITH CIRCUMFLEX BELOW (Unicode:#$1E13; Attr:laLower; CaseCode:#$1E12), // LATIN SMALL LETTER D WITH CIRCUMFLEX BELOW (Unicode:#$1E14; Attr:laUpper; CaseCode:#$1E15), // LATIN CAPITAL LETTER E WITH MACRON AND GRAVE (Unicode:#$1E15; Attr:laLower; CaseCode:#$1E14), // LATIN SMALL LETTER E WITH MACRON AND GRAVE (Unicode:#$1E16; Attr:laUpper; CaseCode:#$1E17), // LATIN CAPITAL LETTER E WITH MACRON AND ACUTE (Unicode:#$1E17; Attr:laLower; CaseCode:#$1E16), // LATIN SMALL LETTER E WITH MACRON AND ACUTE (Unicode:#$1E18; Attr:laUpper; CaseCode:#$1E19), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX BELOW (Unicode:#$1E19; Attr:laLower; CaseCode:#$1E18), // LATIN SMALL LETTER E WITH CIRCUMFLEX BELOW (Unicode:#$1E1A; Attr:laUpper; CaseCode:#$1E1B), // LATIN CAPITAL LETTER E WITH TILDE BELOW (Unicode:#$1E1B; Attr:laLower; CaseCode:#$1E1A), // LATIN SMALL LETTER E WITH TILDE BELOW (Unicode:#$1E1C; Attr:laUpper; CaseCode:#$1E1D), // LATIN CAPITAL LETTER E WITH CEDILLA AND BREVE (Unicode:#$1E1D; Attr:laLower; CaseCode:#$1E1C), // LATIN SMALL LETTER E WITH CEDILLA AND BREVE (Unicode:#$1E1E; Attr:laUpper; CaseCode:#$1E1F), // LATIN CAPITAL LETTER F WITH DOT ABOVE (Unicode:#$1E1F; Attr:laLower; CaseCode:#$1E1E), // LATIN SMALL LETTER F WITH DOT ABOVE (Unicode:#$1E20; Attr:laUpper; CaseCode:#$1E21), // LATIN CAPITAL LETTER G WITH MACRON (Unicode:#$1E21; Attr:laLower; CaseCode:#$1E20), // LATIN SMALL LETTER G WITH MACRON (Unicode:#$1E22; Attr:laUpper; CaseCode:#$1E23), // LATIN CAPITAL LETTER H WITH DOT ABOVE (Unicode:#$1E23; Attr:laLower; CaseCode:#$1E22), // LATIN SMALL LETTER H WITH DOT ABOVE (Unicode:#$1E24; Attr:laUpper; CaseCode:#$1E25), // LATIN CAPITAL LETTER H WITH DOT BELOW (Unicode:#$1E25; Attr:laLower; CaseCode:#$1E24), // LATIN SMALL LETTER H WITH DOT BELOW (Unicode:#$1E26; Attr:laUpper; CaseCode:#$1E27), // LATIN CAPITAL LETTER H WITH DIAERESIS (Unicode:#$1E27; Attr:laLower; CaseCode:#$1E26), // LATIN SMALL LETTER H WITH DIAERESIS (Unicode:#$1E28; Attr:laUpper; CaseCode:#$1E29), // LATIN CAPITAL LETTER H WITH CEDILLA (Unicode:#$1E29; Attr:laLower; CaseCode:#$1E28), // LATIN SMALL LETTER H WITH CEDILLA (Unicode:#$1E2A; Attr:laUpper; CaseCode:#$1E2B), // LATIN CAPITAL LETTER H WITH BREVE BELOW (Unicode:#$1E2B; Attr:laLower; CaseCode:#$1E2A), // LATIN SMALL LETTER H WITH BREVE BELOW (Unicode:#$1E2C; Attr:laUpper; CaseCode:#$1E2D), // LATIN CAPITAL LETTER I WITH TILDE BELOW (Unicode:#$1E2D; Attr:laLower; CaseCode:#$1E2C), // LATIN SMALL LETTER I WITH TILDE BELOW (Unicode:#$1E2E; Attr:laUpper; CaseCode:#$1E2F), // LATIN CAPITAL LETTER I WITH DIAERESIS AND ACUTE (Unicode:#$1E2F; Attr:laLower; CaseCode:#$1E2E), // LATIN SMALL LETTER I WITH DIAERESIS AND ACUTE (Unicode:#$1E30; Attr:laUpper; CaseCode:#$1E31), // LATIN CAPITAL LETTER K WITH ACUTE (Unicode:#$1E31; Attr:laLower; CaseCode:#$1E30), // LATIN SMALL LETTER K WITH ACUTE (Unicode:#$1E32; Attr:laUpper; CaseCode:#$1E33), // LATIN CAPITAL LETTER K WITH DOT BELOW (Unicode:#$1E33; Attr:laLower; CaseCode:#$1E32), // LATIN SMALL LETTER K WITH DOT BELOW (Unicode:#$1E34; Attr:laUpper; CaseCode:#$1E35), // LATIN CAPITAL LETTER K WITH LINE BELOW (Unicode:#$1E35; Attr:laLower; CaseCode:#$1E34), // LATIN SMALL LETTER K WITH LINE BELOW (Unicode:#$1E36; Attr:laUpper; CaseCode:#$1E37), // LATIN CAPITAL LETTER L WITH DOT BELOW (Unicode:#$1E37; Attr:laLower; CaseCode:#$1E36), // LATIN SMALL LETTER L WITH DOT BELOW (Unicode:#$1E38; Attr:laUpper; CaseCode:#$1E39), // LATIN CAPITAL LETTER L WITH DOT BELOW AND MACRON (Unicode:#$1E39; Attr:laLower; CaseCode:#$1E38), // LATIN SMALL LETTER L WITH DOT BELOW AND MACRON (Unicode:#$1E3A; Attr:laUpper; CaseCode:#$1E3B), // LATIN CAPITAL LETTER L WITH LINE BELOW (Unicode:#$1E3B; Attr:laLower; CaseCode:#$1E3A), // LATIN SMALL LETTER L WITH LINE BELOW (Unicode:#$1E3C; Attr:laUpper; CaseCode:#$1E3D), // LATIN CAPITAL LETTER L WITH CIRCUMFLEX BELOW (Unicode:#$1E3D; Attr:laLower; CaseCode:#$1E3C), // LATIN SMALL LETTER L WITH CIRCUMFLEX BELOW (Unicode:#$1E3E; Attr:laUpper; CaseCode:#$1E3F), // LATIN CAPITAL LETTER M WITH ACUTE (Unicode:#$1E3F; Attr:laLower; CaseCode:#$1E3E), // LATIN SMALL LETTER M WITH ACUTE (Unicode:#$1E40; Attr:laUpper; CaseCode:#$1E41), // LATIN CAPITAL LETTER M WITH DOT ABOVE (Unicode:#$1E41; Attr:laLower; CaseCode:#$1E40), // LATIN SMALL LETTER M WITH DOT ABOVE (Unicode:#$1E42; Attr:laUpper; CaseCode:#$1E43), // LATIN CAPITAL LETTER M WITH DOT BELOW (Unicode:#$1E43; Attr:laLower; CaseCode:#$1E42), // LATIN SMALL LETTER M WITH DOT BELOW (Unicode:#$1E44; Attr:laUpper; CaseCode:#$1E45), // LATIN CAPITAL LETTER N WITH DOT ABOVE (Unicode:#$1E45; Attr:laLower; CaseCode:#$1E44), // LATIN SMALL LETTER N WITH DOT ABOVE (Unicode:#$1E46; Attr:laUpper; CaseCode:#$1E47), // LATIN CAPITAL LETTER N WITH DOT BELOW (Unicode:#$1E47; Attr:laLower; CaseCode:#$1E46), // LATIN SMALL LETTER N WITH DOT BELOW (Unicode:#$1E48; Attr:laUpper; CaseCode:#$1E49), // LATIN CAPITAL LETTER N WITH LINE BELOW (Unicode:#$1E49; Attr:laLower; CaseCode:#$1E48), // LATIN SMALL LETTER N WITH LINE BELOW (Unicode:#$1E4A; Attr:laUpper; CaseCode:#$1E4B), // LATIN CAPITAL LETTER N WITH CIRCUMFLEX BELOW (Unicode:#$1E4B; Attr:laLower; CaseCode:#$1E4A), // LATIN SMALL LETTER N WITH CIRCUMFLEX BELOW (Unicode:#$1E4C; Attr:laUpper; CaseCode:#$1E4D), // LATIN CAPITAL LETTER O WITH TILDE AND ACUTE (Unicode:#$1E4D; Attr:laLower; CaseCode:#$1E4C), // LATIN SMALL LETTER O WITH TILDE AND ACUTE (Unicode:#$1E4E; Attr:laUpper; CaseCode:#$1E4F), // LATIN CAPITAL LETTER O WITH TILDE AND DIAERESIS (Unicode:#$1E4F; Attr:laLower; CaseCode:#$1E4E), // LATIN SMALL LETTER O WITH TILDE AND DIAERESIS (Unicode:#$1E50; Attr:laUpper; CaseCode:#$1E51), // LATIN CAPITAL LETTER O WITH MACRON AND GRAVE (Unicode:#$1E51; Attr:laLower; CaseCode:#$1E50), // LATIN SMALL LETTER O WITH MACRON AND GRAVE (Unicode:#$1E52; Attr:laUpper; CaseCode:#$1E53), // LATIN CAPITAL LETTER O WITH MACRON AND ACUTE (Unicode:#$1E53; Attr:laLower; CaseCode:#$1E52), // LATIN SMALL LETTER O WITH MACRON AND ACUTE (Unicode:#$1E54; Attr:laUpper; CaseCode:#$1E55), // LATIN CAPITAL LETTER P WITH ACUTE (Unicode:#$1E55; Attr:laLower; CaseCode:#$1E54), // LATIN SMALL LETTER P WITH ACUTE (Unicode:#$1E56; Attr:laUpper; CaseCode:#$1E57), // LATIN CAPITAL LETTER P WITH DOT ABOVE (Unicode:#$1E57; Attr:laLower; CaseCode:#$1E56), // LATIN SMALL LETTER P WITH DOT ABOVE (Unicode:#$1E58; Attr:laUpper; CaseCode:#$1E59), // LATIN CAPITAL LETTER R WITH DOT ABOVE (Unicode:#$1E59; Attr:laLower; CaseCode:#$1E58), // LATIN SMALL LETTER R WITH DOT ABOVE (Unicode:#$1E5A; Attr:laUpper; CaseCode:#$1E5B), // LATIN CAPITAL LETTER R WITH DOT BELOW (Unicode:#$1E5B; Attr:laLower; CaseCode:#$1E5A), // LATIN SMALL LETTER R WITH DOT BELOW (Unicode:#$1E5C; Attr:laUpper; CaseCode:#$1E5D), // LATIN CAPITAL LETTER R WITH DOT BELOW AND MACRON (Unicode:#$1E5D; Attr:laLower; CaseCode:#$1E5C), // LATIN SMALL LETTER R WITH DOT BELOW AND MACRON (Unicode:#$1E5E; Attr:laUpper; CaseCode:#$1E5F), // LATIN CAPITAL LETTER R WITH LINE BELOW (Unicode:#$1E5F; Attr:laLower; CaseCode:#$1E5E), // LATIN SMALL LETTER R WITH LINE BELOW (Unicode:#$1E60; Attr:laUpper; CaseCode:#$1E61), // LATIN CAPITAL LETTER S WITH DOT ABOVE (Unicode:#$1E61; Attr:laLower; CaseCode:#$1E60), // LATIN SMALL LETTER S WITH DOT ABOVE (Unicode:#$1E62; Attr:laUpper; CaseCode:#$1E63), // LATIN CAPITAL LETTER S WITH DOT BELOW (Unicode:#$1E63; Attr:laLower; CaseCode:#$1E62), // LATIN SMALL LETTER S WITH DOT BELOW (Unicode:#$1E64; Attr:laUpper; CaseCode:#$1E65), // LATIN CAPITAL LETTER S WITH ACUTE AND DOT ABOVE (Unicode:#$1E65; Attr:laLower; CaseCode:#$1E64), // LATIN SMALL LETTER S WITH ACUTE AND DOT ABOVE (Unicode:#$1E66; Attr:laUpper; CaseCode:#$1E67), // LATIN CAPITAL LETTER S WITH CARON AND DOT ABOVE (Unicode:#$1E67; Attr:laLower; CaseCode:#$1E66), // LATIN SMALL LETTER S WITH CARON AND DOT ABOVE (Unicode:#$1E68; Attr:laUpper; CaseCode:#$1E69), // LATIN CAPITAL LETTER S WITH DOT BELOW AND DOT ABOVE (Unicode:#$1E69; Attr:laLower; CaseCode:#$1E68), // LATIN SMALL LETTER S WITH DOT BELOW AND DOT ABOVE (Unicode:#$1E6A; Attr:laUpper; CaseCode:#$1E6B), // LATIN CAPITAL LETTER T WITH DOT ABOVE (Unicode:#$1E6B; Attr:laLower; CaseCode:#$1E6A), // LATIN SMALL LETTER T WITH DOT ABOVE (Unicode:#$1E6C; Attr:laUpper; CaseCode:#$1E6D), // LATIN CAPITAL LETTER T WITH DOT BELOW (Unicode:#$1E6D; Attr:laLower; CaseCode:#$1E6C), // LATIN SMALL LETTER T WITH DOT BELOW (Unicode:#$1E6E; Attr:laUpper; CaseCode:#$1E6F), // LATIN CAPITAL LETTER T WITH LINE BELOW (Unicode:#$1E6F; Attr:laLower; CaseCode:#$1E6E), // LATIN SMALL LETTER T WITH LINE BELOW (Unicode:#$1E70; Attr:laUpper; CaseCode:#$1E71), // LATIN CAPITAL LETTER T WITH CIRCUMFLEX BELOW (Unicode:#$1E71; Attr:laLower; CaseCode:#$1E70), // LATIN SMALL LETTER T WITH CIRCUMFLEX BELOW (Unicode:#$1E72; Attr:laUpper; CaseCode:#$1E73), // LATIN CAPITAL LETTER U WITH DIAERESIS BELOW (Unicode:#$1E73; Attr:laLower; CaseCode:#$1E72), // LATIN SMALL LETTER U WITH DIAERESIS BELOW (Unicode:#$1E74; Attr:laUpper; CaseCode:#$1E75), // LATIN CAPITAL LETTER U WITH TILDE BELOW (Unicode:#$1E75; Attr:laLower; CaseCode:#$1E74), // LATIN SMALL LETTER U WITH TILDE BELOW (Unicode:#$1E76; Attr:laUpper; CaseCode:#$1E77), // LATIN CAPITAL LETTER U WITH CIRCUMFLEX BELOW (Unicode:#$1E77; Attr:laLower; CaseCode:#$1E76), // LATIN SMALL LETTER U WITH CIRCUMFLEX BELOW (Unicode:#$1E78; Attr:laUpper; CaseCode:#$1E79), // LATIN CAPITAL LETTER U WITH TILDE AND ACUTE (Unicode:#$1E79; Attr:laLower; CaseCode:#$1E78), // LATIN SMALL LETTER U WITH TILDE AND ACUTE (Unicode:#$1E7A; Attr:laUpper; CaseCode:#$1E7B), // LATIN CAPITAL LETTER U WITH MACRON AND DIAERESIS (Unicode:#$1E7B; Attr:laLower; CaseCode:#$1E7A), // LATIN SMALL LETTER U WITH MACRON AND DIAERESIS (Unicode:#$1E7C; Attr:laUpper; CaseCode:#$1E7D), // LATIN CAPITAL LETTER V WITH TILDE (Unicode:#$1E7D; Attr:laLower; CaseCode:#$1E7C), // LATIN SMALL LETTER V WITH TILDE (Unicode:#$1E7E; Attr:laUpper; CaseCode:#$1E7F), // LATIN CAPITAL LETTER V WITH DOT BELOW (Unicode:#$1E7F; Attr:laLower; CaseCode:#$1E7E), // LATIN SMALL LETTER V WITH DOT BELOW (Unicode:#$1E80; Attr:laUpper; CaseCode:#$1E81), // LATIN CAPITAL LETTER W WITH GRAVE (Unicode:#$1E81; Attr:laLower; CaseCode:#$1E80), // LATIN SMALL LETTER W WITH GRAVE (Unicode:#$1E82; Attr:laUpper; CaseCode:#$1E83), // LATIN CAPITAL LETTER W WITH ACUTE (Unicode:#$1E83; Attr:laLower; CaseCode:#$1E82), // LATIN SMALL LETTER W WITH ACUTE (Unicode:#$1E84; Attr:laUpper; CaseCode:#$1E85), // LATIN CAPITAL LETTER W WITH DIAERESIS (Unicode:#$1E85; Attr:laLower; CaseCode:#$1E84), // LATIN SMALL LETTER W WITH DIAERESIS (Unicode:#$1E86; Attr:laUpper; CaseCode:#$1E87), // LATIN CAPITAL LETTER W WITH DOT ABOVE (Unicode:#$1E87; Attr:laLower; CaseCode:#$1E86), // LATIN SMALL LETTER W WITH DOT ABOVE (Unicode:#$1E88; Attr:laUpper; CaseCode:#$1E89), // LATIN CAPITAL LETTER W WITH DOT BELOW (Unicode:#$1E89; Attr:laLower; CaseCode:#$1E88), // LATIN SMALL LETTER W WITH DOT BELOW (Unicode:#$1E8A; Attr:laUpper; CaseCode:#$1E8B), // LATIN CAPITAL LETTER X WITH DOT ABOVE (Unicode:#$1E8B; Attr:laLower; CaseCode:#$1E8A), // LATIN SMALL LETTER X WITH DOT ABOVE (Unicode:#$1E8C; Attr:laUpper; CaseCode:#$1E8D), // LATIN CAPITAL LETTER X WITH DIAERESIS (Unicode:#$1E8D; Attr:laLower; CaseCode:#$1E8C), // LATIN SMALL LETTER X WITH DIAERESIS (Unicode:#$1E8E; Attr:laUpper; CaseCode:#$1E8F), // LATIN CAPITAL LETTER Y WITH DOT ABOVE (Unicode:#$1E8F; Attr:laLower; CaseCode:#$1E8E), // LATIN SMALL LETTER Y WITH DOT ABOVE (Unicode:#$1E90; Attr:laUpper; CaseCode:#$1E91), // LATIN CAPITAL LETTER Z WITH CIRCUMFLEX (Unicode:#$1E91; Attr:laLower; CaseCode:#$1E90), // LATIN SMALL LETTER Z WITH CIRCUMFLEX (Unicode:#$1E92; Attr:laUpper; CaseCode:#$1E93), // LATIN CAPITAL LETTER Z WITH DOT BELOW (Unicode:#$1E93; Attr:laLower; CaseCode:#$1E92), // LATIN SMALL LETTER Z WITH DOT BELOW (Unicode:#$1E94; Attr:laUpper; CaseCode:#$1E95), // LATIN CAPITAL LETTER Z WITH LINE BELOW (Unicode:#$1E95; Attr:laLower; CaseCode:#$1E94), // LATIN SMALL LETTER Z WITH LINE BELOW (Unicode:#$1E96; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER H WITH LINE BELOW (Unicode:#$1E97; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER T WITH DIAERESIS (Unicode:#$1E98; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER W WITH RING ABOVE (Unicode:#$1E99; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER Y WITH RING ABOVE (Unicode:#$1E9A; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LETTER A WITH RIGHT HALF RING (Unicode:#$1E9B; Attr:laLower; CaseCode:#$1E60), // LATIN SMALL LETTER LONG S WITH DOT ABOVE (Unicode:#$1EA0; Attr:laUpper; CaseCode:#$1EA1), // LATIN CAPITAL LETTER A WITH DOT BELOW (Unicode:#$1EA1; Attr:laLower; CaseCode:#$1EA0), // LATIN SMALL LETTER A WITH DOT BELOW (Unicode:#$1EA2; Attr:laUpper; CaseCode:#$1EA3), // LATIN CAPITAL LETTER A WITH HOOK ABOVE (Unicode:#$1EA3; Attr:laLower; CaseCode:#$1EA2), // LATIN SMALL LETTER A WITH HOOK ABOVE (Unicode:#$1EA4; Attr:laUpper; CaseCode:#$1EA5), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EA5; Attr:laLower; CaseCode:#$1EA4), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EA6; Attr:laUpper; CaseCode:#$1EA7), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EA7; Attr:laLower; CaseCode:#$1EA6), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EA8; Attr:laUpper; CaseCode:#$1EA9), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EA9; Attr:laLower; CaseCode:#$1EA8), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EAA; Attr:laUpper; CaseCode:#$1EAB), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE (Unicode:#$1EAB; Attr:laLower; CaseCode:#$1EAA), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE (Unicode:#$1EAC; Attr:laUpper; CaseCode:#$1EAD), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EAD; Attr:laLower; CaseCode:#$1EAC), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EAE; Attr:laUpper; CaseCode:#$1EAF), // LATIN CAPITAL LETTER A WITH BREVE AND ACUTE (Unicode:#$1EAF; Attr:laLower; CaseCode:#$1EAE), // LATIN SMALL LETTER A WITH BREVE AND ACUTE (Unicode:#$1EB0; Attr:laUpper; CaseCode:#$1EB1), // LATIN CAPITAL LETTER A WITH BREVE AND GRAVE (Unicode:#$1EB1; Attr:laLower; CaseCode:#$1EB0), // LATIN SMALL LETTER A WITH BREVE AND GRAVE (Unicode:#$1EB2; Attr:laUpper; CaseCode:#$1EB3), // LATIN CAPITAL LETTER A WITH BREVE AND HOOK ABOVE (Unicode:#$1EB3; Attr:laLower; CaseCode:#$1EB2), // LATIN SMALL LETTER A WITH BREVE AND HOOK ABOVE (Unicode:#$1EB4; Attr:laUpper; CaseCode:#$1EB5), // LATIN CAPITAL LETTER A WITH BREVE AND TILDE (Unicode:#$1EB5; Attr:laLower; CaseCode:#$1EB4), // LATIN SMALL LETTER A WITH BREVE AND TILDE (Unicode:#$1EB6; Attr:laUpper; CaseCode:#$1EB7), // LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW (Unicode:#$1EB7; Attr:laLower; CaseCode:#$1EB6), // LATIN SMALL LETTER A WITH BREVE AND DOT BELOW (Unicode:#$1EB8; Attr:laUpper; CaseCode:#$1EB9), // LATIN CAPITAL LETTER E WITH DOT BELOW (Unicode:#$1EB9; Attr:laLower; CaseCode:#$1EB8), // LATIN SMALL LETTER E WITH DOT BELOW (Unicode:#$1EBA; Attr:laUpper; CaseCode:#$1EBB), // LATIN CAPITAL LETTER E WITH HOOK ABOVE (Unicode:#$1EBB; Attr:laLower; CaseCode:#$1EBA), // LATIN SMALL LETTER E WITH HOOK ABOVE (Unicode:#$1EBC; Attr:laUpper; CaseCode:#$1EBD), // LATIN CAPITAL LETTER E WITH TILDE (Unicode:#$1EBD; Attr:laLower; CaseCode:#$1EBC), // LATIN SMALL LETTER E WITH TILDE (Unicode:#$1EBE; Attr:laUpper; CaseCode:#$1EBF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EBF; Attr:laLower; CaseCode:#$1EBE), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EC0; Attr:laUpper; CaseCode:#$1EC1), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EC1; Attr:laLower; CaseCode:#$1EC0), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EC2; Attr:laUpper; CaseCode:#$1EC3), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EC3; Attr:laLower; CaseCode:#$1EC2), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EC4; Attr:laUpper; CaseCode:#$1EC5), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE (Unicode:#$1EC5; Attr:laLower; CaseCode:#$1EC4), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE (Unicode:#$1EC6; Attr:laUpper; CaseCode:#$1EC7), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EC7; Attr:laLower; CaseCode:#$1EC6), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EC8; Attr:laUpper; CaseCode:#$1EC9), // LATIN CAPITAL LETTER I WITH HOOK ABOVE (Unicode:#$1EC9; Attr:laLower; CaseCode:#$1EC8), // LATIN SMALL LETTER I WITH HOOK ABOVE (Unicode:#$1ECA; Attr:laUpper; CaseCode:#$1ECB), // LATIN CAPITAL LETTER I WITH DOT BELOW (Unicode:#$1ECB; Attr:laLower; CaseCode:#$1ECA), // LATIN SMALL LETTER I WITH DOT BELOW (Unicode:#$1ECC; Attr:laUpper; CaseCode:#$1ECD), // LATIN CAPITAL LETTER O WITH DOT BELOW (Unicode:#$1ECD; Attr:laLower; CaseCode:#$1ECC), // LATIN SMALL LETTER O WITH DOT BELOW (Unicode:#$1ECE; Attr:laUpper; CaseCode:#$1ECF), // LATIN CAPITAL LETTER O WITH HOOK ABOVE (Unicode:#$1ECF; Attr:laLower; CaseCode:#$1ECE), // LATIN SMALL LETTER O WITH HOOK ABOVE (Unicode:#$1ED0; Attr:laUpper; CaseCode:#$1ED1), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE (Unicode:#$1ED1; Attr:laLower; CaseCode:#$1ED0), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE (Unicode:#$1ED2; Attr:laUpper; CaseCode:#$1ED3), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE (Unicode:#$1ED3; Attr:laLower; CaseCode:#$1ED2), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE (Unicode:#$1ED4; Attr:laUpper; CaseCode:#$1ED5), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1ED5; Attr:laLower; CaseCode:#$1ED4), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1ED6; Attr:laUpper; CaseCode:#$1ED7), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE (Unicode:#$1ED7; Attr:laLower; CaseCode:#$1ED6), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE (Unicode:#$1ED8; Attr:laUpper; CaseCode:#$1ED9), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1ED9; Attr:laLower; CaseCode:#$1ED8), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EDA; Attr:laUpper; CaseCode:#$1EDB), // LATIN CAPITAL LETTER O WITH HORN AND ACUTE (Unicode:#$1EDB; Attr:laLower; CaseCode:#$1EDA), // LATIN SMALL LETTER O WITH HORN AND ACUTE (Unicode:#$1EDC; Attr:laUpper; CaseCode:#$1EDD), // LATIN CAPITAL LETTER O WITH HORN AND GRAVE (Unicode:#$1EDD; Attr:laLower; CaseCode:#$1EDC), // LATIN SMALL LETTER O WITH HORN AND GRAVE (Unicode:#$1EDE; Attr:laUpper; CaseCode:#$1EDF), // LATIN CAPITAL LETTER O WITH HORN AND HOOK ABOVE (Unicode:#$1EDF; Attr:laLower; CaseCode:#$1EDE), // LATIN SMALL LETTER O WITH HORN AND HOOK ABOVE (Unicode:#$1EE0; Attr:laUpper; CaseCode:#$1EE1), // LATIN CAPITAL LETTER O WITH HORN AND TILDE (Unicode:#$1EE1; Attr:laLower; CaseCode:#$1EE0), // LATIN SMALL LETTER O WITH HORN AND TILDE (Unicode:#$1EE2; Attr:laUpper; CaseCode:#$1EE3), // LATIN CAPITAL LETTER O WITH HORN AND DOT BELOW (Unicode:#$1EE3; Attr:laLower; CaseCode:#$1EE2), // LATIN SMALL LETTER O WITH HORN AND DOT BELOW (Unicode:#$1EE4; Attr:laUpper; CaseCode:#$1EE5), // LATIN CAPITAL LETTER U WITH DOT BELOW (Unicode:#$1EE5; Attr:laLower; CaseCode:#$1EE4), // LATIN SMALL LETTER U WITH DOT BELOW (Unicode:#$1EE6; Attr:laUpper; CaseCode:#$1EE7), // LATIN CAPITAL LETTER U WITH HOOK ABOVE (Unicode:#$1EE7; Attr:laLower; CaseCode:#$1EE6), // LATIN SMALL LETTER U WITH HOOK ABOVE (Unicode:#$1EE8; Attr:laUpper; CaseCode:#$1EE9), // LATIN CAPITAL LETTER U WITH HORN AND ACUTE (Unicode:#$1EE9; Attr:laLower; CaseCode:#$1EE8), // LATIN SMALL LETTER U WITH HORN AND ACUTE (Unicode:#$1EEA; Attr:laUpper; CaseCode:#$1EEB), // LATIN CAPITAL LETTER U WITH HORN AND GRAVE (Unicode:#$1EEB; Attr:laLower; CaseCode:#$1EEA), // LATIN SMALL LETTER U WITH HORN AND GRAVE (Unicode:#$1EEC; Attr:laUpper; CaseCode:#$1EED), // LATIN CAPITAL LETTER U WITH HORN AND HOOK ABOVE (Unicode:#$1EED; Attr:laLower; CaseCode:#$1EEC), // LATIN SMALL LETTER U WITH HORN AND HOOK ABOVE (Unicode:#$1EEE; Attr:laUpper; CaseCode:#$1EEF), // LATIN CAPITAL LETTER U WITH HORN AND TILDE (Unicode:#$1EEF; Attr:laLower; CaseCode:#$1EEE), // LATIN SMALL LETTER U WITH HORN AND TILDE (Unicode:#$1EF0; Attr:laUpper; CaseCode:#$1EF1), // LATIN CAPITAL LETTER U WITH HORN AND DOT BELOW (Unicode:#$1EF1; Attr:laLower; CaseCode:#$1EF0), // LATIN SMALL LETTER U WITH HORN AND DOT BELOW (Unicode:#$1EF2; Attr:laUpper; CaseCode:#$1EF3), // LATIN CAPITAL LETTER Y WITH GRAVE (Unicode:#$1EF3; Attr:laLower; CaseCode:#$1EF2), // LATIN SMALL LETTER Y WITH GRAVE (Unicode:#$1EF4; Attr:laUpper; CaseCode:#$1EF5), // LATIN CAPITAL LETTER Y WITH DOT BELOW (Unicode:#$1EF5; Attr:laLower; CaseCode:#$1EF4), // LATIN SMALL LETTER Y WITH DOT BELOW (Unicode:#$1EF6; Attr:laUpper; CaseCode:#$1EF7), // LATIN CAPITAL LETTER Y WITH HOOK ABOVE (Unicode:#$1EF7; Attr:laLower; CaseCode:#$1EF6), // LATIN SMALL LETTER Y WITH HOOK ABOVE (Unicode:#$1EF8; Attr:laUpper; CaseCode:#$1EF9), // LATIN CAPITAL LETTER Y WITH TILDE (Unicode:#$1EF9; Attr:laLower; CaseCode:#$1EF8), // LATIN SMALL LETTER Y WITH TILDE (Unicode:#$1F00; Attr:laLower; CaseCode:#$1F08), // GREEK SMALL LETTER ALPHA WITH PSILI (Unicode:#$1F01; Attr:laLower; CaseCode:#$1F09), // GREEK SMALL LETTER ALPHA WITH DASIA (Unicode:#$1F02; Attr:laLower; CaseCode:#$1F0A), // GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA (Unicode:#$1F03; Attr:laLower; CaseCode:#$1F0B), // GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA (Unicode:#$1F04; Attr:laLower; CaseCode:#$1F0C), // GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA (Unicode:#$1F05; Attr:laLower; CaseCode:#$1F0D), // GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA (Unicode:#$1F06; Attr:laLower; CaseCode:#$1F0E), // GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI (Unicode:#$1F07; Attr:laLower; CaseCode:#$1F0F), // GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI (Unicode:#$1F08; Attr:laUpper; CaseCode:#$1F00), // GREEK CAPITAL LETTER ALPHA WITH PSILI (Unicode:#$1F09; Attr:laUpper; CaseCode:#$1F01), // GREEK CAPITAL LETTER ALPHA WITH DASIA (Unicode:#$1F0A; Attr:laUpper; CaseCode:#$1F02), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA (Unicode:#$1F0B; Attr:laUpper; CaseCode:#$1F03), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA (Unicode:#$1F0C; Attr:laUpper; CaseCode:#$1F04), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA (Unicode:#$1F0D; Attr:laUpper; CaseCode:#$1F05), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA (Unicode:#$1F0E; Attr:laUpper; CaseCode:#$1F06), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI (Unicode:#$1F0F; Attr:laUpper; CaseCode:#$1F07), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI (Unicode:#$1F10; Attr:laLower; CaseCode:#$1F18), // GREEK SMALL LETTER EPSILON WITH PSILI (Unicode:#$1F11; Attr:laLower; CaseCode:#$1F19), // GREEK SMALL LETTER EPSILON WITH DASIA (Unicode:#$1F12; Attr:laLower; CaseCode:#$1F1A), // GREEK SMALL LETTER EPSILON WITH PSILI AND VARIA (Unicode:#$1F13; Attr:laLower; CaseCode:#$1F1B), // GREEK SMALL LETTER EPSILON WITH DASIA AND VARIA (Unicode:#$1F14; Attr:laLower; CaseCode:#$1F1C), // GREEK SMALL LETTER EPSILON WITH PSILI AND OXIA (Unicode:#$1F15; Attr:laLower; CaseCode:#$1F1D), // GREEK SMALL LETTER EPSILON WITH DASIA AND OXIA (Unicode:#$1F18; Attr:laUpper; CaseCode:#$1F10), // GREEK CAPITAL LETTER EPSILON WITH PSILI (Unicode:#$1F19; Attr:laUpper; CaseCode:#$1F11), // GREEK CAPITAL LETTER EPSILON WITH DASIA (Unicode:#$1F1A; Attr:laUpper; CaseCode:#$1F12), // GREEK CAPITAL LETTER EPSILON WITH PSILI AND VARIA (Unicode:#$1F1B; Attr:laUpper; CaseCode:#$1F13), // GREEK CAPITAL LETTER EPSILON WITH DASIA AND VARIA (Unicode:#$1F1C; Attr:laUpper; CaseCode:#$1F14), // GREEK CAPITAL LETTER EPSILON WITH PSILI AND OXIA (Unicode:#$1F1D; Attr:laUpper; CaseCode:#$1F15), // GREEK CAPITAL LETTER EPSILON WITH DASIA AND OXIA (Unicode:#$1F20; Attr:laLower; CaseCode:#$1F28), // GREEK SMALL LETTER ETA WITH PSILI (Unicode:#$1F21; Attr:laLower; CaseCode:#$1F29), // GREEK SMALL LETTER ETA WITH DASIA (Unicode:#$1F22; Attr:laLower; CaseCode:#$1F2A), // GREEK SMALL LETTER ETA WITH PSILI AND VARIA (Unicode:#$1F23; Attr:laLower; CaseCode:#$1F2B), // GREEK SMALL LETTER ETA WITH DASIA AND VARIA (Unicode:#$1F24; Attr:laLower; CaseCode:#$1F2C), // GREEK SMALL LETTER ETA WITH PSILI AND OXIA (Unicode:#$1F25; Attr:laLower; CaseCode:#$1F2D), // GREEK SMALL LETTER ETA WITH DASIA AND OXIA (Unicode:#$1F26; Attr:laLower; CaseCode:#$1F2E), // GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI (Unicode:#$1F27; Attr:laLower; CaseCode:#$1F2F), // GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI (Unicode:#$1F28; Attr:laUpper; CaseCode:#$1F20), // GREEK CAPITAL LETTER ETA WITH PSILI (Unicode:#$1F29; Attr:laUpper; CaseCode:#$1F21), // GREEK CAPITAL LETTER ETA WITH DASIA (Unicode:#$1F2A; Attr:laUpper; CaseCode:#$1F22), // GREEK CAPITAL LETTER ETA WITH PSILI AND VARIA (Unicode:#$1F2B; Attr:laUpper; CaseCode:#$1F23), // GREEK CAPITAL LETTER ETA WITH DASIA AND VARIA (Unicode:#$1F2C; Attr:laUpper; CaseCode:#$1F24), // GREEK CAPITAL LETTER ETA WITH PSILI AND OXIA (Unicode:#$1F2D; Attr:laUpper; CaseCode:#$1F25), // GREEK CAPITAL LETTER ETA WITH DASIA AND OXIA (Unicode:#$1F2E; Attr:laUpper; CaseCode:#$1F26), // GREEK CAPITAL LETTER ETA WITH PSILI AND PERISPOMENI (Unicode:#$1F2F; Attr:laUpper; CaseCode:#$1F27), // GREEK CAPITAL LETTER ETA WITH DASIA AND PERISPOMENI (Unicode:#$1F30; Attr:laLower; CaseCode:#$1F38), // GREEK SMALL LETTER IOTA WITH PSILI (Unicode:#$1F31; Attr:laLower; CaseCode:#$1F39), // GREEK SMALL LETTER IOTA WITH DASIA (Unicode:#$1F32; Attr:laLower; CaseCode:#$1F3A), // GREEK SMALL LETTER IOTA WITH PSILI AND VARIA (Unicode:#$1F33; Attr:laLower; CaseCode:#$1F3B), // GREEK SMALL LETTER IOTA WITH DASIA AND VARIA (Unicode:#$1F34; Attr:laLower; CaseCode:#$1F3C), // GREEK SMALL LETTER IOTA WITH PSILI AND OXIA (Unicode:#$1F35; Attr:laLower; CaseCode:#$1F3D), // GREEK SMALL LETTER IOTA WITH DASIA AND OXIA (Unicode:#$1F36; Attr:laLower; CaseCode:#$1F3E), // GREEK SMALL LETTER IOTA WITH PSILI AND PERISPOMENI (Unicode:#$1F37; Attr:laLower; CaseCode:#$1F3F), // GREEK SMALL LETTER IOTA WITH DASIA AND PERISPOMENI (Unicode:#$1F38; Attr:laUpper; CaseCode:#$1F30), // GREEK CAPITAL LETTER IOTA WITH PSILI (Unicode:#$1F39; Attr:laUpper; CaseCode:#$1F31), // GREEK CAPITAL LETTER IOTA WITH DASIA (Unicode:#$1F3A; Attr:laUpper; CaseCode:#$1F32), // GREEK CAPITAL LETTER IOTA WITH PSILI AND VARIA (Unicode:#$1F3B; Attr:laUpper; CaseCode:#$1F33), // GREEK CAPITAL LETTER IOTA WITH DASIA AND VARIA (Unicode:#$1F3C; Attr:laUpper; CaseCode:#$1F34), // GREEK CAPITAL LETTER IOTA WITH PSILI AND OXIA (Unicode:#$1F3D; Attr:laUpper; CaseCode:#$1F35), // GREEK CAPITAL LETTER IOTA WITH DASIA AND OXIA (Unicode:#$1F3E; Attr:laUpper; CaseCode:#$1F36), // GREEK CAPITAL LETTER IOTA WITH PSILI AND PERISPOMENI (Unicode:#$1F3F; Attr:laUpper; CaseCode:#$1F37), // GREEK CAPITAL LETTER IOTA WITH DASIA AND PERISPOMENI (Unicode:#$1F40; Attr:laLower; CaseCode:#$1F48), // GREEK SMALL LETTER OMICRON WITH PSILI (Unicode:#$1F41; Attr:laLower; CaseCode:#$1F49), // GREEK SMALL LETTER OMICRON WITH DASIA (Unicode:#$1F42; Attr:laLower; CaseCode:#$1F4A), // GREEK SMALL LETTER OMICRON WITH PSILI AND VARIA (Unicode:#$1F43; Attr:laLower; CaseCode:#$1F4B), // GREEK SMALL LETTER OMICRON WITH DASIA AND VARIA (Unicode:#$1F44; Attr:laLower; CaseCode:#$1F4C), // GREEK SMALL LETTER OMICRON WITH PSILI AND OXIA (Unicode:#$1F45; Attr:laLower; CaseCode:#$1F4D), // GREEK SMALL LETTER OMICRON WITH DASIA AND OXIA (Unicode:#$1F48; Attr:laUpper; CaseCode:#$1F40), // GREEK CAPITAL LETTER OMICRON WITH PSILI (Unicode:#$1F49; Attr:laUpper; CaseCode:#$1F41), // GREEK CAPITAL LETTER OMICRON WITH DASIA (Unicode:#$1F4A; Attr:laUpper; CaseCode:#$1F42), // GREEK CAPITAL LETTER OMICRON WITH PSILI AND VARIA (Unicode:#$1F4B; Attr:laUpper; CaseCode:#$1F43), // GREEK CAPITAL LETTER OMICRON WITH DASIA AND VARIA (Unicode:#$1F4C; Attr:laUpper; CaseCode:#$1F44), // GREEK CAPITAL LETTER OMICRON WITH PSILI AND OXIA (Unicode:#$1F4D; Attr:laUpper; CaseCode:#$1F45), // GREEK CAPITAL LETTER OMICRON WITH DASIA AND OXIA (Unicode:#$1F50; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI (Unicode:#$1F51; Attr:laLower; CaseCode:#$1F59), // GREEK SMALL LETTER UPSILON WITH DASIA (Unicode:#$1F52; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI AND VARIA (Unicode:#$1F53; Attr:laLower; CaseCode:#$1F5B), // GREEK SMALL LETTER UPSILON WITH DASIA AND VARIA (Unicode:#$1F54; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI AND OXIA (Unicode:#$1F55; Attr:laLower; CaseCode:#$1F5D), // GREEK SMALL LETTER UPSILON WITH DASIA AND OXIA (Unicode:#$1F56; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI AND PERISPOMENI (Unicode:#$1F57; Attr:laLower; CaseCode:#$1F5F), // GREEK SMALL LETTER UPSILON WITH DASIA AND PERISPOMENI (Unicode:#$1F59; Attr:laUpper; CaseCode:#$1F51), // GREEK CAPITAL LETTER UPSILON WITH DASIA (Unicode:#$1F5B; Attr:laUpper; CaseCode:#$1F53), // GREEK CAPITAL LETTER UPSILON WITH DASIA AND VARIA (Unicode:#$1F5D; Attr:laUpper; CaseCode:#$1F55), // GREEK CAPITAL LETTER UPSILON WITH DASIA AND OXIA (Unicode:#$1F5F; Attr:laUpper; CaseCode:#$1F57), // GREEK CAPITAL LETTER UPSILON WITH DASIA AND PERISPOMENI (Unicode:#$1F60; Attr:laLower; CaseCode:#$1F68), // GREEK SMALL LETTER OMEGA WITH PSILI (Unicode:#$1F61; Attr:laLower; CaseCode:#$1F69), // GREEK SMALL LETTER OMEGA WITH DASIA (Unicode:#$1F62; Attr:laLower; CaseCode:#$1F6A), // GREEK SMALL LETTER OMEGA WITH PSILI AND VARIA (Unicode:#$1F63; Attr:laLower; CaseCode:#$1F6B), // GREEK SMALL LETTER OMEGA WITH DASIA AND VARIA (Unicode:#$1F64; Attr:laLower; CaseCode:#$1F6C), // GREEK SMALL LETTER OMEGA WITH PSILI AND OXIA (Unicode:#$1F65; Attr:laLower; CaseCode:#$1F6D), // GREEK SMALL LETTER OMEGA WITH DASIA AND OXIA (Unicode:#$1F66; Attr:laLower; CaseCode:#$1F6E), // GREEK SMALL LETTER OMEGA WITH PSILI AND PERISPOMENI (Unicode:#$1F67; Attr:laLower; CaseCode:#$1F6F), // GREEK SMALL LETTER OMEGA WITH DASIA AND PERISPOMENI (Unicode:#$1F68; Attr:laUpper; CaseCode:#$1F60), // GREEK CAPITAL LETTER OMEGA WITH PSILI (Unicode:#$1F69; Attr:laUpper; CaseCode:#$1F61), // GREEK CAPITAL LETTER OMEGA WITH DASIA (Unicode:#$1F6A; Attr:laUpper; CaseCode:#$1F62), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND VARIA (Unicode:#$1F6B; Attr:laUpper; CaseCode:#$1F63), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND VARIA (Unicode:#$1F6C; Attr:laUpper; CaseCode:#$1F64), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND OXIA (Unicode:#$1F6D; Attr:laUpper; CaseCode:#$1F65), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND OXIA (Unicode:#$1F6E; Attr:laUpper; CaseCode:#$1F66), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND PERISPOMENI (Unicode:#$1F6F; Attr:laUpper; CaseCode:#$1F67), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND PERISPOMENI (Unicode:#$1F70; Attr:laLower; CaseCode:#$1FBA), // GREEK SMALL LETTER ALPHA WITH VARIA (Unicode:#$1F71; Attr:laLower; CaseCode:#$1FBB), // GREEK SMALL LETTER ALPHA WITH OXIA (Unicode:#$1F72; Attr:laLower; CaseCode:#$1FC8), // GREEK SMALL LETTER EPSILON WITH VARIA (Unicode:#$1F73; Attr:laLower; CaseCode:#$1FC9), // GREEK SMALL LETTER EPSILON WITH OXIA (Unicode:#$1F74; Attr:laLower; CaseCode:#$1FCA), // GREEK SMALL LETTER ETA WITH VARIA (Unicode:#$1F75; Attr:laLower; CaseCode:#$1FCB), // GREEK SMALL LETTER ETA WITH OXIA (Unicode:#$1F76; Attr:laLower; CaseCode:#$1FDA), // GREEK SMALL LETTER IOTA WITH VARIA (Unicode:#$1F77; Attr:laLower; CaseCode:#$1FDB), // GREEK SMALL LETTER IOTA WITH OXIA (Unicode:#$1F78; Attr:laLower; CaseCode:#$1FF8), // GREEK SMALL LETTER OMICRON WITH VARIA (Unicode:#$1F79; Attr:laLower; CaseCode:#$1FF9), // GREEK SMALL LETTER OMICRON WITH OXIA (Unicode:#$1F7A; Attr:laLower; CaseCode:#$1FEA), // GREEK SMALL LETTER UPSILON WITH VARIA (Unicode:#$1F7B; Attr:laLower; CaseCode:#$1FEB), // GREEK SMALL LETTER UPSILON WITH OXIA (Unicode:#$1F7C; Attr:laLower; CaseCode:#$1FFA), // GREEK SMALL LETTER OMEGA WITH VARIA (Unicode:#$1F7D; Attr:laLower; CaseCode:#$1FFB), // GREEK SMALL LETTER OMEGA WITH OXIA (Unicode:#$1F80; Attr:laLower; CaseCode:#$1F88), // GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI (Unicode:#$1F81; Attr:laLower; CaseCode:#$1F89), // GREEK SMALL LETTER ALPHA WITH DASIA AND YPOGEGRAMMENI (Unicode:#$1F82; Attr:laLower; CaseCode:#$1F8A), // GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F83; Attr:laLower; CaseCode:#$1F8B), // GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F84; Attr:laLower; CaseCode:#$1F8C), // GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F85; Attr:laLower; CaseCode:#$1F8D), // GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F86; Attr:laLower; CaseCode:#$1F8E), // GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1F87; Attr:laLower; CaseCode:#$1F8F), // GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1F90; Attr:laLower; CaseCode:#$1F98), // GREEK SMALL LETTER ETA WITH PSILI AND YPOGEGRAMMENI (Unicode:#$1F91; Attr:laLower; CaseCode:#$1F99), // GREEK SMALL LETTER ETA WITH DASIA AND YPOGEGRAMMENI (Unicode:#$1F92; Attr:laLower; CaseCode:#$1F9A), // GREEK SMALL LETTER ETA WITH PSILI AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F93; Attr:laLower; CaseCode:#$1F9B), // GREEK SMALL LETTER ETA WITH DASIA AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F94; Attr:laLower; CaseCode:#$1F9C), // GREEK SMALL LETTER ETA WITH PSILI AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F95; Attr:laLower; CaseCode:#$1F9D), // GREEK SMALL LETTER ETA WITH DASIA AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F96; Attr:laLower; CaseCode:#$1F9E), // GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1F97; Attr:laLower; CaseCode:#$1F9F), // GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FA0; Attr:laLower; CaseCode:#$1FA8), // GREEK SMALL LETTER OMEGA WITH PSILI AND YPOGEGRAMMENI (Unicode:#$1FA1; Attr:laLower; CaseCode:#$1FA9), // GREEK SMALL LETTER OMEGA WITH DASIA AND YPOGEGRAMMENI (Unicode:#$1FA2; Attr:laLower; CaseCode:#$1FAA), // GREEK SMALL LETTER OMEGA WITH PSILI AND VARIA AND YPOGEGRAMMENI (Unicode:#$1FA3; Attr:laLower; CaseCode:#$1FAB), // GREEK SMALL LETTER OMEGA WITH DASIA AND VARIA AND YPOGEGRAMMENI (Unicode:#$1FA4; Attr:laLower; CaseCode:#$1FAC), // GREEK SMALL LETTER OMEGA WITH PSILI AND OXIA AND YPOGEGRAMMENI (Unicode:#$1FA5; Attr:laLower; CaseCode:#$1FAD), // GREEK SMALL LETTER OMEGA WITH DASIA AND OXIA AND YPOGEGRAMMENI (Unicode:#$1FA6; Attr:laLower; CaseCode:#$1FAE), // GREEK SMALL LETTER OMEGA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FA7; Attr:laLower; CaseCode:#$1FAF), // GREEK SMALL LETTER OMEGA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FB0; Attr:laLower; CaseCode:#$1FB8), // GREEK SMALL LETTER ALPHA WITH VRACHY (Unicode:#$1FB1; Attr:laLower; CaseCode:#$1FB9), // GREEK SMALL LETTER ALPHA WITH MACRON (Unicode:#$1FB2; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ALPHA WITH VARIA AND YPOGEGRAMMENI (Unicode:#$1FB3; Attr:laLower; CaseCode:#$1FBC), // GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI (Unicode:#$1FB4; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ALPHA WITH OXIA AND YPOGEGRAMMENI (Unicode:#$1FB6; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PERISPOMENI (Unicode:#$1FB7; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FB8; Attr:laUpper; CaseCode:#$1FB0), // GREEK CAPITAL LETTER ALPHA WITH VRACHY (Unicode:#$1FB9; Attr:laUpper; CaseCode:#$1FB1), // GREEK CAPITAL LETTER ALPHA WITH MACRON (Unicode:#$1FBA; Attr:laUpper; CaseCode:#$1F70), // GREEK CAPITAL LETTER ALPHA WITH VARIA (Unicode:#$1FBB; Attr:laUpper; CaseCode:#$1F71), // GREEK CAPITAL LETTER ALPHA WITH OXIA (Unicode:#$1FBE; Attr:laLower; CaseCode:#$0399), // GREEK PROSGEGRAMMENI (Unicode:#$1FC2; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ETA WITH VARIA AND YPOGEGRAMMENI (Unicode:#$1FC3; Attr:laLower; CaseCode:#$1FCC), // GREEK SMALL LETTER ETA WITH YPOGEGRAMMENI (Unicode:#$1FC4; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ETA WITH OXIA AND YPOGEGRAMMENI (Unicode:#$1FC6; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ETA WITH PERISPOMENI (Unicode:#$1FC7; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER ETA WITH PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FC8; Attr:laUpper; CaseCode:#$1F72), // GREEK CAPITAL LETTER EPSILON WITH VARIA (Unicode:#$1FC9; Attr:laUpper; CaseCode:#$1F73), // GREEK CAPITAL LETTER EPSILON WITH OXIA (Unicode:#$1FCA; Attr:laUpper; CaseCode:#$1F74), // GREEK CAPITAL LETTER ETA WITH VARIA (Unicode:#$1FCB; Attr:laUpper; CaseCode:#$1F75), // GREEK CAPITAL LETTER ETA WITH OXIA (Unicode:#$1FD0; Attr:laLower; CaseCode:#$1FD8), // GREEK SMALL LETTER IOTA WITH VRACHY (Unicode:#$1FD1; Attr:laLower; CaseCode:#$1FD9), // GREEK SMALL LETTER IOTA WITH MACRON (Unicode:#$1FD2; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND VARIA (Unicode:#$1FD3; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA (Unicode:#$1FD6; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER IOTA WITH PERISPOMENI (Unicode:#$1FD7; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND PERISPOMENI (Unicode:#$1FD8; Attr:laUpper; CaseCode:#$1FD0), // GREEK CAPITAL LETTER IOTA WITH VRACHY (Unicode:#$1FD9; Attr:laUpper; CaseCode:#$1FD1), // GREEK CAPITAL LETTER IOTA WITH MACRON (Unicode:#$1FDA; Attr:laUpper; CaseCode:#$1F76), // GREEK CAPITAL LETTER IOTA WITH VARIA (Unicode:#$1FDB; Attr:laUpper; CaseCode:#$1F77), // GREEK CAPITAL LETTER IOTA WITH OXIA (Unicode:#$1FE0; Attr:laLower; CaseCode:#$1FE8), // GREEK SMALL LETTER UPSILON WITH VRACHY (Unicode:#$1FE1; Attr:laLower; CaseCode:#$1FE9), // GREEK SMALL LETTER UPSILON WITH MACRON (Unicode:#$1FE2; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND VARIA (Unicode:#$1FE3; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA (Unicode:#$1FE4; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER RHO WITH PSILI (Unicode:#$1FE5; Attr:laLower; CaseCode:#$1FEC), // GREEK SMALL LETTER RHO WITH DASIA (Unicode:#$1FE6; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PERISPOMENI (Unicode:#$1FE7; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND PERISPOMENI (Unicode:#$1FE8; Attr:laUpper; CaseCode:#$1FE0), // GREEK CAPITAL LETTER UPSILON WITH VRACHY (Unicode:#$1FE9; Attr:laUpper; CaseCode:#$1FE1), // GREEK CAPITAL LETTER UPSILON WITH MACRON (Unicode:#$1FEA; Attr:laUpper; CaseCode:#$1F7A), // GREEK CAPITAL LETTER UPSILON WITH VARIA (Unicode:#$1FEB; Attr:laUpper; CaseCode:#$1F7B), // GREEK CAPITAL LETTER UPSILON WITH OXIA (Unicode:#$1FEC; Attr:laUpper; CaseCode:#$1FE5), // GREEK CAPITAL LETTER RHO WITH DASIA (Unicode:#$1FF2; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER OMEGA WITH VARIA AND YPOGEGRAMMENI (Unicode:#$1FF3; Attr:laLower; CaseCode:#$1FFC), // GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI (Unicode:#$1FF4; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER OMEGA WITH OXIA AND YPOGEGRAMMENI (Unicode:#$1FF6; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PERISPOMENI (Unicode:#$1FF7; Attr:laLower; CaseCode:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FF8; Attr:laUpper; CaseCode:#$1F78), // GREEK CAPITAL LETTER OMICRON WITH VARIA (Unicode:#$1FF9; Attr:laUpper; CaseCode:#$1F79), // GREEK CAPITAL LETTER OMICRON WITH OXIA (Unicode:#$1FFA; Attr:laUpper; CaseCode:#$1F7C), // GREEK CAPITAL LETTER OMEGA WITH VARIA (Unicode:#$1FFB; Attr:laUpper; CaseCode:#$1F7D), // GREEK CAPITAL LETTER OMEGA WITH OXIA (Unicode:#$207F; Attr:laLower; CaseCode:#$FFFF), // SUPERSCRIPT LATIN SMALL LETTER N (Unicode:#$2102; Attr:laUpper; CaseCode:#$FFFF), // DOUBLE-STRUCK CAPITAL C (Unicode:#$2107; Attr:laUpper; CaseCode:#$FFFF), // EULER CONSTANT (Unicode:#$210A; Attr:laLower; CaseCode:#$FFFF), // SCRIPT SMALL G (Unicode:#$210B; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL H (Unicode:#$210C; Attr:laUpper; CaseCode:#$FFFF), // BLACK-LETTER CAPITAL H (Unicode:#$210D; Attr:laUpper; CaseCode:#$FFFF), // DOUBLE-STRUCK CAPITAL H (Unicode:#$210E; Attr:laLower; CaseCode:#$FFFF), // PLANCK CONSTANT (Unicode:#$210F; Attr:laLower; CaseCode:#$FFFF), // PLANCK CONSTANT OVER TWO PI (Unicode:#$2110; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL I (Unicode:#$2111; Attr:laUpper; CaseCode:#$FFFF), // BLACK-LETTER CAPITAL I (Unicode:#$2112; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL L (Unicode:#$2113; Attr:laLower; CaseCode:#$FFFF), // SCRIPT SMALL L (Unicode:#$2115; Attr:laUpper; CaseCode:#$FFFF), // DOUBLE-STRUCK CAPITAL N (Unicode:#$2119; Attr:laUpper; CaseCode:#$FFFF), // DOUBLE-STRUCK CAPITAL P (Unicode:#$211A; Attr:laUpper; CaseCode:#$FFFF), // DOUBLE-STRUCK CAPITAL Q (Unicode:#$211B; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL R (Unicode:#$211C; Attr:laUpper; CaseCode:#$FFFF), // BLACK-LETTER CAPITAL R (Unicode:#$211D; Attr:laUpper; CaseCode:#$FFFF), // DOUBLE-STRUCK CAPITAL R (Unicode:#$2124; Attr:laUpper; CaseCode:#$FFFF), // DOUBLE-STRUCK CAPITAL Z (Unicode:#$2126; Attr:laUpper; CaseCode:#$03C9), // OHM SIGN (Unicode:#$2128; Attr:laUpper; CaseCode:#$FFFF), // BLACK-LETTER CAPITAL Z (Unicode:#$212A; Attr:laUpper; CaseCode:#$006B), // KELVIN SIGN (Unicode:#$212B; Attr:laUpper; CaseCode:#$00E5), // ANGSTROM SIGN (Unicode:#$212C; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL B (Unicode:#$212D; Attr:laUpper; CaseCode:#$FFFF), // BLACK-LETTER CAPITAL C (Unicode:#$212F; Attr:laLower; CaseCode:#$FFFF), // SCRIPT SMALL E (Unicode:#$2130; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL E (Unicode:#$2131; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL F (Unicode:#$2133; Attr:laUpper; CaseCode:#$FFFF), // SCRIPT CAPITAL M (Unicode:#$2134; Attr:laLower; CaseCode:#$FFFF), // SCRIPT SMALL O (Unicode:#$2139; Attr:laLower; CaseCode:#$FFFF), // INFORMATION SOURCE (Unicode:#$FB00; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LIGATURE FF (Unicode:#$FB01; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LIGATURE FI (Unicode:#$FB02; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LIGATURE FL (Unicode:#$FB03; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LIGATURE FFI (Unicode:#$FB04; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LIGATURE FFL (Unicode:#$FB05; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LIGATURE LONG S T (Unicode:#$FB06; Attr:laLower; CaseCode:#$FFFF), // LATIN SMALL LIGATURE ST (Unicode:#$FB13; Attr:laLower; CaseCode:#$FFFF), // ARMENIAN SMALL LIGATURE MEN NOW (Unicode:#$FB14; Attr:laLower; CaseCode:#$FFFF), // ARMENIAN SMALL LIGATURE MEN ECH (Unicode:#$FB15; Attr:laLower; CaseCode:#$FFFF), // ARMENIAN SMALL LIGATURE MEN INI (Unicode:#$FB16; Attr:laLower; CaseCode:#$FFFF), // ARMENIAN SMALL LIGATURE VEW NOW (Unicode:#$FB17; Attr:laLower; CaseCode:#$FFFF), // ARMENIAN SMALL LIGATURE MEN XEH (Unicode:#$FF21; Attr:laUpper; CaseCode:#$FF41), // FULLWIDTH LATIN CAPITAL LETTER A (Unicode:#$FF22; Attr:laUpper; CaseCode:#$FF42), // FULLWIDTH LATIN CAPITAL LETTER B (Unicode:#$FF23; Attr:laUpper; CaseCode:#$FF43), // FULLWIDTH LATIN CAPITAL LETTER C (Unicode:#$FF24; Attr:laUpper; CaseCode:#$FF44), // FULLWIDTH LATIN CAPITAL LETTER D (Unicode:#$FF25; Attr:laUpper; CaseCode:#$FF45), // FULLWIDTH LATIN CAPITAL LETTER E (Unicode:#$FF26; Attr:laUpper; CaseCode:#$FF46), // FULLWIDTH LATIN CAPITAL LETTER F (Unicode:#$FF27; Attr:laUpper; CaseCode:#$FF47), // FULLWIDTH LATIN CAPITAL LETTER G (Unicode:#$FF28; Attr:laUpper; CaseCode:#$FF48), // FULLWIDTH LATIN CAPITAL LETTER H (Unicode:#$FF29; Attr:laUpper; CaseCode:#$FF49), // FULLWIDTH LATIN CAPITAL LETTER I (Unicode:#$FF2A; Attr:laUpper; CaseCode:#$FF4A), // FULLWIDTH LATIN CAPITAL LETTER J (Unicode:#$FF2B; Attr:laUpper; CaseCode:#$FF4B), // FULLWIDTH LATIN CAPITAL LETTER K (Unicode:#$FF2C; Attr:laUpper; CaseCode:#$FF4C), // FULLWIDTH LATIN CAPITAL LETTER L (Unicode:#$FF2D; Attr:laUpper; CaseCode:#$FF4D), // FULLWIDTH LATIN CAPITAL LETTER M (Unicode:#$FF2E; Attr:laUpper; CaseCode:#$FF4E), // FULLWIDTH LATIN CAPITAL LETTER N (Unicode:#$FF2F; Attr:laUpper; CaseCode:#$FF4F), // FULLWIDTH LATIN CAPITAL LETTER O (Unicode:#$FF30; Attr:laUpper; CaseCode:#$FF50), // FULLWIDTH LATIN CAPITAL LETTER P (Unicode:#$FF31; Attr:laUpper; CaseCode:#$FF51), // FULLWIDTH LATIN CAPITAL LETTER Q (Unicode:#$FF32; Attr:laUpper; CaseCode:#$FF52), // FULLWIDTH LATIN CAPITAL LETTER R (Unicode:#$FF33; Attr:laUpper; CaseCode:#$FF53), // FULLWIDTH LATIN CAPITAL LETTER S (Unicode:#$FF34; Attr:laUpper; CaseCode:#$FF54), // FULLWIDTH LATIN CAPITAL LETTER T (Unicode:#$FF35; Attr:laUpper; CaseCode:#$FF55), // FULLWIDTH LATIN CAPITAL LETTER U (Unicode:#$FF36; Attr:laUpper; CaseCode:#$FF56), // FULLWIDTH LATIN CAPITAL LETTER V (Unicode:#$FF37; Attr:laUpper; CaseCode:#$FF57), // FULLWIDTH LATIN CAPITAL LETTER W (Unicode:#$FF38; Attr:laUpper; CaseCode:#$FF58), // FULLWIDTH LATIN CAPITAL LETTER X (Unicode:#$FF39; Attr:laUpper; CaseCode:#$FF59), // FULLWIDTH LATIN CAPITAL LETTER Y (Unicode:#$FF3A; Attr:laUpper; CaseCode:#$FF5A), // FULLWIDTH LATIN CAPITAL LETTER Z (Unicode:#$FF41; Attr:laLower; CaseCode:#$FF21), // FULLWIDTH LATIN SMALL LETTER A (Unicode:#$FF42; Attr:laLower; CaseCode:#$FF22), // FULLWIDTH LATIN SMALL LETTER B (Unicode:#$FF43; Attr:laLower; CaseCode:#$FF23), // FULLWIDTH LATIN SMALL LETTER C (Unicode:#$FF44; Attr:laLower; CaseCode:#$FF24), // FULLWIDTH LATIN SMALL LETTER D (Unicode:#$FF45; Attr:laLower; CaseCode:#$FF25), // FULLWIDTH LATIN SMALL LETTER E (Unicode:#$FF46; Attr:laLower; CaseCode:#$FF26), // FULLWIDTH LATIN SMALL LETTER F (Unicode:#$FF47; Attr:laLower; CaseCode:#$FF27), // FULLWIDTH LATIN SMALL LETTER G (Unicode:#$FF48; Attr:laLower; CaseCode:#$FF28), // FULLWIDTH LATIN SMALL LETTER H (Unicode:#$FF49; Attr:laLower; CaseCode:#$FF29), // FULLWIDTH LATIN SMALL LETTER I (Unicode:#$FF4A; Attr:laLower; CaseCode:#$FF2A), // FULLWIDTH LATIN SMALL LETTER J (Unicode:#$FF4B; Attr:laLower; CaseCode:#$FF2B), // FULLWIDTH LATIN SMALL LETTER K (Unicode:#$FF4C; Attr:laLower; CaseCode:#$FF2C), // FULLWIDTH LATIN SMALL LETTER L (Unicode:#$FF4D; Attr:laLower; CaseCode:#$FF2D), // FULLWIDTH LATIN SMALL LETTER M (Unicode:#$FF4E; Attr:laLower; CaseCode:#$FF2E), // FULLWIDTH LATIN SMALL LETTER N (Unicode:#$FF4F; Attr:laLower; CaseCode:#$FF2F), // FULLWIDTH LATIN SMALL LETTER O (Unicode:#$FF50; Attr:laLower; CaseCode:#$FF30), // FULLWIDTH LATIN SMALL LETTER P (Unicode:#$FF51; Attr:laLower; CaseCode:#$FF31), // FULLWIDTH LATIN SMALL LETTER Q (Unicode:#$FF52; Attr:laLower; CaseCode:#$FF32), // FULLWIDTH LATIN SMALL LETTER R (Unicode:#$FF53; Attr:laLower; CaseCode:#$FF33), // FULLWIDTH LATIN SMALL LETTER S (Unicode:#$FF54; Attr:laLower; CaseCode:#$FF34), // FULLWIDTH LATIN SMALL LETTER T (Unicode:#$FF55; Attr:laLower; CaseCode:#$FF35), // FULLWIDTH LATIN SMALL LETTER U (Unicode:#$FF56; Attr:laLower; CaseCode:#$FF36), // FULLWIDTH LATIN SMALL LETTER V (Unicode:#$FF57; Attr:laLower; CaseCode:#$FF37), // FULLWIDTH LATIN SMALL LETTER W (Unicode:#$FF58; Attr:laLower; CaseCode:#$FF38), // FULLWIDTH LATIN SMALL LETTER X (Unicode:#$FF59; Attr:laLower; CaseCode:#$FF39), // FULLWIDTH LATIN SMALL LETTER Y (Unicode:#$FF5A; Attr:laLower; CaseCode:#$FF3A) // FULLWIDTH LATIN SMALL LETTER Z ); function LocateLetterInfo(const Ch: WideChar): Integer; var L, H, I : Integer; D : WideChar; begin // Binary search [Avg number of comparisons = Log2(UnicodeLetterEntries) = 10] L := 0; H := UnicodeLetterEntries - 1; Repeat I := (L + H) div 2; D := UnicodeLetterInfo[I].Unicode; if D = Ch then begin Result := I; exit; end else if D > Ch then H := I - 1 else L := I + 1; Until L > H; Result := -1; end; function LocateOtherLowerCase(const Ch: WideChar): WideChar; begin Case Ord(Ch) of $2170..$217F : Result := WideChar(Ord(Ch) - $2170 + $2160); // # Nl [16] SMALL ROMAN NUMERAL ONE..SMALL ROMAN NUMERAL ONE THOUSAND $24D0..$24E9 : Result := WideChar(Ord(Ch) - $24D0 + $24B6); // # So [26] CIRCLED LATIN SMALL LETTER A..CIRCLED LATIN SMALL LETTER Z else Result := #$0000; end; end; function LocateOtherUpperCase(const Ch: WideChar): WideChar; begin Case Ord(Ch) of $2160..$216F : Result := WideChar(Ord(Ch) - $2160 + $2170); // # Nl [16] ROMAN NUMERAL ONE..ROMAN NUMERAL ONE THOUSAND $24B6..$24CF : Result := WideChar(Ord(Ch) - $24B6 + $24D0); // # So [26] CIRCLED LATIN CAPITAL LETTER A..CIRCLED LATIN CAPITAL LETTER Z else Result := #$0000; end; end; function LocateFoldingTitleCase(const Ch: WideChar): WideString; begin if Ord(Ch) < $00DF then Result := '' else if Ord(Ch) <= $0587 then Case Ord(Ch) of $00DF : Result := #$0053#$0073; // # LATIN SMALL LETTER SHARP S $0149 : Result := #$02BC#$004E; // # LATIN SMALL LETTER N PRECEDED BY APOSTROPHE $01F0 : Result := #$004A#$030C; // # LATIN SMALL LETTER J WITH CARON $0390 : Result := #$0399#$0308#$0301; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS $03B0 : Result := #$03A5#$0308#$0301; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS $0587 : Result := #$0535#$0582; // # ARMENIAN SMALL LIGATURE ECH YIWN else Result := ''; end else if Ord(Ch) < $1E96 then Result := '' else if Ord(Ch) <= $1FF7 then Case Ord(Ch) of $1E96 : Result := #$0048#$0331; // # LATIN SMALL LETTER H WITH LINE BELOW $1E97 : Result := #$0054#$0308; // # LATIN SMALL LETTER T WITH DIAERESIS $1E98 : Result := #$0057#$030A; // # LATIN SMALL LETTER W WITH RING ABOVE $1E99 : Result := #$0059#$030A; // # LATIN SMALL LETTER Y WITH RING ABOVE $1E9A : Result := #$0041#$02BE; // # LATIN SMALL LETTER A WITH RIGHT HALF RING $1F50 : Result := #$03A5#$0313; // # GREEK SMALL LETTER UPSILON WITH PSILI $1F52 : Result := #$03A5#$0313#$0300; // # GREEK SMALL LETTER UPSILON WITH PSILI AND VARIA $1F54 : Result := #$03A5#$0313#$0301; // # GREEK SMALL LETTER UPSILON WITH PSILI AND OXIA $1F56 : Result := #$03A5#$0313#$0342; // # GREEK SMALL LETTER UPSILON WITH PSILI AND PERISPOMENI $1FB2 : Result := #$1FBA#$0345; // # GREEK SMALL LETTER ALPHA WITH VARIA AND YPOGEGRAMMENI $1FB4 : Result := #$0386#$0345; // # GREEK SMALL LETTER ALPHA WITH OXIA AND YPOGEGRAMMENI $1FB6 : Result := #$0391#$0342; // # GREEK SMALL LETTER ALPHA WITH PERISPOMENI $1FB7 : Result := #$0391#$0342#$0345; // # GREEK SMALL LETTER ALPHA WITH PERISPOMENI AND YPOGEGRAMMENI $1FC2 : Result := #$1FCA#$0345; // # GREEK SMALL LETTER ETA WITH VARIA AND YPOGEGRAMMENI $1FC4 : Result := #$0389#$0345; // # GREEK SMALL LETTER ETA WITH OXIA AND YPOGEGRAMMENI $1FC6 : Result := #$0397#$0342; // # GREEK SMALL LETTER ETA WITH PERISPOMENI $1FC7 : Result := #$0397#$0342#$0345; // # GREEK SMALL LETTER ETA WITH PERISPOMENI AND YPOGEGRAMMENI $1FD2 : Result := #$0399#$0308#$0300; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND VARIA $1FD3 : Result := #$0399#$0308#$0301; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA $1FD6 : Result := #$0399#$0342; // # GREEK SMALL LETTER IOTA WITH PERISPOMENI $1FD7 : Result := #$0399#$0308#$0342; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND PERISPOMENI $1FE2 : Result := #$03A5#$0308#$0300; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND VARIA $1FE3 : Result := #$03A5#$0308#$0301; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA $1FE4 : Result := #$03A1#$0313; // # GREEK SMALL LETTER RHO WITH PSILI $1FE6 : Result := #$03A5#$0342; // # GREEK SMALL LETTER UPSILON WITH PERISPOMENI $1FE7 : Result := #$03A5#$0308#$0342; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND PERISPOMENI $1FF2 : Result := #$1FFA#$0345; // # GREEK SMALL LETTER OMEGA WITH VARIA AND YPOGEGRAMMENI $1FF4 : Result := #$038F#$0345; // # GREEK SMALL LETTER OMEGA WITH OXIA AND YPOGEGRAMMENI $1FF6 : Result := #$03A9#$0342; // # GREEK SMALL LETTER OMEGA WITH PERISPOMENI $1FF7 : Result := #$03A9#$0342#$0345; // # GREEK SMALL LETTER OMEGA WITH PERISPOMENI AND YPOGEGRAMMENI else Result := ''; end else if Ord(Ch) < $FB00 then Result := '' else if Ord(Ch) <= $FB17 then Case Ord(Ch) of $FB00 : Result := #$0046#$0066; // # LATIN SMALL LIGATURE FF $FB01 : Result := #$0046#$0069; // # LATIN SMALL LIGATURE FI $FB02 : Result := #$0046#$006C; // # LATIN SMALL LIGATURE FL $FB03 : Result := #$0046#$0066#$0069; // # LATIN SMALL LIGATURE FFI $FB04 : Result := #$0046#$0066#$006C; // # LATIN SMALL LIGATURE FFL $FB05 : Result := #$0053#$0074; // # LATIN SMALL LIGATURE LONG S T $FB06 : Result := #$0053#$0074; // # LATIN SMALL LIGATURE ST $FB13 : Result := #$0544#$0576; // # ARMENIAN SMALL LIGATURE MEN NOW $FB14 : Result := #$0544#$0565; // # ARMENIAN SMALL LIGATURE MEN ECH $FB15 : Result := #$0544#$056B; // # ARMENIAN SMALL LIGATURE MEN INI $FB16 : Result := #$054E#$0576; // # ARMENIAN SMALL LIGATURE VEW NOW $FB17 : Result := #$0544#$056D; // # ARMENIAN SMALL LIGATURE MEN XEH else Result := ''; end else Result := ''; end; function LocateFoldingUpperCase(const Ch: WideChar): WideString; begin if Ord(Ch) < $00DF then Result := '' else if Ord(Ch) <= $0587 then Case Ord(Ch) of $00DF : Result := #$0053#$0053; // # LATIN SMALL LETTER SHARP S $0149 : Result := #$02BC#$004E; // # LATIN SMALL LETTER N PRECEDED BY APOSTROPHE $01F0 : Result := #$004A#$030C; // # LATIN SMALL LETTER J WITH CARON $0390 : Result := #$0399#$0308#$0301; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS $03B0 : Result := #$03A5#$0308#$0301; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS $0587 : Result := #$0535#$0552; // # ARMENIAN SMALL LIGATURE ECH YIWN else Result := ''; end else if Ord(Ch) < $1E96 then Result := '' else if Ord(Ch) <= $1FFC then Case Ord(Ch) of $1E96 : Result := #$0048#$0331; // # LATIN SMALL LETTER H WITH LINE BELOW $1E97 : Result := #$0054#$0308; // # LATIN SMALL LETTER T WITH DIAERESIS $1E98 : Result := #$0057#$030A; // # LATIN SMALL LETTER W WITH RING ABOVE $1E99 : Result := #$0059#$030A; // # LATIN SMALL LETTER Y WITH RING ABOVE $1E9A : Result := #$0041#$02BE; // # LATIN SMALL LETTER A WITH RIGHT HALF RING $1F50 : Result := #$03A5#$0313; // # GREEK SMALL LETTER UPSILON WITH PSILI $1F52 : Result := #$03A5#$0313#$0300; // # GREEK SMALL LETTER UPSILON WITH PSILI AND VARIA $1F54 : Result := #$03A5#$0313#$0301; // # GREEK SMALL LETTER UPSILON WITH PSILI AND OXIA $1F56 : Result := #$03A5#$0313#$0342; // # GREEK SMALL LETTER UPSILON WITH PSILI AND PERISPOMENI $1F80 : Result := #$1F08#$0399; // # GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI $1F81 : Result := #$1F09#$0399; // # GREEK SMALL LETTER ALPHA WITH DASIA AND YPOGEGRAMMENI $1F82 : Result := #$1F0A#$0399; // # GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA AND YPOGEGRAMMENI $1F83 : Result := #$1F0B#$0399; // # GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA AND YPOGEGRAMMENI $1F84 : Result := #$1F0C#$0399; // # GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA AND YPOGEGRAMMENI $1F85 : Result := #$1F0D#$0399; // # GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA AND YPOGEGRAMMENI $1F86 : Result := #$1F0E#$0399; // # GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI $1F87 : Result := #$1F0F#$0399; // # GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI $1F88 : Result := #$1F08#$0399; // # GREEK CAPITAL LETTER ALPHA WITH PSILI AND PROSGEGRAMMENI $1F89 : Result := #$1F09#$0399; // # GREEK CAPITAL LETTER ALPHA WITH DASIA AND PROSGEGRAMMENI $1F8A : Result := #$1F0A#$0399; // # GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA AND PROSGEGRAMMENI $1F8B : Result := #$1F0B#$0399; // # GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA AND PROSGEGRAMMENI $1F8C : Result := #$1F0C#$0399; // # GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA AND PROSGEGRAMMENI $1F8D : Result := #$1F0D#$0399; // # GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA AND PROSGEGRAMMENI $1F8E : Result := #$1F0E#$0399; // # GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI $1F8F : Result := #$1F0F#$0399; // # GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI $1F90 : Result := #$1F28#$0399; // # GREEK SMALL LETTER ETA WITH PSILI AND YPOGEGRAMMENI $1F91 : Result := #$1F29#$0399; // # GREEK SMALL LETTER ETA WITH DASIA AND YPOGEGRAMMENI $1F92 : Result := #$1F2A#$0399; // # GREEK SMALL LETTER ETA WITH PSILI AND VARIA AND YPOGEGRAMMENI $1F93 : Result := #$1F2B#$0399; // # GREEK SMALL LETTER ETA WITH DASIA AND VARIA AND YPOGEGRAMMENI $1F94 : Result := #$1F2C#$0399; // # GREEK SMALL LETTER ETA WITH PSILI AND OXIA AND YPOGEGRAMMENI $1F95 : Result := #$1F2D#$0399; // # GREEK SMALL LETTER ETA WITH DASIA AND OXIA AND YPOGEGRAMMENI $1F96 : Result := #$1F2E#$0399; // # GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI $1F97 : Result := #$1F2F#$0399; // # GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI $1F98 : Result := #$1F28#$0399; // # GREEK CAPITAL LETTER ETA WITH PSILI AND PROSGEGRAMMENI $1F99 : Result := #$1F29#$0399; // # GREEK CAPITAL LETTER ETA WITH DASIA AND PROSGEGRAMMENI $1F9A : Result := #$1F2A#$0399; // # GREEK CAPITAL LETTER ETA WITH PSILI AND VARIA AND PROSGEGRAMMENI $1F9B : Result := #$1F2B#$0399; // # GREEK CAPITAL LETTER ETA WITH DASIA AND VARIA AND PROSGEGRAMMENI $1F9C : Result := #$1F2C#$0399; // # GREEK CAPITAL LETTER ETA WITH PSILI AND OXIA AND PROSGEGRAMMENI $1F9D : Result := #$1F2D#$0399; // # GREEK CAPITAL LETTER ETA WITH DASIA AND OXIA AND PROSGEGRAMMENI $1F9E : Result := #$1F2E#$0399; // # GREEK CAPITAL LETTER ETA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI $1F9F : Result := #$1F2F#$0399; // # GREEK CAPITAL LETTER ETA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI $1FA0 : Result := #$1F68#$0399; // # GREEK SMALL LETTER OMEGA WITH PSILI AND YPOGEGRAMMENI $1FA1 : Result := #$1F69#$0399; // # GREEK SMALL LETTER OMEGA WITH DASIA AND YPOGEGRAMMENI $1FA2 : Result := #$1F6A#$0399; // # GREEK SMALL LETTER OMEGA WITH PSILI AND VARIA AND YPOGEGRAMMENI $1FA3 : Result := #$1F6B#$0399; // # GREEK SMALL LETTER OMEGA WITH DASIA AND VARIA AND YPOGEGRAMMENI $1FA4 : Result := #$1F6C#$0399; // # GREEK SMALL LETTER OMEGA WITH PSILI AND OXIA AND YPOGEGRAMMENI $1FA5 : Result := #$1F6D#$0399; // # GREEK SMALL LETTER OMEGA WITH DASIA AND OXIA AND YPOGEGRAMMENI $1FA6 : Result := #$1F6E#$0399; // # GREEK SMALL LETTER OMEGA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI $1FA7 : Result := #$1F6F#$0399; // # GREEK SMALL LETTER OMEGA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI $1FA8 : Result := #$1F68#$0399; // # GREEK CAPITAL LETTER OMEGA WITH PSILI AND PROSGEGRAMMENI $1FA9 : Result := #$1F69#$0399; // # GREEK CAPITAL LETTER OMEGA WITH DASIA AND PROSGEGRAMMENI $1FAA : Result := #$1F6A#$0399; // # GREEK CAPITAL LETTER OMEGA WITH PSILI AND VARIA AND PROSGEGRAMMENI $1FAB : Result := #$1F6B#$0399; // # GREEK CAPITAL LETTER OMEGA WITH DASIA AND VARIA AND PROSGEGRAMMENI $1FAC : Result := #$1F6C#$0399; // # GREEK CAPITAL LETTER OMEGA WITH PSILI AND OXIA AND PROSGEGRAMMENI $1FAD : Result := #$1F6D#$0399; // # GREEK CAPITAL LETTER OMEGA WITH DASIA AND OXIA AND PROSGEGRAMMENI $1FAE : Result := #$1F6E#$0399; // # GREEK CAPITAL LETTER OMEGA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI $1FAF : Result := #$1F6F#$0399; // # GREEK CAPITAL LETTER OMEGA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI $1FB2 : Result := #$1FBA#$0399; // # GREEK SMALL LETTER ALPHA WITH VARIA AND YPOGEGRAMMENI $1FB3 : Result := #$0391#$0399; // # GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI $1FB4 : Result := #$0386#$0399; // # GREEK SMALL LETTER ALPHA WITH OXIA AND YPOGEGRAMMENI $1FB6 : Result := #$0391#$0342; // # GREEK SMALL LETTER ALPHA WITH PERISPOMENI $1FB7 : Result := #$0391#$0342#$0399; // # GREEK SMALL LETTER ALPHA WITH PERISPOMENI AND YPOGEGRAMMENI $1FBC : Result := #$0391#$0399; // # GREEK CAPITAL LETTER ALPHA WITH PROSGEGRAMMENI $1FC2 : Result := #$1FCA#$0399; // # GREEK SMALL LETTER ETA WITH VARIA AND YPOGEGRAMMENI $1FC3 : Result := #$0397#$0399; // # GREEK SMALL LETTER ETA WITH YPOGEGRAMMENI $1FC4 : Result := #$0389#$0399; // # GREEK SMALL LETTER ETA WITH OXIA AND YPOGEGRAMMENI $1FC6 : Result := #$0397#$0342; // # GREEK SMALL LETTER ETA WITH PERISPOMENI $1FC7 : Result := #$0397#$0342#$0399; // # GREEK SMALL LETTER ETA WITH PERISPOMENI AND YPOGEGRAMMENI $1FCC : Result := #$0397#$0399; // # GREEK CAPITAL LETTER ETA WITH PROSGEGRAMMENI $1FD2 : Result := #$0399#$0308#$0300; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND VARIA $1FD3 : Result := #$0399#$0308#$0301; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA $1FD6 : Result := #$0399#$0342; // # GREEK SMALL LETTER IOTA WITH PERISPOMENI $1FD7 : Result := #$0399#$0308#$0342; // # GREEK SMALL LETTER IOTA WITH DIALYTIKA AND PERISPOMENI $1FE2 : Result := #$03A5#$0308#$0300; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND VARIA $1FE3 : Result := #$03A5#$0308#$0301; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA $1FE4 : Result := #$03A1#$0313; // # GREEK SMALL LETTER RHO WITH PSILI $1FE6 : Result := #$03A5#$0342; // # GREEK SMALL LETTER UPSILON WITH PERISPOMENI $1FE7 : Result := #$03A5#$0308#$0342; // # GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND PERISPOMENI $1FF2 : Result := #$1FFA#$0399; // # GREEK SMALL LETTER OMEGA WITH VARIA AND YPOGEGRAMMENI $1FF3 : Result := #$03A9#$0399; // # GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI $1FF4 : Result := #$038F#$0399; // # GREEK SMALL LETTER OMEGA WITH OXIA AND YPOGEGRAMMENI $1FF6 : Result := #$03A9#$0342; // # GREEK SMALL LETTER OMEGA WITH PERISPOMENI $1FF7 : Result := #$03A9#$0342#$0399; // # GREEK SMALL LETTER OMEGA WITH PERISPOMENI AND YPOGEGRAMMENI $1FFC : Result := #$03A9#$0399; // # GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI else Result := ''; end else if Ord(Ch) < $FB00 then Result := '' else if Ord(Ch) <= $FB17 then Case Ord(Ch) of $FB00 : Result := #$0046#$0046; // # LATIN SMALL LIGATURE FF $FB01 : Result := #$0046#$0049; // # LATIN SMALL LIGATURE FI $FB02 : Result := #$0046#$004C; // # LATIN SMALL LIGATURE FL $FB03 : Result := #$0046#$0046#$0049; // # LATIN SMALL LIGATURE FFI $FB04 : Result := #$0046#$0046#$004C; // # LATIN SMALL LIGATURE FFL $FB05 : Result := #$0053#$0054; // # LATIN SMALL LIGATURE LONG S T $FB06 : Result := #$0053#$0054; // # LATIN SMALL LIGATURE ST $FB13 : Result := #$0544#$0546; // # ARMENIAN SMALL LIGATURE MEN NOW $FB14 : Result := #$0544#$0535; // # ARMENIAN SMALL LIGATURE MEN ECH $FB15 : Result := #$0544#$053B; // # ARMENIAN SMALL LIGATURE MEN INI $FB16 : Result := #$054E#$0546; // # ARMENIAN SMALL LIGATURE VEW NOW $FB17 : Result := #$0544#$053D; // # ARMENIAN SMALL LIGATURE MEN XEH else Result := ''; end else Result := ''; end; function LocateFoldingLowerCase(const Ch: WideChar): WideString; begin if Ch = #$0130 then Result := #$0069#$0307 else Result := ''; end; function IsUpperCase(const Ch: WideChar): Boolean; var I : Integer; begin I := LocateLetterInfo(Ch); if I >= 0 then Result := UnicodeLetterInfo[I].Attr = laUpper else Result := LocateOtherUpperCase(Ch) <> #$0000; end; function IsLowerCase(const Ch: WideChar): Boolean; var I : Integer; begin I := LocateLetterInfo(Ch); if I >= 0 then Result := UnicodeLetterInfo[I].Attr = laLower else Result := LocateOtherLowerCase(Ch) <> #$0000; end; type TUnicodeTitleCaseLetterInfo = packed record Unicode : WideChar; Upper : WideChar; Lower : WideChar; end; PUnicodeTitleCaseLetterInfo = ^TUnicodeTitleCaseLetterInfo; const // Derived from 'Lt' class UnicodeTitleCaseLetterEntries = 31; UnicodeTitleCaseLetterInfo : Array[0..UnicodeTitleCaseLetterEntries - 1] of TUnicodeTitleCaseLetterInfo = ( (Unicode:#$01C5; Upper:#$01C4; Lower:#$01C6), // LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON (Unicode:#$01C8; Upper:#$01C7; Lower:#$01C9), // LATIN CAPITAL LETTER L WITH SMALL LETTER J (Unicode:#$01CB; Upper:#$01CA; Lower:#$01CC), // LATIN CAPITAL LETTER N WITH SMALL LETTER J (Unicode:#$01F2; Upper:#$01F1; Lower:#$01F3), // LATIN CAPITAL LETTER D WITH SMALL LETTER Z (Unicode:#$1F88; Upper:#$FFFF; Lower:#$1F80), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND PROSGEGRAMMENI (Unicode:#$1F89; Upper:#$FFFF; Lower:#$1F81), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND PROSGEGRAMMENI (Unicode:#$1F8A; Upper:#$FFFF; Lower:#$1F82), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F8B; Upper:#$FFFF; Lower:#$1F83), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F8C; Upper:#$FFFF; Lower:#$1F84), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F8D; Upper:#$FFFF; Lower:#$1F85), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F8E; Upper:#$FFFF; Lower:#$1F86), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1F8F; Upper:#$FFFF; Lower:#$1F87), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1F98; Upper:#$FFFF; Lower:#$1F90), // GREEK CAPITAL LETTER ETA WITH PSILI AND PROSGEGRAMMENI (Unicode:#$1F99; Upper:#$FFFF; Lower:#$1F91), // GREEK CAPITAL LETTER ETA WITH DASIA AND PROSGEGRAMMENI (Unicode:#$1F9A; Upper:#$FFFF; Lower:#$1F92), // GREEK CAPITAL LETTER ETA WITH PSILI AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F9B; Upper:#$FFFF; Lower:#$1F93), // GREEK CAPITAL LETTER ETA WITH DASIA AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F9C; Upper:#$FFFF; Lower:#$1F94), // GREEK CAPITAL LETTER ETA WITH PSILI AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F9D; Upper:#$FFFF; Lower:#$1F95), // GREEK CAPITAL LETTER ETA WITH DASIA AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F9E; Upper:#$FFFF; Lower:#$1F96), // GREEK CAPITAL LETTER ETA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1F9F; Upper:#$FFFF; Lower:#$1F97), // GREEK CAPITAL LETTER ETA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1FA8; Upper:#$FFFF; Lower:#$1FA0), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND PROSGEGRAMMENI (Unicode:#$1FA9; Upper:#$FFFF; Lower:#$1FA1), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND PROSGEGRAMMENI (Unicode:#$1FAA; Upper:#$FFFF; Lower:#$1FA2), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND VARIA AND PROSGEGRAMMENI (Unicode:#$1FAB; Upper:#$FFFF; Lower:#$1FA3), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND VARIA AND PROSGEGRAMMENI (Unicode:#$1FAC; Upper:#$FFFF; Lower:#$1FA4), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND OXIA AND PROSGEGRAMMENI (Unicode:#$1FAD; Upper:#$FFFF; Lower:#$1FA5), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND OXIA AND PROSGEGRAMMENI (Unicode:#$1FAE; Upper:#$FFFF; Lower:#$1FA6), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1FAF; Upper:#$FFFF; Lower:#$1FA7), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1FBC; Upper:#$FFFF; Lower:#$1FB3), // GREEK CAPITAL LETTER ALPHA WITH PROSGEGRAMMENI (Unicode:#$1FCC; Upper:#$FFFF; Lower:#$1FC3), // GREEK CAPITAL LETTER ETA WITH PROSGEGRAMMENI (Unicode:#$1FFC; Upper:#$FFFF; Lower:#$1FF3) // GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI ); function LocateTitleCaseLetterInfo(const Ch: WideChar): Integer; var I : Integer; begin if (Ord(Ch) < $01C5) or (Ord(Ch) > $1FFC) then Result := -1 else if (Ord(Ch) > $01F2) and (Ord(Ch) < $1F88) then Result := -1 else begin For I := 0 to UnicodeTitleCaseLetterEntries - 1 do if UnicodeTitleCaseLetterInfo[I].Unicode = Ch then begin Result := I; exit; end; Result := -1; end; end; function IsTitleCase(const Ch: WideChar): Boolean; begin Result := LocateTitleCaseLetterInfo(Ch) >= 0; end; function WideUpCase(const Ch: WideChar): WideChar; var I : Integer; J : Integer; C : WideChar; P : PUnicodeLetterInfo; begin if Ord(Ch) < $80 then // ASCII short-cut begin if Char(Ord(Ch)) in ['a'..'z'] then Result := WideChar(Ord(Ch) - (Ord('a') - Ord('A'))) else Result := Ch; end else begin I := LocateLetterInfo(Ch); if I >= 0 then begin P := @UnicodeLetterInfo[I]; if P^.Attr = laUpper then Result := Ch else begin C := P^.CaseCode; if C = #$FFFF then Result := Ch else Result := C; end; end else begin J := LocateTitleCaseLetterInfo(Ch); if J >= 0 then begin C := UnicodeTitleCaseLetterInfo[J].Upper; if C = #$FFFF then Result := Ch else Result := C; end else begin C := LocateOtherLowerCase(Ch); if C = #$0000 then Result := Ch else Result := C; end; end; end; end; function WideUpCaseFolding(const Ch: WideChar): WideString; var R : WideChar; begin R := WideUpCase(Ch); if R = Ch then begin Result := LocateFoldingUpperCase(Ch); if Result = '' then Result := Ch; end else Result := R; end; function WideLowCase(const Ch: WideChar): WideChar; var I : Integer; J : Integer; C : WideChar; P : PUnicodeLetterInfo; begin if Ord(Ch) < $80 then // ASCII short-cut begin if Char(Ord(Ch)) in ['A'..'Z'] then Result := WideChar(Ord(Ch) + (Ord('a') - Ord('A'))) else Result := Ch; end else begin I := LocateLetterInfo(Ch); if I >= 0 then begin P := @UnicodeLetterInfo[I]; if P^.Attr = laLower then Result := Ch else begin C := P^.CaseCode; if C = #$FFFF then Result := Ch else Result := C; end; end else begin J := LocateTitleCaseLetterInfo(Ch); if J >= 0 then begin C := UnicodeTitleCaseLetterInfo[J].Lower; if C = #$FFFF then Result := Ch else Result := C; end else begin C := LocateOtherUpperCase(Ch); if C = #$0000 then Result := Ch else Result := C; end; end; end; end; function WideLowCaseFolding(const Ch: WideChar): WideString; var R : WideChar; begin R := WideLowCase(Ch); if R = Ch then begin Result := LocateFoldingLowerCase(Ch); if Result = '' then Result := Ch; end else Result := R; end; function WideTitleCaseFolding(const Ch: WideChar): WideString; begin Result := LocateFoldingTitleCase(Ch); if Result = '' then Result := Ch; end; function WideIsEqualNoCase(const A, B: WideChar): Boolean; var I : Integer; J : Integer; C, D : Char; E, F : WideChar; P : PUnicodeTitleCaseLetterInfo; begin Result := A = B; if Result then exit; if (Ord(A) < $80) and (Ord(B) < $80) then // ASCII short-cut begin if Char(Ord(A)) in ['A'..'Z'] then C := Char(Byte(Ord(A)) + (Ord('a') - Ord('A'))) else C := Char(Ord(A)); if Char(Ord(B)) in ['A'..'Z'] then D := Char(Byte (Ord(B)) + (Ord('a') - Ord('A'))) else D := Char(Ord(B)); Result := C = D; exit; end; I := LocateLetterInfo(A); if I >= 0 then begin E := UnicodeLetterInfo[I].CaseCode; if E = #$FFFF then Result := False else Result := E = B; exit; end; J := LocateTitleCaseLetterInfo(A); if J >= 0 then begin P := @UnicodeTitleCaseLetterInfo[J]; E := P^.Upper; F := P^.Lower; Result := ((E <> #$FFFF) and (E = B)) or ((F <> #$FFFF) and (F = B)); exit; end; E := LocateOtherLowerCase(A); if E <> #$0000 then Result := E = B else Result := False; end; // Derived from 'Lo' class function IsOtherLetter(const Ch: UCS4Char): Boolean; begin Case Ch of $01BB, // LATIN LETTER TWO WITH STROKE $01C0..$01C3, // [4] LATIN LETTER DENTAL CLICK..LATIN LETTER RETROFLEX CLICK $05D0..$05EA, // [27] HEBREW LETTER ALEF..HEBREW LETTER TAV $05F0..$05F2, // [3] HEBREW LIGATURE YIDDISH DOUBLE VAV..HEBREW LIGATURE YIDDISH DOUBLE YOD $0621..$063A, // [26] ARABIC LETTER HAMZA..ARABIC LETTER GHAIN $0641..$064A, // [10] ARABIC LETTER FEH..ARABIC LETTER YEH $066E..$066F, // [2] ARABIC LETTER DOTLESS BEH..ARABIC LETTER DOTLESS QAF $0671..$06D3, // [99] ARABIC LETTER ALEF WASLA..ARABIC LETTER YEH BARREE WITH HAMZA ABOVE $06D5, // ARABIC LETTER AE $06FA..$06FC, // [3] ARABIC LETTER SHEEN WITH DOT BELOW..ARABIC LETTER GHAIN WITH DOT BELOW $0710, // SYRIAC LETTER ALAPH $0712..$072C, // [27] SYRIAC LETTER BETH..SYRIAC LETTER TAW $0780..$07A5, // [38] THAANA LETTER HAA..THAANA LETTER WAAVU $07B1, // THAANA LETTER NAA $0905..$0939, // [53] DEVANAGARI LETTER A..DEVANAGARI LETTER HA $093D, // DEVANAGARI SIGN AVAGRAHA $0950, // DEVANAGARI OM $0958..$0961, // [10] DEVANAGARI LETTER QA..DEVANAGARI LETTER VOCALIC LL $0985..$098C, // [8] BENGALI LETTER A..BENGALI LETTER VOCALIC L $098F..$0990, // [2] BENGALI LETTER E..BENGALI LETTER AI $0993..$09A8, // [22] BENGALI LETTER O..BENGALI LETTER NA $09AA..$09B0, // [7] BENGALI LETTER PA..BENGALI LETTER RA $09B2, // BENGALI LETTER LA $09B6..$09B9, // [4] BENGALI LETTER SHA..BENGALI LETTER HA $09DC..$09DD, // [2] BENGALI LETTER RRA..BENGALI LETTER RHA $09DF..$09E1, // [3] BENGALI LETTER YYA..BENGALI LETTER VOCALIC LL $09F0..$09F1, // [2] BENGALI LETTER RA WITH MIDDLE DIAGONAL..BENGALI LETTER RA WITH LOWER DIAGONAL $0A05..$0A0A, // [6] GURMUKHI LETTER A..GURMUKHI LETTER UU $0A0F..$0A10, // [2] GURMUKHI LETTER EE..GURMUKHI LETTER AI $0A13..$0A28, // [22] GURMUKHI LETTER OO..GURMUKHI LETTER NA $0A2A..$0A30, // [7] GURMUKHI LETTER PA..GURMUKHI LETTER RA $0A32..$0A33, // [2] GURMUKHI LETTER LA..GURMUKHI LETTER LLA $0A35..$0A36, // [2] GURMUKHI LETTER VA..GURMUKHI LETTER SHA $0A38..$0A39, // [2] GURMUKHI LETTER SA..GURMUKHI LETTER HA $0A59..$0A5C, // [4] GURMUKHI LETTER KHHA..GURMUKHI LETTER RRA $0A5E, // GURMUKHI LETTER FA $0A72..$0A74, // [3] GURMUKHI IRI..GURMUKHI EK ONKAR $0A85..$0A8B, // [7] GUJARATI LETTER A..GUJARATI LETTER VOCALIC R $0A8D, // GUJARATI VOWEL CANDRA E $0A8F..$0A91, // [3] GUJARATI LETTER E..GUJARATI VOWEL CANDRA O $0A93..$0AA8, // [22] GUJARATI LETTER O..GUJARATI LETTER NA $0AAA..$0AB0, // [7] GUJARATI LETTER PA..GUJARATI LETTER RA $0AB2..$0AB3, // [2] GUJARATI LETTER LA..GUJARATI LETTER LLA $0AB5..$0AB9, // [5] GUJARATI LETTER VA..GUJARATI LETTER HA $0ABD, // GUJARATI SIGN AVAGRAHA $0AD0, // GUJARATI OM $0AE0, // GUJARATI LETTER VOCALIC RR $0B05..$0B0C, // [8] ORIYA LETTER A..ORIYA LETTER VOCALIC L $0B0F..$0B10, // [2] ORIYA LETTER E..ORIYA LETTER AI $0B13..$0B28, // [22] ORIYA LETTER O..ORIYA LETTER NA $0B2A..$0B30, // [7] ORIYA LETTER PA..ORIYA LETTER RA $0B32..$0B33, // [2] ORIYA LETTER LA..ORIYA LETTER LLA $0B36..$0B39, // [4] ORIYA LETTER SHA..ORIYA LETTER HA $0B3D, // ORIYA SIGN AVAGRAHA $0B5C..$0B5D, // [2] ORIYA LETTER RRA..ORIYA LETTER RHA $0B5F..$0B61, // [3] ORIYA LETTER YYA..ORIYA LETTER VOCALIC LL $0B83, // TAMIL SIGN VISARGA $0B85..$0B8A, // [6] TAMIL LETTER A..TAMIL LETTER UU $0B8E..$0B90, // [3] TAMIL LETTER E..TAMIL LETTER AI $0B92..$0B95, // [4] TAMIL LETTER O..TAMIL LETTER KA $0B99..$0B9A, // [2] TAMIL LETTER NGA..TAMIL LETTER CA $0B9C, // TAMIL LETTER JA $0B9E..$0B9F, // [2] TAMIL LETTER NYA..TAMIL LETTER TTA $0BA3..$0BA4, // [2] TAMIL LETTER NNA..TAMIL LETTER TA $0BA8..$0BAA, // [3] TAMIL LETTER NA..TAMIL LETTER PA $0BAE..$0BB5, // [8] TAMIL LETTER MA..TAMIL LETTER VA $0BB7..$0BB9, // [3] TAMIL LETTER SSA..TAMIL LETTER HA $0C05..$0C0C, // [8] TELUGU LETTER A..TELUGU LETTER VOCALIC L $0C0E..$0C10, // [3] TELUGU LETTER E..TELUGU LETTER AI $0C12..$0C28, // [23] TELUGU LETTER O..TELUGU LETTER NA $0C2A..$0C33, // [10] TELUGU LETTER PA..TELUGU LETTER LLA $0C35..$0C39, // [5] TELUGU LETTER VA..TELUGU LETTER HA $0C60..$0C61, // [2] TELUGU LETTER VOCALIC RR..TELUGU LETTER VOCALIC LL $0C85..$0C8C, // [8] KANNADA LETTER A..KANNADA LETTER VOCALIC L $0C8E..$0C90, // [3] KANNADA LETTER E..KANNADA LETTER AI $0C92..$0CA8, // [23] KANNADA LETTER O..KANNADA LETTER NA $0CAA..$0CB3, // [10] KANNADA LETTER PA..KANNADA LETTER LLA $0CB5..$0CB9, // [5] KANNADA LETTER VA..KANNADA LETTER HA $0CDE, // KANNADA LETTER FA $0CE0..$0CE1, // [2] KANNADA LETTER VOCALIC RR..KANNADA LETTER VOCALIC LL $0D05..$0D0C, // [8] MALAYALAM LETTER A..MALAYALAM LETTER VOCALIC L $0D0E..$0D10, // [3] MALAYALAM LETTER E..MALAYALAM LETTER AI $0D12..$0D28, // [23] MALAYALAM LETTER O..MALAYALAM LETTER NA $0D2A..$0D39, // [16] MALAYALAM LETTER PA..MALAYALAM LETTER HA $0D60..$0D61, // [2] MALAYALAM LETTER VOCALIC RR..MALAYALAM LETTER VOCALIC LL $0D85..$0D96, // [18] SINHALA LETTER AYANNA..SINHALA LETTER AUYANNA $0D9A..$0DB1, // [24] SINHALA LETTER ALPAPRAANA KAYANNA..SINHALA LETTER DANTAJA NAYANNA $0DB3..$0DBB, // [9] SINHALA LETTER SANYAKA DAYANNA..SINHALA LETTER RAYANNA $0DBD, // SINHALA LETTER DANTAJA LAYANNA $0DC0..$0DC6, // [7] SINHALA LETTER VAYANNA..SINHALA LETTER FAYANNA $0E01..$0E30, // [48] THAI CHARACTER KO KAI..THAI CHARACTER SARA A $0E32..$0E33, // [2] THAI CHARACTER SARA AA..THAI CHARACTER SARA AM $0E40..$0E45, // [6] THAI CHARACTER SARA E..THAI CHARACTER LAKKHANGYAO $0E81..$0E82, // [2] LAO LETTER KO..LAO LETTER KHO SUNG $0E84, // LAO LETTER KHO TAM $0E87..$0E88, // [2] LAO LETTER NGO..LAO LETTER CO $0E8A, // LAO LETTER SO TAM $0E8D, // LAO LETTER NYO $0E94..$0E97, // [4] LAO LETTER DO..LAO LETTER THO TAM $0E99..$0E9F, // [7] LAO LETTER NO..LAO LETTER FO SUNG $0EA1..$0EA3, // [3] LAO LETTER MO..LAO LETTER LO LING $0EA5, // LAO LETTER LO LOOT $0EA7, // LAO LETTER WO $0EAA..$0EAB, // [2] LAO LETTER SO SUNG..LAO LETTER HO SUNG $0EAD..$0EB0, // [4] LAO LETTER O..LAO VOWEL SIGN A $0EB2..$0EB3, // [2] LAO VOWEL SIGN AA..LAO VOWEL SIGN AM $0EBD, // LAO SEMIVOWEL SIGN NYO $0EC0..$0EC4, // [5] LAO VOWEL SIGN E..LAO VOWEL SIGN AI $0EDC..$0EDD, // [2] LAO HO NO..LAO HO MO $0F00, // TIBETAN SYLLABLE OM $0F40..$0F47, // [8] TIBETAN LETTER KA..TIBETAN LETTER JA $0F49..$0F6A, // [34] TIBETAN LETTER NYA..TIBETAN LETTER FIXED-FORM RA $0F88..$0F8B, // [4] TIBETAN SIGN LCE TSA CAN..TIBETAN SIGN GRU MED RGYINGS $1000..$1021, // [34] MYANMAR LETTER KA..MYANMAR LETTER A $1023..$1027, // [5] MYANMAR LETTER I..MYANMAR LETTER E $1029..$102A, // [2] MYANMAR LETTER O..MYANMAR LETTER AU $1050..$1055, // [6] MYANMAR LETTER SHA..MYANMAR LETTER VOCALIC LL $10D0..$10F8, // [41] GEORGIAN LETTER AN..GEORGIAN LETTER ELIFI $1100..$1159, // [90] HANGUL CHOSEONG KIYEOK..HANGUL CHOSEONG YEORINHIEUH $115F..$11A2, // [68] HANGUL CHOSEONG FILLER..HANGUL JUNGSEONG SSANGARAEA $11A8..$11F9, // [82] HANGUL JONGSEONG KIYEOK..HANGUL JONGSEONG YEORINHIEUH $1200..$1206, // [7] ETHIOPIC SYLLABLE HA..ETHIOPIC SYLLABLE HO $1208..$1246, // [63] ETHIOPIC SYLLABLE LA..ETHIOPIC SYLLABLE QO $1248, // ETHIOPIC SYLLABLE QWA $124A..$124D, // [4] ETHIOPIC SYLLABLE QWI..ETHIOPIC SYLLABLE QWE $1250..$1256, // [7] ETHIOPIC SYLLABLE QHA..ETHIOPIC SYLLABLE QHO $1258, // ETHIOPIC SYLLABLE QHWA $125A..$125D, // [4] ETHIOPIC SYLLABLE QHWI..ETHIOPIC SYLLABLE QHWE $1260..$1286, // [39] ETHIOPIC SYLLABLE BA..ETHIOPIC SYLLABLE XO $1288, // ETHIOPIC SYLLABLE XWA $128A..$128D, // [4] ETHIOPIC SYLLABLE XWI..ETHIOPIC SYLLABLE XWE $1290..$12AE, // [31] ETHIOPIC SYLLABLE NA..ETHIOPIC SYLLABLE KO $12B0, // ETHIOPIC SYLLABLE KWA $12B2..$12B5, // [4] ETHIOPIC SYLLABLE KWI..ETHIOPIC SYLLABLE KWE $12B8..$12BE, // [7] ETHIOPIC SYLLABLE KXA..ETHIOPIC SYLLABLE KXO $12C0, // ETHIOPIC SYLLABLE KXWA $12C2..$12C5, // [4] ETHIOPIC SYLLABLE KXWI..ETHIOPIC SYLLABLE KXWE $12C8..$12CE, // [7] ETHIOPIC SYLLABLE WA..ETHIOPIC SYLLABLE WO $12D0..$12D6, // [7] ETHIOPIC SYLLABLE PHARYNGEAL A..ETHIOPIC SYLLABLE PHARYNGEAL O $12D8..$12EE, // [23] ETHIOPIC SYLLABLE ZA..ETHIOPIC SYLLABLE YO $12F0..$130E, // [31] ETHIOPIC SYLLABLE DA..ETHIOPIC SYLLABLE GO $1310, // ETHIOPIC SYLLABLE GWA $1312..$1315, // [4] ETHIOPIC SYLLABLE GWI..ETHIOPIC SYLLABLE GWE $1318..$131E, // [7] ETHIOPIC SYLLABLE GGA..ETHIOPIC SYLLABLE GGO $1320..$1346, // [39] ETHIOPIC SYLLABLE THA..ETHIOPIC SYLLABLE TZO $1348..$135A, // [19] ETHIOPIC SYLLABLE FA..ETHIOPIC SYLLABLE FYA $13A0..$13F4, // [85] CHEROKEE LETTER A..CHEROKEE LETTER YV $1401..$166C, // [620] CANADIAN SYLLABICS E..CANADIAN SYLLABICS CARRIER TTSA $166F..$1676, // [8] CANADIAN SYLLABICS QAI..CANADIAN SYLLABICS NNGAA $1681..$169A, // [26] OGHAM LETTER BEITH..OGHAM LETTER PEITH $16A0..$16EA, // [75] RUNIC LETTER FEHU FEOH FE F..RUNIC LETTER X $1700..$170C, // [13] TAGALOG LETTER A..TAGALOG LETTER YA $170E..$1711, // [4] TAGALOG LETTER LA..TAGALOG LETTER HA $1720..$1731, // [18] HANUNOO LETTER A..HANUNOO LETTER HA $1740..$1751, // [18] BUHID LETTER A..BUHID LETTER HA $1760..$176C, // [13] TAGBANWA LETTER A..TAGBANWA LETTER YA $176E..$1770, // [3] TAGBANWA LETTER LA..TAGBANWA LETTER SA $1780..$17B3, // [52] KHMER LETTER KA..KHMER INDEPENDENT VOWEL QAU $17DC, // KHMER SIGN AVAKRAHASANYA $1820..$1842, // [35] MONGOLIAN LETTER A..MONGOLIAN LETTER CHI $1844..$1877, // [52] MONGOLIAN LETTER TODO E..MONGOLIAN LETTER MANCHU ZHA $1880..$18A8, // [41] MONGOLIAN LETTER ALI GALI ANUSVARA ONE..MONGOLIAN LETTER MANCHU ALI GALI BHA $2135..$2138, // [4] ALEF SYMBOL..DALET SYMBOL $3006, // IDEOGRAPHIC CLOSING MARK $303C, // MASU MARK $3041..$3096, // [86] HIRAGANA LETTER SMALL A..HIRAGANA LETTER SMALL KE $309F, // HIRAGANA DIGRAPH YORI $30A1..$30FA, // [90] KATAKANA LETTER SMALL A..KATAKANA LETTER VO $30FF, // KATAKANA DIGRAPH KOTO $3105..$312C, // [40] BOPOMOFO LETTER B..BOPOMOFO LETTER GN $3131..$318E, // [94] HANGUL LETTER KIYEOK..HANGUL LETTER ARAEAE $31A0..$31B7, // [24] BOPOMOFO LETTER BU..BOPOMOFO FINAL LETTER H $31F0..$31FF, // [16] KATAKANA LETTER SMALL KU..KATAKANA LETTER SMALL RO $3400..$4DB5, // [6582] CJK UNIFIED IDEOGRAPH-3400..CJK UNIFIED IDEOGRAPH-4DB5 $4E00..$9FA5, // [20902] CJK UNIFIED IDEOGRAPH-4E00..CJK UNIFIED IDEOGRAPH-9FA5 $A000..$A48C, // [1165] YI SYLLABLE IT..YI SYLLABLE YYR $AC00..$D7A3, // [11172] HANGUL SYLLABLE GA..HANGUL SYLLABLE HIH $F900..$FA2D, // [302] CJK COMPATIBILITY IDEOGRAPH-F900..CJK COMPATIBILITY IDEOGRAPH-FA2D $FA30..$FA6A, // [59] CJK COMPATIBILITY IDEOGRAPH-FA30..CJK COMPATIBILITY IDEOGRAPH-FA6A $FB1D, // HEBREW LETTER YOD WITH HIRIQ $FB1F..$FB28, // [10] HEBREW LIGATURE YIDDISH YOD YOD PATAH..HEBREW LETTER WIDE TAV $FB2A..$FB36, // [13] HEBREW LETTER SHIN WITH SHIN DOT..HEBREW LETTER ZAYIN WITH DAGESH $FB38..$FB3C, // [5] HEBREW LETTER TET WITH DAGESH..HEBREW LETTER LAMED WITH DAGESH $FB3E, // HEBREW LETTER MEM WITH DAGESH $FB40..$FB41, // [2] HEBREW LETTER NUN WITH DAGESH..HEBREW LETTER SAMEKH WITH DAGESH $FB43..$FB44, // [2] HEBREW LETTER FINAL PE WITH DAGESH..HEBREW LETTER PE WITH DAGESH $FB46..$FBB1, // [108] HEBREW LETTER TSADI WITH DAGESH..ARABIC LETTER YEH BARREE WITH HAMZA ABOVE FINAL FORM $FBD3..$FD3D, // [363] ARABIC LETTER NG ISOLATED FORM..ARABIC LIGATURE ALEF WITH FATHATAN ISOLATED FORM $FD50..$FD8F, // [64] ARABIC LIGATURE TEH WITH JEEM WITH MEEM INITIAL FORM..ARABIC LIGATURE MEEM WITH KHAH WITH MEEM INITIAL FORM $FD92..$FDC7, // [54] ARABIC LIGATURE MEEM WITH JEEM WITH KHAH INITIAL FORM..ARABIC LIGATURE NOON WITH JEEM WITH YEH FINAL FORM $FDF0..$FDFB, // [12] ARABIC LIGATURE SALLA USED AS KORANIC STOP SIGN ISOLATED FORM..ARABIC LIGATURE JALLAJALALOUHOU $FE70..$FE74, // [5] ARABIC FATHATAN ISOLATED FORM..ARABIC KASRATAN ISOLATED FORM $FE76..$FEFC, // [135] ARABIC FATHA ISOLATED FORM..ARABIC LIGATURE LAM WITH ALEF FINAL FORM $FF66..$FF6F, // [10] HALFWIDTH KATAKANA LETTER WO..HALFWIDTH KATAKANA LETTER SMALL TU $FF71..$FF9D, // [45] HALFWIDTH KATAKANA LETTER A..HALFWIDTH KATAKANA LETTER N $FFA0..$FFBE, // [31] HALFWIDTH HANGUL FILLER..HALFWIDTH HANGUL LETTER HIEUH $FFC2..$FFC7, // [6] HALFWIDTH HANGUL LETTER A..HALFWIDTH HANGUL LETTER E $FFCA..$FFCF, // [6] HALFWIDTH HANGUL LETTER YEO..HALFWIDTH HANGUL LETTER OE $FFD2..$FFD7, // [6] HALFWIDTH HANGUL LETTER YO..HALFWIDTH HANGUL LETTER YU $FFDA..$FFDC, // [3] HALFWIDTH HANGUL LETTER EU..HALFWIDTH HANGUL LETTER I $10300..$1031E, // [31] OLD ITALIC LETTER A..OLD ITALIC LETTER UU $10330..$10349, // [26] GOTHIC LETTER AHSA..GOTHIC LETTER OTHAL $20000..$2A6D6, // [42711] CJK UNIFIED IDEOGRAPH-20000..CJK UNIFIED IDEOGRAPH-2A6D6 $2F800..$2FA1D : // [542] CJK COMPATIBILITY IDEOGRAPH-2F800..CJK COMPATIBILITY IDEOGRAPH-2FA1D Result := True; else Result := False; end; end; function IsLetter(const Ch: WideChar): Boolean; begin if Ord(Ch) < $80 then // ASCII short-cut Result := Char(Ord(Ch)) in ['A'..'Z', 'a'..'z'] else begin Result := LocateLetterInfo(Ch) >= 0; if Result then exit; Result := LocateTitleCaseLetterInfo(Ch) >= 0; if Result then exit; Result := IsOtherLetter(Ord(Ch)); end; end; function IsAlphabetic(const Ch: WideChar): Boolean; begin Result := IsLetter(Ch); if Result then exit; Case Ord(Ch) of $02B0..$02B8, // # Lm [9] MODIFIER LETTER SMALL H..MODIFIER LETTER SMALL Y $02BB..$02C1, // # Lm [7] MODIFIER LETTER TURNED COMMA..MODIFIER LETTER REVERSED GLOTTAL STOP $02D0..$02D1, // # Lm [2] MODIFIER LETTER TRIANGULAR COLON..MODIFIER LETTER HALF TRIANGULAR COLON $02E0..$02E4, // # Lm [5] MODIFIER LETTER SMALL GAMMA..MODIFIER LETTER SMALL REVERSED GLOTTAL STOP $02EE, // # Lm MODIFIER LETTER DOUBLE APOSTROPHE $0345, // # Mn COMBINING GREEK YPOGEGRAMMENI $037A, // # Lm GREEK YPOGEGRAMMENI $0559, // # Lm ARMENIAN MODIFIER LETTER LEFT HALF RING $05B0..$05B9, // # Mn [10] HEBREW POINT SHEVA..HEBREW POINT HOLAM $05BB..$05BD, // # Mn [3] HEBREW POINT QUBUTS..HEBREW POINT METEG $05BF, // # Mn HEBREW POINT RAFE $05C1..$05C2, // # Mn [2] HEBREW POINT SHIN DOT..HEBREW POINT SIN DOT $05C4, // # Mn HEBREW MARK UPPER DOT $0640, // # Lm ARABIC TATWEEL $064B..$0655, // # Mn [11] ARABIC FATHATAN..ARABIC HAMZA BELOW $0670, // # Mn ARABIC LETTER SUPERSCRIPT ALEF $06D6..$06DC, // # Mn [7] ARABIC SMALL HIGH LIGATURE SAD WITH LAM WITH ALEF MAKSURA..ARABIC SMALL HIGH SEEN $06E1..$06E4, // # Mn [4] ARABIC SMALL HIGH DOTLESS HEAD OF KHAH..ARABIC SMALL HIGH MADDA $06E5..$06E6, // # Lm [2] ARABIC SMALL WAW..ARABIC SMALL YEH $06E7..$06E8, // # Mn [2] ARABIC SMALL HIGH YEH..ARABIC SMALL HIGH NOON $06ED, // # Mn ARABIC SMALL LOW MEEM $0711, // # Mn SYRIAC LETTER SUPERSCRIPT ALAPH $0730..$073F, // # Mn [16] SYRIAC PTHAHA ABOVE..SYRIAC RWAHA $07A6..$07B0, // # Mn [11] THAANA ABAFILI..THAANA SUKUN $0901..$0902, // # Mn [2] DEVANAGARI SIGN CANDRABINDU..DEVANAGARI SIGN ANUSVARA $0903, // # Mc DEVANAGARI SIGN VISARGA $093E..$0940, // # Mc [3] DEVANAGARI VOWEL SIGN AA..DEVANAGARI VOWEL SIGN II $0941..$0948, // # Mn [8] DEVANAGARI VOWEL SIGN U..DEVANAGARI VOWEL SIGN AI $0949..$094C, // # Mc [4] DEVANAGARI VOWEL SIGN CANDRA O..DEVANAGARI VOWEL SIGN AU $0962..$0963, // # Mn [2] DEVANAGARI VOWEL SIGN VOCALIC L..DEVANAGARI VOWEL SIGN VOCALIC LL $0981, // # Mn BENGALI SIGN CANDRABINDU $0982..$0983, // # Mc [2] BENGALI SIGN ANUSVARA..BENGALI SIGN VISARGA $09BE..$09C0, // # Mc [3] BENGALI VOWEL SIGN AA..BENGALI VOWEL SIGN II $09C1..$09C4, // # Mn [4] BENGALI VOWEL SIGN U..BENGALI VOWEL SIGN VOCALIC RR $09C7..$09C8, // # Mc [2] BENGALI VOWEL SIGN E..BENGALI VOWEL SIGN AI $09CB..$09CC, // # Mc [2] BENGALI VOWEL SIGN O..BENGALI VOWEL SIGN AU $09D7, // # Mc BENGALI AU LENGTH MARK $09E2..$09E3, // # Mn [2] BENGALI VOWEL SIGN VOCALIC L..BENGALI VOWEL SIGN VOCALIC LL $0A02, // # Mn GURMUKHI SIGN BINDI $0A3E..$0A40, // # Mc [3] GURMUKHI VOWEL SIGN AA..GURMUKHI VOWEL SIGN II $0A41..$0A42, // # Mn [2] GURMUKHI VOWEL SIGN U..GURMUKHI VOWEL SIGN UU $0A47..$0A48, // # Mn [2] GURMUKHI VOWEL SIGN EE..GURMUKHI VOWEL SIGN AI $0A4B..$0A4C, // # Mn [2] GURMUKHI VOWEL SIGN OO..GURMUKHI VOWEL SIGN AU $0A70..$0A71, // # Mn [2] GURMUKHI TIPPI..GURMUKHI ADDAK $0A81..$0A82, // # Mn [2] GUJARATI SIGN CANDRABINDU..GUJARATI SIGN ANUSVARA $0A83, // # Mc GUJARATI SIGN VISARGA $0ABE..$0AC0, // # Mc [3] GUJARATI VOWEL SIGN AA..GUJARATI VOWEL SIGN II $0AC1..$0AC5, // # Mn [5] GUJARATI VOWEL SIGN U..GUJARATI VOWEL SIGN CANDRA E $0AC7..$0AC8, // # Mn [2] GUJARATI VOWEL SIGN E..GUJARATI VOWEL SIGN AI $0AC9, // # Mc GUJARATI VOWEL SIGN CANDRA O $0ACB..$0ACC, // # Mc [2] GUJARATI VOWEL SIGN O..GUJARATI VOWEL SIGN AU $0B01, // # Mn ORIYA SIGN CANDRABINDU $0B02..$0B03, // # Mc [2] ORIYA SIGN ANUSVARA..ORIYA SIGN VISARGA $0B3E, // # Mc ORIYA VOWEL SIGN AA $0B3F, // # Mn ORIYA VOWEL SIGN I $0B40, // # Mc ORIYA VOWEL SIGN II $0B41..$0B43, // # Mn [3] ORIYA VOWEL SIGN U..ORIYA VOWEL SIGN VOCALIC R $0B47..$0B48, // # Mc [2] ORIYA VOWEL SIGN E..ORIYA VOWEL SIGN AI $0B4B..$0B4C, // # Mc [2] ORIYA VOWEL SIGN O..ORIYA VOWEL SIGN AU $0B56, // # Mn ORIYA AI LENGTH MARK $0B57, // # Mc ORIYA AU LENGTH MARK $0B82, // # Mn TAMIL SIGN ANUSVARA $0BBE..$0BBF, // # Mc [2] TAMIL VOWEL SIGN AA..TAMIL VOWEL SIGN I $0BC0, // # Mn TAMIL VOWEL SIGN II $0BC1..$0BC2, // # Mc [2] TAMIL VOWEL SIGN U..TAMIL VOWEL SIGN UU $0BC6..$0BC8, // # Mc [3] TAMIL VOWEL SIGN E..TAMIL VOWEL SIGN AI $0BCA..$0BCC, // # Mc [3] TAMIL VOWEL SIGN O..TAMIL VOWEL SIGN AU $0BD7, // # Mc TAMIL AU LENGTH MARK $0C01..$0C03, // # Mc [3] TELUGU SIGN CANDRABINDU..TELUGU SIGN VISARGA $0C3E..$0C40, // # Mn [3] TELUGU VOWEL SIGN AA..TELUGU VOWEL SIGN II $0C41..$0C44, // # Mc [4] TELUGU VOWEL SIGN U..TELUGU VOWEL SIGN VOCALIC RR $0C46..$0C48, // # Mn [3] TELUGU VOWEL SIGN E..TELUGU VOWEL SIGN AI $0C4A..$0C4C, // # Mn [3] TELUGU VOWEL SIGN O..TELUGU VOWEL SIGN AU $0C55..$0C56, // # Mn [2] TELUGU LENGTH MARK..TELUGU AI LENGTH MARK $0C82..$0C83, // # Mc [2] KANNADA SIGN ANUSVARA..KANNADA SIGN VISARGA $0CBE, // # Mc KANNADA VOWEL SIGN AA $0CBF, // # Mn KANNADA VOWEL SIGN I $0CC0..$0CC4, // # Mc [5] KANNADA VOWEL SIGN II..KANNADA VOWEL SIGN VOCALIC RR $0CC6, // # Mn KANNADA VOWEL SIGN E $0CC7..$0CC8, // # Mc [2] KANNADA VOWEL SIGN EE..KANNADA VOWEL SIGN AI $0CCA..$0CCB, // # Mc [2] KANNADA VOWEL SIGN O..KANNADA VOWEL SIGN OO $0CCC, // # Mn KANNADA VOWEL SIGN AU $0CD5..$0CD6, // # Mc [2] KANNADA LENGTH MARK..KANNADA AI LENGTH MARK $0D02..$0D03, // # Mc [2] MALAYALAM SIGN ANUSVARA..MALAYALAM SIGN VISARGA $0D3E..$0D40, // # Mc [3] MALAYALAM VOWEL SIGN AA..MALAYALAM VOWEL SIGN II $0D41..$0D43, // # Mn [3] MALAYALAM VOWEL SIGN U..MALAYALAM VOWEL SIGN VOCALIC R $0D46..$0D48, // # Mc [3] MALAYALAM VOWEL SIGN E..MALAYALAM VOWEL SIGN AI $0D4A..$0D4C, // # Mc [3] MALAYALAM VOWEL SIGN O..MALAYALAM VOWEL SIGN AU $0D57, // # Mc MALAYALAM AU LENGTH MARK $0D82..$0D83, // # Mc [2] SINHALA SIGN ANUSVARAYA..SINHALA SIGN VISARGAYA $0DCF..$0DD1, // # Mc [3] SINHALA VOWEL SIGN AELA-PILLA..SINHALA VOWEL SIGN DIGA AEDA-PILLA $0DD2..$0DD4, // # Mn [3] SINHALA VOWEL SIGN KETTI IS-PILLA..SINHALA VOWEL SIGN KETTI PAA-PILLA $0DD6, // # Mn SINHALA VOWEL SIGN DIGA PAA-PILLA $0DD8..$0DDF, // # Mc [8] SINHALA VOWEL SIGN GAETTA-PILLA..SINHALA VOWEL SIGN GAYANUKITTA $0DF2..$0DF3, // # Mc [2] SINHALA VOWEL SIGN DIGA GAETTA-PILLA..SINHALA VOWEL SIGN DIGA GAYANUKITTA $0E31, // # Mn THAI CHARACTER MAI HAN-AKAT $0E34..$0E3A, // # Mn [7] THAI CHARACTER SARA I..THAI CHARACTER PHINTHU $0E46, // # Lm THAI CHARACTER MAIYAMOK $0E4D, // # Mn THAI CHARACTER NIKHAHIT $0EB1, // # Mn LAO VOWEL SIGN MAI KAN $0EB4..$0EB9, // # Mn [6] LAO VOWEL SIGN I..LAO VOWEL SIGN UU $0EBB..$0EBC, // # Mn [2] LAO VOWEL SIGN MAI KON..LAO SEMIVOWEL SIGN LO $0EC6, // # Lm LAO KO LA $0ECD, // # Mn LAO NIGGAHITA $0F71..$0F7E, // # Mn [14] TIBETAN VOWEL SIGN AA..TIBETAN SIGN RJES SU NGA RO $0F7F, // # Mc TIBETAN SIGN RNAM BCAD $0F80..$0F81, // # Mn [2] TIBETAN VOWEL SIGN REVERSED I..TIBETAN VOWEL SIGN REVERSED II $0F90..$0F97, // # Mn [8] TIBETAN SUBJOINED LETTER KA..TIBETAN SUBJOINED LETTER JA $0F99..$0FBC, // # Mn [36] TIBETAN SUBJOINED LETTER NYA..TIBETAN SUBJOINED LETTER FIXED-FORM RA $102C, // # Mc MYANMAR VOWEL SIGN AA $102D..$1030, // # Mn [4] MYANMAR VOWEL SIGN I..MYANMAR VOWEL SIGN UU $1031, // # Mc MYANMAR VOWEL SIGN E $1032, // # Mn MYANMAR VOWEL SIGN AI $1036, // # Mn MYANMAR SIGN ANUSVARA $1038, // # Mc MYANMAR SIGN VISARGA $1056..$1057, // # Mc [2] MYANMAR VOWEL SIGN VOCALIC R..MYANMAR VOWEL SIGN VOCALIC RR $1058..$1059, // # Mn [2] MYANMAR VOWEL SIGN VOCALIC L..MYANMAR VOWEL SIGN VOCALIC LL $16EE..$16F0, // # Nl [3] RUNIC ARLAUG SYMBOL..RUNIC BELGTHOR SYMBOL $1712..$1713, // # Mn [2] TAGALOG VOWEL SIGN I..TAGALOG VOWEL SIGN U $1732..$1733, // # Mn [2] HANUNOO VOWEL SIGN I..HANUNOO VOWEL SIGN U $1752..$1753, // # Mn [2] BUHID VOWEL SIGN I..BUHID VOWEL SIGN U $1772..$1773, // # Mn [2] TAGBANWA VOWEL SIGN I..TAGBANWA VOWEL SIGN U $17B4..$17B6, // # Mc [3] KHMER VOWEL INHERENT AQ..KHMER VOWEL SIGN AA $17B7..$17BD, // # Mn [7] KHMER VOWEL SIGN I..KHMER VOWEL SIGN UA $17BE..$17C5, // # Mc [8] KHMER VOWEL SIGN OE..KHMER VOWEL SIGN AU $17C6, // # Mn KHMER SIGN NIKAHIT $17C7..$17C8, // # Mc [2] KHMER SIGN REAHMUK..KHMER SIGN YUUKALEAPINTU $17D7, // # Lm KHMER SIGN LEK TOO $1843, // # Lm MONGOLIAN LETTER TODO LONG VOWEL SIGN $18A9, // # Mn MONGOLIAN LETTER ALI GALI DAGALGA $2160..$2183, // # Nl [36] ROMAN NUMERAL ONE..ROMAN NUMERAL REVERSED ONE HUNDRED $3005, // # Lm IDEOGRAPHIC ITERATION MARK $3007, // # Nl IDEOGRAPHIC NUMBER ZERO $3021..$3029, // # Nl [9] HANGZHOU NUMERAL ONE..HANGZHOU NUMERAL NINE $3031..$3035, // # Lm [5] VERTICAL KANA REPEAT MARK..VERTICAL KANA REPEAT MARK LOWER HALF $3038..$303A, // # Nl [3] HANGZHOU NUMERAL TEN..HANGZHOU NUMERAL THIRTY $303B, // # Lm VERTICAL IDEOGRAPHIC ITERATION MARK $309D..$309E, // # Lm [2] HIRAGANA ITERATION MARK..HIRAGANA VOICED ITERATION MARK $30FC..$30FE, // # Lm [3] KATAKANA-HIRAGANA PROLONGED SOUND MARK..KATAKANA VOICED ITERATION MARK $FB1E, // # Mn HEBREW POINT JUDEO-SPANISH VARIKA $FF70, // # Lm HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK $FF9E..$FF9F : // # Lm [2] HALFWIDTH KATAKANA VOICED SOUND MARK..HALFWIDTH KATAKANA SEMI-VOICED SOUND MARK Result := True; else Result := False; end; end; function GetCombiningClass(const Ch: WideChar): Byte; begin if Ord(Ch) < $0300 then Result := 0 else Case Ord(Ch) of $0300..$0319 : Result := 230; $031A : Result := 232; $031B : Result := 216; $031C..$0320 : Result := 220; $0321..$0322 : Result := 202; $0323..$0326 : Result := 220; $0327..$0328 : Result := 202; $0329..$0333 : Result := 220; $0334..$0338 : Result := 1; $0339..$033C : Result := 220; $033D..$0344 : Result := 230; $0345 : Result := 240; $0346 : Result := 230; $0347..$0349 : Result := 220; $034A..$034C : Result := 230; $034D..$034E : Result := 220; $0360..$0361 : Result := 234; $0362 : Result := 233; $0483..$0486 : Result := 230; $0591 : Result := 220; $0592..$0595 : Result := 230; $0596 : Result := 220; $0597..$0599 : Result := 230; $059A : Result := 222; $059B : Result := 220; $059C..$05A1 : Result := 230; $05A3..$05A4 : Result := 220; $05A8..$05A9 : Result := 230; $05AA : Result := 220; $05AB..$05AC : Result := 230; $05AD : Result := 222; $05AE : Result := 228; $05AF : Result := 230; $05B0..$05B9 : Result := Ord(Ch) - $05B0 + 10; $05BB : Result := 20; $05BC : Result := 21; $05BD : Result := 22; $05BF : Result := 23; $05C1 : Result := 24; $05C2 : Result := 25; $05C4 : Result := 230; $064B..$0652 : Result := Ord(Ch) - $064B + 27; $0653..$0654 : Result := 230; $0655 : Result := 220; $0670 : Result := 35; $06D6..$06DC : Result := 230; $06DF..$06E2 : Result := 230; $06E3 : Result := 220; $06E4 : Result := 230; $06E7..$06E8 : Result := 230; $06EA : Result := 220; $06EB..$06EC : Result := 230; $06ED : Result := 220; $0711 : Result := 36; $0730 : Result := 230; $0731 : Result := 220; $0732..$0733 : Result := 230; $0734 : Result := 220; $0735..$0736 : Result := 230; $0737..$0739 : Result := 220; $073A : Result := 230; $073B..$073C : Result := 220; $073D : Result := 230; $073E : Result := 220; $073F..$0741 : Result := 230; $0742 : Result := 220; $0743 : Result := 230; $0744 : Result := 220; $0745 : Result := 230; $0746 : Result := 220; $0747 : Result := 230; $0748 : Result := 220; $0749..$074A : Result := 230; $093C : Result := 7; $094D : Result := 9; $0951 : Result := 230; $0952 : Result := 220; $0953..$0954 : Result := 230; $09BC : Result := 7; $09CD : Result := 9; $0A3C : Result := 7; $0A4D : Result := 9; $0ABC : Result := 7; $0ACD : Result := 9; $0B3C : Result := 7; $0B4D : Result := 9; $0BCD : Result := 9; $0C4D : Result := 9; $0C55 : Result := 84; $0C56 : Result := 91; $0CCD : Result := 9; $0D4D : Result := 9; $0DCA : Result := 9; $0E38..$0E39 : Result := 103; $0E3A : Result := 9; $0E48..$0E4B : Result := 107; $0EB8..$0EB9 : Result := 118; $0EC8..$0ECB : Result := 122; $0F18..$0F19 : Result := 220; $0F35 : Result := 220; $0F37 : Result := 220; $0F39 : Result := 216; $0F71 : Result := 129; $0F72 : Result := 130; $0F74 : Result := 132; $0F7A..$0F7D : Result := 130; $0F80 : Result := 130; $0F82..$0F83 : Result := 230; $0F84 : Result := 9; $0F86..$0F87 : Result := 230; $0FC6 : Result := 220; $1037 : Result := 7; $1039 : Result := 9; $17D2 : Result := 9; $18A9 : Result := 228; $20D0..$20D1 : Result := 230; $20D2..$20D3 : Result := 1; $20D4..$20D7 : Result := 230; $20D8..$20DA : Result := 1; $20DB..$20DC : Result := 230; $20E1 : Result := 230; $302A : Result := 218; $302B : Result := 228; $302C : Result := 232; $302D : Result := 222; $302E..$302F : Result := 224; $3099 : Result := 8; $309A : Result := 8; $FB1E : Result := 26; $FE20..$FE23 : Result := 230; else Result := 0; end; end; type TUnicodeDecompositionAttr = (daNone, daNoBreak, daCompat, daSuper, daFraction, daSub, daFont, daCircle, daWide, daSquare, daIsolated, daInitial, daFinal, daMedial, daVertical, daSmall, daNarrow); TUnicodeDecompositionInfo = packed record Unicode : WideChar; Attr : TUnicodeDecompositionAttr; Ch1 : WideChar; Ch2 : WideChar; Ch3 : WideChar; Ch4 : WideChar; Ch5 : WideChar; end; PUnicodeDecompositionInfo = ^TUnicodeDecompositionInfo; const UnicodeDecompositionEntries = 3481; // ~ 45K UnicodeDecompositionInfo : Array[0..UnicodeDecompositionEntries - 1] of TUnicodeDecompositionInfo = ( (Unicode:#$00A0; Attr:daNoBreak; Ch1:#$0020; Ch2:#$FFFF), // NO-BREAK SPACE (Unicode:#$00A8; Attr:daCompat; Ch1:#$0020; Ch2:#$0308; Ch3:#$FFFF), // DIAERESIS (Unicode:#$00AA; Attr:daSuper; Ch1:#$0061; Ch2:#$FFFF), // FEMININE ORDINAL INDICATOR (Unicode:#$00AF; Attr:daCompat; Ch1:#$0020; Ch2:#$0304; Ch3:#$FFFF), // MACRON (Unicode:#$00B2; Attr:daSuper; Ch1:#$0032; Ch2:#$FFFF), // SUPERSCRIPT TWO (Unicode:#$00B3; Attr:daSuper; Ch1:#$0033; Ch2:#$FFFF), // SUPERSCRIPT THREE (Unicode:#$00B4; Attr:daCompat; Ch1:#$0020; Ch2:#$0301; Ch3:#$FFFF), // ACUTE ACCENT (Unicode:#$00B5; Attr:daCompat; Ch1:#$03BC; Ch2:#$FFFF), // MICRO SIGN (Unicode:#$00B8; Attr:daCompat; Ch1:#$0020; Ch2:#$0327; Ch3:#$FFFF), // CEDILLA (Unicode:#$00B9; Attr:daSuper; Ch1:#$0031; Ch2:#$FFFF), // SUPERSCRIPT ONE (Unicode:#$00BA; Attr:daSuper; Ch1:#$006F; Ch2:#$FFFF), // MASCULINE ORDINAL INDICATOR (Unicode:#$00BC; Attr:daFraction; Ch1:#$0031; Ch2:#$2044; Ch3:#$0034; Ch4:#$FFFF), // VULGAR FRACTION ONE QUARTER (Unicode:#$00BD; Attr:daFraction; Ch1:#$0031; Ch2:#$2044; Ch3:#$0032; Ch4:#$FFFF), // VULGAR FRACTION ONE HALF (Unicode:#$00BE; Attr:daFraction; Ch1:#$0033; Ch2:#$2044; Ch3:#$0034; Ch4:#$FFFF), // VULGAR FRACTION THREE QUARTERS (Unicode:#$00C0; Attr:daNone; Ch1:#$0041; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH GRAVE (Unicode:#$00C1; Attr:daNone; Ch1:#$0041; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH ACUTE (Unicode:#$00C2; Attr:daNone; Ch1:#$0041; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX (Unicode:#$00C3; Attr:daNone; Ch1:#$0041; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH TILDE (Unicode:#$00C4; Attr:daNone; Ch1:#$0041; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH DIAERESIS (Unicode:#$00C5; Attr:daNone; Ch1:#$0041; Ch2:#$030A; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH RING ABOVE (Unicode:#$00C7; Attr:daNone; Ch1:#$0043; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER C WITH CEDILLA (Unicode:#$00C8; Attr:daNone; Ch1:#$0045; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH GRAVE (Unicode:#$00C9; Attr:daNone; Ch1:#$0045; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH ACUTE (Unicode:#$00CA; Attr:daNone; Ch1:#$0045; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX (Unicode:#$00CB; Attr:daNone; Ch1:#$0045; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH DIAERESIS (Unicode:#$00CC; Attr:daNone; Ch1:#$0049; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH GRAVE (Unicode:#$00CD; Attr:daNone; Ch1:#$0049; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH ACUTE (Unicode:#$00CE; Attr:daNone; Ch1:#$0049; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH CIRCUMFLEX (Unicode:#$00CF; Attr:daNone; Ch1:#$0049; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH DIAERESIS (Unicode:#$00D1; Attr:daNone; Ch1:#$004E; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH TILDE (Unicode:#$00D2; Attr:daNone; Ch1:#$004F; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH GRAVE (Unicode:#$00D3; Attr:daNone; Ch1:#$004F; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH ACUTE (Unicode:#$00D4; Attr:daNone; Ch1:#$004F; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX (Unicode:#$00D5; Attr:daNone; Ch1:#$004F; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH TILDE (Unicode:#$00D6; Attr:daNone; Ch1:#$004F; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH DIAERESIS (Unicode:#$00D9; Attr:daNone; Ch1:#$0055; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH GRAVE (Unicode:#$00DA; Attr:daNone; Ch1:#$0055; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH ACUTE (Unicode:#$00DB; Attr:daNone; Ch1:#$0055; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH CIRCUMFLEX (Unicode:#$00DC; Attr:daNone; Ch1:#$0055; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DIAERESIS (Unicode:#$00DD; Attr:daNone; Ch1:#$0059; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH ACUTE (Unicode:#$00E0; Attr:daNone; Ch1:#$0061; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH GRAVE (Unicode:#$00E1; Attr:daNone; Ch1:#$0061; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH ACUTE (Unicode:#$00E2; Attr:daNone; Ch1:#$0061; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH CIRCUMFLEX (Unicode:#$00E3; Attr:daNone; Ch1:#$0061; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH TILDE (Unicode:#$00E4; Attr:daNone; Ch1:#$0061; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH DIAERESIS (Unicode:#$00E5; Attr:daNone; Ch1:#$0061; Ch2:#$030A; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH RING ABOVE (Unicode:#$00E7; Attr:daNone; Ch1:#$0063; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER C WITH CEDILLA (Unicode:#$00E8; Attr:daNone; Ch1:#$0065; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH GRAVE (Unicode:#$00E9; Attr:daNone; Ch1:#$0065; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH ACUTE (Unicode:#$00EA; Attr:daNone; Ch1:#$0065; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CIRCUMFLEX (Unicode:#$00EB; Attr:daNone; Ch1:#$0065; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH DIAERESIS (Unicode:#$00EC; Attr:daNone; Ch1:#$0069; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH GRAVE (Unicode:#$00ED; Attr:daNone; Ch1:#$0069; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH ACUTE (Unicode:#$00EE; Attr:daNone; Ch1:#$0069; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH CIRCUMFLEX (Unicode:#$00EF; Attr:daNone; Ch1:#$0069; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH DIAERESIS (Unicode:#$00F1; Attr:daNone; Ch1:#$006E; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH TILDE (Unicode:#$00F2; Attr:daNone; Ch1:#$006F; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH GRAVE (Unicode:#$00F3; Attr:daNone; Ch1:#$006F; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH ACUTE (Unicode:#$00F4; Attr:daNone; Ch1:#$006F; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH CIRCUMFLEX (Unicode:#$00F5; Attr:daNone; Ch1:#$006F; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH TILDE (Unicode:#$00F6; Attr:daNone; Ch1:#$006F; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH DIAERESIS (Unicode:#$00F9; Attr:daNone; Ch1:#$0075; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH GRAVE (Unicode:#$00FA; Attr:daNone; Ch1:#$0075; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH ACUTE (Unicode:#$00FB; Attr:daNone; Ch1:#$0075; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH CIRCUMFLEX (Unicode:#$00FC; Attr:daNone; Ch1:#$0075; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DIAERESIS (Unicode:#$00FD; Attr:daNone; Ch1:#$0079; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH ACUTE (Unicode:#$00FF; Attr:daNone; Ch1:#$0079; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH DIAERESIS (Unicode:#$0100; Attr:daNone; Ch1:#$0041; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH MACRON (Unicode:#$0101; Attr:daNone; Ch1:#$0061; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH MACRON (Unicode:#$0102; Attr:daNone; Ch1:#$0041; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH BREVE (Unicode:#$0103; Attr:daNone; Ch1:#$0061; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH BREVE (Unicode:#$0104; Attr:daNone; Ch1:#$0041; Ch2:#$0328; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH OGONEK (Unicode:#$0105; Attr:daNone; Ch1:#$0061; Ch2:#$0328; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH OGONEK (Unicode:#$0106; Attr:daNone; Ch1:#$0043; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER C WITH ACUTE (Unicode:#$0107; Attr:daNone; Ch1:#$0063; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER C WITH ACUTE (Unicode:#$0108; Attr:daNone; Ch1:#$0043; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER C WITH CIRCUMFLEX (Unicode:#$0109; Attr:daNone; Ch1:#$0063; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER C WITH CIRCUMFLEX (Unicode:#$010A; Attr:daNone; Ch1:#$0043; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER C WITH DOT ABOVE (Unicode:#$010B; Attr:daNone; Ch1:#$0063; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER C WITH DOT ABOVE (Unicode:#$010C; Attr:daNone; Ch1:#$0043; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER C WITH CARON (Unicode:#$010D; Attr:daNone; Ch1:#$0063; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER C WITH CARON (Unicode:#$010E; Attr:daNone; Ch1:#$0044; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH CARON (Unicode:#$010F; Attr:daNone; Ch1:#$0064; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER D WITH CARON (Unicode:#$0112; Attr:daNone; Ch1:#$0045; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH MACRON (Unicode:#$0113; Attr:daNone; Ch1:#$0065; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH MACRON (Unicode:#$0114; Attr:daNone; Ch1:#$0045; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH BREVE (Unicode:#$0115; Attr:daNone; Ch1:#$0065; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH BREVE (Unicode:#$0116; Attr:daNone; Ch1:#$0045; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH DOT ABOVE (Unicode:#$0117; Attr:daNone; Ch1:#$0065; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH DOT ABOVE (Unicode:#$0118; Attr:daNone; Ch1:#$0045; Ch2:#$0328; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH OGONEK (Unicode:#$0119; Attr:daNone; Ch1:#$0065; Ch2:#$0328; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH OGONEK (Unicode:#$011A; Attr:daNone; Ch1:#$0045; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CARON (Unicode:#$011B; Attr:daNone; Ch1:#$0065; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CARON (Unicode:#$011C; Attr:daNone; Ch1:#$0047; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER G WITH CIRCUMFLEX (Unicode:#$011D; Attr:daNone; Ch1:#$0067; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER G WITH CIRCUMFLEX (Unicode:#$011E; Attr:daNone; Ch1:#$0047; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER G WITH BREVE (Unicode:#$011F; Attr:daNone; Ch1:#$0067; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER G WITH BREVE (Unicode:#$0120; Attr:daNone; Ch1:#$0047; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER G WITH DOT ABOVE (Unicode:#$0121; Attr:daNone; Ch1:#$0067; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER G WITH DOT ABOVE (Unicode:#$0122; Attr:daNone; Ch1:#$0047; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER G WITH CEDILLA (Unicode:#$0123; Attr:daNone; Ch1:#$0067; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER G WITH CEDILLA (Unicode:#$0124; Attr:daNone; Ch1:#$0048; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER H WITH CIRCUMFLEX (Unicode:#$0125; Attr:daNone; Ch1:#$0068; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH CIRCUMFLEX (Unicode:#$0128; Attr:daNone; Ch1:#$0049; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH TILDE (Unicode:#$0129; Attr:daNone; Ch1:#$0069; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH TILDE (Unicode:#$012A; Attr:daNone; Ch1:#$0049; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH MACRON (Unicode:#$012B; Attr:daNone; Ch1:#$0069; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH MACRON (Unicode:#$012C; Attr:daNone; Ch1:#$0049; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH BREVE (Unicode:#$012D; Attr:daNone; Ch1:#$0069; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH BREVE (Unicode:#$012E; Attr:daNone; Ch1:#$0049; Ch2:#$0328; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH OGONEK (Unicode:#$012F; Attr:daNone; Ch1:#$0069; Ch2:#$0328; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH OGONEK (Unicode:#$0130; Attr:daNone; Ch1:#$0049; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH DOT ABOVE (Unicode:#$0132; Attr:daCompat; Ch1:#$0049; Ch2:#$004A; Ch3:#$FFFF), // LATIN CAPITAL LIGATURE IJ (Unicode:#$0133; Attr:daCompat; Ch1:#$0069; Ch2:#$006A; Ch3:#$FFFF), // LATIN SMALL LIGATURE IJ (Unicode:#$0134; Attr:daNone; Ch1:#$004A; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER J WITH CIRCUMFLEX (Unicode:#$0135; Attr:daNone; Ch1:#$006A; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER J WITH CIRCUMFLEX (Unicode:#$0136; Attr:daNone; Ch1:#$004B; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER K WITH CEDILLA (Unicode:#$0137; Attr:daNone; Ch1:#$006B; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER K WITH CEDILLA (Unicode:#$0139; Attr:daNone; Ch1:#$004C; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH ACUTE (Unicode:#$013A; Attr:daNone; Ch1:#$006C; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH ACUTE (Unicode:#$013B; Attr:daNone; Ch1:#$004C; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH CEDILLA (Unicode:#$013C; Attr:daNone; Ch1:#$006C; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH CEDILLA (Unicode:#$013D; Attr:daNone; Ch1:#$004C; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH CARON (Unicode:#$013E; Attr:daNone; Ch1:#$006C; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH CARON (Unicode:#$013F; Attr:daCompat; Ch1:#$004C; Ch2:#$00B7; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH MIDDLE DOT (Unicode:#$0140; Attr:daCompat; Ch1:#$006C; Ch2:#$00B7; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH MIDDLE DOT (Unicode:#$0143; Attr:daNone; Ch1:#$004E; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH ACUTE (Unicode:#$0144; Attr:daNone; Ch1:#$006E; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH ACUTE (Unicode:#$0145; Attr:daNone; Ch1:#$004E; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH CEDILLA (Unicode:#$0146; Attr:daNone; Ch1:#$006E; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH CEDILLA (Unicode:#$0147; Attr:daNone; Ch1:#$004E; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH CARON (Unicode:#$0148; Attr:daNone; Ch1:#$006E; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH CARON (Unicode:#$0149; Attr:daCompat; Ch1:#$02BC; Ch2:#$006E; Ch3:#$FFFF), // LATIN SMALL LETTER N PRECEDED BY APOSTROPHE (Unicode:#$014C; Attr:daNone; Ch1:#$004F; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH MACRON (Unicode:#$014D; Attr:daNone; Ch1:#$006F; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH MACRON (Unicode:#$014E; Attr:daNone; Ch1:#$004F; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH BREVE (Unicode:#$014F; Attr:daNone; Ch1:#$006F; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH BREVE (Unicode:#$0150; Attr:daNone; Ch1:#$004F; Ch2:#$030B; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH DOUBLE ACUTE (Unicode:#$0151; Attr:daNone; Ch1:#$006F; Ch2:#$030B; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH DOUBLE ACUTE (Unicode:#$0154; Attr:daNone; Ch1:#$0052; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH ACUTE (Unicode:#$0155; Attr:daNone; Ch1:#$0072; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH ACUTE (Unicode:#$0156; Attr:daNone; Ch1:#$0052; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH CEDILLA (Unicode:#$0157; Attr:daNone; Ch1:#$0072; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH CEDILLA (Unicode:#$0158; Attr:daNone; Ch1:#$0052; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH CARON (Unicode:#$0159; Attr:daNone; Ch1:#$0072; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH CARON (Unicode:#$015A; Attr:daNone; Ch1:#$0053; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH ACUTE (Unicode:#$015B; Attr:daNone; Ch1:#$0073; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH ACUTE (Unicode:#$015C; Attr:daNone; Ch1:#$0053; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH CIRCUMFLEX (Unicode:#$015D; Attr:daNone; Ch1:#$0073; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH CIRCUMFLEX (Unicode:#$015E; Attr:daNone; Ch1:#$0053; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH CEDILLA (Unicode:#$015F; Attr:daNone; Ch1:#$0073; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH CEDILLA (Unicode:#$0160; Attr:daNone; Ch1:#$0053; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH CARON (Unicode:#$0161; Attr:daNone; Ch1:#$0073; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH CARON (Unicode:#$0162; Attr:daNone; Ch1:#$0054; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER T WITH CEDILLA (Unicode:#$0163; Attr:daNone; Ch1:#$0074; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH CEDILLA (Unicode:#$0164; Attr:daNone; Ch1:#$0054; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER T WITH CARON (Unicode:#$0165; Attr:daNone; Ch1:#$0074; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH CARON (Unicode:#$0168; Attr:daNone; Ch1:#$0055; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH TILDE (Unicode:#$0169; Attr:daNone; Ch1:#$0075; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH TILDE (Unicode:#$016A; Attr:daNone; Ch1:#$0055; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH MACRON (Unicode:#$016B; Attr:daNone; Ch1:#$0075; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH MACRON (Unicode:#$016C; Attr:daNone; Ch1:#$0055; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH BREVE (Unicode:#$016D; Attr:daNone; Ch1:#$0075; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH BREVE (Unicode:#$016E; Attr:daNone; Ch1:#$0055; Ch2:#$030A; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH RING ABOVE (Unicode:#$016F; Attr:daNone; Ch1:#$0075; Ch2:#$030A; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH RING ABOVE (Unicode:#$0170; Attr:daNone; Ch1:#$0055; Ch2:#$030B; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DOUBLE ACUTE (Unicode:#$0171; Attr:daNone; Ch1:#$0075; Ch2:#$030B; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DOUBLE ACUTE (Unicode:#$0172; Attr:daNone; Ch1:#$0055; Ch2:#$0328; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH OGONEK (Unicode:#$0173; Attr:daNone; Ch1:#$0075; Ch2:#$0328; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH OGONEK (Unicode:#$0174; Attr:daNone; Ch1:#$0057; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER W WITH CIRCUMFLEX (Unicode:#$0175; Attr:daNone; Ch1:#$0077; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER W WITH CIRCUMFLEX (Unicode:#$0176; Attr:daNone; Ch1:#$0059; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH CIRCUMFLEX (Unicode:#$0177; Attr:daNone; Ch1:#$0079; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH CIRCUMFLEX (Unicode:#$0178; Attr:daNone; Ch1:#$0059; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH DIAERESIS (Unicode:#$0179; Attr:daNone; Ch1:#$005A; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER Z WITH ACUTE (Unicode:#$017A; Attr:daNone; Ch1:#$007A; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER Z WITH ACUTE (Unicode:#$017B; Attr:daNone; Ch1:#$005A; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER Z WITH DOT ABOVE (Unicode:#$017C; Attr:daNone; Ch1:#$007A; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER Z WITH DOT ABOVE (Unicode:#$017D; Attr:daNone; Ch1:#$005A; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER Z WITH CARON (Unicode:#$017E; Attr:daNone; Ch1:#$007A; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER Z WITH CARON (Unicode:#$017F; Attr:daCompat; Ch1:#$0073; Ch2:#$FFFF), // LATIN SMALL LETTER LONG S (Unicode:#$01A0; Attr:daNone; Ch1:#$004F; Ch2:#$031B; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH HORN (Unicode:#$01A1; Attr:daNone; Ch1:#$006F; Ch2:#$031B; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH HORN (Unicode:#$01AF; Attr:daNone; Ch1:#$0055; Ch2:#$031B; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH HORN (Unicode:#$01B0; Attr:daNone; Ch1:#$0075; Ch2:#$031B; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH HORN (Unicode:#$01C4; Attr:daCompat; Ch1:#$0044; Ch2:#$017D; Ch3:#$FFFF), // LATIN CAPITAL LETTER DZ WITH CARON (Unicode:#$01C5; Attr:daCompat; Ch1:#$0044; Ch2:#$017E; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH SMALL LETTER Z WITH CARON (Unicode:#$01C6; Attr:daCompat; Ch1:#$0064; Ch2:#$017E; Ch3:#$FFFF), // LATIN SMALL LETTER DZ WITH CARON (Unicode:#$01C7; Attr:daCompat; Ch1:#$004C; Ch2:#$004A; Ch3:#$FFFF), // LATIN CAPITAL LETTER LJ (Unicode:#$01C8; Attr:daCompat; Ch1:#$004C; Ch2:#$006A; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH SMALL LETTER J (Unicode:#$01C9; Attr:daCompat; Ch1:#$006C; Ch2:#$006A; Ch3:#$FFFF), // LATIN SMALL LETTER LJ (Unicode:#$01CA; Attr:daCompat; Ch1:#$004E; Ch2:#$004A; Ch3:#$FFFF), // LATIN CAPITAL LETTER NJ (Unicode:#$01CB; Attr:daCompat; Ch1:#$004E; Ch2:#$006A; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH SMALL LETTER J (Unicode:#$01CC; Attr:daCompat; Ch1:#$006E; Ch2:#$006A; Ch3:#$FFFF), // LATIN SMALL LETTER NJ (Unicode:#$01CD; Attr:daNone; Ch1:#$0041; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH CARON (Unicode:#$01CE; Attr:daNone; Ch1:#$0061; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH CARON (Unicode:#$01CF; Attr:daNone; Ch1:#$0049; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH CARON (Unicode:#$01D0; Attr:daNone; Ch1:#$0069; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH CARON (Unicode:#$01D1; Attr:daNone; Ch1:#$004F; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH CARON (Unicode:#$01D2; Attr:daNone; Ch1:#$006F; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH CARON (Unicode:#$01D3; Attr:daNone; Ch1:#$0055; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH CARON (Unicode:#$01D4; Attr:daNone; Ch1:#$0075; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH CARON (Unicode:#$01D5; Attr:daNone; Ch1:#$00DC; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DIAERESIS AND MACRON (Unicode:#$01D6; Attr:daNone; Ch1:#$00FC; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DIAERESIS AND MACRON (Unicode:#$01D7; Attr:daNone; Ch1:#$00DC; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DIAERESIS AND ACUTE (Unicode:#$01D8; Attr:daNone; Ch1:#$00FC; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DIAERESIS AND ACUTE (Unicode:#$01D9; Attr:daNone; Ch1:#$00DC; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DIAERESIS AND CARON (Unicode:#$01DA; Attr:daNone; Ch1:#$00FC; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DIAERESIS AND CARON (Unicode:#$01DB; Attr:daNone; Ch1:#$00DC; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DIAERESIS AND GRAVE (Unicode:#$01DC; Attr:daNone; Ch1:#$00FC; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DIAERESIS AND GRAVE (Unicode:#$01DE; Attr:daNone; Ch1:#$00C4; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH DIAERESIS AND MACRON (Unicode:#$01DF; Attr:daNone; Ch1:#$00E4; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH DIAERESIS AND MACRON (Unicode:#$01E0; Attr:daNone; Ch1:#$0226; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH DOT ABOVE AND MACRON (Unicode:#$01E1; Attr:daNone; Ch1:#$0227; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH DOT ABOVE AND MACRON (Unicode:#$01E2; Attr:daNone; Ch1:#$00C6; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER AE WITH MACRON (Unicode:#$01E3; Attr:daNone; Ch1:#$00E6; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER AE WITH MACRON (Unicode:#$01E6; Attr:daNone; Ch1:#$0047; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER G WITH CARON (Unicode:#$01E7; Attr:daNone; Ch1:#$0067; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER G WITH CARON (Unicode:#$01E8; Attr:daNone; Ch1:#$004B; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER K WITH CARON (Unicode:#$01E9; Attr:daNone; Ch1:#$006B; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER K WITH CARON (Unicode:#$01EA; Attr:daNone; Ch1:#$004F; Ch2:#$0328; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH OGONEK (Unicode:#$01EB; Attr:daNone; Ch1:#$006F; Ch2:#$0328; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH OGONEK (Unicode:#$01EC; Attr:daNone; Ch1:#$01EA; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH OGONEK AND MACRON (Unicode:#$01ED; Attr:daNone; Ch1:#$01EB; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH OGONEK AND MACRON (Unicode:#$01EE; Attr:daNone; Ch1:#$01B7; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER EZH WITH CARON (Unicode:#$01EF; Attr:daNone; Ch1:#$0292; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER EZH WITH CARON (Unicode:#$01F0; Attr:daNone; Ch1:#$006A; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER J WITH CARON (Unicode:#$01F1; Attr:daCompat; Ch1:#$0044; Ch2:#$005A; Ch3:#$FFFF), // LATIN CAPITAL LETTER DZ (Unicode:#$01F2; Attr:daCompat; Ch1:#$0044; Ch2:#$007A; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH SMALL LETTER Z (Unicode:#$01F3; Attr:daCompat; Ch1:#$0064; Ch2:#$007A; Ch3:#$FFFF), // LATIN SMALL LETTER DZ (Unicode:#$01F4; Attr:daNone; Ch1:#$0047; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER G WITH ACUTE (Unicode:#$01F5; Attr:daNone; Ch1:#$0067; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER G WITH ACUTE (Unicode:#$01F8; Attr:daNone; Ch1:#$004E; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH GRAVE (Unicode:#$01F9; Attr:daNone; Ch1:#$006E; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH GRAVE (Unicode:#$01FA; Attr:daNone; Ch1:#$00C5; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH RING ABOVE AND ACUTE (Unicode:#$01FB; Attr:daNone; Ch1:#$00E5; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH RING ABOVE AND ACUTE (Unicode:#$01FC; Attr:daNone; Ch1:#$00C6; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER AE WITH ACUTE (Unicode:#$01FD; Attr:daNone; Ch1:#$00E6; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER AE WITH ACUTE (Unicode:#$01FE; Attr:daNone; Ch1:#$00D8; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH STROKE AND ACUTE (Unicode:#$01FF; Attr:daNone; Ch1:#$00F8; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH STROKE AND ACUTE (Unicode:#$0200; Attr:daNone; Ch1:#$0041; Ch2:#$030F; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH DOUBLE GRAVE (Unicode:#$0201; Attr:daNone; Ch1:#$0061; Ch2:#$030F; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH DOUBLE GRAVE (Unicode:#$0202; Attr:daNone; Ch1:#$0041; Ch2:#$0311; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH INVERTED BREVE (Unicode:#$0203; Attr:daNone; Ch1:#$0061; Ch2:#$0311; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH INVERTED BREVE (Unicode:#$0204; Attr:daNone; Ch1:#$0045; Ch2:#$030F; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH DOUBLE GRAVE (Unicode:#$0205; Attr:daNone; Ch1:#$0065; Ch2:#$030F; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH DOUBLE GRAVE (Unicode:#$0206; Attr:daNone; Ch1:#$0045; Ch2:#$0311; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH INVERTED BREVE (Unicode:#$0207; Attr:daNone; Ch1:#$0065; Ch2:#$0311; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH INVERTED BREVE (Unicode:#$0208; Attr:daNone; Ch1:#$0049; Ch2:#$030F; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH DOUBLE GRAVE (Unicode:#$0209; Attr:daNone; Ch1:#$0069; Ch2:#$030F; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH DOUBLE GRAVE (Unicode:#$020A; Attr:daNone; Ch1:#$0049; Ch2:#$0311; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH INVERTED BREVE (Unicode:#$020B; Attr:daNone; Ch1:#$0069; Ch2:#$0311; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH INVERTED BREVE (Unicode:#$020C; Attr:daNone; Ch1:#$004F; Ch2:#$030F; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH DOUBLE GRAVE (Unicode:#$020D; Attr:daNone; Ch1:#$006F; Ch2:#$030F; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH DOUBLE GRAVE (Unicode:#$020E; Attr:daNone; Ch1:#$004F; Ch2:#$0311; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH INVERTED BREVE (Unicode:#$020F; Attr:daNone; Ch1:#$006F; Ch2:#$0311; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH INVERTED BREVE (Unicode:#$0210; Attr:daNone; Ch1:#$0052; Ch2:#$030F; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH DOUBLE GRAVE (Unicode:#$0211; Attr:daNone; Ch1:#$0072; Ch2:#$030F; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH DOUBLE GRAVE (Unicode:#$0212; Attr:daNone; Ch1:#$0052; Ch2:#$0311; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH INVERTED BREVE (Unicode:#$0213; Attr:daNone; Ch1:#$0072; Ch2:#$0311; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH INVERTED BREVE (Unicode:#$0214; Attr:daNone; Ch1:#$0055; Ch2:#$030F; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DOUBLE GRAVE (Unicode:#$0215; Attr:daNone; Ch1:#$0075; Ch2:#$030F; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DOUBLE GRAVE (Unicode:#$0216; Attr:daNone; Ch1:#$0055; Ch2:#$0311; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH INVERTED BREVE (Unicode:#$0217; Attr:daNone; Ch1:#$0075; Ch2:#$0311; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH INVERTED BREVE (Unicode:#$0218; Attr:daNone; Ch1:#$0053; Ch2:#$0326; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH COMMA BELOW (Unicode:#$0219; Attr:daNone; Ch1:#$0073; Ch2:#$0326; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH COMMA BELOW (Unicode:#$021A; Attr:daNone; Ch1:#$0054; Ch2:#$0326; Ch3:#$FFFF), // LATIN CAPITAL LETTER T WITH COMMA BELOW (Unicode:#$021B; Attr:daNone; Ch1:#$0074; Ch2:#$0326; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH COMMA BELOW (Unicode:#$021E; Attr:daNone; Ch1:#$0048; Ch2:#$030C; Ch3:#$FFFF), // LATIN CAPITAL LETTER H WITH CARON (Unicode:#$021F; Attr:daNone; Ch1:#$0068; Ch2:#$030C; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH CARON (Unicode:#$0226; Attr:daNone; Ch1:#$0041; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH DOT ABOVE (Unicode:#$0227; Attr:daNone; Ch1:#$0061; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH DOT ABOVE (Unicode:#$0228; Attr:daNone; Ch1:#$0045; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CEDILLA (Unicode:#$0229; Attr:daNone; Ch1:#$0065; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CEDILLA (Unicode:#$022A; Attr:daNone; Ch1:#$00D6; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH DIAERESIS AND MACRON (Unicode:#$022B; Attr:daNone; Ch1:#$00F6; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH DIAERESIS AND MACRON (Unicode:#$022C; Attr:daNone; Ch1:#$00D5; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH TILDE AND MACRON (Unicode:#$022D; Attr:daNone; Ch1:#$00F5; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH TILDE AND MACRON (Unicode:#$022E; Attr:daNone; Ch1:#$004F; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH DOT ABOVE (Unicode:#$022F; Attr:daNone; Ch1:#$006F; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH DOT ABOVE (Unicode:#$0230; Attr:daNone; Ch1:#$022E; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH DOT ABOVE AND MACRON (Unicode:#$0231; Attr:daNone; Ch1:#$022F; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH DOT ABOVE AND MACRON (Unicode:#$0232; Attr:daNone; Ch1:#$0059; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH MACRON (Unicode:#$0233; Attr:daNone; Ch1:#$0079; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH MACRON (Unicode:#$02B0; Attr:daSuper; Ch1:#$0068; Ch2:#$FFFF), // MODIFIER LETTER SMALL H (Unicode:#$02B1; Attr:daSuper; Ch1:#$0266; Ch2:#$FFFF), // MODIFIER LETTER SMALL H WITH HOOK (Unicode:#$02B2; Attr:daSuper; Ch1:#$006A; Ch2:#$FFFF), // MODIFIER LETTER SMALL J (Unicode:#$02B3; Attr:daSuper; Ch1:#$0072; Ch2:#$FFFF), // MODIFIER LETTER SMALL R (Unicode:#$02B4; Attr:daSuper; Ch1:#$0279; Ch2:#$FFFF), // MODIFIER LETTER SMALL TURNED R (Unicode:#$02B5; Attr:daSuper; Ch1:#$027B; Ch2:#$FFFF), // MODIFIER LETTER SMALL TURNED R WITH HOOK (Unicode:#$02B6; Attr:daSuper; Ch1:#$0281; Ch2:#$FFFF), // MODIFIER LETTER SMALL CAPITAL INVERTED R (Unicode:#$02B7; Attr:daSuper; Ch1:#$0077; Ch2:#$FFFF), // MODIFIER LETTER SMALL W (Unicode:#$02B8; Attr:daSuper; Ch1:#$0079; Ch2:#$FFFF), // MODIFIER LETTER SMALL Y (Unicode:#$02D8; Attr:daCompat; Ch1:#$0020; Ch2:#$0306; Ch3:#$FFFF), // BREVE (Unicode:#$02D9; Attr:daCompat; Ch1:#$0020; Ch2:#$0307; Ch3:#$FFFF), // DOT ABOVE (Unicode:#$02DA; Attr:daCompat; Ch1:#$0020; Ch2:#$030A; Ch3:#$FFFF), // RING ABOVE (Unicode:#$02DB; Attr:daCompat; Ch1:#$0020; Ch2:#$0328; Ch3:#$FFFF), // OGONEK (Unicode:#$02DC; Attr:daCompat; Ch1:#$0020; Ch2:#$0303; Ch3:#$FFFF), // SMALL TILDE (Unicode:#$02DD; Attr:daCompat; Ch1:#$0020; Ch2:#$030B; Ch3:#$FFFF), // DOUBLE ACUTE ACCENT (Unicode:#$02E0; Attr:daSuper; Ch1:#$0263; Ch2:#$FFFF), // MODIFIER LETTER SMALL GAMMA (Unicode:#$02E1; Attr:daSuper; Ch1:#$006C; Ch2:#$FFFF), // MODIFIER LETTER SMALL L (Unicode:#$02E2; Attr:daSuper; Ch1:#$0073; Ch2:#$FFFF), // MODIFIER LETTER SMALL S (Unicode:#$02E3; Attr:daSuper; Ch1:#$0078; Ch2:#$FFFF), // MODIFIER LETTER SMALL X (Unicode:#$02E4; Attr:daSuper; Ch1:#$0295; Ch2:#$FFFF), // MODIFIER LETTER SMALL REVERSED GLOTTAL STOP (Unicode:#$0340; Attr:daNone; Ch1:#$0300; Ch2:#$FFFF), // COMBINING GRAVE TONE MARK (Unicode:#$0341; Attr:daNone; Ch1:#$0301; Ch2:#$FFFF), // COMBINING ACUTE TONE MARK (Unicode:#$0343; Attr:daNone; Ch1:#$0313; Ch2:#$FFFF), // COMBINING GREEK KORONIS (Unicode:#$0344; Attr:daNone; Ch1:#$0308; Ch2:#$0301; Ch3:#$FFFF), // COMBINING GREEK DIALYTIKA TONOS (Unicode:#$0374; Attr:daNone; Ch1:#$02B9; Ch2:#$FFFF), // GREEK NUMERAL SIGN (Unicode:#$037A; Attr:daCompat; Ch1:#$0020; Ch2:#$0345; Ch3:#$FFFF), // GREEK YPOGEGRAMMENI (Unicode:#$037E; Attr:daNone; Ch1:#$003B; Ch2:#$FFFF), // GREEK QUESTION MARK (Unicode:#$0384; Attr:daCompat; Ch1:#$0020; Ch2:#$0301; Ch3:#$FFFF), // GREEK TONOS (Unicode:#$0385; Attr:daNone; Ch1:#$00A8; Ch2:#$0301; Ch3:#$FFFF), // GREEK DIALYTIKA TONOS (Unicode:#$0386; Attr:daNone; Ch1:#$0391; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH TONOS (Unicode:#$0387; Attr:daNone; Ch1:#$00B7; Ch2:#$FFFF), // GREEK ANO TELEIA (Unicode:#$0388; Attr:daNone; Ch1:#$0395; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH TONOS (Unicode:#$0389; Attr:daNone; Ch1:#$0397; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH TONOS (Unicode:#$038A; Attr:daNone; Ch1:#$0399; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH TONOS (Unicode:#$038C; Attr:daNone; Ch1:#$039F; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH TONOS (Unicode:#$038E; Attr:daNone; Ch1:#$03A5; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH TONOS (Unicode:#$038F; Attr:daNone; Ch1:#$03A9; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH TONOS (Unicode:#$0390; Attr:daNone; Ch1:#$03CA; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND TONOS (Unicode:#$03AA; Attr:daNone; Ch1:#$0399; Ch2:#$0308; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH DIALYTIKA (Unicode:#$03AB; Attr:daNone; Ch1:#$03A5; Ch2:#$0308; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA (Unicode:#$03AC; Attr:daNone; Ch1:#$03B1; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH TONOS (Unicode:#$03AD; Attr:daNone; Ch1:#$03B5; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH TONOS (Unicode:#$03AE; Attr:daNone; Ch1:#$03B7; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH TONOS (Unicode:#$03AF; Attr:daNone; Ch1:#$03B9; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH TONOS (Unicode:#$03B0; Attr:daNone; Ch1:#$03CB; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS (Unicode:#$03CA; Attr:daNone; Ch1:#$03B9; Ch2:#$0308; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA (Unicode:#$03CB; Attr:daNone; Ch1:#$03C5; Ch2:#$0308; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA (Unicode:#$03CC; Attr:daNone; Ch1:#$03BF; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH TONOS (Unicode:#$03CD; Attr:daNone; Ch1:#$03C5; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH TONOS (Unicode:#$03CE; Attr:daNone; Ch1:#$03C9; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH TONOS (Unicode:#$03D0; Attr:daCompat; Ch1:#$03B2; Ch2:#$FFFF), // GREEK BETA SYMBOL (Unicode:#$03D1; Attr:daCompat; Ch1:#$03B8; Ch2:#$FFFF), // GREEK THETA SYMBOL (Unicode:#$03D2; Attr:daCompat; Ch1:#$03A5; Ch2:#$FFFF), // GREEK UPSILON WITH HOOK SYMBOL (Unicode:#$03D3; Attr:daNone; Ch1:#$03D2; Ch2:#$0301; Ch3:#$FFFF), // GREEK UPSILON WITH ACUTE AND HOOK SYMBOL (Unicode:#$03D4; Attr:daNone; Ch1:#$03D2; Ch2:#$0308; Ch3:#$FFFF), // GREEK UPSILON WITH DIAERESIS AND HOOK SYMBOL (Unicode:#$03D5; Attr:daCompat; Ch1:#$03C6; Ch2:#$FFFF), // GREEK PHI SYMBOL (Unicode:#$03D6; Attr:daCompat; Ch1:#$03C0; Ch2:#$FFFF), // GREEK PI SYMBOL (Unicode:#$03F0; Attr:daCompat; Ch1:#$03BA; Ch2:#$FFFF), // GREEK KAPPA SYMBOL (Unicode:#$03F1; Attr:daCompat; Ch1:#$03C1; Ch2:#$FFFF), // GREEK RHO SYMBOL (Unicode:#$03F2; Attr:daCompat; Ch1:#$03C2; Ch2:#$FFFF), // GREEK LUNATE SIGMA SYMBOL (Unicode:#$03F4; Attr:daCompat; Ch1:#$0398; Ch2:#$FFFF), // GREEK CAPITAL THETA SYMBOL (Unicode:#$03F5; Attr:daCompat; Ch1:#$03B5; Ch2:#$FFFF), // GREEK LUNATE EPSILON SYMBOL (Unicode:#$0400; Attr:daNone; Ch1:#$0415; Ch2:#$0300; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER IE WITH GRAVE (Unicode:#$0401; Attr:daNone; Ch1:#$0415; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER IO (Unicode:#$0403; Attr:daNone; Ch1:#$0413; Ch2:#$0301; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER GJE (Unicode:#$0407; Attr:daNone; Ch1:#$0406; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER YI (Unicode:#$040C; Attr:daNone; Ch1:#$041A; Ch2:#$0301; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER KJE (Unicode:#$040D; Attr:daNone; Ch1:#$0418; Ch2:#$0300; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER I WITH GRAVE (Unicode:#$040E; Attr:daNone; Ch1:#$0423; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER SHORT U (Unicode:#$0419; Attr:daNone; Ch1:#$0418; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER SHORT I (Unicode:#$0439; Attr:daNone; Ch1:#$0438; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC SMALL LETTER SHORT I (Unicode:#$0450; Attr:daNone; Ch1:#$0435; Ch2:#$0300; Ch3:#$FFFF), // CYRILLIC SMALL LETTER IE WITH GRAVE (Unicode:#$0451; Attr:daNone; Ch1:#$0435; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER IO (Unicode:#$0453; Attr:daNone; Ch1:#$0433; Ch2:#$0301; Ch3:#$FFFF), // CYRILLIC SMALL LETTER GJE (Unicode:#$0457; Attr:daNone; Ch1:#$0456; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER YI (Unicode:#$045C; Attr:daNone; Ch1:#$043A; Ch2:#$0301; Ch3:#$FFFF), // CYRILLIC SMALL LETTER KJE (Unicode:#$045D; Attr:daNone; Ch1:#$0438; Ch2:#$0300; Ch3:#$FFFF), // CYRILLIC SMALL LETTER I WITH GRAVE (Unicode:#$045E; Attr:daNone; Ch1:#$0443; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC SMALL LETTER SHORT U (Unicode:#$0476; Attr:daNone; Ch1:#$0474; Ch2:#$030F; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT (Unicode:#$0477; Attr:daNone; Ch1:#$0475; Ch2:#$030F; Ch3:#$FFFF), // CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT (Unicode:#$04C1; Attr:daNone; Ch1:#$0416; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER ZHE WITH BREVE (Unicode:#$04C2; Attr:daNone; Ch1:#$0436; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC SMALL LETTER ZHE WITH BREVE (Unicode:#$04D0; Attr:daNone; Ch1:#$0410; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER A WITH BREVE (Unicode:#$04D1; Attr:daNone; Ch1:#$0430; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC SMALL LETTER A WITH BREVE (Unicode:#$04D2; Attr:daNone; Ch1:#$0410; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER A WITH DIAERESIS (Unicode:#$04D3; Attr:daNone; Ch1:#$0430; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER A WITH DIAERESIS (Unicode:#$04D6; Attr:daNone; Ch1:#$0415; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER IE WITH BREVE (Unicode:#$04D7; Attr:daNone; Ch1:#$0435; Ch2:#$0306; Ch3:#$FFFF), // CYRILLIC SMALL LETTER IE WITH BREVE (Unicode:#$04DA; Attr:daNone; Ch1:#$04D8; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER SCHWA WITH DIAERESIS (Unicode:#$04DB; Attr:daNone; Ch1:#$04D9; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER SCHWA WITH DIAERESIS (Unicode:#$04DC; Attr:daNone; Ch1:#$0416; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER ZHE WITH DIAERESIS (Unicode:#$04DD; Attr:daNone; Ch1:#$0436; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER ZHE WITH DIAERESIS (Unicode:#$04DE; Attr:daNone; Ch1:#$0417; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER ZE WITH DIAERESIS (Unicode:#$04DF; Attr:daNone; Ch1:#$0437; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER ZE WITH DIAERESIS (Unicode:#$04E2; Attr:daNone; Ch1:#$0418; Ch2:#$0304; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER I WITH MACRON (Unicode:#$04E3; Attr:daNone; Ch1:#$0438; Ch2:#$0304; Ch3:#$FFFF), // CYRILLIC SMALL LETTER I WITH MACRON (Unicode:#$04E4; Attr:daNone; Ch1:#$0418; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER I WITH DIAERESIS (Unicode:#$04E5; Attr:daNone; Ch1:#$0438; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER I WITH DIAERESIS (Unicode:#$04E6; Attr:daNone; Ch1:#$041E; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER O WITH DIAERESIS (Unicode:#$04E7; Attr:daNone; Ch1:#$043E; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER O WITH DIAERESIS (Unicode:#$04EA; Attr:daNone; Ch1:#$04E8; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER BARRED O WITH DIAERESIS (Unicode:#$04EB; Attr:daNone; Ch1:#$04E9; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER BARRED O WITH DIAERESIS (Unicode:#$04EC; Attr:daNone; Ch1:#$042D; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER E WITH DIAERESIS (Unicode:#$04ED; Attr:daNone; Ch1:#$044D; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER E WITH DIAERESIS (Unicode:#$04EE; Attr:daNone; Ch1:#$0423; Ch2:#$0304; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER U WITH MACRON (Unicode:#$04EF; Attr:daNone; Ch1:#$0443; Ch2:#$0304; Ch3:#$FFFF), // CYRILLIC SMALL LETTER U WITH MACRON (Unicode:#$04F0; Attr:daNone; Ch1:#$0423; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER U WITH DIAERESIS (Unicode:#$04F1; Attr:daNone; Ch1:#$0443; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER U WITH DIAERESIS (Unicode:#$04F2; Attr:daNone; Ch1:#$0423; Ch2:#$030B; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER U WITH DOUBLE ACUTE (Unicode:#$04F3; Attr:daNone; Ch1:#$0443; Ch2:#$030B; Ch3:#$FFFF), // CYRILLIC SMALL LETTER U WITH DOUBLE ACUTE (Unicode:#$04F4; Attr:daNone; Ch1:#$0427; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER CHE WITH DIAERESIS (Unicode:#$04F5; Attr:daNone; Ch1:#$0447; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER CHE WITH DIAERESIS (Unicode:#$04F8; Attr:daNone; Ch1:#$042B; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC CAPITAL LETTER YERU WITH DIAERESIS (Unicode:#$04F9; Attr:daNone; Ch1:#$044B; Ch2:#$0308; Ch3:#$FFFF), // CYRILLIC SMALL LETTER YERU WITH DIAERESIS (Unicode:#$0587; Attr:daCompat; Ch1:#$0565; Ch2:#$0582; Ch3:#$FFFF), // ARMENIAN SMALL LIGATURE ECH YIWN (Unicode:#$0622; Attr:daNone; Ch1:#$0627; Ch2:#$0653; Ch3:#$FFFF), // ARABIC LETTER ALEF WITH MADDA ABOVE (Unicode:#$0623; Attr:daNone; Ch1:#$0627; Ch2:#$0654; Ch3:#$FFFF), // ARABIC LETTER ALEF WITH HAMZA ABOVE (Unicode:#$0624; Attr:daNone; Ch1:#$0648; Ch2:#$0654; Ch3:#$FFFF), // ARABIC LETTER WAW WITH HAMZA ABOVE (Unicode:#$0625; Attr:daNone; Ch1:#$0627; Ch2:#$0655; Ch3:#$FFFF), // ARABIC LETTER ALEF WITH HAMZA BELOW (Unicode:#$0626; Attr:daNone; Ch1:#$064A; Ch2:#$0654; Ch3:#$FFFF), // ARABIC LETTER YEH WITH HAMZA ABOVE (Unicode:#$0675; Attr:daCompat; Ch1:#$0627; Ch2:#$0674; Ch3:#$FFFF), // ARABIC LETTER HIGH HAMZA ALEF (Unicode:#$0676; Attr:daCompat; Ch1:#$0648; Ch2:#$0674; Ch3:#$FFFF), // ARABIC LETTER HIGH HAMZA WAW (Unicode:#$0677; Attr:daCompat; Ch1:#$06C7; Ch2:#$0674; Ch3:#$FFFF), // ARABIC LETTER U WITH HAMZA ABOVE (Unicode:#$0678; Attr:daCompat; Ch1:#$064A; Ch2:#$0674; Ch3:#$FFFF), // ARABIC LETTER HIGH HAMZA YEH (Unicode:#$06C0; Attr:daNone; Ch1:#$06D5; Ch2:#$0654; Ch3:#$FFFF), // ARABIC LETTER HEH WITH YEH ABOVE (Unicode:#$06C2; Attr:daNone; Ch1:#$06C1; Ch2:#$0654; Ch3:#$FFFF), // ARABIC LETTER HEH GOAL WITH HAMZA ABOVE (Unicode:#$06D3; Attr:daNone; Ch1:#$06D2; Ch2:#$0654; Ch3:#$FFFF), // ARABIC LETTER YEH BARREE WITH HAMZA ABOVE (Unicode:#$0929; Attr:daNone; Ch1:#$0928; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER NNNA (Unicode:#$0931; Attr:daNone; Ch1:#$0930; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER RRA (Unicode:#$0934; Attr:daNone; Ch1:#$0933; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER LLLA (Unicode:#$0958; Attr:daNone; Ch1:#$0915; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER QA (Unicode:#$0959; Attr:daNone; Ch1:#$0916; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER KHHA (Unicode:#$095A; Attr:daNone; Ch1:#$0917; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER GHHA (Unicode:#$095B; Attr:daNone; Ch1:#$091C; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER ZA (Unicode:#$095C; Attr:daNone; Ch1:#$0921; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER DDDHA (Unicode:#$095D; Attr:daNone; Ch1:#$0922; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER RHA (Unicode:#$095E; Attr:daNone; Ch1:#$092B; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER FA (Unicode:#$095F; Attr:daNone; Ch1:#$092F; Ch2:#$093C; Ch3:#$FFFF), // DEVANAGARI LETTER YYA (Unicode:#$09CB; Attr:daNone; Ch1:#$09C7; Ch2:#$09BE; Ch3:#$FFFF), // BENGALI VOWEL SIGN O (Unicode:#$09CC; Attr:daNone; Ch1:#$09C7; Ch2:#$09D7; Ch3:#$FFFF), // BENGALI VOWEL SIGN AU (Unicode:#$09DC; Attr:daNone; Ch1:#$09A1; Ch2:#$09BC; Ch3:#$FFFF), // BENGALI LETTER RRA (Unicode:#$09DD; Attr:daNone; Ch1:#$09A2; Ch2:#$09BC; Ch3:#$FFFF), // BENGALI LETTER RHA (Unicode:#$09DF; Attr:daNone; Ch1:#$09AF; Ch2:#$09BC; Ch3:#$FFFF), // BENGALI LETTER YYA (Unicode:#$0A33; Attr:daNone; Ch1:#$0A32; Ch2:#$0A3C; Ch3:#$FFFF), // GURMUKHI LETTER LLA (Unicode:#$0A36; Attr:daNone; Ch1:#$0A38; Ch2:#$0A3C; Ch3:#$FFFF), // GURMUKHI LETTER SHA (Unicode:#$0A59; Attr:daNone; Ch1:#$0A16; Ch2:#$0A3C; Ch3:#$FFFF), // GURMUKHI LETTER KHHA (Unicode:#$0A5A; Attr:daNone; Ch1:#$0A17; Ch2:#$0A3C; Ch3:#$FFFF), // GURMUKHI LETTER GHHA (Unicode:#$0A5B; Attr:daNone; Ch1:#$0A1C; Ch2:#$0A3C; Ch3:#$FFFF), // GURMUKHI LETTER ZA (Unicode:#$0A5E; Attr:daNone; Ch1:#$0A2B; Ch2:#$0A3C; Ch3:#$FFFF), // GURMUKHI LETTER FA (Unicode:#$0B48; Attr:daNone; Ch1:#$0B47; Ch2:#$0B56; Ch3:#$FFFF), // ORIYA VOWEL SIGN AI (Unicode:#$0B4B; Attr:daNone; Ch1:#$0B47; Ch2:#$0B3E; Ch3:#$FFFF), // ORIYA VOWEL SIGN O (Unicode:#$0B4C; Attr:daNone; Ch1:#$0B47; Ch2:#$0B57; Ch3:#$FFFF), // ORIYA VOWEL SIGN AU (Unicode:#$0B5C; Attr:daNone; Ch1:#$0B21; Ch2:#$0B3C; Ch3:#$FFFF), // ORIYA LETTER RRA (Unicode:#$0B5D; Attr:daNone; Ch1:#$0B22; Ch2:#$0B3C; Ch3:#$FFFF), // ORIYA LETTER RHA (Unicode:#$0B94; Attr:daNone; Ch1:#$0B92; Ch2:#$0BD7; Ch3:#$FFFF), // TAMIL LETTER AU (Unicode:#$0BCA; Attr:daNone; Ch1:#$0BC6; Ch2:#$0BBE; Ch3:#$FFFF), // TAMIL VOWEL SIGN O (Unicode:#$0BCB; Attr:daNone; Ch1:#$0BC7; Ch2:#$0BBE; Ch3:#$FFFF), // TAMIL VOWEL SIGN OO (Unicode:#$0BCC; Attr:daNone; Ch1:#$0BC6; Ch2:#$0BD7; Ch3:#$FFFF), // TAMIL VOWEL SIGN AU (Unicode:#$0C48; Attr:daNone; Ch1:#$0C46; Ch2:#$0C56; Ch3:#$FFFF), // TELUGU VOWEL SIGN AI (Unicode:#$0CC0; Attr:daNone; Ch1:#$0CBF; Ch2:#$0CD5; Ch3:#$FFFF), // KANNADA VOWEL SIGN II (Unicode:#$0CC7; Attr:daNone; Ch1:#$0CC6; Ch2:#$0CD5; Ch3:#$FFFF), // KANNADA VOWEL SIGN EE (Unicode:#$0CC8; Attr:daNone; Ch1:#$0CC6; Ch2:#$0CD6; Ch3:#$FFFF), // KANNADA VOWEL SIGN AI (Unicode:#$0CCA; Attr:daNone; Ch1:#$0CC6; Ch2:#$0CC2; Ch3:#$FFFF), // KANNADA VOWEL SIGN O (Unicode:#$0CCB; Attr:daNone; Ch1:#$0CCA; Ch2:#$0CD5; Ch3:#$FFFF), // KANNADA VOWEL SIGN OO (Unicode:#$0D4A; Attr:daNone; Ch1:#$0D46; Ch2:#$0D3E; Ch3:#$FFFF), // MALAYALAM VOWEL SIGN O (Unicode:#$0D4B; Attr:daNone; Ch1:#$0D47; Ch2:#$0D3E; Ch3:#$FFFF), // MALAYALAM VOWEL SIGN OO (Unicode:#$0D4C; Attr:daNone; Ch1:#$0D46; Ch2:#$0D57; Ch3:#$FFFF), // MALAYALAM VOWEL SIGN AU (Unicode:#$0DDA; Attr:daNone; Ch1:#$0DD9; Ch2:#$0DCA; Ch3:#$FFFF), // SINHALA VOWEL SIGN DIGA KOMBUVA (Unicode:#$0DDC; Attr:daNone; Ch1:#$0DD9; Ch2:#$0DCF; Ch3:#$FFFF), // SINHALA VOWEL SIGN KOMBUVA HAA AELA-PILLA (Unicode:#$0DDD; Attr:daNone; Ch1:#$0DDC; Ch2:#$0DCA; Ch3:#$FFFF), // SINHALA VOWEL SIGN KOMBUVA HAA DIGA AELA-PILLA (Unicode:#$0DDE; Attr:daNone; Ch1:#$0DD9; Ch2:#$0DDF; Ch3:#$FFFF), // SINHALA VOWEL SIGN KOMBUVA HAA GAYANUKITTA (Unicode:#$0E33; Attr:daCompat; Ch1:#$0E4D; Ch2:#$0E32; Ch3:#$FFFF), // THAI CHARACTER SARA AM (Unicode:#$0EB3; Attr:daCompat; Ch1:#$0ECD; Ch2:#$0EB2; Ch3:#$FFFF), // LAO VOWEL SIGN AM (Unicode:#$0EDC; Attr:daCompat; Ch1:#$0EAB; Ch2:#$0E99; Ch3:#$FFFF), // LAO HO NO (Unicode:#$0EDD; Attr:daCompat; Ch1:#$0EAB; Ch2:#$0EA1; Ch3:#$FFFF), // LAO HO MO (Unicode:#$0F0C; Attr:daNoBreak; Ch1:#$0F0B; Ch2:#$FFFF), // TIBETAN MARK DELIMITER TSHEG BSTAR (Unicode:#$0F43; Attr:daNone; Ch1:#$0F42; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN LETTER GHA (Unicode:#$0F4D; Attr:daNone; Ch1:#$0F4C; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN LETTER DDHA (Unicode:#$0F52; Attr:daNone; Ch1:#$0F51; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN LETTER DHA (Unicode:#$0F57; Attr:daNone; Ch1:#$0F56; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN LETTER BHA (Unicode:#$0F5C; Attr:daNone; Ch1:#$0F5B; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN LETTER DZHA (Unicode:#$0F69; Attr:daNone; Ch1:#$0F40; Ch2:#$0FB5; Ch3:#$FFFF), // TIBETAN LETTER KSSA (Unicode:#$0F73; Attr:daNone; Ch1:#$0F71; Ch2:#$0F72; Ch3:#$FFFF), // TIBETAN VOWEL SIGN II (Unicode:#$0F75; Attr:daNone; Ch1:#$0F71; Ch2:#$0F74; Ch3:#$FFFF), // TIBETAN VOWEL SIGN UU (Unicode:#$0F76; Attr:daNone; Ch1:#$0FB2; Ch2:#$0F80; Ch3:#$FFFF), // TIBETAN VOWEL SIGN VOCALIC R (Unicode:#$0F77; Attr:daCompat; Ch1:#$0FB2; Ch2:#$0F81; Ch3:#$FFFF), // TIBETAN VOWEL SIGN VOCALIC RR (Unicode:#$0F78; Attr:daNone; Ch1:#$0FB3; Ch2:#$0F80; Ch3:#$FFFF), // TIBETAN VOWEL SIGN VOCALIC L (Unicode:#$0F79; Attr:daCompat; Ch1:#$0FB3; Ch2:#$0F81; Ch3:#$FFFF), // TIBETAN VOWEL SIGN VOCALIC LL (Unicode:#$0F81; Attr:daNone; Ch1:#$0F71; Ch2:#$0F80; Ch3:#$FFFF), // TIBETAN VOWEL SIGN REVERSED II (Unicode:#$0F93; Attr:daNone; Ch1:#$0F92; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN SUBJOINED LETTER GHA (Unicode:#$0F9D; Attr:daNone; Ch1:#$0F9C; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN SUBJOINED LETTER DDHA (Unicode:#$0FA2; Attr:daNone; Ch1:#$0FA1; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN SUBJOINED LETTER DHA (Unicode:#$0FA7; Attr:daNone; Ch1:#$0FA6; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN SUBJOINED LETTER BHA (Unicode:#$0FAC; Attr:daNone; Ch1:#$0FAB; Ch2:#$0FB7; Ch3:#$FFFF), // TIBETAN SUBJOINED LETTER DZHA (Unicode:#$0FB9; Attr:daNone; Ch1:#$0F90; Ch2:#$0FB5; Ch3:#$FFFF), // TIBETAN SUBJOINED LETTER KSSA (Unicode:#$1026; Attr:daNone; Ch1:#$1025; Ch2:#$102E; Ch3:#$FFFF), // MYANMAR LETTER UU (Unicode:#$1E00; Attr:daNone; Ch1:#$0041; Ch2:#$0325; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH RING BELOW (Unicode:#$1E01; Attr:daNone; Ch1:#$0061; Ch2:#$0325; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH RING BELOW (Unicode:#$1E02; Attr:daNone; Ch1:#$0042; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER B WITH DOT ABOVE (Unicode:#$1E03; Attr:daNone; Ch1:#$0062; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER B WITH DOT ABOVE (Unicode:#$1E04; Attr:daNone; Ch1:#$0042; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER B WITH DOT BELOW (Unicode:#$1E05; Attr:daNone; Ch1:#$0062; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER B WITH DOT BELOW (Unicode:#$1E06; Attr:daNone; Ch1:#$0042; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER B WITH LINE BELOW (Unicode:#$1E07; Attr:daNone; Ch1:#$0062; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER B WITH LINE BELOW (Unicode:#$1E08; Attr:daNone; Ch1:#$00C7; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER C WITH CEDILLA AND ACUTE (Unicode:#$1E09; Attr:daNone; Ch1:#$00E7; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER C WITH CEDILLA AND ACUTE (Unicode:#$1E0A; Attr:daNone; Ch1:#$0044; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH DOT ABOVE (Unicode:#$1E0B; Attr:daNone; Ch1:#$0064; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER D WITH DOT ABOVE (Unicode:#$1E0C; Attr:daNone; Ch1:#$0044; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH DOT BELOW (Unicode:#$1E0D; Attr:daNone; Ch1:#$0064; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER D WITH DOT BELOW (Unicode:#$1E0E; Attr:daNone; Ch1:#$0044; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH LINE BELOW (Unicode:#$1E0F; Attr:daNone; Ch1:#$0064; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER D WITH LINE BELOW (Unicode:#$1E10; Attr:daNone; Ch1:#$0044; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH CEDILLA (Unicode:#$1E11; Attr:daNone; Ch1:#$0064; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER D WITH CEDILLA (Unicode:#$1E12; Attr:daNone; Ch1:#$0044; Ch2:#$032D; Ch3:#$FFFF), // LATIN CAPITAL LETTER D WITH CIRCUMFLEX BELOW (Unicode:#$1E13; Attr:daNone; Ch1:#$0064; Ch2:#$032D; Ch3:#$FFFF), // LATIN SMALL LETTER D WITH CIRCUMFLEX BELOW (Unicode:#$1E14; Attr:daNone; Ch1:#$0112; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH MACRON AND GRAVE (Unicode:#$1E15; Attr:daNone; Ch1:#$0113; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH MACRON AND GRAVE (Unicode:#$1E16; Attr:daNone; Ch1:#$0112; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH MACRON AND ACUTE (Unicode:#$1E17; Attr:daNone; Ch1:#$0113; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH MACRON AND ACUTE (Unicode:#$1E18; Attr:daNone; Ch1:#$0045; Ch2:#$032D; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX BELOW (Unicode:#$1E19; Attr:daNone; Ch1:#$0065; Ch2:#$032D; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CIRCUMFLEX BELOW (Unicode:#$1E1A; Attr:daNone; Ch1:#$0045; Ch2:#$0330; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH TILDE BELOW (Unicode:#$1E1B; Attr:daNone; Ch1:#$0065; Ch2:#$0330; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH TILDE BELOW (Unicode:#$1E1C; Attr:daNone; Ch1:#$0228; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CEDILLA AND BREVE (Unicode:#$1E1D; Attr:daNone; Ch1:#$0229; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CEDILLA AND BREVE (Unicode:#$1E1E; Attr:daNone; Ch1:#$0046; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER F WITH DOT ABOVE (Unicode:#$1E1F; Attr:daNone; Ch1:#$0066; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER F WITH DOT ABOVE (Unicode:#$1E20; Attr:daNone; Ch1:#$0047; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER G WITH MACRON (Unicode:#$1E21; Attr:daNone; Ch1:#$0067; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER G WITH MACRON (Unicode:#$1E22; Attr:daNone; Ch1:#$0048; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER H WITH DOT ABOVE (Unicode:#$1E23; Attr:daNone; Ch1:#$0068; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH DOT ABOVE (Unicode:#$1E24; Attr:daNone; Ch1:#$0048; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER H WITH DOT BELOW (Unicode:#$1E25; Attr:daNone; Ch1:#$0068; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH DOT BELOW (Unicode:#$1E26; Attr:daNone; Ch1:#$0048; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER H WITH DIAERESIS (Unicode:#$1E27; Attr:daNone; Ch1:#$0068; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH DIAERESIS (Unicode:#$1E28; Attr:daNone; Ch1:#$0048; Ch2:#$0327; Ch3:#$FFFF), // LATIN CAPITAL LETTER H WITH CEDILLA (Unicode:#$1E29; Attr:daNone; Ch1:#$0068; Ch2:#$0327; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH CEDILLA (Unicode:#$1E2A; Attr:daNone; Ch1:#$0048; Ch2:#$032E; Ch3:#$FFFF), // LATIN CAPITAL LETTER H WITH BREVE BELOW (Unicode:#$1E2B; Attr:daNone; Ch1:#$0068; Ch2:#$032E; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH BREVE BELOW (Unicode:#$1E2C; Attr:daNone; Ch1:#$0049; Ch2:#$0330; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH TILDE BELOW (Unicode:#$1E2D; Attr:daNone; Ch1:#$0069; Ch2:#$0330; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH TILDE BELOW (Unicode:#$1E2E; Attr:daNone; Ch1:#$00CF; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH DIAERESIS AND ACUTE (Unicode:#$1E2F; Attr:daNone; Ch1:#$00EF; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH DIAERESIS AND ACUTE (Unicode:#$1E30; Attr:daNone; Ch1:#$004B; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER K WITH ACUTE (Unicode:#$1E31; Attr:daNone; Ch1:#$006B; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER K WITH ACUTE (Unicode:#$1E32; Attr:daNone; Ch1:#$004B; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER K WITH DOT BELOW (Unicode:#$1E33; Attr:daNone; Ch1:#$006B; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER K WITH DOT BELOW (Unicode:#$1E34; Attr:daNone; Ch1:#$004B; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER K WITH LINE BELOW (Unicode:#$1E35; Attr:daNone; Ch1:#$006B; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER K WITH LINE BELOW (Unicode:#$1E36; Attr:daNone; Ch1:#$004C; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH DOT BELOW (Unicode:#$1E37; Attr:daNone; Ch1:#$006C; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH DOT BELOW (Unicode:#$1E38; Attr:daNone; Ch1:#$1E36; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH DOT BELOW AND MACRON (Unicode:#$1E39; Attr:daNone; Ch1:#$1E37; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH DOT BELOW AND MACRON (Unicode:#$1E3A; Attr:daNone; Ch1:#$004C; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH LINE BELOW (Unicode:#$1E3B; Attr:daNone; Ch1:#$006C; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH LINE BELOW (Unicode:#$1E3C; Attr:daNone; Ch1:#$004C; Ch2:#$032D; Ch3:#$FFFF), // LATIN CAPITAL LETTER L WITH CIRCUMFLEX BELOW (Unicode:#$1E3D; Attr:daNone; Ch1:#$006C; Ch2:#$032D; Ch3:#$FFFF), // LATIN SMALL LETTER L WITH CIRCUMFLEX BELOW (Unicode:#$1E3E; Attr:daNone; Ch1:#$004D; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER M WITH ACUTE (Unicode:#$1E3F; Attr:daNone; Ch1:#$006D; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER M WITH ACUTE (Unicode:#$1E40; Attr:daNone; Ch1:#$004D; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER M WITH DOT ABOVE (Unicode:#$1E41; Attr:daNone; Ch1:#$006D; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER M WITH DOT ABOVE (Unicode:#$1E42; Attr:daNone; Ch1:#$004D; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER M WITH DOT BELOW (Unicode:#$1E43; Attr:daNone; Ch1:#$006D; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER M WITH DOT BELOW (Unicode:#$1E44; Attr:daNone; Ch1:#$004E; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH DOT ABOVE (Unicode:#$1E45; Attr:daNone; Ch1:#$006E; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH DOT ABOVE (Unicode:#$1E46; Attr:daNone; Ch1:#$004E; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH DOT BELOW (Unicode:#$1E47; Attr:daNone; Ch1:#$006E; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH DOT BELOW (Unicode:#$1E48; Attr:daNone; Ch1:#$004E; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH LINE BELOW (Unicode:#$1E49; Attr:daNone; Ch1:#$006E; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH LINE BELOW (Unicode:#$1E4A; Attr:daNone; Ch1:#$004E; Ch2:#$032D; Ch3:#$FFFF), // LATIN CAPITAL LETTER N WITH CIRCUMFLEX BELOW (Unicode:#$1E4B; Attr:daNone; Ch1:#$006E; Ch2:#$032D; Ch3:#$FFFF), // LATIN SMALL LETTER N WITH CIRCUMFLEX BELOW (Unicode:#$1E4C; Attr:daNone; Ch1:#$00D5; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH TILDE AND ACUTE (Unicode:#$1E4D; Attr:daNone; Ch1:#$00F5; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH TILDE AND ACUTE (Unicode:#$1E4E; Attr:daNone; Ch1:#$00D5; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH TILDE AND DIAERESIS (Unicode:#$1E4F; Attr:daNone; Ch1:#$00F5; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH TILDE AND DIAERESIS (Unicode:#$1E50; Attr:daNone; Ch1:#$014C; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH MACRON AND GRAVE (Unicode:#$1E51; Attr:daNone; Ch1:#$014D; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH MACRON AND GRAVE (Unicode:#$1E52; Attr:daNone; Ch1:#$014C; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH MACRON AND ACUTE (Unicode:#$1E53; Attr:daNone; Ch1:#$014D; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH MACRON AND ACUTE (Unicode:#$1E54; Attr:daNone; Ch1:#$0050; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER P WITH ACUTE (Unicode:#$1E55; Attr:daNone; Ch1:#$0070; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER P WITH ACUTE (Unicode:#$1E56; Attr:daNone; Ch1:#$0050; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER P WITH DOT ABOVE (Unicode:#$1E57; Attr:daNone; Ch1:#$0070; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER P WITH DOT ABOVE (Unicode:#$1E58; Attr:daNone; Ch1:#$0052; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH DOT ABOVE (Unicode:#$1E59; Attr:daNone; Ch1:#$0072; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH DOT ABOVE (Unicode:#$1E5A; Attr:daNone; Ch1:#$0052; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH DOT BELOW (Unicode:#$1E5B; Attr:daNone; Ch1:#$0072; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH DOT BELOW (Unicode:#$1E5C; Attr:daNone; Ch1:#$1E5A; Ch2:#$0304; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH DOT BELOW AND MACRON (Unicode:#$1E5D; Attr:daNone; Ch1:#$1E5B; Ch2:#$0304; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH DOT BELOW AND MACRON (Unicode:#$1E5E; Attr:daNone; Ch1:#$0052; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER R WITH LINE BELOW (Unicode:#$1E5F; Attr:daNone; Ch1:#$0072; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER R WITH LINE BELOW (Unicode:#$1E60; Attr:daNone; Ch1:#$0053; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH DOT ABOVE (Unicode:#$1E61; Attr:daNone; Ch1:#$0073; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH DOT ABOVE (Unicode:#$1E62; Attr:daNone; Ch1:#$0053; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH DOT BELOW (Unicode:#$1E63; Attr:daNone; Ch1:#$0073; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH DOT BELOW (Unicode:#$1E64; Attr:daNone; Ch1:#$015A; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH ACUTE AND DOT ABOVE (Unicode:#$1E65; Attr:daNone; Ch1:#$015B; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH ACUTE AND DOT ABOVE (Unicode:#$1E66; Attr:daNone; Ch1:#$0160; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH CARON AND DOT ABOVE (Unicode:#$1E67; Attr:daNone; Ch1:#$0161; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH CARON AND DOT ABOVE (Unicode:#$1E68; Attr:daNone; Ch1:#$1E62; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER S WITH DOT BELOW AND DOT ABOVE (Unicode:#$1E69; Attr:daNone; Ch1:#$1E63; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER S WITH DOT BELOW AND DOT ABOVE (Unicode:#$1E6A; Attr:daNone; Ch1:#$0054; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER T WITH DOT ABOVE (Unicode:#$1E6B; Attr:daNone; Ch1:#$0074; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH DOT ABOVE (Unicode:#$1E6C; Attr:daNone; Ch1:#$0054; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER T WITH DOT BELOW (Unicode:#$1E6D; Attr:daNone; Ch1:#$0074; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH DOT BELOW (Unicode:#$1E6E; Attr:daNone; Ch1:#$0054; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER T WITH LINE BELOW (Unicode:#$1E6F; Attr:daNone; Ch1:#$0074; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH LINE BELOW (Unicode:#$1E70; Attr:daNone; Ch1:#$0054; Ch2:#$032D; Ch3:#$FFFF), // LATIN CAPITAL LETTER T WITH CIRCUMFLEX BELOW (Unicode:#$1E71; Attr:daNone; Ch1:#$0074; Ch2:#$032D; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH CIRCUMFLEX BELOW (Unicode:#$1E72; Attr:daNone; Ch1:#$0055; Ch2:#$0324; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DIAERESIS BELOW (Unicode:#$1E73; Attr:daNone; Ch1:#$0075; Ch2:#$0324; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DIAERESIS BELOW (Unicode:#$1E74; Attr:daNone; Ch1:#$0055; Ch2:#$0330; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH TILDE BELOW (Unicode:#$1E75; Attr:daNone; Ch1:#$0075; Ch2:#$0330; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH TILDE BELOW (Unicode:#$1E76; Attr:daNone; Ch1:#$0055; Ch2:#$032D; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH CIRCUMFLEX BELOW (Unicode:#$1E77; Attr:daNone; Ch1:#$0075; Ch2:#$032D; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH CIRCUMFLEX BELOW (Unicode:#$1E78; Attr:daNone; Ch1:#$0168; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH TILDE AND ACUTE (Unicode:#$1E79; Attr:daNone; Ch1:#$0169; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH TILDE AND ACUTE (Unicode:#$1E7A; Attr:daNone; Ch1:#$016A; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH MACRON AND DIAERESIS (Unicode:#$1E7B; Attr:daNone; Ch1:#$016B; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH MACRON AND DIAERESIS (Unicode:#$1E7C; Attr:daNone; Ch1:#$0056; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER V WITH TILDE (Unicode:#$1E7D; Attr:daNone; Ch1:#$0076; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER V WITH TILDE (Unicode:#$1E7E; Attr:daNone; Ch1:#$0056; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER V WITH DOT BELOW (Unicode:#$1E7F; Attr:daNone; Ch1:#$0076; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER V WITH DOT BELOW (Unicode:#$1E80; Attr:daNone; Ch1:#$0057; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER W WITH GRAVE (Unicode:#$1E81; Attr:daNone; Ch1:#$0077; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER W WITH GRAVE (Unicode:#$1E82; Attr:daNone; Ch1:#$0057; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER W WITH ACUTE (Unicode:#$1E83; Attr:daNone; Ch1:#$0077; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER W WITH ACUTE (Unicode:#$1E84; Attr:daNone; Ch1:#$0057; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER W WITH DIAERESIS (Unicode:#$1E85; Attr:daNone; Ch1:#$0077; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER W WITH DIAERESIS (Unicode:#$1E86; Attr:daNone; Ch1:#$0057; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER W WITH DOT ABOVE (Unicode:#$1E87; Attr:daNone; Ch1:#$0077; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER W WITH DOT ABOVE (Unicode:#$1E88; Attr:daNone; Ch1:#$0057; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER W WITH DOT BELOW (Unicode:#$1E89; Attr:daNone; Ch1:#$0077; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER W WITH DOT BELOW (Unicode:#$1E8A; Attr:daNone; Ch1:#$0058; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER X WITH DOT ABOVE (Unicode:#$1E8B; Attr:daNone; Ch1:#$0078; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER X WITH DOT ABOVE (Unicode:#$1E8C; Attr:daNone; Ch1:#$0058; Ch2:#$0308; Ch3:#$FFFF), // LATIN CAPITAL LETTER X WITH DIAERESIS (Unicode:#$1E8D; Attr:daNone; Ch1:#$0078; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER X WITH DIAERESIS (Unicode:#$1E8E; Attr:daNone; Ch1:#$0059; Ch2:#$0307; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH DOT ABOVE (Unicode:#$1E8F; Attr:daNone; Ch1:#$0079; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH DOT ABOVE (Unicode:#$1E90; Attr:daNone; Ch1:#$005A; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER Z WITH CIRCUMFLEX (Unicode:#$1E91; Attr:daNone; Ch1:#$007A; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER Z WITH CIRCUMFLEX (Unicode:#$1E92; Attr:daNone; Ch1:#$005A; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER Z WITH DOT BELOW (Unicode:#$1E93; Attr:daNone; Ch1:#$007A; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER Z WITH DOT BELOW (Unicode:#$1E94; Attr:daNone; Ch1:#$005A; Ch2:#$0331; Ch3:#$FFFF), // LATIN CAPITAL LETTER Z WITH LINE BELOW (Unicode:#$1E95; Attr:daNone; Ch1:#$007A; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER Z WITH LINE BELOW (Unicode:#$1E96; Attr:daNone; Ch1:#$0068; Ch2:#$0331; Ch3:#$FFFF), // LATIN SMALL LETTER H WITH LINE BELOW (Unicode:#$1E97; Attr:daNone; Ch1:#$0074; Ch2:#$0308; Ch3:#$FFFF), // LATIN SMALL LETTER T WITH DIAERESIS (Unicode:#$1E98; Attr:daNone; Ch1:#$0077; Ch2:#$030A; Ch3:#$FFFF), // LATIN SMALL LETTER W WITH RING ABOVE (Unicode:#$1E99; Attr:daNone; Ch1:#$0079; Ch2:#$030A; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH RING ABOVE (Unicode:#$1E9A; Attr:daCompat; Ch1:#$0061; Ch2:#$02BE; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH RIGHT HALF RING (Unicode:#$1E9B; Attr:daNone; Ch1:#$017F; Ch2:#$0307; Ch3:#$FFFF), // LATIN SMALL LETTER LONG S WITH DOT ABOVE (Unicode:#$1EA0; Attr:daNone; Ch1:#$0041; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH DOT BELOW (Unicode:#$1EA1; Attr:daNone; Ch1:#$0061; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH DOT BELOW (Unicode:#$1EA2; Attr:daNone; Ch1:#$0041; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH HOOK ABOVE (Unicode:#$1EA3; Attr:daNone; Ch1:#$0061; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH HOOK ABOVE (Unicode:#$1EA4; Attr:daNone; Ch1:#$00C2; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EA5; Attr:daNone; Ch1:#$00E2; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EA6; Attr:daNone; Ch1:#$00C2; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EA7; Attr:daNone; Ch1:#$00E2; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EA8; Attr:daNone; Ch1:#$00C2; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EA9; Attr:daNone; Ch1:#$00E2; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EAA; Attr:daNone; Ch1:#$00C2; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE (Unicode:#$1EAB; Attr:daNone; Ch1:#$00E2; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE (Unicode:#$1EAC; Attr:daNone; Ch1:#$1EA0; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EAD; Attr:daNone; Ch1:#$1EA1; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EAE; Attr:daNone; Ch1:#$0102; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH BREVE AND ACUTE (Unicode:#$1EAF; Attr:daNone; Ch1:#$0103; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH BREVE AND ACUTE (Unicode:#$1EB0; Attr:daNone; Ch1:#$0102; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH BREVE AND GRAVE (Unicode:#$1EB1; Attr:daNone; Ch1:#$0103; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH BREVE AND GRAVE (Unicode:#$1EB2; Attr:daNone; Ch1:#$0102; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH BREVE AND HOOK ABOVE (Unicode:#$1EB3; Attr:daNone; Ch1:#$0103; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH BREVE AND HOOK ABOVE (Unicode:#$1EB4; Attr:daNone; Ch1:#$0102; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH BREVE AND TILDE (Unicode:#$1EB5; Attr:daNone; Ch1:#$0103; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH BREVE AND TILDE (Unicode:#$1EB6; Attr:daNone; Ch1:#$1EA0; Ch2:#$0306; Ch3:#$FFFF), // LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW (Unicode:#$1EB7; Attr:daNone; Ch1:#$1EA1; Ch2:#$0306; Ch3:#$FFFF), // LATIN SMALL LETTER A WITH BREVE AND DOT BELOW (Unicode:#$1EB8; Attr:daNone; Ch1:#$0045; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH DOT BELOW (Unicode:#$1EB9; Attr:daNone; Ch1:#$0065; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH DOT BELOW (Unicode:#$1EBA; Attr:daNone; Ch1:#$0045; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH HOOK ABOVE (Unicode:#$1EBB; Attr:daNone; Ch1:#$0065; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH HOOK ABOVE (Unicode:#$1EBC; Attr:daNone; Ch1:#$0045; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH TILDE (Unicode:#$1EBD; Attr:daNone; Ch1:#$0065; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH TILDE (Unicode:#$1EBE; Attr:daNone; Ch1:#$00CA; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EBF; Attr:daNone; Ch1:#$00EA; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE (Unicode:#$1EC0; Attr:daNone; Ch1:#$00CA; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EC1; Attr:daNone; Ch1:#$00EA; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE (Unicode:#$1EC2; Attr:daNone; Ch1:#$00CA; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EC3; Attr:daNone; Ch1:#$00EA; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1EC4; Attr:daNone; Ch1:#$00CA; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE (Unicode:#$1EC5; Attr:daNone; Ch1:#$00EA; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE (Unicode:#$1EC6; Attr:daNone; Ch1:#$1EB8; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EC7; Attr:daNone; Ch1:#$1EB9; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EC8; Attr:daNone; Ch1:#$0049; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH HOOK ABOVE (Unicode:#$1EC9; Attr:daNone; Ch1:#$0069; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH HOOK ABOVE (Unicode:#$1ECA; Attr:daNone; Ch1:#$0049; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER I WITH DOT BELOW (Unicode:#$1ECB; Attr:daNone; Ch1:#$0069; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER I WITH DOT BELOW (Unicode:#$1ECC; Attr:daNone; Ch1:#$004F; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH DOT BELOW (Unicode:#$1ECD; Attr:daNone; Ch1:#$006F; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH DOT BELOW (Unicode:#$1ECE; Attr:daNone; Ch1:#$004F; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH HOOK ABOVE (Unicode:#$1ECF; Attr:daNone; Ch1:#$006F; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH HOOK ABOVE (Unicode:#$1ED0; Attr:daNone; Ch1:#$00D4; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE (Unicode:#$1ED1; Attr:daNone; Ch1:#$00F4; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE (Unicode:#$1ED2; Attr:daNone; Ch1:#$00D4; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE (Unicode:#$1ED3; Attr:daNone; Ch1:#$00F4; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE (Unicode:#$1ED4; Attr:daNone; Ch1:#$00D4; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1ED5; Attr:daNone; Ch1:#$00F4; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE (Unicode:#$1ED6; Attr:daNone; Ch1:#$00D4; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE (Unicode:#$1ED7; Attr:daNone; Ch1:#$00F4; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE (Unicode:#$1ED8; Attr:daNone; Ch1:#$1ECC; Ch2:#$0302; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1ED9; Attr:daNone; Ch1:#$1ECD; Ch2:#$0302; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW (Unicode:#$1EDA; Attr:daNone; Ch1:#$01A0; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH HORN AND ACUTE (Unicode:#$1EDB; Attr:daNone; Ch1:#$01A1; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH HORN AND ACUTE (Unicode:#$1EDC; Attr:daNone; Ch1:#$01A0; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH HORN AND GRAVE (Unicode:#$1EDD; Attr:daNone; Ch1:#$01A1; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH HORN AND GRAVE (Unicode:#$1EDE; Attr:daNone; Ch1:#$01A0; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH HORN AND HOOK ABOVE (Unicode:#$1EDF; Attr:daNone; Ch1:#$01A1; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH HORN AND HOOK ABOVE (Unicode:#$1EE0; Attr:daNone; Ch1:#$01A0; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH HORN AND TILDE (Unicode:#$1EE1; Attr:daNone; Ch1:#$01A1; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH HORN AND TILDE (Unicode:#$1EE2; Attr:daNone; Ch1:#$01A0; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER O WITH HORN AND DOT BELOW (Unicode:#$1EE3; Attr:daNone; Ch1:#$01A1; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER O WITH HORN AND DOT BELOW (Unicode:#$1EE4; Attr:daNone; Ch1:#$0055; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH DOT BELOW (Unicode:#$1EE5; Attr:daNone; Ch1:#$0075; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH DOT BELOW (Unicode:#$1EE6; Attr:daNone; Ch1:#$0055; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH HOOK ABOVE (Unicode:#$1EE7; Attr:daNone; Ch1:#$0075; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH HOOK ABOVE (Unicode:#$1EE8; Attr:daNone; Ch1:#$01AF; Ch2:#$0301; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH HORN AND ACUTE (Unicode:#$1EE9; Attr:daNone; Ch1:#$01B0; Ch2:#$0301; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH HORN AND ACUTE (Unicode:#$1EEA; Attr:daNone; Ch1:#$01AF; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH HORN AND GRAVE (Unicode:#$1EEB; Attr:daNone; Ch1:#$01B0; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH HORN AND GRAVE (Unicode:#$1EEC; Attr:daNone; Ch1:#$01AF; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH HORN AND HOOK ABOVE (Unicode:#$1EED; Attr:daNone; Ch1:#$01B0; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH HORN AND HOOK ABOVE (Unicode:#$1EEE; Attr:daNone; Ch1:#$01AF; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH HORN AND TILDE (Unicode:#$1EEF; Attr:daNone; Ch1:#$01B0; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH HORN AND TILDE (Unicode:#$1EF0; Attr:daNone; Ch1:#$01AF; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER U WITH HORN AND DOT BELOW (Unicode:#$1EF1; Attr:daNone; Ch1:#$01B0; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER U WITH HORN AND DOT BELOW (Unicode:#$1EF2; Attr:daNone; Ch1:#$0059; Ch2:#$0300; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH GRAVE (Unicode:#$1EF3; Attr:daNone; Ch1:#$0079; Ch2:#$0300; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH GRAVE (Unicode:#$1EF4; Attr:daNone; Ch1:#$0059; Ch2:#$0323; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH DOT BELOW (Unicode:#$1EF5; Attr:daNone; Ch1:#$0079; Ch2:#$0323; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH DOT BELOW (Unicode:#$1EF6; Attr:daNone; Ch1:#$0059; Ch2:#$0309; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH HOOK ABOVE (Unicode:#$1EF7; Attr:daNone; Ch1:#$0079; Ch2:#$0309; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH HOOK ABOVE (Unicode:#$1EF8; Attr:daNone; Ch1:#$0059; Ch2:#$0303; Ch3:#$FFFF), // LATIN CAPITAL LETTER Y WITH TILDE (Unicode:#$1EF9; Attr:daNone; Ch1:#$0079; Ch2:#$0303; Ch3:#$FFFF), // LATIN SMALL LETTER Y WITH TILDE (Unicode:#$1F00; Attr:daNone; Ch1:#$03B1; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI (Unicode:#$1F01; Attr:daNone; Ch1:#$03B1; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA (Unicode:#$1F02; Attr:daNone; Ch1:#$1F00; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA (Unicode:#$1F03; Attr:daNone; Ch1:#$1F01; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA (Unicode:#$1F04; Attr:daNone; Ch1:#$1F00; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA (Unicode:#$1F05; Attr:daNone; Ch1:#$1F01; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA (Unicode:#$1F06; Attr:daNone; Ch1:#$1F00; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI (Unicode:#$1F07; Attr:daNone; Ch1:#$1F01; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI (Unicode:#$1F08; Attr:daNone; Ch1:#$0391; Ch2:#$0313; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI (Unicode:#$1F09; Attr:daNone; Ch1:#$0391; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA (Unicode:#$1F0A; Attr:daNone; Ch1:#$1F08; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA (Unicode:#$1F0B; Attr:daNone; Ch1:#$1F09; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA (Unicode:#$1F0C; Attr:daNone; Ch1:#$1F08; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA (Unicode:#$1F0D; Attr:daNone; Ch1:#$1F09; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA (Unicode:#$1F0E; Attr:daNone; Ch1:#$1F08; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI (Unicode:#$1F0F; Attr:daNone; Ch1:#$1F09; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI (Unicode:#$1F10; Attr:daNone; Ch1:#$03B5; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH PSILI (Unicode:#$1F11; Attr:daNone; Ch1:#$03B5; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH DASIA (Unicode:#$1F12; Attr:daNone; Ch1:#$1F10; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH PSILI AND VARIA (Unicode:#$1F13; Attr:daNone; Ch1:#$1F11; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH DASIA AND VARIA (Unicode:#$1F14; Attr:daNone; Ch1:#$1F10; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH PSILI AND OXIA (Unicode:#$1F15; Attr:daNone; Ch1:#$1F11; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH DASIA AND OXIA (Unicode:#$1F18; Attr:daNone; Ch1:#$0395; Ch2:#$0313; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH PSILI (Unicode:#$1F19; Attr:daNone; Ch1:#$0395; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH DASIA (Unicode:#$1F1A; Attr:daNone; Ch1:#$1F18; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH PSILI AND VARIA (Unicode:#$1F1B; Attr:daNone; Ch1:#$1F19; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH DASIA AND VARIA (Unicode:#$1F1C; Attr:daNone; Ch1:#$1F18; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH PSILI AND OXIA (Unicode:#$1F1D; Attr:daNone; Ch1:#$1F19; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH DASIA AND OXIA (Unicode:#$1F20; Attr:daNone; Ch1:#$03B7; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI (Unicode:#$1F21; Attr:daNone; Ch1:#$03B7; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA (Unicode:#$1F22; Attr:daNone; Ch1:#$1F20; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI AND VARIA (Unicode:#$1F23; Attr:daNone; Ch1:#$1F21; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA AND VARIA (Unicode:#$1F24; Attr:daNone; Ch1:#$1F20; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI AND OXIA (Unicode:#$1F25; Attr:daNone; Ch1:#$1F21; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA AND OXIA (Unicode:#$1F26; Attr:daNone; Ch1:#$1F20; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI (Unicode:#$1F27; Attr:daNone; Ch1:#$1F21; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI (Unicode:#$1F28; Attr:daNone; Ch1:#$0397; Ch2:#$0313; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI (Unicode:#$1F29; Attr:daNone; Ch1:#$0397; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA (Unicode:#$1F2A; Attr:daNone; Ch1:#$1F28; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI AND VARIA (Unicode:#$1F2B; Attr:daNone; Ch1:#$1F29; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA AND VARIA (Unicode:#$1F2C; Attr:daNone; Ch1:#$1F28; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI AND OXIA (Unicode:#$1F2D; Attr:daNone; Ch1:#$1F29; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA AND OXIA (Unicode:#$1F2E; Attr:daNone; Ch1:#$1F28; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI AND PERISPOMENI (Unicode:#$1F2F; Attr:daNone; Ch1:#$1F29; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA AND PERISPOMENI (Unicode:#$1F30; Attr:daNone; Ch1:#$03B9; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH PSILI (Unicode:#$1F31; Attr:daNone; Ch1:#$03B9; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DASIA (Unicode:#$1F32; Attr:daNone; Ch1:#$1F30; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH PSILI AND VARIA (Unicode:#$1F33; Attr:daNone; Ch1:#$1F31; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DASIA AND VARIA (Unicode:#$1F34; Attr:daNone; Ch1:#$1F30; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH PSILI AND OXIA (Unicode:#$1F35; Attr:daNone; Ch1:#$1F31; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DASIA AND OXIA (Unicode:#$1F36; Attr:daNone; Ch1:#$1F30; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH PSILI AND PERISPOMENI (Unicode:#$1F37; Attr:daNone; Ch1:#$1F31; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DASIA AND PERISPOMENI (Unicode:#$1F38; Attr:daNone; Ch1:#$0399; Ch2:#$0313; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH PSILI (Unicode:#$1F39; Attr:daNone; Ch1:#$0399; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH DASIA (Unicode:#$1F3A; Attr:daNone; Ch1:#$1F38; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH PSILI AND VARIA (Unicode:#$1F3B; Attr:daNone; Ch1:#$1F39; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH DASIA AND VARIA (Unicode:#$1F3C; Attr:daNone; Ch1:#$1F38; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH PSILI AND OXIA (Unicode:#$1F3D; Attr:daNone; Ch1:#$1F39; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH DASIA AND OXIA (Unicode:#$1F3E; Attr:daNone; Ch1:#$1F38; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH PSILI AND PERISPOMENI (Unicode:#$1F3F; Attr:daNone; Ch1:#$1F39; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH DASIA AND PERISPOMENI (Unicode:#$1F40; Attr:daNone; Ch1:#$03BF; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH PSILI (Unicode:#$1F41; Attr:daNone; Ch1:#$03BF; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH DASIA (Unicode:#$1F42; Attr:daNone; Ch1:#$1F40; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH PSILI AND VARIA (Unicode:#$1F43; Attr:daNone; Ch1:#$1F41; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH DASIA AND VARIA (Unicode:#$1F44; Attr:daNone; Ch1:#$1F40; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH PSILI AND OXIA (Unicode:#$1F45; Attr:daNone; Ch1:#$1F41; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH DASIA AND OXIA (Unicode:#$1F48; Attr:daNone; Ch1:#$039F; Ch2:#$0313; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH PSILI (Unicode:#$1F49; Attr:daNone; Ch1:#$039F; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH DASIA (Unicode:#$1F4A; Attr:daNone; Ch1:#$1F48; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH PSILI AND VARIA (Unicode:#$1F4B; Attr:daNone; Ch1:#$1F49; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH DASIA AND VARIA (Unicode:#$1F4C; Attr:daNone; Ch1:#$1F48; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH PSILI AND OXIA (Unicode:#$1F4D; Attr:daNone; Ch1:#$1F49; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH DASIA AND OXIA (Unicode:#$1F50; Attr:daNone; Ch1:#$03C5; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI (Unicode:#$1F51; Attr:daNone; Ch1:#$03C5; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DASIA (Unicode:#$1F52; Attr:daNone; Ch1:#$1F50; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI AND VARIA (Unicode:#$1F53; Attr:daNone; Ch1:#$1F51; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DASIA AND VARIA (Unicode:#$1F54; Attr:daNone; Ch1:#$1F50; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI AND OXIA (Unicode:#$1F55; Attr:daNone; Ch1:#$1F51; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DASIA AND OXIA (Unicode:#$1F56; Attr:daNone; Ch1:#$1F50; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PSILI AND PERISPOMENI (Unicode:#$1F57; Attr:daNone; Ch1:#$1F51; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DASIA AND PERISPOMENI (Unicode:#$1F59; Attr:daNone; Ch1:#$03A5; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH DASIA (Unicode:#$1F5B; Attr:daNone; Ch1:#$1F59; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH DASIA AND VARIA (Unicode:#$1F5D; Attr:daNone; Ch1:#$1F59; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH DASIA AND OXIA (Unicode:#$1F5F; Attr:daNone; Ch1:#$1F59; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH DASIA AND PERISPOMENI (Unicode:#$1F60; Attr:daNone; Ch1:#$03C9; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI (Unicode:#$1F61; Attr:daNone; Ch1:#$03C9; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA (Unicode:#$1F62; Attr:daNone; Ch1:#$1F60; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI AND VARIA (Unicode:#$1F63; Attr:daNone; Ch1:#$1F61; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA AND VARIA (Unicode:#$1F64; Attr:daNone; Ch1:#$1F60; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI AND OXIA (Unicode:#$1F65; Attr:daNone; Ch1:#$1F61; Ch2:#$0301; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA AND OXIA (Unicode:#$1F66; Attr:daNone; Ch1:#$1F60; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI AND PERISPOMENI (Unicode:#$1F67; Attr:daNone; Ch1:#$1F61; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA AND PERISPOMENI (Unicode:#$1F68; Attr:daNone; Ch1:#$03A9; Ch2:#$0313; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI (Unicode:#$1F69; Attr:daNone; Ch1:#$03A9; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA (Unicode:#$1F6A; Attr:daNone; Ch1:#$1F68; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND VARIA (Unicode:#$1F6B; Attr:daNone; Ch1:#$1F69; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND VARIA (Unicode:#$1F6C; Attr:daNone; Ch1:#$1F68; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND OXIA (Unicode:#$1F6D; Attr:daNone; Ch1:#$1F69; Ch2:#$0301; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND OXIA (Unicode:#$1F6E; Attr:daNone; Ch1:#$1F68; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND PERISPOMENI (Unicode:#$1F6F; Attr:daNone; Ch1:#$1F69; Ch2:#$0342; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND PERISPOMENI (Unicode:#$1F70; Attr:daNone; Ch1:#$03B1; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH VARIA (Unicode:#$1F71; Attr:daNone; Ch1:#$03AC; Ch2:#$FFFF), // GREEK SMALL LETTER ALPHA WITH OXIA (Unicode:#$1F72; Attr:daNone; Ch1:#$03B5; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER EPSILON WITH VARIA (Unicode:#$1F73; Attr:daNone; Ch1:#$03AD; Ch2:#$FFFF), // GREEK SMALL LETTER EPSILON WITH OXIA (Unicode:#$1F74; Attr:daNone; Ch1:#$03B7; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH VARIA (Unicode:#$1F75; Attr:daNone; Ch1:#$03AE; Ch2:#$FFFF), // GREEK SMALL LETTER ETA WITH OXIA (Unicode:#$1F76; Attr:daNone; Ch1:#$03B9; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH VARIA (Unicode:#$1F77; Attr:daNone; Ch1:#$03AF; Ch2:#$FFFF), // GREEK SMALL LETTER IOTA WITH OXIA (Unicode:#$1F78; Attr:daNone; Ch1:#$03BF; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER OMICRON WITH VARIA (Unicode:#$1F79; Attr:daNone; Ch1:#$03CC; Ch2:#$FFFF), // GREEK SMALL LETTER OMICRON WITH OXIA (Unicode:#$1F7A; Attr:daNone; Ch1:#$03C5; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH VARIA (Unicode:#$1F7B; Attr:daNone; Ch1:#$03CD; Ch2:#$FFFF), // GREEK SMALL LETTER UPSILON WITH OXIA (Unicode:#$1F7C; Attr:daNone; Ch1:#$03C9; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH VARIA (Unicode:#$1F7D; Attr:daNone; Ch1:#$03CE; Ch2:#$FFFF), // GREEK SMALL LETTER OMEGA WITH OXIA (Unicode:#$1F80; Attr:daNone; Ch1:#$1F00; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI AND YPOGEGRAMMENI (Unicode:#$1F81; Attr:daNone; Ch1:#$1F01; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA AND YPOGEGRAMMENI (Unicode:#$1F82; Attr:daNone; Ch1:#$1F02; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F83; Attr:daNone; Ch1:#$1F03; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F84; Attr:daNone; Ch1:#$1F04; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F85; Attr:daNone; Ch1:#$1F05; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F86; Attr:daNone; Ch1:#$1F06; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1F87; Attr:daNone; Ch1:#$1F07; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1F88; Attr:daNone; Ch1:#$1F08; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND PROSGEGRAMMENI (Unicode:#$1F89; Attr:daNone; Ch1:#$1F09; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND PROSGEGRAMMENI (Unicode:#$1F8A; Attr:daNone; Ch1:#$1F0A; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F8B; Attr:daNone; Ch1:#$1F0B; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F8C; Attr:daNone; Ch1:#$1F0C; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F8D; Attr:daNone; Ch1:#$1F0D; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F8E; Attr:daNone; Ch1:#$1F0E; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1F8F; Attr:daNone; Ch1:#$1F0F; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1F90; Attr:daNone; Ch1:#$1F20; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI AND YPOGEGRAMMENI (Unicode:#$1F91; Attr:daNone; Ch1:#$1F21; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA AND YPOGEGRAMMENI (Unicode:#$1F92; Attr:daNone; Ch1:#$1F22; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F93; Attr:daNone; Ch1:#$1F23; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA AND VARIA AND YPOGEGRAMMENI (Unicode:#$1F94; Attr:daNone; Ch1:#$1F24; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F95; Attr:daNone; Ch1:#$1F25; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA AND OXIA AND YPOGEGRAMMENI (Unicode:#$1F96; Attr:daNone; Ch1:#$1F26; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1F97; Attr:daNone; Ch1:#$1F27; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1F98; Attr:daNone; Ch1:#$1F28; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI AND PROSGEGRAMMENI (Unicode:#$1F99; Attr:daNone; Ch1:#$1F29; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA AND PROSGEGRAMMENI (Unicode:#$1F9A; Attr:daNone; Ch1:#$1F2A; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F9B; Attr:daNone; Ch1:#$1F2B; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA AND VARIA AND PROSGEGRAMMENI (Unicode:#$1F9C; Attr:daNone; Ch1:#$1F2C; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F9D; Attr:daNone; Ch1:#$1F2D; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA AND OXIA AND PROSGEGRAMMENI (Unicode:#$1F9E; Attr:daNone; Ch1:#$1F2E; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1F9F; Attr:daNone; Ch1:#$1F2F; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1FA0; Attr:daNone; Ch1:#$1F60; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI AND YPOGEGRAMMENI (Unicode:#$1FA1; Attr:daNone; Ch1:#$1F61; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA AND YPOGEGRAMMENI (Unicode:#$1FA2; Attr:daNone; Ch1:#$1F62; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI AND VARIA AND YPOGEGRAMMENI (Unicode:#$1FA3; Attr:daNone; Ch1:#$1F63; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA AND VARIA AND YPOGEGRAMMENI (Unicode:#$1FA4; Attr:daNone; Ch1:#$1F64; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI AND OXIA AND YPOGEGRAMMENI (Unicode:#$1FA5; Attr:daNone; Ch1:#$1F65; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA AND OXIA AND YPOGEGRAMMENI (Unicode:#$1FA6; Attr:daNone; Ch1:#$1F66; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PSILI AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FA7; Attr:daNone; Ch1:#$1F67; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH DASIA AND PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FA8; Attr:daNone; Ch1:#$1F68; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND PROSGEGRAMMENI (Unicode:#$1FA9; Attr:daNone; Ch1:#$1F69; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND PROSGEGRAMMENI (Unicode:#$1FAA; Attr:daNone; Ch1:#$1F6A; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND VARIA AND PROSGEGRAMMENI (Unicode:#$1FAB; Attr:daNone; Ch1:#$1F6B; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND VARIA AND PROSGEGRAMMENI (Unicode:#$1FAC; Attr:daNone; Ch1:#$1F6C; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND OXIA AND PROSGEGRAMMENI (Unicode:#$1FAD; Attr:daNone; Ch1:#$1F6D; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND OXIA AND PROSGEGRAMMENI (Unicode:#$1FAE; Attr:daNone; Ch1:#$1F6E; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PSILI AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1FAF; Attr:daNone; Ch1:#$1F6F; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH DASIA AND PERISPOMENI AND PROSGEGRAMMENI (Unicode:#$1FB0; Attr:daNone; Ch1:#$03B1; Ch2:#$0306; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH VRACHY (Unicode:#$1FB1; Attr:daNone; Ch1:#$03B1; Ch2:#$0304; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH MACRON (Unicode:#$1FB2; Attr:daNone; Ch1:#$1F70; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH VARIA AND YPOGEGRAMMENI (Unicode:#$1FB3; Attr:daNone; Ch1:#$03B1; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH YPOGEGRAMMENI (Unicode:#$1FB4; Attr:daNone; Ch1:#$03AC; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH OXIA AND YPOGEGRAMMENI (Unicode:#$1FB6; Attr:daNone; Ch1:#$03B1; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PERISPOMENI (Unicode:#$1FB7; Attr:daNone; Ch1:#$1FB6; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ALPHA WITH PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FB8; Attr:daNone; Ch1:#$0391; Ch2:#$0306; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH VRACHY (Unicode:#$1FB9; Attr:daNone; Ch1:#$0391; Ch2:#$0304; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH MACRON (Unicode:#$1FBA; Attr:daNone; Ch1:#$0391; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH VARIA (Unicode:#$1FBB; Attr:daNone; Ch1:#$0386; Ch2:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH OXIA (Unicode:#$1FBC; Attr:daNone; Ch1:#$0391; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ALPHA WITH PROSGEGRAMMENI (Unicode:#$1FBD; Attr:daCompat; Ch1:#$0020; Ch2:#$0313; Ch3:#$FFFF), // GREEK KORONIS (Unicode:#$1FBE; Attr:daNone; Ch1:#$03B9; Ch2:#$FFFF), // GREEK PROSGEGRAMMENI (Unicode:#$1FBF; Attr:daCompat; Ch1:#$0020; Ch2:#$0313; Ch3:#$FFFF), // GREEK PSILI (Unicode:#$1FC0; Attr:daCompat; Ch1:#$0020; Ch2:#$0342; Ch3:#$FFFF), // GREEK PERISPOMENI (Unicode:#$1FC1; Attr:daNone; Ch1:#$00A8; Ch2:#$0342; Ch3:#$FFFF), // GREEK DIALYTIKA AND PERISPOMENI (Unicode:#$1FC2; Attr:daNone; Ch1:#$1F74; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH VARIA AND YPOGEGRAMMENI (Unicode:#$1FC3; Attr:daNone; Ch1:#$03B7; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH YPOGEGRAMMENI (Unicode:#$1FC4; Attr:daNone; Ch1:#$03AE; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH OXIA AND YPOGEGRAMMENI (Unicode:#$1FC6; Attr:daNone; Ch1:#$03B7; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PERISPOMENI (Unicode:#$1FC7; Attr:daNone; Ch1:#$1FC6; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER ETA WITH PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FC8; Attr:daNone; Ch1:#$0395; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH VARIA (Unicode:#$1FC9; Attr:daNone; Ch1:#$0388; Ch2:#$FFFF), // GREEK CAPITAL LETTER EPSILON WITH OXIA (Unicode:#$1FCA; Attr:daNone; Ch1:#$0397; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH VARIA (Unicode:#$1FCB; Attr:daNone; Ch1:#$0389; Ch2:#$FFFF), // GREEK CAPITAL LETTER ETA WITH OXIA (Unicode:#$1FCC; Attr:daNone; Ch1:#$0397; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER ETA WITH PROSGEGRAMMENI (Unicode:#$1FCD; Attr:daNone; Ch1:#$1FBF; Ch2:#$0300; Ch3:#$FFFF), // GREEK PSILI AND VARIA (Unicode:#$1FCE; Attr:daNone; Ch1:#$1FBF; Ch2:#$0301; Ch3:#$FFFF), // GREEK PSILI AND OXIA (Unicode:#$1FCF; Attr:daNone; Ch1:#$1FBF; Ch2:#$0342; Ch3:#$FFFF), // GREEK PSILI AND PERISPOMENI (Unicode:#$1FD0; Attr:daNone; Ch1:#$03B9; Ch2:#$0306; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH VRACHY (Unicode:#$1FD1; Attr:daNone; Ch1:#$03B9; Ch2:#$0304; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH MACRON (Unicode:#$1FD2; Attr:daNone; Ch1:#$03CA; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND VARIA (Unicode:#$1FD3; Attr:daNone; Ch1:#$0390; Ch2:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND OXIA (Unicode:#$1FD6; Attr:daNone; Ch1:#$03B9; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH PERISPOMENI (Unicode:#$1FD7; Attr:daNone; Ch1:#$03CA; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER IOTA WITH DIALYTIKA AND PERISPOMENI (Unicode:#$1FD8; Attr:daNone; Ch1:#$0399; Ch2:#$0306; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH VRACHY (Unicode:#$1FD9; Attr:daNone; Ch1:#$0399; Ch2:#$0304; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH MACRON (Unicode:#$1FDA; Attr:daNone; Ch1:#$0399; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH VARIA (Unicode:#$1FDB; Attr:daNone; Ch1:#$038A; Ch2:#$FFFF), // GREEK CAPITAL LETTER IOTA WITH OXIA (Unicode:#$1FDD; Attr:daNone; Ch1:#$1FFE; Ch2:#$0300; Ch3:#$FFFF), // GREEK DASIA AND VARIA (Unicode:#$1FDE; Attr:daNone; Ch1:#$1FFE; Ch2:#$0301; Ch3:#$FFFF), // GREEK DASIA AND OXIA (Unicode:#$1FDF; Attr:daNone; Ch1:#$1FFE; Ch2:#$0342; Ch3:#$FFFF), // GREEK DASIA AND PERISPOMENI (Unicode:#$1FE0; Attr:daNone; Ch1:#$03C5; Ch2:#$0306; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH VRACHY (Unicode:#$1FE1; Attr:daNone; Ch1:#$03C5; Ch2:#$0304; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH MACRON (Unicode:#$1FE2; Attr:daNone; Ch1:#$03CB; Ch2:#$0300; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND VARIA (Unicode:#$1FE3; Attr:daNone; Ch1:#$03B0; Ch2:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND OXIA (Unicode:#$1FE4; Attr:daNone; Ch1:#$03C1; Ch2:#$0313; Ch3:#$FFFF), // GREEK SMALL LETTER RHO WITH PSILI (Unicode:#$1FE5; Attr:daNone; Ch1:#$03C1; Ch2:#$0314; Ch3:#$FFFF), // GREEK SMALL LETTER RHO WITH DASIA (Unicode:#$1FE6; Attr:daNone; Ch1:#$03C5; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH PERISPOMENI (Unicode:#$1FE7; Attr:daNone; Ch1:#$03CB; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND PERISPOMENI (Unicode:#$1FE8; Attr:daNone; Ch1:#$03A5; Ch2:#$0306; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH VRACHY (Unicode:#$1FE9; Attr:daNone; Ch1:#$03A5; Ch2:#$0304; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH MACRON (Unicode:#$1FEA; Attr:daNone; Ch1:#$03A5; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH VARIA (Unicode:#$1FEB; Attr:daNone; Ch1:#$038E; Ch2:#$FFFF), // GREEK CAPITAL LETTER UPSILON WITH OXIA (Unicode:#$1FEC; Attr:daNone; Ch1:#$03A1; Ch2:#$0314; Ch3:#$FFFF), // GREEK CAPITAL LETTER RHO WITH DASIA (Unicode:#$1FED; Attr:daNone; Ch1:#$00A8; Ch2:#$0300; Ch3:#$FFFF), // GREEK DIALYTIKA AND VARIA (Unicode:#$1FEE; Attr:daNone; Ch1:#$0385; Ch2:#$FFFF), // GREEK DIALYTIKA AND OXIA (Unicode:#$1FEF; Attr:daNone; Ch1:#$0060; Ch2:#$FFFF), // GREEK VARIA (Unicode:#$1FF2; Attr:daNone; Ch1:#$1F7C; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH VARIA AND YPOGEGRAMMENI (Unicode:#$1FF3; Attr:daNone; Ch1:#$03C9; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH YPOGEGRAMMENI (Unicode:#$1FF4; Attr:daNone; Ch1:#$03CE; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH OXIA AND YPOGEGRAMMENI (Unicode:#$1FF6; Attr:daNone; Ch1:#$03C9; Ch2:#$0342; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PERISPOMENI (Unicode:#$1FF7; Attr:daNone; Ch1:#$1FF6; Ch2:#$0345; Ch3:#$FFFF), // GREEK SMALL LETTER OMEGA WITH PERISPOMENI AND YPOGEGRAMMENI (Unicode:#$1FF8; Attr:daNone; Ch1:#$039F; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH VARIA (Unicode:#$1FF9; Attr:daNone; Ch1:#$038C; Ch2:#$FFFF), // GREEK CAPITAL LETTER OMICRON WITH OXIA (Unicode:#$1FFA; Attr:daNone; Ch1:#$03A9; Ch2:#$0300; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH VARIA (Unicode:#$1FFB; Attr:daNone; Ch1:#$038F; Ch2:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH OXIA (Unicode:#$1FFC; Attr:daNone; Ch1:#$03A9; Ch2:#$0345; Ch3:#$FFFF), // GREEK CAPITAL LETTER OMEGA WITH PROSGEGRAMMENI (Unicode:#$1FFD; Attr:daNone; Ch1:#$00B4; Ch2:#$FFFF), // GREEK OXIA (Unicode:#$1FFE; Attr:daCompat; Ch1:#$0020; Ch2:#$0314; Ch3:#$FFFF), // GREEK DASIA (Unicode:#$2000; Attr:daNone; Ch1:#$2002; Ch2:#$FFFF), // EN QUAD (Unicode:#$2001; Attr:daNone; Ch1:#$2003; Ch2:#$FFFF), // EM QUAD (Unicode:#$2002; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // EN SPACE (Unicode:#$2003; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // EM SPACE (Unicode:#$2004; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // THREE-PER-EM SPACE (Unicode:#$2005; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // FOUR-PER-EM SPACE (Unicode:#$2006; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // SIX-PER-EM SPACE (Unicode:#$2007; Attr:daNoBreak; Ch1:#$0020; Ch2:#$FFFF), // FIGURE SPACE (Unicode:#$2008; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // PUNCTUATION SPACE (Unicode:#$2009; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // THIN SPACE (Unicode:#$200A; Attr:daCompat; Ch1:#$0020; Ch2:#$FFFF), // HAIR SPACE (Unicode:#$2011; Attr:daNoBreak; Ch1:#$2010; Ch2:#$FFFF), // NON-BREAKING HYPHEN (Unicode:#$2017; Attr:daCompat; Ch1:#$0020; Ch2:#$0333; Ch3:#$FFFF), // DOUBLE LOW LINE (Unicode:#$2024; Attr:daCompat; Ch1:#$002E; Ch2:#$FFFF), // ONE DOT LEADER (Unicode:#$2025; Attr:daCompat; Ch1:#$002E; Ch2:#$002E; Ch3:#$FFFF), // TWO DOT LEADER (Unicode:#$2026; Attr:daCompat; Ch1:#$002E; Ch2:#$002E; Ch3:#$002E; Ch4:#$FFFF), // HORIZONTAL ELLIPSIS (Unicode:#$202F; Attr:daNoBreak; Ch1:#$0020; Ch2:#$FFFF), // NARROW NO-BREAK SPACE (Unicode:#$2033; Attr:daCompat; Ch1:#$2032; Ch2:#$2032; Ch3:#$FFFF), // DOUBLE PRIME (Unicode:#$2034; Attr:daCompat; Ch1:#$2032; Ch2:#$2032; Ch3:#$2032; Ch4:#$FFFF), // TRIPLE PRIME (Unicode:#$2036; Attr:daCompat; Ch1:#$2035; Ch2:#$2035; Ch3:#$FFFF), // REVERSED DOUBLE PRIME (Unicode:#$2037; Attr:daCompat; Ch1:#$2035; Ch2:#$2035; Ch3:#$2035; Ch4:#$FFFF), // REVERSED TRIPLE PRIME (Unicode:#$203C; Attr:daCompat; Ch1:#$0021; Ch2:#$0021; Ch3:#$FFFF), // DOUBLE EXCLAMATION MARK (Unicode:#$203E; Attr:daCompat; Ch1:#$0020; Ch2:#$0305; Ch3:#$FFFF), // OVERLINE (Unicode:#$2048; Attr:daCompat; Ch1:#$003F; Ch2:#$0021; Ch3:#$FFFF), // QUESTION EXCLAMATION MARK (Unicode:#$2049; Attr:daCompat; Ch1:#$0021; Ch2:#$003F; Ch3:#$FFFF), // EXCLAMATION QUESTION MARK (Unicode:#$2070; Attr:daSuper; Ch1:#$0030; Ch2:#$FFFF), // SUPERSCRIPT ZERO (Unicode:#$2074; Attr:daSuper; Ch1:#$0034; Ch2:#$FFFF), // SUPERSCRIPT FOUR (Unicode:#$2075; Attr:daSuper; Ch1:#$0035; Ch2:#$FFFF), // SUPERSCRIPT FIVE (Unicode:#$2076; Attr:daSuper; Ch1:#$0036; Ch2:#$FFFF), // SUPERSCRIPT SIX (Unicode:#$2077; Attr:daSuper; Ch1:#$0037; Ch2:#$FFFF), // SUPERSCRIPT SEVEN (Unicode:#$2078; Attr:daSuper; Ch1:#$0038; Ch2:#$FFFF), // SUPERSCRIPT EIGHT (Unicode:#$2079; Attr:daSuper; Ch1:#$0039; Ch2:#$FFFF), // SUPERSCRIPT NINE (Unicode:#$207A; Attr:daSuper; Ch1:#$002B; Ch2:#$FFFF), // SUPERSCRIPT PLUS SIGN (Unicode:#$207B; Attr:daSuper; Ch1:#$2212; Ch2:#$FFFF), // SUPERSCRIPT MINUS (Unicode:#$207C; Attr:daSuper; Ch1:#$003D; Ch2:#$FFFF), // SUPERSCRIPT EQUALS SIGN (Unicode:#$207D; Attr:daSuper; Ch1:#$0028; Ch2:#$FFFF), // SUPERSCRIPT LEFT PARENTHESIS (Unicode:#$207E; Attr:daSuper; Ch1:#$0029; Ch2:#$FFFF), // SUPERSCRIPT RIGHT PARENTHESIS (Unicode:#$207F; Attr:daSuper; Ch1:#$006E; Ch2:#$FFFF), // SUPERSCRIPT LATIN SMALL LETTER N (Unicode:#$2080; Attr:daSub; Ch1:#$0030; Ch2:#$FFFF), // SUBSCRIPT ZERO (Unicode:#$2081; Attr:daSub; Ch1:#$0031; Ch2:#$FFFF), // SUBSCRIPT ONE (Unicode:#$2082; Attr:daSub; Ch1:#$0032; Ch2:#$FFFF), // SUBSCRIPT TWO (Unicode:#$2083; Attr:daSub; Ch1:#$0033; Ch2:#$FFFF), // SUBSCRIPT THREE (Unicode:#$2084; Attr:daSub; Ch1:#$0034; Ch2:#$FFFF), // SUBSCRIPT FOUR (Unicode:#$2085; Attr:daSub; Ch1:#$0035; Ch2:#$FFFF), // SUBSCRIPT FIVE (Unicode:#$2086; Attr:daSub; Ch1:#$0036; Ch2:#$FFFF), // SUBSCRIPT SIX (Unicode:#$2087; Attr:daSub; Ch1:#$0037; Ch2:#$FFFF), // SUBSCRIPT SEVEN (Unicode:#$2088; Attr:daSub; Ch1:#$0038; Ch2:#$FFFF), // SUBSCRIPT EIGHT (Unicode:#$2089; Attr:daSub; Ch1:#$0039; Ch2:#$FFFF), // SUBSCRIPT NINE (Unicode:#$208A; Attr:daSub; Ch1:#$002B; Ch2:#$FFFF), // SUBSCRIPT PLUS SIGN (Unicode:#$208B; Attr:daSub; Ch1:#$2212; Ch2:#$FFFF), // SUBSCRIPT MINUS (Unicode:#$208C; Attr:daSub; Ch1:#$003D; Ch2:#$FFFF), // SUBSCRIPT EQUALS SIGN (Unicode:#$208D; Attr:daSub; Ch1:#$0028; Ch2:#$FFFF), // SUBSCRIPT LEFT PARENTHESIS (Unicode:#$208E; Attr:daSub; Ch1:#$0029; Ch2:#$FFFF), // SUBSCRIPT RIGHT PARENTHESIS (Unicode:#$20A8; Attr:daCompat; Ch1:#$0052; Ch2:#$0073; Ch3:#$FFFF), // RUPEE SIGN (Unicode:#$2100; Attr:daCompat; Ch1:#$0061; Ch2:#$002F; Ch3:#$0063; Ch4:#$FFFF), // ACCOUNT OF (Unicode:#$2101; Attr:daCompat; Ch1:#$0061; Ch2:#$002F; Ch3:#$0073; Ch4:#$FFFF), // ADDRESSED TO THE SUBJECT (Unicode:#$2102; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // DOUBLE-STRUCK CAPITAL C (Unicode:#$2103; Attr:daCompat; Ch1:#$00B0; Ch2:#$0043; Ch3:#$FFFF), // DEGREE CELSIUS (Unicode:#$2105; Attr:daCompat; Ch1:#$0063; Ch2:#$002F; Ch3:#$006F; Ch4:#$FFFF), // CARE OF (Unicode:#$2106; Attr:daCompat; Ch1:#$0063; Ch2:#$002F; Ch3:#$0075; Ch4:#$FFFF), // CADA UNA (Unicode:#$2107; Attr:daCompat; Ch1:#$0190; Ch2:#$FFFF), // EULER CONSTANT (Unicode:#$2109; Attr:daCompat; Ch1:#$00B0; Ch2:#$0046; Ch3:#$FFFF), // DEGREE FAHRENHEIT (Unicode:#$210A; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // SCRIPT SMALL G (Unicode:#$210B; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // SCRIPT CAPITAL H (Unicode:#$210C; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // BLACK-LETTER CAPITAL H (Unicode:#$210D; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // DOUBLE-STRUCK CAPITAL H (Unicode:#$210E; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // PLANCK CONSTANT (Unicode:#$210F; Attr:daFont; Ch1:#$0127; Ch2:#$FFFF), // PLANCK CONSTANT OVER TWO PI (Unicode:#$2110; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // SCRIPT CAPITAL I (Unicode:#$2111; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // BLACK-LETTER CAPITAL I (Unicode:#$2112; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // SCRIPT CAPITAL L (Unicode:#$2113; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // SCRIPT SMALL L (Unicode:#$2115; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // DOUBLE-STRUCK CAPITAL N (Unicode:#$2116; Attr:daCompat; Ch1:#$004E; Ch2:#$006F; Ch3:#$FFFF), // NUMERO SIGN (Unicode:#$2119; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // DOUBLE-STRUCK CAPITAL P (Unicode:#$211A; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // DOUBLE-STRUCK CAPITAL Q (Unicode:#$211B; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // SCRIPT CAPITAL R (Unicode:#$211C; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // BLACK-LETTER CAPITAL R (Unicode:#$211D; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // DOUBLE-STRUCK CAPITAL R (Unicode:#$2120; Attr:daSuper; Ch1:#$0053; Ch2:#$004D; Ch3:#$FFFF), // SERVICE MARK (Unicode:#$2121; Attr:daCompat; Ch1:#$0054; Ch2:#$0045; Ch3:#$004C; Ch4:#$FFFF), // TELEPHONE SIGN (Unicode:#$2122; Attr:daSuper; Ch1:#$0054; Ch2:#$004D; Ch3:#$FFFF), // TRADE MARK SIGN (Unicode:#$2124; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // DOUBLE-STRUCK CAPITAL Z (Unicode:#$2126; Attr:daNone; Ch1:#$03A9; Ch2:#$FFFF), // OHM SIGN (Unicode:#$2128; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // BLACK-LETTER CAPITAL Z (Unicode:#$212A; Attr:daNone; Ch1:#$004B; Ch2:#$FFFF), // KELVIN SIGN (Unicode:#$212B; Attr:daNone; Ch1:#$00C5; Ch2:#$FFFF), // ANGSTROM SIGN (Unicode:#$212C; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // SCRIPT CAPITAL B (Unicode:#$212D; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // BLACK-LETTER CAPITAL C (Unicode:#$212F; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // SCRIPT SMALL E (Unicode:#$2130; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // SCRIPT CAPITAL E (Unicode:#$2131; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // SCRIPT CAPITAL F (Unicode:#$2133; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // SCRIPT CAPITAL M (Unicode:#$2134; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // SCRIPT SMALL O (Unicode:#$2135; Attr:daCompat; Ch1:#$05D0; Ch2:#$FFFF), // ALEF SYMBOL (Unicode:#$2136; Attr:daCompat; Ch1:#$05D1; Ch2:#$FFFF), // BET SYMBOL (Unicode:#$2137; Attr:daCompat; Ch1:#$05D2; Ch2:#$FFFF), // GIMEL SYMBOL (Unicode:#$2138; Attr:daCompat; Ch1:#$05D3; Ch2:#$FFFF), // DALET SYMBOL (Unicode:#$2139; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // INFORMATION SOURCE (Unicode:#$2153; Attr:daFraction; Ch1:#$0031; Ch2:#$2044; Ch3:#$0033; Ch4:#$FFFF), // VULGAR FRACTION ONE THIRD (Unicode:#$2154; Attr:daFraction; Ch1:#$0032; Ch2:#$2044; Ch3:#$0033; Ch4:#$FFFF), // VULGAR FRACTION TWO THIRDS (Unicode:#$2155; Attr:daFraction; Ch1:#$0031; Ch2:#$2044; Ch3:#$0035; Ch4:#$FFFF), // VULGAR FRACTION ONE FIFTH (Unicode:#$2156; Attr:daFraction; Ch1:#$0032; Ch2:#$2044; Ch3:#$0035; Ch4:#$FFFF), // VULGAR FRACTION TWO FIFTHS (Unicode:#$2157; Attr:daFraction; Ch1:#$0033; Ch2:#$2044; Ch3:#$0035; Ch4:#$FFFF), // VULGAR FRACTION THREE FIFTHS (Unicode:#$2158; Attr:daFraction; Ch1:#$0034; Ch2:#$2044; Ch3:#$0035; Ch4:#$FFFF), // VULGAR FRACTION FOUR FIFTHS (Unicode:#$2159; Attr:daFraction; Ch1:#$0031; Ch2:#$2044; Ch3:#$0036; Ch4:#$FFFF), // VULGAR FRACTION ONE SIXTH (Unicode:#$215A; Attr:daFraction; Ch1:#$0035; Ch2:#$2044; Ch3:#$0036; Ch4:#$FFFF), // VULGAR FRACTION FIVE SIXTHS (Unicode:#$215B; Attr:daFraction; Ch1:#$0031; Ch2:#$2044; Ch3:#$0038; Ch4:#$FFFF), // VULGAR FRACTION ONE EIGHTH (Unicode:#$215C; Attr:daFraction; Ch1:#$0033; Ch2:#$2044; Ch3:#$0038; Ch4:#$FFFF), // VULGAR FRACTION THREE EIGHTHS (Unicode:#$215D; Attr:daFraction; Ch1:#$0035; Ch2:#$2044; Ch3:#$0038; Ch4:#$FFFF), // VULGAR FRACTION FIVE EIGHTHS (Unicode:#$215E; Attr:daFraction; Ch1:#$0037; Ch2:#$2044; Ch3:#$0038; Ch4:#$FFFF), // VULGAR FRACTION SEVEN EIGHTHS (Unicode:#$215F; Attr:daFraction; Ch1:#$0031; Ch2:#$2044; Ch3:#$FFFF),// FRACTION NUMERATOR ONE (Unicode:#$2160; Attr:daCompat; Ch1:#$0049; Ch2:#$FFFF), // ROMAN NUMERAL ONE (Unicode:#$2161; Attr:daCompat; Ch1:#$0049; Ch2:#$0049; Ch3:#$FFFF), // ROMAN NUMERAL TWO (Unicode:#$2162; Attr:daCompat; Ch1:#$0049; Ch2:#$0049; Ch3:#$0049; Ch4:#$FFFF), // ROMAN NUMERAL THREE (Unicode:#$2163; Attr:daCompat; Ch1:#$0049; Ch2:#$0056; Ch3:#$FFFF), // ROMAN NUMERAL FOUR (Unicode:#$2164; Attr:daCompat; Ch1:#$0056; Ch2:#$FFFF), // ROMAN NUMERAL FIVE (Unicode:#$2165; Attr:daCompat; Ch1:#$0056; Ch2:#$0049; Ch3:#$FFFF), // ROMAN NUMERAL SIX (Unicode:#$2166; Attr:daCompat; Ch1:#$0056; Ch2:#$0049; Ch3:#$0049; Ch4:#$FFFF), // ROMAN NUMERAL SEVEN (Unicode:#$2167; Attr:daCompat; Ch1:#$0056; Ch2:#$0049; Ch3:#$0049; Ch4:#$0049; Ch5:#$FFFF), // ROMAN NUMERAL EIGHT (Unicode:#$2168; Attr:daCompat; Ch1:#$0049; Ch2:#$0058; Ch3:#$FFFF), // ROMAN NUMERAL NINE (Unicode:#$2169; Attr:daCompat; Ch1:#$0058; Ch2:#$FFFF), // ROMAN NUMERAL TEN (Unicode:#$216A; Attr:daCompat; Ch1:#$0058; Ch2:#$0049; Ch3:#$FFFF), // ROMAN NUMERAL ELEVEN (Unicode:#$216B; Attr:daCompat; Ch1:#$0058; Ch2:#$0049; Ch3:#$0049; Ch4:#$FFFF), // ROMAN NUMERAL TWELVE (Unicode:#$216C; Attr:daCompat; Ch1:#$004C; Ch2:#$FFFF), // ROMAN NUMERAL FIFTY (Unicode:#$216D; Attr:daCompat; Ch1:#$0043; Ch2:#$FFFF), // ROMAN NUMERAL ONE HUNDRED (Unicode:#$216E; Attr:daCompat; Ch1:#$0044; Ch2:#$FFFF), // ROMAN NUMERAL FIVE HUNDRED (Unicode:#$216F; Attr:daCompat; Ch1:#$004D; Ch2:#$FFFF), // ROMAN NUMERAL ONE THOUSAND (Unicode:#$2170; Attr:daCompat; Ch1:#$0069; Ch2:#$FFFF), // SMALL ROMAN NUMERAL ONE (Unicode:#$2171; Attr:daCompat; Ch1:#$0069; Ch2:#$0069; Ch3:#$FFFF), // SMALL ROMAN NUMERAL TWO (Unicode:#$2172; Attr:daCompat; Ch1:#$0069; Ch2:#$0069; Ch3:#$0069; Ch4:#$FFFF), // SMALL ROMAN NUMERAL THREE (Unicode:#$2173; Attr:daCompat; Ch1:#$0069; Ch2:#$0076; Ch3:#$FFFF), // SMALL ROMAN NUMERAL FOUR (Unicode:#$2174; Attr:daCompat; Ch1:#$0076; Ch2:#$FFFF), // SMALL ROMAN NUMERAL FIVE (Unicode:#$2175; Attr:daCompat; Ch1:#$0076; Ch2:#$0069; Ch3:#$FFFF), // SMALL ROMAN NUMERAL SIX (Unicode:#$2176; Attr:daCompat; Ch1:#$0076; Ch2:#$0069; Ch3:#$0069; Ch4:#$FFFF), // SMALL ROMAN NUMERAL SEVEN (Unicode:#$2177; Attr:daCompat; Ch1:#$0076; Ch2:#$0069; Ch3:#$0069; Ch4:#$0069; Ch5:#$FFFF), // SMALL ROMAN NUMERAL EIGHT (Unicode:#$2178; Attr:daCompat; Ch1:#$0069; Ch2:#$0078; Ch3:#$FFFF), // SMALL ROMAN NUMERAL NINE (Unicode:#$2179; Attr:daCompat; Ch1:#$0078; Ch2:#$FFFF), // SMALL ROMAN NUMERAL TEN (Unicode:#$217A; Attr:daCompat; Ch1:#$0078; Ch2:#$0069; Ch3:#$FFFF), // SMALL ROMAN NUMERAL ELEVEN (Unicode:#$217B; Attr:daCompat; Ch1:#$0078; Ch2:#$0069; Ch3:#$0069; Ch4:#$FFFF), // SMALL ROMAN NUMERAL TWELVE (Unicode:#$217C; Attr:daCompat; Ch1:#$006C; Ch2:#$FFFF), // SMALL ROMAN NUMERAL FIFTY (Unicode:#$217D; Attr:daCompat; Ch1:#$0063; Ch2:#$FFFF), // SMALL ROMAN NUMERAL ONE HUNDRED (Unicode:#$217E; Attr:daCompat; Ch1:#$0064; Ch2:#$FFFF), // SMALL ROMAN NUMERAL FIVE HUNDRED (Unicode:#$217F; Attr:daCompat; Ch1:#$006D; Ch2:#$FFFF), // SMALL ROMAN NUMERAL ONE THOUSAND (Unicode:#$219A; Attr:daNone; Ch1:#$2190; Ch2:#$0338; Ch3:#$FFFF), // LEFTWARDS ARROW WITH STROKE (Unicode:#$219B; Attr:daNone; Ch1:#$2192; Ch2:#$0338; Ch3:#$FFFF), // RIGHTWARDS ARROW WITH STROKE (Unicode:#$21AE; Attr:daNone; Ch1:#$2194; Ch2:#$0338; Ch3:#$FFFF), // LEFT RIGHT ARROW WITH STROKE (Unicode:#$21CD; Attr:daNone; Ch1:#$21D0; Ch2:#$0338; Ch3:#$FFFF), // LEFTWARDS DOUBLE ARROW WITH STROKE (Unicode:#$21CE; Attr:daNone; Ch1:#$21D4; Ch2:#$0338; Ch3:#$FFFF), // LEFT RIGHT DOUBLE ARROW WITH STROKE (Unicode:#$21CF; Attr:daNone; Ch1:#$21D2; Ch2:#$0338; Ch3:#$FFFF), // RIGHTWARDS DOUBLE ARROW WITH STROKE (Unicode:#$2204; Attr:daNone; Ch1:#$2203; Ch2:#$0338; Ch3:#$FFFF), // THERE DOES NOT EXIST (Unicode:#$2209; Attr:daNone; Ch1:#$2208; Ch2:#$0338; Ch3:#$FFFF), // NOT AN ELEMENT OF (Unicode:#$220C; Attr:daNone; Ch1:#$220B; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT CONTAIN AS MEMBER (Unicode:#$2224; Attr:daNone; Ch1:#$2223; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT DIVIDE (Unicode:#$2226; Attr:daNone; Ch1:#$2225; Ch2:#$0338; Ch3:#$FFFF), // NOT PARALLEL TO (Unicode:#$222C; Attr:daCompat; Ch1:#$222B; Ch2:#$222B; Ch3:#$FFFF), // DOUBLE INTEGRAL (Unicode:#$222D; Attr:daCompat; Ch1:#$222B; Ch2:#$222B; Ch3:#$222B; Ch4:#$FFFF), // TRIPLE INTEGRAL (Unicode:#$222F; Attr:daCompat; Ch1:#$222E; Ch2:#$222E; Ch3:#$FFFF), // SURFACE INTEGRAL (Unicode:#$2230; Attr:daCompat; Ch1:#$222E; Ch2:#$222E; Ch3:#$222E; Ch4:#$FFFF), // VOLUME INTEGRAL (Unicode:#$2241; Attr:daNone; Ch1:#$223C; Ch2:#$0338; Ch3:#$FFFF), // NOT TILDE (Unicode:#$2244; Attr:daNone; Ch1:#$2243; Ch2:#$0338; Ch3:#$FFFF), // NOT ASYMPTOTICALLY EQUAL TO (Unicode:#$2247; Attr:daNone; Ch1:#$2245; Ch2:#$0338; Ch3:#$FFFF), // NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO (Unicode:#$2249; Attr:daNone; Ch1:#$2248; Ch2:#$0338; Ch3:#$FFFF), // NOT ALMOST EQUAL TO (Unicode:#$2260; Attr:daNone; Ch1:#$003D; Ch2:#$0338; Ch3:#$FFFF), // NOT EQUAL TO (Unicode:#$2262; Attr:daNone; Ch1:#$2261; Ch2:#$0338; Ch3:#$FFFF), // NOT IDENTICAL TO (Unicode:#$226D; Attr:daNone; Ch1:#$224D; Ch2:#$0338; Ch3:#$FFFF), // NOT EQUIVALENT TO (Unicode:#$226E; Attr:daNone; Ch1:#$003C; Ch2:#$0338; Ch3:#$FFFF), // NOT LESS-THAN (Unicode:#$226F; Attr:daNone; Ch1:#$003E; Ch2:#$0338; Ch3:#$FFFF), // NOT GREATER-THAN (Unicode:#$2270; Attr:daNone; Ch1:#$2264; Ch2:#$0338; Ch3:#$FFFF), // NEITHER LESS-THAN NOR EQUAL TO (Unicode:#$2271; Attr:daNone; Ch1:#$2265; Ch2:#$0338; Ch3:#$FFFF), // NEITHER GREATER-THAN NOR EQUAL TO (Unicode:#$2274; Attr:daNone; Ch1:#$2272; Ch2:#$0338; Ch3:#$FFFF), // NEITHER LESS-THAN NOR EQUIVALENT TO (Unicode:#$2275; Attr:daNone; Ch1:#$2273; Ch2:#$0338; Ch3:#$FFFF), // NEITHER GREATER-THAN NOR EQUIVALENT TO (Unicode:#$2278; Attr:daNone; Ch1:#$2276; Ch2:#$0338; Ch3:#$FFFF), // NEITHER LESS-THAN NOR GREATER-THAN (Unicode:#$2279; Attr:daNone; Ch1:#$2277; Ch2:#$0338; Ch3:#$FFFF), // NEITHER GREATER-THAN NOR LESS-THAN (Unicode:#$2280; Attr:daNone; Ch1:#$227A; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT PRECEDE (Unicode:#$2281; Attr:daNone; Ch1:#$227B; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT SUCCEED (Unicode:#$2284; Attr:daNone; Ch1:#$2282; Ch2:#$0338; Ch3:#$FFFF), // NOT A SUBSET OF (Unicode:#$2285; Attr:daNone; Ch1:#$2283; Ch2:#$0338; Ch3:#$FFFF), // NOT A SUPERSET OF (Unicode:#$2288; Attr:daNone; Ch1:#$2286; Ch2:#$0338; Ch3:#$FFFF), // NEITHER A SUBSET OF NOR EQUAL TO (Unicode:#$2289; Attr:daNone; Ch1:#$2287; Ch2:#$0338; Ch3:#$FFFF), // NEITHER A SUPERSET OF NOR EQUAL TO (Unicode:#$22AC; Attr:daNone; Ch1:#$22A2; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT PROVE (Unicode:#$22AD; Attr:daNone; Ch1:#$22A8; Ch2:#$0338; Ch3:#$FFFF), // NOT TRUE (Unicode:#$22AE; Attr:daNone; Ch1:#$22A9; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT FORCE (Unicode:#$22AF; Attr:daNone; Ch1:#$22AB; Ch2:#$0338; Ch3:#$FFFF), // NEGATED DOUBLE VERTICAL BAR DOUBLE RIGHT TURNSTILE (Unicode:#$22E0; Attr:daNone; Ch1:#$227C; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT PRECEDE OR EQUAL (Unicode:#$22E1; Attr:daNone; Ch1:#$227D; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT SUCCEED OR EQUAL (Unicode:#$22E2; Attr:daNone; Ch1:#$2291; Ch2:#$0338; Ch3:#$FFFF), // NOT SQUARE IMAGE OF OR EQUAL TO (Unicode:#$22E3; Attr:daNone; Ch1:#$2292; Ch2:#$0338; Ch3:#$FFFF), // NOT SQUARE ORIGINAL OF OR EQUAL TO (Unicode:#$22EA; Attr:daNone; Ch1:#$22B2; Ch2:#$0338; Ch3:#$FFFF), // NOT NORMAL SUBGROUP OF (Unicode:#$22EB; Attr:daNone; Ch1:#$22B3; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT CONTAIN AS NORMAL SUBGROUP (Unicode:#$22EC; Attr:daNone; Ch1:#$22B4; Ch2:#$0338; Ch3:#$FFFF), // NOT NORMAL SUBGROUP OF OR EQUAL TO (Unicode:#$22ED; Attr:daNone; Ch1:#$22B5; Ch2:#$0338; Ch3:#$FFFF), // DOES NOT CONTAIN AS NORMAL SUBGROUP OR EQUAL (Unicode:#$2329; Attr:daNone; Ch1:#$3008; Ch2:#$FFFF), // LEFT-POINTING ANGLE BRACKET (Unicode:#$232A; Attr:daNone; Ch1:#$3009; Ch2:#$FFFF), // RIGHT-POINTING ANGLE BRACKET (Unicode:#$2460; Attr:daCircle; Ch1:#$0031; Ch2:#$FFFF), // CIRCLED DIGIT ONE (Unicode:#$2461; Attr:daCircle; Ch1:#$0032; Ch2:#$FFFF), // CIRCLED DIGIT TWO (Unicode:#$2462; Attr:daCircle; Ch1:#$0033; Ch2:#$FFFF), // CIRCLED DIGIT THREE (Unicode:#$2463; Attr:daCircle; Ch1:#$0034; Ch2:#$FFFF), // CIRCLED DIGIT FOUR (Unicode:#$2464; Attr:daCircle; Ch1:#$0035; Ch2:#$FFFF), // CIRCLED DIGIT FIVE (Unicode:#$2465; Attr:daCircle; Ch1:#$0036; Ch2:#$FFFF), // CIRCLED DIGIT SIX (Unicode:#$2466; Attr:daCircle; Ch1:#$0037; Ch2:#$FFFF), // CIRCLED DIGIT SEVEN (Unicode:#$2467; Attr:daCircle; Ch1:#$0038; Ch2:#$FFFF), // CIRCLED DIGIT EIGHT (Unicode:#$2468; Attr:daCircle; Ch1:#$0039; Ch2:#$FFFF), // CIRCLED DIGIT NINE (Unicode:#$2469; Attr:daCircle; Ch1:#$0031; Ch2:#$0030; Ch3:#$FFFF), // CIRCLED NUMBER TEN (Unicode:#$246A; Attr:daCircle; Ch1:#$0031; Ch2:#$0031; Ch3:#$FFFF), // CIRCLED NUMBER ELEVEN (Unicode:#$246B; Attr:daCircle; Ch1:#$0031; Ch2:#$0032; Ch3:#$FFFF), // CIRCLED NUMBER TWELVE (Unicode:#$246C; Attr:daCircle; Ch1:#$0031; Ch2:#$0033; Ch3:#$FFFF), // CIRCLED NUMBER THIRTEEN (Unicode:#$246D; Attr:daCircle; Ch1:#$0031; Ch2:#$0034; Ch3:#$FFFF), // CIRCLED NUMBER FOURTEEN (Unicode:#$246E; Attr:daCircle; Ch1:#$0031; Ch2:#$0035; Ch3:#$FFFF), // CIRCLED NUMBER FIFTEEN (Unicode:#$246F; Attr:daCircle; Ch1:#$0031; Ch2:#$0036; Ch3:#$FFFF), // CIRCLED NUMBER SIXTEEN (Unicode:#$2470; Attr:daCircle; Ch1:#$0031; Ch2:#$0037; Ch3:#$FFFF), // CIRCLED NUMBER SEVENTEEN (Unicode:#$2471; Attr:daCircle; Ch1:#$0031; Ch2:#$0038; Ch3:#$FFFF), // CIRCLED NUMBER EIGHTEEN (Unicode:#$2472; Attr:daCircle; Ch1:#$0031; Ch2:#$0039; Ch3:#$FFFF), // CIRCLED NUMBER NINETEEN (Unicode:#$2473; Attr:daCircle; Ch1:#$0032; Ch2:#$0030; Ch3:#$FFFF), // CIRCLED NUMBER TWENTY (Unicode:#$2474; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT ONE (Unicode:#$2475; Attr:daCompat; Ch1:#$0028; Ch2:#$0032; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT TWO (Unicode:#$2476; Attr:daCompat; Ch1:#$0028; Ch2:#$0033; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT THREE (Unicode:#$2477; Attr:daCompat; Ch1:#$0028; Ch2:#$0034; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT FOUR (Unicode:#$2478; Attr:daCompat; Ch1:#$0028; Ch2:#$0035; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT FIVE (Unicode:#$2479; Attr:daCompat; Ch1:#$0028; Ch2:#$0036; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT SIX (Unicode:#$247A; Attr:daCompat; Ch1:#$0028; Ch2:#$0037; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT SEVEN (Unicode:#$247B; Attr:daCompat; Ch1:#$0028; Ch2:#$0038; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT EIGHT (Unicode:#$247C; Attr:daCompat; Ch1:#$0028; Ch2:#$0039; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED DIGIT NINE (Unicode:#$247D; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0030; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER TEN (Unicode:#$247E; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0031; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER ELEVEN (Unicode:#$247F; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0032; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER TWELVE (Unicode:#$2480; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0033; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER THIRTEEN (Unicode:#$2481; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0034; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER FOURTEEN (Unicode:#$2482; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0035; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER FIFTEEN (Unicode:#$2483; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0036; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER SIXTEEN (Unicode:#$2484; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0037; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER SEVENTEEN (Unicode:#$2485; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0038; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER EIGHTEEN (Unicode:#$2486; Attr:daCompat; Ch1:#$0028; Ch2:#$0031; Ch3:#$0039; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER NINETEEN (Unicode:#$2487; Attr:daCompat; Ch1:#$0028; Ch2:#$0032; Ch3:#$0030; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED NUMBER TWENTY (Unicode:#$2488; Attr:daCompat; Ch1:#$0031; Ch2:#$002E; Ch3:#$FFFF), // DIGIT ONE FULL STOP (Unicode:#$2489; Attr:daCompat; Ch1:#$0032; Ch2:#$002E; Ch3:#$FFFF), // DIGIT TWO FULL STOP (Unicode:#$248A; Attr:daCompat; Ch1:#$0033; Ch2:#$002E; Ch3:#$FFFF), // DIGIT THREE FULL STOP (Unicode:#$248B; Attr:daCompat; Ch1:#$0034; Ch2:#$002E; Ch3:#$FFFF), // DIGIT FOUR FULL STOP (Unicode:#$248C; Attr:daCompat; Ch1:#$0035; Ch2:#$002E; Ch3:#$FFFF), // DIGIT FIVE FULL STOP (Unicode:#$248D; Attr:daCompat; Ch1:#$0036; Ch2:#$002E; Ch3:#$FFFF), // DIGIT SIX FULL STOP (Unicode:#$248E; Attr:daCompat; Ch1:#$0037; Ch2:#$002E; Ch3:#$FFFF), // DIGIT SEVEN FULL STOP (Unicode:#$248F; Attr:daCompat; Ch1:#$0038; Ch2:#$002E; Ch3:#$FFFF), // DIGIT EIGHT FULL STOP (Unicode:#$2490; Attr:daCompat; Ch1:#$0039; Ch2:#$002E; Ch3:#$FFFF), // DIGIT NINE FULL STOP (Unicode:#$2491; Attr:daCompat; Ch1:#$0031; Ch2:#$0030; Ch3:#$002E; Ch4:#$FFFF), // NUMBER TEN FULL STOP (Unicode:#$2492; Attr:daCompat; Ch1:#$0031; Ch2:#$0031; Ch3:#$002E; Ch4:#$FFFF), // NUMBER ELEVEN FULL STOP (Unicode:#$2493; Attr:daCompat; Ch1:#$0031; Ch2:#$0032; Ch3:#$002E; Ch4:#$FFFF), // NUMBER TWELVE FULL STOP (Unicode:#$2494; Attr:daCompat; Ch1:#$0031; Ch2:#$0033; Ch3:#$002E; Ch4:#$FFFF), // NUMBER THIRTEEN FULL STOP (Unicode:#$2495; Attr:daCompat; Ch1:#$0031; Ch2:#$0034; Ch3:#$002E; Ch4:#$FFFF), // NUMBER FOURTEEN FULL STOP (Unicode:#$2496; Attr:daCompat; Ch1:#$0031; Ch2:#$0035; Ch3:#$002E; Ch4:#$FFFF), // NUMBER FIFTEEN FULL STOP (Unicode:#$2497; Attr:daCompat; Ch1:#$0031; Ch2:#$0036; Ch3:#$002E; Ch4:#$FFFF), // NUMBER SIXTEEN FULL STOP (Unicode:#$2498; Attr:daCompat; Ch1:#$0031; Ch2:#$0037; Ch3:#$002E; Ch4:#$FFFF), // NUMBER SEVENTEEN FULL STOP (Unicode:#$2499; Attr:daCompat; Ch1:#$0031; Ch2:#$0038; Ch3:#$002E; Ch4:#$FFFF), // NUMBER EIGHTEEN FULL STOP (Unicode:#$249A; Attr:daCompat; Ch1:#$0031; Ch2:#$0039; Ch3:#$002E; Ch4:#$FFFF), // NUMBER NINETEEN FULL STOP (Unicode:#$249B; Attr:daCompat; Ch1:#$0032; Ch2:#$0030; Ch3:#$002E; Ch4:#$FFFF), // NUMBER TWENTY FULL STOP (Unicode:#$249C; Attr:daCompat; Ch1:#$0028; Ch2:#$0061; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER A (Unicode:#$249D; Attr:daCompat; Ch1:#$0028; Ch2:#$0062; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER B (Unicode:#$249E; Attr:daCompat; Ch1:#$0028; Ch2:#$0063; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER C (Unicode:#$249F; Attr:daCompat; Ch1:#$0028; Ch2:#$0064; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER D (Unicode:#$24A0; Attr:daCompat; Ch1:#$0028; Ch2:#$0065; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER E (Unicode:#$24A1; Attr:daCompat; Ch1:#$0028; Ch2:#$0066; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER F (Unicode:#$24A2; Attr:daCompat; Ch1:#$0028; Ch2:#$0067; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER G (Unicode:#$24A3; Attr:daCompat; Ch1:#$0028; Ch2:#$0068; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER H (Unicode:#$24A4; Attr:daCompat; Ch1:#$0028; Ch2:#$0069; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER I (Unicode:#$24A5; Attr:daCompat; Ch1:#$0028; Ch2:#$006A; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER J (Unicode:#$24A6; Attr:daCompat; Ch1:#$0028; Ch2:#$006B; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER K (Unicode:#$24A7; Attr:daCompat; Ch1:#$0028; Ch2:#$006C; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER L (Unicode:#$24A8; Attr:daCompat; Ch1:#$0028; Ch2:#$006D; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER M (Unicode:#$24A9; Attr:daCompat; Ch1:#$0028; Ch2:#$006E; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER N (Unicode:#$24AA; Attr:daCompat; Ch1:#$0028; Ch2:#$006F; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER O (Unicode:#$24AB; Attr:daCompat; Ch1:#$0028; Ch2:#$0070; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER P (Unicode:#$24AC; Attr:daCompat; Ch1:#$0028; Ch2:#$0071; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER Q (Unicode:#$24AD; Attr:daCompat; Ch1:#$0028; Ch2:#$0072; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER R (Unicode:#$24AE; Attr:daCompat; Ch1:#$0028; Ch2:#$0073; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER S (Unicode:#$24AF; Attr:daCompat; Ch1:#$0028; Ch2:#$0074; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER T (Unicode:#$24B0; Attr:daCompat; Ch1:#$0028; Ch2:#$0075; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER U (Unicode:#$24B1; Attr:daCompat; Ch1:#$0028; Ch2:#$0076; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER V (Unicode:#$24B2; Attr:daCompat; Ch1:#$0028; Ch2:#$0077; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER W (Unicode:#$24B3; Attr:daCompat; Ch1:#$0028; Ch2:#$0078; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER X (Unicode:#$24B4; Attr:daCompat; Ch1:#$0028; Ch2:#$0079; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER Y (Unicode:#$24B5; Attr:daCompat; Ch1:#$0028; Ch2:#$007A; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED LATIN SMALL LETTER Z (Unicode:#$24B6; Attr:daCircle; Ch1:#$0041; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER A (Unicode:#$24B7; Attr:daCircle; Ch1:#$0042; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER B (Unicode:#$24B8; Attr:daCircle; Ch1:#$0043; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER C (Unicode:#$24B9; Attr:daCircle; Ch1:#$0044; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER D (Unicode:#$24BA; Attr:daCircle; Ch1:#$0045; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER E (Unicode:#$24BB; Attr:daCircle; Ch1:#$0046; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER F (Unicode:#$24BC; Attr:daCircle; Ch1:#$0047; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER G (Unicode:#$24BD; Attr:daCircle; Ch1:#$0048; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER H (Unicode:#$24BE; Attr:daCircle; Ch1:#$0049; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER I (Unicode:#$24BF; Attr:daCircle; Ch1:#$004A; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER J (Unicode:#$24C0; Attr:daCircle; Ch1:#$004B; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER K (Unicode:#$24C1; Attr:daCircle; Ch1:#$004C; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER L (Unicode:#$24C2; Attr:daCircle; Ch1:#$004D; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER M (Unicode:#$24C3; Attr:daCircle; Ch1:#$004E; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER N (Unicode:#$24C4; Attr:daCircle; Ch1:#$004F; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER O (Unicode:#$24C5; Attr:daCircle; Ch1:#$0050; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER P (Unicode:#$24C6; Attr:daCircle; Ch1:#$0051; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER Q (Unicode:#$24C7; Attr:daCircle; Ch1:#$0052; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER R (Unicode:#$24C8; Attr:daCircle; Ch1:#$0053; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER S (Unicode:#$24C9; Attr:daCircle; Ch1:#$0054; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER T (Unicode:#$24CA; Attr:daCircle; Ch1:#$0055; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER U (Unicode:#$24CB; Attr:daCircle; Ch1:#$0056; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER V (Unicode:#$24CC; Attr:daCircle; Ch1:#$0057; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER W (Unicode:#$24CD; Attr:daCircle; Ch1:#$0058; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER X (Unicode:#$24CE; Attr:daCircle; Ch1:#$0059; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER Y (Unicode:#$24CF; Attr:daCircle; Ch1:#$005A; Ch2:#$FFFF), // CIRCLED LATIN CAPITAL LETTER Z (Unicode:#$24D0; Attr:daCircle; Ch1:#$0061; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER A (Unicode:#$24D1; Attr:daCircle; Ch1:#$0062; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER B (Unicode:#$24D2; Attr:daCircle; Ch1:#$0063; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER C (Unicode:#$24D3; Attr:daCircle; Ch1:#$0064; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER D (Unicode:#$24D4; Attr:daCircle; Ch1:#$0065; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER E (Unicode:#$24D5; Attr:daCircle; Ch1:#$0066; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER F (Unicode:#$24D6; Attr:daCircle; Ch1:#$0067; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER G (Unicode:#$24D7; Attr:daCircle; Ch1:#$0068; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER H (Unicode:#$24D8; Attr:daCircle; Ch1:#$0069; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER I (Unicode:#$24D9; Attr:daCircle; Ch1:#$006A; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER J (Unicode:#$24DA; Attr:daCircle; Ch1:#$006B; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER K (Unicode:#$24DB; Attr:daCircle; Ch1:#$006C; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER L (Unicode:#$24DC; Attr:daCircle; Ch1:#$006D; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER M (Unicode:#$24DD; Attr:daCircle; Ch1:#$006E; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER N (Unicode:#$24DE; Attr:daCircle; Ch1:#$006F; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER O (Unicode:#$24DF; Attr:daCircle; Ch1:#$0070; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER P (Unicode:#$24E0; Attr:daCircle; Ch1:#$0071; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER Q (Unicode:#$24E1; Attr:daCircle; Ch1:#$0072; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER R (Unicode:#$24E2; Attr:daCircle; Ch1:#$0073; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER S (Unicode:#$24E3; Attr:daCircle; Ch1:#$0074; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER T (Unicode:#$24E4; Attr:daCircle; Ch1:#$0075; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER U (Unicode:#$24E5; Attr:daCircle; Ch1:#$0076; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER V (Unicode:#$24E6; Attr:daCircle; Ch1:#$0077; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER W (Unicode:#$24E7; Attr:daCircle; Ch1:#$0078; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER X (Unicode:#$24E8; Attr:daCircle; Ch1:#$0079; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER Y (Unicode:#$24E9; Attr:daCircle; Ch1:#$007A; Ch2:#$FFFF), // CIRCLED LATIN SMALL LETTER Z (Unicode:#$24EA; Attr:daCircle; Ch1:#$0030; Ch2:#$FFFF), // CIRCLED DIGIT ZERO (Unicode:#$2E9F; Attr:daCompat; Ch1:#$6BCD; Ch2:#$FFFF), // CJK RADICAL MOTHER (Unicode:#$2EF3; Attr:daCompat; Ch1:#$9F9F; Ch2:#$FFFF), // CJK RADICAL C-SIMPLIFIED TURTLE (Unicode:#$2F00; Attr:daCompat; Ch1:#$4E00; Ch2:#$FFFF), // KANGXI RADICAL ONE (Unicode:#$2F01; Attr:daCompat; Ch1:#$4E28; Ch2:#$FFFF), // KANGXI RADICAL LINE (Unicode:#$2F02; Attr:daCompat; Ch1:#$4E36; Ch2:#$FFFF), // KANGXI RADICAL DOT (Unicode:#$2F03; Attr:daCompat; Ch1:#$4E3F; Ch2:#$FFFF), // KANGXI RADICAL SLASH (Unicode:#$2F04; Attr:daCompat; Ch1:#$4E59; Ch2:#$FFFF), // KANGXI RADICAL SECOND (Unicode:#$2F05; Attr:daCompat; Ch1:#$4E85; Ch2:#$FFFF), // KANGXI RADICAL HOOK (Unicode:#$2F06; Attr:daCompat; Ch1:#$4E8C; Ch2:#$FFFF), // KANGXI RADICAL TWO (Unicode:#$2F07; Attr:daCompat; Ch1:#$4EA0; Ch2:#$FFFF), // KANGXI RADICAL LID (Unicode:#$2F08; Attr:daCompat; Ch1:#$4EBA; Ch2:#$FFFF), // KANGXI RADICAL MAN (Unicode:#$2F09; Attr:daCompat; Ch1:#$513F; Ch2:#$FFFF), // KANGXI RADICAL LEGS (Unicode:#$2F0A; Attr:daCompat; Ch1:#$5165; Ch2:#$FFFF), // KANGXI RADICAL ENTER (Unicode:#$2F0B; Attr:daCompat; Ch1:#$516B; Ch2:#$FFFF), // KANGXI RADICAL EIGHT (Unicode:#$2F0C; Attr:daCompat; Ch1:#$5182; Ch2:#$FFFF), // KANGXI RADICAL DOWN BOX (Unicode:#$2F0D; Attr:daCompat; Ch1:#$5196; Ch2:#$FFFF), // KANGXI RADICAL COVER (Unicode:#$2F0E; Attr:daCompat; Ch1:#$51AB; Ch2:#$FFFF), // KANGXI RADICAL ICE (Unicode:#$2F0F; Attr:daCompat; Ch1:#$51E0; Ch2:#$FFFF), // KANGXI RADICAL TABLE (Unicode:#$2F10; Attr:daCompat; Ch1:#$51F5; Ch2:#$FFFF), // KANGXI RADICAL OPEN BOX (Unicode:#$2F11; Attr:daCompat; Ch1:#$5200; Ch2:#$FFFF), // KANGXI RADICAL KNIFE (Unicode:#$2F12; Attr:daCompat; Ch1:#$529B; Ch2:#$FFFF), // KANGXI RADICAL POWER (Unicode:#$2F13; Attr:daCompat; Ch1:#$52F9; Ch2:#$FFFF), // KANGXI RADICAL WRAP (Unicode:#$2F14; Attr:daCompat; Ch1:#$5315; Ch2:#$FFFF), // KANGXI RADICAL SPOON (Unicode:#$2F15; Attr:daCompat; Ch1:#$531A; Ch2:#$FFFF), // KANGXI RADICAL RIGHT OPEN BOX (Unicode:#$2F16; Attr:daCompat; Ch1:#$5338; Ch2:#$FFFF), // KANGXI RADICAL HIDING ENCLOSURE (Unicode:#$2F17; Attr:daCompat; Ch1:#$5341; Ch2:#$FFFF), // KANGXI RADICAL TEN (Unicode:#$2F18; Attr:daCompat; Ch1:#$535C; Ch2:#$FFFF), // KANGXI RADICAL DIVINATION (Unicode:#$2F19; Attr:daCompat; Ch1:#$5369; Ch2:#$FFFF), // KANGXI RADICAL SEAL (Unicode:#$2F1A; Attr:daCompat; Ch1:#$5382; Ch2:#$FFFF), // KANGXI RADICAL CLIFF (Unicode:#$2F1B; Attr:daCompat; Ch1:#$53B6; Ch2:#$FFFF), // KANGXI RADICAL PRIVATE (Unicode:#$2F1C; Attr:daCompat; Ch1:#$53C8; Ch2:#$FFFF), // KANGXI RADICAL AGAIN (Unicode:#$2F1D; Attr:daCompat; Ch1:#$53E3; Ch2:#$FFFF), // KANGXI RADICAL MOUTH (Unicode:#$2F1E; Attr:daCompat; Ch1:#$56D7; Ch2:#$FFFF), // KANGXI RADICAL ENCLOSURE (Unicode:#$2F1F; Attr:daCompat; Ch1:#$571F; Ch2:#$FFFF), // KANGXI RADICAL EARTH (Unicode:#$2F20; Attr:daCompat; Ch1:#$58EB; Ch2:#$FFFF), // KANGXI RADICAL SCHOLAR (Unicode:#$2F21; Attr:daCompat; Ch1:#$5902; Ch2:#$FFFF), // KANGXI RADICAL GO (Unicode:#$2F22; Attr:daCompat; Ch1:#$590A; Ch2:#$FFFF), // KANGXI RADICAL GO SLOWLY (Unicode:#$2F23; Attr:daCompat; Ch1:#$5915; Ch2:#$FFFF), // KANGXI RADICAL EVENING (Unicode:#$2F24; Attr:daCompat; Ch1:#$5927; Ch2:#$FFFF), // KANGXI RADICAL BIG (Unicode:#$2F25; Attr:daCompat; Ch1:#$5973; Ch2:#$FFFF), // KANGXI RADICAL WOMAN (Unicode:#$2F26; Attr:daCompat; Ch1:#$5B50; Ch2:#$FFFF), // KANGXI RADICAL CHILD (Unicode:#$2F27; Attr:daCompat; Ch1:#$5B80; Ch2:#$FFFF), // KANGXI RADICAL ROOF (Unicode:#$2F28; Attr:daCompat; Ch1:#$5BF8; Ch2:#$FFFF), // KANGXI RADICAL INCH (Unicode:#$2F29; Attr:daCompat; Ch1:#$5C0F; Ch2:#$FFFF), // KANGXI RADICAL SMALL (Unicode:#$2F2A; Attr:daCompat; Ch1:#$5C22; Ch2:#$FFFF), // KANGXI RADICAL LAME (Unicode:#$2F2B; Attr:daCompat; Ch1:#$5C38; Ch2:#$FFFF), // KANGXI RADICAL CORPSE (Unicode:#$2F2C; Attr:daCompat; Ch1:#$5C6E; Ch2:#$FFFF), // KANGXI RADICAL SPROUT (Unicode:#$2F2D; Attr:daCompat; Ch1:#$5C71; Ch2:#$FFFF), // KANGXI RADICAL MOUNTAIN (Unicode:#$2F2E; Attr:daCompat; Ch1:#$5DDB; Ch2:#$FFFF), // KANGXI RADICAL RIVER (Unicode:#$2F2F; Attr:daCompat; Ch1:#$5DE5; Ch2:#$FFFF), // KANGXI RADICAL WORK (Unicode:#$2F30; Attr:daCompat; Ch1:#$5DF1; Ch2:#$FFFF), // KANGXI RADICAL ONESELF (Unicode:#$2F31; Attr:daCompat; Ch1:#$5DFE; Ch2:#$FFFF), // KANGXI RADICAL TURBAN (Unicode:#$2F32; Attr:daCompat; Ch1:#$5E72; Ch2:#$FFFF), // KANGXI RADICAL DRY (Unicode:#$2F33; Attr:daCompat; Ch1:#$5E7A; Ch2:#$FFFF), // KANGXI RADICAL SHORT THREAD (Unicode:#$2F34; Attr:daCompat; Ch1:#$5E7F; Ch2:#$FFFF), // KANGXI RADICAL DOTTED CLIFF (Unicode:#$2F35; Attr:daCompat; Ch1:#$5EF4; Ch2:#$FFFF), // KANGXI RADICAL LONG STRIDE (Unicode:#$2F36; Attr:daCompat; Ch1:#$5EFE; Ch2:#$FFFF), // KANGXI RADICAL TWO HANDS (Unicode:#$2F37; Attr:daCompat; Ch1:#$5F0B; Ch2:#$FFFF), // KANGXI RADICAL SHOOT (Unicode:#$2F38; Attr:daCompat; Ch1:#$5F13; Ch2:#$FFFF), // KANGXI RADICAL BOW (Unicode:#$2F39; Attr:daCompat; Ch1:#$5F50; Ch2:#$FFFF), // KANGXI RADICAL SNOUT (Unicode:#$2F3A; Attr:daCompat; Ch1:#$5F61; Ch2:#$FFFF), // KANGXI RADICAL BRISTLE (Unicode:#$2F3B; Attr:daCompat; Ch1:#$5F73; Ch2:#$FFFF), // KANGXI RADICAL STEP (Unicode:#$2F3C; Attr:daCompat; Ch1:#$5FC3; Ch2:#$FFFF), // KANGXI RADICAL HEART (Unicode:#$2F3D; Attr:daCompat; Ch1:#$6208; Ch2:#$FFFF), // KANGXI RADICAL HALBERD (Unicode:#$2F3E; Attr:daCompat; Ch1:#$6236; Ch2:#$FFFF), // KANGXI RADICAL DOOR (Unicode:#$2F3F; Attr:daCompat; Ch1:#$624B; Ch2:#$FFFF), // KANGXI RADICAL HAND (Unicode:#$2F40; Attr:daCompat; Ch1:#$652F; Ch2:#$FFFF), // KANGXI RADICAL BRANCH (Unicode:#$2F41; Attr:daCompat; Ch1:#$6534; Ch2:#$FFFF), // KANGXI RADICAL RAP (Unicode:#$2F42; Attr:daCompat; Ch1:#$6587; Ch2:#$FFFF), // KANGXI RADICAL SCRIPT (Unicode:#$2F43; Attr:daCompat; Ch1:#$6597; Ch2:#$FFFF), // KANGXI RADICAL DIPPER (Unicode:#$2F44; Attr:daCompat; Ch1:#$65A4; Ch2:#$FFFF), // KANGXI RADICAL AXE (Unicode:#$2F45; Attr:daCompat; Ch1:#$65B9; Ch2:#$FFFF), // KANGXI RADICAL SQUARE (Unicode:#$2F46; Attr:daCompat; Ch1:#$65E0; Ch2:#$FFFF), // KANGXI RADICAL NOT (Unicode:#$2F47; Attr:daCompat; Ch1:#$65E5; Ch2:#$FFFF), // KANGXI RADICAL SUN (Unicode:#$2F48; Attr:daCompat; Ch1:#$66F0; Ch2:#$FFFF), // KANGXI RADICAL SAY (Unicode:#$2F49; Attr:daCompat; Ch1:#$6708; Ch2:#$FFFF), // KANGXI RADICAL MOON (Unicode:#$2F4A; Attr:daCompat; Ch1:#$6728; Ch2:#$FFFF), // KANGXI RADICAL TREE (Unicode:#$2F4B; Attr:daCompat; Ch1:#$6B20; Ch2:#$FFFF), // KANGXI RADICAL LACK (Unicode:#$2F4C; Attr:daCompat; Ch1:#$6B62; Ch2:#$FFFF), // KANGXI RADICAL STOP (Unicode:#$2F4D; Attr:daCompat; Ch1:#$6B79; Ch2:#$FFFF), // KANGXI RADICAL DEATH (Unicode:#$2F4E; Attr:daCompat; Ch1:#$6BB3; Ch2:#$FFFF), // KANGXI RADICAL WEAPON (Unicode:#$2F4F; Attr:daCompat; Ch1:#$6BCB; Ch2:#$FFFF), // KANGXI RADICAL DO NOT (Unicode:#$2F50; Attr:daCompat; Ch1:#$6BD4; Ch2:#$FFFF), // KANGXI RADICAL COMPARE (Unicode:#$2F51; Attr:daCompat; Ch1:#$6BDB; Ch2:#$FFFF), // KANGXI RADICAL FUR (Unicode:#$2F52; Attr:daCompat; Ch1:#$6C0F; Ch2:#$FFFF), // KANGXI RADICAL CLAN (Unicode:#$2F53; Attr:daCompat; Ch1:#$6C14; Ch2:#$FFFF), // KANGXI RADICAL STEAM (Unicode:#$2F54; Attr:daCompat; Ch1:#$6C34; Ch2:#$FFFF), // KANGXI RADICAL WATER (Unicode:#$2F55; Attr:daCompat; Ch1:#$706B; Ch2:#$FFFF), // KANGXI RADICAL FIRE (Unicode:#$2F56; Attr:daCompat; Ch1:#$722A; Ch2:#$FFFF), // KANGXI RADICAL CLAW (Unicode:#$2F57; Attr:daCompat; Ch1:#$7236; Ch2:#$FFFF), // KANGXI RADICAL FATHER (Unicode:#$2F58; Attr:daCompat; Ch1:#$723B; Ch2:#$FFFF), // KANGXI RADICAL DOUBLE X (Unicode:#$2F59; Attr:daCompat; Ch1:#$723F; Ch2:#$FFFF), // KANGXI RADICAL HALF TREE TRUNK (Unicode:#$2F5A; Attr:daCompat; Ch1:#$7247; Ch2:#$FFFF), // KANGXI RADICAL SLICE (Unicode:#$2F5B; Attr:daCompat; Ch1:#$7259; Ch2:#$FFFF), // KANGXI RADICAL FANG (Unicode:#$2F5C; Attr:daCompat; Ch1:#$725B; Ch2:#$FFFF), // KANGXI RADICAL COW (Unicode:#$2F5D; Attr:daCompat; Ch1:#$72AC; Ch2:#$FFFF), // KANGXI RADICAL DOG (Unicode:#$2F5E; Attr:daCompat; Ch1:#$7384; Ch2:#$FFFF), // KANGXI RADICAL PROFOUND (Unicode:#$2F5F; Attr:daCompat; Ch1:#$7389; Ch2:#$FFFF), // KANGXI RADICAL JADE (Unicode:#$2F60; Attr:daCompat; Ch1:#$74DC; Ch2:#$FFFF), // KANGXI RADICAL MELON (Unicode:#$2F61; Attr:daCompat; Ch1:#$74E6; Ch2:#$FFFF), // KANGXI RADICAL TILE (Unicode:#$2F62; Attr:daCompat; Ch1:#$7518; Ch2:#$FFFF), // KANGXI RADICAL SWEET (Unicode:#$2F63; Attr:daCompat; Ch1:#$751F; Ch2:#$FFFF), // KANGXI RADICAL LIFE (Unicode:#$2F64; Attr:daCompat; Ch1:#$7528; Ch2:#$FFFF), // KANGXI RADICAL USE (Unicode:#$2F65; Attr:daCompat; Ch1:#$7530; Ch2:#$FFFF), // KANGXI RADICAL FIELD (Unicode:#$2F66; Attr:daCompat; Ch1:#$758B; Ch2:#$FFFF), // KANGXI RADICAL BOLT OF CLOTH (Unicode:#$2F67; Attr:daCompat; Ch1:#$7592; Ch2:#$FFFF), // KANGXI RADICAL SICKNESS (Unicode:#$2F68; Attr:daCompat; Ch1:#$7676; Ch2:#$FFFF), // KANGXI RADICAL DOTTED TENT (Unicode:#$2F69; Attr:daCompat; Ch1:#$767D; Ch2:#$FFFF), // KANGXI RADICAL WHITE (Unicode:#$2F6A; Attr:daCompat; Ch1:#$76AE; Ch2:#$FFFF), // KANGXI RADICAL SKIN (Unicode:#$2F6B; Attr:daCompat; Ch1:#$76BF; Ch2:#$FFFF), // KANGXI RADICAL DISH (Unicode:#$2F6C; Attr:daCompat; Ch1:#$76EE; Ch2:#$FFFF), // KANGXI RADICAL EYE (Unicode:#$2F6D; Attr:daCompat; Ch1:#$77DB; Ch2:#$FFFF), // KANGXI RADICAL SPEAR (Unicode:#$2F6E; Attr:daCompat; Ch1:#$77E2; Ch2:#$FFFF), // KANGXI RADICAL ARROW (Unicode:#$2F6F; Attr:daCompat; Ch1:#$77F3; Ch2:#$FFFF), // KANGXI RADICAL STONE (Unicode:#$2F70; Attr:daCompat; Ch1:#$793A; Ch2:#$FFFF), // KANGXI RADICAL SPIRIT (Unicode:#$2F71; Attr:daCompat; Ch1:#$79B8; Ch2:#$FFFF), // KANGXI RADICAL TRACK (Unicode:#$2F72; Attr:daCompat; Ch1:#$79BE; Ch2:#$FFFF), // KANGXI RADICAL GRAIN (Unicode:#$2F73; Attr:daCompat; Ch1:#$7A74; Ch2:#$FFFF), // KANGXI RADICAL CAVE (Unicode:#$2F74; Attr:daCompat; Ch1:#$7ACB; Ch2:#$FFFF), // KANGXI RADICAL STAND (Unicode:#$2F75; Attr:daCompat; Ch1:#$7AF9; Ch2:#$FFFF), // KANGXI RADICAL BAMBOO (Unicode:#$2F76; Attr:daCompat; Ch1:#$7C73; Ch2:#$FFFF), // KANGXI RADICAL RICE (Unicode:#$2F77; Attr:daCompat; Ch1:#$7CF8; Ch2:#$FFFF), // KANGXI RADICAL SILK (Unicode:#$2F78; Attr:daCompat; Ch1:#$7F36; Ch2:#$FFFF), // KANGXI RADICAL JAR (Unicode:#$2F79; Attr:daCompat; Ch1:#$7F51; Ch2:#$FFFF), // KANGXI RADICAL NET (Unicode:#$2F7A; Attr:daCompat; Ch1:#$7F8A; Ch2:#$FFFF), // KANGXI RADICAL SHEEP (Unicode:#$2F7B; Attr:daCompat; Ch1:#$7FBD; Ch2:#$FFFF), // KANGXI RADICAL FEATHER (Unicode:#$2F7C; Attr:daCompat; Ch1:#$8001; Ch2:#$FFFF), // KANGXI RADICAL OLD (Unicode:#$2F7D; Attr:daCompat; Ch1:#$800C; Ch2:#$FFFF), // KANGXI RADICAL AND (Unicode:#$2F7E; Attr:daCompat; Ch1:#$8012; Ch2:#$FFFF), // KANGXI RADICAL PLOW (Unicode:#$2F7F; Attr:daCompat; Ch1:#$8033; Ch2:#$FFFF), // KANGXI RADICAL EAR (Unicode:#$2F80; Attr:daCompat; Ch1:#$807F; Ch2:#$FFFF), // KANGXI RADICAL BRUSH (Unicode:#$2F81; Attr:daCompat; Ch1:#$8089; Ch2:#$FFFF), // KANGXI RADICAL MEAT (Unicode:#$2F82; Attr:daCompat; Ch1:#$81E3; Ch2:#$FFFF), // KANGXI RADICAL MINISTER (Unicode:#$2F83; Attr:daCompat; Ch1:#$81EA; Ch2:#$FFFF), // KANGXI RADICAL SELF (Unicode:#$2F84; Attr:daCompat; Ch1:#$81F3; Ch2:#$FFFF), // KANGXI RADICAL ARRIVE (Unicode:#$2F85; Attr:daCompat; Ch1:#$81FC; Ch2:#$FFFF), // KANGXI RADICAL MORTAR (Unicode:#$2F86; Attr:daCompat; Ch1:#$820C; Ch2:#$FFFF), // KANGXI RADICAL TONGUE (Unicode:#$2F87; Attr:daCompat; Ch1:#$821B; Ch2:#$FFFF), // KANGXI RADICAL OPPOSE (Unicode:#$2F88; Attr:daCompat; Ch1:#$821F; Ch2:#$FFFF), // KANGXI RADICAL BOAT (Unicode:#$2F89; Attr:daCompat; Ch1:#$826E; Ch2:#$FFFF), // KANGXI RADICAL STOPPING (Unicode:#$2F8A; Attr:daCompat; Ch1:#$8272; Ch2:#$FFFF), // KANGXI RADICAL COLOR (Unicode:#$2F8B; Attr:daCompat; Ch1:#$8278; Ch2:#$FFFF), // KANGXI RADICAL GRASS (Unicode:#$2F8C; Attr:daCompat; Ch1:#$864D; Ch2:#$FFFF), // KANGXI RADICAL TIGER (Unicode:#$2F8D; Attr:daCompat; Ch1:#$866B; Ch2:#$FFFF), // KANGXI RADICAL INSECT (Unicode:#$2F8E; Attr:daCompat; Ch1:#$8840; Ch2:#$FFFF), // KANGXI RADICAL BLOOD (Unicode:#$2F8F; Attr:daCompat; Ch1:#$884C; Ch2:#$FFFF), // KANGXI RADICAL WALK ENCLOSURE (Unicode:#$2F90; Attr:daCompat; Ch1:#$8863; Ch2:#$FFFF), // KANGXI RADICAL CLOTHES (Unicode:#$2F91; Attr:daCompat; Ch1:#$897E; Ch2:#$FFFF), // KANGXI RADICAL WEST (Unicode:#$2F92; Attr:daCompat; Ch1:#$898B; Ch2:#$FFFF), // KANGXI RADICAL SEE (Unicode:#$2F93; Attr:daCompat; Ch1:#$89D2; Ch2:#$FFFF), // KANGXI RADICAL HORN (Unicode:#$2F94; Attr:daCompat; Ch1:#$8A00; Ch2:#$FFFF), // KANGXI RADICAL SPEECH (Unicode:#$2F95; Attr:daCompat; Ch1:#$8C37; Ch2:#$FFFF), // KANGXI RADICAL VALLEY (Unicode:#$2F96; Attr:daCompat; Ch1:#$8C46; Ch2:#$FFFF), // KANGXI RADICAL BEAN (Unicode:#$2F97; Attr:daCompat; Ch1:#$8C55; Ch2:#$FFFF), // KANGXI RADICAL PIG (Unicode:#$2F98; Attr:daCompat; Ch1:#$8C78; Ch2:#$FFFF), // KANGXI RADICAL BADGER (Unicode:#$2F99; Attr:daCompat; Ch1:#$8C9D; Ch2:#$FFFF), // KANGXI RADICAL SHELL (Unicode:#$2F9A; Attr:daCompat; Ch1:#$8D64; Ch2:#$FFFF), // KANGXI RADICAL RED (Unicode:#$2F9B; Attr:daCompat; Ch1:#$8D70; Ch2:#$FFFF), // KANGXI RADICAL RUN (Unicode:#$2F9C; Attr:daCompat; Ch1:#$8DB3; Ch2:#$FFFF), // KANGXI RADICAL FOOT (Unicode:#$2F9D; Attr:daCompat; Ch1:#$8EAB; Ch2:#$FFFF), // KANGXI RADICAL BODY (Unicode:#$2F9E; Attr:daCompat; Ch1:#$8ECA; Ch2:#$FFFF), // KANGXI RADICAL CART (Unicode:#$2F9F; Attr:daCompat; Ch1:#$8F9B; Ch2:#$FFFF), // KANGXI RADICAL BITTER (Unicode:#$2FA0; Attr:daCompat; Ch1:#$8FB0; Ch2:#$FFFF), // KANGXI RADICAL MORNING (Unicode:#$2FA1; Attr:daCompat; Ch1:#$8FB5; Ch2:#$FFFF), // KANGXI RADICAL WALK (Unicode:#$2FA2; Attr:daCompat; Ch1:#$9091; Ch2:#$FFFF), // KANGXI RADICAL CITY (Unicode:#$2FA3; Attr:daCompat; Ch1:#$9149; Ch2:#$FFFF), // KANGXI RADICAL WINE (Unicode:#$2FA4; Attr:daCompat; Ch1:#$91C6; Ch2:#$FFFF), // KANGXI RADICAL DISTINGUISH (Unicode:#$2FA5; Attr:daCompat; Ch1:#$91CC; Ch2:#$FFFF), // KANGXI RADICAL VILLAGE (Unicode:#$2FA6; Attr:daCompat; Ch1:#$91D1; Ch2:#$FFFF), // KANGXI RADICAL GOLD (Unicode:#$2FA7; Attr:daCompat; Ch1:#$9577; Ch2:#$FFFF), // KANGXI RADICAL LONG (Unicode:#$2FA8; Attr:daCompat; Ch1:#$9580; Ch2:#$FFFF), // KANGXI RADICAL GATE (Unicode:#$2FA9; Attr:daCompat; Ch1:#$961C; Ch2:#$FFFF), // KANGXI RADICAL MOUND (Unicode:#$2FAA; Attr:daCompat; Ch1:#$96B6; Ch2:#$FFFF), // KANGXI RADICAL SLAVE (Unicode:#$2FAB; Attr:daCompat; Ch1:#$96B9; Ch2:#$FFFF), // KANGXI RADICAL SHORT TAILED BIRD (Unicode:#$2FAC; Attr:daCompat; Ch1:#$96E8; Ch2:#$FFFF), // KANGXI RADICAL RAIN (Unicode:#$2FAD; Attr:daCompat; Ch1:#$9751; Ch2:#$FFFF), // KANGXI RADICAL BLUE (Unicode:#$2FAE; Attr:daCompat; Ch1:#$975E; Ch2:#$FFFF), // KANGXI RADICAL WRONG (Unicode:#$2FAF; Attr:daCompat; Ch1:#$9762; Ch2:#$FFFF), // KANGXI RADICAL FACE (Unicode:#$2FB0; Attr:daCompat; Ch1:#$9769; Ch2:#$FFFF), // KANGXI RADICAL LEATHER (Unicode:#$2FB1; Attr:daCompat; Ch1:#$97CB; Ch2:#$FFFF), // KANGXI RADICAL TANNED LEATHER (Unicode:#$2FB2; Attr:daCompat; Ch1:#$97ED; Ch2:#$FFFF), // KANGXI RADICAL LEEK (Unicode:#$2FB3; Attr:daCompat; Ch1:#$97F3; Ch2:#$FFFF), // KANGXI RADICAL SOUND (Unicode:#$2FB4; Attr:daCompat; Ch1:#$9801; Ch2:#$FFFF), // KANGXI RADICAL LEAF (Unicode:#$2FB5; Attr:daCompat; Ch1:#$98A8; Ch2:#$FFFF), // KANGXI RADICAL WIND (Unicode:#$2FB6; Attr:daCompat; Ch1:#$98DB; Ch2:#$FFFF), // KANGXI RADICAL FLY (Unicode:#$2FB7; Attr:daCompat; Ch1:#$98DF; Ch2:#$FFFF), // KANGXI RADICAL EAT (Unicode:#$2FB8; Attr:daCompat; Ch1:#$9996; Ch2:#$FFFF), // KANGXI RADICAL HEAD (Unicode:#$2FB9; Attr:daCompat; Ch1:#$9999; Ch2:#$FFFF), // KANGXI RADICAL FRAGRANT (Unicode:#$2FBA; Attr:daCompat; Ch1:#$99AC; Ch2:#$FFFF), // KANGXI RADICAL HORSE (Unicode:#$2FBB; Attr:daCompat; Ch1:#$9AA8; Ch2:#$FFFF), // KANGXI RADICAL BONE (Unicode:#$2FBC; Attr:daCompat; Ch1:#$9AD8; Ch2:#$FFFF), // KANGXI RADICAL TALL (Unicode:#$2FBD; Attr:daCompat; Ch1:#$9ADF; Ch2:#$FFFF), // KANGXI RADICAL HAIR (Unicode:#$2FBE; Attr:daCompat; Ch1:#$9B25; Ch2:#$FFFF), // KANGXI RADICAL FIGHT (Unicode:#$2FBF; Attr:daCompat; Ch1:#$9B2F; Ch2:#$FFFF), // KANGXI RADICAL SACRIFICIAL WINE (Unicode:#$2FC0; Attr:daCompat; Ch1:#$9B32; Ch2:#$FFFF), // KANGXI RADICAL CAULDRON (Unicode:#$2FC1; Attr:daCompat; Ch1:#$9B3C; Ch2:#$FFFF), // KANGXI RADICAL GHOST (Unicode:#$2FC2; Attr:daCompat; Ch1:#$9B5A; Ch2:#$FFFF), // KANGXI RADICAL FISH (Unicode:#$2FC3; Attr:daCompat; Ch1:#$9CE5; Ch2:#$FFFF), // KANGXI RADICAL BIRD (Unicode:#$2FC4; Attr:daCompat; Ch1:#$9E75; Ch2:#$FFFF), // KANGXI RADICAL SALT (Unicode:#$2FC5; Attr:daCompat; Ch1:#$9E7F; Ch2:#$FFFF), // KANGXI RADICAL DEER (Unicode:#$2FC6; Attr:daCompat; Ch1:#$9EA5; Ch2:#$FFFF), // KANGXI RADICAL WHEAT (Unicode:#$2FC7; Attr:daCompat; Ch1:#$9EBB; Ch2:#$FFFF), // KANGXI RADICAL HEMP (Unicode:#$2FC8; Attr:daCompat; Ch1:#$9EC3; Ch2:#$FFFF), // KANGXI RADICAL YELLOW (Unicode:#$2FC9; Attr:daCompat; Ch1:#$9ECD; Ch2:#$FFFF), // KANGXI RADICAL MILLET (Unicode:#$2FCA; Attr:daCompat; Ch1:#$9ED1; Ch2:#$FFFF), // KANGXI RADICAL BLACK (Unicode:#$2FCB; Attr:daCompat; Ch1:#$9EF9; Ch2:#$FFFF), // KANGXI RADICAL EMBROIDERY (Unicode:#$2FCC; Attr:daCompat; Ch1:#$9EFD; Ch2:#$FFFF), // KANGXI RADICAL FROG (Unicode:#$2FCD; Attr:daCompat; Ch1:#$9F0E; Ch2:#$FFFF), // KANGXI RADICAL TRIPOD (Unicode:#$2FCE; Attr:daCompat; Ch1:#$9F13; Ch2:#$FFFF), // KANGXI RADICAL DRUM (Unicode:#$2FCF; Attr:daCompat; Ch1:#$9F20; Ch2:#$FFFF), // KANGXI RADICAL RAT (Unicode:#$2FD0; Attr:daCompat; Ch1:#$9F3B; Ch2:#$FFFF), // KANGXI RADICAL NOSE (Unicode:#$2FD1; Attr:daCompat; Ch1:#$9F4A; Ch2:#$FFFF), // KANGXI RADICAL EVEN (Unicode:#$2FD2; Attr:daCompat; Ch1:#$9F52; Ch2:#$FFFF), // KANGXI RADICAL TOOTH (Unicode:#$2FD3; Attr:daCompat; Ch1:#$9F8D; Ch2:#$FFFF), // KANGXI RADICAL DRAGON (Unicode:#$2FD4; Attr:daCompat; Ch1:#$9F9C; Ch2:#$FFFF), // KANGXI RADICAL TURTLE (Unicode:#$2FD5; Attr:daCompat; Ch1:#$9FA0; Ch2:#$FFFF), // KANGXI RADICAL FLUTE (Unicode:#$3000; Attr:daWide; Ch1:#$0020; Ch2:#$FFFF), // IDEOGRAPHIC SPACE (Unicode:#$3036; Attr:daCompat; Ch1:#$3012; Ch2:#$FFFF), // CIRCLED POSTAL MARK (Unicode:#$3038; Attr:daCompat; Ch1:#$5341; Ch2:#$FFFF), // HANGZHOU NUMERAL TEN (Unicode:#$3039; Attr:daCompat; Ch1:#$5344; Ch2:#$FFFF), // HANGZHOU NUMERAL TWENTY (Unicode:#$303A; Attr:daCompat; Ch1:#$5345; Ch2:#$FFFF), // HANGZHOU NUMERAL THIRTY (Unicode:#$304C; Attr:daNone; Ch1:#$304B; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER GA (Unicode:#$304E; Attr:daNone; Ch1:#$304D; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER GI (Unicode:#$3050; Attr:daNone; Ch1:#$304F; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER GU (Unicode:#$3052; Attr:daNone; Ch1:#$3051; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER GE (Unicode:#$3054; Attr:daNone; Ch1:#$3053; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER GO (Unicode:#$3056; Attr:daNone; Ch1:#$3055; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER ZA (Unicode:#$3058; Attr:daNone; Ch1:#$3057; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER ZI (Unicode:#$305A; Attr:daNone; Ch1:#$3059; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER ZU (Unicode:#$305C; Attr:daNone; Ch1:#$305B; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER ZE (Unicode:#$305E; Attr:daNone; Ch1:#$305D; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER ZO (Unicode:#$3060; Attr:daNone; Ch1:#$305F; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER DA (Unicode:#$3062; Attr:daNone; Ch1:#$3061; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER DI (Unicode:#$3065; Attr:daNone; Ch1:#$3064; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER DU (Unicode:#$3067; Attr:daNone; Ch1:#$3066; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER DE (Unicode:#$3069; Attr:daNone; Ch1:#$3068; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER DO (Unicode:#$3070; Attr:daNone; Ch1:#$306F; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER BA (Unicode:#$3071; Attr:daNone; Ch1:#$306F; Ch2:#$309A; Ch3:#$FFFF), // HIRAGANA LETTER PA (Unicode:#$3073; Attr:daNone; Ch1:#$3072; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER BI (Unicode:#$3074; Attr:daNone; Ch1:#$3072; Ch2:#$309A; Ch3:#$FFFF), // HIRAGANA LETTER PI (Unicode:#$3076; Attr:daNone; Ch1:#$3075; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER BU (Unicode:#$3077; Attr:daNone; Ch1:#$3075; Ch2:#$309A; Ch3:#$FFFF), // HIRAGANA LETTER PU (Unicode:#$3079; Attr:daNone; Ch1:#$3078; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER BE (Unicode:#$307A; Attr:daNone; Ch1:#$3078; Ch2:#$309A; Ch3:#$FFFF), // HIRAGANA LETTER PE (Unicode:#$307C; Attr:daNone; Ch1:#$307B; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER BO (Unicode:#$307D; Attr:daNone; Ch1:#$307B; Ch2:#$309A; Ch3:#$FFFF), // HIRAGANA LETTER PO (Unicode:#$3094; Attr:daNone; Ch1:#$3046; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA LETTER VU (Unicode:#$309B; Attr:daCompat; Ch1:#$0020; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA-HIRAGANA VOICED SOUND MARK (Unicode:#$309C; Attr:daCompat; Ch1:#$0020; Ch2:#$309A; Ch3:#$FFFF), // KATAKANA-HIRAGANA SEMI-VOICED SOUND MARK (Unicode:#$309E; Attr:daNone; Ch1:#$309D; Ch2:#$3099; Ch3:#$FFFF), // HIRAGANA VOICED ITERATION MARK (Unicode:#$30AC; Attr:daNone; Ch1:#$30AB; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER GA (Unicode:#$30AE; Attr:daNone; Ch1:#$30AD; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER GI (Unicode:#$30B0; Attr:daNone; Ch1:#$30AF; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER GU (Unicode:#$30B2; Attr:daNone; Ch1:#$30B1; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER GE (Unicode:#$30B4; Attr:daNone; Ch1:#$30B3; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER GO (Unicode:#$30B6; Attr:daNone; Ch1:#$30B5; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER ZA (Unicode:#$30B8; Attr:daNone; Ch1:#$30B7; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER ZI (Unicode:#$30BA; Attr:daNone; Ch1:#$30B9; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER ZU (Unicode:#$30BC; Attr:daNone; Ch1:#$30BB; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER ZE (Unicode:#$30BE; Attr:daNone; Ch1:#$30BD; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER ZO (Unicode:#$30C0; Attr:daNone; Ch1:#$30BF; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER DA (Unicode:#$30C2; Attr:daNone; Ch1:#$30C1; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER DI (Unicode:#$30C5; Attr:daNone; Ch1:#$30C4; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER DU (Unicode:#$30C7; Attr:daNone; Ch1:#$30C6; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER DE (Unicode:#$30C9; Attr:daNone; Ch1:#$30C8; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER DO (Unicode:#$30D0; Attr:daNone; Ch1:#$30CF; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER BA (Unicode:#$30D1; Attr:daNone; Ch1:#$30CF; Ch2:#$309A; Ch3:#$FFFF), // KATAKANA LETTER PA (Unicode:#$30D3; Attr:daNone; Ch1:#$30D2; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER BI (Unicode:#$30D4; Attr:daNone; Ch1:#$30D2; Ch2:#$309A; Ch3:#$FFFF), // KATAKANA LETTER PI (Unicode:#$30D6; Attr:daNone; Ch1:#$30D5; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER BU (Unicode:#$30D7; Attr:daNone; Ch1:#$30D5; Ch2:#$309A; Ch3:#$FFFF), // KATAKANA LETTER PU (Unicode:#$30D9; Attr:daNone; Ch1:#$30D8; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER BE (Unicode:#$30DA; Attr:daNone; Ch1:#$30D8; Ch2:#$309A; Ch3:#$FFFF), // KATAKANA LETTER PE (Unicode:#$30DC; Attr:daNone; Ch1:#$30DB; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER BO (Unicode:#$30DD; Attr:daNone; Ch1:#$30DB; Ch2:#$309A; Ch3:#$FFFF), // KATAKANA LETTER PO (Unicode:#$30F4; Attr:daNone; Ch1:#$30A6; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER VU (Unicode:#$30F7; Attr:daNone; Ch1:#$30EF; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER VA (Unicode:#$30F8; Attr:daNone; Ch1:#$30F0; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER VI (Unicode:#$30F9; Attr:daNone; Ch1:#$30F1; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER VE (Unicode:#$30FA; Attr:daNone; Ch1:#$30F2; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA LETTER VO (Unicode:#$30FE; Attr:daNone; Ch1:#$30FD; Ch2:#$3099; Ch3:#$FFFF), // KATAKANA VOICED ITERATION MARK (Unicode:#$3131; Attr:daCompat; Ch1:#$1100; Ch2:#$FFFF), // HANGUL LETTER KIYEOK (Unicode:#$3132; Attr:daCompat; Ch1:#$1101; Ch2:#$FFFF), // HANGUL LETTER SSANGKIYEOK (Unicode:#$3133; Attr:daCompat; Ch1:#$11AA; Ch2:#$FFFF), // HANGUL LETTER KIYEOK-SIOS (Unicode:#$3134; Attr:daCompat; Ch1:#$1102; Ch2:#$FFFF), // HANGUL LETTER NIEUN (Unicode:#$3135; Attr:daCompat; Ch1:#$11AC; Ch2:#$FFFF), // HANGUL LETTER NIEUN-CIEUC (Unicode:#$3136; Attr:daCompat; Ch1:#$11AD; Ch2:#$FFFF), // HANGUL LETTER NIEUN-HIEUH (Unicode:#$3137; Attr:daCompat; Ch1:#$1103; Ch2:#$FFFF), // HANGUL LETTER TIKEUT (Unicode:#$3138; Attr:daCompat; Ch1:#$1104; Ch2:#$FFFF), // HANGUL LETTER SSANGTIKEUT (Unicode:#$3139; Attr:daCompat; Ch1:#$1105; Ch2:#$FFFF), // HANGUL LETTER RIEUL (Unicode:#$313A; Attr:daCompat; Ch1:#$11B0; Ch2:#$FFFF), // HANGUL LETTER RIEUL-KIYEOK (Unicode:#$313B; Attr:daCompat; Ch1:#$11B1; Ch2:#$FFFF), // HANGUL LETTER RIEUL-MIEUM (Unicode:#$313C; Attr:daCompat; Ch1:#$11B2; Ch2:#$FFFF), // HANGUL LETTER RIEUL-PIEUP (Unicode:#$313D; Attr:daCompat; Ch1:#$11B3; Ch2:#$FFFF), // HANGUL LETTER RIEUL-SIOS (Unicode:#$313E; Attr:daCompat; Ch1:#$11B4; Ch2:#$FFFF), // HANGUL LETTER RIEUL-THIEUTH (Unicode:#$313F; Attr:daCompat; Ch1:#$11B5; Ch2:#$FFFF), // HANGUL LETTER RIEUL-PHIEUPH (Unicode:#$3140; Attr:daCompat; Ch1:#$111A; Ch2:#$FFFF), // HANGUL LETTER RIEUL-HIEUH (Unicode:#$3141; Attr:daCompat; Ch1:#$1106; Ch2:#$FFFF), // HANGUL LETTER MIEUM (Unicode:#$3142; Attr:daCompat; Ch1:#$1107; Ch2:#$FFFF), // HANGUL LETTER PIEUP (Unicode:#$3143; Attr:daCompat; Ch1:#$1108; Ch2:#$FFFF), // HANGUL LETTER SSANGPIEUP (Unicode:#$3144; Attr:daCompat; Ch1:#$1121; Ch2:#$FFFF), // HANGUL LETTER PIEUP-SIOS (Unicode:#$3145; Attr:daCompat; Ch1:#$1109; Ch2:#$FFFF), // HANGUL LETTER SIOS (Unicode:#$3146; Attr:daCompat; Ch1:#$110A; Ch2:#$FFFF), // HANGUL LETTER SSANGSIOS (Unicode:#$3147; Attr:daCompat; Ch1:#$110B; Ch2:#$FFFF), // HANGUL LETTER IEUNG (Unicode:#$3148; Attr:daCompat; Ch1:#$110C; Ch2:#$FFFF), // HANGUL LETTER CIEUC (Unicode:#$3149; Attr:daCompat; Ch1:#$110D; Ch2:#$FFFF), // HANGUL LETTER SSANGCIEUC (Unicode:#$314A; Attr:daCompat; Ch1:#$110E; Ch2:#$FFFF), // HANGUL LETTER CHIEUCH (Unicode:#$314B; Attr:daCompat; Ch1:#$110F; Ch2:#$FFFF), // HANGUL LETTER KHIEUKH (Unicode:#$314C; Attr:daCompat; Ch1:#$1110; Ch2:#$FFFF), // HANGUL LETTER THIEUTH (Unicode:#$314D; Attr:daCompat; Ch1:#$1111; Ch2:#$FFFF), // HANGUL LETTER PHIEUPH (Unicode:#$314E; Attr:daCompat; Ch1:#$1112; Ch2:#$FFFF), // HANGUL LETTER HIEUH (Unicode:#$314F; Attr:daCompat; Ch1:#$1161; Ch2:#$FFFF), // HANGUL LETTER A (Unicode:#$3150; Attr:daCompat; Ch1:#$1162; Ch2:#$FFFF), // HANGUL LETTER AE (Unicode:#$3151; Attr:daCompat; Ch1:#$1163; Ch2:#$FFFF), // HANGUL LETTER YA (Unicode:#$3152; Attr:daCompat; Ch1:#$1164; Ch2:#$FFFF), // HANGUL LETTER YAE (Unicode:#$3153; Attr:daCompat; Ch1:#$1165; Ch2:#$FFFF), // HANGUL LETTER EO (Unicode:#$3154; Attr:daCompat; Ch1:#$1166; Ch2:#$FFFF), // HANGUL LETTER E (Unicode:#$3155; Attr:daCompat; Ch1:#$1167; Ch2:#$FFFF), // HANGUL LETTER YEO (Unicode:#$3156; Attr:daCompat; Ch1:#$1168; Ch2:#$FFFF), // HANGUL LETTER YE (Unicode:#$3157; Attr:daCompat; Ch1:#$1169; Ch2:#$FFFF), // HANGUL LETTER O (Unicode:#$3158; Attr:daCompat; Ch1:#$116A; Ch2:#$FFFF), // HANGUL LETTER WA (Unicode:#$3159; Attr:daCompat; Ch1:#$116B; Ch2:#$FFFF), // HANGUL LETTER WAE (Unicode:#$315A; Attr:daCompat; Ch1:#$116C; Ch2:#$FFFF), // HANGUL LETTER OE (Unicode:#$315B; Attr:daCompat; Ch1:#$116D; Ch2:#$FFFF), // HANGUL LETTER YO (Unicode:#$315C; Attr:daCompat; Ch1:#$116E; Ch2:#$FFFF), // HANGUL LETTER U (Unicode:#$315D; Attr:daCompat; Ch1:#$116F; Ch2:#$FFFF), // HANGUL LETTER WEO (Unicode:#$315E; Attr:daCompat; Ch1:#$1170; Ch2:#$FFFF), // HANGUL LETTER WE (Unicode:#$315F; Attr:daCompat; Ch1:#$1171; Ch2:#$FFFF), // HANGUL LETTER WI (Unicode:#$3160; Attr:daCompat; Ch1:#$1172; Ch2:#$FFFF), // HANGUL LETTER YU (Unicode:#$3161; Attr:daCompat; Ch1:#$1173; Ch2:#$FFFF), // HANGUL LETTER EU (Unicode:#$3162; Attr:daCompat; Ch1:#$1174; Ch2:#$FFFF), // HANGUL LETTER YI (Unicode:#$3163; Attr:daCompat; Ch1:#$1175; Ch2:#$FFFF), // HANGUL LETTER I (Unicode:#$3164; Attr:daCompat; Ch1:#$1160; Ch2:#$FFFF), // HANGUL FILLER (Unicode:#$3165; Attr:daCompat; Ch1:#$1114; Ch2:#$FFFF), // HANGUL LETTER SSANGNIEUN (Unicode:#$3166; Attr:daCompat; Ch1:#$1115; Ch2:#$FFFF), // HANGUL LETTER NIEUN-TIKEUT (Unicode:#$3167; Attr:daCompat; Ch1:#$11C7; Ch2:#$FFFF), // HANGUL LETTER NIEUN-SIOS (Unicode:#$3168; Attr:daCompat; Ch1:#$11C8; Ch2:#$FFFF), // HANGUL LETTER NIEUN-PANSIOS (Unicode:#$3169; Attr:daCompat; Ch1:#$11CC; Ch2:#$FFFF), // HANGUL LETTER RIEUL-KIYEOK-SIOS (Unicode:#$316A; Attr:daCompat; Ch1:#$11CE; Ch2:#$FFFF), // HANGUL LETTER RIEUL-TIKEUT (Unicode:#$316B; Attr:daCompat; Ch1:#$11D3; Ch2:#$FFFF), // HANGUL LETTER RIEUL-PIEUP-SIOS (Unicode:#$316C; Attr:daCompat; Ch1:#$11D7; Ch2:#$FFFF), // HANGUL LETTER RIEUL-PANSIOS (Unicode:#$316D; Attr:daCompat; Ch1:#$11D9; Ch2:#$FFFF), // HANGUL LETTER RIEUL-YEORINHIEUH (Unicode:#$316E; Attr:daCompat; Ch1:#$111C; Ch2:#$FFFF), // HANGUL LETTER MIEUM-PIEUP (Unicode:#$316F; Attr:daCompat; Ch1:#$11DD; Ch2:#$FFFF), // HANGUL LETTER MIEUM-SIOS (Unicode:#$3170; Attr:daCompat; Ch1:#$11DF; Ch2:#$FFFF), // HANGUL LETTER MIEUM-PANSIOS (Unicode:#$3171; Attr:daCompat; Ch1:#$111D; Ch2:#$FFFF), // HANGUL LETTER KAPYEOUNMIEUM (Unicode:#$3172; Attr:daCompat; Ch1:#$111E; Ch2:#$FFFF), // HANGUL LETTER PIEUP-KIYEOK (Unicode:#$3173; Attr:daCompat; Ch1:#$1120; Ch2:#$FFFF), // HANGUL LETTER PIEUP-TIKEUT (Unicode:#$3174; Attr:daCompat; Ch1:#$1122; Ch2:#$FFFF), // HANGUL LETTER PIEUP-SIOS-KIYEOK (Unicode:#$3175; Attr:daCompat; Ch1:#$1123; Ch2:#$FFFF), // HANGUL LETTER PIEUP-SIOS-TIKEUT (Unicode:#$3176; Attr:daCompat; Ch1:#$1127; Ch2:#$FFFF), // HANGUL LETTER PIEUP-CIEUC (Unicode:#$3177; Attr:daCompat; Ch1:#$1129; Ch2:#$FFFF), // HANGUL LETTER PIEUP-THIEUTH (Unicode:#$3178; Attr:daCompat; Ch1:#$112B; Ch2:#$FFFF), // HANGUL LETTER KAPYEOUNPIEUP (Unicode:#$3179; Attr:daCompat; Ch1:#$112C; Ch2:#$FFFF), // HANGUL LETTER KAPYEOUNSSANGPIEUP (Unicode:#$317A; Attr:daCompat; Ch1:#$112D; Ch2:#$FFFF), // HANGUL LETTER SIOS-KIYEOK (Unicode:#$317B; Attr:daCompat; Ch1:#$112E; Ch2:#$FFFF), // HANGUL LETTER SIOS-NIEUN (Unicode:#$317C; Attr:daCompat; Ch1:#$112F; Ch2:#$FFFF), // HANGUL LETTER SIOS-TIKEUT (Unicode:#$317D; Attr:daCompat; Ch1:#$1132; Ch2:#$FFFF), // HANGUL LETTER SIOS-PIEUP (Unicode:#$317E; Attr:daCompat; Ch1:#$1136; Ch2:#$FFFF), // HANGUL LETTER SIOS-CIEUC (Unicode:#$317F; Attr:daCompat; Ch1:#$1140; Ch2:#$FFFF), // HANGUL LETTER PANSIOS (Unicode:#$3180; Attr:daCompat; Ch1:#$1147; Ch2:#$FFFF), // HANGUL LETTER SSANGIEUNG (Unicode:#$3181; Attr:daCompat; Ch1:#$114C; Ch2:#$FFFF), // HANGUL LETTER YESIEUNG (Unicode:#$3182; Attr:daCompat; Ch1:#$11F1; Ch2:#$FFFF), // HANGUL LETTER YESIEUNG-SIOS (Unicode:#$3183; Attr:daCompat; Ch1:#$11F2; Ch2:#$FFFF), // HANGUL LETTER YESIEUNG-PANSIOS (Unicode:#$3184; Attr:daCompat; Ch1:#$1157; Ch2:#$FFFF), // HANGUL LETTER KAPYEOUNPHIEUPH (Unicode:#$3185; Attr:daCompat; Ch1:#$1158; Ch2:#$FFFF), // HANGUL LETTER SSANGHIEUH (Unicode:#$3186; Attr:daCompat; Ch1:#$1159; Ch2:#$FFFF), // HANGUL LETTER YEORINHIEUH (Unicode:#$3187; Attr:daCompat; Ch1:#$1184; Ch2:#$FFFF), // HANGUL LETTER YO-YA (Unicode:#$3188; Attr:daCompat; Ch1:#$1185; Ch2:#$FFFF), // HANGUL LETTER YO-YAE (Unicode:#$3189; Attr:daCompat; Ch1:#$1188; Ch2:#$FFFF), // HANGUL LETTER YO-I (Unicode:#$318A; Attr:daCompat; Ch1:#$1191; Ch2:#$FFFF), // HANGUL LETTER YU-YEO (Unicode:#$318B; Attr:daCompat; Ch1:#$1192; Ch2:#$FFFF), // HANGUL LETTER YU-YE (Unicode:#$318C; Attr:daCompat; Ch1:#$1194; Ch2:#$FFFF), // HANGUL LETTER YU-I (Unicode:#$318D; Attr:daCompat; Ch1:#$119E; Ch2:#$FFFF), // HANGUL LETTER ARAEA (Unicode:#$318E; Attr:daCompat; Ch1:#$11A1; Ch2:#$FFFF), // HANGUL LETTER ARAEAE (Unicode:#$3192; Attr:daSuper; Ch1:#$4E00; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION ONE MARK (Unicode:#$3193; Attr:daSuper; Ch1:#$4E8C; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION TWO MARK (Unicode:#$3194; Attr:daSuper; Ch1:#$4E09; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION THREE MARK (Unicode:#$3195; Attr:daSuper; Ch1:#$56DB; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION FOUR MARK (Unicode:#$3196; Attr:daSuper; Ch1:#$4E0A; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION TOP MARK (Unicode:#$3197; Attr:daSuper; Ch1:#$4E2D; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION MIDDLE MARK (Unicode:#$3198; Attr:daSuper; Ch1:#$4E0B; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION BOTTOM MARK (Unicode:#$3199; Attr:daSuper; Ch1:#$7532; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION FIRST MARK (Unicode:#$319A; Attr:daSuper; Ch1:#$4E59; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION SECOND MARK (Unicode:#$319B; Attr:daSuper; Ch1:#$4E19; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION THIRD MARK (Unicode:#$319C; Attr:daSuper; Ch1:#$4E01; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION FOURTH MARK (Unicode:#$319D; Attr:daSuper; Ch1:#$5929; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION HEAVEN MARK (Unicode:#$319E; Attr:daSuper; Ch1:#$5730; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION EARTH MARK (Unicode:#$319F; Attr:daSuper; Ch1:#$4EBA; Ch2:#$FFFF), // IDEOGRAPHIC ANNOTATION MAN MARK (Unicode:#$3200; Attr:daCompat; Ch1:#$0028; Ch2:#$1100; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL KIYEOK (Unicode:#$3201; Attr:daCompat; Ch1:#$0028; Ch2:#$1102; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL NIEUN (Unicode:#$3202; Attr:daCompat; Ch1:#$0028; Ch2:#$1103; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL TIKEUT (Unicode:#$3203; Attr:daCompat; Ch1:#$0028; Ch2:#$1105; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL RIEUL (Unicode:#$3204; Attr:daCompat; Ch1:#$0028; Ch2:#$1106; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL MIEUM (Unicode:#$3205; Attr:daCompat; Ch1:#$0028; Ch2:#$1107; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL PIEUP (Unicode:#$3206; Attr:daCompat; Ch1:#$0028; Ch2:#$1109; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL SIOS (Unicode:#$3207; Attr:daCompat; Ch1:#$0028; Ch2:#$110B; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL IEUNG (Unicode:#$3208; Attr:daCompat; Ch1:#$0028; Ch2:#$110C; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL CIEUC (Unicode:#$3209; Attr:daCompat; Ch1:#$0028; Ch2:#$110E; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL CHIEUCH (Unicode:#$320A; Attr:daCompat; Ch1:#$0028; Ch2:#$110F; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL KHIEUKH (Unicode:#$320B; Attr:daCompat; Ch1:#$0028; Ch2:#$1110; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL THIEUTH (Unicode:#$320C; Attr:daCompat; Ch1:#$0028; Ch2:#$1111; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL PHIEUPH (Unicode:#$320D; Attr:daCompat; Ch1:#$0028; Ch2:#$1112; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED HANGUL HIEUH (Unicode:#$320E; Attr:daCompat; Ch1:#$0028; Ch2:#$1100; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL KIYEOK A (Unicode:#$320F; Attr:daCompat; Ch1:#$0028; Ch2:#$1102; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL NIEUN A (Unicode:#$3210; Attr:daCompat; Ch1:#$0028; Ch2:#$1103; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL TIKEUT A (Unicode:#$3211; Attr:daCompat; Ch1:#$0028; Ch2:#$1105; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL RIEUL A (Unicode:#$3212; Attr:daCompat; Ch1:#$0028; Ch2:#$1106; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL MIEUM A (Unicode:#$3213; Attr:daCompat; Ch1:#$0028; Ch2:#$1107; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL PIEUP A (Unicode:#$3214; Attr:daCompat; Ch1:#$0028; Ch2:#$1109; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL SIOS A (Unicode:#$3215; Attr:daCompat; Ch1:#$0028; Ch2:#$110B; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL IEUNG A (Unicode:#$3216; Attr:daCompat; Ch1:#$0028; Ch2:#$110C; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL CIEUC A (Unicode:#$3217; Attr:daCompat; Ch1:#$0028; Ch2:#$110E; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL CHIEUCH A (Unicode:#$3218; Attr:daCompat; Ch1:#$0028; Ch2:#$110F; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL KHIEUKH A (Unicode:#$3219; Attr:daCompat; Ch1:#$0028; Ch2:#$1110; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL THIEUTH A (Unicode:#$321A; Attr:daCompat; Ch1:#$0028; Ch2:#$1111; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL PHIEUPH A (Unicode:#$321B; Attr:daCompat; Ch1:#$0028; Ch2:#$1112; Ch3:#$1161; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL HIEUH A (Unicode:#$321C; Attr:daCompat; Ch1:#$0028; Ch2:#$110C; Ch3:#$116E; Ch4:#$0029; Ch5:#$FFFF), // PARENTHESIZED HANGUL CIEUC U (Unicode:#$3220; Attr:daCompat; Ch1:#$0028; Ch2:#$4E00; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH ONE (Unicode:#$3221; Attr:daCompat; Ch1:#$0028; Ch2:#$4E8C; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH TWO (Unicode:#$3222; Attr:daCompat; Ch1:#$0028; Ch2:#$4E09; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH THREE (Unicode:#$3223; Attr:daCompat; Ch1:#$0028; Ch2:#$56DB; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH FOUR (Unicode:#$3224; Attr:daCompat; Ch1:#$0028; Ch2:#$4E94; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH FIVE (Unicode:#$3225; Attr:daCompat; Ch1:#$0028; Ch2:#$516D; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH SIX (Unicode:#$3226; Attr:daCompat; Ch1:#$0028; Ch2:#$4E03; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH SEVEN (Unicode:#$3227; Attr:daCompat; Ch1:#$0028; Ch2:#$516B; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH EIGHT (Unicode:#$3228; Attr:daCompat; Ch1:#$0028; Ch2:#$4E5D; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH NINE (Unicode:#$3229; Attr:daCompat; Ch1:#$0028; Ch2:#$5341; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH TEN (Unicode:#$322A; Attr:daCompat; Ch1:#$0028; Ch2:#$6708; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH MOON (Unicode:#$322B; Attr:daCompat; Ch1:#$0028; Ch2:#$706B; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH FIRE (Unicode:#$322C; Attr:daCompat; Ch1:#$0028; Ch2:#$6C34; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH WATER (Unicode:#$322D; Attr:daCompat; Ch1:#$0028; Ch2:#$6728; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH WOOD (Unicode:#$322E; Attr:daCompat; Ch1:#$0028; Ch2:#$91D1; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH METAL (Unicode:#$322F; Attr:daCompat; Ch1:#$0028; Ch2:#$571F; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH EARTH (Unicode:#$3230; Attr:daCompat; Ch1:#$0028; Ch2:#$65E5; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH SUN (Unicode:#$3231; Attr:daCompat; Ch1:#$0028; Ch2:#$682A; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH STOCK (Unicode:#$3232; Attr:daCompat; Ch1:#$0028; Ch2:#$6709; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH HAVE (Unicode:#$3233; Attr:daCompat; Ch1:#$0028; Ch2:#$793E; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH SOCIETY (Unicode:#$3234; Attr:daCompat; Ch1:#$0028; Ch2:#$540D; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH NAME (Unicode:#$3235; Attr:daCompat; Ch1:#$0028; Ch2:#$7279; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH SPECIAL (Unicode:#$3236; Attr:daCompat; Ch1:#$0028; Ch2:#$8CA1; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH FINANCIAL (Unicode:#$3237; Attr:daCompat; Ch1:#$0028; Ch2:#$795D; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH CONGRATULATION (Unicode:#$3238; Attr:daCompat; Ch1:#$0028; Ch2:#$52B4; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH LABOR (Unicode:#$3239; Attr:daCompat; Ch1:#$0028; Ch2:#$4EE3; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH REPRESENT (Unicode:#$323A; Attr:daCompat; Ch1:#$0028; Ch2:#$547C; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH CALL (Unicode:#$323B; Attr:daCompat; Ch1:#$0028; Ch2:#$5B66; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH STUDY (Unicode:#$323C; Attr:daCompat; Ch1:#$0028; Ch2:#$76E3; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH SUPERVISE (Unicode:#$323D; Attr:daCompat; Ch1:#$0028; Ch2:#$4F01; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH ENTERPRISE (Unicode:#$323E; Attr:daCompat; Ch1:#$0028; Ch2:#$8CC7; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH RESOURCE (Unicode:#$323F; Attr:daCompat; Ch1:#$0028; Ch2:#$5354; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH ALLIANCE (Unicode:#$3240; Attr:daCompat; Ch1:#$0028; Ch2:#$796D; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH FESTIVAL (Unicode:#$3241; Attr:daCompat; Ch1:#$0028; Ch2:#$4F11; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH REST (Unicode:#$3242; Attr:daCompat; Ch1:#$0028; Ch2:#$81EA; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH SELF (Unicode:#$3243; Attr:daCompat; Ch1:#$0028; Ch2:#$81F3; Ch3:#$0029; Ch4:#$FFFF), // PARENTHESIZED IDEOGRAPH REACH (Unicode:#$3260; Attr:daCircle; Ch1:#$1100; Ch2:#$FFFF), // CIRCLED HANGUL KIYEOK (Unicode:#$3261; Attr:daCircle; Ch1:#$1102; Ch2:#$FFFF), // CIRCLED HANGUL NIEUN (Unicode:#$3262; Attr:daCircle; Ch1:#$1103; Ch2:#$FFFF), // CIRCLED HANGUL TIKEUT (Unicode:#$3263; Attr:daCircle; Ch1:#$1105; Ch2:#$FFFF), // CIRCLED HANGUL RIEUL (Unicode:#$3264; Attr:daCircle; Ch1:#$1106; Ch2:#$FFFF), // CIRCLED HANGUL MIEUM (Unicode:#$3265; Attr:daCircle; Ch1:#$1107; Ch2:#$FFFF), // CIRCLED HANGUL PIEUP (Unicode:#$3266; Attr:daCircle; Ch1:#$1109; Ch2:#$FFFF), // CIRCLED HANGUL SIOS (Unicode:#$3267; Attr:daCircle; Ch1:#$110B; Ch2:#$FFFF), // CIRCLED HANGUL IEUNG (Unicode:#$3268; Attr:daCircle; Ch1:#$110C; Ch2:#$FFFF), // CIRCLED HANGUL CIEUC (Unicode:#$3269; Attr:daCircle; Ch1:#$110E; Ch2:#$FFFF), // CIRCLED HANGUL CHIEUCH (Unicode:#$326A; Attr:daCircle; Ch1:#$110F; Ch2:#$FFFF), // CIRCLED HANGUL KHIEUKH (Unicode:#$326B; Attr:daCircle; Ch1:#$1110; Ch2:#$FFFF), // CIRCLED HANGUL THIEUTH (Unicode:#$326C; Attr:daCircle; Ch1:#$1111; Ch2:#$FFFF), // CIRCLED HANGUL PHIEUPH (Unicode:#$326D; Attr:daCircle; Ch1:#$1112; Ch2:#$FFFF), // CIRCLED HANGUL HIEUH (Unicode:#$326E; Attr:daCircle; Ch1:#$1100; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL KIYEOK A (Unicode:#$326F; Attr:daCircle; Ch1:#$1102; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL NIEUN A (Unicode:#$3270; Attr:daCircle; Ch1:#$1103; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL TIKEUT A (Unicode:#$3271; Attr:daCircle; Ch1:#$1105; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL RIEUL A (Unicode:#$3272; Attr:daCircle; Ch1:#$1106; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL MIEUM A (Unicode:#$3273; Attr:daCircle; Ch1:#$1107; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL PIEUP A (Unicode:#$3274; Attr:daCircle; Ch1:#$1109; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL SIOS A (Unicode:#$3275; Attr:daCircle; Ch1:#$110B; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL IEUNG A (Unicode:#$3276; Attr:daCircle; Ch1:#$110C; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL CIEUC A (Unicode:#$3277; Attr:daCircle; Ch1:#$110E; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL CHIEUCH A (Unicode:#$3278; Attr:daCircle; Ch1:#$110F; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL KHIEUKH A (Unicode:#$3279; Attr:daCircle; Ch1:#$1110; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL THIEUTH A (Unicode:#$327A; Attr:daCircle; Ch1:#$1111; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL PHIEUPH A (Unicode:#$327B; Attr:daCircle; Ch1:#$1112; Ch2:#$1161; Ch3:#$FFFF), // CIRCLED HANGUL HIEUH A (Unicode:#$3280; Attr:daCircle; Ch1:#$4E00; Ch2:#$FFFF), // CIRCLED IDEOGRAPH ONE (Unicode:#$3281; Attr:daCircle; Ch1:#$4E8C; Ch2:#$FFFF), // CIRCLED IDEOGRAPH TWO (Unicode:#$3282; Attr:daCircle; Ch1:#$4E09; Ch2:#$FFFF), // CIRCLED IDEOGRAPH THREE (Unicode:#$3283; Attr:daCircle; Ch1:#$56DB; Ch2:#$FFFF), // CIRCLED IDEOGRAPH FOUR (Unicode:#$3284; Attr:daCircle; Ch1:#$4E94; Ch2:#$FFFF), // CIRCLED IDEOGRAPH FIVE (Unicode:#$3285; Attr:daCircle; Ch1:#$516D; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SIX (Unicode:#$3286; Attr:daCircle; Ch1:#$4E03; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SEVEN (Unicode:#$3287; Attr:daCircle; Ch1:#$516B; Ch2:#$FFFF), // CIRCLED IDEOGRAPH EIGHT (Unicode:#$3288; Attr:daCircle; Ch1:#$4E5D; Ch2:#$FFFF), // CIRCLED IDEOGRAPH NINE (Unicode:#$3289; Attr:daCircle; Ch1:#$5341; Ch2:#$FFFF), // CIRCLED IDEOGRAPH TEN (Unicode:#$328A; Attr:daCircle; Ch1:#$6708; Ch2:#$FFFF), // CIRCLED IDEOGRAPH MOON (Unicode:#$328B; Attr:daCircle; Ch1:#$706B; Ch2:#$FFFF), // CIRCLED IDEOGRAPH FIRE (Unicode:#$328C; Attr:daCircle; Ch1:#$6C34; Ch2:#$FFFF), // CIRCLED IDEOGRAPH WATER (Unicode:#$328D; Attr:daCircle; Ch1:#$6728; Ch2:#$FFFF), // CIRCLED IDEOGRAPH WOOD (Unicode:#$328E; Attr:daCircle; Ch1:#$91D1; Ch2:#$FFFF), // CIRCLED IDEOGRAPH METAL (Unicode:#$328F; Attr:daCircle; Ch1:#$571F; Ch2:#$FFFF), // CIRCLED IDEOGRAPH EARTH (Unicode:#$3290; Attr:daCircle; Ch1:#$65E5; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SUN (Unicode:#$3291; Attr:daCircle; Ch1:#$682A; Ch2:#$FFFF), // CIRCLED IDEOGRAPH STOCK (Unicode:#$3292; Attr:daCircle; Ch1:#$6709; Ch2:#$FFFF), // CIRCLED IDEOGRAPH HAVE (Unicode:#$3293; Attr:daCircle; Ch1:#$793E; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SOCIETY (Unicode:#$3294; Attr:daCircle; Ch1:#$540D; Ch2:#$FFFF), // CIRCLED IDEOGRAPH NAME (Unicode:#$3295; Attr:daCircle; Ch1:#$7279; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SPECIAL (Unicode:#$3296; Attr:daCircle; Ch1:#$8CA1; Ch2:#$FFFF), // CIRCLED IDEOGRAPH FINANCIAL (Unicode:#$3297; Attr:daCircle; Ch1:#$795D; Ch2:#$FFFF), // CIRCLED IDEOGRAPH CONGRATULATION (Unicode:#$3298; Attr:daCircle; Ch1:#$52B4; Ch2:#$FFFF), // CIRCLED IDEOGRAPH LABOR (Unicode:#$3299; Attr:daCircle; Ch1:#$79D8; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SECRET (Unicode:#$329A; Attr:daCircle; Ch1:#$7537; Ch2:#$FFFF), // CIRCLED IDEOGRAPH MALE (Unicode:#$329B; Attr:daCircle; Ch1:#$5973; Ch2:#$FFFF), // CIRCLED IDEOGRAPH FEMALE (Unicode:#$329C; Attr:daCircle; Ch1:#$9069; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SUITABLE (Unicode:#$329D; Attr:daCircle; Ch1:#$512A; Ch2:#$FFFF), // CIRCLED IDEOGRAPH EXCELLENT (Unicode:#$329E; Attr:daCircle; Ch1:#$5370; Ch2:#$FFFF), // CIRCLED IDEOGRAPH PRINT (Unicode:#$329F; Attr:daCircle; Ch1:#$6CE8; Ch2:#$FFFF), // CIRCLED IDEOGRAPH ATTENTION (Unicode:#$32A0; Attr:daCircle; Ch1:#$9805; Ch2:#$FFFF), // CIRCLED IDEOGRAPH ITEM (Unicode:#$32A1; Attr:daCircle; Ch1:#$4F11; Ch2:#$FFFF), // CIRCLED IDEOGRAPH REST (Unicode:#$32A2; Attr:daCircle; Ch1:#$5199; Ch2:#$FFFF), // CIRCLED IDEOGRAPH COPY (Unicode:#$32A3; Attr:daCircle; Ch1:#$6B63; Ch2:#$FFFF), // CIRCLED IDEOGRAPH CORRECT (Unicode:#$32A4; Attr:daCircle; Ch1:#$4E0A; Ch2:#$FFFF), // CIRCLED IDEOGRAPH HIGH (Unicode:#$32A5; Attr:daCircle; Ch1:#$4E2D; Ch2:#$FFFF), // CIRCLED IDEOGRAPH CENTRE (Unicode:#$32A6; Attr:daCircle; Ch1:#$4E0B; Ch2:#$FFFF), // CIRCLED IDEOGRAPH LOW (Unicode:#$32A7; Attr:daCircle; Ch1:#$5DE6; Ch2:#$FFFF), // CIRCLED IDEOGRAPH LEFT (Unicode:#$32A8; Attr:daCircle; Ch1:#$53F3; Ch2:#$FFFF), // CIRCLED IDEOGRAPH RIGHT (Unicode:#$32A9; Attr:daCircle; Ch1:#$533B; Ch2:#$FFFF), // CIRCLED IDEOGRAPH MEDICINE (Unicode:#$32AA; Attr:daCircle; Ch1:#$5B97; Ch2:#$FFFF), // CIRCLED IDEOGRAPH RELIGION (Unicode:#$32AB; Attr:daCircle; Ch1:#$5B66; Ch2:#$FFFF), // CIRCLED IDEOGRAPH STUDY (Unicode:#$32AC; Attr:daCircle; Ch1:#$76E3; Ch2:#$FFFF), // CIRCLED IDEOGRAPH SUPERVISE (Unicode:#$32AD; Attr:daCircle; Ch1:#$4F01; Ch2:#$FFFF), // CIRCLED IDEOGRAPH ENTERPRISE (Unicode:#$32AE; Attr:daCircle; Ch1:#$8CC7; Ch2:#$FFFF), // CIRCLED IDEOGRAPH RESOURCE (Unicode:#$32AF; Attr:daCircle; Ch1:#$5354; Ch2:#$FFFF), // CIRCLED IDEOGRAPH ALLIANCE (Unicode:#$32B0; Attr:daCircle; Ch1:#$591C; Ch2:#$FFFF), // CIRCLED IDEOGRAPH NIGHT (Unicode:#$32C0; Attr:daCompat; Ch1:#$0031; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR JANUARY (Unicode:#$32C1; Attr:daCompat; Ch1:#$0032; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR FEBRUARY (Unicode:#$32C2; Attr:daCompat; Ch1:#$0033; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR MARCH (Unicode:#$32C3; Attr:daCompat; Ch1:#$0034; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR APRIL (Unicode:#$32C4; Attr:daCompat; Ch1:#$0035; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR MAY (Unicode:#$32C5; Attr:daCompat; Ch1:#$0036; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR JUNE (Unicode:#$32C6; Attr:daCompat; Ch1:#$0037; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR JULY (Unicode:#$32C7; Attr:daCompat; Ch1:#$0038; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR AUGUST (Unicode:#$32C8; Attr:daCompat; Ch1:#$0039; Ch2:#$6708; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR SEPTEMBER (Unicode:#$32C9; Attr:daCompat; Ch1:#$0031; Ch2:#$0030; Ch3:#$6708; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR OCTOBER (Unicode:#$32CA; Attr:daCompat; Ch1:#$0031; Ch2:#$0031; Ch3:#$6708; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR NOVEMBER (Unicode:#$32CB; Attr:daCompat; Ch1:#$0031; Ch2:#$0032; Ch3:#$6708; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DECEMBER (Unicode:#$32D0; Attr:daCircle; Ch1:#$30A2; Ch2:#$FFFF), // CIRCLED KATAKANA A (Unicode:#$32D1; Attr:daCircle; Ch1:#$30A4; Ch2:#$FFFF), // CIRCLED KATAKANA I (Unicode:#$32D2; Attr:daCircle; Ch1:#$30A6; Ch2:#$FFFF), // CIRCLED KATAKANA U (Unicode:#$32D3; Attr:daCircle; Ch1:#$30A8; Ch2:#$FFFF), // CIRCLED KATAKANA E (Unicode:#$32D4; Attr:daCircle; Ch1:#$30AA; Ch2:#$FFFF), // CIRCLED KATAKANA O (Unicode:#$32D5; Attr:daCircle; Ch1:#$30AB; Ch2:#$FFFF), // CIRCLED KATAKANA KA (Unicode:#$32D6; Attr:daCircle; Ch1:#$30AD; Ch2:#$FFFF), // CIRCLED KATAKANA KI (Unicode:#$32D7; Attr:daCircle; Ch1:#$30AF; Ch2:#$FFFF), // CIRCLED KATAKANA KU (Unicode:#$32D8; Attr:daCircle; Ch1:#$30B1; Ch2:#$FFFF), // CIRCLED KATAKANA KE (Unicode:#$32D9; Attr:daCircle; Ch1:#$30B3; Ch2:#$FFFF), // CIRCLED KATAKANA KO (Unicode:#$32DA; Attr:daCircle; Ch1:#$30B5; Ch2:#$FFFF), // CIRCLED KATAKANA SA (Unicode:#$32DB; Attr:daCircle; Ch1:#$30B7; Ch2:#$FFFF), // CIRCLED KATAKANA SI (Unicode:#$32DC; Attr:daCircle; Ch1:#$30B9; Ch2:#$FFFF), // CIRCLED KATAKANA SU (Unicode:#$32DD; Attr:daCircle; Ch1:#$30BB; Ch2:#$FFFF), // CIRCLED KATAKANA SE (Unicode:#$32DE; Attr:daCircle; Ch1:#$30BD; Ch2:#$FFFF), // CIRCLED KATAKANA SO (Unicode:#$32DF; Attr:daCircle; Ch1:#$30BF; Ch2:#$FFFF), // CIRCLED KATAKANA TA (Unicode:#$32E0; Attr:daCircle; Ch1:#$30C1; Ch2:#$FFFF), // CIRCLED KATAKANA TI (Unicode:#$32E1; Attr:daCircle; Ch1:#$30C4; Ch2:#$FFFF), // CIRCLED KATAKANA TU (Unicode:#$32E2; Attr:daCircle; Ch1:#$30C6; Ch2:#$FFFF), // CIRCLED KATAKANA TE (Unicode:#$32E3; Attr:daCircle; Ch1:#$30C8; Ch2:#$FFFF), // CIRCLED KATAKANA TO (Unicode:#$32E4; Attr:daCircle; Ch1:#$30CA; Ch2:#$FFFF), // CIRCLED KATAKANA NA (Unicode:#$32E5; Attr:daCircle; Ch1:#$30CB; Ch2:#$FFFF), // CIRCLED KATAKANA NI (Unicode:#$32E6; Attr:daCircle; Ch1:#$30CC; Ch2:#$FFFF), // CIRCLED KATAKANA NU (Unicode:#$32E7; Attr:daCircle; Ch1:#$30CD; Ch2:#$FFFF), // CIRCLED KATAKANA NE (Unicode:#$32E8; Attr:daCircle; Ch1:#$30CE; Ch2:#$FFFF), // CIRCLED KATAKANA NO (Unicode:#$32E9; Attr:daCircle; Ch1:#$30CF; Ch2:#$FFFF), // CIRCLED KATAKANA HA (Unicode:#$32EA; Attr:daCircle; Ch1:#$30D2; Ch2:#$FFFF), // CIRCLED KATAKANA HI (Unicode:#$32EB; Attr:daCircle; Ch1:#$30D5; Ch2:#$FFFF), // CIRCLED KATAKANA HU (Unicode:#$32EC; Attr:daCircle; Ch1:#$30D8; Ch2:#$FFFF), // CIRCLED KATAKANA HE (Unicode:#$32ED; Attr:daCircle; Ch1:#$30DB; Ch2:#$FFFF), // CIRCLED KATAKANA HO (Unicode:#$32EE; Attr:daCircle; Ch1:#$30DE; Ch2:#$FFFF), // CIRCLED KATAKANA MA (Unicode:#$32EF; Attr:daCircle; Ch1:#$30DF; Ch2:#$FFFF), // CIRCLED KATAKANA MI (Unicode:#$32F0; Attr:daCircle; Ch1:#$30E0; Ch2:#$FFFF), // CIRCLED KATAKANA MU (Unicode:#$32F1; Attr:daCircle; Ch1:#$30E1; Ch2:#$FFFF), // CIRCLED KATAKANA ME (Unicode:#$32F2; Attr:daCircle; Ch1:#$30E2; Ch2:#$FFFF), // CIRCLED KATAKANA MO (Unicode:#$32F3; Attr:daCircle; Ch1:#$30E4; Ch2:#$FFFF), // CIRCLED KATAKANA YA (Unicode:#$32F4; Attr:daCircle; Ch1:#$30E6; Ch2:#$FFFF), // CIRCLED KATAKANA YU (Unicode:#$32F5; Attr:daCircle; Ch1:#$30E8; Ch2:#$FFFF), // CIRCLED KATAKANA YO (Unicode:#$32F6; Attr:daCircle; Ch1:#$30E9; Ch2:#$FFFF), // CIRCLED KATAKANA RA (Unicode:#$32F7; Attr:daCircle; Ch1:#$30EA; Ch2:#$FFFF), // CIRCLED KATAKANA RI (Unicode:#$32F8; Attr:daCircle; Ch1:#$30EB; Ch2:#$FFFF), // CIRCLED KATAKANA RU (Unicode:#$32F9; Attr:daCircle; Ch1:#$30EC; Ch2:#$FFFF), // CIRCLED KATAKANA RE (Unicode:#$32FA; Attr:daCircle; Ch1:#$30ED; Ch2:#$FFFF), // CIRCLED KATAKANA RO (Unicode:#$32FB; Attr:daCircle; Ch1:#$30EF; Ch2:#$FFFF), // CIRCLED KATAKANA WA (Unicode:#$32FC; Attr:daCircle; Ch1:#$30F0; Ch2:#$FFFF), // CIRCLED KATAKANA WI (Unicode:#$32FD; Attr:daCircle; Ch1:#$30F1; Ch2:#$FFFF), // CIRCLED KATAKANA WE (Unicode:#$32FE; Attr:daCircle; Ch1:#$30F2; Ch2:#$FFFF), // CIRCLED KATAKANA WO (Unicode:#$3300; Attr:daSquare; Ch1:#$30A2; Ch2:#$30D1; Ch3:#$30FC; Ch4:#$30C8; Ch5:#$FFFF), // SQUARE APAATO (Unicode:#$3301; Attr:daSquare; Ch1:#$30A2; Ch2:#$30EB; Ch3:#$30D5; Ch4:#$30A1; Ch5:#$FFFF), // SQUARE ARUHUA (Unicode:#$3302; Attr:daSquare; Ch1:#$30A2; Ch2:#$30F3; Ch3:#$30DA; Ch4:#$30A2; Ch5:#$FFFF), // SQUARE ANPEA (Unicode:#$3303; Attr:daSquare; Ch1:#$30A2; Ch2:#$30FC; Ch3:#$30EB; Ch4:#$FFFF), // SQUARE AARU (Unicode:#$3304; Attr:daSquare; Ch1:#$30A4; Ch2:#$30CB; Ch3:#$30F3; Ch4:#$30B0; Ch5:#$FFFF), // SQUARE ININGU (Unicode:#$3305; Attr:daSquare; Ch1:#$30A4; Ch2:#$30F3; Ch3:#$30C1; Ch4:#$FFFF), // SQUARE INTI (Unicode:#$3306; Attr:daSquare; Ch1:#$30A6; Ch2:#$30A9; Ch3:#$30F3; Ch4:#$FFFF), // SQUARE UON (Unicode:#$3307; Attr:daSquare; Ch1:#$30A8; Ch2:#$30B9; Ch3:#$30AF; Ch4:#$30FC; Ch5:#$30C9), // SQUARE ESUKUUDO (Unicode:#$3308; Attr:daSquare; Ch1:#$30A8; Ch2:#$30FC; Ch3:#$30AB; Ch4:#$30FC; Ch5:#$FFFF), // SQUARE EEKAA (Unicode:#$3309; Attr:daSquare; Ch1:#$30AA; Ch2:#$30F3; Ch3:#$30B9; Ch4:#$FFFF), // SQUARE ONSU (Unicode:#$330A; Attr:daSquare; Ch1:#$30AA; Ch2:#$30FC; Ch3:#$30E0; Ch4:#$FFFF), // SQUARE OOMU (Unicode:#$330B; Attr:daSquare; Ch1:#$30AB; Ch2:#$30A4; Ch3:#$30EA; Ch4:#$FFFF), // SQUARE KAIRI (Unicode:#$330C; Attr:daSquare; Ch1:#$30AB; Ch2:#$30E9; Ch3:#$30C3; Ch4:#$30C8; Ch5:#$FFFF), // SQUARE KARATTO (Unicode:#$330D; Attr:daSquare; Ch1:#$30AB; Ch2:#$30ED; Ch3:#$30EA; Ch4:#$30FC; Ch5:#$FFFF), // SQUARE KARORII (Unicode:#$330E; Attr:daSquare; Ch1:#$30AC; Ch2:#$30ED; Ch3:#$30F3; Ch4:#$FFFF), // SQUARE GARON (Unicode:#$330F; Attr:daSquare; Ch1:#$30AC; Ch2:#$30F3; Ch3:#$30DE; Ch4:#$FFFF), // SQUARE GANMA (Unicode:#$3310; Attr:daSquare; Ch1:#$30AE; Ch2:#$30AC; Ch3:#$FFFF), // SQUARE GIGA (Unicode:#$3311; Attr:daSquare; Ch1:#$30AE; Ch2:#$30CB; Ch3:#$30FC; Ch4:#$FFFF), // SQUARE GINII (Unicode:#$3312; Attr:daSquare; Ch1:#$30AD; Ch2:#$30E5; Ch3:#$30EA; Ch4:#$30FC; Ch5:#$FFFF), // SQUARE KYURII (Unicode:#$3313; Attr:daSquare; Ch1:#$30AE; Ch2:#$30EB; Ch3:#$30C0; Ch4:#$30FC; Ch5:#$FFFF), // SQUARE GIRUDAA (Unicode:#$3314; Attr:daSquare; Ch1:#$30AD; Ch2:#$30ED; Ch3:#$FFFF), // SQUARE KIRO (Unicode:#$3315; Attr:daSquare; Ch1:#$30AD; Ch2:#$30ED; Ch3:#$30B0; Ch4:#$30E9; Ch5:#$30E0), // SQUARE KIROGURAMU (Unicode:#$3317; Attr:daSquare; Ch1:#$30AD; Ch2:#$30ED; Ch3:#$30EF; Ch4:#$30C3; Ch5:#$30C8), // SQUARE KIROWATTO (Unicode:#$3318; Attr:daSquare; Ch1:#$30B0; Ch2:#$30E9; Ch3:#$30E0; Ch4:#$FFFF), // SQUARE GURAMU (Unicode:#$3319; Attr:daSquare; Ch1:#$30B0; Ch2:#$30E9; Ch3:#$30E0; Ch4:#$30C8; Ch5:#$30F3), // SQUARE GURAMUTON (Unicode:#$331A; Attr:daSquare; Ch1:#$30AF; Ch2:#$30EB; Ch3:#$30BC; Ch4:#$30A4; Ch5:#$30ED), // SQUARE KURUZEIRO (Unicode:#$331B; Attr:daSquare; Ch1:#$30AF; Ch2:#$30ED; Ch3:#$30FC; Ch4:#$30CD; Ch5:#$FFFF), // SQUARE KUROONE (Unicode:#$331C; Attr:daSquare; Ch1:#$30B1; Ch2:#$30FC; Ch3:#$30B9; Ch4:#$FFFF), // SQUARE KEESU (Unicode:#$331D; Attr:daSquare; Ch1:#$30B3; Ch2:#$30EB; Ch3:#$30CA; Ch4:#$FFFF), // SQUARE KORUNA (Unicode:#$331E; Attr:daSquare; Ch1:#$30B3; Ch2:#$30FC; Ch3:#$30DD; Ch4:#$FFFF), // SQUARE KOOPO (Unicode:#$331F; Attr:daSquare; Ch1:#$30B5; Ch2:#$30A4; Ch3:#$30AF; Ch4:#$30EB; Ch5:#$FFFF), // SQUARE SAIKURU (Unicode:#$3320; Attr:daSquare; Ch1:#$30B5; Ch2:#$30F3; Ch3:#$30C1; Ch4:#$30FC; Ch5:#$30E0), // SQUARE SANTIIMU (Unicode:#$3321; Attr:daSquare; Ch1:#$30B7; Ch2:#$30EA; Ch3:#$30F3; Ch4:#$30B0; Ch5:#$FFFF), // SQUARE SIRINGU (Unicode:#$3322; Attr:daSquare; Ch1:#$30BB; Ch2:#$30F3; Ch3:#$30C1; Ch4:#$FFFF), // SQUARE SENTI (Unicode:#$3323; Attr:daSquare; Ch1:#$30BB; Ch2:#$30F3; Ch3:#$30C8; Ch4:#$FFFF), // SQUARE SENTO (Unicode:#$3324; Attr:daSquare; Ch1:#$30C0; Ch2:#$30FC; Ch3:#$30B9; Ch4:#$FFFF), // SQUARE DAASU (Unicode:#$3325; Attr:daSquare; Ch1:#$30C7; Ch2:#$30B7; Ch3:#$FFFF), // SQUARE DESI (Unicode:#$3326; Attr:daSquare; Ch1:#$30C9; Ch2:#$30EB; Ch3:#$FFFF), // SQUARE DORU (Unicode:#$3327; Attr:daSquare; Ch1:#$30C8; Ch2:#$30F3; Ch3:#$FFFF), // SQUARE TON (Unicode:#$3328; Attr:daSquare; Ch1:#$30CA; Ch2:#$30CE; Ch3:#$FFFF), // SQUARE NANO (Unicode:#$3329; Attr:daSquare; Ch1:#$30CE; Ch2:#$30C3; Ch3:#$30C8; Ch4:#$FFFF), // SQUARE NOTTO (Unicode:#$332A; Attr:daSquare; Ch1:#$30CF; Ch2:#$30A4; Ch3:#$30C4; Ch4:#$FFFF), // SQUARE HAITU (Unicode:#$332B; Attr:daSquare; Ch1:#$30D1; Ch2:#$30FC; Ch3:#$30BB; Ch4:#$30F3; Ch5:#$30C8), // SQUARE PAASENTO (Unicode:#$332C; Attr:daSquare; Ch1:#$30D1; Ch2:#$30FC; Ch3:#$30C4; Ch4:#$FFFF), // SQUARE PAATU (Unicode:#$332D; Attr:daSquare; Ch1:#$30D0; Ch2:#$30FC; Ch3:#$30EC; Ch4:#$30EB; Ch5:#$FFFF), // SQUARE BAARERU (Unicode:#$332E; Attr:daSquare; Ch1:#$30D4; Ch2:#$30A2; Ch3:#$30B9; Ch4:#$30C8; Ch5:#$30EB), // SQUARE PIASUTORU (Unicode:#$332F; Attr:daSquare; Ch1:#$30D4; Ch2:#$30AF; Ch3:#$30EB; Ch4:#$FFFF), // SQUARE PIKURU (Unicode:#$3330; Attr:daSquare; Ch1:#$30D4; Ch2:#$30B3; Ch3:#$FFFF), // SQUARE PIKO (Unicode:#$3331; Attr:daSquare; Ch1:#$30D3; Ch2:#$30EB; Ch3:#$FFFF), // SQUARE BIRU (Unicode:#$3332; Attr:daSquare; Ch1:#$30D5; Ch2:#$30A1; Ch3:#$30E9; Ch4:#$30C3; Ch5:#$30C9), // SQUARE HUARADDO (Unicode:#$3333; Attr:daSquare; Ch1:#$30D5; Ch2:#$30A3; Ch3:#$30FC; Ch4:#$30C8; Ch5:#$FFFF), // SQUARE HUIITO (Unicode:#$3334; Attr:daSquare; Ch1:#$30D6; Ch2:#$30C3; Ch3:#$30B7; Ch4:#$30A7; Ch5:#$30EB), // SQUARE BUSSYERU (Unicode:#$3335; Attr:daSquare; Ch1:#$30D5; Ch2:#$30E9; Ch3:#$30F3; Ch4:#$FFFF), // SQUARE HURAN (Unicode:#$3336; Attr:daSquare; Ch1:#$30D8; Ch2:#$30AF; Ch3:#$30BF; Ch4:#$30FC; Ch5:#$30EB), // SQUARE HEKUTAARU (Unicode:#$3337; Attr:daSquare; Ch1:#$30DA; Ch2:#$30BD; Ch3:#$FFFF), // SQUARE PESO (Unicode:#$3338; Attr:daSquare; Ch1:#$30DA; Ch2:#$30CB; Ch3:#$30D2; Ch4:#$FFFF), // SQUARE PENIHI (Unicode:#$3339; Attr:daSquare; Ch1:#$30D8; Ch2:#$30EB; Ch3:#$30C4; Ch4:#$FFFF), // SQUARE HERUTU (Unicode:#$333A; Attr:daSquare; Ch1:#$30DA; Ch2:#$30F3; Ch3:#$30B9; Ch4:#$FFFF), // SQUARE PENSU (Unicode:#$333B; Attr:daSquare; Ch1:#$30DA; Ch2:#$30FC; Ch3:#$30B8; Ch4:#$FFFF), // SQUARE PEEZI (Unicode:#$333C; Attr:daSquare; Ch1:#$30D9; Ch2:#$30FC; Ch3:#$30BF; Ch4:#$FFFF), // SQUARE BEETA (Unicode:#$333D; Attr:daSquare; Ch1:#$30DD; Ch2:#$30A4; Ch3:#$30F3; Ch4:#$30C8; Ch5:#$FFFF), // SQUARE POINTO (Unicode:#$333E; Attr:daSquare; Ch1:#$30DC; Ch2:#$30EB; Ch3:#$30C8; Ch4:#$FFFF), // SQUARE BORUTO (Unicode:#$333F; Attr:daSquare; Ch1:#$30DB; Ch2:#$30F3; Ch3:#$FFFF), // SQUARE HON (Unicode:#$3340; Attr:daSquare; Ch1:#$30DD; Ch2:#$30F3; Ch3:#$30C9; Ch4:#$FFFF), // SQUARE PONDO (Unicode:#$3341; Attr:daSquare; Ch1:#$30DB; Ch2:#$30FC; Ch3:#$30EB; Ch4:#$FFFF), // SQUARE HOORU (Unicode:#$3342; Attr:daSquare; Ch1:#$30DB; Ch2:#$30FC; Ch3:#$30F3; Ch4:#$FFFF), // SQUARE HOON (Unicode:#$3343; Attr:daSquare; Ch1:#$30DE; Ch2:#$30A4; Ch3:#$30AF; Ch4:#$30ED; Ch5:#$FFFF), // SQUARE MAIKURO (Unicode:#$3344; Attr:daSquare; Ch1:#$30DE; Ch2:#$30A4; Ch3:#$30EB; Ch4:#$FFFF), // SQUARE MAIRU (Unicode:#$3345; Attr:daSquare; Ch1:#$30DE; Ch2:#$30C3; Ch3:#$30CF; Ch4:#$FFFF), // SQUARE MAHHA (Unicode:#$3346; Attr:daSquare; Ch1:#$30DE; Ch2:#$30EB; Ch3:#$30AF; Ch4:#$FFFF), // SQUARE MARUKU (Unicode:#$3347; Attr:daSquare; Ch1:#$30DE; Ch2:#$30F3; Ch3:#$30B7; Ch4:#$30E7; Ch5:#$30F3), // SQUARE MANSYON (Unicode:#$3348; Attr:daSquare; Ch1:#$30DF; Ch2:#$30AF; Ch3:#$30ED; Ch4:#$30F3; Ch5:#$FFFF), // SQUARE MIKURON (Unicode:#$3349; Attr:daSquare; Ch1:#$30DF; Ch2:#$30EA; Ch3:#$FFFF), // SQUARE MIRI (Unicode:#$334A; Attr:daSquare; Ch1:#$30DF; Ch2:#$30EA; Ch3:#$30D0; Ch4:#$30FC; Ch5:#$30EB), // SQUARE MIRIBAARU (Unicode:#$334B; Attr:daSquare; Ch1:#$30E1; Ch2:#$30AC; Ch3:#$FFFF), // SQUARE MEGA (Unicode:#$334C; Attr:daSquare; Ch1:#$30E1; Ch2:#$30AC; Ch3:#$30C8; Ch4:#$30F3; Ch5:#$FFFF), // SQUARE MEGATON (Unicode:#$334D; Attr:daSquare; Ch1:#$30E1; Ch2:#$30FC; Ch3:#$30C8; Ch4:#$30EB; Ch5:#$FFFF), // SQUARE MEETORU (Unicode:#$334E; Attr:daSquare; Ch1:#$30E4; Ch2:#$30FC; Ch3:#$30C9; Ch4:#$FFFF), // SQUARE YAADO (Unicode:#$334F; Attr:daSquare; Ch1:#$30E4; Ch2:#$30FC; Ch3:#$30EB; Ch4:#$FFFF), // SQUARE YAARU (Unicode:#$3350; Attr:daSquare; Ch1:#$30E6; Ch2:#$30A2; Ch3:#$30F3; Ch4:#$FFFF), // SQUARE YUAN (Unicode:#$3351; Attr:daSquare; Ch1:#$30EA; Ch2:#$30C3; Ch3:#$30C8; Ch4:#$30EB; Ch5:#$FFFF), // SQUARE RITTORU (Unicode:#$3352; Attr:daSquare; Ch1:#$30EA; Ch2:#$30E9; Ch3:#$FFFF), // SQUARE RIRA (Unicode:#$3353; Attr:daSquare; Ch1:#$30EB; Ch2:#$30D4; Ch3:#$30FC; Ch4:#$FFFF), // SQUARE RUPII (Unicode:#$3354; Attr:daSquare; Ch1:#$30EB; Ch2:#$30FC; Ch3:#$30D6; Ch4:#$30EB; Ch5:#$FFFF), // SQUARE RUUBURU (Unicode:#$3355; Attr:daSquare; Ch1:#$30EC; Ch2:#$30E0; Ch3:#$FFFF), // SQUARE REMU (Unicode:#$3356; Attr:daSquare; Ch1:#$30EC; Ch2:#$30F3; Ch3:#$30C8; Ch4:#$30B2; Ch5:#$30F3), // SQUARE RENTOGEN (Unicode:#$3357; Attr:daSquare; Ch1:#$30EF; Ch2:#$30C3; Ch3:#$30C8; Ch4:#$FFFF), // SQUARE WATTO (Unicode:#$3358; Attr:daCompat; Ch1:#$0030; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ZERO (Unicode:#$3359; Attr:daCompat; Ch1:#$0031; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ONE (Unicode:#$335A; Attr:daCompat; Ch1:#$0032; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWO (Unicode:#$335B; Attr:daCompat; Ch1:#$0033; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR THREE (Unicode:#$335C; Attr:daCompat; Ch1:#$0034; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FOUR (Unicode:#$335D; Attr:daCompat; Ch1:#$0035; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FIVE (Unicode:#$335E; Attr:daCompat; Ch1:#$0036; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SIX (Unicode:#$335F; Attr:daCompat; Ch1:#$0037; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SEVEN (Unicode:#$3360; Attr:daCompat; Ch1:#$0038; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR EIGHT (Unicode:#$3361; Attr:daCompat; Ch1:#$0039; Ch2:#$70B9; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR NINE (Unicode:#$3362; Attr:daCompat; Ch1:#$0031; Ch2:#$0030; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TEN (Unicode:#$3363; Attr:daCompat; Ch1:#$0031; Ch2:#$0031; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR ELEVEN (Unicode:#$3364; Attr:daCompat; Ch1:#$0031; Ch2:#$0032; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWELVE (Unicode:#$3365; Attr:daCompat; Ch1:#$0031; Ch2:#$0033; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR THIRTEEN (Unicode:#$3366; Attr:daCompat; Ch1:#$0031; Ch2:#$0034; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FOURTEEN (Unicode:#$3367; Attr:daCompat; Ch1:#$0031; Ch2:#$0035; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR FIFTEEN (Unicode:#$3368; Attr:daCompat; Ch1:#$0031; Ch2:#$0036; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SIXTEEN (Unicode:#$3369; Attr:daCompat; Ch1:#$0031; Ch2:#$0037; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR SEVENTEEN (Unicode:#$336A; Attr:daCompat; Ch1:#$0031; Ch2:#$0038; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR EIGHTEEN (Unicode:#$336B; Attr:daCompat; Ch1:#$0031; Ch2:#$0039; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR NINETEEN (Unicode:#$336C; Attr:daCompat; Ch1:#$0032; Ch2:#$0030; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY (Unicode:#$336D; Attr:daCompat; Ch1:#$0032; Ch2:#$0031; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-ONE (Unicode:#$336E; Attr:daCompat; Ch1:#$0032; Ch2:#$0032; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-TWO (Unicode:#$336F; Attr:daCompat; Ch1:#$0032; Ch2:#$0033; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-THREE (Unicode:#$3370; Attr:daCompat; Ch1:#$0032; Ch2:#$0034; Ch3:#$70B9; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR TWENTY-FOUR (Unicode:#$3371; Attr:daSquare; Ch1:#$0068; Ch2:#$0050; Ch3:#$0061; Ch4:#$FFFF), // SQUARE HPA (Unicode:#$3372; Attr:daSquare; Ch1:#$0064; Ch2:#$0061; Ch3:#$FFFF), // SQUARE DA (Unicode:#$3373; Attr:daSquare; Ch1:#$0041; Ch2:#$0055; Ch3:#$FFFF), // SQUARE AU (Unicode:#$3374; Attr:daSquare; Ch1:#$0062; Ch2:#$0061; Ch3:#$0072; Ch4:#$FFFF), // SQUARE BAR (Unicode:#$3375; Attr:daSquare; Ch1:#$006F; Ch2:#$0056; Ch3:#$FFFF), // SQUARE OV (Unicode:#$3376; Attr:daSquare; Ch1:#$0070; Ch2:#$0063; Ch3:#$FFFF), // SQUARE PC (Unicode:#$337B; Attr:daSquare; Ch1:#$5E73; Ch2:#$6210; Ch3:#$FFFF), // SQUARE ERA NAME HEISEI (Unicode:#$337C; Attr:daSquare; Ch1:#$662D; Ch2:#$548C; Ch3:#$FFFF), // SQUARE ERA NAME SYOUWA (Unicode:#$337D; Attr:daSquare; Ch1:#$5927; Ch2:#$6B63; Ch3:#$FFFF), // SQUARE ERA NAME TAISYOU (Unicode:#$337E; Attr:daSquare; Ch1:#$660E; Ch2:#$6CBB; Ch3:#$FFFF), // SQUARE ERA NAME MEIZI (Unicode:#$337F; Attr:daSquare; Ch1:#$682A; Ch2:#$5F0F; Ch3:#$4F1A; Ch4:#$793E; Ch5:#$FFFF), // SQUARE CORPORATION (Unicode:#$3380; Attr:daSquare; Ch1:#$0070; Ch2:#$0041; Ch3:#$FFFF), // SQUARE PA AMPS (Unicode:#$3381; Attr:daSquare; Ch1:#$006E; Ch2:#$0041; Ch3:#$FFFF), // SQUARE NA (Unicode:#$3382; Attr:daSquare; Ch1:#$03BC; Ch2:#$0041; Ch3:#$FFFF), // SQUARE MU A (Unicode:#$3383; Attr:daSquare; Ch1:#$006D; Ch2:#$0041; Ch3:#$FFFF), // SQUARE MA (Unicode:#$3384; Attr:daSquare; Ch1:#$006B; Ch2:#$0041; Ch3:#$FFFF), // SQUARE KA (Unicode:#$3385; Attr:daSquare; Ch1:#$004B; Ch2:#$0042; Ch3:#$FFFF), // SQUARE KB (Unicode:#$3386; Attr:daSquare; Ch1:#$004D; Ch2:#$0042; Ch3:#$FFFF), // SQUARE MB (Unicode:#$3387; Attr:daSquare; Ch1:#$0047; Ch2:#$0042; Ch3:#$FFFF), // SQUARE GB (Unicode:#$3388; Attr:daSquare; Ch1:#$0063; Ch2:#$0061; Ch3:#$006C; Ch4:#$FFFF), // SQUARE CAL (Unicode:#$3389; Attr:daSquare; Ch1:#$006B; Ch2:#$0063; Ch3:#$0061; Ch4:#$006C; Ch5:#$FFFF), // SQUARE KCAL (Unicode:#$338A; Attr:daSquare; Ch1:#$0070; Ch2:#$0046; Ch3:#$FFFF), // SQUARE PF (Unicode:#$338B; Attr:daSquare; Ch1:#$006E; Ch2:#$0046; Ch3:#$FFFF), // SQUARE NF (Unicode:#$338C; Attr:daSquare; Ch1:#$03BC; Ch2:#$0046; Ch3:#$FFFF), // SQUARE MU F (Unicode:#$338D; Attr:daSquare; Ch1:#$03BC; Ch2:#$0067; Ch3:#$FFFF), // SQUARE MU G (Unicode:#$338E; Attr:daSquare; Ch1:#$006D; Ch2:#$0067; Ch3:#$FFFF), // SQUARE MG (Unicode:#$338F; Attr:daSquare; Ch1:#$006B; Ch2:#$0067; Ch3:#$FFFF), // SQUARE KG (Unicode:#$3390; Attr:daSquare; Ch1:#$0048; Ch2:#$007A; Ch3:#$FFFF), // SQUARE HZ (Unicode:#$3391; Attr:daSquare; Ch1:#$006B; Ch2:#$0048; Ch3:#$007A; Ch4:#$FFFF), // SQUARE KHZ (Unicode:#$3392; Attr:daSquare; Ch1:#$004D; Ch2:#$0048; Ch3:#$007A; Ch4:#$FFFF), // SQUARE MHZ (Unicode:#$3393; Attr:daSquare; Ch1:#$0047; Ch2:#$0048; Ch3:#$007A; Ch4:#$FFFF), // SQUARE GHZ (Unicode:#$3394; Attr:daSquare; Ch1:#$0054; Ch2:#$0048; Ch3:#$007A; Ch4:#$FFFF), // SQUARE THZ (Unicode:#$3395; Attr:daSquare; Ch1:#$03BC; Ch2:#$2113; Ch3:#$FFFF), // SQUARE MU L (Unicode:#$3396; Attr:daSquare; Ch1:#$006D; Ch2:#$2113; Ch3:#$FFFF), // SQUARE ML (Unicode:#$3397; Attr:daSquare; Ch1:#$0064; Ch2:#$2113; Ch3:#$FFFF), // SQUARE DL (Unicode:#$3398; Attr:daSquare; Ch1:#$006B; Ch2:#$2113; Ch3:#$FFFF), // SQUARE KL (Unicode:#$3399; Attr:daSquare; Ch1:#$0066; Ch2:#$006D; Ch3:#$FFFF), // SQUARE FM (Unicode:#$339A; Attr:daSquare; Ch1:#$006E; Ch2:#$006D; Ch3:#$FFFF), // SQUARE NM (Unicode:#$339B; Attr:daSquare; Ch1:#$03BC; Ch2:#$006D; Ch3:#$FFFF), // SQUARE MU M (Unicode:#$339C; Attr:daSquare; Ch1:#$006D; Ch2:#$006D; Ch3:#$FFFF), // SQUARE MM (Unicode:#$339D; Attr:daSquare; Ch1:#$0063; Ch2:#$006D; Ch3:#$FFFF), // SQUARE CM (Unicode:#$339E; Attr:daSquare; Ch1:#$006B; Ch2:#$006D; Ch3:#$FFFF), // SQUARE KM (Unicode:#$339F; Attr:daSquare; Ch1:#$006D; Ch2:#$006D; Ch3:#$00B2; Ch4:#$FFFF), // SQUARE MM SQUARED (Unicode:#$33A0; Attr:daSquare; Ch1:#$0063; Ch2:#$006D; Ch3:#$00B2; Ch4:#$FFFF), // SQUARE CM SQUARED (Unicode:#$33A1; Attr:daSquare; Ch1:#$006D; Ch2:#$00B2; Ch3:#$FFFF), // SQUARE M SQUARED (Unicode:#$33A2; Attr:daSquare; Ch1:#$006B; Ch2:#$006D; Ch3:#$00B2; Ch4:#$FFFF), // SQUARE KM SQUARED (Unicode:#$33A3; Attr:daSquare; Ch1:#$006D; Ch2:#$006D; Ch3:#$00B3; Ch4:#$FFFF), // SQUARE MM CUBED (Unicode:#$33A4; Attr:daSquare; Ch1:#$0063; Ch2:#$006D; Ch3:#$00B3; Ch4:#$FFFF), // SQUARE CM CUBED (Unicode:#$33A5; Attr:daSquare; Ch1:#$006D; Ch2:#$00B3; Ch3:#$FFFF), // SQUARE M CUBED (Unicode:#$33A6; Attr:daSquare; Ch1:#$006B; Ch2:#$006D; Ch3:#$00B3; Ch4:#$FFFF), // SQUARE KM CUBED (Unicode:#$33A7; Attr:daSquare; Ch1:#$006D; Ch2:#$2215; Ch3:#$0073; Ch4:#$FFFF), // SQUARE M OVER S (Unicode:#$33A8; Attr:daSquare; Ch1:#$006D; Ch2:#$2215; Ch3:#$0073; Ch4:#$00B2; Ch5:#$FFFF), // SQUARE M OVER S SQUARED (Unicode:#$33A9; Attr:daSquare; Ch1:#$0050; Ch2:#$0061; Ch3:#$FFFF), // SQUARE PA (Unicode:#$33AA; Attr:daSquare; Ch1:#$006B; Ch2:#$0050; Ch3:#$0061; Ch4:#$FFFF), // SQUARE KPA (Unicode:#$33AB; Attr:daSquare; Ch1:#$004D; Ch2:#$0050; Ch3:#$0061; Ch4:#$FFFF), // SQUARE MPA (Unicode:#$33AC; Attr:daSquare; Ch1:#$0047; Ch2:#$0050; Ch3:#$0061; Ch4:#$FFFF), // SQUARE GPA (Unicode:#$33AD; Attr:daSquare; Ch1:#$0072; Ch2:#$0061; Ch3:#$0064; Ch4:#$FFFF), // SQUARE RAD (Unicode:#$33AE; Attr:daSquare; Ch1:#$0072; Ch2:#$0061; Ch3:#$0064; Ch4:#$2215; Ch5:#$0073), // SQUARE RAD OVER S (Unicode:#$33B0; Attr:daSquare; Ch1:#$0070; Ch2:#$0073; Ch3:#$FFFF), // SQUARE PS (Unicode:#$33B1; Attr:daSquare; Ch1:#$006E; Ch2:#$0073; Ch3:#$FFFF), // SQUARE NS (Unicode:#$33B2; Attr:daSquare; Ch1:#$03BC; Ch2:#$0073; Ch3:#$FFFF), // SQUARE MU S (Unicode:#$33B3; Attr:daSquare; Ch1:#$006D; Ch2:#$0073; Ch3:#$FFFF), // SQUARE MS (Unicode:#$33B4; Attr:daSquare; Ch1:#$0070; Ch2:#$0056; Ch3:#$FFFF), // SQUARE PV (Unicode:#$33B5; Attr:daSquare; Ch1:#$006E; Ch2:#$0056; Ch3:#$FFFF), // SQUARE NV (Unicode:#$33B6; Attr:daSquare; Ch1:#$03BC; Ch2:#$0056; Ch3:#$FFFF), // SQUARE MU V (Unicode:#$33B7; Attr:daSquare; Ch1:#$006D; Ch2:#$0056; Ch3:#$FFFF), // SQUARE MV (Unicode:#$33B8; Attr:daSquare; Ch1:#$006B; Ch2:#$0056; Ch3:#$FFFF), // SQUARE KV (Unicode:#$33B9; Attr:daSquare; Ch1:#$004D; Ch2:#$0056; Ch3:#$FFFF), // SQUARE MV MEGA (Unicode:#$33BA; Attr:daSquare; Ch1:#$0070; Ch2:#$0057; Ch3:#$FFFF), // SQUARE PW (Unicode:#$33BB; Attr:daSquare; Ch1:#$006E; Ch2:#$0057; Ch3:#$FFFF), // SQUARE NW (Unicode:#$33BC; Attr:daSquare; Ch1:#$03BC; Ch2:#$0057; Ch3:#$FFFF), // SQUARE MU W (Unicode:#$33BD; Attr:daSquare; Ch1:#$006D; Ch2:#$0057; Ch3:#$FFFF), // SQUARE MW (Unicode:#$33BE; Attr:daSquare; Ch1:#$006B; Ch2:#$0057; Ch3:#$FFFF), // SQUARE KW (Unicode:#$33BF; Attr:daSquare; Ch1:#$004D; Ch2:#$0057; Ch3:#$FFFF), // SQUARE MW MEGA (Unicode:#$33C0; Attr:daSquare; Ch1:#$006B; Ch2:#$03A9; Ch3:#$FFFF), // SQUARE K OHM (Unicode:#$33C1; Attr:daSquare; Ch1:#$004D; Ch2:#$03A9; Ch3:#$FFFF), // SQUARE M OHM (Unicode:#$33C2; Attr:daSquare; Ch1:#$0061; Ch2:#$002E; Ch3:#$006D; Ch4:#$002E; Ch5:#$FFFF), // SQUARE AM (Unicode:#$33C3; Attr:daSquare; Ch1:#$0042; Ch2:#$0071; Ch3:#$FFFF), // SQUARE BQ (Unicode:#$33C4; Attr:daSquare; Ch1:#$0063; Ch2:#$0063; Ch3:#$FFFF), // SQUARE CC (Unicode:#$33C5; Attr:daSquare; Ch1:#$0063; Ch2:#$0064; Ch3:#$FFFF), // SQUARE CD (Unicode:#$33C6; Attr:daSquare; Ch1:#$0043; Ch2:#$2215; Ch3:#$006B; Ch4:#$0067; Ch5:#$FFFF), // SQUARE C OVER KG (Unicode:#$33C7; Attr:daSquare; Ch1:#$0043; Ch2:#$006F; Ch3:#$002E; Ch4:#$FFFF), // SQUARE CO (Unicode:#$33C8; Attr:daSquare; Ch1:#$0064; Ch2:#$0042; Ch3:#$FFFF), // SQUARE DB (Unicode:#$33C9; Attr:daSquare; Ch1:#$0047; Ch2:#$0079; Ch3:#$FFFF), // SQUARE GY (Unicode:#$33CA; Attr:daSquare; Ch1:#$0068; Ch2:#$0061; Ch3:#$FFFF), // SQUARE HA (Unicode:#$33CB; Attr:daSquare; Ch1:#$0048; Ch2:#$0050; Ch3:#$FFFF), // SQUARE HP (Unicode:#$33CC; Attr:daSquare; Ch1:#$0069; Ch2:#$006E; Ch3:#$FFFF), // SQUARE IN (Unicode:#$33CD; Attr:daSquare; Ch1:#$004B; Ch2:#$004B; Ch3:#$FFFF), // SQUARE KK (Unicode:#$33CE; Attr:daSquare; Ch1:#$004B; Ch2:#$004D; Ch3:#$FFFF), // SQUARE KM CAPITAL (Unicode:#$33CF; Attr:daSquare; Ch1:#$006B; Ch2:#$0074; Ch3:#$FFFF), // SQUARE KT (Unicode:#$33D0; Attr:daSquare; Ch1:#$006C; Ch2:#$006D; Ch3:#$FFFF), // SQUARE LM (Unicode:#$33D1; Attr:daSquare; Ch1:#$006C; Ch2:#$006E; Ch3:#$FFFF), // SQUARE LN (Unicode:#$33D2; Attr:daSquare; Ch1:#$006C; Ch2:#$006F; Ch3:#$0067; Ch4:#$FFFF), // SQUARE LOG (Unicode:#$33D3; Attr:daSquare; Ch1:#$006C; Ch2:#$0078; Ch3:#$FFFF), // SQUARE LX (Unicode:#$33D4; Attr:daSquare; Ch1:#$006D; Ch2:#$0062; Ch3:#$FFFF), // SQUARE MB SMALL (Unicode:#$33D5; Attr:daSquare; Ch1:#$006D; Ch2:#$0069; Ch3:#$006C; Ch4:#$FFFF), // SQUARE MIL (Unicode:#$33D6; Attr:daSquare; Ch1:#$006D; Ch2:#$006F; Ch3:#$006C; Ch4:#$FFFF), // SQUARE MOL (Unicode:#$33D7; Attr:daSquare; Ch1:#$0050; Ch2:#$0048; Ch3:#$FFFF), // SQUARE PH (Unicode:#$33D8; Attr:daSquare; Ch1:#$0070; Ch2:#$002E; Ch3:#$006D; Ch4:#$002E; Ch5:#$FFFF), // SQUARE PM (Unicode:#$33D9; Attr:daSquare; Ch1:#$0050; Ch2:#$0050; Ch3:#$004D; Ch4:#$FFFF), // SQUARE PPM (Unicode:#$33DA; Attr:daSquare; Ch1:#$0050; Ch2:#$0052; Ch3:#$FFFF), // SQUARE PR (Unicode:#$33DB; Attr:daSquare; Ch1:#$0073; Ch2:#$0072; Ch3:#$FFFF), // SQUARE SR (Unicode:#$33DC; Attr:daSquare; Ch1:#$0053; Ch2:#$0076; Ch3:#$FFFF), // SQUARE SV (Unicode:#$33DD; Attr:daSquare; Ch1:#$0057; Ch2:#$0062; Ch3:#$FFFF), // SQUARE WB (Unicode:#$33E0; Attr:daCompat; Ch1:#$0031; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY ONE (Unicode:#$33E1; Attr:daCompat; Ch1:#$0032; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWO (Unicode:#$33E2; Attr:daCompat; Ch1:#$0033; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY THREE (Unicode:#$33E3; Attr:daCompat; Ch1:#$0034; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY FOUR (Unicode:#$33E4; Attr:daCompat; Ch1:#$0035; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY FIVE (Unicode:#$33E5; Attr:daCompat; Ch1:#$0036; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY SIX (Unicode:#$33E6; Attr:daCompat; Ch1:#$0037; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY SEVEN (Unicode:#$33E7; Attr:daCompat; Ch1:#$0038; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY EIGHT (Unicode:#$33E8; Attr:daCompat; Ch1:#$0039; Ch2:#$65E5; Ch3:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY NINE (Unicode:#$33E9; Attr:daCompat; Ch1:#$0031; Ch2:#$0030; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TEN (Unicode:#$33EA; Attr:daCompat; Ch1:#$0031; Ch2:#$0031; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY ELEVEN (Unicode:#$33EB; Attr:daCompat; Ch1:#$0031; Ch2:#$0032; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWELVE (Unicode:#$33EC; Attr:daCompat; Ch1:#$0031; Ch2:#$0033; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY THIRTEEN (Unicode:#$33ED; Attr:daCompat; Ch1:#$0031; Ch2:#$0034; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY FOURTEEN (Unicode:#$33EE; Attr:daCompat; Ch1:#$0031; Ch2:#$0035; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY FIFTEEN (Unicode:#$33EF; Attr:daCompat; Ch1:#$0031; Ch2:#$0036; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY SIXTEEN (Unicode:#$33F0; Attr:daCompat; Ch1:#$0031; Ch2:#$0037; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY SEVENTEEN (Unicode:#$33F1; Attr:daCompat; Ch1:#$0031; Ch2:#$0038; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY EIGHTEEN (Unicode:#$33F2; Attr:daCompat; Ch1:#$0031; Ch2:#$0039; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY NINETEEN (Unicode:#$33F3; Attr:daCompat; Ch1:#$0032; Ch2:#$0030; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY (Unicode:#$33F4; Attr:daCompat; Ch1:#$0032; Ch2:#$0031; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-ONE (Unicode:#$33F5; Attr:daCompat; Ch1:#$0032; Ch2:#$0032; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-TWO (Unicode:#$33F6; Attr:daCompat; Ch1:#$0032; Ch2:#$0033; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-THREE (Unicode:#$33F7; Attr:daCompat; Ch1:#$0032; Ch2:#$0034; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-FOUR (Unicode:#$33F8; Attr:daCompat; Ch1:#$0032; Ch2:#$0035; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-FIVE (Unicode:#$33F9; Attr:daCompat; Ch1:#$0032; Ch2:#$0036; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-SIX (Unicode:#$33FA; Attr:daCompat; Ch1:#$0032; Ch2:#$0037; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-SEVEN (Unicode:#$33FB; Attr:daCompat; Ch1:#$0032; Ch2:#$0038; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-EIGHT (Unicode:#$33FC; Attr:daCompat; Ch1:#$0032; Ch2:#$0039; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY TWENTY-NINE (Unicode:#$33FD; Attr:daCompat; Ch1:#$0033; Ch2:#$0030; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY THIRTY (Unicode:#$33FE; Attr:daCompat; Ch1:#$0033; Ch2:#$0031; Ch3:#$65E5; Ch4:#$FFFF), // IDEOGRAPHIC TELEGRAPH SYMBOL FOR DAY THIRTY-ONE (Unicode:#$F900; Attr:daNone; Ch1:#$8C48; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F900 (Unicode:#$F901; Attr:daNone; Ch1:#$66F4; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F901 (Unicode:#$F902; Attr:daNone; Ch1:#$8ECA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F902 (Unicode:#$F903; Attr:daNone; Ch1:#$8CC8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F903 (Unicode:#$F904; Attr:daNone; Ch1:#$6ED1; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F904 (Unicode:#$F905; Attr:daNone; Ch1:#$4E32; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F905 (Unicode:#$F906; Attr:daNone; Ch1:#$53E5; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F906 (Unicode:#$F907; Attr:daNone; Ch1:#$9F9C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F907 (Unicode:#$F908; Attr:daNone; Ch1:#$9F9C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F908 (Unicode:#$F909; Attr:daNone; Ch1:#$5951; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F909 (Unicode:#$F90A; Attr:daNone; Ch1:#$91D1; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F90A (Unicode:#$F90B; Attr:daNone; Ch1:#$5587; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F90B (Unicode:#$F90C; Attr:daNone; Ch1:#$5948; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F90C (Unicode:#$F90D; Attr:daNone; Ch1:#$61F6; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F90D (Unicode:#$F90E; Attr:daNone; Ch1:#$7669; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F90E (Unicode:#$F90F; Attr:daNone; Ch1:#$7F85; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F90F (Unicode:#$F910; Attr:daNone; Ch1:#$863F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F910 (Unicode:#$F911; Attr:daNone; Ch1:#$87BA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F911 (Unicode:#$F912; Attr:daNone; Ch1:#$88F8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F912 (Unicode:#$F913; Attr:daNone; Ch1:#$908F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F913 (Unicode:#$F914; Attr:daNone; Ch1:#$6A02; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F914 (Unicode:#$F915; Attr:daNone; Ch1:#$6D1B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F915 (Unicode:#$F916; Attr:daNone; Ch1:#$70D9; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F916 (Unicode:#$F917; Attr:daNone; Ch1:#$73DE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F917 (Unicode:#$F918; Attr:daNone; Ch1:#$843D; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F918 (Unicode:#$F919; Attr:daNone; Ch1:#$916A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F919 (Unicode:#$F91A; Attr:daNone; Ch1:#$99F1; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F91A (Unicode:#$F91B; Attr:daNone; Ch1:#$4E82; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F91B (Unicode:#$F91C; Attr:daNone; Ch1:#$5375; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F91C (Unicode:#$F91D; Attr:daNone; Ch1:#$6B04; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F91D (Unicode:#$F91E; Attr:daNone; Ch1:#$721B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F91E (Unicode:#$F91F; Attr:daNone; Ch1:#$862D; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F91F (Unicode:#$F920; Attr:daNone; Ch1:#$9E1E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F920 (Unicode:#$F921; Attr:daNone; Ch1:#$5D50; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F921 (Unicode:#$F922; Attr:daNone; Ch1:#$6FEB; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F922 (Unicode:#$F923; Attr:daNone; Ch1:#$85CD; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F923 (Unicode:#$F924; Attr:daNone; Ch1:#$8964; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F924 (Unicode:#$F925; Attr:daNone; Ch1:#$62C9; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F925 (Unicode:#$F926; Attr:daNone; Ch1:#$81D8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F926 (Unicode:#$F927; Attr:daNone; Ch1:#$881F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F927 (Unicode:#$F928; Attr:daNone; Ch1:#$5ECA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F928 (Unicode:#$F929; Attr:daNone; Ch1:#$6717; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F929 (Unicode:#$F92A; Attr:daNone; Ch1:#$6D6A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F92A (Unicode:#$F92B; Attr:daNone; Ch1:#$72FC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F92B (Unicode:#$F92C; Attr:daNone; Ch1:#$90CE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F92C (Unicode:#$F92D; Attr:daNone; Ch1:#$4F86; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F92D (Unicode:#$F92E; Attr:daNone; Ch1:#$51B7; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F92E (Unicode:#$F92F; Attr:daNone; Ch1:#$52DE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F92F (Unicode:#$F930; Attr:daNone; Ch1:#$64C4; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F930 (Unicode:#$F931; Attr:daNone; Ch1:#$6AD3; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F931 (Unicode:#$F932; Attr:daNone; Ch1:#$7210; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F932 (Unicode:#$F933; Attr:daNone; Ch1:#$76E7; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F933 (Unicode:#$F934; Attr:daNone; Ch1:#$8001; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F934 (Unicode:#$F935; Attr:daNone; Ch1:#$8606; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F935 (Unicode:#$F936; Attr:daNone; Ch1:#$865C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F936 (Unicode:#$F937; Attr:daNone; Ch1:#$8DEF; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F937 (Unicode:#$F938; Attr:daNone; Ch1:#$9732; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F938 (Unicode:#$F939; Attr:daNone; Ch1:#$9B6F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F939 (Unicode:#$F93A; Attr:daNone; Ch1:#$9DFA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F93A (Unicode:#$F93B; Attr:daNone; Ch1:#$788C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F93B (Unicode:#$F93C; Attr:daNone; Ch1:#$797F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F93C (Unicode:#$F93D; Attr:daNone; Ch1:#$7DA0; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F93D (Unicode:#$F93E; Attr:daNone; Ch1:#$83C9; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F93E (Unicode:#$F93F; Attr:daNone; Ch1:#$9304; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F93F (Unicode:#$F940; Attr:daNone; Ch1:#$9E7F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F940 (Unicode:#$F941; Attr:daNone; Ch1:#$8AD6; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F941 (Unicode:#$F942; Attr:daNone; Ch1:#$58DF; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F942 (Unicode:#$F943; Attr:daNone; Ch1:#$5F04; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F943 (Unicode:#$F944; Attr:daNone; Ch1:#$7C60; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F944 (Unicode:#$F945; Attr:daNone; Ch1:#$807E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F945 (Unicode:#$F946; Attr:daNone; Ch1:#$7262; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F946 (Unicode:#$F947; Attr:daNone; Ch1:#$78CA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F947 (Unicode:#$F948; Attr:daNone; Ch1:#$8CC2; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F948 (Unicode:#$F949; Attr:daNone; Ch1:#$96F7; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F949 (Unicode:#$F94A; Attr:daNone; Ch1:#$58D8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F94A (Unicode:#$F94B; Attr:daNone; Ch1:#$5C62; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F94B (Unicode:#$F94C; Attr:daNone; Ch1:#$6A13; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F94C (Unicode:#$F94D; Attr:daNone; Ch1:#$6DDA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F94D (Unicode:#$F94E; Attr:daNone; Ch1:#$6F0F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F94E (Unicode:#$F94F; Attr:daNone; Ch1:#$7D2F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F94F (Unicode:#$F950; Attr:daNone; Ch1:#$7E37; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F950 (Unicode:#$F951; Attr:daNone; Ch1:#$96FB; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F951 (Unicode:#$F952; Attr:daNone; Ch1:#$52D2; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F952 (Unicode:#$F953; Attr:daNone; Ch1:#$808B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F953 (Unicode:#$F954; Attr:daNone; Ch1:#$51DC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F954 (Unicode:#$F955; Attr:daNone; Ch1:#$51CC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F955 (Unicode:#$F956; Attr:daNone; Ch1:#$7A1C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F956 (Unicode:#$F957; Attr:daNone; Ch1:#$7DBE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F957 (Unicode:#$F958; Attr:daNone; Ch1:#$83F1; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F958 (Unicode:#$F959; Attr:daNone; Ch1:#$9675; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F959 (Unicode:#$F95A; Attr:daNone; Ch1:#$8B80; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F95A (Unicode:#$F95B; Attr:daNone; Ch1:#$62CF; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F95B (Unicode:#$F95C; Attr:daNone; Ch1:#$6A02; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F95C (Unicode:#$F95D; Attr:daNone; Ch1:#$8AFE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F95D (Unicode:#$F95E; Attr:daNone; Ch1:#$4E39; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F95E (Unicode:#$F95F; Attr:daNone; Ch1:#$5BE7; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F95F (Unicode:#$F960; Attr:daNone; Ch1:#$6012; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F960 (Unicode:#$F961; Attr:daNone; Ch1:#$7387; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F961 (Unicode:#$F962; Attr:daNone; Ch1:#$7570; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F962 (Unicode:#$F963; Attr:daNone; Ch1:#$5317; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F963 (Unicode:#$F964; Attr:daNone; Ch1:#$78FB; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F964 (Unicode:#$F965; Attr:daNone; Ch1:#$4FBF; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F965 (Unicode:#$F966; Attr:daNone; Ch1:#$5FA9; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F966 (Unicode:#$F967; Attr:daNone; Ch1:#$4E0D; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F967 (Unicode:#$F968; Attr:daNone; Ch1:#$6CCC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F968 (Unicode:#$F969; Attr:daNone; Ch1:#$6578; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F969 (Unicode:#$F96A; Attr:daNone; Ch1:#$7D22; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F96A (Unicode:#$F96B; Attr:daNone; Ch1:#$53C3; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F96B (Unicode:#$F96C; Attr:daNone; Ch1:#$585E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F96C (Unicode:#$F96D; Attr:daNone; Ch1:#$7701; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F96D (Unicode:#$F96E; Attr:daNone; Ch1:#$8449; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F96E (Unicode:#$F96F; Attr:daNone; Ch1:#$8AAA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F96F (Unicode:#$F970; Attr:daNone; Ch1:#$6BBA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F970 (Unicode:#$F971; Attr:daNone; Ch1:#$8FB0; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F971 (Unicode:#$F972; Attr:daNone; Ch1:#$6C88; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F972 (Unicode:#$F973; Attr:daNone; Ch1:#$62FE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F973 (Unicode:#$F974; Attr:daNone; Ch1:#$82E5; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F974 (Unicode:#$F975; Attr:daNone; Ch1:#$63A0; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F975 (Unicode:#$F976; Attr:daNone; Ch1:#$7565; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F976 (Unicode:#$F977; Attr:daNone; Ch1:#$4EAE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F977 (Unicode:#$F978; Attr:daNone; Ch1:#$5169; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F978 (Unicode:#$F979; Attr:daNone; Ch1:#$51C9; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F979 (Unicode:#$F97A; Attr:daNone; Ch1:#$6881; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F97A (Unicode:#$F97B; Attr:daNone; Ch1:#$7CE7; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F97B (Unicode:#$F97C; Attr:daNone; Ch1:#$826F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F97C (Unicode:#$F97D; Attr:daNone; Ch1:#$8AD2; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F97D (Unicode:#$F97E; Attr:daNone; Ch1:#$91CF; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F97E (Unicode:#$F97F; Attr:daNone; Ch1:#$52F5; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F97F (Unicode:#$F980; Attr:daNone; Ch1:#$5442; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F980 (Unicode:#$F981; Attr:daNone; Ch1:#$5973; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F981 (Unicode:#$F982; Attr:daNone; Ch1:#$5EEC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F982 (Unicode:#$F983; Attr:daNone; Ch1:#$65C5; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F983 (Unicode:#$F984; Attr:daNone; Ch1:#$6FFE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F984 (Unicode:#$F985; Attr:daNone; Ch1:#$792A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F985 (Unicode:#$F986; Attr:daNone; Ch1:#$95AD; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F986 (Unicode:#$F987; Attr:daNone; Ch1:#$9A6A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F987 (Unicode:#$F988; Attr:daNone; Ch1:#$9E97; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F988 (Unicode:#$F989; Attr:daNone; Ch1:#$9ECE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F989 (Unicode:#$F98A; Attr:daNone; Ch1:#$529B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F98A (Unicode:#$F98B; Attr:daNone; Ch1:#$66C6; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F98B (Unicode:#$F98C; Attr:daNone; Ch1:#$6B77; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F98C (Unicode:#$F98D; Attr:daNone; Ch1:#$8F62; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F98D (Unicode:#$F98E; Attr:daNone; Ch1:#$5E74; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F98E (Unicode:#$F98F; Attr:daNone; Ch1:#$6190; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F98F (Unicode:#$F990; Attr:daNone; Ch1:#$6200; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F990 (Unicode:#$F991; Attr:daNone; Ch1:#$649A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F991 (Unicode:#$F992; Attr:daNone; Ch1:#$6F23; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F992 (Unicode:#$F993; Attr:daNone; Ch1:#$7149; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F993 (Unicode:#$F994; Attr:daNone; Ch1:#$7489; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F994 (Unicode:#$F995; Attr:daNone; Ch1:#$79CA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F995 (Unicode:#$F996; Attr:daNone; Ch1:#$7DF4; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F996 (Unicode:#$F997; Attr:daNone; Ch1:#$806F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F997 (Unicode:#$F998; Attr:daNone; Ch1:#$8F26; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F998 (Unicode:#$F999; Attr:daNone; Ch1:#$84EE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F999 (Unicode:#$F99A; Attr:daNone; Ch1:#$9023; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F99A (Unicode:#$F99B; Attr:daNone; Ch1:#$934A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F99B (Unicode:#$F99C; Attr:daNone; Ch1:#$5217; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F99C (Unicode:#$F99D; Attr:daNone; Ch1:#$52A3; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F99D (Unicode:#$F99E; Attr:daNone; Ch1:#$54BD; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F99E (Unicode:#$F99F; Attr:daNone; Ch1:#$70C8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F99F (Unicode:#$F9A0; Attr:daNone; Ch1:#$88C2; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A0 (Unicode:#$F9A1; Attr:daNone; Ch1:#$8AAA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A1 (Unicode:#$F9A2; Attr:daNone; Ch1:#$5EC9; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A2 (Unicode:#$F9A3; Attr:daNone; Ch1:#$5FF5; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A3 (Unicode:#$F9A4; Attr:daNone; Ch1:#$637B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A4 (Unicode:#$F9A5; Attr:daNone; Ch1:#$6BAE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A5 (Unicode:#$F9A6; Attr:daNone; Ch1:#$7C3E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A6 (Unicode:#$F9A7; Attr:daNone; Ch1:#$7375; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A7 (Unicode:#$F9A8; Attr:daNone; Ch1:#$4EE4; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A8 (Unicode:#$F9A9; Attr:daNone; Ch1:#$56F9; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9A9 (Unicode:#$F9AA; Attr:daNone; Ch1:#$5BE7; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9AA (Unicode:#$F9AB; Attr:daNone; Ch1:#$5DBA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9AB (Unicode:#$F9AC; Attr:daNone; Ch1:#$601C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9AC (Unicode:#$F9AD; Attr:daNone; Ch1:#$73B2; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9AD (Unicode:#$F9AE; Attr:daNone; Ch1:#$7469; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9AE (Unicode:#$F9AF; Attr:daNone; Ch1:#$7F9A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9AF (Unicode:#$F9B0; Attr:daNone; Ch1:#$8046; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B0 (Unicode:#$F9B1; Attr:daNone; Ch1:#$9234; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B1 (Unicode:#$F9B2; Attr:daNone; Ch1:#$96F6; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B2 (Unicode:#$F9B3; Attr:daNone; Ch1:#$9748; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B3 (Unicode:#$F9B4; Attr:daNone; Ch1:#$9818; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B4 (Unicode:#$F9B5; Attr:daNone; Ch1:#$4F8B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B5 (Unicode:#$F9B6; Attr:daNone; Ch1:#$79AE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B6 (Unicode:#$F9B7; Attr:daNone; Ch1:#$91B4; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B7 (Unicode:#$F9B8; Attr:daNone; Ch1:#$96B8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B8 (Unicode:#$F9B9; Attr:daNone; Ch1:#$60E1; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9B9 (Unicode:#$F9BA; Attr:daNone; Ch1:#$4E86; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9BA (Unicode:#$F9BB; Attr:daNone; Ch1:#$50DA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9BB (Unicode:#$F9BC; Attr:daNone; Ch1:#$5BEE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9BC (Unicode:#$F9BD; Attr:daNone; Ch1:#$5C3F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9BD (Unicode:#$F9BE; Attr:daNone; Ch1:#$6599; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9BE (Unicode:#$F9BF; Attr:daNone; Ch1:#$6A02; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9BF (Unicode:#$F9C0; Attr:daNone; Ch1:#$71CE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C0 (Unicode:#$F9C1; Attr:daNone; Ch1:#$7642; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C1 (Unicode:#$F9C2; Attr:daNone; Ch1:#$84FC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C2 (Unicode:#$F9C3; Attr:daNone; Ch1:#$907C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C3 (Unicode:#$F9C4; Attr:daNone; Ch1:#$9F8D; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C4 (Unicode:#$F9C5; Attr:daNone; Ch1:#$6688; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C5 (Unicode:#$F9C6; Attr:daNone; Ch1:#$962E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C6 (Unicode:#$F9C7; Attr:daNone; Ch1:#$5289; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C7 (Unicode:#$F9C8; Attr:daNone; Ch1:#$677B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C8 (Unicode:#$F9C9; Attr:daNone; Ch1:#$67F3; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9C9 (Unicode:#$F9CA; Attr:daNone; Ch1:#$6D41; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9CA (Unicode:#$F9CB; Attr:daNone; Ch1:#$6E9C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9CB (Unicode:#$F9CC; Attr:daNone; Ch1:#$7409; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9CC (Unicode:#$F9CD; Attr:daNone; Ch1:#$7559; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9CD (Unicode:#$F9CE; Attr:daNone; Ch1:#$786B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9CE (Unicode:#$F9CF; Attr:daNone; Ch1:#$7D10; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9CF (Unicode:#$F9D0; Attr:daNone; Ch1:#$985E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D0 (Unicode:#$F9D1; Attr:daNone; Ch1:#$516D; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D1 (Unicode:#$F9D2; Attr:daNone; Ch1:#$622E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D2 (Unicode:#$F9D3; Attr:daNone; Ch1:#$9678; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D3 (Unicode:#$F9D4; Attr:daNone; Ch1:#$502B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D4 (Unicode:#$F9D5; Attr:daNone; Ch1:#$5D19; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D5 (Unicode:#$F9D6; Attr:daNone; Ch1:#$6DEA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D6 (Unicode:#$F9D7; Attr:daNone; Ch1:#$8F2A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D7 (Unicode:#$F9D8; Attr:daNone; Ch1:#$5F8B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D8 (Unicode:#$F9D9; Attr:daNone; Ch1:#$6144; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9D9 (Unicode:#$F9DA; Attr:daNone; Ch1:#$6817; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9DA (Unicode:#$F9DB; Attr:daNone; Ch1:#$7387; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9DB (Unicode:#$F9DC; Attr:daNone; Ch1:#$9686; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9DC (Unicode:#$F9DD; Attr:daNone; Ch1:#$5229; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9DD (Unicode:#$F9DE; Attr:daNone; Ch1:#$540F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9DE (Unicode:#$F9DF; Attr:daNone; Ch1:#$5C65; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9DF (Unicode:#$F9E0; Attr:daNone; Ch1:#$6613; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E0 (Unicode:#$F9E1; Attr:daNone; Ch1:#$674E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E1 (Unicode:#$F9E2; Attr:daNone; Ch1:#$68A8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E2 (Unicode:#$F9E3; Attr:daNone; Ch1:#$6CE5; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E3 (Unicode:#$F9E4; Attr:daNone; Ch1:#$7406; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E4 (Unicode:#$F9E5; Attr:daNone; Ch1:#$75E2; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E5 (Unicode:#$F9E6; Attr:daNone; Ch1:#$7F79; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E6 (Unicode:#$F9E7; Attr:daNone; Ch1:#$88CF; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E7 (Unicode:#$F9E8; Attr:daNone; Ch1:#$88E1; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E8 (Unicode:#$F9E9; Attr:daNone; Ch1:#$91CC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9E9 (Unicode:#$F9EA; Attr:daNone; Ch1:#$96E2; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9EA (Unicode:#$F9EB; Attr:daNone; Ch1:#$533F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9EB (Unicode:#$F9EC; Attr:daNone; Ch1:#$6EBA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9EC (Unicode:#$F9ED; Attr:daNone; Ch1:#$541D; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9ED (Unicode:#$F9EE; Attr:daNone; Ch1:#$71D0; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9EE (Unicode:#$F9EF; Attr:daNone; Ch1:#$7498; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9EF (Unicode:#$F9F0; Attr:daNone; Ch1:#$85FA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F0 (Unicode:#$F9F1; Attr:daNone; Ch1:#$96A3; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F1 (Unicode:#$F9F2; Attr:daNone; Ch1:#$9C57; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F2 (Unicode:#$F9F3; Attr:daNone; Ch1:#$9E9F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F3 (Unicode:#$F9F4; Attr:daNone; Ch1:#$6797; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F4 (Unicode:#$F9F5; Attr:daNone; Ch1:#$6DCB; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F5 (Unicode:#$F9F6; Attr:daNone; Ch1:#$81E8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F6 (Unicode:#$F9F7; Attr:daNone; Ch1:#$7ACB; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F7 (Unicode:#$F9F8; Attr:daNone; Ch1:#$7B20; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F8 (Unicode:#$F9F9; Attr:daNone; Ch1:#$7C92; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9F9 (Unicode:#$F9FA; Attr:daNone; Ch1:#$72C0; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9FA (Unicode:#$F9FB; Attr:daNone; Ch1:#$7099; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9FB (Unicode:#$F9FC; Attr:daNone; Ch1:#$8B58; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9FC (Unicode:#$F9FD; Attr:daNone; Ch1:#$4EC0; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9FD (Unicode:#$F9FE; Attr:daNone; Ch1:#$8336; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9FE (Unicode:#$F9FF; Attr:daNone; Ch1:#$523A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-F9FF (Unicode:#$FA00; Attr:daNone; Ch1:#$5207; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA00 (Unicode:#$FA01; Attr:daNone; Ch1:#$5EA6; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA01 (Unicode:#$FA02; Attr:daNone; Ch1:#$62D3; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA02 (Unicode:#$FA03; Attr:daNone; Ch1:#$7CD6; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA03 (Unicode:#$FA04; Attr:daNone; Ch1:#$5B85; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA04 (Unicode:#$FA05; Attr:daNone; Ch1:#$6D1E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA05 (Unicode:#$FA06; Attr:daNone; Ch1:#$66B4; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA06 (Unicode:#$FA07; Attr:daNone; Ch1:#$8F3B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA07 (Unicode:#$FA08; Attr:daNone; Ch1:#$884C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA08 (Unicode:#$FA09; Attr:daNone; Ch1:#$964D; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA09 (Unicode:#$FA0A; Attr:daNone; Ch1:#$898B; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA0A (Unicode:#$FA0B; Attr:daNone; Ch1:#$5ED3; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA0B (Unicode:#$FA0C; Attr:daNone; Ch1:#$5140; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA0C (Unicode:#$FA0D; Attr:daNone; Ch1:#$55C0; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA0D (Unicode:#$FA10; Attr:daNone; Ch1:#$585A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA10 (Unicode:#$FA12; Attr:daNone; Ch1:#$6674; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA12 (Unicode:#$FA15; Attr:daNone; Ch1:#$51DE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA15 (Unicode:#$FA16; Attr:daNone; Ch1:#$732A; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA16 (Unicode:#$FA17; Attr:daNone; Ch1:#$76CA; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA17 (Unicode:#$FA18; Attr:daNone; Ch1:#$793C; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA18 (Unicode:#$FA19; Attr:daNone; Ch1:#$795E; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA19 (Unicode:#$FA1A; Attr:daNone; Ch1:#$7965; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA1A (Unicode:#$FA1B; Attr:daNone; Ch1:#$798F; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA1B (Unicode:#$FA1C; Attr:daNone; Ch1:#$9756; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA1C (Unicode:#$FA1D; Attr:daNone; Ch1:#$7CBE; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA1D (Unicode:#$FA1E; Attr:daNone; Ch1:#$7FBD; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA1E (Unicode:#$FA20; Attr:daNone; Ch1:#$8612; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA20 (Unicode:#$FA22; Attr:daNone; Ch1:#$8AF8; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA22 (Unicode:#$FA25; Attr:daNone; Ch1:#$9038; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA25 (Unicode:#$FA26; Attr:daNone; Ch1:#$90FD; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA26 (Unicode:#$FA2A; Attr:daNone; Ch1:#$98EF; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA2A (Unicode:#$FA2B; Attr:daNone; Ch1:#$98FC; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA2B (Unicode:#$FA2C; Attr:daNone; Ch1:#$9928; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA2C (Unicode:#$FA2D; Attr:daNone; Ch1:#$9DB4; Ch2:#$FFFF), // CJK COMPATIBILITY IDEOGRAPH-FA2D (Unicode:#$FB00; Attr:daCompat; Ch1:#$0066; Ch2:#$0066; Ch3:#$FFFF), // LATIN SMALL LIGATURE FF (Unicode:#$FB01; Attr:daCompat; Ch1:#$0066; Ch2:#$0069; Ch3:#$FFFF), // LATIN SMALL LIGATURE FI (Unicode:#$FB02; Attr:daCompat; Ch1:#$0066; Ch2:#$006C; Ch3:#$FFFF), // LATIN SMALL LIGATURE FL (Unicode:#$FB03; Attr:daCompat; Ch1:#$0066; Ch2:#$0066; Ch3:#$0069; Ch4:#$FFFF), // LATIN SMALL LIGATURE FFI (Unicode:#$FB04; Attr:daCompat; Ch1:#$0066; Ch2:#$0066; Ch3:#$006C; Ch4:#$FFFF), // LATIN SMALL LIGATURE FFL (Unicode:#$FB05; Attr:daCompat; Ch1:#$017F; Ch2:#$0074; Ch3:#$FFFF), // LATIN SMALL LIGATURE LONG S T (Unicode:#$FB06; Attr:daCompat; Ch1:#$0073; Ch2:#$0074; Ch3:#$FFFF), // LATIN SMALL LIGATURE ST (Unicode:#$FB13; Attr:daCompat; Ch1:#$0574; Ch2:#$0576; Ch3:#$FFFF), // ARMENIAN SMALL LIGATURE MEN NOW (Unicode:#$FB14; Attr:daCompat; Ch1:#$0574; Ch2:#$0565; Ch3:#$FFFF), // ARMENIAN SMALL LIGATURE MEN ECH (Unicode:#$FB15; Attr:daCompat; Ch1:#$0574; Ch2:#$056B; Ch3:#$FFFF), // ARMENIAN SMALL LIGATURE MEN INI (Unicode:#$FB16; Attr:daCompat; Ch1:#$057E; Ch2:#$0576; Ch3:#$FFFF), // ARMENIAN SMALL LIGATURE VEW NOW (Unicode:#$FB17; Attr:daCompat; Ch1:#$0574; Ch2:#$056D; Ch3:#$FFFF), // ARMENIAN SMALL LIGATURE MEN XEH (Unicode:#$FB1D; Attr:daNone; Ch1:#$05D9; Ch2:#$05B4; Ch3:#$FFFF), // HEBREW LETTER YOD WITH HIRIQ (Unicode:#$FB1F; Attr:daNone; Ch1:#$05F2; Ch2:#$05B7; Ch3:#$FFFF), // HEBREW LIGATURE YIDDISH YOD YOD PATAH (Unicode:#$FB20; Attr:daFont; Ch1:#$05E2; Ch2:#$FFFF), // HEBREW LETTER ALTERNATIVE AYIN (Unicode:#$FB21; Attr:daFont; Ch1:#$05D0; Ch2:#$FFFF), // HEBREW LETTER WIDE ALEF (Unicode:#$FB22; Attr:daFont; Ch1:#$05D3; Ch2:#$FFFF), // HEBREW LETTER WIDE DALET (Unicode:#$FB23; Attr:daFont; Ch1:#$05D4; Ch2:#$FFFF), // HEBREW LETTER WIDE HE (Unicode:#$FB24; Attr:daFont; Ch1:#$05DB; Ch2:#$FFFF), // HEBREW LETTER WIDE KAF (Unicode:#$FB25; Attr:daFont; Ch1:#$05DC; Ch2:#$FFFF), // HEBREW LETTER WIDE LAMED (Unicode:#$FB26; Attr:daFont; Ch1:#$05DD; Ch2:#$FFFF), // HEBREW LETTER WIDE FINAL MEM (Unicode:#$FB27; Attr:daFont; Ch1:#$05E8; Ch2:#$FFFF), // HEBREW LETTER WIDE RESH (Unicode:#$FB28; Attr:daFont; Ch1:#$05EA; Ch2:#$FFFF), // HEBREW LETTER WIDE TAV (Unicode:#$FB29; Attr:daFont; Ch1:#$002B; Ch2:#$FFFF), // HEBREW LETTER ALTERNATIVE PLUS SIGN (Unicode:#$FB2A; Attr:daNone; Ch1:#$05E9; Ch2:#$05C1; Ch3:#$FFFF), // HEBREW LETTER SHIN WITH SHIN DOT (Unicode:#$FB2B; Attr:daNone; Ch1:#$05E9; Ch2:#$05C2; Ch3:#$FFFF), // HEBREW LETTER SHIN WITH SIN DOT (Unicode:#$FB2C; Attr:daNone; Ch1:#$FB49; Ch2:#$05C1; Ch3:#$FFFF), // HEBREW LETTER SHIN WITH DAGESH AND SHIN DOT (Unicode:#$FB2D; Attr:daNone; Ch1:#$FB49; Ch2:#$05C2; Ch3:#$FFFF), // HEBREW LETTER SHIN WITH DAGESH AND SIN DOT (Unicode:#$FB2E; Attr:daNone; Ch1:#$05D0; Ch2:#$05B7; Ch3:#$FFFF), // HEBREW LETTER ALEF WITH PATAH (Unicode:#$FB2F; Attr:daNone; Ch1:#$05D0; Ch2:#$05B8; Ch3:#$FFFF), // HEBREW LETTER ALEF WITH QAMATS (Unicode:#$FB30; Attr:daNone; Ch1:#$05D0; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER ALEF WITH MAPIQ (Unicode:#$FB31; Attr:daNone; Ch1:#$05D1; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER BET WITH DAGESH (Unicode:#$FB32; Attr:daNone; Ch1:#$05D2; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER GIMEL WITH DAGESH (Unicode:#$FB33; Attr:daNone; Ch1:#$05D3; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER DALET WITH DAGESH (Unicode:#$FB34; Attr:daNone; Ch1:#$05D4; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER HE WITH MAPIQ (Unicode:#$FB35; Attr:daNone; Ch1:#$05D5; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER VAV WITH DAGESH (Unicode:#$FB36; Attr:daNone; Ch1:#$05D6; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER ZAYIN WITH DAGESH (Unicode:#$FB38; Attr:daNone; Ch1:#$05D8; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER TET WITH DAGESH (Unicode:#$FB39; Attr:daNone; Ch1:#$05D9; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER YOD WITH DAGESH (Unicode:#$FB3A; Attr:daNone; Ch1:#$05DA; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER FINAL KAF WITH DAGESH (Unicode:#$FB3B; Attr:daNone; Ch1:#$05DB; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER KAF WITH DAGESH (Unicode:#$FB3C; Attr:daNone; Ch1:#$05DC; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER LAMED WITH DAGESH (Unicode:#$FB3E; Attr:daNone; Ch1:#$05DE; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER MEM WITH DAGESH (Unicode:#$FB40; Attr:daNone; Ch1:#$05E0; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER NUN WITH DAGESH (Unicode:#$FB41; Attr:daNone; Ch1:#$05E1; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER SAMEKH WITH DAGESH (Unicode:#$FB43; Attr:daNone; Ch1:#$05E3; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER FINAL PE WITH DAGESH (Unicode:#$FB44; Attr:daNone; Ch1:#$05E4; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER PE WITH DAGESH (Unicode:#$FB46; Attr:daNone; Ch1:#$05E6; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER TSADI WITH DAGESH (Unicode:#$FB47; Attr:daNone; Ch1:#$05E7; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER QOF WITH DAGESH (Unicode:#$FB48; Attr:daNone; Ch1:#$05E8; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER RESH WITH DAGESH (Unicode:#$FB49; Attr:daNone; Ch1:#$05E9; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER SHIN WITH DAGESH (Unicode:#$FB4A; Attr:daNone; Ch1:#$05EA; Ch2:#$05BC; Ch3:#$FFFF), // HEBREW LETTER TAV WITH DAGESH (Unicode:#$FB4B; Attr:daNone; Ch1:#$05D5; Ch2:#$05B9; Ch3:#$FFFF), // HEBREW LETTER VAV WITH HOLAM (Unicode:#$FB4C; Attr:daNone; Ch1:#$05D1; Ch2:#$05BF; Ch3:#$FFFF), // HEBREW LETTER BET WITH RAFE (Unicode:#$FB4D; Attr:daNone; Ch1:#$05DB; Ch2:#$05BF; Ch3:#$FFFF), // HEBREW LETTER KAF WITH RAFE (Unicode:#$FB4E; Attr:daNone; Ch1:#$05E4; Ch2:#$05BF; Ch3:#$FFFF), // HEBREW LETTER PE WITH RAFE (Unicode:#$FB4F; Attr:daCompat; Ch1:#$05D0; Ch2:#$05DC; Ch3:#$FFFF), // HEBREW LIGATURE ALEF LAMED (Unicode:#$FB50; Attr:daIsolated; Ch1:#$0671; Ch2:#$FFFF), // ARABIC LETTER ALEF WASLA ISOLATED FORM (Unicode:#$FB51; Attr:daFinal; Ch1:#$0671; Ch2:#$FFFF), // ARABIC LETTER ALEF WASLA FINAL FORM (Unicode:#$FB52; Attr:daIsolated; Ch1:#$067B; Ch2:#$FFFF), // ARABIC LETTER BEEH ISOLATED FORM (Unicode:#$FB53; Attr:daFinal; Ch1:#$067B; Ch2:#$FFFF), // ARABIC LETTER BEEH FINAL FORM (Unicode:#$FB54; Attr:daInitial; Ch1:#$067B; Ch2:#$FFFF), // ARABIC LETTER BEEH INITIAL FORM (Unicode:#$FB55; Attr:daMedial; Ch1:#$067B; Ch2:#$FFFF), // ARABIC LETTER BEEH MEDIAL FORM (Unicode:#$FB56; Attr:daIsolated; Ch1:#$067E; Ch2:#$FFFF), // ARABIC LETTER PEH ISOLATED FORM (Unicode:#$FB57; Attr:daFinal; Ch1:#$067E; Ch2:#$FFFF), // ARABIC LETTER PEH FINAL FORM (Unicode:#$FB58; Attr:daInitial; Ch1:#$067E; Ch2:#$FFFF), // ARABIC LETTER PEH INITIAL FORM (Unicode:#$FB59; Attr:daMedial; Ch1:#$067E; Ch2:#$FFFF), // ARABIC LETTER PEH MEDIAL FORM (Unicode:#$FB5A; Attr:daIsolated; Ch1:#$0680; Ch2:#$FFFF), // ARABIC LETTER BEHEH ISOLATED FORM (Unicode:#$FB5B; Attr:daFinal; Ch1:#$0680; Ch2:#$FFFF), // ARABIC LETTER BEHEH FINAL FORM (Unicode:#$FB5C; Attr:daInitial; Ch1:#$0680; Ch2:#$FFFF), // ARABIC LETTER BEHEH INITIAL FORM (Unicode:#$FB5D; Attr:daMedial; Ch1:#$0680; Ch2:#$FFFF), // ARABIC LETTER BEHEH MEDIAL FORM (Unicode:#$FB5E; Attr:daIsolated; Ch1:#$067A; Ch2:#$FFFF), // ARABIC LETTER TTEHEH ISOLATED FORM (Unicode:#$FB5F; Attr:daFinal; Ch1:#$067A; Ch2:#$FFFF), // ARABIC LETTER TTEHEH FINAL FORM (Unicode:#$FB60; Attr:daInitial; Ch1:#$067A; Ch2:#$FFFF), // ARABIC LETTER TTEHEH INITIAL FORM (Unicode:#$FB61; Attr:daMedial; Ch1:#$067A; Ch2:#$FFFF), // ARABIC LETTER TTEHEH MEDIAL FORM (Unicode:#$FB62; Attr:daIsolated; Ch1:#$067F; Ch2:#$FFFF), // ARABIC LETTER TEHEH ISOLATED FORM (Unicode:#$FB63; Attr:daFinal; Ch1:#$067F; Ch2:#$FFFF), // ARABIC LETTER TEHEH FINAL FORM (Unicode:#$FB64; Attr:daInitial; Ch1:#$067F; Ch2:#$FFFF), // ARABIC LETTER TEHEH INITIAL FORM (Unicode:#$FB65; Attr:daMedial; Ch1:#$067F; Ch2:#$FFFF), // ARABIC LETTER TEHEH MEDIAL FORM (Unicode:#$FB66; Attr:daIsolated; Ch1:#$0679; Ch2:#$FFFF), // ARABIC LETTER TTEH ISOLATED FORM (Unicode:#$FB67; Attr:daFinal; Ch1:#$0679; Ch2:#$FFFF), // ARABIC LETTER TTEH FINAL FORM (Unicode:#$FB68; Attr:daInitial; Ch1:#$0679; Ch2:#$FFFF), // ARABIC LETTER TTEH INITIAL FORM (Unicode:#$FB69; Attr:daMedial; Ch1:#$0679; Ch2:#$FFFF), // ARABIC LETTER TTEH MEDIAL FORM (Unicode:#$FB6A; Attr:daIsolated; Ch1:#$06A4; Ch2:#$FFFF), // ARABIC LETTER VEH ISOLATED FORM (Unicode:#$FB6B; Attr:daFinal; Ch1:#$06A4; Ch2:#$FFFF), // ARABIC LETTER VEH FINAL FORM (Unicode:#$FB6C; Attr:daInitial; Ch1:#$06A4; Ch2:#$FFFF), // ARABIC LETTER VEH INITIAL FORM (Unicode:#$FB6D; Attr:daMedial; Ch1:#$06A4; Ch2:#$FFFF), // ARABIC LETTER VEH MEDIAL FORM (Unicode:#$FB6E; Attr:daIsolated; Ch1:#$06A6; Ch2:#$FFFF), // ARABIC LETTER PEHEH ISOLATED FORM (Unicode:#$FB6F; Attr:daFinal; Ch1:#$06A6; Ch2:#$FFFF), // ARABIC LETTER PEHEH FINAL FORM (Unicode:#$FB70; Attr:daInitial; Ch1:#$06A6; Ch2:#$FFFF), // ARABIC LETTER PEHEH INITIAL FORM (Unicode:#$FB71; Attr:daMedial; Ch1:#$06A6; Ch2:#$FFFF), // ARABIC LETTER PEHEH MEDIAL FORM (Unicode:#$FB72; Attr:daIsolated; Ch1:#$0684; Ch2:#$FFFF), // ARABIC LETTER DYEH ISOLATED FORM (Unicode:#$FB73; Attr:daFinal; Ch1:#$0684; Ch2:#$FFFF), // ARABIC LETTER DYEH FINAL FORM (Unicode:#$FB74; Attr:daInitial; Ch1:#$0684; Ch2:#$FFFF), // ARABIC LETTER DYEH INITIAL FORM (Unicode:#$FB75; Attr:daMedial; Ch1:#$0684; Ch2:#$FFFF), // ARABIC LETTER DYEH MEDIAL FORM (Unicode:#$FB76; Attr:daIsolated; Ch1:#$0683; Ch2:#$FFFF), // ARABIC LETTER NYEH ISOLATED FORM (Unicode:#$FB77; Attr:daFinal; Ch1:#$0683; Ch2:#$FFFF), // ARABIC LETTER NYEH FINAL FORM (Unicode:#$FB78; Attr:daInitial; Ch1:#$0683; Ch2:#$FFFF), // ARABIC LETTER NYEH INITIAL FORM (Unicode:#$FB79; Attr:daMedial; Ch1:#$0683; Ch2:#$FFFF), // ARABIC LETTER NYEH MEDIAL FORM (Unicode:#$FB7A; Attr:daIsolated; Ch1:#$0686; Ch2:#$FFFF), // ARABIC LETTER TCHEH ISOLATED FORM (Unicode:#$FB7B; Attr:daFinal; Ch1:#$0686; Ch2:#$FFFF), // ARABIC LETTER TCHEH FINAL FORM (Unicode:#$FB7C; Attr:daInitial; Ch1:#$0686; Ch2:#$FFFF), // ARABIC LETTER TCHEH INITIAL FORM (Unicode:#$FB7D; Attr:daMedial; Ch1:#$0686; Ch2:#$FFFF), // ARABIC LETTER TCHEH MEDIAL FORM (Unicode:#$FB7E; Attr:daIsolated; Ch1:#$0687; Ch2:#$FFFF), // ARABIC LETTER TCHEHEH ISOLATED FORM (Unicode:#$FB7F; Attr:daFinal; Ch1:#$0687; Ch2:#$FFFF), // ARABIC LETTER TCHEHEH FINAL FORM (Unicode:#$FB80; Attr:daInitial; Ch1:#$0687; Ch2:#$FFFF), // ARABIC LETTER TCHEHEH INITIAL FORM (Unicode:#$FB81; Attr:daMedial; Ch1:#$0687; Ch2:#$FFFF), // ARABIC LETTER TCHEHEH MEDIAL FORM (Unicode:#$FB82; Attr:daIsolated; Ch1:#$068D; Ch2:#$FFFF), // ARABIC LETTER DDAHAL ISOLATED FORM (Unicode:#$FB83; Attr:daFinal; Ch1:#$068D; Ch2:#$FFFF), // ARABIC LETTER DDAHAL FINAL FORM (Unicode:#$FB84; Attr:daIsolated; Ch1:#$068C; Ch2:#$FFFF), // ARABIC LETTER DAHAL ISOLATED FORM (Unicode:#$FB85; Attr:daFinal; Ch1:#$068C; Ch2:#$FFFF), // ARABIC LETTER DAHAL FINAL FORM (Unicode:#$FB86; Attr:daIsolated; Ch1:#$068E; Ch2:#$FFFF), // ARABIC LETTER DUL ISOLATED FORM (Unicode:#$FB87; Attr:daFinal; Ch1:#$068E; Ch2:#$FFFF), // ARABIC LETTER DUL FINAL FORM (Unicode:#$FB88; Attr:daIsolated; Ch1:#$0688; Ch2:#$FFFF), // ARABIC LETTER DDAL ISOLATED FORM (Unicode:#$FB89; Attr:daFinal; Ch1:#$0688; Ch2:#$FFFF), // ARABIC LETTER DDAL FINAL FORM (Unicode:#$FB8A; Attr:daIsolated; Ch1:#$0698; Ch2:#$FFFF), // ARABIC LETTER JEH ISOLATED FORM (Unicode:#$FB8B; Attr:daFinal; Ch1:#$0698; Ch2:#$FFFF), // ARABIC LETTER JEH FINAL FORM (Unicode:#$FB8C; Attr:daIsolated; Ch1:#$0691; Ch2:#$FFFF), // ARABIC LETTER RREH ISOLATED FORM (Unicode:#$FB8D; Attr:daFinal; Ch1:#$0691; Ch2:#$FFFF), // ARABIC LETTER RREH FINAL FORM (Unicode:#$FB8E; Attr:daIsolated; Ch1:#$06A9; Ch2:#$FFFF), // ARABIC LETTER KEHEH ISOLATED FORM (Unicode:#$FB8F; Attr:daFinal; Ch1:#$06A9; Ch2:#$FFFF), // ARABIC LETTER KEHEH FINAL FORM (Unicode:#$FB90; Attr:daInitial; Ch1:#$06A9; Ch2:#$FFFF), // ARABIC LETTER KEHEH INITIAL FORM (Unicode:#$FB91; Attr:daMedial; Ch1:#$06A9; Ch2:#$FFFF), // ARABIC LETTER KEHEH MEDIAL FORM (Unicode:#$FB92; Attr:daIsolated; Ch1:#$06AF; Ch2:#$FFFF), // ARABIC LETTER GAF ISOLATED FORM (Unicode:#$FB93; Attr:daFinal; Ch1:#$06AF; Ch2:#$FFFF), // ARABIC LETTER GAF FINAL FORM (Unicode:#$FB94; Attr:daInitial; Ch1:#$06AF; Ch2:#$FFFF), // ARABIC LETTER GAF INITIAL FORM (Unicode:#$FB95; Attr:daMedial; Ch1:#$06AF; Ch2:#$FFFF), // ARABIC LETTER GAF MEDIAL FORM (Unicode:#$FB96; Attr:daIsolated; Ch1:#$06B3; Ch2:#$FFFF), // ARABIC LETTER GUEH ISOLATED FORM (Unicode:#$FB97; Attr:daFinal; Ch1:#$06B3; Ch2:#$FFFF), // ARABIC LETTER GUEH FINAL FORM (Unicode:#$FB98; Attr:daInitial; Ch1:#$06B3; Ch2:#$FFFF), // ARABIC LETTER GUEH INITIAL FORM (Unicode:#$FB99; Attr:daMedial; Ch1:#$06B3; Ch2:#$FFFF), // ARABIC LETTER GUEH MEDIAL FORM (Unicode:#$FB9A; Attr:daIsolated; Ch1:#$06B1; Ch2:#$FFFF), // ARABIC LETTER NGOEH ISOLATED FORM (Unicode:#$FB9B; Attr:daFinal; Ch1:#$06B1; Ch2:#$FFFF), // ARABIC LETTER NGOEH FINAL FORM (Unicode:#$FB9C; Attr:daInitial; Ch1:#$06B1; Ch2:#$FFFF), // ARABIC LETTER NGOEH INITIAL FORM (Unicode:#$FB9D; Attr:daMedial; Ch1:#$06B1; Ch2:#$FFFF), // ARABIC LETTER NGOEH MEDIAL FORM (Unicode:#$FB9E; Attr:daIsolated; Ch1:#$06BA; Ch2:#$FFFF), // ARABIC LETTER NOON GHUNNA ISOLATED FORM (Unicode:#$FB9F; Attr:daFinal; Ch1:#$06BA; Ch2:#$FFFF), // ARABIC LETTER NOON GHUNNA FINAL FORM (Unicode:#$FBA0; Attr:daIsolated; Ch1:#$06BB; Ch2:#$FFFF), // ARABIC LETTER RNOON ISOLATED FORM (Unicode:#$FBA1; Attr:daFinal; Ch1:#$06BB; Ch2:#$FFFF), // ARABIC LETTER RNOON FINAL FORM (Unicode:#$FBA2; Attr:daInitial; Ch1:#$06BB; Ch2:#$FFFF), // ARABIC LETTER RNOON INITIAL FORM (Unicode:#$FBA3; Attr:daMedial; Ch1:#$06BB; Ch2:#$FFFF), // ARABIC LETTER RNOON MEDIAL FORM (Unicode:#$FBA4; Attr:daIsolated; Ch1:#$06C0; Ch2:#$FFFF), // ARABIC LETTER HEH WITH YEH ABOVE ISOLATED FORM (Unicode:#$FBA5; Attr:daFinal; Ch1:#$06C0; Ch2:#$FFFF), // ARABIC LETTER HEH WITH YEH ABOVE FINAL FORM (Unicode:#$FBA6; Attr:daIsolated; Ch1:#$06C1; Ch2:#$FFFF), // ARABIC LETTER HEH GOAL ISOLATED FORM (Unicode:#$FBA7; Attr:daFinal; Ch1:#$06C1; Ch2:#$FFFF), // ARABIC LETTER HEH GOAL FINAL FORM (Unicode:#$FBA8; Attr:daInitial; Ch1:#$06C1; Ch2:#$FFFF), // ARABIC LETTER HEH GOAL INITIAL FORM (Unicode:#$FBA9; Attr:daMedial; Ch1:#$06C1; Ch2:#$FFFF), // ARABIC LETTER HEH GOAL MEDIAL FORM (Unicode:#$FBAA; Attr:daIsolated; Ch1:#$06BE; Ch2:#$FFFF), // ARABIC LETTER HEH DOACHASHMEE ISOLATED FORM (Unicode:#$FBAB; Attr:daFinal; Ch1:#$06BE; Ch2:#$FFFF), // ARABIC LETTER HEH DOACHASHMEE FINAL FORM (Unicode:#$FBAC; Attr:daInitial; Ch1:#$06BE; Ch2:#$FFFF), // ARABIC LETTER HEH DOACHASHMEE INITIAL FORM (Unicode:#$FBAD; Attr:daMedial; Ch1:#$06BE; Ch2:#$FFFF), // ARABIC LETTER HEH DOACHASHMEE MEDIAL FORM (Unicode:#$FBAE; Attr:daIsolated; Ch1:#$06D2; Ch2:#$FFFF), // ARABIC LETTER YEH BARREE ISOLATED FORM (Unicode:#$FBAF; Attr:daFinal; Ch1:#$06D2; Ch2:#$FFFF), // ARABIC LETTER YEH BARREE FINAL FORM (Unicode:#$FBB0; Attr:daIsolated; Ch1:#$06D3; Ch2:#$FFFF), // ARABIC LETTER YEH BARREE WITH HAMZA ABOVE ISOLATED FORM (Unicode:#$FBB1; Attr:daFinal; Ch1:#$06D3; Ch2:#$FFFF), // ARABIC LETTER YEH BARREE WITH HAMZA ABOVE FINAL FORM (Unicode:#$FBD3; Attr:daIsolated; Ch1:#$06AD; Ch2:#$FFFF), // ARABIC LETTER NG ISOLATED FORM (Unicode:#$FBD4; Attr:daFinal; Ch1:#$06AD; Ch2:#$FFFF), // ARABIC LETTER NG FINAL FORM (Unicode:#$FBD5; Attr:daInitial; Ch1:#$06AD; Ch2:#$FFFF), // ARABIC LETTER NG INITIAL FORM (Unicode:#$FBD6; Attr:daMedial; Ch1:#$06AD; Ch2:#$FFFF), // ARABIC LETTER NG MEDIAL FORM (Unicode:#$FBD7; Attr:daIsolated; Ch1:#$06C7; Ch2:#$FFFF), // ARABIC LETTER U ISOLATED FORM (Unicode:#$FBD8; Attr:daFinal; Ch1:#$06C7; Ch2:#$FFFF), // ARABIC LETTER U FINAL FORM (Unicode:#$FBD9; Attr:daIsolated; Ch1:#$06C6; Ch2:#$FFFF), // ARABIC LETTER OE ISOLATED FORM (Unicode:#$FBDA; Attr:daFinal; Ch1:#$06C6; Ch2:#$FFFF), // ARABIC LETTER OE FINAL FORM (Unicode:#$FBDB; Attr:daIsolated; Ch1:#$06C8; Ch2:#$FFFF), // ARABIC LETTER YU ISOLATED FORM (Unicode:#$FBDC; Attr:daFinal; Ch1:#$06C8; Ch2:#$FFFF), // ARABIC LETTER YU FINAL FORM (Unicode:#$FBDD; Attr:daIsolated; Ch1:#$0677; Ch2:#$FFFF), // ARABIC LETTER U WITH HAMZA ABOVE ISOLATED FORM (Unicode:#$FBDE; Attr:daIsolated; Ch1:#$06CB; Ch2:#$FFFF), // ARABIC LETTER VE ISOLATED FORM (Unicode:#$FBDF; Attr:daFinal; Ch1:#$06CB; Ch2:#$FFFF), // ARABIC LETTER VE FINAL FORM (Unicode:#$FBE0; Attr:daIsolated; Ch1:#$06C5; Ch2:#$FFFF), // ARABIC LETTER KIRGHIZ OE ISOLATED FORM (Unicode:#$FBE1; Attr:daFinal; Ch1:#$06C5; Ch2:#$FFFF), // ARABIC LETTER KIRGHIZ OE FINAL FORM (Unicode:#$FBE2; Attr:daIsolated; Ch1:#$06C9; Ch2:#$FFFF), // ARABIC LETTER KIRGHIZ YU ISOLATED FORM (Unicode:#$FBE3; Attr:daFinal; Ch1:#$06C9; Ch2:#$FFFF), // ARABIC LETTER KIRGHIZ YU FINAL FORM (Unicode:#$FBE4; Attr:daIsolated; Ch1:#$06D0; Ch2:#$FFFF), // ARABIC LETTER E ISOLATED FORM (Unicode:#$FBE5; Attr:daFinal; Ch1:#$06D0; Ch2:#$FFFF), // ARABIC LETTER E FINAL FORM (Unicode:#$FBE6; Attr:daInitial; Ch1:#$06D0; Ch2:#$FFFF), // ARABIC LETTER E INITIAL FORM (Unicode:#$FBE7; Attr:daMedial; Ch1:#$06D0; Ch2:#$FFFF), // ARABIC LETTER E MEDIAL FORM (Unicode:#$FBE8; Attr:daInitial; Ch1:#$0649; Ch2:#$FFFF), // ARABIC LETTER UIGHUR KAZAKH KIRGHIZ ALEF MAKSURA INITIAL FORM (Unicode:#$FBE9; Attr:daMedial; Ch1:#$0649; Ch2:#$FFFF), // ARABIC LETTER UIGHUR KAZAKH KIRGHIZ ALEF MAKSURA MEDIAL FORM (Unicode:#$FBEA; Attr:daIsolated; Ch1:#$0626; Ch2:#$0627; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ALEF ISOLATED FORM (Unicode:#$FBEB; Attr:daFinal; Ch1:#$0626; Ch2:#$0627; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ALEF FINAL FORM (Unicode:#$FBEC; Attr:daIsolated; Ch1:#$0626; Ch2:#$06D5; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH AE ISOLATED FORM (Unicode:#$FBED; Attr:daFinal; Ch1:#$0626; Ch2:#$06D5; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH AE FINAL FORM (Unicode:#$FBEE; Attr:daIsolated; Ch1:#$0626; Ch2:#$0648; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH WAW ISOLATED FORM (Unicode:#$FBEF; Attr:daFinal; Ch1:#$0626; Ch2:#$0648; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH WAW FINAL FORM (Unicode:#$FBF0; Attr:daIsolated; Ch1:#$0626; Ch2:#$06C7; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH U ISOLATED FORM (Unicode:#$FBF1; Attr:daFinal; Ch1:#$0626; Ch2:#$06C7; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH U FINAL FORM (Unicode:#$FBF2; Attr:daIsolated; Ch1:#$0626; Ch2:#$06C6; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH OE ISOLATED FORM (Unicode:#$FBF3; Attr:daFinal; Ch1:#$0626; Ch2:#$06C6; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH OE FINAL FORM (Unicode:#$FBF4; Attr:daIsolated; Ch1:#$0626; Ch2:#$06C8; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH YU ISOLATED FORM (Unicode:#$FBF5; Attr:daFinal; Ch1:#$0626; Ch2:#$06C8; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH YU FINAL FORM (Unicode:#$FBF6; Attr:daIsolated; Ch1:#$0626; Ch2:#$06D0; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH E ISOLATED FORM (Unicode:#$FBF7; Attr:daFinal; Ch1:#$0626; Ch2:#$06D0; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH E FINAL FORM (Unicode:#$FBF8; Attr:daInitial; Ch1:#$0626; Ch2:#$06D0; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH E INITIAL FORM (Unicode:#$FBF9; Attr:daIsolated; Ch1:#$0626; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH HAMZA ABOVE WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FBFA; Attr:daFinal; Ch1:#$0626; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH HAMZA ABOVE WITH ALEF MAKSURA FINAL FORM (Unicode:#$FBFB; Attr:daInitial; Ch1:#$0626; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE UIGHUR KIRGHIZ YEH WITH HAMZA ABOVE WITH ALEF MAKSURA INITIAL FORM (Unicode:#$FBFC; Attr:daIsolated; Ch1:#$06CC; Ch2:#$FFFF), // ARABIC LETTER FARSI YEH ISOLATED FORM (Unicode:#$FBFD; Attr:daFinal; Ch1:#$06CC; Ch2:#$FFFF), // ARABIC LETTER FARSI YEH FINAL FORM (Unicode:#$FBFE; Attr:daInitial; Ch1:#$06CC; Ch2:#$FFFF), // ARABIC LETTER FARSI YEH INITIAL FORM (Unicode:#$FBFF; Attr:daMedial; Ch1:#$06CC; Ch2:#$FFFF), // ARABIC LETTER FARSI YEH MEDIAL FORM (Unicode:#$FC00; Attr:daIsolated; Ch1:#$0626; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH JEEM ISOLATED FORM (Unicode:#$FC01; Attr:daIsolated; Ch1:#$0626; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH HAH ISOLATED FORM (Unicode:#$FC02; Attr:daIsolated; Ch1:#$0626; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH MEEM ISOLATED FORM (Unicode:#$FC03; Attr:daIsolated; Ch1:#$0626; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC04; Attr:daIsolated; Ch1:#$0626; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH YEH ISOLATED FORM (Unicode:#$FC05; Attr:daIsolated; Ch1:#$0628; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE BEH WITH JEEM ISOLATED FORM (Unicode:#$FC06; Attr:daIsolated; Ch1:#$0628; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE BEH WITH HAH ISOLATED FORM (Unicode:#$FC07; Attr:daIsolated; Ch1:#$0628; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE BEH WITH KHAH ISOLATED FORM (Unicode:#$FC08; Attr:daIsolated; Ch1:#$0628; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE BEH WITH MEEM ISOLATED FORM (Unicode:#$FC09; Attr:daIsolated; Ch1:#$0628; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE BEH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC0A; Attr:daIsolated; Ch1:#$0628; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE BEH WITH YEH ISOLATED FORM (Unicode:#$FC0B; Attr:daIsolated; Ch1:#$062A; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE TEH WITH JEEM ISOLATED FORM (Unicode:#$FC0C; Attr:daIsolated; Ch1:#$062A; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE TEH WITH HAH ISOLATED FORM (Unicode:#$FC0D; Attr:daIsolated; Ch1:#$062A; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE TEH WITH KHAH ISOLATED FORM (Unicode:#$FC0E; Attr:daIsolated; Ch1:#$062A; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE TEH WITH MEEM ISOLATED FORM (Unicode:#$FC0F; Attr:daIsolated; Ch1:#$062A; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE TEH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC10; Attr:daIsolated; Ch1:#$062A; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE TEH WITH YEH ISOLATED FORM (Unicode:#$FC11; Attr:daIsolated; Ch1:#$062B; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE THEH WITH JEEM ISOLATED FORM (Unicode:#$FC12; Attr:daIsolated; Ch1:#$062B; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE THEH WITH MEEM ISOLATED FORM (Unicode:#$FC13; Attr:daIsolated; Ch1:#$062B; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE THEH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC14; Attr:daIsolated; Ch1:#$062B; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE THEH WITH YEH ISOLATED FORM (Unicode:#$FC15; Attr:daIsolated; Ch1:#$062C; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE JEEM WITH HAH ISOLATED FORM (Unicode:#$FC16; Attr:daIsolated; Ch1:#$062C; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE JEEM WITH MEEM ISOLATED FORM (Unicode:#$FC17; Attr:daIsolated; Ch1:#$062D; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE HAH WITH JEEM ISOLATED FORM (Unicode:#$FC18; Attr:daIsolated; Ch1:#$062D; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE HAH WITH MEEM ISOLATED FORM (Unicode:#$FC19; Attr:daIsolated; Ch1:#$062E; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE KHAH WITH JEEM ISOLATED FORM (Unicode:#$FC1A; Attr:daIsolated; Ch1:#$062E; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE KHAH WITH HAH ISOLATED FORM (Unicode:#$FC1B; Attr:daIsolated; Ch1:#$062E; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE KHAH WITH MEEM ISOLATED FORM (Unicode:#$FC1C; Attr:daIsolated; Ch1:#$0633; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE SEEN WITH JEEM ISOLATED FORM (Unicode:#$FC1D; Attr:daIsolated; Ch1:#$0633; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE SEEN WITH HAH ISOLATED FORM (Unicode:#$FC1E; Attr:daIsolated; Ch1:#$0633; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE SEEN WITH KHAH ISOLATED FORM (Unicode:#$FC1F; Attr:daIsolated; Ch1:#$0633; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE SEEN WITH MEEM ISOLATED FORM (Unicode:#$FC20; Attr:daIsolated; Ch1:#$0635; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE SAD WITH HAH ISOLATED FORM (Unicode:#$FC21; Attr:daIsolated; Ch1:#$0635; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE SAD WITH MEEM ISOLATED FORM (Unicode:#$FC22; Attr:daIsolated; Ch1:#$0636; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE DAD WITH JEEM ISOLATED FORM (Unicode:#$FC23; Attr:daIsolated; Ch1:#$0636; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE DAD WITH HAH ISOLATED FORM (Unicode:#$FC24; Attr:daIsolated; Ch1:#$0636; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE DAD WITH KHAH ISOLATED FORM (Unicode:#$FC25; Attr:daIsolated; Ch1:#$0636; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE DAD WITH MEEM ISOLATED FORM (Unicode:#$FC26; Attr:daIsolated; Ch1:#$0637; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE TAH WITH HAH ISOLATED FORM (Unicode:#$FC27; Attr:daIsolated; Ch1:#$0637; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE TAH WITH MEEM ISOLATED FORM (Unicode:#$FC28; Attr:daIsolated; Ch1:#$0638; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE ZAH WITH MEEM ISOLATED FORM (Unicode:#$FC29; Attr:daIsolated; Ch1:#$0639; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE AIN WITH JEEM ISOLATED FORM (Unicode:#$FC2A; Attr:daIsolated; Ch1:#$0639; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE AIN WITH MEEM ISOLATED FORM (Unicode:#$FC2B; Attr:daIsolated; Ch1:#$063A; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE GHAIN WITH JEEM ISOLATED FORM (Unicode:#$FC2C; Attr:daIsolated; Ch1:#$063A; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE GHAIN WITH MEEM ISOLATED FORM (Unicode:#$FC2D; Attr:daIsolated; Ch1:#$0641; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE FEH WITH JEEM ISOLATED FORM (Unicode:#$FC2E; Attr:daIsolated; Ch1:#$0641; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE FEH WITH HAH ISOLATED FORM (Unicode:#$FC2F; Attr:daIsolated; Ch1:#$0641; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE FEH WITH KHAH ISOLATED FORM (Unicode:#$FC30; Attr:daIsolated; Ch1:#$0641; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE FEH WITH MEEM ISOLATED FORM (Unicode:#$FC31; Attr:daIsolated; Ch1:#$0641; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE FEH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC32; Attr:daIsolated; Ch1:#$0641; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE FEH WITH YEH ISOLATED FORM (Unicode:#$FC33; Attr:daIsolated; Ch1:#$0642; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE QAF WITH HAH ISOLATED FORM (Unicode:#$FC34; Attr:daIsolated; Ch1:#$0642; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE QAF WITH MEEM ISOLATED FORM (Unicode:#$FC35; Attr:daIsolated; Ch1:#$0642; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE QAF WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC36; Attr:daIsolated; Ch1:#$0642; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE QAF WITH YEH ISOLATED FORM (Unicode:#$FC37; Attr:daIsolated; Ch1:#$0643; Ch2:#$0627; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH ALEF ISOLATED FORM (Unicode:#$FC38; Attr:daIsolated; Ch1:#$0643; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH JEEM ISOLATED FORM (Unicode:#$FC39; Attr:daIsolated; Ch1:#$0643; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH HAH ISOLATED FORM (Unicode:#$FC3A; Attr:daIsolated; Ch1:#$0643; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH KHAH ISOLATED FORM (Unicode:#$FC3B; Attr:daIsolated; Ch1:#$0643; Ch2:#$0644; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH LAM ISOLATED FORM (Unicode:#$FC3C; Attr:daIsolated; Ch1:#$0643; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH MEEM ISOLATED FORM (Unicode:#$FC3D; Attr:daIsolated; Ch1:#$0643; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC3E; Attr:daIsolated; Ch1:#$0643; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE KAF WITH YEH ISOLATED FORM (Unicode:#$FC3F; Attr:daIsolated; Ch1:#$0644; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH JEEM ISOLATED FORM (Unicode:#$FC40; Attr:daIsolated; Ch1:#$0644; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH HAH ISOLATED FORM (Unicode:#$FC41; Attr:daIsolated; Ch1:#$0644; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH KHAH ISOLATED FORM (Unicode:#$FC42; Attr:daIsolated; Ch1:#$0644; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH MEEM ISOLATED FORM (Unicode:#$FC43; Attr:daIsolated; Ch1:#$0644; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC44; Attr:daIsolated; Ch1:#$0644; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH YEH ISOLATED FORM (Unicode:#$FC45; Attr:daIsolated; Ch1:#$0645; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE MEEM WITH JEEM ISOLATED FORM (Unicode:#$FC46; Attr:daIsolated; Ch1:#$0645; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE MEEM WITH HAH ISOLATED FORM (Unicode:#$FC47; Attr:daIsolated; Ch1:#$0645; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE MEEM WITH KHAH ISOLATED FORM (Unicode:#$FC48; Attr:daIsolated; Ch1:#$0645; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE MEEM WITH MEEM ISOLATED FORM (Unicode:#$FC49; Attr:daIsolated; Ch1:#$0645; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE MEEM WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC4A; Attr:daIsolated; Ch1:#$0645; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE MEEM WITH YEH ISOLATED FORM (Unicode:#$FC4B; Attr:daIsolated; Ch1:#$0646; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE NOON WITH JEEM ISOLATED FORM (Unicode:#$FC4C; Attr:daIsolated; Ch1:#$0646; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE NOON WITH HAH ISOLATED FORM (Unicode:#$FC4D; Attr:daIsolated; Ch1:#$0646; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE NOON WITH KHAH ISOLATED FORM (Unicode:#$FC4E; Attr:daIsolated; Ch1:#$0646; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE NOON WITH MEEM ISOLATED FORM (Unicode:#$FC4F; Attr:daIsolated; Ch1:#$0646; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE NOON WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC50; Attr:daIsolated; Ch1:#$0646; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE NOON WITH YEH ISOLATED FORM (Unicode:#$FC51; Attr:daIsolated; Ch1:#$0647; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE HEH WITH JEEM ISOLATED FORM (Unicode:#$FC52; Attr:daIsolated; Ch1:#$0647; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE HEH WITH MEEM ISOLATED FORM (Unicode:#$FC53; Attr:daIsolated; Ch1:#$0647; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE HEH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC54; Attr:daIsolated; Ch1:#$0647; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE HEH WITH YEH ISOLATED FORM (Unicode:#$FC55; Attr:daIsolated; Ch1:#$064A; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH JEEM ISOLATED FORM (Unicode:#$FC56; Attr:daIsolated; Ch1:#$064A; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH HAH ISOLATED FORM (Unicode:#$FC57; Attr:daIsolated; Ch1:#$064A; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH KHAH ISOLATED FORM (Unicode:#$FC58; Attr:daIsolated; Ch1:#$064A; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH MEEM ISOLATED FORM (Unicode:#$FC59; Attr:daIsolated; Ch1:#$064A; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FC5A; Attr:daIsolated; Ch1:#$064A; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE YEH WITH YEH ISOLATED FORM (Unicode:#$FC5B; Attr:daIsolated; Ch1:#$0630; Ch2:#$0670; Ch3:#$FFFF),// ARABIC LIGATURE THAL WITH SUPERSCRIPT ALEF ISOLATED FORM (Unicode:#$FC5C; Attr:daIsolated; Ch1:#$0631; Ch2:#$0670; Ch3:#$FFFF),// ARABIC LIGATURE REH WITH SUPERSCRIPT ALEF ISOLATED FORM (Unicode:#$FC5D; Attr:daIsolated; Ch1:#$0649; Ch2:#$0670; Ch3:#$FFFF),// ARABIC LIGATURE ALEF MAKSURA WITH SUPERSCRIPT ALEF ISOLATED FORM (Unicode:#$FC5E; Attr:daIsolated; Ch1:#$0020; Ch2:#$064C; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH DAMMATAN ISOLATED FORM (Unicode:#$FC5F; Attr:daIsolated; Ch1:#$0020; Ch2:#$064D; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH KASRATAN ISOLATED FORM (Unicode:#$FC60; Attr:daIsolated; Ch1:#$0020; Ch2:#$064E; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH FATHA ISOLATED FORM (Unicode:#$FC61; Attr:daIsolated; Ch1:#$0020; Ch2:#$064F; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH DAMMA ISOLATED FORM (Unicode:#$FC62; Attr:daIsolated; Ch1:#$0020; Ch2:#$0650; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH KASRA ISOLATED FORM (Unicode:#$FC63; Attr:daIsolated; Ch1:#$0020; Ch2:#$0651; Ch3:#$0670; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH SUPERSCRIPT ALEF ISOLATED FORM (Unicode:#$FC64; Attr:daFinal; Ch1:#$0626; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH REH FINAL FORM (Unicode:#$FC65; Attr:daFinal; Ch1:#$0626; Ch2:#$0632; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ZAIN FINAL FORM (Unicode:#$FC66; Attr:daFinal; Ch1:#$0626; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH MEEM FINAL FORM (Unicode:#$FC67; Attr:daFinal; Ch1:#$0626; Ch2:#$0646; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH NOON FINAL FORM (Unicode:#$FC68; Attr:daFinal; Ch1:#$0626; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC69; Attr:daFinal; Ch1:#$0626; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH YEH FINAL FORM (Unicode:#$FC6A; Attr:daFinal; Ch1:#$0628; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH REH FINAL FORM (Unicode:#$FC6B; Attr:daFinal; Ch1:#$0628; Ch2:#$0632; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH ZAIN FINAL FORM (Unicode:#$FC6C; Attr:daFinal; Ch1:#$0628; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH MEEM FINAL FORM (Unicode:#$FC6D; Attr:daFinal; Ch1:#$0628; Ch2:#$0646; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH NOON FINAL FORM (Unicode:#$FC6E; Attr:daFinal; Ch1:#$0628; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC6F; Attr:daFinal; Ch1:#$0628; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH YEH FINAL FORM (Unicode:#$FC70; Attr:daFinal; Ch1:#$062A; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH REH FINAL FORM (Unicode:#$FC71; Attr:daFinal; Ch1:#$062A; Ch2:#$0632; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH ZAIN FINAL FORM (Unicode:#$FC72; Attr:daFinal; Ch1:#$062A; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM FINAL FORM (Unicode:#$FC73; Attr:daFinal; Ch1:#$062A; Ch2:#$0646; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH NOON FINAL FORM (Unicode:#$FC74; Attr:daFinal; Ch1:#$062A; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC75; Attr:daFinal; Ch1:#$062A; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH YEH FINAL FORM (Unicode:#$FC76; Attr:daFinal; Ch1:#$062B; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH REH FINAL FORM (Unicode:#$FC77; Attr:daFinal; Ch1:#$062B; Ch2:#$0632; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH ZAIN FINAL FORM (Unicode:#$FC78; Attr:daFinal; Ch1:#$062B; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH MEEM FINAL FORM (Unicode:#$FC79; Attr:daFinal; Ch1:#$062B; Ch2:#$0646; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH NOON FINAL FORM (Unicode:#$FC7A; Attr:daFinal; Ch1:#$062B; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC7B; Attr:daFinal; Ch1:#$062B; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH YEH FINAL FORM (Unicode:#$FC7C; Attr:daFinal; Ch1:#$0641; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE FEH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC7D; Attr:daFinal; Ch1:#$0641; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE FEH WITH YEH FINAL FORM (Unicode:#$FC7E; Attr:daFinal; Ch1:#$0642; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE QAF WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC7F; Attr:daFinal; Ch1:#$0642; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE QAF WITH YEH FINAL FORM (Unicode:#$FC80; Attr:daFinal; Ch1:#$0643; Ch2:#$0627; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH ALEF FINAL FORM (Unicode:#$FC81; Attr:daFinal; Ch1:#$0643; Ch2:#$0644; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH LAM FINAL FORM (Unicode:#$FC82; Attr:daFinal; Ch1:#$0643; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH MEEM FINAL FORM (Unicode:#$FC83; Attr:daFinal; Ch1:#$0643; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC84; Attr:daFinal; Ch1:#$0643; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH YEH FINAL FORM (Unicode:#$FC85; Attr:daFinal; Ch1:#$0644; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH MEEM FINAL FORM (Unicode:#$FC86; Attr:daFinal; Ch1:#$0644; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC87; Attr:daFinal; Ch1:#$0644; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH YEH FINAL FORM (Unicode:#$FC88; Attr:daFinal; Ch1:#$0645; Ch2:#$0627; Ch3:#$FFFF), // ARABIC LIGATURE MEEM WITH ALEF FINAL FORM (Unicode:#$FC89; Attr:daFinal; Ch1:#$0645; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE MEEM WITH MEEM FINAL FORM (Unicode:#$FC8A; Attr:daFinal; Ch1:#$0646; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH REH FINAL FORM (Unicode:#$FC8B; Attr:daFinal; Ch1:#$0646; Ch2:#$0632; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH ZAIN FINAL FORM (Unicode:#$FC8C; Attr:daFinal; Ch1:#$0646; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH MEEM FINAL FORM (Unicode:#$FC8D; Attr:daFinal; Ch1:#$0646; Ch2:#$0646; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH NOON FINAL FORM (Unicode:#$FC8E; Attr:daFinal; Ch1:#$0646; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC8F; Attr:daFinal; Ch1:#$0646; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH YEH FINAL FORM (Unicode:#$FC90; Attr:daFinal; Ch1:#$0649; Ch2:#$0670; Ch3:#$FFFF), // ARABIC LIGATURE ALEF MAKSURA WITH SUPERSCRIPT ALEF FINAL FORM (Unicode:#$FC91; Attr:daFinal; Ch1:#$064A; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH REH FINAL FORM (Unicode:#$FC92; Attr:daFinal; Ch1:#$064A; Ch2:#$0632; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH ZAIN FINAL FORM (Unicode:#$FC93; Attr:daFinal; Ch1:#$064A; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH MEEM FINAL FORM (Unicode:#$FC94; Attr:daFinal; Ch1:#$064A; Ch2:#$0646; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH NOON FINAL FORM (Unicode:#$FC95; Attr:daFinal; Ch1:#$064A; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FC96; Attr:daFinal; Ch1:#$064A; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH YEH FINAL FORM (Unicode:#$FC97; Attr:daInitial; Ch1:#$0626; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH JEEM INITIAL FORM (Unicode:#$FC98; Attr:daInitial; Ch1:#$0626; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH HAH INITIAL FORM (Unicode:#$FC99; Attr:daInitial; Ch1:#$0626; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH KHAH INITIAL FORM (Unicode:#$FC9A; Attr:daInitial; Ch1:#$0626; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH MEEM INITIAL FORM (Unicode:#$FC9B; Attr:daInitial; Ch1:#$0626; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH HEH INITIAL FORM (Unicode:#$FC9C; Attr:daInitial; Ch1:#$0628; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH JEEM INITIAL FORM (Unicode:#$FC9D; Attr:daInitial; Ch1:#$0628; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH HAH INITIAL FORM (Unicode:#$FC9E; Attr:daInitial; Ch1:#$0628; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH KHAH INITIAL FORM (Unicode:#$FC9F; Attr:daInitial; Ch1:#$0628; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH MEEM INITIAL FORM (Unicode:#$FCA0; Attr:daInitial; Ch1:#$0628; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH HEH INITIAL FORM (Unicode:#$FCA1; Attr:daInitial; Ch1:#$062A; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH JEEM INITIAL FORM (Unicode:#$FCA2; Attr:daInitial; Ch1:#$062A; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH HAH INITIAL FORM (Unicode:#$FCA3; Attr:daInitial; Ch1:#$062A; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH KHAH INITIAL FORM (Unicode:#$FCA4; Attr:daInitial; Ch1:#$062A; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM INITIAL FORM (Unicode:#$FCA5; Attr:daInitial; Ch1:#$062A; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH HEH INITIAL FORM (Unicode:#$FCA6; Attr:daInitial; Ch1:#$062B; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH MEEM INITIAL FORM (Unicode:#$FCA7; Attr:daInitial; Ch1:#$062C; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE JEEM WITH HAH INITIAL FORM (Unicode:#$FCA8; Attr:daInitial; Ch1:#$062C; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE JEEM WITH MEEM INITIAL FORM (Unicode:#$FCA9; Attr:daInitial; Ch1:#$062D; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE HAH WITH JEEM INITIAL FORM (Unicode:#$FCAA; Attr:daInitial; Ch1:#$062D; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE HAH WITH MEEM INITIAL FORM (Unicode:#$FCAB; Attr:daInitial; Ch1:#$062E; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE KHAH WITH JEEM INITIAL FORM (Unicode:#$FCAC; Attr:daInitial; Ch1:#$062E; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE KHAH WITH MEEM INITIAL FORM (Unicode:#$FCAD; Attr:daInitial; Ch1:#$0633; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH JEEM INITIAL FORM (Unicode:#$FCAE; Attr:daInitial; Ch1:#$0633; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH HAH INITIAL FORM (Unicode:#$FCAF; Attr:daInitial; Ch1:#$0633; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH KHAH INITIAL FORM (Unicode:#$FCB0; Attr:daInitial; Ch1:#$0633; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH MEEM INITIAL FORM (Unicode:#$FCB1; Attr:daInitial; Ch1:#$0635; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE SAD WITH HAH INITIAL FORM (Unicode:#$FCB2; Attr:daInitial; Ch1:#$0635; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE SAD WITH KHAH INITIAL FORM (Unicode:#$FCB3; Attr:daInitial; Ch1:#$0635; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE SAD WITH MEEM INITIAL FORM (Unicode:#$FCB4; Attr:daInitial; Ch1:#$0636; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE DAD WITH JEEM INITIAL FORM (Unicode:#$FCB5; Attr:daInitial; Ch1:#$0636; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE DAD WITH HAH INITIAL FORM (Unicode:#$FCB6; Attr:daInitial; Ch1:#$0636; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE DAD WITH KHAH INITIAL FORM (Unicode:#$FCB7; Attr:daInitial; Ch1:#$0636; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE DAD WITH MEEM INITIAL FORM (Unicode:#$FCB8; Attr:daInitial; Ch1:#$0637; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE TAH WITH HAH INITIAL FORM (Unicode:#$FCB9; Attr:daInitial; Ch1:#$0638; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE ZAH WITH MEEM INITIAL FORM (Unicode:#$FCBA; Attr:daInitial; Ch1:#$0639; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE AIN WITH JEEM INITIAL FORM (Unicode:#$FCBB; Attr:daInitial; Ch1:#$0639; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE AIN WITH MEEM INITIAL FORM (Unicode:#$FCBC; Attr:daInitial; Ch1:#$063A; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE GHAIN WITH JEEM INITIAL FORM (Unicode:#$FCBD; Attr:daInitial; Ch1:#$063A; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE GHAIN WITH MEEM INITIAL FORM (Unicode:#$FCBE; Attr:daInitial; Ch1:#$0641; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE FEH WITH JEEM INITIAL FORM (Unicode:#$FCBF; Attr:daInitial; Ch1:#$0641; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE FEH WITH HAH INITIAL FORM (Unicode:#$FCC0; Attr:daInitial; Ch1:#$0641; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE FEH WITH KHAH INITIAL FORM (Unicode:#$FCC1; Attr:daInitial; Ch1:#$0641; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE FEH WITH MEEM INITIAL FORM (Unicode:#$FCC2; Attr:daInitial; Ch1:#$0642; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE QAF WITH HAH INITIAL FORM (Unicode:#$FCC3; Attr:daInitial; Ch1:#$0642; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE QAF WITH MEEM INITIAL FORM (Unicode:#$FCC4; Attr:daInitial; Ch1:#$0643; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH JEEM INITIAL FORM (Unicode:#$FCC5; Attr:daInitial; Ch1:#$0643; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH HAH INITIAL FORM (Unicode:#$FCC6; Attr:daInitial; Ch1:#$0643; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH KHAH INITIAL FORM (Unicode:#$FCC7; Attr:daInitial; Ch1:#$0643; Ch2:#$0644; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH LAM INITIAL FORM (Unicode:#$FCC8; Attr:daInitial; Ch1:#$0643; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH MEEM INITIAL FORM (Unicode:#$FCC9; Attr:daInitial; Ch1:#$0644; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH JEEM INITIAL FORM (Unicode:#$FCCA; Attr:daInitial; Ch1:#$0644; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH HAH INITIAL FORM (Unicode:#$FCCB; Attr:daInitial; Ch1:#$0644; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH KHAH INITIAL FORM (Unicode:#$FCCC; Attr:daInitial; Ch1:#$0644; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH MEEM INITIAL FORM (Unicode:#$FCCD; Attr:daInitial; Ch1:#$0644; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH HEH INITIAL FORM (Unicode:#$FCCE; Attr:daInitial; Ch1:#$0645; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE MEEM WITH JEEM INITIAL FORM (Unicode:#$FCCF; Attr:daInitial; Ch1:#$0645; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE MEEM WITH HAH INITIAL FORM (Unicode:#$FCD0; Attr:daInitial; Ch1:#$0645; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE MEEM WITH KHAH INITIAL FORM (Unicode:#$FCD1; Attr:daInitial; Ch1:#$0645; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE MEEM WITH MEEM INITIAL FORM (Unicode:#$FCD2; Attr:daInitial; Ch1:#$0646; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH JEEM INITIAL FORM (Unicode:#$FCD3; Attr:daInitial; Ch1:#$0646; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH HAH INITIAL FORM (Unicode:#$FCD4; Attr:daInitial; Ch1:#$0646; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH KHAH INITIAL FORM (Unicode:#$FCD5; Attr:daInitial; Ch1:#$0646; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH MEEM INITIAL FORM (Unicode:#$FCD6; Attr:daInitial; Ch1:#$0646; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH HEH INITIAL FORM (Unicode:#$FCD7; Attr:daInitial; Ch1:#$0647; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE HEH WITH JEEM INITIAL FORM (Unicode:#$FCD8; Attr:daInitial; Ch1:#$0647; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE HEH WITH MEEM INITIAL FORM (Unicode:#$FCD9; Attr:daInitial; Ch1:#$0647; Ch2:#$0670; Ch3:#$FFFF), // ARABIC LIGATURE HEH WITH SUPERSCRIPT ALEF INITIAL FORM (Unicode:#$FCDA; Attr:daInitial; Ch1:#$064A; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH JEEM INITIAL FORM (Unicode:#$FCDB; Attr:daInitial; Ch1:#$064A; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAH INITIAL FORM (Unicode:#$FCDC; Attr:daInitial; Ch1:#$064A; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH KHAH INITIAL FORM (Unicode:#$FCDD; Attr:daInitial; Ch1:#$064A; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH MEEM INITIAL FORM (Unicode:#$FCDE; Attr:daInitial; Ch1:#$064A; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HEH INITIAL FORM (Unicode:#$FCDF; Attr:daMedial; Ch1:#$0626; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH MEEM MEDIAL FORM (Unicode:#$FCE0; Attr:daMedial; Ch1:#$0626; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HAMZA ABOVE WITH HEH MEDIAL FORM (Unicode:#$FCE1; Attr:daMedial; Ch1:#$0628; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH MEEM MEDIAL FORM (Unicode:#$FCE2; Attr:daMedial; Ch1:#$0628; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE BEH WITH HEH MEDIAL FORM (Unicode:#$FCE3; Attr:daMedial; Ch1:#$062A; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM MEDIAL FORM (Unicode:#$FCE4; Attr:daMedial; Ch1:#$062A; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE TEH WITH HEH MEDIAL FORM (Unicode:#$FCE5; Attr:daMedial; Ch1:#$062B; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH MEEM MEDIAL FORM (Unicode:#$FCE6; Attr:daMedial; Ch1:#$062B; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE THEH WITH HEH MEDIAL FORM (Unicode:#$FCE7; Attr:daMedial; Ch1:#$0633; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH MEEM MEDIAL FORM (Unicode:#$FCE8; Attr:daMedial; Ch1:#$0633; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH HEH MEDIAL FORM (Unicode:#$FCE9; Attr:daMedial; Ch1:#$0634; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH MEEM MEDIAL FORM (Unicode:#$FCEA; Attr:daMedial; Ch1:#$0634; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH HEH MEDIAL FORM (Unicode:#$FCEB; Attr:daMedial; Ch1:#$0643; Ch2:#$0644; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH LAM MEDIAL FORM (Unicode:#$FCEC; Attr:daMedial; Ch1:#$0643; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE KAF WITH MEEM MEDIAL FORM (Unicode:#$FCED; Attr:daMedial; Ch1:#$0644; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH MEEM MEDIAL FORM (Unicode:#$FCEE; Attr:daMedial; Ch1:#$0646; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH MEEM MEDIAL FORM (Unicode:#$FCEF; Attr:daMedial; Ch1:#$0646; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE NOON WITH HEH MEDIAL FORM (Unicode:#$FCF0; Attr:daMedial; Ch1:#$064A; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH MEEM MEDIAL FORM (Unicode:#$FCF1; Attr:daMedial; Ch1:#$064A; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE YEH WITH HEH MEDIAL FORM (Unicode:#$FCF2; Attr:daMedial; Ch1:#$0640; Ch2:#$064E; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH FATHA MEDIAL FORM (Unicode:#$FCF3; Attr:daMedial; Ch1:#$0640; Ch2:#$064F; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH DAMMA MEDIAL FORM (Unicode:#$FCF4; Attr:daMedial; Ch1:#$0640; Ch2:#$0650; Ch3:#$0651; Ch4:#$FFFF), // ARABIC LIGATURE SHADDA WITH KASRA MEDIAL FORM (Unicode:#$FCF5; Attr:daIsolated; Ch1:#$0637; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE TAH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FCF6; Attr:daIsolated; Ch1:#$0637; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE TAH WITH YEH ISOLATED FORM (Unicode:#$FCF7; Attr:daIsolated; Ch1:#$0639; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE AIN WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FCF8; Attr:daIsolated; Ch1:#$0639; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE AIN WITH YEH ISOLATED FORM (Unicode:#$FCF9; Attr:daIsolated; Ch1:#$063A; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE GHAIN WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FCFA; Attr:daIsolated; Ch1:#$063A; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE GHAIN WITH YEH ISOLATED FORM (Unicode:#$FCFB; Attr:daIsolated; Ch1:#$0633; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE SEEN WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FCFC; Attr:daIsolated; Ch1:#$0633; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE SEEN WITH YEH ISOLATED FORM (Unicode:#$FCFD; Attr:daIsolated; Ch1:#$0634; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE SHEEN WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FCFE; Attr:daIsolated; Ch1:#$0634; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE SHEEN WITH YEH ISOLATED FORM (Unicode:#$FCFF; Attr:daIsolated; Ch1:#$062D; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE HAH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FD00; Attr:daIsolated; Ch1:#$062D; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE HAH WITH YEH ISOLATED FORM (Unicode:#$FD01; Attr:daIsolated; Ch1:#$062C; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE JEEM WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FD02; Attr:daIsolated; Ch1:#$062C; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE JEEM WITH YEH ISOLATED FORM (Unicode:#$FD03; Attr:daIsolated; Ch1:#$062E; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE KHAH WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FD04; Attr:daIsolated; Ch1:#$062E; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE KHAH WITH YEH ISOLATED FORM (Unicode:#$FD05; Attr:daIsolated; Ch1:#$0635; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE SAD WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FD06; Attr:daIsolated; Ch1:#$0635; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE SAD WITH YEH ISOLATED FORM (Unicode:#$FD07; Attr:daIsolated; Ch1:#$0636; Ch2:#$0649; Ch3:#$FFFF),// ARABIC LIGATURE DAD WITH ALEF MAKSURA ISOLATED FORM (Unicode:#$FD08; Attr:daIsolated; Ch1:#$0636; Ch2:#$064A; Ch3:#$FFFF),// ARABIC LIGATURE DAD WITH YEH ISOLATED FORM (Unicode:#$FD09; Attr:daIsolated; Ch1:#$0634; Ch2:#$062C; Ch3:#$FFFF),// ARABIC LIGATURE SHEEN WITH JEEM ISOLATED FORM (Unicode:#$FD0A; Attr:daIsolated; Ch1:#$0634; Ch2:#$062D; Ch3:#$FFFF),// ARABIC LIGATURE SHEEN WITH HAH ISOLATED FORM (Unicode:#$FD0B; Attr:daIsolated; Ch1:#$0634; Ch2:#$062E; Ch3:#$FFFF),// ARABIC LIGATURE SHEEN WITH KHAH ISOLATED FORM (Unicode:#$FD0C; Attr:daIsolated; Ch1:#$0634; Ch2:#$0645; Ch3:#$FFFF),// ARABIC LIGATURE SHEEN WITH MEEM ISOLATED FORM (Unicode:#$FD0D; Attr:daIsolated; Ch1:#$0634; Ch2:#$0631; Ch3:#$FFFF),// ARABIC LIGATURE SHEEN WITH REH ISOLATED FORM (Unicode:#$FD0E; Attr:daIsolated; Ch1:#$0633; Ch2:#$0631; Ch3:#$FFFF),// ARABIC LIGATURE SEEN WITH REH ISOLATED FORM (Unicode:#$FD0F; Attr:daIsolated; Ch1:#$0635; Ch2:#$0631; Ch3:#$FFFF),// ARABIC LIGATURE SAD WITH REH ISOLATED FORM (Unicode:#$FD10; Attr:daIsolated; Ch1:#$0636; Ch2:#$0631; Ch3:#$FFFF),// ARABIC LIGATURE DAD WITH REH ISOLATED FORM (Unicode:#$FD11; Attr:daFinal; Ch1:#$0637; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE TAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD12; Attr:daFinal; Ch1:#$0637; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE TAH WITH YEH FINAL FORM (Unicode:#$FD13; Attr:daFinal; Ch1:#$0639; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE AIN WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD14; Attr:daFinal; Ch1:#$0639; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE AIN WITH YEH FINAL FORM (Unicode:#$FD15; Attr:daFinal; Ch1:#$063A; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE GHAIN WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD16; Attr:daFinal; Ch1:#$063A; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE GHAIN WITH YEH FINAL FORM (Unicode:#$FD17; Attr:daFinal; Ch1:#$0633; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD18; Attr:daFinal; Ch1:#$0633; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH YEH FINAL FORM (Unicode:#$FD19; Attr:daFinal; Ch1:#$0634; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD1A; Attr:daFinal; Ch1:#$0634; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH YEH FINAL FORM (Unicode:#$FD1B; Attr:daFinal; Ch1:#$062D; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE HAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD1C; Attr:daFinal; Ch1:#$062D; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE HAH WITH YEH FINAL FORM (Unicode:#$FD1D; Attr:daFinal; Ch1:#$062C; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE JEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD1E; Attr:daFinal; Ch1:#$062C; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE JEEM WITH YEH FINAL FORM (Unicode:#$FD1F; Attr:daFinal; Ch1:#$062E; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE KHAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD20; Attr:daFinal; Ch1:#$062E; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE KHAH WITH YEH FINAL FORM (Unicode:#$FD21; Attr:daFinal; Ch1:#$0635; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE SAD WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD22; Attr:daFinal; Ch1:#$0635; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE SAD WITH YEH FINAL FORM (Unicode:#$FD23; Attr:daFinal; Ch1:#$0636; Ch2:#$0649; Ch3:#$FFFF), // ARABIC LIGATURE DAD WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD24; Attr:daFinal; Ch1:#$0636; Ch2:#$064A; Ch3:#$FFFF), // ARABIC LIGATURE DAD WITH YEH FINAL FORM (Unicode:#$FD25; Attr:daFinal; Ch1:#$0634; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH JEEM FINAL FORM (Unicode:#$FD26; Attr:daFinal; Ch1:#$0634; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH HAH FINAL FORM (Unicode:#$FD27; Attr:daFinal; Ch1:#$0634; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH KHAH FINAL FORM (Unicode:#$FD28; Attr:daFinal; Ch1:#$0634; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH MEEM FINAL FORM (Unicode:#$FD29; Attr:daFinal; Ch1:#$0634; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH REH FINAL FORM (Unicode:#$FD2A; Attr:daFinal; Ch1:#$0633; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH REH FINAL FORM (Unicode:#$FD2B; Attr:daFinal; Ch1:#$0635; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE SAD WITH REH FINAL FORM (Unicode:#$FD2C; Attr:daFinal; Ch1:#$0636; Ch2:#$0631; Ch3:#$FFFF), // ARABIC LIGATURE DAD WITH REH FINAL FORM (Unicode:#$FD2D; Attr:daInitial; Ch1:#$0634; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH JEEM INITIAL FORM (Unicode:#$FD2E; Attr:daInitial; Ch1:#$0634; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH HAH INITIAL FORM (Unicode:#$FD2F; Attr:daInitial; Ch1:#$0634; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH KHAH INITIAL FORM (Unicode:#$FD30; Attr:daInitial; Ch1:#$0634; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH MEEM INITIAL FORM (Unicode:#$FD31; Attr:daInitial; Ch1:#$0633; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH HEH INITIAL FORM (Unicode:#$FD32; Attr:daInitial; Ch1:#$0634; Ch2:#$0647; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH HEH INITIAL FORM (Unicode:#$FD33; Attr:daInitial; Ch1:#$0637; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE TAH WITH MEEM INITIAL FORM (Unicode:#$FD34; Attr:daMedial; Ch1:#$0633; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH JEEM MEDIAL FORM (Unicode:#$FD35; Attr:daMedial; Ch1:#$0633; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH HAH MEDIAL FORM (Unicode:#$FD36; Attr:daMedial; Ch1:#$0633; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE SEEN WITH KHAH MEDIAL FORM (Unicode:#$FD37; Attr:daMedial; Ch1:#$0634; Ch2:#$062C; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH JEEM MEDIAL FORM (Unicode:#$FD38; Attr:daMedial; Ch1:#$0634; Ch2:#$062D; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH HAH MEDIAL FORM (Unicode:#$FD39; Attr:daMedial; Ch1:#$0634; Ch2:#$062E; Ch3:#$FFFF), // ARABIC LIGATURE SHEEN WITH KHAH MEDIAL FORM (Unicode:#$FD3A; Attr:daMedial; Ch1:#$0637; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE TAH WITH MEEM MEDIAL FORM (Unicode:#$FD3B; Attr:daMedial; Ch1:#$0638; Ch2:#$0645; Ch3:#$FFFF), // ARABIC LIGATURE ZAH WITH MEEM MEDIAL FORM (Unicode:#$FD3C; Attr:daFinal; Ch1:#$0627; Ch2:#$064B; Ch3:#$FFFF), // ARABIC LIGATURE ALEF WITH FATHATAN FINAL FORM (Unicode:#$FD3D; Attr:daIsolated; Ch1:#$0627; Ch2:#$064B; Ch3:#$FFFF),// ARABIC LIGATURE ALEF WITH FATHATAN ISOLATED FORM (Unicode:#$FD50; Attr:daInitial; Ch1:#$062A; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH JEEM WITH MEEM INITIAL FORM (Unicode:#$FD51; Attr:daFinal; Ch1:#$062A; Ch2:#$062D; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH HAH WITH JEEM FINAL FORM (Unicode:#$FD52; Attr:daInitial; Ch1:#$062A; Ch2:#$062D; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH HAH WITH JEEM INITIAL FORM (Unicode:#$FD53; Attr:daInitial; Ch1:#$062A; Ch2:#$062D; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH HAH WITH MEEM INITIAL FORM (Unicode:#$FD54; Attr:daInitial; Ch1:#$062A; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH KHAH WITH MEEM INITIAL FORM (Unicode:#$FD55; Attr:daInitial; Ch1:#$062A; Ch2:#$0645; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM WITH JEEM INITIAL FORM (Unicode:#$FD56; Attr:daInitial; Ch1:#$062A; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM WITH HAH INITIAL FORM (Unicode:#$FD57; Attr:daInitial; Ch1:#$062A; Ch2:#$0645; Ch3:#$062E; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM WITH KHAH INITIAL FORM (Unicode:#$FD58; Attr:daFinal; Ch1:#$062C; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE JEEM WITH MEEM WITH HAH FINAL FORM (Unicode:#$FD59; Attr:daInitial; Ch1:#$062C; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE JEEM WITH MEEM WITH HAH INITIAL FORM (Unicode:#$FD5A; Attr:daFinal; Ch1:#$062D; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE HAH WITH MEEM WITH YEH FINAL FORM (Unicode:#$FD5B; Attr:daFinal; Ch1:#$062D; Ch2:#$0645; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE HAH WITH MEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD5C; Attr:daInitial; Ch1:#$0633; Ch2:#$062D; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH HAH WITH JEEM INITIAL FORM (Unicode:#$FD5D; Attr:daInitial; Ch1:#$0633; Ch2:#$062C; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH JEEM WITH HAH INITIAL FORM (Unicode:#$FD5E; Attr:daFinal; Ch1:#$0633; Ch2:#$062C; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH JEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD5F; Attr:daFinal; Ch1:#$0633; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH MEEM WITH HAH FINAL FORM (Unicode:#$FD60; Attr:daInitial; Ch1:#$0633; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH MEEM WITH HAH INITIAL FORM (Unicode:#$FD61; Attr:daInitial; Ch1:#$0633; Ch2:#$0645; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH MEEM WITH JEEM INITIAL FORM (Unicode:#$FD62; Attr:daFinal; Ch1:#$0633; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FD63; Attr:daInitial; Ch1:#$0633; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FD64; Attr:daFinal; Ch1:#$0635; Ch2:#$062D; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE SAD WITH HAH WITH HAH FINAL FORM (Unicode:#$FD65; Attr:daInitial; Ch1:#$0635; Ch2:#$062D; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE SAD WITH HAH WITH HAH INITIAL FORM (Unicode:#$FD66; Attr:daFinal; Ch1:#$0635; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SAD WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FD67; Attr:daFinal; Ch1:#$0634; Ch2:#$062D; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH HAH WITH MEEM FINAL FORM (Unicode:#$FD68; Attr:daInitial; Ch1:#$0634; Ch2:#$062D; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH HAH WITH MEEM INITIAL FORM (Unicode:#$FD69; Attr:daFinal; Ch1:#$0634; Ch2:#$062C; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH JEEM WITH YEH FINAL FORM (Unicode:#$FD6A; Attr:daFinal; Ch1:#$0634; Ch2:#$0645; Ch3:#$062E; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH MEEM WITH KHAH FINAL FORM (Unicode:#$FD6B; Attr:daInitial; Ch1:#$0634; Ch2:#$0645; Ch3:#$062E; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH MEEM WITH KHAH INITIAL FORM (Unicode:#$FD6C; Attr:daFinal; Ch1:#$0634; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FD6D; Attr:daInitial; Ch1:#$0634; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FD6E; Attr:daFinal; Ch1:#$0636; Ch2:#$062D; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE DAD WITH HAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD6F; Attr:daFinal; Ch1:#$0636; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE DAD WITH KHAH WITH MEEM FINAL FORM (Unicode:#$FD70; Attr:daInitial; Ch1:#$0636; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE DAD WITH KHAH WITH MEEM INITIAL FORM (Unicode:#$FD71; Attr:daFinal; Ch1:#$0637; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE TAH WITH MEEM WITH HAH FINAL FORM (Unicode:#$FD72; Attr:daInitial; Ch1:#$0637; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE TAH WITH MEEM WITH HAH INITIAL FORM (Unicode:#$FD73; Attr:daInitial; Ch1:#$0637; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE TAH WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FD74; Attr:daFinal; Ch1:#$0637; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE TAH WITH MEEM WITH YEH FINAL FORM (Unicode:#$FD75; Attr:daFinal; Ch1:#$0639; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE AIN WITH JEEM WITH MEEM FINAL FORM (Unicode:#$FD76; Attr:daFinal; Ch1:#$0639; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE AIN WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FD77; Attr:daInitial; Ch1:#$0639; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE AIN WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FD78; Attr:daFinal; Ch1:#$0639; Ch2:#$0645; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE AIN WITH MEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD79; Attr:daFinal; Ch1:#$063A; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE GHAIN WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FD7A; Attr:daFinal; Ch1:#$063A; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE GHAIN WITH MEEM WITH YEH FINAL FORM (Unicode:#$FD7B; Attr:daFinal; Ch1:#$063A; Ch2:#$0645; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE GHAIN WITH MEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD7C; Attr:daFinal; Ch1:#$0641; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE FEH WITH KHAH WITH MEEM FINAL FORM (Unicode:#$FD7D; Attr:daInitial; Ch1:#$0641; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE FEH WITH KHAH WITH MEEM INITIAL FORM (Unicode:#$FD7E; Attr:daFinal; Ch1:#$0642; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE QAF WITH MEEM WITH HAH FINAL FORM (Unicode:#$FD7F; Attr:daFinal; Ch1:#$0642; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE QAF WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FD80; Attr:daFinal; Ch1:#$0644; Ch2:#$062D; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH HAH WITH MEEM FINAL FORM (Unicode:#$FD81; Attr:daFinal; Ch1:#$0644; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH HAH WITH YEH FINAL FORM (Unicode:#$FD82; Attr:daFinal; Ch1:#$0644; Ch2:#$062D; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH HAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD83; Attr:daInitial; Ch1:#$0644; Ch2:#$062C; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH JEEM WITH JEEM INITIAL FORM (Unicode:#$FD84; Attr:daFinal; Ch1:#$0644; Ch2:#$062C; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH JEEM WITH JEEM FINAL FORM (Unicode:#$FD85; Attr:daFinal; Ch1:#$0644; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH KHAH WITH MEEM FINAL FORM (Unicode:#$FD86; Attr:daInitial; Ch1:#$0644; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH KHAH WITH MEEM INITIAL FORM (Unicode:#$FD87; Attr:daFinal; Ch1:#$0644; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH MEEM WITH HAH FINAL FORM (Unicode:#$FD88; Attr:daInitial; Ch1:#$0644; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH MEEM WITH HAH INITIAL FORM (Unicode:#$FD89; Attr:daInitial; Ch1:#$0645; Ch2:#$062D; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH HAH WITH JEEM INITIAL FORM (Unicode:#$FD8A; Attr:daInitial; Ch1:#$0645; Ch2:#$062D; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH HAH WITH MEEM INITIAL FORM (Unicode:#$FD8B; Attr:daFinal; Ch1:#$0645; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH HAH WITH YEH FINAL FORM (Unicode:#$FD8C; Attr:daInitial; Ch1:#$0645; Ch2:#$062C; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH JEEM WITH HAH INITIAL FORM (Unicode:#$FD8D; Attr:daInitial; Ch1:#$0645; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH JEEM WITH MEEM INITIAL FORM (Unicode:#$FD8E; Attr:daInitial; Ch1:#$0645; Ch2:#$062E; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH KHAH WITH JEEM INITIAL FORM (Unicode:#$FD8F; Attr:daInitial; Ch1:#$0645; Ch2:#$062E; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH KHAH WITH MEEM INITIAL FORM (Unicode:#$FD92; Attr:daInitial; Ch1:#$0645; Ch2:#$062C; Ch3:#$062E; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH JEEM WITH KHAH INITIAL FORM (Unicode:#$FD93; Attr:daInitial; Ch1:#$0647; Ch2:#$0645; Ch3:#$062C; Ch4:#$FFFF), // ARABIC LIGATURE HEH WITH MEEM WITH JEEM INITIAL FORM (Unicode:#$FD94; Attr:daInitial; Ch1:#$0647; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE HEH WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FD95; Attr:daInitial; Ch1:#$0646; Ch2:#$062D; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH HAH WITH MEEM INITIAL FORM (Unicode:#$FD96; Attr:daFinal; Ch1:#$0646; Ch2:#$062D; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH HAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD97; Attr:daFinal; Ch1:#$0646; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH JEEM WITH MEEM FINAL FORM (Unicode:#$FD98; Attr:daInitial; Ch1:#$0646; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH JEEM WITH MEEM INITIAL FORM (Unicode:#$FD99; Attr:daFinal; Ch1:#$0646; Ch2:#$062C; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH JEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD9A; Attr:daFinal; Ch1:#$0646; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH MEEM WITH YEH FINAL FORM (Unicode:#$FD9B; Attr:daFinal; Ch1:#$0646; Ch2:#$0645; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH MEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FD9C; Attr:daFinal; Ch1:#$064A; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE YEH WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FD9D; Attr:daInitial; Ch1:#$064A; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE YEH WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FD9E; Attr:daFinal; Ch1:#$0628; Ch2:#$062E; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE BEH WITH KHAH WITH YEH FINAL FORM (Unicode:#$FD9F; Attr:daFinal; Ch1:#$062A; Ch2:#$062C; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH JEEM WITH YEH FINAL FORM (Unicode:#$FDA0; Attr:daFinal; Ch1:#$062A; Ch2:#$062C; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH JEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FDA1; Attr:daFinal; Ch1:#$062A; Ch2:#$062E; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH KHAH WITH YEH FINAL FORM (Unicode:#$FDA2; Attr:daFinal; Ch1:#$062A; Ch2:#$062E; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH KHAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FDA3; Attr:daFinal; Ch1:#$062A; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDA4; Attr:daFinal; Ch1:#$062A; Ch2:#$0645; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE TEH WITH MEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FDA5; Attr:daFinal; Ch1:#$062C; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE JEEM WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDA6; Attr:daFinal; Ch1:#$062C; Ch2:#$062D; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE JEEM WITH HAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FDA7; Attr:daFinal; Ch1:#$062C; Ch2:#$0645; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE JEEM WITH MEEM WITH ALEF MAKSURA FINAL FORM (Unicode:#$FDA8; Attr:daFinal; Ch1:#$0633; Ch2:#$062E; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH KHAH WITH ALEF MAKSURA FINAL FORM (Unicode:#$FDA9; Attr:daFinal; Ch1:#$0635; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE SAD WITH HAH WITH YEH FINAL FORM (Unicode:#$FDAA; Attr:daFinal; Ch1:#$0634; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE SHEEN WITH HAH WITH YEH FINAL FORM (Unicode:#$FDAB; Attr:daFinal; Ch1:#$0636; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE DAD WITH HAH WITH YEH FINAL FORM (Unicode:#$FDAC; Attr:daFinal; Ch1:#$0644; Ch2:#$062C; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH JEEM WITH YEH FINAL FORM (Unicode:#$FDAD; Attr:daFinal; Ch1:#$0644; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDAE; Attr:daFinal; Ch1:#$064A; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE YEH WITH HAH WITH YEH FINAL FORM (Unicode:#$FDAF; Attr:daFinal; Ch1:#$064A; Ch2:#$062C; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE YEH WITH JEEM WITH YEH FINAL FORM (Unicode:#$FDB0; Attr:daFinal; Ch1:#$064A; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE YEH WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDB1; Attr:daFinal; Ch1:#$0645; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDB2; Attr:daFinal; Ch1:#$0642; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE QAF WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDB3; Attr:daFinal; Ch1:#$0646; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH HAH WITH YEH FINAL FORM (Unicode:#$FDB4; Attr:daInitial; Ch1:#$0642; Ch2:#$0645; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE QAF WITH MEEM WITH HAH INITIAL FORM (Unicode:#$FDB5; Attr:daInitial; Ch1:#$0644; Ch2:#$062D; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH HAH WITH MEEM INITIAL FORM (Unicode:#$FDB6; Attr:daFinal; Ch1:#$0639; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE AIN WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDB7; Attr:daFinal; Ch1:#$0643; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE KAF WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDB8; Attr:daInitial; Ch1:#$0646; Ch2:#$062C; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH JEEM WITH HAH INITIAL FORM (Unicode:#$FDB9; Attr:daFinal; Ch1:#$0645; Ch2:#$062E; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH KHAH WITH YEH FINAL FORM (Unicode:#$FDBA; Attr:daInitial; Ch1:#$0644; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH JEEM WITH MEEM INITIAL FORM (Unicode:#$FDBB; Attr:daFinal; Ch1:#$0643; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE KAF WITH MEEM WITH MEEM FINAL FORM (Unicode:#$FDBC; Attr:daFinal; Ch1:#$0644; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE LAM WITH JEEM WITH MEEM FINAL FORM (Unicode:#$FDBD; Attr:daFinal; Ch1:#$0646; Ch2:#$062C; Ch3:#$062D; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH JEEM WITH HAH FINAL FORM (Unicode:#$FDBE; Attr:daFinal; Ch1:#$062C; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE JEEM WITH HAH WITH YEH FINAL FORM (Unicode:#$FDBF; Attr:daFinal; Ch1:#$062D; Ch2:#$062C; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE HAH WITH JEEM WITH YEH FINAL FORM (Unicode:#$FDC0; Attr:daFinal; Ch1:#$0645; Ch2:#$062C; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE MEEM WITH JEEM WITH YEH FINAL FORM (Unicode:#$FDC1; Attr:daFinal; Ch1:#$0641; Ch2:#$0645; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE FEH WITH MEEM WITH YEH FINAL FORM (Unicode:#$FDC2; Attr:daFinal; Ch1:#$0628; Ch2:#$062D; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE BEH WITH HAH WITH YEH FINAL FORM (Unicode:#$FDC3; Attr:daInitial; Ch1:#$0643; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE KAF WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FDC4; Attr:daInitial; Ch1:#$0639; Ch2:#$062C; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE AIN WITH JEEM WITH MEEM INITIAL FORM (Unicode:#$FDC5; Attr:daInitial; Ch1:#$0635; Ch2:#$0645; Ch3:#$0645; Ch4:#$FFFF), // ARABIC LIGATURE SAD WITH MEEM WITH MEEM INITIAL FORM (Unicode:#$FDC6; Attr:daFinal; Ch1:#$0633; Ch2:#$062E; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE SEEN WITH KHAH WITH YEH FINAL FORM (Unicode:#$FDC7; Attr:daFinal; Ch1:#$0646; Ch2:#$062C; Ch3:#$064A; Ch4:#$FFFF), // ARABIC LIGATURE NOON WITH JEEM WITH YEH FINAL FORM (Unicode:#$FDF0; Attr:daIsolated; Ch1:#$0635; Ch2:#$0644; Ch3:#$06D2; Ch4:#$FFFF), // ARABIC LIGATURE SALLA USED AS KORANIC STOP SIGN ISOLATED FORM (Unicode:#$FDF1; Attr:daIsolated; Ch1:#$0642; Ch2:#$0644; Ch3:#$06D2; Ch4:#$FFFF), // ARABIC LIGATURE QALA USED AS KORANIC STOP SIGN ISOLATED FORM (Unicode:#$FDF2; Attr:daIsolated; Ch1:#$0627; Ch2:#$0644; Ch3:#$0644; Ch4:#$0647; Ch5:#$FFFF),// ARABIC LIGATURE ALLAH ISOLATED FORM (Unicode:#$FDF3; Attr:daIsolated; Ch1:#$0627; Ch2:#$0643; Ch3:#$0628; Ch4:#$0631; Ch5:#$FFFF),// ARABIC LIGATURE AKBAR ISOLATED FORM (Unicode:#$FDF4; Attr:daIsolated; Ch1:#$0645; Ch2:#$062D; Ch3:#$0645; Ch4:#$062F; Ch5:#$FFFF),// ARABIC LIGATURE MOHAMMAD ISOLATED FORM (Unicode:#$FDF5; Attr:daIsolated; Ch1:#$0635; Ch2:#$0644; Ch3:#$0639; Ch4:#$0645; Ch5:#$FFFF),// ARABIC LIGATURE SALAM ISOLATED FORM (Unicode:#$FDF6; Attr:daIsolated; Ch1:#$0631; Ch2:#$0633; Ch3:#$0648; Ch4:#$0644; Ch5:#$FFFF),// ARABIC LIGATURE RASOUL ISOLATED FORM (Unicode:#$FDF7; Attr:daIsolated; Ch1:#$0639; Ch2:#$0644; Ch3:#$064A; Ch4:#$0647; Ch5:#$FFFF),// ARABIC LIGATURE ALAYHE ISOLATED FORM (Unicode:#$FDF8; Attr:daIsolated; Ch1:#$0648; Ch2:#$0633; Ch3:#$0644; Ch4:#$0645; Ch5:#$FFFF),// ARABIC LIGATURE WASALLAM ISOLATED FORM (Unicode:#$FDF9; Attr:daIsolated; Ch1:#$0635; Ch2:#$0644; Ch3:#$0649; Ch4:#$FFFF), // ARABIC LIGATURE SALLA ISOLATED FORM (Unicode:#$FE30; Attr:daVertical; Ch1:#$2025; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL TWO DOT LEADER (Unicode:#$FE31; Attr:daVertical; Ch1:#$2014; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL EM DASH (Unicode:#$FE32; Attr:daVertical; Ch1:#$2013; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL EN DASH (Unicode:#$FE33; Attr:daVertical; Ch1:#$005F; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LOW LINE (Unicode:#$FE34; Attr:daVertical; Ch1:#$005F; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL WAVY LOW LINE (Unicode:#$FE35; Attr:daVertical; Ch1:#$0028; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT PARENTHESIS (Unicode:#$FE36; Attr:daVertical; Ch1:#$0029; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT PARENTHESIS (Unicode:#$FE37; Attr:daVertical; Ch1:#$007B; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT CURLY BRACKET (Unicode:#$FE38; Attr:daVertical; Ch1:#$007D; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT CURLY BRACKET (Unicode:#$FE39; Attr:daVertical; Ch1:#$3014; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT TORTOISE SHELL BRACKET (Unicode:#$FE3A; Attr:daVertical; Ch1:#$3015; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT TORTOISE SHELL BRACKET (Unicode:#$FE3B; Attr:daVertical; Ch1:#$3010; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT BLACK LENTICULAR BRACKET (Unicode:#$FE3C; Attr:daVertical; Ch1:#$3011; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT BLACK LENTICULAR BRACKET (Unicode:#$FE3D; Attr:daVertical; Ch1:#$300A; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT DOUBLE ANGLE BRACKET (Unicode:#$FE3E; Attr:daVertical; Ch1:#$300B; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT DOUBLE ANGLE BRACKET (Unicode:#$FE3F; Attr:daVertical; Ch1:#$3008; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT ANGLE BRACKET (Unicode:#$FE40; Attr:daVertical; Ch1:#$3009; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT ANGLE BRACKET (Unicode:#$FE41; Attr:daVertical; Ch1:#$300C; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT CORNER BRACKET (Unicode:#$FE42; Attr:daVertical; Ch1:#$300D; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT CORNER BRACKET (Unicode:#$FE43; Attr:daVertical; Ch1:#$300E; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL LEFT WHITE CORNER BRACKET (Unicode:#$FE44; Attr:daVertical; Ch1:#$300F; Ch2:#$FFFF), // PRESENTATION FORM FOR VERTICAL RIGHT WHITE CORNER BRACKET (Unicode:#$FE49; Attr:daCompat; Ch1:#$203E; Ch2:#$FFFF), // DASHED OVERLINE (Unicode:#$FE4A; Attr:daCompat; Ch1:#$203E; Ch2:#$FFFF), // CENTRELINE OVERLINE (Unicode:#$FE4B; Attr:daCompat; Ch1:#$203E; Ch2:#$FFFF), // WAVY OVERLINE (Unicode:#$FE4C; Attr:daCompat; Ch1:#$203E; Ch2:#$FFFF), // DOUBLE WAVY OVERLINE (Unicode:#$FE4D; Attr:daCompat; Ch1:#$005F; Ch2:#$FFFF), // DASHED LOW LINE (Unicode:#$FE4E; Attr:daCompat; Ch1:#$005F; Ch2:#$FFFF), // CENTRELINE LOW LINE (Unicode:#$FE4F; Attr:daCompat; Ch1:#$005F; Ch2:#$FFFF), // WAVY LOW LINE (Unicode:#$FE50; Attr:daSmall; Ch1:#$002C; Ch2:#$FFFF), // SMALL COMMA (Unicode:#$FE51; Attr:daSmall; Ch1:#$3001; Ch2:#$FFFF), // SMALL IDEOGRAPHIC COMMA (Unicode:#$FE52; Attr:daSmall; Ch1:#$002E; Ch2:#$FFFF), // SMALL FULL STOP (Unicode:#$FE54; Attr:daSmall; Ch1:#$003B; Ch2:#$FFFF), // SMALL SEMICOLON (Unicode:#$FE55; Attr:daSmall; Ch1:#$003A; Ch2:#$FFFF), // SMALL COLON (Unicode:#$FE56; Attr:daSmall; Ch1:#$003F; Ch2:#$FFFF), // SMALL QUESTION MARK (Unicode:#$FE57; Attr:daSmall; Ch1:#$0021; Ch2:#$FFFF), // SMALL EXCLAMATION MARK (Unicode:#$FE58; Attr:daSmall; Ch1:#$2014; Ch2:#$FFFF), // SMALL EM DASH (Unicode:#$FE59; Attr:daSmall; Ch1:#$0028; Ch2:#$FFFF), // SMALL LEFT PARENTHESIS (Unicode:#$FE5A; Attr:daSmall; Ch1:#$0029; Ch2:#$FFFF), // SMALL RIGHT PARENTHESIS (Unicode:#$FE5B; Attr:daSmall; Ch1:#$007B; Ch2:#$FFFF), // SMALL LEFT CURLY BRACKET (Unicode:#$FE5C; Attr:daSmall; Ch1:#$007D; Ch2:#$FFFF), // SMALL RIGHT CURLY BRACKET (Unicode:#$FE5D; Attr:daSmall; Ch1:#$3014; Ch2:#$FFFF), // SMALL LEFT TORTOISE SHELL BRACKET (Unicode:#$FE5E; Attr:daSmall; Ch1:#$3015; Ch2:#$FFFF), // SMALL RIGHT TORTOISE SHELL BRACKET (Unicode:#$FE5F; Attr:daSmall; Ch1:#$0023; Ch2:#$FFFF), // SMALL NUMBER SIGN (Unicode:#$FE60; Attr:daSmall; Ch1:#$0026; Ch2:#$FFFF), // SMALL AMPERSAND (Unicode:#$FE61; Attr:daSmall; Ch1:#$002A; Ch2:#$FFFF), // SMALL ASTERISK (Unicode:#$FE62; Attr:daSmall; Ch1:#$002B; Ch2:#$FFFF), // SMALL PLUS SIGN (Unicode:#$FE63; Attr:daSmall; Ch1:#$002D; Ch2:#$FFFF), // SMALL HYPHEN-MINUS (Unicode:#$FE64; Attr:daSmall; Ch1:#$003C; Ch2:#$FFFF), // SMALL LESS-THAN SIGN (Unicode:#$FE65; Attr:daSmall; Ch1:#$003E; Ch2:#$FFFF), // SMALL GREATER-THAN SIGN (Unicode:#$FE66; Attr:daSmall; Ch1:#$003D; Ch2:#$FFFF), // SMALL EQUALS SIGN (Unicode:#$FE68; Attr:daSmall; Ch1:#$005C; Ch2:#$FFFF), // SMALL REVERSE SOLIDUS (Unicode:#$FE69; Attr:daSmall; Ch1:#$0024; Ch2:#$FFFF), // SMALL DOLLAR SIGN (Unicode:#$FE6A; Attr:daSmall; Ch1:#$0025; Ch2:#$FFFF), // SMALL PERCENT SIGN (Unicode:#$FE6B; Attr:daSmall; Ch1:#$0040; Ch2:#$FFFF), // SMALL COMMERCIAL AT (Unicode:#$FE70; Attr:daIsolated; Ch1:#$0020; Ch2:#$064B; Ch3:#$FFFF),// ARABIC FATHATAN ISOLATED FORM (Unicode:#$FE71; Attr:daMedial; Ch1:#$0640; Ch2:#$064B; Ch3:#$FFFF), // ARABIC TATWEEL WITH FATHATAN ABOVE (Unicode:#$FE72; Attr:daIsolated; Ch1:#$0020; Ch2:#$064C; Ch3:#$FFFF),// ARABIC DAMMATAN ISOLATED FORM (Unicode:#$FE74; Attr:daIsolated; Ch1:#$0020; Ch2:#$064D; Ch3:#$FFFF),// ARABIC KASRATAN ISOLATED FORM (Unicode:#$FE76; Attr:daIsolated; Ch1:#$0020; Ch2:#$064E; Ch3:#$FFFF),// ARABIC FATHA ISOLATED FORM (Unicode:#$FE77; Attr:daMedial; Ch1:#$0640; Ch2:#$064E; Ch3:#$FFFF), // ARABIC FATHA MEDIAL FORM (Unicode:#$FE78; Attr:daIsolated; Ch1:#$0020; Ch2:#$064F; Ch3:#$FFFF),// ARABIC DAMMA ISOLATED FORM (Unicode:#$FE79; Attr:daMedial; Ch1:#$0640; Ch2:#$064F; Ch3:#$FFFF), // ARABIC DAMMA MEDIAL FORM (Unicode:#$FE7A; Attr:daIsolated; Ch1:#$0020; Ch2:#$0650; Ch3:#$FFFF),// ARABIC KASRA ISOLATED FORM (Unicode:#$FE7B; Attr:daMedial; Ch1:#$0640; Ch2:#$0650; Ch3:#$FFFF), // ARABIC KASRA MEDIAL FORM (Unicode:#$FE7C; Attr:daIsolated; Ch1:#$0020; Ch2:#$0651; Ch3:#$FFFF),// ARABIC SHADDA ISOLATED FORM (Unicode:#$FE7D; Attr:daMedial; Ch1:#$0640; Ch2:#$0651; Ch3:#$FFFF), // ARABIC SHADDA MEDIAL FORM (Unicode:#$FE7E; Attr:daIsolated; Ch1:#$0020; Ch2:#$0652; Ch3:#$FFFF),// ARABIC SUKUN ISOLATED FORM (Unicode:#$FE7F; Attr:daMedial; Ch1:#$0640; Ch2:#$0652; Ch3:#$FFFF), // ARABIC SUKUN MEDIAL FORM (Unicode:#$FE80; Attr:daIsolated; Ch1:#$0621; Ch2:#$FFFF), // ARABIC LETTER HAMZA ISOLATED FORM (Unicode:#$FE81; Attr:daIsolated; Ch1:#$0622; Ch2:#$FFFF), // ARABIC LETTER ALEF WITH MADDA ABOVE ISOLATED FORM (Unicode:#$FE82; Attr:daFinal; Ch1:#$0622; Ch2:#$FFFF), // ARABIC LETTER ALEF WITH MADDA ABOVE FINAL FORM (Unicode:#$FE83; Attr:daIsolated; Ch1:#$0623; Ch2:#$FFFF), // ARABIC LETTER ALEF WITH HAMZA ABOVE ISOLATED FORM (Unicode:#$FE84; Attr:daFinal; Ch1:#$0623; Ch2:#$FFFF), // ARABIC LETTER ALEF WITH HAMZA ABOVE FINAL FORM (Unicode:#$FE85; Attr:daIsolated; Ch1:#$0624; Ch2:#$FFFF), // ARABIC LETTER WAW WITH HAMZA ABOVE ISOLATED FORM (Unicode:#$FE86; Attr:daFinal; Ch1:#$0624; Ch2:#$FFFF), // ARABIC LETTER WAW WITH HAMZA ABOVE FINAL FORM (Unicode:#$FE87; Attr:daIsolated; Ch1:#$0625; Ch2:#$FFFF), // ARABIC LETTER ALEF WITH HAMZA BELOW ISOLATED FORM (Unicode:#$FE88; Attr:daFinal; Ch1:#$0625; Ch2:#$FFFF), // ARABIC LETTER ALEF WITH HAMZA BELOW FINAL FORM (Unicode:#$FE89; Attr:daIsolated; Ch1:#$0626; Ch2:#$FFFF), // ARABIC LETTER YEH WITH HAMZA ABOVE ISOLATED FORM (Unicode:#$FE8A; Attr:daFinal; Ch1:#$0626; Ch2:#$FFFF), // ARABIC LETTER YEH WITH HAMZA ABOVE FINAL FORM (Unicode:#$FE8B; Attr:daInitial; Ch1:#$0626; Ch2:#$FFFF), // ARABIC LETTER YEH WITH HAMZA ABOVE INITIAL FORM (Unicode:#$FE8C; Attr:daMedial; Ch1:#$0626; Ch2:#$FFFF), // ARABIC LETTER YEH WITH HAMZA ABOVE MEDIAL FORM (Unicode:#$FE8D; Attr:daIsolated; Ch1:#$0627; Ch2:#$FFFF), // ARABIC LETTER ALEF ISOLATED FORM (Unicode:#$FE8E; Attr:daFinal; Ch1:#$0627; Ch2:#$FFFF), // ARABIC LETTER ALEF FINAL FORM (Unicode:#$FE8F; Attr:daIsolated; Ch1:#$0628; Ch2:#$FFFF), // ARABIC LETTER BEH ISOLATED FORM (Unicode:#$FE90; Attr:daFinal; Ch1:#$0628; Ch2:#$FFFF), // ARABIC LETTER BEH FINAL FORM (Unicode:#$FE91; Attr:daInitial; Ch1:#$0628; Ch2:#$FFFF), // ARABIC LETTER BEH INITIAL FORM (Unicode:#$FE92; Attr:daMedial; Ch1:#$0628; Ch2:#$FFFF), // ARABIC LETTER BEH MEDIAL FORM (Unicode:#$FE93; Attr:daIsolated; Ch1:#$0629; Ch2:#$FFFF), // ARABIC LETTER TEH MARBUTA ISOLATED FORM (Unicode:#$FE94; Attr:daFinal; Ch1:#$0629; Ch2:#$FFFF), // ARABIC LETTER TEH MARBUTA FINAL FORM (Unicode:#$FE95; Attr:daIsolated; Ch1:#$062A; Ch2:#$FFFF), // ARABIC LETTER TEH ISOLATED FORM (Unicode:#$FE96; Attr:daFinal; Ch1:#$062A; Ch2:#$FFFF), // ARABIC LETTER TEH FINAL FORM (Unicode:#$FE97; Attr:daInitial; Ch1:#$062A; Ch2:#$FFFF), // ARABIC LETTER TEH INITIAL FORM (Unicode:#$FE98; Attr:daMedial; Ch1:#$062A; Ch2:#$FFFF), // ARABIC LETTER TEH MEDIAL FORM (Unicode:#$FE99; Attr:daIsolated; Ch1:#$062B; Ch2:#$FFFF), // ARABIC LETTER THEH ISOLATED FORM (Unicode:#$FE9A; Attr:daFinal; Ch1:#$062B; Ch2:#$FFFF), // ARABIC LETTER THEH FINAL FORM (Unicode:#$FE9B; Attr:daInitial; Ch1:#$062B; Ch2:#$FFFF), // ARABIC LETTER THEH INITIAL FORM (Unicode:#$FE9C; Attr:daMedial; Ch1:#$062B; Ch2:#$FFFF), // ARABIC LETTER THEH MEDIAL FORM (Unicode:#$FE9D; Attr:daIsolated; Ch1:#$062C; Ch2:#$FFFF), // ARABIC LETTER JEEM ISOLATED FORM (Unicode:#$FE9E; Attr:daFinal; Ch1:#$062C; Ch2:#$FFFF), // ARABIC LETTER JEEM FINAL FORM (Unicode:#$FE9F; Attr:daInitial; Ch1:#$062C; Ch2:#$FFFF), // ARABIC LETTER JEEM INITIAL FORM (Unicode:#$FEA0; Attr:daMedial; Ch1:#$062C; Ch2:#$FFFF), // ARABIC LETTER JEEM MEDIAL FORM (Unicode:#$FEA1; Attr:daIsolated; Ch1:#$062D; Ch2:#$FFFF), // ARABIC LETTER HAH ISOLATED FORM (Unicode:#$FEA2; Attr:daFinal; Ch1:#$062D; Ch2:#$FFFF), // ARABIC LETTER HAH FINAL FORM (Unicode:#$FEA3; Attr:daInitial; Ch1:#$062D; Ch2:#$FFFF), // ARABIC LETTER HAH INITIAL FORM (Unicode:#$FEA4; Attr:daMedial; Ch1:#$062D; Ch2:#$FFFF), // ARABIC LETTER HAH MEDIAL FORM (Unicode:#$FEA5; Attr:daIsolated; Ch1:#$062E; Ch2:#$FFFF), // ARABIC LETTER KHAH ISOLATED FORM (Unicode:#$FEA6; Attr:daFinal; Ch1:#$062E; Ch2:#$FFFF), // ARABIC LETTER KHAH FINAL FORM (Unicode:#$FEA7; Attr:daInitial; Ch1:#$062E; Ch2:#$FFFF), // ARABIC LETTER KHAH INITIAL FORM (Unicode:#$FEA8; Attr:daMedial; Ch1:#$062E; Ch2:#$FFFF), // ARABIC LETTER KHAH MEDIAL FORM (Unicode:#$FEA9; Attr:daIsolated; Ch1:#$062F; Ch2:#$FFFF), // ARABIC LETTER DAL ISOLATED FORM (Unicode:#$FEAA; Attr:daFinal; Ch1:#$062F; Ch2:#$FFFF), // ARABIC LETTER DAL FINAL FORM (Unicode:#$FEAB; Attr:daIsolated; Ch1:#$0630; Ch2:#$FFFF), // ARABIC LETTER THAL ISOLATED FORM (Unicode:#$FEAC; Attr:daFinal; Ch1:#$0630; Ch2:#$FFFF), // ARABIC LETTER THAL FINAL FORM (Unicode:#$FEAD; Attr:daIsolated; Ch1:#$0631; Ch2:#$FFFF), // ARABIC LETTER REH ISOLATED FORM (Unicode:#$FEAE; Attr:daFinal; Ch1:#$0631; Ch2:#$FFFF), // ARABIC LETTER REH FINAL FORM (Unicode:#$FEAF; Attr:daIsolated; Ch1:#$0632; Ch2:#$FFFF), // ARABIC LETTER ZAIN ISOLATED FORM (Unicode:#$FEB0; Attr:daFinal; Ch1:#$0632; Ch2:#$FFFF), // ARABIC LETTER ZAIN FINAL FORM (Unicode:#$FEB1; Attr:daIsolated; Ch1:#$0633; Ch2:#$FFFF), // ARABIC LETTER SEEN ISOLATED FORM (Unicode:#$FEB2; Attr:daFinal; Ch1:#$0633; Ch2:#$FFFF), // ARABIC LETTER SEEN FINAL FORM (Unicode:#$FEB3; Attr:daInitial; Ch1:#$0633; Ch2:#$FFFF), // ARABIC LETTER SEEN INITIAL FORM (Unicode:#$FEB4; Attr:daMedial; Ch1:#$0633; Ch2:#$FFFF), // ARABIC LETTER SEEN MEDIAL FORM (Unicode:#$FEB5; Attr:daIsolated; Ch1:#$0634; Ch2:#$FFFF), // ARABIC LETTER SHEEN ISOLATED FORM (Unicode:#$FEB6; Attr:daFinal; Ch1:#$0634; Ch2:#$FFFF), // ARABIC LETTER SHEEN FINAL FORM (Unicode:#$FEB7; Attr:daInitial; Ch1:#$0634; Ch2:#$FFFF), // ARABIC LETTER SHEEN INITIAL FORM (Unicode:#$FEB8; Attr:daMedial; Ch1:#$0634; Ch2:#$FFFF), // ARABIC LETTER SHEEN MEDIAL FORM (Unicode:#$FEB9; Attr:daIsolated; Ch1:#$0635; Ch2:#$FFFF), // ARABIC LETTER SAD ISOLATED FORM (Unicode:#$FEBA; Attr:daFinal; Ch1:#$0635; Ch2:#$FFFF), // ARABIC LETTER SAD FINAL FORM (Unicode:#$FEBB; Attr:daInitial; Ch1:#$0635; Ch2:#$FFFF), // ARABIC LETTER SAD INITIAL FORM (Unicode:#$FEBC; Attr:daMedial; Ch1:#$0635; Ch2:#$FFFF), // ARABIC LETTER SAD MEDIAL FORM (Unicode:#$FEBD; Attr:daIsolated; Ch1:#$0636; Ch2:#$FFFF), // ARABIC LETTER DAD ISOLATED FORM (Unicode:#$FEBE; Attr:daFinal; Ch1:#$0636; Ch2:#$FFFF), // ARABIC LETTER DAD FINAL FORM (Unicode:#$FEBF; Attr:daInitial; Ch1:#$0636; Ch2:#$FFFF), // ARABIC LETTER DAD INITIAL FORM (Unicode:#$FEC0; Attr:daMedial; Ch1:#$0636; Ch2:#$FFFF), // ARABIC LETTER DAD MEDIAL FORM (Unicode:#$FEC1; Attr:daIsolated; Ch1:#$0637; Ch2:#$FFFF), // ARABIC LETTER TAH ISOLATED FORM (Unicode:#$FEC2; Attr:daFinal; Ch1:#$0637; Ch2:#$FFFF), // ARABIC LETTER TAH FINAL FORM (Unicode:#$FEC3; Attr:daInitial; Ch1:#$0637; Ch2:#$FFFF), // ARABIC LETTER TAH INITIAL FORM (Unicode:#$FEC4; Attr:daMedial; Ch1:#$0637; Ch2:#$FFFF), // ARABIC LETTER TAH MEDIAL FORM (Unicode:#$FEC5; Attr:daIsolated; Ch1:#$0638; Ch2:#$FFFF), // ARABIC LETTER ZAH ISOLATED FORM (Unicode:#$FEC6; Attr:daFinal; Ch1:#$0638; Ch2:#$FFFF), // ARABIC LETTER ZAH FINAL FORM (Unicode:#$FEC7; Attr:daInitial; Ch1:#$0638; Ch2:#$FFFF), // ARABIC LETTER ZAH INITIAL FORM (Unicode:#$FEC8; Attr:daMedial; Ch1:#$0638; Ch2:#$FFFF), // ARABIC LETTER ZAH MEDIAL FORM (Unicode:#$FEC9; Attr:daIsolated; Ch1:#$0639; Ch2:#$FFFF), // ARABIC LETTER AIN ISOLATED FORM (Unicode:#$FECA; Attr:daFinal; Ch1:#$0639; Ch2:#$FFFF), // ARABIC LETTER AIN FINAL FORM (Unicode:#$FECB; Attr:daInitial; Ch1:#$0639; Ch2:#$FFFF), // ARABIC LETTER AIN INITIAL FORM (Unicode:#$FECC; Attr:daMedial; Ch1:#$0639; Ch2:#$FFFF), // ARABIC LETTER AIN MEDIAL FORM (Unicode:#$FECD; Attr:daIsolated; Ch1:#$063A; Ch2:#$FFFF), // ARABIC LETTER GHAIN ISOLATED FORM (Unicode:#$FECE; Attr:daFinal; Ch1:#$063A; Ch2:#$FFFF), // ARABIC LETTER GHAIN FINAL FORM (Unicode:#$FECF; Attr:daInitial; Ch1:#$063A; Ch2:#$FFFF), // ARABIC LETTER GHAIN INITIAL FORM (Unicode:#$FED0; Attr:daMedial; Ch1:#$063A; Ch2:#$FFFF), // ARABIC LETTER GHAIN MEDIAL FORM (Unicode:#$FED1; Attr:daIsolated; Ch1:#$0641; Ch2:#$FFFF), // ARABIC LETTER FEH ISOLATED FORM (Unicode:#$FED2; Attr:daFinal; Ch1:#$0641; Ch2:#$FFFF), // ARABIC LETTER FEH FINAL FORM (Unicode:#$FED3; Attr:daInitial; Ch1:#$0641; Ch2:#$FFFF), // ARABIC LETTER FEH INITIAL FORM (Unicode:#$FED4; Attr:daMedial; Ch1:#$0641; Ch2:#$FFFF), // ARABIC LETTER FEH MEDIAL FORM (Unicode:#$FED5; Attr:daIsolated; Ch1:#$0642; Ch2:#$FFFF), // ARABIC LETTER QAF ISOLATED FORM (Unicode:#$FED6; Attr:daFinal; Ch1:#$0642; Ch2:#$FFFF), // ARABIC LETTER QAF FINAL FORM (Unicode:#$FED7; Attr:daInitial; Ch1:#$0642; Ch2:#$FFFF), // ARABIC LETTER QAF INITIAL FORM (Unicode:#$FED8; Attr:daMedial; Ch1:#$0642; Ch2:#$FFFF), // ARABIC LETTER QAF MEDIAL FORM (Unicode:#$FED9; Attr:daIsolated; Ch1:#$0643; Ch2:#$FFFF), // ARABIC LETTER KAF ISOLATED FORM (Unicode:#$FEDA; Attr:daFinal; Ch1:#$0643; Ch2:#$FFFF), // ARABIC LETTER KAF FINAL FORM (Unicode:#$FEDB; Attr:daInitial; Ch1:#$0643; Ch2:#$FFFF), // ARABIC LETTER KAF INITIAL FORM (Unicode:#$FEDC; Attr:daMedial; Ch1:#$0643; Ch2:#$FFFF), // ARABIC LETTER KAF MEDIAL FORM (Unicode:#$FEDD; Attr:daIsolated; Ch1:#$0644; Ch2:#$FFFF), // ARABIC LETTER LAM ISOLATED FORM (Unicode:#$FEDE; Attr:daFinal; Ch1:#$0644; Ch2:#$FFFF), // ARABIC LETTER LAM FINAL FORM (Unicode:#$FEDF; Attr:daInitial; Ch1:#$0644; Ch2:#$FFFF), // ARABIC LETTER LAM INITIAL FORM (Unicode:#$FEE0; Attr:daMedial; Ch1:#$0644; Ch2:#$FFFF), // ARABIC LETTER LAM MEDIAL FORM (Unicode:#$FEE1; Attr:daIsolated; Ch1:#$0645; Ch2:#$FFFF), // ARABIC LETTER MEEM ISOLATED FORM (Unicode:#$FEE2; Attr:daFinal; Ch1:#$0645; Ch2:#$FFFF), // ARABIC LETTER MEEM FINAL FORM (Unicode:#$FEE3; Attr:daInitial; Ch1:#$0645; Ch2:#$FFFF), // ARABIC LETTER MEEM INITIAL FORM (Unicode:#$FEE4; Attr:daMedial; Ch1:#$0645; Ch2:#$FFFF), // ARABIC LETTER MEEM MEDIAL FORM (Unicode:#$FEE5; Attr:daIsolated; Ch1:#$0646; Ch2:#$FFFF), // ARABIC LETTER NOON ISOLATED FORM (Unicode:#$FEE6; Attr:daFinal; Ch1:#$0646; Ch2:#$FFFF), // ARABIC LETTER NOON FINAL FORM (Unicode:#$FEE7; Attr:daInitial; Ch1:#$0646; Ch2:#$FFFF), // ARABIC LETTER NOON INITIAL FORM (Unicode:#$FEE8; Attr:daMedial; Ch1:#$0646; Ch2:#$FFFF), // ARABIC LETTER NOON MEDIAL FORM (Unicode:#$FEE9; Attr:daIsolated; Ch1:#$0647; Ch2:#$FFFF), // ARABIC LETTER HEH ISOLATED FORM (Unicode:#$FEEA; Attr:daFinal; Ch1:#$0647; Ch2:#$FFFF), // ARABIC LETTER HEH FINAL FORM (Unicode:#$FEEB; Attr:daInitial; Ch1:#$0647; Ch2:#$FFFF), // ARABIC LETTER HEH INITIAL FORM (Unicode:#$FEEC; Attr:daMedial; Ch1:#$0647; Ch2:#$FFFF), // ARABIC LETTER HEH MEDIAL FORM (Unicode:#$FEED; Attr:daIsolated; Ch1:#$0648; Ch2:#$FFFF), // ARABIC LETTER WAW ISOLATED FORM (Unicode:#$FEEE; Attr:daFinal; Ch1:#$0648; Ch2:#$FFFF), // ARABIC LETTER WAW FINAL FORM (Unicode:#$FEEF; Attr:daIsolated; Ch1:#$0649; Ch2:#$FFFF), // ARABIC LETTER ALEF MAKSURA ISOLATED FORM (Unicode:#$FEF0; Attr:daFinal; Ch1:#$0649; Ch2:#$FFFF), // ARABIC LETTER ALEF MAKSURA FINAL FORM (Unicode:#$FEF1; Attr:daIsolated; Ch1:#$064A; Ch2:#$FFFF), // ARABIC LETTER YEH ISOLATED FORM (Unicode:#$FEF2; Attr:daFinal; Ch1:#$064A; Ch2:#$FFFF), // ARABIC LETTER YEH FINAL FORM (Unicode:#$FEF3; Attr:daInitial; Ch1:#$064A; Ch2:#$FFFF), // ARABIC LETTER YEH INITIAL FORM (Unicode:#$FEF4; Attr:daMedial; Ch1:#$064A; Ch2:#$FFFF), // ARABIC LETTER YEH MEDIAL FORM (Unicode:#$FEF5; Attr:daIsolated; Ch1:#$0644; Ch2:#$0622; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE ISOLATED FORM (Unicode:#$FEF6; Attr:daFinal; Ch1:#$0644; Ch2:#$0622; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH ALEF WITH MADDA ABOVE FINAL FORM (Unicode:#$FEF7; Attr:daIsolated; Ch1:#$0644; Ch2:#$0623; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE ISOLATED FORM (Unicode:#$FEF8; Attr:daFinal; Ch1:#$0644; Ch2:#$0623; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH ALEF WITH HAMZA ABOVE FINAL FORM (Unicode:#$FEF9; Attr:daIsolated; Ch1:#$0644; Ch2:#$0625; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW ISOLATED FORM (Unicode:#$FEFA; Attr:daFinal; Ch1:#$0644; Ch2:#$0625; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW FINAL FORM (Unicode:#$FEFB; Attr:daIsolated; Ch1:#$0644; Ch2:#$0627; Ch3:#$FFFF),// ARABIC LIGATURE LAM WITH ALEF ISOLATED FORM (Unicode:#$FEFC; Attr:daFinal; Ch1:#$0644; Ch2:#$0627; Ch3:#$FFFF), // ARABIC LIGATURE LAM WITH ALEF FINAL FORM (Unicode:#$FF01; Attr:daWide; Ch1:#$0021; Ch2:#$FFFF), // FULLWIDTH EXCLAMATION MARK (Unicode:#$FF02; Attr:daWide; Ch1:#$0022; Ch2:#$FFFF), // FULLWIDTH QUOTATION MARK (Unicode:#$FF03; Attr:daWide; Ch1:#$0023; Ch2:#$FFFF), // FULLWIDTH NUMBER SIGN (Unicode:#$FF04; Attr:daWide; Ch1:#$0024; Ch2:#$FFFF), // FULLWIDTH DOLLAR SIGN (Unicode:#$FF05; Attr:daWide; Ch1:#$0025; Ch2:#$FFFF), // FULLWIDTH PERCENT SIGN (Unicode:#$FF06; Attr:daWide; Ch1:#$0026; Ch2:#$FFFF), // FULLWIDTH AMPERSAND (Unicode:#$FF07; Attr:daWide; Ch1:#$0027; Ch2:#$FFFF), // FULLWIDTH APOSTROPHE (Unicode:#$FF08; Attr:daWide; Ch1:#$0028; Ch2:#$FFFF), // FULLWIDTH LEFT PARENTHESIS (Unicode:#$FF09; Attr:daWide; Ch1:#$0029; Ch2:#$FFFF), // FULLWIDTH RIGHT PARENTHESIS (Unicode:#$FF0A; Attr:daWide; Ch1:#$002A; Ch2:#$FFFF), // FULLWIDTH ASTERISK (Unicode:#$FF0B; Attr:daWide; Ch1:#$002B; Ch2:#$FFFF), // FULLWIDTH PLUS SIGN (Unicode:#$FF0C; Attr:daWide; Ch1:#$002C; Ch2:#$FFFF), // FULLWIDTH COMMA (Unicode:#$FF0D; Attr:daWide; Ch1:#$002D; Ch2:#$FFFF), // FULLWIDTH HYPHEN-MINUS (Unicode:#$FF0E; Attr:daWide; Ch1:#$002E; Ch2:#$FFFF), // FULLWIDTH FULL STOP (Unicode:#$FF0F; Attr:daWide; Ch1:#$002F; Ch2:#$FFFF), // FULLWIDTH SOLIDUS (Unicode:#$FF10; Attr:daWide; Ch1:#$0030; Ch2:#$FFFF), // FULLWIDTH DIGIT ZERO (Unicode:#$FF11; Attr:daWide; Ch1:#$0031; Ch2:#$FFFF), // FULLWIDTH DIGIT ONE (Unicode:#$FF12; Attr:daWide; Ch1:#$0032; Ch2:#$FFFF), // FULLWIDTH DIGIT TWO (Unicode:#$FF13; Attr:daWide; Ch1:#$0033; Ch2:#$FFFF), // FULLWIDTH DIGIT THREE (Unicode:#$FF14; Attr:daWide; Ch1:#$0034; Ch2:#$FFFF), // FULLWIDTH DIGIT FOUR (Unicode:#$FF15; Attr:daWide; Ch1:#$0035; Ch2:#$FFFF), // FULLWIDTH DIGIT FIVE (Unicode:#$FF16; Attr:daWide; Ch1:#$0036; Ch2:#$FFFF), // FULLWIDTH DIGIT SIX (Unicode:#$FF17; Attr:daWide; Ch1:#$0037; Ch2:#$FFFF), // FULLWIDTH DIGIT SEVEN (Unicode:#$FF18; Attr:daWide; Ch1:#$0038; Ch2:#$FFFF), // FULLWIDTH DIGIT EIGHT (Unicode:#$FF19; Attr:daWide; Ch1:#$0039; Ch2:#$FFFF), // FULLWIDTH DIGIT NINE (Unicode:#$FF1A; Attr:daWide; Ch1:#$003A; Ch2:#$FFFF), // FULLWIDTH COLON (Unicode:#$FF1B; Attr:daWide; Ch1:#$003B; Ch2:#$FFFF), // FULLWIDTH SEMICOLON (Unicode:#$FF1C; Attr:daWide; Ch1:#$003C; Ch2:#$FFFF), // FULLWIDTH LESS-THAN SIGN (Unicode:#$FF1D; Attr:daWide; Ch1:#$003D; Ch2:#$FFFF), // FULLWIDTH EQUALS SIGN (Unicode:#$FF1E; Attr:daWide; Ch1:#$003E; Ch2:#$FFFF), // FULLWIDTH GREATER-THAN SIGN (Unicode:#$FF1F; Attr:daWide; Ch1:#$003F; Ch2:#$FFFF), // FULLWIDTH QUESTION MARK (Unicode:#$FF20; Attr:daWide; Ch1:#$0040; Ch2:#$FFFF), // FULLWIDTH COMMERCIAL AT (Unicode:#$FF21; Attr:daWide; Ch1:#$0041; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER A (Unicode:#$FF22; Attr:daWide; Ch1:#$0042; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER B (Unicode:#$FF23; Attr:daWide; Ch1:#$0043; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER C (Unicode:#$FF24; Attr:daWide; Ch1:#$0044; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER D (Unicode:#$FF25; Attr:daWide; Ch1:#$0045; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER E (Unicode:#$FF26; Attr:daWide; Ch1:#$0046; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER F (Unicode:#$FF27; Attr:daWide; Ch1:#$0047; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER G (Unicode:#$FF28; Attr:daWide; Ch1:#$0048; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER H (Unicode:#$FF29; Attr:daWide; Ch1:#$0049; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER I (Unicode:#$FF2A; Attr:daWide; Ch1:#$004A; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER J (Unicode:#$FF2B; Attr:daWide; Ch1:#$004B; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER K (Unicode:#$FF2C; Attr:daWide; Ch1:#$004C; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER L (Unicode:#$FF2D; Attr:daWide; Ch1:#$004D; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER M (Unicode:#$FF2E; Attr:daWide; Ch1:#$004E; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER N (Unicode:#$FF2F; Attr:daWide; Ch1:#$004F; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER O (Unicode:#$FF30; Attr:daWide; Ch1:#$0050; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER P (Unicode:#$FF31; Attr:daWide; Ch1:#$0051; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER Q (Unicode:#$FF32; Attr:daWide; Ch1:#$0052; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER R (Unicode:#$FF33; Attr:daWide; Ch1:#$0053; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER S (Unicode:#$FF34; Attr:daWide; Ch1:#$0054; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER T (Unicode:#$FF35; Attr:daWide; Ch1:#$0055; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER U (Unicode:#$FF36; Attr:daWide; Ch1:#$0056; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER V (Unicode:#$FF37; Attr:daWide; Ch1:#$0057; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER W (Unicode:#$FF38; Attr:daWide; Ch1:#$0058; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER X (Unicode:#$FF39; Attr:daWide; Ch1:#$0059; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER Y (Unicode:#$FF3A; Attr:daWide; Ch1:#$005A; Ch2:#$FFFF), // FULLWIDTH LATIN CAPITAL LETTER Z (Unicode:#$FF3B; Attr:daWide; Ch1:#$005B; Ch2:#$FFFF), // FULLWIDTH LEFT SQUARE BRACKET (Unicode:#$FF3C; Attr:daWide; Ch1:#$005C; Ch2:#$FFFF), // FULLWIDTH REVERSE SOLIDUS (Unicode:#$FF3D; Attr:daWide; Ch1:#$005D; Ch2:#$FFFF), // FULLWIDTH RIGHT SQUARE BRACKET (Unicode:#$FF3E; Attr:daWide; Ch1:#$005E; Ch2:#$FFFF), // FULLWIDTH CIRCUMFLEX ACCENT (Unicode:#$FF3F; Attr:daWide; Ch1:#$005F; Ch2:#$FFFF), // FULLWIDTH LOW LINE (Unicode:#$FF40; Attr:daWide; Ch1:#$0060; Ch2:#$FFFF), // FULLWIDTH GRAVE ACCENT (Unicode:#$FF41; Attr:daWide; Ch1:#$0061; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER A (Unicode:#$FF42; Attr:daWide; Ch1:#$0062; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER B (Unicode:#$FF43; Attr:daWide; Ch1:#$0063; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER C (Unicode:#$FF44; Attr:daWide; Ch1:#$0064; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER D (Unicode:#$FF45; Attr:daWide; Ch1:#$0065; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER E (Unicode:#$FF46; Attr:daWide; Ch1:#$0066; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER F (Unicode:#$FF47; Attr:daWide; Ch1:#$0067; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER G (Unicode:#$FF48; Attr:daWide; Ch1:#$0068; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER H (Unicode:#$FF49; Attr:daWide; Ch1:#$0069; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER I (Unicode:#$FF4A; Attr:daWide; Ch1:#$006A; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER J (Unicode:#$FF4B; Attr:daWide; Ch1:#$006B; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER K (Unicode:#$FF4C; Attr:daWide; Ch1:#$006C; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER L (Unicode:#$FF4D; Attr:daWide; Ch1:#$006D; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER M (Unicode:#$FF4E; Attr:daWide; Ch1:#$006E; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER N (Unicode:#$FF4F; Attr:daWide; Ch1:#$006F; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER O (Unicode:#$FF50; Attr:daWide; Ch1:#$0070; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER P (Unicode:#$FF51; Attr:daWide; Ch1:#$0071; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER Q (Unicode:#$FF52; Attr:daWide; Ch1:#$0072; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER R (Unicode:#$FF53; Attr:daWide; Ch1:#$0073; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER S (Unicode:#$FF54; Attr:daWide; Ch1:#$0074; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER T (Unicode:#$FF55; Attr:daWide; Ch1:#$0075; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER U (Unicode:#$FF56; Attr:daWide; Ch1:#$0076; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER V (Unicode:#$FF57; Attr:daWide; Ch1:#$0077; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER W (Unicode:#$FF58; Attr:daWide; Ch1:#$0078; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER X (Unicode:#$FF59; Attr:daWide; Ch1:#$0079; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER Y (Unicode:#$FF5A; Attr:daWide; Ch1:#$007A; Ch2:#$FFFF), // FULLWIDTH LATIN SMALL LETTER Z (Unicode:#$FF5B; Attr:daWide; Ch1:#$007B; Ch2:#$FFFF), // FULLWIDTH LEFT CURLY BRACKET (Unicode:#$FF5C; Attr:daWide; Ch1:#$007C; Ch2:#$FFFF), // FULLWIDTH VERTICAL LINE (Unicode:#$FF5D; Attr:daWide; Ch1:#$007D; Ch2:#$FFFF), // FULLWIDTH RIGHT CURLY BRACKET (Unicode:#$FF5E; Attr:daWide; Ch1:#$007E; Ch2:#$FFFF), // FULLWIDTH TILDE (Unicode:#$FF61; Attr:daNarrow; Ch1:#$3002; Ch2:#$FFFF), // HALFWIDTH IDEOGRAPHIC FULL STOP (Unicode:#$FF62; Attr:daNarrow; Ch1:#$300C; Ch2:#$FFFF), // HALFWIDTH LEFT CORNER BRACKET (Unicode:#$FF63; Attr:daNarrow; Ch1:#$300D; Ch2:#$FFFF), // HALFWIDTH RIGHT CORNER BRACKET (Unicode:#$FF64; Attr:daNarrow; Ch1:#$3001; Ch2:#$FFFF), // HALFWIDTH IDEOGRAPHIC COMMA (Unicode:#$FF65; Attr:daNarrow; Ch1:#$30FB; Ch2:#$FFFF), // HALFWIDTH KATAKANA MIDDLE DOT (Unicode:#$FF66; Attr:daNarrow; Ch1:#$30F2; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER WO (Unicode:#$FF67; Attr:daNarrow; Ch1:#$30A1; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL A (Unicode:#$FF68; Attr:daNarrow; Ch1:#$30A3; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL I (Unicode:#$FF69; Attr:daNarrow; Ch1:#$30A5; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL U (Unicode:#$FF6A; Attr:daNarrow; Ch1:#$30A7; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL E (Unicode:#$FF6B; Attr:daNarrow; Ch1:#$30A9; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL O (Unicode:#$FF6C; Attr:daNarrow; Ch1:#$30E3; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL YA (Unicode:#$FF6D; Attr:daNarrow; Ch1:#$30E5; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL YU (Unicode:#$FF6E; Attr:daNarrow; Ch1:#$30E7; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL YO (Unicode:#$FF6F; Attr:daNarrow; Ch1:#$30C3; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SMALL TU (Unicode:#$FF70; Attr:daNarrow; Ch1:#$30FC; Ch2:#$FFFF), // HALFWIDTH KATAKANA-HIRAGANA PROLONGED SOUND MARK (Unicode:#$FF71; Attr:daNarrow; Ch1:#$30A2; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER A (Unicode:#$FF72; Attr:daNarrow; Ch1:#$30A4; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER I (Unicode:#$FF73; Attr:daNarrow; Ch1:#$30A6; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER U (Unicode:#$FF74; Attr:daNarrow; Ch1:#$30A8; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER E (Unicode:#$FF75; Attr:daNarrow; Ch1:#$30AA; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER O (Unicode:#$FF76; Attr:daNarrow; Ch1:#$30AB; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER KA (Unicode:#$FF77; Attr:daNarrow; Ch1:#$30AD; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER KI (Unicode:#$FF78; Attr:daNarrow; Ch1:#$30AF; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER KU (Unicode:#$FF79; Attr:daNarrow; Ch1:#$30B1; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER KE (Unicode:#$FF7A; Attr:daNarrow; Ch1:#$30B3; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER KO (Unicode:#$FF7B; Attr:daNarrow; Ch1:#$30B5; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SA (Unicode:#$FF7C; Attr:daNarrow; Ch1:#$30B7; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SI (Unicode:#$FF7D; Attr:daNarrow; Ch1:#$30B9; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SU (Unicode:#$FF7E; Attr:daNarrow; Ch1:#$30BB; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SE (Unicode:#$FF7F; Attr:daNarrow; Ch1:#$30BD; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER SO (Unicode:#$FF80; Attr:daNarrow; Ch1:#$30BF; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER TA (Unicode:#$FF81; Attr:daNarrow; Ch1:#$30C1; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER TI (Unicode:#$FF82; Attr:daNarrow; Ch1:#$30C4; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER TU (Unicode:#$FF83; Attr:daNarrow; Ch1:#$30C6; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER TE (Unicode:#$FF84; Attr:daNarrow; Ch1:#$30C8; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER TO (Unicode:#$FF85; Attr:daNarrow; Ch1:#$30CA; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER NA (Unicode:#$FF86; Attr:daNarrow; Ch1:#$30CB; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER NI (Unicode:#$FF87; Attr:daNarrow; Ch1:#$30CC; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER NU (Unicode:#$FF88; Attr:daNarrow; Ch1:#$30CD; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER NE (Unicode:#$FF89; Attr:daNarrow; Ch1:#$30CE; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER NO (Unicode:#$FF8A; Attr:daNarrow; Ch1:#$30CF; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER HA (Unicode:#$FF8B; Attr:daNarrow; Ch1:#$30D2; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER HI (Unicode:#$FF8C; Attr:daNarrow; Ch1:#$30D5; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER HU (Unicode:#$FF8D; Attr:daNarrow; Ch1:#$30D8; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER HE (Unicode:#$FF8E; Attr:daNarrow; Ch1:#$30DB; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER HO (Unicode:#$FF8F; Attr:daNarrow; Ch1:#$30DE; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER MA (Unicode:#$FF90; Attr:daNarrow; Ch1:#$30DF; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER MI (Unicode:#$FF91; Attr:daNarrow; Ch1:#$30E0; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER MU (Unicode:#$FF92; Attr:daNarrow; Ch1:#$30E1; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER ME (Unicode:#$FF93; Attr:daNarrow; Ch1:#$30E2; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER MO (Unicode:#$FF94; Attr:daNarrow; Ch1:#$30E4; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER YA (Unicode:#$FF95; Attr:daNarrow; Ch1:#$30E6; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER YU (Unicode:#$FF96; Attr:daNarrow; Ch1:#$30E8; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER YO (Unicode:#$FF97; Attr:daNarrow; Ch1:#$30E9; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER RA (Unicode:#$FF98; Attr:daNarrow; Ch1:#$30EA; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER RI (Unicode:#$FF99; Attr:daNarrow; Ch1:#$30EB; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER RU (Unicode:#$FF9A; Attr:daNarrow; Ch1:#$30EC; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER RE (Unicode:#$FF9B; Attr:daNarrow; Ch1:#$30ED; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER RO (Unicode:#$FF9C; Attr:daNarrow; Ch1:#$30EF; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER WA (Unicode:#$FF9D; Attr:daNarrow; Ch1:#$30F3; Ch2:#$FFFF), // HALFWIDTH KATAKANA LETTER N (Unicode:#$FF9E; Attr:daNarrow; Ch1:#$3099; Ch2:#$FFFF), // HALFWIDTH KATAKANA VOICED SOUND MARK (Unicode:#$FF9F; Attr:daNarrow; Ch1:#$309A; Ch2:#$FFFF), // HALFWIDTH KATAKANA SEMI-VOICED SOUND MARK (Unicode:#$FFA0; Attr:daNarrow; Ch1:#$3164; Ch2:#$FFFF), // HALFWIDTH HANGUL FILLER (Unicode:#$FFA1; Attr:daNarrow; Ch1:#$3131; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER KIYEOK (Unicode:#$FFA2; Attr:daNarrow; Ch1:#$3132; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER SSANGKIYEOK (Unicode:#$FFA3; Attr:daNarrow; Ch1:#$3133; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER KIYEOK-SIOS (Unicode:#$FFA4; Attr:daNarrow; Ch1:#$3134; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER NIEUN (Unicode:#$FFA5; Attr:daNarrow; Ch1:#$3135; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER NIEUN-CIEUC (Unicode:#$FFA6; Attr:daNarrow; Ch1:#$3136; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER NIEUN-HIEUH (Unicode:#$FFA7; Attr:daNarrow; Ch1:#$3137; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER TIKEUT (Unicode:#$FFA8; Attr:daNarrow; Ch1:#$3138; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER SSANGTIKEUT (Unicode:#$FFA9; Attr:daNarrow; Ch1:#$3139; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL (Unicode:#$FFAA; Attr:daNarrow; Ch1:#$313A; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL-KIYEOK (Unicode:#$FFAB; Attr:daNarrow; Ch1:#$313B; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL-MIEUM (Unicode:#$FFAC; Attr:daNarrow; Ch1:#$313C; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL-PIEUP (Unicode:#$FFAD; Attr:daNarrow; Ch1:#$313D; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL-SIOS (Unicode:#$FFAE; Attr:daNarrow; Ch1:#$313E; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL-THIEUTH (Unicode:#$FFAF; Attr:daNarrow; Ch1:#$313F; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL-PHIEUPH (Unicode:#$FFB0; Attr:daNarrow; Ch1:#$3140; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER RIEUL-HIEUH (Unicode:#$FFB1; Attr:daNarrow; Ch1:#$3141; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER MIEUM (Unicode:#$FFB2; Attr:daNarrow; Ch1:#$3142; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER PIEUP (Unicode:#$FFB3; Attr:daNarrow; Ch1:#$3143; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER SSANGPIEUP (Unicode:#$FFB4; Attr:daNarrow; Ch1:#$3144; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER PIEUP-SIOS (Unicode:#$FFB5; Attr:daNarrow; Ch1:#$3145; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER SIOS (Unicode:#$FFB6; Attr:daNarrow; Ch1:#$3146; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER SSANGSIOS (Unicode:#$FFB7; Attr:daNarrow; Ch1:#$3147; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER IEUNG (Unicode:#$FFB8; Attr:daNarrow; Ch1:#$3148; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER CIEUC (Unicode:#$FFB9; Attr:daNarrow; Ch1:#$3149; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER SSANGCIEUC (Unicode:#$FFBA; Attr:daNarrow; Ch1:#$314A; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER CHIEUCH (Unicode:#$FFBB; Attr:daNarrow; Ch1:#$314B; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER KHIEUKH (Unicode:#$FFBC; Attr:daNarrow; Ch1:#$314C; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER THIEUTH (Unicode:#$FFBD; Attr:daNarrow; Ch1:#$314D; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER PHIEUPH (Unicode:#$FFBE; Attr:daNarrow; Ch1:#$314E; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER HIEUH (Unicode:#$FFC2; Attr:daNarrow; Ch1:#$314F; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER A (Unicode:#$FFC3; Attr:daNarrow; Ch1:#$3150; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER AE (Unicode:#$FFC4; Attr:daNarrow; Ch1:#$3151; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER YA (Unicode:#$FFC5; Attr:daNarrow; Ch1:#$3152; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER YAE (Unicode:#$FFC6; Attr:daNarrow; Ch1:#$3153; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER EO (Unicode:#$FFC7; Attr:daNarrow; Ch1:#$3154; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER E (Unicode:#$FFCA; Attr:daNarrow; Ch1:#$3155; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER YEO (Unicode:#$FFCB; Attr:daNarrow; Ch1:#$3156; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER YE (Unicode:#$FFCC; Attr:daNarrow; Ch1:#$3157; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER O (Unicode:#$FFCD; Attr:daNarrow; Ch1:#$3158; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER WA (Unicode:#$FFCE; Attr:daNarrow; Ch1:#$3159; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER WAE (Unicode:#$FFCF; Attr:daNarrow; Ch1:#$315A; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER OE (Unicode:#$FFD2; Attr:daNarrow; Ch1:#$315B; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER YO (Unicode:#$FFD3; Attr:daNarrow; Ch1:#$315C; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER U (Unicode:#$FFD4; Attr:daNarrow; Ch1:#$315D; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER WEO (Unicode:#$FFD5; Attr:daNarrow; Ch1:#$315E; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER WE (Unicode:#$FFD6; Attr:daNarrow; Ch1:#$315F; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER WI (Unicode:#$FFD7; Attr:daNarrow; Ch1:#$3160; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER YU (Unicode:#$FFDA; Attr:daNarrow; Ch1:#$3161; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER EU (Unicode:#$FFDB; Attr:daNarrow; Ch1:#$3162; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER YI (Unicode:#$FFDC; Attr:daNarrow; Ch1:#$3163; Ch2:#$FFFF), // HALFWIDTH HANGUL LETTER I (Unicode:#$FFE0; Attr:daWide; Ch1:#$00A2; Ch2:#$FFFF), // FULLWIDTH CENT SIGN (Unicode:#$FFE1; Attr:daWide; Ch1:#$00A3; Ch2:#$FFFF), // FULLWIDTH POUND SIGN (Unicode:#$FFE2; Attr:daWide; Ch1:#$00AC; Ch2:#$FFFF), // FULLWIDTH NOT SIGN (Unicode:#$FFE3; Attr:daWide; Ch1:#$00AF; Ch2:#$FFFF), // FULLWIDTH MACRON (Unicode:#$FFE4; Attr:daWide; Ch1:#$00A6; Ch2:#$FFFF), // FULLWIDTH BROKEN BAR (Unicode:#$FFE5; Attr:daWide; Ch1:#$00A5; Ch2:#$FFFF), // FULLWIDTH YEN SIGN (Unicode:#$FFE6; Attr:daWide; Ch1:#$20A9; Ch2:#$FFFF), // FULLWIDTH WON SIGN (Unicode:#$FFE8; Attr:daNarrow; Ch1:#$2502; Ch2:#$FFFF), // HALFWIDTH FORMS LIGHT VERTICAL (Unicode:#$FFE9; Attr:daNarrow; Ch1:#$2190; Ch2:#$FFFF), // HALFWIDTH LEFTWARDS ARROW (Unicode:#$FFEA; Attr:daNarrow; Ch1:#$2191; Ch2:#$FFFF), // HALFWIDTH UPWARDS ARROW (Unicode:#$FFEB; Attr:daNarrow; Ch1:#$2192; Ch2:#$FFFF), // HALFWIDTH RIGHTWARDS ARROW (Unicode:#$FFEC; Attr:daNarrow; Ch1:#$2193; Ch2:#$FFFF), // HALFWIDTH DOWNWARDS ARROW (Unicode:#$FFED; Attr:daNarrow; Ch1:#$25A0; Ch2:#$FFFF), // HALFWIDTH BLACK SQUARE (Unicode:#$FFEE; Attr:daNarrow; Ch1:#$25CB; Ch2:#$FFFF) // HALFWIDTH WHITE CIRCLE ); function LocateDecompositionInfo(const Ch: WideChar): Integer; var L, H, I : Integer; D : WideChar; begin if Ord(Ch) < $A0 then // No decompositions for ASCII begin Result := -1; exit; end; // Binary search L := 0; H := UnicodeDecompositionEntries - 1; Repeat I := (L + H) div 2; D := UnicodeDecompositionInfo[I].Unicode; if D = Ch then begin Result := I; exit; end else if D > Ch then H := I - 1 else L := I + 1; Until L > H; Result := -1; end; function GetCharacterDecomposition(const Ch: WideChar): WideString; var I, J : Integer; P, Q : PWideChar; begin I := LocateDecompositionInfo(Ch); if I < 0 then // Exceptionally long decompositions not stored in table Case Ch of #$3316 : Result := #$30AD#$30ED#$30E1#$30FC#$30C8#$30EB; // SQUARE KIROMEETORU #$33AF : Result := #$0072#$0061#$0064#$2215#$0073#$00B2; // SQUARE RAD OVER S SQUARED #$FDFA : Result := #$0635#$0644#$0649#$0020#$0627#$0644#$0644#$0647#$0020#$0639#$0644#$064A#$0647#$0020#$0648#$0633#$0644#$0645; // ARABIC LIGATURE SALLALLAHOU ALAYHE WASALLAM #$FDFB : Result := #$062C#$0644#$0020#$062C#$0644#$0627#$0644#$0647; // ARABIC LIGATURE JALLAJALALOUHOU else Result := ''; end else begin P := @UnicodeDecompositionInfo[I].Ch1; Q := P; Inc(Q); I := 1; While (Q^ <> #$FFFF) and (I < 5) do begin Inc(Q); Inc(I); end; SetLength(Result, I); Q := P; P := Pointer(Result); For J := 1 to I do begin P^ := Q^; Inc(P); Inc(Q); end; end; end; type TUnicodeUCS4DecompositionInfo = packed record Unicode : UCS4Char; Attr : TUnicodeDecompositionAttr; Ch1 : WideChar; Ch2 : WideChar; end; PUnicodeUCS4DecompositionInfo = ^TUnicodeUCS4DecompositionInfo; const UnicodeUCS4DecompositionEntries = 991; UnicodeUCS4DecompositionInfo : Array[0..UnicodeUCS4DecompositionEntries - 1] of TUnicodeUCS4DecompositionInfo = ( (Unicode:$1D400; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL A (Unicode:$1D401; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL B (Unicode:$1D402; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL C (Unicode:$1D403; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL D (Unicode:$1D404; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL E (Unicode:$1D405; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL F (Unicode:$1D406; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL G (Unicode:$1D407; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL H (Unicode:$1D408; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL I (Unicode:$1D409; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL J (Unicode:$1D40A; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL K (Unicode:$1D40B; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL L (Unicode:$1D40C; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL M (Unicode:$1D40D; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL N (Unicode:$1D40E; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL O (Unicode:$1D40F; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL P (Unicode:$1D410; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL Q (Unicode:$1D411; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL R (Unicode:$1D412; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL S (Unicode:$1D413; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL T (Unicode:$1D414; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL U (Unicode:$1D415; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL V (Unicode:$1D416; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL W (Unicode:$1D417; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL X (Unicode:$1D418; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL Y (Unicode:$1D419; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL Z (Unicode:$1D41A; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL A (Unicode:$1D41B; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL B (Unicode:$1D41C; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL C (Unicode:$1D41D; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL D (Unicode:$1D41E; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL E (Unicode:$1D41F; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL F (Unicode:$1D420; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL G (Unicode:$1D421; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL H (Unicode:$1D422; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL I (Unicode:$1D423; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL J (Unicode:$1D424; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL K (Unicode:$1D425; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL L (Unicode:$1D426; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL M (Unicode:$1D427; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL N (Unicode:$1D428; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL O (Unicode:$1D429; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL P (Unicode:$1D42A; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL Q (Unicode:$1D42B; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL R (Unicode:$1D42C; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL S (Unicode:$1D42D; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL T (Unicode:$1D42E; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL U (Unicode:$1D42F; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL V (Unicode:$1D430; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL W (Unicode:$1D431; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL X (Unicode:$1D432; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL Y (Unicode:$1D433; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL Z (Unicode:$1D434; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL A (Unicode:$1D435; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL B (Unicode:$1D436; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL C (Unicode:$1D437; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL D (Unicode:$1D438; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL E (Unicode:$1D439; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL F (Unicode:$1D43A; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL G (Unicode:$1D43B; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL H (Unicode:$1D43C; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL I (Unicode:$1D43D; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL J (Unicode:$1D43E; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL K (Unicode:$1D43F; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL L (Unicode:$1D440; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL M (Unicode:$1D441; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL N (Unicode:$1D442; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL O (Unicode:$1D443; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL P (Unicode:$1D444; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL Q (Unicode:$1D445; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL R (Unicode:$1D446; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL S (Unicode:$1D447; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL T (Unicode:$1D448; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL U (Unicode:$1D449; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL V (Unicode:$1D44A; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL W (Unicode:$1D44B; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL X (Unicode:$1D44C; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL Y (Unicode:$1D44D; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL Z (Unicode:$1D44E; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL A (Unicode:$1D44F; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL B (Unicode:$1D450; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL C (Unicode:$1D451; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL D (Unicode:$1D452; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL E (Unicode:$1D453; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL F (Unicode:$1D454; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL G (Unicode:$1D456; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL I (Unicode:$1D457; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL J (Unicode:$1D458; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL K (Unicode:$1D459; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL L (Unicode:$1D45A; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL M (Unicode:$1D45B; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL N (Unicode:$1D45C; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL O (Unicode:$1D45D; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL P (Unicode:$1D45E; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL Q (Unicode:$1D45F; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL R (Unicode:$1D460; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL S (Unicode:$1D461; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL T (Unicode:$1D462; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL U (Unicode:$1D463; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL V (Unicode:$1D464; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL W (Unicode:$1D465; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL X (Unicode:$1D466; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL Y (Unicode:$1D467; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL Z (Unicode:$1D468; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL A (Unicode:$1D469; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL B (Unicode:$1D46A; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL C (Unicode:$1D46B; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL D (Unicode:$1D46C; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL E (Unicode:$1D46D; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL F (Unicode:$1D46E; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL G (Unicode:$1D46F; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL H (Unicode:$1D470; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL I (Unicode:$1D471; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL J (Unicode:$1D472; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL K (Unicode:$1D473; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL L (Unicode:$1D474; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL M (Unicode:$1D475; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL N (Unicode:$1D476; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL O (Unicode:$1D477; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL P (Unicode:$1D478; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL Q (Unicode:$1D479; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL R (Unicode:$1D47A; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL S (Unicode:$1D47B; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL T (Unicode:$1D47C; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL U (Unicode:$1D47D; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL V (Unicode:$1D47E; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL W (Unicode:$1D47F; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL X (Unicode:$1D480; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL Y (Unicode:$1D481; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL Z (Unicode:$1D482; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL A (Unicode:$1D483; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL B (Unicode:$1D484; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL C (Unicode:$1D485; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL D (Unicode:$1D486; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL E (Unicode:$1D487; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL F (Unicode:$1D488; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL G (Unicode:$1D489; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL H (Unicode:$1D48A; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL I (Unicode:$1D48B; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL J (Unicode:$1D48C; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL K (Unicode:$1D48D; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL L (Unicode:$1D48E; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL M (Unicode:$1D48F; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL N (Unicode:$1D490; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL O (Unicode:$1D491; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL P (Unicode:$1D492; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL Q (Unicode:$1D493; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL R (Unicode:$1D494; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL S (Unicode:$1D495; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL T (Unicode:$1D496; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL U (Unicode:$1D497; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL V (Unicode:$1D498; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL W (Unicode:$1D499; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL X (Unicode:$1D49A; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL Y (Unicode:$1D49B; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL Z (Unicode:$1D49C; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL A (Unicode:$1D49E; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL C (Unicode:$1D49F; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL D (Unicode:$1D4A2; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL G (Unicode:$1D4A5; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL J (Unicode:$1D4A6; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL K (Unicode:$1D4A9; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL N (Unicode:$1D4AA; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL O (Unicode:$1D4AB; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL P (Unicode:$1D4AC; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL Q (Unicode:$1D4AE; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL S (Unicode:$1D4AF; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL T (Unicode:$1D4B0; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL U (Unicode:$1D4B1; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL V (Unicode:$1D4B2; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL W (Unicode:$1D4B3; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL X (Unicode:$1D4B4; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL Y (Unicode:$1D4B5; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL SCRIPT CAPITAL Z (Unicode:$1D4B6; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL A (Unicode:$1D4B7; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL B (Unicode:$1D4B8; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL C (Unicode:$1D4B9; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL D (Unicode:$1D4BB; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL F (Unicode:$1D4BD; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL H (Unicode:$1D4BE; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL I (Unicode:$1D4BF; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL J (Unicode:$1D4C0; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL K (Unicode:$1D4C2; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL M (Unicode:$1D4C3; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL N (Unicode:$1D4C5; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL P (Unicode:$1D4C6; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL Q (Unicode:$1D4C7; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL R (Unicode:$1D4C8; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL S (Unicode:$1D4C9; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL T (Unicode:$1D4CA; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL U (Unicode:$1D4CB; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL V (Unicode:$1D4CC; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL W (Unicode:$1D4CD; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL X (Unicode:$1D4CE; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL Y (Unicode:$1D4CF; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL SCRIPT SMALL Z (Unicode:$1D4D0; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL A (Unicode:$1D4D1; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL B (Unicode:$1D4D2; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL C (Unicode:$1D4D3; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL D (Unicode:$1D4D4; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL E (Unicode:$1D4D5; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL F (Unicode:$1D4D6; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL G (Unicode:$1D4D7; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL H (Unicode:$1D4D8; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL I (Unicode:$1D4D9; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL J (Unicode:$1D4DA; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL K (Unicode:$1D4DB; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL L (Unicode:$1D4DC; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL M (Unicode:$1D4DD; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL N (Unicode:$1D4DE; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL O (Unicode:$1D4DF; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL P (Unicode:$1D4E0; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL Q (Unicode:$1D4E1; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL R (Unicode:$1D4E2; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL S (Unicode:$1D4E3; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL T (Unicode:$1D4E4; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL U (Unicode:$1D4E5; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL V (Unicode:$1D4E6; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL W (Unicode:$1D4E7; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL X (Unicode:$1D4E8; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL Y (Unicode:$1D4E9; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT CAPITAL Z (Unicode:$1D4EA; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL A (Unicode:$1D4EB; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL B (Unicode:$1D4EC; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL C (Unicode:$1D4ED; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL D (Unicode:$1D4EE; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL E (Unicode:$1D4EF; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL F (Unicode:$1D4F0; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL G (Unicode:$1D4F1; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL H (Unicode:$1D4F2; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL I (Unicode:$1D4F3; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL J (Unicode:$1D4F4; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL K (Unicode:$1D4F5; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL L (Unicode:$1D4F6; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL M (Unicode:$1D4F7; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL N (Unicode:$1D4F8; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL O (Unicode:$1D4F9; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL P (Unicode:$1D4FA; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL Q (Unicode:$1D4FB; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL R (Unicode:$1D4FC; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL S (Unicode:$1D4FD; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL T (Unicode:$1D4FE; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL U (Unicode:$1D4FF; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL V (Unicode:$1D500; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL W (Unicode:$1D501; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL X (Unicode:$1D502; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL Y (Unicode:$1D503; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL BOLD SCRIPT SMALL Z (Unicode:$1D504; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL A (Unicode:$1D505; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL B (Unicode:$1D507; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL D (Unicode:$1D508; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL E (Unicode:$1D509; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL F (Unicode:$1D50A; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL G (Unicode:$1D50D; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL J (Unicode:$1D50E; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL K (Unicode:$1D50F; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL L (Unicode:$1D510; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL M (Unicode:$1D511; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL N (Unicode:$1D512; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL O (Unicode:$1D513; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL P (Unicode:$1D514; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL Q (Unicode:$1D516; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL S (Unicode:$1D517; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL T (Unicode:$1D518; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL U (Unicode:$1D519; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL V (Unicode:$1D51A; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL W (Unicode:$1D51B; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL X (Unicode:$1D51C; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR CAPITAL Y (Unicode:$1D51E; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL A (Unicode:$1D51F; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL B (Unicode:$1D520; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL C (Unicode:$1D521; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL D (Unicode:$1D522; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL E (Unicode:$1D523; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL F (Unicode:$1D524; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL G (Unicode:$1D525; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL H (Unicode:$1D526; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL I (Unicode:$1D527; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL J (Unicode:$1D528; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL K (Unicode:$1D529; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL L (Unicode:$1D52A; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL M (Unicode:$1D52B; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL N (Unicode:$1D52C; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL O (Unicode:$1D52D; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL P (Unicode:$1D52E; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL Q (Unicode:$1D52F; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL R (Unicode:$1D530; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL S (Unicode:$1D531; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL T (Unicode:$1D532; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL U (Unicode:$1D533; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL V (Unicode:$1D534; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL W (Unicode:$1D535; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL X (Unicode:$1D536; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL Y (Unicode:$1D537; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL FRAKTUR SMALL Z (Unicode:$1D538; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL A (Unicode:$1D539; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL B (Unicode:$1D53B; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL D (Unicode:$1D53C; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL E (Unicode:$1D53D; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL F (Unicode:$1D53E; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL G (Unicode:$1D540; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL I (Unicode:$1D541; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL J (Unicode:$1D542; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL K (Unicode:$1D543; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL L (Unicode:$1D544; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL M (Unicode:$1D546; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL O (Unicode:$1D54A; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL S (Unicode:$1D54B; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL T (Unicode:$1D54C; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL U (Unicode:$1D54D; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL V (Unicode:$1D54E; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL W (Unicode:$1D54F; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL X (Unicode:$1D550; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK CAPITAL Y (Unicode:$1D552; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL A (Unicode:$1D553; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL B (Unicode:$1D554; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL C (Unicode:$1D555; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL D (Unicode:$1D556; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL E (Unicode:$1D557; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL F (Unicode:$1D558; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL G (Unicode:$1D559; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL H (Unicode:$1D55A; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL I (Unicode:$1D55B; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL J (Unicode:$1D55C; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL K (Unicode:$1D55D; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL L (Unicode:$1D55E; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL M (Unicode:$1D55F; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL N (Unicode:$1D560; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL O (Unicode:$1D561; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL P (Unicode:$1D562; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL Q (Unicode:$1D563; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL R (Unicode:$1D564; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL S (Unicode:$1D565; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL T (Unicode:$1D566; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL U (Unicode:$1D567; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL V (Unicode:$1D568; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL W (Unicode:$1D569; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL X (Unicode:$1D56A; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL Y (Unicode:$1D56B; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK SMALL Z (Unicode:$1D56C; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL A (Unicode:$1D56D; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL B (Unicode:$1D56E; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL C (Unicode:$1D56F; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL D (Unicode:$1D570; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL E (Unicode:$1D571; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL F (Unicode:$1D572; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL G (Unicode:$1D573; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL H (Unicode:$1D574; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL I (Unicode:$1D575; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL J (Unicode:$1D576; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL K (Unicode:$1D577; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL L (Unicode:$1D578; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL M (Unicode:$1D579; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL N (Unicode:$1D57A; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL O (Unicode:$1D57B; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL P (Unicode:$1D57C; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL Q (Unicode:$1D57D; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL R (Unicode:$1D57E; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL S (Unicode:$1D57F; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL T (Unicode:$1D580; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL U (Unicode:$1D581; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL V (Unicode:$1D582; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL W (Unicode:$1D583; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL X (Unicode:$1D584; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL Y (Unicode:$1D585; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR CAPITAL Z (Unicode:$1D586; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL A (Unicode:$1D587; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL B (Unicode:$1D588; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL C (Unicode:$1D589; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL D (Unicode:$1D58A; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL E (Unicode:$1D58B; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL F (Unicode:$1D58C; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL G (Unicode:$1D58D; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL H (Unicode:$1D58E; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL I (Unicode:$1D58F; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL J (Unicode:$1D590; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL K (Unicode:$1D591; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL L (Unicode:$1D592; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL M (Unicode:$1D593; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL N (Unicode:$1D594; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL O (Unicode:$1D595; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL P (Unicode:$1D596; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL Q (Unicode:$1D597; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL R (Unicode:$1D598; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL S (Unicode:$1D599; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL T (Unicode:$1D59A; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL U (Unicode:$1D59B; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL V (Unicode:$1D59C; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL W (Unicode:$1D59D; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL X (Unicode:$1D59E; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL Y (Unicode:$1D59F; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL BOLD FRAKTUR SMALL Z (Unicode:$1D5A0; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL A (Unicode:$1D5A1; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL B (Unicode:$1D5A2; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL C (Unicode:$1D5A3; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL D (Unicode:$1D5A4; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL E (Unicode:$1D5A5; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL F (Unicode:$1D5A6; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL G (Unicode:$1D5A7; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL H (Unicode:$1D5A8; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL I (Unicode:$1D5A9; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL J (Unicode:$1D5AA; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL K (Unicode:$1D5AB; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL L (Unicode:$1D5AC; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL M (Unicode:$1D5AD; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL N (Unicode:$1D5AE; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL O (Unicode:$1D5AF; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL P (Unicode:$1D5B0; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL Q (Unicode:$1D5B1; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL R (Unicode:$1D5B2; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL S (Unicode:$1D5B3; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL T (Unicode:$1D5B4; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL U (Unicode:$1D5B5; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL V (Unicode:$1D5B6; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL W (Unicode:$1D5B7; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL X (Unicode:$1D5B8; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL Y (Unicode:$1D5B9; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF CAPITAL Z (Unicode:$1D5BA; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL A (Unicode:$1D5BB; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL B (Unicode:$1D5BC; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL C (Unicode:$1D5BD; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL D (Unicode:$1D5BE; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL E (Unicode:$1D5BF; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL F (Unicode:$1D5C0; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL G (Unicode:$1D5C1; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL H (Unicode:$1D5C2; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL I (Unicode:$1D5C3; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL J (Unicode:$1D5C4; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL K (Unicode:$1D5C5; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL L (Unicode:$1D5C6; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL M (Unicode:$1D5C7; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL N (Unicode:$1D5C8; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL O (Unicode:$1D5C9; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL P (Unicode:$1D5CA; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL Q (Unicode:$1D5CB; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL R (Unicode:$1D5CC; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL S (Unicode:$1D5CD; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL T (Unicode:$1D5CE; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL U (Unicode:$1D5CF; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL V (Unicode:$1D5D0; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL W (Unicode:$1D5D1; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL X (Unicode:$1D5D2; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL Y (Unicode:$1D5D3; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF SMALL Z (Unicode:$1D5D4; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL A (Unicode:$1D5D5; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL B (Unicode:$1D5D6; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL C (Unicode:$1D5D7; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL D (Unicode:$1D5D8; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL E (Unicode:$1D5D9; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL F (Unicode:$1D5DA; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL G (Unicode:$1D5DB; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL H (Unicode:$1D5DC; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL I (Unicode:$1D5DD; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL J (Unicode:$1D5DE; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL K (Unicode:$1D5DF; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL L (Unicode:$1D5E0; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL M (Unicode:$1D5E1; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL N (Unicode:$1D5E2; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL O (Unicode:$1D5E3; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL P (Unicode:$1D5E4; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL Q (Unicode:$1D5E5; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL R (Unicode:$1D5E6; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL S (Unicode:$1D5E7; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL T (Unicode:$1D5E8; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL U (Unicode:$1D5E9; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL V (Unicode:$1D5EA; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL W (Unicode:$1D5EB; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL X (Unicode:$1D5EC; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL Y (Unicode:$1D5ED; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL Z (Unicode:$1D5EE; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL A (Unicode:$1D5EF; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL B (Unicode:$1D5F0; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL C (Unicode:$1D5F1; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL D (Unicode:$1D5F2; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL E (Unicode:$1D5F3; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL F (Unicode:$1D5F4; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL G (Unicode:$1D5F5; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL H (Unicode:$1D5F6; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL I (Unicode:$1D5F7; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL J (Unicode:$1D5F8; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL K (Unicode:$1D5F9; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL L (Unicode:$1D5FA; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL M (Unicode:$1D5FB; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL N (Unicode:$1D5FC; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL O (Unicode:$1D5FD; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL P (Unicode:$1D5FE; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL Q (Unicode:$1D5FF; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL R (Unicode:$1D600; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL S (Unicode:$1D601; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL T (Unicode:$1D602; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL U (Unicode:$1D603; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL V (Unicode:$1D604; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL W (Unicode:$1D605; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL X (Unicode:$1D606; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL Y (Unicode:$1D607; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL Z (Unicode:$1D608; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL A (Unicode:$1D609; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL B (Unicode:$1D60A; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL C (Unicode:$1D60B; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL D (Unicode:$1D60C; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL E (Unicode:$1D60D; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL F (Unicode:$1D60E; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL G (Unicode:$1D60F; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL H (Unicode:$1D610; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL I (Unicode:$1D611; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL J (Unicode:$1D612; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL K (Unicode:$1D613; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL L (Unicode:$1D614; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL M (Unicode:$1D615; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL N (Unicode:$1D616; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL O (Unicode:$1D617; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL P (Unicode:$1D618; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Q (Unicode:$1D619; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL R (Unicode:$1D61A; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL S (Unicode:$1D61B; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL T (Unicode:$1D61C; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL U (Unicode:$1D61D; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL V (Unicode:$1D61E; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL W (Unicode:$1D61F; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL X (Unicode:$1D620; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Y (Unicode:$1D621; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC CAPITAL Z (Unicode:$1D622; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL A (Unicode:$1D623; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL B (Unicode:$1D624; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL C (Unicode:$1D625; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL D (Unicode:$1D626; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL E (Unicode:$1D627; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL F (Unicode:$1D628; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL G (Unicode:$1D629; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL H (Unicode:$1D62A; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL I (Unicode:$1D62B; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL J (Unicode:$1D62C; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL K (Unicode:$1D62D; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL L (Unicode:$1D62E; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL M (Unicode:$1D62F; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL N (Unicode:$1D630; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL O (Unicode:$1D631; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL P (Unicode:$1D632; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL Q (Unicode:$1D633; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL R (Unicode:$1D634; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL S (Unicode:$1D635; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL T (Unicode:$1D636; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL U (Unicode:$1D637; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL V (Unicode:$1D638; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL W (Unicode:$1D639; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL X (Unicode:$1D63A; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL Y (Unicode:$1D63B; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF ITALIC SMALL Z (Unicode:$1D63C; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL A (Unicode:$1D63D; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL B (Unicode:$1D63E; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL C (Unicode:$1D63F; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL D (Unicode:$1D640; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL E (Unicode:$1D641; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL F (Unicode:$1D642; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL G (Unicode:$1D643; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL H (Unicode:$1D644; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL I (Unicode:$1D645; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL J (Unicode:$1D646; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL K (Unicode:$1D647; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL L (Unicode:$1D648; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL M (Unicode:$1D649; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL N (Unicode:$1D64A; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL O (Unicode:$1D64B; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL P (Unicode:$1D64C; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Q (Unicode:$1D64D; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL R (Unicode:$1D64E; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL S (Unicode:$1D64F; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL T (Unicode:$1D650; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL U (Unicode:$1D651; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL V (Unicode:$1D652; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL W (Unicode:$1D653; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL X (Unicode:$1D654; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Y (Unicode:$1D655; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL Z (Unicode:$1D656; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL A (Unicode:$1D657; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL B (Unicode:$1D658; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL C (Unicode:$1D659; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL D (Unicode:$1D65A; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL E (Unicode:$1D65B; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL F (Unicode:$1D65C; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL G (Unicode:$1D65D; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL H (Unicode:$1D65E; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL I (Unicode:$1D65F; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL J (Unicode:$1D660; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL K (Unicode:$1D661; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL L (Unicode:$1D662; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL M (Unicode:$1D663; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL N (Unicode:$1D664; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL O (Unicode:$1D665; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL P (Unicode:$1D666; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Q (Unicode:$1D667; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL R (Unicode:$1D668; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL S (Unicode:$1D669; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL T (Unicode:$1D66A; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL U (Unicode:$1D66B; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL V (Unicode:$1D66C; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL W (Unicode:$1D66D; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL X (Unicode:$1D66E; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Y (Unicode:$1D66F; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL Z (Unicode:$1D670; Attr:daFont; Ch1:#$0041; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL A (Unicode:$1D671; Attr:daFont; Ch1:#$0042; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL B (Unicode:$1D672; Attr:daFont; Ch1:#$0043; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL C (Unicode:$1D673; Attr:daFont; Ch1:#$0044; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL D (Unicode:$1D674; Attr:daFont; Ch1:#$0045; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL E (Unicode:$1D675; Attr:daFont; Ch1:#$0046; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL F (Unicode:$1D676; Attr:daFont; Ch1:#$0047; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL G (Unicode:$1D677; Attr:daFont; Ch1:#$0048; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL H (Unicode:$1D678; Attr:daFont; Ch1:#$0049; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL I (Unicode:$1D679; Attr:daFont; Ch1:#$004A; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL J (Unicode:$1D67A; Attr:daFont; Ch1:#$004B; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL K (Unicode:$1D67B; Attr:daFont; Ch1:#$004C; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL L (Unicode:$1D67C; Attr:daFont; Ch1:#$004D; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL M (Unicode:$1D67D; Attr:daFont; Ch1:#$004E; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL N (Unicode:$1D67E; Attr:daFont; Ch1:#$004F; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL O (Unicode:$1D67F; Attr:daFont; Ch1:#$0050; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL P (Unicode:$1D680; Attr:daFont; Ch1:#$0051; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL Q (Unicode:$1D681; Attr:daFont; Ch1:#$0052; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL R (Unicode:$1D682; Attr:daFont; Ch1:#$0053; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL S (Unicode:$1D683; Attr:daFont; Ch1:#$0054; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL T (Unicode:$1D684; Attr:daFont; Ch1:#$0055; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL U (Unicode:$1D685; Attr:daFont; Ch1:#$0056; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL V (Unicode:$1D686; Attr:daFont; Ch1:#$0057; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL W (Unicode:$1D687; Attr:daFont; Ch1:#$0058; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL X (Unicode:$1D688; Attr:daFont; Ch1:#$0059; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL Y (Unicode:$1D689; Attr:daFont; Ch1:#$005A; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE CAPITAL Z (Unicode:$1D68A; Attr:daFont; Ch1:#$0061; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL A (Unicode:$1D68B; Attr:daFont; Ch1:#$0062; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL B (Unicode:$1D68C; Attr:daFont; Ch1:#$0063; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL C (Unicode:$1D68D; Attr:daFont; Ch1:#$0064; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL D (Unicode:$1D68E; Attr:daFont; Ch1:#$0065; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL E (Unicode:$1D68F; Attr:daFont; Ch1:#$0066; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL F (Unicode:$1D690; Attr:daFont; Ch1:#$0067; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL G (Unicode:$1D691; Attr:daFont; Ch1:#$0068; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL H (Unicode:$1D692; Attr:daFont; Ch1:#$0069; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL I (Unicode:$1D693; Attr:daFont; Ch1:#$006A; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL J (Unicode:$1D694; Attr:daFont; Ch1:#$006B; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL K (Unicode:$1D695; Attr:daFont; Ch1:#$006C; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL L (Unicode:$1D696; Attr:daFont; Ch1:#$006D; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL M (Unicode:$1D697; Attr:daFont; Ch1:#$006E; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL N (Unicode:$1D698; Attr:daFont; Ch1:#$006F; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL O (Unicode:$1D699; Attr:daFont; Ch1:#$0070; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL P (Unicode:$1D69A; Attr:daFont; Ch1:#$0071; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL Q (Unicode:$1D69B; Attr:daFont; Ch1:#$0072; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL R (Unicode:$1D69C; Attr:daFont; Ch1:#$0073; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL S (Unicode:$1D69D; Attr:daFont; Ch1:#$0074; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL T (Unicode:$1D69E; Attr:daFont; Ch1:#$0075; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL U (Unicode:$1D69F; Attr:daFont; Ch1:#$0076; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL V (Unicode:$1D6A0; Attr:daFont; Ch1:#$0077; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL W (Unicode:$1D6A1; Attr:daFont; Ch1:#$0078; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL X (Unicode:$1D6A2; Attr:daFont; Ch1:#$0079; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL Y (Unicode:$1D6A3; Attr:daFont; Ch1:#$007A; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE SMALL Z (Unicode:$1D6A8; Attr:daFont; Ch1:#$0391; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL ALPHA (Unicode:$1D6A9; Attr:daFont; Ch1:#$0392; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL BETA (Unicode:$1D6AA; Attr:daFont; Ch1:#$0393; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL GAMMA (Unicode:$1D6AB; Attr:daFont; Ch1:#$0394; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL DELTA (Unicode:$1D6AC; Attr:daFont; Ch1:#$0395; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL EPSILON (Unicode:$1D6AD; Attr:daFont; Ch1:#$0396; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL ZETA (Unicode:$1D6AE; Attr:daFont; Ch1:#$0397; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL ETA (Unicode:$1D6AF; Attr:daFont; Ch1:#$0398; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL THETA (Unicode:$1D6B0; Attr:daFont; Ch1:#$0399; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL IOTA (Unicode:$1D6B1; Attr:daFont; Ch1:#$039A; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL KAPPA (Unicode:$1D6B2; Attr:daFont; Ch1:#$039B; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL LAMDA (Unicode:$1D6B3; Attr:daFont; Ch1:#$039C; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL MU (Unicode:$1D6B4; Attr:daFont; Ch1:#$039D; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL NU (Unicode:$1D6B5; Attr:daFont; Ch1:#$039E; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL XI (Unicode:$1D6B6; Attr:daFont; Ch1:#$039F; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL OMICRON (Unicode:$1D6B7; Attr:daFont; Ch1:#$03A0; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL PI (Unicode:$1D6B8; Attr:daFont; Ch1:#$03A1; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL RHO (Unicode:$1D6B9; Attr:daFont; Ch1:#$03F4; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL THETA SYMBOL (Unicode:$1D6BA; Attr:daFont; Ch1:#$03A3; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL SIGMA (Unicode:$1D6BB; Attr:daFont; Ch1:#$03A4; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL TAU (Unicode:$1D6BC; Attr:daFont; Ch1:#$03A5; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL UPSILON (Unicode:$1D6BD; Attr:daFont; Ch1:#$03A6; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL PHI (Unicode:$1D6BE; Attr:daFont; Ch1:#$03A7; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL CHI (Unicode:$1D6BF; Attr:daFont; Ch1:#$03A8; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL PSI (Unicode:$1D6C0; Attr:daFont; Ch1:#$03A9; Ch2:#$FFFF), // MATHEMATICAL BOLD CAPITAL OMEGA (Unicode:$1D6C1; Attr:daFont; Ch1:#$2207; Ch2:#$FFFF), // MATHEMATICAL BOLD NABLA (Unicode:$1D6C2; Attr:daFont; Ch1:#$03B1; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL ALPHA (Unicode:$1D6C3; Attr:daFont; Ch1:#$03B2; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL BETA (Unicode:$1D6C4; Attr:daFont; Ch1:#$03B3; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL GAMMA (Unicode:$1D6C5; Attr:daFont; Ch1:#$03B4; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL DELTA (Unicode:$1D6C6; Attr:daFont; Ch1:#$03B5; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL EPSILON (Unicode:$1D6C7; Attr:daFont; Ch1:#$03B6; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL ZETA (Unicode:$1D6C8; Attr:daFont; Ch1:#$03B7; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL ETA (Unicode:$1D6C9; Attr:daFont; Ch1:#$03B8; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL THETA (Unicode:$1D6CA; Attr:daFont; Ch1:#$03B9; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL IOTA (Unicode:$1D6CB; Attr:daFont; Ch1:#$03BA; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL KAPPA (Unicode:$1D6CC; Attr:daFont; Ch1:#$03BB; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL LAMDA (Unicode:$1D6CD; Attr:daFont; Ch1:#$03BC; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL MU (Unicode:$1D6CE; Attr:daFont; Ch1:#$03BD; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL NU (Unicode:$1D6CF; Attr:daFont; Ch1:#$03BE; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL XI (Unicode:$1D6D0; Attr:daFont; Ch1:#$03BF; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL OMICRON (Unicode:$1D6D1; Attr:daFont; Ch1:#$03C0; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL PI (Unicode:$1D6D2; Attr:daFont; Ch1:#$03C1; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL RHO (Unicode:$1D6D3; Attr:daFont; Ch1:#$03C2; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL FINAL SIGMA (Unicode:$1D6D4; Attr:daFont; Ch1:#$03C3; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL SIGMA (Unicode:$1D6D5; Attr:daFont; Ch1:#$03C4; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL TAU (Unicode:$1D6D6; Attr:daFont; Ch1:#$03C5; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL UPSILON (Unicode:$1D6D7; Attr:daFont; Ch1:#$03C6; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL PHI (Unicode:$1D6D8; Attr:daFont; Ch1:#$03C7; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL CHI (Unicode:$1D6D9; Attr:daFont; Ch1:#$03C8; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL PSI (Unicode:$1D6DA; Attr:daFont; Ch1:#$03C9; Ch2:#$FFFF), // MATHEMATICAL BOLD SMALL OMEGA (Unicode:$1D6DB; Attr:daFont; Ch1:#$2202; Ch2:#$FFFF), // MATHEMATICAL BOLD PARTIAL DIFFERENTIAL (Unicode:$1D6DC; Attr:daFont; Ch1:#$03F5; Ch2:#$FFFF), // MATHEMATICAL BOLD EPSILON SYMBOL (Unicode:$1D6DD; Attr:daFont; Ch1:#$03D1; Ch2:#$FFFF), // MATHEMATICAL BOLD THETA SYMBOL (Unicode:$1D6DE; Attr:daFont; Ch1:#$03F0; Ch2:#$FFFF), // MATHEMATICAL BOLD KAPPA SYMBOL (Unicode:$1D6DF; Attr:daFont; Ch1:#$03D5; Ch2:#$FFFF), // MATHEMATICAL BOLD PHI SYMBOL (Unicode:$1D6E0; Attr:daFont; Ch1:#$03F1; Ch2:#$FFFF), // MATHEMATICAL BOLD RHO SYMBOL (Unicode:$1D6E1; Attr:daFont; Ch1:#$03D6; Ch2:#$FFFF), // MATHEMATICAL BOLD PI SYMBOL (Unicode:$1D6E2; Attr:daFont; Ch1:#$0391; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL ALPHA (Unicode:$1D6E3; Attr:daFont; Ch1:#$0392; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL BETA (Unicode:$1D6E4; Attr:daFont; Ch1:#$0393; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL GAMMA (Unicode:$1D6E5; Attr:daFont; Ch1:#$0394; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL DELTA (Unicode:$1D6E6; Attr:daFont; Ch1:#$0395; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL EPSILON (Unicode:$1D6E7; Attr:daFont; Ch1:#$0396; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL ZETA (Unicode:$1D6E8; Attr:daFont; Ch1:#$0397; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL ETA (Unicode:$1D6E9; Attr:daFont; Ch1:#$0398; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL THETA (Unicode:$1D6EA; Attr:daFont; Ch1:#$0399; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL IOTA (Unicode:$1D6EB; Attr:daFont; Ch1:#$039A; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL KAPPA (Unicode:$1D6EC; Attr:daFont; Ch1:#$039B; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL LAMDA (Unicode:$1D6ED; Attr:daFont; Ch1:#$039C; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL MU (Unicode:$1D6EE; Attr:daFont; Ch1:#$039D; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL NU (Unicode:$1D6EF; Attr:daFont; Ch1:#$039E; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL XI (Unicode:$1D6F0; Attr:daFont; Ch1:#$039F; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL OMICRON (Unicode:$1D6F1; Attr:daFont; Ch1:#$03A0; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL PI (Unicode:$1D6F2; Attr:daFont; Ch1:#$03A1; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL RHO (Unicode:$1D6F3; Attr:daFont; Ch1:#$03F4; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL THETA SYMBOL (Unicode:$1D6F4; Attr:daFont; Ch1:#$03A3; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL SIGMA (Unicode:$1D6F5; Attr:daFont; Ch1:#$03A4; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL TAU (Unicode:$1D6F6; Attr:daFont; Ch1:#$03A5; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL UPSILON (Unicode:$1D6F7; Attr:daFont; Ch1:#$03A6; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL PHI (Unicode:$1D6F8; Attr:daFont; Ch1:#$03A7; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL CHI (Unicode:$1D6F9; Attr:daFont; Ch1:#$03A8; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL PSI (Unicode:$1D6FA; Attr:daFont; Ch1:#$03A9; Ch2:#$FFFF), // MATHEMATICAL ITALIC CAPITAL OMEGA (Unicode:$1D6FB; Attr:daFont; Ch1:#$2207; Ch2:#$FFFF), // MATHEMATICAL ITALIC NABLA (Unicode:$1D6FC; Attr:daFont; Ch1:#$03B1; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL ALPHA (Unicode:$1D6FD; Attr:daFont; Ch1:#$03B2; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL BETA (Unicode:$1D6FE; Attr:daFont; Ch1:#$03B3; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL GAMMA (Unicode:$1D6FF; Attr:daFont; Ch1:#$03B4; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL DELTA (Unicode:$1D700; Attr:daFont; Ch1:#$03B5; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL EPSILON (Unicode:$1D701; Attr:daFont; Ch1:#$03B6; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL ZETA (Unicode:$1D702; Attr:daFont; Ch1:#$03B7; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL ETA (Unicode:$1D703; Attr:daFont; Ch1:#$03B8; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL THETA (Unicode:$1D704; Attr:daFont; Ch1:#$03B9; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL IOTA (Unicode:$1D705; Attr:daFont; Ch1:#$03BA; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL KAPPA (Unicode:$1D706; Attr:daFont; Ch1:#$03BB; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL LAMDA (Unicode:$1D707; Attr:daFont; Ch1:#$03BC; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL MU (Unicode:$1D708; Attr:daFont; Ch1:#$03BD; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL NU (Unicode:$1D709; Attr:daFont; Ch1:#$03BE; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL XI (Unicode:$1D70A; Attr:daFont; Ch1:#$03BF; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL OMICRON (Unicode:$1D70B; Attr:daFont; Ch1:#$03C0; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL PI (Unicode:$1D70C; Attr:daFont; Ch1:#$03C1; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL RHO (Unicode:$1D70D; Attr:daFont; Ch1:#$03C2; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL FINAL SIGMA (Unicode:$1D70E; Attr:daFont; Ch1:#$03C3; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL SIGMA (Unicode:$1D70F; Attr:daFont; Ch1:#$03C4; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL TAU (Unicode:$1D710; Attr:daFont; Ch1:#$03C5; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL UPSILON (Unicode:$1D711; Attr:daFont; Ch1:#$03C6; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL PHI (Unicode:$1D712; Attr:daFont; Ch1:#$03C7; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL CHI (Unicode:$1D713; Attr:daFont; Ch1:#$03C8; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL PSI (Unicode:$1D714; Attr:daFont; Ch1:#$03C9; Ch2:#$FFFF), // MATHEMATICAL ITALIC SMALL OMEGA (Unicode:$1D715; Attr:daFont; Ch1:#$2202; Ch2:#$FFFF), // MATHEMATICAL ITALIC PARTIAL DIFFERENTIAL (Unicode:$1D716; Attr:daFont; Ch1:#$03F5; Ch2:#$FFFF), // MATHEMATICAL ITALIC EPSILON SYMBOL (Unicode:$1D717; Attr:daFont; Ch1:#$03D1; Ch2:#$FFFF), // MATHEMATICAL ITALIC THETA SYMBOL (Unicode:$1D718; Attr:daFont; Ch1:#$03F0; Ch2:#$FFFF), // MATHEMATICAL ITALIC KAPPA SYMBOL (Unicode:$1D719; Attr:daFont; Ch1:#$03D5; Ch2:#$FFFF), // MATHEMATICAL ITALIC PHI SYMBOL (Unicode:$1D71A; Attr:daFont; Ch1:#$03F1; Ch2:#$FFFF), // MATHEMATICAL ITALIC RHO SYMBOL (Unicode:$1D71B; Attr:daFont; Ch1:#$03D6; Ch2:#$FFFF), // MATHEMATICAL ITALIC PI SYMBOL (Unicode:$1D71C; Attr:daFont; Ch1:#$0391; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL ALPHA (Unicode:$1D71D; Attr:daFont; Ch1:#$0392; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL BETA (Unicode:$1D71E; Attr:daFont; Ch1:#$0393; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL GAMMA (Unicode:$1D71F; Attr:daFont; Ch1:#$0394; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL DELTA (Unicode:$1D720; Attr:daFont; Ch1:#$0395; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL EPSILON (Unicode:$1D721; Attr:daFont; Ch1:#$0396; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL ZETA (Unicode:$1D722; Attr:daFont; Ch1:#$0397; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL ETA (Unicode:$1D723; Attr:daFont; Ch1:#$0398; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL THETA (Unicode:$1D724; Attr:daFont; Ch1:#$0399; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL IOTA (Unicode:$1D725; Attr:daFont; Ch1:#$039A; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL KAPPA (Unicode:$1D726; Attr:daFont; Ch1:#$039B; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL LAMDA (Unicode:$1D727; Attr:daFont; Ch1:#$039C; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL MU (Unicode:$1D728; Attr:daFont; Ch1:#$039D; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL NU (Unicode:$1D729; Attr:daFont; Ch1:#$039E; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL XI (Unicode:$1D72A; Attr:daFont; Ch1:#$039F; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL OMICRON (Unicode:$1D72B; Attr:daFont; Ch1:#$03A0; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL PI (Unicode:$1D72C; Attr:daFont; Ch1:#$03A1; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL RHO (Unicode:$1D72D; Attr:daFont; Ch1:#$03F4; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL THETA SYMBOL (Unicode:$1D72E; Attr:daFont; Ch1:#$03A3; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL SIGMA (Unicode:$1D72F; Attr:daFont; Ch1:#$03A4; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL TAU (Unicode:$1D730; Attr:daFont; Ch1:#$03A5; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL UPSILON (Unicode:$1D731; Attr:daFont; Ch1:#$03A6; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL PHI (Unicode:$1D732; Attr:daFont; Ch1:#$03A7; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL CHI (Unicode:$1D733; Attr:daFont; Ch1:#$03A8; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL PSI (Unicode:$1D734; Attr:daFont; Ch1:#$03A9; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC CAPITAL OMEGA (Unicode:$1D735; Attr:daFont; Ch1:#$2207; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC NABLA (Unicode:$1D736; Attr:daFont; Ch1:#$03B1; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL ALPHA (Unicode:$1D737; Attr:daFont; Ch1:#$03B2; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL BETA (Unicode:$1D738; Attr:daFont; Ch1:#$03B3; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL GAMMA (Unicode:$1D739; Attr:daFont; Ch1:#$03B4; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL DELTA (Unicode:$1D73A; Attr:daFont; Ch1:#$03B5; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL EPSILON (Unicode:$1D73B; Attr:daFont; Ch1:#$03B6; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL ZETA (Unicode:$1D73C; Attr:daFont; Ch1:#$03B7; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL ETA (Unicode:$1D73D; Attr:daFont; Ch1:#$03B8; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL THETA (Unicode:$1D73E; Attr:daFont; Ch1:#$03B9; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL IOTA (Unicode:$1D73F; Attr:daFont; Ch1:#$03BA; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL KAPPA (Unicode:$1D740; Attr:daFont; Ch1:#$03BB; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL LAMDA (Unicode:$1D741; Attr:daFont; Ch1:#$03BC; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL MU (Unicode:$1D742; Attr:daFont; Ch1:#$03BD; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL NU (Unicode:$1D743; Attr:daFont; Ch1:#$03BE; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL XI (Unicode:$1D744; Attr:daFont; Ch1:#$03BF; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL OMICRON (Unicode:$1D745; Attr:daFont; Ch1:#$03C0; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL PI (Unicode:$1D746; Attr:daFont; Ch1:#$03C1; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL RHO (Unicode:$1D747; Attr:daFont; Ch1:#$03C2; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL FINAL SIGMA (Unicode:$1D748; Attr:daFont; Ch1:#$03C3; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL SIGMA (Unicode:$1D749; Attr:daFont; Ch1:#$03C4; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL TAU (Unicode:$1D74A; Attr:daFont; Ch1:#$03C5; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL UPSILON (Unicode:$1D74B; Attr:daFont; Ch1:#$03C6; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL PHI (Unicode:$1D74C; Attr:daFont; Ch1:#$03C7; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL CHI (Unicode:$1D74D; Attr:daFont; Ch1:#$03C8; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL PSI (Unicode:$1D74E; Attr:daFont; Ch1:#$03C9; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC SMALL OMEGA (Unicode:$1D74F; Attr:daFont; Ch1:#$2202; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC PARTIAL DIFFERENTIAL (Unicode:$1D750; Attr:daFont; Ch1:#$03F5; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC EPSILON SYMBOL (Unicode:$1D751; Attr:daFont; Ch1:#$03D1; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC THETA SYMBOL (Unicode:$1D752; Attr:daFont; Ch1:#$03F0; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC KAPPA SYMBOL (Unicode:$1D753; Attr:daFont; Ch1:#$03D5; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC PHI SYMBOL (Unicode:$1D754; Attr:daFont; Ch1:#$03F1; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC RHO SYMBOL (Unicode:$1D755; Attr:daFont; Ch1:#$03D6; Ch2:#$FFFF), // MATHEMATICAL BOLD ITALIC PI SYMBOL (Unicode:$1D756; Attr:daFont; Ch1:#$0391; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL ALPHA (Unicode:$1D757; Attr:daFont; Ch1:#$0392; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL BETA (Unicode:$1D758; Attr:daFont; Ch1:#$0393; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL GAMMA (Unicode:$1D759; Attr:daFont; Ch1:#$0394; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL DELTA (Unicode:$1D75A; Attr:daFont; Ch1:#$0395; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL EPSILON (Unicode:$1D75B; Attr:daFont; Ch1:#$0396; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL ZETA (Unicode:$1D75C; Attr:daFont; Ch1:#$0397; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL ETA (Unicode:$1D75D; Attr:daFont; Ch1:#$0398; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA (Unicode:$1D75E; Attr:daFont; Ch1:#$0399; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL IOTA (Unicode:$1D75F; Attr:daFont; Ch1:#$039A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL KAPPA (Unicode:$1D760; Attr:daFont; Ch1:#$039B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL LAMDA (Unicode:$1D761; Attr:daFont; Ch1:#$039C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL MU (Unicode:$1D762; Attr:daFont; Ch1:#$039D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL NU (Unicode:$1D763; Attr:daFont; Ch1:#$039E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL XI (Unicode:$1D764; Attr:daFont; Ch1:#$039F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMICRON (Unicode:$1D765; Attr:daFont; Ch1:#$03A0; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL PI (Unicode:$1D766; Attr:daFont; Ch1:#$03A1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL RHO (Unicode:$1D767; Attr:daFont; Ch1:#$03F4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL THETA SYMBOL (Unicode:$1D768; Attr:daFont; Ch1:#$03A3; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL SIGMA (Unicode:$1D769; Attr:daFont; Ch1:#$03A4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL TAU (Unicode:$1D76A; Attr:daFont; Ch1:#$03A5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL UPSILON (Unicode:$1D76B; Attr:daFont; Ch1:#$03A6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL PHI (Unicode:$1D76C; Attr:daFont; Ch1:#$03A7; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL CHI (Unicode:$1D76D; Attr:daFont; Ch1:#$03A8; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL PSI (Unicode:$1D76E; Attr:daFont; Ch1:#$03A9; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD CAPITAL OMEGA (Unicode:$1D76F; Attr:daFont; Ch1:#$2207; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD NABLA (Unicode:$1D770; Attr:daFont; Ch1:#$03B1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL ALPHA (Unicode:$1D771; Attr:daFont; Ch1:#$03B2; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL BETA (Unicode:$1D772; Attr:daFont; Ch1:#$03B3; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL GAMMA (Unicode:$1D773; Attr:daFont; Ch1:#$03B4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL DELTA (Unicode:$1D774; Attr:daFont; Ch1:#$03B5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL EPSILON (Unicode:$1D775; Attr:daFont; Ch1:#$03B6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL ZETA (Unicode:$1D776; Attr:daFont; Ch1:#$03B7; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL ETA (Unicode:$1D777; Attr:daFont; Ch1:#$03B8; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL THETA (Unicode:$1D778; Attr:daFont; Ch1:#$03B9; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL IOTA (Unicode:$1D779; Attr:daFont; Ch1:#$03BA; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL KAPPA (Unicode:$1D77A; Attr:daFont; Ch1:#$03BB; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL LAMDA (Unicode:$1D77B; Attr:daFont; Ch1:#$03BC; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL MU (Unicode:$1D77C; Attr:daFont; Ch1:#$03BD; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL NU (Unicode:$1D77D; Attr:daFont; Ch1:#$03BE; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL XI (Unicode:$1D77E; Attr:daFont; Ch1:#$03BF; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL OMICRON (Unicode:$1D77F; Attr:daFont; Ch1:#$03C0; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL PI (Unicode:$1D780; Attr:daFont; Ch1:#$03C1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL RHO (Unicode:$1D781; Attr:daFont; Ch1:#$03C2; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL FINAL SIGMA (Unicode:$1D782; Attr:daFont; Ch1:#$03C3; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL SIGMA (Unicode:$1D783; Attr:daFont; Ch1:#$03C4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL TAU (Unicode:$1D784; Attr:daFont; Ch1:#$03C5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL UPSILON (Unicode:$1D785; Attr:daFont; Ch1:#$03C6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL PHI (Unicode:$1D786; Attr:daFont; Ch1:#$03C7; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL CHI (Unicode:$1D787; Attr:daFont; Ch1:#$03C8; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL PSI (Unicode:$1D788; Attr:daFont; Ch1:#$03C9; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD SMALL OMEGA (Unicode:$1D789; Attr:daFont; Ch1:#$2202; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD PARTIAL DIFFERENTIAL (Unicode:$1D78A; Attr:daFont; Ch1:#$03F5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD EPSILON SYMBOL (Unicode:$1D78B; Attr:daFont; Ch1:#$03D1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD THETA SYMBOL (Unicode:$1D78C; Attr:daFont; Ch1:#$03F0; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD KAPPA SYMBOL (Unicode:$1D78D; Attr:daFont; Ch1:#$03D5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD PHI SYMBOL (Unicode:$1D78E; Attr:daFont; Ch1:#$03F1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD RHO SYMBOL (Unicode:$1D78F; Attr:daFont; Ch1:#$03D6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD PI SYMBOL (Unicode:$1D790; Attr:daFont; Ch1:#$0391; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ALPHA (Unicode:$1D791; Attr:daFont; Ch1:#$0392; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL BETA (Unicode:$1D792; Attr:daFont; Ch1:#$0393; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL GAMMA (Unicode:$1D793; Attr:daFont; Ch1:#$0394; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL DELTA (Unicode:$1D794; Attr:daFont; Ch1:#$0395; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL EPSILON (Unicode:$1D795; Attr:daFont; Ch1:#$0396; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ZETA (Unicode:$1D796; Attr:daFont; Ch1:#$0397; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL ETA (Unicode:$1D797; Attr:daFont; Ch1:#$0398; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA (Unicode:$1D798; Attr:daFont; Ch1:#$0399; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL IOTA (Unicode:$1D799; Attr:daFont; Ch1:#$039A; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL KAPPA (Unicode:$1D79A; Attr:daFont; Ch1:#$039B; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL LAMDA (Unicode:$1D79B; Attr:daFont; Ch1:#$039C; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL MU (Unicode:$1D79C; Attr:daFont; Ch1:#$039D; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL NU (Unicode:$1D79D; Attr:daFont; Ch1:#$039E; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL XI (Unicode:$1D79E; Attr:daFont; Ch1:#$039F; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMICRON (Unicode:$1D79F; Attr:daFont; Ch1:#$03A0; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PI (Unicode:$1D7A0; Attr:daFont; Ch1:#$03A1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL RHO (Unicode:$1D7A1; Attr:daFont; Ch1:#$03F4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL THETA SYMBOL (Unicode:$1D7A2; Attr:daFont; Ch1:#$03A3; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL SIGMA (Unicode:$1D7A3; Attr:daFont; Ch1:#$03A4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL TAU (Unicode:$1D7A4; Attr:daFont; Ch1:#$03A5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL UPSILON (Unicode:$1D7A5; Attr:daFont; Ch1:#$03A6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PHI (Unicode:$1D7A6; Attr:daFont; Ch1:#$03A7; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL CHI (Unicode:$1D7A7; Attr:daFont; Ch1:#$03A8; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL PSI (Unicode:$1D7A8; Attr:daFont; Ch1:#$03A9; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL OMEGA (Unicode:$1D7A9; Attr:daFont; Ch1:#$2207; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC NABLA (Unicode:$1D7AA; Attr:daFont; Ch1:#$03B1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ALPHA (Unicode:$1D7AB; Attr:daFont; Ch1:#$03B2; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL BETA (Unicode:$1D7AC; Attr:daFont; Ch1:#$03B3; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL GAMMA (Unicode:$1D7AD; Attr:daFont; Ch1:#$03B4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL DELTA (Unicode:$1D7AE; Attr:daFont; Ch1:#$03B5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL EPSILON (Unicode:$1D7AF; Attr:daFont; Ch1:#$03B6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ZETA (Unicode:$1D7B0; Attr:daFont; Ch1:#$03B7; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL ETA (Unicode:$1D7B1; Attr:daFont; Ch1:#$03B8; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL THETA (Unicode:$1D7B2; Attr:daFont; Ch1:#$03B9; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL IOTA (Unicode:$1D7B3; Attr:daFont; Ch1:#$03BA; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL KAPPA (Unicode:$1D7B4; Attr:daFont; Ch1:#$03BB; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL LAMDA (Unicode:$1D7B5; Attr:daFont; Ch1:#$03BC; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL MU (Unicode:$1D7B6; Attr:daFont; Ch1:#$03BD; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL NU (Unicode:$1D7B7; Attr:daFont; Ch1:#$03BE; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL XI (Unicode:$1D7B8; Attr:daFont; Ch1:#$03BF; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMICRON (Unicode:$1D7B9; Attr:daFont; Ch1:#$03C0; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PI (Unicode:$1D7BA; Attr:daFont; Ch1:#$03C1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL RHO (Unicode:$1D7BB; Attr:daFont; Ch1:#$03C2; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL FINAL SIGMA (Unicode:$1D7BC; Attr:daFont; Ch1:#$03C3; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL SIGMA (Unicode:$1D7BD; Attr:daFont; Ch1:#$03C4; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL TAU (Unicode:$1D7BE; Attr:daFont; Ch1:#$03C5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL UPSILON (Unicode:$1D7BF; Attr:daFont; Ch1:#$03C6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PHI (Unicode:$1D7C0; Attr:daFont; Ch1:#$03C7; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL CHI (Unicode:$1D7C1; Attr:daFont; Ch1:#$03C8; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL PSI (Unicode:$1D7C2; Attr:daFont; Ch1:#$03C9; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC SMALL OMEGA (Unicode:$1D7C3; Attr:daFont; Ch1:#$2202; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC PARTIAL DIFFERENTIAL (Unicode:$1D7C4; Attr:daFont; Ch1:#$03F5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC EPSILON SYMBOL (Unicode:$1D7C5; Attr:daFont; Ch1:#$03D1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC THETA SYMBOL (Unicode:$1D7C6; Attr:daFont; Ch1:#$03F0; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC KAPPA SYMBOL (Unicode:$1D7C7; Attr:daFont; Ch1:#$03D5; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC PHI SYMBOL (Unicode:$1D7C8; Attr:daFont; Ch1:#$03F1; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC RHO SYMBOL (Unicode:$1D7C9; Attr:daFont; Ch1:#$03D6; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD ITALIC PI SYMBOL (Unicode:$1D7CE; Attr:daFont; Ch1:#$0030; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT ZERO (Unicode:$1D7CF; Attr:daFont; Ch1:#$0031; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT ONE (Unicode:$1D7D0; Attr:daFont; Ch1:#$0032; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT TWO (Unicode:$1D7D1; Attr:daFont; Ch1:#$0033; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT THREE (Unicode:$1D7D2; Attr:daFont; Ch1:#$0034; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT FOUR (Unicode:$1D7D3; Attr:daFont; Ch1:#$0035; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT FIVE (Unicode:$1D7D4; Attr:daFont; Ch1:#$0036; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT SIX (Unicode:$1D7D5; Attr:daFont; Ch1:#$0037; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT SEVEN (Unicode:$1D7D6; Attr:daFont; Ch1:#$0038; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT EIGHT (Unicode:$1D7D7; Attr:daFont; Ch1:#$0039; Ch2:#$FFFF), // MATHEMATICAL BOLD DIGIT NINE (Unicode:$1D7D8; Attr:daFont; Ch1:#$0030; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT ZERO (Unicode:$1D7D9; Attr:daFont; Ch1:#$0031; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT ONE (Unicode:$1D7DA; Attr:daFont; Ch1:#$0032; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT TWO (Unicode:$1D7DB; Attr:daFont; Ch1:#$0033; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT THREE (Unicode:$1D7DC; Attr:daFont; Ch1:#$0034; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT FOUR (Unicode:$1D7DD; Attr:daFont; Ch1:#$0035; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT FIVE (Unicode:$1D7DE; Attr:daFont; Ch1:#$0036; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT SIX (Unicode:$1D7DF; Attr:daFont; Ch1:#$0037; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT SEVEN (Unicode:$1D7E0; Attr:daFont; Ch1:#$0038; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT EIGHT (Unicode:$1D7E1; Attr:daFont; Ch1:#$0039; Ch2:#$FFFF), // MATHEMATICAL DOUBLE-STRUCK DIGIT NINE (Unicode:$1D7E2; Attr:daFont; Ch1:#$0030; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT ZERO (Unicode:$1D7E3; Attr:daFont; Ch1:#$0031; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT ONE (Unicode:$1D7E4; Attr:daFont; Ch1:#$0032; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT TWO (Unicode:$1D7E5; Attr:daFont; Ch1:#$0033; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT THREE (Unicode:$1D7E6; Attr:daFont; Ch1:#$0034; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT FOUR (Unicode:$1D7E7; Attr:daFont; Ch1:#$0035; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT FIVE (Unicode:$1D7E8; Attr:daFont; Ch1:#$0036; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT SIX (Unicode:$1D7E9; Attr:daFont; Ch1:#$0037; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT SEVEN (Unicode:$1D7EA; Attr:daFont; Ch1:#$0038; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT EIGHT (Unicode:$1D7EB; Attr:daFont; Ch1:#$0039; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF DIGIT NINE (Unicode:$1D7EC; Attr:daFont; Ch1:#$0030; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT ZERO (Unicode:$1D7ED; Attr:daFont; Ch1:#$0031; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT ONE (Unicode:$1D7EE; Attr:daFont; Ch1:#$0032; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT TWO (Unicode:$1D7EF; Attr:daFont; Ch1:#$0033; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT THREE (Unicode:$1D7F0; Attr:daFont; Ch1:#$0034; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT FOUR (Unicode:$1D7F1; Attr:daFont; Ch1:#$0035; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT FIVE (Unicode:$1D7F2; Attr:daFont; Ch1:#$0036; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT SIX (Unicode:$1D7F3; Attr:daFont; Ch1:#$0037; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT SEVEN (Unicode:$1D7F4; Attr:daFont; Ch1:#$0038; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT EIGHT (Unicode:$1D7F5; Attr:daFont; Ch1:#$0039; Ch2:#$FFFF), // MATHEMATICAL SANS-SERIF BOLD DIGIT NINE (Unicode:$1D7F6; Attr:daFont; Ch1:#$0030; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT ZERO (Unicode:$1D7F7; Attr:daFont; Ch1:#$0031; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT ONE (Unicode:$1D7F8; Attr:daFont; Ch1:#$0032; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT TWO (Unicode:$1D7F9; Attr:daFont; Ch1:#$0033; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT THREE (Unicode:$1D7FA; Attr:daFont; Ch1:#$0034; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT FOUR (Unicode:$1D7FB; Attr:daFont; Ch1:#$0035; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT FIVE (Unicode:$1D7FC; Attr:daFont; Ch1:#$0036; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT SIX (Unicode:$1D7FD; Attr:daFont; Ch1:#$0037; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT SEVEN (Unicode:$1D7FE; Attr:daFont; Ch1:#$0038; Ch2:#$FFFF), // MATHEMATICAL MONOSPACE DIGIT EIGHT (Unicode:$1D7FF; Attr:daFont; Ch1:#$0039; Ch2:#$FFFF) // MATHEMATICAL MONOSPACE DIGIT NINE ); function LocateHighUCS4DecompositionInfo(const Ch: UCS4Char): Integer; var L, H, I : Integer; D : UCS4Char; begin if (Ch < $1D000) or (Ch > $1D7FF) then begin Result := -1; exit; end; // Binary search L := 0; H := UnicodeUCS4DecompositionEntries - 1; Repeat I := (L + H) div 2; D := UnicodeUCS4DecompositionInfo[I].Unicode; if D = Ch then begin Result := I; exit; end else if D > Ch then H := I - 1 else L := I + 1; Until L > H; Result := -1; end; function GetCharacterDecomposition(const Ch: UCS4Char): WideString; var I : Integer; P : PUnicodeUCS4DecompositionInfo; begin if Ch < $10000 then Result := GetCharacterDecomposition(WideChar(Ch)) else begin if Ch and $FFF00 = $1D100 then // UCS4 decompositions begin (* (Unicode:$1D15E; Attr:daNone; Ch1:#$1D157; Ch2:#$1D165), // MUSICAL SYMBOL HALF NOTE (Unicode:$1D15F; Attr:daNone; Ch1:#$1D158; Ch2:#$1D165), // MUSICAL SYMBOL QUARTER NOTE (Unicode:$1D160; Attr:daNone; Ch1:#$1D15F; Ch2:#$1D16E), // MUSICAL SYMBOL EIGHTH NOTE (Unicode:$1D161; Attr:daNone; Ch1:#$1D15F; Ch2:#$1D16F), // MUSICAL SYMBOL SIXTEENTH NOTE (Unicode:$1D162; Attr:daNone; Ch1:#$1D15F; Ch2:#$1D170), // MUSICAL SYMBOL THIRTY-SECOND NOTE (Unicode:$1D163; Attr:daNone; Ch1:#$1D15F; Ch2:#$1D171), // MUSICAL SYMBOL SIXTY-FOURTH NOTE (Unicode:$1D164; Attr:daNone; Ch1:#$1D15F; Ch2:#$1D172), // MUSICAL SYMBOL ONE HUNDRED TWENTY-EIGHTH NOTE (Unicode:$1D1BB; Attr:daNone; Ch1:#$1D1B9; Ch2:#$1D165), // MUSICAL SYMBOL MINIMA (Unicode:$1D1BC; Attr:daNone; Ch1:#$1D1BA; Ch2:#$1D165), // MUSICAL SYMBOL MINIMA BLACK (Unicode:$1D1BD; Attr:daNone; Ch1:#$1D1BB; Ch2:#$1D16E), // MUSICAL SYMBOL SEMIMINIMA WHITE (Unicode:$1D1BE; Attr:daNone; Ch1:#$1D1BC; Ch2:#$1D16E), // MUSICAL SYMBOL SEMIMINIMA BLACK (Unicode:$1D1BF; Attr:daNone; Ch1:#$1D1BB; Ch2:#$1D16F), // MUSICAL SYMBOL FUSA WHITE (Unicode:$1D1C0; Attr:daNone; Ch1:#$1D1BC; Ch2:#$1D16F), // MUSICAL SYMBOL FUSA BLACK *) end; I := LocateHighUCS4DecompositionInfo(Ch); if I < 0 then Result := '' else begin P := @UnicodeUCS4DecompositionInfo[I]; if P^.Ch2 = #$FFFF then Result := P^.Ch1 else begin SetLength(Result, 2); Result[1] := P^.Ch1; Result[2] := P^.Ch2; end; end; end; end; end.
unit uToneGenerator; interface uses classes,uSoundTypes; type TBasicToneGenerator=class(TPersistent) private FStream:TMemoryStream; FDuration: integer; FSampleRate: TSampleRate; FVolume: TVolumeLevel; FChannel: TSoundChannel; procedure SetDuration(const Value: integer); procedure SetSampleRate(const Value: TSampleRate); procedure SetVolume(const Value: TVolumeLevel); procedure SetChannel(const Value: TSoundChannel); protected public constructor Create;virtual; destructor Destroy;override; procedure Generate;virtual; procedure Play; procedure PlaySync; procedure SaveToStream(Stream:TStream); procedure SaveToFile(const filename:string); procedure LoadFromStream(Stream:TStream); procedure LoadFromFile(const filename:string); published property SampleRate:TSampleRate read FSampleRate write SetSampleRate; property Duration:integer read FDuration write SetDuration; property Volume:TVolumeLevel read FVolume write SetVolume; property Channel:TSoundChannel read FChannel write SetChannel; property ToneStream:TMemoryStream read FStream; end; TToneGenerator=class(TBasicToneGenerator) private FFrequency: integer; procedure SetFrequency(const Value: integer); public constructor Create;override; procedure Generate;override; published property Frequency:integer read FFrequency write SetFrequency; end; TWhiteNoiseGenerator=class(TBasicToneGenerator) private public procedure Generate;override; published end; {====================================== Menghasilkan tone dan menyimpannya ke stream =======================================} procedure GenerateToneToStream(Stream:TStream; const Frequency{Hz}, Duration{mSec}: Integer; const Volume: TVolumeLevel; const nChannel:TSoundChannel; const Sample_Rate:TSampleRate=sr44_1KHz); {====================================== Menghasilkan noise dan menyimpannya ke stream =======================================} procedure GenerateNoiseToStream(Stream:TStream; const Duration{mSec}: Integer; const Volume: TVolumeLevel; const nChannel:TSoundChannel; const Sample_Rate:TSampleRate=sr44_1KHz); implementation uses Winapi.Windows,system.sysutils,winapi.MMSystem; procedure GenerateToneToStream(Stream:TStream; const Frequency{Hz}, Duration{mSec}: Integer; const Volume: TVolumeLevel; const nChannel:TSoundChannel; const Sample_Rate:TSampleRate=sr44_1KHz); var WaveFormatEx: TWaveFormatEx; i, sizeByte,TempInt, DataCount, RiffCount: integer; SoundValue: byte; // w=omega ( 2 * pi * frequency) //w_per_samplerate=w/samplerate w,w_per_samplerate: double; SampleRate:integer; const RiffId: AnsiString = 'RIFF'; WaveId: AnsiString = 'WAVE'; FmtId: AnsiString = 'fmt '; DataId: AnsiString = 'data'; begin SampleRate:=GetSampleRate(Sample_Rate); if Frequency > (0.6 * SampleRate) then raise Exception.Create(Format('Sample rate %d terlalu sedikit untuk memainkan tone %dHz', [SampleRate, Frequency]) ); with WaveFormatEx do begin wFormatTag := WAVE_FORMAT_PCM; nChannels := GetNumChannels(nChannel); nSamplesPerSec := SampleRate; wBitsPerSample := $0008; nBlockAlign := (nChannels * wBitsPerSample) div 8; nAvgBytesPerSec := nSamplesPerSec * nBlockAlign; cbSize := 0; end; {hitung panjang data sound dan panjang stream WAV yang harus dihasilkan} DataCount := (Duration * SampleRate) div 1000; // sound data TempInt := SizeOf(TWaveFormatEx); RiffCount := Length(WaveId) + Length(FmtId) + SizeOf(DWORD) + TempInt + Length(DataId) + SizeOf(DWORD) + DataCount; // file data {tulis wave header} Stream.WriteBuffer(RiffId[1], 4); // 'RIFF' Stream.WriteBuffer(RiffCount, SizeOf(DWORD)); // file data size Stream.WriteBuffer(WaveId[1], Length(WaveId)); // 'WAVE' Stream.WriteBuffer(FmtId[1], Length(FmtId)); // 'fmt ' Stream.WriteBuffer(TempInt, SizeOf(DWORD)); // TWaveFormat data size Stream.WriteBuffer(WaveFormatEx, TempInt); // WaveFormatEx record Stream.WriteBuffer(DataId[1], Length(DataId)); // 'data' Stream.WriteBuffer(DataCount, SizeOf(DWORD)); // sound data size sizeByte:=Sizeof(Byte); {hitung dan simpan tone signal ke stream} w := 2 * Pi * Frequency; // omega w_per_samplerate:=w/SampleRate; for i := 0 to DataCount - 1 do begin SoundValue := 127 + trunc(Volume * sin(i * w_per_SampleRate)); // wt = w * i / SampleRate Stream.WriteBuffer(SoundValue, SizeByte); end; end; { TBasicToneGenerator } constructor TBasicToneGenerator.Create; begin FStream:=nil; FDuration:=1000; FSampleRate:=sr22_05KHz; FVolume:=127; FChannel:=chMono; end; destructor TBasicToneGenerator.Destroy; begin FStream.Free; inherited; end; procedure TBasicToneGenerator.Generate; begin if FStream=nil then FStream:=TMemoryStream.Create; FStream.Clear; end; procedure TBasicToneGenerator.LoadFromFile(const filename: string); var afile:TFileStream; begin afile:=TFileStream.Create(filename,fmOpenRead); try LoadFromStream(afile); finally afile.Free; end; end; procedure TBasicToneGenerator.LoadFromStream(Stream: TStream); begin if FStream=nil then FStream:=TMemoryStream.Create; FStream.Clear; FStream.CopyFrom(Stream,0); end; procedure TBasicToneGenerator.Play; begin if FStream.Size<>0 then PlaySound(FStream.Memory,0, SND_MEMORY or SND_ASYNC); end; procedure TBasicToneGenerator.PlaySync; begin if FStream.Size<>0 then PlaySound(FStream.Memory,0, SND_MEMORY or SND_SYNC); end; procedure TBasicToneGenerator.SaveToFile(const filename: string); var afile:TFileStream; begin afile:=TFileStream.Create(filename,fmCreate); try SaveToStream(afile); finally afile.Free; end; end; procedure TBasicToneGenerator.SaveToStream(Stream: TStream); begin Stream.Seek(0,soFromBeginning); Stream.CopyFrom(FStream,0); end; procedure TBasicToneGenerator.SetChannel(const Value: TSoundChannel); begin FChannel := Value; end; procedure TBasicToneGenerator.SetDuration(const Value: integer); begin FDuration := Value; end; procedure TBasicToneGenerator.SetSampleRate(const Value: TSampleRate); begin FSampleRate := Value; end; procedure TBasicToneGenerator.SetVolume(const Value: TVolumeLevel); begin FVolume := Value; end; {TToneGenerator} constructor TToneGenerator.Create; begin inherited Create; FFrequency:=1000; end; procedure TToneGenerator.Generate; begin inherited; GenerateToneToStream(FStream, FFrequency, FDuration, FVolume, FChannel, FSampleRate); end; procedure TToneGenerator.SetFrequency(const Value: integer); begin FFrequency := Value; end; function random_negative(const value:double):double; begin if random>0.5 then result:=-value else result:=value; end; procedure GenerateNoiseToStream(Stream:TStream; const Duration{mSec}: Integer; const Volume: TVolumeLevel; const nChannel:TSoundChannel; const Sample_Rate:TSampleRate=sr44_1KHz); var WaveFormatEx: TWaveFormatEx; i, sizeByte,TempInt, DataCount, RiffCount: integer; SoundValue: byte; SampleRate:integer; const RiffId: AnsiString = 'RIFF'; WaveId: AnsiString = 'WAVE'; FmtId: AnsiString = 'fmt '; DataId: AnsiString = 'data'; begin SampleRate:=GetSampleRate(Sample_Rate); with WaveFormatEx do begin wFormatTag := WAVE_FORMAT_PCM; nChannels := GetNumChannels(nChannel); nSamplesPerSec := SampleRate; wBitsPerSample := $0008; nBlockAlign := (nChannels * wBitsPerSample) div 8; nAvgBytesPerSec := nSamplesPerSec * nBlockAlign; cbSize := 0; end; {hitung panjang data sound dan panjang stream WAV yang harus dihasilkan} DataCount := (Duration * SampleRate) div 1000; // sound data TempInt := SizeOf(TWaveFormatEx); RiffCount := Length(WaveId) + Length(FmtId) + SizeOf(DWORD) + TempInt + Length(DataId) + SizeOf(DWORD) + DataCount; // file data {tulis wave header} Stream.WriteBuffer(RiffId[1], 4); // 'RIFF' Stream.WriteBuffer(RiffCount, SizeOf(DWORD)); // file data size Stream.WriteBuffer(WaveId[1], Length(WaveId)); // 'WAVE' Stream.WriteBuffer(FmtId[1], Length(FmtId)); // 'fmt ' Stream.WriteBuffer(TempInt, SizeOf(DWORD)); // TWaveFormat data size Stream.WriteBuffer(WaveFormatEx, TempInt); // WaveFormatEx record Stream.WriteBuffer(DataId[1], Length(DataId)); // 'data' Stream.WriteBuffer(DataCount, SizeOf(DWORD)); // sound data size sizeByte:=Sizeof(Byte); {hitung dan simpan tone signal ke stream} for i := 0 to DataCount - 1 do begin SoundValue := 127 + trunc(Volume * random_negative(random)); Stream.WriteBuffer(SoundValue, SizeByte); end; end; { TWhiteNoiseGenerator } procedure TWhiteNoiseGenerator.Generate; begin inherited; GenerateNoiseToStream(FStream, FDuration, FVolume, FChannel, FSampleRate); end; initialization randomize; end.
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { } {*******************************************************} {*******************************************************} { Standard VCL OLE Interfaces } {*******************************************************} unit System.Win.StdVCL; { Borland standard VCL type library } { Version 1.0 } { Bring in definition of IDispatch } (*$HPPEMIT '#include <oaidl.h>'*) interface const LIBID_StdVCL: TGUID = '{EE05DFE0-5549-11D0-9EA9-0020AF3D82DA}'; IID_IProvider: TGUID = '{6E644935-51F7-11D0-8D41-00A0248E4B9A}'; IID_IStrings: TGUID = '{EE05DFE2-5549-11D0-9EA9-0020AF3D82DA}'; IID_IDataBroker: TGUID = '{6539BF65-6FE7-11D0-9E8C-00A02457621F}'; type { Forward declarations } { Forward declarations: Interfaces } IProvider = interface; IProviderDisp = dispinterface; IStrings = interface; IStringsDisp = dispinterface; IDataBroker = interface; IDataBrokerDisp = dispinterface; { Provider interface for TClientDataSet } IProvider = interface(IDispatch) ['{6E644935-51F7-11D0-8D41-00A0248E4B9A}'] function Get_Data: OleVariant; safecall; function ApplyUpdates(Delta: OleVariant; MaxErrors: Integer; out ErrorCount: Integer): OleVariant; safecall; function GetMetaData: OleVariant; safecall; function GetRecords(Count: Integer; out RecsOut: Integer): OleVariant; safecall; function DataRequest(Input: OleVariant): OleVariant; safecall; function Get_Constraints: WordBool; safecall; procedure Set_Constraints(Value: WordBool); safecall; procedure Reset(MetaData: WordBool); safecall; procedure SetParams(Values: OleVariant); safecall; property Data: OleVariant read Get_Data; property Constraints: WordBool read Get_Constraints write Set_Constraints; end; { DispInterface declaration for Dual Interface IProvider } IProviderDisp = dispinterface ['{6E644935-51F7-11D0-8D41-00A0248E4B9A}'] property Data: OleVariant readonly dispid 1; function ApplyUpdates(Delta: OleVariant; MaxErrors: Integer; out ErrorCount: Integer): OleVariant; dispid 2; function GetMetaData: OleVariant; dispid 3; function GetRecords(Count: Integer; out RecsOut: Integer): OleVariant; dispid 4; function DataRequest(Input: OleVariant): OleVariant; dispid 5; property Constraints: WordBool dispid 6; procedure Reset(MetaData: WordBool); dispid 7; procedure SetParams(Values: OleVariant); dispid 8; end; { Collection Interface for TStrings } IStrings = interface(IDispatch) ['{EE05DFE2-5549-11D0-9EA9-0020AF3D82DA}'] function Get_ControlDefault(Index: Integer): OleVariant; safecall; procedure Set_ControlDefault(Index: Integer; Value: OleVariant); safecall; function Count: Integer; safecall; function Get_Item(Index: Integer): OleVariant; safecall; procedure Set_Item(Index: Integer; Value: OleVariant); safecall; procedure Remove(Index: Integer); safecall; procedure Clear; safecall; function Add(Item: OleVariant): Integer; safecall; function _NewEnum: IUnknown; safecall; property ControlDefault[Index: Integer]: OleVariant read Get_ControlDefault write Set_ControlDefault; default; property Item[Index: Integer]: OleVariant read Get_Item write Set_Item; end; { DispInterface declaration for Dual Interface IStrings } IStringsDisp = dispinterface ['{EE05DFE2-5549-11D0-9EA9-0020AF3D82DA}'] property ControlDefault[Index: Integer]: OleVariant dispid 0; default; function Count: Integer; dispid 1; property Item[Index: Integer]: OleVariant dispid 2; procedure Remove(Index: Integer); dispid 3; procedure Clear; dispid 4; function Add(Item: OleVariant): Integer; dispid 5; function _NewEnum: IUnknown; dispid -4; end; { Design-time interface for remote data modules } IDataBroker = interface(IDispatch) ['{6539BF65-6FE7-11D0-9E8C-00A02457621F}'] function GetProviderNames: OleVariant; safecall; end; { DispInterface declaration for Dual Interface IDataBroker } IDataBrokerDisp = dispinterface ['{6539BF65-6FE7-11D0-9E8C-00A02457621F}'] function GetProviderNames: OleVariant; dispid 22929905; end; implementation end.
Unit myStek; Interface Type element = char; stekPoint = ^stek; stek = record info:integer; next:stekPoint; end; Var empty:boolean; openPosition:integer; Procedure add(var point:stekPoint;i:integer); Procedure pop(var point:stekPoint); Function isEmpty(point:stekPoint):boolean; Implementation Function isEmpty(point:stekPoint):boolean; begin isEmpty:= point = nil; end; Procedure getPosition(position: integer); begin openPosition:=position; end; Procedure initOpenPosition(); begin openPosition:=0; end; Procedure add(var point:stekPoint;i:integer); var y:stekPoint; begin initOpenPosition(); new(y); if isEmpty(point) then begin y^.info:=i; point := y; end else begin y^.next:=point^.next; y^.info:=point^.info; point^.info:=i; point^.next:=y; end; end; Procedure pop(var point:stekPoint); var metk:stekPoint; begin initOpenPosition(); If isEmpty(point) then empty := true else begin metk:=point^.next; getPosition(point^.info); point:=metk; dispose(metk); empty:=false; end; end; Initialization End.
unit PascalCoin.Utility.Classes; interface uses System.Generics.Collections, System.Classes, System.SysUtils, PascalCoin.Utility.Interfaces; Type TPascalCoinList<T> = class(TInterfacedObject, IPascalCoinList<T>) private FItems: TList<T>; protected function GetItem(const Index: Integer): T; function Count: Integer; function Add(Item: T): Integer; public constructor Create; destructor Destroy; override; end; implementation { TPascalCoinList<T> } function TPascalCoinList<T>.Add(Item: T): Integer; begin result := FItems.Add(Item); end; function TPascalCoinList<T>.Count: Integer; begin result := FItems.Count; end; constructor TPascalCoinList<T>.Create; begin inherited Create; FItems := TList<T>.Create; end; destructor TPascalCoinList<T>.Destroy; begin FItems.Free; inherited; end; function TPascalCoinList<T>.GetItem(const Index: Integer): T; begin result := FItems[Index]; end; end.
unit uFeriadoEdt; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Mask, EDateEd, Vcl.Grids, Vcl.Samples.Calendar, Vcl.ComCtrls, Vcl.DBCtrls; type TOperacao = (OpIncluir, OpAlterar, OpExcluir); TfrmFeriadoEdt = class(TForm) pnlRodape: TPanel; pnlControle: TPanel; btnFechar: TBitBtn; btnOK: TBitBtn; lblDescrição: TLabel; edtDescricao: TEdit; dtpDate: TDateTimePicker; lblData: TLabel; lblTipoFeriado: TLabel; cbbTipoFeriado: TComboBox; procedure btnOKClick(Sender: TObject); procedure FormShow(Sender: TObject); private { Private declarations } procedure carregarRegistro; procedure CarregarDadosPONTBTPF; procedure CarregarDadosCbbTipoFeriado; procedure MoverDadosFormularios; function testarDados: Boolean; function incluir: Boolean; function alterar: Boolean; function excluir: Boolean; public { Public declarations } gOperacao: TOperacao; gPON_PK_SEQ_FER: Integer; end; var frmFeriadoEdt: TfrmFeriadoEdt; implementation {$R *.dfm} uses uDmDados, uConstates, uTipoFeriado, uFeriado; { TfrmTipoFeriadoEdt } function TfrmFeriadoEdt.alterar: Boolean; begin carregarRegistro; if not dmDados.cdsPONTBFER.IsEmpty then begin try dmDados.cdsPONTBFER.Edit; dmDados.cdsPONTBFER.FieldByName('PON_DATA_FER').AsDateTime := dtpDate.Date; dmDados.cdsPONTBFER.FieldByName('PON_DESC_FER').AsString := edtDescricao.Text; dmDados.cdsPONTBFER.FieldByName('PON_FK_TPF_FER').AsInteger := ( cbbTipoFeriado.ItemIndex + 1); dmDados.cdsPONTBFER.Post; dmDados.cdsPONTBFER.ApplyUpdates(0); frmFeriado.AtualizaGrid; except on e: Exception do begin ShowMessage('Erro ao alterar tipo de feriado: ' + e.Message); end; end; end; Result := True; end; procedure TfrmFeriadoEdt.btnOKClick(Sender: TObject); begin if testarDados then begin if gOperacao = OpIncluir then begin if incluir then begin ShowMessage('Registro incluso com sucesso!'); edtDescricao.Text := ''; cbbTipoFeriado.ItemIndex := -1; dtpDate.Date := Now; if dtpDate.CanFocus then dtpDate.SetFocus; end; end else if gOperacao = OpAlterar then begin if alterar then begin ShowMessage('Registro alterado com sucesso!'); ModalResult := mrOk; end; end else begin if MessageDlg('Tem certeza que deseja excluir esse registro?', mtConfirmation, [mbYes, mbNo], 0) = mrYes then begin if excluir then begin ShowMessage('Registro excluído com sucesso!'); ModalResult := mrOk; end; end; end; end; end; procedure TfrmFeriadoEdt.carregarRegistro; begin dmDados.cdsPONTBFER.Close; dmDados.cdsPONTBFER.CommandText := ' SELECT * FROM PONTBFER FER ' + ' LEFT OUTER JOIN PONTBTPF TPF ON FER.PON_FK_TPF_FER = TPF.PON_PK_SEQ_TPF' + ' WHERE FER.PON_PK_SEQ_FER = ' + QuotedStr(VarToStr(gPON_PK_SEQ_FER)); dmDados.cdsPONTBFER.Open; end; function TfrmFeriadoEdt.excluir: Boolean; begin carregarRegistro; if not dmDados.cdsPONTBFER.IsEmpty then begin try dmDados.cdsPONTBFER.Delete; dmDados.cdsPONTBFER.ApplyUpdates(0); frmFeriado.AtualizaGrid; except on e: Exception do begin ShowMessage('Erro ao ecluir tipo de feriado: ' + e.Message); end; end; end; Result := True; end; procedure TfrmFeriadoEdt.FormShow(Sender: TObject); begin dmDados.cdsPONTBFER.Close; dmDados.cdsPONTBFER.CommandText := 'SELECT * FROM PONTBFER'; dmDados.cdsPONTBFER.Open; if gOperacao = OpIncluir then begin Caption := 'Inclusão de feriado'; CarregarDadosCbbTipoFeriado; dtpDate.Date := Now; dtpDate.SetFocus; end else if gOperacao = OpAlterar then begin Caption := 'Alteração de feriado'; carregarRegistro; MoverDadosFormularios; CarregarDadosPONTBTPF; frmFeriado.AtualizaGrid; end else begin Caption := 'Exclusão de feriado'; carregarRegistro; MoverDadosFormularios; CarregarDadosPONTBTPF; frmFeriado.AtualizaGrid; pnlControle.Enabled := False; btnOK.SetFocus; end; end; function TfrmFeriadoEdt.incluir: Boolean; begin try dmDados.cdsPONTBFER.EmptyDataSet; dmDados.cdsPONTBFER.Close; dmDados.cdsPONTBFER.CommandText := 'SELECT * FROM PONTBFER'; dmDados.cdsPONTBFER.Open; dmDados.cdsPONTBFER.Insert; dmDados.cdsPONTBFER.FieldByName('PON_PK_SEQ_FER').AsInteger := 0; dmDados.cdsPONTBFER.FieldByName('PON_DATA_FER').AsDateTime := dtpDate.Date; dmDados.cdsPONTBFER.FieldByName('PON_DESC_FER').AsString := edtDescricao.Text; dmDados.cdsPONTBFER.FieldByName('PON_FK_TPF_FER').AsInteger := ( cbbTipoFeriado.ItemIndex + 1); dmDados.cdsPONTBFER.Post; dmDados.cdsPONTBFER.ApplyUpdates(0); frmFeriado.AtualizaGrid; except on e: Exception do begin ShowMessage('Erro ao inserir feriado: ' + e.Message); end; end; Result := True; end; procedure TfrmFeriadoEdt.MoverDadosFormularios; begin dtpDate.Date := dmDados.cdsPONTBFER.FieldByName('PON_DATA_FER').AsDateTime; edtDescricao.Text := dmDados.cdsPONTBFER.FieldByName('PON_DESC_FER').AsString; CarregarDadosCbbTipoFeriado; carregarRegistro; cbbTipoFeriado.ItemIndex := (dmDados.cdsPONTBFER.FieldByName('PON_FK_TPF_FER').AsInteger - 1); end; function TfrmFeriadoEdt.testarDados: Boolean; begin Result := False; if (gOperacao = OpIncluir) or (gOperacao = OpAlterar) then begin if cbbTipoFeriado.ItemIndex = -1 then begin ShowMessage('Selecione o tipo de Feriado.'); if cbbTipoFeriado.CanFocus then cbbTipoFeriado.SetFocus; Exit; end; if edtDescricao.Text = '' then begin ShowMessage('Informe a descrição do Feriado.'); if edtDescricao.CanFocus then edtDescricao.SetFocus; Exit; end; end; Result := True; end; procedure TfrmFeriadoEdt.CarregarDadosCbbTipoFeriado; begin CarregarDadosPONTBTPF; while not dmDados.cdsPONTBTPF.Eof do begin cbbTipoFeriado.AddItem(dmDados.cdsPONTBTPF.FieldByName('PON_DESC_TPF') .AsString, TObject(dmDados.cdsPONTBTPF.FieldByName('PON_PK_SEQ_TPF') .AsInteger)); dmDados.cdsPONTBTPF.Next; end; cbbTipoFeriado.ItemIndex := -1; end; procedure TfrmFeriadoEdt.CarregarDadosPONTBTPF; begin dmDados.cdsPONTBTPF.Close; dmDados.cdsPONTBTPF.CommandText := 'SELECT * FROM PONTBTPF'; dmDados.cdsPONTBTPF.Open; end; end.
unit FileStructureInformationUnit; ///////////////////////////////////////////////////////////////////////// // // // Description: // // Container for File Information processing // // Provides a way to build image file list from a root directory // // Also provides output file information // // // // Defaults: // // FRoot - (blank) // // FDirs - (blank) // // FFiles - (blank) // // FOutputPath - (blank) // // FPrefix - (blank) // // FSuffix - (blank) // // FDestination - (blank) // // FImageFileType - ziftJPG (convert to JPEG if method calls for it) // // FImageTypeSet - [ziftJPG] (JPEG only in the set) // // // ///////////////////////////////////////////////////////////////////////// interface uses Classes, ResizerCommonTypesUnit, ImageCommonTypesUnit; type TFileStructureInformation = class private FRoot: String; // root directory FDirs: TStringList; // directory list FFiles: TStringList; // file list FOutputPath: String; // destination path FPrefix: String; // destination filename prefix FSuffix: String; // destination filename suffix FDestination: String; // destination filename + path of current file FImageFileType: TImageFileType; // convert to this filetype FImageTypeSet: TImageTypeSet; ///////////// // Setters // ///////////// procedure SetFiles(const Value: TStringList); procedure SetDirs(const Value: TStringList); public //////////////////////////// // Constructor/Destructor // //////////////////////////// constructor Create; destructor Destroy; reintroduce; overload; //////////////////// // Business Logic // //////////////////// procedure PrepareDirsList(const SourceMethod: TSourceMethod); procedure PrepareFilesList; published property Root: String read FRoot write FRoot; property Dirs: TStringList read FDirs write SetDirs; property Files: TStringList read FFiles write SetFiles; property OutputPath: String read FOutputPath write FOutputPath; property Prefix: String read FPrefix write FPrefix; property Suffix: String read FSuffix write FSuffix; property Destination: String read FDestination write FDestination; property ImageFileType: TImageFileType read FImageFileType write FImageFileType; property ImageTypeSet: TImageTypeSet read FImageTypeSet write FImageTypeSet; end; // TFileStructureInformation implementation uses SysUtils, FindFilesUnit, ImageFilesUnit; { TFileStructureInformation } //////////////////////////// // Constructor/Destructor // //////////////////////////// constructor TFileStructureInformation.Create; begin inherited; ////////////////////////// // Intialize everything // ////////////////////////// FRoot := ''; FDirs := TStringList.Create; FFiles := TStringList.Create; FOutputPath := ''; FPrefix := ''; FSuffix := ''; FDestination := ''; FImageFileType := ziftJPG; FImageTypeSet := [ziftJPG]; end; destructor TFileStructureInformation.Destroy; begin ////////////// // Clean up // ////////////// FreeAndNil(FDirs); FreeAndNil(FFiles); inherited; end; ///////////// // Setters // ///////////// procedure TFileStructureInformation.SetDirs(const Value: TStringList); /////////////////////////////////////////////////////// // Preconditions : // // Value has valid directories as strings // // // // Output : // // Value is added to FDirs, and then it is resorted // /////////////////////////////////////////////////////// var i: integer; begin if Assigned(Value) and (Value.Count > 0) then begin for i := 0 to Value.Count - 1 do FDirs.Add(Value.Strings[i]); FDirs.Sort; end; // if Value.Count > 0 end; procedure TFileStructureInformation.SetFiles(const Value: TStringList); //////////////////////////////////////////////////////// // Preconditions : // // Value has valid files as strings // // // // Output : // // Value is added to FFiles, and then it is resorted // //////////////////////////////////////////////////////// var i: integer; begin if Assigned(Value) and (Value.Count > 0) then begin for i := 0 to Value.Count - 1 do FFiles.Add(Value.Strings[i]); FFiles.Sort; end; // if Value.Count > 0 end; //////////////////// // Business Logic // //////////////////// procedure TFileStructureInformation.PrepareDirsList(const SourceMethod: TSourceMethod); /////////////////////////////////////////////////////////////////////////// // Preconditions : // // FRoot must be a valid directory // // SourceMethod needs to be set to the proper setting // // // // Output : // // FDirs is populated with a list of directories to search for files in // // generated from FRoot // // // // Note : // // Called when SourceMethod relates to directory-based, not file-based // /////////////////////////////////////////////////////////////////////////// begin FDirs.Clear; if (FRoot <> '') then if (SourceMethod = zsmDirectory) then FDirs.Add(IncludeTrailingBackslash(FRoot)) else FDirs := BuildRecursiveDirList(FRoot); // FSourceMethod = zsmRecursiveDirectory end; procedure TFileStructureInformation.PrepareFilesList; ////////////////////////////////////////////////////////// // Preconditions : // // FDirs must be prepared // // FImageTypeSet must be properly set // // // // Output : // // FFiles is populated with a list of files to process // ////////////////////////////////////////////////////////// begin FFiles := BuildImagesList(FDirs, FImageTypeSet); end; end.
unit ClassChars; interface uses Controls, Windows, Classes, Graphics; const clChar = clBlack; type PData = ^TData; TData = record Value : char; Start : TPoint; Area : integer; BMP : TBitmap; end; TChars = class private procedure NacitajData( ImageList : TImageList ); procedure SetStart( PSetData : PData ); function FindSection( Bmp : TBitmap; X , Y : integer ) : TRect; procedure AddData( PNewData : PData ); public Data : TList; constructor Create( ImageList : TImageList ); destructor Destroy; override; end; var Chars : TChars; implementation uses SysUtils; //============================================================================== //============================================================================== // // Constructor // //============================================================================== //============================================================================== constructor TChars.Create( ImageList : TImageList ); begin inherited Create; Data := TList.Create; NacitajData( ImageList ); end; //============================================================================== //============================================================================== // // Destructor // //============================================================================== //============================================================================== destructor TChars.Destroy; var I : integer; begin for I := 0 to Data.Count-1 do Dispose( PData( Data[I] ) ); Data.Free; inherited; end; //============================================================================== //============================================================================== // // Ostatne // //============================================================================== //============================================================================== procedure TChars.SetStart( PSetData : PData ); var I, J : integer; B : boolean; begin B := False; for I := 0 to PSetData^.BMP.Height-1 do begin for J := 0 to PSetData^.BMP.Width-1 do if PSetData^.BMP.Canvas.Pixels[J,I] = clChar then begin PSetData^.Start.X := J; PSetData^.Start.Y := I; B := True; break; end; if (B) then break; end; PSetData^.Area := 0; for I := 0 to PSetData^.BMP.Height-1 do for J := 0 to PSetData^.BMP.Width-1 do if PSetData^.BMP.Canvas.Pixels[J,I] = clChar then Inc( PSetData^.Area ); end; //============================================================================== //============================================================================== // // Praca so suborom // //============================================================================== //============================================================================== procedure TChars.NacitajData( ImageList : TImageList ); var I : integer; PNewData : PData; begin Data.Clear; Data.Capacity := ImageList.Count; for I := 0 to ImageList.Count-1 do begin New( PNewData ); PNewData^.Value := IntToStr( I )[1]; PNewData^.BMP := TBitmap.Create; ImageList.GetBitmap( I , PNewData^.BMP ); AddData( PNewData ); end; end; //============================================================================== //============================================================================== // // I N T E R F A C E // //============================================================================== //============================================================================== function TChars.FindSection( Bmp : TBitmap; X , Y : integer ) : TRect; procedure FloodFill( I , J : integer ); begin Bmp.Canvas.Pixels[I,J] := clWhite; if I < Result.Left then Result.Left := I; if I > Result.Right then Result.Right := I; if J < Result.Top then Result.Top := J; if J > Result.Bottom then Result.Bottom := J; // Doprava if (I < Bmp.Width-1) then if (Bmp.Canvas.Pixels[I+1,J] = clChar) then FloodFill( I+1 , J ); // Dolava if (I > 0) then if (Bmp.Canvas.Pixels[I-1,J] = clChar) then FloodFill( I-1 , J ); // Dole if (J < Bmp.Height-1) then if (Bmp.Canvas.Pixels[I,J+1] = clChar) then FloodFill( I , J+1 ); // Hore if (J > 0) then if (Bmp.Canvas.Pixels[I,J-1] = clChar) then FloodFill( I , J-1 ); // Doprava hore if (I < Bmp.Width-1) and (J > 0) then if (Bmp.Canvas.Pixels[I+1,J-1] = clChar) then FloodFill( I+1 , J-1 ); // Doprava dole if (I < Bmp.Width-1) and (J < Bmp.Height-1) then if (Bmp.Canvas.Pixels[I+1,J+1] = clChar) then FloodFill( I+1 , J+1 ); // Dolava dole if (I > 0) and (J < Bmp.Height-1) then if (Bmp.Canvas.Pixels[I-1,J+1] = clChar) then FloodFill( I-1 , J+1 ); // Dolava hore if (I > 0) and (J > 0) then if (Bmp.Canvas.Pixels[I-1,J-1] = clChar) then FloodFill( I-1 , J-1 ); end; begin with Result do begin Left := X; Top := Y; Right := X; Bottom := Y; end; FloodFill( X , Y ); end; procedure TChars.AddData( PNewData : PData ); var Rect : TRect; Zal : TBitmap; begin Data.Add( PNewData ); SetStart( PNewData ); Zal := TBitmap.Create; try Zal.Assign( PNewData^.BMP ); Rect := FindSection( Zal , PNewData^.Start.x , PNewData^.Start.y ); finally Zal.Free; end; PNewData^.BMP.Width := (Rect.Right-Rect.Left)+1; PNewData^.BMP.Height := (Rect.Bottom-Rect.Top)+1; end; end.
unit uGameManager; interface uses uLd, System.SysUtils, OtlTask, OtlTaskControl, uInterfaces, OtlParallel, OtlSync, OtlCommon; type TGameManger = class(TInterfacedObject, IGameManger) private FLoop: IOmniParallelLoop<integer>; FCancellationToken: IOmniCancellationToken; // FTaskGroup: IOmniTaskGroup; FLock: IOmniCriticalSection; procedure Excute(const task: IOmniTask); public constructor Create(); destructor Destroy; override; function StartAll(monitor: IOmniTaskControlMonitor): Boolean; // 运行所有 function StartExistWnds(monitor: IOmniTaskControlMonitor): Boolean; procedure StopAll; // 停止所有 // 运行已经打开的窗口 function StartExistWndsEx(eventDispatcher: TObject): Boolean; // 运行已经打开的窗口 procedure StopAllEx; // 停止所有 procedure SortWnd; // 排序 end; implementation uses CodeSiteLogging, Winapi.Windows, Winapi.ActiveX, System.Win.ComObj; { TGameManger } constructor TGameManger.Create; begin FTaskGroup := CreateTaskGroup; FLock := CreateOmniCriticalSection; end; destructor TGameManger.Destroy; begin StopAll; inherited; end; procedure TGameManger.Excute(const task: IOmniTask); var emulatorInfo: TEmulatorInfo; game: IGame; obj: IPighead; ValueContainer: TOmniValueContainer; gameData: TGameData; begin OleCheck(CoInitializeEx(nil, COINIT_MULTITHREADED)); obj := gContainer.Resolve<IPighead>; // 创建插件对象 task.Comm.Send(WM_LOG, 'Create obj'); // 发送插件版本信息 gameData.obj := obj; emulatorInfo := task.Param[PARAM_EMULATOR_INFO].ToRecord<TEmulatorInfo>; gameData.emulatorInfo := emulatorInfo; task.Comm.Send(WM_LOG, obj.Ver); // 发送插件版本信息 // ValueContainer := task.Param[PARAM_ALL].AsArray; // 取得参数容器 // ValueContainer[PARAM_OBJ] := obj; // 保存插件对象 game := gContainer.Resolve<IGame>; // 创建game try task.Comm.Send(WM_LOG, 'start'); task.Comm.Send(WM_LOG, emulatorInfo.title); game.Excute(task, @gameData); finally CoUninitialize; end; end; procedure TGameManger.SortWnd; begin TLd.SortWnd; end; function TGameManger.StartAll(monitor: IOmniTaskControlMonitor): Boolean; var I: integer; arr: TArray<TEmulatorInfo>; count: integer; aContorl: IOmniTaskControl; begin Result := False; if FTaskGroup.Tasks.count > 0 then Exit; Result := True; arr := TLd.List2Ex(); count := Length(arr); for I := 0 to count - 1 do begin // if arr[I].Pid > 0 then // 如果进程存在则创建 // begin // 创建任务 aContorl := CreateTask(Excute, I.ToString).MonitorWith(monitor) .Join(FTaskGroup).WithLock(FLock); // 设置模拟器参数 aContorl.SetParameter(PARAM_EMULATOR_INFO, TOmniValue.FromRecord(arr[I])); aContorl.SetParameter(PARAM_ALL, TOmniValue.CreateNamed([])); // 预留一个供参数传递 // end; end; FTaskGroup.RunAll; end; function TGameManger.StartExistWnds(monitor: IOmniTaskControlMonitor): Boolean; var I: integer; arr: TArray<TEmulatorInfo>; count: integer; aContorl: IOmniTaskControl; begin Result := False; if FTaskGroup.Tasks.count > 0 then Exit; Result := True; arr := TLd.List2Ex(); count := Length(arr); for I := 0 to count - 1 do begin if arr[I].Pid > 0 then // 如果进程存在则创建 begin // 创建任务 aContorl := CreateTask(Excute, I.ToString).MonitorWith(monitor) .Join(FTaskGroup).WithLock(FLock); // 设置模拟器参数 aContorl.SetParameter(PARAM_EMULATOR_INFO, TOmniValue.FromRecord(arr[I])); aContorl.SetParameter(PARAM_ALL, TOmniValue.CreateNamed([])); // 预留一个供参数传递 end; end; FTaskGroup.RunAll; end; function TGameManger.StartExistWndsEx(eventDispatcher: TObject): Boolean; var arr: TArray<TEmulatorInfo>; count: integer; begin Result := False; if Assigned(FLoop) then Exit; Result := True; arr := TLd.List2Ex(); count := Length(arr); FCancellationToken := CreateOmniCancellationToken; FLoop := Parallel.ForEach(0, count - 1); FLoop.TaskConfig(Parallel.TaskConfig.OnMessage(eventDispatcher)); FLoop.NoWait.NumTasks(count); FLoop.CancelWith(FCancellationToken); // 设置取消令牌 FLoop.OnStop( procedure(const task: IOmniTask) begin // task.Comm.Send(WM_STOP); FCancellationToken := nil; FLoop := nil; end); FLoop.Execute( procedure(const task: IOmniTask; const value: integer) begin // task.Param.Add('aa', 'mmmm'); // task.Comm.Send(task.Param.ByName('aa')); if arr[value].Pid <> -1 then // 检测进程是否存在 begin task.Comm.Send(WM_LOG, value); repeat task.Comm.Send(WM_LOG, '线程运行中'); Sleep(1000); until (FCancellationToken.IsSignalled); end; end); end; procedure TGameManger.StopAll; begin if FTaskGroup.Tasks.count = 0 then Exit; FTaskGroup.TerminateAll(); FTaskGroup.Tasks.Clear; end; procedure TGameManger.StopAllEx; begin if Assigned(FLoop) then begin FCancellationToken.Signal; end; end; end.
unit RecursiveParametersQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, Vcl.StdCtrls; type TQueryRecursiveParameters = class(TQueryBase) FDQueryDelete: TFDQuery; FDQueryUpdate: TFDQuery; FDQueryInsert: TFDQuery; FDQueryUpdateOrd: TFDQuery; FDQueryUpdateNegativeOrder: TFDQuery; private { Private declarations } public procedure ExecUpdateSQL(const AOldPosID, ANewPosID, AOldOrder, ANewOrder, AOldIsAttribute, ANewIsAttribute, AOldParamSubParamID, ANewParamSubParamID, ACategoryID: Integer); procedure ExecDeleteSQL(const AParamSubParamID, ACategoryID: Integer); procedure ExecInsertSQL(APosID, AOrder: Integer; const AParamSubParamID, ACategoryID: Integer); procedure ExecUpdateOrdSQL(const AOldPosID, ANewPosID, AOldOrder, ANewOrder, AParamSubParamID, ACategoryID: Integer); { Public declarations } end; implementation {$R *.dfm} procedure TQueryRecursiveParameters.ExecUpdateSQL(const AOldPosID, ANewPosID, AOldOrder, ANewOrder, AOldIsAttribute, ANewIsAttribute, AOldParamSubParamID, ANewParamSubParamID, ACategoryID: Integer); begin // Assert(ANewPosID <> AOldPosID); Assert(ANewParamSubParamID > 0); Assert(ACategoryID > 0); // Копируем запрос FDQuery.SQL.Assign(FDQueryUpdate.SQL); FDQuery.Params.Assign(FDQueryUpdate.Params); // Устанавливаем параметры запроса SetParameters(['OLD_POSID', 'NEW_POSID', 'OLD_ORD', 'NEW_ORD', 'OLD_ISATTRIBUTE', 'NEW_ISATTRIBUTE', 'OLD_PARAMSUBPARAMID', 'NEW_PARAMSUBPARAMID', 'CATEGORYID'], [AOldPosID, ANewPosID, AOldOrder, ANewOrder, AOldIsAttribute, ANewIsAttribute, AOldParamSubParamID, ANewParamSubParamID, ACategoryID]); // Выполняем запрос FDQuery.ExecSQL; end; procedure TQueryRecursiveParameters.ExecDeleteSQL(const AParamSubParamID, ACategoryID: Integer); begin Assert(AParamSubParamID > 0); Assert(ACategoryID > 0); // Копируем запрос FDQuery.SQL.Assign(FDQueryDelete.SQL); FDQuery.Params.Assign(FDQueryDelete.Params); // Устанавливаем параметры запроса SetParameters(['ParamSubParamID', 'CATEGORYID'], [AParamSubParamID, ACategoryID]); // Выполняем запрос FDQuery.ExecSQL; end; procedure TQueryRecursiveParameters.ExecInsertSQL(APosID, AOrder: Integer; const AParamSubParamID, ACategoryID: Integer); begin // Assert(ANewPosID <> AOldPosID); Assert(AParamSubParamID > 0); Assert(ACategoryID > 0); // Копируем запрос FDQuery.SQL.Assign(FDQueryInsert.SQL); FDQuery.Params.Assign(FDQueryInsert.Params); // Устанавливаем параметры запроса SetParameters(['PosID', 'Ord', 'ParamSubParamID', 'CATEGORYID'], [APosID, -AOrder, AParamSubParamID, ACategoryID]); // Выполняем запрос FDQuery.ExecSQL; end; procedure TQueryRecursiveParameters.ExecUpdateOrdSQL(const AOldPosID, ANewPosID, AOldOrder, ANewOrder, AParamSubParamID, ACategoryID: Integer); begin // Assert(ANewPosID <> AOldPosID); Assert(AParamSubParamID > 0); Assert(ACategoryID > 0); // Копируем запрос FDQuery.SQL.Assign(FDQueryUpdateOrd.SQL); FDQuery.Params.Assign(FDQueryUpdateOrd.Params); // Устанавливаем параметры запроса // Сначала порядок меняем на отрицательный, чтобы избежать ограничения уникальности SetParameters(['OLD_POSID', 'NEW_POSID', 'OLD_ORD', 'NEW_ORD', 'PARAMSUBPARAMID', 'CATEGORYID'], [AOldPosID, ANewPosID, AOldOrder, -ANewOrder, AParamSubParamID, ACategoryID]); // Выполняем запрос FDQuery.ExecSQL; // Затем меняем отрицательный порядок на положительный // FDQuery.SQL.Assign(FDQueryUpdateNegativeOrder.SQL); // FDQuery.ExecSQL; end; end.
unit hash; interface uses structs, bool; type THashsignature = record key : int32; lock : int32; end; THashentry = record lock: int32; value:Integer; depth:Integer; valuetype:Integer; best:Integer; end; procedure positiontohashsignature(var p :TPosition; var h: THashsignature); procedure hashstore(var p :TPosition; value, depth, alpha, beta, best: Integer); function hashretrieve(var p :TPosition; depth: Integer; var value: Integer; var alpha: Integer; var beta: Integer; var best: Integer): Integer; procedure hashreset; implementation const HASHTABLESIZE = 1000000; UPPER = 0; LOWER = 1; EXACT = 2; var //h :THashsignature; hashtable : array [0 ..HASHTABLESIZE-1] of THashentry; procedure positiontohashsignature(var p :TPosition; var h: THashsignature); begin // produce a hash signature from the position. h.key := p.bm xor p.bm shr 8 xor p.bm shr 16 xor p.bm shr 24; h.key := h.key xor (p.bk shr 1 xor p.bk shr 9 xor p.bk shr 17 xor p.bk shr 25); h.key := h.key xor (p.wm shr 2 xor p.wm shr 10 xor p.wm shr 18 xor p.wm shr 26); h.key := h.key xor (p.wk shr 3 xor p.wk shr 11 xor p.wk shr 19 xor p.wk shr 27); h.key := h.key xor (p.color shl 10); h.lock := p.bm xor p.bm shl 8 xor p.bm shr 16 xor p.bm shl 24; h.lock := h.lock xor (p.bk shr 1 xor p.bk shl 9 xor p.bk shr 17 xor p.bk shl 25); h.lock := h.lock xor (p.wm shr 2 xor p.wm shl 10 xor p.wm shr 18 xor p.wm shl 26); h.lock := h.lock xor (p.wk shr 3 xor p.wk shl 11 xor p.wk shr 19 xor p.wk shl 27); h.lock := h.lock xor (p.color shl 10); end; procedure hashstore(var p :TPosition; value, depth, alpha, beta, best: Integer); var h: THashsignature; index : Integer; begin // get a hash signature for this position; positiontohashsignature(p, h); // find index in table index := h.key mod HASHTABLESIZE; // save hashtable[index].best := best; hashtable[index].depth := depth; hashtable[index].lock := h.lock; hashtable[index].value := value; if (value <= alpha) then begin hashtable[index].valuetype := UPPER; Exit; end; if (value>= beta) then begin hashtable[index].valuetype := LOWER; Exit; end; hashtable[index].valuetype := EXACT; end; function hashretrieve(var p :TPosition; depth: Integer; var value: Integer; var alpha: Integer; var beta: Integer; var best: Integer): Integer; var h: THashsignature; index : Integer; begin // hashretrieve looks for a position in the hashtable. // if it finds it, it first checks if the entry causes an immediate cutoff. // if it does, hashretrieve returns 1, 0 otherwise. // if it does not cause a cutoff, hashretrieve tries to narrow the alpha-beta window // and sets the index of the best move to that stored in the table for move ordering. // get signature positiontohashsignature(p, h); // get index index := h.key mod HASHTABLESIZE; // check if it's the right position if (hashtable[index].lock <> h.lock) then begin // not right, return 0 Result := 0; Exit; end; // check if depth this time round is higher if (depth>hashtable[index].depth) then begin // we are searching with a higher remaining depth than what is in the hashtable. // all we can do is set the best move for move ordering best := hashtable[index].best; Result := 0; Exit; end; // we have sufficient depth in the hashtable to possibly cause a cutoff. // if we have an exact value, we don't need to search for a new value. if (hashtable[index].valuetype = EXACT) then begin value := hashtable[index].value; Result := 1; Exit; end; // if we have a lower bound, we might either get a cutoff or raise alpha. if (hashtable[index].valuetype = LOWER) then begin // the value stored in the hashtable is a lower bound, so it's useful if (hashtable[index].value >= beta) then begin // value > beta: we can cutoff! value := hashtable[index].value; Result := 1; Exit; end; if (hashtable[index].value > alpha) then // value > alpha: we can adjust bounds alpha := hashtable[index].value; best := hashtable[index].best; Result := 0; Exit; end; // if we have an upper bound, we can either get a cutoff or lower beta. if (hashtable[index].value <= alpha) then begin value := hashtable[index].value; Result := 1; Exit; end; if (hashtable[index].value < beta) then beta := hashtable[index].value; best := hashtable[index].best; Result := 0; end; procedure hashreset; //var // i : Integer; begin FillChar (hashtable, HASHTABLESIZE * SizeOf (THashentry) , 0); // for i := 0 to HASHTABLESIZE - 1 do // begin // hashtable [i].depth := 0; // end; //memset (hashtable,0,HASHTABLESIZE*sizeof(THashsignature)); end; end.
unit SetDBPath; interface procedure SetDatabasePath(configPath : String; newPath : String; databaseName : String; userId, password : String; hostName : String; hostPort : Integer); implementation uses sysUtils, strUtils, edbcomps; procedure SetDatabasePath(configPath : String; newPath : String; databaseName : String; userId, password : String; hostName : String; hostPort : Integer); var db : TEDBDatabase; session : TEDBSession; ds : TEDBQuery; begin engine.ConfigPath := configPath; session := TEDBSession.Create(nil); session.AutoSessionName := true; session.SessionType := stRemote; session.LoginUser := userId; session.LoginPassword := password; if AnsiLeftStr(hostName, 2) = '\\' then session.RemoteHost := AnsiRightStr(hostName, length(hostName) - 2) // '\\hostname' else session.RemoteAddress := hostName; //'127.0.0.1'; session.RemotePort := hostPort; //12010; db := TEDBDatabase.Create(nil); db.SessionName := session.Name; db.Database := 'Configuration'; db.LoginPrompt := true; db.DatabaseName := databaseName + DateTimeToStr(now); ds := TEDBQuery.Create(nil); ds.SessionName := session.SessionName; ds.DatabaseName := db.Database; ds.SQL.Add('Alter database "' + databaseName + '" PATH ''' + newPath + ''''); ds.ExecSQL; FreeAndNil(ds); FreeAndNil(db); end; end.
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose, // including commercial applications, and to alter it and redistribute it // freely, subject to the following restrictions: // 1. The origin of this software must not be misrepresented; you must not // claim that you wrote the original software. If you use this software // in a product, an acknowledgment in the product documentation would be // appreciated but is not required. // 2. Altered source versions must be plainly marked as such, and must not be // misrepresented as being the original software. // 3. This notice may not be removed or altered from any source distribution. // {$POINTERMATH ON} unit RN_RecastLayers; interface uses Math, SysUtils, RN_Helper, RN_Recast; /// @end; /// @name Layer, Contour, Polymesh, and Detail Mesh Functions /// @see rcHeightfieldLayer, rcContourSet, rcPolyMesh, rcPolyMeshDetail /// @begin /// Builds a layer set from the specified compact heightfield. /// @ingroup recast /// @param[in,out] ctx The build context to use during the operation. /// @param[in] chf A fully built compact heightfield. /// @param[in] borderSize The size of the non-navigable border around the heightfield. [Limit: >=0] /// [Units: vx] /// @param[in] walkableHeight Minimum floor to 'ceiling' height that will still allow the floor area /// to be considered walkable. [Limit: >= 3] [Units: vx] /// @param[out] lset The resulting layer set. (Must be pre-allocated.) /// @returns True if the operation completed successfully. function rcBuildHeightfieldLayers(var ctx: TrcContext; chf: TrcCompactHeightfield; const borderSize, walkableHeight: Integer; out lset: TrcHeightfieldLayerSet): Boolean; implementation uses RN_RecastHelper; const RC_MAX_LAYERS = RC_NOT_CONNECTED; const RC_MAX_NEIS = 16; type TrcLayerRegion = record layers: array [0..RC_MAX_LAYERS-1] of Byte; neis: array [0..RC_MAX_NEIS-1] of Byte; ymin, ymax: Word; layerId: Byte; // Layer ID nlayers: Byte; // Layer count nneis: Byte; // Neighbour count base: Byte; // Flag indicating if the region is the base of merged regions. end; PrcLayerRegion = ^TrcLayerRegion; procedure addUnique(a: PByte; an: PByte; v: Byte); var n,i: Integer; begin n := an^; for i := 0 to n - 1 do if (a[i] = v) then Exit; a[an^] := v; Inc(an^); end; function contains(a: PByte; an, v: Byte): Boolean; var n,i: Integer; begin n := an; for i := 0 to n - 1 do if (a[i] = v) then Exit(true); Exit(false); end; function overlapRange(const amin, amax, bmin, bmax: Word): Boolean; begin Result := not ((amin > bmax) or (amax < bmin)); end; /// @par /// /// See the #rcConfig documentation for more information on the configuration parameters. /// /// @see rcAllocHeightfieldLayerSet, rcCompactHeightfield, rcHeightfieldLayerSet, rcConfig function rcBuildHeightfieldLayers(var ctx: TrcContext; chf: TrcCompactHeightfield; const borderSize, walkableHeight: Integer; out lset: TrcHeightfieldLayerSet): Boolean; type TrcLayerSweepSpan = record ns: Word; // number samples id: Byte; // region id nei: Byte; // neighbour id end; const MAX_STACK = 64; var w,h: Integer; srcReg: PByte; nsweeps: Integer; sweeps: array of TrcLayerSweepSpan; prevCount: array [0..255] of Integer; regId: Byte; x,y,i,j,k: Integer; sweepId: Byte; c: PrcCompactCell; s,as1: PrcCompactSpan; sid: Byte; ax,ay,ai: Integer; nr: Byte; nregs: Integer; regs: PrcLayerRegion; lregs: array [0..RC_MAX_LAYERS-1] of Byte; nlregs: Integer; regi,dir,rai: Byte; ri,rj: PrcLayerRegion; layerId: Byte; stack: array [0..MAX_STACK-1] of Byte; nstack: Integer; root: PrcLayerRegion; reg,regn: PrcLayerRegion; nneis: Integer; nei: Byte; ymin,ymax: Integer; mergeHeight: Word; newId,oldId: Byte; overlap: Boolean; remap: array [0..255] of Byte; lw,lh: Integer; bmin, bmax: array [0..2] of Single; curId: Byte; layer: PrcHeightfieldLayer; gridSize: Integer; hmin,hmax: Integer; cx,cy: Integer; lid,alid: Byte; idx: Integer; portal, con: Byte; nx,ny: Integer; begin //rcAssert(ctx); ctx.startTimer(RC_TIMER_BUILD_LAYERS); w := chf.width; h := chf.height; GetMem(srcReg, sizeof(Byte)*chf.spanCount); FillChar(srcReg[0], sizeof(Byte)*chf.spanCount, $ff); nsweeps := chf.width; SetLength(sweeps, nsweeps); // Partition walkable area into monotone regions. regId := 0; for y := borderSize to h-borderSize - 1 do begin FillChar(prevCount[0], SizeOf(Integer)*regId, 0); sweepId := 0; for x := borderSize to w-borderSize - 1 do begin c := @chf.cells[x+y*w]; for i := c.index to Integer(c.index+c.count) - 1 do begin s := @chf.spans[i]; if (chf.areas[i] = RC_NULL_AREA) then continue; sid := $ff; // -x if (rcGetCon(s, 0) <> RC_NOT_CONNECTED) then begin ax := x + rcGetDirOffsetX(0); ay := y + rcGetDirOffsetY(0); ai := chf.cells[ax+ay*w].index + rcGetCon(s, 0); if (chf.areas[ai] <> RC_NULL_AREA) and(srcReg[ai] <> $ff) then sid := srcReg[ai]; end; if (sid = $ff) then begin sid := sweepId; Inc(sweepId); sweeps[sid].nei := $ff; sweeps[sid].ns := 0; end; // -y if (rcGetCon(s,3) <> RC_NOT_CONNECTED) then begin ax := x + rcGetDirOffsetX(3); ay := y + rcGetDirOffsetY(3); ai := chf.cells[ax+ay*w].index + rcGetCon(s, 3); nr := srcReg[ai]; if (nr <> $ff) then begin // Set neighbour when first valid neighbour is encoutered. if (sweeps[sid].ns = 0) then sweeps[sid].nei := nr; if (sweeps[sid].nei = nr) then begin // Update existing neighbour Inc(sweeps[sid].ns); Inc(prevCount[nr]); end else begin // This is hit if there is nore than one neighbour. // Invalidate the neighbour. sweeps[sid].nei := $ff; end; end; end; srcReg[i] := sid; end; end; // Create unique ID. for i := 0 to sweepId - 1 do begin // If the neighbour is set and there is only one continuous connection to it, // the sweep will be merged with the previous one, else new region is created. if (sweeps[i].nei <> $ff) and (prevCount[sweeps[i].nei] = sweeps[i].ns) then begin sweeps[i].id := sweeps[i].nei; end else begin if (regId = 255) then begin ctx.log(RC_LOG_ERROR, 'rcBuildHeightfieldLayers: Region ID overflow.'); Exit(false); end; sweeps[i].id := regId; Inc(regId); end; end; // Remap local sweep ids to region ids. for x := borderSize to w-borderSize - 1 do begin c := @chf.cells[x+y*w]; for i := c.index to Integer(c.index+c.count) - 1 do begin if (srcReg[i] <> $ff) then srcReg[i] := sweeps[srcReg[i]].id; end; end; end; // Allocate and init layer regions. nregs := regId; GetMem(regs, sizeof(TrcLayerRegion)*nregs); FillChar(regs[0], sizeof(TrcLayerRegion)*nregs, 0); for i := 0 to nregs - 1 do begin regs[i].layerId := $ff; regs[i].ymin := $ffff; regs[i].ymax := 0; end; // Find region neighbours and overlapping regions. for y := 0 to h - 1 do begin for x := 0 to w - 1 do begin c := @chf.cells[x+y*w]; nlregs := 0; for i := c.index to Integer(c.index+c.count) - 1 do begin s := @chf.spans[i]; regi := srcReg[i]; if (regi = $ff) then continue; regs[regi].ymin := rcMin(regs[regi].ymin, s.y); regs[regi].ymax := rcMax(regs[regi].ymax, s.y); // Collect all region layers. if (nlregs < RC_MAX_LAYERS) then begin lregs[nlregs] := regi; Inc(nlregs); end; // Update neighbours for dir := 0 to 3 do begin if (rcGetCon(s, dir) <> RC_NOT_CONNECTED) then begin ax := x + rcGetDirOffsetX(dir); ay := y + rcGetDirOffsetY(dir); ai := chf.cells[ax+ay*w].index + rcGetCon(s, dir); rai := srcReg[ai]; if (rai <> $ff) and (rai <> regi) then addUnique(@regs[regi].neis[0], @regs[regi].nneis, rai); end; end; end; // Update overlapping regions. for i := 0 to nlregs-1-1 do begin for j := i+1 to nlregs - 1 do begin if (lregs[i] <> lregs[j]) then begin ri := @regs[lregs[i]]; rj := @regs[lregs[j]]; addUnique(@ri.layers[0], @ri.nlayers, lregs[j]); addUnique(@rj.layers[0], @rj.nlayers, lregs[i]); end; end; end; end; end; // Create 2D layers from regions. layerId := 0; nstack := 0; for i := 0 to nregs - 1 do begin root := @regs[i]; // Skip alreadu visited. if (root.layerId <> $ff) then continue; // Start search. root.layerId := layerId; root.base := 1; nstack := 0; stack[nstack] := i; Inc(nstack); while (nstack > 0) do begin // Pop front reg := @regs[stack[0]]; Dec(nstack); for j := 0 to nstack - 1 do stack[j] := stack[j+1]; nneis := reg.nneis; for j := 0 to nneis - 1 do begin nei := reg.neis[j]; regn := @regs[nei]; // Skip already visited. if (regn.layerId <> $ff) then continue; // Skip if the neighbour is overlapping root region. if (contains(@root.layers[0], root.nlayers, nei)) then continue; // Skip if the height range would become too large. ymin := rcMin(root.ymin, regn.ymin); ymax := rcMax(root.ymax, regn.ymax); if ((ymax - ymin) >= 255) then continue; if (nstack < MAX_STACK) then begin // Deepen stack[nstack] := nei; Inc(nstack); // Mark layer id regn.layerId := layerId; // Merge current layers to root. for k := 0 to regn.nlayers - 1 do addUnique(@root.layers[0], @root.nlayers, regn.layers[k]); root.ymin := rcMin(root.ymin, regn.ymin); root.ymax := rcMax(root.ymax, regn.ymax); end; end; end; Inc(layerId); end; // Merge non-overlapping regions that are close in height. mergeHeight := walkableHeight * 4; for i := 0 to nregs - 1 do begin ri := @regs[i]; if (ri.base = 0) then continue; newId := ri.layerId; while (true) do begin oldId := $ff; for j := 0 to nregs - 1 do begin if (i = j) then continue; rj := @regs[j]; if (rj.base = 0) then continue; // Skip if teh regions are not close to each other. if (not overlapRange(ri.ymin,ri.ymax+mergeHeight, rj.ymin,rj.ymax+mergeHeight)) then continue; // Skip if the height range would become too large. ymin := rcMin(ri.ymin, rj.ymin); ymax := rcMax(ri.ymax, rj.ymax); if ((ymax - ymin) >= 255) then continue; // Make sure that there is no overlap when mergin 'ri' and 'rj'. overlap := false; // Iterate over all regions which have the same layerId as 'rj' for k := 0 to nregs - 1 do begin if (regs[k].layerId <> rj.layerId) then continue; // Check if region 'k' is overlapping region 'ri' // Index to 'regs' is the same as region id. if (contains(@ri.layers[0],ri.nlayers, k)) then begin overlap := true; break; end; end; // Cannot merge of regions overlap. if (overlap) then continue; // Can merge i and j. oldId := rj.layerId; break; end; // Could not find anything to merge with, stop. if (oldId = $ff) then break; // Merge for j := 0 to nregs - 1 do begin rj := @regs[j]; if (rj.layerId = oldId) then begin rj.base := 0; // Remap layerIds. rj.layerId := newId; // Add overlaid layers from 'rj' to 'ri'. for k := 0 to rj.nlayers - 1 do addUnique(@ri.layers[0], @ri.nlayers, rj.layers[k]); // Update heigh bounds. ri.ymin := rcMin(ri.ymin, rj.ymin); ri.ymax := rcMax(ri.ymax, rj.ymax); end; end; end; end; // Compact layerIds FillChar(remap[0], sizeof(Byte)*256, 0); // Find number of unique layers. layerId := 0; for i := 0 to nregs - 1 do remap[regs[i].layerId] := 1; for i := 0 to 255 do begin if (remap[i] <> 0) then begin remap[i] := layerId; Inc(layerId); end else remap[i] := $ff; end; // Remap ids. for i := 0 to nregs - 1 do regs[i].layerId := remap[regs[i].layerId]; // No layers, return empty. if (layerId = 0) then begin ctx.stopTimer(RC_TIMER_BUILD_LAYERS); Exit(true); end; // Create layers. Assert(Length(lset.layers) = 0); lw := w - borderSize*2; lh := h - borderSize*2; // Build contracted bbox for layers. rcVcopy(@bmin[0], @chf.bmin[0]); rcVcopy(@bmax[0], @chf.bmax[0]); bmin[0] := bmin[0] + borderSize*chf.cs; bmin[2] := bmin[2] + borderSize*chf.cs; bmax[0] := bmax[0] - borderSize*chf.cs; bmax[2] := bmax[2] - borderSize*chf.cs; lset.nlayers := layerId; SetLength(lset.layers, lset.nlayers); // Store layers. for i := 0 to lset.nlayers - 1 do begin curId := i; layer := @lset.layers[i]; gridSize := lw*lh; GetMem(layer.heights, sizeof(Byte)*gridSize); FillChar(layer.heights[0], sizeof(Byte)*gridSize, $ff); GetMem(layer.areas, sizeof(Byte)*gridSize); FillChar(layer.areas[0], sizeof(Byte)*gridSize, 0); GetMem(layer.cons, sizeof(Byte)*gridSize); FillChar(layer.cons[0], sizeof(Byte)*gridSize, 0); // Find layer height bounds. hmin := 0; hmax := 0; for j := 0 to nregs - 1 do begin if (regs[j].base <> 0) and (regs[j].layerId = curId) then begin hmin := regs[j].ymin; hmax := regs[j].ymax; end; end; layer.width := lw; layer.height := lh; layer.cs := chf.cs; layer.ch := chf.ch; // Adjust the bbox to fit the heighfield. rcVcopy(@layer.bmin[0], @bmin[0]); rcVcopy(@layer.bmax[0], @bmax[0]); layer.bmin[1] := bmin[1] + hmin*chf.ch; layer.bmax[1] := bmin[1] + hmax*chf.ch; layer.hmin := hmin; layer.hmax := hmax; // Update usable data region. layer.minx := layer.width; layer.maxx := 0; layer.miny := layer.height; layer.maxy := 0; // Copy height and area from compact heighfield. for y := 0 to lh - 1 do begin for x := 0 to lw - 1 do begin cx := borderSize+x; cy := borderSize+y; c := @chf.cells[cx+cy*w]; for j := c.index to Integer(c.index+c.count) - 1 do begin s := @chf.spans[j]; // Skip unassigned regions. if (srcReg[j] = $ff) then continue; // Skip of does nto belong to current layer. lid := regs[srcReg[j]].layerId; if (lid <> curId) then continue; // Update data bounds. layer.minx := rcMin(layer.minx, x); layer.maxx := rcMax(layer.maxx, x); layer.miny := rcMin(layer.miny, y); layer.maxy := rcMax(layer.maxy, y); // Store height and area type. idx := x+y*lw; layer.heights[idx] := (s.y - hmin); layer.areas[idx] := chf.areas[j]; // Check connection. portal := 0; con := 0; for dir := 0 to 3 do begin if (rcGetCon(s, dir) <> RC_NOT_CONNECTED) then begin ax := cx + rcGetDirOffsetX(dir); ay := cy + rcGetDirOffsetY(dir); ai := chf.cells[ax+ay*w].index + rcGetCon(s, dir); if srcReg[ai] <> $ff then alid := regs[srcReg[ai]].layerId else alid := $ff; // Portal mask if (chf.areas[ai] <> RC_NULL_AREA) and (lid <> alid) then begin portal := portal or (1 shl dir); // Update height so that it matches on both sides of the portal. as1 := @chf.spans[ai]; if (as1.y > hmin) then layer.heights[idx] := rcMax(layer.heights[idx], (as1.y - hmin)); end; // Valid connection mask if (chf.areas[ai] <> RC_NULL_AREA) and (lid = alid) then begin nx := ax - borderSize; ny := ay - borderSize; if (nx >= 0) and(ny >= 0) and(nx < lw) and(ny < lh) then con := con or (1 shl dir); end; end; end; layer.cons[idx] := (portal shl 4) or con; end; end; end; // if (layer->minx > layer->maxx) // layer->minx = layer->maxx = 0; // if (layer->miny > layer->maxy) // layer->miny = layer->maxy = 0; if (layer.minx > layer.maxx) then begin layer.minx := 0; layer.maxx := 0; end; if (layer.miny > layer.maxy) then begin layer.miny := 0; layer.maxy := 0; end; end; FreeMem(srcReg); ctx.stopTimer(RC_TIMER_BUILD_LAYERS); Result := true; end; end.
{*********************************************} { TeeGrid Software Library } { VCL TBrush Editor } { Copyright (c) 2016 by Steema Software } { All Rights Reserved } {*********************************************} unit VCLTee.Editor.Brush; interface uses {Winapi.}Windows, {Winapi.}Messages, {System.}SysUtils, {System.}Classes, {Vcl.}Graphics, {$IFDEF FPC} ColorBox, {$ENDIF} {Vcl.}Controls, {Vcl.}Forms, {Vcl.}Dialogs, {Vcl.}StdCtrls, {Vcl.}ExtCtrls, // Must be last unit in uses: Tee.Format, {Vcl.}ComCtrls; type TBrushEditor = class(TForm) PageBrush: TPageControl; Panel1: TPanel; CBVisible: TCheckBox; TabSolid: TTabSheet; TabGradient: TTabSheet; TabPicture: TTabSheet; CBColor: TColorBox; procedure CBVisibleClick(Sender: TObject); procedure CBColorChange(Sender: TObject); procedure PageBrushChange(Sender: TObject); private { Private declarations } IBrush : TBrush; public { Public declarations } procedure RefreshBrush(const ABrush:TBrush); class function Edit(const AOwner:TComponent; const ABrush:TBrush):Boolean; static; class function Embedd(const AOwner:TComponent; const AParent:TWinControl; const ABrush:TBrush):TBrushEditor; static; end; implementation
unit Router4D.Sidebar; {$I Router4D.inc} interface {$IFDEF HAS_FMX} uses Classes, SysUtils, FMX.Types, FMX.ListBox, FMX.SearchBox, FMX.Layouts, Router4D.Interfaces, System.UITypes; type TRouter4DSidebar = class(TInterfacedObject, iRouter4DSidebar) private FName : String; FMainContainer : TFMXObject; FLinkContainer : TFMXObject; FAnimation : TProc<TFMXObject>; FFontSize : Integer; FFontColor : TAlphaColor; FItemHeigth : Integer; public constructor Create; destructor Destroy; override; class function New : iRouter4DSidebar; function Animation ( aAnimation : TProc<TFMXObject> ) : iRouter4DSidebar; function MainContainer ( aValue : TFMXObject ) : iRouter4DSidebar; overload; function MainContainer : TFMXObject; overload; function LinkContainer ( aValue : TFMXObject ) : iRouter4DSidebar; function RenderToListBox : iRouter4DSidebar; function Name ( aValue : String ) : iRouter4DSidebar; overload; function Name : String; overload; function FontSize ( aValue : Integer ) : iRouter4DSidebar; function FontColor ( aValue : TAlphaColor ) : iRouter4DSidebar; function ItemHeigth ( aValue : Integer ) : iRouter4DSidebar; end; implementation uses Router4D, Router4D.History, Router4D.Utils; { TRouter4DSidebar } function TRouter4DSidebar.Animation( aAnimation: TProc<TFMXObject>): iRouter4DSidebar; begin Result := Self; FAnimation := aAnimation; end; function TRouter4DSidebar.LinkContainer(aValue: TFMXObject): iRouter4DSidebar; begin Result := Self; FLinkContainer := aValue; end; function TRouter4DSidebar.MainContainer(aValue: TFMXObject): iRouter4DSidebar; begin Result := Self; FMainContainer := aValue; end; function TRouter4DSidebar.MainContainer: TFMXObject; begin Result := FMainContainer; end; function TRouter4DSidebar.RenderToListBox: iRouter4DSidebar; var aListBox : TListBox; aListBoxItem : TListBoxItem; AListBoxSearch : TSearchBox; aItem : TCachePersistent; begin aListBox := TListBox.Create(FMainContainer); aListBox.Align := TAlignLayout.Client; aListBox.StyleLookup := 'transparentlistboxstyle'; aListBox.BeginUpdate; AListBoxSearch := TSearchBox.Create(aListBox); AListBoxSearch.Height := FItemHeigth - 25; aListBox.ItemHeight := FItemHeigth; aListBox.AddObject(AListBoxSearch); for aItem in Router4DHistory.RoutersListPersistent.Values do begin if AItem.FisVisible and (AItem.FSBKey = FName) then begin aListBoxItem := TListBoxItem.Create(aListBox); aListBoxItem.Parent := aListBox; aListBoxItem.StyledSettings:=[TStyledSetting.Other]; aListBoxItem.TextSettings.Font.Size := FFontSize; aListBoxItem.FontColor := FFontColor; aListBoxItem.Text := aItem.FPatch; aListBox.AddObject(aListBoxItem); end; end; aListBox.EndUpdate; Router4DHistory.AddHistoryConteiner(FName, FLinkContainer); aListBox.OnClick := TNotifyEventWrapper .AnonProc2NotifyEvent( aListBox, procedure(Sender: TObject; Aux : String) begin TRouter4D .Link .Animation( procedure ( aObject : TFMXObject ) begin TLayout(aObject).Opacity := 0; TLayout(aObject).AnimateFloat('Opacity', 1, 0.2); end) .&To( (Sender as TListBox).Items[(Sender as TListBox).ItemIndex], Aux ) end, FName ); FMainContainer.AddObject(aListBox); end; constructor TRouter4DSidebar.Create; begin FName := 'SBIndex'; FLinkContainer := Router4DHistory.MainRouter; end; destructor TRouter4DSidebar.Destroy; begin inherited; end; function TRouter4DSidebar.FontColor(aValue: TAlphaColor): iRouter4DSidebar; begin Result := Self; FFontColor := aValue; end; function TRouter4DSidebar.FontSize(aValue: Integer): iRouter4DSidebar; begin Result := Self; FFontSize := aValue; end; function TRouter4DSidebar.ItemHeigth(aValue: Integer): iRouter4DSidebar; begin Result := Self; FItemHeigth := aValue; end; function TRouter4DSidebar.Name(aValue: String): iRouter4DSidebar; begin Result := Self; FName := aValue; end; function TRouter4DSidebar.Name: String; begin Result := FName; end; class function TRouter4DSidebar.New: iRouter4DSidebar; begin Result := Self.Create; end; {$ELSE} implementation {$ENDIF} end.
unit Dicts; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ForestTypes; type TfrmDicts = class(TForm) cmbDicts: TComboBox; memValues: TMemo; lblDictionary: TLabel; lblValidValues: TLabel; btnClear: TButton; btnFillFromDB: TButton; btnOk: TButton; btnApply: TButton; btnCancel: TButton; edtShowFormat: TEdit; lblShowFormat: TLabel; btnFormatHelp: TButton; procedure FormCreate(Sender: TObject); procedure cmbDictsSelect(Sender: TObject); procedure btnApplyClick(Sender: TObject); procedure btnOkClick(Sender: TObject); procedure btnClearClick(Sender: TObject); procedure btnFillFromDBClick(Sender: TObject); procedure btnFormatHelpClick(Sender: TObject); private { Private declarations } FWordsArr: TDictArr; procedure Apply; public { Public declarations } function GetFileForDict(const DictCaption: AnsiString): AnsiString; end; var frmDicts: TfrmDicts; implementation uses ForestConsts, Data, Validator; {$R *.dfm} //--------------------------------------------------------------------------- { TfrmDicts } procedure TfrmDicts.Apply; begin dmData.Validator.GetDictionary(cmbDicts.Text).DictionaryArr := FWordsArr; dmData.Validator.GetDictionary(cmbDicts.Text).DictionaryFormatString := edtShowFormat.Text; end; //--------------------------------------------------------------------------- procedure TfrmDicts.btnApplyClick(Sender: TObject); begin Apply(); end; //--------------------------------------------------------------------------- procedure TfrmDicts.btnClearClick(Sender: TObject); begin memValues.Clear(); end; //--------------------------------------------------------------------------- procedure TfrmDicts.btnFillFromDBClick(Sender: TObject); var I: Integer; begin memValues.Lines.Clear(); FWordsArr := dmData.GetValuesFromTable( dmData.Validator.GetDictionary(cmbDicts.Text).Caption); for I := 0 to Length(FWordsArr) - 1 do memValues.Lines.Add(FWordsArr[I].WordValue); memValues.SelStart := 0; memValues.SelLength := 0; end; //--------------------------------------------------------------------------- procedure TfrmDicts.btnFormatHelpClick(Sender: TObject); begin ShowMessage(S_FORMAT_HELP); end; //--------------------------------------------------------------------------- procedure TfrmDicts.btnOkClick(Sender: TObject); begin Apply(); end; //--------------------------------------------------------------------------- procedure TfrmDicts.cmbDictsSelect(Sender: TObject); var I: Integer; begin memValues.Lines.Clear(); FWordsArr := dmData.Validator.GetDictionary(cmbDicts.Text).DictionaryArr; for I := 0 to Length(FWordsArr) - 1 do memValues.Lines.Add(FWordsArr[I].WordValue); memValues.SelStart := 0; memValues.SelLength := 0; edtShowFormat.Text := dmData.Validator.GetDictionary(cmbDicts.Text).DictionaryFormatString; end; //--------------------------------------------------------------------------- procedure TfrmDicts.FormCreate(Sender: TObject); begin cmbDicts.Clear(); // Yes, this! Because i can modify caption later cmbDicts.Items.Add(dmData.Validator.GetDictionary(S_DICT_FORESTRIES_NAME).Caption); cmbDicts.Items.Add(dmData.Validator.GetDictionary(S_DICT_LOCAL_FORESTRIES_NAME).Caption); cmbDicts.Items.Add(dmData.Validator.GetDictionary(S_DICT_LANDUSE_NAME).Caption); cmbDicts.Items.Add(dmData.Validator.GetDictionary(S_DICT_PROTECT_CATEGORY_NAME).Caption); cmbDicts.Items.Add(dmData.Validator.GetDictionary(S_DICT_SPECIES_NAME).Caption); cmbDicts.Items.Add(dmData.Validator.GetDictionary(S_DICT_DAMAGE_NAME).Caption); cmbDicts.Items.Add(dmData.Validator.GetDictionary(S_DICT_PEST_NAME).Caption); cmbDicts.ItemIndex := 0; cmbDictsSelect(Sender); end; //--------------------------------------------------------------------------- function TfrmDicts.GetFileForDict(const DictCaption: AnsiString): AnsiString; begin Result := dmData.Validator.GetDictionary(DictCaption).DictionaryFile; end; end.
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1997,98 Inprise Corporation } { } {*******************************************************} unit MidConst; interface resourcestring { DBClient } SNoDataProvider = 'Missing data provider or data packet'; SInvalidDataPacket = 'Invalid data packet'; SRefreshError = 'Must apply updates before refreshing data'; SProviderInvalid = 'Invalid provider. Provider was freed by the application server'; SServerNameBlank = 'Cannot connect, %s must contain a valid ServerName or ServerGUID'; SRepositoryIdBlank = 'Cannot connect, %s must contain a valid repository id'; SAggsGroupingLevel = 'Grouping level exceeds current index field count'; SAggsNoSuchLevel = 'Grouping level not defined'; SNoCircularReference = 'Circular provider references not allowed'; { MConnect } SSocketReadError = 'Error reading from socket'; SInvalidProviderName = 'Provider name "%s" was not recognized by the server'; SBadVariantType = 'Unsupported variant type: %s'; SInvalidAction = 'Invalid action received: %d'; { Resolver } SInvalidResponse = 'Invalid response'; SRecordChanged = 'Record changed by another user'; SRecordNotFound = 'Record not found'; STooManyRecordsModified = 'Update affected more than 1 record.'; { Provider } SInvalidOptParamType = 'Value cannot be stored in an optional parameter'; SMissingDataSet = 'Missing DataSet property'; SConstraintFailed = 'Record or field constraint failed.'; SField = 'Field'; SReadOnlyProvider = 'Cannot apply updates to a ReadOnly provider'; SNoKeySpecified = 'Unable to find record. No key specified'; SFieldNameTooLong = 'Field name cannot be longer then %d characters. Try ' + 'setting ObjectView to True on the dataset'; SNoDataSets = 'Cannot resolve to dataset when using nested datasets or references'; SRecConstFail = 'Preparation of record constraint failed with error "%s"'; SFieldConstFail = 'Preparation of field constraint failed with error "%s"'; SDefExprFail = 'Preparation of default expression failed with error "%s"'; SArrayElementError = 'Array elements of type %s are not supported'; { ObjectBroker } SNoServers = 'No server available'; { Socket Connection } SReturnError = 'Expected return value not received'; implementation end.
unit uCompactar; interface uses Windows, Dialogs, SysUtils, Classes; Type TCompactarWinrar = class private FPathInstalacao: String; FDestino: String; FOriginal: TStringList; procedure SetDestino(const Value: String); procedure SetOriginal(const Value: TStringList); procedure SetPathInstalacao(const Value: String); { private declarations } protected { protected declarations } public { public declarations } property PathInstalacao : String read FPathInstalacao write SetPathInstalacao; property Original : TStringList read FOriginal write SetOriginal; property Destino : String read FDestino write SetDestino; procedure Compactar; constructor Create; published { published declarations } end; implementation { TCompactarWinrar } procedure TCompactarWinrar.Compactar; Var cmd, Arquivos : String; I: Integer; begin for I := 0 to Original.Count - 1 do begin Arquivos := Arquivos + '"' + Original.Strings[I] + '" ' ; end; Cmd := PathInstalacao + ' a "' + Destino + '"' + ' ' + Arquivos; WinExec( PAnsiChar(AnsiString(Cmd)), SW_HIDE); Showmessage('Arquivo Compactado com sucesso !!!'); end; constructor TCompactarWinrar.Create; begin Original := TStringList.Create; end; procedure TCompactarWinrar.SetDestino(const Value: String); begin if DirectoryExists(ExtractFileDir(Value)) then FDestino := Value else raise Exception.Create('Arquivo de Destino não existe ' + #13+ 'Arquivo : ' + Value ); end; procedure TCompactarWinrar.SetOriginal(const Value: TStringList); begin FOriginal := Value; end; procedure TCompactarWinrar.SetPathInstalacao(const Value: String); begin FPathInstalacao := Value; end; end.
{$i deltics.inc} unit Test.InterfaceCasts; interface uses Deltics.Smoketest; type TInterfaceCastTests = class(TTest) procedure ReturnsFALSEWhenInvalidImplementationClassRequested; procedure ReturnsFALSEWhenInvalidInterfaceRequested; procedure ReturnsValidImplementationClassWhenRequested; procedure ReturnsValidInterfaceWhenRequested; end; implementation uses Deltics.InterfacedObjects; type IFoo = interface ['{4214B99C-CF8B-4311-833A-81C902E0A0C2}'] end; { InterfaceCasts } procedure TInterfaceCastTests.ReturnsFALSEWhenInvalidImplementationClassRequested; var io: IUnknown; ref: TObject; returns: Boolean; begin io := TComInterfacedObject.Create; returns := InterfaceCast(io, TTest, ref); Test('InterfaceCast returns').Assert(returns).IsFalse; Test('InterfaceCast').Assert(ref).IsNIL; end; procedure TInterfaceCastTests.ReturnsFALSEWhenInvalidInterfaceRequested; var io: IUnknown; ref: TObject; returns: Boolean; begin io := TComInterfacedObject.Create; returns := InterfaceCast(io, IFoo, ref); Test('InterfaceCast returns').Assert(returns).IsFalse; Test('InterfaceCast').Assert(ref).IsNIL; end; procedure TInterfaceCastTests.ReturnsValidImplementationClassWhenRequested; var io: IUnknown; ref: TObject; returns: Boolean; begin io := TComInterfacedObject.Create; returns := InterfaceCast(io, TComInterfacedObject, ref); Test('InterfaceCast returns').Assert(returns).IsTrue; Test('InterfaceCast').Assert(ref.ClassType = TComInterfacedObject); end; procedure TInterfaceCastTests.ReturnsValidInterfaceWhenRequested; var io: IUnknown; ref: IInterfacedObject; returns: Boolean; begin io := TComInterfacedObject.Create; returns := InterfaceCast(io, IInterfacedObject, ref); Test('InterfaceCast returns').Assert(returns).IsTrue; Test('InterfaceCast').Assert(ref).IsAssigned; end; end.
{*********************************************} { TeeBI Software Library } { JSON data import } { Copyright (c) 2015-2017 by Steema Software } { All Rights Reserved } {*********************************************} unit BI.JSON; interface uses System.Classes, BI.Arrays, BI.DataItem, BI.DataSource, BI.Persist; type EBIJSON=class(EBIException); TJSONEngine=class abstract protected procedure ArrayChild(const Index:Integer); virtual; abstract; function AsBoolean:Boolean; virtual; abstract; function AsDouble:Double; virtual; abstract; function AsString:String; virtual; abstract; function EnterArray:Integer; virtual; abstract; function EnterObject:Integer; virtual; abstract; function IsArray:Boolean; virtual; abstract; function IsBoolean:Boolean; virtual; abstract; function IsNull:Boolean; virtual; abstract; function IsNumber:Boolean; virtual; abstract; function IsObject:Boolean; virtual; abstract; function IsString:Boolean; virtual; abstract; function ObjectChild(const Index:Integer):String; virtual; abstract; procedure Parse(const Text:String); virtual; abstract; procedure Pop; virtual; abstract; end; TJSONEngineClass=class of TJSONEngine; TBIJSONFormat=(&Normal, &Array); TBIJSON=class(TBIHierarchicalSource) private JSON : TJSONEngine; procedure AppendArray(const AIndex:TInteger; const AData:TDataItem); procedure AppendTo(const AData:TDataItem); procedure CheckEngine; procedure DoAppend(const Index:TInteger; const Data:TDataItem); public class var EngineClass : TJSONEngineClass; Format : TBIJSONFormat; Constructor Create(const Definition:TDataDefinition=nil; const MultiThread:Boolean=False); override; Constructor CreateEngine(const AEngine:TJSONEngine); Destructor Destroy; override; class function FileFilter:TFileFilters; override; class function FromFile(const AFileName:String; const AFormat:TBIJSONFormat):TDataItem; overload; function Import(const Folder:String; Recursive:Boolean=False):TDataArray; overload; function Import(const Strings:TStrings):TDataArray; overload; override; function ImportFile(const FileName:String):TDataArray; override; function ImportText(const Text:String): TDataItem; class function Supports(const Extension:String):Boolean; override; end; TBIJSONExport=class(TBITextExport) private const Tab=#9; var IsFirst : Boolean; IItems : TStrings; procedure EmitDetail(const Data:TDataItem; const AIndex:TCursorIndex; const AItems:TStrings; const Indent:String); procedure EmitRow(const AIndex:TInteger; const Items:TDataArray; const AItems:TStrings; const Indent:String); procedure EmitRows(const AIndex:TInteger); function Escape(const S:String):String; protected procedure DoEmit(const AItems: TStrings); override; public Header : Boolean; class function AsString(const AData: TDataItem; const Header:Boolean): String; overload; static; class function FileFilter: TFileFilters; override; class function Supports(const Extension:String):Boolean; override; end; implementation
unit UnMoedas; {Verificado -.edit; } interface uses Db, DBTables, classes, sysUtils, painelGradiente, sqlexpr, tabela; // calculos type TCalculosMoedas = class private calcula : TSQLQuery; public constructor criar( aowner : TComponent; VpaBaseDados : TSQLConnection ); virtual; destructor destroy; override; Function UnidadeMonetaria( CodigoMoeda : Integer ): string; end; // localizacao Type TLocalizaMoedas = class(TCalculosMoedas) public function LocalizaIndice( var unidadeMonetaria : string; CodigoMoeda : Integer; data : TDateTime ) : Double; end; // funcoes type TFuncoesMoedas = class(TLocalizaMoedas) private Tabela : TSQLQuery; DataBase : TSqlConnection; public constructor criar( aowner : TComponent; VpaBaseDados : TSQLConnection ); override; destructor Destroy; override; function ConverteValorParaMoedaBase( var VpaunidadeMonetaria : string; VpaCodMoeda : Integer; VpaData : TDateTime; VpaValAConverte : Double ) : Double; function ConverteValor(var VpaUnidadeMonetaria : string; VpaMoedaAtual, VpaNovaMoeda : Integer; VpaValor : double ) : Double; end; implementation uses constMsg, constantes, funSql, funstring, fundata; {############################################################################# TCalculo Moedas ############################################################################# } { ****************** Na criação da classe ******************************** } constructor TCalculosMoedas.criar( aowner : TComponent; VpaBaseDados : TSQLConnection ); begin inherited; calcula := TSQLQuery.Create(aowner); calcula.SqlConnection := VpaBaseDados; end; { ******************* Quando destroy a classe ****************************** } destructor TCalculosMoedas.destroy; begin calcula.Destroy; inherited; end; {****************** retorna a unidade Monetaria da moeda ******************* } Function TCalculosMoedas.UnidadeMonetaria( CodigoMoeda : Integer ): string; begin AdicionaSQLAbreTabela(calcula, 'Select * from cadMoedas where i_cod_moe = ' + IntTostr(CodigoMoeda)); result := calcula.fieldByName('C_CIF_MOE').AsString; FechaTabela(calcula); end; {############################################################################# TLocaliza Moedas ############################################################################# } { ********** localiza indice para a moeda ******************************** } function TLocalizaMoedas.LocalizaIndice( var unidadeMonetaria : string; CodigoMoeda : Integer; data : TDateTime ) : Double; begin Result := 1; if varia.MoedaBase <> CodigoMoeda then begin AdicionaSQLAbreTabela(calcula, 'select * from MovMoedas as MM key join CadMoedas as CM ' + ' where MM.i_cod_moe = ' + IntToStr(CodigoMoeda) + 'and MM.D_DAT_ATU = ''' + DataToStrFormato(AAAAMMDD,Montadata(1,mes(date), ano(date)),'/') + ''''); unidadeMonetaria := calcula.fieldByName('C_CIF_MOE').asString; result := calcula.fieldByName('N_VLR_D' + AdicionaCharE('0',IntToStr(Dia(data)),2)).AsFloat; end else unidadeMonetaria := CurrencyString; end; {############################################################################# TFuncoes Moedas ############################################################################# } { ****************** Na criação da classe ******************************** } constructor TFuncoesMoedas.criar( aowner : TComponent; VpaBaseDados : TSQLConnection ); begin inherited; DataBase := VpaBaseDados; Tabela := TSQLQuery.Create(aowner); Tabela.SQLConnection := vpabaseDados; end; { ******************* Quando destroy a classe ****************************** } destructor TFuncoesMoedas.Destroy; begin FechaTabela(tabela); Tabela.Destroy; inherited; end; function TFuncoesMoedas.ConverteValorParaMoedaBase( var VpaUnidadeMonetaria : string; VpaCodMoeda : Integer; VpaData : TDateTime; VpaValAConverte : Double ) : Double; begin Result := VpaValAConverte; if varia.MoedaBase <> VpaCodMoeda then begin AdicionaSQLAbreTabela(calcula, 'select * from MovMoedas MM, CadMoedas CM ' + ' where CM.I_COD_MOE = MM.I_COD_MOE '+ ' AND MM.I_COD_MOE = ' + IntToStr(VpaCodMoeda) + 'and MM.D_DAT_ATU = ' +SQLTextoDataAAAAMMMDD(Montadata(1,mes(date), ano(date)))); VpaunidadeMonetaria := calcula.fieldByName('C_CIF_MOE').asString; result := VpaValAConverte * (calcula.fieldByName('N_VLR_D' + AdicionaCharE('0',IntToStr(Dia(VpaData)),2)).AsFloat); end else VpaunidadeMonetaria := CurrencyString; end; {***************** converte um valor de uma moeda para outro **************** } function TFuncoesMoedas.ConverteValor(var VpaUnidadeMonetaria : string; VpaMoedaAtual, VpaNovaMoeda : Integer; VpaValor : double ) : Double; var VpfIndiceNovaMoeda, VpfIndiceMoedaAtual : double; VpfvalorVen : double; VpfCifraoNovaTabela : string; begin result := Vpavalor; if VpaMoedaAtual <> VpaNovaMoeda then begin AdicionaSQLAbreTabela(calcula, 'Select N_VLR_DIA, C_CIF_MOE from CADMOEDAS where I_COD_MOE = ' + IntTostr(VpaNovaMoeda)); VpfIndiceNovaMoeda := calcula.fieldByName('N_VLR_DIA').AsFloat; VpfCifraoNovaTabela := calcula.fieldByName('C_CIF_MOE').AsString; calcula.close; AdicionaSQLAbreTabela(calcula, 'Select N_VLR_DIA from CADMOEDAS where I_COD_MOE = ' + IntTostr(VpaMoedaAtual)); VpfIndiceMoedaAtual := calcula.fieldByName('N_VLR_DIA').AsFloat; calcula.Close; VpfvalorVen := VpaValor; if VpamoedaAtual = Varia.MoedaBase then VpfvalorVen := VpfValorVen / VpfIndiceNovaMoeda else begin VpfValorVen := VpfValorVen * VpfIndiceMoedaAtual; VpfValorVen := VpfValorVen / VpfIndiceNovaMoeda; end; VpaUnidadeMonetaria := VpfCifraoNovaTabela; result := VpfValorVen; end; end; end.
unit HHReadWriter; interface uses Windows; const ERR_FILE_SUCCESS = 0; ERR_FILE_INVALID_PARAMETER = -1; ERR_FILE_INVALID_FILE = -2; ERR_FILE_OPEN_FAIL = -3; ERR_FILE_INVALID = -4; ERR_FILE_NO_OPEN = -5; ERR_FILE_NO_FRAME = -6; ERR_FILE_OPER_FAIL = -7; ERR_FILE_START = -8; ERR_FILE_OVER = -9; ERR_FILE_END = -10; ERR_STREAM_NOINI = -11; type PPBYTE = ^PBYTE; eHHFrameType = ( eType_Frame_A = $0d, eType_Frame_I = $0e, eType_Frame_P = $0b ); THHFileFrameInfo = record cFrameType : char; dwPlayTime : DWORD; dwFrameSize: DWORD; dwAVEncType : DWORD; pFrameBuffer : PBYTE; m_PlayStatus : integer; end; { memset(this,0,sizeof(_tagHHFileFrameInfo)); } THHFileInfo = record dwFrameSize: DWORD; dwPlayTime : DWORD; dwReserve : array[0..1] of DWORD; end; { memset(this,0,sizeof(_tagHHFileInfo)); } eWriteFileStatus = ( eStatus_CreateFileSuccess = 1, eStatus_CloseFileSuccess = 2, eStatus_CreateFileError = -1, eStatus_WriteFileError = -2 ); HHWriteFileCB = function (FileName : LPCTSTR; dwStatus : DWORD; var pFileInfo : THHFILEINFO; pContext : Pointer) : Integer; stdcall; function HHFile_InitReader : THandle; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_ReleaseReader(hReader : THandle) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_OpenFile(hReader : THandle; filelist : PLPSTR; filenum : Integer; var nTimeLength : DWORD) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_CloseFile(hReader : THandle) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_GetFileInfo(hReader : THandle; var dwTimeLength, dwFileLength :DWORD) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_GetFilePal(hReader : THandle; var pdwPal : DWORD) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_GetNextFrame(hReader : THandle; var xFileFrameInfo : THHFILEFRAMEINFO) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_GetNextFrame2(hReader : THandle; var cFrameType : char; ppFrameBuffer : PPBYTE; var dwFrameSize, dwEncType, dwPlayTime : DWORD) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_GetPosition(hReader : THandle; var dwPlayedTime : DWORD) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_SetPosition(hReader : THandle; fOffset : Single) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_SeekToSecond(hReader : THandle; nSec : integer) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_SetLoop(hReader : THandle; bIsLoop : BOOL = True) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_SetReadOrder(hReader : THandle; bIsOrder : BOOL = True) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_SetReadKeyFrame(hReader : THandle; bIsKeyFrame : BOOL = False) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_InitWriter : THandle; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_ReleaseWriter(hWriter : THandle) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_SetCacheBufferSize(hWriter : THandle; lBufferSize : LongWord = 500 * 1024) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_RegWriteFileCB(hWriter : THandle; pCBWriteFile : HHWriteFileCB; pContext : Pointer = nil) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_InputFrame(hWriter : THandle; pFrame : PByte; lFrameSize : LongWord; dwEncType : DWORD = 0) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_StartWrite(hWriter : THandle; FileName : LPCTSTR) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_GetWriteInfo(hWriter : THandle; var xFileInfo : THHFILEINFO) : integer; stdcall; external 'HHReadWriterSDK.dll'; function HHFile_StopWrite(hWriter : THandle) : integer; stdcall; external 'HHReadWriterSDK.dll'; implementation end.
program even; var i: integer; begin Writeln('The even numbers from 1 to 100 are : '); For i:=1 to 100 do If (i mod 2 = 0) then Writeln(i) end.
{ (C) 2014 ti_dic@hotmail.com License: modified LGPL with linking exception (like RTL, FCL and LCL) See the file COPYING.modifiedLGPL.txt, included in the Lazarus distribution, for details about the license. See also: https://wiki.lazarus.freepascal.org/FPC_modified_LGPL } unit mvMapProvider; {$mode objfpc}{$H+} interface uses Classes, SysUtils, laz2_xmlwrite, laz2_dom; type { TTileId } TTileId = record X, Y: int64; Z: integer; end; TGetSvrStr = function (id: integer): string; TGetValStr = function (const Tile: TTileId): String; TMapProvider = class; {TBaseTile} TBaseTile= class FID:integer; FMapProvider:TMapProvider; Public constructor Create(aProvider:TMapProvider); destructor Destroy; override; Property ID:integer read FID; end; { TMapProvider } TMapProvider = class private FLayer: integer; idServer: Array of Integer; FName: String; FUrl: Array of string; FNbSvr: Array of integer; FGetSvrStr: Array of TGetSvrStr; FGetXStr: Array of TGetValStr; FGetYStr: Array of TGetValStr; FGetZStr: Array of TGetValStr; FMinZoom: Array of integer; FMaxZoom: Array of integer; FTiles:array of TBaseTile; FTileHandling: TRTLCriticalSection; function GetLayerCount: integer; procedure SetLayer(AValue: integer); public constructor Create(AName: String); destructor Destroy; override; function AppendTile(aTile: TBaseTile): integer; procedure RemoveTile(aTile: TBaseTile); procedure AddURL(Url: String; NbSvr, aMinZoom, aMaxZoom: integer; GetSvrStr: TGetSvrStr; GetXStr: TGetValStr; GetYStr: TGetValStr; GetZStr: TGetValStr); procedure GetZoomInfos(out AZoomMin, AZoomMax: integer); function GetUrlForTile(id: TTileId): String; procedure ToXML(ADoc: TXMLDocument; AParentNode: TDOMNode); property Name: String read FName; property LayerCount: integer read GetLayerCount; property Layer: integer read FLayer write SetLayer; end; function GetLetterSvr(id: integer): String; function GetYahooSvr(id: integer): String; function GetYahooY(const Tile: TTileId): string; function GetYahooZ(const Tile: TTileId): string; function GetQuadKey(const Tile: TTileId): string; implementation function GetLetterSvr(id: integer): String; begin Result := Char(Ord('a') + id); end; function GetQuadKey(const Tile: TTileId): string; var i, d, m: Longword; begin { Bing Maps Tile System http://msdn.microsoft.com/en-us/library/bb259689.aspx } Result := ''; for i := Tile.Z downto 1 do begin d := 0; m := 1 shl (i - 1); if (Tile.x and m) <> 0 then Inc(d, 1); if (Tile.y and m) <> 0 then Inc(d, 2); Result := Result + IntToStr(d); end; end; function GetYahooSvr(id: integer): String; Begin Result := IntToStr(id + 1); end; function GetYahooY(const Tile : TTileId): string; begin Result := IntToStr( -(Tile.Y - (1 shl Tile.Z) div 2) - 1); end; function GetYahooZ(const Tile : TTileId): string; Begin result := IntToStr(Tile.Z + 1); end; { TBaseTile } constructor TBaseTile.Create(aProvider: TMapProvider); begin FMapProvider := aProvider; if assigned(aProvider) then FID:=aProvider.AppendTile(self); end; destructor TBaseTile.Destroy; begin If assigned(FMapProvider) then FMapProvider.RemoveTile(self); FMapProvider:=nil; inherited Destroy; end; { TMapProvider } function TMapProvider.GetLayerCount: integer; begin Result:=length(FUrl); end; procedure TMapProvider.SetLayer(AValue: integer); begin if FLayer = AValue then Exit; if (aValue < Low(FUrl)) and (aValue > High(FUrl)) then Begin Raise Exception.Create('bad Layer'); end; FLayer:=AValue; end; constructor TMapProvider.Create(AName: String); begin FName := aName; InitCriticalSection(FTileHandling); end; destructor TMapProvider.Destroy; var i: Integer; begin Finalize(idServer); Finalize(FName); Finalize(FUrl); Finalize(FNbSvr); Finalize(FGetSvrStr); Finalize(FGetXStr); Finalize(FGetYStr); Finalize(FGetZStr); Finalize(FMinZoom); Finalize(FMaxZoom); EnterCriticalSection(FTileHandling); for i := high(FTiles) downto 1 do try freeandnil(FTiles[i]); except FTiles[i]:=nil; end; LeaveCriticalsection(FTileHandling); DoneCriticalsection(FTileHandling); inherited; end; function TMapProvider.AppendTile(aTile: TBaseTile): integer; var lNewID: Integer; begin EnterCriticalSection(FTileHandling); lNewID :=high(FTiles)+1; setlength(FTiles,lNewID+1); FTiles[lNewID]:=aTile; LeaveCriticalsection(FTileHandling); result := lNewID; end; procedure TMapProvider.RemoveTile(aTile: TBaseTile); var lID, lMaxTile: Integer; begin if (atile.ID <= high(FTiles)) and (atile.ID>0) and (FTiles[aTile.ID]=aTile) then begin EnterCriticalSection(FTileHandling); lID := aTile.ID; lMaxTile :=High(FTiles); aTile.FID := -1; FTiles[lID] := FTiles[lMaxTile]; FTiles[lID].FID := lID; setlength(FTiles,lMaxTile); LeaveCriticalsection(FTileHandling); end; end; procedure TMapProvider.AddURL(Url: String; NbSvr, aMinZoom, aMaxZoom: integer; GetSvrStr: TGetSvrStr; GetXStr: TGetValStr; GetYStr: TGetValStr; GetZStr: TGetValStr); var nb: integer; begin nb := Length(FUrl)+1; SetLength(IdServer, nb); SetLength(FUrl, nb); SetLength(FNbSvr, nb); SetLength(FGetSvrStr, nb); SetLength(FGetXStr, nb); SetLength(FGetYStr, nb); SetLength(FGetZStr, nb); SetLength(FMinZoom, nb); SetLength(FMaxZoom, nb); nb := High(FUrl); FUrl[nb] := Url; FNbSvr[nb] := NbSvr; FMinZoom[nb] := aMinZoom; FMaxZoom[nb] := aMaxZoom; FGetSvrStr[nb] := GetSvrStr; FGetXStr[nb] := GetXStr; FGetYStr[nb] := GetYStr; FGetZStr[nb] := GetZStr; FLayer := Low(FUrl); end; procedure TMapProvider.GetZoomInfos(out AZoomMin, AZoomMax: integer); begin AZoomMin := FMinZoom[layer]; AZoomMax := FMaxZoom[layer]; end; function TMapProvider.GetUrlForTile(id: TTileId): String; var i: integer; XVal, yVal, zVal, SvrVal: String; idsvr: integer; begin Result := ''; i := layer; if (i > High(idServer)) or (i < Low(idServer)) or (FNbSvr[i] = 0) then exit; idsvr := idServer[i] mod FNbSvr[i]; idServer[i] += 1; SvrVal := IntToStr(idsvr); XVal := IntToStr(id.X); YVal := IntToStr(id.Y); ZVal := IntToStr(id.Z); if Assigned(FGetSvrStr[i]) then SvrVal := FGetSvrStr[i](idsvr); if Assigned(FGetXStr[i]) then XVal := FGetXStr[i](id); if Assigned(FGetYStr[i]) then YVal := FGetYStr[i](id); if Assigned(FGetZStr[i]) then ZVal := FGetZStr[i](id); Result := StringReplace(FUrl[i], '%serv%', SvrVal, [rfreplaceall]); Result := StringReplace(Result, '%x%', XVal, [rfreplaceall]); Result := StringReplace(Result, '%y%', YVal, [rfreplaceall]); Result := StringReplace(Result, '%z%', ZVal, [rfreplaceall]); end; procedure TMapProvider.ToXML(ADoc: TXMLDocument; AParentNode: TDOMNode); var i: Integer; node: TDOMElement; layerNode: TDOMElement; s: String; begin node := ADoc.CreateElement('map_provider'); node.SetAttribute('name', FName); AParentNode.AppendChild(node); for i:=0 to LayerCount-1 do begin layerNode := ADoc.CreateElement('layer'); node.AppendChild(layernode); layerNode.SetAttribute('url', FUrl[i]); layerNode.SetAttribute('minZoom', IntToStr(FMinZoom[i])); layerNode.SetAttribute('maxZoom', IntToStr(FMaxZoom[i])); layerNode.SetAttribute('serverCount', IntToStr(FNbSvr[i])); if FGetSvrStr[i] = @getLetterSvr then s := 'Letter' else if FGetSvrStr[i] = @GetYahooSvr then s := 'Yahoo' else if FGetSvrstr[i] <> nil then s := 'unknown' else s := ''; if s <> '' then layerNode.SetAttribute('serverProc', s); if FGetXStr[i] = @GetQuadKey then s := 'QuadKey' else if FGetXStr[i] <> nil then s := '(unknown)' else s := ''; if s <> '' then layerNode.SetAttribute('xProc', s); if FGetYStr[i] = @GetQuadKey then s := 'QuadKey' else if FGetYStr[i] = @GetYahooY then s := 'YahooY' else if FGetYStr[i] <> nil then s := '(unknown)' else s := ''; if s <> '' then layerNode.SetAttribute('yProc', s); if FGetZStr[i] = @GetQuadKey then s := 'QuadKey' else if FGetZStr[i] = @GetYahooZ then s := 'YahooZ' else if FGetZStr[i] <> nil then s := '(unknown)' else s := ''; if s <> '' then layerNode.SetAttribute('zProc', s); end; end; end.