WO2019095671A1 - Method for making red heading template of red heading file, application server, and computer storage medium - Google Patents

Method for making red heading template of red heading file, application server, and computer storage medium Download PDF

Info

Publication number
WO2019095671A1
WO2019095671A1 PCT/CN2018/089730 CN2018089730W WO2019095671A1 WO 2019095671 A1 WO2019095671 A1 WO 2019095671A1 CN 2018089730 W CN2018089730 W CN 2018089730W WO 2019095671 A1 WO2019095671 A1 WO 2019095671A1
Authority
WO
WIPO (PCT)
Prior art keywords
red
template
user
component
head
Prior art date
Application number
PCT/CN2018/089730
Other languages
French (fr)
Chinese (zh)
Inventor
王建华
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019095671A1 publication Critical patent/WO2019095671A1/en

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/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing

Definitions

  • the present application relates to the field of computer technology, and in particular, to a red head template manufacturing method, an application server, and a computer storage medium.
  • the red-headed document draft has many key attribute fields. After the approval of the drafter, these attribute fields need to be matched with the red-head template after the approval of the leader, and finally the corresponding red-headed file is formed.
  • red-head templates of the red-headed files are pre-developed and customized, but this pre-development method has many drawbacks.
  • the red head template cannot see the effect immediately during the production process, and the correctness of the red head template cannot be guaranteed; on the other hand, when encountering a red head template that needs to modify the red head file or when a new red head template needs to be enabled, The front-end personnel re-developed the red-head template and added the cycle and resource investment of the template customization.
  • the present application proposes a method for creating a red-head template for a red-headed document, an application server, and a computer storage medium, to solve the problem of how to efficiently change and manufacture a red-head template of a red-headed document.
  • a first aspect of the present application provides a red head template manufacturing method for a red head file, the method comprising the steps of: creating a red head template creation interface in an office automation system based on a user creation instruction, the production interface Include a tool area and a template edit preview area; select a red head title, a component, and a red line from the tool area based on a user selection instruction, and move it to the template edit preview area, the component including at least "typing" and "Cc"; editing the red head title, component and red line in the template editing preview area based on the user's editing instruction; and saving the editing operation for the template editing preview area based on the user's save instruction, generating the Red head template.
  • a second aspect of the present application further provides an application server, including a memory, a processor, and a red head template creation system on which the red head file executable on the processor is stored,
  • the red head template making system of the red head file is executed by the processor to implement the following steps: creating a production interface of the red head template in the office automation system based on the user's creation instruction, the production interface including the tool area and the template editing preview area; a user's selection instruction to select a red head title, component, and red line from the tool area and move it to the template edit preview area, the component including at least "typing" and "CC”; based on the user's editing instruction Editing a red head title, a component, and a red line in the template edit preview area; and saving an edit operation for the template edit preview area based on a user save instruction to generate the red header template.
  • a third aspect of the present application further provides a computer readable storage medium, where the red head template creation system of the red header file is stored, Executing by at least one processor to cause the at least one processor to perform the steps of the red-head template creation method of the red-headed file as described above.
  • the red-head template manufacturing method, the application server, and the computer-readable storage medium of the red-headed file proposed by the present application can provide a red-head template creation page for the red-headed file in the office automation system, so that the user can By making a simple operation, the red head template of the red head file can be created and used at any time, and the efficiency of changing the red head template is improved.
  • 1 is a schematic diagram of an optional hardware architecture of an application server of the present application
  • FIG. 2 is a schematic diagram of a program module of a first embodiment of a red head template creation system of the red head file of the present application
  • FIG. 3 is a schematic diagram of a program module of a second embodiment of a red head template creation system of the red head file of the present application
  • FIG. 4 is a schematic diagram of a red head template of a red head file.
  • FIG. 5 is a schematic diagram of a program module of a third embodiment of a red head template creation system of the red head file of the present application
  • FIG. 6 is a schematic diagram of a specific signing content in an office automation system
  • FIG. 7 is a schematic flow chart of a first embodiment of a method for fabricating a red head template of a red head file according to the present application
  • FIG. 8 is a schematic flow chart of a second embodiment of a method for fabricating a red head template of a red head file according to the present application
  • FIG. 9 is a schematic flow chart of a third embodiment of a method for fabricating a red head template of a red head file according to the present application.
  • FIG. 1 it is a schematic diagram of an optional hardware architecture of the application server 2 of the present application.
  • the application server 2 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus. It is pointed out that Figure 1 only shows the application server 2 with components 11-13, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
  • the application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server.
  • the application server 2 may be an independent server or a server cluster composed of multiple servers. .
  • the memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static Random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the memory 11 may be an internal storage unit of the application server 2, such as a hard disk or memory of the application server 2.
  • the memory 11 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc.
  • the memory 11 can also include both the internal storage unit of the application server 2 and its external storage device.
  • the memory 11 is generally used to store an operating system installed in the application server 2 and various types of application software, such as program code of the red-head template creation system 200 of the red-headed file. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
  • the processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments.
  • the processor 12 is typically used to control the overall operation of the application server 2.
  • the processor 12 is configured to run program code or processing data stored in the memory 11, such as a red-head template creation system 200 that runs the red-head file.
  • the network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 2 and other electronic devices.
  • the present application proposes a red head template creation system 200 for a red head file.
  • FIG. 2 it is a program block diagram of the first embodiment of the red head template creation system 200 of the red head file of the present application.
  • the red head template creation system 200 of the red header file includes a series of computer program instructions stored in the memory 11, and when the computer program instructions are executed by the processor 12, the red head of each embodiment of the present application can be implemented.
  • the red-head template creation system 200 of the red-headed file may be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 2, the red head template creation system 200 of the red head file may be divided into an interface creation module 201, a first selection module 202, an editing module 203, and a save module 204. among them:
  • the interface creation module 201 is configured to create a production interface of a red template in an office automation system based on a user creation instruction, where the production interface includes a tool area and a template editing preview area.
  • the interface creation module 201 creates a creation page of a red-head template of a red-headed file in the office automation system, and the created page includes a tool area and a template edit preview area.
  • the template editing preview area is used to display all the editing operations and the red-head template for displaying the completed in the process of making the red-head template.
  • the tool area includes an element classification selection column and a component display area, the element classification selection column includes a plurality of element classifications, and the component display area is used to display each component.
  • the selecting module 202 is configured to select, according to a user's selection instruction, a red head title, a component, and a red line from the tool area and move to the template edit preview area, where the component includes at least "typing" and "CC" .
  • the selection module 202 selects a red head title and a component corresponding to the party branch red template from the tool area. And the red line and move it into the template edit preview area.
  • the editing module 203 is configured to edit a red head title, a component, and a red line in the template edit preview area based on a user's editing instruction.
  • the editing module 203 performs corresponding editing on the red head title, component, and red line in the template editing preview area based on the user's editing instruction. In order to make the edited content meet the requirements of the red-head template of the party branch file that needs to be generated.
  • the saving module 204 after the editing module 203 finishes editing the red head title, the component and the red line of the template editing preview area, the saving module 204 saves the editing operation based on the user's saving instruction, and generates a red head template.
  • the red head template creation system 200 of the red header file includes a component creation module in addition to the interface creation module 201, the selection module 202, the editing module 203, and the save module 204 in the first embodiment. 205.
  • the selection module 205 is further configured to select, according to an element classification selection instruction of the user, the first element corresponding to the element classification of the red-head template to be created, according to the element classification of the red-head template that needs to be created.
  • An element classification displaying, at a preset position of the template editing preview area, a preset content corresponding to the first element classification, wherein the preset content includes the red head title; and based on a user component selection instruction, Selecting a component required for the red head template to be created from a group of components corresponding to the first element classification; selecting a red line from the line tool area of the tool area based on the user's line selection instruction; and selecting the selected The component and the red line are moved from the tool area to the template edit preview area.
  • the plurality of element classifications are selected by the element classification column, and each element classification corresponds to a group of components and a set of preset contents.
  • each element classification corresponds to a group of components and a set of preset contents.
  • a group of components corresponding to the selected element classification is displayed in the component display area, and a set of preset contents corresponding to the selected element classification is displayed in the template. Edit the preview area.
  • the element of the red-head template of the party branch file is classified as a “party branch document”.
  • the selection module 202 selects an instruction based on the element classification of the user, selects a first element classification corresponding to the element classification of the red template from the element classification selection column (for example, “party branch file”), and “party branch file” A corresponding set of components is displayed in the tool area, and a set of preset contents corresponding to the "party branch file” is displayed at a preset position of the template edit preview area.
  • the selection module 202 selects a required component from a group of components corresponding to the "party branch file" based on a component selection instruction of the user, and selects from the line tool area of the tool area based on a user's line selection instruction. A red line is required and the selected component and the red line are moved from the tool area to respective locations of the template edit preview area.
  • the selection module 202 selects a "one school”, “CC” and “typing” component from the tool area, and selects an arrow-free line from the line tool area, and Move the selected component and line to the template edit preview area, respectively.
  • the component creation module 205 is configured to create a new component in the component display area of the tool area based on a component creation instruction of the user.
  • the tool area further includes a component creation area.
  • the component creation module 205 creates a new component in the component creation area for a group of components corresponding to each element classification.
  • the set of components corresponding to the first element classification "party branch file” includes “one school”, “typing” and "cc", when a new component "two schools” needs to be created, based on the user's component creation instruction,
  • the component creation module 205 creates a new component for the first element classification "party branch file” in the component creation area by editing the text "two schools”. After the new component "two schools” is generated, it is displayed in the component display area.
  • the component creation module 205 also creates a new component "two schools” for the first element classification "party branch file” in the component creation area by other means.
  • the editing module 203 is further configured to set, according to an editing instruction of the user, a format of the red head title displayed in the template editing preview area, and set the component moved from the tool area to the template editing preview area and The format of the red line.
  • the description continues with the red header template of the party branch document as an example.
  • the editing module 203 sets the line thickness and the frame position of the line in the template editing preview area. , adjust the spacing of the components between the two lines, based on the relative position of the component and the line, adjust the spacing between the frame and the component and the position of the component between the two lines.
  • the editing module 203 also sets the words in the "company branch branch committee document” (red head title), "about notice”, “company branch branch committee”, and "year and month date issue” based on the user's edit instruction. the size of. As shown in FIG. 4, it is a schematic diagram of a red-head template of the party branch file created in this embodiment.
  • the red head template creation system 200 of the red header file includes a matching definition module 206 in addition to the component creation module 205 in the second embodiment.
  • the matching definition module 206 is configured to match, according to a matching definition instruction of the user, a plurality of fields in the signed content with the generated component and the preset content in the generated red template. .
  • the signing content includes a plurality of fields, and different fields are filled with different contents.
  • the matching definition module 206 After the red head template is generated, based on the matching definition command of the user, the matching definition module 206 generates the generated content.
  • the components in the red head template and the content that each preset content needs to match are defined to match the content filled in the corresponding field in the signed content in the office automation system.
  • a specific signature content is applied to the generated red header template, each component and each preset content in the generated red header template are matched with the content in the corresponding column in the specific signature content, and a corresponding red head is generated. file.
  • FIG. 6 is a schematic diagram of a specific signing content in an office automation system, where the signing content includes a plurality of fields, such as “one school” and “two schools”, wherein the field “one” The content in the school is “XXX”, and the content in the "second school” field is "YY”.
  • the matching definition module 206 determines, according to the matching definition instruction of the user, the content that each component in the generated red template needs to match, after matching the content filled in the corresponding field in the signed content in the office automation system, when The specific signing content is applied to the generated red head template.
  • the component “one school” in the red template needs to match the content “XXX”, and the component “second school” needs to match the content “YY”. That is, in the generated red head file, the content corresponding to "one school” is “XXX”, and the content corresponding to "two schools” is "YY”.
  • the present application also proposes a method for making a red head template of a red head file.
  • FIG. 7 it is a schematic flowchart of a first embodiment of a method for creating a red-head template of a red-headed document of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 7 may be changed according to different requirements, and some steps may be omitted.
  • Step S500 Create a production interface of a red template in the office automation system based on the user's creation instruction, where the production interface includes a tool area and a template editing preview area.
  • a creation page of a red-head template of a red-headed file is created in the office automation system, and the created page includes a tool area and a template edit preview area.
  • the template editing preview area is used to display all the editing operations and the red-head template for displaying the completed in the process of making the red-head template.
  • the tool area includes an element classification selection column and a component display area, the element classification selection column includes a plurality of element classifications, and the component display area is used to display each component.
  • Step S502 selecting a red head title, a component, and a red line from the tool area based on the user's selection instruction, and moving it to the template editing preview area, the component including at least "typing” and "CC".
  • the corresponding content is selected from the tool area and moved to the template edit preview area based on the user's selection instruction.
  • Step S504 editing the red head title, component and red line in the template edit preview area based on the user's editing instruction.
  • the red head corresponding to the party branch red head template in the template editing preview area is edited based on the user's editing instruction.
  • the title, component, and red line are edited accordingly so that the edited content meets the requirements of the red-head template of the party branch file that needs to be generated.
  • Step S506 according to the save instruction of the user, save an edit operation for the template edit preview area, and generate the red header template. Specifically, after editing the content of the template edit preview area, the editing operation is saved based on the save instruction of the user, and a red template of the party branch file is generated.
  • FIG. 8 it is a schematic flowchart of a second embodiment of a method for creating a red head template of the red head file of the present application.
  • the order of execution of the steps in the flowchart shown in FIG. 8 may be changed according to different requirements, and some steps may be omitted.
  • steps S600 and S616 of the method for fabricating the template file are similar to steps S500 and S506 of the first embodiment, except that the method includes steps S602-S614.
  • the method includes the following steps:
  • Step S602 based on the element classification selection instruction of the user, select the first element classification corresponding to the element classification of the red head template to be created from the element classification selection column according to the element classification of the red header template that needs to be created.
  • Step S604 displaying preset content corresponding to the first element classification at a preset position of the template editing preview area, wherein the preset content includes the red head title.
  • Step S606 selecting components required for the red-head template to be created from a group of components corresponding to the first element classification based on the component selection instruction of the user.
  • Step S608 selecting a red line from the line tool area of the tool area based on the user's line selection instruction.
  • Step S610 moving the selected component and the red line from the tool area to the template editing preview area.
  • the plurality of element classifications are selected by the element classification column, and each element classification corresponds to a group of components and a set of preset contents.
  • each element classification corresponds to a group of components and a set of preset contents.
  • a group of components corresponding to the selected element classification is displayed in the component display area, and a set of preset contents corresponding to the selected element classification is displayed in the template. Edit the preview area.
  • the red-head template to be generated is a red-head template of a party branch document
  • the element of the red-head template of the party branch file is classified as a “party branch document”.
  • the first element classification corresponding to the element classification of the red header template for example, “party branch document”
  • the element classification selection column corresponding to the “party branch document”
  • a set of components is displayed in the tool area, and a set of preset contents corresponding to the "party branch file" is displayed at a preset position in the template edit preview area.
  • Step S612 creating a new component in the component display area of the tool area based on the component creation instruction of the user.
  • the tool area further includes a component creation area, and a new component is created in the component creation area for a group of components corresponding to each element classification according to a component creation instruction of the user.
  • the set of components corresponding to the first element classification "party branch file” includes "one school”, “typing” and "cc", when a new component "two schools” needs to be created, based on the user's component creation instruction, A new component is created for the first element classification "party branch file” by editing the text "two schools” in the component creation area. After the new component "two schools” is generated, it is displayed in the component display area. In another embodiment, a new component "two schools” is created in the component creation area for the first element classification "party branch file” by other means.
  • Step S614 setting a format of the red head title displayed in the template editing preview area based on an editing instruction of the user, and setting a format of the component and the red line moved from the tool area to the template editing preview area.
  • the description continues with the red header template of the party branch document as an example.
  • “company branch branch committee document” corresponding to the “party branch document”, “about notice”, “company branch branch committee”, and “year and month date issue” are displayed in the template edit preview area, and After the components “one school”, “CC” and “typing” are moved to the template editing preview area, based on the user's editing instruction, the line thickness and the frame position of the line in the template editing preview area are set, and the two are adjusted.
  • the spacing of the various components between the lines based on the relative position of the components to the lines, adjusts the spacing of the lines and components and the position of the components between the two lines.
  • Step S718 based on the matching definition instruction of the user, matching a plurality of fields in the signed content with the generated component and the preset content in the generated red template.
  • the signing content includes a plurality of fields, and different fields are filled with different contents.
  • the generated red head template is The content that each component and each preset content needs to match is defined to match the content filled in the corresponding field in the signed content in the office automation system.
  • a specific signature content is applied to the generated red header template, each component and each preset content in the generated red header template are matched with the content in the corresponding column in the specific signature content, and a corresponding red head is generated. file.
  • FIG. 6 is a schematic diagram of a specific signing content in an office automation system, where the signing content includes a plurality of fields, such as “one school” and “two schools”, wherein the field “one” The content in the school is “XXX”, and the content in the "second school” field is "YY”.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.

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)
  • Stored Programmes (AREA)

