CN102103414A - Method and system for enabling interface tooltip to correspond to mapping character strings of formula input method - Google Patents

Method and system for enabling interface tooltip to correspond to mapping character strings of formula input method Download PDF

Info

Publication number
CN102103414A
CN102103414A CN2009102436211A CN200910243621A CN102103414A CN 102103414 A CN102103414 A CN 102103414A CN 2009102436211 A CN2009102436211 A CN 2009102436211A CN 200910243621 A CN200910243621 A CN 200910243621A CN 102103414 A CN102103414 A CN 102103414A
Authority
CN
China
Prior art keywords
formula
input method
symbol
character string
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2009102436211A
Other languages
Chinese (zh)
Inventor
杨雷鸣
王家杰
赵志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN2009102436211A priority Critical patent/CN102103414A/en
Publication of CN102103414A publication Critical patent/CN102103414A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and system for enabling an interface tooltip to correspond to mapping character strings of a formula input method, which belongs to the technical field of composing. The formula input method is used in interactive formula composing software, the categories of formulas are various, and the names named for the formulas by different people are not unified, thus the learning of the formula input method becomes difficult. The method disclosed by the invention comprises: classifying the formulas in mathematics; establishing a complete formula data structure; and guaranteeing data synchronism through reading a tooltip (tip) and the data of the input method. By utilizing the method and system disclosed by the invention, composing personnel are ensured to be familiar with the mapping character strings of the formula input method rapidly, the time for learning the formula input method is shortened, and the composing efficiency of the formulas is improved.

Description

