FastReport_FMX_2.8.12/Source/FMX.frxBarcodeRTTI.pas

58 lines
1.5 KiB
ObjectPascal
Raw Permalink Normal View History

2024-01-10 21:50:38 +01:00
{******************************************}
{ }
{ FastReport v4.0 }
{ Barcode RTTI }
{ }
{ Copyright (c) 1998-2008 }
{ by Alexander Tzyganenko, }
{ Fast Reports Inc. }
{ }
{******************************************}
unit FMX.frxBarcodeRTTI;
interface
{$I frx.inc}
implementation
uses
System.Classes, System.SysUtils, FMX.Forms, FMX.fs_iinterpreter, FMX.frxBarcode,
FMX.frxClassRTTI, System.Variants, System.Types;
type
TFunctions = class(TfsRTTIModule)
public
constructor Create(AScript: TfsScript); override;
end;
{ TFunctions }
constructor TFunctions.Create(AScript: TfsScript);
begin
inherited Create(AScript);
with AScript do
begin
AddEnum('TfrxBarcodeType', 'bcCode_2_5_interleaved, bcCode_2_5_industrial,' +
'bcCode_2_5_matrix, bcCode39, bcCode39Extended, bcCode128A, bcCode128B,' +
'bcCode128C, bcCode93, bcCode93Extended, bcCodeMSI, bcCodePostNet,' +
'bcCodeCodabar, bcCodeEAN8, bcCodeEAN13, bcCodeUPC_A, bcCodeUPC_E0,' +
'bcCodeUPC_E1, bcCodeUPC_Supp2, bcCodeUPC_Supp5, bcCodeEAN128A,' +
'bcCodeEAN128B, bcCodeEAN128C');
AddClass(TfrxBarcodeView, 'TfrxView');
end;
end;
initialization
fsRTTIModules.Add(TFunctions);
finalization
fsRTTIModules.Remove(TFunctions);
end.