Abstract

Disclosed in the present application is a method for making a red heading template of a red heading file. The method comprises: creating a making interface of a red heading template in an office automation system based on a creation instruction of a user, the making interface comprising a tool region and a template editing preview region; selecting a red heading title, a component and a red line from the tool region based on a selection instruction of the user, and moving the red heading title, the component and the red line to the template editing preview region, the component at least comprising "typewriting" and "copying"; editing the red heading title, the component and the red line in the template editing preview region based on an editing instruction of the user; and storing the editing operations for the template editing preview region based on a storage instruction of the user, and generating a red heading template. The present application also provides an application server and a computer readable storage medium. By means of the method for making a red heading template of a red heading file, the application server and the computer readable storage medium provided in the present application, the problems of the operation inconvenience and the low operation efficiency during change of the red heading template can be resolved.

Description

红头文件的红头模板制作方法、应用服务器及计算机存储介质Red head template making method, application server and computer storage medium for red head file
优先权申明Priority claim
本申请基于巴黎公约申明享有2017年11月15日递交的申请号为CN 201711130608.6、名称为“红头文件的红头模板制作方法、应用服务器及计算机存储介质”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。This application is based on the Paris Convention's priority to apply for a Chinese patent application filed on November 15, 2017, with the application number CN 201711130608.6, entitled "Red Head Template Making Method, Application Server and Computer Storage Media", which is filed on November 15, 2017. The overall content is incorporated herein by reference.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种红头文件的红头模板制作方法、应用服务器及计算机存储介质。The present application relates to the field of computer technology, and in particular, to a red head template manufacturing method, an application server, and a computer storage medium.
背景技术Background technique
传统的自动化(Office Automation)办公系统中,红头文件拟稿有很多关键属性字段,这些属性字段在经过拟稿人发起审批后,经由领导审核通过后,需要经过匹配红头模板,最终形成相应的红头文件。In the traditional Office Automation office system, the red-headed document draft has many key attribute fields. After the approval of the drafter, these attribute fields need to be matched with the red-head template after the approval of the leader, and finally the corresponding red-headed file is formed.
现有技术中,套红头文件的红头模板大多都是预先开发定制的,但此预先开发的方式却有许多弊端。一方面红头模板在制作过程中无法立即看到效果,红头模板的正确性不能被保证;另一方面,当遇到需要修改套红头文件的红头模板或需要启用新的红头模板的情况时,需要前端人员重新进行红头模板的开发定制,增加了模板定制的周期和资源投入。In the prior art, most of the red-head templates of the red-headed files are pre-developed and customized, but this pre-development method has many drawbacks. On the one hand, the red head template cannot see the effect immediately during the production process, and the correctness of the red head template cannot be guaranteed; on the other hand, when encountering a red head template that needs to modify the red head file or when a new red head template needs to be enabled, The front-end personnel re-developed the red-head template and added the cycle and resource investment of the template customization.
总之,现有技术中存在对套红头文件的红头模板进行变更时的操作不便捷和操作效率低下的问题。In short, in the prior art, there is a problem that the operation of changing the red head template of the red head file is inconvenient and the operation efficiency is low.
发明内容Summary of the invention
有鉴于此,本申请提出一种红头文件的红头模板制作方法、应用服务器及计算机存储介质,以解决如何进行红头文件的红头模板的高效变更和制作的问题。In view of this, the present application proposes a method for creating a red-head template for a red-headed document, an application server, and a computer storage medium, to solve the problem of how to efficiently change and manufacture a red-head template of a red-headed document.
首先,为实现上述目的,本申请第一方面提出一种红头文件的红头模板制作方法,该方法包括步骤:基于用户的创建指令,在办公自动化系统中创建红头模板的制作界面,所述制作界面包括工具区和模板编辑预览区;基于用户的选择指令,从所述工具区中选择红头标题、组件和红线,并将其移动至所述模板编辑预览区,所述组件至少包括“打字”和“抄送”;基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑;及基于用户的保存指令,保存针对所述模板编辑预览区的编辑操作,生成所述红头模板。First, in order to achieve the above object, a first aspect of the present application provides a red head template manufacturing method for a red head file, the method comprising the steps of: creating a red head template creation interface in an office automation system based on a user creation instruction, the production interface Include a tool area and a template edit preview area; select a red head title, a component, and a red line from the tool area based on a user selection instruction, and move it to the template edit preview area, the component including at least "typing" and "Cc"; editing the red head title, component and red line in the template editing preview area based on the user's editing instruction; and saving the editing operation for the template editing preview area based on the user's save instruction, generating the Red head template.
此外,为实现上述目的,本申请第二方面还提供一种应用服务器, 包括存储器,处理器,所述存储器上存储有可在所述处理器上运行的红头文件的红头模板制作系统,所述红头文件的红头模板制作系统被所述处理器执行时实现以下步骤:基于用户的创建指令,在办公自动化系统中创建红头模板的制作界面,所述制作界面包括工具区和模板编辑预览区;基于用户的选择指令,从所述工具区中选择红头标题、组件和红线,并将其移动至所述模板编辑预览区,所述组件至少包括“打字”和“抄送”;基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑;及基于用户的保存指令,保存针对所述模板编辑预览区的编辑操作,生成所述红头模板。In addition, in order to achieve the above object, a second aspect of the present application further provides an application server, including a memory, a processor, and a red head template creation system on which the red head file executable on the processor is stored, The red head template making system of the red head file is executed by the processor to implement the following steps: creating a production interface of the red head template in the office automation system based on the user's creation instruction, the production interface including the tool area and the template editing preview area; a user's selection instruction to select a red head title, component, and red line from the tool area and move it to the template edit preview area, the component including at least "typing" and "CC"; based on the user's editing instruction Editing a red head title, a component, and a red line in the template edit preview area; and saving an edit operation for the template edit preview area based on a user save instruction to generate the red header template.
进一步地,为实现上述目的,本申请第三方面还提供一种计算机可读存储介质,所述计算机可读存储介质存储有红头文件的红头模板制作系统,所述红头文件的红头模板制作系统可被至少一个处理器执行,以使所述至少一个处理器执行如上述的红头文件的红头模板制作方法的步骤。Further, in order to achieve the above object, a third aspect of the present application further provides a computer readable storage medium, where the red head template creation system of the red header file is stored, Executing by at least one processor to cause the at least one processor to perform the steps of the red-head template creation method of the red-headed file as described above.
相较于现有技术,本申请所提出的红头文件的红头模板制作方法、应用服务器及计算机可读存储介质,可以在办公自动化系统中为用户提供红头文件的红头模板的制作页面,使得用户可以通过简便的操作随时进行红头文件的红头模板的制作与使用,提高了红头模板的变更效率。Compared with the prior art, the red-head template manufacturing method, the application server, and the computer-readable storage medium of the red-headed file proposed by the present application can provide a red-head template creation page for the red-headed file in the office automation system, so that the user can By making a simple operation, the red head template of the red head file can be created and used at any time, and the efficiency of changing the red head template is improved.
附图说明DRAWINGS
图1是本申请应用服务器一可选的硬件架构的示意图;1 is a schematic diagram of an optional hardware architecture of an application server of the present application;
图2是本申请红头文件的红头模板制作系统第一实施例的程序模块示意图;2 is a schematic diagram of a program module of a first embodiment of a red head template creation system of the red head file of the present application;
图3是本申请红头文件的红头模板制作系统第二实施例的程序模块示意图;3 is a schematic diagram of a program module of a second embodiment of a red head template creation system of the red head file of the present application;
图4是红头文件的红头模板的示意图。4 is a schematic diagram of a red head template of a red head file.
图5是本申请红头文件的红头模板制作系统第三实施例的程序模块示意图;5 is a schematic diagram of a program module of a third embodiment of a red head template creation system of the red head file of the present application;
图6是办公自动化系统中一个具体的签报内容示意图;6 is a schematic diagram of a specific signing content in an office automation system;
图7是本申请红头文件的红头模板制作方法第一实施例的流程示意图;7 is a schematic flow chart of a first embodiment of a method for fabricating a red head template of a red head file according to the present application;
图8是本申请红头文件的红头模板制作方法第二实施例的流程示意图;8 is a schematic flow chart of a second embodiment of a method for fabricating a red head template of a red head file according to the present application;
图9是本申请红头文件的红头模板制作方法第三实施例的流程示意图。FIG. 9 is a schematic flow chart of a third embodiment of a method for fabricating a red head template of a red head file according to the present application.
附图标记:Reference mark:
应用服务器application server 22
存储器Memory 1111
处理器processor 1212
网络接口Network Interface 1313
红头文件的红头模板制作系统Red head template production system for red head files 200200
界面创建模块Interface creation module 201201
选择模块Selection module 202202
编辑模块Editing module 203203
保存模块Save module 204204
组件创建模块Component creation module 205205
匹配定义模块Match definition module 206206
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions of "first", "second" and the like in the present application are for the purpose of description only, and are not to be construed as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. . Thus, features defining "first" or "second" may include at least one of the features, either explicitly or implicitly. In addition, the technical solutions between the various embodiments may be combined with each other, but must be based on the realization of those skilled in the art, and when the combination of the technical solutions is contradictory or impossible to implement, it should be considered that the combination of the technical solutions does not exist. Nor is it within the scope of protection required by this application.
参阅图1所示,是本申请应用服务器2一可选的硬件架构的示意图。Referring to FIG. 1, it is a schematic diagram of an optional hardware architecture of the application server 2 of the present application.
本实施例中,所述应用服务器2可包括,但不仅限于,可通过系统总线相互通信连接存储器11、处理器12、网络接口13。需要指出的是,图1仅示出了具有组件11-13的应用服务器2,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In this embodiment, the application server 2 may include, but is not limited to, the memory 11, the processor 12, and the network interface 13 being communicably connected to each other through a system bus. It is pointed out that Figure 1 only shows the application server 2 with components 11-13, but it should be understood that not all illustrated components may be implemented, and more or fewer components may be implemented instead.
其中,所述应用服务器2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器等计算设备,该应用服务器2可以是独立的服务器,也可以是多个服务器所组成的服务器集群。The application server 2 may be a computing device such as a rack server, a blade server, a tower server, or a rack server. The application server 2 may be an independent server or a server cluster composed of multiple servers. .
所述存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,所述存储器11可以是所述应用服务器2的内部存储单元,例如该应用服务器2的硬盘或内存。在另一些实施例中,所述存储器11也可以是所述应用服务器2的外部存储设备,例如该应用服务器2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,所述存储器11还可以既包括所述应用服务器2的内部存储单元也包括其外部存储设备。本实施例中,所述存储器11通常用于存储安装于所述应用服务器2的操作系统和各类应用软件,例如红头文件的红头模板制作系统200的程序代码等。此外,所述存储器11还可以用于暂时地存储已经输出或者将要输出的各类数据。The memory 11 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static Random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 11 may be an internal storage unit of the application server 2, such as a hard disk or memory of the application server 2. In other embodiments, the memory 11 may also be an external storage device of the application server 2, such as a plug-in hard disk equipped on the application server 2, a smart memory card (SMC), and a secure digital number. (Secure Digital, SD) card, flash card, etc. Of course, the memory 11 can also include both the internal storage unit of the application server 2 and its external storage device. In this embodiment, the memory 11 is generally used to store an operating system installed in the application server 2 and various types of application software, such as program code of the red-head template creation system 200 of the red-headed file. Further, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
所述处理器12在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器12通常用于控制所述应用服务器2的总体操作。本实施例中,所述处理器12用于运行所述存储器11中存储的程序代码或者处理数据,例如运行所述的红头文件的红头模板制作系统200等。The processor 12 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data processing chip in some embodiments. The processor 12 is typically used to control the overall operation of the application server 2. In this embodiment, the processor 12 is configured to run program code or processing data stored in the memory 11, such as a red-head template creation system 200 that runs the red-head file.
所述网络接口13可包括无线网络接口或有线网络接口,该网络接口13通常用于在所述应用服务器2与其他电子设备之间建立通信连接。The network interface 13 may comprise a wireless network interface or a wired network interface, which is typically used to establish a communication connection between the application server 2 and other electronic devices.
至此,己经详细介绍了本申请相关设备的硬件结构和功能。下面,将基于上述介绍提出本申请的各个实施例。So far, the hardware structure and functions of the devices related to this application have been described in detail. Hereinafter, various embodiments of the present application will be made based on the above description.
首先,本申请提出一种红头文件的红头模板制作系统200。First, the present application proposes a red head template creation system 200 for a red head file.
参阅图2所示,是本申请红头文件的红头模板制作系统200第一实施例的程序模块图。Referring to FIG. 2, it is a program block diagram of the first embodiment of the red head template creation system 200 of the red head file of the present application.
本实施例中,所述红头文件的红头模板制作系统200包括一系列 的存储于存储器11上的计算机程序指令,当该计算机程序指令被处理器12执行时,可以实现本申请各实施例的红头文件的红头模板制作操作。在一些实施例中,基于该计算机程序指令各部分所实现的特定的操作,红头文件的红头模板制作系统200可以被划分为一个或多个模块。例如,在图2中,所述红头文件的红头模板制作系统200可以被分割成界面创建模块201、第一选择模块202、编辑模块203和保存模块204。其中:In this embodiment, the red head template creation system 200 of the red header file includes a series of computer program instructions stored in the memory 11, and when the computer program instructions are executed by the processor 12, the red head of each embodiment of the present application can be implemented. The red head template creation operation of the file. In some embodiments, the red-head template creation system 200 of the red-headed file may be divided into one or more modules based on the particular operations implemented by the various portions of the computer program instructions. For example, in FIG. 2, the red head template creation system 200 of the red head file may be divided into an interface creation module 201, a first selection module 202, an editing module 203, and a save module 204. among them:
所述界面创建模块201,用于基于用户的创建指令,在办公自动化系统中创建红头模板的制作界面,所述制作界面包括工具区和模板编辑预览区。The interface creation module 201 is configured to create a production interface of a red template in an office automation system based on a user creation instruction, where the production interface includes a tool area and a template editing preview area.
具体地,基于用户的创建指令,界面创建模块201在办公自动化系统中创建一个红头文件的红头模板的创建页面,所述创建页面包括工具区和模板编辑预览区。所述模板编辑预览区用于在红头模板的制作过程中显示所有编辑操作以及显示制作完成的红头模板。所述工具区包括元素分类选择栏和组件显示区,所述元素分类选择栏中包括多个元素分类,所述组件显示区用于显示各个组件。Specifically, based on the user's creation instruction, the interface creation module 201 creates a creation page of a red-head template of a red-headed file in the office automation system, and the created page includes a tool area and a template edit preview area. The template editing preview area is used to display all the editing operations and the red-head template for displaying the completed in the process of making the red-head template. The tool area includes an element classification selection column and a component display area, the element classification selection column includes a plurality of element classifications, and the component display area is used to display each component.
所述选择模块202,用于基于用户的选择指令,从所述工具区中选择红头标题、组件和红线并移动至所述模板编辑预览区,所述组件至少包括“打字”和“抄送”。The selecting module 202 is configured to select, according to a user's selection instruction, a red head title, a component, and a red line from the tool area and move to the template edit preview area, where the component includes at least "typing" and "CC" .
具体地,当需要生成一个红头模板,例如,党支部文件的红头模板时,基于用户的选择指令,选择模块202从所述工具区中选择与所述党支部红头模板相对应的红头标题、组件和红线,并将其移动至所述模板编辑预览区中。Specifically, when it is required to generate a red template, for example, a red template of the party branch file, based on the user's selection instruction, the selection module 202 selects a red head title and a component corresponding to the party branch red template from the tool area. And the red line and move it into the template edit preview area.
所述编辑模块203,用于基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑。The editing module 203 is configured to edit a red head title, a component, and a red line in the template edit preview area based on a user's editing instruction.
具体地,当选择模块202将选择的内容移动至所述模板编辑预览区中后,基于用户的编辑指令,编辑模块203对所述模板编辑预览区中的红头标题、组件和红线进行相应编辑,以使编辑后的内容符合所需生成的所述党支部文件的红头模板的要求。Specifically, after the selection module 202 moves the selected content into the template editing preview area, the editing module 203 performs corresponding editing on the red head title, component, and red line in the template editing preview area based on the user's editing instruction. In order to make the edited content meet the requirements of the red-head template of the party branch file that needs to be generated.
所述保存模块204,当编辑模块203对所述模板编辑预览区的红头标题、组件和红线编辑结束之后,基于用户的保存指令,保存模块204保存所述编辑操作,生成红头模板。The saving module 204, after the editing module 203 finishes editing the red head title, the component and the red line of the template editing preview area, the saving module 204 saves the editing operation based on the user's saving instruction, and generates a red head template.
参阅图3所示,是本申请红头文件的红头模板制作系统200第二实施例的程序模块图。本实施例中,所述的红头文件的红头模板制作系统200除了包括第一实施例中的所述界面创建模块201、选择模块202、编辑模块203和保存模块204之外,还包括组件创建模块205。Referring to FIG. 3, it is a program module diagram of a second embodiment of the red head template creation system 200 of the red head file of the present application. In this embodiment, the red head template creation system 200 of the red header file includes a component creation module in addition to the interface creation module 201, the selection module 202, the editing module 203, and the save module 204 in the first embodiment. 205.
所述选择模块205还用于基于用户的元素分类选择指令,根据需 要制作的所述红头模板的元素分类,从所述元素分类选择栏中选择与需要制作的红头模板的元素分类对应的第一元素分类;在所述模板编辑预览区的预设位置处,显示与所述第一元素分类对应的预设内容,其中,所述预设内容包括所述红头标题;基于用户的组件选择指令,从与所述第一元素分类对应的一组组件中选择需要制作的红头模板所需的组件;基于用户的线条选择指令,从工具区域的所述线条工具区域中选择红线;及将选择的所述组件和所述红线从所述工具区移动至所述模板编辑预览区。The selection module 205 is further configured to select, according to an element classification selection instruction of the user, the first element corresponding to the element classification of the red-head template to be created, according to the element classification of the red-head template that needs to be created. An element classification; displaying, at a preset position of the template editing preview area, a preset content corresponding to the first element classification, wherein the preset content includes the red head title; and based on a user component selection instruction, Selecting a component required for the red head template to be created from a group of components corresponding to the first element classification; selecting a red line from the line tool area of the tool area based on the user's line selection instruction; and selecting the selected The component and the red line are moved from the tool area to the template edit preview area.
具体地,在本实施例中,所述多个元素分类通过所述元素分类栏被选择,每一个元素分类都对应有一组组件和一组预设内容。当任一所述元素分类被选择时,与被选择的元素分类对应的一组组件被显示在所述组件显示区,与被选择的元素分类对应的一组预设内容被显示在所述模板编辑预览区。Specifically, in this embodiment, the plurality of element classifications are selected by the element classification column, and each element classification corresponds to a group of components and a set of preset contents. When any of the element classifications is selected, a group of components corresponding to the selected element classification is displayed in the component display area, and a set of preset contents corresponding to the selected element classification is displayed in the template. Edit the preview area.
例如,当需要生成的红头模板为党支部文件的红头模板时,则所述党支部文件的红头模板的元素分类为“党支部文件”。选择模块202基于用户的元素分类选择指令,从所述元素分类选择栏中选择与所述红头模板的元素分类对应的第一元素分类(例如,“党支部文件”),则与“党支部文件”相对应的一组组件显示在所述工具区,与“党支部文件”所对应的一组预设内容显示在所述模板编辑预览区的预设位置处。选择模块202基于用户的组件选择指令,从与所述“党支部文件”对应的一组组件中选择所需组件,基于用户的线条选择指令,从所述工具区的所述线条工具区中选择所需红线,并将所选择的所述组件和所述红线从所述工具区移动至所述模板编辑预览区的相应位置处。For example, when the red-head template to be generated is a red-head template of a party branch document, the element of the red-head template of the party branch file is classified as a “party branch document”. The selection module 202 selects an instruction based on the element classification of the user, selects a first element classification corresponding to the element classification of the red template from the element classification selection column (for example, “party branch file”), and “party branch file” A corresponding set of components is displayed in the tool area, and a set of preset contents corresponding to the "party branch file" is displayed at a preset position of the template edit preview area. The selection module 202 selects a required component from a group of components corresponding to the "party branch file" based on a component selection instruction of the user, and selects from the line tool area of the tool area based on a user's line selection instruction. A red line is required and the selected component and the red line are moved from the tool area to respective locations of the template edit preview area.
例如,当“党支部文件”被选择时,在所述工具区的组件显示区中,显示有组件“一校”、“打字”和“抄送”会显示在所述工具区。与“党支部文件”所对应的“股份有限公司支部委员会文件”、“关于的通知”、“股份有限公司支部委员会”和“年月日印发”会分别显示在所述模板编辑预览区的预设位置处。基于用户的组件选择指令和线条选择指令,选择模块202从所述工具区中分别选择“一校”、“抄送”和“打字”组件,从所述线条工具区中选择无箭头直线,并将所选的组件和直线分别移动至所述模板编辑预览区。For example, when the "party branch document" is selected, in the component display area of the tool area, components "one school", "typing", and "cc" are displayed in the tool area. The "company branch branch committee documents", "relevant notices", "company limited company committee committees" and "years, months and days" issued corresponding to the "party branch documents" are respectively displayed in the template edit preview area. Set the location. Based on the user's component selection instruction and the line selection instruction, the selection module 202 selects a "one school", "CC" and "typing" component from the tool area, and selects an arrow-free line from the line tool area, and Move the selected component and line to the template edit preview area, respectively.
所述组件创建模块205用于基于用户的组件创建指令,在所述工具区的所述组件显示区创建新的组件。The component creation module 205 is configured to create a new component in the component display area of the tool area based on a component creation instruction of the user.
具体地,所述工具区还包括组件创建区,基于用户的组件创建指令,组件创建模块205在所述组件创建区中为每一个元素分类所对应的一组组件创建新组件。以下继续以所述党支部文件的红头模板为例进行说明。所述第一元素分类“党支部文件”所对应的一组组件包括“一校”、“打字”和“抄送”,当需要创建新组件“二校”时,基于用户的 组件创建指令,组件创建模块205在所述组件创建区中通过编辑文字“二校”的方式为所述第一元素分类“党支部文件”创建新的组件。新组件“二校”生成后,显示在所述组件显示区中。在另一实施例中,组件创建模块205在所述组件创建区中还通过其他方式为所述第一元素分类“党支部文件”创建新的组件“二校”。Specifically, the tool area further includes a component creation area. Based on the user component creation instruction, the component creation module 205 creates a new component in the component creation area for a group of components corresponding to each element classification. The following continues to illustrate the red-head template of the party branch document. The set of components corresponding to the first element classification "party branch file" includes "one school", "typing" and "cc", when a new component "two schools" needs to be created, based on the user's component creation instruction, The component creation module 205 creates a new component for the first element classification "party branch file" in the component creation area by editing the text "two schools". After the new component "two schools" is generated, it is displayed in the component display area. In another embodiment, the component creation module 205 also creates a new component "two schools" for the first element classification "party branch file" in the component creation area by other means.
所述编辑模块203还用于基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题的格式,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。The editing module 203 is further configured to set, according to an editing instruction of the user, a format of the red head title displayed in the template editing preview area, and set the component moved from the tool area to the template editing preview area and The format of the red line.
具体地,继续以所述继续以所述党支部文件的红头模板为例进行说明。当与“党支部文件”所对应的“股份有限公司支部委员会文件”、“关于的通知”、“股份有限公司支部委员会”和“年月日印发”显示在所述模板编辑预览区中,并且组件“一校”、“抄送”和“打字”被移动至所述模板编辑预览区之后,基于用户的编辑指令,编辑模块203设置所述模板编辑预览区域中线条的线条粗细和框线位置,调整两个线条之间的各个组件的间距,基于组件与线条的相对位置,调整框线与组件的上下间距和组件在两个线条之间的所处位置。以及,编辑模块203还基于用户的编辑指令,,设置“股份有限公司支部委员会文件”(红头标题)、“关于的通知”、“股份有限公司支部委员会”和“年月日印发”中的字的大小。如图4所示,为本实施例所制作出的所述党支部文件的红头模板的示意图。Specifically, the description continues with the red header template of the party branch document as an example. When the "company branch branch committee document" corresponding to the "party branch document", "about notice", "company branch branch committee", and "year and month date issue" are displayed in the template edit preview area, and After the components "one school", "CC" and "typing" are moved to the template editing preview area, based on the user's editing instruction, the editing module 203 sets the line thickness and the frame position of the line in the template editing preview area. , adjust the spacing of the components between the two lines, based on the relative position of the component and the line, adjust the spacing between the frame and the component and the position of the component between the two lines. And, the editing module 203 also sets the words in the "company branch branch committee document" (red head title), "about notice", "company branch branch committee", and "year and month date issue" based on the user's edit instruction. the size of. As shown in FIG. 4, it is a schematic diagram of a red-head template of the party branch file created in this embodiment.
参阅图5所示,是本申请红头文件的红头模板制作系统200第三实施例的程序模块图。本实施例中,所述红头文件的红头模板制作系统200除了包括第二实施例中的所述组件创建模块205之外,还包括匹配定义模块206。Referring to FIG. 5, it is a program module diagram of a third embodiment of the red head template creation system 200 of the red head file of the present application. In this embodiment, the red head template creation system 200 of the red header file includes a matching definition module 206 in addition to the component creation module 205 in the second embodiment.
所述匹配定义模块206,用于基于用户的匹配定义指令,将所述签报内容中的多个栏位分别与生成的所述红头模板中的所述组件和所述预设内容进行匹配定义。The matching definition module 206 is configured to match, according to a matching definition instruction of the user, a plurality of fields in the signed content with the generated component and the preset content in the generated red template. .
具体地,在所述办公自动化系统中,签报内容中包括了许多栏位,不同栏位中填写有不同内容,当红头模板生成后,基于用户的匹配定义指令,匹配定义模块206将生成的红头模板中的各个组件和各个预设内容需要匹配的内容定义为匹配所述办公自动化系统中的签报内容中对应栏位内所填写的内容。当一个具体的签报内容套用生成的红头模板时,生成的红头模板中的各个组件和各个预设内容与所述具体的签报内容中的相应栏位内的内容进行匹配,生成相应的红头文件。Specifically, in the office automation system, the signing content includes a plurality of fields, and different fields are filled with different contents. After the red head template is generated, based on the matching definition command of the user, the matching definition module 206 generates the generated content. The components in the red head template and the content that each preset content needs to match are defined to match the content filled in the corresponding field in the signed content in the office automation system. When a specific signature content is applied to the generated red header template, each component and each preset content in the generated red header template are matched with the content in the corresponding column in the specific signature content, and a corresponding red head is generated. file.
例如,如图6所示为一个办公自动化系统中具体的签报内容示意图,所述签报内容中包括了多个栏位,如“一校”和“二校”,其中,栏位“一校”内的内容为“XXX”,栏位“二校”内的内容为“YY”。当匹配定 义模块206基于用户的匹配定义指令,将生成的红头模板中的各个组件需要匹配的内容定义为匹配所述办公自动化系统中的签报内容中对应栏位内所填写的内容之后,当所述具体的签报内容套用生成的红头模板,进行红头文件的生成时,红头模板中的组件“一校”需要匹配的内容为“XXX”,组件“二校”需要匹配的内容为“YY”,即,在生成的红头文件中,“一校”对应的内容为“XXX”,“二校”对应的内容为“YY”。For example, as shown in FIG. 6 is a schematic diagram of a specific signing content in an office automation system, where the signing content includes a plurality of fields, such as “one school” and “two schools”, wherein the field “one” The content in the school is "XXX", and the content in the "second school" field is "YY". When the matching definition module 206 determines, according to the matching definition instruction of the user, the content that each component in the generated red template needs to match, after matching the content filled in the corresponding field in the signed content in the office automation system, when The specific signing content is applied to the generated red head template. When the red head file is generated, the component “one school” in the red template needs to match the content “XXX”, and the component “second school” needs to match the content “YY”. That is, in the generated red head file, the content corresponding to "one school" is "XXX", and the content corresponding to "two schools" is "YY".
此外,本申请还提出一种红头文件的红头模板制作方法。In addition, the present application also proposes a method for making a red head template of a red head file.
参阅图7所示,是本申请红头文件的红头模板制作方法第一实施例的流程示意图。在本实施例中,根据不同的需求,图7所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。Referring to FIG. 7, it is a schematic flowchart of a first embodiment of a method for creating a red-head template of a red-headed document of the present application. In this embodiment, the order of execution of the steps in the flowchart shown in FIG. 7 may be changed according to different requirements, and some steps may be omitted.
步骤S500,基于用户的创建指令,在办公自动化系统中创建红头模板的制作界面,所述制作界面包括工具区和模板编辑预览区。Step S500: Create a production interface of a red template in the office automation system based on the user's creation instruction, where the production interface includes a tool area and a template editing preview area.
具体地,基于用户的创建指令,在办公自动化系统中创建一个红头文件的红头模板的创建页面,所述创建页面包括工具区和模板编辑预览区。所述模板编辑预览区用于在红头模板的制作过程中显示所有编辑操作以及显示制作完成的红头模板。所述工具区包括元素分类选择栏和组件显示区,所述元素分类选择栏中包括多个元素分类,所述组件显示区用于显示各个组件。Specifically, based on the user's creation instruction, a creation page of a red-head template of a red-headed file is created in the office automation system, and the created page includes a tool area and a template edit preview area. The template editing preview area is used to display all the editing operations and the red-head template for displaying the completed in the process of making the red-head template. The tool area includes an element classification selection column and a component display area, the element classification selection column includes a plurality of element classifications, and the component display area is used to display each component.
步骤S502,基于用户的选择指令,从所述工具区中选择红头标题、组件和红线,并将其移动至所述模板编辑预览区,所述组件至少包括“打字”和“抄送”。Step S502, selecting a red head title, a component, and a red line from the tool area based on the user's selection instruction, and moving it to the template editing preview area, the component including at least "typing" and "CC".
具体地,当需要生成一个红头模板,例如,党支部文件的红头模板时,基于用户的选择指令,从所述工具区中选择相应的内容并将其移动至所述模板编辑预览区中。Specifically, when it is required to generate a red template, for example, a red template of a party branch file, the corresponding content is selected from the tool area and moved to the template edit preview area based on the user's selection instruction.
步骤S504,基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑。Step S504, editing the red head title, component and red line in the template edit preview area based on the user's editing instruction.
具体地,当将选择的红头标题、组件和红线移动至所述模板编辑预览区中后,基于用户的编辑指令,对所述模板编辑预览区中的与所述党支部红头模板相对应的红头标题、组件和红线进行相应编辑,以使编辑后的内容符合所需生成的所述党支部文件的红头模板的要求。Specifically, after moving the selected red head title, component, and red line into the template editing preview area, the red head corresponding to the party branch red head template in the template editing preview area is edited based on the user's editing instruction. The title, component, and red line are edited accordingly so that the edited content meets the requirements of the red-head template of the party branch file that needs to be generated.
步骤S506,基于用户的保存指令,保存针对所述模板编辑预览区的编辑操作,生成所述红头模板。具体地,当对所述模板编辑预览区的内容编辑结束之后,基于用户的保存指令,保存所述编辑操作,生成所述党支部文件的红头模板。Step S506, according to the save instruction of the user, save an edit operation for the template edit preview area, and generate the red header template. Specifically, after editing the content of the template edit preview area, the editing operation is saved based on the save instruction of the user, and a red template of the party branch file is generated.
如图8所示,是本申请红头文件的红头模板制作方法的第二实施 例的流程示意图。在本实施例中,根据不同的需求,图8所示的流程图中的步骤的执行顺序可以改变,某些步骤可以省略。本实施例中,所述模板文件的制作方法的步骤S600与S616与第一实施例的步骤S500与S506相类似,区别在于该方法包括步骤S602-S614。As shown in Fig. 8, it is a schematic flowchart of a second embodiment of a method for creating a red head template of the red head file of the present application. In this embodiment, the order of execution of the steps in the flowchart shown in FIG. 8 may be changed according to different requirements, and some steps may be omitted. In this embodiment, steps S600 and S616 of the method for fabricating the template file are similar to steps S500 and S506 of the first embodiment, except that the method includes steps S602-S614.
该方法包括以下步骤:The method includes the following steps:
步骤S602,基于用户的元素分类选择指令,根据需要制作的所述红头模板的元素分类,从所述元素分类选择栏中选择与需要制作的红头模板的元素分类对应的第一元素分类。Step S602, based on the element classification selection instruction of the user, select the first element classification corresponding to the element classification of the red head template to be created from the element classification selection column according to the element classification of the red header template that needs to be created.
步骤S604,在所述模板编辑预览区的预设位置处,显示与所述第一元素分类对应的预设内容,其中,所述预设内容包括所述红头标题。Step S604, displaying preset content corresponding to the first element classification at a preset position of the template editing preview area, wherein the preset content includes the red head title.
步骤S606,基于用户的组件选择指令,从与所述第一元素分类对应的一组组件中选择需要制作的红头模板所需的组件。Step S606, selecting components required for the red-head template to be created from a group of components corresponding to the first element classification based on the component selection instruction of the user.
步骤S608,基于用户的线条选择指令,从工具区域的所述线条工具区域中选择红线。Step S608, selecting a red line from the line tool area of the tool area based on the user's line selection instruction.
步骤S610,将选择的所述组件和所述红线从所述工具区移动至所述模板编辑预览区。Step S610, moving the selected component and the red line from the tool area to the template editing preview area.
具体地,在本实施例中,所述多个元素分类通过所述元素分类栏被选择,每一个元素分类都对应有一组组件和一组预设内容。当任一所述元素分类被选择时,与被选择的元素分类对应的一组组件被显示在所述组件显示区,与被选择的元素分类对应的一组预设内容被显示在所述模板编辑预览区。Specifically, in this embodiment, the plurality of element classifications are selected by the element classification column, and each element classification corresponds to a group of components and a set of preset contents. When any of the element classifications is selected, a group of components corresponding to the selected element classification is displayed in the component display area, and a set of preset contents corresponding to the selected element classification is displayed in the template. Edit the preview area.
例如,当需要生成的红头模板为党支部文件的红头模板时,则所述党支部文件的红头模板的元素分类为“党支部文件”。基于用户的元素分类选择指令,从所述元素分类选择栏中选择与所述红头模板的元素分类对应的第一元素分类(例如,“党支部文件”),则与“党支部文件”相对应的一组组件显示在所述工具区,与“党支部文件”所对应的一组预设内容显示在所述模板编辑预览区的预设位置处。基于用户的组件选择指令,从与所述“党支部文件”对应的一组组件中选择所需组件,基于用户的线条选择指令,从所述工具区的所述线条工具区中选择所需的红线,并将所选择的所述组件和所述红线从所述工具区移动至所述模板编辑预览区的相应位置处。For example, when the red-head template to be generated is a red-head template of a party branch document, the element of the red-head template of the party branch file is classified as a “party branch document”. And selecting, according to the element classification selection instruction of the user, the first element classification corresponding to the element classification of the red header template (for example, “party branch document”) from the element classification selection column, corresponding to the “party branch document” A set of components is displayed in the tool area, and a set of preset contents corresponding to the "party branch file" is displayed at a preset position in the template edit preview area. Selecting a required component from a group of components corresponding to the "party branch file" based on a user component selection instruction, and selecting a desired one from the line tool area of the tool area based on a user's line selection instruction A red line moves the selected component and the red line from the tool area to a corresponding location of the template edit preview area.
例如,当“党支部文件”被选择时,在所述工具区的组件显示区中,显示有组件“一校”、“打字”和“抄送”会显示在所述工具区。与“党支部文件”所对应的“股份有限公司支部委员会文件”、“关于的通知”、“股份有限公司支部委员会”和“年月日印发”会分别显示在所述模板编辑预览区的预设位置处。基于用户的组件选择指令和线条选择指令,从所述工具区中分别选择“一校”、“抄送”和“打字”组件,从所述线条工 具区中选择无箭头直线,并将所选的组件和直线分别移动至所述模板编辑预览区。For example, when the "party branch document" is selected, in the component display area of the tool area, components "one school", "typing", and "cc" are displayed in the tool area. The "company branch branch committee documents", "relevant notices", "company limited company committee committees" and "years, months and days" issued corresponding to the "party branch documents" are respectively displayed in the template edit preview area. Set the location. Selecting a "one school", "CC" and "typing" components from the tool area based on the user's component selection instruction and the line selection instruction, selecting an arrowless line from the line tool area, and selecting The components and lines are moved to the template edit preview area, respectively.
步骤S612,基于用户的组件创建指令,在所述工具区的所述组件显示区创建新的组件。Step S612, creating a new component in the component display area of the tool area based on the component creation instruction of the user.
具体地,所述工具区还包括组件创建区,基于用户的组件创建指令,在所述组件创建区中为每一个元素分类所对应的一组组件创建新组件。以下继续以所述党支部文件的红头模板为例进行说明。所述第一元素分类“党支部文件”所对应的一组组件包括“一校”、“打字”和“抄送”,当需要创建新组件“二校”时,基于用户的组件创建指令,在所述组件创建区中通过编辑文字“二校”的方式为所述第一元素分类“党支部文件”创建新的组件。新组件“二校”生成后,显示在所述组件显示区中。在另一实施例中,在所述组件创建区中还通过其他方式为所述第一元素分类“党支部文件”创建新的组件“二校”。Specifically, the tool area further includes a component creation area, and a new component is created in the component creation area for a group of components corresponding to each element classification according to a component creation instruction of the user. The following continues to illustrate the red-head template of the party branch document. The set of components corresponding to the first element classification "party branch file" includes "one school", "typing" and "cc", when a new component "two schools" needs to be created, based on the user's component creation instruction, A new component is created for the first element classification "party branch file" by editing the text "two schools" in the component creation area. After the new component "two schools" is generated, it is displayed in the component display area. In another embodiment, a new component "two schools" is created in the component creation area for the first element classification "party branch file" by other means.
步骤S614,基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题的格式,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。Step S614, setting a format of the red head title displayed in the template editing preview area based on an editing instruction of the user, and setting a format of the component and the red line moved from the tool area to the template editing preview area. .
具体地,继续以所述继续以所述党支部文件的红头模板为例进行说明。当与“党支部文件”所对应的“股份有限公司支部委员会文件”、“关于的通知”、“股份有限公司支部委员会”和“年月日印发”显示在所述模板编辑预览区中,并且组件“一校”、“抄送”和“打字”被移动至所述模板编辑预览区之后,基于用户的编辑指令,设置所述模板编辑预览区域中线条的线条粗细和框线位置,调整两个线条之间的各个组件的间距,基于组件与线条的相对位置,调整框线与组件的上下间距和组件在两个线条之间的所处位置。以及,基于用户的编辑指令,设置“股份有限公司支部委员会文件”(红头标题)、“关于的通知”、“股份有限公司支部委员会”和“年月日印发”中的字的大小。如图4所示,为本实施例所制作出的所述党支部文件的红头模板的示意图。Specifically, the description continues with the red header template of the party branch document as an example. When the "company branch branch committee document" corresponding to the "party branch document", "about notice", "company branch branch committee", and "year and month date issue" are displayed in the template edit preview area, and After the components "one school", "CC" and "typing" are moved to the template editing preview area, based on the user's editing instruction, the line thickness and the frame position of the line in the template editing preview area are set, and the two are adjusted. The spacing of the various components between the lines, based on the relative position of the components to the lines, adjusts the spacing of the lines and components and the position of the components between the two lines. And, based on the user's editing instruction, set the size of the words in the "company branch committee document" (red head title), "about notice", "company branch committee", and "year and month issue". As shown in FIG. 4, it is a schematic diagram of a red-head template of the party branch file created in this embodiment.
如图9所示,是本申请红头文件的红头模板制作方法的第三实施例的流程示意图。本实施例中,所述红头文件的红头模板制作方法的步骤S700-S716与第二实施例的步骤S600-S616相类似,区别在于该方法还包括步骤S718。As shown in FIG. 9, it is a schematic flowchart of a third embodiment of a method for creating a red head template of the red head file of the present application. In this embodiment, the steps S700-S716 of the red head template manufacturing method of the red header file are similar to the steps S600-S616 of the second embodiment, except that the method further includes step S718.
该方法包括以下步骤:The method includes the following steps:
步骤S718,基于用户的匹配定义指令,将所述签报内容中的多个栏位分别与生成的所述红头模板中的所述组件和所述预设内容进行匹配定义。Step S718, based on the matching definition instruction of the user, matching a plurality of fields in the signed content with the generated component and the preset content in the generated red template.
具体地,在所述办公自动化系统中,签报内容中包括了许多栏位,不同栏位中填写有不同内容,当红头模板生成后,基于用户的匹配定 义指令,将生成的红头模板中的各个组件和各个预设内容需要匹配的内容定义为匹配所述办公自动化系统中的签报内容中对应栏位内所填写的内容。当一个具体的签报内容套用生成的红头模板时,生成的红头模板中的各个组件和各个预设内容与所述具体的签报内容中的相应栏位内的内容进行匹配,生成相应的红头文件。Specifically, in the office automation system, the signing content includes a plurality of fields, and different fields are filled with different contents. After the red head template is generated, based on the user's matching definition instruction, the generated red head template is The content that each component and each preset content needs to match is defined to match the content filled in the corresponding field in the signed content in the office automation system. When a specific signature content is applied to the generated red header template, each component and each preset content in the generated red header template are matched with the content in the corresponding column in the specific signature content, and a corresponding red head is generated. file.
例如,如图6所示为一个办公自动化系统中具体的签报内容示意图,所述签报内容中包括了多个栏位,如“一校”和“二校”,其中,栏位“一校”内的内容为“XXX”,栏位“二校”内的内容为“YY”。当基于用户的匹配定义指令,将生成的红头模板中的各个组件需要匹配的内容定义为匹配所述办公自动化系统中的签报内容中对应栏位内所填写的内容之后,当所述具体的签报内容套用生成的红头模板,进行红头文件的生成时,红头模板中的组件“一校”需要匹配的内容为“XXX”,组件“二校”需要匹配的内容为“YY”,即,在生成的红头文件中,“一校”对应的内容为“XXX”,“二校”对应的内容为“YY”。For example, as shown in FIG. 6 is a schematic diagram of a specific signing content in an office automation system, where the signing content includes a plurality of fields, such as “one school” and “two schools”, wherein the field “one” The content in the school is "XXX", and the content in the "second school" field is "YY". After the user-based matching definition instruction, the content of each component in the generated red-head template needs to be matched to match the content filled in the corresponding field in the signed content in the office automation system, when the specific When the content of the signature is used to generate the red-headed template, when the red-headed file is generated, the component “one school” in the red template needs to match the content “XXX”, and the component “two schools” needs to match the content as “YY”, ie, In the generated red head file, the content corresponding to "one school" is "XXX", and the content corresponding to "two schools" is "YY".
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.

