Unlock instant, AI-driven research and patent intelligence for your innovation.

System capable of dragging and dynamically configuring and exporting word document

A technology of dynamic configuration and configuration export, applied in the computer field, can solve the problems of inability to dynamically edit the template format, inability to select and obtain in a targeted manner, poor editability, and poor flexibility, so as to improve development efficiency and personnel utilization, and save writing. time, risk reduction effect

Pending Publication Date: 2022-04-29
中孚安全技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Option 1. Background design interface is cumbersome and complicated. The engineering code is concentrated in the background. Design and development of Word templates, acquisition of page elements, and completion of document link construction, etc., require a lot of work and time-consuming, and the exported file types are relatively fixed, which is not suitable for Project development with detailed functional requirements and urgent engineering progress
[0007] Option 2 Although the export work is all implemented by the front-end code, the workload and time of Word template design and document download development have been reduced, but it is impossible to select an element in the page in a targeted manner, and it is impossible to dynamically edit the template of the exported content format, and cannot realize the export of specific elements such as Echarts, and the final exported file type is only suitable for Word, which is poor in editability and flexibility

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System capable of dragging and dynamically configuring and exporting word document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Specific embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0040] Such as figure 1 A drag-and-drop dynamic configuration exporting word document system is shown, including an element configuration export unit, a chart export unit, a drag-and-drop configuration binding unit, a region format custom configuration unit, and a file type expansion unit.

[0041] The element configuration export unit is used to obtain the elements in the page and export the word document according to the configuration of the elements.

[0042] Specifically, the element configuration derivation unit includes: an element extraction module, a configuration module and a first derivation module.

[0043] The element extraction module is used to use the jQuery-WordExport plug-in to dynamically obtain the page element DOM through the jQuery selector, and add the selected element to the blank template with the pre-designed format.

[0044] ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a system capable of dragging and dynamically configuring and exporting a word document, which comprises an element configuration exporting unit used for acquiring elements in a page and exporting the word document according to the configuration of the elements; the chart exporting unit is used for acquiring echarts chart elements and exporting an echarts chart as a word document; the dragging configuration binding unit is used for establishing a module group which can be dragged and stored with exported contents by splitting or combining module areas of the page and selecting the module areas; the area format self-defining configuration unit is used for carrying out style configuration on fonts and paragraphs on a page and exporting page format setting of a document; and the file type expansion unit is used for exporting the page content into a document in a preset format based on the exported word document. According to the method, background logic processing and foreground interface calling are not needed, the background template writing time is saved, the time progress of developing the export function is shortened, the project process risk is reduced, only foreground code development is needed, and the foreground and background development efficiency and the personnel utilization rate are improved.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically relates to a drag-and-drop dynamic configuration exporting word document system. Background technique [0002] At present, with the continuous development of front-end and back-end technologies and the continuous refinement of project requirements, the functional requirements for page documentation are gradually increasing. A large number of pages have added the function of exporting Word documents, and the design and development technology for exporting Word functions is increasing. , the current page export Word document has the following common solutions: [0003] One is to write the template for exporting Word based on the existing data and background code, write the interface for exporting and downloading files through the background document component, and then pass in specific data from the front desk, call and open the link in the interface, and complete th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/0482G06F3/0481G06F3/04847G06F3/0486G06F40/186G06F40/109G06F40/117G06F16/16G06F9/455G06F9/445
CPCG06F3/0482G06F3/0481G06F3/04847G06F3/0486G06F40/186G06F40/109G06F40/117G06F16/168G06F9/45529G06F9/44526Y02D10/00
Inventor 李尊状孙强赵尉惠崔凤赵先昊
Owner 中孚安全技术有限公司