1. Technical Field
Embodiments of the present disclosure relate to user interfaces, and more particularly to a method and system for displaying a graphical report.
2. Description of Related Art
In order for corporate operations to maintain manageability while dealing with complex financial and commercial conditions, accurate and timely reporting systems are essential. Considerable manpower and fiscal resources are required to support such systems. Generation and delivery of pertinent data, while taking advantage of recently-developed communication technologies, continues to present certain obstacles. One such impediment is the reporting systems' inability to implement changes to attributes without rewriting source code, thereby expending considerable time and money.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the unit may be integrated in firmware, such as an EPROM. It will be appreciated that module may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The unit described herein may be implemented as software and/or hardware unit and may be stored in any type of computer-readable medium or other computer storage electronic device.
The system 21 includes a read module 210, a parse module 211, a pre-compile module 212, a fill module 213 and a process module 214. One or more computerized codes of the modules 210-212 are stored in the memory system 6 and executed by one or more processors 5. In the embodiment, the read module 210 reads the XML files 22 from the memory system 20. The parse module 211 loads the XML files 22 into the memory system 20 and parses the XML files 22 to obtain Report Configuration Objects. The Report Configuration Objects are objects defined in the XML files 22 to describe attributes, such as types and names. The pre-compile module 212 pre-compiles the Report Configuration Objects based on a User Control to generate a
Report Control. Users can adjust attributes of the graphical report on demand using the User Control. In the embodiment, the Report Control is an assembly of objects for visualization control and the User Control is an assembly of objects for user defined control. The input device 4 is operable to manipulate the Report Control and the User Control by modifying object members via member functions thereof.
The fill module 213 fills an Integrated Development Environment (IDE) Control with the Report Control to generate a graphical report. In the embodiment, the IDE Control is an assembly of applications in a programming development environment, including code editors, compilers, debuggers and graphic user interfaces. The IDE Control can execute alone or with other applications. New features can be expanded under protocols by packaging into components that can be dynamically imported by .NET reflection technology. In the embodiment, the .NET reflection technology is implemented by .NET Runtime Framework.
The process module 214 deploys the .NET reflection technology to dynamically import the graphical report for leading out, printing, display or storage. In the embodiment, the process module 214 can lead out the graphical report to multiple file formats, such as PDF, PPT, WORD and EXCEL. Such feature is implemented by integrating PDF, PPT, WORD and EXCEL development elements and encapsulating the development elements into the User Control. The Report Control generated by the User Control thereby provides lead-out selection. In the embodiment, the process module 214 uses WebBrowser Print Control to publish the graphical report as a web document. The WebBrowser Print Control includes an assembly of printing control objects which support What You See Is What You Get (WYSIWYG), page setup, and continuous printing. In the embodiment, the process module 214 uses Office Web Components (OWC) combining XML technology to output the graphical report as bar charts, line charts, radar maps, Gantt charts, and/or three-dimensional graphics.
In the embodiment, the process module 214 uses ADO.NET, Java Data Base Connectivity(JDBC)and Component Object Model(COM)components combining XML technology to store the graphical report on the memory system 20. The storage can be implemented with Databases, such as My SQL, Oracle, DB2 and/or SQL Server. When multiple Databases are employed, a configuration file is implemented to specify which Database is in use. Editing the configuration file can change Databases without modifying system source codes.
In other embodiments, the COM components can be used to encapsulate the system 21 into a binary code. The binary code is supported by different Web Application Development Platform, such as ASP, ASP.NET, JAVA and PHP, in order to efficiently port the system 21 onto different Operating Systems.
In block S1, the read module 210 reads the XML files 22 from the memory system 20. In block S2, the parse module 211 loads the XML files 22 into the memory system 20 and parses the XML files 22 to obtain the Report Configuration Objects. In block S3, the pre-compile module 212 pre-compiles the Report Configuration Objects to generate the Report Control. In block S4, the fill module 213 fills the IDE Control with the Report Control to generate the graphical report. In block S5, the process module 214 dynamically imports the graphical report for leading out, printing, display or storage.
Although certain inventive embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure
Number | Date | Country | Kind |
---|---|---|---|
200910312623.1 | Dec 2009 | CN | national |