JPH038069A - Information processor - Google Patents

Information processor

Info

Publication number
JPH038069A
JPH038069A JP63144062A JP14406288A JPH038069A JP H038069 A JPH038069 A JP H038069A JP 63144062 A JP63144062 A JP 63144062A JP 14406288 A JP14406288 A JP 14406288A JP H038069 A JPH038069 A JP H038069A
Authority
JP
Japan
Prior art keywords
document
numerical
cursor
window
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
JP63144062A
Other languages
Japanese (ja)
Inventor
Hirokazu Ishida
浩和 石田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP63144062A priority Critical patent/JPH038069A/en
Publication of JPH038069A publication Critical patent/JPH038069A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To efficiently execute numerical calculation processing in the middle of document processing even when a document includes a lot of numerical data by providing function for both character preparation and numerical calculation by moving a cursor which instructs a character input position in the document. CONSTITUTION:In a state 15 exclusive for character input, a character is inputted to a cursor position 17 and in a numerical calculation state 16, a numerical value is inputted and calculated in an window 18 for calculation. The function to exchange the numerical data between the two states 15 and 16 is realized by numerical data fetch function to fetch the numerical data from the position of the cursor 17 into the window 18 in the state 16 and numerical data take-out function to take-out the numerical data from the inside of the window 18 to the position of the cursor 17 in the document. When the data are fetched into the window 18 and the document data in the position of the cursor 17 are the numerical values, the train of figures in a range from the position of the cursor 17 into the window 18 in a line head position is copied into the window 18. When the data are taken-out from the inside of the window 18, the train of the figures displayed in the window 18 is copied from the position of the cursor 17 in the document in the line head direction.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は汎用または特殊の文書作成用情報処理装置に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a general-purpose or special-purpose document creation information processing device.

