CN114415896B - System capable of dragging dynamic configuration to export word document - Google Patents

System capable of dragging dynamic configuration to export word document Download PDF

Info

Publication number
CN114415896B
CN114415896B CN202111538786.9A CN202111538786A CN114415896B CN 114415896 B CN114415896 B CN 114415896B CN 202111538786 A CN202111538786 A CN 202111538786A CN 114415896 B CN114415896 B CN 114415896B
Authority
CN
China
Prior art keywords
configuration
exporting
page
document
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111538786.9A
Other languages
Chinese (zh)
Other versions
CN114415896A (en
Inventor
李尊状
孙强
赵尉惠
崔凤
赵先昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongfu Safety Technology Co Ltd
Original Assignee
Zhongfu Safety Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongfu Safety Technology Co Ltd filed Critical Zhongfu Safety Technology Co Ltd
Priority to CN202111538786.9A priority Critical patent/CN114415896B/en
Publication of CN114415896A publication Critical patent/CN114415896A/en
Application granted granted Critical
Publication of CN114415896B publication Critical patent/CN114415896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45529Embedded in an application, e.g. JavaScript in a Web browser
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a system for exporting word documents in a draggable dynamic configuration mode, which comprises the following steps: the element configuration export unit is used for acquiring the elements in the page and exporting word documents according to the configuration of the elements; the chart export unit is used for acquiring the units of the echorts charts and exporting the echorts charts into word documents; the dragging configuration binding unit is used for establishing a module group which can be dragged and stored into the exported content by splitting or merging the module areas of the page and selecting; the region format custom configuration unit is used for configuring the styles of fonts and paragraphs on a page and exporting page format setting of a document; the file type expanding unit is used for exporting page contents into a document with a preset format based on the exported word document. According to the application, background logic processing and foreground interface calling are not needed, the background template writing time is saved, the development and export function time progress 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

System capable of dragging dynamic configuration to export word document
Technical Field
The application relates to the technical field of computers, in particular to a system capable of dragging dynamic configuration to export word documents.
Background
When the requirements of page documentation function are gradually increased along with the continuous development of front-end and back-end technologies and continuous refinement of project requirements, the functions of exporting Word documents are added into a large number of pages, the design and development technologies for the functions of exporting Word are increasingly increased, and the current page exporting Word documents have the following common schemes:
firstly, according to the existing data, the background code writes a template for exporting Word, an interface for exporting a downloaded file is written through a background document component, then specific data is transmitted in from the foreground, and links in the interface are called and opened to complete the function of exporting Word.
Secondly, according to the developed page, the foreground designs and writes a brief Word template in the page, and then uses plug-ins such as file downloading, document format adjustment and the like, and a background interface is not used, so that the page exporting Word function is completed.
However, the prior art solutions have drawbacks of different degrees while realizing the functions:
the background design interface is complicated in mode, engineering codes are concentrated in the background, word templates are designed and developed, page elements are acquired, document link construction is completed, and the like, so that the background design interface is large in workload and long in time consumption, the types of exported files are relatively fixed, and the background design interface is not suitable for project development with detailed functional requirements and urgent engineering progress.
In the second scheme, although all export work is implemented by a foreground code, workload and time of Word template design and document download development are reduced, a certain element in a page cannot be selected and acquired in a targeted manner, a template format of export content cannot be edited dynamically, export of a specific element such as Echarts cannot be implemented, and finally the exported file type is only suitable for Word and is poor in editability and flexibility.
Disclosure of Invention
Aiming at the problems in the prior art, the application aims to provide a system for exporting word documents in a draggable dynamic configuration mode.
The application aims to achieve the aim, and the aim is achieved by the following technical scheme:
a system for draggable dynamically configured exporting of word documents, comprising:
the element configuration export unit is used for acquiring the elements in the page and exporting word documents according to the configuration of the elements; the chart export unit is used for acquiring the units of the echorts charts and exporting the echorts charts into word documents; the dragging configuration binding unit is used for establishing a module group which can be dragged and stored into the exported content by splitting or merging the module areas of the page and selecting;
the region format custom configuration unit is used for configuring the styles of fonts and paragraphs on a page and exporting page format setting of a document;
the file type expanding unit is used for exporting page contents into a document with a preset format based on the exported word document.
Further, the element configuration deriving unit includes:
the element extraction module is used for dynamically acquiring a page element DOM through a jQuery selector by using a jQuery-WordExport plug-in, and adding the selected element into a blank template which is designed and written in advance to form a format style; the configuration module is used for repackaging and exporting the word plug-in according to the source code of the WordExport plug-in, adding the function of exporting the multi-type files, and repackaging the format configuration exported by the document to obtain the whole template which is completely designed and written as an element;
the first exporting module is used for exporting the word document file by applying the elements acquired by the configuration module and downloading the word document file to the local.
Further, the graph deriving unit includes:
the chart element extraction and conversion module is used for acquiring DOM of the chart element of the mechanism by using the mechanism plug-in method, then converting the DOM into binary codes of base64 bits, creating corresponding picture tags, and attaching each base64 bit code to the corresponding picture tag so as to convert the mechanism chart into a picture form;
and the second export module is used for obtaining DOM of the picture through jQuery-WordExport and exporting the echartists chart into a word document.
Further, the drag configuration binding unit includes:
the loading module is used for loading the acquired page elements into the exported secondary popup window;
the popup window element acquisition module is used for acquiring the existing elements in the derived popup window and manually input elements through the Tdrags plug-in;
and the region block dividing module is used for dynamically dividing the existing elements and the manually input element into a plurality of region blocks according to the adding positions of the existing elements and the manually input elements and adding dynamic longitudinal and transverse coordinate values limited in the popup window for each region.
Further, the region format custom configuration unit includes:
the configuration module is used for adding a toolbar into the export popup window, setting configurable options of font styles, paragraph styles and document formats, and carrying out font and paragraph style configuration;
and the setting module is used for setting the page format of the exported document by utilizing the drop-down option by simplifying the configuration of the file format in the packaging jQuery-WordExport plug-in.
Further, the file type expansion unit includes:
the conversion module is used for downloading the page content in a downloading mode of the file stream in the FileSaver, converting the page content into different file stream codes based on the word document exported by the wordExport, and exporting the document in a preset format.
Further, the setting the page format of the export document using the drop-down option includes:
view setting, margin setting, and header footer configuration are performed using the pull-down option.
Further, the document in the preset format includes:
word documents, excel tables, html files, and picture files.
Compared with the prior art, the application has the beneficial effects that:
1. according to the application, background logic processing and foreground interface calling are not needed, the background template writing time is saved, the development and export function time progress 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.
2. The export plug-in is secondarily packaged, a new function of exporting multiple types of files is innovatively added, a method for acquiring data in a page is redesigned, a specific configuration item of a modification format is optimized, redundancy and complexity of a foreground code are reduced, and a developer can clearly understand logic ideas according to simple packaging of source codes; the problem that the exporting of the echats chart cannot be realized by other exporting modes is solved; the low-code configuration function is achieved by configuring the split charging of the plug-ins and the drag plug-ins from the code writing and exporting content format and export mode to the visual dynamic drag configuration mode. In addition, compared with the prior art that only Word documents can be exported, the method and the device can provide multiple types of exported documents for selection, and have higher flexibility.
It can be seen that the present application has outstanding substantial features and significant advances over the prior art, as well as the benefits of its implementation.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a system configuration diagram of an embodiment of the present application.
Detailed Description
The following describes specific embodiments of the present application with reference to the drawings.
The system for exporting the word document through the draggable dynamic configuration shown in fig. 1 comprises an element configuration export unit, a chart export unit, a drag configuration binding unit, a region format custom configuration unit and a file type expansion unit.
And the element configuration export unit is used for acquiring the elements in the page and exporting the word document according to the configuration of the elements.
Specifically, the element configuration deriving unit includes: the device comprises an element extraction module, a configuration module and a first export module.
And the element extraction module is used for dynamically acquiring the page element DOM through a jQuery selector by using a jQuery-WordExport plug-in, and adding the selected element into a blank template which is designed and written in advance to form a format style.
And the configuration module is used for repackaging and exporting the word plug-in according to the WordExport plug-in source code, adding the function of exporting the multi-type files, and repackaging the format configuration exported by the document to obtain the whole template which is completely written and designed as an element.
The first exporting module is used for exporting the Word document file by applying the elements acquired by the configuration module and downloading the Word document file to the local.
It can be seen that the element configuration export unit implements the acquisition of elements in the page and the export of Word documents. Firstly, using a jQuery-WordExport plug-in, dynamically acquiring a page element DOM through a jQuery selector, and adding the selected element into a blank template with a pre-designed and written format style. At this time, according to the source code of the WordExport plug-in, a new export Word plug-in is repackaged, a function of exporting multi-type files is added, format configuration exported by the files is repackaged, and the whole template with the completed design and writing is obtained as an element. Finally, the Word document file is exported and downloaded to the local place by applying the content style and the document format which are set previously.
And the chart export unit is used for acquiring the parts chart elements and exporting the parts chart as a word document.
Specifically, the chart deriving unit includes: a chart element extraction and conversion module and a second derivation module.
The chart element extraction and conversion module is used for acquiring DOM of the chart element of the mechanism by using the mechanism plug-in method, then converting the DOM into binary codes of base64 bits, creating corresponding picture labels, and attaching each base64 bit code into the corresponding picture label so as to convert the mechanism chart into a picture form.
And the second export module is used for obtaining DOM of the picture through jQuery-WordExport and exporting the echartists chart into a word document.
And the dragging configuration binding unit is used for establishing a module group which can be dragged and stored into the exported content by splitting or merging the module areas of the page and selecting the module areas.
Specifically, the drag configuration binding unit includes: the device comprises a loading module, a popup element acquisition module and a region block division module.
And the loading module is used for loading the acquired page elements into the derived secondary popup window.
And the popup window element acquisition module is used for acquiring the existing elements in the derived popup window and manually input elements through the Tdrags plug-in.
And the region block dividing module is used for dynamically dividing the existing elements and the manually input element into a plurality of region blocks according to the adding positions of the existing elements and the manually input elements and adding dynamic longitudinal and transverse coordinate values limited in the popup window for each region.
Therefore, the dragging configuration binding unit can load the acquired page elements into the exported secondary popup window, acquire the existing elements in the exported popup window and manually input elements through Tdrags dragging plug-ins, dynamically divide the existing elements and manually input elements into a plurality of area blocks according to the adding positions of the existing elements and manually input elements, and add dynamic longitudinal and transverse coordinate values limited in a popup window to each area.
And the region format custom configuration unit is used for configuring the styles of fonts and paragraphs on the page and exporting page format setting of the document.
The region format custom configuration unit includes: the configuration module and the setting module.
And the configuration module is used for adding a toolbar into the export popup window, setting configurable options of font styles, paragraph styles and document formats, and carrying out font and paragraph style configuration.
And the setting module is used for setting the page format of the exported document by utilizing the drop-down option by simplifying the configuration of the file format in the packaging jQuery-WordExport plug-in.
The region format custom configuration unit realizes the region format custom configuration function. The unit adds a toolbar into the export popup window by means of the text format editing thought of the rich text editor, and sets configurable options of font styles, paragraph styles and document formats to realize style configuration of fonts and paragraphs; by simplifying the configuration of the packaging jQuery-WordExport plug-in for the document format, the page format of the exported document is realized through the drop-down option setting, such as view setting, margin setting, configuration header footer and the like.
The file type expanding unit is used for exporting page contents into a document with a preset format based on the exported word document. The unit comprises: the conversion module is used for downloading the page content in a downloading mode of the file stream in the FileSaver, converting the page content into different file stream codes based on the Word document exported by the WordExport, and exporting the document in a preset format.
The file type expanding unit enables the method and the device to have the function of exporting various types of files. Specifically, a method for exporting a Word document file by combining a downloading mode of a file stream in a FileSaver with a Word export is utilized, and on the basis that the Word document file can be exported, various types of files are exported by converting contents in a page into different file stream codes, so that the types of the exported files are expanded; alternative export formats are: word documents, excel tables, html files, and picture files.
The specific operation process of the application is as follows:
firstly, clicking a configuration export button in a page, opening a secondary popup window of the export configuration, wherein all acquired page element data exist in the popup window, screening out contents to be exported, deleting redundant contents, and dragging the position of each module for storing and displaying the contents, or merging or splitting a plurality of modules; after the general template of the document is arranged, the text style, the paragraph format and the picture size can be adjusted by selecting different module areas; returning the selected region format to the original style or deleting the region and its content by clicking a restore or clear button; finally, setting a general document format through a document configuration column, and selecting the type of the document to be exported, namely exporting the document file which is the same as the edited template.
It will be apparent to those skilled in the art that the techniques of embodiments of the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the terminal embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each module may exist alone physically, or two or more modules may be integrated in one unit.
Similarly, each processing unit in the embodiments of the present application may be integrated in one functional module, or each processing unit may exist physically, or two or more processing units may be integrated in one functional module.
The application will be further described with reference to the accompanying drawings and specific embodiments. It is to be understood that these examples are illustrative of the present application and are not intended to limit the scope of the present application. Further, it will be understood that various changes and modifications may be made by those skilled in the art after reading the teachings of the application, and equivalents thereof fall within the scope of the application as defined by the claims.

Claims (4)

1. A system for draggable dynamically configurable export of word documents, comprising:
the element configuration export unit is used for acquiring the elements in the page and exporting word documents according to the configuration of the elements;
the chart export unit is used for acquiring the units of the echorts charts and exporting the echorts charts into word documents;
the dragging configuration binding unit is used for establishing a module group which can be dragged and stored into the exported content by splitting or merging the module areas of the page and selecting;
the region format custom configuration unit is used for configuring fonts and styles of paragraphs on a page and exporting page format setting of a document;
the file type expanding unit is used for exporting page contents into a document with a preset format based on the exported word document;
the drag configuration binding unit includes:
the loading module is used for loading the acquired page elements into the exported secondary popup window;
the popup window element acquisition module is used for acquiring the existing elements in the derived popup window and manually input elements through the Tdrags plug-in;
the region block dividing module is used for dynamically dividing the existing elements and the manually input elements into a plurality of region blocks according to the adding positions of the existing elements and the manually input elements and adding dynamic longitudinal and transverse coordinate values limited in the popup window for each region;
the region format custom configuration unit includes:
the configuration module is used for adding a toolbar into the export popup window, setting configurable options of font styles, paragraph styles and document formats, and carrying out font and paragraph style configuration;
the setting module is used for setting the page format of the exported document by utilizing the drop-down option by simplifying the configuration of the file format in the packaging jQuery-WordExport plug-in;
the element configuration deriving unit includes:
the element extraction module is used for dynamically acquiring a page element DOM through a jQuery selector by using a jQuery-WordExport plug-in, and adding the selected element into a blank template which is designed and written in advance to form a format style;
the configuration module is used for repackaging and exporting the word plug-in according to the source code of the WordExport plug-in, adding the function of exporting the multi-type files, and repackaging the format configuration exported by the document to obtain the whole template which is completely designed and written as an element;
the first exporting module is used for exporting the Word document file by applying the elements acquired by the configuration module and downloading the Word document file to the local;
the chart deriving unit includes:
the chart element extraction and conversion module is used for acquiring DOM of the chart element of the mechanism by using the mechanism plug-in method, then converting the DOM into binary codes of base64 bits, creating corresponding picture tags, and attaching each base64 bit code to the corresponding picture tag so as to convert the mechanism chart into a picture form;
and the second export module is used for obtaining DOM of the picture through jQuery-WordExport and exporting the echartists chart into a word document.
2. The system for draggable dynamically configurable export word document of claim 1, wherein the file type expansion unit comprises:
the conversion module is used for downloading the page content in a downloading mode of the file stream in the FileSaver, converting the page content into different file stream codes based on the word document exported by the wordExport, and exporting the document in a preset format.
3. The system for draggable dynamically configurable export word document of claim 1, wherein the setting the page format of the export document using a drop down option comprises:
view setting, margin setting, and header footer configuration are performed using the pull-down option.
4. The system for draggable dynamically configurable export word documents of claim 1, wherein the documents in the pre-set format comprise:
word documents, excel tables, html files, and picture files.
CN202111538786.9A 2021-12-15 2021-12-15 System capable of dragging dynamic configuration to export word document Active CN114415896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111538786.9A CN114415896B (en) 2021-12-15 2021-12-15 System capable of dragging dynamic configuration to export word document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111538786.9A CN114415896B (en) 2021-12-15 2021-12-15 System capable of dragging dynamic configuration to export word document

Publications (2)

Publication Number Publication Date
CN114415896A CN114415896A (en) 2022-04-29
CN114415896B true CN114415896B (en) 2023-12-15

Family

ID=81266627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111538786.9A Active CN114415896B (en) 2021-12-15 2021-12-15 System capable of dragging dynamic configuration to export word document

Country Status (1)

Country Link
CN (1) CN114415896B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202795366U (en) * 2012-09-24 2013-03-13 上海理工大学 System capable of generating digital publication
CN110263000A (en) * 2019-06-05 2019-09-20 大连理工大学 A kind of paper document electronization and archiving method
CN110737711A (en) * 2019-10-14 2020-01-31 平安医疗健康管理股份有限公司 Report exporting method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202795366U (en) * 2012-09-24 2013-03-13 上海理工大学 System capable of generating digital publication
CN110263000A (en) * 2019-06-05 2019-09-20 大连理工大学 A kind of paper document electronization and archiving method
CN110737711A (en) * 2019-10-14 2020-01-31 平安医疗健康管理股份有限公司 Report exporting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114415896A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN109101300B (en) Page rendering method and device and terminal
CN110520859B (en) More intelligent copy/paste
CN100507839C (en) Method and system for mapping content between a starting template and a target template
CN102693322B (en) Multi-language supporting webpage processing method, webpage loading method and systems
US10437428B2 (en) Scatter copy supporting partial paste functionality
CN1794222B (en) Method and system for optimized paragraph layout
US20010014900A1 (en) Method and system for separating content and layout of formatted objects
CN103324731A (en) Method and device for converting spreadsheet file into web format file
CN102414679A (en) Maintaining undo and redo capability across metadata merges
KR100928382B1 (en) Migration apparatus which convert database of mainframe system into database of open system and method for thereof
CN101553779B (en) Migration apparatus which convert application program of mainframe system into application program of open system and method for thereof
CN105607880A (en) Printing method and device for examined and approved documents
CN103678685A (en) Webpage labeling method and device
CN111639473A (en) Excel file analysis method and device based on java, computer equipment and storage medium
CN114296662B (en) Form document paging printing method and device based on webpage and application of form document paging printing method and device
CN112016290A (en) Automatic document typesetting method, device, equipment and storage medium
US7941749B2 (en) Composition of electronic document layout
CN104572744A (en) Structured document generating method and device
CN114415896B (en) System capable of dragging dynamic configuration to export word document
US8930808B2 (en) Processing rich text data for storing as legacy data records in a data storage system
CN111708529B (en) Method for generating form through dragging based on angular
CN104536947A (en) Layout document processing method and device
CN101059758B (en) Screen transition program generating method and device
US20130326329A1 (en) Method and apparatus for collecting, merging and presenting content
CN106776527A (en) The display methods of electronic book data, device and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant