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

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

Inactive Publication Date: 2016-01-06
GUANGZHOU UCWEB COMP TECH CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Taking the Chinese environment as an example, if the electronic reading terminal can display 100 Chinese characters, when a piece of text contains 100 Chinese characters, the display effect of the electronic reading terminal will be as follows: Picture 1-1 As shown, the height of the characters is equal to the height of the page, and the characters fill the entire page; however, if this text includes fifty Chinese characters and fifty letters, according to the traditional page typesetting method, the electronic reading terminal displays The effect is as Figure 1-2 As shown, after all the characters are inserted into the page, a blank line will appear at the end of the page
Obviously, using the traditional html page layout method can easily lead to blank lines at the end of some pages, resulting in low page utilization, poor display effect, and affecting user experience

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
  • Page layout method and page layout device
  • Page layout method and page layout device
  • Page layout method and page layout device

Examples

Experimental program
Comparison scheme
Effect test

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...

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 page layout method, which comprises the following steps of: determining the number of words capable of being accommodated in a terminal display region; dividing an article into a plurality of content blocks according to the number of words capable of being accommodated in the terminal display region; loading the content blocks into corresponding content containers; determining the current page container and the content container corresponding to the current page container; inserting the corresponding content container into the page container; inserting a next content container adjacent to the corresponding content container into the current page container; and performing layout on the current page container. The invention also provides a page layout device. Compared with the prior art, the page layout method and the page layout device provided by the embodiment have the advantages that when blank lines exist in a page after the paging, the blank lines can be filled up, so that a phenomenon that blank lines exist at a page footer can be avoided; the page utilization rate is improved; the display effect can be further optimized; and the user experience is improved.

Description

technical field [0001] The present invention relates to the technical field of mobile communication, and more specifically, to a page typesetting method and device. Background technique [0002] With the development of Internet technology and the popularization of smart terminals, people are no longer limited to traditional paper publications when reading, but prefer portable electronic reading terminals, such as mobile phones and tablet computers, which are more convenient for people to use. The time fragments of daily life can be read more conveniently using electronic reading terminals. [0003] For the html (HypertextMarkupLanguage, Hypertext Markup Language) page of the electronic reading terminal, the traditional pagination method first determines the character environment of the article, such as the article is in the Chinese environment, and secondly, regards all the characters in the article as Chinese characters, and according to Chinese The corresponding relations...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F40/189
CPCG06F16/00G06F40/189
Inventor 蔺文龙
Owner GUANGZHOU UCWEB COMP 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