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

Rich text editing method based on three-dimensional engine, editor and electronic device

A three-dimensional engine and text editing technology, applied in the fields of rich text editing and two-dimensional drawings, it can solve the problems of fixed, single rich text style, and cannot be edited in real time, and achieve the effect of efficient processing and real-time editing.

Active Publication Date: 2019-06-28
GLODON CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to solve the problem that the rich text style in the existing 3D engine is single, fixed and cannot be edited in real time and dynamically typeset

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 editing method based on three-dimensional engine, editor and electronic device
  • Rich text editing method based on three-dimensional engine, editor and electronic device
  • Rich text editing method based on three-dimensional engine, editor and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to facilitate those skilled in the art to understand and implement the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. It should be understood that the described embodiments are only used to explain the present invention and not to limit the present invention.

[0039] What the present invention needs to solve is the multi-style problem of rich text characters, and also needs to solve the dynamic typesetting problem of rich text characters. For this reason, the present invention adopts the Rope data structure. Rope is a binary tree, leaf nodes contain disconnected character substrings, non-leaf nodes contain weights, weight = the number of characters of all leaf nodes on the left of the node. A string is divided into two parts, the Rope left subtree contains the left part of the string, and the Rope right subtree contains the right part of the strin...

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 rich text editor and an editing method based on a three-dimensional engine, which are used for solving the technical problems that the rich text in the existing three-dimensional engine is single in style and fixed and cannot be edited and typeset dynamically in real time. The method comprises the following steps: firstly, editing and generating a character string conforming to a Rope data structure; wherein the character substring of each leaf node in the Rope data structure carries a corresponding format, then analyzing the Rope data structure, sequentially readingthe character substrings of each leaf node in the Rope data structure, and displaying the character substrings in a designated display area of the three-dimensional engine in the corresponding format;wherein when the character substrings are displayed, dynamic typesetting is carried out according to the size of a three-dimensional engine display area and the format of each character substring, and the typesetting comprises line changing and character spacing adjustment. By means of the Rope data structure, multi-style flexible display, real-time editing and dynamic typesetting of the rich text are achieved.

Description

technical field [0001] The invention relates to a rich text editing technology in the field of three-dimensional graphics rendering, and can also be used for two-dimensional drawings (such as CAD drawing). Background technique [0002] BIM (Building Information Modeling) is one of the core concepts in the field of building informationization in recent years, and the basis of its data is the three-dimensional information model of the building. Compared with the traditional two-dimensional design and drawing, BIM technology makes full use of three-dimensional graphics technology, and uses the three-dimensional graphics of buildings (building components, building as a whole) as a carrier to further connect various building information parameters to form a building information model, and then carry out Full lifecycle management of buildings and even components. It can be said that 3D graphics are the muscle and skin of BIM technology. Intuitive 3D graphic expression and process...

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/24G06F17/50
Inventor 张亚辉
Owner GLODON 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