CN108509400B - Document template generation method and device, computer equipment and storage medium - Google Patents

Document template generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN108509400B
CN108509400B CN201810123737.0A CN201810123737A CN108509400B CN 108509400 B CN108509400 B CN 108509400B CN 201810123737 A CN201810123737 A CN 201810123737A CN 108509400 B CN108509400 B CN 108509400B
Authority
CN
China
Prior art keywords
variable
template
document template
document
variables
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
CN201810123737.0A
Other languages
Chinese (zh)
Other versions
CN108509400A (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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810123737.0A priority Critical patent/CN108509400B/en
Publication of CN108509400A publication Critical patent/CN108509400A/en
Application granted granted Critical
Publication of CN108509400B publication Critical patent/CN108509400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The application relates to a document template generation method, a document template generation system, computer equipment and a storage medium. The method comprises the following steps: acquiring fixed content input on a document template editing page; extracting characters input between variable identifier pairs when the variable identifier pairs inserted in the fixed contents are recognized; combining the variable identifier pairs and the characters between the variable identifier pairs to obtain variables corresponding to the document template to be generated; generating a document template according to the fixed content and the variable; the document template is used for replacing variables in the document template with corresponding variable values to obtain documents when the documents are generated. By adopting the method, the situation that the original style of the document template changes after the document template is filled with the content can be reduced.

Description

Document template generation method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a document template, a computer device, and a storage medium.
Background
With the continuous progress of economy in China, hunting business of an enterprise or a group is more and more comprehensive and complex, and documents involved in the business negotiation process are more and more. With the development of computer technology, in order to improve the efficiency of document entry, most business personnel download document templates with uniform styles, input data to be filled in the document templates, and then obtain documents in a computerized automatic output mode to replace the original manual entry mode.
In the currently adopted method, even though the same document template is adopted, the contents to be filled in for different services may be different, so that after different contents are filled in, the style of the document template is changed, and the obtained documents are various.
Disclosure of Invention
In view of the above, it is desirable to provide a document template generation method, apparatus, computer device and storage medium that can use a document template without changing the original style of the document template.
A document template generation method, the method comprising:
acquiring fixed content input on a document template editing page;
extracting characters input between variable identifier pairs inserted in the fixed contents when the variable identifier pairs are recognized;
combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to a variable value in the document template to be generated;
generating a document template according to the fixed content and the variable; the bill template is used for replacing variables in the bill template with corresponding variable values to obtain bills when the bills are generated.
In one embodiment, the method further comprises the following steps:
creating a variable table and a variable value table corresponding to the document template in a database;
associating the variable table with the variable value table to obtain the corresponding relation between each variable and the variable value in the document template;
and rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation.
In one embodiment, the method further comprises the following steps:
acquiring default variable values corresponding to the variables input in the variable value transfer table;
acquiring a preview instruction corresponding to the document template;
replacing each corresponding variable in the document template with the default variable value corresponding to each variable according to the preview instruction to obtain a preview document file;
and displaying the preview document file.
In one embodiment, the method further comprises the following steps:
determining a document template number corresponding to the document template;
correspondingly storing the bill template number, each variable in the bill template and default variable values corresponding to the variables;
acquiring an input document template number;
searching each variable corresponding to the bill template number and a default variable value corresponding to each variable from a database according to the bill template number;
displaying each variable and default variable values corresponding to each variable;
obtaining a variable value obtained by modifying the default variable value;
and replacing the variable value obtained after modification with the variable in the bill template corresponding to the bill template number to generate the bill.
In one embodiment, the method further comprises the following steps:
acquiring an instruction for adding a signature to the generated document;
traversing the text content in the generated document according to the instruction, and determining a keyword corresponding to a signature position in the text content;
and determining the signature position according to the keywords, and adding a signature at the signature position.
In one embodiment, the method further comprises the following steps:
acquiring a version number corresponding to a historical template to be compared with the document template;
acquiring a corresponding historical template according to the version number;
marking the content of the bill template which is different from the historical template in the bill template;
marking the content of the historical template which is different from the bill template in the historical template;
and displaying the marked bill template and the marked historical template side by side.
A document template generation apparatus, the apparatus comprising:
the acquisition module is used for acquiring fixed content input on a document template editing page;
an extraction module for extracting characters input between variable identifier pairs inserted in the fixed contents when the variable identifier pairs are recognized;
the combination module is used for combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to the document template to be generated;
the generating module is used for generating a document template according to the fixed content and the variable; the bill template is used for replacing variables in the bill template with corresponding variable values to obtain bills when the bills are generated.
A computer device comprising a memory and a processor, the memory having stored thereon a computer program that when executed by the processor performs the steps of:
acquiring fixed content input on a document template editing page;
extracting characters input between variable identifier pairs inserted in the fixed contents when the variable identifier pairs are recognized;
combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to the document template to be generated;
generating a document template according to the fixed content and the variable; the bill template is used for replacing variables in the bill template with corresponding variable values to obtain bills when the bills are generated.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring fixed content input on a document template editing page;
extracting characters input between variable identifier pairs inserted in the fixed contents when the variable identifier pairs are recognized;
combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to the document template to be generated;
generating a document template according to the fixed content and the variable; the bill template is used for replacing variables in the bill template with corresponding variable values to obtain bills when the bills are generated.
According to the bill template generation method, the bill template generation device, the computer equipment and the storage medium, the fixed content input in the bill template editing page is obtained, the characters input between the variable identifier pairs are extracted when the variable identifier pairs inserted in the fixed content are identified, the identified variable identifier pairs are combined with the characters extracted from the variable identifier pairs, the variable corresponding to the bill template to be generated can be obtained, and the bill template can be generated according to the obtained fixed content and the corresponding variable. When the document is generated, the document can be directly obtained by replacing the variables in the document template with the corresponding variable values, so that the situation that the original style of the document template changes after the document template is filled with contents is reduced.
Drawings
FIG. 1 is a diagram of an application scenario of a document template generation method in an embodiment;
FIG. 2 is a schematic flow chart diagram illustrating a document template generation method according to an embodiment;
FIG. 3 is a schematic diagram of a document template editing page shown in one embodiment;
FIG. 4 is a diagram illustrating a variable table corresponding to a document template generated in one embodiment;
FIG. 5 is a diagram of a table of variable values corresponding to variables of a document template generated in one embodiment;
FIG. 6 is a schematic flow chart diagram illustrating a document template generation method according to another embodiment;
FIG. 7 is a flowchart illustrating a document template generation method according to an exemplary embodiment;
FIG. 8 is a block diagram of the document template generation apparatus in one embodiment;
FIG. 9 is a block diagram of the document template generation apparatus in another embodiment;
FIG. 10 is a diagram showing an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The document template generation method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a document template generating method is provided, which is described by taking the method as an example applied to the terminal 102 in fig. 1, and includes the following steps:
s202, fixed content input on the bill template editing page is obtained.
The document template editing page is an HTML (Hypertext Markup Language) editing interface for developing and drawing document templates through a page design tool. The page design tool may be, for example, a editor for rich text or a editor for text for CKeditor. The text content entered in the document template editing page may present a visual and available effect. The fixed content is the content commonly used in the document template to be generated. The fixed content may include fixed text content and fixed text styles. The fixed text content may be, for example, a fixed term, a company name or an address corresponding to the company name, etc.; the fixed text style may be, for example, a fixed text line spacing, a character font or a character shading, etc.
Specifically, the terminal can acquire fixed content input by a user on a document template editing page through the input device, and the input fixed content is used as fixed content in a document template to be generated. The terminal can also display the input fixed content through the display device after acquiring the input fixed content, so that the user can check the input fixed content.
In one embodiment, the document template editing page is a sub-page in a document template management website, and the terminal can authorize the authority for making the document template by acquiring the account and the password input by the user in the document template management website, so as to record the document template made by the user and store the document template in the server, so that the server sends the made document template to each terminal under the request of the terminal.
S204, when the variable identifier pair inserted in the fixed content is recognized, the characters input between the variable identifier pair are extracted.
Wherein the variable is the content which is not universal in the document template to be generated. The non-universal content can be content to be filled in a document template to be generated, and the content to be filled is different according to different services. The variable may be, for example, the company name of party b, the signature of party b, the address of party b or the service data to be filled, etc.
The variable identifier pair is a character for identifying a variable in the fixed content. The variable identifier pair may be any character that is preset. The variable identifier pair may be any one of a number, a punctuation, or a spacer. For example, the variable identifier pair may be "{ }", "[ or ] [ ]", or the like.
Specifically, the terminal may set variable identifier pairs in advance, traverse all contents in the document template editing page after fixed contents input in the document template editing page are acquired, identify the variable identifier pairs inserted in the fixed contents, and extract characters input between the identified variable identifier pairs after the variable identifiers inserted in the fixed contents are identified.
For example, as shown in fig. 3, a schematic diagram of a document template editing page shown in an embodiment is shown. Referring to FIG. 3, in a document template editing page 300, fixed content 302, pairs of variable identifiers 304 inserted in the fixed content 302, and characters 306 entered between the pairs of variable identifiers 304 are shown, the variable identifiers 304 and the characters 306 in between combining to obtain variables 308.
And S206, combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to the document template to be generated.
The variable obtained by combining the variable identifiers with the characters among the variable identifiers can be distinguished from the input fixed content, and can also represent non-universal content in the document template to be generated. For example, the variable may specifically be { Bcompany }, which represents "company name B", and the variable { Baddress } represents "company address B". It is understood that the variable identifier pair can be preset, for example, the variable can also be [ Bcompany ].
The variable value is a specific value corresponding to a variable in the document template to be generated. Such as. For variable { Bmains } the variable value may be "XX Limited", and for variable { Baddress } the variable value may be "XX City XX street XX number XX province XX city".
Specifically, when recognizing a variable identifier pair inserted in the fixed content, the terminal may extract characters between the identifier pair, and combine the recognized variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to the document template to be generated.
In one embodiment, when the terminal extracts the same character from between the variable identifier pair, then the terminal may determine that the variable resulting from combining the variable identifier pair with the character is the same variable. For example, the terminal detects that there are 2 variables { Bcompany } inserted in the fixed content of the document template editing page, and the variable values corresponding to the variables are the names of the second party companies, so that the variable values corresponding to the 2 variables { Bcompany } are the names of the second party companies.
In one embodiment, the terminal may store all the variables in association with the corresponding parameter names, and when the parameter names corresponding to the variables in the fixed content are identified, the variables corresponding to the parameter names are acquired, and the parameter names inserted in the fixed content are replaced with the acquired variables. Therefore, the input parameter name can be distinguished from the fixed content, various variables input by the user can be avoided, and readability is low.
For example, the content input by the terminal on the document template editing page is obtained as follows:
"prescription A: second party of XX company: the method comprises the following steps that A, the name of a company B is detected at a terminal, the name of the company B is judged to be a preset parameter name, a variable { Bcompany } corresponding to the parameter name is obtained from a database, the parameter name is replaced by the variable, replaced contents can be displayed when a document template storage button is obtained, and the replaced contents are:
"prescription A: second party of XX company: { Bmains } ".
S208, generating a document template according to the fixed content and the variable; the document template is used for replacing variables in the document template with corresponding variable values to obtain documents when the documents are generated.
Specifically, after acquiring the fixed content input in the document template editing page and the variable inserted in the fixed content, the terminal can generate the document template according to the fixed content and the variable.
In one embodiment, the terminal generates a document template number corresponding to the document template, the document template number is used for uniquely identifying the document template, and the generated document template and the corresponding document template number are correspondingly stored in the database so as to be called when a document is required to be generated according to the generated document template.
In one embodiment, the terminal may also revise the saved document template. The content which can be revised in the stored document template comprises fixed content, variable identifier pairs or characters between the variable identifier pairs and the like. For example, when acquiring the updated character between the variable identifier pair, the terminal extracts the updated character, combines the variable identifier pair and the updated character to obtain an updated variable, and generates a revised document template according to the revised fixed content and the updated variable. The terminal can match the number of the corresponding document template for the modified document template, and also can directly distribute the number of the document template before modification to the document template after modification, and the document template after modification is used as the latest template.
According to the bill template generation method, the fixed content input in the bill template editing page is obtained, the characters input between the variable identifier pairs are extracted when the variable identifier pairs inserted in the fixed content are identified, the identified variable identifier pairs are combined with the characters extracted from the variable identifier pairs, the variables corresponding to the bill template to be generated can be obtained, and the bill template can be generated according to the obtained fixed content and the corresponding variables. When the document is generated, the document can be directly obtained by replacing the variables in the document template with the corresponding variable values, so that the situation that the original style of the document template changes after the document template is filled with contents is reduced.
In one embodiment, the document template generation method further comprises the following steps:
creating a variable table and a variable value table corresponding to the document template in a database; associating the variable table and the variable value table to obtain the corresponding relation between each variable and the variable value in the document template; and rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation.
The variable value transmission table is used for correspondingly displaying the variables of the document template and the variable values in a table form. The terminal can update the variable value through the table and generate the document including the updated variable value according to the document template.
In one embodiment, after the document template is generated, the terminal may acquire all variables in the document template, and create a variable table corresponding to the generated document template in the database for storing the variables corresponding to the document template. Fig. 4 is a schematic diagram illustrating a variable table corresponding to a document template generated in an embodiment. Referring to FIG. 4, the fields in the variable table include variable identification, variable and document template number.
In one embodiment, the terminal can obtain variable values in advance, create a variable value table in the database to store the variable values, and associate the created variable value table with the variable table corresponding to the document template through table fields, so that the variables can be corresponding to the variable values. Fig. 5 is a schematic diagram of a variable value table corresponding to variables of a document template generated in an embodiment. Referring to fig. 5, fields in the variable value table include variable value identifications, variable values, and variable identifications of corresponding variables.
In one embodiment, after acquiring the document template identifier corresponding to the document template, the terminal may query the variable table in the database, find all variables corresponding to the document template, then query the variable value table in the database, find the variable value corresponding to each variable, and render and display the found variables and variable values in the form of a variable value transfer table. The following is illustrated with reference to fig. 4 and 5: when the bill template identifier of the bill template is 1, the terminal finds out the variables { Bcompany } and { Baddress } corresponding to the bill template through inquiring the variable table in fig. 4, the corresponding variable identifiers are 11 and 22 respectively, inquires the variable value table in fig. 5 according to the found variable identifier corresponding to the variable, indexes that the corresponding variable values are AA company and XX street numbers XX in XX province and XX city respectively, and then obtains the variable and the variable value corresponding to the bill template.
In the embodiment, after the variable table and the variable value table corresponding to the generated document template are created and associated in the database, the variable value corresponding to each variable can be obtained, and the variable value corresponding to the document template are displayed in the form of the table, so that a user can edit the variable value in the document to be generated.
In one embodiment, the document template generation method further comprises the following steps: acquiring default variable values corresponding to the variables input in the variable value transfer table; acquiring a preview instruction corresponding to the document template; replacing each corresponding variable in the document template with a default variable value corresponding to each variable according to the preview instruction to obtain a preview document file; and displaying the preview document file.
The default variable value is an initial value input in a displayed variable value transfer table when the document template is generated. If the user does not enter the default variable value, the variable value corresponding to the variable is blank in the variable value transfer table shown.
Specifically, the terminal can obtain default variable values corresponding to each variable input in the displayed variable value transmission table, and after obtaining the preview instruction corresponding to the document template, replace the variables in the document template with the obtained default variable values according to the preview instruction to obtain a preview document file, and display the preview document file.
In one embodiment, if the terminal does not acquire the default variable value input in the variable value transfer table, the document template can be directly displayed according to the fixed content and the variable input in the document template editing page when the preview instruction corresponding to the document template is acquired.
In one embodiment, after the preview file is displayed, the terminal can acquire a saving instruction input by a user, and correspondingly store a document template generated according to fixed content and variables and a corresponding document template number in the database.
In this embodiment, a document template to be generated is filled with default variable values input by a user to obtain a preview document file, and the obtained preview document file is displayed to the user, so that the document template to be generated can be pre-verified.
In one embodiment, the document template generation method further comprises the following steps: determining a document template number corresponding to the document template; correspondingly storing the document template number, each variable in the document template and default variable values corresponding to the variables; acquiring an input document template number; searching each variable corresponding to the document template number and a default variable value corresponding to each variable from a database according to the document template number; displaying each variable and a default variable value corresponding to each variable; obtaining a variable value obtained by modifying the default variable value; and replacing the variable value obtained after modification with the variable in the document template corresponding to the document template number to generate the document.
Specifically, the terminal can generate a document template number in a preset format and used for uniquely identifying the document template according to the creation time, the storage time, the creation date and the like of the document template. The document template number may include numbers or letters, etc.
The terminal correspondingly stores the generated document template number, the variables of the document template and the default variable values corresponding to the variables, when a document is required to be generated according to the document template, the terminal acquires the document template number input by a user to pull the corresponding variable value transfer table, displays the variables and the variable values corresponding to the document template in the variable value transfer table, replaces the variables in the document template corresponding to the document template number with the modified variable values when the variable values modified by the user to the default variable values are acquired, and stores the modified variable values to generate the document.
In one embodiment, the variable values corresponding to the documents generated according to each document template are different, so that the terminal can also match a unique document number for the generated documents and store the variable value corresponding to the documents so as to call the documents according to the document number.
In one embodiment, the format of the generated document template can be configured as JPG, PDF or Word, etc. The terminal can also obtain the printing instruction of the generated document after obtaining the variable value filled in the document template, and output the generated document according to the printing instruction.
In the embodiment, when the document is required to be generated, the variable value corresponding to the variable in the document template is used for replacing the variable in the document template, and the fixed content and the variable in the document template are displayed on the document template editing page, so that the style of the document template can be automatically adjusted according to the filled variable value during replacement, and the document filled with the variable value cannot have the problem of translocation or misalignment.
In one embodiment, the document template generation method further comprises the following steps: acquiring an instruction for adding a signature to the generated document; traversing the text content in the generated document according to the instruction, and determining keywords corresponding to the signature position in the text content; and determining a signature position according to the keyword, and adding a signature at the signature position.
And generating a document, wherein the text content in the generated document comprises fixed content and a variable value of the document. The keyword corresponding to the signature position is a preset text representing the signature position. The keyword may be "b party signature", and the signature position may be a position of a space character preset at an interval after the determined keyword. The signature here is an electronic signature.
Specifically, after acquiring a variable value corresponding to a document template input by a user, the terminal generates a document by using the fixed content of the document template and the acquired variable value, extracts a signature identification from an instruction when acquiring the instruction for adding a signature to the generated document, and pulls the signature corresponding to the signature identification from a database; and traversing the text content in the generated document by the terminal, determining a keyword corresponding to the signature position to be added with the signature in the text content, determining the signature position according to the keyword, and adding the signature at the signature position.
In the embodiment, the signature is added to the generated document in a keyword matching mode, and the position corresponding to the signature can be accurately found, so that the signature positions added to the generated document are neat and uniform, and the identification and management are convenient.
As shown in fig. 6, in one embodiment, the document template generation method further includes the following steps:
and S602, acquiring a version number corresponding to the historical template to be compared with the receipt template.
The document template is obtained by revising the historical template. After the current document template is revised to obtain a new document template, the current document template becomes a historical template.
And S604, acquiring a corresponding historical template according to the version number.
And the version number is used for identifying a plurality of versions of the document template. In one embodiment, the number of the history templates corresponding to the current document template may be multiple, and the terminal may configure corresponding version numbers for the history templates according to the revised time sequence. For example, if the current document template is the third version, the number of the corresponding history templates is 2, and the corresponding version numbers are version1 and version2 according to the time sequence. The terminal can also match a corresponding version number for the current document template, which is version 3.
In one embodiment, when the terminal acquires the version number corresponding to the history template to be compared with the latest document template, the terminal acquires the corresponding history template according to the version number, and compares the content in the history template corresponding to the version number with the content of the latest document template to acquire corresponding distinguished content.
And S606, marking the content of the bill template different from the historical template in the bill template.
And S608, marking the content of the historical template which is different from the bill template in the historical template.
In one embodiment, the terminal compares the content in the history template with the content of the latest document template, and the compared content comprises text content. The content obtained by comparing the text content of the document template with the text content of the historical template comprises the content which is changed, deleted or added on the basis of the historical template. It can be understood that the terminal can also compare the document templates corresponding to any two versions according to any two version numbers corresponding to the document template input by the user. For example, two historical templates may be compared.
In one embodiment, the content of the document template distinguished from the historical template is marked in the document template, and the content of the historical template distinguished from the document template is marked in the historical template, which can be implemented as follows: marking the changed content in both the history template and the document template; for deleted content, marking can be carried out in a history template; for added content, annotations may be made in the document template. The labeling manner is not limited, for the modified content, the labeling manner may be, for example, adding a shading, underlining, or modifying a font color, for the deleted content, the labeling manner may be, for example, adding a deletion line, and for the added content, the labeling manner may be, for example, adding a shading, underlining, or modifying a font color, and the like.
And S610, displaying the marked bill template and the history template side by side.
In one embodiment, the terminal can display the marked history template and the marked document template side by side, and the side by side display can be vertical side by side display or horizontal side by side display for a user to view.
In the embodiment, the single data template and the historical template are compared to find corresponding different contents, and the comparison result is displayed to the terminal, so that the user can conveniently check the historical template.
As shown in fig. 7, in a specific embodiment, a document template generating method is provided, which specifically includes the following steps:
s702, acquiring fixed content input on the document template editing page.
S704, when the pair of variable identifiers inserted in the fixed content is recognized, the characters input between the pair of variable identifiers are extracted.
And S706, combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to the document template to be generated.
S708, generating a document template according to the fixed content and the variable; the document template is used for replacing variables in the document template with corresponding variable values to obtain documents when the documents are generated.
And S710, creating a variable table and a variable value table corresponding to the document template in the database.
And S712, associating the variable table with the variable value table to obtain the corresponding relation between each variable and the variable value in the document template.
And S714, rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation.
S716, a default variable value corresponding to each variable input in the variable value transfer table is obtained.
And S718, acquiring a preview instruction corresponding to the document template.
And S720, replacing each corresponding variable in the document template with the default variable value corresponding to each variable according to the preview instruction to obtain a preview document file.
And S722, displaying the preview document file.
And S724, acquiring a version number corresponding to the historical template to be compared with the document template.
And S726, acquiring a corresponding historical template according to the version number.
And S728, marking the content of the bill template different from the historical template in the bill template.
And S730, marking the content of the historical template which is different from the bill template in the historical template.
And S732, displaying the marked document template and the marked historical template side by side.
According to the bill template generation method, the fixed content input in the bill template editing page is obtained, the characters input between the variable identifier pairs are extracted when the variable identifier pairs inserted in the fixed content are identified, the identified variable identifier pairs are combined with the characters extracted from the variable identifier pairs, the variables corresponding to the bill template to be generated can be obtained, and the bill template can be generated according to the obtained fixed content and the corresponding variables. When the document is generated, the document can be directly obtained by replacing the variables in the document template with the corresponding variable values, so that the situation that the original style of the document template changes after the document template is filled with contents is reduced.
It should be understood that although the steps in the flowcharts of fig. 2, 6 and 7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 6, and 7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in FIG. 8, there is provided a document template generation apparatus 800 comprising: an obtaining module 802, an extracting module 804, a combining module 806, and a generating module 808, wherein:
the obtaining module 802 is configured to obtain fixed content input on a document template editing page.
An extracting module 804 is configured to extract characters input between variable identifier pairs when the variable identifier pairs inserted in the fixed content are identified.
And the combining module 806 is configured to combine the variable identifier pairs and the characters between the variable identifier pairs to obtain a variable corresponding to the document template to be generated.
The generating module 808 is configured to generate a document template according to the fixed content and the variable; the document template is used for replacing variables in the document template with corresponding variable values to obtain documents when the documents are generated.
In one embodiment, the document generation apparatus 800 further comprises a creation module, an association module, and a presentation module, wherein:
and the creating module is used for creating a variable table and a variable value table corresponding to the document template in the database.
And the association module is used for associating the variable table with the variable value table so as to obtain the corresponding relation between each variable and the variable value in the document template.
And the display module is used for rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation.
In one embodiment, the document generation apparatus 800 further includes a default variable value acquisition module, a preview instruction acquisition module, and a replacement module, wherein: a default variable value obtaining module for obtaining default variable values corresponding to each variable input in the variable value transfer table; the preview instruction acquisition module is used for acquiring a preview instruction corresponding to the document template; the replacing module is used for replacing each corresponding variable in the document template with the default variable value corresponding to each variable according to the preview instruction to obtain a preview document file; the display module is also used for displaying the preview document file.
In one embodiment, the document generation apparatus 800 further includes a determination module, a storage module, a document template number acquisition module, a search module, and a variable value acquisition module, wherein: the determining module is used for determining the document template number corresponding to the document template; the storage module is used for correspondingly storing the document template number, each variable in the document template and default variable values corresponding to the variables; the document template number acquisition module is used for acquiring the input document template number; the searching module is used for searching each variable corresponding to the document template number and default variable values corresponding to each variable from the database according to the document template number; the display module is also used for displaying each variable and the default variable value corresponding to each variable; the variable value acquisition module is used for acquiring a variable value obtained by modifying the default variable value; the generating module 808 is further configured to replace the variable in the document template corresponding to the document template number with the modified variable value, so as to generate the document.
In one embodiment, the document generation apparatus 800 further includes a signature instruction acquisition module, a traversal module, and an addition module, wherein: the signature instruction acquisition module is used for acquiring an instruction for adding a signature to the generated document; the traversal module is used for traversing the text content in the generated document according to the instruction and determining the keywords corresponding to the signature positions in the text content; and the adding module is used for determining the signature position according to the keywords and adding the signature at the signature position.
In one embodiment, as shown in fig. 9, the document generation apparatus 800 further includes a version number obtaining module 902, a history template obtaining module 904, a first labeling module 906, a second labeling module 908, and a template displaying module 910, wherein:
the version number obtaining module 902 is configured to obtain a version number corresponding to a historical template to be compared with the document template.
A historical template obtaining module 904, configured to obtain a corresponding historical template according to the version number;
a first labeling module 906, configured to label, in the document template, content of the document template that is different from the historical template;
a second labeling module 908, configured to label, in the history template, content of the history template that is different from the document template;
and the template display module 910 is configured to display the marked document template and the history template side by side.
According to the bill template generation method, the bill template generation device, the computer equipment and the storage medium, the fixed content input in the bill template editing page is obtained, the characters input between the variable identifier pairs are extracted when the variable identifier pairs inserted in the fixed content are identified, the identified variable identifier pairs are combined with the characters extracted from the variable identifier pairs, the variable corresponding to the bill template to be generated can be obtained, and the bill template can be generated according to the obtained fixed content and the corresponding variable. When the document is generated, the document can be directly obtained by replacing the variables in the document template with the corresponding variable values, so that the situation that the original style of the document template changes after the document template is filled with contents is reduced.
For specific limitations of the document template generation apparatus, reference may be made to the above limitations of the document template generation method, which are not described herein again. All or part of the modules in the document template generating device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a document template generation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory having a computer program stored thereon, the processor when executing the computer program implementing the steps of: acquiring fixed content input on a document template editing page; extracting characters input between variable identifier pairs when the variable identifier pairs inserted in the fixed contents are recognized; combining the variable identifier pairs and the characters between the variable identifier pairs to obtain variables corresponding to the document template to be generated; generating a document template according to the fixed content and the variable; the document template is used for replacing variables in the document template with corresponding variable values to obtain documents when the documents are generated.
In one embodiment, the processor, when executing the computer program, further performs the steps of: creating a variable table and a variable value table corresponding to the document template in a database; associating the variable table and the variable value table to obtain the corresponding relation between each variable and the variable value in the document template; and rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring default variable values corresponding to all variables input in a variable value transfer table; acquiring a preview instruction corresponding to the document template; replacing each corresponding variable in the document template with a default variable value corresponding to each variable according to the preview instruction to obtain a preview document file; and displaying the preview document file.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a document template number corresponding to the document template; correspondingly storing the document template number, each variable in the document template and default variable values corresponding to the variables; acquiring an input document template number; searching each variable corresponding to the document template number and a default variable value corresponding to each variable from a database according to the document template number; displaying each variable and a default variable value corresponding to each variable; obtaining a variable value obtained by modifying the default variable value; and replacing the variable value obtained after modification with the variable in the document template corresponding to the document template number to generate the document.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring an instruction for adding a signature to the generated document; traversing the text content in the generated document according to the instruction, and determining keywords corresponding to the signature position in the text content; and determining a signature position according to the keyword, and adding a signature at the signature position.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a version number corresponding to a historical template to be compared with the document template; acquiring a corresponding historical template according to the version number; marking the content of the document template which is different from the historical template in the document template; marking the content of the historical template which is different from the document template in the historical template; and displaying the marked document template and the marked historical template side by side.
The computer equipment can obtain the variable corresponding to the document template to be generated by acquiring the fixed content input in the document template editing page, extracting the characters input between the variable identifier pairs when the variable identifier pairs inserted in the fixed content are identified, and combining the identified variable identifier pairs with the characters extracted from the variable identifier pairs, thereby generating the document template according to the acquired fixed content and the corresponding variable. When the document is generated, the document can be directly obtained by replacing the variables in the document template with the corresponding variable values, so that the situation that the original style of the document template changes after the document template is filled with contents is reduced.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring fixed content input on a document template editing page; extracting characters input between variable identifier pairs when the variable identifier pairs inserted in the fixed contents are recognized; combining the variable identifier pairs and the characters between the variable identifier pairs to obtain variables corresponding to the document template to be generated; generating a document template according to the fixed content and the variable; the document template is used for replacing variables in the document template with corresponding variable values to obtain documents when the documents are generated.
In one embodiment, the processor, when executing the computer program, further performs the steps of: creating a variable table and a variable value table corresponding to the document template in a database; associating the variable table and the variable value table to obtain the corresponding relation between each variable and the variable value in the document template; and rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring default variable values corresponding to all variables input in a variable value transfer table; acquiring a preview instruction corresponding to the document template; replacing each corresponding variable in the document template with a default variable value corresponding to each variable according to the preview instruction to obtain a preview document file; and displaying the preview document file.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining a document template number corresponding to the document template; correspondingly storing the document template number, each variable in the document template and default variable values corresponding to the variables; acquiring an input document template number; searching each variable corresponding to the document template number and a default variable value corresponding to each variable from a database according to the document template number; displaying each variable and a default variable value corresponding to each variable; obtaining a variable value obtained by modifying the default variable value; and replacing the variable value obtained after modification with the variable in the document template corresponding to the document template number to generate the document.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring an instruction for adding a signature to the generated document; traversing the text content in the generated document according to the instruction, and determining keywords corresponding to the signature position in the text content; and determining a signature position according to the keyword, and adding a signature at the signature position.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a version number corresponding to a historical template to be compared with the document template; acquiring a corresponding historical template according to the version number; marking the content of the document template which is different from the historical template in the document template; marking the content of the historical template which is different from the document template in the historical template; and displaying the marked document template and the marked historical template side by side.
The computer-readable storage medium can obtain the variable corresponding to the document template to be generated by obtaining the fixed content input in the document template editing page, extracting the characters input between the variable identifier pairs when the variable identifier pairs inserted in the fixed content are identified, and combining the identified variable identifier pairs with the characters extracted from the variable identifier pairs, so that the document template can be generated according to the obtained fixed content and the corresponding variable. When the document is generated, the document can be directly obtained by replacing the variables in the document template with the corresponding variable values, so that the situation that the original style of the document template changes after the document template is filled with contents is reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (14)

1. A document template generation method, the method comprising:
acquiring fixed content input on a document template editing page;
extracting characters input between variable identifier pairs inserted in the fixed contents when the variable identifier pairs are recognized;
combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to a document template to be generated, wherein the variable corresponds to a preset parameter name;
when a preset parameter name in the fixed content is identified, acquiring a variable corresponding to the preset parameter name, and replacing the preset parameter name with the corresponding variable to distinguish the parameter name from the fixed content;
generating a document template according to the fixed content and the variable;
acquiring all variables in the generated document template, and creating a variable table corresponding to the generated document template in a database, wherein the variable table is used for storing the variables corresponding to the document template, and fields in the variable table comprise variable identification, variables and document template numbers;
creating a variable value table in a database, wherein the variable value table is used for storing variable values, fields in the variable value table comprise variable value identifications, variable values and variable identifications of corresponding variables, and the created variable table is associated with the variable value table through the variable identifications;
when a document is generated, acquiring an input document template number, searching a variable table corresponding to the input document template number from a database according to the document template number to acquire all variables corresponding to the input document template, inquiring a variable value table in the database, and searching variable values corresponding to all the variables;
and replacing the variables in the document template with corresponding variable values to obtain the document.
2. The method of claim 1, further comprising:
and rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation between each variable and the variable value in the document template.
3. The method of claim 2, further comprising:
acquiring default variable values corresponding to the variables input in the variable value transfer table;
acquiring a preview instruction corresponding to the document template;
replacing each corresponding variable in the document template with the default variable value corresponding to each variable according to the preview instruction to obtain a preview document file;
and displaying the preview document file.
4. The method of claim 3, further comprising:
searching each variable corresponding to the input document template number and a default variable value corresponding to each variable from a database;
displaying each variable and default variable values corresponding to each variable;
obtaining a variable value obtained by modifying the default variable value;
and replacing the variable value obtained after modification with the variable in the bill template corresponding to the bill template number to generate the bill.
5. The method of claim 4, further comprising:
acquiring an instruction for adding a signature to the generated document;
traversing the text content in the generated document according to the instruction, and determining a keyword corresponding to a signature position in the text content;
and determining the signature position according to the keywords, and adding a signature at the signature position.
6. The method according to any one of claims 1 to 5, further comprising:
acquiring a version number corresponding to a historical template to be compared with the document template;
acquiring a corresponding historical template according to the version number;
marking the content of the bill template which is different from the historical template in the bill template;
marking the content of the historical template which is different from the bill template in the historical template;
and displaying the marked bill template and the marked historical template side by side.
7. A document template generation apparatus, the apparatus comprising:
the acquisition module is used for acquiring fixed content input on a document template editing page;
an extraction module for extracting characters input between variable identifier pairs inserted in the fixed contents when the variable identifier pairs are recognized;
the combination module is used for combining the variable identifier pair and the characters between the variable identifier pair to obtain a variable corresponding to the document template to be generated, and the variable corresponds to a preset parameter name; when a preset parameter name in the fixed content is identified, acquiring a variable corresponding to the preset parameter name, and replacing the preset parameter name with the corresponding variable to distinguish the parameter name from the fixed content;
the generating module is used for generating a document template according to the fixed content and the variable;
the creating module is used for acquiring all variables in the generated document template and creating a variable table corresponding to the generated document template in a database, wherein the variable table is used for storing the variables corresponding to the document template, and fields in the variable table comprise variable identification, the variables and document template numbers; creating a variable value table in a database, wherein the variable value table is used for storing variable values, fields in the variable value table comprise variable value identifications, variable values and variable identifications of corresponding variables, and the created variable table is associated with the variable value table through the variable identifications;
the document template number acquisition module is used for acquiring the input document template number when generating a document;
the searching module is used for searching a variable table corresponding to the input document template number from a database according to the document template number so as to obtain all variables corresponding to the input document template, inquiring a variable value table in the database and searching a variable value corresponding to each variable;
and the generation module is used for replacing the variables in the bill template with corresponding variable values to obtain the bill.
8. The apparatus of claim 7, further comprising:
and the display module is used for rendering and displaying each variable and the corresponding variable value in a variable value transfer table mode according to the corresponding relation between each variable and the variable value in the document template.
9. The apparatus of claim 8, further comprising:
a default variable value obtaining module, configured to obtain default variable values corresponding to the variables input in the variable value transfer table;
the preview instruction acquisition module is used for acquiring a preview instruction corresponding to the document template;
the replacing module is used for replacing each corresponding variable in the bill template with the default variable value corresponding to each variable according to the preview instruction to obtain a preview bill file; and displaying the preview document file.
10. The apparatus of claim 9, further comprising:
the searching module is used for searching each variable corresponding to the input document template number and default variable values corresponding to each variable from a database;
the display module is further used for displaying the variables and default variable values corresponding to the variables;
the variable value acquisition module is used for acquiring a variable value obtained by modifying the default variable value;
and the generation module is also used for replacing the variable value obtained after modification with the variable in the receipt template corresponding to the receipt template number to generate the receipt.
11. The apparatus of claim 10, further comprising:
the signature instruction acquisition module is used for acquiring an instruction for adding a signature to the generated document;
the traversal module is used for traversing the text content in the generated document according to the instruction and determining the keywords corresponding to the signature position in the text content;
and the adding module is used for determining the signature position according to the keywords and adding the signature at the signature position.
12. The apparatus of any one of claims 7 to 11, further comprising:
the version number acquisition module is used for acquiring the version number corresponding to the historical template to be compared with the document template;
the historical template acquisition module is used for acquiring a corresponding historical template according to the version number;
the first marking module is used for marking the content of the bill template which is different from the historical template in the bill template;
the second labeling module is used for labeling the content of the historical template which is different from the bill template in the historical template;
and the template display module is used for displaying the marked bill template and the marked historical template side by side.
13. A computer device comprising a memory and a processor, the memory having stored thereon a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any of claims 1 to 6.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201810123737.0A 2018-02-07 2018-02-07 Document template generation method and device, computer equipment and storage medium Active CN108509400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810123737.0A CN108509400B (en) 2018-02-07 2018-02-07 Document template generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810123737.0A CN108509400B (en) 2018-02-07 2018-02-07 Document template generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108509400A CN108509400A (en) 2018-09-07
CN108509400B true CN108509400B (en) 2022-02-15

Family

ID=63374974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810123737.0A Active CN108509400B (en) 2018-02-07 2018-02-07 Document template generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108509400B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109657217A (en) * 2018-11-20 2019-04-19 北京天威诚信电子商务服务有限公司 Report-generating method, device and electronic equipment
CN109783782B (en) * 2018-12-14 2024-05-07 平安科技(深圳)有限公司 Method, equipment, storage medium and device for generating electronic contract template
CN109783606A (en) * 2018-12-17 2019-05-21 平安普惠企业管理有限公司 Data processing method, device, computer equipment and storage medium
CN109767360A (en) * 2018-12-17 2019-05-17 平安普惠企业管理有限公司 Characteristic processing method, device and computer equipment based on application scenarios
CN109615343A (en) * 2019-01-03 2019-04-12 深圳壹账通智能科技有限公司 Electronic contract generation method, device, computer equipment and storage medium
CN109902280A (en) * 2019-01-21 2019-06-18 新疆恒致达信息技术有限公司 Input method, device, computer equipment and the storage medium of student information
CN109801527B (en) * 2019-01-31 2021-09-28 百度在线网络技术(北京)有限公司 Method and apparatus for outputting information
CN111090978B (en) * 2019-12-25 2023-09-19 金蝶软件(中国)有限公司 Document processing method and device and storage medium
CN111158663B (en) * 2019-12-26 2021-07-02 深圳逻辑汇科技有限公司 Method and system for handling references to variables in program code
CN111596917B (en) * 2020-04-27 2021-08-20 五八有限公司 Editing operation processing method and device, electronic equipment and storage medium
CN111753513A (en) * 2020-06-30 2020-10-09 北京首汽智行科技有限公司 Electronic contract making method based on HTML language
CN113128191B (en) * 2021-03-12 2022-03-25 广州广电仲达数字科技有限公司 Method and device for scripted generation of arbitration document
CN113536406B (en) * 2021-05-21 2024-02-09 杭州群核信息技术有限公司 Board editing information processing method, device, storage medium and processor
CN113591451A (en) * 2021-06-21 2021-11-02 青岛海尔科技有限公司 Electronic document determination method and device, storage medium and processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389895A (en) * 2012-08-30 2013-11-13 爱乐活(北京)科技有限公司 Method and system for generating front end page
WO2014059899A1 (en) * 2012-10-15 2014-04-24 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing electronic transaction information
CN104915808A (en) * 2015-07-10 2015-09-16 丰镇市农村信用联社股份有限公司 Implementation method and system of electronic seal
CN106469047A (en) * 2015-08-18 2017-03-01 中兴通讯股份有限公司 A kind of list implementation method and device
CN107122343A (en) * 2017-05-04 2017-09-01 浙江路港互通信息技术有限公司 A kind of online contract template edit methods and system
CN107329941A (en) * 2017-07-05 2017-11-07 福建省特种设备检验研究院 A kind of editor and prebrowsing system based on special equipment survey report

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160012147A1 (en) * 2014-07-10 2016-01-14 MyMojo Corporation Asynchronous Initialization of Document Object Model (DOM) Modules
CN106022734A (en) * 2016-06-22 2016-10-12 武汉斗鱼网络科技有限公司 Method and system for automatic contract management
CN107609131B (en) * 2017-09-18 2020-04-17 中国银行股份有限公司 Report file generation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389895A (en) * 2012-08-30 2013-11-13 爱乐活(北京)科技有限公司 Method and system for generating front end page
WO2014059899A1 (en) * 2012-10-15 2014-04-24 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing electronic transaction information
CN104915808A (en) * 2015-07-10 2015-09-16 丰镇市农村信用联社股份有限公司 Implementation method and system of electronic seal
CN106469047A (en) * 2015-08-18 2017-03-01 中兴通讯股份有限公司 A kind of list implementation method and device
CN107122343A (en) * 2017-05-04 2017-09-01 浙江路港互通信息技术有限公司 A kind of online contract template edit methods and system
CN107329941A (en) * 2017-07-05 2017-11-07 福建省特种设备检验研究院 A kind of editor and prebrowsing system based on special equipment survey report

Also Published As

Publication number Publication date
CN108509400A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
CN108509400B (en) Document template generation method and device, computer equipment and storage medium
WO2020186786A1 (en) File processing method and apparatus, computer device and storage medium
CN110532811B (en) PDF (Portable document Format) signature method and PDF signature system
WO2019134340A1 (en) Salary calculation method, application server, and computer readable storage medium
CN104391725A (en) Page display method and page display device
CN111552704A (en) Data report generation method and device, computer equipment and storage medium
CN111680634A (en) Document file processing method and device, computer equipment and storage medium
CN109597979B (en) List table generation method and device, computer equipment and storage medium
CN111159982B (en) Document editing method, device, electronic equipment and computer readable storage medium
WO2020258650A1 (en) Page information display method and apparatus, computer device, and storage medium
US20150278248A1 (en) Personal Information Management Service System
CN110659298A (en) Financial data processing method and device, computer equipment and storage medium
CN108763393B (en) Workbook management method and device, computer equipment and storage medium
CN110188568A (en) Confidential information identification method, device, equipment and computer readable storage medium
CN107908843B (en) Management system based on drawing of map label information
CN111708971A (en) Page configuration method and device, computer equipment and storage medium
CN111428464A (en) Report file generation method and device, computer equipment and storage medium
CN108897727B (en) Contract filing method and device, computer equipment and storage medium
CN114139503A (en) Document content processing method, device, equipment and storage medium
CN113918713A (en) Data annotation method and device, computer equipment and storage medium
CN108196921B (en) Document development method and device, computer equipment and storage medium
US20230029752A1 (en) Document readability enhancements
CN114861614A (en) Method and device for filling data, electronic equipment and medium
CN108228688B (en) Template generation method, system and server based on XBRL
CN113377367B (en) Data collection method, device, computer equipment and storage medium

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