Interface prompt frame and the mutual corresponding method and system of formula input method mapping character string
Technical field
The invention belongs to typesetting system field, be specifically related to a kind of interface prompt frame and the mutual corresponding method and system of formula input method mapping character string.
Background technology
In scientific and technological class is set type, formula composing bigger ratio of occupation ratio in the composing content, occupy very consequence, the formula input method can be fast be input to the space of a whole page with formula with the form of similar input method of Chinese character, and the input of formula and editorial efficiency are improved greatly.But also introduced simultaneously a new problem:, how to know each formula corresponding characters string and remember that the pairing character string of each formula is a very thing of effort for first use or concerning the formula input method is not very familiar people.
This problem never solves in formula input method software.Make the study threshold of formula input method improve.
Summary of the invention
The objective of the invention is to the defective that exists in prior art and the practical operation, a kind of interface prompt frame and the mutual corresponding method and system of formula input method mapping character string are provided, thereby can utilize the help document of the prompting frame (tip) of the tool bar that the program panel provides, be familiar with the separate equations corresponding characters string in the formula input method fast as the formula input method.
For achieving the above object, the technical solution used in the present invention is as follows: a kind of interface prompt frame and the mutual corresponding method of formula input method mapping character string comprise the steps:
(1) symbol in formula and the formula is classified and number;
(2) sorted each formula or symbol are created the structure of a complete description;
(3) thaumatropy with all formula or symbol is 2 system data, generates 2 system files;
(4) during application program launching, the 2 system files that formula input method module read step (3) generates read into memory formula or symbol data;
(5) in the application program operational process, the tool bar of program panel imports formula or Symbol Type, numbering into the formula input method module by routine interface, and the formula input method module is returned corresponding complete formula or symbol data;
(6) will need the character string that shows to be presented on the toolbar button with the form of prompting frame.
Further, aforesaid interface prompt frame and the mutual corresponding method of formula input method mapping character string, the classification of formula or symbol comprises formula operator class, the living class of Acker, ordinary symbol class in the step (1); The formula operator class comprises fraction class, integration class, radical class; Its midsplit type class comprises positive fraction, oblique fraction, line fraction, wireless fraction.
Further, aforesaid interface prompt frame and formula input method mapping character string is corresponding method mutually, and when in the step (1) symbol in formula and the formula being numbered, different formula or symbols of classifying can use identical numbering.
Further, aforesaid interface prompt frame and formula input method mapping character string is corresponding method mutually, and the structure of the complete description of in the step (2) each formula or symbol being created comprises classification, title, numbering, input method correspondence character string, the inner True Data of formula or symbol.
Further, aforesaid interface prompt frame and the mutual corresponding method of formula input method mapping character string in the step (3), by all formula or symbolic construction are converted into 2 system data, are realized data are encrypted.
Further, aforesaid interface prompt frame and the mutual corresponding method of formula input method mapping character string will read the data source of the formula input method module of 2 system files as tip in the step (4), guarantee the consistance of data.
Further, aforesaid interface prompt frame and formula input method mapping character string is corresponding method mutually, by the user mouse is moved to operation on toolbar the corresponding button in the step (5), finishes the return course of corresponding formulas or symbol data.
Further, aforesaid interface prompt frame and formula input method mapping character string is corresponding method mutually, and the character string of the needs demonstration described in the step (6) is and current formula or symbol character string one to one in the formula input method module.
A kind of interface prompt frame and the mutual corresponding system of formula input method mapping character string comprise:
Sort module is used for formula or symbol are classified and numbered;
Data module is used to formula or symbol to create the structure of complete description;
Modular converter is used for formula or symbol data are converted into 2 system data;
Memory module is gone into internal memory with 2 system data reads when being used for application program launching;
Interactive module is used for importing formula or Symbol Type, numbering into the formula input method module by routine interface, and the formula input method module is returned corresponding complete formula or symbol data;
Display module is used for character string that needs are shown and is presented at toolbar button with the form of tip.
Beneficial effect of the present invention is as follows: adopt method and system of the present invention can make the composing personnel when carrying out the formula composing, be familiar with concrete formula corresponding characters string in input method in the formula input method fast by prompting frame (tip) prompting of program interface, thereby, improved the composing efficient of scientific and technological class formula typesetting software input formula indirectly for the user provides a kind of learning method easily.
Description of drawings
Fig. 1 is formula and the complete data structure synoptic diagram of symbol in the input method;
Fig. 2 is the method flow diagram of the specific embodiment of the invention;
Fig. 3 is the system architecture synoptic diagram of the specific embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples the present invention is described in detail.
The present invention is applicable to the formula input method of scientific and technological class interactive formula typesetting software, for this kind input method provides the method and system of a kind of interface prompt frame (tip) with formula input method mapping character string one-to-one relationship.Its core concept is: at first all formula and symbol are classified and number; Set up the data structure of complete formula or symbol and be converted to 2 system data, input method is presented at the foundation that data read into memory and show as tip on the space of a whole page by space of a whole page tip reading of data from input method.
As shown in Figure 2, interface prompt frame provided by the present invention (tip) and the mutual corresponding method of formula input method mapping character string comprise the steps:
Step S01 classifies and numbers the symbol in formula and the formula, can be divided into 3 classes according to the difference of object:
0: formula operator class, formula comprise fraction class, integration class, radical class, and its midsplit type class comprises positive fraction, oblique fraction, line fraction, wireless fraction.
1: Acker is given birth to class: have only a kind of.
2: the ordinary symbol class: have only a kind of.
More than classification can be changed by the personal like, adds deletion.
During to formula and symbol number, different classification can be selected identical numbering, and for example: for the formula operator class, from 1 open numbering, 4 kinds of fractions are respectively 1,2,3,4, and radical is 5 then ....The numbering that Acker is given birth to class still can be from 1 open numbering: 1,2, and 3.......
Step S02 is to the structure of sorted each formula or a complete description of symbol establishment; Data structure is the list form as shown in Figure 1, and content comprises the classification of formula or symbol, title, numbering, the corresponding character string of input method, inner True Data.
Step S03 is 2 system data with the thaumatropy of all formula or symbol, generates 2 system files; Each bar record is converted into 2 system data, special encryption that it goes without doing, and the process of changing 2 systems is exactly a ciphering process, generates the file of one 2 system at last.
Step S04, during application program launching, the 2 system files that formula input method module read step S03 generates, formula or symbol data are read into memory, initialization input method when being implemented in application program launching, to read the data source of the formula input method module of 2 system files, guaranteed the consistance of data as tip.
Step S05, in the application program operational process, the tool bar of program panel imports formula or Symbol Type, numbering into the formula input method module by routine interface, and the formula input method module is returned corresponding complete formula or symbol data; Application program adopts as lower interface to the form of application of formula input method module request for data:
std::vector<std::wstring>GetString(int?type,int?ID);
The formula input method module is received this and is called the back find the data that satisfy type and numbering in the 2 system data of reading in, and the character string in these data is returned to Application Program Interface with the form of array.In actual applications, when the user moves to mouse on toolbar the corresponding button, finish said process.
Step S06, the character string that needs are shown is presented on the toolbar button with the form of tip.
During user definition can there be much character string, such as, for fraction, the character string that can adopt can be: fenshi, fs, fenshu, ... even also possible more self-defined nonsensical character strings, these character strings just play the purpose that allows input method discern.And unsuitable long for the length of the prompting frame tip of the space of a whole page, therefore, only show that usually 2 to 3 character strings get final product.
In the design of program, the present invention can effectively guarantee data consistency according to above-mentioned flow process.Guarantee that promptly the character string of using in input method character string that space of a whole page tip shows and the actual current input method is consistent.
As shown in Figure 3, interface prompt frame provided by the present invention (tip) and the mutual corresponding system 10 of formula input method mapping character string comprise:
Sort module 11, be used for formula or symbol are classified and numbered, can be divided into formula operator class, the living class of Acker, ordinary symbol class according to the object difference, the formula operator class comprises fraction class, integration class, radical class, and its midsplit type class comprises positive fraction, oblique fraction, line fraction, wireless fraction;
Data module 12 is used to formula or symbol to create the structure of complete description, and data structure is the list form, and content comprises the classification of formula or symbol, title, numbering, the corresponding character string of input method, inner True Data;
Modular converter 13 is used for formula or symbol data are converted into 2 system data, and the process of changing 2 systems is exactly a ciphering process, generates the file of one 2 system at last;
Memory module 14 is gone into internal memory with 2 system data reads when being used for application program launching;
Interactive module 15, be used for importing formula or Symbol Type, numbering into the formula input method module by routine interface, the formula input method module is returned corresponding complete formula or symbol data, when the user moves to mouse on toolbar the corresponding button, finishes said process;
Display module 16 is used for character string that needs are shown and is presented at toolbar button with the form of tip.
The above only is one embodiment of the present of invention, and in order to restriction the present invention, these explanations and embodiment only consider as an example that they all belong to by within the indicated protection scope of the present invention and spirit of claims.