Claims (20)

  1. 一种红头文件的红头模板制作方法,应用于应用服务器,其特征在于,所述方法包括步骤:A red-head template manufacturing method for a red-headed file is applied to an application server, and the method includes the steps of:
    基于用户的创建指令,在办公自动化系统中创建红头模板的制作界面,所述制作界面包括工具区和模板编辑预览区;Creating a production interface of a red-head template in an office automation system based on a user-created instruction, the production interface including a tool area and a template editing preview area;
    基于用户的选择指令,从所述工具区中选择红头标题、组件和红线,并将其移动至所述模板编辑预览区,所述组件至少包括“打字”和“抄送”;Selecting a red head title, a component, and a red line from the tool area based on the user's selection instruction and moving it to the template edit preview area, the component including at least "typing" and "CC";
    基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑;及Editing the red head title, component, and red line in the template edit preview area based on the user's editing instructions; and
    基于用户的保存指令,保存针对所述模板编辑预览区的编辑操作,生成所述红头模板。The red head template is generated by saving an edit operation for the template edit preview area based on the user's save instruction.
  2. 如权利要求1所述的红头文件的红头模板制作方法,其特征在于,所述工具区包括元素分类选择栏、组件显示区和线条工具区,所述元素分类选择栏中包括多个元素分类,其中,每一个元素分类对应有一组显示在所述组件显示区的组件和一组显示在所述模板编辑预览区中的预设位置处的预设内容。The red head template manufacturing method of the red head file according to claim 1, wherein the tool area comprises an element classification selection column, a component display area and a line tool area, and the element classification selection column comprises a plurality of element classifications. Each of the element categories corresponds to a set of components displayed in the component display area and a set of preset contents displayed at preset positions in the template edit preview area.
  3. 如权利要求2所述的红头文件的红头模板制作方法,其特征在于,所述基于用户的选择指令,从所述工具区中选择红头标题、组件和红线并将其移动至所述模板编辑预览区的步骤具体为:The red head template manufacturing method of the red head file according to claim 2, wherein the user selects a red head title, a component, and a red line from the tool area based on a user selection instruction and moves the template to the template edit preview. The steps of the district are as follows:
    基于用户的元素分类选择指令,根据需要制作的所述红头模板的元素分类,从所述元素分类选择栏中选择与需要制作的红头模板的元素分类对应的第一元素分类;And selecting, according to the element classification selection instruction of the user, the element classification of the red header template that is to be created, and selecting, from the element classification selection column, the first element classification corresponding to the element classification of the red header template to be created;
    在所述模板编辑预览区的预设位置处,显示与所述第一元素分类对应的预设内容,其中,所述预设内容包括所述红头标题;Displaying a preset content corresponding to the first element classification at a preset position of the template editing preview area, where the preset content includes the red head title;
    基于用户的组件选择指令,从与所述第一元素分类对应的一组组件中选择需要制作的红头模板所需的组件;Selecting, according to a user component selection instruction, a component required for a red head template to be created from a group of components corresponding to the first element classification;
    基于用户的线条选择指令,从工具区域的所述线条工具区域中选择红线;及Selecting a red line from the line tool area of the tool area based on the user's line selection command; and
    将选择的所述组件和所述红线从所述工具区移动至所述模板编辑预览区。The selected component and the red line are moved from the tool area to the template edit preview area.
  4. 如权利要求2所述的红头文件的红头模板制作方法,其特征在于,所述基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑的步骤具体为:The method for creating a red head template of a red head file according to claim 2, wherein the step of editing the red head title, the component and the red line in the template edit preview area based on the user's editing instruction is specifically:
    基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题格式;及Setting the red head title format displayed in the template edit preview area based on a user's editing instruction; and
    基于用户的编辑指令,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。The component moving from the tool area to the template edit preview area and the format of the red line are set based on a user's editing instruction.
  5. 如权利要求3所述的红头文件的红头模板制作方法,其特征在于,所述基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑的步骤具体为:The method for creating a red head template of a red head file according to claim 3, wherein the step of editing the red head title, the component, and the red line in the template edit preview area based on the user's editing instruction is specifically:
    基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题格式;及Setting the red head title format displayed in the template edit preview area based on a user's editing instruction; and
    基于用户的编辑指令,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。The component moving from the tool area to the template edit preview area and the format of the red line are set based on a user's editing instruction.
  6. 如权利要求4所述的红头文件的红头模板制作方法,其特征在于,所述办公自动化系统包括具有多个栏位的签报内容,所述方法还包括步骤:The red head template manufacturing method of the red head file according to claim 4, wherein the office automation system comprises a signed content having a plurality of fields, the method further comprising the steps of:
    基于用户的匹配定义指令,将所述签报内容中的多个栏位分别与生成的所述红头模板中的所述组件和所述预设内容进行匹配定义。And matching, by the user-based matching definition instruction, the plurality of fields in the signed content with the generated component and the preset content in the generated red-head template.
  7. 如权利要求5所述的红头文件的红头模板制作方法,其特征在于,所述办公自动化系统包括具有多个栏位的签报内容,所述方法还包括步骤:The red head template manufacturing method of the red head file according to claim 5, wherein the office automation system comprises a report content having a plurality of fields, the method further comprising the steps of:
    基于用户的匹配定义指令,将所述签报内容中的多个栏位分别与生成的所述红头模板中的所述组件和所述预设内容进行匹配定义。And matching, by the user-based matching definition instruction, the plurality of fields in the signed content with the generated component and the preset content in the generated red-head template.
  8. 一种应用服务器,其特征在于,所述应用服务器包括存储器、处理器,所述存储器上存储有可在所述处理器上运行的红头文件的红头模板制作系统,所述红头文件的红头模板制作系统被所述处理器执行时实现以下步骤:An application server, comprising: a memory, a processor, a red head template creation system storing a red header file executable on the processor, and a red header template of the red header file The following steps are implemented when the system is executed by the processor:
    基于用户的创建指令,在办公自动化系统中创建红头模板的制作界面,所述制作界面包括工具区和模板编辑预览区;Creating a production interface of a red-head template in an office automation system based on a user-created instruction, the production interface including a tool area and a template editing preview area;
    基于用户的选择指令,从所述工具区中选择红头标题、组件和红线,并将其移动至所述模板编辑预览区,所述组件至少包括“打字”和“抄送”;Selecting a red head title, a component, and a red line from the tool area based on the user's selection instruction and moving it to the template edit preview area, the component including at least "typing" and "CC";
    基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑;及Editing the red head title, component, and red line in the template edit preview area based on the user's editing instructions; and
    基于用户的保存指令,保存针对所述模板编辑预览区的编辑操作,生成所述红头模板。The red head template is generated by saving an edit operation for the template edit preview area based on the user's save instruction.
  9. 如权利要求8所述的应用服务器,其特征在于,所述工具区包括元素分类选择栏、组件显示区和线条工具区,所述元素分类选择栏中包括多个元素分类,其中,每一个元素分类对应有一组显示在所述组件显示区的组件和一组显示在所述模板编辑预览区中的预设位置处的预设内容。The application server according to claim 8, wherein said tool area comprises an element classification selection column, a component display area, and a line tool area, and said element classification selection column includes a plurality of element classifications, wherein each element The classification corresponds to a set of components displayed in the component display area and a set of preset contents displayed at preset positions in the template edit preview area.
  10. 如权利要求9所述的应用服务器,其特征在于,所述红头文件的红头模板制作系统被所述处理器执行时还实现以下步骤:The application server according to claim 9, wherein the red head template creation system of the red header file is further executed by the processor to:
    基于用户的元素分类选择指令,根据需要制作的所述红头模板的 元素分类,从所述元素分类选择栏中选择与需要制作的红头模板的元素分类对应的第一元素分类;And selecting, according to the element classification selection instruction of the user, the element classification of the red header template that is to be created, and selecting, from the element classification selection column, the first element classification corresponding to the element classification of the red header template to be created;
    在所述模板编辑预览区的预设位置处,显示与所述第一元素分类对应的预设内容,其中,所述预设内容包括所述红头标题;基于用户的组件选择指令,从与所述第一元素分类对应的一组组件中选择需要制作的红头模板所需的组件;Displaying a preset content corresponding to the first element classification at a preset position of the template editing preview area, wherein the preset content includes the red head title; based on a user component selection instruction, from Selecting a component required for the red head template to be created among a group of components corresponding to the first element classification;
    基于用户的线条选择指令,从工具区域的所述线条工具区域中选择红线;及Selecting a red line from the line tool area of the tool area based on the user's line selection command; and
    将选择的所述组件和所述红线从所述工具区移动至所述模板编辑预览区。The selected component and the red line are moved from the tool area to the template edit preview area.
  11. 如权利要求9所述的应用服务器,其特征在于,所述红头文件的红头模板制作系统被所述处理器执行时还实现以下步骤:The application server according to claim 9, wherein the red head template creation system of the red header file is further executed by the processor to:
    基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题的格式;及Setting a format of the red head title displayed in the template edit preview area based on a user's editing instruction; and
    基于用户的编辑指令,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。The component moving from the tool area to the template edit preview area and the format of the red line are set based on a user's editing instruction.
  12. 如权利要求10所述的应用服务器,其特征在于,所述红头文件的红头模板制作系统被所述处理器执行时还实现以下步骤:The application server according to claim 10, wherein the red-head template creation system of the red-headed file is further executed by the processor to:
    基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题的格式;及Setting a format of the red head title displayed in the template edit preview area based on a user's editing instruction; and
    基于用户的编辑指令,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。The component moving from the tool area to the template edit preview area and the format of the red line are set based on a user's editing instruction.
  13. 如权利要求11所述的应用服务器,其特征在于,所述办公自动化系统包括具有多个栏位的签报内容,所述方法还包括步骤:The application server according to claim 11, wherein the office automation system comprises a signed content having a plurality of fields, and the method further comprises the steps of:
    基于用户的匹配定义指令,将所述签报内容中的多个栏位分别与生成的所述红头模板中的所述组件和所述预设内容进行匹配定义。And matching, by the user-based matching definition instruction, the plurality of fields in the signed content with the generated component and the preset content in the generated red-head template.
  14. 如权利要求12所述的应用服务器,其特征在于,所述办公自动化系统包括具有多个栏位的签报内容,所述方法还包括步骤:The application server of claim 12, wherein the office automation system comprises a signed content having a plurality of fields, the method further comprising the steps of:
    基于用户的匹配定义指令,将所述签报内容中的多个栏位分别与生成的所述红头模板中的所述组件和所述预设内容进行匹配定义。And matching, by the user-based matching definition instruction, the plurality of fields in the signed content with the generated component and the preset content in the generated red-head template.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有红头文件的红头模板制作系统,所述红头文件的红头模板制作系统可被至少一个处理器执行,以使所述至少一个处理器执行如下步骤:A computer readable storage medium storing a red head template creation system with a red header file, the red head template creation system of the red header file being executable by at least one processor to cause the at least one processor Perform the following steps:
    基于用户的创建指令,在办公自动化系统中创建红头模板的制作界面,所述制作界面包括工具区和模板编辑预览区;Creating a production interface of a red-head template in an office automation system based on a user-created instruction, the production interface including a tool area and a template editing preview area;
    基于用户的选择指令,从所述工具区中选择红头标题、组件和红线,并将其移动至所述模板编辑预览区,所述组件至少包括“打字”和“抄送”;Selecting a red head title, a component, and a red line from the tool area based on the user's selection instruction and moving it to the template edit preview area, the component including at least "typing" and "CC";
    基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑;及Editing the red head title, component, and red line in the template edit preview area based on the user's editing instructions; and
    基于用户的保存指令,保存针对所述模板编辑预览区的编辑操作,生成所述红头模板。The red head template is generated by saving an edit operation for the template edit preview area based on the user's save instruction.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,所述工具区包括元素分类选择栏、组件显示区和线条工具区,所述元素分类选择栏中包括多个元素分类,其中,每一个元素分类对应有一组显示在所述组件显示区的组件和一组显示在所述模板编辑预览区中的预设位置处的预设内容。The computer readable storage medium according to claim 15, wherein the tool area comprises an element classification selection column, a component display area, and a line tool area, wherein the element classification selection column includes a plurality of element classifications, wherein Each element classification corresponds to a set of components displayed in the component display area and a set of preset contents displayed at preset positions in the template edit preview area.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述基于用户的选择指令,从所述工具区中选择红头标题、组件和红线并将其移动至所述模板编辑预览区的步骤具体为:The computer readable storage medium of claim 16 wherein said user-based selection instruction selects a red head title, component and red line from said tool area and moves it to said template edit preview area The steps are specifically as follows:
    基于用户的元素分类选择指令,根据需要制作的所述红头模板的元素分类,从所述元素分类选择栏中选择与需要制作的红头模板的元素分类对应的第一元素分类;And selecting, according to the element classification selection instruction of the user, the element classification of the red header template that is to be created, and selecting, from the element classification selection column, the first element classification corresponding to the element classification of the red header template to be created;
    在所述模板编辑预览区的预设位置处,显示与所述第一元素分类对应的预设内容,其中,所述预设内容包括所述红头标题;Displaying a preset content corresponding to the first element classification at a preset position of the template editing preview area, where the preset content includes the red head title;
    基于用户的组件选择指令,从与所述第一元素分类对应的一组组件中选择需要制作的红头模板所需的组件;Selecting, according to a user component selection instruction, a component required for a red head template to be created from a group of components corresponding to the first element classification;
    基于用户的线条选择指令,从工具区域的所述线条工具区域中选择红线;及Selecting a red line from the line tool area of the tool area based on the user's line selection command; and
    将选择的所述组件和所述红线从所述工具区移动至所述模板编辑预览区。The selected component and the red line are moved from the tool area to the template edit preview area.
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,所述基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑的步骤具体为:The computer readable storage medium according to claim 16, wherein the step of editing the red head title, the component, and the red line in the template edit preview area based on the user's editing instruction is specifically:
    基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题格式;及Setting the red head title format displayed in the template edit preview area based on a user's editing instruction; and
    基于用户的编辑指令,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。The component moving from the tool area to the template edit preview area and the format of the red line are set based on a user's editing instruction.
  19. 如权利要求17所述的计算机可读存储介质,其特征在于,所述基于用户的编辑指令,对所述模板编辑预览区中的红头标题、组件和红线进行编辑的步骤具体为:The computer readable storage medium according to claim 17, wherein the step of editing the red head title, the component, and the red line in the template edit preview area based on the user's editing instruction is specifically:
    基于用户的编辑指令,设置显示在所述模板编辑预览区的所述红头标题格式;及Setting the red head title format displayed in the template edit preview area based on a user's editing instruction; and
    基于用户的编辑指令,设置从所述工具区移动至所述模板编辑预览区的所述组件和所述红线的格式。The component moving from the tool area to the template edit preview area and the format of the red line are set based on a user's editing instruction.
  20. 如权利要求18所述的计算机可读存储介质,其特征在于, 所述办公自动化系统包括具有多个栏位的签报内容,所述方法还包括步骤:The computer readable storage medium of claim 18, wherein the office automation system comprises a signed content having a plurality of fields, the method further comprising the steps of:
    基于用户的匹配定义指令,将所述签报内容中的多个栏位分别与生成的所述红头模板中的所述组件和所述预设内容进行匹配定义。And matching, by the user-based matching definition instruction, the plurality of fields in the signed content with the generated component and the preset content in the generated red-head template.
