CN109783777B - Form export method and device, readable storage medium and electronic equipment - Google Patents

Form export method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN109783777B
CN109783777B CN201811519591.8A CN201811519591A CN109783777B CN 109783777 B CN109783777 B CN 109783777B CN 201811519591 A CN201811519591 A CN 201811519591A CN 109783777 B CN109783777 B CN 109783777B
Authority
CN
China
Prior art keywords
information
original word
style
stored
export
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
CN201811519591.8A
Other languages
Chinese (zh)
Other versions
CN109783777A (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.)
Neusoft Corp
Original Assignee
Neusoft Corp
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 Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811519591.8A priority Critical patent/CN109783777B/en
Publication of CN109783777A publication Critical patent/CN109783777A/en
Application granted granted Critical
Publication of CN109783777B publication Critical patent/CN109783777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

The disclosure relates to a form export method, a form export device, a readable storage medium and an electronic device. The method comprises the following steps: responding to a received export instruction aiming at a target network page form, acquiring pre-stored style difference information and form structure information corresponding to the target network page form, wherein the style difference information comprises identification information of form elements with style difference in the target network page form and an original word form corresponding to the target network page form, and style information of the form elements in the original word form; acquiring form content information of the pre-stored original word form; and generating an export form corresponding to the original word form according to the form structure information, the style difference information and the form content information. Thus, the obtained derived form can achieve the effect of high fidelity.

Description

