JPH03224057A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPH03224057A JPH03224057A JP2018066A JP1806690A JPH03224057A JP H03224057 A JPH03224057 A JP H03224057A JP 2018066 A JP2018066 A JP 2018066A JP 1806690 A JP1806690 A JP 1806690A JP H03224057 A JPH03224057 A JP H03224057A
- Authority
- JP
- Japan
- Prior art keywords
- input
- character
- instruction
- mathematical
- inputting
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、文書を作成1編集し、かつ、算機能を有する
情報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device that can create and edit documents and has arithmetic functions.
数値針
[従来の技術]
従来、文書処理装置はワードプロセッサと呼ばれ、文字
情報を入力して文書を作成9編集することが知られてい
る。Numeric Hand [Prior Art] Conventionally, a document processing device is called a word processor, and it is known that a document is created and edited by inputting character information.
[発明が解決しようとする課題]
このような文書処理装置において、ユーザが数式を入力
するためのキー操作は非常に煩しいものであった。[Problems to be Solved by the Invention] In such document processing devices, key operations for the user to input mathematical formulas are extremely troublesome.
このキー操作手順を第10図を用いて説明する。This key operation procedure will be explained using FIG. 10.
例えば 5X5X7という数式を入力する場合、ユーザ
はJを示す記号Aをキー入力する。For example, when inputting the mathematical expression 5X5X7, the user keys in the symbol A representing J.
次に、直線記号−を所定個数キー入力した後、数字(5
,6,7、)および掛算記号(×)を文字位置順に入力
する。また、ルート記号の中に割算記号などがあるとき
は、ルート記号の画像合成を行ってルート記号を作成す
る。このように、数式を入力するために、ユーザーはそ
の文書処理装置の有する記号キー画像合成処理機能を用
いて数式中の文字や記号を作成しなければならない。Next, after inputting a predetermined number of straight line symbols -, the number (5
, 6, 7, ) and the multiplication sign (x) in the order of character position. Furthermore, if there is a division symbol or the like among the root symbols, the root symbol is created by performing image synthesis of the root symbols. In this way, in order to input a mathematical formula, the user must create the characters and symbols in the mathematical formula using the symbol key image synthesis processing function of the document processing device.
そこで、本発明の目的は、上述の点に鑑みて、数式の入
力に関わるユーザーの文字入力処理を簡素化することが
できる情報処理装置を提供することにある。SUMMARY OF THE INVENTION In view of the above-mentioned points, an object of the present invention is to provide an information processing device that can simplify the character input process for a user involved in inputting mathematical expressions.
[課題を解決するための手段]
このような目的を達成するために、本発明は、数式の演
算および文書の作成が可能な情報処理装置において、数
式の文字入力を行う旨の指示を入力する第1入力手段と
、前記数式の演算のための演算命令を入力する第2入力
手段と、該第2入力手段から入力された演算命令を記憶
しておく記憶手段と、前記第1入力手段から数式の文字
入力の指示がなされたときは、前記記憶手段に記憶され
た演算命令を、当該演算命令の内容を表わす文字コード
列に変換する文字処理手段とを具えたことを特徴とする
。[Means for Solving the Problems] In order to achieve such an object, the present invention provides an information processing device capable of calculating mathematical formulas and creating documents, which inputs an instruction to input characters of a mathematical formula. a first input means, a second input means for inputting an operation instruction for calculating the formula, a storage means for storing the operation instruction inputted from the second input means, and a second input means for inputting an operation instruction for calculating the mathematical formula; The present invention is characterized by comprising character processing means for converting the arithmetic instruction stored in the storage means into a character code string representing the content of the arithmetic instruction when an instruction to input characters of a mathematical formula is given.
[作 用]
本発明では、数式の演算を実行するときには、数式の表
記順で演算命令が入力され、かつ、そのためのキー入力
回数が少いことに着目し、入力された演算命令をその表
記と対応する文字コード列に変換することにより数式の
文字入力を行う。[Function] The present invention focuses on the fact that when executing a calculation on a mathematical formula, the calculation instructions are input in the order in which the formula is written, and the number of keystrokes for this is small. Enter characters in mathematical expressions by converting to the corresponding character code string.
この結果、ユーザーの数式の文字入力のための指示操作
を簡略化することができる。As a result, the user's instruction operation for inputting characters of mathematical formulas can be simplified.
[実施例]
以下、図面を参照して本発明の実施例を詳細に説明する
。[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.
第1図は本発明実施例の基本構成を示す。FIG. 1 shows the basic configuration of an embodiment of the present invention.
第1図において、−点鎖線ブロック1000は数式の演
算および文書の作成が可能な情報処理装置を示す。In FIG. 1, a dashed-dotted line block 1000 indicates an information processing device capable of calculating mathematical formulas and creating documents.
100は数式の文字入力を行う旨の指示を入力する第1
入力手段である。100 is the first input for inputting the instruction to input the characters of the formula.
It is an input means.
200は前記数式の演算のための演算命令を入力する第
2入力手段である。Reference numeral 200 denotes a second input means for inputting an operation instruction for calculating the above-mentioned formula.
300は該第2入力手段から入力された演算命令を記憶
してお(記憶手段である。Reference numeral 300 stores the arithmetic instructions input from the second input means (storage means).
400は前記第1入力手段から数式の文字入力の指示が
なされたときは、前記記憶手段に記憶された演算命令を
、当該演算命令の内容を表わす文字コード列に変換する
文字処理手段である。Reference numeral 400 denotes a character processing means for converting an arithmetic instruction stored in the storage means into a character code string representing the content of the arithmetic instruction when an instruction to input characters of a mathematical formula is given from the first input means.
第2図は本発明実施例の回路構成の一例を示す。FIG. 2 shows an example of a circuit configuration according to an embodiment of the present invention.
図において、1はラスクスキャン方式で使用されるCR
T表示部であり、2は一画面分の表示文字パターン情報
をドツト情報の形態で記憶するビデオRAM (VRA
M)である。3はVRAM2に対するパターン情報の書
き込みを行い、VRAM2のパターン情報を読み出し、
CRT表示部1へ出力するための制御を実行する制御部
(表示器用コントローラ)である。4は作成された文書
を出力するためのプリンタであり、8は後述する第3図
、第4図、第5図に示す制御プログラムや作成対象の文
書データを格納するための主メモリである。7はマイク
ロプロセッサ(MPU)であり、この装置の主制御を行
なう。In the figure, 1 is the CR used in the Rusk scan method.
2 is a video RAM (VRA) that stores display character pattern information for one screen in the form of dot information.
M). 3 writes pattern information to VRAM2, reads pattern information from VRAM2,
This is a control unit (display controller) that executes control for outputting to the CRT display unit 1. 4 is a printer for outputting the created document, and 8 is a main memory for storing control programs and document data to be created as shown in FIGS. 3, 4, and 5, which will be described later. A microprocessor (MPU) 7 performs main control of this device.
MPU7には文字データ等の入力等の入力を行なうキー
ボード入力装置(KBD) 5、及び、CRT上の位置
の指定等を行ない図形データの入力編集等を行なうポイ
ンティングデバイス(PD) 6が接続されている。1
0はハードディスク装置であり、このなかに文書ファイ
ルや表計算ファイル、文字フォントが格納される。11
は文書ファイル等の保存等を行なうためのフロッピディ
スク記憶装置である。これらの各構成ブロックはI10
バス9で接続されている。Connected to the MPU 7 are a keyboard input device (KBD) 5 for inputting character data, etc., and a pointing device (PD) 6 for specifying positions on the CRT and inputting and editing graphic data. There is. 1
0 is a hard disk device in which document files, spreadsheet files, and character fonts are stored. 11
is a floppy disk storage device for storing document files and the like. Each of these building blocks is I10
They are connected by bus 9.
本実施例において、キーボード入力装置5が第1入力手
段および第2入力手段として動作する。In this embodiment, the keyboard input device 5 operates as a first input means and a second input means.
また、MPU7が文字処理手段として動作する。さらに
ハードディスク記憶装置lOが記憶手段として動作する
。Further, the MPU 7 operates as a character processing means. Furthermore, a hard disk storage device IO operates as a storage means.
本実施例では、文書処理装置が表の作成を行なう際に数
式の演算を実行させる点に着目し、キーボード入力装置
5から入力された数式の演算命令をハードディスク記憶
装置10に記憶してお(。次に、文書作成の際には入力
された演算命令をMPU7により文字コード列に変換す
ることにより、文書処理に関わるユーザーの数式の入力
を簡素化する。In this embodiment, attention is paid to the fact that the document processing device executes mathematical formula calculations when creating a table, and the mathematical formula calculation instructions inputted from the keyboard input device 5 are stored in the hard disk storage device 10 ( Next, when creating a document, the MPU 7 converts the input arithmetic instructions into a character code string, thereby simplifying the input of mathematical formulas by the user involved in document processing.
このために本実施例では第3図の表示画面Pに示すよう
に、数式(F7)の演算命令が入力された箇所を座標入
力装置(マウス)6により位置指定し、この位置で入力
された数式を文字情報23として第3図の表示画面Rに
文字パターンで表示させる。For this purpose, in this embodiment, as shown on the display screen P in FIG. The mathematical formula is displayed as character information 23 on the display screen R in FIG. 3 in a character pattern.
このような機能を達成するための第2図の回路の動作を
次に説明する。The operation of the circuit shown in FIG. 2 to accomplish this function will now be described.
なお、予め作成された第3図の表はハードディスク記憶
装置10の表計算ファイル1に格納されているものとす
る。また、第3図の指定領域16のファイル情報は数値
“0.7°“であり、ユーザー〇「7の演算命令に対す
る演算の結果が用いられている。このときの演算命令が
、その演算結果の格納位置と対応させて、第9図のデー
タXに示すようなコードフォーマットの形態でハードデ
ィスク装置10に格納されている。It is assumed that the previously created table of FIG. 3 is stored in the spreadsheet file 1 of the hard disk storage device 10. In addition, the file information in the specified area 16 in FIG. The data is stored in the hard disk drive 10 in a code format as shown in data X in FIG.
ユーザーは文書作成モードにおける第3図の表示画面Q
において、キーボード入力装置5から画面の切換えの指
示を行って、コピ一対象の数式を用いた表、すなわち、
第3図の表示画面Pを従来手法により表示させる。次に
座標入力装置6により領域16を指定する、次にこの領
域に対応して予めハードディスク記憶装置lOに記憶さ
れている数式(E7)の演算命令をMPLI7により主
メモリ8に読出しく切出し)する(第4図のステップ5
100)。The user can use the display screen Q in Figure 3 in document creation mode.
, an instruction is given to switch the screen from the keyboard input device 5, and a table using the formula to be copied, that is,
The display screen P shown in FIG. 3 is displayed using a conventional method. Next, the area 16 is specified using the coordinate input device 6, and then the operation instruction for the mathematical formula (E7), which is stored in advance in the hard disk storage device IO, corresponding to this area is read out and cut out into the main memory 8 using the MPLI 7. (Step 5 in Figure 4)
100).
続いて読出しの演算命令の構成内容をMPU7により解
析し、第9図に示すようにこの演算命令を文字処理用の
コードフォーマットに変換する(第4図のステップ52
00)。Next, the configuration contents of the read arithmetic instruction are analyzed by the MPU 7, and as shown in FIG. 9, this arithmetic instruction is converted into a code format for character processing (step 52 in FIG. 4).
00).
次に、MPU7は表示画面を文字処理モードに戻し、上
述の変換した文字コード列を第3図の表示画面Rに示す
ように文字パターン(F7)で表示する(第4図のステ
ップ5300)。Next, the MPU 7 returns the display screen to the character processing mode and displays the above-mentioned converted character code string in a character pattern (F7) as shown on the display screen R of FIG. 3 (step 5300 of FIG. 4).
第5図は第4図のステップ5100の詳細な処理手順を
示す。FIG. 5 shows the detailed processing procedure of step 5100 in FIG.
すなわち、座標入力装置6によってセル(領域)の範囲
指定を行なう(ステップSl、 S2)。それによって
得られた表示画面中(第3図の表示画面P中)の矩形の
領域を反転表示しくステップS3)、ユーザーのエンタ
(ENTER)キーの入力によって指定領域の範囲を確
定する(ステップS4)。その確定した領域の演算命令
を主メモリ8内のバッファにコピーする(ステップS5
)。That is, the range of the cell (area) is specified using the coordinate input device 6 (steps Sl, S2). The rectangular area in the display screen (display screen P in FIG. 3) thus obtained is displayed in reverse (step S3), and the range of the designated area is determined by the user's input of the ENTER key (step S4). ). Copy the operation instructions in the determined area to the buffer in the main memory 8 (step S5
).
なお、本例では文書作成のために用いる数式を表の表示
画面中でまとめて指定し、切出したデータについては切
出しのファイル番号やファイル名称を付加して記憶して
おく。In this example, the mathematical formulas used to create the document are collectively designated on the table display screen, and the extracted data is stored with the extracted file number and file name added.
次に数式演算命令を文字コード列に展開するための詳細
な処理を第6図に示す。Next, FIG. 6 shows detailed processing for expanding a mathematical operation instruction into a character code string.
すなわち、MPU7は上記切出しデータファイルを表示
画面中に表示させた後、座標入力装置6からの指定によ
り、切出しデータファイル中の演算命令を選択する(ス
テップ86〜S7)。次に選択データが表からの切出し
データであること、また、データの種類が数式であるこ
とをデータのコード内容によりMPU7において、判定
し、選択の切出しデータを文字データに変換する(ステ
ップS11〜516)。That is, after displaying the above-mentioned cut-out data file on the display screen, the MPU 7 selects an operation instruction in the cut-out data file according to the designation from the coordinate input device 6 (steps 86 to S7). Next, the MPU 7 determines that the selected data is cut-out data from a table and that the data type is a mathematical formula based on the code content of the data, and converts the selected cut-out data into character data (steps S11 to 516).
この文字データへの変換処理の詳細を第7図に示す。The details of this conversion process to character data are shown in FIG.
すなわち、選択された切出しデータを主メモリ8内のバ
ッファから読出し、切出データの示す演算命令の種類を
規定のコードとの比較により識別する。That is, the selected cut-out data is read from the buffer in the main memory 8, and the type of arithmetic instruction indicated by the cut-out data is identified by comparison with a prescribed code.
たとえばJの演算命令は、まず、第9図のコードXに示
すようにルートの演算を指示するコマンド101により
、第7図のステップS17において、変換対象のコード
がルートの演算命令であることが検出され、ルートコマ
ンド101がルート記号の始まりを示すコード201(
第9図参照)に変換される。続いて、読出された割算コ
マンド102はステップ25において分数記号の始まり
を示すコマンド202に変換される。以下、数式の演算
コマンド類に従って、数値コードは数字コードに割算コ
ードは分数記号に変換される。また、変数記号はその変
数の表わす文字に変換する。また、式の終了を示すコー
ドを検出したときには分数記号やルート記号の終了を示
す記号を付加する。このような手順を実行することによ
りFVの演算命令は第9図のコードXからコードYの文
字コード列に変換される(ステップ530)。For example, for the calculation instruction J, first, as shown in code detected, and the root command 101 has a code 201 (
(see Figure 9). Subsequently, in step 25, the read division command 102 is converted into a command 202 indicating the beginning of a fraction symbol. Thereafter, numerical codes are converted into numerical codes and division codes are converted into fraction symbols according to the calculation commands of the mathematical expressions. Also, variable symbols are converted into the characters represented by the variables. Furthermore, when a code indicating the end of the expression is detected, a symbol indicating the end of the fraction symbol or root symbol is added. By executing such a procedure, the FV arithmetic instruction is converted into a character code string from code X to code Y in FIG. 9 (step 530).
以上、説明したように、本実施例では演算目的で入力さ
れた演算命令を演算を実行後も記憶しておき、演算命令
を文字コード列に自動変換することによりその演算命令
(数式)を文字列として入力する。As explained above, in this embodiment, the calculation instructions input for the purpose of calculation are stored even after the calculation is executed, and the calculation instructions (mathematical formula) are converted into character code strings by automatically converting the calculation instructions into character code strings. Enter as a column.
このためユーザーは文字入力対象の演算命令を選択する
処理のみを行えばよく、従来のように数式記号を作成す
るための煩雑な処理を行う必要はない。Therefore, the user only has to perform the process of selecting an arithmetic instruction for character input, and there is no need to perform the complicated process of creating mathematical symbols as in the past.
本実施例の他に次の例を挙げることができる。In addition to this embodiment, the following examples can be given.
■)サイン(Sin) 、 ロガリズム(Log)な
どの数式の演算を指示する専用のキーがキーボード入力
装置5に具わっているときは、文書処理モードにおいて
、たとえばサインキーが押下されたときは、そのキーコ
ード入力に応じてMPU7により第7図の手順により文
字コード列”Sin”を作成するようにしてもよい。■) When the keyboard input device 5 is equipped with a dedicated key for instructing calculation of mathematical expressions such as sine (Sin) and logarithm (Log), when the sign key is pressed in the document processing mode, for example, In response to the key code input, the MPU 7 may create the character code string "Sin" according to the procedure shown in FIG.
2)また、ルート記号のようにルート記号の中に含まれ
る文字数が異なることもあり得る場合はその文字数を計
数し、ルート記号の直線部分の長さを決定することもで
きる。2) Furthermore, when the number of characters included in a root symbol may be different, such as a root symbol, the length of the straight portion of the root symbol can be determined by counting the number of characters.
このように可変長となる数式記号についてはその文書処
理装置に持つ文字フォントに合わせて、文字合成を行え
ばよい。For mathematical symbols having variable lengths, character synthesis may be performed in accordance with the character font of the document processing device.
3)本実施例では文書処理装置を例としているが文書処
理機能を有するパーソナルコンピュータなどの計算機に
本発明を適用できることは言うまでもない。3) In this embodiment, a document processing device is used as an example, but it goes without saying that the present invention can be applied to a computer such as a personal computer having a document processing function.
[発明の効果]
以上、説明したように、本発明によれば、数式を文字入
力する際には、数式の演算命令形態で入力し、その後、
文字コード列に自動変換するので、ユーザーの入力回数
を減少し、簡素化することが可能となる。また、演算目
的のために入力した演算命令を文字入力用に転用するこ
とも可能となるので、文字入力処理の時間を短縮するこ
とが可能となるという効果も得られる。[Effects of the Invention] As described above, according to the present invention, when inputting a numerical formula in characters, the formula is input in the form of an operation command, and then,
Since it is automatically converted into a character code string, it is possible to reduce and simplify the number of user inputs. Furthermore, since it becomes possible to divert arithmetic instructions input for the purpose of calculation to character input, it is also possible to obtain the effect that the time for character input processing can be shortened.
第1図は本発明実施例の基本構成を示すブロック図、
第2図は本発明実施例の具体的な回路構成を示すブロッ
ク図、
第3図は数式の文字入力に関する表示例を示す説明図、
第4図は第2図のMPU7が実行する数式の文字入力の
ための主制御手順を示すフローチャート、第5図〜第7
図は第4図の処理の詳細手順を示すフローチャート、
第8図は本発明実施例における変換対象の演算命令の格
納フォーマットを示す説明図、第9図は本発明実施例に
おける演算命令の文字コードへの変換例を示す説明図、
【ま
第101稲来例の数式の文字入力手順を示す説明図であ
る。
■・・・CRT・表示部。
5・・・キーボード入力装置(KBD)6・・・座標入
力装置(PD)、
7・・・中央演算処理装置(MPU)、8・・・主メモ
リ、
lO・・・ハードディスク記憶装置。
第4図
第S図Fig. 1 is a block diagram showing the basic configuration of an embodiment of the present invention, Fig. 2 is a block diagram showing a specific circuit configuration of an embodiment of the invention, and Fig. 3 is an explanatory diagram showing an example of display related to character input of mathematical formulas. , FIG. 4 is a flowchart showing the main control procedure for inputting characters of mathematical formulas executed by the MPU 7 in FIG. 2, and FIGS.
The figure is a flowchart showing the detailed procedure of the process shown in Fig. 4, Fig. 8 is an explanatory diagram showing the storage format of the arithmetic instruction to be converted in the embodiment of the present invention, and Fig. 9 is the character code of the arithmetic instruction in the embodiment of the present invention. An explanatory diagram illustrating an example of conversion to , and an explanatory diagram illustrating a character input procedure for a mathematical formula in the 101st Inaki example. ■...CRT/display section. 5... Keyboard input device (KBD) 6... Coordinate input device (PD), 7... Central processing unit (MPU), 8... Main memory, lO... Hard disk storage device. Figure 4 Figure S
Claims (1)
において、 数式の文字入力を行う旨の指示を入力する第1入力手段
と、 前記数式の演算のための演算命令を入力する第2入力手
段と、 該第2入力手段から入力された演算命令を記憶しておく
記憶手段と、 前記第1入力手段から数式の文字入力の指示がなされた
ときは、前記記憶手段に記憶された演算命令を、当該演
算命令の内容を表わす文字コード列に変換する文字処理
手段と を具えたことを特徴とする情報処理装置。[Scope of Claims] 1) In an information processing device capable of calculating mathematical formulas and creating documents, a first input means for inputting an instruction to input characters of a mathematical formula; and a calculation instruction for calculating the mathematical formulas. a second input means for inputting a formula; a storage means for storing arithmetic instructions input from the second input means; and when an instruction to input characters of a mathematical formula is given from the first input means, the storage means 1. An information processing device comprising character processing means for converting an arithmetic instruction stored in the computer into a character code string representing the content of the arithmetic instruction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018066A JPH03224057A (en) | 1990-01-30 | 1990-01-30 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018066A JPH03224057A (en) | 1990-01-30 | 1990-01-30 | Information processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03224057A true JPH03224057A (en) | 1991-10-03 |
Family
ID=11961305
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018066A Pending JPH03224057A (en) | 1990-01-30 | 1990-01-30 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03224057A (en) |
-
1990
- 1990-01-30 JP JP2018066A patent/JPH03224057A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3388451B2 (en) | Handwriting input device | |
| JP2681627B2 (en) | Document creation and editing device | |
| JPH03224057A (en) | Information processor | |
| JPH0464089B2 (en) | ||
| JPH0252299B2 (en) | ||
| JPH0470962A (en) | Data processor | |
| JP2657091B2 (en) | Document creation device | |
| JP3404770B2 (en) | Document processing device | |
| JPS6375964A (en) | Table creation method | |
| JPH1185948A (en) | Information processing apparatus and method | |
| JPH09198375A (en) | Formula / Chemical formula input editing method | |
| JP2821002B2 (en) | Character processing device and character processing method | |
| JP3612757B2 (en) | Document creation device | |
| JP2570070B2 (en) | Electronic display | |
| JP2011186177A (en) | Computer emulation device, computer, and program | |
| JPH03228174A (en) | Character processor | |
| JPH04169926A (en) | Graphic processor | |
| JPH10232948A (en) | CAD character string editing apparatus and method, and computer-readable recording medium recording CAD character string editing program | |
| JPH04282755A (en) | Word processor | |
| JPH10149357A (en) | Undo processing device and undo processing method | |
| JPS63314629A (en) | Document producing device | |
| JPH06214986A (en) | Document creation device | |
| JPH0431958A (en) | document processing device | |
| JPH01113828A (en) | Document editing device | |
| JPS61223976A (en) | Document creation and editing device |