CN113076716A - Typesetting method and device for yearbook - Google Patents

Typesetting method and device for yearbook Download PDF

Info

Publication number
CN113076716A
CN113076716A CN202110411260.8A CN202110411260A CN113076716A CN 113076716 A CN113076716 A CN 113076716A CN 202110411260 A CN202110411260 A CN 202110411260A CN 113076716 A CN113076716 A CN 113076716A
Authority
CN
China
Prior art keywords
yearbook
setting
user
page
operation request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110411260.8A
Other languages
Chinese (zh)
Inventor
孟正江
黄浩斌
吴雅楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Hongcheng Computer Systems Co Ltd
Original Assignee
Zhejiang Hongcheng Computer Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Hongcheng Computer Systems Co Ltd filed Critical Zhejiang Hongcheng Computer Systems Co Ltd
Priority to CN202110411260.8A priority Critical patent/CN113076716A/en
Publication of CN113076716A publication Critical patent/CN113076716A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a typesetting method and a typesetting device for a yearbook, wherein the method comprises the following steps: receiving basic information of a first yearbook input by a user, wherein the basic information indicates an initial format of a page of the first yearbook; generating the first yearbook on a first user interface according to the basic information of the first yearbook and the content data of the first yearbook; receiving a first operation request triggered by clicking a first control on the first user interface by the user, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls; and performing corresponding layout setting on the first yearbook through an operation request triggered by the layout setting controls clicked by the user on the second user interface. Compared with the prior art, the method and the device have the advantage that the yearbook making efficiency is improved by the mode of typesetting the yearbook in the webpage.

Description

