Method and system for converting table data and format in Web page into Excel file
A technology for excel and tabular data, applied in the field of tabular data and format conversion Excel files, can solve the problems that the Excel file format does not meet the individual requirements, achieve both personalization and versatility, reduce the problem of repeated program development, and reduce redundancy Effect of remaining development work
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] The form data in the Web page of the present invention and the method for format conversion Excel file, this method is that the json that Web form data and format are organized into is transmitted to the processing interface of server backend by front-end development language at the Web end, and server backend according to The json structure data from the front end generates an Excel file stream and returns it to the front end; the details are as follows:
[0046] S1, generate json data;
[0047] S2. Transmitting the json data to the processing interface of the server backend;
[0048] S3. Generate a two-dimensional matrix according to the json data;
[0049] S4, fill Excel according to two-dimensional matrix and json data;
[0050] S5. Return the Excel stream generated by the back end of the server to the front end, and the front end can obtain the corresponding Excel file.
[0051] The json data generated in step S1 in this embodiment is specifically as follows:
...
Embodiment 2
[0067] The form data in the Web page of the present invention and the system of form conversion Excel file, this system comprises,
[0068] Generate a module for organizing the json structure through the front-end development language on the Web side;
[0069] The transmission module is used to transmit the json data to the processing interface of the server backend;
[0070] Build a module for generating a two-dimensional matrix from json data;
[0071] Filling module, used to fill Excel according to two-dimensional matrix and json data;
[0072] The return module is used to return the Excel stream generated by the back end of the server to the front end, and the front end can obtain the corresponding Excel file.
[0073] The json structure in this embodiment includes the data and format information of the Web form; wherein, the format information includes font, indentation, alignment, whether to hide and merge cells;
[0074] The json structure includes the table name, ro...
Embodiment 3
[0076] The embodiment of the present invention also provides a computer-readable storage medium, wherein a plurality of instructions are stored, and the instructions are loaded by the processor, so that the processor executes the form data and format conversion Excel in the Web page in any embodiment of the present invention. Method and system for documentation. Specifically, a system or device equipped with a storage medium may be provided, on which the software program code for realizing the functions of any of the above embodiments is stored, and the computer (or CPU or MPU of the system or device) ) to read and execute the program code stored in the storage medium.
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