PCT/CN2018/089730 2017-11-15 2018-06-03 Method for making red heading template of red heading file, application server, and computer storage medium WO2019095671A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711130608.6A CN108241595A (en) 2017-11-15 2017-11-15 Reddish tone template construct method, application server and the computer storage media of official document
CN201711130608.6 2017-11-15

Publications (1)

Publication Number Publication Date
WO2019095671A1 true WO2019095671A1 (en) 2019-05-23

Family

ID=62700984

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/089730 WO2019095671A1 (en) 2017-11-15 2018-06-03 Method for making red heading template of red heading file, application server, and computer storage medium

Country Status (2)

Country Link
CN (1) CN108241595A (en)
WO (1) WO2019095671A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113822025A (en) * 2021-11-25 2021-12-21 深圳市明源云链互联网科技有限公司 Office file automatic generation method, device, equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111199139A (en) * 2019-12-26 2020-05-26 广东飞企互联科技股份有限公司 Method and system for realizing electronic file red cover according to red cover template
CN113095056B (en) * 2021-03-17 2024-04-12 阿里巴巴创新公司 Generation method, processing method, device, electronic equipment and medium
CN112891949A (en) * 2021-04-07 2021-06-04 网易(杭州)网络有限公司 Method and device for realizing label interface
CN115186643A (en) * 2022-07-21 2022-10-14 平安科技(深圳)有限公司 Self-defined configuration method, device, equipment and storage medium of sign-up template

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101908044A (en) * 2009-06-04 2010-12-08 上海灵慧软件技术有限公司 Dynamically adjustable template and using method thereof
CN104182427A (en) * 2013-05-28 2014-12-03 纬创资通股份有限公司 Electronic document production system and electronic document production method thereof
US20160196248A1 (en) * 2015-01-05 2016-07-07 Musaed Ruzeg N. ALRAHAILI System, apparatus, method and computer program product to set up a request for, generate, receive and send official communications
CN106933581A (en) * 2017-03-02 2017-07-07 北京北方华创微电子装备有限公司 A kind of semiconductor software template system and its method for designing

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3922372B2 (en) * 2003-07-28 2007-05-30 インターナショナル・ビジネス・マシーンズ・コーポレーション Structured document processing apparatus and program
CN102103591B (en) * 2009-12-18 2014-04-16 北大方正集团有限公司 Method and system for realizing automatic update of document contents by using structural data
CN103678268B (en) * 2012-09-19 2016-08-31 北京大学 Official document automatic composing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308490A (en) * 2008-04-28 2008-11-19 北京航空航天大学 Dynamic report generation method and platform
CN101908044A (en) * 2009-06-04 2010-12-08 上海灵慧软件技术有限公司 Dynamically adjustable template and using method thereof
CN104182427A (en) * 2013-05-28 2014-12-03 纬创资通股份有限公司 Electronic document production system and electronic document production method thereof
US20160196248A1 (en) * 2015-01-05 2016-07-07 Musaed Ruzeg N. ALRAHAILI System, apparatus, method and computer program product to set up a request for, generate, receive and send official communications
CN106933581A (en) * 2017-03-02 2017-07-07 北京北方华创微电子装备有限公司 A kind of semiconductor software template system and its method for designing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Format Requirements of Writing Red Tape and Official Documents", SANMAO HUMAN RESOURCES NETWORK, 6 March 2013 (2013-03-06), pages 1 - 3, Retrieved from the Internet <URL:https://www.hrloo.com/rz/80732.html> [retrieved on 20180730] *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113822025A (en) * 2021-11-25 2021-12-21 深圳市明源云链互联网科技有限公司 Office file automatic generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108241595A (en) 2018-07-03

