Report printing method and system based on HTML (Hyper Text Markup Language) template
A report and template technology, applied in the computer field, can solve the problems of not being able to meet the actual requirements, not suitable for communication, poor maintainability, etc., and achieve the effect of shortening the development cycle, reducing development costs, and reducing difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] figure 1 It is a flowchart of a report printing method based on an HTML template provided by Embodiment 1 of the present invention. like figure 1 As shown, the method mainly includes the following steps:
[0039] Step 11. Create an HTML template file according to the presentation requirements of the report. The template language is embedded in the HTML template file, and includes the template file and a CSS file for storing display styles and configuration information; wherein, according to the rules of the template language, the The dynamic content part is embedded into the template file in the form of variables to form the template file.
[0040] Specifically, HTML is a common markup language on the Web, which stores structured content in the form of text. In order to facilitate later maintenance, following the principle of separation of content and style, CSS style sheets are used to control the display style of reports; for example, information such as color, fon...
Embodiment 2
[0075] Figure 4 It is a schematic diagram of an HTML template-based report printing system provided by Embodiment 2 of the present invention. Such as Figure 4 As shown, the system mainly includes:
[0076] The HTML template file creation module 41 is used to create an HTML template file according to the presentation requirements of the report. The template language is embedded in the HTML template file, and includes a template file and a CSS file for storing display styles and configuration information; wherein, according to the template The language rule embeds the dynamic content part in the report into the template file in the form of variables to form the template file;
[0077] A dynamic data acquisition module 42, configured to acquire the dynamic data required to generate the report;
[0078] Standard HTML file generation module 43, for adopting mapping dictionary to realize the replacement of dynamic data and corresponding variable, generate standard HTM...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com