[従来の技術1 文書処理の際に用いられる従来の数値計算機能は、単独
の補助機能として数値計算処理を行い、文書データとは
無関係に数値計算機能を利用するか、または文書内の数
値計算機能を起動する萌のカーソル位置に数値計算結果
を入力するためだけのものであった。したがって、文書
作成の途中で数値計算機能が起動された状態では数値計
算処理のみが行われるため、文書内の任意の場所を参!
1.@しながら数値計算を行う場合は一度数値計算機能
を終了した後、文書内の文字入力位置を指示するカーソ
ルを移動して再度数値計算機能を起動する必要があった
[Prior art 1] Conventional numerical calculation functions used in document processing either perform numerical calculation processing as a stand-alone auxiliary function, use the numerical calculation function independently of document data, or use numerical calculation functions within the document. It was only for inputting numerical calculation results to Moe's cursor position to activate the function. Therefore, if the numerical calculation function is started in the middle of document creation, only numerical calculation processing will be performed, so you can refer to any location in the document!
1. When performing numerical calculations while @, it was necessary to exit the numerical calculation function, move the cursor that indicates the character input position in the document, and start the numerical calculation function again.

[発明が解決しようとする課題] 前述の従来技術では、文書作成の際に文書内に混在する
数値データを参照しながら数値計算を行う場合、文書処
理と数値計算処理の切り替え、文書内における入力位置
の移動、データの入力などの操作が煩雑になるという問
題点を有する。そこで本発明はこのような問題点を解決
するために、文書処理機能と数値計算処理機能の間で機
能の一部を共通化し、かつ互いにデータのやり取りを可
能にすることによって、数値計算の際の文書データの参
照および数値人力・計算処理を容易にすることにし、文
書が多数の数値データを含む場合にも文書処理の途中で
効率よく数値計算処理を行う手段を提供することを目的
とする。
[Problems to be Solved by the Invention] In the above-mentioned conventional technology, when numerical calculations are performed while referring to numerical data mixed in the document when creating a document, it is difficult to switch between document processing and numerical calculation processing, and to input data within the document. This has the problem that operations such as moving the position and inputting data become complicated. Therefore, in order to solve these problems, the present invention shares part of the functions between the document processing function and the numerical calculation processing function, and enables them to exchange data with each other. The purpose of the present invention is to provide a means to efficiently perform numerical calculation processing during document processing even when a document contains a large amount of numerical data. .

[課題を解決するための手段] 少なくとも文書作成機能を有する情報処理装置において
、文書内の文字入力位置を指示するカーソルの移動によ
って文書作成機能と数値計算機能の少なくとも両機能を
備克ていることを特徴とする情報処理装置。
[Means for solving the problem] In an information processing device having at least a document creation function, at least both functions of a document creation function and a numerical calculation function are provided by moving a cursor that indicates a character input position in a document. An information processing device characterized by:

(実 施 例1 第1図は、本発明を用いた情報処理装置における文書作
成時の各状態と使用可能な機能との関係を示している。
(Embodiment 1) FIG. 1 shows the relationship between each state at the time of document creation and available functions in an information processing apparatus using the present invention.

文書作成時に可能な2つの状態は、文字入力専用状態1
と数値計算専用状態2であり、キー操作によって相互に
移行する。1の状態で使用可能なのは、通常の文字入力
機能3.2の状態で使用可能なのは、数値計算機能5と
文書内との数値データやり取り6であり、4のカーソル
(および計算用窓)の移動は、1と2のどちらの状態で
も使用可能である。
There are two possible states when creating a document: character input only state 1
and numerical calculation only state 2, which can be switched to each other by key operation. In state 1, you can use the normal character input function 3. In state 2, you can use numerical calculation function 5 and exchange numerical data within the document 6, and move the cursor (and calculation window) in 4. can be used in either state 1 or 2.

第2図は、第1図で示された1:す能構成に基づく文書
作成時の全体的な処理の流、れを示している。
FIG. 2 shows the overall process flow when creating a document based on the 1:function configuration shown in FIG.

文書作成時のキー人力に対して、まず7で現在の状態が
文字入力専用状態であるか数値計算専用状態であるかを
判別して分岐し、次にそれぞれの処理の中で人力された
キーの判別・分岐を行う、7で現在の状態が数値計算専
用状態ならば、入力されたキーが、数字または演算のキ
ーの場合は数値人力または計算を行う処理8を実行し、
状態変更用のキーの場合は現在の状態を文字入力専用状
態に移行する処理9を実行し、数値データ取り込み取り
出し用のキーの場合は数値データの複写による取り込み
・取り出しを行う処理10を実行し、カーソル移動用の
キーに対してはカーソルおよび計算用窓を移動する処理
11を実行して、再びキー人力待ち状態に戻る。7で現
在の状態が文字人力専用状態ならば、入力されたキーが
、文字キー(数字・演算キーを含む)の場合は文字入力
を行う処理12を実行し、状態変更用のキーの場合は現
在の状態を数値入力専用状態に移行する処理13を実行
し、カーソル移動用のキーに対してはカーソルを移動す
る処理14を実行して、再びキー人力待ち状態に戻る。
Regarding key input during document creation, first, in step 7, it is determined whether the current state is a character input only state or a numerical calculation only state, and branching is performed, and then in each process, the key manually entered is determined. In step 7, if the current state is a numerical calculation only state, if the input key is a numerical or calculation key, perform numerical manual or calculation processing 8;
In the case of a key for changing the state, process 9 is executed to shift the current state to a character input only state, and in the case of a key for importing and retrieving numerical data, processing 10 is executed for importing and retrieving numerical data by copying it. , for the cursor movement key, the process 11 for moving the cursor and calculation window is executed, and the process returns to the state of waiting for human input. In step 7, if the current state is a character-only state, if the input key is a character key (including numeric/arithmetic keys), execute process 12 for character input; if it is a key for changing the state, execute process 12. A process 13 for shifting the current state to a numerical input only state is executed, a process 14 for moving the cursor is executed for keys for cursor movement, and the process returns to the key manual input waiting state again.

第3図は、本発明を用いた・清報処理装置の文書作成時
の2つの状態である文字人力専用状態15と数値計算専
用状態16の画面例を示している615、I6のどちら
の状態においても文書内には文字データとともに数値デ
ータが混在し、文書内の大カイ装置を示すカーソル17
が表示されている8数値計算専用状態16では、さらに
カーソル位置に数値計算用の表示を行う窓18(以下、
計算用窓という)が開設されている。したがって状態変
更用のキー操作による15と16の状態の相互の移行に
よって変化するのは、計算用窓工8の有無であり、カー
ソル17は15.16のどちらの状態でも表示されたま
まである。
FIG. 3 shows screen examples of the two states of the information processing device according to the present invention when creating documents: a state 15 dedicated to text manual labor and a state 16 dedicated to numerical calculation.Which state is 615 or I6? Even in , the document contains numerical data as well as character data, and the cursor 17 indicating the major device in the document
In the numerical calculation only state 16 where is displayed, a window 18 (hereinafter referred to as
A calculation window) has been opened. Therefore, what changes when the state changes between states 15 and 16 by operating the state change key is the presence or absence of the calculation window 8, and the cursor 17 remains displayed in either state 15 or 16.

文字入力専用状態15ではカーソル位置への文字入力が
行われ、数値計算専用状態16では計算用窓18内にお
いて数値入力・計算が行われる。
In the character input only state 15, characters are input to the cursor position, and in the numerical calculation only state 16, numerical values are input and calculated within the calculation window 18.

またカーソルの移動が指示された場合は、15.16の
どららの状態においても上下左右および文頭・文末・行
頭・行末へのカーソル17の移動が行われる。その際に
数値計算専用状態16では、カーソル17とともに計算
用窓18が付随した状態で移動する。移動に際しては、
文書内における位置の変化に応じて画面がスクロールす
る。
Furthermore, when the cursor movement is instructed, the cursor 17 is moved up, down, left and right, and to the beginning of the sentence, the end of the sentence, the beginning of the line, and the end of the line even in the dora state of 15.16. At this time, in the numerical calculation only state 16, the cursor 17 moves with the calculation window 18 attached thereto. When moving,
The screen scrolls as the position within the document changes.

15.16の2つの状態の間で′ll値デークをやり取
りする機能は、16の数値計算専用状態において文書内
のカーソル位置から計算用窓内への数値データ取り込み
機能および計算用窓内から文書内のカーソル位置への数
値データ取り出し機能によって実現される。計算用ぎ内
への取り込みでは、カーソル位置の文書データが数値な
らば、そこから行頭方向へ計算用窓内へはいる範囲の数
字列を計算用窓内へ複写する。計算用窓内からの取り出
しでは、計算用窓内に表示されている数字列を文書内の
カーソル位置から行頭方向へ複写する。
15. The function of exchanging 'll value data between the two states of 16 is the function of importing numerical data from the cursor position in the document into the calculation window and the function of importing numerical data from the cursor position in the document into the calculation window in the numerical calculation-only state of 16. This is realized by the function of retrieving numerical data to the cursor position within. When importing data into the calculation window, if the document data at the cursor position is a numerical value, the number string within the range that enters the calculation window from there in the direction of the beginning of the line is copied into the calculation window. When retrieving data from within the calculation window, the number string displayed within the calculation window is copied from the cursor position in the document toward the beginning of the line.

第4図は、文字入力専用状態と数値計算専用状態とで共
通の機能として扱った、カーソルおよび計算用窓の移動
の機能のうち、数値計算専用状態にのみ特徴的な文頭ま
たは文末方向で文書内の数値データを検索してその最下
位桁に移動するというさらに付加的な(幾能の処理を示
している。この処理では、まず19で計算用窓に関する
全ての画面データを保存した後、20で計算用窓のない
状態で現在の全画面を再表示することによって計算用窓
を消去する。次に21で現在のカーソル位置に相当する
文書データが数字であるかどうかを調べる。もし数字で
なければ、22で文末までに次の数字があるかどうかを
検索し、見つからなければ現在の状態のまま26で文書
の再表示をした後、27で19において保存しておいた
計算用窓の画面データを復帰させることによって元の状
態へ戻る。22で検索した結果文末までに次の数字が見
つかれば、行末までのうちその数字列の最下位桁を新し
いカーソル位置として26.27の処理を行い元の状態
へ戻る。21の判別で現在のカーソル位置に相当する文
書データが数字であった場合は、23でそれがすでに行
末までの数字列の最下位桁にあるかどうかを調べる、も
しすでに最下位桁であれば21で現在のカーソル位置が
数字でない場合と同様の処理を行い、もしまだ最下位桁
になければ24で現在のカーソルがある数字列の行末ま
でのうちの最下位桁を新しいカーソル位置として26.
27の処理を行い元の状態へ戻る。
Figure 4 shows the function of moving the cursor and calculation window, which is treated as a common function in the character input-only state and the numerical calculation-only state. This shows a further additional process of searching for the numerical data within and moving to the least significant digit. In this process, first, in step 19, all screen data related to the calculation window is saved, and then At step 20, the calculation window is erased by redisplaying the current entire screen without the calculation window.Next, at step 21, it is checked whether the document data corresponding to the current cursor position is a number.If the number is If not, search for the next number before the end of the sentence in step 22, and if it is not found, redisplay the document in its current state in step 26, and then use the calculation window saved in step 19 in step 27. Return to the original state by restoring the screen data.If the next number is found by the end of the sentence as a result of searching in step 22, the lowest digit of that number string up to the end of the line is set as the new cursor position and the process in step 26.27 is performed. If the document data corresponding to the current cursor position is a number in the determination in step 21, check in step 23 whether it is already in the lowest digit of the number string up to the end of the line. If it is already the least significant digit, use 21 to perform the same processing as if the current cursor position is not a number, and if it is not yet the least significant digit, use 24 to move to the lowest digit of the numeric string where the current cursor is located up to the end of the line. 26. Set digit as new cursor position.
27 and returns to the original state.

以上のような構成の機能により、文書作成中の特定のキ
ー操作に応じて、文書内の文字入力位置を指示するカー
ソルと同時に数値計算用の表示を行う計算用窓も表示さ
れた状態になり1文書内のカーソルの移動と同様の操作
によって同時に計算用窓も文書内の任意の位置に移動す
る。それによって、数値計算機能が起動されたままの状
態で文書内の任意の位置を参照でき、さらに文書内にお
ける位置を特定できるため1文書内の数値データ間の移
動、文書内の任意の場所での文書から数値計算機能への
数値データ取り込み、および数値計算機能から文書への
数値データ取り出しの機能を実現することが可能になる
。したがってこれらの機能を組み合わせて用いることに
よって、数値計算処理を行いながら文書内に散在する多
数の数値データに関する入力、数値計算、更新などの処
理を効率よ〈実施することができる。たとえば、文書内
の表などの特定位置をカーソルが示したままで次の数値
データを検索してその場所へ移動しながら次々にそこの
数値を数値計算機能に取り込んで加算していき、その数
値計算結果を別の場所に書き込むような作業に利用する
ことができ、数値計算専用の状態であっても、文書内の
任意の部分をカーソル移動で画面に表示させて参照しな
がら計算を行ったり、文書内から数値データを取り込ん
で計算を行い、文書内の別の場所に取り出すことが可能
になる。
With the functions configured as described above, in response to a specific key operation while creating a document, a calculation window that displays numerical calculations will be displayed at the same time as a cursor that indicates the character input position in the document. Simultaneously, the calculation window is moved to an arbitrary position within the document by the same operation as moving the cursor within one document. This allows you to refer to any position in the document while the numerical calculation function is activated, and also allows you to specify the position within the document, allowing you to move between numerical data within a document, and to move from any position within the document. It becomes possible to realize functions of importing numerical data from a document into a numerical calculation function and retrieving numerical data from a numerical calculation function to a document. Therefore, by using these functions in combination, it is possible to efficiently carry out processing such as input, numerical calculation, and updating of a large number of numerical data scattered within a document while performing numerical calculation processing. For example, with the cursor still pointing at a specific position such as a table in a document, you can search for the next numerical data, move to that location, import the numerical values one after another into a numerical calculation function, add them, and then perform the numerical calculation. It can be used for tasks such as writing results to another location, and even if it is only for numerical calculations, you can move the cursor to display any part of the document on the screen and perform calculations while referring to it. It becomes possible to import numerical data from within a document, perform calculations, and retrieve it to another location within the document.

〔発明の効果] 以上述べたように本発明によれば、文書内における数値
計算機能が起動されたままの状態で文書内を自由に移動
でき、文書内の任意の場所を参照およびデータのやり取
りを行いながら数値計算を行うことができるため、文書
作成の際の数値計算処理に必要となる、文書白文字人力
位置を指示するカーソルの移動、数値の入力、数値計算
、数値の更新などの煩雑な手続きを大幅に削減すること
ができる。特に文書内に文字データとともに多数の数値
データが混在し、文書作成だめの文字人力の途中で頻繁
に数値計算処理を行う必要があるような場合、数値デー
タ間の移動、文書と数値計算機能との間の数値データや
り取りの機能などを演算機能を組み合わせて用いること
によって効率的に処理することが可能になるという効果
を有する。
[Effects of the Invention] As described above, according to the present invention, it is possible to freely move within a document while the numerical calculation function within the document is activated, and it is possible to refer to any location within the document and exchange data. This allows you to perform numerical calculations while creating documents, which eliminates the hassle of manually moving a cursor to indicate the position of white text in a document, inputting numerical values, calculating numerical values, and updating numerical values, which are necessary for numerical calculation processing when creating documents. procedures can be significantly reduced. Especially when a document contains a large amount of numeric data along with text data, and it is necessary to perform numeric calculations frequently during the process of text creation, it is necessary to move between numeric data and to connect the document and numeric calculation functions. This has the effect of making it possible to process efficiently by using the function of exchanging numerical data between them in combination with the arithmetic function.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の情報処理装置における文字入力と数
値計算に関する状態と機能の構成を示したブロック図。 第2図は、本発明の情報処理装置における文字入力と数
値計算に関する全体的な処理の流れ図。 第3図は、本発明の情報処理装置における文字入力専用
状態および数値計算専用状態の画面図。 第4図は、 本発明の情報処理装置の数値計算専 用状態における数値量移動 (文末方向の場合) の 処理を示した流れ図。 以 上
FIG. 1 is a block diagram showing the state and functional configuration regarding character input and numerical calculation in the information processing apparatus of the present invention. FIG. 2 is a flowchart of the overall processing regarding character input and numerical calculation in the information processing apparatus of the present invention. FIG. 3 is a screen diagram of a character input only state and a numerical calculation only state in the information processing apparatus of the present invention. FIG. 4 is a flowchart showing the process of moving a numerical value (in the direction of the end of a sentence) in the numerical calculation-only state of the information processing apparatus of the present invention. that's all

Claims (1)

【特許請求の範囲】[Claims] 少なくとも文書作成機能を有する情報処理装置において
、文書内の文字入力位置を指示するカーソルの移動によ
って文書作成機能と数値計算機能の少なくとも両機能を
備えていることを特徴とする情報処理装置。
An information processing device having at least a document creation function, characterized in that the information processing device has at least both a document creation function and a numerical calculation function by moving a cursor that indicates a character input position within a document.
JP63144062A 1988-06-10 1988-06-10 Information processor Pending JPH038069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63144062A JPH038069A (en) 1988-06-10 1988-06-10 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63144062A JPH038069A (en) 1988-06-10 1988-06-10 Information processor

Publications (1)

Publication Number Publication Date
JPH038069A true JPH038069A (en) 1991-01-16

Family

ID=15353420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63144062A Pending JPH038069A (en) 1988-06-10 1988-06-10 Information processor

Country Status (1)

Country Link
JP (1) JPH038069A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56155441A (en) * 1980-04-30 1981-12-01 Fujitsu Ltd Numerical operating device for display image plane

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56155441A (en) * 1980-04-30 1981-12-01 Fujitsu Ltd Numerical operating device for display image plane

Similar Documents

Publication Publication Date Title
JP3529948B2 (en) Display method of mathematical formulas including electronic devices and variables
JPH0117185B2 (en)
JPH038069A (en) Information processor
JP2738851B2 (en) Input data processing display method using multiple cursors
JPS58163036A (en) Automatic numbering device
JP2625782B2 (en) Document data display device
JPH0962478A (en) Computer system
JPH04148370A (en) Document processor
JPS5936294B2 (en) Homophone selection method
JPH0435955Y2 (en)
JPS63100533A (en) Display and printing device having multiwindow display function
JP3189110B2 (en) Document processing device
JPS6031634A (en) Method for displaying list of document names in word processor or the like
JPH08147301A (en) Display method for document processor
JPS60189566A (en) Information processor
JPS61112277A (en) Processing range designating and executing device for word processor
JPS63102461A (en) Input device for electronic file device
JPH07160692A (en) Document display device
JPH0351958A (en) Electronic dictionary
JPH0687236B2 (en) Mechanism for selecting homonyms in word processors
JPS6336365A (en) Japanese language processor
JPH01295359A (en) Data copying system by general-purpose key set
JPH01211165A (en) Document preparing device
JPH01287723A (en) Key input information display device
JPS61122782A (en) Code picture selecting system