发明名称 Methods for parsing content of document, handheld electronic apparatus and computer-readable medium thereof
摘要 A method for parsing a content of a document, a handheld electronic apparatus and a computer-readable medium thereof are provided. The method comprises the following steps: displaying the content of the document; parsing the content to find out text groups according to a preset pattern database when a touch event is detected, wherein the preset pattern database comprises a plurality of specific patterns, and a format of each of the text groups conforms to one of the specific patterns; determining whether a touch coordinates matches a corresponding position of a specific text group of the text groups; performing a corresponding action related to the specific text group when the touch coordinates matches the corresponding position of the specific text group.
申请公布号 US9218083(B2) 申请公布日期 2015.12.22
申请号 US201313744420 申请日期 2013.01.18
申请人 HTC Corporation 发明人 Tseng Te-Pei;Tseng Huan-Chih
分类号 G06F3/041;G06F17/24;G06F17/27 主分类号 G06F3/041
代理机构 Jianq Chyun IP Office 代理人 Jianq Chyun IP Office
主权项 1. A method for parsing a content of a document, adapted to a handheld electronic apparatus, the method comprising: activating a browser to download the document from a webpage for displaying the content of the document, wherein the browser supports a text parsing function; disabling the text parsing function and parsing the content of the document according to a markup language rule to generate an object parsed result; enabling the text parsing function and removing the object parsed result when a touch event is detected; parsing the content to find out text groups according to a preset pattern database and re-parsing the content of the document according to the markup language rule to generate a full parsed result when the touch event is detected and after removing the object parsed result, wherein the preset pattern database comprises a plurality of specific patterns, and a format of each of the text groups conforms to one of the specific patterns; determining whether a touch coordinates matches a corresponding position of a specific text group of the text groups; and performing a corresponding action related to the specific text group when the touch coordinates matches the corresponding position of the specific text group.
地址 Taoyuan TW