Form export method and device, readable storage medium and electronic equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular relates to a form export method, a form export device, a readable storage medium and electronic equipment.
Background
Forms are a data collection tool commonly used on Web pages, and users can view the forms through browser pages, fill the forms or export the forms so as to save the forms locally. Wherein, the form export should meet the requirements of form style consistency and form data accuracy as far as possible. When a form is designed by a form designer, the form may be pasted from other forms to the form designer, for example, word forms may be pasted to the form designer. Because the word form style is complex, the existing browser cannot identify all forms, so that the form finally displayed on the browser page may have style differences from the original word form (i.e., the word form pasted to the form designer), and when the form is exported, the form style rendered to the exported form may be consistent with the form style displayed in the browser page, so that there is style difference from the original word form. Thus, the derived form may not meet the requirement of consistent form styles.
In the related art, the word style can be processed and converted in a coding mode when the form is exported, or the form is manually marked when the form is exported, and the template is replaced by the corresponding template. However, in the first method, since word patterns are complex and there are differences between versions of the word itself, encoding is difficult and encoding cannot be extended. And, in the second method, only one-time form design can be supported, and the labor is consumed and the applicability is not high.
Disclosure of Invention
The disclosure aims to provide a form export method, a form export device, a readable storage medium and electronic equipment, so as to realize high-fidelity export of word forms.
To achieve the above object, according to a first aspect of the present disclosure, there is provided a form exporting method including:
responding to a received export instruction aiming at a target network page form, acquiring pre-stored style difference information and form structure information corresponding to the target network page form, wherein the style difference information comprises identification information of form elements with style difference in the target network page form and an original word form corresponding to the target network page form, and style information of the form elements in the original word form;
acquiring form content information of the pre-stored original word form;
and generating an export form corresponding to the original word form according to the form structure information, the style difference information and the form content information.
Optionally, the form content information includes position information and data information of each form element in the original word form;
the generating a derived form corresponding to the original word form according to the form structure information, the style difference information and the form content information comprises the following steps:
generating an initial form according to the form structure information;
filling data into the list unit elements in the initial form according to the position information and the data information;
and updating the style of the form element corresponding to the identification information in the initial form to the style information corresponding to the identification information in the difference information so as to obtain the derived form.
Optionally, the generating, according to the form structure information, the style difference information and the form content information, an export form corresponding to the original word form further includes:
acquiring pre-stored editing authority information of the original word form, wherein the editing authority information is used for limiting whether each form element in the original word form can be edited in other forms;
and setting the editing authority of each form element in the initial form according to the editing authority information.
Optionally, the style difference information is generated by a form designer when converting the original word form into the target web form and stored in a memory.
According to a second aspect of the present disclosure, there is provided a form deriving apparatus, the apparatus comprising:
the first acquisition module is used for responding to a received export instruction aiming at a target network page form, acquiring pre-stored style difference information and form structure information corresponding to the target network page form, wherein the style difference information comprises identification information of form elements with style difference in the target network page form and an original word form corresponding to the target network page form, and style information of the form elements in the original word form;
the second acquisition module is used for acquiring form content information of the pre-stored original word form;
and the generation module is used for generating an export form corresponding to the original word form according to the form structure information, the style difference information and the form content information.
Optionally, the form content information includes position information and data information of each form element in the original word form;
the generation module comprises:
the generation sub-module is used for generating an initial form according to the form structure information;
the filling sub-module is used for filling data into the table element in the initial form according to the position information and the data information;
the generating module is used for updating the style of the form element corresponding to the identification information in the initial form to the style information corresponding to the identification information in the difference information so as to obtain the exported form.
Optionally, the generating module further includes:
the acquisition sub-module is used for acquiring pre-stored editing permission information of the original word form, wherein the editing permission information is used for limiting whether each form element in the original word form can be edited in other forms;
and the setting sub-module is used for setting the editing authorities of all form elements in the initial form according to the editing authority information.
Optionally, the style difference information is generated by a form designer when converting the original word form into the target web form and stored in a memory.
According to a third aspect of the present disclosure there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of the first aspect of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of the first aspect of the disclosure.
According to the technical scheme, the style difference information and the form structure information corresponding to the pre-stored target web page form are obtained in response to the received export instruction for the target web page form, and the form content information of the pre-stored original word form is obtained, so that the export form corresponding to the original word form is generated according to the form structure information, the style difference information and the form content information. In this way, the form style in the original word form can be restored according to the style difference information when the exported form is generated by acquiring the style difference information corresponding to the pre-stored target web form and the original word form, and meanwhile, the data information in the form can be restored by acquiring the form content information, so that the exported form obtained according to the form structure information, the style difference information and the form content information can achieve the effect of high fidelity.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
FIG. 1 is a flow chart of a form export method provided in accordance with one embodiment of the present disclosure;
FIG. 2 is a flowchart of one exemplary implementation of the step of generating an export form corresponding to an original word form from form structure information, style difference information, and form content information in a form export method provided in accordance with the present disclosure;
FIG. 3 is a block diagram of a form derivation device provided in accordance with one embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
Before introducing the form export method provided by the present disclosure, first, an application scenario of the method provided by the present disclosure will be briefly described. Forms are a data collection tool commonly used on Web pages, and users can view the forms through browser pages, fill the forms or export the forms so as to save the forms locally. Wherein, the form export should meet the requirements of form style consistency and form data accuracy as far as possible. In general, forms displayed on a browser page may be presented on the browser page after being designed by a form designer. Forms may be drawn manually from scratch by designing the forms in the form designer, or forms may be pasted from other forms to the form designer, such as word forms to the form designer. For the situation of pasting a word form to a form designer, since the word form style is complex, the existing browser cannot identify all forms finally displayed on the browser page can have style differences from the original word form (i.e. the word form pasted to the form designer), at this time, if a user exports the form, in the process of exporting the form, the form style rendered to the exported form is consistent with the form style displayed in the browser page, so that the exported form has style differences from the original word form. Thus, the derived form may not meet the requirement of consistent form styles.
In order to solve the above-described problems, the present disclosure provides a form exporting method. Fig. 1 is a flow chart of a form export method provided in accordance with one embodiment of the present disclosure. As shown in fig. 1, the method may include the following steps.
In step 11, in response to a received export instruction for a target web form, style difference information and form structure information corresponding to the target web form stored in advance are acquired.
The style difference information may include identification information of a form element having a style difference in an original word form corresponding to the target web page form and style information of the form element in the original word form. The form element may be, for example, an input element, a check box, a radio button, a submit button, etc. The identification information of the form element may be an ID of the form element, or may be a position of the form element in the form, for example.
For example, the style difference information may be stored in a memory. In one possible implementation, style difference information may be generated by the form designer when converting an original word form into a target web form and stored in memory. When the original word form is pasted to the form designer, the form designer converts the original word form into a target web form for display on the browser page. Because the browser may not recognize all the styles of the original word form, the target word form may have a style difference from the original word form, and for the style difference between the original word form and the target word form, the form designer may obtain which part of the form has the style difference, and may determine style difference information corresponding to the original word form and the target word form. For example, when the original word form is converted into the target web page form, if there are patterns that cannot be identified by the browser, the patterns that cannot be identified are filtered by the browser, so that there is a pattern difference between the original word form and the target web page form, and the form designer can obtain the information about the filtered patterns, so that the form designer can determine the pattern difference information according to the information. The form designer may then store the determined style difference information in memory. For example, each form may correspond to a form ID to determine which form the form is, and accordingly, when the form designer stores the style difference information in the memory, the form designer may store the style difference information in association with the form ID corresponding to the target web page form in the memory, so that when the difference information corresponding to the target web page form needs to be acquired, the form designer may directly acquire the corresponding style difference information according to the form ID, and may quickly determine the style difference information. The target web page form and the original word form corresponding to the target web page form may have the same form ID.
By the method, when the original word form is converted into the target web page form, the form designer can store the generated style difference information into the memory, so that the style difference information corresponding to each target web page form can be stored in the memory, and when an export instruction for a certain target web page form is received, the style difference information corresponding to the target web page form can be obtained from the memory, and assistance is provided for generating the export form in the subsequent step.
The list structure information may be used to indicate where each of the individual table elements in the list are located. For example, the list structure information may be stored in the form of an element tree. The form structure information can be stored by the form designer when the form designer converts an original word form into a target web form. For example, in a memory space corresponding to the target web page form.
When an export instruction for a target web form is received, style difference information and form structure information corresponding to the pre-stored target web form can be acquired in response to the export instruction so as to prepare for subsequent export form generation. For example, the target web page table may have a table ID, and after receiving the export instruction for the target web page table, style difference information corresponding to the target web page table may be determined from prestored style difference information according to the table ID corresponding to the target web page table, and form structure information corresponding to the target web page table may be determined from prestored form structure information. The target web page form and the original word form corresponding to the target web page form may have the same form ID.
In step 12, form content information of a pre-stored original word form is acquired.
The form content information may include position information and data information of each form element in the original word form.
For example, the form content information of the original word form may be stored in the memory, i.e., the form content information of the original word form is retrieved from the memory. In one possible implementation, the form content information may be stored by the form designer into memory. For example, when the original word form is converted into the target network form, the form designer may acquire the position information and the data information of each form element in the original word form, that is, the form content information corresponding to the original word form, and may further store the form content in the memory. For example, the target web page table may have a table ID, and the table designer may store the table content information corresponding to the target web page table in association with the table ID of the target web page table when the table content information corresponding to the target web page table is stored. The target web page form and the original word form corresponding to the target web page form may have the same form ID.
In step 13, a derived form corresponding to the original word form is generated based on the form construction information, the style difference information, and the form content information.
According to the list structure information, the style difference information and the list content information, a derived list corresponding to the original word list can be generated. For example, the form construction information, style difference information, and form content information may be utilized to simultaneously generate a form, i.e., export a form. For another example, a form may be generated according to the form structure information and the form content information, and then style rendering may be performed on the form according to the style difference information to obtain the derived form. For another example, a form may be generated according to the form structure information, and then data information filling and style rendering may be performed on the form according to the form content information and style difference information to obtain the derived form.
By the method, the style difference information and the form structure information corresponding to the pre-stored target web page form are acquired in response to the received export instruction for the target web page form, and the form content information of the pre-stored original word form is acquired, so that the export form corresponding to the original word form is generated according to the form structure information, the style difference information and the form content information. In this way, the form style in the original word form can be restored according to the style difference information when the exported form is generated by acquiring the style difference information corresponding to the pre-stored target web form and the original word form, and meanwhile, the data information in the form can be restored by acquiring the form content information, so that the exported form obtained according to the form structure information, the style difference information and the form content information can achieve the effect of high fidelity.
In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present invention, the following details of the corresponding steps are described below.
First, in step 13, an export form corresponding to the original word form is generated based on the form structure information, style difference information, and form content information, and then illustrated.
In a possible embodiment, each form element may be sequentially determined according to the form structure information, and an export form may be generated according to the style difference information and the form content information, that is, when an export form is constructed according to the form structure information, each time a form element is constructed, the style difference information and the form content information corresponding to the form element are confirmed, if the style difference information exists in the style information corresponding to the form element, the style information is updated to the form element, and if the style information exists in the form content information in the form element, the data is filled into the form element, so that an export form may be obtained after all form elements are constructed.
In another possible embodiment, the form content information may include location information and data information for each form element in the original word form. In such an embodiment, step 13 may include the following steps, as shown in fig. 2.
In step 21, an initial form is generated from the form construction information.
From the list structure information, an initial form may be generated in which the positions of the individual form elements coincide with the positions indicated in the list structure information. At this time, there is no data information and no style information in the initial form.
In step 22, the table elements in the initial form are data-populated according to the location information and the data information.
According to the position information and the data information contained in the form content information, the table element in the initial form can be filled with data. For example, the location information may store locations of form elements that need to be filled with the data, and the data information may include data corresponding to each location of form elements that need to be filled with the data. Thus, the table elements in the initial form may be data filled in as follows: corresponding data is filled in corresponding locations in the initial form. For example, data population may be implemented with control values replacing controls.
In addition, in one possible implementation manner, the user may also edit data on the browser page for the table unit elements in the target web page table, for example, add, modify or delete data in the input field corresponding to the input element of the table. For this case, the data within the generated export form may be updated to the latest modification of the user. Therefore, when the data filling is performed on the list element in the initial form, the data filling can be performed by combining the form content information and the data updating performed by the user through the browser page. For example, if the user changes the data filled in for a certain element in the form, when the element in the initial form is filled in, the data filled in for the element in the initial form may be the data modified by the user. By way of example, modification of data may be accomplished by replacement between control values. For another example, if the user manually performs data filling on a form element without filling data in a form on a browser page, and the position corresponding to the form element in the form content information corresponding to the form does not have filling data, when performing data filling on the form data in the initial form, besides performing data filling based on the form content information, the position corresponding to the form element needs to be filled with data added by the user through the browser page. For example, the table element may be data-populated by way of a control value in place of the control.
By the method, when a user changes the target web page form through the browser page, consistency and accuracy of data in the export form can be guaranteed.
In step 23, the style of the form element corresponding to the identification information in the initial form is updated to the style information corresponding to the identification information in the difference information, so as to obtain the derived form.
The style difference information comprises the representation information of the form elements with the style difference between the target web form and the corresponding original word form and the style information of the form elements in the original word form. Therefore, the style of the form element corresponding to the identification information in the initial form can be updated to the style information corresponding to the identification information in the difference information. Therefore, the patterns of the form elements with pattern differences in the target web page form and the original word form can be updated into the patterns in the original word form, and the consistency of the patterns is ensured.
It should be noted that, the data filling in step 22 and the pattern updating in step 23 may be performed simultaneously, or the data filling in step 22 and the pattern updating in step 23 may be performed sequentially, for example, the pattern updating is performed after the data filling, or the data filling is performed after the pattern updating. The foregoing ways are all within the scope of the present disclosure, which is not limited thereto.
Through the mode, the position information and the data information are utilized to carry out data filling on the table unit elements at the corresponding positions, and the identification information and the style information of the table unit elements are utilized to carry out style updating on the table unit elements with corresponding identifications, so that the export table is generated. Therefore, the high-fidelity export of the word form can be realized, and meanwhile, each form element in the initial form is not required to be traversed to update the style or fill the data, the data filling and the style updating can be rapidly carried out, and the generation efficiency of the exported form is improved.
In another possible embodiment, the step 13 may further include the following steps in addition to the respective steps shown in fig. 2:
acquiring editing authority information of a pre-stored original word form;
and setting the editing authority of each form element in the initial form according to the editing authority information.
The editing authority information can be used for limiting whether each form element in the original word form can be edited in other forms. For example, if the first part of the form elements in the original word form are editable and the second part of the form elements are not editable, then the first part of the form elements in the generated initial form remain editable and the second part remain not editable. Therefore, after the export form is generated, if the export form is saved locally by the user, the user can still meet the condition that the form elements of the first part of the form can be edited and the form elements of the second part of the form cannot be edited when editing the export form locally.
In addition, the editing authority information can also be used for limiting the editability of corresponding form elements in the target web page form. For example, if the first part of form elements in the original word form are editable and the second part of form elements are not editable, then the first part of form elements in the target web page form corresponding to the original word form are still editable, and the second part of form elements are still not editable. That is, when the user views the target web page form through the browser page, the user may edit the data corresponding to the first portion of the form elements, but may not edit the data corresponding to the second portion of the form elements, or even if the user edits the data corresponding to the second portion of the form elements, the editing may not be accepted, and in the generated export form, the data corresponding to the second portion of the form elements is still consistent with the data in the original word form.
By the method, the editing rights of all the form elements in other forms of the non-original word form can be generated according to the editing rights information of the original word form, so that the editing rights of all the form elements in the original word form can be met by the original form, and the editing rights of all the form elements in the export form determined by the original form can meet the authorization requirements of the original word form, namely, form authorization is supported, and therefore the data consistency and the data accuracy of the generated export form can be ensured.
Fig. 3 is a block diagram of a form derivation device provided in accordance with one embodiment of the present disclosure. As shown in fig. 3, the apparatus 30 includes:
a first obtaining module 31, configured to obtain, in response to a received export instruction for a target web page form, style difference information and form structure information corresponding to the target web page form, where the style difference information includes identification information of form elements having style differences in the target web page form and an original word form corresponding to the target web page form, and style information of the form elements in the original word form;
a second obtaining module 32, configured to obtain form content information of the pre-stored original word form;
and a generating module 33, configured to generate an export form corresponding to the original word form according to the form structure information, the style difference information, and the form content information.
Optionally, the form content information includes position information and data information of each form element in the original word form;
the generating module 33 includes:
the generation sub-module is used for generating an initial form according to the form structure information;
the filling sub-module is used for filling data into the table element in the initial form according to the position information and the data information;
the generating module 33 is configured to update a style of a form element corresponding to the identification information in the initial form to the style information corresponding to the identification information in the difference information, so as to obtain the derived form.
Optionally, the generating module 33 further includes:
the acquisition sub-module is used for acquiring pre-stored editing permission information of the original word form, wherein the editing permission information is used for limiting whether each form element in the original word form can be edited in other forms;
and the setting sub-module is used for setting the editing authorities of all form elements in the initial form according to the editing authority information.
Optionally, the style difference information is generated by a form designer when converting the original word form into the target web form and stored in a memory.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 4 is a block diagram of an electronic device, according to an example embodiment. For example, electronic device 1900 may be provided as a server. Referring to fig. 4, the electronic device 1900 includes a processor 1922, which may be one or more in number, and a memory 1932 for storing computer programs executable by the processor 1922. The computer program stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, the processor 1922 may be configured to execute the computer program to perform the form derivation method described above.
In addition, the electronic device 1900 may further include a power component 1926 and a communication component 1950, the power component 1926 may be configured to perform power management of the electronic device 1900, and the communication component 1950 may be configured to enable communication of the electronic device 1900, e.g., wired or wireless communication. In addition, the electronic device 1900 may also include an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, mac OS XTM, unixTM, linuxTM, and the like.
In another exemplary embodiment, a computer readable storage medium is also provided, comprising program instructions which, when executed by a processor, implement the steps of the form derivation method described above. For example, the computer readable storage medium may be the memory 1932 described above including program instructions that are executable by the processor 1922 of the electronic device 1900 to perform the form derivation method described above.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure.
In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.