Similar Documents

Publication Publication Date Title
WO2019095671A1 (en) Method for making red heading template of red heading file, application server, and computer storage medium
US11727206B2 (en) Systems and methods for applying layout to documents
WO2019095424A1 (en) Data acquisition method and device, storage medium and terminal
CN104239284A (en) Method and device for automatic image-text composition
JPWO2008066142A1 (en) Form creation system, network system using the same, and form creation method.
CN109977088A (en) A kind of method that preset format file is converted to OFD format
CN110543303A (en) Visual business platform
WO2013110286A1 (en) Paragraph property detection and style reconstruction engine
CN103136184A (en) Automatic typesetting method and automatic typesetting device
CN111061475A (en) Software code generation method and device, computer equipment and storage medium
CN104461519A (en) Method for dynamically producing flow chart and controlling authority
CN104063365A (en) Method for inserting object in PDF document
CN105589842A (en) Typesetting method and device for digital publications
CN103279457A (en) Method and device for generating diagram based on Excel
CN106407172A (en) XML (Extensible Markup Language)-based report generating method
US20140359432A1 (en) Electronic document production system and electronic document production method thereof
CN108053459B (en) Signature file synthesis method, application server and computer readable storage medium
CN106021359A (en) CAD file modification method and device
CN117522094A (en) Seal management method, platform, electronic equipment and storage medium
CN101436309B (en) Method and apparatus for modifying formula operator
US20140198111A1 (en) Method and system for preserving a graphics file
WO2019085354A1 (en) Excel system interface-based database linkage method, electronic device, and storage medium
CN112363698B (en) Method, device, electronic equipment and medium for constructing web page in visualization mode
CN113050934B (en) Form driving intelligent development method and device and storage medium
CN114297994A (en) Method, system, device and storage medium for generating parameterized report

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18878701

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 18/08/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18878701

Country of ref document: EP

Kind code of ref document: A1