CN101436309B - Method and device for modifying formula operator - Google Patents
Method and device for modifying formula operator Download PDFInfo
- Publication number
- CN101436309B CN101436309B CN200810239678XA CN200810239678A CN101436309B CN 101436309 B CN101436309 B CN 101436309B CN 200810239678X A CN200810239678X A CN 200810239678XA CN 200810239678 A CN200810239678 A CN 200810239678A CN 101436309 B CN101436309 B CN 101436309B
- Authority
- CN
- China
- Prior art keywords
- formula
- operator
- formula operator
- operators
- attribute information
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
发明涉及排版技术领域,特别涉及一种修改公式运算符的方法和装置,用以解决现有技术中存在的在公式排版中,不支持对公式运算符的修改的问题。本发明实施例的方法包括:根据公式运算符和显示区域的对应关系,确定需要修改的第一公式运算符;根据预先建立的公式运算符和公式运算符集合的对应关系,确定所述第一公式运算符对应的公式运算符集合,并显示确定的所述公式运算符集合;在用户从确定的所述公式运算符集合中选中第二公式运算符后,将所述第一公式运算符替换为所述第二公式运算符。采用本发明实施例的方法能够在排版过程中支持对公式运算符的修改,从而降低了修改公式运算符的复杂度和时间,提高了用户体验和排版效率。
The invention relates to the technical field of typesetting, in particular to a method and device for modifying formula operators, which are used to solve the problem in the prior art that the modification of formula operators is not supported in formula typesetting. The method in the embodiment of the present invention includes: determining the first formula operator to be modified according to the correspondence between the formula operator and the display area; determining the first formula operator according to the correspondence between the pre-established formula operator and the formula operator set The formula operator set corresponding to the formula operator, and display the determined formula operator set; after the user selects the second formula operator from the determined formula operator set, replace the first formula operator is the second formula operator. The method of the embodiment of the present invention can support the modification of formula operators in the typesetting process, thereby reducing the complexity and time of modifying formula operators, and improving user experience and typesetting efficiency.
Description
技术领域technical field
本发明涉及排版技术领域,特别涉及一种修改公式运算符的方法和装置。The invention relates to the technical field of typesetting, in particular to a method and device for modifying formula operators.
背景技术Background technique
在排版技术领域,公式的交互操作是一个非常重要和实用的技术,一种很好的交互设计不仅可以增强公式的排版效果,还可以加快排版效率,降低排版难度和工作量。In the field of typesetting technology, the interactive operation of formulas is a very important and practical technology. A good interactive design can not only enhance the typesetting effect of formulas, but also speed up typesetting efficiency and reduce typesetting difficulty and workload.
目前的排版软件在对公式排版时不支持对公式运算符的修改。如果用户想对公式运算符进行修改,比如替换公式运算符,则用户需要将公式运算附中的数据一起修改。The current typesetting software does not support the modification of formula operators when typesetting formulas. If the user wants to modify the formula operator, such as replacing the formula operator, the user needs to modify the data attached to the formula operation together.
比如用户想把直的分数线替换成斜的分数线,则必须把公式删除(即该运算符和其所带的数据必须一起删除),然后再重新输入新的运算符。For example, if the user wants to replace a straight fraction line with a slanted fraction line, the formula must be deleted (that is, the operator and the data it carries must be deleted together), and then a new operator must be re-entered.
目前排版领域中,如果想要修改公式运算符必须将公式删除,然后在重新输入需要的公式。In the current typesetting field, if you want to modify the formula operator, you must delete the formula, and then re-enter the required formula.
综上所述,目前在公式排版中,不支持对公式运算符的修改,从而增加了修改公式运算符的复杂度和时间,降低了用户体验。To sum up, at present, the modification of formula operators is not supported in formula typesetting, which increases the complexity and time of modifying formula operators and reduces user experience.
发明内容Contents of the invention
本发明实施例提供一种修改公式运算符的方法和装置,用以解决现有技术中存在的在公式排版中,不支持对公式运算符的修改的问题。Embodiments of the present invention provide a method and device for modifying formula operators to solve the problem in the prior art that formula typesetting does not support modification of formula operators.
本发明实施例提供的一种修改公式运算符的方法包括:A method for modifying a formula operator provided by an embodiment of the present invention includes:
根据公式运算符和显示区域的对应关系,确定需要修改的第一公式运算符;According to the corresponding relationship between the formula operator and the display area, determine the first formula operator that needs to be modified;
根据预先建立的公式运算符和公式运算符集合的对应关系,确定所述第一公式运算符对应的公式运算符集合,并显示确定的所述公式运算符集合;determining a formula operator set corresponding to the first formula operator according to the pre-established correspondence between the formula operator and the formula operator set, and displaying the determined formula operator set;
在用户从确定的所述公式运算符集合中选中第二公式运算符后,将所述第一公式运算符替换为所述第二公式运算符方法包括:After the user selects a second formula operator from the determined set of formula operators, the method for replacing the first formula operator with the second formula operator includes:
本发明实施例提供的一种修改公式运算符的装置包括:A device for modifying a formula operator provided by an embodiment of the present invention includes:
运算符确定模块,用于根据公式运算符和显示区域的对应关系,确定需要修改的第一公式运算符;An operator determination module, configured to determine the first formula operator that needs to be modified according to the correspondence between the formula operator and the display area;
集合确定模块,用于根据预先建立的公式运算符和公式运算符集合的对应关系,确定所述第一公式运算符对应的公式运算符集合;A set determination module, configured to determine the set of formula operators corresponding to the first formula operator according to the pre-established correspondence between the formula operators and the set of formula operators;
第一显示模块,用于显示确定的所述公式运算符集合;A first display module, configured to display the determined set of formula operators;
替换模块,用于在用户从确定的所述公式运算符集合中选中第二公式运算符后,将所述第一公式运算符替换为所述第二公式运算符。A replacement module, configured to replace the first formula operator with the second formula operator after the user selects the second formula operator from the determined set of formula operators.
本发明实施例根据公式运算符和显示区域的对应关系,确定需要修改的第一公式运算符;根据预先建立的公式运算符和公式运算符集合的对应关系,确定所述第一公式运算符对应的公式运算符集合,并显示确定的所述公式运算符集合;在用户从确定的所述公式运算符集合中选中第二公式运算符后,将所述第一公式运算符替换为所述第二公式运算符。由于支持对公式运算符的修改,从而降低了修改公式运算符的复杂度和时间,提高了用户体验和排版效率。In the embodiment of the present invention, according to the correspondence between the formula operator and the display area, the first formula operator to be modified is determined; according to the correspondence between the pre-established formula operator and the formula operator set, the corresponding set of formula operators, and display the determined set of formula operators; after the user selects a second formula operator from the determined set of formula operators, replace the first formula operator with the second Two formula operators. Since the modification of the formula operator is supported, the complexity and time of modifying the formula operator are reduced, and the user experience and typesetting efficiency are improved.
附图说明Description of drawings
图1为本发明实施例排版数理化公式数据结构的UML(Unified Modeling Language统一建模语言)示意图;Fig. 1 is the UML (Unified Modeling Language Unified Modeling Language) schematic diagram of the typesetting mathematical formula data structure of the embodiment of the present invention;
图2为本发明实施例数理化公式的数据结构的UML示意图;Fig. 2 is the UML schematic diagram of the data structure of mathematical formula of the embodiment of the present invention;
图3为本发明实施例公式的树状结构图;Fig. 3 is the embodiment formula of the present invention The tree structure diagram;
图4为本发明实施例修改数理化公式数据结构的UML示意图;Fig. 4 is the UML schematic diagram of modifying the data structure of mathematical, physical and chemical formulas according to the embodiment of the present invention;
图5为本发明实施例修改公式运算符的装置结构示意图;5 is a schematic structural diagram of a device for modifying a formula operator according to an embodiment of the present invention;
图6A为本发明实施例显示区域示意图一;FIG. 6A is a schematic diagram of a display area according to an embodiment of the present invention;
图6B为本发明实施例显示区域示意图一。FIG. 6B is a first schematic diagram of a display area according to an embodiment of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810239678XA CN101436309B (en) | 2008-12-15 | 2008-12-15 | Method and device for modifying formula operator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810239678XA CN101436309B (en) | 2008-12-15 | 2008-12-15 | Method and device for modifying formula operator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101436309A CN101436309A (en) | 2009-05-20 |
CN101436309B true CN101436309B (en) | 2011-03-30 |
Family
ID=40710739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810239678XA Expired - Fee Related CN101436309B (en) | 2008-12-15 | 2008-12-15 | Method and device for modifying formula operator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101436309B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033863B (en) * | 2009-09-30 | 2012-07-04 | 北大方正集团有限公司 | Formula manipulation method and system |
JP2015060459A (en) * | 2013-09-19 | 2015-03-30 | カシオ計算機株式会社 | Mathematical expression display control apparatus and program |
CN104572577B (en) * | 2014-12-17 | 2018-09-04 | 百度在线网络技术(北京)有限公司 | Mathematical formulae processing method and processing device |
JP7287417B2 (en) * | 2020-09-16 | 2023-06-06 | カシオ計算機株式会社 | Information processing method, system, information processing device and program |
WO2022059349A1 (en) * | 2020-09-16 | 2022-03-24 | カシオ計算機株式会社 | Information processing method, system, information processing device, and program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1392978A (en) * | 2000-08-24 | 2003-01-22 | 泽姆普莱克斯有限公司 | Method of graphically defining formula |
CN101237465A (en) * | 2007-01-30 | 2008-08-06 | 中国科学院声学研究所 | A Webpage Text Extraction Method Based on Fast Fourier Transform |
-
2008
- 2008-12-15 CN CN200810239678XA patent/CN101436309B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1392978A (en) * | 2000-08-24 | 2003-01-22 | 泽姆普莱克斯有限公司 | Method of graphically defining formula |
CN101237465A (en) * | 2007-01-30 | 2008-08-06 | 中国科学院声学研究所 | A Webpage Text Extraction Method Based on Fast Fourier Transform |
Non-Patent Citations (2)
Title |
---|
史广顺等.数学公式图像的机构理解与重现.《智能系统学报》.2008,第3卷(第5期),401-407. * |
文和平.数学公式的计算机表达.《现代教育技术》.2003,第13卷(第2期),67-70. * |
Also Published As
Publication number | Publication date |
---|---|
CN101436309A (en) | 2009-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101436309B (en) | Method and device for modifying formula operator | |
WO2017083217A1 (en) | Optimizing content for consistent presentation through collaboration database service | |
WO2017028611A1 (en) | Form implementation method and apparatus | |
CN1848108A (en) | Method and apparatus for displaying electronic document including handwritten data | |
JP2012089129A (en) | Screen data operation method | |
CN101763234B (en) | Method and device for simulating various screen resolutions | |
US20160321227A1 (en) | Storing additional document information through change tracking | |
CN102722899A (en) | Positioning printing system for report | |
CN102236516A (en) | Electronic device and control method thereof | |
WO2024140243A1 (en) | Special effect layer editing method and apparatus, electronic device, and storage medium | |
CN107992275A (en) | Document Method of printing, device, computer equipment and storage medium | |
US9767069B2 (en) | Formula display control device, formula display method, and recording medium storing program | |
CN110223044A (en) | A kind of mail push method, system and electronic equipment and storage medium | |
CN105404512A (en) | Application window interface changing method and apparatus | |
CN103049247B (en) | How to annotate on a computer screen | |
CN102171696B (en) | The generation method and apparatus of customization data | |
CN113791760B (en) | Business intelligence dashboard generation method, device, electronic device and storage medium | |
WO2023116216A1 (en) | Data visualization method and apparatus, and device and storage medium | |
US20140282115A1 (en) | System and method for retrieving and selecting content | |
WO2016184292A1 (en) | Self-adaptive electronic bill implementation method and system | |
CN105573769A (en) | Visual configuration method and device of remote control of cement production | |
CN109388812A (en) | A kind of modularization automatic map delivery method and system based on cloud computing | |
CN109800039A (en) | A kind of user interface presentation method, apparatus, electronic equipment and storage medium | |
JP2019219818A (en) | Program, information processing equipment and information processing method | |
CN109446295A (en) | A kind of svg data map edit tool, edit methods and computer-readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110330 Termination date: 20191215 |