Font Size: a A A

Method Of Report Generation Based On XPS And Its Application

Posted on:2012-05-21Degree:MasterType:Thesis
Country:ChinaCandidate:H Y ZhangFull Text:PDF
GTID:2178330335951121Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Report is the important instrument of the enterprises and institutions for statistics, analysis, decision-making, and its generation method and technique in software systems, especially in the information management system, occupy an important position.Because of report format frequent changes in actual business need, a lot of work are used for studying or researching report design tool, such as:Segate Crystal Reports Pro, FineReport. Through their research, we believe that it has merit that similar to the Excel format of Report Builder work, its main advantage is that you can utilize the function of Excel software layout, save and print report, however, there were deficiencies, chief manifestation is report contents can be changed at will, low security.Paper presents a method for generating reports that are based on the XPS, XPS is a graphic format similar to the PDF file, this format is supported by popular browsers software such as IE, thereby, the report file can control print through this software, for this reason, XPS eliminates the many burdens of the reporter, greatly reduces the workload of a programmer.In the proposed method, we can use XAML to define the format templates, formatting templates stored in the template library, control programs write data to XPS documents through WPF. Generally speaking, XAML and WPF are used to make the user interface, but in this method, it used to make graphical reports, that is, report making is similar to making user interface reporting.The Goal of WPF and XAML is to realize the separation of user interface design and business logic design in the development of software systems, in this method, the control used to separate the format of the report design, Report Builder, report printing control.In the process of implementation of the method, this programmable interface based XPS related, define and implement control classes related to the Report Builder, defines and implements the classes for displaying XPS documents, illustrates the document template defines the steps and provides an example of the XAML source file for the template.To demonstrate the feasibility and practicality of the method, this worik with a demand of tea sales company named Longji in Peking as the background, as part of its management system, defines the associated database, provides the relationship between the tables in the database, and sales statistics for the case, it hold up two related reports, a simple statistical report, the other is a bar chart report. Each of the two reports in accordance with their respective report format template.Through examples, advantages of this method is:report generation and report printing separate completely, the generated report file can break away from application system, for example:you can mail to the other place, and who gets the report file, you can easily open file that support XPS format browse, print, and can be adjusted using browser setting paper model, the page size. However, he cannot change the contents of the report, which has high security, compared with the report in Excel format.Main shortcomings of this work are:report formatting templates that have been defined are rarely, without the actual form template library, the report format is very simple, fail to provide complex database query in the report.Further major work is:to study third-party report design plug-in automatically generates a report and utilize this method of formatting templates, to reduce work burden of the format template definition.
Keywords/Search Tags:Report Generation, Report Format Template, XPS
PDF Full Text Request
Related items