Claims (9)

1. an interface prompt frame shines upon character string corresponding method mutually with the formula input method, comprises the steps:
(1) symbol in formula and the formula is classified and number;
(2) sorted each formula or symbol are created the structure of a complete description;
(3) thaumatropy with all formula or symbol is 2 system data, generates 2 system files;
(4) during application program launching, the 2 system files that formula input method module read step (3) generates read into memory formula or symbol data;
(5) in the application program operational process, the tool bar of program panel imports formula or Symbol Type, numbering into the formula input method module by routine interface, and the formula input method module is returned corresponding complete formula or symbol data;
(6) will need the character string that shows to be presented on the toolbar button with the form of prompting frame.
2. interface prompt frame as claimed in claim 1 and the mutual corresponding method of formula input method mapping character string is characterized in that: the classification of formula or symbol comprises formula operator class, the living class of Acker, ordinary symbol class in the step (1); Wherein the formula operator class comprises fraction class, integration class, radical class; Its midsplit type class comprises positive fraction, oblique fraction, line fraction, wireless fraction.
3. interface prompt frame as claimed in claim 2 and the mutual corresponding method of formula input method mapping character string, it is characterized in that: when in the step (1) symbol in formula and the formula being numbered, the formula or the symbols of different classification can use identical numbering.
4. interface prompt frame as claimed in claim 1 and formula input method mapping character string is corresponding method mutually, it is characterized in that: the structure of the complete description of in the step (2) each formula or symbol being created comprises classification, title, numbering, input method correspondence character string, the inner True Data of formula or symbol.
5. interface prompt frame as claimed in claim 1 and the mutual corresponding method of formula input method mapping character string is characterized in that: in the step (3), by all formula or symbolic construction are converted into 2 system data, realize data are encrypted.
6. interface prompt frame as claimed in claim 1 and the mutual corresponding method of formula input method mapping character string is characterized in that: will read the data source of the formula input method module of 2 system files as tip in the step (4), and guarantee the consistance of data.
7. interface prompt frame as claimed in claim 1 and the mutual corresponding method of formula input method mapping character string, it is characterized in that: by the user mouse is moved to operation on toolbar the corresponding button in the step (5), finish the return course of corresponding formulas or symbol data.
8. interface prompt frame as claimed in claim 1 and formula input method mapping character string is corresponding method mutually, it is characterized in that: the character string of the needs demonstration described in the step (6) is and current formula or symbol character string one to one in the formula input method module.
9. an interface prompt frame shines upon character string corresponding system mutually with the formula input method, comprising:
Sort module is used for formula and symbol are classified and numbered;
Data module is used to formula or symbol to create the structure of complete description;
Modular converter is used for formula or symbol data are converted into 2 system data;
Memory module is gone into internal memory with 2 system data reads when being used for application program launching;
Interactive module is used for importing formula or Symbol Type, numbering into the formula input method module by routine interface, and the formula input method module is returned corresponding complete formula or symbol data;
Display module is used for character string that needs are shown and is presented at toolbar button with the form of tip.
CN2009102436211A 2009-12-18 2009-12-18 Method and system for enabling interface tooltip to correspond to mapping character strings of formula input method Pending CN102103414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102436211A CN102103414A (en) 2009-12-18 2009-12-18 Method and system for enabling interface tooltip to correspond to mapping character strings of formula input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102436211A CN102103414A (en) 2009-12-18 2009-12-18 Method and system for enabling interface tooltip to correspond to mapping character strings of formula input method