Claims (8)

1. A form export method, the method comprising:
responding to a received export instruction aiming at a target network page form, acquiring pre-stored style difference information and form structure information corresponding to the target network page form, wherein the style difference information comprises identification information of form elements with style difference in the target network page form and an original word form corresponding to the target network page form, and style information of the form elements in the original word form, and the style difference information is generated by a form designer when the original word form is converted into the target network page form and is stored in a memory;
acquiring form content information of the pre-stored original word form;
and generating an export form corresponding to the original word form according to the form structure information, the style difference information and the form content information.
2. The method of claim 1, wherein the form content information includes location information and data information for each form element in the original word form;
the generating a derived form corresponding to the original word form according to the form structure information, the style difference information and the form content information comprises the following steps:
generating an initial form according to the form structure information;
filling data into the list unit elements in the initial form according to the position information and the data information;
and updating the style of the form element corresponding to the identification information in the initial form to the style information corresponding to the identification information in the difference information so as to obtain the derived form.
3. The method of claim 2, wherein the generating the export form corresponding to the original word form based on the form structure information, the style difference information, and the form content information further comprises:
acquiring pre-stored editing authority information of the original word form, wherein the editing authority information is used for limiting whether each form element in the original word form can be edited in other forms;
and setting the editing authority of each form element in the initial form according to the editing authority information.
4. A form derivation device, comprising:
the first acquisition module is used for responding to a received export instruction aiming at a target network page form, acquiring pre-stored style difference information and form structure information corresponding to the target network page form, wherein the style difference information comprises identification information of form elements with style difference in the target network page form and an original word form corresponding to the target network page form, and style information of the form elements in the original word form, and the style difference information is generated by a form designer when the original word form is converted into the target network page form and is stored in a memory;
the second acquisition module is used for acquiring form content information of the pre-stored original word form;
and the generation module is used for generating an export form corresponding to the original word form according to the form structure information, the style difference information and the form content information.
5. The apparatus of claim 4, wherein the form content information includes location information and data information for each form element in the original word form;
the generation module comprises:
the generation sub-module is used for generating an initial form according to the form structure information;
the filling sub-module is used for filling data into the table element in the initial form according to the position information and the data information;
the generating module is used for updating the style of the form element corresponding to the identification information in the initial form to the style information corresponding to the identification information in the difference information so as to obtain the exported form.
6. The apparatus of claim 5, wherein the generating module further comprises:
the acquisition sub-module is used for acquiring pre-stored editing permission information of the original word form, wherein the editing permission information is used for limiting whether each form element in the original word form can be edited in other forms;
and the setting sub-module is used for setting the editing authorities of all form elements in the initial form according to the editing authority information.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any of claims 1-3.
8. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1-3.
CN201811519591.8A 2018-12-12 2018-12-12 Form export method and device, readable storage medium and electronic equipment Active CN109783777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811519591.8A CN109783777B (en) 2018-12-12 2018-12-12 Form export method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811519591.8A CN109783777B (en) 2018-12-12 2018-12-12 Form export method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109783777A CN109783777A (en) 2019-05-21
CN109783777B true CN109783777B (en) 2023-05-16

