Typesetting method based on electronic book, electronic equipment and computer storage medium
A technology for e-books and layout documents, which is applied in the computer field and can solve problems such as missing content, text error content, and mathematical formulas, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 A flow chart of an e-book-based typesetting method provided by an embodiment of the present invention is shown. like figure 1 As shown, the method includes the following steps:
[0030] Step S110: Divide the area to be typeset included in the layout document to be typeset into multiple text lines, and for each text line, obtain the spatial positional relationship between the characters contained in the text line.
[0031] Wherein, the layout document to be typeset is the e-book to be typeset, which may be in PDF format or other various formats. The area to be typeset can default to the entire display content of the current page, or can be customized by the user, which is not limited in the present invention.
[0032] When the area to be typeset is divided into multiple text lines, various methods such as horizontal projection can be used for division. For each text line, the spatial position relationship among the characters included in the text line is acq...
Embodiment 2
[0041] figure 2 A flow chart of an e-book-based typesetting method provided by another embodiment of the present invention is shown. In this embodiment, the method can be applied to various applications such as e-book editing software. like figure 2 As shown, the method includes the following steps:
[0042] Step S200: According to the received inline image recognition instruction, determine the area to be typeset included in the layout document to be typeset.
[0043] Among them, the inline graph recognition command can be triggered by a preset trigger action or trigger button, and before triggering the inline graph recognition command, the region to be typeset can be selected in advance by frame-selecting the text range, so that the subsequent steps are uniform. It is implemented for the area to be typeset selected by the user.
[0044] In addition, this step is an optional step. Through this step, the user who uses the e-book editing software can determine the area t...
Embodiment 3
[0074] 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.
[0075] The executable instructions can specifically be used to make the processor perform the following operations:
[0076] Dividing the area to be typeset included in the layout document to be typeset into multiple text lines, and for each text line, respectively, obtaining the spatial positional relationship between the characters contained in the text line;
[0077] Identifying the target character group contained in the text line according to the spatial position relationship between the characters;
[0078] Determining the area corresponding to the target character group as the target area, and obtaining the inline picture element corresponding to the target area;
[0079] Typ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com