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

Rich text rendering method and device, electronic equipment and storage medium

A text and text field technology, applied in the computer field, can solve the problems of large size, inflexibility, and inability to support events in rendering components, and achieve the effect of overcoming the inflexibility of the parsing scheme and making the access and use simple and convenient.

Pending Publication Date: 2021-12-07
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the concept of the present disclosure, the inventors found at least the following problems in related technologies: the rich-text component is not user-friendly, does not support events, and some rich text tags cannot be parsed, and cannot be configured at the same time Parse tag information in rich text
In the face of complex tag information contained in rich text, it is necessary to use a parsing language containing a large number of templates for iterative parsing, resulting in the rendering component being too large and inflexible

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
  • Rich text rendering method and device, electronic equipment and storage medium
  • Rich text rendering method and device, electronic equipment and storage medium
  • Rich text rendering method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.

[0027] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. The terms "comprising", "comprising", etc. used herein indicate the presence of stated features, ...

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 provides a rich text rendering method. The rich text rendering method comprises the following steps: converting original rich text information into a text field with a preset hierarchical structure; conducting recursive analysis on the text fields through a pre-constructed analyzer, obtaining rich text tags, wherein the text fields comprise hierarchical nested rich text tags; finally, rendering the original rich text information based on the configuration rule of the rich text label. The invention further provides a rich text rendering device, electronic equipment and a computer readable storage medium.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and more specifically, to a rich text rendering method, device, electronic equipment, and storage medium. Background technique [0002] Rich Text Format (RTF, Rich Text Format), also known as multi-text format, is a cross-platform document format developed by Microsoft Corporation, which can be transmitted between different devices, different operating systems and different applications. , View text and graphics document formats. Commonly, when displaying rich text information to users on the WeChat front-end interface, the original rich text code is generally rendered through the official rich-text component. [0003] In the process of realizing the concept of the present disclosure, the inventors found at least the following problems in related technologies: the rich-text component is not user-friendly, does not support events, and some rich text tags cannot be parsed, and cannot be...

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): G06F40/205G06F40/166G06F40/186G06F16/38
CPCG06F40/205G06F40/166G06F40/186G06F16/381
Inventor 张斯尚
Owner BEIJING WODONG TIANJUN INFORMATION 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