Family

ID=66495899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811519591.8A Active CN109783777B (en) 2018-12-12 2018-12-12 Form export method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109783777B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723363B (en) * 2020-06-18 2023-04-07 西安万像电子科技有限公司 Data export method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103605A (en) * 2009-12-18 2011-06-22 北大方正集团有限公司 Method and system for intelligently extracting document structure
CN105786788A (en) * 2016-03-22 2016-07-20 江苏国泰新点软件有限公司 Method and device for generating forms by using WORD program
CN108427556A (en) * 2018-03-12 2018-08-21 深圳市博安达信息技术股份有限公司 A kind of form design analytic method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103605A (en) * 2009-12-18 2011-06-22 北大方正集团有限公司 Method and system for intelligently extracting document structure
CN105786788A (en) * 2016-03-22 2016-07-20 江苏国泰新点软件有限公司 Method and device for generating forms by using WORD program
CN108427556A (en) * 2018-03-12 2018-08-21 深圳市博安达信息技术股份有限公司 A kind of form design analytic method and system

Also Published As

Publication number Publication date
CN109783777A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
KR102424056B1 (en) Method for modeling network system instructions with yang language and apparatus for the same
CN108279932B (en) Method and device for dynamically configuring user interface of mobile terminal
CN106250104B (en) A kind of remote operating system for server, method and device
CN111273907A (en) Page processing method and related equipment
CN105701183A (en) User personalized template implementation method and apparatus
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN105187475A (en) Method and system for data synchronization
CN111984902A (en) Visual page configuration method, system, computer equipment and storage medium
CN110580158A (en) Code generation method and device, storage medium and electronic equipment
CN104750472A (en) Resource bundle management method and device of terminal application
CN113760276A (en) Method and device for generating page code
CN109783777B (en) Form export method and device, readable storage medium and electronic equipment
CN108170459B (en) Software upgrading method, intelligent terminal and device with storage function
CN112148672A (en) Rapid reservoir building method and system for land survey
CN107368557B (en) Page editing method and device
CN113268232A (en) Page skin generation method and device and computer readable storage medium
CN116560716A (en) APP construction method, device, equipment and storage medium
WO2022247420A1 (en) Configuration template generation method, network element configuration method and system therefor, and storage medium
CN104598554A (en) Webpage page loading method and device
US9052906B2 (en) Modularized customization of a model in a model driven development environment
CN113110829A (en) Multi-UI component library data processing method and device
CN113467782A (en) Method, device and equipment for determining business process
CN111831262A (en) Mobile terminal portal construction method for government affair service platform
CN112486378A (en) Graph generation method, device, terminal and storage medium
CN104780148A (en) Server, terminal, system and method for document online operation

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