Page layout method and page layout device
A page typesetting and page technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of low page utilization, poor display effect, blank lines at the end of the page, etc., to improve the utilization rate , optimize the display effect, and improve the effect of user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] See figure 2 , which shows a flow chart of the first implementation method of the page layout method provided by the embodiment of the present invention. The page layout method includes the following steps:
[0033] Step S101: Determine the number of characters that can be accommodated in the display area of the terminal.
[0034] In this embodiment, when the characters of the article are different, the ways to determine the number of words that can be accommodated are different. Therefore, when an article is obtained, first, determine the character type of the article, and the character type of the article can usually be obtained from the known attributes of the article. obtained directly. After obtaining the character type of the article, calculate the character width according to the determined character type. Specifically include: when the character type of the article is Chinese, the width of each character can be determined according to the font size of the c...
Embodiment 2
[0055] see image 3 , this figure shows the flow chart of the second implementation method of the page typesetting method provided by the embodiment of the present invention. This embodiment is an expansion on the basis of Embodiment 1. For content that is repeated in the method steps of this embodiment and Embodiment 1, please refer to the content of Embodiment 1, and will not be repeated in this embodiment. In this embodiment, the method includes the following steps:
[0056] Step S201: Determine the number of characters that can be accommodated in the display area of the terminal.
[0057] In this embodiment, it is assumed that the article contains 1000 characters, and the display area of the terminal can accommodate 100 characters.
[0058] Step S202: Divide the article into several content blocks according to the number of words that can be accommodated in the display area of the terminal.
[0059] Starting from the first character of the article, every 100 chara...
Embodiment 3
[0074] see Figure 4 , which shows a flowchart of the third implementation method of the page typesetting method provided by the embodiment of the present invention. This embodiment transforms the execution order of the above two embodiments to form an execution mode of this embodiment. The implementation content of this embodiment is similar to that of the above-mentioned embodiment. For the content of the method steps in this embodiment that is repetitive with Embodiment 1 or Embodiment 2, please refer to the content of Embodiment 1 and / or Embodiment 2. In this embodiment will not be repeated. In this embodiment, the method includes the following steps:
[0075] Step S301: Determine the number of characters that can be accommodated in the display area of the terminal.
[0076] Step S302: Divide the article into several content blocks according to the number of words that can be accommodated in the display area of the terminal.
[0077] Step S303: Load each content bl...
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