Easily design and develop a graphic report to see: http://www.yuanzn.com/demo.htm 1, overview
The report design in the Windows environment is not like the original DOS. It will be line up through the tab, and the form line in the Chinese statement needs to be drawn in the form of the drawing, so that there is a large number of reports need to design. In the development of the project, the programmer's pressure is quite large. Although there are "report designers" in many development tools, it is often because the tool is "Bohuai" without the habit of Chinese.
To this end, we have spent a lot of effort, developing successfully, powerful, design and development of software tools for Chinese-style reports that meet the habit of Chinese habits, and their supporting middleware, hope to give all the stress of report design!
"ChineseReport" is a professional Chinese-style report design and development middleware and tools consisting of "report format generators" and "reporting system development middleware". The former makes report system designers quickly produce a variety of formats complex Report template, while the latter provides report functional services to the application, easy to implement the actual report, statistical chart generation, report preview, report printing, etc.
Software is suitable for running under various versions of Windows, the middleware is suitable for multiple development tools such as Delphi, VB, VC, PB. Easy operation, free control, powerful features, good results, let you easily achieve complex and more changing, graphic and Chinese-style report!
The system provides the following 30 report processing functions or procedures for the main application call for the dynamic link library (DLL):
InitReportSystemUserReportExistsUserReportCountFindUserReportCreateUserReportOpenUserReportRemoveUserReportGetCellFontSetCellFontGetCellPositionFillDataFillImageFromFileFillImageFromStreamCreateChartSetChartTitleSetChartItemsSetChartStyleSetChartLegendFontSetChartItemNameSetChartYAxisSetChartGapsSetChartGroupColorSetChartItemValuePaintChartToCellFreeChartCreateProgressShowProgressCloseProgressEndReportSystem
The above functions and processes complete user report management, data filling, graphical filling, statistical graphics, schedule, report preview, and print window display, using these features, programmers do not have to spend vigorous gas to report Format control and output control, but only need to spend energy on the data processing of the primary application.
Second, the basic development steps are:
(1) Use the "Report Format Builder" to define the report format, that is, the report template.
(2) Copy the files such as chineseReport.dll to the folder you are developing.
(3) In your source program contains the CREPORTAPI unit file, the file defines the interface parameters, related procedures, or functions of the ChineseESEREPORT.DLL dynamic link library.
(4) Call the process or function provided by ChineseReport.dll, implement the association of the report template in your development project and the "report format generator" defined, that is, fill in the statistics in your system to the report template. Generate actual application system reports.
(5), call the function in the ChineseeSEREPORT.DLL module to achieve various statistical graphics and placement reports
(6), call the function in the ChineseEseReport.dll module, implement the report preview, export, and print. (7) When you complete the development, bundle with ChineseReport.dll in your application and release it together. Third, the performance indicators of ChineseReport.dll:
(1) The standard STDCALL call format supports development tools under various Windows.
(2) When running is completely detached from the report generator, it is tightly combined with the application.
(3) Support a variety of complex mesh, Chinese state statements.
(4), support text table unit, graphic table unit, image table unit, statistics, and a plurality of graphic reports that are free to implement various formatting effects.
(5), nine common statistics, 2,3d, color / black and white, etc., freely set the font style of each part of the chart.
(6) Support from the data stream, file fill in the picture to report cell
(7) Support WMF, EMF, Bitmap, JPEG, ICON, MetaFile, etc. Various graphic image formats
(8), have a variety of processing or functions such as report paging access, user report identity, historical user report storage, historical report cleaning.
(9) Provide a variety of reusable forms and associated control processes or functions such as report preview, printing, export, and statistical progress windows.
(10), suitable for multiple database categories such as SQL Server, Oracle, Access, DBF
(11), the equipment-independent print output control is based on millimeters, which is conducive to size control.
(12), the operating environment adapts to Windows98 / ME / 2000 / NT / XP.
Fourth, report format generator basic operation
1. Specify the database of the application system you are developing to implement database connections
2. Use the "Create" function to create a series of data sheets related to the report in your database
3. Use the "New Table" function to establish a basic framework of a report, pay attention to setting the appropriate basic line, column number information (set according to the actual report and printing paper size).
4, adjust the number of reports, "report basic columns", so that the total width of the report is just within the paper range (you can "preview", then adjust).
5. In the "Basic Column" column, select "XX-Irregular Cell", select "Combination", "Reorganization" and other functions to combine the combination of cells (ie, combined with basic cells into large cells) .
6. After the "preview" format, if the combined cell is incorrect, use "Dispersion" to unbap the combined operation of the original combination.
7. Repeat the above 4-6 until the format is satisfactory.
8. Exit the software, press CHINESEREPORT.DLL to perform data to fill in and preview print.