CN111382552B - Typesetting processing method, device, equipment and storage medium - Google Patents

Typesetting processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111382552B
CN111382552B CN202010166878.8A CN202010166878A CN111382552B CN 111382552 B CN111382552 B CN 111382552B CN 202010166878 A CN202010166878 A CN 202010166878A CN 111382552 B CN111382552 B CN 111382552B
Authority
CN
China
Prior art keywords
manuscript
content
area
layout
published
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.)
Expired - Fee Related
Application number
CN202010166878.8A
Other languages
Chinese (zh)
Other versions
CN111382552A (en
Inventor
杨雷鸣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN202010166878.8A priority Critical patent/CN111382552B/en
Publication of CN111382552A publication Critical patent/CN111382552A/en
Application granted granted Critical
Publication of CN111382552B publication Critical patent/CN111382552B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application provides a typesetting processing method, a typesetting processing device, typesetting processing equipment and a storage medium, wherein the method comprises the following steps: responding to a first trigger operation of a user, and generating an initial layout diagram; acquiring content to be published, and performing content filling processing in the initial layout image according to the content to be published to obtain and display a filled layout image; responding to a second trigger operation of the user, and performing layout adjustment on the filled layout drawing to obtain an adjusted layout drawing; and sending the format information corresponding to the adjusted layout drawing to terminal equipment for typesetting, so that the terminal equipment typesets the acquired content to be published according to the format information to obtain the typesetted layout. The method and the device shorten the adjustment time of the format and improve the publishing efficiency.

Description

Typesetting processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of publishing and manufacturing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for typesetting processing.
Background
With the continuous development of terminal devices, the terminal devices have been widely developed and applied, such as tablet computers. At present, in the publishing field, such as the newspaper publishing field, a user can perform layout design through touch and other functions provided by terminal equipment.
In the prior art, mainly an editor designs a layout on the tool by virtue of own experience.
However, in the prior art, during actual typesetting, the content to be published and the related layout are often extremely inappropriate, so that the related layout needs to be changed greatly, the time required for the change is long, the publishing efficiency is reduced, and the user experience is affected.
Disclosure of Invention
The application provides a typesetting processing method, a typesetting processing device, typesetting processing equipment and a storage medium, so that the adjustment time of the format is shortened, and the publishing efficiency is improved.
In a first aspect, the present application provides a typesetting processing method, including:
responding to a first trigger operation of a user, and generating an initial layout diagram;
acquiring content to be published, and performing content filling processing in the initial layout image according to the content to be published to obtain and display a filled layout image;
responding to a second trigger operation of the user, and performing layout adjustment on the filled layout drawing to obtain an adjusted layout drawing;
and sending the format information corresponding to the adjusted layout drawing to terminal equipment for typesetting, so that the terminal equipment typesets the acquired content to be published according to the format information to obtain the typesetted layout.
Further, the initial layout diagram includes a plurality of object areas, wherein the object areas are placed according to the position placement information corresponding to the first trigger operation; the content to be published comprises content corresponding to a plurality of manuscripts;
after the generating the initial layout diagram and before performing content filling processing in the initial layout diagram according to the content to be published, the method further includes:
responding to a third trigger operation of the user, and performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript;
the filling content in the initial layout diagram according to the content to be published to obtain a filled layout diagram, including:
and according to the manuscript content corresponding to each manuscript, performing content filling processing in the manuscript area corresponding to each manuscript to obtain the filled layout diagram.
Further, the associating, in response to a third trigger operation of the user, each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript, includes:
responding to the third trigger operation of the user, and acquiring first identification information and coordinate information corresponding to each object area;
determining each object area belonging to the same manuscript according to the first identification information and the coordinate information which are respectively corresponding to each object area;
and performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript.
Further, the performing, according to the content of the manuscript corresponding to each manuscript, content filling processing in a manuscript area corresponding to each manuscript to obtain the filled layout diagram includes:
in response to a fourth trigger operation of the user, filling target content in the manuscript content corresponding to each manuscript into a manuscript area corresponding to each manuscript; wherein the target content comprises any one or more of: an introduction, a main title, a subtitle and a picture;
and aiming at a target manuscript with a text in the manuscript content, according to the number of characters corresponding to the text and a preset typestyle, performing content filling processing on a text area in a target manuscript area corresponding to the target manuscript, and when the number of the characters exceeds the bearing number of the characters corresponding to the text area, displaying the difference value between the characters and the bearing number of the characters at a preset position of the target manuscript area.
Further, after obtaining the manuscript area corresponding to each manuscript, the method further includes:
displaying a manuscript area corresponding to each manuscript on a first preset screen area of a display screen;
after the obtaining of the content to be published, the method further includes:
determining second identification information corresponding to each manuscript, and displaying the second identification information corresponding to each manuscript on a second preset screen area of the display screen;
the fourth trigger operation includes a plurality of movement tracks, where the movement tracks are used to indicate movement tracks of the second identification information from the second preset screen area to the first preset screen area.
Further, the object region includes any one of: a guide area, a main title area, a sub-title area, a text area and a picture area.
Further, the acquiring the content to be published includes: and sending a content acquisition request to a server so that the server returns the content to be published according to the content acquisition request.
In a second aspect, the present application provides a layout processing apparatus, including:
the generating unit is used for responding to a first trigger operation of a user and generating an initial layout diagram;
the acquisition unit is used for acquiring the content to be published;
the processing unit is used for performing content filling processing in the initial layout image according to the content to be published to obtain and display a filled layout image;
the adjusting unit is used for responding to a second trigger operation of the user and performing layout adjustment on the filled layout drawing to obtain an adjusted layout drawing;
and the sending unit is used for sending the format information corresponding to the adjusted layout diagram to the terminal equipment for typesetting, so that the terminal equipment performs typesetting processing on the acquired content to be published according to the format information to obtain the typesetted layout.
Further, the initial layout diagram includes a plurality of object areas, wherein the object areas are placed according to the position placement information corresponding to the first trigger operation; the content to be published comprises content corresponding to a plurality of manuscripts;
the processing unit is further configured to, after the generating unit generates an initial layout diagram and before content filling processing is performed in the initial layout diagram according to the content to be published, perform association processing on object areas belonging to the same manuscript in response to a third trigger operation of a user to obtain a manuscript area corresponding to each manuscript;
the processing unit is specifically configured to perform content filling processing in the manuscript area corresponding to each manuscript according to the manuscript content corresponding to each manuscript, so as to obtain the filled layout diagram.
Further, the processing unit is specifically configured to, in response to the third trigger operation of the user, obtain first identification information and coordinate information corresponding to each of the object areas; determining each object area belonging to the same manuscript according to the first identification information and the coordinate information which are respectively corresponding to each object area; and performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript.
Further, the processing unit is specifically configured to, in response to a fourth trigger operation of the user, fill target content in the manuscript content corresponding to each manuscript into a manuscript area corresponding to each manuscript; wherein the target content comprises any one or more of: an introduction, a main title, a subtitle and a picture; and aiming at a target manuscript with a text in manuscript contents, according to the number of characters corresponding to the text, and a preset typeface, performing content filling processing on a text area in a target manuscript area corresponding to the target manuscript, and when the number of the characters exceeds the number of the characters bearing the weight corresponding to the text area, displaying the difference value between the characters and the number of the characters bearing the weight at a preset position of the target manuscript area.
Further, the apparatus further comprises a first display unit, a second display unit, and a determination unit, wherein,
the first display unit is used for displaying the manuscript area corresponding to each manuscript on a first preset screen area of a display screen after the processing unit obtains the manuscript area corresponding to each manuscript;
the determining unit is used for determining second identification information corresponding to each manuscript after the acquiring unit acquires the content to be published; the second display unit is used for displaying second identification information corresponding to each manuscript on a second preset screen area of the display screen;
the fourth trigger operation includes a plurality of movement tracks, where the movement tracks are used to indicate movement tracks of the second identification information from the second preset screen area to the first preset screen area.
Further, the object region includes any one of: a guide area, a main title area, a sub-title area, a text area and a picture area.
Further, the obtaining unit is specifically configured to send a content obtaining request to a server, so that the server returns the content to be published according to the content obtaining request.
In a third aspect, the present application provides a layout processing apparatus, including: a memory and a processor;
the memory for storing a computer program;
wherein the processor executes the computer program in the memory to implement any of the methods of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for performing any of the methods of the first aspect when executed by a processor.
The typesetting processing method, the typesetting processing device, the typesetting processing equipment and the storage medium generate an initial layout diagram by responding to a first trigger operation of a user, acquire content to be published, perform content filling processing in the initial layout diagram according to the content to be published to obtain and display the filled layout diagram, respond to a second trigger operation of the user, perform layout adjustment on the filled layout diagram to obtain an adjusted layout diagram; and sending the format information corresponding to the adjusted layout drawing to terminal equipment for typesetting, so that the terminal equipment typesets the acquired content to be published according to the format information to obtain the typesetted layout. The layout is associated and combined with the actual content to be published to obtain the layout effect, so that the layout is effectively adjusted based on the layout effect, the layout is more attached to the content to be published, the layout is more accurate, and the designed layout does not need to be changed and adjusted greatly during actual typesetting, so that the change time is shortened, the publishing efficiency is greatly improved, and the user experience is further improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of a terminal device provided in the present application;
fig. 2 is a schematic flowchart of a typesetting processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a typesetting processing method according to a second embodiment of the present application;
fig. 4 is a schematic diagram of a layout diagram according to a second embodiment of the present application;
fig. 5 is a schematic diagram of another layout diagram provided in the second embodiment of the present application;
fig. 6 is a schematic structural diagram of a typesetting processing device according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of a typesetting processing device according to a fourth embodiment of the present application;
fig. 8 is a schematic structural diagram of a typesetting processing device provided in the fifth embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Taking a publication newspaper as an example, the newspaper of a newspaper company has more pages, the content checking and format confirmation takes long time, each working link is completed by different roles, when the newspaper is published nationwide and all over the world, the time requirement is strict, and the time left for format design and format combination is less and less, so that higher requirements are provided for drawing and format combination (typesetting), namely, the edition is required to complete the design of format layout with higher efficiency, the candidate layout of the design is submitted to a leader (such as an on-duty sub-general compilation) for confirmation, the format combination (typesetting) work is carried out according to the confirmed layout, and finally, PDF (Portable document format) is output for subsequent version printing. At present, a drawing tool based on a tablet computer is mainly adopted, the tool can complete the making of layout in a touch mode, then a picture is generated and confirmed by a leader, and the layout after editing and contrast confirmation is typeset in typesetting software. In the prior art, mainly, an editor designs a layout on the tool by virtue of own experience, so that during actual typesetting, the phenomenon that contents to be published and related layout are extremely inappropriate usually occurs, and the related layout needs to be changed greatly, so that the time required for the change is long, the publishing efficiency is reduced, and the user experience is influenced.
Based on this, this application is through treating the content of publishing with format layout and reality and associating and combine, obtains the initial arrangement effect to effectively adjust the format layout based on the initial arrangement effect, make the format layout more laminate treat the publishing content, more be accurate, thereby when actually typesetting, can need not to carry out very big change adjustment to the format layout of design, shortened the change time, greatly improved publishing efficiency, and then promoted user experience.
There are many application scenarios in the present application, and taking one of them as an example, the typesetting processing method provided in the present application can be applied to a terminal device. As shown in fig. 1, fig. 1 is a schematic structural diagram of a terminal device provided in the present application. The user can complete the design, the content initial arrangement, the format layout adjustment and the like of the format layout on the terminal equipment in a touch mode.
The following describes in detail a method, an apparatus, a device, and a storage medium for typesetting processing provided by the present application.
Fig. 2 is a schematic flowchart of a typesetting processing method provided in an embodiment of the present application, and as shown in fig. 2, the method includes:
step 201: and generating an initial layout diagram in response to a first trigger operation of a user.
In this embodiment, in response to a first trigger operation of the user, the first trigger operation may include a plurality of first sub-trigger operations, so that the initial layout diagram is generated based on the plurality of first sub-trigger operations. That is, the generation of the initial layout diagram is completed based on a plurality of trigger operations by the user. Specifically, the user can complete the design of the initial layout diagram by a touch manner and operation buttons. For example, in the case of publishing a newspaper, a bottom board of the corresponding newspaper may be displayed to a user, and then on the bottom board, the user may complete the design of the initial layout drawing by touching the screen (e.g., manually drawing a long frame as a main title area, and then drawing another long frame as another sub-title area, etc., or manually adjusting the placement positions of the created main title area and the created sub-title area, etc.) and clicking the corresponding operating button below (e.g., the 3 rd operating button represents the picture area). The specific process of generating the initial layout diagram by a touch manner or operating a button can be implemented based on the prior art.
Step 202: and acquiring the content to be published, and performing content filling processing in the initial layout diagram according to the content to be published to obtain and display the filled layout diagram.
In this embodiment, a content to be published which actually needs to be published is acquired, then the content to be published is combined with an initial layout diagram to obtain a preliminary arrangement effect, specifically, content filling processing is performed in the initial layout diagram, so that a filled layout diagram, that is, the preliminary arrangement effect, is obtained, and the filled layout diagram is displayed. For example, the content to be published includes a main title "celebration", so that the corresponding main title area of the initial layout drawing may be filled with "celebration".
Step 203: and responding to a second trigger operation of the user, and performing layout adjustment on the filled layout diagram to obtain an adjusted layout diagram.
In this embodiment, in response to a second trigger operation of the user, the second trigger operation may include a plurality of second sub-trigger operations, so that based on the plurality of second sub-trigger operations, the layout adjustment of the filled layout diagram is completed, and the adjusted layout diagram is obtained. That is, the adjustment of the layout is completed based on a plurality of trigger operations by the user. For example, the user may adjust the size of the main title area by dragging the border corresponding to the main title area, and the user may adjust the placement position of the main title by clicking the border corresponding to the main title area.
Step 204: and sending the format information corresponding to the adjusted layout drawing to the terminal equipment for typesetting, so that the terminal equipment performs typesetting processing on the acquired content to be published according to the format information to obtain the typesetted layout.
In this embodiment, after the adjusted layout is obtained based on the second trigger operation of the user, the layout information corresponding to the adjusted layout, for example, the size, the coordinate information, and the like of each headline area, may be sent to the terminal device for typesetting, so that after the terminal device obtains the layout information, the terminal device may perform typesetting processing on the actual content to be published according to the layout information, and obtain the typesetted layout.
The application provides a typesetting processing method, which comprises the steps of generating an initial layout drawing by responding to a first trigger operation of a user, obtaining a content to be published, filling the content in the initial layout drawing according to the content to be published to obtain and display the filled layout drawing, responding to a second trigger operation of the user, and performing layout adjustment on the filled layout drawing to obtain an adjusted layout drawing; and sending the format information corresponding to the adjusted layout drawing to terminal equipment for typesetting, so that the terminal equipment typesets the acquired content to be published according to the format information to obtain the typesetted layout. The layout is associated and combined with the actual content to be published to obtain the layout effect, so that the layout is effectively adjusted based on the layout effect, the layout is more attached to the content to be published, the layout is more accurate, and the designed layout does not need to be changed and adjusted greatly during actual typesetting, so that the change time is shortened, the publishing efficiency is greatly improved, and the user experience is further improved.
Fig. 3 is a schematic flowchart of a typesetting processing method provided in the second embodiment of the present application, and as shown in fig. 3, the method includes:
step 301: and responding to a first trigger operation of a user, and generating an initial layout diagram, wherein the initial layout diagram comprises a plurality of object areas, and the object areas are placed according to the position placing information corresponding to the first trigger operation.
In this embodiment, in response to the first triggering operation of the user, that is, multiple triggering based on the user, the specific triggering process may refer to the related explanations in the first embodiment, and details are not described here. An initial layout diagram is generated, wherein the initial layout diagram includes a plurality of object regions. Optionally, the object region includes any one of: a guide area, a main title area, a sub-title area, a text area and a picture area.
In this embodiment, when the target area is any one of the title area, the main title area and the subtitle area, the title number may be calculated according to the size of the target area, specifically, according to the width of the target area, and preset characters may be filled in the target area according to the title number, so that a user (usually editing) can know the size of the title number and the number of the arrangeable title words in the target area.
When the object area is a picture area, the object area can be filled with a built-in schematic picture, so that the picture effect is displayed through the schematic picture, and the adjustment by a user is facilitated.
When the object area is a text area, the typesetting number of the object area can be calculated according to the area of the object area and the preset newspaper sample font size (such as a four-number character), so that a user can conveniently evaluate the size of the object area and reasonably adjust the size.
In addition, when the object area is a text area, the method can respond to other trigger operations of the user to perform column division setting on the object area, and is convenient for the user to check the real layout effect.
Exemplarily, as shown in fig. 4, fig. 4 is a schematic diagram of a layout diagram provided in the second embodiment of the present application, where the information marked in the initial layout diagram includes: newspaper baseboard, text indication (here, may be empty, that is, no text information is currently filled in), title indication, typesetable number (specifically, the number of words that can be typeset in the text area), indicating picture, and operation button.
Step 302: and responding to a third trigger operation of the user, and performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript.
In this embodiment, in response to a third trigger operation of the user, the third trigger operation may specifically refer to a one-key operation, that is, in response to the one-key trigger operation of the user, the topic area, the main title area, the subtitle area, the text area, and the picture area belonging to the same manuscript (specifically, a news manuscript) are aggregated (aggregation refers to grouping them into one manuscript) together, that is, associated together, so as to obtain a manuscript area corresponding to each manuscript, and then, based on the association, the content filling processing corresponding to each manuscript may be subsequently implemented. Alternatively, a schematic box may be drawn on the boundary of each manuscript area for highlighting. The position and the size of each object area are not changed. Specifically, as shown in fig. 5, fig. 5 is a schematic diagram of another layout provided in the second embodiment of the present application.
In this embodiment, the step 302 may specifically include the following steps:
the method comprises the first step of responding to a third trigger operation of a user, and acquiring first identification information and coordinate information corresponding to each object area.
And secondly, determining each object area belonging to the same manuscript according to the first identification information and the coordinate information which are respectively corresponding to each object area.
And thirdly, performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript.
In this embodiment, the first identification information is used to indicate the identity (or category) of the object area, such as the identity of the object area is a text area, and so on. Specifically, when performing association, an object area whose identity is a main title area may be found according to the identity of each object area, and then the object area is taken as a reference and gradually extended outward according to the coordinate information of the object area, so that other object areas belonging to the same manuscript as the object area may be determined, and the object area and the determined other object areas are determined as a manuscript area.
Step 303: and sending a content acquisition request to the server so that the server returns the content to be published according to the content acquisition request, wherein the content to be published comprises the content corresponding to the manuscripts.
In this embodiment, the server stores actual content to be published, and the content to be published includes content corresponding to a plurality of manuscripts. Specifically, the content to be published is described in an Extensible Markup Language (XML) format or a news-oriented web Language NewsML format, and the content to be published identifies the content of a news manuscript, such as a quotation, a main title, a subtitle, a text, a picture, and the like, by using a tag. For example, in a manuscript in the content to be published, there are corresponding content 1 and content 2 described in XML format, where the content 1 is actually a main title and the content 2 is a sub-title, and therefore, the content 1 and the content 2 can be identified by different tags, so as to identify the content 1 as the main title and the content 2 as the sub-title.
Step 304: and according to the manuscript content corresponding to each manuscript, performing content filling processing in the manuscript area corresponding to each manuscript to obtain a filled layout diagram.
In this embodiment, step 304 may specifically include the following steps:
the method comprises the following steps that firstly, target contents in manuscript contents corresponding to manuscripts are filled into manuscript areas corresponding to the manuscripts in response to fourth trigger operation of a user; wherein the target content comprises any one or more of: an introduction, a main title, a subtitle and a picture;
and secondly, aiming at a target manuscript with a text in the manuscript content, according to the number of characters corresponding to the text and a preset typeface, performing content filling processing on a text area in a target manuscript area corresponding to the target manuscript, and when the number of the characters exceeds the number of the characters bearing the text area, displaying the difference value between the characters and the number of the characters bearing the text area at a preset position of the target manuscript area.
In the embodiment, the content is filled in response to a fourth trigger operation of the user, namely, in a man-machine interaction manner. For example, when the manuscript has target content of any one or more of an introduction, a main title, a subtitle and a picture, the introduction can be filled in a corresponding introduction area in a manuscript area corresponding to the manuscript (if schematic characters exist before, replacement processing can be performed here), and/or the main title can be filled in a corresponding main title area in the manuscript area corresponding to the manuscript, and/or the picture can be filled in a corresponding picture area in the manuscript area corresponding to the manuscript (if schematic pictures exist before, replacement processing can be performed here), and the like. When the number of the title words corresponding to the title area (the title area can refer to any one of the title area, the main title area and the sub-title area) is less, a blank area is presented at the tail of the title area, and when the number of the words is too much, the number of the unarranged words can be calculated and presented at the tail, so that the layout adjustment can be carried out by the user. When the manuscript has text content, filling the content in the corresponding text area in the manuscript area corresponding to the manuscript according to the number of characters (such as 180) corresponding to the text content and a preset character style (such as repeatedly displaying the text), and if the number of characters is less, presenting a blank area at the tail part; if the number of characters is large, the number of characters which are not arranged can be calculated, namely, the difference value between the number of characters and the character bearing number (for example, 160) corresponding to the manuscript area can be calculated, namely 20 is presented at the tail part, so that the user can perform layout adjustment on the current layout according to the difference value.
Optionally, after obtaining the manuscript area corresponding to each manuscript, the method further includes:
displaying a manuscript area corresponding to each manuscript on a first preset screen area of a display screen;
after obtaining the content to be published, the method further comprises the following steps:
determining second identification information corresponding to each manuscript, and displaying the second identification information corresponding to each manuscript on a second preset screen area of the display screen;
the fourth trigger operation includes a plurality of movement trajectories, where the movement trajectories are used to indicate movement trajectories of the second identification information from the second preset screen area to the first preset screen area.
In this embodiment, the display screen may be divided into a first preset screen area and a second preset screen area, specifically, a manuscript area corresponding to each manuscript may be displayed on the first preset screen area, and second identification information corresponding to each manuscript is displayed in a list form on the second preset screen area, where the second identification information of each manuscript may specifically be content of a main title corresponding to the manuscript. Based on this, the user may drag each second identification information from the second preset screen area to a corresponding manuscript area within the first preset screen area, thereby completing content filling for each manuscript area.
Step 305: and responding to a second trigger operation of the user, and performing layout adjustment on the filled layout diagram to obtain an adjusted layout diagram.
In this embodiment, after completing content filling processing according to an actual content to be published to obtain a filled layout diagram, a second trigger operation of the user may be responded to, where the second trigger operation may also be a trigger operation that includes multiple times of the user, so as to implement layout adjustment on the filled layout diagram, and the layout adjustment specifically may refer to adjustment of the size, the position, and the like of each object area in each manuscript area.
Step 306: and sending the format information corresponding to the adjusted layout drawing to the terminal equipment for typesetting, so that the terminal equipment performs typesetting processing on the acquired content to be published according to the format information to obtain the typesetted layout.
In this embodiment, after obtaining the adjusted layout diagram, the layout information corresponding to the layout diagram may be sent to the terminal device for composition, where the layout information may specifically include the size, placement position information, column information, and the like corresponding to each object area, and based on this, the terminal device for composition may perform composition processing on the obtained content to be published according to the layout information, where a specific composition processing process may be implemented based on the prior art. Alternatively, the terminal device for composition may obtain the content to be published from the server, or may obtain the content to be published from the execution subject (composition processing apparatus/terminal device) in this embodiment.
In addition, in order to improve the typesetting process of the terminal equipment for typesetting, after the content filling processing is carried out, the corresponding relation between the second identification information of the manuscript and the manuscript area can be stored, so that the terminal equipment for typesetting realizes the quick typesetting processing according to the corresponding relation.
In addition, the finishing of the layout is realized through the terminal equipment for typesetting, and based on the finishing, in the typesetting process, the operations such as deletion, modification and the like may be performed on the characters in some object areas, so that in order to maintain the consistency of data, the manuscript write-back operation is also required to be performed, specifically, for the changed content, the terminal equipment for typesetting can send a change request to the server, so that the server can change the stored content to be published according to the change request. Because the content to be published in the XML format is stored in the server and the related content is associated with the XML label of the manuscript, the write-back of the manuscript content can be realized based on the association mode. After the server completes the change processing, the server can be used for archiving or multi-channel publishing and the like.
In addition, the text can have indexing information with finer granularity, and the information is maintained in each link and finally written back to the manuscript. For example, information such as news agencies, time, subtitles, authors, etc. in the text can be indexed with finer granularity. And the larger XML typesetting capability is further enhanced.
In the embodiment, by responding to the third trigger operation of the user, the quick association processing of the object areas belonging to the same manuscript can be realized, and the interaction feeling between the user and the equipment is improved. In this embodiment, the difference value, that is, the number of the unarranged characters, is displayed at the tail of the object area, so that the user can effectively adjust the corresponding object area according to the difference value. The embodiment optimizes the workflow, separates creative work from technical detail processing, prevents creative activities from being interfered by complex technical operation, and can carry out creative work at will; due to the application of a wide intelligent processing technology, an operator can know key information more accurately, creative work can meet technical requirements more, and the problem that the difference between the creative work and actual technical requirements is too large is avoided; the creative work is closely linked with the technical work, and the achievement is inherited, so that the working efficiency is greatly improved; and a more appropriate tool is used in different stages, for example, in a manuscript write-back stage, the write-back operation is quickly realized through interaction between the terminal equipment for typesetting and the server, so that the work becomes easier and more efficient.
Fig. 6 is a schematic structural diagram of a typesetting processing device provided in the third embodiment of the present application, and as shown in fig. 6, the device includes:
a generating unit 601, configured to generate an initial layout diagram in response to a first trigger operation by a user.
An obtaining unit 602, configured to obtain content to be published.
The processing unit 603 is configured to perform content filling processing in the initial layout diagram according to the content to be published, so as to obtain and display a filled layout diagram.
An adjusting unit 604, configured to perform layout adjustment on the filled layout diagram in response to a second trigger operation of the user, so as to obtain an adjusted layout diagram.
A sending unit 605, configured to send the format information corresponding to the adjusted layout diagram to the terminal device for typesetting, so that the terminal device performs typesetting processing on the acquired content to be published according to the format information, and obtains a typesetted layout.
The typesetting processing device provided in this embodiment is the same as the technical solution for implementing the typesetting processing method provided in any of the foregoing embodiments, and the implementation principle and technical effect thereof are similar and will not be described again.
Fig. 7 is a schematic structural diagram of a typesetting processing apparatus according to a fourth embodiment of the present application, where based on the third embodiment, as shown in fig. 7, an initial layout diagram includes a plurality of object areas, where the object areas are placed according to position placement information corresponding to a first trigger operation; the content to be published comprises content corresponding to a plurality of manuscripts.
The processing unit 603 is further configured to, after the generating unit generates the initial layout diagram and before performing content filling processing in the initial layout diagram according to the content to be published, perform association processing on object areas belonging to the same manuscript in response to a third trigger operation of the user, so as to obtain a manuscript area corresponding to each manuscript.
The processing unit 603 is specifically configured to perform content filling processing in the manuscript area corresponding to each manuscript according to the manuscript content corresponding to each manuscript, so as to obtain a layout after filling.
Further, the processing unit 603 is specifically configured to, in response to a third trigger operation of the user, obtain first identification information and coordinate information corresponding to each object area; determining each object area belonging to the same manuscript according to the first identification information and the coordinate information which are respectively corresponding to each object area; and performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript.
Further, the processing unit 603 is specifically configured to, in response to a fourth trigger operation of the user, fill target content in the manuscript content corresponding to each manuscript into a manuscript area corresponding to each manuscript; wherein the target content comprises any one or more of: an introduction, a main title, a subtitle and a picture; and aiming at a target manuscript with a text in the manuscript content, according to the number of characters corresponding to the text and a preset typeface, performing content filling processing on a text area in a target manuscript area corresponding to the target manuscript, and when the number of the characters exceeds the number of the bearing of the characters corresponding to the text area, displaying the difference value between the characters and the number of the bearing of the characters at a preset position of the target manuscript area.
Further, the apparatus comprises a first display unit 701, a second display unit 702 and a determination unit 703, wherein,
a first display unit 701, configured to display, after the processing unit 603 obtains the manuscript area corresponding to each manuscript, the manuscript area corresponding to each manuscript on a first preset screen area of a display screen.
A determining unit 703, configured to determine, after the obtaining unit 602 obtains the content to be published, second identification information corresponding to each manuscript.
A second display unit 702, configured to display second identification information corresponding to each manuscript on a second preset screen area of the display screen.
The fourth trigger operation includes a plurality of movement trajectories, where the movement trajectories are used to indicate movement trajectories of the second identification information from the second preset screen area to the first preset screen area.
Further, the object region includes any one of: a guide area, a main title area, a sub-title area, a text area and a picture area.
Further, the obtaining unit 602 is specifically configured to send a content obtaining request to the server, so that the server returns the content to be published according to the content obtaining request.
The typesetting processing apparatus provided in this embodiment is the same as the technical solution for implementing the typesetting processing method provided in any of the foregoing embodiments, and the implementation principle and technical effects thereof are similar and will not be described again.
Fig. 8 is a schematic structural diagram of a typesetting processing device according to a sixth embodiment of the present application, as shown in fig. 7, a memory 801 and a processor 802; the memory 801 is used for storing computer programs.
The processor 802 executes the computer program stored in the storage 801 to implement the technical solution of the typesetting processing method according to any implementation manner provided by the foregoing embodiments.
The present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-executable instructions are used to implement the technical solution of the typesetting processing method in any one of the implementation manners provided in the foregoing embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method of composing a layout, the method comprising:
responding to a first trigger operation of a user, and generating an initial layout diagram;
acquiring content to be published, and performing content filling processing in the initial layout image according to the content to be published to obtain and display a filled layout image;
responding to a second trigger operation of the user, and performing layout adjustment on the filled layout drawing to obtain an adjusted layout drawing;
sending the format information corresponding to the adjusted layout drawing to terminal equipment for typesetting, so that the terminal equipment typesets the acquired content to be published according to the format information to obtain the typesetted layout;
the initial layout diagram comprises a plurality of object areas, wherein the object areas are placed according to the position placing information corresponding to the first trigger operation; the content to be published comprises content corresponding to a plurality of manuscripts;
after the generating the initial layout diagram and before performing content filling processing in the initial layout diagram according to the content to be published, the method further includes:
responding to a third trigger operation of the user, and performing correlation processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript;
the filling content in the initial layout diagram according to the content to be published to obtain a filled layout diagram, including:
and according to the manuscript content corresponding to each manuscript, performing content filling processing in the manuscript area corresponding to each manuscript to obtain the filled layout diagram.
2. The method according to claim 1, wherein the associating, in response to a third trigger operation by the user, object areas belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript, comprises:
responding to the third trigger operation of the user, and acquiring first identification information and coordinate information corresponding to each object area;
determining each object area belonging to the same manuscript according to the first identification information and the coordinate information which are respectively corresponding to each object area;
and performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript.
3. The method according to claim 1, wherein the performing a content filling process in the manuscript area corresponding to each manuscript according to the manuscript content corresponding to each manuscript to obtain the filled layout diagram comprises:
in response to a fourth trigger operation of the user, filling target content in the manuscript content corresponding to each manuscript into a manuscript area corresponding to each manuscript; wherein the target content comprises any one or more of: an introduction, a main title, a subtitle and a picture;
and aiming at a target manuscript with a text in manuscript contents, according to the number of characters corresponding to the text, and a preset typeface, performing content filling processing on a text area in a target manuscript area corresponding to the target manuscript, and when the number of the characters exceeds the number of the characters bearing the weight corresponding to the text area, displaying the difference value between the characters and the number of the characters bearing the weight at a preset position of the target manuscript area.
4. The method of claim 3, further comprising, after obtaining the contribution area corresponding to each contribution:
displaying a manuscript area corresponding to each manuscript on a first preset screen area of a display screen;
after the obtaining of the content to be published, the method further includes:
determining second identification information corresponding to each manuscript, and displaying the second identification information corresponding to each manuscript on a second preset screen area of the display screen;
the fourth trigger operation includes a plurality of movement tracks, where the movement tracks are used to indicate movement tracks of the second identification information from the second preset screen area to the first preset screen area.
5. The method according to any one of claims 1-4, wherein the object region comprises any one of: a guide area, a main title area, a sub-title area, a text area and a picture area.
6. The method according to any one of claims 1-4, wherein the obtaining of the content to be published comprises: and sending a content acquisition request to a server so that the server returns the content to be published according to the content acquisition request.
7. A layout processing apparatus, characterized in that the apparatus comprises:
the generating unit is used for responding to a first trigger operation of a user and generating an initial layout diagram;
the acquisition unit is used for acquiring the content to be published;
the processing unit is used for performing content filling processing in the initial layout image according to the content to be published to obtain and display a filled layout image;
the adjusting unit is used for responding to a second trigger operation of the user and performing layout adjustment on the filled layout drawing to obtain an adjusted layout drawing;
a sending unit, configured to send format information corresponding to the adjusted layout diagram to a terminal device for typesetting, so that the terminal device performs typesetting processing on the acquired content to be published according to the format information to obtain a typesetted layout;
the initial layout diagram comprises a plurality of object areas, wherein the object areas are placed according to the position placing information corresponding to the first trigger operation; the content to be published comprises content corresponding to a plurality of manuscripts;
after the generating of the initial layout diagram and before performing content filling processing in the initial layout diagram according to the content to be published, the processing unit is further configured to:
responding to a third trigger operation of the user, and performing association processing on each object area belonging to the same manuscript to obtain a manuscript area corresponding to each manuscript;
the processing unit is specifically configured to perform content filling processing in the initial layout diagram according to the content to be published to obtain a filled layout diagram, and is specifically configured to:
and according to the manuscript content corresponding to each manuscript, performing content filling processing in the manuscript area corresponding to each manuscript to obtain the filled layout diagram.
8. A layout processing apparatus characterized by comprising: a memory and a processor;
the memory for storing a computer program;
wherein the processor executes the computer program in the memory to implement the method of any one of claims 1-6.
9. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, perform the method of any one of claims 1-6.
CN202010166878.8A 2020-03-11 2020-03-11 Typesetting processing method, device, equipment and storage medium Expired - Fee Related CN111382552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010166878.8A CN111382552B (en) 2020-03-11 2020-03-11 Typesetting processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010166878.8A CN111382552B (en) 2020-03-11 2020-03-11 Typesetting processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111382552A CN111382552A (en) 2020-07-07
CN111382552B true CN111382552B (en) 2022-05-10

Family

ID=71221604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010166878.8A Expired - Fee Related CN111382552B (en) 2020-03-11 2020-03-11 Typesetting processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111382552B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076716A (en) * 2021-04-16 2021-07-06 浙江鸿程计算机系统有限公司 Typesetting method and device for yearbook

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921443A (en) * 2006-09-14 2007-02-28 北京北大方正电子有限公司 Method and system for multiple person cooperational simultaneous typesetting
CN101393647A (en) * 2008-10-23 2009-03-25 浙江大学 Document typesetting method based on friendly customer interaction
CN101419714A (en) * 2008-10-27 2009-04-29 浙江大学 Interactive document typesetting method based on quick sketch
CN101425076A (en) * 2001-06-15 2009-05-06 索尼电影娱乐公司 Content management system and process
CN104239305A (en) * 2013-06-07 2014-12-24 阿里巴巴集团控股有限公司 Electronic document generating and displaying method and apparatus
CN105589842A (en) * 2014-11-14 2016-05-18 北大方正集团有限公司 Typesetting method and device for digital publications
CN106610929A (en) * 2015-10-26 2017-05-03 北大方正集团有限公司 Method and device for typesetting digital publishing structured content file
CN109710865A (en) * 2018-12-06 2019-05-03 天津字节跳动科技有限公司 Open autoplacement method, device, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005008415A2 (en) * 2003-07-08 2005-01-27 Us Lynx Llc An automated publishing system that facilitates collaborative editing and accountability through virtual document architecture
CN100552671C (en) * 2007-12-29 2009-10-21 北京大学 A kind of implementation method of pre-typesetting and system
CN102521245A (en) * 2011-11-14 2012-06-27 江苏联著实业有限公司 Digital network newspaper system associating original edition presentation with latest news
US20130191732A1 (en) * 2012-01-23 2013-07-25 Microsoft Corporation Fixed Format Document Conversion Engine
CN105260351B (en) * 2015-09-10 2018-05-01 武汉改图网技术有限公司 A kind of online self-help design method of printed matter based on adaptive masterplate
CN107506343B (en) * 2017-07-27 2019-04-05 北京金堤科技有限公司 A kind of processing method and processing device of information editing
CN107480121A (en) * 2017-09-04 2017-12-15 江苏中威科技软件系统有限公司 The preparation method of format data flow table list

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425076A (en) * 2001-06-15 2009-05-06 索尼电影娱乐公司 Content management system and process
CN1921443A (en) * 2006-09-14 2007-02-28 北京北大方正电子有限公司 Method and system for multiple person cooperational simultaneous typesetting
CN101393647A (en) * 2008-10-23 2009-03-25 浙江大学 Document typesetting method based on friendly customer interaction
CN101419714A (en) * 2008-10-27 2009-04-29 浙江大学 Interactive document typesetting method based on quick sketch
CN104239305A (en) * 2013-06-07 2014-12-24 阿里巴巴集团控股有限公司 Electronic document generating and displaying method and apparatus
CN105589842A (en) * 2014-11-14 2016-05-18 北大方正集团有限公司 Typesetting method and device for digital publications
CN106610929A (en) * 2015-10-26 2017-05-03 北大方正集团有限公司 Method and device for typesetting digital publishing structured content file
CN109710865A (en) * 2018-12-06 2019-05-03 天津字节跳动科技有限公司 Open autoplacement method, device, electronic equipment and storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
Definition of the Criteria for Layout of the UML Use Case Diagrams;Nikiforova Oksana;《Applied Computer Systems》;20190531;第24卷(第1期);75-81 *
Use of an electronic publishing system for production of pharmaceutical product literature;Wasserman Rona S.;《Drug Information Journal》;19901231;第24卷(第4期);763-768 *
应用排版天才In_Design制作报纸和杂志的体会;乔泉;《数码印刷》;20040215(第2期);32-35 *
浅谈InDesign软件排版技巧一二;翟洪杰 等;《广东印刷》;20180620(第3期);44-45 *
非文本区域优先的版面分析方法;高山山 等;《科技资讯》;20100423(第12期);225-226 *

Also Published As

Publication number Publication date
CN111382552A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
US10484315B2 (en) Method, system and apparatus for adding network comment information
CN107506343B (en) A kind of processing method and processing device of information editing
US10346560B2 (en) Electronic blueprint system and method
US20220366711A1 (en) Method for processing text in image, electronic device, and storage medium
JP6527227B2 (en) Modify native document comments in preview
CN105279228A (en) Report processing method and device based on extensible markup language
CN106484726A (en) A kind of page display method and device
US10558745B2 (en) Information processing apparatus and non-transitory computer readable medium
CN110806866A (en) Generation method and device of front-end management system
CN113407168A (en) Editing method and device of page elements, storage medium and terminal
CN111382552B (en) Typesetting processing method, device, equipment and storage medium
CN116245052A (en) Drawing migration method, device, equipment and storage medium
CN110162301B (en) Form rendering method, form rendering device and storage medium
JP2015069489A (en) Parameter setting support system, method, and program
CN105512096B (en) A kind of optimization method and device based on font embedded in document
JP2013205984A (en) Template information processing program and template information processing method
CN104516919A (en) Quoting annotation processing method and system
CN112580300A (en) Text marking method and device, storage medium and computer equipment
CN112464626A (en) Graph extraction method of PDF (Portable document Format) document, electronic equipment and storage medium
CN117032666A (en) Page editing method and device based on editor, terminal equipment and storage medium
US20190386873A1 (en) Information processing apparatus for outputting data acquired from server, information processing method, and storage medium
CN115543288A (en) Code information generation method, device, equipment and storage medium
CN115713572A (en) Text image generation method and device, electronic equipment and readable storage medium
JP2011515730A (en) Method and apparatus for supplying electronic documents page by page as computer graphics
CN113378526A (en) PDF paragraph processing method, device, storage medium and equipment

Legal Events

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

Effective date of registration: 20230614

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District, Cheng Fu Road, No. 298, Zhongguancun Fangzheng building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220510