Publications (1)

Publication Number Publication Date
CN102103414A true CN102103414A (en) 2011-06-22

Family

ID=44156249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102436211A Pending CN102103414A (en) 2009-12-18 2009-12-18 Method and system for enabling interface tooltip to correspond to mapping character strings of formula input method

Country Status (1)

Country Link
CN (1) CN102103414A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360271A (en) * 2011-10-10 2012-02-22 深圳中兴网信科技有限公司 Input box detection method based on Web test
CN109739595A (en) * 2018-12-18 2019-05-10 北京字节跳动网络技术有限公司 TIP display content processing method, device and electronic equipment based on WEB interaction

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360271A (en) * 2011-10-10 2012-02-22 深圳中兴网信科技有限公司 Input box detection method based on Web test
CN109739595A (en) * 2018-12-18 2019-05-10 北京字节跳动网络技术有限公司 TIP display content processing method, device and electronic equipment based on WEB interaction

Similar Documents

Publication Publication Date Title
JP2014170539A (en) Sorting and filtering of table with image data and symbol data in single cell
JP5167711B2 (en) Method and apparatus for converting between simplified and traditional characters
CN106326194A (en) Directory generation method and apparatus applied to file format conversion scene
CN107133198A (en) Method for typesetting and format conversion of document
CN102478969A (en) Method and device for screening candidate Chinese characters
CN105426944A (en) Square lattice anti-counterfeit label group, and method and system for reading square lattice anti-counterfeit label group
CN107341848A (en) A kind of new method by rock core CT image procossings for commercial CFD code readable documents
CN104298705A (en) Converting method of relational data and unstructured data
CN102103414A (en) Method and system for enabling interface tooltip to correspond to mapping character strings of formula input method
TW201426512A (en) Personal handwritten character production system and operation procedure
CN101833608A (en) Processing method and device of PCB (Printed Circuit Board) data
CN102339535A (en) System and method for learning text
CN111507075B (en) Method and device for converting data format
CN102053955B (en) Method and system for inputting symbols
CN101067785B (en) Inserting platform-based resource management method and system
CN106781837B (en) Writing board and method for generating writing board
CN102103593B (en) Method and system for splitting and typesetting strokes of characters
Frank The Coq Proof Script Visualiser (coq-psv)
KR20230161286A (en) Method of Using Element Characters for Categorizing and Combining Hanja Characters
CN101329615A (en) Method and device for displaying input information
CN100361054C (en) Input method for Chinese characters based on sound codes
CN106471743A (en) The coding of common ascii data stream
CN103136179A (en) Method and device used for editing organic chemical structural formula
CN102722261A (en) System and method for editing incorrect character fonts and coding and inputting incorrect characters
CN102110082B (en) Method and system for outputting complementary word of galley proof file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110622