Typesetting method and device for yearbook
Technical Field
The invention relates to the technical field of yearbook making, in particular to a typesetting method and a typesetting device for a yearbook.
Background
The yearbook is a data-based tool book which describes the movement and development status of the annual object comprehensively, systematically and accurately as main contents. And compiling important times, documents and statistics in one year and compiling tool books continuously published by the year.
At present, the mode of making the yearbook for the staff is to collect the data uploaded from each place, then to manually process and check the data therein, and then to typeset and print by the printing place.
However, the data collected in the conventional method is mainly in the form of tables, and usually hundreds or thousands of tables need to be processed and verified, so the verification process of the data is complicated, and the yearbook making efficiency is low. Therefore, the prior technical scheme has the problem of low manufacture efficiency of the yearbook.
Disclosure of Invention
The embodiment of the application provides a typesetting method and a typesetting device for a yearbook, and aims to solve the problem that the manufacturing efficiency of the yearbook is low in the prior art.
A first aspect of the present application provides a method for typesetting a yearbook, the method including:
receiving basic information of a first yearbook input by a user, wherein the basic information indicates an initial format of a page of the first yearbook;
generating the first yearbook on a first user interface according to the basic information of the first yearbook and the content data of the first yearbook;
receiving a first operation request triggered by clicking a first control on the first user interface by the user, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls;
and performing corresponding layout setting on the first yearbook through an operation request triggered by the layout setting controls clicked by the user on the second user interface.
In an optional implementation manner, the plurality of layout setting controls include a second control, the second control is used for performing global property editing on the first yearbook, and the operation request triggered by the plurality of layout setting controls clicked by the user on the second user interface by the user performs corresponding layout setting on the first yearbook, including:
receiving a second operation request triggered by the user through clicking the second control on the second user interface, wherein the second operation request is used for starting a global property editing floating window;
receiving global attribute information input by the user in the global attribute editing floating window, wherein the global attribute information comprises font information and page information;
setting a font of the content data of the first yearbook according to the font information;
and modifying the initial format of the page of the first yearbook according to the page information.
In an optional implementation manner, the multiple layout setting controls further include a third control, the third control is configured to perform chapter setting on the target report of the first yearbook, and the corresponding layout setting on the first yearbook is performed through an operation request triggered by the multiple layout setting controls clicked by the user on the second user interface, and includes:
receiving a third operation request triggered by the user through clicking the third control element on the second user interface, wherein the third operation request is used for starting a chapter setting suspension window;
receiving chapter setting parameters input by the user in the chapter setting suspension window;
and performing chapter setting on the target report of the first yearbook according to the chapter setting parameters.
In an optional embodiment, the chapter setting parameters include a table font parameter, a table format parameter, and a split parameter;
the chapter setting is carried out on the target report form of the first yearbook according to the chapter setting parameters, and the chapter setting comprises the following steps:
setting the font of the target report of the first yearbook according to the form font parameters;
setting the format of the target report of the first yearbook according to the form format parameters;
and according to the splitting parameter, performing column sequential splitting or butterfly page splitting on the target report of the first yearbook.
In an optional implementation manner, the chapter setting parameters further include a table head row height parameter and a table body row height parameter, and the chapter setting the target report of the first yearbook according to the chapter setting parameters further includes:
judging whether the height of the target report of the first yearbook exceeds the height of the page where the target report of the first yearbook is located according to the table height parameter and the table body height parameter;
and if so, displaying the target report of the first yearbook in a multi-page mode.
In an optional implementation manner, the plurality of layout setting controls further include a fourth control, the fourth control is configured to perform personalized setting on a target area in the first yearbook, and the corresponding layout setting on the first yearbook is performed through an operation request triggered by the plurality of layout setting controls clicked by the user on the second user interface, including:
receiving a fourth operation request triggered by the user through clicking the fourth control on the second user interface, wherein the fourth operation request is used for starting a personalized floating window;
receiving personality setting parameters input by the user in the personality setting suspension window, wherein the personality setting parameters comprise region font parameters, frame parameters and format parameters;
setting the font of the target area of the first yearbook according to the area font parameters;
setting a frame of a target area of the first yearbook according to the frame parameters;
and setting the format of the target area of the first yearbook according to the format parameter.
In an optional implementation manner, after the operation request triggered by the plurality of layout setting controls clicked by the user on the second user interface by the user makes the corresponding layout setting on the first yearbook, the method further includes:
receiving a fifth operation request triggered by dragging the border of the target table of the first yearbook in the second user interface by the user, wherein the fifth operation request is used for adjusting the column width of the border of the target table of the first yearbook.
In an optional implementation manner, after the operation request triggered by the plurality of layout setting controls clicked by the user on the second user interface by the user makes the corresponding layout setting on the first yearbook, the method further includes:
receiving a sixth operation request triggered by clicking a fifth control on a target page of the first yearbook by the user, wherein the sixth operation request is used for performing single-page attribute setting on the target page of the first yearbook;
receiving a single-page attribute parameter input by a user;
and setting the margin and the title of the target page of the first yearbook according to the single-page attribute parameters.
A second aspect of the present application provides a composition apparatus of a yearbook, the apparatus comprising:
a first receiving module, configured to receive basic information of a first yearbook input by a user, where the basic information indicates an initial format of a page of the first yearbook;
the processing module is used for generating the first yearbook in a first user interface according to the basic information of the first yearbook and the content data of the first yearbook;
a second receiving module, configured to receive a first operation request triggered by the user clicking a first control on the first user interface, where the first operation request is used to start a second user interface, and the second user interface includes multiple format setting controls;
the processing module is further configured to perform corresponding layout setting on the first yearbook according to an operation request triggered by the plurality of layout setting controls clicked by the user on the second user interface.
In an alternative embodiment, the plurality of layout setting controls includes a second control for global property editing of the first yearbook, the apparatus further comprising:
a third receiving module, configured to receive a second operation request triggered by the user clicking the second control on the second user interface, where the second operation request is used to start a global property editing floating window; receiving global attribute information input by the user in the global attribute editing floating window, wherein the global attribute information comprises font information and page information;
the processing module is further configured to set a font of the content data of the first yearbook according to the font information; and modifying the initial format of the page of the first yearbook according to the page information.
In an optional implementation manner, the multiple format setting controls further include a third control, the third control is configured to perform chapter setting on the target report of the first yearbook, the third receiving module is further configured to receive a third operation request triggered by the user by clicking the third control on the second user interface, and the third operation request is used to start a chapter setting floating window; receiving chapter setting parameters input by the user in the chapter setting suspension window;
the processing module is further used for performing chapter setting on the target report of the first yearbook according to the chapter setting parameters.
In an optional embodiment, the chapter setting parameters include a table font parameter, a table format parameter, and a split parameter; the processing module is specifically configured to set a font of the target report of the first yearbook according to the form font parameter; setting the format of the target report of the first yearbook according to the form format parameters; and according to the splitting parameter, performing column sequential splitting or butterfly page splitting on the target report of the first yearbook.
In an optional implementation manner, the chapter setting parameters further include a table head height parameter and a table body height parameter, and the processing module is further configured to determine, according to the table head height parameter and the table body height parameter, whether the height of the target report of the first yearbook exceeds the height of a page where the target report of the first yearbook is located; and if so, displaying the target report of the first yearbook in a multi-page mode.
In an optional implementation manner, the plurality of format setting controls further include a fourth control, the fourth control is configured to perform personalized setting on a target area in the first yearbook, the third receiving module is further configured to receive a fourth operation request triggered by the user by clicking the fourth control on the second user interface, and the fourth operation request is used to start a personalized floating window; receiving personality setting parameters input by the user in the personality setting suspension window, wherein the personality setting parameters comprise region font parameters, frame parameters and format parameters;
the processing module is further configured to set a font of a target area of the first yearbook according to the area font parameter; setting a frame of a target area of the first yearbook according to the frame parameters; and setting the format of the target area of the first yearbook according to the format parameter.
In an optional implementation manner, the third receiving module is further configured to receive a fifth operation request triggered by dragging a border of the target table of the first yearbook in the second user interface by the user, where the fifth operation request is used to adjust a column width where the border of the target table of the first yearbook is located.
In an optional implementation manner, the third receiving module is further configured to receive a sixth operation request triggered by the user by clicking a fifth control on the target page of the first yearbook, where the sixth operation request is used to perform single-page attribute setting on the target page of the first yearbook;
the processing module is further used for receiving the single-page attribute parameters input by the user; and setting the margin and the title of the target page of the first yearbook according to the single-page attribute parameters.
A third aspect of the present application provides an electronic device comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to invoke and execute the computer program stored in the memory to perform the method according to the first aspect.
A fourth aspect of the present application provides a chip comprising: a processor for calling and running the computer program from the memory so that the device on which the chip is installed performs the method according to the first aspect.
A fifth aspect of the present application provides a computer-readable storage medium for storing a computer program for causing a computer to perform the method according to the first aspect.
A sixth aspect of the application provides a computer program product comprising computer program information to make a computer execute the method according to the first aspect.
A seventh aspect of the present application provides a computer program product comprising a computer program for causing a computer to perform the method according to the first aspect.
The method and the device for typesetting the yearbook provided by the embodiment of the application firstly receive basic information of a first yearbook input by a user, wherein the basic information indicates an initial format of a page of the first yearbook; then generating a first yearbook in a first user interface according to the basic information of the first yearbook and the content data of the first yearbook; then receiving a first operation request triggered by a user by clicking a first control on a first user interface, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls; and finally, carrying out corresponding layout setting on the first yearbook through an operation request triggered by a plurality of layout setting controls clicked by a user on a second user interface. Compared with the prior art, the method and the device have the advantages that the format setting is carried out on the first yearbook, so that the typesetting requirement for manufacturing the yearbook is met, and the manufacturing efficiency of the yearbook is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings needed to be used in the description of the embodiments or the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a schematic view of an application scenario of a composition method of a yearbook according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for typesetting a yearbook according to an embodiment of the present disclosure;
FIG. 3a is a schematic interface diagram illustrating an initial format setting of a page of a first yearbook according to an embodiment of the present disclosure;
FIG. 3b is a schematic diagram of an interface for setting an initial format of a page of a first yearbook according to an embodiment of the present disclosure;
FIG. 4a is a schematic interface diagram of a yearbook management module according to an embodiment of the present disclosure;
FIG. 4b is a schematic diagram of an interface for setting a report style according to an embodiment of the present application;
fig. 4c is a schematic interface diagram of report management according to an embodiment of the present application;
FIG. 4d is a schematic diagram of an interface for viewing a history version according to an embodiment of the present application;
fig. 4e is an interface schematic diagram of an english report provided in the embodiment of the present application;
FIG. 4f is a schematic view of another report management interface according to an embodiment of the present disclosure;
FIG. 4g is a schematic diagram of an interface for creating new options according to an embodiment of the present disclosure;
FIG. 5a is a schematic interface diagram of a yearbook data confirmation module according to an embodiment of the present disclosure;
FIG. 5b is a schematic view of an interface of a report to be confirmed according to an embodiment of the present application;
FIG. 5c is a schematic view of an interface for reconfirming a report according to an embodiment of the present disclosure;
FIG. 5d is a schematic view of a comprehensive validation interface provided in an embodiment of the present application;
FIG. 5e is a schematic view of an interface for checking the reason for return according to an embodiment of the present disclosure;
FIG. 5f is a schematic view of an inspection interface provided in an embodiment of the present application;
fig. 5g is a schematic view of an interface for failing to pass report auditing according to an embodiment of the present application;
FIG. 5h is a schematic view of a validated interface provided in an embodiment of the present application;
fig. 5i is a schematic view of an interface for data viewing provided in an embodiment of the present application;
fig. 5j is a schematic diagram of an interface for exporting a report according to an embodiment of the present application;
FIG. 6a is a schematic interface diagram of a first user interface provided in an embodiment of the present application;
FIG. 6b is a schematic interface diagram of a yearbook making interface according to an embodiment of the present disclosure;
FIG. 6c is a schematic view of a space management interface according to an embodiment of the present application;
FIG. 6d is a schematic view of an interface for a new space setting according to an embodiment of the present application;
fig. 6e is a schematic view of an interface for setting a new directory according to an embodiment of the present application;
fig. 7a is a schematic interface diagram of global property editing according to an embodiment of the present application;
FIG. 7b is a schematic diagram of an interface for editing global properties according to an embodiment of the present application;
fig. 7c is a schematic interface diagram of a chapter setting according to an embodiment of the present application;
FIG. 7d is a schematic diagram of an interface for splitting a butterfly page according to an embodiment of the present disclosure;
fig. 7e is a schematic interface diagram of a personality setting according to an embodiment of the present application;
FIG. 8a is a schematic interface diagram of a column width adjustment according to an embodiment of the present disclosure;
FIG. 8b is a schematic diagram of an interface for column width adjustment according to an embodiment of the present disclosure;
FIG. 9a is a schematic interface diagram of a single-page property setup according to an embodiment of the present disclosure;
FIG. 9b is a schematic interface diagram illustrating a margin setting according to an embodiment of the present disclosure;
FIG. 9c is a schematic diagram of an interface for setting page titles according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an interface for a merge table arrangement according to an embodiment of the present application;
fig. 11a is a schematic view of an interface for report verification according to an embodiment of the present application;
FIG. 11b is a schematic diagram of an interface for viewing report verification results according to an embodiment of the present application;
FIG. 12a is a schematic diagram of an interface for generating a directory according to an embodiment of the present application;
fig. 12b is a schematic interface diagram of a serial number generation according to an embodiment of the present disclosure;
FIG. 12c is a schematic view of an interface for yearbook export according to an embodiment of the present disclosure;
fig. 13 is a schematic flowchart of another method for typesetting a yearbook according to the embodiment of the present application;
FIG. 14 is a flowchart illustrating a typesetting method for another yearbook according to an embodiment of the present disclosure;
FIG. 15 is a schematic structural diagram of a typesetting device for a yearbook provided by the present application;
fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The yearbook is a data-based tool book which describes the movement and development status of the annual object comprehensively, systematically and accurately as main contents. And compiling important times, documents and statistics in one year and compiling tool books continuously published by the year. At present, the mode of making the yearbook for the staff is to collect the data uploaded from each place, then to manually process and check the data therein, and then to typeset and print by the printing place.
However, the data collected in the conventional method is mainly in the form of tables, and usually hundreds or thousands of tables need to be processed and verified, so the verification process of the data is complicated, and the yearbook making efficiency is low. Therefore, the prior technical scheme has the problem of low manufacture efficiency of the yearbook.
In order to solve the above problems, the present application provides a method and an apparatus for typesetting a yearbook, wherein a format of a first yearbook is set to meet the typesetting requirement for manufacturing the yearbook, so that the manufacturing efficiency of the yearbook is improved.
The following explains an application scenario of the present application.
Fig. 1 is a schematic view of an application scenario of a composition method of a yearbook according to an embodiment of the present application. As shown in fig. 1, includes: terminal equipment 001, server 002. When the user needs to make the yearbook, the required layout setting control is clicked on the terminal device 001, the yearbook is typeset, and after the typesetting is completed, the yearbook is sent to the server 002.
The terminal device may be a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a mobile phone (mobile phone), a tablet computer (pad), a wireless terminal in industrial control (industrial control), a wireless terminal in remote operation (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in smart home (smart home), and the like.
In the embodiment of the present application, the apparatus for implementing the function of composition of the yearbook may be a terminal device, or may be an apparatus capable of supporting implementation of the function, for example, a chip system, and the apparatus may be installed in the terminal device. In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices.
It should be noted that the application scenario in the technical solution of the present application may be the scenario in fig. 1, but is not limited to this, and may also be applied to other scenarios that need to be typeset for yearbook.
It can be understood that the above-mentioned typesetting method for the yearbook can be implemented by the typesetting apparatus for the yearbook provided in the embodiment of the present application, and the typesetting apparatus for the yearbook can be part or all of a certain device, for example, the terminal device or a chip of the terminal device.
The following takes a typesetting apparatus integrated with or installed with a yearbook of relevant execution codes as an example, and details the technical solution of the embodiment of the present application with a specific embodiment. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a schematic flowchart of a method for typesetting a yearbook according to an embodiment of the present application, where an execution main body of the embodiment is a terminal device, and relates to a specific process of typesetting the yearbook. As shown in fig. 2, the method includes:
s101, receiving basic information of the first yearbook input by a user, wherein the basic information indicates an initial format of a page of the first yearbook.
Wherein the basic information comprises at least one of the following: the information such as the name of the yearbook, the year, the header, the footer, the margin, the description of the yearbook, the paper, the sequence number rule, the page number display position, the picture of the cover and the like.
The yearbook typesetting method is completed through the yearbook management system, and a user clicks a corresponding format setting control on a user interface of the yearbook management system to set a corresponding format.
The yearbook management system supports functions of data import and collection, data acquisition from an existing comprehensive library, data confirmation, yearbook table typesetting and making, yearbook proofreading, yearbook export and release and the like.
The following describes a case where initial format setting of a page of a first yearbook is performed by first basic information in the embodiment of the present application.
Fig. 3a is an interface schematic diagram of an initial format setting of a page of a first yearbook provided by an embodiment of the present application, and fig. 3b is an interface schematic diagram of another initial format setting of a page of a first yearbook provided by an embodiment of the present application, as shown in fig. 3a, a yearbook management system includes a yearbook list management module, a yearbook data confirmation module, a yearbook composition making module, and a yearbook composition confirmation module, where the initial format setting of the page of the first yearbook is implemented by the yearbook composition making module. The yearbook typesetting and making module comprises a yearbook making control and a yearbook copying control. As shown in fig. 3b, the user starts the yearbook production floating window by clicking the yearbook production control in fig. 3a, the terminal device receives the basic information of the first yearbook input by the user in the yearbook production floating window, and the setting of the initial format of the page of the first yearbook is realized, wherein the time of the report included in the yearbook is in the set period of the year, and the user clicks to store or cancels to quit the yearbook production floating window after the setting is completed.
The method for acquiring the report required by the yearbook is not limited, illustratively, the yearbook can be formed by collecting professional data and stored in the database of the server, and then the report in the required yearbook is acquired by copying the yearbook required to be typeset; or the report form in the needed yearbook can be obtained by a mode of recombining the existing data in the database of the yearbook management system into the yearbook according to the needs; and the mode of acquiring the report of the needed yearbook can be realized through the yearbook making control of the yearbook typesetting and making module.
Illustratively, the yearbook management module in the yearbook management system is used for managing reports required by yearbook production. The yearbook table management module supports functions of period management, editing, copying, historical version checking, attribute setting, yearbook report query, library table copy and deletion of the yearbook report.
The following describes the functions of the yearbook management module in the embodiment of the present application.
Fig. 4a is an interface schematic diagram of a yearbook chart management module according to an embodiment of the present application, and as shown in fig. 4a, the yearbook chart management module includes functions of addition, deletion, batch copy, department search, and the like. The method comprises the steps that a user starts a newly-added suspended window by clicking a newly-added control, information such as report name, English name, table number, affiliated department, frequency, whether the report is in a spanning period, unit and remark management is input into the newly-added suspended window, terminal equipment performs initial setting on the newly-added report according to the information input by the user to obtain a report sample table, and after the setting is completed, the terminal equipment clicks the next step to quit the newly-added suspended window.
The yearbook list management module can also set report styles, fig. 4b is an interface schematic diagram of report style setting provided by the embodiment of the application, as shown in fig. 4b, a user clicks a report needing report style setting, a report suspension window is started, a report is correspondingly set by clicking report style setting controls on the report suspension window, as shown in fig. 4b, the report style setting controls include an S1 control, an S2 control, an S3 control, an S4 control, an S5 control, an S6 control and the like, and the report suspension window can be set, wherein the S1 control is used for setting display decimal place, the S2 is used for setting an alignment mode of the controls, the S3 control is used for setting a merging cell, the S4 control is used for setting read-only, and the S5 control is used for setting a fixed form header and the S6 control is used for setting units, remarks and the like. The user can set by clicking the corresponding cell, and can also set the report integrally. The floating window corresponding to the starting control is a blank window, and all setting parameters need to be input by a user; the basic control provides a basic table setting condition, and a user can modify the content and format of the cells according to specific report content; the template control is a report template which is already in the yearbook management system and can be directly used by a user. The unit line and the remark line are marked by clicking the S6 control.
The yearbook list management module can also manage reports, fig. 4c is an interface schematic diagram of report management provided in the embodiment of the present application, and as shown in fig. 4c, after a user selects a report, the user can delete, copy, edit, view a historical version, set, view a chinese report and view an english report, and the like, and can select a plurality of reports to copy in batches. As shown in fig. 4c, when a new sample is added, the user copies the selected sample by clicking the copy control, and can quickly establish a new report by copying a report with a similar format, thereby improving the efficiency of report making. Fig. 4d is an interface schematic diagram for viewing a history version according to the embodiment of the present application, as shown in fig. 4d, a user may view the history version of a selected report, each version is presented in a time sequence, a table sample of a latest version is arranged at the top, and it is supported that any history version is replaced with the latest table sample, so that maintenance of the history table sample is facilitated. Fig. 4e is an interface schematic diagram of an english report provided in the embodiment of the present application, further, the embodiment of the present application may further produce a chinese-english mixed report, and add corresponding english columns on the basis of the chinese report, for example, add a corresponding chinese column in front of column a in fig. 4e, and so on, and correspondingly add chinese parts in the heading row and the remark row. Fig. 4f is a schematic view of another report management interface provided in the embodiment of the present application, and as shown in fig. 4f, the interface includes functions of creating a new category, refreshing a latest template, and enabling and disabling. After the new form is created, a new issue is supported, and fig. 4g is an interface schematic diagram of the new issue provided in the embodiment of the present application, and as shown in fig. 4g, the issue content includes a year of report, a start time of report, and an end time of report, and after the issue is created, the issue is automatically synchronized in the yearbook data confirmation. The updated template in fig. 4f supports editing and modifying report forms, and if the newly created version is a new template, the template needs to be updated for the relevant period. The report is enabled/disabled, the report is disabled and enabled, the newly-built report is automatically enabled, and the disabled report can be enabled again.
On the basis of the embodiment, each professional user can perform reconfirmation of data confirmation and data which cannot be verified in the yearbook data confirmation module, the leader can perform secondary confirmation, and the confirmed data can return to reconfirmation after passing and failing operations are performed.
The following describes the functions of the yearbook data confirmation module provided in the embodiment of the present application.
Fig. 5a is a schematic interface diagram of a yearbook data confirmation module according to an embodiment of the present application, and as shown in fig. 5a, the yearbook data confirmation module includes functions of data confirmation, professional to-be-confirmed, comprehensive confirmation, confirmed, and the like. As shown in fig. 5a, the professional to-be-confirmed support shows the current state of the professional and department report for the logged-on user, and the logged-on user can confirm or check the corresponding report through the search function. To be confirmed in fig. 5a, a report that is not confirmed by the user is displayed. Fig. 5b is an interface schematic diagram of a report to be confirmed according to the embodiment of the present application, and as shown in fig. 5b, a user can click "to be confirmed" to confirm data. If the table sample is generated by copying from the database, the data can be automatically acquired by clicking the 'acquired data'; otherwise, the data can be manually filled in for data confirmation. The reconfirmation in fig. 5a shows the report that the professional confirmed report fails and the report that the secondary confirmation fails. Fig. 5c is a schematic view of an interface for reconfirming a report according to an embodiment of the present application, and as shown in fig. 5c, a user may click "reconfirm" to perform data reconfiguration and click "return reason" to view the return comments. If the report is generated by copying from the database, the data can be automatically acquired by clicking the 'acquired data'; otherwise, the data can be manually filled in for data confirmation. Fig. 5d is an interface schematic diagram of comprehensive confirmation provided in the embodiment of the present application, as shown in fig. 5d, the comprehensive confirmation supports secondary confirmation on professional confirmed data, and a user clicks "to-be-confirmed", may perform operations of checking, failing, and passing of a reason for return, and checks the reason for return, and supports querying an opinion that was once confirmed to fail, and as shown in fig. 5e, a user clicks "reason for return" and may check an opinion that does not pass back. The check supports data verification through setting an auditing formula in the report. Fig. 5f is a schematic view of an interface for checking provided in the embodiment of the present application, and as shown in fig. 5f, a user "checks" that data in a report can be checked to see whether the data in the report is correct through a set audit formula. If the report fails, the report is returned to the profession for reconfirmation, and a related audit suggestion can be input, fig. 5g is an interface schematic diagram of the report audit failing provided by the embodiment of the application, and as shown in fig. 5g, after the user clicks "fail", the terminal device starts the non-pass floating window, and the user inputs the reason for failing to pass through the non-pass floating window. And after the data are confirmed to be correct, the data can be clicked to pass, the data enter a confirmed state, and the yearbook can be typeset and made. After confirmation, report data confirmed through profession and leadership is supported to be inquired, data checking, report exporting and report returning reconfirming can be performed, fig. 5h is a confirmed interface schematic diagram provided by the embodiment of the application, as shown in fig. 5h, functions including inquiring, exporting lists and the like are included, data checking is performed, a user clicks a 'confirmed' button, a report can be opened for data checking, fig. 5i is an interface schematic diagram for data checking provided by the embodiment of the application, as shown in fig. 5i, the user can see whether data in the report is correct or not, and if not, the user can click 'returning', and report returning is performed reconfirming. Clicking the 'confirmed' button, clicking the 'return' button, inputting a return reason, and returning the data to the professional to confirm the data again. And 5j, a report export step, in which reports are screened according to information such as period, department, table name and the like, and fig. 5j is an interface schematic diagram of report export provided by the embodiment of the present application, and as shown in fig. 5j, a user clicks an "export" button to generate an export task, and a screening result is exported in a compressed package form, wherein each table generates a table (EXCEL) file. The compressed file generated by the export task may be downloaded in an "export list" or the export file may be deleted.
S102, generating the first yearbook in the first user interface according to the basic information of the first yearbook and the content data of the first yearbook.
The content data of the first yearbook is the data of the report in the first yearbook, and the obtaining mode of the data of the report in the first yearbook is not limited in the application.
Specifically, in the above embodiment, after the page of the first yearbook is set in the initial format according to the basic information, the report and the data of the report required for making the first yearbook are obtained, so as to obtain the first yearbook.
S103, receiving a first operation request triggered by a user clicking a first control on a first user interface, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls.
After the first yearbook is obtained through the steps, the first yearbook can be checked, made, edited and exported by the yearbook typesetting and making module of the yearbook management system.
Fig. 6a is an interface schematic diagram of a first user interface provided in this embodiment of the present application, as shown in fig. 6a, the first control is a production control, and a user clicks the "production" control, and a second user interface, that is, a yearbook production interface, is provided in fig. 6b, as shown in fig. 6b, the yearbook production interface includes a plurality of format setting controls, and a corresponding format setting can be performed on the first yearbook by clicking the format setting controls. For example, fig. 6c is a schematic view of an interface for space management provided in an embodiment of the present application, and as shown in fig. 6c, a user may right click any one of the items in the left content column in the diagram to perform space management on a page where the user is located, where the space management includes a new addition setting, a deletion setting, and an editing setting. Wherein, the user clicks the newly added setting control to perform the newly added space setting and the newly added catalog setting, fig. 6d is an interface schematic diagram of a newly added space setting provided in the embodiment of the present application, as shown in fig. 6d, the user clicks the newly added setting control by right click to start the newly added setting interface, the newly added setting interface includes a chinese name, an english name, a node type and a node position, the corresponding setting is performed by receiving the node type input by the user, if the node type is the space, the newly added space setting interface is entered, the chinese name, the english name and the node position of the newly added space are set, the node position includes a previous space, a sub space and a next space, if the node position input by the user is the previous space, a new space is added in front of the current space, if the node position input by the user is the sub space, a new space is added in the sub space in front of the current space, if the node position input by the user is the next space, adding a new space after the current space; in addition, if the node type input by the user is received is a directory, a newly-added directory setting interface is entered, and fig. 6e is an interface schematic diagram of the newly-added directory setting provided in the embodiment of the present application, as shown in fig. 6e, the user sets a chinese name, an english name, a node position, whether to occupy a page, whether to display a page number, whether to display in a directory, and a page type of the newly-added directory in the newly-added directory setting interface, where the node position includes a previous directory, a subdirectory, and a subsequent directory, if the node position input by the user is the previous directory, a new directory is added before the current directory, if the node position input by the user is the subdirectory, a new directory is added after the current directory; the page type comprises an image-text page, a report page and a blank page, and if the image-text page is selected, an image and characters can be inserted below the page and edited; if the report page is selected, the report department, the proofreading department and the department for confirming the typesetting after the typesetting is issued can be set, and the proofreading department defaults to be the department to which the report belongs.
And S104, performing corresponding layout setting on the first yearbook through operation requests triggered by the plurality of layout setting controls clicked by the user on the second user interface.
The format setting control comprises but is not limited to a global attribute editing control, a report issuing verification control, a report verification condition control, a chapter setting control, a personality setting control, a sequence number generating control, a catalog generating control, a preview control, a refreshing control and a saving control.
Optionally, the plurality of format setting controls include a second control, and the second control is used for performing global property editing on the first yearbook. The terminal equipment receives a second operation request triggered by a user through clicking a second control on a second user interface, wherein the second operation request is used for starting a global property editing floating window; receiving global attribute information input by a user in a global attribute editing floating window, wherein the global attribute information comprises font information and page information; setting a font of the content data of the first yearbook according to the font information; and modifying the initial format of the page of the first yearbook according to the page information.
The font information includes but is not limited to the font, the font size, the alignment mode, whether the font is bold, whether the font is displayed, whether the font occupies the space, the font of the unit line and the table, the font size, whether the font is bold; the page information includes a header, a footer, paper, a margin, a sequence number rule, a page number position, and the like.
The yearbook typesetting and making module supports editing of the attributes of the existing yearbook through the global attribute editing and setting control. Fig. 7a is an interface schematic diagram for global property editing provided in an embodiment of the present application, and fig. 7b is another interface schematic diagram for global property editing provided in an embodiment of the present application, where a user starts a global property editing floating window by clicking a global property editing control in fig. 6b, and as shown in fig. 7a and fig. 7b, a terminal device receives font information and page information input by the user in the global property editing floating window to perform global property setting on a yearbook.
Optionally, the plurality of format setting controls further include a third control, and the third control is used for performing chapter setting on the target report of the first yearbook. The terminal equipment receives a third operation request triggered by a user clicking a third control piece on a second user interface, wherein the third operation request is used for starting a chapter setting suspension window; receiving chapter setting parameters input by a user in a chapter setting suspension window; and performing chapter setting on the target report of the first yearbook according to the chapter setting parameters.
The chapter setting parameters comprise form font parameters, form format parameters and splitting parameters; the terminal equipment sets the font of the target report of the first yearbook according to the form font parameters; setting the format of a target report of the first yearbook according to the table format parameters; and according to the splitting parameters, column continuation splitting or butterfly page splitting is carried out on the target report of the first yearbook.
Fig. 7c is an interface schematic diagram of chapter setting provided in an embodiment of the application, and as shown in fig. 7c, a user starts a chapter setting suspension window by clicking a chapter setting control, and a terminal device performs chapter setting according to chapter setting parameters input by the user in the chapter setting suspension window. As can be seen from fig. 7c, the form font parameters include a form font and a form font size, the form format parameters include a header height, a body height, a content margin, a subdivision position, remark scaling and a theme, the terminal device may perform corresponding setting according to the type of the triggered synchronization height, illustratively, if the type of the synchronization height input by the user is a synchronization header, the header height of the report in the first yearbook is set as the header height input by the user, if the type of the synchronization height input by the user is a synchronization body, the body height of the report in the first yearbook is set as the body height input by the user, and if the type of the synchronization height input by the user is a synchronization body cancellation, the synchronization body may be cancelled.
The splitting parameter comprises a splitting type and a splitting column. The split types include column sequential split and butterfly page split. Specifically, if the report in the first yearbook is large, column continuation splitting or butterfly page splitting can be set. The column sequential splitting is to split the report with more columns into a plurality of sequential tables according to the columns. As shown in fig. 7c, the split type selects column continuation, the column number at the pagination is input at the split column, and the "confirm split" is clicked to split. Fig. 7d is an interface schematic diagram of a butterfly page splitting according to an embodiment of the present application, where the butterfly page splitting is to beautify a typesetting effect, and a report with more guest column indexes may be set as a butterfly page. As shown in FIG. 7d, the user clicks on the butterfly page, enters the number of columns at the pagination at the split column, and clicks "confirm split".
Furthermore, the terminal equipment can judge whether the content of the target report exceeds the range of one page or not according to the head height and the body height input by the user, if so, the part of the target report exceeding one page is displayed on the next page, and therefore according to the continuous setting of the head height and the body height, the user can adjust the height to enable the content to be displayed in several pages on average approximately.
Optionally, the terminal device judges whether the height of the target report of the first yearbook exceeds the height of the page where the target report of the first yearbook is located according to the table height parameter and the table body height parameter; if yes, the target report of the first yearbook is displayed in a plurality of pages.
The following provides a method by which successive settings can be made. The method comprises the steps that terminal equipment obtains a header height, a body height and a data pattern of a target report, a page is rendered according to page data, when the height of the data exceeds the height of a piece of paper, a segmentation point is calculated according to the height of content, the data is segmented according to the segmentation point to obtain two pieces of data, page rendering is carried out according to the two pieces of data and the data pattern, when the height of a second piece of data exceeds the height of a piece of paper, the segmentation point is calculated again, the page is rendered according to the segmented data until the calculated height of the data does not exceed the height of a piece of paper, and page rendering is completed.
Further, a method for column sequential splitting and butterfly page splitting is provided below. The terminal equipment acquires the height of a header and the height of a body of the report and corresponding styles, and renders a page according to page data; the method comprises the steps of obtaining n split columns input by a user, having n-1 split points, splitting data to generate n data, wherein n is the number of the split columns input by the user, the n data can be regarded as n row sequential components, the 2 nd component can start to bring a main column of the first component, the n row sequential components are processed according to processing logic set by row sequential, if the height of data content of each row sequential page number is not higher than the height of one page of paper, direct rendering is carried out, and if the height of the data content is higher than the height of one page of paper, row sequential logic for sequentially processing the page to multiple pages is carried out.
If n butterfly pages exist, the terminal device obtains the head height and body height of a report and corresponding styles, renders the page according to page data, obtains n split columns input by a user, has n-1 split points, and splits the data to generate n data, wherein the n data can be regarded as n line sequential components, wherein the 2 nd component does not carry the main column of the first component, and the n line sequential components are processed according to the processing logic set by line sequential, wherein if the height of the data content of each line sequential page number is not higher than the height of one page, the line sequential page is directly rendered, and if the height of the data content of each line sequential page number is higher than the height of one page, the line sequential page is processed to the line logic of multiple pages. The butterfly page is in a special column sequence, after the butterfly page data is divided into n components, the column sequence from the 2 nd to the nth can bring the main column, but the butterfly page can not; the column-sequential page number calculation rules are different from the butterfly page calculation rules.
The generation logic for the row next page number, column next page number, and butterfly page number will be described below.
Line sequential page number generation logic: acquiring the serial number of the current report node in the left tree, and calculating the page number of all previous nodes of the node of the left tree, such as page a; and calculating the number of the divided data according to the height of the table head and the table body and the height of the page of each page, for example, b parts, wherein the page number of each page of the b parts can be calculated according to the sequence number of each page in the b parts when each page is rendered. Illustratively, the page number of the nth page is equal to the page number of all nodes before the node plus the page number of the page in b shares plus 1, for example, the page number of 1 st share is equal to a +0+ 1.
Column sequential page number generation logic: the method comprises the steps of obtaining the serial number of a current report node in a left tree, calculating the page number of all previous nodes of the node in the left tree, such as a page, dividing the page into n parts of row continuous data according to n-1 division points which are column continuous, judging the number of the divided data according to the n parts of row continuous data, such as b parts, and calculating the page number. If there are n parts of row sequential data, each row sequential data is divided into b parts, the page number of all the nodes before the node is a page, then the calculation formula of the n part of b page number is: a + bx (n-1) + (b-1) +1, wherein b-1 is the number in b parts.
Butterfly page number generation logic: the terminal equipment acquires the serial number of the current report node in the left tree, and calculates the page number of all previous nodes of the node of the left tree, such as page a; dividing the data into n parts of row sequential data according to n-1 division points of the row sequential data; judging the number of the data to be cut into parts, such as b parts, according to the n parts of row sequential data, wherein the b parts are uniform values for the n parts of row sequential data; and judging the odd number and the even number of the a, wherein the odd number and the even number of the a have different calculation modes, and then performing page number calculation. Illustratively, a is an odd number, n pieces of line sequential data are divided according to the dividing point, each piece of line sequential data is divided into b pieces, and the 1 st page number of the 1 st piece of line sequential data: a + nx0 +0+1 ═ a + 1; page number b of 1 st line sequential data: a + nx (b-1) +0+1 ═ a + nb-n + 1; page number 1 of row sequential data No. 2: a + nx0 +1+1 ═ a + 2; page number b of row sequential data 2: a + nx (b-) +1+1 ═ a + nb-n + 2; page number 1 of nth row sequential data: a + nx0 + (n-1) +1 ═ a + n; page number b of nth row sequential data: a + nx (b-1) + (n-1) +1 ═ a + nb; a is even number, n parts of line sequential data are divided according to the division point, each line sequential data is divided into b parts, the 1 st page number of the 1 st line sequential data: a + nx0 +0+2 ═ a + 2; page number b of 1 st line sequential data: a + nx (b-1) +0+2 ═ a + nb-n + 2; page number 1 of nth row sequential data: a + nx0 + (n-1) +2 ═ a + n + 1; page number b of nth row sequential data: a + nx (b-1) + (n-1) +2 ═ a + nb + 1.
Optionally, the plurality of format setting controls further include a fourth control, and the fourth control is used for performing personalized setting on the target area in the first yearbook. The terminal equipment receives a fourth operation request triggered by a user clicking a fourth control on a second user interface, wherein the fourth operation request is used for starting a personalized floating window; receiving personality setting parameters input by a user in a personality setting suspension window, wherein the personality setting parameters comprise region font parameters, frame parameters and format parameters; setting the font of the target area of the first yearbook according to the area font parameters; setting a frame of a target area of the first yearbook according to the frame parameters; the format of the target area of the first yearbook is set according to the format parameters.
Fig. 7e is an interface schematic diagram of a personality setting provided in the embodiment of the application, and as shown in fig. 7e, after the user selects the target area in the first yearbook, the personality setting suspension window is started by clicking the fourth control, the terminal device receives the personality setting parameters input by the user in the personality setting suspension window, where the personality setting parameters include area font parameters, border parameters, and format parameters, and the area font parameters include a selection area font, a selection area font size, a font thickness, a font style, a font color, a font indentation, and a centering manner; the frame parameters comprise frame settings; the format parameters comprise a content background, a left margin, a right margin, a single line height, font scaling and whether line feed is performed, after the user inputs the personality setting parameters, clicking confirmation is performed, and then the terminal equipment performs personality setting on the target area of the first yearbook according to the personality setting parameters input by the user.
Further, the terminal device may further perform column width adjustment on the table of the report in the first yearbook at the second user interface, for example, the terminal device receives a fifth operation request triggered by dragging a frame of the target table of the first yearbook at the second user interface by the user, where the fifth operation request is used to adjust the column width where the frame of the target table of the first yearbook is located. Fig. 8a is a schematic interface diagram of a column width adjustment provided in an embodiment of the present application, and as shown in fig. 8a, a user adjusts a column width of a column by dragging a border of any column in a target table of a first yearbook. Fig. 8b is a schematic view of another column width adjustment interface provided in the embodiment of the present application, and as shown in fig. 8b, a user may call a scale to assist in adjusting the column width on a composition page of the second user interface. In addition, the user can edit the content in the target location by double-clicking the target location in the first yearbook, the target location includes a title line, a remark line and a unit line, and for example, the position of the 'double-click editable' in fig. 8b, the position of the title 'social security main indicator', the position of the cell in the table, and the like can be edited by double-clicking.
In addition, the terminal device may further perform single-page attribute setting on the page in the first yearbook, and illustratively, the terminal device receives a sixth operation request triggered by the user by clicking a fifth control on the target page of the first yearbook, where the sixth operation request is used to perform single-page attribute setting on the target page of the first yearbook; the terminal equipment starts a single-page attribute setting suspension window according to the sixth operation request, and receives single-page attribute parameters input by a user in the single-page attribute setting suspension window; and setting the margin and the title of the target page of the first yearbook according to the single-page attribute parameters.
Fig. 9a is an interface schematic diagram of a single-page attribute setting provided by an embodiment of the present application, fig. 9b is an interface schematic diagram of a page margin setting provided by an embodiment of the present application, and fig. 9c is a schematic diagram of an interface of a page title setting provided by an embodiment of the present application, as shown in fig. 9a, a user starts a floating window of the single-page attribute setting by clicking a setting control at the upper right corner of a target page, and performs single-page parameter setting on the floating window of the single-page attribute setting, as shown in fig. 9b, the user can set a single-page margin, which includes a page margin and a margin, and is mainly used for adjusting a height of a page center content on a page with notes, and adjusting a lower margin to reduce a height of the table, thereby leaving a space for the notes, wherein the height of the page center is equal to the height of the table plus the height of the notes. As shown in fig. 9c, the user can set the font of the chinese and english titles, the font size, the alignment mode, whether to bold, whether to display, whether to occupy space, etc.
Specifically, the terminal device may further perform one-page multi-table setting, and drag one of the two tables to be merged to the other table, so as to implement merging and displaying of the two tables. Fig. 10 is an interface schematic diagram of a merged table setting according to an embodiment of the present application, and as shown in fig. 10, the title attributes of two tables can be respectively defined in a single-page parameter setting of a merged table.
Further, fig. 11a is an interface schematic diagram for checking a report verification provided in the embodiment of the present application, and fig. 11b is an interface schematic diagram for checking a report verification result provided in the embodiment of the present application. As shown in fig. 11a, after the terminal device completes the format setting according to the parameters input by the user, the user may issue the single report completing the format setting to the relevant checking department for layout confirmation by clicking the report issuing verification control in the second user interface, the professional performs the verification in the layout confirmation of the yearbook checking module, and after the verification is completed, as shown in fig. 11b, the user may check the verification result by clicking "report verification condition" in the second user interface. And for the report forms which fail to pass the verification, checking the proofreading opinions, modifying the typesetting according to the proofreading opinions, and issuing the verification again. When the report is added to the left tree of the typesetting tool, the corresponding proofreading department is selected.
In addition, fig. 12a is a schematic interface diagram of generating a directory according to an embodiment of the present application, and fig. 12b is a schematic interface diagram of generating a serial number according to an embodiment of the present application. As shown in fig. 12a, after the user completes the report verification, the user may click on "create directory" to perform directory creation. And (3) setting the catalog according to the number of the catalogues displayed on each page input by the user, and clicking a 'catalog saving' button to save after the setting is finished.
It can be understood that, when the user clicks the "generation serial number" on the second user interface, as shown in fig. 12b, a serial number is added to the report at the third level of the left drop-down tree, and then the user clicks the "generation catalog", as shown in fig. 12a, the number of displayed catalogues per page is set according to the number of catalogues input by the user, the terminal receives the number of catalogues set by the user, sets the number as the division number, and cuts and renders the left tree data.
After the composition of the yearbook is completed, the yearbook can be exported in different formats. Fig. 12c is an interface schematic diagram of yearbook export provided in this embodiment of the application, and as shown in fig. 12c, a user may click an "export" button in fig. 12c, select an export Format, export the yearbook, and send the yearbook to a printing shop for yearbook printing, where the export Format includes a table Format (Microsoft Excel, Excel), a Portable Document Format (PDF), a hypertext Markup Language Format (HTML), and the like.
In the embodiment of the present application, previewing the yearbook is supported, for example, a user may click a "view" button in fig. 12c to preview the yearbook, or may click a "preview" button in fig. 6b to preview the typesetted yearbook in a form of turning a page of an electronic book.
The method for typesetting the yearbook provided by the embodiment of the application comprises the steps of firstly receiving basic information of a first yearbook input by a user, wherein the basic information indicates an initial format of a page of the first yearbook; then generating a first yearbook in a first user interface according to the basic information of the first yearbook and the content data of the first yearbook; then receiving a first operation request triggered by a user by clicking a first control on a first user interface, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls; and finally, carrying out corresponding layout setting on the first yearbook through an operation request triggered by a plurality of layout setting controls clicked by a user on a second user interface. Compared with the prior art, the method and the device have the advantages that the format setting is carried out on the first yearbook, so that the typesetting requirement for manufacturing the yearbook is met, and the manufacturing efficiency of the yearbook is improved.
In addition to the above embodiments, the following describes a case where the column width is adjusted by dragging the frame. Fig. 13 is a schematic flowchart of another typesetting method for a yearbook according to an embodiment of the present application, and as shown in fig. 13, the method includes:
s201, receiving basic information of the first yearbook input by the user, wherein the basic information indicates an initial format of a page of the first yearbook.
S202, generating the first yearbook in the first user interface according to the basic information of the first yearbook and the content data of the first yearbook.
S203, receiving a first operation request triggered by a user clicking a first control on a first user interface, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls.
S204, corresponding layout setting is carried out on the first yearbook through operation requests triggered by the layout setting controls clicked by the user on the second user interface.
And S205, receiving a fifth operation request triggered by dragging the border of the target table of the first yearbook on the second user interface by the user, wherein the fifth operation request is used for adjusting the column width of the border of the target table of the first yearbook.
The technical terms, technical effects, technical features, and alternative embodiments of S201-S205 can be understood with reference to S101-S104 shown in fig. 2, and repeated descriptions thereof will not be repeated here.
On the basis of the foregoing embodiment, fig. 14 is a schematic flowchart of a typesetting method for a still another yearbook provided in the embodiment of the present application, and as shown in fig. 14, the method includes:
s301, receiving basic information of the first yearbook input by the user, wherein the basic information indicates an initial format of a page of the first yearbook.
S302, generating the first yearbook in the first user interface according to the basic information of the first yearbook and the content data of the first yearbook.
S303, receiving a first operation request triggered by a user clicking a first control on a first user interface, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls.
S304, corresponding layout setting is carried out on the first yearbook through operation requests triggered by the layout setting controls clicked by the user on the second user interface.
S305, receiving a sixth operation request triggered by clicking a fifth control on the target page of the first yearbook by the user, wherein the sixth operation request is used for performing single-page attribute setting on the target page of the first yearbook.
And S306, receiving the single-page attribute parameters input by the user.
S307, setting the margin and the title of the target page of the first yearbook according to the single-page attribute parameters.
The technical terms, technical effects, technical features, and alternative embodiments of S301 to S307 can be understood with reference to S101 to S104 shown in fig. 2, and repeated descriptions thereof will not be repeated here.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 15 is a schematic structural diagram of the composition device for a yearbook provided in the present application, and the composition device for a yearbook can be implemented by software, hardware, or a combination of the software and the hardware. As shown in fig. 15, the composition apparatus 400 for the yearbook comprises: a first receiving module 401, a processing module 402, a second receiving module 403 and a third receiving module 404.
A first receiving module 401, configured to receive basic information of a first yearbook input by a user, where the basic information indicates an initial format of a page of the first yearbook;
a processing module 402, configured to generate a first yearbook in a first user interface according to the basic information of the first yearbook and the content data of the first yearbook;
a second receiving module 403, configured to receive a first operation request triggered by a user clicking a first control on a first user interface, where the first operation request is used to start a second user interface, and the second user interface includes multiple format setting controls;
the processing module 402 is further configured to perform corresponding layout setting on the first yearbook according to an operation request triggered by the multiple layout setting controls clicked by the user on the second user interface.
In an optional implementation manner, the plurality of format setting controls include a second control, the second control is configured to perform global property editing on the first yearbook, and the third receiving module 404 is configured to receive a second operation request triggered by the user by clicking the second control on a second user interface, where the second operation request is used to start the global property editing floating window; receiving global attribute information input by a user in a global attribute editing floating window, wherein the global attribute information comprises font information and page information;
a processing module 402, further configured to set a font of the content data of the first yearbook according to the font information; and modifying the initial format of the page of the first yearbook according to the page information.
In an optional implementation manner, the multiple format setting controls further include a third control, the third control is configured to perform chapter setting on the target report of the first yearbook, and the third receiving module 404 is further configured to receive a third operation request triggered by clicking the third control on the second user interface by the user, where the third operation request is used to start a chapter setting floating window; receiving chapter setting parameters input by a user in a chapter setting suspension window;
the processing module 402 is further configured to perform chapter setting on the target report of the first yearbook according to the chapter setting parameter.
In an optional embodiment, the chapter setting parameters include a table font parameter, a table format parameter, and a splitting parameter; a processing module 402, configured to set a font of the target report of the first yearbook according to the form font parameter; setting the format of a target report of the first yearbook according to the table format parameters; and according to the splitting parameters, column continuation splitting or butterfly page splitting is carried out on the target report of the first yearbook.
In an optional implementation manner, the chapter setting parameters further include a table head height parameter and a table body height parameter, and the processing module 402 is further configured to determine whether the height of the target report of the first yearbook exceeds the height of the page where the target report of the first yearbook is located according to the table head height parameter and the table body height parameter; if yes, the target report of the first yearbook is displayed in a plurality of pages.
In an optional implementation manner, the plurality of format setting controls further include a fourth control, where the fourth control is used to perform personality setting on the target area in the first yearbook, and the third receiving module 404 is further used to receive a fourth operation request triggered by the user by clicking the fourth control on the second user interface, where the fourth operation request is used to start a personality setting floating window; receiving personality setting parameters input by a user in a personality setting suspension window, wherein the personality setting parameters comprise region font parameters, frame parameters and format parameters;
a processing module 402, further configured to set a font of the target region of the first yearbook according to the region font parameter; setting a frame of a target area of the first yearbook according to the frame parameters; the format of the target area of the first yearbook is set according to the format parameters.
In an optional implementation manner, the third receiving module is further configured to receive a fifth operation request triggered by dragging a border of the target table of the first yearbook in the second user interface by the user, where the fifth operation request is used to adjust a column width where the border of the target table of the first yearbook is located.
In an optional implementation manner, the third receiving module is further configured to receive a sixth operation request triggered by clicking a fifth control on the target page of the first yearbook by the user, where the sixth operation request is used to perform single-page attribute setting on the target page of the first yearbook;
the processing module 402 is further configured to receive a single-page attribute parameter input by a user; and setting the margin and the title of the target page of the first yearbook according to the single-page attribute parameters.
It should be noted that the composition device for the yearbook provided in the embodiment of the present application may be used to execute the method provided in any of the above embodiments, and the specific implementation manner and the technical effect are similar, and are not described herein again.
Fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 16, the electronic device may include: at least one processor 501 and memory 502. Fig. 16 shows an electronic device as an example of a processor.
The memory 502 is used for storing programs. In particular, the program may include program code including computer operating instructions.
Memory 502 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The processor 501 is used for executing computer-executable instructions stored in the memory 502 to implement the typesetting method of the yearbook;
the processor 501 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Alternatively, in a specific implementation, if the communication interface, the memory 502 and the processor 501 are implemented independently, the communication interface, the memory 502 and the processor 501 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. Buses may be classified as address buses, data buses, control buses, etc., but do not represent only one bus or type of bus.
Alternatively, in a specific implementation, if the communication interface, the memory 502 and the processor 501 are integrated into a chip, the communication interface, the memory 502 and the processor 501 may complete communication through an internal interface.
The embodiment of the application also provides a chip which comprises a processor and an interface. Wherein the interface is used for inputting and outputting data or instructions processed by the processor. The processor is configured to perform the methods provided in the above method embodiments. The chip can be applied to a typesetting device of a yearbook.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, are used, and specifically, the computer-readable storage medium stores program information used for the typesetting method of the above-mentioned yearbook.
Embodiments of the present application further provide a program, which when executed by a processor, is configured to perform the method for typesetting the yearbook provided by the above method embodiments.
Embodiments of the present application further provide a program product, such as a computer-readable storage medium, having stored therein instructions, which, when run on a computer, cause the computer to execute the method for typesetting the yearbook provided by the above method embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the invention are brought about in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A typesetting method for yearbook, characterized in that the method comprises:
receiving basic information of a first yearbook input by a user, wherein the basic information indicates an initial format of a page of the first yearbook;
generating the first yearbook on a first user interface according to the basic information of the first yearbook and the content data of the first yearbook;
receiving a first operation request triggered by clicking a first control on the first user interface by the user, wherein the first operation request is used for starting a second user interface, and the second user interface comprises a plurality of format setting controls;
and performing corresponding layout setting on the first yearbook through an operation request triggered by the layout setting controls clicked by the user on the second user interface.
2. The method for typesetting a yearbook according to claim 1, wherein the plurality of layout setting controls comprise a second control, the second control is used for performing global property editing on the first yearbook, and the corresponding layout setting is performed on the first yearbook through an operation request triggered by the plurality of layout setting controls clicked by the user on the second user interface, and comprises the following steps:
receiving a second operation request triggered by the user through clicking the second control on the second user interface, wherein the second operation request is used for starting a global property editing floating window;
receiving global attribute information input by the user in the global attribute editing floating window, wherein the global attribute information comprises font information and page information;
setting a font of the content data of the first yearbook according to the font information;
and modifying the initial format of the page of the first yearbook according to the page information.
3. The method for typesetting of yearbook according to claim 1, wherein the plurality of layout setting controls further comprises a third control, the third control is used for chapter setting of the target report of the first yearbook, and the corresponding layout setting of the first yearbook is performed by the operation request triggered by the plurality of layout setting controls clicked by the user at the second user interface, and comprises:
receiving a third operation request triggered by the user through clicking the third control element on the second user interface, wherein the third operation request is used for starting a chapter setting suspension window;
receiving chapter setting parameters input by the user in the chapter setting suspension window;
and performing chapter setting on the target report of the first yearbook according to the chapter setting parameters.
4. The method of typesetting yearbook of claim 3, wherein the chapter setting parameters include a table font parameter, a table format parameter and a splitting parameter;
the chapter setting is carried out on the target report form of the first yearbook according to the chapter setting parameters, and the chapter setting comprises the following steps:
setting the font of the target report of the first yearbook according to the form font parameters;
setting the format of the target report of the first yearbook according to the form format parameters;
and according to the splitting parameter, performing column sequential splitting or butterfly page splitting on the target report of the first yearbook.
5. The composition method of yearbook according to claim 3, wherein the chapter setting parameters further include a table head height parameter and a table body height parameter, and the chapter setting is performed on the target report of the first yearbook according to the chapter setting parameters, further comprising:
judging whether the height of the target report of the first yearbook exceeds the height of the page where the target report of the first yearbook is located according to the table head height parameter and the table body height parameter;
and if so, displaying the target report of the first yearbook in a multi-page mode.
6. The method for typesetting of yearbook according to claim 1, wherein the plurality of layout setting controls further comprises a fourth control for individualizing a target area in the first yearbook, and the corresponding layout setting of the first yearbook is performed by an operation request triggered by the plurality of layout setting controls clicked by the user at the second user interface, comprising:
receiving a fourth operation request triggered by the user through clicking the fourth control on the second user interface, wherein the fourth operation request is used for starting a personalized floating window;
receiving personality setting parameters input by the user in the personality setting suspension window, wherein the personality setting parameters comprise region font parameters, frame parameters and format parameters;
setting the font of the target area of the first yearbook according to the area font parameters;
setting a frame of a target area of the first yearbook according to the frame parameters;
and setting the format of the target area of the first yearbook according to the format parameter.
7. The method for typesetting of yearbook according to claim 1, wherein after the operation request triggered by the plurality of format setting controls clicked by the user on the second user interface, the method further comprises:
receiving a fifth operation request triggered by dragging the border of the target table of the first yearbook in the second user interface by the user, wherein the fifth operation request is used for adjusting the column width of the border of the target table of the first yearbook.
8. The method for typesetting of yearbook according to claim 1, wherein after the operation request triggered by the plurality of format setting controls clicked by the user on the second user interface, the method further comprises:
receiving a sixth operation request triggered by clicking a fifth control on a target page of the first yearbook by the user, wherein the sixth operation request is used for performing single-page attribute setting on the target page of the first yearbook;
receiving a single-page attribute parameter input by the user;
and setting the margin and the title of the target page of the first yearbook according to the single-page attribute parameters.
9. A composition apparatus for yearbook, characterized in that the apparatus comprises:
a first receiving module, configured to receive basic information of a first yearbook input by a user, where the basic information indicates an initial format of a page of the first yearbook;
the processing module is used for generating the first yearbook in a first user interface according to the basic information of the first yearbook and the content data of the first yearbook;
a second receiving module, configured to receive a first operation request triggered by the user clicking a first control on the first user interface, where the first operation request is used to start a second user interface, and the second user interface includes multiple format setting controls;
the processing module is further configured to perform corresponding layout setting on the first yearbook according to an operation request triggered by the plurality of layout setting controls clicked by the user on the second user interface.
10. An electronic device, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is used for calling and running the computer program stored in the memory and executing the method according to any one of claims 1-8.
11. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 1-8.
12. A computer program product, comprising a computer program for causing a computer to perform the method of any one of claims 1-8.
CN202110411260.8A 2021-04-16 2021-04-16 Typesetting method and device for yearbook Pending CN113076716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110411260.8A CN113076716A (en) 2021-04-16 2021-04-16 Typesetting method and device for yearbook

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110411260.8A CN113076716A (en) 2021-04-16 2021-04-16 Typesetting method and device for yearbook

Publications (1)

Publication Number Publication Date
CN113076716A true CN113076716A (en) 2021-07-06

Family

ID=76617729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110411260.8A Pending CN113076716A (en) 2021-04-16 2021-04-16 Typesetting method and device for yearbook

Country Status (1)

Country Link
CN (1) CN113076716A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116842928A (en) * 2023-08-31 2023-10-03 北京冠群信息技术股份有限公司 Web-based electronic template design method, system, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229856A1 (en) * 2000-02-12 2003-12-11 Lynn Heath A. Text grid creation tools
CN1558340A (en) * 2004-02-06 2004-12-29 珠海金山软件股份有限公司 Typesetting method
CN104516867A (en) * 2013-09-30 2015-04-15 北大方正集团有限公司 Table reordering method and table reordering system
CN106874240A (en) * 2016-12-22 2017-06-20 华南师范大学 Digital publishing method and system
CN108596575A (en) * 2018-05-11 2018-09-28 金在(北京)金融信息服务有限公司 Flow path processing method and device
CN111382552A (en) * 2020-03-11 2020-07-07 北大方正集团有限公司 Typesetting processing method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229856A1 (en) * 2000-02-12 2003-12-11 Lynn Heath A. Text grid creation tools
CN1558340A (en) * 2004-02-06 2004-12-29 珠海金山软件股份有限公司 Typesetting method
CN104516867A (en) * 2013-09-30 2015-04-15 北大方正集团有限公司 Table reordering method and table reordering system
CN106874240A (en) * 2016-12-22 2017-06-20 华南师范大学 Digital publishing method and system
CN108596575A (en) * 2018-05-11 2018-09-28 金在(北京)金融信息服务有限公司 Flow path processing method and device
CN111382552A (en) * 2020-03-11 2020-07-07 北大方正集团有限公司 Typesetting processing method, device, equipment and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
求学若渴: "Word表格的基本操作", pages 1 - 7, Retrieved from the Internet <URL:https://www.jianshu.com/p/1694b30e4b4e> *
汪同庆等: "期刊运营实用参考", vol. 7, 30 June 2008, 北京:中国致公出版社 , pages: 108 - 118 *
汪同庆等: "计算机文化基础", vol. 7, 北京:中国电力出版社 , pages: 108 - 118 *
潘美丽: "方正飞腾4.1专业版下报版巨型表格的制作", 科技传播, vol. 7, no. 04, pages 89 - 90 *
郑根创: "论文自动排版***的设计与实现", 中国优秀硕士学位论文全文数据库, no. 05, pages 138 - 1608 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116842928A (en) * 2023-08-31 2023-10-03 北京冠群信息技术股份有限公司 Web-based electronic template design method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20240168729A1 (en) Spreadsheet-Based Software Application Development
CN109614424B (en) Page layout generation method, device, computing equipment and medium
JP7153725B2 (en) Development of software applications based on spreadsheets
US7712016B2 (en) Method and apparatus for utilizing an object model for managing content regions in an electronic document
CN112632942B (en) Document processing method, device, equipment and medium
CN110543303B (en) Visual service platform
CN109408764B (en) Page area dividing method, device, computing equipment and medium
US8584009B2 (en) Automatically propagating changes in document access rights for subordinate document components to superordinate document components
KR101275871B1 (en) System and method for producing homepage in SaaS ENVIRONMENT, A computer-readable storage medium therefor
US8527867B2 (en) Enabling users to edit very large XML data
CN102902673A (en) Method and device for dynamically generating web pages
US20100042914A1 (en) Information processing apparatus, information processing method, and program
US20070300146A1 (en) Form output control apparatus, form output control method, and computer readable program
CN113076716A (en) Typesetting method and device for yearbook
JP7121363B2 (en) Version control method and version control system for large-scale electronic documents
CN113297856B (en) Document translation method and device and electronic equipment
CN113360106A (en) Webpage printing method and device
CN114417789A (en) Data reference method and device, electronic equipment and storage medium
CN114239525A (en) Contract template editing method and device, computer equipment and storage medium
JP6008149B2 (en) Data generation system for printing
CN114282499A (en) Document generation method and device with customized chart, electronic equipment and medium
JP2918735B2 (en) Drawing and parts list creation management device
JP5322403B2 (en) Homepage creation device, homepage creation program and homepage creation method
JP2014035638A (en) Electronic manual output system, electronic manual output method, and electronic manual output program
KR101049895B1 (en) Electronic document editor

Legal Events

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