Method and device for displaying a web page

    公开(公告)号:US10268774B2

    公开(公告)日:2019-04-23

    申请号:US15480171

    申请日:2017-04-05

    摘要: Embodiments of the present application relate to a method for displaying a web page, a system for displaying a web page, and a computer program product for displaying a web page. A method for displaying a web page is provided. The method includes pre-processing text information to be picture processed in a web page, creating a picture, generating a position description for each text block in the picture, filling the corresponding text blocks into the picture based on the position descriptions, generating a call address for the picture, and correspondingly saving the call address and the position description of each text block as metadata. If an access request for the web page is received, invoking the metadata, loading the picture, selecting at least one corresponding text block from the picture, and displaying the at least one text block is performed.

    METHOD AND APPARATUS FOR RECOGNIZING SLIDE
    5.
    发明申请

    公开(公告)号:US20180365245A1

    公开(公告)日:2018-12-20

    申请号:US15780077

    申请日:2016-11-15

    摘要: Embodiments of the present application disclose a method and an apparatus for identifying a slide, which are applied to an electronic device. The method comprises: obtaining file source code of a slide to be identified (S101); obtaining feature information of objects in the slide to be identified from the file source code (S102); and determining a layout of the slide to be identified based on the obtained feature information (S103). In the present application, the electronic device can automatically obtain the feature information of the objects in the slide to be identified from the file source code of the slide. Therefore, compared to manual identification, the efficiency and accuracy of identifying the layout of the slide are significantly improved. Moreover, this makes it possible to perform subsequent automatic processes on the slide based on the layout of the slide.

    Methods and systems for adjusting webpage layout

    公开(公告)号:US09886519B2

    公开(公告)日:2018-02-06

    申请号:US14130463

    申请日:2012-12-19

    发明人: Jie Liang

    摘要: A method and system for adjusting webpage layout are disclosed. The method includes calculating a width for displaying an image on a webpage; determining whether the image is inserted in a segment of text of the webpage; and adjusting the size of the image display based on a mobile terminal's screen width and the width for displaying the image, if the image is inserted in the segment of text of the webpage. The disclosed methods and systems adjust the images on a webpage based on the width of the image and the screen width of a mobile terminal. As such, an adjusted webpage can be viewed by scrolling up and down the display screen. In addition, a user's online experience may be further improved by adjusting the images on the webpage to be left justified and aligned with the text on the page. A user does not need to scroll horizontally (e.g., from left to right) to read the webpage including the images.

    Block zoom on a mobile electronic device

    公开(公告)号:US09824137B2

    公开(公告)日:2017-11-21

    申请号:US13530411

    申请日:2012-06-22

    IPC分类号: G06F17/24 G06F17/30 G06F17/25

    CPC分类号: G06F17/3061

    摘要: A device, system and method are provided for processing structured documents, such as webpages, for display. Various elements within the structured document are parsed and rendered by an electronic device for outputting to an external or integrated display. In response to a detected scaling instruction, such as a zoom in instruction, a selected region of the displayed document indicated by the instruction is scaled to a first scaled size, including any text content therein. Any text content contained within the region may be reflowed according to the bounds of its containing element or a viewport. A dominant alignment is determined from the element or elements contained within the selected region, and the portion of the scaled region to be output to the display is determined based on the dominant alignment.