Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Typesetting method based on electronic book, electronic equipment and computer storage medium

An e-book and typesetting engine technology, applied in the computer field, can solve the problems of unstable picture position, inconsistent page layout, and disordered interactive information, and achieve the effect of avoiding disordered positions.

Active Publication Date: 2019-08-06
ZHANGYUE TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the process of realizing the present invention, the inventor found that the above-mentioned solution in the prior art has at least the following defects: due to the index offset of text information and User interaction information such as user notes and ideas are related to each other, and the position of user interaction information in the e-book is fixed, and its position information will not be adjusted for inserting pictures. Therefore, once the pictures inserted in the e-book are edited in the subsequent editing process Deleting or changing the location will cause the user's interactive information to no longer have a location-related relationship with the corresponding text content, and the location of the interactive information will be confused, which will cause inconvenience to the user's reading
Moreover, in the above-mentioned flow typesetting method, the position of inserting pictures cannot be preset, so the position of the picture is not fixed. Once the font of the text is adjusted or the font size is changed, the position of the picture will change, resulting in inconsistent page layout. For example, the picture is originally displayed in the lower half of the current page. When the font size is increased, the picture will be squeezed to the upper half of the next page
It can be seen that the above typesetting method cannot control the position of the inserted picture, and the change of the position of the picture will easily affect the user interaction information such as notes, thus seriously affecting the normal reading of the user

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Typesetting method based on electronic book, electronic equipment and computer storage medium
  • Typesetting method based on electronic book, electronic equipment and computer storage medium
  • Typesetting method based on electronic book, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 A flow chart of an e-book-based typesetting method provided by an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes the following steps:

[0028] Step S110: Determine the object typesetting area included in the page area of ​​the e-book, and arrange the objects to be displayed in the object typesetting area through the object typesetting engine.

[0029] Wherein, the page area of ​​the e-book refers to the entire typesetting area, which is used for arranging all kinds of information contained in a page, such as text and objects. Typically, the page area is a rectangular area. The object layout area refers to a partial area divided from the entire page area for arranging and displaying objects. Wherein, the target typesetting area can be located in various positions such as the top, bottom, and middle of the entire page area, and the shape of the target typesetting area can be a rectangle, a diamond, a circle, etc.,...

Embodiment 2

[0039] figure 2 A flow chart of an e-book-based typesetting method provided by another embodiment of the present invention is shown. Such as figure 2 As shown, the method includes the following steps:

[0040] Step S210: Determine the target typesetting area included in the page area of ​​the e-book.

[0041] In this embodiment, in order to enrich the presentation effect of the e-book, it is convenient for the user to obtain more information during the reading process. The object typesetting area in this embodiment further includes a plurality of object typesetting sub-areas, which are respectively a first edge area, a middle area, and a second edge area; wherein, the first edge area and the second edge area are set opposite to each other. Specifically, the first edge area and the second edge area may be a top area and a bottom area, respectively, or may be a left area or a right area, which is not limited in the present invention.

[0042] In this embodiment, the first ...

Embodiment 3

[0070] An embodiment of the present application provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the e-book-based typesetting method in any of the above method embodiments.

[0071] Specifically, the executable instruction can be used to make the processor perform the following operations:

[0072] Determining the object typesetting area contained in the page area of ​​the e-book, and arranging the objects to be displayed in the object typesetting area through the object typesetting engine;

[0073]determining a target rectangular area corresponding to the object typesetting area, and dividing the remaining available area contained in the page area into at least one candidate rectangular area through the target rectangular area;

[0074] According to the area range of the at least one candidate rectangular area, a text typesetting area included in the pag...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a typesetting method based on an electronic book, electronic equipment and a computer storage medium, and the method comprises the steps: determining an object typesetting areacontained in a page area of the electronic book, and arranging objects to be displayed in the object typesetting area through an object typesetting engine; determining a target rectangular area corresponding to the object typesetting area, and dividing the remaining available area contained in the page area into at least one candidate rectangular area through the target rectangular area; and determining a character typesetting area contained in the page area according to the area range of the at least one candidate rectangular area, and arranging to-be-displayed characters in the character typesetting area through a character typesetting engine. Therefore, the position of the display object can be ensured to be fixed and unchanged, the inserted display object cannot be influenced even ifthe word number and the font of the character are adjusted, and the problem that the note is influenced due to the fact that the index offset of the character is changed due to the position change ofthe display object is avoided.

Description

technical field [0001] The invention relates to the field of computers, in particular to a typesetting method based on electronic books, electronic equipment and computer storage media. Background technique [0002] In the e-book typesetting process, in order to achieve the effect of combining pictures and texts, it is often necessary to insert display objects such as pictures into the e-book pages. In the existing typesetting methods, it is usually realized by means of mixed typesetting of graphics and text. Specifically, text information is typeset through a typesetting engine, and then pictures are dynamically inserted during the typesetting process of text information. Because e-books need to perform operations such as proofreading and editing during the typesetting process, text information is mostly stream information. In this streaming typesetting method, the index offset of each text information in the page depends on the position of the inserted picture. Once the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/25G06F17/21G06T11/60G06F40/189
CPCG06T11/60G06F40/109G06F40/189
Inventor 孙上斌成湘均张凌云
Owner ZHANGYUE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products