├── CHANGES-RUS.TXT ├── CHANGES.TXT ├── Demos ├── CHART │ ├── CHARTDEM.DPR │ ├── CHARTDEM.RES │ ├── UNIT1.DFM │ └── UNIT1.PAS ├── CNVREPS │ ├── CnvReps.dpr │ ├── CnvReps.res │ ├── MainF.dfm │ ├── MainF.pas │ ├── fmt22.frf │ ├── fmt2217.frf │ └── fmt23.frf ├── DFMSTORE │ ├── PROJECT1.DPR │ ├── PROJECT1.RES │ ├── UNIT1.DFM │ └── UNIT1.PAS ├── ENDUSER │ ├── 1.FRF │ ├── 2.FRF │ ├── 3.FRF │ ├── 4.FRF │ ├── 5.FRF │ ├── ENDUSER.DPR │ ├── ENDUSER.RES │ ├── UNIT1.DFM │ └── UNIT1.PAS ├── MANUAL │ ├── PROJECT1.DPR │ ├── PROJECT1.RES │ ├── UNIT1.DFM │ └── UNIT1.PAS ├── PRNTBL1 │ ├── PRNTABLE.DPR │ ├── PRNTABLE.RES │ ├── UNIT1.DFM │ └── UNIT1.PAS ├── PRNTBL2 │ ├── PRNTABLE.DPR │ ├── PRNTABLE.RES │ ├── UNIT1.DFM │ └── UNIT1.PAS ├── REPORTS │ ├── 1.FRF │ ├── 123.frf │ ├── 2.FRF │ ├── DATASETS.DFM │ ├── DATASETS.PAS │ ├── DOC0.FRF │ ├── DOC1.FRF │ ├── DOC10.FRF │ ├── DOC11.FRF │ ├── DOC12.FRF │ ├── DOC13.FRF │ ├── DOC2.FRF │ ├── DOC3.FRF │ ├── DOC4.FRF │ ├── DOC5.FRF │ ├── DOC6.FRF │ ├── DOC8.FRF │ ├── DOC9.FRF │ ├── FRDEMO.DPR │ ├── FRDEMO.RES │ ├── UNIT1.DFM │ ├── UNIT1.PAS │ ├── UNIT2.DFM │ ├── UNIT2.PAS │ ├── UNIT3.DFM │ ├── UNIT3.PAS │ ├── UNIT4.DFM │ ├── UNIT4.PAS │ ├── UNIT5.DFM │ ├── UNIT5.PAS │ ├── UNIT6.DFM │ ├── UNIT6.PAS │ ├── UNIT7.DFM │ ├── UNIT7.PAS │ ├── UNIT8.DFM │ ├── UNIT8.PAS │ ├── UNIT9.DFM │ └── UNIT9.PAS └── RUNTIME │ ├── PROJECT1.DPR │ ├── PROJECT1.RES │ ├── UNIT1.DFM │ └── UNIT1.PAS ├── FILE_ID.DIZ ├── Help ├── English │ ├── FR.CNT │ ├── FR.HLP │ ├── FRUSER.CNT │ └── FRUSER.HLP └── Russian │ ├── FR.CNT │ ├── FR.HLP │ ├── FRUSER.CNT │ └── FRUSER.HLP ├── README.TXT ├── README_RUS.TXT ├── Res ├── DUTCH │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG2.RES │ ├── FR_LNG3.RC │ └── FR_LNG3.RES ├── ENGLISH │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG3.RC │ ├── FR_LNG3.RES │ ├── Fr_lng2.res │ └── Mk.bat ├── FRENCH │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG2.RES │ ├── FR_LNG3.RC │ └── FR_LNG3.RES ├── GERMAN │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG2.RES │ ├── FR_LNG3.RC │ └── FR_LNG3.RES ├── ITALIAN │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG2.RES │ ├── FR_LNG3.RC │ └── FR_LNG3.RES ├── RUSSIAN │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG2.RES │ ├── FR_LNG3.RC │ └── FR_LNG3.RES ├── SPANISH │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG2.RES │ ├── FR_LNG3.RC │ └── FR_LNG3.RES └── UKRAINE │ ├── FR_DBOP.RC │ ├── FR_DBOP.RES │ ├── FR_DESGN.RES │ ├── FR_LNG1.RC │ ├── FR_LNG1.RES │ ├── FR_LNG2.RC │ ├── FR_LNG2.RES │ ├── FR_LNG3.RC │ └── FR_LNG3.RES ├── Source ├── BARCODE.PAS ├── FR.INC ├── FRD_DB.DFM ├── FRD_FLDE.DFM ├── FRD_FLDL.DFM ├── FRD_FORM.DFM ├── FRD_LIST.DFM ├── FRD_LOOK.DFM ├── FRD_MD.DFM ├── FRD_PARM.DFM ├── FRD_PROP.DFM ├── FRD_QRY.DFM ├── FRD_TBL.DFM ├── FRD_TBL1.DFM ├── FREEREP10.bdsproj ├── FREEREP10.dpk ├── FREEREP10.res ├── FREEREP3.DPK ├── FREEREP4.DPK ├── FREEREP5.DPK ├── FREEREP6.DPK ├── FREEREP7.DPK ├── FREEREP9.DPK ├── FREEREP9.bdsproj ├── FR_ABOUT.DFM ├── FR_ABOUT.PAS ├── FR_BARC.DFM ├── FR_BARC.PAS ├── FR_BNDED.DFM ├── FR_BNDED.PAS ├── FR_BTYP.DFM ├── FR_BTYP.PAS ├── FR_CHART.DFM ├── FR_CHART.PAS ├── FR_CHBOX.PAS ├── FR_CHBOX.RES ├── FR_COLOR.PAS ├── FR_CONST.PAS ├── FR_CTRLS.PAS ├── FR_Class.pas ├── FR_DBOP.PAS ├── FR_DBOP.RES ├── FR_DBREL.PAS ├── FR_DBSET.PAS ├── FR_DESGN.DFM ├── FR_DESGN.PAS ├── FR_DESGN.RES ├── FR_DOCK.DFM ├── FR_DOCK.PAS ├── FR_DOPT.DFM ├── FR_DOPT.PAS ├── FR_DSET.PAS ├── FR_DSOPT.DFM ├── FR_DSOPT.PAS ├── FR_EDIT.DFM ├── FR_EDIT.PAS ├── FR_EV_ED.DFM ├── FR_EV_ED.PAS ├── FR_E_CSV.PAS ├── FR_E_HTM.PAS ├── FR_E_RTF.PAS ├── FR_E_TXT.PAS ├── FR_FLDS.DFM ├── FR_FLDS.PAS ├── FR_FMTED.DFM ├── FR_FMTED.PAS ├── FR_GEDIT.DFM ├── FR_GEDIT.PAS ├── FR_GRPED.DFM ├── FR_GRPED.PAS ├── FR_HILIT.DFM ├── FR_HILIT.PAS ├── FR_IFLDS.DFM ├── FR_IFLDS.PAS ├── FR_INSP.DFM ├── FR_INSP.PAS ├── FR_LNG.RES ├── FR_LNG1.RES ├── FR_LNG2.RES ├── FR_LNG3.RES ├── FR_NEWRP.DFM ├── FR_NEWRP.PAS ├── FR_OLE.DFM ├── FR_OLE.PAS ├── FR_PARS.PAS ├── FR_PGOPT.DFM ├── FR_PGOPT.PAS ├── FR_PGRID.PAS ├── FR_PRDLG.DFM ├── FR_PRDLG.PAS ├── FR_PRNTR.PAS ├── FR_PROGR.DFM ├── FR_PROGR.PAS ├── FR_REG.DCR ├── FR_REG.PAS ├── FR_RICH.DFM ├── FR_RICH.PAS ├── FR_RRECT.DFM ├── FR_RRECT.PAS ├── FR_RXRTF.DFM ├── FR_RXRTF.PAS ├── FR_SHAPE.DFM ├── FR_SHAPE.PAS ├── FR_SNTXE.DFM ├── FR_SNTXE.PAS ├── FR_SRCH.DFM ├── FR_SRCH.PAS ├── FR_TEMPL.DFM ├── FR_TEMPL.PAS ├── FR_UTILS.PAS ├── FR_VAR.DFM ├── FR_VAR.PAS ├── FR_VARED.DFM ├── FR_VARED.PAS ├── FR_VBND.DFM ├── FR_VBND.PAS ├── FR_VIEW.DFM ├── FR_VIEW.PAS ├── Fr_intrp.pas ├── freerep4.bpk ├── freerep4.cpp ├── freerep4.res ├── freerep5.bpk ├── freerep5.cpp ├── freerep6.bpk └── freerep6.cpp ├── frfeature.txt ├── frfeature_rus.txt ├── license.txt └── license_rus.txt /CHANGES-RUS.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/CHANGES-RUS.TXT -------------------------------------------------------------------------------- /CHANGES.TXT: -------------------------------------------------------------------------------- 1 | Changes in v2.34: 2 | ----------------------------------------------------------------------------- 3 | - Delphi2006 support; 4 | 5 | Changes in v2.33: 6 | ----------------------------------------------------------------------------- 7 | - Delphi7 and Delphi2005 support; 8 | - Saving in FR3.0 format possibility 9 | - Now mouse scrolling works in the preview window (both by wheel and cursor) 10 | 11 | Changes in v2.32: 12 | ----------------------------------------------------------------------------- 13 | - Added Add-In object TfrRoundRectObject; 14 | - Added double line style; 15 | - Improved text printing: now text strings showed like in designer mode 16 | independently of preview scaling factor; 17 | - Added syntax hilightning in Script editor. You must install TSyntaxMemo 18 | component by David Brock to use this feature 19 | (http://users.colloquium.co.uk/~dbrock/synmemo/synmemo.htm 20 | e-mail: dbrock@cqm.co.uk); 21 | - Added German resources; 22 | - Fixed bug when using TQuery in master-detail link; 23 | - Ctrl+End in preview now works properly; 24 | - Fixed bug when getting picture from empty blob field; 25 | - Fixed bugs in "Insert fields" wizard; 26 | - Now you can attach your own popup-menu to the TfrPreview component; 27 | - Added German, Dutch and Ukrain resources; 28 | - Fixed another bug with TQuery (AV when trying to preview report in 29 | Delphi IDE); 30 | - Fixed bug - loading report form was incorrect and sometimes gives AV 31 | when trying to preview report. 32 | 33 | 34 | Changes in v2.31.2: 35 | ----------------------------------------------------------------------------- 36 | - Fixed bugs in RichEdit object editor; 37 | - Fixed bug - non-correct variable inserting in "Insert variable" dialog, 38 | "Other variables" category; 39 | - Fixed bug - line style does'nt work if line width > 2 in designer mode; 40 | - Fixed bug with inserting CrossXXX band on empty page; 41 | - Added property TfrReport.PreviewButtons for setting which buttons to 42 | show in preview window; 43 | - Added property TfrReport.InitialZoom for setting initial zoom in preview 44 | window; 45 | - Fixed bug - when editing prepared report if pressing "New report" button 46 | and then closing designer. 47 | - Fixed bug - assigning TQuery to the TfrDBDataSet.DataSet gives AV in 48 | Delphi IDE when trying to save report form or entire project; 49 | - Fixed bug - AV when trying to print prepared report; 50 | - Now with English, French, Italian, Russian, Spanish resources. 51 | 52 | 53 | Changes in v2.31.1: 54 | ----------------------------------------------------------------------------- 55 | - Fixed bug with assigning TDataSource to the TfrDBDataSet.DataSource; 56 | - Fixed bug - text search in the prepared report does'nt works; 57 | - Fixed bug - PageDown button in the preview window does'nt works; 58 | - Added property TfrDBDataSet.DataSet: TDataSet for easily connecting to 59 | datasets with no TDataSource component needed. 60 | - Fixed strange bug - assigning TQuery to the TfrDBDataSet gives AV; 61 | - Fixed fr.cnt file; 62 | - Fixed autosize bug. 63 | 64 | 65 | Changes in v2.31: 66 | ----------------------------------------------------------------------------- 67 | - Fixed some old bugs, added new bugs :) 68 | - Added TfrPreview component for creating custom preview windows; 69 | - Object's frame can have non-integer width (0.01 - 10); 70 | - Changes in code: 71 | . Parser variable renamed to the frParser; 72 | . TParser class renamed to the TfrParser; 73 | . DataModule variable renamed to the frDataModule; 74 | . use Font: TFont property instead of FontName, FontSize, etc properties 75 | of TfrMemoView object; 76 | . added TfrReport.ModifyPrepared: Boolean to disable editing of the 77 | prepared report. 78 | - Value of query parameter can be taken from the FR variable; 79 | - Page tabs in designer reflects what page you editing: normal page or 80 | subreport page; 81 | - Added option "Hide band tabs" in designer options; 82 | - Object inspector has sizable window; 83 | - Added Add-in object TfrRXRichObject (RTF 2.0); 84 | - Added Add-in object TfrBarCodeObject; 85 | - Cross-reports now can have variable row height; 86 | - Changed assigning header&footer bands to data bands. Now header&footer 87 | assigned to the nearest data band; 88 | - Stretched and breaked RichObject; 89 | - Some changes in designer (page margins, column margins); 90 | - Memo editor has sizable window with splitter (between memo and script 91 | editors); 92 | - Added ability of insertion FR variables (from frVariables object) visually; 93 | - Added compatibility with the old FRP files; 94 | - Added IBObjects support in reporter core (but not in data manager!); 95 | - Added Interbase Express (IBX), ActiveX Data Objects (ADO) support in 96 | data manager with no BDE required; 97 | - Added line style. -------------------------------------------------------------------------------- /Demos/CHART/CHARTDEM.DPR: -------------------------------------------------------------------------------- 1 | program Chartdem; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /Demos/CHART/CHARTDEM.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/CHART/CHARTDEM.RES -------------------------------------------------------------------------------- /Demos/CHART/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/CHART/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/CHART/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | // FastReport 2.3 demo 2 | // 3 | // Chart demo. Requires TeeChart component. 4 | 5 | unit Unit1; 6 | 7 | interface 8 | 9 | uses 10 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 11 | StdCtrls, FR_Class, FR_DSet, FR_DBSet, Db, DBTables, FR_Chart, FR_Desgn; 12 | 13 | type 14 | TForm1 = class(TForm) 15 | DataSource1: TDataSource; 16 | frDBDataSet1: TfrDBDataSet; 17 | frReport1: TfrReport; 18 | Button1: TButton; 19 | frChartObject1: TfrChartObject; 20 | frDesigner1: TfrDesigner; 21 | Table1: TTable; 22 | procedure Button1Click(Sender: TObject); 23 | private 24 | { Private declarations } 25 | public 26 | { Public declarations } 27 | end; 28 | 29 | var 30 | Form1: TForm1; 31 | 32 | implementation 33 | 34 | {$R *.DFM} 35 | 36 | procedure TForm1.Button1Click(Sender: TObject); 37 | begin 38 | frReport1.DesignReport; 39 | end; 40 | 41 | end. 42 | -------------------------------------------------------------------------------- /Demos/CNVREPS/CnvReps.dpr: -------------------------------------------------------------------------------- 1 | program CnvReps; 2 | 3 | uses 4 | Forms, 5 | MainF in 'MainF.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /Demos/CNVREPS/CnvReps.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/CNVREPS/CnvReps.res -------------------------------------------------------------------------------- /Demos/CNVREPS/fmt22.frf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/CNVREPS/fmt22.frf -------------------------------------------------------------------------------- /Demos/CNVREPS/fmt2217.frf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/CNVREPS/fmt2217.frf -------------------------------------------------------------------------------- /Demos/CNVREPS/fmt23.frf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/CNVREPS/fmt23.frf -------------------------------------------------------------------------------- /Demos/DFMSTORE/PROJECT1.DPR: -------------------------------------------------------------------------------- 1 | program Project1; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /Demos/DFMSTORE/PROJECT1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/DFMSTORE/PROJECT1.RES -------------------------------------------------------------------------------- /Demos/DFMSTORE/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/DFMSTORE/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/DFMSTORE/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | // FastReport 2.3 demo. 2 | // 3 | // Demonstrates how to create reports with form stored in DFM. 4 | // Note that "StoreInDFM" option of the TfrReport object 5 | // must be set to "True". 6 | 7 | 8 | unit Unit1; 9 | 10 | interface 11 | 12 | uses 13 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 14 | DB, DBTables, FR_DSet, FR_DBSet, FR_Class, StdCtrls; 15 | 16 | type 17 | TForm1 = class(TForm) 18 | frReport1: TfrReport; 19 | frDBDataSet1: TfrDBDataSet; 20 | Table1: TTable; 21 | DataSource1: TDataSource; 22 | Button1: TButton; 23 | procedure Button1Click(Sender: TObject); 24 | private 25 | { Private declarations } 26 | public 27 | { Public declarations } 28 | end; 29 | 30 | var 31 | Form1: TForm1; 32 | 33 | implementation 34 | 35 | {$R *.DFM} 36 | 37 | procedure TForm1.Button1Click(Sender: TObject); 38 | begin 39 | frReport1.ShowReport; 40 | end; 41 | 42 | end. 43 | -------------------------------------------------------------------------------- /Demos/ENDUSER/1.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/ENDUSER/1.FRF -------------------------------------------------------------------------------- /Demos/ENDUSER/2.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/ENDUSER/2.FRF -------------------------------------------------------------------------------- /Demos/ENDUSER/3.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/ENDUSER/3.FRF -------------------------------------------------------------------------------- /Demos/ENDUSER/4.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/ENDUSER/4.FRF -------------------------------------------------------------------------------- /Demos/ENDUSER/5.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/ENDUSER/5.FRF -------------------------------------------------------------------------------- /Demos/ENDUSER/ENDUSER.DPR: -------------------------------------------------------------------------------- 1 | program Enduser; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.ShowMainForm := False; 13 | Form1.frReport1.DesignReport; 14 | Application.Terminate; 15 | end. 16 | -------------------------------------------------------------------------------- /Demos/ENDUSER/ENDUSER.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/ENDUSER/ENDUSER.RES -------------------------------------------------------------------------------- /Demos/ENDUSER/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/ENDUSER/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/ENDUSER/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | // FastReport 2.3 demo. 2 | // 3 | // Demonstrates end-user reporting framework. 4 | // Requires TfrDataStorage & TfrDesigner components. 5 | 6 | unit Unit1; 7 | 8 | interface 9 | 10 | uses 11 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 12 | FR_Desgn, FR_Class, FRD_Mngr; 13 | 14 | type 15 | TForm1 = class(TForm) 16 | frReport1: TfrReport; 17 | frDataStorage1: TfrDataStorage; 18 | frDesigner1: TfrDesigner; 19 | procedure FormCreate(Sender: TObject); 20 | private 21 | { Private declarations } 22 | public 23 | { Public declarations } 24 | end; 25 | 26 | var 27 | Form1: TForm1; 28 | 29 | implementation 30 | 31 | {$R *.DFM} 32 | 33 | procedure TForm1.FormCreate(Sender: TObject); 34 | begin 35 | frVariables['From'] := 1000; 36 | frVariables['To'] := 2000; 37 | end; 38 | 39 | end. 40 | -------------------------------------------------------------------------------- /Demos/MANUAL/PROJECT1.DPR: -------------------------------------------------------------------------------- 1 | program Project1; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /Demos/MANUAL/PROJECT1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/MANUAL/PROJECT1.RES -------------------------------------------------------------------------------- /Demos/MANUAL/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/MANUAL/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/MANUAL/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | // FastReport 2.3 demo 2 | // 3 | // This example demonstrates how to build report manually 4 | 5 | unit Unit1; 6 | 7 | interface 8 | 9 | uses 10 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 11 | FR_Class, StdCtrls; 12 | 13 | type 14 | TForm1 = class(TForm) 15 | frReport1: TfrReport; 16 | Button1: TButton; 17 | procedure frReport1ManualBuild(Sender: TfrPage); 18 | procedure Button1Click(Sender: TObject); 19 | private 20 | { Private declarations } 21 | public 22 | { Public declarations } 23 | end; 24 | 25 | var 26 | Form1: TForm1; 27 | 28 | implementation 29 | 30 | {$R *.DFM} 31 | 32 | procedure TForm1.frReport1ManualBuild(Sender: TfrPage); 33 | var 34 | i, j: Integer; 35 | begin 36 | Sender.ShowBandByType(btReportTitle); 37 | for i := 0 to 3 do 38 | begin 39 | Sender.ShowBandByName('Band2'); 40 | for j := 0 to 2 do 41 | Sender.ShowBandByName('Band3'); 42 | if i <> 3 then 43 | Sender.NewPage; 44 | end; 45 | end; 46 | 47 | procedure TForm1.Button1Click(Sender: TObject); 48 | begin 49 | frReport1.ShowReport; 50 | end; 51 | 52 | end. 53 | -------------------------------------------------------------------------------- /Demos/PRNTBL1/PRNTABLE.DPR: -------------------------------------------------------------------------------- 1 | program PrnTable; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /Demos/PRNTBL1/PRNTABLE.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/PRNTBL1/PRNTABLE.RES -------------------------------------------------------------------------------- /Demos/PRNTBL1/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/PRNTBL1/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/PRNTBL1/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | unit Unit1; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | StdCtrls, Db, DBTables, FR_DSet, FR_DBSet, FR_Class; 8 | 9 | type 10 | TForm1 = class(TForm) 11 | frReport1: TfrReport; 12 | frDBDataSet1: TfrDBDataSet; 13 | frUserDataset1: TfrUserDataset; 14 | Table1: TTable; 15 | DataSource1: TDataSource; 16 | Button1: TButton; 17 | frUserDataset2: TfrUserDataset; 18 | procedure Button1Click(Sender: TObject); 19 | procedure frReport1GetValue(const ParName: String; var ParValue: Variant); 20 | private 21 | { Private declarations } 22 | public 23 | { Public declarations } 24 | end; 25 | 26 | var 27 | Form1: TForm1; 28 | 29 | implementation 30 | 31 | {$R *.DFM} 32 | 33 | procedure TForm1.Button1Click(Sender: TObject); 34 | begin 35 | frUserDataset1.RangeEndCount := Table1.FieldCount; 36 | frUserDataset2.RangeEndCount := Table1.FieldCount; 37 | frReport1.ShowReport; 38 | end; 39 | 40 | procedure TForm1.frReport1GetValue(const ParName: String; var ParValue: Variant); 41 | begin 42 | if ParName = 'Cell' then 43 | ParValue := Table1.Fields[frUserDataset1.RecNo].Value; 44 | if ParName = 'Header' then 45 | ParValue := Table1.Fields[frUserDataset2.RecNo].FieldName; 46 | end; 47 | 48 | end. 49 | -------------------------------------------------------------------------------- /Demos/PRNTBL2/PRNTABLE.DPR: -------------------------------------------------------------------------------- 1 | program PrnTable; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /Demos/PRNTBL2/PRNTABLE.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/PRNTBL2/PRNTABLE.RES -------------------------------------------------------------------------------- /Demos/PRNTBL2/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/PRNTBL2/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/PRNTBL2/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | unit Unit1; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | StdCtrls, Db, DBTables, FR_DSet, FR_DBSet, FR_Class; 8 | 9 | type 10 | TForm1 = class(TForm) 11 | frReport1: TfrReport; 12 | frDBDataSet1: TfrDBDataSet; 13 | frUserDataset1: TfrUserDataset; 14 | Table1: TTable; 15 | DataSource1: TDataSource; 16 | Button1: TButton; 17 | frUserDataset2: TfrUserDataset; 18 | Table1CustNo: TFloatField; 19 | Table1Company: TStringField; 20 | Table1Addr1: TStringField; 21 | Table1Addr2: TStringField; 22 | Table1City: TStringField; 23 | Table1State: TStringField; 24 | Table1Zip: TStringField; 25 | Table1Country: TStringField; 26 | Table1Phone: TStringField; 27 | Table1FAX: TStringField; 28 | Table1TaxRate: TFloatField; 29 | Table1Contact: TStringField; 30 | Table1LastInvoiceDate: TDateTimeField; 31 | procedure Button1Click(Sender: TObject); 32 | procedure frReport1GetValue(const ParName: String; var ParValue: Variant); 33 | procedure frReport1EnterRect(Memo: TStringList; View: TfrView); 34 | procedure frReport1PrintColumn(ColNo: Integer; var Width: Integer); 35 | private 36 | { Private declarations } 37 | FWidth: Integer; 38 | public 39 | { Public declarations } 40 | end; 41 | 42 | var 43 | Form1: TForm1; 44 | 45 | implementation 46 | 47 | {$R *.DFM} 48 | 49 | procedure TForm1.Button1Click(Sender: TObject); 50 | begin 51 | frUserDataset1.RangeEndCount := Table1.FieldCount; 52 | frUserDataset2.RangeEndCount := Table1.FieldCount; 53 | frReport1.ShowReport; 54 | end; 55 | 56 | procedure TForm1.frReport1GetValue(const ParName: String; var ParValue: Variant); 57 | begin 58 | if ParName = 'Cell' then 59 | ParValue := Table1.Fields[frUserDataset1.RecNo].Value; 60 | if ParName = 'Header' then 61 | ParValue := Table1.Fields[frUserDataset2.RecNo].FieldName; 62 | end; 63 | 64 | procedure TForm1.frReport1EnterRect(Memo: TStringList; View: TfrView); 65 | begin 66 | View.dx := FWidth; 67 | end; 68 | 69 | procedure TForm1.frReport1PrintColumn(ColNo: Integer; var Width: Integer); 70 | var 71 | Field: TField; 72 | begin 73 | Field := Table1.Fields[ColNo - 1]; 74 | if Field is TStringField then 75 | Width := Field.Size * Canvas.TextWidth('W') 76 | else if Field is TDateTimeField then 77 | Width := 15 * Canvas.TextWidth('W') 78 | else 79 | Width := 64; 80 | FWidth := Width; 81 | end; 82 | 83 | end. 84 | -------------------------------------------------------------------------------- /Demos/REPORTS/1.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/1.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/123.frf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/123.frf -------------------------------------------------------------------------------- /Demos/REPORTS/2.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/2.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DATASETS.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DATASETS.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/DOC0.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC0.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC1.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC1.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC10.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC10.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC11.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC11.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC12.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC12.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC13.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC13.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC2.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC2.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC3.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC3.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC4.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC4.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC5.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC5.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC6.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC6.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC8.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC8.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/DOC9.FRF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/DOC9.FRF -------------------------------------------------------------------------------- /Demos/REPORTS/FRDEMO.DPR: -------------------------------------------------------------------------------- 1 | program frdemo; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}, 6 | datasets in 'Datasets.pas' {CustomerData: TDataModule}, 7 | Unit2 in 'Unit2.pas' {Form2}, 8 | Unit3 in 'Unit3.pas' {Form3}, 9 | Unit4 in 'Unit4.pas' {Form4}, 10 | Unit5 in 'Unit5.pas' {Form5}, 11 | Unit6 in 'Unit6.pas' {Form6}, 12 | Unit7 in 'Unit7.pas' {Form7}, 13 | Unit8 in 'Unit8.pas' {Form8}, 14 | Unit9 in 'Unit9.pas' {Form9}; 15 | 16 | {$R *.RES} 17 | 18 | begin 19 | Application.Initialize; 20 | Application.CreateForm(TForm1, Form1); 21 | Application.CreateForm(TCustomerData, CustomerData); 22 | Application.CreateForm(TForm2, Form2); 23 | Application.CreateForm(TForm3, Form3); 24 | Application.CreateForm(TForm4, Form4); 25 | Application.CreateForm(TForm5, Form5); 26 | Application.CreateForm(TForm6, Form6); 27 | Application.CreateForm(TForm7, Form7); 28 | Application.CreateForm(TForm8, Form8); 29 | Application.CreateForm(TForm9, Form9); 30 | Application.Run; 31 | end. 32 | -------------------------------------------------------------------------------- /Demos/REPORTS/FRDEMO.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/FRDEMO.RES -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | // FastReport 2.3 demo reports. 2 | 3 | unit Unit1; 4 | 5 | interface 6 | 7 | uses 8 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 9 | ExtCtrls, StdCtrls, DB, FR_Class, FR_E_TXT, FR_E_HTM, FR_E_CSV, 10 | FR_E_RTF, FR_Desgn, FR_Shape, FR_OLE, FR_BarC, FR_Rich, FR_RRect; 11 | 12 | type 13 | TForm1 = class(TForm) 14 | Button1: TButton; 15 | Button2: TButton; 16 | Button3: TButton; 17 | Group1: TRadioGroup; 18 | frCompositeReport1: TfrCompositeReport; 19 | frTextExport1: TfrTextExport; 20 | frCSVExport1: TfrCSVExport; 21 | frHTMExport1: TfrHTMExport; 22 | Label3: TLabel; 23 | frRTFExport1: TfrRTFExport; 24 | frDesigner1: TfrDesigner; 25 | frOLEObject1: TfrOLEObject; 26 | frShapeObject1: TfrShapeObject; 27 | Label1: TLabel; 28 | GroupBox1: TGroupBox; 29 | RB1: TRadioButton; 30 | RB2: TRadioButton; 31 | frBarCodeObject1: TfrBarCodeObject; 32 | frRichObject1: TfrRichObject; 33 | procedure Button1Click(Sender: TObject); 34 | procedure Button2Click(Sender: TObject); 35 | procedure Button3Click(Sender: TObject); 36 | procedure Group1Click(Sender: TObject); 37 | procedure FormShow(Sender: TObject); 38 | private 39 | { Private declarations } 40 | public 41 | { Public declarations } 42 | function CurDoc: Integer; 43 | end; 44 | 45 | var 46 | Form1: TForm1; 47 | 48 | implementation 49 | 50 | uses DataSets, Unit3, Unit4, Unit5, Unit6, Unit7, Unit8, Unit9; 51 | 52 | {$R *.DFM} 53 | 54 | var 55 | DocArr: Array[0..13] of TfrReport; 56 | Path: String; 57 | 58 | {-----------------------------------------------------------------------------} 59 | function TForm1.CurDoc:Integer; 60 | begin 61 | Result := Group1.ItemIndex; 62 | end; 63 | 64 | procedure TForm1.FormShow(Sender: TObject); 65 | var 66 | i: Integer; 67 | begin 68 | DocArr[0] := Form3.frReport1; DocArr[1] := Form3.frReport2; 69 | DocArr[2] := Form4.frReport1; DocArr[3] := Form3.frReport3; 70 | DocArr[4] := Form5.frReport1; DocArr[5] := Form6.frReport1; 71 | DocArr[6] := Form7.frReport1; DocArr[7] := frCompositeReport1; 72 | DocArr[8] := Form6.frReport1; DocArr[9] := Form3.frReport4; 73 | DocArr[10]:= Form8.frReport1; DocArr[11]:= Form8.frReport2; 74 | DocArr[12]:= Form3.frReport5; DocArr[13]:= Form3.frReport6; 75 | with frCompositeReport1 do 76 | begin 77 | Reports.Clear; 78 | for i := 0 to 5 do 79 | Reports.Add(DocArr[i]); 80 | DoublePass := True; 81 | end; 82 | Path := ExtractFilePath(ParamStr(0)); 83 | Group1Click(nil); 84 | end; 85 | 86 | procedure TForm1.Group1Click(Sender: TObject); 87 | begin 88 | if CurDoc <> 7 then 89 | begin 90 | Button1.Enabled := True; 91 | Button2.Enabled := True; 92 | DocArr[CurDoc].LoadFromFile(Path + 'Doc' + IntToStr(CurDoc) + '.frf'); 93 | DocArr[CurDoc].ModalPreview := False; 94 | end 95 | else 96 | begin 97 | Button1.Enabled := False; 98 | Button2.Enabled := False; 99 | end; 100 | end; 101 | 102 | procedure TForm1.Button1Click(Sender: TObject); 103 | begin 104 | DocArr[CurDoc].DesignReport; 105 | end; 106 | 107 | procedure TForm1.Button2Click(Sender: TObject); 108 | begin 109 | DocArr[CurDoc].SaveToFile(Path + 'Doc' + IntToStr(CurDoc) + '.frf'); 110 | end; 111 | 112 | procedure TForm1.Button3Click(Sender: TObject); 113 | var 114 | i: Integer; 115 | begin 116 | for i := 0 to 13 do 117 | if RB1.Checked then 118 | DocArr[i].Preview := nil else 119 | DocArr[i].Preview := Form9.frPreview1; 120 | 121 | if CurDoc = 4 then 122 | Form5.StartReport 123 | else if CurDoc = 6 then 124 | Form7.StartReport 125 | else if CurDoc = 7 then 126 | begin 127 | for i := 0 to 6 do 128 | DocArr[i].LoadFromFile(Path + 'Doc' + IntToStr(i) + '.frf'); 129 | DocArr[CurDoc].ShowReport; 130 | end 131 | else DocArr[CurDoc].ShowReport; 132 | 133 | if RB2.Checked then 134 | Form9.ShowModal; 135 | end; 136 | 137 | end. 138 | -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT2.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT2.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT2.PAS: -------------------------------------------------------------------------------- 1 | unit Unit2; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | StdCtrls, ExtCtrls; 8 | 9 | type 10 | TForm2 = class(TForm) 11 | Label1: TLabel; 12 | Label2: TLabel; 13 | Bevel1: TBevel; 14 | Button1: TButton; 15 | Edit1: TEdit; 16 | Edit2: TEdit; 17 | private 18 | { Private declarations } 19 | public 20 | { Public declarations } 21 | end; 22 | 23 | var 24 | Form2: TForm2; 25 | 26 | implementation 27 | 28 | {$R *.DFM} 29 | 30 | end. 31 | -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT3.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT3.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT3.PAS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT3.PAS -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT4.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT4.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT4.PAS: -------------------------------------------------------------------------------- 1 | unit Unit4; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | FR_DSet, FR_Class, DB; 8 | 9 | type 10 | TForm4 = class(TForm) 11 | frReport1: TfrReport; 12 | MasterDataset: TFRUserDataset; 13 | DetailDataset: TFRUserDataset; 14 | procedure MasterDatasetFirst(Sender: TObject); 15 | procedure MasterDatasetCheckEOF(Sender: TObject; var EOF: Boolean); 16 | procedure DetailDatasetFirst(Sender: TObject); 17 | procedure DetailDatasetNext(Sender: TObject); 18 | procedure DetailDatasetCheckEOF(Sender: TObject; var EOF: Boolean); 19 | procedure MasterDatasetNext(Sender: TObject); 20 | private 21 | { Private declarations } 22 | Bookmark: TBookmarkStr; 23 | public 24 | { Public declarations } 25 | end; 26 | 27 | var 28 | Form4: TForm4; 29 | 30 | implementation 31 | 32 | uses datasets; 33 | 34 | {$R *.DFM} 35 | 36 | var LastLetter: Char; 37 | 38 | procedure TForm4.MasterDatasetFirst(Sender: TObject); 39 | begin 40 | CustomerData.Customers.Open; 41 | CustomerData.Customers.First; 42 | Bookmark := CustomerData.Customers.Bookmark; 43 | end; 44 | 45 | procedure TForm4.MasterDatasetNext(Sender: TObject); 46 | begin 47 | Bookmark := CustomerData.Customers.Bookmark; 48 | end; 49 | 50 | procedure TForm4.MasterDatasetCheckEOF(Sender: TObject; var EOF: Boolean); 51 | begin 52 | EOF := EOF or CustomerData.Customers.EOF; 53 | end; 54 | 55 | procedure TForm4.DetailDatasetFirst(Sender: TObject); 56 | begin 57 | CustomerData.Customers.Bookmark := Bookmark; 58 | LastLetter := CustomerData.CustomersCompany.AsString[1]; 59 | end; 60 | 61 | procedure TForm4.DetailDatasetNext(Sender: TObject); 62 | begin 63 | CustomerData.Customers.Next; 64 | end; 65 | 66 | procedure TForm4.DetailDatasetCheckEOF(Sender: TObject; var EOF: Boolean); 67 | begin 68 | EOF := EOF or (CustomerData.Customers.EOF or 69 | (CustomerData.CustomersCompany.AsString[1] <> LastLetter)); 70 | end; 71 | 72 | end. 73 | -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT5.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT5.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT5.PAS: -------------------------------------------------------------------------------- 1 | unit Unit5; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | FR_DSet, FR_Class; 8 | 9 | type 10 | TForm5 = class(TForm) 11 | frReport1: TfrReport; 12 | CrossRowDataset: TFRUserDataset; 13 | CrossColumnDataset: TFRUserDataset; 14 | procedure CrossRowDatasetFirst(Sender: TObject); 15 | procedure CrossRowDatasetNext(Sender: TObject); 16 | procedure CrossRowDatasetCheckEOF(Sender: TObject; var EOF: Boolean); 17 | procedure CrossColumnDatasetFirst(Sender: TObject); 18 | procedure CrossColumnDatasetNext(Sender: TObject); 19 | procedure CrossColumnDatasetCheckEOF(Sender: TObject; 20 | var EOF: Boolean); 21 | procedure frReport1GetValue(const ParName: string; 22 | var ParValue: Variant); 23 | procedure FormCreate(Sender: TObject); 24 | private 25 | { Private declarations } 26 | public 27 | { Public declarations } 28 | procedure StartReport; 29 | end; 30 | 31 | var 32 | Form5: TForm5; 33 | 34 | implementation 35 | 36 | uses datasets, Unit2; 37 | 38 | {$R *.DFM} 39 | 40 | var i, j: Integer; 41 | RowCount, ColCount: Integer; 42 | 43 | procedure TForm5.FormCreate(Sender: TObject); 44 | begin 45 | ColCount := 16; RowCount := 20; 46 | end; 47 | 48 | procedure TForm5.StartReport; 49 | begin 50 | if Form2.ShowModal = mrOk then 51 | begin 52 | ColCount := StrToInt(Form2.Edit1.Text); 53 | RowCount := StrToInt(Form2.Edit2.Text); 54 | frReport1.ShowReport; 55 | end; 56 | end; 57 | 58 | procedure TForm5.CrossRowDatasetFirst(Sender: TObject); 59 | begin 60 | i := 0; 61 | end; 62 | 63 | procedure TForm5.CrossRowDatasetNext(Sender: TObject); 64 | begin 65 | Inc(i); 66 | end; 67 | 68 | procedure TForm5.CrossRowDatasetCheckEOF(Sender: TObject; 69 | var EOF: Boolean); 70 | begin 71 | EOF := EOF or (i >= RowCount); 72 | end; 73 | 74 | procedure TForm5.CrossColumnDatasetFirst(Sender: TObject); 75 | begin 76 | j := 0; 77 | end; 78 | 79 | procedure TForm5.CrossColumnDatasetNext(Sender: TObject); 80 | begin 81 | Inc(j); 82 | end; 83 | 84 | procedure TForm5.CrossColumnDatasetCheckEOF(Sender: TObject; 85 | var EOF: Boolean); 86 | begin 87 | EOF := EOF or (j >= ColCount); 88 | end; 89 | 90 | procedure TForm5.frReport1GetValue(const ParName: string; 91 | var ParValue: Variant); 92 | begin 93 | if AnsiUpperCase(ParName) = 'CELL' then 94 | ParValue := IntToStr(i * ColCount + j + 1); 95 | end; 96 | 97 | end. 98 | -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT6.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT6.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT6.PAS: -------------------------------------------------------------------------------- 1 | unit Unit6; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | FR_DSet, FR_DBSet, DB, DBTables, FR_Class; 8 | 9 | type 10 | TForm6 = class(TForm) 11 | frReport1: TfrReport; 12 | Bio: TTable; 13 | BioSpeciesNo: TFloatField; 14 | BioCategory: TStringField; 15 | BioCommon_Name: TStringField; 16 | BioSpeciesName: TStringField; 17 | BioLengthcm: TFloatField; 18 | BioLength_In: TFloatField; 19 | BioNotes: TMemoField; 20 | BioGraphic: TGraphicField; 21 | BioDataSource: TDataSource; 22 | BioDataSet: TFRDBDataSet; 23 | private 24 | { Private declarations } 25 | public 26 | { Public declarations } 27 | end; 28 | 29 | var 30 | Form6: TForm6; 31 | 32 | implementation 33 | 34 | {$R *.DFM} 35 | 36 | end. 37 | -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT7.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT7.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT7.PAS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT7.PAS -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT8.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT8.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT8.PAS: -------------------------------------------------------------------------------- 1 | unit Unit8; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | FR_DSet, FR_Class; 8 | 9 | type 10 | TForm8 = class(TForm) 11 | frReport1: TfrReport; 12 | MasterDataset: TfrUserDataset; 13 | Detail1Dataset: TfrUserDataset; 14 | Detail2Dataset: TfrUserDataset; 15 | frReport2: TfrReport; 16 | private 17 | { Private declarations } 18 | public 19 | { Public declarations } 20 | end; 21 | 22 | var 23 | Form8: TForm8; 24 | 25 | implementation 26 | 27 | {$R *.DFM} 28 | 29 | end. 30 | -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT9.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/REPORTS/UNIT9.DFM -------------------------------------------------------------------------------- /Demos/REPORTS/UNIT9.PAS: -------------------------------------------------------------------------------- 1 | unit Unit9; 2 | 3 | interface 4 | 5 | uses 6 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 | FR_Ctrls, FR_View, ExtCtrls; 8 | 9 | type 10 | TForm9 = class(TForm) 11 | Panel1: TPanel; 12 | frPreview1: TfrPreview; 13 | frSpeedButton1: TfrSpeedButton; 14 | frSpeedButton2: TfrSpeedButton; 15 | frSpeedButton3: TfrSpeedButton; 16 | frSpeedButton4: TfrSpeedButton; 17 | frSpeedButton5: TfrSpeedButton; 18 | frSpeedButton6: TfrSpeedButton; 19 | frSpeedButton7: TfrSpeedButton; 20 | frSpeedButton8: TfrSpeedButton; 21 | frSpeedButton9: TfrSpeedButton; 22 | frSpeedButton10: TfrSpeedButton; 23 | frSpeedButton11: TfrSpeedButton; 24 | procedure frSpeedButton4Click(Sender: TObject); 25 | procedure frSpeedButton5Click(Sender: TObject); 26 | procedure frSpeedButton6Click(Sender: TObject); 27 | procedure frSpeedButton7Click(Sender: TObject); 28 | procedure frSpeedButton8Click(Sender: TObject); 29 | procedure frSpeedButton9Click(Sender: TObject); 30 | procedure frSpeedButton10Click(Sender: TObject); 31 | procedure frSpeedButton1Click(Sender: TObject); 32 | procedure frSpeedButton2Click(Sender: TObject); 33 | procedure frSpeedButton3Click(Sender: TObject); 34 | procedure FormActivate(Sender: TObject); 35 | procedure frSpeedButton11Click(Sender: TObject); 36 | private 37 | { Private declarations } 38 | public 39 | { Public declarations } 40 | end; 41 | 42 | var 43 | Form9: TForm9; 44 | 45 | implementation 46 | 47 | {$R *.DFM} 48 | 49 | procedure TForm9.frSpeedButton4Click(Sender: TObject); 50 | begin 51 | frPreview1.First; 52 | end; 53 | 54 | procedure TForm9.frSpeedButton5Click(Sender: TObject); 55 | begin 56 | frPreview1.Prev; 57 | end; 58 | 59 | procedure TForm9.frSpeedButton6Click(Sender: TObject); 60 | begin 61 | frPreview1.Next; 62 | end; 63 | 64 | procedure TForm9.frSpeedButton7Click(Sender: TObject); 65 | begin 66 | frPreview1.Last; 67 | end; 68 | 69 | procedure TForm9.frSpeedButton8Click(Sender: TObject); 70 | begin 71 | frPreview1.LoadFromFile; 72 | end; 73 | 74 | procedure TForm9.frSpeedButton9Click(Sender: TObject); 75 | begin 76 | frPreview1.SaveToFile; 77 | end; 78 | 79 | procedure TForm9.frSpeedButton10Click(Sender: TObject); 80 | begin 81 | frPreview1.Print; 82 | end; 83 | 84 | procedure TForm9.frSpeedButton1Click(Sender: TObject); 85 | begin 86 | frPreview1.OnePage; 87 | end; 88 | 89 | procedure TForm9.frSpeedButton2Click(Sender: TObject); 90 | begin 91 | frPreview1.Zoom := 100; 92 | end; 93 | 94 | procedure TForm9.frSpeedButton3Click(Sender: TObject); 95 | begin 96 | frPreview1.PageWidth; 97 | end; 98 | 99 | procedure TForm9.FormActivate(Sender: TObject); 100 | begin 101 | frSpeedButton2.Down := True; 102 | frSpeedButton2Click(nil); 103 | end; 104 | 105 | procedure TForm9.frSpeedButton11Click(Sender: TObject); 106 | begin 107 | ModalResult := mrOk; 108 | end; 109 | 110 | end. 111 | -------------------------------------------------------------------------------- /Demos/RUNTIME/PROJECT1.DPR: -------------------------------------------------------------------------------- 1 | program Project1; 2 | 3 | uses 4 | Forms, 5 | Unit1 in 'Unit1.pas' {Form1}; 6 | 7 | {$R *.RES} 8 | 9 | begin 10 | Application.Initialize; 11 | Application.CreateForm(TForm1, Form1); 12 | Application.Run; 13 | end. 14 | -------------------------------------------------------------------------------- /Demos/RUNTIME/PROJECT1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/RUNTIME/PROJECT1.RES -------------------------------------------------------------------------------- /Demos/RUNTIME/UNIT1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Demos/RUNTIME/UNIT1.DFM -------------------------------------------------------------------------------- /Demos/RUNTIME/UNIT1.PAS: -------------------------------------------------------------------------------- 1 | // FastReport 2.3 demo. 2 | // 3 | // Demonstrates how to create reports with no designer. 4 | 5 | unit Unit1; 6 | 7 | interface 8 | 9 | uses 10 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 11 | DB, DBTables, FR_DSet, FR_DBSet, FR_Class, StdCtrls; 12 | 13 | type 14 | TForm1 = class(TForm) 15 | Button1: TButton; 16 | frReport1: TfrReport; 17 | frDBDataSet1: TfrDBDataSet; 18 | Table1: TTable; 19 | DataSource1: TDataSource; 20 | procedure Button1Click(Sender: TObject); 21 | private 22 | { Private declarations } 23 | public 24 | { Public declarations } 25 | end; 26 | 27 | var 28 | Form1: TForm1; 29 | 30 | implementation 31 | 32 | {$R *.DFM} 33 | 34 | procedure TForm1.Button1Click(Sender: TObject); 35 | var 36 | v: TfrView; 37 | b: TfrBandView; 38 | Page: TfrPage; 39 | begin 40 | frReport1.Pages.Clear; 41 | frReport1.Pages.Add; // create page 42 | Page := frReport1.Pages[0]; 43 | 44 | b := TfrBandView(frCreateObject(gtBand, '')); // create MasterData band 45 | b.SetBounds(0, 20, 0, 20); 46 | b.BandType := btMasterData; 47 | b.Dataset := 'frDBDataSet1'; 48 | Page.Objects.Add(b); 49 | 50 | v := frCreateObject(gtMemo, ''); // create data field 51 | v.SetBounds(20, 20, 200, 16); 52 | v.Memo.Add('[Table1."Company"]'); 53 | Page.Objects.Add(v); 54 | 55 | frReport1.ShowReport; 56 | end; 57 | 58 | end. 59 | -------------------------------------------------------------------------------- /FILE_ID.DIZ: -------------------------------------------------------------------------------- 1 | ----------------------------------------- 2 | FreeReport v2.34 3 | Report generator 4 | for Delphi 2/3/4/5/6/7/9/10 5 | and 6 | C++Builder 4/5/6 7 | 8 | http://fast-report.com 9 | ----------------------------------------- 10 | -------------------------------------------------------------------------------- /Help/English/FR.CNT: -------------------------------------------------------------------------------- 1 | :BASE Fr.hlp 2 | :TITLE FastReport 2.3 help file 3 | 1 FastReport 2.3 reference 4 | 2 TfrChartObject component=Scribble1010 5 | 3 TfrChartView object=Scribble1100 6 | 3 TfrCheckBoxObject component=Scribble2010 7 | 3 TfrCheckBoxView object=Scribble2100 8 | 3 TfrOLEObject component=Scribble3010 9 | 3 TfrOLEView object=Scribble3100 10 | 3 TfrRichObject component=Scribble4010 11 | 3 TfrRichView object=Scribble4100 12 | 3 TfrShapeObject component=Scribble5010 13 | 3 TfrShapeView object=Scribble5100 14 | 3 TfrView object=Scribble20030 15 | 3 TfrMemoView object=Scribble20610 16 | 3 TfrBandView object=Scribble20790 17 | 3 TfrSubReportView object=Scribble20860 18 | 3 TfrPictureView object=Scribble20910 19 | 3 TfrLineView object=Scribble20960 20 | 3 TfrBand object=Scribble21000 21 | 3 TfrPage object=Scribble21190 22 | 3 TfrPages object=Scribble21660 23 | 3 TfrEMFPages object=Scribble21760 24 | 3 TfrReport component=Scribble21870 25 | 3 TfrCompositeReport component=Scribble22570 26 | 3 TfrReportDesigner form=Scribble22670 27 | 3 TfrObjEditorForm object=Scribble22780 28 | 3 TfrFunctionLibrary object=Scribble22820 29 | 3 TfrDataset object=Scribble8010 30 | 3 TfrUserDataset component=Scribble8100 31 | 3 TfrDBDataSet component=Scribble9010 32 | 3 TfrCSVExport component=Scribble10010 33 | 3 TfrHTMExport component=Scribble11010 34 | 3 TfrRTFExport component=Scribble12010 35 | 3 TfrTextExport component=Scribble13010 36 | 3 TfrInterpretator object=Scribble14010 37 | 3 TfrVariables object=Scribble14100 38 | 3 TfrParser object=Scribble15010 39 | 3 TfrDesigner component=Scribble24010 40 | -------------------------------------------------------------------------------- /Help/English/FR.HLP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Help/English/FR.HLP -------------------------------------------------------------------------------- /Help/English/FRUSER.CNT: -------------------------------------------------------------------------------- 1 | ; This contents file was created with HelpScribble 5.0.0 2 | ; *** UNREGISTERED *** 3 | 4 | :BASE Fruser.hlp 5 | :TITLE FastReport 2.3 6 | 1 FastReport report generator 7 | 2 Capabilities=Scribble1700 8 | 1 Description of report objects 9 | 2 "Text" object=Scribble1300 10 | 2 "Band" object=Scribble1310 11 | 2 "Picture" object=Scribble1320 12 | 2 "SubReport" object=Scribble1330 13 | 2 "Line" object=Scribble1340 14 | 2 "CheckBox" object=Scribble1350 15 | 2 "RichText" object=Scribble1360 16 | 2 "OLE" object=Scribble1370 17 | 2 "Chart" object=Scribble1380 18 | 2 "Shape" object=Scribble1390 19 | 2 "Barcode" object=Scribble1400 20 | 1 Designer 21 | 2 Designer description=Scribble1000 22 | 2 Using keyboard=Scribble1010 23 | 2 Using mouse=Scribble1020 24 | 2 Designer options=Scribble1030 25 | 2 Report options=Scribble1050 26 | 2 Page options=Scribble1060 27 | 2 Report variables=Scribble1040 28 | 2 FR Object Inspector=Scribble1070 29 | 2 Highlightning=Scribble1080 30 | 2 Extra tools=Scribble1090 31 | 1 Preview 32 | 2 Preview description=Scribble1200 33 | 1 Creating reports 34 | 2 Simple report=Scribble1500 35 | 2 Master-Detail report=Scribble1510 36 | 2 Master-Detail-Subdetail report=Scribble1520 37 | 2 Cross-tab report=Scribble1530 38 | 2 Report with variable row height=Scribble1540 39 | 2 Report with multiple data rows=Scribble1550 40 | 2 Multicolumn report=Scribble1560 41 | 2 Multipage report=Scribble1570 42 | 2 Subreport=Scribble1580 43 | 2 Master-Detail-Detail report=Scribble1590 44 | 2 Composite report=Scribble1600 45 | 2 Report with breaked bands=Scribble1610 46 | 2 Report without bands=Scribble1620 47 | 2 Report with groups=Scribble1630 48 | 1 Enduser basics 49 | 2 TfrDataStorage component=Scribble1900 50 | 2 Creating database=Scribble1905 51 | 2 Creating table=Scribble1910 52 | 2 Creating query=Scribble1920 53 | 2 Fields editor=Scribble1930 54 | 2 Creating lookup field=Scribble1940 55 | 2 Parameters editor=Scribble1950 56 | 2 Joining data=Scribble1960 57 | 2 Parameters dialog=Scribble1970 58 | 2 Parameters dialog designer=Scribble1980 59 | 1 Parser and interpreter 60 | 2 Expression parser=Scribble1800 61 | 2 Using interpretator=Scribble1810 62 | -------------------------------------------------------------------------------- /Help/English/FRUSER.HLP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Help/English/FRUSER.HLP -------------------------------------------------------------------------------- /Help/Russian/FR.CNT: -------------------------------------------------------------------------------- 1 | :BASE Fr.hlp 2 | :TITLE FastReport 2.3 help file 3 | 1 FastReport 2.3 reference 4 | 2 TfrChartObject component=Scribble1010 5 | 3 TfrChartView object=Scribble1100 6 | 3 TfrCheckBoxObject component=Scribble2010 7 | 3 TfrCheckBoxView object=Scribble2100 8 | 3 TfrOLEObject component=Scribble3010 9 | 3 TfrOLEView object=Scribble3100 10 | 3 TfrRichObject component=Scribble4010 11 | 3 TfrRichView object=Scribble4100 12 | 3 TfrShapeObject component=Scribble5010 13 | 3 TfrShapeView object=Scribble5100 14 | 3 TfrView object=Scribble20030 15 | 3 TfrMemoView object=Scribble20610 16 | 3 TfrBandView object=Scribble20790 17 | 3 TfrSubReportView object=Scribble20860 18 | 3 TfrPictureView object=Scribble20910 19 | 3 TfrLineView object=Scribble20960 20 | 3 TfrBand object=Scribble21000 21 | 3 TfrPage object=Scribble21190 22 | 3 TfrPages object=Scribble21660 23 | 3 TfrEMFPages object=Scribble21760 24 | 3 TfrReport component=Scribble21870 25 | 3 TfrCompositeReport component=Scribble22570 26 | 3 TfrReportDesigner form=Scribble22670 27 | 3 TfrObjEditorForm object=Scribble22780 28 | 3 TfrFunctionLibrary object=Scribble22820 29 | 3 TfrDataset object=Scribble8010 30 | 3 TfrUserDataset component=Scribble8100 31 | 3 TfrDBDataSet component=Scribble9010 32 | 3 TfrCSVExport component=Scribble10010 33 | 3 TfrHTMExport component=Scribble11010 34 | 3 TfrRTFExport component=Scribble12010 35 | 3 TfrTextExport component=Scribble13010 36 | 3 TfrInterpretator object=Scribble14010 37 | 3 TfrVariables object=Scribble14100 38 | 3 TfrParser object=Scribble15010 39 | 3 TfrDesigner component=Scribble24010 40 | -------------------------------------------------------------------------------- /Help/Russian/FR.HLP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Help/Russian/FR.HLP -------------------------------------------------------------------------------- /Help/Russian/FRUSER.CNT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Help/Russian/FRUSER.CNT -------------------------------------------------------------------------------- /Help/Russian/FRUSER.HLP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Help/Russian/FRUSER.HLP -------------------------------------------------------------------------------- /README_RUS.TXT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/README_RUS.TXT -------------------------------------------------------------------------------- /Res/DUTCH/FR_DBOP.RC: -------------------------------------------------------------------------------- 1 | STRINGTABLE 2 | { 3 | 65000, "&Alias:" 4 | 65001, "Geen" 5 | } 6 | 7 | ALIASDLGTEMPLATE DIALOG 0, 0, 400, 16 8 | STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS 9 | FONT 8, "MS Sans Serif" 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /Res/DUTCH/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/DUTCH/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/DUTCH/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/DUTCH/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/DUTCH/FR_LNG1.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/DUTCH/FR_LNG1.RC -------------------------------------------------------------------------------- /Res/DUTCH/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/DUTCH/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/DUTCH/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/DUTCH/FR_LNG2.RES -------------------------------------------------------------------------------- /Res/DUTCH/FR_LNG3.RC: -------------------------------------------------------------------------------- 1 | #include "FR_Const.pas" 2 | 3 | STRINGTABLE 4 | { 5 | ;--- DatasetsForm resources -------------------------------------------------- 6 | 56000, "Report datasets" 7 | 56001, "&Properties..." 8 | 56002, "New &table..." 9 | 56003, "New &query..." 10 | 56004, "&Remove" 11 | 56005, "&Close" 12 | 56006, "New &database..." 13 | ;--- TablePropForm resources ------------------------------------------------- 14 | 56020, "General" 15 | 56021, "&Name" 16 | 56022, "&Fields" 17 | 56023, "&Fields editor..." 18 | 56024, "Other" 19 | 56025, "&Index" 20 | 56026, "Filter &expression" 21 | 56027, "&Master" 22 | 56028, "Ma&ster fileds" 23 | ;--- FieldsEditorForm resources ---------------------------------------------- 24 | 56040, "&Add fields..." 25 | 56041, "Add &lookup..." 26 | 56042, "&Select all" 27 | 56043, "&Delete" 28 | 56044, "&Exit" 29 | ;--- FieldsListForm resources ------------------------------------------------ 30 | 56060, "Available fields" 31 | ;--- LookupFieldForm resources ----------------------------------------------- 32 | 56070, "New lookup field" 33 | 56071, "Field" 34 | 56072, "&Name" 35 | 56073, "&Type" 36 | 56074, "&Size" 37 | 56075, "Lookup definition" 38 | 56076, "&Key field" 39 | 56077, "&Dataset" 40 | 56078, "&Lookup key" 41 | 56079, "&Result field" 42 | ;--- QueryPropForm resources ------------------------------------------------- 43 | 56090, "Query properties" 44 | 56091, "Other" 45 | 56092, "&Master dataset" 46 | 56093, "General" 47 | 56094, "&Name" 48 | 56095, "&Alias or path" 49 | 56096, "&SQL" 50 | 56097, "&Fields editor..." 51 | 56098, "&Params editor..." 52 | 56099, "&Load SQL from file" 53 | 56100, "Sa&ve SQL to file" 54 | ;--- ParamsForm resources ---------------------------------------------------- 55 | 56110, "Parameters" 56 | 56111, "&Data type" 57 | 56112, "&Name" 58 | 56113, "&Value:" 59 | 56114, "&Ask for value before printing" 60 | 56115, "Assign value from &master dataset" 61 | 56116, "Va&riable:" 62 | ;--- FieldsLinkForm resources ------------------------------------------------ 63 | 56130, "&Detail fields" 64 | 56131, "&Master fields" 65 | 56132, "&Joined fields" 66 | 56133, "&Add" 67 | 56134, "&Clear" 68 | ;--- ParamsDialogForm resources ---------------------------------------------- 69 | 56150, "Parameters" 70 | 56151, "4 points" 71 | 56152, "8 points" 72 | 56153, "Grid align" 73 | 56154, "Close" 74 | ;--- PropForm resources ------------------------------------------------------ 75 | 56170, "Properties" 76 | 56171, "&Text" 77 | 56172, "&Font..." 78 | 56173, "Lookup" 79 | 56174, "&Dataset" 80 | 56175, "&Key field" 81 | 56176, "&List field" 82 | 56177, "Kind" 83 | 56178, "&Edit" 84 | 56179, "&Combo" 85 | 56180, "Look&up" 86 | 56181, "Combo" 87 | 56182, "&Autosize" 88 | ;--- DBPropForm resources ---------------------------------------------------- 89 | 56200, "Database properties" 90 | 56201, "General" 91 | 56202, "Parameters" 92 | 56203, "&Name" 93 | 56204, "&Connection string" ; for ADO 94 | 56205, "&File name" ; for IBX 95 | 56206, "&Alias name" ; for BDE 96 | 56207, "&Driver name" 97 | 56208, "&Login prompt" 98 | ;--- SelectTblForm resources ------------------------------------------------- 99 | 56220, "Select table" 100 | 56221, "Select from database" 101 | 56222, "Select from file" 102 | 56223, "&Database" 103 | 56224, "&Table" 104 | 56225, "&Browse..." 105 | ;--- Strings resources ------------------------------------------------------- 106 | SFields, "fields" 107 | SPath, "Path" 108 | SRemoveDS, "Delete this component?" 109 | STables, "Tables" 110 | SFieldType1, "StringField" 111 | SFieldType2, "SmallintField" 112 | SFieldType3, "IntegerField" 113 | SFieldType4, "WordField" 114 | SFieldType5, "BooleanField" 115 | SFieldType6, "FloatField" 116 | SFieldType7, "CurrencyField" 117 | SFieldType8, "DateField" 118 | SFieldType9, "TimeField" 119 | SFieldType10, "BlobField" 120 | SParamType1, "BCD" 121 | SParamType2, "Boolean" 122 | SParamType3, "Currency" 123 | SParamType4, "Date" 124 | SParamType5, "DateTime" 125 | SParamType6, "Integer" 126 | SParamType7, "Float" 127 | SParamType8, "Smallint" 128 | SParamType9, "String" 129 | SParamType10, "Time" 130 | SParamType11, "Word" 131 | SDataManager, "Data manager" 132 | SParams, "parameters" 133 | SQueryError, "Invalid SQL statement or parameters" 134 | STableProps, "Table properties" 135 | SParamDialog, "Parameters dialog" 136 | SInvalidParamValue, "Invalid parameter value" 137 | SDatabase, "Databases" 138 | SFieldSizeError, "Invalid field size" 139 | } 140 | -------------------------------------------------------------------------------- /Res/DUTCH/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/DUTCH/FR_LNG3.RES -------------------------------------------------------------------------------- /Res/ENGLISH/FR_DBOP.RC: -------------------------------------------------------------------------------- 1 | STRINGTABLE 2 | { 3 | 65000, "&Alias:" 4 | 65001, "None" 5 | } 6 | 7 | ALIASDLGTEMPLATE DIALOG 0, 0, 400, 16 8 | STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS 9 | FONT 8, "MS Sans Serif" 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /Res/ENGLISH/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ENGLISH/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/ENGLISH/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ENGLISH/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/ENGLISH/FR_LNG1.RC: -------------------------------------------------------------------------------- 1 | #include "FR_Const.pas" 2 | 3 | STRINGTABLE 4 | { 5 | ;--- PreviewSearchForm resources --------------------------------------------- 6 | 53000, "Find text" 7 | 53001, "Text to &find" 8 | 53002, "Options" 9 | 53003, "&Case sensitive" 10 | 53004, "Origin" 11 | 53005, "&1st page" 12 | 53006, "Current &page" 13 | ;--- PreviewForm resources --------------------------------------------------- 14 | 53020, "&Page width" 15 | 53021, "&Whole page" 16 | 53022, "&Two pages" 17 | 53023, "Close preview" 18 | 53024, "Scale" 19 | 53025, "Open report" 20 | 53026, "Save report" 21 | 53027, "Print report" 22 | 53028, "Find text" 23 | 53029, "Edit page" 24 | 53030, "Add page" 25 | 53031, "Delete page" 26 | 53032, "Show help" 27 | ;--- PrintForm resources --------------------------------------------------- 28 | 53040, "Print" 29 | 53041, "Printer" 30 | 53042, "Properties" 31 | 53043, "&Copies:" 32 | 53044, "Page range" 33 | 53045, "&All" 34 | 53046, "Current &page" 35 | 53047, "&Numbers:" 36 | 53048, "Enter page numbers and/or page ranges, separated by commas. For example, 1,3,5-12" 37 | ;--- Strings resources ------------------------------------------------------- 38 | SOk, "OK" 39 | SCancel, "Cancel" 40 | SYes, "Yes" 41 | SNo, "No" 42 | SPg, "Page" 43 | SNotAssigned, "[None]" 44 | SBand1, "Report title" 45 | SBand2, "Report summary" 46 | SBand3, "Page header" 47 | SBand4, "Page footer" 48 | SBand5, "Master header" 49 | SBand6, "Master data" 50 | SBand7, "Master footer" 51 | SBand8, "Detail header" 52 | SBand9, "Detail data" 53 | SBand10, "Detail footer" 54 | SBand11, "Subdetail header" 55 | SBand12, "Subdetail data" 56 | SBand13, "Subdetail footer" 57 | SBand14, "Overlay" 58 | SBand15, "Column header" 59 | SBand16, "Column footer" 60 | SBand17, "Group header" 61 | SBand18, "Group footer" 62 | SBand19, "Cross header" 63 | SBand20, "Cross data" 64 | SBand21, "Cross footer" 65 | SBand22, "None" 66 | SCateg1, "Text" 67 | SCateg2, "Number" 68 | SCateg3, "Date" 69 | SCateg4, "Time" 70 | SCateg5, "Boolean" 71 | SFormat11, "[None]" 72 | SFormat12, "" 73 | SFormat13, "" 74 | SFormat14, "" 75 | SFormat15, "" 76 | SFormat21, "1234,5" 77 | SFormat22, "1234,50" 78 | SFormat23, "1 234,5" 79 | SFormat24, "1 234,50" 80 | SFormat25, "Custom" 81 | SFormat31, "11.15.98" 82 | SFormat32, "11.15.1998" 83 | SFormat33, "15 nov 1998" 84 | SFormat34, "15 november 1998" 85 | SFormat35, "Custom" 86 | SFormat41, "02:43:35" 87 | SFormat42, "2:43:35" 88 | SFormat43, "02:43" 89 | SFormat44, "2:43" 90 | SFormat45, "Custom" 91 | SFormat51, "0;1" 92 | SFormat52, "No;Yes" 93 | SFormat53, "_;x" 94 | SFormat54, "False;True" 95 | SFormat55, "Custom" 96 | SDateFormat1, "mm.dd.yy" 97 | SDateFormat2, "mm.dd.yyyy" 98 | SDateFormat3, "d mmm yyyy" 99 | SDateFormat4, "d mmmm yyyy" 100 | STimeFormat1, "hh:nn:ss" 101 | STimeFormat2, "h:nn:ss" 102 | STimeFormat3, "hh:nn" 103 | STimeFormat4, "h:nn" 104 | SFrom, "from" 105 | SErrorOccured, "An error occured during calculating" 106 | SDoc, "Report:" 107 | SBand, "Band:" 108 | SReportPreparing, "Report preparing" 109 | SFirstPass, "Performing 1st pass:" 110 | SPagePreparing, "Processing page:" 111 | SError, "Error" 112 | SPreview, "Preview" 113 | SPagePrinting, "Printing page:" 114 | SUntitled, "Untitled" 115 | SPrinterError, "Printer selected is not valid" 116 | SRepFile, "Report file" 117 | STextFile, "ASCII Text file" 118 | SRTFFile, "Rich Text file" 119 | SCSVFile, "CSV File" 120 | SHTMFile, "HTML file" 121 | SFilter, "Filter properties" 122 | SFilterParam, "Average font height:" 123 | SFont, "Font..." 124 | SCharset, "0" 125 | SBarcodeError, "Error in barcode" 126 | SFRFError, "Unsupported FRF format" 127 | } 128 | -------------------------------------------------------------------------------- /Res/ENGLISH/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ENGLISH/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/ENGLISH/FR_LNG3.RC: -------------------------------------------------------------------------------- 1 | #include "FR_Const.pas" 2 | 3 | STRINGTABLE 4 | { 5 | ;--- DatasetsForm resources -------------------------------------------------- 6 | 56000, "Report datasets" 7 | 56001, "&Properties..." 8 | 56002, "New &table..." 9 | 56003, "New &query..." 10 | 56004, "&Remove" 11 | 56005, "&Close" 12 | 56006, "New &database..." 13 | ;--- TablePropForm resources ------------------------------------------------- 14 | 56020, "General" 15 | 56021, "&Name" 16 | 56022, "&Fields" 17 | 56023, "&Fields editor..." 18 | 56024, "Other" 19 | 56025, "&Index" 20 | 56026, "Filter &expression" 21 | 56027, "&Master" 22 | 56028, "Ma&ster fileds" 23 | ;--- FieldsEditorForm resources ---------------------------------------------- 24 | 56040, "&Add fields..." 25 | 56041, "Add &lookup..." 26 | 56042, "&Select all" 27 | 56043, "&Delete" 28 | 56044, "&Exit" 29 | ;--- FieldsListForm resources ------------------------------------------------ 30 | 56060, "Available fields" 31 | ;--- LookupFieldForm resources ----------------------------------------------- 32 | 56070, "New lookup field" 33 | 56071, "Field" 34 | 56072, "&Name" 35 | 56073, "&Type" 36 | 56074, "&Size" 37 | 56075, "Lookup definition" 38 | 56076, "&Key field" 39 | 56077, "&Dataset" 40 | 56078, "&Lookup key" 41 | 56079, "&Result field" 42 | ;--- QueryPropForm resources ------------------------------------------------- 43 | 56090, "Query properties" 44 | 56091, "Other" 45 | 56092, "&Master dataset" 46 | 56093, "General" 47 | 56094, "&Name" 48 | 56095, "&Alias or path" 49 | 56096, "&SQL" 50 | 56097, "&Fields editor..." 51 | 56098, "&Params editor..." 52 | 56099, "&Load SQL from file" 53 | 56100, "Sa&ve SQL to file" 54 | ;--- ParamsForm resources ---------------------------------------------------- 55 | 56110, "Parameters" 56 | 56111, "&Data type" 57 | 56112, "&Name" 58 | 56113, "&Value:" 59 | 56114, "&Ask for value before printing" 60 | 56115, "Assign value from &master dataset" 61 | 56116, "Va&riable:" 62 | ;--- FieldsLinkForm resources ------------------------------------------------ 63 | 56130, "&Detail fields" 64 | 56131, "&Master fields" 65 | 56132, "&Joined fields" 66 | 56133, "&Add" 67 | 56134, "&Clear" 68 | ;--- ParamsDialogForm resources ---------------------------------------------- 69 | 56150, "Parameters" 70 | 56151, "4 points" 71 | 56152, "8 points" 72 | 56153, "Grid align" 73 | 56154, "Close" 74 | ;--- PropForm resources ------------------------------------------------------ 75 | 56170, "Properties" 76 | 56171, "&Text" 77 | 56172, "&Font..." 78 | 56173, "Lookup" 79 | 56174, "&Dataset" 80 | 56175, "&Key field" 81 | 56176, "&List field" 82 | 56177, "Kind" 83 | 56178, "&Edit" 84 | 56179, "&Combo" 85 | 56180, "Look&up" 86 | 56181, "Combo" 87 | 56182, "&Autosize" 88 | ;--- DBPropForm resources ---------------------------------------------------- 89 | 56200, "Database properties" 90 | 56201, "General" 91 | 56202, "Parameters" 92 | 56203, "&Name" 93 | 56204, "&Connection string" ; for ADO 94 | 56205, "&File name" ; for IBX 95 | 56206, "&Alias name" ; for BDE 96 | 56207, "&Driver name" 97 | 56208, "&Login prompt" 98 | ;--- SelectTblForm resources ------------------------------------------------- 99 | 56220, "Select table" 100 | 56221, "Select from database" 101 | 56222, "Select from file" 102 | 56223, "&Database" 103 | 56224, "&Table" 104 | 56225, "&Browse..." 105 | ;--- Strings resources ------------------------------------------------------- 106 | SFields, "fields" 107 | SPath, "Path" 108 | SRemoveDS, "Delete this component?" 109 | STables, "Tables" 110 | SFieldType1, "StringField" 111 | SFieldType2, "SmallintField" 112 | SFieldType3, "IntegerField" 113 | SFieldType4, "WordField" 114 | SFieldType5, "BooleanField" 115 | SFieldType6, "FloatField" 116 | SFieldType7, "CurrencyField" 117 | SFieldType8, "DateField" 118 | SFieldType9, "TimeField" 119 | SFieldType10, "BlobField" 120 | SParamType1, "BCD" 121 | SParamType2, "Boolean" 122 | SParamType3, "Currency" 123 | SParamType4, "Date" 124 | SParamType5, "DateTime" 125 | SParamType6, "Integer" 126 | SParamType7, "Float" 127 | SParamType8, "Smallint" 128 | SParamType9, "String" 129 | SParamType10, "Time" 130 | SParamType11, "Word" 131 | SDataManager, "Data manager" 132 | SParams, "parameters" 133 | SQueryError, "Invalid SQL statement or parameters" 134 | STableProps, "Table properties" 135 | SParamDialog, "Parameters dialog" 136 | SInvalidParamValue, "Invalid parameter value" 137 | SDatabase, "Databases" 138 | SFieldSizeError, "Invalid field size" 139 | } 140 | -------------------------------------------------------------------------------- /Res/ENGLISH/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ENGLISH/FR_LNG3.RES -------------------------------------------------------------------------------- /Res/ENGLISH/Fr_lng2.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ENGLISH/Fr_lng2.res -------------------------------------------------------------------------------- /Res/ENGLISH/Mk.bat: -------------------------------------------------------------------------------- 1 | brcc32 -i..\..\source -m -fo Fr_dbop.res Fr_dbop.rc 2 | brcc32 -i..\..\source -m -fo Fr_lng1.res Fr_lng1.rc 3 | brcc32 -i..\..\source -m -fo Fr_lng2.res Fr_lng2.rc 4 | brcc32 -i..\..\source -m -fo Fr_lng3.res Fr_lng3.rc 5 | xcopy *.res ..\..\source 6 | -------------------------------------------------------------------------------- /Res/FRENCH/FR_DBOP.RC: -------------------------------------------------------------------------------- 1 | STRINGTABLE 2 | { 3 | 65000, "&Alias:" 4 | 65001, "Aucun" 5 | } 6 | 7 | ALIASDLGTEMPLATE DIALOG 0, 0, 400, 16 8 | STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS 9 | FONT 8, "MS Sans Serif" 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /Res/FRENCH/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/FRENCH/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/FRENCH/FR_LNG1.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_LNG1.RC -------------------------------------------------------------------------------- /Res/FRENCH/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/FRENCH/FR_LNG2.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_LNG2.RC -------------------------------------------------------------------------------- /Res/FRENCH/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_LNG2.RES -------------------------------------------------------------------------------- /Res/FRENCH/FR_LNG3.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_LNG3.RC -------------------------------------------------------------------------------- /Res/FRENCH/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/FRENCH/FR_LNG3.RES -------------------------------------------------------------------------------- /Res/GERMAN/FR_DBOP.RC: -------------------------------------------------------------------------------- 1 | STRINGTABLE 2 | { 3 | 65000, "&Alias:" 4 | 65001, "keiner" 5 | } 6 | 7 | ALIASDLGTEMPLATE DIALOG 0, 0, 400, 16 8 | STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS 9 | FONT 8, "MS Sans Serif" 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /Res/GERMAN/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/GERMAN/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/GERMAN/FR_LNG1.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_LNG1.RC -------------------------------------------------------------------------------- /Res/GERMAN/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/GERMAN/FR_LNG2.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_LNG2.RC -------------------------------------------------------------------------------- /Res/GERMAN/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_LNG2.RES -------------------------------------------------------------------------------- /Res/GERMAN/FR_LNG3.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_LNG3.RC -------------------------------------------------------------------------------- /Res/GERMAN/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/GERMAN/FR_LNG3.RES -------------------------------------------------------------------------------- /Res/ITALIAN/FR_DBOP.RC: -------------------------------------------------------------------------------- 1 | STRINGTABLE 2 | { 3 | 65000, "&Alias:" 4 | 65001, "Nessuno" 5 | } 6 | 7 | ALIASDLGTEMPLATE DIALOG 0, 0, 400, 16 8 | STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS 9 | FONT 8, "MS Sans Serif" 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /Res/ITALIAN/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/ITALIAN/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/ITALIAN/FR_LNG1.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_LNG1.RC -------------------------------------------------------------------------------- /Res/ITALIAN/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/ITALIAN/FR_LNG2.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_LNG2.RC -------------------------------------------------------------------------------- /Res/ITALIAN/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_LNG2.RES -------------------------------------------------------------------------------- /Res/ITALIAN/FR_LNG3.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_LNG3.RC -------------------------------------------------------------------------------- /Res/ITALIAN/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/ITALIAN/FR_LNG3.RES -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_DBOP.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_DBOP.RC -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_LNG1.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_LNG1.RC -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_LNG2.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_LNG2.RC -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_LNG2.RES -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_LNG3.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_LNG3.RC -------------------------------------------------------------------------------- /Res/RUSSIAN/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/RUSSIAN/FR_LNG3.RES -------------------------------------------------------------------------------- /Res/SPANISH/FR_DBOP.RC: -------------------------------------------------------------------------------- 1 | STRINGTABLE 2 | { 3 | 65000, "&Alias:" 4 | 65001, "Ninguno" 5 | } 6 | 7 | ALIASDLGTEMPLATE DIALOG 0, 0, 400, 16 8 | STYLE WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS 9 | FONT 8, "MS Sans Serif" 10 | { 11 | } 12 | -------------------------------------------------------------------------------- /Res/SPANISH/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/SPANISH/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/SPANISH/FR_LNG1.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_LNG1.RC -------------------------------------------------------------------------------- /Res/SPANISH/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/SPANISH/FR_LNG2.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_LNG2.RC -------------------------------------------------------------------------------- /Res/SPANISH/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_LNG2.RES -------------------------------------------------------------------------------- /Res/SPANISH/FR_LNG3.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_LNG3.RC -------------------------------------------------------------------------------- /Res/SPANISH/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/SPANISH/FR_LNG3.RES -------------------------------------------------------------------------------- /Res/UKRAINE/FR_DBOP.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_DBOP.RC -------------------------------------------------------------------------------- /Res/UKRAINE/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_DBOP.RES -------------------------------------------------------------------------------- /Res/UKRAINE/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_DESGN.RES -------------------------------------------------------------------------------- /Res/UKRAINE/FR_LNG1.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_LNG1.RC -------------------------------------------------------------------------------- /Res/UKRAINE/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_LNG1.RES -------------------------------------------------------------------------------- /Res/UKRAINE/FR_LNG2.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_LNG2.RC -------------------------------------------------------------------------------- /Res/UKRAINE/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_LNG2.RES -------------------------------------------------------------------------------- /Res/UKRAINE/FR_LNG3.RC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_LNG3.RC -------------------------------------------------------------------------------- /Res/UKRAINE/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Res/UKRAINE/FR_LNG3.RES -------------------------------------------------------------------------------- /Source/BARCODE.PAS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/BARCODE.PAS -------------------------------------------------------------------------------- /Source/FR.INC: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Include file } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | 12 | {$B-} {- Complete Boolean Evaluation } 13 | {$R-} {- Range-Checking } 14 | {$V-} {- Var-String Checking } 15 | {$T-} {- Typed @ operator } 16 | {$X+} {- Extended syntax } 17 | {$P+} {- Open string params } 18 | {$J+} {- Writeable structured consts } 19 | {$H+} {- Use long strings by default } 20 | 21 | {$IFDEF VER90} // Delphi 2.0 22 | {$DEFINE Delphi2} 23 | {$ENDIF} 24 | 25 | {$IFDEF VER100} // Delphi 3.0 26 | {$DEFINE Delphi3} 27 | {$ENDIF} 28 | 29 | {$IFDEF VER120} // Delphi 4.0 30 | {$DEFINE Delphi4} 31 | {$ENDIF} 32 | 33 | {$IFDEF VER130} // Delphi 5.0 34 | {$DEFINE Delphi4} 35 | {$ENDIF} 36 | 37 | {$IFDEF VER140} // Delphi 6.0 38 | {$DEFINE Delphi4} 39 | {$DEFINE Delphi6} 40 | {$ENDIF} 41 | 42 | {$IFDEF VER150} // Delphi 7.0 43 | {$DEFINE Delphi4} 44 | {$DEFINE Delphi5} 45 | {$DEFINE Delphi6} 46 | {$DEFINE Delphi7} 47 | {$WARN UNSAFE_CODE OFF} 48 | {$ENDIF} 49 | 50 | {$IFDEF VER170} // Delphi 9.0 51 | {$DEFINE Delphi4} 52 | {$DEFINE Delphi5} 53 | {$DEFINE Delphi6} 54 | {$DEFINE Delphi7} 55 | {$DEFINE Delphi9} 56 | {$WARN UNSAFE_CODE OFF} 57 | {$ENDIF} 58 | 59 | {$IFDEF VER180} // Delphi 10.0 60 | {$DEFINE Delphi4} 61 | {$DEFINE Delphi5} 62 | {$DEFINE Delphi6} 63 | {$DEFINE Delphi7} 64 | {$DEFINE Delphi9} 65 | {$DEFINE Delphi10} 66 | {$WARN UNSAFE_CODE OFF} 67 | {$ENDIF} 68 | 69 | {$IFDEF VER93} // Borland C++ Builder 1.0 70 | {$DEFINE Delphi2} 71 | {$ENDIF} 72 | 73 | {$IFDEF VER110} // Borland C++ Builder 3.0 74 | {$DEFINE Delphi3} 75 | {$ObjExportAll on} 76 | {$ENDIF} 77 | 78 | {$IFDEF VER125} // Borland C++ Builder 4.0 79 | {$DEFINE Delphi4} 80 | {$ObjExportAll on} 81 | {$ENDIF} 82 | 83 | {$IFDEF VER130} // Borland C++ Builder 5.0 84 | {$IFDEF BCB} 85 | {$ObjExportAll on} 86 | {$ENDIF} 87 | {$ENDIF} 88 | 89 | {$IFDEF VER140} // Borland C++ Builder 6.0 90 | {$IFDEF BCB} 91 | {$ObjExportAll on} 92 | {$ENDIF} 93 | {$ENDIF} 94 | 95 | {$IFDEF VER150} // Borland C++ Builder 7.0 96 | {$IFDEF BCB} 97 | {$ObjExportAll on} 98 | {$WARN UNSAFE_CODE OFF} 99 | {$ENDIF} 100 | {$ENDIF} 101 | 102 | {$DEFINE BDE} 103 | 104 | //{$DEFINE FREEREP2217READ} 105 | 106 | //-------------------------Additional components---------------------------- 107 | 108 | //------------------- TeeChart component ---------------------------- 109 | {$IFNDEF Delphi2} 110 | {$DEFINE TeeChart} 111 | {$ENDIF} 112 | 113 | // TeeChart component is usually not shipped with Delphi 2. 114 | // But if you have it, uncomment the following line: 115 | //{$DEFINE TeeChart} 116 | 117 | //------------------- JPEG images ----------------------------------- 118 | // JPEG images - only available in Delphi 3 and above. 119 | // If you want to show jpeg images in "Picture" object, uncomment 120 | // the following line: 121 | //{$DEFINE JPEG} 122 | 123 | //------------------- RX Rich 2.0 ----------------------------------- 124 | // RX RichEdit 2.0. You should install RX Library (2.60 or above) first. 125 | //{$DEFINE RX} 126 | 127 | //------------------- Interbase Objects (IBO) components ------------ 128 | // Allows using Interbase DB's with no BDE required. 129 | // Note: this will exclude TfrDataStorage component from FR package. 130 | //{$DEFINE IBO} 131 | 132 | //------------------- Interbase Express (IBX) components ------------ 133 | // Allows using Interbase DB's in data manager with no BDE required. 134 | //{$DEFINE IBX} 135 | 136 | //------------------- ActiveX Data Objects (ADO) components --------- 137 | // Allows using any DB's in data manager with no BDE required. 138 | //{$DEFINE ADO} 139 | 140 | //------------------- Script editor with syntax highlightning ------- 141 | // To use syntax highlightning in script editor, you should install 142 | // TSyntaxMemo component by David Brock first. 143 | // (http://users.colloquium.co.uk/~dbrock/synmemo/synmemo.htm 144 | // e-mail: dbrock@cqm.co.uk) 145 | //{$DEFINE SYNTMEMO} 146 | 147 | //------------------------------------------------------------------- 148 | {$IFDEF IBX} 149 | {$UNDEF BDE} 150 | {$UNDEF IBO} 151 | {$UNDEF ADO} 152 | {$ENDIF} 153 | 154 | {$IFDEF IBO} 155 | {$UNDEF BDE} 156 | {$UNDEF IBX} 157 | {$UNDEF ADO} 158 | {$ENDIF} 159 | 160 | {$IFDEF ADO} 161 | {$UNDEF BDE} 162 | {$UNDEF IBX} 163 | {$UNDEF IBO} 164 | {$ENDIF} -------------------------------------------------------------------------------- /Source/FRD_DB.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_DB.DFM -------------------------------------------------------------------------------- /Source/FRD_FLDE.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_FLDE.DFM -------------------------------------------------------------------------------- /Source/FRD_FLDL.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_FLDL.DFM -------------------------------------------------------------------------------- /Source/FRD_FORM.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_FORM.DFM -------------------------------------------------------------------------------- /Source/FRD_LIST.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_LIST.DFM -------------------------------------------------------------------------------- /Source/FRD_LOOK.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_LOOK.DFM -------------------------------------------------------------------------------- /Source/FRD_MD.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_MD.DFM -------------------------------------------------------------------------------- /Source/FRD_PARM.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_PARM.DFM -------------------------------------------------------------------------------- /Source/FRD_PROP.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_PROP.DFM -------------------------------------------------------------------------------- /Source/FRD_QRY.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_QRY.DFM -------------------------------------------------------------------------------- /Source/FRD_TBL.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_TBL.DFM -------------------------------------------------------------------------------- /Source/FRD_TBL1.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FRD_TBL1.DFM -------------------------------------------------------------------------------- /Source/FREEREP10.dpk: -------------------------------------------------------------------------------- 1 | // Package file for Delphi 10 2 | 3 | package FreeRep10; 4 | 5 | {$R *.res} 6 | {$R 'FR_reg.dcr'} 7 | {$ALIGN 8} 8 | {$ASSERTIONS ON} 9 | {$BOOLEVAL OFF} 10 | {$DEBUGINFO ON} 11 | {$EXTENDEDSYNTAX ON} 12 | {$IMPORTEDDATA ON} 13 | {$IOCHECKS ON} 14 | {$LOCALSYMBOLS ON} 15 | {$LONGSTRINGS ON} 16 | {$OPENSTRINGS ON} 17 | {$OPTIMIZATION ON} 18 | {$OVERFLOWCHECKS OFF} 19 | {$RANGECHECKS OFF} 20 | {$REFERENCEINFO ON} 21 | {$SAFEDIVIDE OFF} 22 | {$STACKFRAMES OFF} 23 | {$TYPEDADDRESS OFF} 24 | {$VARSTRINGCHECKS ON} 25 | {$WRITEABLECONST ON} 26 | {$MINENUMSIZE 1} 27 | {$IMAGEBASE $400000} 28 | {$DESCRIPTION 'FreeReport 2.33 Components'} 29 | {$IMPLICITBUILD OFF} 30 | 31 | requires 32 | VCL, 33 | DESIGNIDE, 34 | VCLSMP 35 | {$IFDEF IBO} 36 | , IBO_D9 37 | {$ELSE} 38 | , VCLDB 39 | {$ENDIF} 40 | 41 | {$IFDEF TeeChart}, TEE {$ENDIF} 42 | {$IFDEF RX}, RXCTL9 {$ENDIF} 43 | {$IFDEF JPEG}, VCLJPG {$ENDIF} 44 | {$IFDEF BDE}, BDERTL {$ENDIF} 45 | {$IFDEF IBX}, IBEXPRESS {$ENDIF} 46 | {$IFDEF ADO}, ADORTL {$ENDIF}; 47 | 48 | 49 | contains 50 | FR_reg in 'Fr_reg.pas', 51 | barcode in 'barcode.pas', 52 | fr_class in 'fr_class.pas', 53 | fr_const in 'fr_const.pas', 54 | fr_prntr in 'fr_prntr.pas', 55 | fr_pars in 'fr_pars.pas', 56 | fr_about in 'fr_about.pas', 57 | fr_barc in 'fr_barc.pas', 58 | fr_bnded in 'fr_bnded.pas', 59 | fr_btyp in 'fr_btyp.pas', 60 | {$IFDEF TeeChart} 61 | fr_chart in 'fr_chart.pas', 62 | {$ENDIF} 63 | fr_chbox in 'fr_chbox.pas', 64 | fr_color in 'fr_color.pas', 65 | fr_ctrls in 'fr_ctrls.pas', 66 | fr_dbop in 'fr_dbop.pas', 67 | fr_dbrel in 'fr_dbrel.pas', 68 | fr_dbset in 'fr_dbset.pas', 69 | fr_desgn in 'fr_desgn.pas', 70 | fr_dock in 'fr_dock.pas', 71 | fr_dopt in 'fr_dopt.pas', 72 | fr_dset in 'fr_dset.pas', 73 | fr_dsopt in 'fr_dsopt.pas', 74 | {$IFDEF SYNTMEMO} 75 | fr_sntxe in 'fr_sntxe.pas', 76 | {$ELSE} 77 | fr_edit in 'fr_edit.pas', 78 | {$ENDIF} 79 | fr_e_txt in 'fr_e_txt.pas', 80 | fr_e_rtf in 'fr_e_rtf.pas', 81 | fr_e_csv in 'fr_e_csv.pas', 82 | fr_e_htm in 'fr_e_htm.pas', 83 | fr_ev_ed in 'fr_ev_ed.pas', 84 | fr_flds in 'fr_flds.pas', 85 | fr_fmted in 'fr_fmted.pas', 86 | fr_gedit in 'fr_gedit.pas', 87 | fr_grped in 'fr_grped.pas', 88 | fr_hilit in 'fr_hilit.pas', 89 | fr_iflds in 'fr_iflds.pas', 90 | fr_insp in 'fr_insp.pas', 91 | fr_intrp in 'fr_intrp.pas', 92 | fr_newrp in 'fr_newrp.pas', 93 | fr_ole in 'fr_ole.pas', 94 | fr_pgopt in 'fr_pgopt.pas', 95 | fr_prdlg in 'fr_prdlg.pas', 96 | fr_progr in 'fr_progr.pas', 97 | fr_rich in 'fr_rich.pas', 98 | fr_rrect in 'fr_rrect.pas', 99 | {$IFDEF RX} 100 | fr_rxrtf in 'fr_rxrtf.pas', 101 | {$ENDIF} 102 | fr_shape in 'fr_shape.pas', 103 | fr_srch in 'fr_srch.pas', 104 | fr_templ in 'fr_templ.pas', 105 | fr_utils in 'fr_utils.pas', 106 | fr_var in 'fr_var.pas', 107 | fr_vared in 'fr_vared.pas', 108 | fr_vbnd in 'fr_vbnd.pas', 109 | fr_view in 'fr_view.pas'; 110 | 111 | 112 | end. 113 | -------------------------------------------------------------------------------- /Source/FREEREP10.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FREEREP10.res -------------------------------------------------------------------------------- /Source/FREEREP3.DPK: -------------------------------------------------------------------------------- 1 | // Package file for Delphi 3 2 | 3 | package Freerep3; 4 | 5 | {$R *.RES} 6 | {$R 'FR_reg.dcr'} 7 | {$I FR.inc} 8 | 9 | {$DESCRIPTION 'FreeReport 2.33 Components'} 10 | {$ALIGN ON} 11 | {$ASSERTIONS ON} 12 | {$BOOLEVAL OFF} 13 | {$DEBUGINFO ON} 14 | {$EXTENDEDSYNTAX ON} 15 | {$IMPORTEDDATA ON} 16 | {$IOCHECKS ON} 17 | {$LOCALSYMBOLS ON} 18 | {$LONGSTRINGS ON} 19 | {$OPENSTRINGS ON} 20 | {$OPTIMIZATION ON} 21 | {$OVERFLOWCHECKS OFF} 22 | {$RANGECHECKS OFF} 23 | {$REFERENCEINFO OFF} 24 | {$SAFEDIVIDE OFF} 25 | {$STACKFRAMES OFF} 26 | {$TYPEDADDRESS OFF} 27 | {$VARSTRINGCHECKS ON} 28 | {$WRITEABLECONST ON} 29 | {$MINENUMSIZE 1} 30 | {$IMAGEBASE $00400000} 31 | {$IMPLICITBUILD ON} 32 | 33 | requires 34 | VCL30, 35 | {$IFDEF IBO} 36 | IBO_D3, 37 | {$ELSE} 38 | VCLDB30, 39 | {$ENDIF} 40 | VCLSMP30 41 | {$IFDEF TeeChart} 42 | , TEE30 43 | {$ENDIF} 44 | {$IFDEF RX} 45 | , RXCTL 46 | {$ENDIF}; 47 | 48 | contains 49 | FR_reg, 50 | barcode, 51 | fr_class, 52 | fr_const, 53 | fr_prntr, 54 | fr_pars, 55 | fr_about, 56 | fr_barc, 57 | fr_bnded, 58 | fr_btyp, 59 | {$IFDEF TeeChart} 60 | fr_chart, 61 | {$ENDIF} 62 | fr_chbox, 63 | fr_color, 64 | fr_ctrls, 65 | fr_dbop, 66 | fr_dbrel, 67 | fr_dbset, 68 | fr_desgn, 69 | fr_dock, 70 | fr_dopt, 71 | fr_dset, 72 | fr_dsopt, 73 | {$IFDEF SYNTMEMO} 74 | fr_sntxe, 75 | {$ELSE} 76 | fr_edit, 77 | {$ENDIF} 78 | fr_e_txt, 79 | fr_e_rtf, 80 | fr_e_csv, 81 | fr_e_htm, 82 | fr_ev_ed, 83 | fr_flds, 84 | fr_fmted, 85 | fr_gedit, 86 | fr_grped, 87 | fr_hilit, 88 | fr_iflds, 89 | fr_insp, 90 | fr_intrp, 91 | fr_newrp, 92 | fr_ole, 93 | fr_pgopt, 94 | fr_prdlg, 95 | fr_progr, 96 | fr_rich, 97 | fr_rrect, 98 | {$IFDEF RX} 99 | fr_rxrtf, 100 | {$ENDIF} 101 | fr_shape, 102 | fr_srch, 103 | fr_templ, 104 | fr_utils, 105 | fr_var, 106 | fr_vared, 107 | fr_vbnd, 108 | fr_view; 109 | 110 | end. 111 | -------------------------------------------------------------------------------- /Source/FREEREP4.DPK: -------------------------------------------------------------------------------- 1 | // Package file for Delphi 4 2 | 3 | package Fastrep4; 4 | 5 | {$R 'FR_reg.dcr'} 6 | {$I FR.inc} 7 | 8 | {$DESCRIPTION 'FreeReport 2.33 Components'} 9 | {$ALIGN ON} 10 | {$ASSERTIONS ON} 11 | {$BOOLEVAL OFF} 12 | {$DEBUGINFO ON} 13 | {$EXTENDEDSYNTAX ON} 14 | {$IMPORTEDDATA ON} 15 | {$IOCHECKS ON} 16 | {$LOCALSYMBOLS ON} 17 | {$LONGSTRINGS ON} 18 | {$OPENSTRINGS ON} 19 | {$OPTIMIZATION ON} 20 | {$OVERFLOWCHECKS OFF} 21 | {$RANGECHECKS OFF} 22 | {$REFERENCEINFO ON} 23 | {$SAFEDIVIDE OFF} 24 | {$STACKFRAMES OFF} 25 | {$TYPEDADDRESS OFF} 26 | {$VARSTRINGCHECKS ON} 27 | {$WRITEABLECONST ON} 28 | {$MINENUMSIZE 1} 29 | {$IMAGEBASE $00400000} 30 | {$IMPLICITBUILD OFF} 31 | 32 | requires 33 | VCL40, 34 | {$IFDEF IBO} 35 | IBO_D4, 36 | {$ELSE} 37 | VCLDB40, 38 | {$ENDIF} 39 | VCLSMP40 40 | {$IFDEF TeeChart} 41 | , TEE40 42 | {$ENDIF} 43 | {$IFDEF RX} 44 | , RXCTL4 45 | {$ENDIF} 46 | {$IFDEF JPEG} 47 | , VCLJPG40 48 | {$ENDIF}; 49 | 50 | contains 51 | FR_reg in 'Fr_reg.pas', 52 | barcode in 'barcode.pas', 53 | fr_class in 'fr_class.pas', 54 | fr_const in 'fr_const.pas', 55 | fr_prntr in 'fr_prntr.pas', 56 | fr_pars in 'fr_pars.pas', 57 | fr_about in 'fr_about.pas', 58 | fr_barc in 'fr_barc.pas', 59 | fr_bnded in 'fr_bnded.pas', 60 | fr_btyp in 'fr_btyp.pas', 61 | {$IFDEF TeeChart} 62 | fr_chart in 'fr_chart.pas', 63 | {$ENDIF} 64 | fr_chbox in 'fr_chbox.pas', 65 | fr_color in 'fr_color.pas', 66 | fr_ctrls in 'fr_ctrls.pas', 67 | fr_dbop in 'fr_dbop.pas', 68 | fr_dbrel in 'fr_dbrel.pas', 69 | fr_dbset in 'fr_dbset.pas', 70 | fr_desgn in 'fr_desgn.pas', 71 | fr_dock in 'fr_dock.pas', 72 | fr_dopt in 'fr_dopt.pas', 73 | fr_dset in 'fr_dset.pas', 74 | fr_dsopt in 'fr_dsopt.pas', 75 | {$IFDEF SYNTMEMO} 76 | fr_sntxe in 'fr_sntxe.pas', 77 | {$ELSE} 78 | fr_edit in 'fr_edit.pas', 79 | {$ENDIF} 80 | fr_e_txt in 'fr_e_txt.pas', 81 | fr_e_rtf in 'fr_e_rtf.pas', 82 | fr_e_csv in 'fr_e_csv.pas', 83 | fr_e_htm in 'fr_e_htm.pas', 84 | fr_ev_ed in 'fr_ev_ed.pas', 85 | fr_flds in 'fr_flds.pas', 86 | fr_fmted in 'fr_fmted.pas', 87 | fr_gedit in 'fr_gedit.pas', 88 | fr_grped in 'fr_grped.pas', 89 | fr_hilit in 'fr_hilit.pas', 90 | fr_iflds in 'fr_iflds.pas', 91 | fr_insp in 'fr_insp.pas', 92 | fr_intrp in 'fr_intrp.pas', 93 | fr_newrp in 'fr_newrp.pas', 94 | fr_ole in 'fr_ole.pas', 95 | fr_pgopt in 'fr_pgopt.pas', 96 | fr_prdlg in 'fr_prdlg.pas', 97 | fr_progr in 'fr_progr.pas', 98 | fr_rich in 'fr_rich.pas', 99 | fr_rrect in 'fr_rrect.pas', 100 | {$IFDEF RX} 101 | fr_rxrtf in 'fr_rxrtf.pas', 102 | {$ENDIF} 103 | fr_shape in 'fr_shape.pas', 104 | fr_srch in 'fr_srch.pas', 105 | fr_templ in 'fr_templ.pas', 106 | fr_utils in 'fr_utils.pas', 107 | fr_var in 'fr_var.pas', 108 | fr_vared in 'fr_vared.pas', 109 | fr_vbnd in 'fr_vbnd.pas', 110 | fr_view in 'fr_view.pas'; 111 | 112 | 113 | end. 114 | -------------------------------------------------------------------------------- /Source/FREEREP5.DPK: -------------------------------------------------------------------------------- 1 | // Package file for Delphi 5 2 | 3 | package Fastrep5; 4 | 5 | {$R 'FR_reg.dcr'} 6 | {$I FR.inc} 7 | 8 | {$DESCRIPTION 'FreeReport 2.33 Components'} 9 | {$ALIGN ON} 10 | {$ASSERTIONS ON} 11 | {$BOOLEVAL OFF} 12 | {$DEBUGINFO ON} 13 | {$EXTENDEDSYNTAX ON} 14 | {$IMPORTEDDATA ON} 15 | {$IOCHECKS ON} 16 | {$LOCALSYMBOLS ON} 17 | {$LONGSTRINGS ON} 18 | {$OPENSTRINGS ON} 19 | {$OPTIMIZATION ON} 20 | {$OVERFLOWCHECKS OFF} 21 | {$RANGECHECKS OFF} 22 | {$REFERENCEINFO ON} 23 | {$SAFEDIVIDE OFF} 24 | {$STACKFRAMES OFF} 25 | {$TYPEDADDRESS OFF} 26 | {$VARSTRINGCHECKS ON} 27 | {$WRITEABLECONST ON} 28 | {$MINENUMSIZE 1} 29 | {$IMAGEBASE $00400000} 30 | {$IMPLICITBUILD OFF} 31 | 32 | requires 33 | VCL50, 34 | {$IFDEF IBO} 35 | IBO_D5, 36 | {$ELSE} 37 | VCLDB50, 38 | {$ENDIF} 39 | VCLSMP50 40 | {$IFDEF TeeChart} 41 | , TEE50 42 | {$ENDIF} 43 | {$IFDEF RX} 44 | , RXCTL5 45 | {$ENDIF} 46 | {$IFDEF JPEG} 47 | , VCLJPG50 48 | {$ENDIF} 49 | {$IFDEF BDE} 50 | , VCLBDE50 51 | {$ENDIF} 52 | {$IFDEF IBX} 53 | , VCLIB50 54 | {$ENDIF} 55 | {$IFDEF ADO} 56 | , VCLADO50 57 | {$ENDIF}; 58 | 59 | contains 60 | FR_reg in 'Fr_reg.pas', 61 | barcode in 'barcode.pas', 62 | fr_class in 'fr_class.pas', 63 | fr_const in 'fr_const.pas', 64 | fr_prntr in 'fr_prntr.pas', 65 | fr_pars in 'fr_pars.pas', 66 | fr_about in 'fr_about.pas', 67 | fr_barc in 'fr_barc.pas', 68 | fr_bnded in 'fr_bnded.pas', 69 | fr_btyp in 'fr_btyp.pas', 70 | {$IFDEF TeeChart} 71 | fr_chart in 'fr_chart.pas', 72 | {$ENDIF} 73 | fr_chbox in 'fr_chbox.pas', 74 | fr_color in 'fr_color.pas', 75 | fr_ctrls in 'fr_ctrls.pas', 76 | fr_dbop in 'fr_dbop.pas', 77 | fr_dbrel in 'fr_dbrel.pas', 78 | fr_dbset in 'fr_dbset.pas', 79 | fr_desgn in 'fr_desgn.pas', 80 | fr_dock in 'fr_dock.pas', 81 | fr_dopt in 'fr_dopt.pas', 82 | fr_dset in 'fr_dset.pas', 83 | fr_dsopt in 'fr_dsopt.pas', 84 | {$IFDEF SYNTMEMO} 85 | fr_sntxe in 'fr_sntxe.pas', 86 | {$ELSE} 87 | fr_edit in 'fr_edit.pas', 88 | {$ENDIF} 89 | fr_e_txt in 'fr_e_txt.pas', 90 | fr_e_rtf in 'fr_e_rtf.pas', 91 | fr_e_csv in 'fr_e_csv.pas', 92 | fr_e_htm in 'fr_e_htm.pas', 93 | fr_ev_ed in 'fr_ev_ed.pas', 94 | fr_flds in 'fr_flds.pas', 95 | fr_fmted in 'fr_fmted.pas', 96 | fr_gedit in 'fr_gedit.pas', 97 | fr_grped in 'fr_grped.pas', 98 | fr_hilit in 'fr_hilit.pas', 99 | fr_iflds in 'fr_iflds.pas', 100 | fr_insp in 'fr_insp.pas', 101 | fr_intrp in 'fr_intrp.pas', 102 | fr_newrp in 'fr_newrp.pas', 103 | fr_ole in 'fr_ole.pas', 104 | fr_pgopt in 'fr_pgopt.pas', 105 | fr_prdlg in 'fr_prdlg.pas', 106 | fr_progr in 'fr_progr.pas', 107 | fr_rich in 'fr_rich.pas', 108 | fr_rrect in 'fr_rrect.pas', 109 | {$IFDEF RX} 110 | fr_rxrtf in 'fr_rxrtf.pas', 111 | {$ENDIF} 112 | fr_shape in 'fr_shape.pas', 113 | fr_srch in 'fr_srch.pas', 114 | fr_templ in 'fr_templ.pas', 115 | fr_utils in 'fr_utils.pas', 116 | fr_var in 'fr_var.pas', 117 | fr_vared in 'fr_vared.pas', 118 | fr_vbnd in 'fr_vbnd.pas', 119 | fr_view in 'fr_view.pas'; 120 | 121 | 122 | end. 123 | -------------------------------------------------------------------------------- /Source/FREEREP6.DPK: -------------------------------------------------------------------------------- 1 | // Package file for Delphi 6 2 | 3 | package FreeRep6; 4 | 5 | {$R 'FR_reg.dcr'} 6 | {$I FR.inc} 7 | 8 | {$DESCRIPTION 'FreeReport 2.33 Components'} 9 | {$ALIGN ON} 10 | {$ASSERTIONS ON} 11 | {$BOOLEVAL OFF} 12 | {$DEBUGINFO ON} 13 | {$EXTENDEDSYNTAX ON} 14 | {$IMPORTEDDATA ON} 15 | {$IOCHECKS ON} 16 | {$LOCALSYMBOLS ON} 17 | {$LONGSTRINGS ON} 18 | {$OPENSTRINGS ON} 19 | {$OPTIMIZATION ON} 20 | {$OVERFLOWCHECKS OFF} 21 | {$RANGECHECKS OFF} 22 | {$REFERENCEINFO ON} 23 | {$SAFEDIVIDE OFF} 24 | {$STACKFRAMES OFF} 25 | {$TYPEDADDRESS OFF} 26 | {$VARSTRINGCHECKS ON} 27 | {$WRITEABLECONST ON} 28 | {$MINENUMSIZE 1} 29 | {$IMAGEBASE $00400000} 30 | {$IMPLICITBUILD OFF} 31 | 32 | requires 33 | VCL, 34 | DESIGNIDE, 35 | VCLSMP 36 | {$IFDEF IBO} 37 | , IBO_D6 38 | {$ELSE} 39 | , VCLDB 40 | {$ENDIF} 41 | 42 | {$IFDEF TeeChart}, TEE {$ENDIF} 43 | {$IFDEF RX}, RXCTL6 {$ENDIF} 44 | {$IFDEF JPEG}, VCLJPG {$ENDIF} 45 | {$IFDEF BDE}, BDERTL {$ENDIF} 46 | {$IFDEF IBX}, IBEXPRESS {$ENDIF} 47 | {$IFDEF ADO}, ADORTL {$ENDIF}; 48 | 49 | 50 | contains 51 | FR_reg in 'Fr_reg.pas', 52 | barcode in 'barcode.pas', 53 | fr_class in 'fr_class.pas', 54 | fr_const in 'fr_const.pas', 55 | fr_prntr in 'fr_prntr.pas', 56 | fr_pars in 'fr_pars.pas', 57 | fr_about in 'fr_about.pas', 58 | fr_barc in 'fr_barc.pas', 59 | fr_bnded in 'fr_bnded.pas', 60 | fr_btyp in 'fr_btyp.pas', 61 | {$IFDEF TeeChart} 62 | fr_chart in 'fr_chart.pas', 63 | {$ENDIF} 64 | fr_chbox in 'fr_chbox.pas', 65 | fr_color in 'fr_color.pas', 66 | fr_ctrls in 'fr_ctrls.pas', 67 | fr_dbop in 'fr_dbop.pas', 68 | fr_dbrel in 'fr_dbrel.pas', 69 | fr_dbset in 'fr_dbset.pas', 70 | fr_desgn in 'fr_desgn.pas', 71 | fr_dock in 'fr_dock.pas', 72 | fr_dopt in 'fr_dopt.pas', 73 | fr_dset in 'fr_dset.pas', 74 | fr_dsopt in 'fr_dsopt.pas', 75 | {$IFDEF SYNTMEMO} 76 | fr_sntxe in 'fr_sntxe.pas', 77 | {$ELSE} 78 | fr_edit in 'fr_edit.pas', 79 | {$ENDIF} 80 | fr_e_txt in 'fr_e_txt.pas', 81 | fr_e_rtf in 'fr_e_rtf.pas', 82 | fr_e_csv in 'fr_e_csv.pas', 83 | fr_e_htm in 'fr_e_htm.pas', 84 | fr_ev_ed in 'fr_ev_ed.pas', 85 | fr_flds in 'fr_flds.pas', 86 | fr_fmted in 'fr_fmted.pas', 87 | fr_gedit in 'fr_gedit.pas', 88 | fr_grped in 'fr_grped.pas', 89 | fr_hilit in 'fr_hilit.pas', 90 | fr_iflds in 'fr_iflds.pas', 91 | fr_insp in 'fr_insp.pas', 92 | fr_intrp in 'fr_intrp.pas', 93 | fr_newrp in 'fr_newrp.pas', 94 | fr_ole in 'fr_ole.pas', 95 | fr_pgopt in 'fr_pgopt.pas', 96 | fr_prdlg in 'fr_prdlg.pas', 97 | fr_progr in 'fr_progr.pas', 98 | fr_rich in 'fr_rich.pas', 99 | fr_rrect in 'fr_rrect.pas', 100 | {$IFDEF RX} 101 | fr_rxrtf in 'fr_rxrtf.pas', 102 | {$ENDIF} 103 | fr_shape in 'fr_shape.pas', 104 | fr_srch in 'fr_srch.pas', 105 | fr_templ in 'fr_templ.pas', 106 | fr_utils in 'fr_utils.pas', 107 | fr_var in 'fr_var.pas', 108 | fr_vared in 'fr_vared.pas', 109 | fr_vbnd in 'fr_vbnd.pas', 110 | fr_view in 'fr_view.pas'; 111 | 112 | 113 | end. 114 | -------------------------------------------------------------------------------- /Source/FREEREP7.DPK: -------------------------------------------------------------------------------- 1 | // Package file for Delphi 7 2 | 3 | package FreeRep7; 4 | 5 | {$R 'FR_reg.dcr'} 6 | {$I FR.inc} 7 | 8 | {$DESCRIPTION 'FreeReport 2.33 Components'} 9 | {$ALIGN ON} 10 | {$ASSERTIONS ON} 11 | {$BOOLEVAL OFF} 12 | {$DEBUGINFO ON} 13 | {$EXTENDEDSYNTAX ON} 14 | {$IMPORTEDDATA ON} 15 | {$IOCHECKS ON} 16 | {$LOCALSYMBOLS ON} 17 | {$LONGSTRINGS ON} 18 | {$OPENSTRINGS ON} 19 | {$OPTIMIZATION ON} 20 | {$OVERFLOWCHECKS OFF} 21 | {$RANGECHECKS OFF} 22 | {$REFERENCEINFO ON} 23 | {$SAFEDIVIDE OFF} 24 | {$STACKFRAMES OFF} 25 | {$TYPEDADDRESS OFF} 26 | {$VARSTRINGCHECKS ON} 27 | {$WRITEABLECONST ON} 28 | {$MINENUMSIZE 1} 29 | {$IMAGEBASE $00400000} 30 | {$IMPLICITBUILD OFF} 31 | 32 | requires 33 | VCL, 34 | DESIGNIDE, 35 | VCLSMP 36 | {$IFDEF IBO} 37 | , IBO_D6 38 | {$ELSE} 39 | , VCLDB 40 | {$ENDIF} 41 | 42 | {$IFDEF TeeChart}, TEE {$ENDIF} 43 | {$IFDEF RX}, RXCTL6 {$ENDIF} 44 | {$IFDEF JPEG}, VCLJPG {$ENDIF} 45 | {$IFDEF BDE}, BDERTL {$ENDIF} 46 | {$IFDEF IBX}, IBEXPRESS {$ENDIF} 47 | {$IFDEF ADO}, ADORTL {$ENDIF}; 48 | 49 | 50 | contains 51 | FR_reg in 'Fr_reg.pas', 52 | barcode in 'barcode.pas', 53 | fr_class in 'fr_class.pas', 54 | fr_const in 'fr_const.pas', 55 | fr_prntr in 'fr_prntr.pas', 56 | fr_pars in 'fr_pars.pas', 57 | fr_about in 'fr_about.pas', 58 | fr_barc in 'fr_barc.pas', 59 | fr_bnded in 'fr_bnded.pas', 60 | fr_btyp in 'fr_btyp.pas', 61 | {$IFDEF TeeChart} 62 | fr_chart in 'fr_chart.pas', 63 | {$ENDIF} 64 | fr_chbox in 'fr_chbox.pas', 65 | fr_color in 'fr_color.pas', 66 | fr_ctrls in 'fr_ctrls.pas', 67 | fr_dbop in 'fr_dbop.pas', 68 | fr_dbrel in 'fr_dbrel.pas', 69 | fr_dbset in 'fr_dbset.pas', 70 | fr_desgn in 'fr_desgn.pas', 71 | fr_dock in 'fr_dock.pas', 72 | fr_dopt in 'fr_dopt.pas', 73 | fr_dset in 'fr_dset.pas', 74 | fr_dsopt in 'fr_dsopt.pas', 75 | {$IFDEF SYNTMEMO} 76 | fr_sntxe in 'fr_sntxe.pas', 77 | {$ELSE} 78 | fr_edit in 'fr_edit.pas', 79 | {$ENDIF} 80 | fr_e_txt in 'fr_e_txt.pas', 81 | fr_e_rtf in 'fr_e_rtf.pas', 82 | fr_e_csv in 'fr_e_csv.pas', 83 | fr_e_htm in 'fr_e_htm.pas', 84 | fr_ev_ed in 'fr_ev_ed.pas', 85 | fr_flds in 'fr_flds.pas', 86 | fr_fmted in 'fr_fmted.pas', 87 | fr_gedit in 'fr_gedit.pas', 88 | fr_grped in 'fr_grped.pas', 89 | fr_hilit in 'fr_hilit.pas', 90 | fr_iflds in 'fr_iflds.pas', 91 | fr_insp in 'fr_insp.pas', 92 | fr_intrp in 'fr_intrp.pas', 93 | fr_newrp in 'fr_newrp.pas', 94 | fr_ole in 'fr_ole.pas', 95 | fr_pgopt in 'fr_pgopt.pas', 96 | fr_prdlg in 'fr_prdlg.pas', 97 | fr_progr in 'fr_progr.pas', 98 | fr_rich in 'fr_rich.pas', 99 | fr_rrect in 'fr_rrect.pas', 100 | {$IFDEF RX} 101 | fr_rxrtf in 'fr_rxrtf.pas', 102 | {$ENDIF} 103 | fr_shape in 'fr_shape.pas', 104 | fr_srch in 'fr_srch.pas', 105 | fr_templ in 'fr_templ.pas', 106 | fr_utils in 'fr_utils.pas', 107 | fr_var in 'fr_var.pas', 108 | fr_vared in 'fr_vared.pas', 109 | fr_vbnd in 'fr_vbnd.pas', 110 | fr_view in 'fr_view.pas'; 111 | 112 | 113 | end. 114 | -------------------------------------------------------------------------------- /Source/FREEREP9.DPK: -------------------------------------------------------------------------------- 1 | // Package file for Delphi 9 2 | 3 | package FreeRep9; 4 | 5 | {$R 'FR_reg.dcr'} 6 | {$I FR.inc} 7 | 8 | {$DESCRIPTION 'FreeReport 2.32 Components'} 9 | {$ALIGN ON} 10 | {$ASSERTIONS ON} 11 | {$BOOLEVAL OFF} 12 | {$DEBUGINFO ON} 13 | {$EXTENDEDSYNTAX ON} 14 | {$IMPORTEDDATA ON} 15 | {$IOCHECKS ON} 16 | {$LOCALSYMBOLS ON} 17 | {$LONGSTRINGS ON} 18 | {$OPENSTRINGS ON} 19 | {$OPTIMIZATION ON} 20 | {$OVERFLOWCHECKS OFF} 21 | {$RANGECHECKS OFF} 22 | {$REFERENCEINFO ON} 23 | {$SAFEDIVIDE OFF} 24 | {$STACKFRAMES OFF} 25 | {$TYPEDADDRESS OFF} 26 | {$VARSTRINGCHECKS ON} 27 | {$WRITEABLECONST ON} 28 | {$MINENUMSIZE 1} 29 | {$IMAGEBASE $00400000} 30 | {$IMPLICITBUILD OFF} 31 | 32 | requires 33 | VCL, 34 | DESIGNIDE, 35 | VCLSMP 36 | {$IFDEF IBO} 37 | , IBO_D9 38 | {$ELSE} 39 | , VCLDB 40 | {$ENDIF} 41 | 42 | {$IFDEF TeeChart}, TEE {$ENDIF} 43 | {$IFDEF RX}, RXCTL9 {$ENDIF} 44 | {$IFDEF JPEG}, VCLJPG {$ENDIF} 45 | {$IFDEF BDE}, BDERTL {$ENDIF} 46 | {$IFDEF IBX}, IBEXPRESS {$ENDIF} 47 | {$IFDEF ADO}, ADORTL {$ENDIF}; 48 | 49 | 50 | contains 51 | FR_reg in 'Fr_reg.pas', 52 | barcode in 'barcode.pas', 53 | fr_class in 'fr_class.pas', 54 | fr_const in 'fr_const.pas', 55 | fr_prntr in 'fr_prntr.pas', 56 | fr_pars in 'fr_pars.pas', 57 | fr_about in 'fr_about.pas', 58 | fr_barc in 'fr_barc.pas', 59 | fr_bnded in 'fr_bnded.pas', 60 | fr_btyp in 'fr_btyp.pas', 61 | {$IFDEF TeeChart} 62 | fr_chart in 'fr_chart.pas', 63 | {$ENDIF} 64 | fr_chbox in 'fr_chbox.pas', 65 | fr_color in 'fr_color.pas', 66 | fr_ctrls in 'fr_ctrls.pas', 67 | fr_dbop in 'fr_dbop.pas', 68 | fr_dbrel in 'fr_dbrel.pas', 69 | fr_dbset in 'fr_dbset.pas', 70 | fr_desgn in 'fr_desgn.pas', 71 | fr_dock in 'fr_dock.pas', 72 | fr_dopt in 'fr_dopt.pas', 73 | fr_dset in 'fr_dset.pas', 74 | fr_dsopt in 'fr_dsopt.pas', 75 | {$IFDEF SYNTMEMO} 76 | fr_sntxe in 'fr_sntxe.pas', 77 | {$ELSE} 78 | fr_edit in 'fr_edit.pas', 79 | {$ENDIF} 80 | fr_e_txt in 'fr_e_txt.pas', 81 | fr_e_rtf in 'fr_e_rtf.pas', 82 | fr_e_csv in 'fr_e_csv.pas', 83 | fr_e_htm in 'fr_e_htm.pas', 84 | fr_ev_ed in 'fr_ev_ed.pas', 85 | fr_flds in 'fr_flds.pas', 86 | fr_fmted in 'fr_fmted.pas', 87 | fr_gedit in 'fr_gedit.pas', 88 | fr_grped in 'fr_grped.pas', 89 | fr_hilit in 'fr_hilit.pas', 90 | fr_iflds in 'fr_iflds.pas', 91 | fr_insp in 'fr_insp.pas', 92 | fr_intrp in 'fr_intrp.pas', 93 | fr_newrp in 'fr_newrp.pas', 94 | fr_ole in 'fr_ole.pas', 95 | fr_pgopt in 'fr_pgopt.pas', 96 | fr_prdlg in 'fr_prdlg.pas', 97 | fr_progr in 'fr_progr.pas', 98 | fr_rich in 'fr_rich.pas', 99 | fr_rrect in 'fr_rrect.pas', 100 | {$IFDEF RX} 101 | fr_rxrtf in 'fr_rxrtf.pas', 102 | {$ENDIF} 103 | fr_shape in 'fr_shape.pas', 104 | fr_srch in 'fr_srch.pas', 105 | fr_templ in 'fr_templ.pas', 106 | fr_utils in 'fr_utils.pas', 107 | fr_var in 'fr_var.pas', 108 | fr_vared in 'fr_vared.pas', 109 | fr_vbnd in 'fr_vbnd.pas', 110 | fr_view in 'fr_view.pas'; 111 | 112 | 113 | end. 114 | -------------------------------------------------------------------------------- /Source/FREEREP9.bdsproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | FREEREP9.dpk 14 | 15 | 16 | 7.0 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Source/FR_ABOUT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_ABOUT.DFM -------------------------------------------------------------------------------- /Source/FR_ABOUT.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { About window } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_About; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | ExtCtrls, StdCtrls, FR_Const; 20 | 21 | type 22 | TfrAboutForm = class(TForm) 23 | Label1: TLabel; 24 | Button1: TButton; 25 | Bevel1: TBevel; 26 | Label2: TLabel; 27 | Label3: TLabel; 28 | Label4: TLabel; 29 | Image1: TImage; 30 | Bevel2: TBevel; 31 | procedure FormCreate(Sender: TObject); 32 | private 33 | { Private declarations } 34 | public 35 | { Public declarations } 36 | end; 37 | 38 | var 39 | frAboutForm: TfrAboutForm; 40 | 41 | implementation 42 | 43 | {$R *.DFM} 44 | 45 | procedure TfrAboutForm.FormCreate(Sender: TObject); 46 | begin 47 | Caption := LoadStr(frRes + 540); 48 | Button1.Caption := LoadStr(SOk); 49 | // Label2.Caption := Label2.Caption + ' build 2'; 50 | end; 51 | 52 | end. 53 | 54 | -------------------------------------------------------------------------------- /Source/FR_BARC.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_BARC.DFM -------------------------------------------------------------------------------- /Source/FR_BNDED.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_BNDED.DFM -------------------------------------------------------------------------------- /Source/FR_BNDED.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Select Band datasource dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_BndEd; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | ExtCtrls, StdCtrls, FR_Class; 20 | 21 | type 22 | TfrBandEditorForm = class(TForm) 23 | Button1: TButton; 24 | Button2: TButton; 25 | GB1: TGroupBox; 26 | Label2: TLabel; 27 | CB1: TComboBox; 28 | Edit1: TEdit; 29 | procedure FormCreate(Sender: TObject); 30 | procedure CB1Click(Sender: TObject); 31 | private 32 | { Private declarations } 33 | procedure FillCombo; 34 | public 35 | { Public declarations } 36 | procedure ShowEditor(t: TfrView); 37 | end; 38 | 39 | var 40 | frBandEditorForm: TfrBandEditorForm; 41 | 42 | implementation 43 | 44 | {$R *.DFM} 45 | 46 | uses FR_DSet, FR_Const, FR_Utils; 47 | 48 | procedure TfrBandEditorForm.ShowEditor(t: TfrView); 49 | var 50 | i: Integer; 51 | s: String; 52 | begin 53 | FillCombo; 54 | s := (t as TfrBandView).DataSet; 55 | if (s <> '') and (s[1] in ['1'..'9']) then 56 | begin 57 | i := 1; 58 | Edit1.Text := s; 59 | end 60 | else 61 | begin 62 | i := CB1.Items.IndexOf(s); 63 | if i = -1 then 64 | i := CB1.Items.IndexOf(LoadStr(SNotAssigned)); 65 | end; 66 | CB1.ItemIndex := i; 67 | CB1Click(nil); 68 | if ShowModal = mrOk then 69 | begin 70 | frDesigner.BeforeChange; 71 | if CB1.ItemIndex = 1 then 72 | (t as TfrBandView).DataSet := Edit1.Text else 73 | (t as TfrBandView).DataSet := CB1.Items[CB1.ItemIndex]; 74 | end; 75 | end; 76 | 77 | procedure TfrBandEditorForm.FillCombo; 78 | begin 79 | frGetComponents(CurReport.Owner, TfrDataset, CB1.Items, nil); 80 | CB1.Items.Insert(0, LoadStr(SVirtualDataset)); 81 | CB1.Items.Insert(0, LoadStr(SNotAssigned)); 82 | end; 83 | 84 | procedure TfrBandEditorForm.FormCreate(Sender: TObject); 85 | begin 86 | Caption := LoadStr(frRes + 480); 87 | GB1.Caption := LoadStr(frRes + 481); 88 | Label2.Caption := LoadStr(frRes + 482); 89 | Button1.Caption := LoadStr(SOk); 90 | Button2.Caption := LoadStr(SCancel); 91 | end; 92 | 93 | procedure TfrBandEditorForm.CB1Click(Sender: TObject); 94 | begin 95 | frEnableControls([Label2, Edit1], CB1.ItemIndex = 1); 96 | end; 97 | 98 | end. 99 | 100 | -------------------------------------------------------------------------------- /Source/FR_BTYP.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_BTYP.DFM -------------------------------------------------------------------------------- /Source/FR_BTYP.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Select Band dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_BTyp; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | ExtCtrls, StdCtrls, FR_Class, FR_Const; 20 | 21 | type 22 | TfrBandTypesForm = class(TForm) 23 | Button1: TButton; 24 | GB1: TGroupBox; 25 | Button2: TButton; 26 | procedure FormCreate(Sender: TObject); 27 | private 28 | { Private declarations } 29 | procedure bClick(Sender: TObject); 30 | public 31 | { Public declarations } 32 | SelectedTyp: TfrBandType; 33 | end; 34 | 35 | var 36 | frBandTypesForm: TfrBandTypesForm; 37 | 38 | implementation 39 | 40 | uses FR_Desgn; 41 | 42 | {$R *.DFM} 43 | 44 | 45 | procedure TfrBandTypesForm.FormCreate(Sender: TObject); 46 | var 47 | b: TRadioButton; 48 | bt: TfrBandType; 49 | First: Boolean; 50 | begin 51 | First := True; 52 | for bt := btReportTitle to btCrossFooter do 53 | begin 54 | b := TRadioButton.Create(GB1); 55 | b.Parent := GB1; 56 | if Integer(bt) > 10 then 57 | begin 58 | b.Left := 130; 59 | b.Top := (Integer(bt) - 11) * 20 + 20; 60 | end 61 | else 62 | begin 63 | b.Left := 8; 64 | b.Top := Integer(bt) * 20 + 20; 65 | end; 66 | b.Tag := Integer(bt); 67 | b.Caption := frBandNames[Integer(bt)]; 68 | b.OnClick := bClick; 69 | b.Enabled := (bt in [btMasterHeader..btSubDetailFooter, 70 | btGroupHeader, btGroupFooter]) or not frCheckBand(bt); 71 | if b.Enabled and First then 72 | begin 73 | b.Checked := True; 74 | SelectedTyp := bt; 75 | First := False; 76 | end; 77 | end; 78 | Caption := LoadStr(frRes + 510); 79 | GB1.Caption := LoadStr(frRes + 511); 80 | Button1.Caption := LoadStr(SOk); 81 | Button2.Caption := LoadStr(SCancel); 82 | end; 83 | 84 | procedure TfrBandTypesForm.bClick(Sender: TObject); 85 | begin 86 | SelectedTyp := TfrBandType((Sender as TComponent).Tag); 87 | end; 88 | 89 | end. 90 | 91 | -------------------------------------------------------------------------------- /Source/FR_CHART.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_CHART.DFM -------------------------------------------------------------------------------- /Source/FR_CHBOX.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Checkbox Add-In Object } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_ChBox; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Menus, FR_Class; 19 | 20 | 21 | type 22 | TfrCheckBoxObject = class(TComponent) // fake component 23 | end; 24 | 25 | TfrCheckBoxView = class(TfrView) 26 | private 27 | procedure DrawCheck(ARect: TRect; Checked: Boolean); 28 | public 29 | constructor Create; override; 30 | procedure Draw(Canvas: TCanvas); override; 31 | procedure Print(Stream: TStream); override; 32 | procedure ExportData; override; 33 | procedure DefinePopupMenu(Popup: TPopupMenu); override; 34 | procedure SaveToFR3Stream(Stream: TStream); override; 35 | end; 36 | 37 | 38 | implementation 39 | 40 | uses FR_Intrp, FR_Pars, FR_Utils, FR_Const, FR_DBRel; 41 | 42 | {$R *.RES} 43 | 44 | procedure TfrCheckBoxView.DrawCheck(ARect: TRect; Checked: Boolean); 45 | procedure Line(x, y, x1, y1: Integer); 46 | begin 47 | Canvas.MoveTo(x, y); 48 | Canvas.LineTo(x1, y1); 49 | end; 50 | begin 51 | InflateRect(ARect, Round(-4 * ScaleX), Round(-4 * ScaleY)); 52 | with Canvas, ARect do 53 | begin 54 | Pen.Mode := pmCopy; 55 | Pen.Style := psSolid; 56 | Pen.Color := clBlack; 57 | if Checked then 58 | begin 59 | Pen.Color := clBlack; 60 | Pen.Width := Round(3 * ScaleX); 61 | Line(Left, Top, Right, Bottom); 62 | Line(Left, Bottom, Right, Top); 63 | end; 64 | end; 65 | end; 66 | 67 | constructor TfrCheckBoxView.Create; 68 | begin 69 | inherited Create; 70 | Typ := gtAddIn; 71 | FrameWidth := 2; 72 | BaseName := 'Check'; 73 | end; 74 | 75 | procedure TfrCheckBoxView.Draw(Canvas: TCanvas); 76 | var 77 | Res: Boolean; 78 | begin 79 | BeginDraw(Canvas); 80 | Memo1.Assign(Memo); 81 | CalcGaps; 82 | ShowBackground; 83 | Res := False; 84 | if (DocMode = dmPrinting) and (Memo1.Count > 0) and (Memo1[0] <> '') then 85 | Res := Memo1[0][1] <> '0'; 86 | if DocMode = dmDesigning then 87 | Res := True; 88 | DrawCheck(DRect, Res); 89 | ShowFrame; 90 | RestoreCoord; 91 | end; 92 | 93 | procedure TfrCheckBoxView.Print(Stream: TStream); 94 | begin 95 | BeginDraw(Canvas); 96 | Memo1.Assign(Memo); 97 | CurReport.InternalOnEnterRect(Memo1, Self); 98 | frInterpretator.DoScript(Script); 99 | if not Visible then Exit; 100 | 101 | if Memo1.Count > 0 then 102 | Memo1[0] := IntToStr(Trunc(frParser.Calc(Memo1[0]))); 103 | Stream.Write(Typ, 1); 104 | frWriteString(Stream, ClassName); 105 | SaveToStream(Stream); 106 | end; 107 | 108 | procedure TfrCheckBoxView.ExportData; 109 | var 110 | s: String; 111 | begin 112 | inherited; 113 | s := ''; 114 | if (Memo.Count > 0) and (Memo[0] <> '') then 115 | if Memo[0][1] <> '0' then 116 | s := 'X'; 117 | CurReport.InternalOnExportText(x, y, s, Self); 118 | end; 119 | 120 | procedure TfrCheckBoxView.DefinePopupMenu(Popup: TPopupMenu); 121 | begin 122 | // no specific items in popup menu 123 | end; 124 | 125 | 126 | 127 | var 128 | Bmp: TBitmap; 129 | 130 | procedure TfrCheckBoxView.SaveToFR3Stream(Stream: TStream); 131 | var 132 | ds: TfrTDataSet; 133 | fld: TfrTField; 134 | 135 | procedure WriteStr(const s: String); 136 | begin 137 | Stream.Write(s[1], Length(s)); 138 | end; 139 | 140 | begin 141 | inherited; 142 | 143 | // WriteStr(' CheckStyle="' + IntToStr(CheckStyle) + 144 | // '" CheckColor="' + IntToStr(CheckColor) + '"'); 145 | 146 | if Memo.Count <> 0 then 147 | begin 148 | frGetDataSetAndField(Memo[0], ds, fld); 149 | if (ds <> nil) and (fld <> nil) then 150 | WriteStr(' DataSet="' + ds.Owner.Name + '.' + ds.Name + 151 | '" DataField="' + StrToXML(fld.FieldName) + '"'); 152 | WriteStr(' Text="' + StrToXML(Memo[0]) + '"'); 153 | end; 154 | end; 155 | 156 | initialization 157 | Bmp := TBitmap.Create; 158 | Bmp.LoadFromResourceName(hInstance, 'FR_CHBOX'); 159 | frRegisterObject(TfrCheckBoxView, Bmp, LoadStr(SInsCheckBox), nil); 160 | 161 | finalization 162 | Bmp.Free; 163 | 164 | end. 165 | -------------------------------------------------------------------------------- /Source/FR_CHBOX.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_CHBOX.RES -------------------------------------------------------------------------------- /Source/FR_COLOR.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Color selector } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Color; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | SysUtils, Windows, Messages, Classes, Graphics, Controls, 19 | Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, FR_Ctrls, FR_Const; 20 | 21 | type 22 | TColorSelector = class(TPanel) 23 | private 24 | FColor: TColor; 25 | FOtherBtn: TfrSpeedButton; 26 | FOnColorSelected: TNotifyEvent; 27 | procedure ButtonClick(Sender: TObject); 28 | procedure SetColor(Value: TColor); 29 | public 30 | constructor Create(AOwner: TComponent); override; 31 | property Color: TColor read FColor write SetColor; 32 | property OnColorSelected: TNotifyEvent read FOnColorSelected write 33 | FOnColorSelected; 34 | end; 35 | 36 | implementation 37 | 38 | uses FR_Class; 39 | 40 | constructor TColorSelector.Create(AOwner: TComponent); 41 | var 42 | b: TfrSpeedButton; 43 | i,j: Integer; 44 | bmp: TBitmap; 45 | begin 46 | inherited Create(AOwner); 47 | Parent := AOwner as TWinControl; 48 | Width := 96; Height := 132; 49 | bmp := TBitmap.Create; 50 | bmp.Width := 16; bmp.Height := 17; 51 | with bmp.Canvas do 52 | begin 53 | Brush.Color := clBtnFace; 54 | FillRect(Rect(0, 0, 16, 17)); 55 | end; 56 | for i := 0 to 3 do 57 | for j := 0 to 3 do 58 | begin 59 | b := TfrSpeedButton.Create(Self); 60 | b.Parent := Self; 61 | b.SetBounds(j * 22 + 4, i * 22 + 4, 22, 22); 62 | with bmp.Canvas do 63 | begin 64 | Brush.Color := frColors[i * 4 + j]; 65 | Pen.Color := clBtnShadow; 66 | Rectangle(0, 0, 16, 16); 67 | end; 68 | b.Glyph.Assign(bmp); 69 | b.Tag := i * 4 + j; 70 | b.OnClick := ButtonClick; 71 | b.GroupIndex := 1; 72 | b.Flat := True; 73 | b.GrayedInactive := False; 74 | end; 75 | 76 | b := TfrSpeedButton.Create(Self); 77 | with b do 78 | begin 79 | Parent := Self; 80 | SetBounds(4, 92, 88, 18); 81 | Tag := 16; 82 | Caption := LoadStr(STransparent); 83 | OnClick := ButtonClick; 84 | GroupIndex := 1; 85 | Flat := True; 86 | GrayedInactive := False; 87 | end; 88 | 89 | FOtherBtn := TfrSpeedButton.Create(Self); 90 | with FOtherBtn do 91 | begin 92 | Parent := Self; 93 | SetBounds(4, 110, 88, 18); 94 | Tag := 17; 95 | Caption := LoadStr(SOther); 96 | OnClick := ButtonClick; 97 | GroupIndex := 1; 98 | Flat := True; 99 | GrayedInactive := False; 100 | end; 101 | bmp.Free; 102 | end; 103 | 104 | procedure TColorSelector.ButtonClick(Sender: TObject); 105 | var 106 | cd: TColorDialog; 107 | i: Integer; 108 | begin 109 | i := (Sender as TfrSpeedButton).Tag; 110 | case i of 111 | 0..15: FColor := frColors[i]; 112 | 16: FColor := clNone; 113 | 17: 114 | begin 115 | cd := TColorDialog.Create(Self); 116 | cd.Options := [cdFullOpen]; 117 | if cd.Execute then FColor := cd.Color else Exit; 118 | end; 119 | end; 120 | Hide; 121 | if Assigned(FOnColorSelected) then FOnColorSelected(Self); 122 | end; 123 | 124 | procedure TColorSelector.SetColor(Value: TColor); 125 | var 126 | i,j: Integer; 127 | c: TfrSpeedButton; 128 | bmp: TBitmap; 129 | begin 130 | for i := 0 to 16 do 131 | if ((i = 16) and (Value = clNone)) or (frColors[i] = Value) then 132 | begin 133 | for j := 0 to ControlCount-1 do 134 | begin 135 | c := Controls[j] as TfrSpeedButton; 136 | if c.Tag = i then 137 | begin 138 | c.Down := True; 139 | FOtherBtn.Glyph.Assign(nil); 140 | break; 141 | end; 142 | end; 143 | Exit; 144 | end; 145 | bmp := TBitmap.Create; 146 | bmp.Width := 12; bmp.Height := 13; 147 | with bmp.Canvas do 148 | begin 149 | Brush.Color := clBtnFace; 150 | FillRect(Rect(0, 0, 12, 13)); 151 | Brush.Color := Value; 152 | Pen.Color := clBtnShadow; 153 | Rectangle(0, 0, 12, 12); 154 | end; 155 | FOtherBtn.Glyph.Assign(bmp); 156 | bmp.Free; 157 | end; 158 | 159 | end. 160 | -------------------------------------------------------------------------------- /Source/FR_Class.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_Class.pas -------------------------------------------------------------------------------- /Source/FR_DBOP.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_DBOP.RES -------------------------------------------------------------------------------- /Source/FR_DBREL.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { DB related stuff } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_DBRel; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | SysUtils, Windows, Messages, Classes 19 | {$IFDEF IBO}, IB_Components 20 | {$ELSE} 21 | {$IFDEF Delphi2} 22 | , DBTables, BDE 23 | {$ENDIF} 24 | , DB 25 | {$ENDIF}; 26 | 27 | type 28 | TfrBookmark = 29 | {$IFDEF IBO} type string; 30 | {$ELSE} type TBookmark; 31 | {$ENDIF} 32 | 33 | TfrTDataSet = 34 | {$IFDEF IBO} class(TIB_DataSet) 35 | {$ELSE} class(TDataSet) 36 | {$ENDIF} 37 | end; 38 | 39 | TfrTField = 40 | {$IFDEF IBO} class(TIB_Column) 41 | {$ELSE} class(TField) 42 | {$ENDIF} 43 | end; 44 | 45 | TfrTBlobField = 46 | {$IFDEF IBO} class(TIB_ColumnBlob) 47 | {$ELSE} class(TBlobField) 48 | {$ENDIF} 49 | end; 50 | 51 | const 52 | frEmptyBookmark = 53 | {$IFDEF IBO} '' 54 | {$ELSE} nil 55 | {$ENDIF}; 56 | 57 | function frIsBlob(Field: TfrTField): Boolean; 58 | function frIsBookmarksEqual(DataSet: TfrTDataSet; b1, b2: TfrBookmark): Boolean; 59 | procedure frGetFieldNames(DataSet: TfrTDataSet; List: TStrings); 60 | function frGetBookmark(DataSet: TfrTDataSet): TfrBookmark; 61 | procedure frFreeBookmark(DataSet: TfrTDataSet; Bookmark: TfrBookmark); 62 | procedure frGotoBookmark(DataSet: TfrTDataSet; Bookmark: TfrBookmark); 63 | 64 | 65 | implementation 66 | 67 | function frIsBlob(Field: TfrTField): Boolean; 68 | begin 69 | {$IFDEF IBO} 70 | Result := (Field <> nil) and (Field.SQLType = 530); 71 | {$ELSE} 72 | Result := (Field <> nil) and (Field.DataType in [ftBlob..ftTypedBinary]); 73 | {$ENDIF}; 74 | end; 75 | 76 | procedure frGetFieldNames(DataSet: TfrTDataSet; List: TStrings); 77 | begin 78 | {$IFDEF IBO} 79 | DataSet.Prepare; 80 | DataSet.GetFieldNamesList(List); 81 | {$ELSE} 82 | DataSet.GetFieldNames(List); 83 | {$ENDIF} 84 | end; 85 | 86 | function frGetBookmark(DataSet: TfrTDataSet): TfrBookmark; 87 | begin 88 | {$IFDEF IBO} 89 | Result := DataSet.Bookmark; 90 | {$ELSE} 91 | Result := DataSet.GetBookmark; 92 | {$ENDIF} 93 | end; 94 | 95 | procedure frGotoBookmark(DataSet: TfrTDataSet; Bookmark: TfrBookmark); 96 | begin 97 | {$IFDEF IBO} 98 | DataSet.Bookmark := Bookmark; 99 | {$ELSE} 100 | DataSet.GotoBookmark(BookMark); 101 | {$ENDIF} 102 | end; 103 | 104 | procedure frFreeBookmark(DataSet: TfrTDataSet; Bookmark: TfrBookmark); 105 | begin 106 | {$IFNDEF IBO} 107 | DataSet.FreeBookmark(BookMark); 108 | {$ENDIF} 109 | end; 110 | 111 | {$HINTS OFF} 112 | function frIsBookmarksEqual(DataSet: TfrTDataSet; b1, b2: TfrBookmark): Boolean; 113 | var 114 | n: Integer; 115 | begin 116 | {$IFDEF IBO} 117 | Result := b1 = b2; 118 | {$ELSE} 119 | {$IFDEF Delphi2} 120 | dbiCompareBookmarks(DataSet.Handle, b1, b2, n); 121 | Result := n = 0; 122 | {$ELSE} 123 | Result := DataSet.CompareBookmarks(b1, b2) = 0; 124 | {$ENDIF} 125 | {$ENDIF} 126 | end; 127 | {$HINTS ON} 128 | 129 | end. -------------------------------------------------------------------------------- /Source/FR_DESGN.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_DESGN.DFM -------------------------------------------------------------------------------- /Source/FR_DESGN.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_DESGN.RES -------------------------------------------------------------------------------- /Source/FR_DOCK.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_DOCK.DFM -------------------------------------------------------------------------------- /Source/FR_DOPT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_DOPT.DFM -------------------------------------------------------------------------------- /Source/FR_DOPT.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Document options } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Dopt; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, FR_Const; 20 | 21 | type 22 | TfrDocOptForm = class(TForm) 23 | GroupBox1: TGroupBox; 24 | ComB1: TComboBox; 25 | CB1: TCheckBox; 26 | GroupBox2: TGroupBox; 27 | CB2: TCheckBox; 28 | Button1: TButton; 29 | Button2: TButton; 30 | procedure FormActivate(Sender: TObject); 31 | procedure FormCreate(Sender: TObject); 32 | private 33 | { Private declarations } 34 | public 35 | { Public declarations } 36 | end; 37 | 38 | var 39 | frDocOptForm: TfrDocOptForm; 40 | 41 | implementation 42 | 43 | {$R *.DFM} 44 | 45 | uses FR_Prntr; 46 | 47 | procedure TfrDocOptForm.FormActivate(Sender: TObject); 48 | begin 49 | ComB1.Items.Assign(Prn.Printers); 50 | ComB1.ItemIndex := Prn.PrinterIndex; 51 | end; 52 | 53 | procedure TfrDocOptForm.FormCreate(Sender: TObject); 54 | begin 55 | Caption := LoadStr(frRes + 370); 56 | GroupBox1.Caption := LoadStr(frRes + 371); 57 | CB1.Caption := LoadStr(frRes + 372); 58 | GroupBox2.Caption := LoadStr(frRes + 373); 59 | CB2.Caption := LoadStr(frRes + 374); 60 | Button1.Caption := LoadStr(SOk); 61 | Button2.Caption := LoadStr(SCancel); 62 | end; 63 | 64 | end. 65 | 66 | -------------------------------------------------------------------------------- /Source/FR_DSET.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Report dataset } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_DSet; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | SysUtils, Windows, Messages, Classes; 19 | 20 | type 21 | TRangeBegin = (rbFirst, rbCurrent); 22 | TRangeEnd = (reLast, reCurrent, reCount); 23 | TCheckEOFEvent = procedure(Sender: TObject; var Eof: Boolean) of object; 24 | 25 | TfrDataset = class(TComponent) 26 | protected 27 | FRangeBegin: TRangeBegin; 28 | FRangeEnd: TRangeEnd; 29 | FRangeEndCount: Integer; 30 | FOnFirst, FOnNext, FOnLast: TNotifyEvent; 31 | FOnCheckEOF: TCheckEOFEvent; 32 | FRecNo: Integer; 33 | public 34 | constructor Create(AOwner: TComponent); override; 35 | procedure Init; virtual; 36 | procedure Exit; virtual; 37 | procedure First; virtual; 38 | procedure Next; virtual; 39 | function Eof: Boolean; virtual; 40 | property RangeBegin: TRangeBegin read FRangeBegin write FRangeBegin default rbFirst; 41 | property RangeEnd: TRangeEnd read FRangeEnd write FRangeEnd default reLast; 42 | property RangeEndCount: Integer read FRangeEndCount write FRangeEndCount default 0; 43 | property RecNo: Integer read FRecNo; 44 | property OnCheckEOF: TCheckEOFEvent read FOnCheckEOF write FOnCheckEOF; 45 | property OnFirst: TNotifyEvent read FOnFirst write FOnFirst; 46 | property OnNext: TNotifyEvent read FOnNext write FOnNext; 47 | end; 48 | 49 | TfrUserDataset = class(TfrDataset) 50 | published 51 | property RangeBegin; 52 | property RangeEnd; 53 | property RangeEndCount; 54 | property OnCheckEOF; 55 | property OnFirst; 56 | property OnNext; 57 | end; 58 | 59 | implementation 60 | 61 | constructor TfrDataSet.Create(AOwner: TComponent); 62 | begin 63 | inherited Create(AOwner); 64 | RangeBegin := rbFirst; 65 | RangeEnd := reLast; 66 | end; 67 | 68 | procedure TfrDataSet.Init; 69 | begin 70 | end; 71 | 72 | procedure TfrDataSet.Exit; 73 | begin 74 | end; 75 | 76 | procedure TfrDataSet.First; 77 | begin 78 | FRecNo := 0; 79 | if Assigned(FOnFirst) then FOnFirst(Self); 80 | end; 81 | 82 | procedure TfrDataSet.Next; 83 | begin 84 | Inc(FRecNo); 85 | if Assigned(FOnNext) then FOnNext(Self); 86 | end; 87 | 88 | function TfrDataSet.Eof: Boolean; 89 | begin 90 | Result := False; 91 | if (FRangeEnd = reCount) and (FRecNo >= FRangeEndCount) then Result := True; 92 | if Assigned(FOnCheckEOF) then FOnCheckEOF(Self, Result); 93 | end; 94 | 95 | 96 | end. 97 | -------------------------------------------------------------------------------- /Source/FR_DSOPT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_DSOPT.DFM -------------------------------------------------------------------------------- /Source/FR_DSOPT.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Designer options } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_DsOpt; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, ComCtrls, ExtCtrls, FR_Const; 20 | 21 | type 22 | TfrDesOptionsForm = class(TForm) 23 | PageControl1: TPageControl; 24 | Tab1: TTabSheet; 25 | GroupBox1: TGroupBox; 26 | CB1: TCheckBox; 27 | CB2: TCheckBox; 28 | GroupBox2: TGroupBox; 29 | RB4: TRadioButton; 30 | RB5: TRadioButton; 31 | GroupBox3: TGroupBox; 32 | RB6: TRadioButton; 33 | RB7: TRadioButton; 34 | RB8: TRadioButton; 35 | GroupBox4: TGroupBox; 36 | RB1: TRadioButton; 37 | RB2: TRadioButton; 38 | RB3: TRadioButton; 39 | Button1: TButton; 40 | Button2: TButton; 41 | GroupBox5: TGroupBox; 42 | CB3: TCheckBox; 43 | CB4: TCheckBox; 44 | CB5: TCheckBox; 45 | procedure FormCreate(Sender: TObject); 46 | private 47 | { Private declarations } 48 | public 49 | { Public declarations } 50 | end; 51 | 52 | 53 | implementation 54 | 55 | {$R *.DFM} 56 | 57 | procedure TfrDesOptionsForm.FormCreate(Sender: TObject); 58 | begin 59 | Caption := LoadStr(frRes + 280); 60 | Tab1.Caption := LoadStr(frRes + 281); 61 | GroupBox1.Caption := LoadStr(frRes + 282); 62 | GroupBox2.Caption := LoadStr(frRes + 283); 63 | GroupBox3.Caption := LoadStr(frRes + 284); 64 | GroupBox4.Caption := LoadStr(frRes + 285); 65 | GroupBox5.Caption := LoadStr(frRes + 297); 66 | CB1.Caption := LoadStr(frRes + 286); 67 | CB2.Caption := LoadStr(frRes + 287); 68 | CB3.Caption := LoadStr(frRes + 288); 69 | CB4.Caption := LoadStr(frRes + 298); 70 | CB5.Caption := LoadStr(frRes + 299); 71 | RB1.Caption := LoadStr(frRes + 289); 72 | RB2.Caption := LoadStr(frRes + 290); 73 | RB3.Caption := LoadStr(frRes + 291); 74 | RB4.Caption := LoadStr(frRes + 292); 75 | RB5.Caption := LoadStr(frRes + 293); 76 | RB6.Caption := LoadStr(frRes + 294); 77 | RB7.Caption := LoadStr(frRes + 295); 78 | RB8.Caption := LoadStr(frRes + 296); 79 | Button1.Caption := LoadStr(SOk); 80 | Button2.Caption := LoadStr(SCancel); 81 | end; 82 | 83 | end. 84 | 85 | -------------------------------------------------------------------------------- /Source/FR_EDIT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_EDIT.DFM -------------------------------------------------------------------------------- /Source/FR_EV_ED.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_EV_ED.DFM -------------------------------------------------------------------------------- /Source/FR_E_CSV.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { CSV export filter } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_E_CSV; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | SysUtils, Windows, Messages, Classes, Graphics, Forms, StdCtrls, 19 | FR_Class, FR_E_TXT; 20 | 21 | type 22 | TfrCSVExport = class(TComponent) // fake component 23 | end; 24 | 25 | TfrCSVExportFilter = class(TfrTextExportFilter) 26 | public 27 | procedure OnEndPage; override; 28 | end; 29 | 30 | 31 | implementation 32 | 33 | uses FR_Const; 34 | 35 | 36 | procedure TfrCSVExportFilter.OnEndPage; 37 | var 38 | i, j, n, tc1, tc2: Integer; 39 | p: PfrTextRec; 40 | s: String; 41 | begin 42 | n := Lines.Count - 1; 43 | while n >= 0 do 44 | begin 45 | if Lines[n] <> nil then break; 46 | Dec(n); 47 | end; 48 | 49 | for i := 0 to n do 50 | begin 51 | s := ''; 52 | tc1 := 0; 53 | p := PfrTextRec(Lines[i]); 54 | while p <> nil do 55 | begin 56 | tc2 := p^.X div 64; 57 | for j := 0 to tc2 - tc1 - 1 do 58 | s := s + ';'; 59 | s := s + p^.Text; 60 | tc1 := tc2; 61 | p := p^.Next; 62 | end; 63 | s := s + #13#10; 64 | Stream.Write(s[1], Length(s)); 65 | end; 66 | end; 67 | 68 | 69 | initialization 70 | frRegisterExportFilter(TfrCSVExportFilter, LoadStr(SCSVFile) + ' (*.csv)', '*.csv'); 71 | 72 | end. 73 | -------------------------------------------------------------------------------- /Source/FR_E_HTM.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { HTM export filter } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_E_HTM; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | SysUtils, Windows, Messages, Classes, Graphics, Forms, StdCtrls, 19 | FR_Class, FR_E_TXT; 20 | 21 | type 22 | TfrHTMExport = class(TComponent) // fake component 23 | end; 24 | 25 | TfrHTMExportFilter = class(TfrTextExportFilter) 26 | public 27 | constructor Create(AStream: TStream); override; 28 | destructor Destroy; override; 29 | procedure OnEndPage; override; 30 | end; 31 | 32 | 33 | implementation 34 | 35 | uses FR_Utils, FR_Const; 36 | 37 | 38 | constructor TfrHTMExportFilter.Create(AStream: TStream); 39 | var 40 | s: String; 41 | begin 42 | inherited Create(AStream); 43 | s := ''#13#10''#13#10''#13#10; 44 | Stream.Write(s[1], Length(s)); 45 | end; 46 | 47 | destructor TfrHTMExportFilter.Destroy; 48 | var 49 | s: String; 50 | begin 51 | s := '
'#13#10''#13#10''#13#10; 52 | Stream.Write(s[1], Length(s)); 53 | inherited Destroy; 54 | end; 55 | 56 | procedure TfrHTMExportFilter.OnEndPage; 57 | var 58 | i, n: Integer; 59 | p: PfrTextRec; 60 | s, s1, s2: String; 61 | 62 | function GetHTMLFontSize(Size: Integer): String; 63 | begin 64 | case Size of 65 | 6, 7: Result := '1'; 66 | 8, 9: Result := '2'; 67 | 14..17: Result := '4'; 68 | 18..23: Result := '5'; 69 | 24..35: Result := '6' 70 | else 71 | Result := '7'; 72 | end; 73 | end; 74 | 75 | function GetHTMLFontStyle(Style: Integer): String; 76 | begin 77 | Result := ''; 78 | if (Style and $1) <> 0 then Result := ''; 79 | if (Style and $2) <> 0 then Result := Result + ''; 80 | if (Style and $4) <> 0 then Result := Result + ''; 81 | end; 82 | 83 | begin 84 | n := Lines.Count - 1; 85 | while n >= 0 do 86 | begin 87 | if Lines[n] <> nil then break; 88 | Dec(n); 89 | end; 90 | 91 | for i := 0 to n do 92 | begin 93 | p := PfrTextRec(Lines[i]); 94 | s := ''; 95 | while p <> nil do 96 | begin 97 | s1 := ''; s2 := ''; 98 | if (p^.FontColor = clWhite) or (p^.FontColor = clNone) then 99 | p^.FontColor := clBlack; 100 | if p^.FontColor <> clBlack then 101 | begin 102 | s1 := IntToHex(p^.FontColor, 6); 103 | s1 := 'Color="#' + Copy(s1, 5, 2) + Copy(s1, 3, 2) + 104 | Copy(s1, 1, 2) + '"'; 105 | end; 106 | // most reports is done with font size = 10..13 - treat it as default font 107 | if not (p^.FontSize in [10..13]) then 108 | s1 := s1 + ' Size=' + GetHTMLFontSize(p^.FontSize); 109 | if p^.FontStyle <> 0 then 110 | s2 := GetHTMLFontStyle(p^.FontStyle); 111 | if s1 <> '' then s1 := ''; 112 | s := s + '' + s1 + s2 + p^.Text + ''; 113 | p := p^.Next; 114 | end; 115 | s := s + ''#13#10; 116 | Stream.Write(s[1], Length(s)); 117 | end; 118 | end; 119 | 120 | 121 | initialization 122 | frRegisterExportFilter(TfrHTMExportFilter, LoadStr(SHTMFile) + ' (*.htm)', '*.htm'); 123 | 124 | end. 125 | -------------------------------------------------------------------------------- /Source/FR_E_TXT.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Text export filter } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_E_TXT; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | SysUtils, Windows, Messages, Classes, Graphics, Dialogs, FR_Class; 19 | 20 | type 21 | TfrTextExport = class(TComponent) // fake component 22 | end; 23 | 24 | TfrTextExportFilter = class(TfrExportFilter) 25 | public 26 | constructor Create(AStream: TStream); override; 27 | procedure OnEndPage; override; 28 | procedure OnBeginPage; override; 29 | procedure OnText(X, Y: Integer; const Text: String; View: TfrView); override; 30 | end; 31 | 32 | 33 | implementation 34 | 35 | uses FR_Utils, FR_Const; 36 | 37 | 38 | var 39 | UsedFont: Integer = 16; 40 | 41 | constructor TfrTextExportFilter.Create(AStream: TStream); 42 | var 43 | s: String; 44 | n: Integer; 45 | begin 46 | inherited; 47 | s := InputBox(LoadStr(SFilter), LoadStr(SFilterParam), '16'); 48 | Val(s, UsedFont, n); 49 | end; 50 | 51 | procedure TfrTextExportFilter.OnEndPage; 52 | var 53 | i, n, x, tc1: Integer; 54 | p: PfrTextRec; 55 | s: String; 56 | function Dup(Count: Integer): String; 57 | var 58 | i: Integer; 59 | begin 60 | Result := ''; 61 | for i := 1 to Count do 62 | Result := Result + ' '; 63 | end; 64 | 65 | begin 66 | n := Lines.Count - 1; 67 | while n >= 0 do 68 | begin 69 | if Lines[n] <> nil then break; 70 | Dec(n); 71 | end; 72 | 73 | for i := 0 to n do 74 | begin 75 | s := ''; 76 | tc1 := 0; 77 | p := PfrTextRec(Lines[i]); 78 | while p <> nil do 79 | begin 80 | x := Round(p^.X / 6.5); 81 | s := s + Dup(x - tc1) + p^.Text; 82 | tc1 := x + Length(p^.Text); 83 | p := p^.Next; 84 | end; 85 | s := s + #13#10; 86 | Stream.Write(s[1], Length(s)); 87 | end; 88 | s := #12#13#10; 89 | Stream.Write(s[1], Length(s)); 90 | end; 91 | 92 | procedure TfrTextExportFilter.OnBeginPage; 93 | var 94 | i: Integer; 95 | begin 96 | ClearLines; 97 | for i := 0 to 200 do Lines.Add(nil); 98 | end; 99 | 100 | procedure TfrTextExportFilter.OnText(X, Y: Integer; const Text: String; 101 | View: TfrView); 102 | var 103 | p, p1, p2: PfrTextRec; 104 | begin 105 | if View = nil then Exit; 106 | Y := Round(Y / UsedFont); 107 | p1 := PfrTextRec(Lines[Y]); 108 | GetMem(p, SizeOf(TfrTextRec)); 109 | FillChar(p^, SizeOf(TfrTextRec), 0); 110 | p^.Next := nil; 111 | p^.X := X; 112 | p^.Text := Text; 113 | if View is TfrMemoView then 114 | with View as TfrMemoView do 115 | begin 116 | p^.FontName := Font.Name; 117 | p^.FontSize := Font.Size; 118 | p^.FontStyle := frGetFontStyle(Font.Style); 119 | p^.FontColor := Font.Color; 120 | {$IFNDEF Delphi2} 121 | p^.FontCharset := Font.Charset; 122 | {$ENDIF} 123 | end; 124 | p^.FillColor := View.FillColor; 125 | if p1 = nil then 126 | Lines[Y] := TObject(p) 127 | else 128 | begin 129 | p2 := p1; 130 | while (p1 <> nil) and (p1^.X < p^.X) do 131 | begin 132 | p2 := p1; 133 | p1 := p1^.Next; 134 | end; 135 | if p2 <> p1 then 136 | begin 137 | p2^.Next := p; 138 | p^.Next := p1; 139 | end 140 | else 141 | begin 142 | Lines[Y] := TObject(p); 143 | p^.Next := p1; 144 | end; 145 | end; 146 | end; 147 | 148 | 149 | initialization 150 | frRegisterExportFilter(TfrTextExportFilter, LoadStr(STextFile) + ' (*.txt)', '*.txt'); 151 | 152 | end. 153 | -------------------------------------------------------------------------------- /Source/FR_FLDS.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_FLDS.DFM -------------------------------------------------------------------------------- /Source/FR_FLDS.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Fields list } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Flds; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls; 20 | 21 | type 22 | TfrFieldsForm = class(TForm) 23 | ValCombo: TComboBox; 24 | ValList: TListBox; 25 | Label1: TLabel; 26 | procedure ValComboClick(Sender: TObject); 27 | procedure FormActivate(Sender: TObject); 28 | procedure FormCreate(Sender: TObject); 29 | procedure FormDeactivate(Sender: TObject); 30 | procedure ValListKeyDown(Sender: TObject; var Key: Word; 31 | Shift: TShiftState); 32 | procedure ValListMouseDown(Sender: TObject; Button: TMouseButton; 33 | Shift: TShiftState; X, Y: Integer); 34 | procedure FormKeyDown(Sender: TObject; var Key: Word; 35 | Shift: TShiftState); 36 | private 37 | { Private declarations } 38 | procedure FillValCombo; 39 | public 40 | { Public declarations } 41 | DBField: String; 42 | end; 43 | 44 | var 45 | frFieldsForm: TfrFieldsForm; 46 | 47 | implementation 48 | 49 | {$R *.DFM} 50 | 51 | uses FR_Class, FR_Const, FR_Utils, FR_DBRel 52 | {$IFDEF IBO} 53 | , IB_Components 54 | {$ELSE} 55 | , DB 56 | {$ENDIF}; 57 | 58 | var 59 | LastDB: String; 60 | 61 | 62 | procedure TfrFieldsForm.ValListKeyDown(Sender: TObject; var Key: Word; 63 | Shift: TShiftState); 64 | begin 65 | if Key = vk_Return then ModalResult := mrOk; 66 | end; 67 | 68 | procedure TfrFieldsForm.FillValCombo; 69 | var 70 | s: TStringList; 71 | begin 72 | s := TStringList.Create; 73 | {$IFDEF IBO} 74 | frGetComponents(CurReport.Owner, TIB_DataSet, s, nil); 75 | {$ELSE} 76 | frGetComponents(CurReport.Owner, TDataSet, s, nil); 77 | {$ENDIF} 78 | s.Sort; 79 | ValCombo.Items.Assign(s); 80 | s.Free; 81 | end; 82 | 83 | procedure TfrFieldsForm.ValComboClick(Sender: TObject); 84 | var 85 | DataSet: TfrTDataSet; 86 | begin 87 | ValList.Items.Clear; 88 | DataSet := frGetDataSet(ValCombo.Items[ValCombo.ItemIndex]); 89 | if DataSet <> nil then 90 | try 91 | frGetFieldNames(DataSet, ValList.Items); 92 | except 93 | end; 94 | end; 95 | 96 | procedure TfrFieldsForm.ValListMouseDown(Sender: TObject; 97 | Button: TMouseButton; Shift: TShiftState; X, Y: Integer); 98 | begin 99 | ModalResult := mrOk; 100 | end; 101 | 102 | procedure TfrFieldsForm.FormKeyDown(Sender: TObject; var Key: Word; 103 | Shift: TShiftState); 104 | begin 105 | if Key = vk_Escape then 106 | ModalResult := mrCancel; 107 | end; 108 | 109 | procedure TfrFieldsForm.FormCreate(Sender: TObject); 110 | begin 111 | Caption := LoadStr(frRes + 450); 112 | Label1.Caption := LoadStr(frRes + 451); 113 | end; 114 | 115 | procedure TfrFieldsForm.FormActivate(Sender: TObject); 116 | begin 117 | FillValCombo; 118 | if ValCombo.Items.IndexOf(LastDB) <> -1 then 119 | ValCombo.ItemIndex := ValCombo.Items.IndexOf(LastDB) else 120 | ValCombo.ItemIndex := 0; 121 | ValComboClick(nil); 122 | end; 123 | 124 | procedure TfrFieldsForm.FormDeactivate(Sender: TObject); 125 | begin 126 | LastDB := ValCombo.Items[ValCombo.ItemIndex]; 127 | if ValList.ItemIndex <> -1 then 128 | DBField := LastDB + '."' + ValList.Items[ValList.ItemIndex] + '"'; 129 | end; 130 | 131 | end. 132 | -------------------------------------------------------------------------------- /Source/FR_FMTED.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_FMTED.DFM -------------------------------------------------------------------------------- /Source/FR_FMTED.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Format editor } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_fmted; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, ExtCtrls, FR_Utils; 20 | 21 | type 22 | TfrFmtForm = class(TForm) 23 | GroupBox2: TGroupBox; 24 | ComboBox1: TComboBox; 25 | ComboBox2: TComboBox; 26 | Panel1: TPanel; 27 | Label5: TLabel; 28 | Label6: TLabel; 29 | SplEdit: TEdit; 30 | Button1: TButton; 31 | Button2: TButton; 32 | Panel2: TPanel; 33 | Edit1: TEdit; 34 | Label1: TLabel; 35 | Edit3: TEdit; 36 | procedure FormActivate(Sender: TObject); 37 | procedure ComboBox1Click(Sender: TObject); 38 | procedure DesEditChange(Sender: TObject); 39 | procedure SplEditChange(Sender: TObject); 40 | procedure ComboBox2Click(Sender: TObject); 41 | procedure ComboBox1Change(Sender: TObject); 42 | procedure SplEditEnter(Sender: TObject); 43 | procedure ShowPanel1; 44 | procedure ShowPanel2; 45 | procedure FormCreate(Sender: TObject); 46 | private 47 | { Private declarations } 48 | public 49 | { Public declarations } 50 | Format: Integer; 51 | end; 52 | 53 | var 54 | frFmtForm: TfrFmtForm; 55 | 56 | implementation 57 | 58 | {$R *.DFM} 59 | 60 | uses FR_Class, FR_Const; 61 | 62 | const 63 | CategCount = 5; 64 | 65 | {$WARNINGS OFF} 66 | procedure TfrFmtForm.FormActivate(Sender: TObject); 67 | var 68 | i: Integer; 69 | begin 70 | Panel1.Hide; 71 | Panel2.Hide; 72 | ComboBox1.Items.Clear; 73 | for i := 0 to CategCount-1 do 74 | ComboBox1.Items.Add(LoadStr(SCateg1 + i)); 75 | ComboBox1.ItemIndex := (Format and $0F000000) div $01000000; 76 | ComboBox1Change(nil); 77 | ComboBox2.ItemIndex := (Format and $00FF0000) div $00010000; 78 | ShowPanel2; 79 | ShowPanel1; 80 | end; 81 | 82 | procedure TfrFmtForm.ShowPanel1; 83 | begin 84 | Panel1.Visible := (ComboBox1.ItemIndex = 1) and (not Panel2.Visible); 85 | if Panel1.Visible then 86 | begin 87 | Edit3.Text := IntToStr((Format and $0000FF00) div $00000100); 88 | SplEdit.Text := Chr(Format and $000000FF); 89 | end; 90 | end; 91 | 92 | procedure TfrFmtForm.ShowPanel2; 93 | begin 94 | Panel2.Visible := ComboBox2.ItemIndex = 4; 95 | end; 96 | 97 | procedure TfrFmtForm.ComboBox1Change(Sender: TObject); 98 | var 99 | i, k: Integer; 100 | s: String; 101 | begin 102 | k := ComboBox1.ItemIndex; 103 | if k = -1 then Exit; 104 | ComboBox2.Items.Clear; 105 | for i := 0 to 4 do 106 | begin 107 | s := LoadStr(SFormat11 + k * 5 + i); 108 | if s <> '' then ComboBox2.Items.Add(s); 109 | end; 110 | ComboBox2.ItemIndex := 0; 111 | if Sender <> nil then 112 | begin 113 | ComboBox2Click(nil); 114 | ShowPanel1; 115 | Edit1.Text := ''; 116 | end; 117 | end; 118 | 119 | procedure TfrFmtForm.ComboBox1Click(Sender: TObject); 120 | begin 121 | Format := (Format and $F0FFFFFF) + ComboBox1.ItemIndex * $01000000; 122 | end; 123 | 124 | procedure TfrFmtForm.ComboBox2Click(Sender: TObject); 125 | begin 126 | Format := (Format and $FF00FFFF) + ComboBox2.ItemIndex * $00010000; 127 | ShowPanel2; 128 | ShowPanel1; 129 | end; 130 | 131 | procedure TfrFmtForm.DesEditChange(Sender: TObject); 132 | begin 133 | Format := (Format and $FFFF00FF) + StrToInt(Edit3.Text) * $00000100; 134 | end; 135 | 136 | procedure TfrFmtForm.SplEditChange(Sender: TObject); 137 | var 138 | c: Char; 139 | begin 140 | c := ','; 141 | if SplEdit.Text <> '' then c := SplEdit.Text[1]; 142 | Format := (Format and $FFFFFF00) + Ord(c); 143 | end; 144 | 145 | procedure TfrFmtForm.SplEditEnter(Sender: TObject); 146 | begin 147 | SplEdit.SelectAll; 148 | end; 149 | {$WARNINGS ON} 150 | 151 | procedure TfrFmtForm.FormCreate(Sender: TObject); 152 | begin 153 | Caption := LoadStr(frRes + 420); 154 | GroupBox2.Caption := LoadStr(frRes + 421); 155 | Label5.Caption := LoadStr(frRes + 422); 156 | Label6.Caption := LoadStr(frRes + 423); 157 | Label1.Caption := LoadStr(frRes + 424); 158 | Button1.Caption := LoadStr(SOk); 159 | Button2.Caption := LoadStr(SCancel); 160 | end; 161 | 162 | end. 163 | -------------------------------------------------------------------------------- /Source/FR_GEDIT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_GEDIT.DFM -------------------------------------------------------------------------------- /Source/FR_GEDIT.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Picture editor } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_GEdit; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, 19 | Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, FR_Const; 20 | 21 | type 22 | TfrGEditorForm = class(TForm) 23 | Image1: TImage; 24 | Bevel1: TBevel; 25 | OpenDlg: TOpenDialog; 26 | CB1: TCheckBox; 27 | Button1: TButton; 28 | Button2: TButton; 29 | Button3: TButton; 30 | Button4: TButton; 31 | Button5: TButton; 32 | procedure BitBtn1Click(Sender: TObject); 33 | procedure CB1Click(Sender: TObject); 34 | procedure Button4Click(Sender: TObject); 35 | procedure FormCreate(Sender: TObject); 36 | procedure Button5Click(Sender: TObject); 37 | private 38 | { Private declarations } 39 | public 40 | { Public declarations } 41 | end; 42 | 43 | var 44 | frGEditorForm: TfrGEditorForm; 45 | 46 | implementation 47 | 48 | {$R *.DFM} 49 | 50 | uses FR_Class, FR_Desgn; 51 | 52 | procedure TfrGEditorForm.BitBtn1Click(Sender: TObject); 53 | begin 54 | {$IFDEF JPEG} 55 | OpenDlg.Filter := LoadStr(SPictFile) + 56 | ' (*.bmp *.jpg *.ico *.wmf *.emf)|*.bmp;*.jpg;*.ico;*.wmf;*.emf|' + 57 | LoadStr(SAllFiles) + '|*.*'; 58 | {$ELSE} 59 | OpenDlg.Filter := LoadStr(SPictFile) + 60 | ' (*.bmp *.ico *.wmf *.emf)|*.bmp;*.ico;*.wmf;*.emf|' + 61 | LoadStr(SAllFiles) + '|*.*'; 62 | {$ENDIF} 63 | if OpenDlg.Execute then 64 | Image1.Picture.LoadFromFile(OpenDlg.FileName); 65 | end; 66 | 67 | procedure TfrGEditorForm.CB1Click(Sender: TObject); 68 | begin 69 | Image1.Stretch := CB1.Checked; 70 | end; 71 | 72 | procedure TfrGEditorForm.Button4Click(Sender: TObject); 73 | begin 74 | Image1.Picture.Assign(nil); 75 | end; 76 | 77 | procedure TfrGEditorForm.FormCreate(Sender: TObject); 78 | begin 79 | Caption := LoadStr(frRes + 460); 80 | CB1.Caption := LoadStr(frRes + 461); 81 | Button3.Caption := LoadStr(frRes + 462); 82 | Button4.Caption := LoadStr(frRes + 463); 83 | Button5.Caption := LoadStr(frRes + 464); 84 | Button1.Caption := LoadStr(SOk); 85 | Button2.Caption := LoadStr(SCancel); 86 | end; 87 | 88 | procedure TfrGEditorForm.Button5Click(Sender: TObject); 89 | begin 90 | TfrDesignerForm(frDesigner).ShowMemoEditor; 91 | end; 92 | 93 | end. 94 | 95 | -------------------------------------------------------------------------------- /Source/FR_GRPED.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_GRPED.DFM -------------------------------------------------------------------------------- /Source/FR_GRPED.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Group band editor } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_GrpEd; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, FR_Class, FR_Ctrls, FR_Const, ExtCtrls; 20 | 21 | type 22 | TfrGroupEditorForm = class(TForm) 23 | Button1: TButton; 24 | Button2: TButton; 25 | GB1: TGroupBox; 26 | Edit1: TEdit; 27 | Panel1: TPanel; 28 | frSpeedButton1: TfrSpeedButton; 29 | procedure frSpeedButton1Click(Sender: TObject); 30 | procedure FormCreate(Sender: TObject); 31 | private 32 | { Private declarations } 33 | public 34 | { Public declarations } 35 | procedure ShowEditor(t: TfrView); 36 | end; 37 | 38 | var 39 | frGroupEditorForm: TfrGroupEditorForm; 40 | 41 | implementation 42 | 43 | {$R *.DFM} 44 | 45 | uses FR_Flds; 46 | 47 | procedure TfrGroupEditorForm.ShowEditor(t: TfrView); 48 | begin 49 | Edit1.Text := (t as TfrBandView).GroupCondition; 50 | if ShowModal = mrOk then 51 | begin 52 | frDesigner.BeforeChange; 53 | (t as TfrBandView).GroupCondition := Edit1.Text; 54 | end; 55 | end; 56 | 57 | procedure TfrGroupEditorForm.frSpeedButton1Click(Sender: TObject); 58 | begin 59 | frFieldsForm := TfrFieldsForm.Create(nil); 60 | with frFieldsForm do 61 | if ShowModal = mrOk then 62 | Edit1.Text := DBField; 63 | frFieldsForm.Free; 64 | end; 65 | 66 | procedure TfrGroupEditorForm.FormCreate(Sender: TObject); 67 | begin 68 | Caption := LoadStr(frRes + 490); 69 | GB1.Caption := LoadStr(frRes + 491); 70 | frSpeedButton1.Hint := LoadStr(frRes + 492); 71 | Button1.Caption := LoadStr(SOk); 72 | Button2.Caption := LoadStr(SCancel); 73 | end; 74 | 75 | end. 76 | 77 | -------------------------------------------------------------------------------- /Source/FR_HILIT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_HILIT.DFM -------------------------------------------------------------------------------- /Source/FR_HILIT.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Highlight attributes dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Hilit; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, Buttons, FR_Ctrls, FR_Const; 20 | 21 | type 22 | TfrHilightForm = class(TForm) 23 | GroupBox1: TGroupBox; 24 | GroupBox2: TGroupBox; 25 | CB1: TCheckBox; 26 | CB2: TCheckBox; 27 | CB3: TCheckBox; 28 | Button3: TButton; 29 | Button4: TButton; 30 | ColorDialog1: TColorDialog; 31 | SpeedButton1: TfrSpeedButton; 32 | SpeedButton2: TfrSpeedButton; 33 | RB1: TRadioButton; 34 | RB2: TRadioButton; 35 | GroupBox3: TGroupBox; 36 | Edit1: TEdit; 37 | procedure SpeedButton1Click(Sender: TObject); 38 | procedure SpeedButton2Click(Sender: TObject); 39 | procedure FormActivate(Sender: TObject); 40 | procedure RB1Click(Sender: TObject); 41 | procedure FormCreate(Sender: TObject); 42 | private 43 | { Private declarations } 44 | public 45 | { Public declarations } 46 | FontColor, FillColor: TColor; 47 | end; 48 | 49 | var 50 | frHilightForm: TfrHilightForm; 51 | 52 | implementation 53 | 54 | uses FR_Desgn, FR_Class; 55 | 56 | {$R *.DFM} 57 | 58 | 59 | procedure TfrHilightForm.SpeedButton1Click(Sender: TObject); 60 | begin 61 | ColorDialog1.Color := FontColor; 62 | if ColorDialog1.Execute then 63 | begin 64 | FontColor := ColorDialog1.Color; 65 | frSetGlyph(FontColor, SpeedButton1, 0); 66 | end; 67 | end; 68 | 69 | procedure TfrHilightForm.SpeedButton2Click(Sender: TObject); 70 | begin 71 | ColorDialog1.Color := FillColor; 72 | if ColorDialog1.Execute then 73 | begin 74 | FillColor := ColorDialog1.Color; 75 | frSetGlyph(FillColor, SpeedButton2, 1); 76 | end; 77 | end; 78 | 79 | procedure TfrHilightForm.FormActivate(Sender: TObject); 80 | begin 81 | frSetGlyph(FontColor, SpeedButton1, 0); 82 | frSetGlyph(FillColor, SpeedButton2, 1); 83 | if FillColor = clNone then 84 | RB1.Checked := True else 85 | RB2.Checked := True; 86 | RB1Click(nil); 87 | end; 88 | 89 | procedure TfrHilightForm.RB1Click(Sender: TObject); 90 | begin 91 | SpeedButton2.Enabled := RB2.Checked; 92 | if RB1.Checked then FillColor := clNone; 93 | end; 94 | 95 | procedure TfrHilightForm.FormCreate(Sender: TObject); 96 | begin 97 | Caption := LoadStr(frRes + 520); 98 | GroupBox3.Caption := LoadStr(frRes + 521); 99 | GroupBox1.Caption := LoadStr(frRes + 522); 100 | SpeedButton1.Caption := LoadStr(frRes + 523); 101 | CB1.Caption := LoadStr(frRes + 524); 102 | CB2.Caption := LoadStr(frRes + 525); 103 | CB3.Caption := LoadStr(frRes + 526); 104 | GroupBox2.Caption := LoadStr(frRes + 527); 105 | SpeedButton2.Caption := LoadStr(frRes + 528); 106 | RB1.Caption := LoadStr(frRes + 529); 107 | RB2.Caption := LoadStr(frRes + 530); 108 | Button3.Caption := LoadStr(SOk); 109 | Button4.Caption := LoadStr(SCancel); 110 | end; 111 | 112 | end. 113 | 114 | -------------------------------------------------------------------------------- /Source/FR_IFLDS.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_IFLDS.DFM -------------------------------------------------------------------------------- /Source/FR_IFLDS.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Insert fields dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_IFlds; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, FR_DBRel; 20 | 21 | type 22 | TfrInsertFieldsForm = class(TForm) 23 | FieldsL: TListBox; 24 | DatasetCB: TComboBox; 25 | Label1: TLabel; 26 | GroupBox1: TGroupBox; 27 | HorzRB: TRadioButton; 28 | VertRB: TRadioButton; 29 | Button1: TButton; 30 | Button2: TButton; 31 | GroupBox2: TGroupBox; 32 | HeaderCB: TCheckBox; 33 | BandCB: TCheckBox; 34 | procedure DatasetCBChange(Sender: TObject); 35 | procedure FormShow(Sender: TObject); 36 | procedure FormCreate(Sender: TObject); 37 | private 38 | { Private declarations } 39 | procedure GetFields; 40 | public 41 | { Public declarations } 42 | DataSet: TfrTDataSet; 43 | end; 44 | 45 | var 46 | frInsertFieldsForm: TfrInsertFieldsForm; 47 | 48 | implementation 49 | 50 | uses FR_Class, FR_Const, FR_Utils 51 | {$IFDEF IBO} 52 | , IB_Components 53 | {$ELSE} 54 | , DB 55 | {$ENDIF}; 56 | 57 | {$R *.DFM} 58 | 59 | procedure TfrInsertFieldsForm.FormShow(Sender: TObject); 60 | begin 61 | DataSet := nil; 62 | {$IFDEF IBO} 63 | frGetComponents(CurReport.Owner, TIB_DataSet, DatasetCB.Items, nil); 64 | {$ELSE} 65 | frGetComponents(CurReport.Owner, TDataSet, DatasetCB.Items, nil); 66 | {$ENDIF} 67 | if DatasetCB.Items.Count > 0 then 68 | DatasetCB.ItemIndex := 0; 69 | GetFields; 70 | end; 71 | 72 | procedure TfrInsertFieldsForm.DatasetCBChange(Sender: TObject); 73 | begin 74 | GetFields; 75 | end; 76 | 77 | procedure TfrInsertFieldsForm.GetFields; 78 | begin 79 | FieldsL.Items.Clear; 80 | DataSet := frGetDataSet(DatasetCB.Items[DatasetCB.ItemIndex]); 81 | if DataSet <> nil then 82 | frGetFieldNames(DataSet, FieldsL.Items); 83 | end; 84 | 85 | procedure TfrInsertFieldsForm.FormCreate(Sender: TObject); 86 | begin 87 | Caption := LoadStr(frRes + 630); 88 | Label1.Caption := LoadStr(frRes + 631); 89 | GroupBox1.Caption := LoadStr(frRes + 632); 90 | HorzRB.Caption := LoadStr(frRes + 633); 91 | VertRB.Caption := LoadStr(frRes + 634); 92 | HeaderCB.Caption := LoadStr(frRes + 635); 93 | BandCB.Caption := LoadStr(frRes + 636); 94 | Button1.Caption := LoadStr(SOk); 95 | Button2.Caption := LoadStr(SCancel); 96 | end; 97 | 98 | end. 99 | 100 | -------------------------------------------------------------------------------- /Source/FR_INSP.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_INSP.DFM -------------------------------------------------------------------------------- /Source/FR_LNG.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_LNG.RES -------------------------------------------------------------------------------- /Source/FR_LNG1.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_LNG1.RES -------------------------------------------------------------------------------- /Source/FR_LNG2.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_LNG2.RES -------------------------------------------------------------------------------- /Source/FR_LNG3.RES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_LNG3.RES -------------------------------------------------------------------------------- /Source/FR_NEWRP.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_NEWRP.DFM -------------------------------------------------------------------------------- /Source/FR_NEWRP.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Template viewer } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Newrp; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, ExtCtrls, FR_Const; 20 | 21 | type 22 | TfrTemplForm = class(TForm) 23 | GroupBox1: TGroupBox; 24 | Memo1: TMemo; 25 | Image1: TImage; 26 | Button1: TButton; 27 | Button2: TButton; 28 | LB1: TListBox; 29 | procedure FormActivate(Sender: TObject); 30 | procedure ListBox1Click(Sender: TObject); 31 | procedure FormDeactivate(Sender: TObject); 32 | procedure FormCreate(Sender: TObject); 33 | procedure LB1DblClick(Sender: TObject); 34 | private 35 | { Private declarations } 36 | public 37 | { Public declarations } 38 | TemplName: String; 39 | end; 40 | 41 | var 42 | frTemplForm: TfrTemplForm; 43 | 44 | implementation 45 | 46 | uses FR_Class, FR_Desgn; 47 | 48 | {$R *.DFM} 49 | 50 | var 51 | Path: String; 52 | 53 | 54 | procedure TfrTemplForm.FormActivate(Sender: TObject); 55 | var 56 | SearchRec: TSearchRec; 57 | r: Word; 58 | begin 59 | if frTemplateDir = '' then 60 | Path := '' else 61 | Path := frTemplateDir + '\'; 62 | LB1.Items.Clear; 63 | R := FindFirst(Path + '*.frt', faAnyFile, SearchRec); 64 | while R = 0 do 65 | begin 66 | if (SearchRec.Attr and faDirectory) = 0 then 67 | LB1.Items.Add(ChangeFileExt(SearchRec.Name, '')); 68 | R := FindNext(SearchRec); 69 | end; 70 | FindClose(SearchRec); 71 | Memo1.Lines.Clear; 72 | Image1.Picture.Bitmap.Assign(nil); 73 | Button1.Enabled := False; 74 | end; 75 | 76 | procedure TfrTemplForm.ListBox1Click(Sender: TObject); 77 | begin 78 | Button1.Enabled := LB1.ItemIndex <> -1; 79 | if Button1.Enabled then 80 | begin 81 | CurReport.LoadTemplate(Path + LB1.Items[LB1.ItemIndex] + '.frt', 82 | Memo1.Lines, Image1.Picture.Bitmap,False); 83 | end; 84 | end; 85 | 86 | procedure TfrTemplForm.LB1DblClick(Sender: TObject); 87 | begin 88 | if Button1.Enabled then ModalResult := mrOk; 89 | end; 90 | 91 | procedure TfrTemplForm.FormDeactivate(Sender: TObject); 92 | begin 93 | if ModalResult = mrOk then 94 | TemplName := Path + LB1.Items[LB1.ItemIndex] + '.frt'; 95 | end; 96 | 97 | procedure TfrTemplForm.FormCreate(Sender: TObject); 98 | begin 99 | Caption := LoadStr(frRes + 310); 100 | GroupBox1.Caption := LoadStr(frRes + 311); 101 | Button1.Caption := LoadStr(SOk); 102 | Button2.Caption := LoadStr(SCancel); 103 | end; 104 | 105 | end. 106 | 107 | -------------------------------------------------------------------------------- /Source/FR_OLE.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_OLE.DFM -------------------------------------------------------------------------------- /Source/FR_PGOPT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_PGOPT.DFM -------------------------------------------------------------------------------- /Source/FR_PGOPT.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Page options } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_pgopt; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, ExtCtrls, ComCtrls, FR_Ctrls; 20 | 21 | type 22 | TfrPgoptForm = class(TForm) 23 | Button1: TButton; 24 | Button2: TButton; 25 | PageControl1: TPageControl; 26 | TabSheet1: TTabSheet; 27 | TabSheet2: TTabSheet; 28 | TabSheet3: TTabSheet; 29 | GroupBox2: TGroupBox; 30 | imgLandScape: TImage; 31 | imgPortrait: TImage; 32 | RB1: TRadioButton; 33 | RB2: TRadioButton; 34 | GroupBox1: TGroupBox; 35 | CB1: TCheckBox; 36 | GroupBox3: TGroupBox; 37 | ComB1: TComboBox; 38 | E1: TEdit; 39 | E2: TEdit; 40 | Label1: TLabel; 41 | Label2: TLabel; 42 | GroupBox4: TGroupBox; 43 | CB5: TCheckBox; 44 | E3: TEdit; 45 | Label3: TLabel; 46 | Label4: TLabel; 47 | E4: TEdit; 48 | Label5: TLabel; 49 | Label6: TLabel; 50 | E5: TEdit; 51 | E6: TEdit; 52 | GroupBox5: TGroupBox; 53 | Label7: TLabel; 54 | E7: TEdit; 55 | Label8: TLabel; 56 | Edit1: TEdit; 57 | Panel8: TPanel; 58 | SB1: TfrSpeedButton; 59 | SB2: TfrSpeedButton; 60 | procedure RB1Click(Sender: TObject); 61 | procedure RB2Click(Sender: TObject); 62 | procedure FormActivate(Sender: TObject); 63 | procedure ComB1Click(Sender: TObject); 64 | procedure CB5Click(Sender: TObject); 65 | procedure FormCreate(Sender: TObject); 66 | procedure SB1Click(Sender: TObject); 67 | procedure SB2Click(Sender: TObject); 68 | private 69 | { Private declarations } 70 | public 71 | { Public declarations } 72 | end; 73 | 74 | var 75 | frPgoptForm: TfrPgoptForm; 76 | 77 | implementation 78 | 79 | {$R *.DFM} 80 | 81 | uses FR_Prntr, FR_Class, FR_Const, FR_Utils; 82 | 83 | procedure TfrPgoptForm.RB1Click(Sender: TObject); 84 | begin 85 | ImgPortrait.Show; 86 | ImgLandscape.Hide; 87 | end; 88 | 89 | procedure TfrPgoptForm.RB2Click(Sender: TObject); 90 | begin 91 | ImgLandscape.Show; 92 | ImgPortrait.Hide; 93 | end; 94 | 95 | procedure TfrPgoptForm.FormActivate(Sender: TObject); 96 | begin 97 | if RB1.Checked then RB1Click(nil) else RB2Click(nil); 98 | ComB1Click(nil); CB5Click(nil); 99 | ComB1.Perform(CB_SETDROPPEDWIDTH, 200, 0); 100 | end; 101 | 102 | procedure TfrPgoptForm.ComB1Click(Sender: TObject); 103 | begin 104 | frEnableControls([Label1, Label2, E1, E2], 105 | Prn.PaperSizes[ComB1.ItemIndex] = $100); 106 | end; 107 | 108 | procedure TfrPgoptForm.CB5Click(Sender: TObject); 109 | begin 110 | frEnableControls([Label3, Label4, Label5, Label6, E3, E4, E5, E6], 111 | not CB5.Checked); 112 | end; 113 | 114 | procedure TfrPgoptForm.FormCreate(Sender: TObject); 115 | begin 116 | Caption := LoadStr(frRes + 390); 117 | TabSheet1.Caption := LoadStr(frRes + 391); 118 | GroupBox2.Caption := LoadStr(frRes + 392); 119 | RB1.Caption := LoadStr(frRes + 393); 120 | RB2.Caption := LoadStr(frRes + 394); 121 | GroupBox3.Caption := LoadStr(frRes + 395); 122 | Label1.Caption := LoadStr(frRes + 396); 123 | Label2.Caption := LoadStr(frRes + 397); 124 | TabSheet2.Caption := LoadStr(frRes + 398); 125 | GroupBox4.Caption := LoadStr(frRes + 399); 126 | Label3.Caption := LoadStr(frRes + 400); 127 | Label4.Caption := LoadStr(frRes + 401); 128 | Label5.Caption := LoadStr(frRes + 402); 129 | Label6.Caption := LoadStr(frRes + 403); 130 | CB5.Caption := LoadStr(frRes + 404); 131 | TabSheet3.Caption := LoadStr(frRes + 405); 132 | GroupBox1.Caption := LoadStr(frRes + 406); 133 | CB1.Caption := LoadStr(frRes + 407); 134 | GroupBox5.Caption := LoadStr(frRes + 408); 135 | Label7.Caption := LoadStr(frRes + 409); 136 | Label8.Caption := LoadStr(frRes + 410); 137 | Button1.Caption := LoadStr(SOk); 138 | Button2.Caption := LoadStr(SCancel); 139 | end; 140 | 141 | procedure TfrPgoptForm.SB1Click(Sender: TObject); 142 | var 143 | i: Integer; 144 | begin 145 | i := StrToInt(Edit1.Text); 146 | Inc(i); 147 | Edit1.Text := IntToStr(i); 148 | end; 149 | 150 | procedure TfrPgoptForm.SB2Click(Sender: TObject); 151 | var 152 | i: Integer; 153 | begin 154 | i := StrToInt(Edit1.Text); 155 | Dec(i); 156 | if i < 0 then i := 0; 157 | Edit1.Text := IntToStr(i); 158 | end; 159 | 160 | end. 161 | 162 | -------------------------------------------------------------------------------- /Source/FR_PRDLG.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_PRDLG.DFM -------------------------------------------------------------------------------- /Source/FR_PRDLG.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Print dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_PrDlg; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, FR_Ctrls, ExtCtrls; 20 | 21 | type 22 | TfrPrintForm = class(TForm) 23 | Label1: TLabel; 24 | E1: TEdit; 25 | GroupBox2: TGroupBox; 26 | RB1: TRadioButton; 27 | RB2: TRadioButton; 28 | RB3: TRadioButton; 29 | E2: TEdit; 30 | Panel1: TPanel; 31 | frSpeedButton1: TfrSpeedButton; 32 | frSpeedButton2: TfrSpeedButton; 33 | Label2: TLabel; 34 | Button1: TButton; 35 | Button2: TButton; 36 | GroupBox1: TGroupBox; 37 | CB1: TComboBox; 38 | PropButton: TButton; 39 | PrinterSetupDialog1: TPrinterSetupDialog; 40 | Image1: TImage; 41 | procedure CB1DrawItem(Control: TWinControl; Index: Integer; 42 | ARect: TRect; State: TOwnerDrawState); 43 | procedure FormCreate(Sender: TObject); 44 | procedure PropButtonClick(Sender: TObject); 45 | procedure CB1Click(Sender: TObject); 46 | procedure E2Click(Sender: TObject); 47 | procedure frSpeedButton1Click(Sender: TObject); 48 | procedure frSpeedButton2Click(Sender: TObject); 49 | procedure RB3Click(Sender: TObject); 50 | procedure FormDeactivate(Sender: TObject); 51 | private 52 | { Private declarations } 53 | OldIndex: Integer; 54 | public 55 | { Public declarations } 56 | end; 57 | 58 | var 59 | frPrintForm: TfrPrintForm; 60 | 61 | implementation 62 | 63 | {$R *.DFM} 64 | 65 | uses FR_Const, FR_Prntr, Printers; 66 | 67 | procedure TfrPrintForm.FormCreate(Sender: TObject); 68 | begin 69 | CB1.Items.Assign(Printer.Printers); 70 | CB1.ItemIndex := Printer.PrinterIndex; 71 | OldIndex := Printer.PrinterIndex; 72 | 73 | Caption := LoadStr(frRes + 040); 74 | GroupBox1.Caption := LoadStr(frRes + 041); 75 | PropButton.Caption := LoadStr(frRes + 042); 76 | Label1.Caption := LoadStr(frRes + 043); 77 | GroupBox2.Caption := LoadStr(frRes + 044); 78 | RB1.Caption := LoadStr(frRes + 045); 79 | RB2.Caption := LoadStr(frRes + 046); 80 | RB3.Caption := LoadStr(frRes + 047); 81 | Label2.Caption := LoadStr(frRes + 048); 82 | Button1.Caption := LoadStr(SOk); 83 | Button2.Caption := LoadStr(SCancel); 84 | end; 85 | 86 | procedure TfrPrintForm.FormDeactivate(Sender: TObject); 87 | begin 88 | if ModalResult <> mrOk then 89 | Prn.PrinterIndex := OldIndex; 90 | end; 91 | 92 | procedure TfrPrintForm.CB1DrawItem(Control: TWinControl; Index: Integer; 93 | ARect: TRect; State: TOwnerDrawState); 94 | var 95 | r: TRect; 96 | begin 97 | r := ARect; 98 | r.Right := r.Left + 18; 99 | r.Bottom := r.Top + 16; 100 | OffsetRect(r, 2, 0); 101 | with CB1.Canvas do 102 | begin 103 | FillRect(ARect); 104 | BrushCopy(r, Image1.Picture.Bitmap, Rect(0, 0, 18, 16), clOlive); 105 | TextOut(ARect.Left + 24, ARect.Top + 1, CB1.Items[Index]); 106 | end; 107 | end; 108 | 109 | procedure TfrPrintForm.PropButtonClick(Sender: TObject); 110 | begin 111 | PrinterSetupDialog1.Execute; 112 | CB1.ItemIndex := Printer.PrinterIndex; 113 | end; 114 | 115 | procedure TfrPrintForm.CB1Click(Sender: TObject); 116 | begin 117 | Prn.PrinterIndex := CB1.ItemIndex; 118 | end; 119 | 120 | procedure TfrPrintForm.E2Click(Sender: TObject); 121 | begin 122 | RB3.Checked := True; 123 | end; 124 | 125 | procedure TfrPrintForm.frSpeedButton1Click(Sender: TObject); 126 | var 127 | i: Integer; 128 | begin 129 | i := StrToInt(E1.Text); 130 | Inc(i); 131 | E1.Text := IntToStr(i); 132 | end; 133 | 134 | procedure TfrPrintForm.frSpeedButton2Click(Sender: TObject); 135 | var 136 | i: Integer; 137 | begin 138 | i := StrToInt(E1.Text); 139 | Dec(i); 140 | if i <= 0 then i := 1; 141 | E1.Text := IntToStr(i); 142 | end; 143 | 144 | procedure TfrPrintForm.RB3Click(Sender: TObject); 145 | begin 146 | E2.SetFocus; 147 | end; 148 | 149 | end. 150 | -------------------------------------------------------------------------------- /Source/FR_PROGR.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_PROGR.DFM -------------------------------------------------------------------------------- /Source/FR_PROGR.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Progress dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_progr; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, ExtCtrls, FR_Class, FR_Const; 20 | 21 | const 22 | CM_BeforeModal = WM_USER + 1; 23 | 24 | type 25 | TfrProgressForm = class(TForm) 26 | Button1: TButton; 27 | Label1: TLabel; 28 | procedure Button1Click(Sender: TObject); 29 | procedure FormCreate(Sender: TObject); 30 | private 31 | { Private declarations } 32 | FDoc: TfrReport; 33 | FOnBeforeModal: TNotifyEvent; 34 | {$IFDEF Delphi9} 35 | procedure CMBeforeModal(Sender: TObject); 36 | {$ELSE} 37 | procedure CMBeforeModal(var Message: TMessage); message CM_BeforeModal; 38 | {$ENDIF} 39 | public 40 | { Public declarations } 41 | FirstCaption: String; 42 | {$IFDEF Delphi9} 43 | Timer: TTimer; 44 | {$ENDIF} 45 | property OnBeforeModal: TNotifyEvent read FOnBeforeModal write FOnBeforeModal; 46 | function Show_Modal(Doc: TfrReport): Word; 47 | end; 48 | 49 | var 50 | frProgressForm: TfrProgressForm; 51 | 52 | implementation 53 | 54 | {$R *.DFM} 55 | 56 | function TfrProgressForm.Show_Modal(Doc: TfrReport): Word; 57 | begin 58 | FDoc := Doc; 59 | {$IFDEF Delphi9} 60 | Timer := TTimer.Create(nil); 61 | Timer.Interval := 200; 62 | Timer.OnTimer := CMBeforeModal; 63 | Timer.Enabled := True; 64 | {$ELSE} 65 | PostMessage(Handle, CM_BeforeModal, 0, 0); 66 | {$ENDIF} 67 | Result := ShowModal; 68 | {$IFDEF Delphi9} 69 | Timer.Free; 70 | {$ENDIF} 71 | end; 72 | 73 | procedure TfrProgressForm.Button1Click(Sender: TObject); 74 | begin 75 | FDoc.Terminated := True; 76 | ModalResult := mrCancel; 77 | end; 78 | 79 | {$IFDEF Delphi9} 80 | procedure TfrProgressForm.CMBeforeModal(Sender: TObject); 81 | begin 82 | Timer.Enabled := False; 83 | if Assigned(FOnBeforeModal) then 84 | FOnBeforeModal(Self); 85 | end; 86 | {$ELSE} 87 | procedure TfrProgressForm.CMBeforeModal(var Message: TMessage); 88 | begin 89 | if Assigned(FOnBeforeModal) then FOnBeforeModal(Self); 90 | end; 91 | {$ENDIF} 92 | 93 | procedure TfrProgressForm.FormCreate(Sender: TObject); 94 | begin 95 | Button1.Caption := LoadStr(SCancel); 96 | end; 97 | 98 | end. 99 | 100 | -------------------------------------------------------------------------------- /Source/FR_REG.DCR: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_REG.DCR -------------------------------------------------------------------------------- /Source/FR_REG.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Registration unit } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | 12 | unit FR_reg; 13 | 14 | interface 15 | 16 | {$I FR.inc} 17 | 18 | procedure Register; 19 | 20 | implementation 21 | 22 | uses 23 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, 24 | {$IFNDEF Delphi6} 25 | DsgnIntf, 26 | {$ELSE} 27 | DesignIntf, DesignEditors, DesignWindows, DsnConst, 28 | {$ENDIF} 29 | Dialogs, FR_Class, FR_DSet, FR_DBSet, 30 | FR_OLE, FR_Rich, FR_ChBox, FR_Shape, FR_BarC, FR_RRect, 31 | FR_Desgn, FR_View, FR_Dock, FR_Ctrls, FR_DBOp, 32 | FR_E_TXT, FR_E_RTF, FR_E_CSV, FR_E_HTM, FR_Const 33 | {$IFDEF TeeChart}, FR_Chart {$ENDIF} 34 | {$IFDEF RX}, FR_RxRTF {$ENDIF}; 35 | 36 | {-----------------------------------------------------------------------} 37 | type 38 | TfrRepEditor = class(TComponentEditor) 39 | procedure ExecuteVerb(Index: Integer); override; 40 | function GetVerb(Index: Integer): String; override; 41 | function GetVerbCount: Integer; override; 42 | procedure DoDesign; 43 | end; 44 | 45 | procedure TfrRepEditor.ExecuteVerb(Index: Integer); 46 | begin 47 | DoDesign; 48 | end; 49 | 50 | function TfrRepEditor.GetVerb(Index: Integer): String; 51 | begin 52 | Result := LoadStr(SDesignReport); 53 | end; 54 | 55 | function TfrRepEditor.GetVerbCount: Integer; 56 | begin 57 | Result := 1; 58 | end; 59 | 60 | procedure TfrRepEditor.DoDesign; 61 | begin 62 | TfrReport(Component).DesignReport; 63 | if frDesigner <> nil then 64 | if TfrReportDesigner(frDesigner).Modified then 65 | Designer.Modified; 66 | end; 67 | 68 | {-----------------------------------------------------------------------} 69 | procedure Register; 70 | begin 71 | RegisterComponents('FreeReport', 72 | [TfrReport, TfrCompositeReport, TfrDBDataSet, TfrUserDataset, 73 | TfrOLEObject, TfrRichObject, TfrCheckBoxObject, 74 | TfrShapeObject, TfrBarCodeObject, 75 | {$IFDEF TeeChart} TfrChartObject, {$ENDIF} 76 | {$IFDEF RX} TfrRxRichObject, {$ENDIF} 77 | TfrRoundRectObject, 78 | TfrTextExport, TfrRTFExport, TfrCSVExport, TfrHTMExport, 79 | TfrDesigner, 80 | TfrPreview]); 81 | RegisterComponents('FR Tools', 82 | [TfrSpeedButton, TfrDock, TfrToolBar, 83 | TfrTBButton, TfrTBSeparator, TfrTBPanel, TfrOpenDBDialog]); 84 | RegisterComponentEditor(TfrReport, TfrRepEditor); 85 | end; 86 | 87 | end. 88 | -------------------------------------------------------------------------------- /Source/FR_RICH.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_RICH.DFM -------------------------------------------------------------------------------- /Source/FR_RRECT.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_RRECT.DFM -------------------------------------------------------------------------------- /Source/FR_RRECT.PAS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_RRECT.PAS -------------------------------------------------------------------------------- /Source/FR_RXRTF.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_RXRTF.DFM -------------------------------------------------------------------------------- /Source/FR_SHAPE.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_SHAPE.DFM -------------------------------------------------------------------------------- /Source/FR_SNTXE.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_SNTXE.DFM -------------------------------------------------------------------------------- /Source/FR_SRCH.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_SRCH.DFM -------------------------------------------------------------------------------- /Source/FR_SRCH.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Search dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Srch; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, FR_Const; 20 | 21 | type 22 | TfrPreviewSearchForm = class(TForm) 23 | Label1: TLabel; 24 | Edit1: TEdit; 25 | Button1: TButton; 26 | Button2: TButton; 27 | GroupBox1: TGroupBox; 28 | CB1: TCheckBox; 29 | GroupBox2: TGroupBox; 30 | RB1: TRadioButton; 31 | RB2: TRadioButton; 32 | procedure FormActivate(Sender: TObject); 33 | procedure FormCreate(Sender: TObject); 34 | private 35 | { Private declarations } 36 | public 37 | { Public declarations } 38 | end; 39 | 40 | var 41 | frPreviewSearchForm: TfrPreviewSearchForm; 42 | 43 | implementation 44 | 45 | {$R *.DFM} 46 | 47 | procedure TfrPreviewSearchForm.FormActivate(Sender: TObject); 48 | begin 49 | Edit1.SetFocus; 50 | Edit1.SelectAll; 51 | end; 52 | 53 | procedure TfrPreviewSearchForm.FormCreate(Sender: TObject); 54 | begin 55 | Caption := LoadStr(frRes + 000); 56 | Label1.Caption := LoadStr(frRes + 001); 57 | GroupBox1.Caption := LoadStr(frRes + 002); 58 | CB1.Caption := LoadStr(frRes + 003); 59 | GroupBox2.Caption := LoadStr(frRes + 004); 60 | RB1.Caption := LoadStr(frRes + 005); 61 | RB2.Caption := LoadStr(frRes + 006); 62 | Button1.Caption := LoadStr(SOk); 63 | Button2.Caption := LoadStr(SCancel); 64 | end; 65 | 66 | end. 67 | 68 | -------------------------------------------------------------------------------- /Source/FR_TEMPL.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_TEMPL.DFM -------------------------------------------------------------------------------- /Source/FR_TEMPL.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { New Template form } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Templ; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | StdCtrls, ExtCtrls, FR_Const; 20 | 21 | type 22 | TfrTemplNewForm = class(TForm) 23 | GroupBox2: TGroupBox; 24 | Panel1: TPanel; 25 | Image1: TImage; 26 | Button1: TButton; 27 | Button2: TButton; 28 | Button3: TButton; 29 | OpenDialog1: TOpenDialog; 30 | Memo1: TMemo; 31 | Label1: TLabel; 32 | procedure Button1Click(Sender: TObject); 33 | procedure FormActivate(Sender: TObject); 34 | procedure FormCreate(Sender: TObject); 35 | private 36 | { Private declarations } 37 | public 38 | { Public declarations } 39 | end; 40 | 41 | var 42 | frTemplNewForm: TfrTemplNewForm; 43 | 44 | implementation 45 | 46 | {$R *.DFM} 47 | 48 | procedure TfrTemplNewForm.Button1Click(Sender: TObject); 49 | begin 50 | OpenDialog1.Filter := LoadStr(SBMPFile) + ' (*.bmp)|*.bmp'; 51 | with OpenDialog1 do 52 | if Execute then 53 | Image1.Picture.LoadFromFile(FileName); 54 | end; 55 | 56 | procedure TfrTemplNewForm.FormActivate(Sender: TObject); 57 | begin 58 | Memo1.Lines.Clear; 59 | Image1.Picture.Assign(nil); 60 | Memo1.SetFocus; 61 | end; 62 | 63 | procedure TfrTemplNewForm.FormCreate(Sender: TObject); 64 | begin 65 | Caption := LoadStr(frRes + 320); 66 | Label1.Caption := LoadStr(frRes + 321); 67 | GroupBox2.Caption := LoadStr(frRes + 322); 68 | Button1.Caption := LoadStr(frRes + 323); 69 | Button2.Caption := LoadStr(SOk); 70 | Button3.Caption := LoadStr(SCancel); 71 | end; 72 | 73 | end. 74 | 75 | -------------------------------------------------------------------------------- /Source/FR_UTILS.PAS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_UTILS.PAS -------------------------------------------------------------------------------- /Source/FR_VAR.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_VAR.DFM -------------------------------------------------------------------------------- /Source/FR_VARED.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_VARED.DFM -------------------------------------------------------------------------------- /Source/FR_VARED.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Variables editor } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_Vared; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | ExtCtrls, StdCtrls, ComCtrls, FR_Class, FR_Const; 20 | 21 | type 22 | TfrVaredForm = class(TForm) 23 | Button4: TButton; 24 | Button5: TButton; 25 | Memo1: TMemo; 26 | Label1: TLabel; 27 | procedure FormActivate(Sender: TObject); 28 | procedure FormCreate(Sender: TObject); 29 | private 30 | { Private declarations } 31 | public 32 | { Public declarations } 33 | Doc: TfrReport; 34 | end; 35 | 36 | var 37 | frVaredForm: TfrVaredForm; 38 | 39 | implementation 40 | 41 | {$R *.DFM} 42 | 43 | procedure TfrVaredForm.FormActivate(Sender: TObject); 44 | begin 45 | Memo1.Lines.Assign(Doc.Variables); 46 | end; 47 | 48 | procedure TfrVaredForm.FormCreate(Sender: TObject); 49 | begin 50 | Caption := LoadStr(frRes + 360); 51 | Label1.Caption := LoadStr(frRes + 361); 52 | Button4.Caption := LoadStr(SOk); 53 | Button5.Caption := LoadStr(SCancel); 54 | end; 55 | 56 | end. 57 | 58 | -------------------------------------------------------------------------------- /Source/FR_VBND.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_VBND.DFM -------------------------------------------------------------------------------- /Source/FR_VBND.PAS: -------------------------------------------------------------------------------- 1 | 2 | {*****************************************} 3 | { } 4 | { FastReport v2.3 } 5 | { Select Band datasource dialog } 6 | { } 7 | { Copyright (c) 1998-99 by Tzyganenko A. } 8 | { } 9 | {*****************************************} 10 | 11 | unit FR_VBnd; 12 | 13 | interface 14 | 15 | {$I FR.inc} 16 | 17 | uses 18 | Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 19 | ExtCtrls, StdCtrls, FR_Class, FR_Intrp; 20 | 21 | type 22 | TfrVBandEditorForm = class(TForm) 23 | Button1: TButton; 24 | Button2: TButton; 25 | GroupBox1: TGroupBox; 26 | GroupBox2: TGroupBox; 27 | Label1: TLabel; 28 | CB1: TComboBox; 29 | Edit1: TEdit; 30 | LB1: TListBox; 31 | procedure FormCreate(Sender: TObject); 32 | procedure CB1Click(Sender: TObject); 33 | procedure LB1Click(Sender: TObject); 34 | procedure CB1Exit(Sender: TObject); 35 | private 36 | { Private declarations } 37 | Band: TfrBandView; 38 | List: TfrVariables; 39 | procedure FillCombo; 40 | public 41 | { Public declarations } 42 | procedure ShowEditor(t: TfrView); 43 | end; 44 | 45 | var 46 | frVBandEditorForm: TfrVBandEditorForm; 47 | 48 | implementation 49 | 50 | {$R *.DFM} 51 | 52 | uses FR_DSet, FR_Const, FR_Utils; 53 | 54 | procedure TfrVBandEditorForm.ShowEditor(t: TfrView); 55 | var 56 | i, j, n: Integer; 57 | s: String; 58 | t1: TfrView; 59 | b: Boolean; 60 | begin 61 | Band := t as TfrBandView; 62 | List := TfrVariables.Create; 63 | 64 | s := Band.Dataset; 65 | b := False; 66 | if Pos(';', s) = 0 then 67 | b := True; 68 | 69 | with frDesigner.Page do 70 | for i := 0 to Objects.Count - 1 do 71 | begin 72 | t1 := Objects[i]; 73 | if (t1.Typ = gtBand) and not (TfrBandView(t1).BandType in 74 | [btReportTitle..btPageFooter, btOverlay, btCrossHeader..btCrossFooter]) then 75 | begin 76 | LB1.Items.Add(t1.Name + ': ' + frBandNames[t1.FrameTyp]); 77 | n := Pos(AnsiUpperCase(t1.Name) + '=', AnsiUpperCase(s)); 78 | if n <> 0 then 79 | begin 80 | n := n + Length(t1.Name) + 1; 81 | j := n; 82 | while s[j] <> ';' do Inc(j); 83 | List[t1.Name] := Copy(s, n, j - n); 84 | end 85 | else 86 | if b then 87 | List[t1.Name] := s else 88 | List[t1.Name] := '0'; 89 | end; 90 | end; 91 | if LB1.Items.Count = 0 then 92 | begin 93 | List.Free; 94 | Exit; 95 | end; 96 | FillCombo; 97 | LB1.ItemIndex := 0; 98 | LB1Click(nil); 99 | 100 | if ShowModal = mrOk then 101 | begin 102 | CB1Exit(nil); 103 | frDesigner.BeforeChange; 104 | s := ''; 105 | for i := 0 to List.Count - 1 do 106 | s := s + List.Name[i] + '=' + List.Value[i] + ';'; 107 | Band.DataSet := s; 108 | end; 109 | List.Free; 110 | end; 111 | 112 | procedure TfrVBandEditorForm.FillCombo; 113 | begin 114 | frGetComponents(CurReport.Owner, TfrDataset, CB1.Items, nil); 115 | CB1.Items.Insert(0, LoadStr(SVirtualDataset)); 116 | CB1.Items.Insert(0, LoadStr(SNotAssigned)); 117 | end; 118 | 119 | procedure TfrVBandEditorForm.FormCreate(Sender: TObject); 120 | begin 121 | Caption := LoadStr(frRes + 485); 122 | GroupBox1.Caption := LoadStr(frRes + 486); 123 | GroupBox2.Caption := LoadStr(frRes + 487); 124 | Label1.Caption := LoadStr(frRes + 488); 125 | Button1.Caption := LoadStr(SOk); 126 | Button2.Caption := LoadStr(SCancel); 127 | end; 128 | 129 | procedure TfrVBandEditorForm.CB1Click(Sender: TObject); 130 | begin 131 | frEnableControls([Label1, Edit1], CB1.ItemIndex = 1); 132 | end; 133 | 134 | procedure TfrVBandEditorForm.LB1Click(Sender: TObject); 135 | var 136 | i: Integer; 137 | s: String; 138 | begin 139 | s := LB1.Items[LB1.ItemIndex]; 140 | s := Copy(s, 1, Pos(':', s) - 1); 141 | s := List[s]; 142 | if (s <> '') and (s[1] in ['1'..'9']) then 143 | begin 144 | i := 1; 145 | Edit1.Text := s; 146 | end 147 | else 148 | begin 149 | i := CB1.Items.IndexOf(s); 150 | if i = -1 then 151 | i := CB1.Items.IndexOf(LoadStr(SNotAssigned)); 152 | end; 153 | CB1.ItemIndex := i; 154 | CB1Click(nil); 155 | end; 156 | 157 | procedure TfrVBandEditorForm.CB1Exit(Sender: TObject); 158 | var 159 | s: String; 160 | begin 161 | s := LB1.Items[LB1.ItemIndex]; 162 | s := Copy(s, 1, Pos(':', s) - 1); 163 | if CB1.ItemIndex = 1 then 164 | List[s] := Edit1.Text else 165 | List[s] := CB1.Items[CB1.ItemIndex]; 166 | end; 167 | 168 | end. 169 | 170 | -------------------------------------------------------------------------------- /Source/FR_VIEW.DFM: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/FR_VIEW.DFM -------------------------------------------------------------------------------- /Source/Fr_intrp.pas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/Fr_intrp.pas -------------------------------------------------------------------------------- /Source/freerep4.cpp: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------- 2 | #include 3 | #pragma hdrstop 4 | USEPACKAGE("vcl40.bpi"); 5 | USEUNIT("fr_reg.pas"); 6 | USERES("fr_reg.dcr"); 7 | USEPACKAGE("vclsmp40.bpi"); 8 | USEPACKAGE("vcldb40.bpi"); 9 | USEPACKAGE("vclx40.bpi"); 10 | USEPACKAGE("vcljpg40.bpi"); 11 | USEPACKAGE("tee40.bpi"); 12 | //--------------------------------------------------------------------------- 13 | #pragma package(smart_init) 14 | //--------------------------------------------------------------------------- 15 | // Package source. 16 | //--------------------------------------------------------------------------- 17 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*) 18 | { 19 | return 1; 20 | } 21 | //--------------------------------------------------------------------------- 22 | -------------------------------------------------------------------------------- /Source/freerep4.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/Source/freerep4.res -------------------------------------------------------------------------------- /Source/freerep5.bpk: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | [Version Info] 48 | IncludeVerInfo=1 49 | AutoIncBuild=0 50 | MajorVer=1 51 | MinorVer=0 52 | Release=0 53 | Build=0 54 | Debug=0 55 | PreRelease=0 56 | Special=0 57 | Private=0 58 | DLL=0 59 | Locale=1049 60 | CodePage=1251 61 | 62 | [Version Info Keys] 63 | CompanyName= 64 | FileDescription= 65 | FileVersion=1.0.0.0 66 | InternalName= 67 | LegalCopyright= 68 | LegalTrademarks= 69 | OriginalFilename= 70 | ProductName= 71 | ProductVersion=1.0.0.0 72 | Comments= 73 | 74 | [HistoryLists\hlIncludePath] 75 | Count=1 76 | Item0=$(BCB)\include;$(BCB)\include\vcl 77 | 78 | [HistoryLists\hlLibraryPath] 79 | Count=1 80 | Item0=$(BCB)\lib\obj;$(BCB)\lib 81 | 82 | [HistoryLists\hlDebugSourcePath] 83 | Count=1 84 | Item0=$(BCB)\source\vcl 85 | 86 | [Debugging] 87 | DebugSourceDirs=$(BCB)\source\vcl 88 | 89 | [Parameters] 90 | RunParams= 91 | HostApplication= 92 | RemoteHost= 93 | RemotePath= 94 | RemoteDebug=0 95 | 96 | [Compiler] 97 | ShowInfoMsgs=0 98 | LinkDebugVcl=0 99 | 100 | [CORBA] 101 | AddServerUnit=1 102 | AddClientUnit=1 103 | PrecompiledHeaders=1 104 | 105 | -------------------------------------------------------------------------------- /Source/freerep5.cpp: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------- 2 | #include 3 | #pragma hdrstop 4 | USEUNIT("fr_reg.pas"); 5 | USERES("fr_reg.dcr"); 6 | USEPACKAGE("vcl50.bpi"); 7 | USEPACKAGE("vclsmp50.bpi"); 8 | USEPACKAGE("vcldb50.bpi"); 9 | USEPACKAGE("vclbde50.bpi"); 10 | USEPACKAGE("vclx50.bpi"); 11 | USEPACKAGE("vcljpg50.bpi"); 12 | USEPACKAGE("tee50.bpi"); 13 | //--------------------------------------------------------------------------- 14 | #pragma package(smart_init) 15 | //--------------------------------------------------------------------------- 16 | // Package source. 17 | //--------------------------------------------------------------------------- 18 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*) 19 | { 20 | return 1; 21 | } 22 | //--------------------------------------------------------------------------- 23 | -------------------------------------------------------------------------------- /Source/freerep6.cpp: -------------------------------------------------------------------------------- 1 | //--------------------------------------------------------------------------- 2 | 3 | #include 4 | #pragma hdrstop 5 | #pragma package(smart_init) 6 | //--------------------------------------------------------------------------- 7 | 8 | // Package source. 9 | //--------------------------------------------------------------------------- 10 | 11 | #pragma argsused 12 | int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*) 13 | { 14 | return 1; 15 | } 16 | //--------------------------------------------------------------------------- 17 | -------------------------------------------------------------------------------- /frfeature_rus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/frfeature_rus.txt -------------------------------------------------------------------------------- /license_rus.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastReports/FreeReport/88584e308dfc82ae90ccf78d595015ffa2d53616/license_rus.txt --------------------------------------------------------------------------------