JPH0429106B2 - - Google Patents

Info

Publication number
JPH0429106B2
JPH0429106B2 JP57075664A JP7566482A JPH0429106B2 JP H0429106 B2 JPH0429106 B2 JP H0429106B2 JP 57075664 A JP57075664 A JP 57075664A JP 7566482 A JP7566482 A JP 7566482A JP H0429106 B2 JPH0429106 B2 JP H0429106B2
Authority
JP
Japan
Prior art keywords
operator
calculation
line
column
specified
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 - Lifetime
Application number
JP57075664A
Other languages
Japanese (ja)
Other versions
JPS58192144A (en
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 filed Critical
Priority to JP57075664A priority Critical patent/JPS58192144A/en
Publication of JPS58192144A publication Critical patent/JPS58192144A/en
Publication of JPH0429106B2 publication Critical patent/JPH0429106B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明はワードプロセツサに関し、特に作表機
能を備えたものにおいて表中数値の計算を自動的
に行つて所定欄に計算の結果を表示させ、また印
字させ得るようにしたワードプロセツサを提案す
るものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a word processor, and in particular, to a word processor that is equipped with a tabulation function, so that it can automatically calculate numerical values in a table, display the calculation results in a predetermined column, and print them out. This paper proposes a word processor based on the following features.

事務用文書中には数値情報を含む表が記載され
ることが多い。このためにワードプロセツサには
作表機能を搭載しているのであるが、ワードプロ
セツサ入力時においてこの表の原稿が完成してい
る場合は少く、むしろ入力と同時に表を完成して
いく、つまり表中の文章、数値を記入していく事
例が多い。これはワードプロセツサが定型文書作
成に利用されることが多く、例えば見積書等の汎
用フオームを予め作成しておき、引合事例ごとに
この汎用フオームに用意してある見積明細表中の
品名欄、数量欄、単価欄、金額欄等を追加入力に
よつて埋めていくのが一般的である。従つて一部
の欄については計算した上で入力する必要があ
り、ワードプロセツサの文書の迅速作成という利
点を享受できないようなことがある。
Tables containing numerical information are often included in office documents. For this reason, word processors are equipped with a tabulation function, but the draft of this table is rarely completed when inputting into a word processor; rather, the table is completed at the same time as input. In other words, there are many cases where the text and numbers in the table are entered. Word processors are often used to create standard documents.For example, a general-purpose form such as a quotation form is created in advance, and the product name field in the quotation details table is prepared in this general-purpose form for each inquiry case. , quantity field, unit price field, amount field, etc., are generally filled in by additional input. Therefore, it is necessary to calculate and input some fields, which may prevent the user from enjoying the advantage of quickly creating documents using a word processor.

本発明はワードプロセツサのデータ処理能力を
上記計算に利用することによつて計算結果を表中
に自動的に表示させ又は印字させるようにし、ま
た演算子を特定の行に表示させるようにして計算
の指示誤りを生じないようにして、正確な計算と
作表とを瞬時に行わせるようにして文書作成の高
速度化を図つたワードプロセツサを提供すること
を目的とする。
The present invention utilizes the data processing ability of a word processor for the above calculations to automatically display or print the calculation results in a table, and also to display operators on specific lines. To provide a word processor capable of speeding up document creation by instantly performing accurate calculations and tabulations without causing calculation instruction errors.

以下本発明を日本語ワードプロセツサにおける
実施例を示す図面に基き具体的に説明する。
The present invention will be specifically explained below with reference to drawings showing an embodiment of a Japanese word processor.

第1図は本発明に係る日本語ワードプロセツサ
の概略構成を示すブロツク図、第2図はキーボー
ド配列図である。図において1はJIS配列のキー
ボード、2はCPUを含む制御部、3は制御プロ
グラム格納用、入力文章格納用、辞書部用等の各
種のメモリ、4はCRT、5はプリンタである。
FIG. 1 is a block diagram showing a schematic configuration of a Japanese word processor according to the present invention, and FIG. 2 is a keyboard layout diagram. In the figure, 1 is a keyboard with a JIS layout, 2 is a control unit including a CPU, 3 is various memories for storing control programs, input text storage, dictionary units, etc., 4 is a CRT, and 5 is a printer.

キーボード1からなる入力又はローマ字入力さ
れた文章はメモリ3内データを参照して制御部2
にて漢字混じり文章のデータに変換されてメモリ
3を構成するテキストメモリに格納されていくと
共にCRT4に表示されていく。そして、この文
章は印字指令を与えることによつて、プリンタ5
にて印字させ、またメモリ3のうち外部メモリと
して備えているフロツピーデイスクに記憶させて
おき、爾後の印字に供し得るようになつている。
The input from the keyboard 1 or the text entered in Roman letters is sent to the control unit 2 by referring to the data in the memory 3.
The data is converted into text data containing kanji and stored in the text memory that constitutes the memory 3, and is also displayed on the CRT 4. This text can then be printed to the printer by giving a print command.
The data is printed on a floppy disk provided as an external memory in the memory 3, so that it can be used for subsequent printing.

而してこのワードプロセツサは作表機能を備え
ているが、単なる機能ではなく、縦横の罫線を描
くことができ、この罫線にて形づくられた表の各
欄(枠)内において、ブロツク編集(つまり入力
文字が各欄の右端にまで達すると同欄内の左端へ
改行される)可能としている。
This word processor has a tabulation function, but it is not just a simple function; it can draw vertical and horizontal ruled lines, and block editing can be performed within each column (frame) of the table formed by these ruled lines. (In other words, when the input characters reach the right end of each column, a line break is made to the left end within the same column).

罫線引きの操作手順は次のとおりである。即ち
まずカーソルを罫線の始端とすべきCRT4画面
上の位置に移動させておき、罫線キー111を
打鍵する。制御部2はこの打鍵信号によつて所定
の画面編集プログラムを実行し、罫線の種類(細
線、太線、2重線、破線の別など)を選択させる
べく、これをガイドするパターンの表示を行う。
選択のための所要操作(所望罫線に対応するテン
キー112打鍵)によりカーソル位置に該当種類
の罫線を表示させる。次にオペレータは
コントロールキー113を押下げつつ、4つの
カーソル移動キー114のうちの、所望方向へカ
ーソルを移動させるためのキーを打鍵する。これ
により縦又は横の罫線が自由に引けることにな
る。また罫線の削除修正は削除を望む縦(又は
横)罫線の上(又は左)端にカーソルを位置さ
せ、削除キー118を打鍵する。そしてカーソル
を削除を望む部分下(又は右)端まで移動させた
あと実行キー115を打鍵する。これにより該
当部分の削除が行われる。
The operation procedure for drawing ruled lines is as follows. That is, first, the cursor is moved to the position on the CRT 4 screen where the starting end of the ruled line should be, and the ruled line key 111 is pressed. The control unit 2 executes a predetermined screen editing program based on this keystroke signal, and displays a pattern to guide the selection of the type of ruled line (thin line, thick line, double line, broken line, etc.). .
By performing the necessary selection operation (pressing the numeric keypad 112 corresponding to the desired ruled line), the corresponding type of ruled line is displayed at the cursor position. Next, while pressing down the control key 113, the operator presses one of the four cursor movement keys 114 for moving the cursor in a desired direction. This allows you to freely draw vertical or horizontal ruled lines. To delete or modify a ruled line, place the cursor at the top (or left) end of the vertical (or horizontal) ruled line you wish to delete and press the delete key 118. After moving the cursor to the bottom (or right) end of the part desired to be deleted, the user presses the execution key 115. This causes the corresponding portion to be deleted.

このような罫線の表示又は印字に係るコードは
16ビツト4桁の2進化16進表記コードとなつてお
り、夫々に罫線表示又は罫線印字のフオントを割
付けている。16ビツトのデータのうち上位8ビツ
トは罫線コードであることを示し、下位4ビツト
でフオントのパターンが特定される。この実施例
では印字用フオントは32×32の、またCRT画面
表示用フオントは24×24のドツトマトリツクスに
て構成されるが、罫線のフオントの場合は、これ
らのマトリツクスの極めて限られた部分が使用さ
れる。つまり第3図イに略示するように中央から
上方向に延びる罫線部分を示す領域31、下方向
に延びる罫線部分を示す領域32、左方向に延び
る罫線部分を示す領域33及び右方向に延びる罫
線部分を示す領域34がそれであるが、夫々の領
域の罫線情報(なし、細線、2重線、太線)を上
記16ビツトのコードのうちの下位8ビツトの上位
側より2ビツトずつに割付けてある。そして罫線
なし:00、細線:01、2重線:10、太線:11でこ
れを表わしているから下位8ビツトが00000000は
その部分に罫線なし、00000101は第3図ロに示す
ようにフオントの左右全幅に延びる横細線、
00000001は第3図ハに示すようにフオントの右半
分にのみ現れる横細線(これの連続として破線が
描かれる)、11111111は第3図ニに示すように太
線の十字交叉部、10100000は第3図ホに示すよう
にフオントの上下方向全体に延びる2重線とな
る。従つてテキストメモリに書込まれているコー
ドからそのコードに対応する表示内容が罫線であ
ること(上位8ビツトによる)及び罫線の種類
(下位8ビツトによる)が識別されることになる。
The code for displaying or printing such ruled lines is
It is a 16-bit 4-digit binary coded hexadecimal notation code, and a font for displaying or printing ruled lines is assigned to each code. The upper 8 bits of the 16-bit data indicate a ruled line code, and the lower 4 bits specify the font pattern. In this example, the printing font is composed of a 32 x 32 dot matrix, and the CRT screen display font is composed of a 24 x 24 dot matrix, but in the case of the ruled line font, only a very limited portion of these matrices is used. is used. That is, as shown schematically in FIG. 3A, a region 31 showing a ruled line portion extending upward from the center, a region 32 showing a ruled line portion extending downward, a region 33 showing a ruled line portion extending leftward, and a region 33 extending rightward. This is the area 34 indicating the ruled line part, and the ruled line information (none, thin line, double line, thick line) for each area is assigned to two bits each from the upper side of the lower eight bits of the above 16-bit code. be. This is represented by no ruled line: 00, thin line: 01, double line: 10, and thick line: 11, so if the lower 8 bits are 00000000, there is no ruled line in that part, and 00000101 is the font as shown in Figure 3 B. A horizontal thin line extending the entire width on the left and right,
00000001 is a horizontal thin line that appears only in the right half of the font (a broken line is drawn as a continuation of this) as shown in Figure 3 C, 11111111 is the thick cross section as shown in Figure 3 D, and 10100000 is the third As shown in Figure E, this becomes a double line extending in the entire vertical direction of the font. Therefore, from the code written in the text memory, it is possible to identify that the display content corresponding to the code is a ruled line (based on the upper 8 bits) and the type of ruled line (based on the lower 8 bits).

さて前述の如き操作によつて第4図に示すよう
に罫線を引き、各欄に所要の文字、数値を書き込
んだものとする。このような作表を含む通常の文
章入力の場合の制御部2の動作を編集モードと称
するが、本発明に係る計算処理を行わせるべき制
御部2の動作、つまり計算モードと編集モードと
の関係は第5図、第8図に示すようになつてい
る。以下この第5図、第8図とキー操作によつて
変化するCRT4の画面を示す第6図とに基き制
御部2の処理動作を説明する。
Now, assume that the operations described above have been performed to draw ruled lines as shown in FIG. 4, and to write the required characters and numerical values in each column. The operation of the control unit 2 in the case of normal text input including such a tabulation is called the editing mode, but the operation of the control unit 2 to perform calculation processing according to the present invention, that is, the calculation mode and the editing mode. The relationship is as shown in FIGS. 5 and 8. The processing operations of the control unit 2 will be explained below based on FIGS. 5 and 8 and FIG. 6 showing the screen of the CRT 4 that changes according to key operations.

まず金額の合計欄等のように縦計算(同列にあ
る数値の合計計算)を行わせる必要がある行(横
の欄)には対応行の左側表外にラインタイプマー
クを表示させるべくキー操作しておく。
First, in rows (horizontal columns) that require vertical calculation (total calculation of numbers in the same column), such as the amount total column, press the key to display a line type mark outside the table on the left side of the corresponding row. I'll keep it.

ラインタイプは小計マーク、合計マーク及
び除外マークの3通りが用意されており、表示
させるべき位置へカーソルを移動させたあと、
夫々コントロールキー113を押下げた状態で
文字キー117のS,G及びJを夫々打鍵
する(但し予め英数キー118を打鍵しておく)
ことにより所要のマークが表示される。
There are three line types: subtotal mark, total mark, and exclusion mark. After moving the cursor to the position where you want it to be displayed,
Press the character keys 117 S, G, and J while holding down the control key 113 (however, press the alphanumeric key 118 in advance)
This will cause the required mark to be displayed.

小計マークはその行より上の行についての合
計又は当該小計マークよりも上であつて、当該
小計マークに最も近い上方の小計マークより
も下にある行についての合計を記入させる行位
置、第4図の例ではA合計、B合計の行に表示せ
しめられる。合計は小計マークの行について
の合計を記入させる行位置、第4図の径では総合
計の行に表示せしめられる。また除外マークは
縦、横の計算から除外する行に表示せしめられ
る。
The subtotal mark is the fourth row position where the total for the row above that row or the total for the row above the subtotal mark and below the upper subtotal mark closest to the subtotal mark is written. In the example shown in the figure, they are displayed in the A total and B total rows. The total is displayed in the row position where the total for the row of the subtotal mark is written, and in the diameter of FIG. 4, it is displayed in the row of the grand total. Exclusion marks are also displayed on lines to be excluded from vertical and horizontal calculations.

而して次には第4図に示すようにカーソルKを
計算対象の表の左肩部に位置させた上で計算キ
ー116を打鍵する。これによつて制御部2は計
算モードでの動作に入る。制御部2はカーソル位
置に対応するテキストメモリのコード内容から計
算対象の表の特定をする。即ち表の肩部ではこの
部分の罫線に係るコードの下位8ビツトb7,b6
b5,b4,b3,b2,b1,b0のうち下方向への罫線を
示す(b5,b4)の2ビツト及び右方向への罫線を
示す(b1,b0)の2ビツトがともに00ではなく
(つまり、細線、二重線又は太線が例えばのよ
うに表示される)、残りの4ビツトb7,b6,b3
b2が00である(線が現れない)から、このコード
の検知をもつて表を特定するのである。従つてこ
の表の画面に現れていない部分も同じ表の一部と
認識され、以下の操作は画面スクロールによつて
同様に行われる。また計算は画面に現れていると
否とを問わず実行される。
Next, as shown in FIG. 4, the cursor K is positioned on the left shoulder of the table to be calculated, and the calculation key 116 is pressed. This causes the control section 2 to enter operation in calculation mode. The control unit 2 specifies the table to be calculated from the code contents of the text memory corresponding to the cursor position. In other words, at the shoulder of the table, the lower 8 bits of the code related to the ruled line in this area are b 7 , b 6 ,
Of b 5 , b 4 , b 3 , b 2 , b 1 , b 0 , two bits (b 5 , b 4 ) indicate the downward ruled line, and (b 1 , b 0 ) indicate the rightward ruled line. ) are both not 00 (that is, a thin line, double line, or thick line will be displayed), and the remaining 4 bits b 7 , b 6 , b 3 ,
Since b2 is 00 (no line appears), the table is identified by detecting this code. Therefore, the portion of this table that does not appear on the screen is also recognized as part of the same table, and the following operations are performed in the same way by scrolling the screen. Also, calculations are performed regardless of whether the screen is displayed or not.

カーソル位置に対応するテキストメモリ内記憶
コードが上述の条件を満たさない場合は所定のエ
ラーメツセージが表示される。
If the code stored in the text memory corresponding to the cursor position does not satisfy the above conditions, a predetermined error message is displayed.

制御部2は計算モードの最初のステツプである
演算子指定モードに入り、CRT4の画面を第6
図イのように、ヘツダー部35の次の行(但し
除外マーク付の行がある場合は除外マークの
ない最上の行)の文字、数字の表示を削減させ、
この行の欄に演算子を指定する操作を進めること
を促す表示(図面ではその縦罫線部を2重太線で
表している)を行わしめ、且つ所定のガイドメツ
セージを表示させる。カーソルKは最左欄の第1
桁に位置せしめられる。計算キー116打鍵時
のカーソルKの位置により制御部は表の第2行目
及びこれを横に分割する縦罫線を罫線コード等に
よつて容易に特定できる。なお表にはヘツダー部
が存在することを前提としているが、ヘツダー部
なしの表についての計算も可能となるように、そ
の有無指定を行わせる構成としてもよい。
The control unit 2 enters the operator specification mode, which is the first step in the calculation mode, and displays the screen of the CRT 4 at the sixth step.
As shown in Figure A, the display of letters and numbers in the next line of the header section 35 (however, if there is a line with an exclusion mark, the topmost line without an exclusion mark) is reduced,
A display prompting you to proceed with the operation of specifying an operator is displayed in the column of this line (in the drawing, the vertical ruled line portion is represented by a double thick line), and a predetermined guide message is also displayed. Cursor K is the first one in the leftmost column.
be placed on a girder. Depending on the position of the cursor K when the calculation key 116 is pressed, the control unit can easily specify the second row of the table and the vertical ruled line dividing it horizontally using a ruled line code or the like. Note that although it is assumed that a header section exists in a table, the presence or absence of a header section may be specified so that calculations can be performed on a table without a header section.

次に演算子の指定は+キー1171、=,
−キー1172、〓キー1173、/キー
1174によつて行われる。第6図イでは数量と
単価の積を求め、この積の金額を金額欄に表示、
印字させるべく、数量の列には+、単価の列には
〓、金額の列には=を指定する。−の欄に対する
演算子指定から隣の欄への移動はタブキー11
9によつて指示させる。本発明品は+,−,=を含
む列については小計、合計を各マークを有する行
に算出せしめるので、演算子の指定にあたつては
それを配慮する必要があり、上述の例でも数量合
計を必要とするので、これを加算時の被加数と実
質的に同様に処理される被乗数とすべく、その列
に+を指定する。
Next, specify the operator using the + key 1171, =,
- key 1172, ≦ key 1173, and / key 1174. In Figure 6 A, calculate the product of quantity and unit price, and display the amount of this product in the amount column.
To print, specify + in the quantity column, 〓 in the unit price column, and = in the amount column. To move from the operator specification for the - column to the next column, press the tab key 11
9. The product of the present invention calculates subtotals and totals for columns containing +, -, and = in the rows with each mark, so it is necessary to take this into account when specifying operators. Since a sum is required, + is designated in that column so that this is a multiplicand that is processed substantially in the same way as the summand during addition.

このようにして演算子を指定したあと実行キ
ー115を打鍵すると制御部2はこれを受けて次
には編集子指定モードに移り、第6図ロに示すよ
うに所定のガイドメツセージを表示させ、次に説
明する編集子を最初に入力せしめるべき列の第2
行目の縦罫線を2重太線とする。
After specifying the operator in this way, when the execution key 115 is pressed, the control unit 2 receives this and then shifts to the editor specification mode, displays a predetermined guide message as shown in FIG. The second column in which the editor described below should be entered first.
Make the vertical ruled line of the first row a double thick line.

編集子は縦又は横計算に係る結果の表記方法を
指定するものであつて数値は文字キー117のう
ちのNによつて推定最高桁の数だけキーインされ
る。第6図の例では3桁分で十分であるので
NNNをキーインする。このような数値データ用
のN入力の前、後に¥或は%個、冊等の文字デー
タを入力し、また位取りの、をN間に入力する場
合は計算結果に併せてそれらの文字、記号の表
示、印字されることになる。なおこの実施例では
半角キー120を設けて半角文字の入力も可能と
しており、Nの半角文字入力により例えば小数点
以下を半角数字とする表示を可能ならしめるよう
にしている。またNの入力よりも計算結果桁数が
大であるオーバーフローの状態になつた場合は後
述するようにして計算の実行を指示した場合に該
当欄に〓をNの数だけ表示させてNの再入力を行
わしめる。
The editor specifies the notation method for the results related to vertical or horizontal calculations, and numerical values are keyed in by N of the character keys 117 for the estimated maximum number of digits. In the example in Figure 6, 3 digits is sufficient, so
Key in NNN. If you input character data such as ¥, % pieces, book, etc. before or after N input for numerical data, and if you input scale value between N, enter those characters and symbols along with the calculation result. will be displayed and printed. In this embodiment, a half-width key 120 is provided to enable the input of half-width characters, and by inputting the half-width character N, it is possible to display, for example, half-width numbers below the decimal point. In addition, if an overflow situation occurs in which the number of digits in the calculation result is larger than the number of N inputs, when you instruct the calculation to be executed as described later, display 〓 for the number of N in the corresponding column and retry N. Confirm the input.

数量欄に3つのNを入力したあとタブキー1
19を打鍵すると〔第6図ロはこの状態を示して
いる〕計算結果の表示印字には無関係な単価欄を
スキツプして金額欄に2重太線が移る。この欄に
も所要のN及び文字、記号をキーインして第6図
ハの状態としたあと実行キー115を打鍵する
と制御部2は一括計算モードに入り指定された演
算子に従つて縦、横の計算を実行し、また指定さ
れた編集子に従う表示、印字を行わせる。この場
合において欄中に¥、円、個等の非数値が示され
ているときにも数値データはこれらとは無関係に
計算されることは勿論である。第6図ニはその結
果を示すが除外マークを付した行は計算対象に
ならないのは前述したとおりである。計算終了と
共に制御部は計算モードから編集モードへ復帰す
る。
After entering three N's in the quantity field, press the tab key 1
When key 19 is pressed (FIG. 6B shows this state), the unit price column, which is unrelated to displaying and printing the calculation results, is skipped and a double thick line moves to the amount column. When the execution key 115 is pressed after keying in the required N, letters, and symbols in this field to create the state shown in Fig. 6 (c), the control unit 2 enters the batch calculation mode and calculates vertically and horizontally according to the specified operator. Execute the calculation, and display and print according to the specified editor. In this case, even when non-numeric values such as ¥, yen, pieces, etc. are shown in the column, the numerical data is of course calculated regardless of these. FIG. 6D shows the results, but as described above, lines marked with exclusion marks are not subject to calculation. Upon completion of the calculation, the control section returns from the calculation mode to the editing mode.

而して第5図に示すように編集子の指定を終え
たあとカーソルKが左端の罫線上にある状態で
実行キー115を打鍵すると制御部2は逐次計
算モードに入り、1行の計算を行い、その行の横
計算の結果を演算子が=である列の欄に表示、印
字させる。カーソルは次行の左端罫線上に位置し
次順の実行キー115の打鍵を待機する状態に
なる。実行キー115の打鍵でその行の横計算
が行われることは言うまでもない。
As shown in FIG. 5, when the execution key 115 is pressed while the cursor K is on the leftmost ruled line after specifying the editor, the control unit 2 enters the sequential calculation mode and calculates one line. The result of the horizontal calculation for that row is displayed and printed in the column where the operator is =. The cursor is positioned on the leftmost ruled line of the next line and waits for the next execution key 115 to be pressed. Needless to say, when the execution key 115 is pressed, the horizontal calculation for that row is performed.

このような逐次計算モードによる場合は1行ご
との計算結果を確認しながら入力作業を進めるこ
とができる。また最初の1行分の確認のあと一括
計算モードにすることが可能である。
In such a sequential calculation mode, it is possible to proceed with the input work while checking the calculation results for each line. It is also possible to switch to batch calculation mode after confirming the first row.

さて上述した如き演算子、編集子の指定の際に
指定ミスがあつた場合又は演算子指定モード、編
集子指定モード又は逐次計算モードにおいて
取消キー121を打鍵した場合は入力モードに
入り、カーソルが左端罫線上に位置する状態にな
り、また所定のエラーメツセージを表示する。
Now, if a specification error is made when specifying an operator or editor as described above, or if the cancel key 121 is pressed in operator specification mode, editor specification mode, or sequential calculation mode, the input mode is entered and the cursor is It is positioned on the leftmost ruled line, and a predetermined error message is displayed.

制御部2はカーソル移動キー114のうち
↑,↓,→の打鍵により入力モードから演
算子指定モードへ復帰させるようにしている。上
記指定ミスの場合は修正入力せんとしてカーソル
を上下又は右方へ移動させんとするから、実質的
に自動的に編集モードに復帰することになる。ま
た制御部2は終了キー122の打鍵によつて編
集モードに戻る。従つて計算を終了したい場合は
終了キー122を打鍵し、通常の文書作成に戻
ればよい。
The control unit 2 returns from the input mode to the operator specification mode by pressing ↑, ↓, and → of the cursor movement keys 114. In the case of the above-mentioned specification error, the cursor is moved up or down or to the right in order to make a correction input, so the edit mode is essentially automatically returned to. Further, the control section 2 returns to the editing mode by pressing the end key 122. Therefore, if the user wants to end the calculation, he or she can press the end key 122 and return to normal document creation.

なお、文書印字に際しては特に必要のないライ
ンタイプマーク小計等は印字せしめないように
しておくのがよい。
Note that when printing documents, it is preferable not to print unnecessary line type marks, subtotals, etc.

前述の如く、この実施例では、計算対象とする
表の指定を、カーソルを表の左肩部に位置させる
だけで行えるので煩わしさが皆無である。
As mentioned above, in this embodiment, the table to be calculated can be specified simply by positioning the cursor on the left shoulder of the table, so there is no trouble at all.

そして、作表自体が未完、つまり、表の右側又
は下側に延長の可能性があり、右端、下端の罫線
がまだ引かれていない場合であつても表の左肩部
は完成されており、表の指定には何ら支障がな
く、また計算を行わせるうえでも問題がなく、操
作の自由度が高い等の利点がある。
Even if the table itself is not complete, that is, there is a possibility of extension to the right side or bottom of the table, and the borders at the right and bottom edges have not yet been drawn, the left shoulder of the table is completed. There is no problem in specifying tables, there is no problem in performing calculations, and there are advantages such as a high degree of freedom in operation.

ところで、第7図を参照しつつ、演算子による
横計算の指定に関して説明しておく。この第7図
の例は、A〜E列からなる5欄の例である。この
第5図の第1行目と第2行目に示される例は、加
減算のみに係るものである。第3行目と第4行目
に示される例は、乗算、除算に係るものである。
=キーを有する欄については、定数の付加を許し
ており、第5行目のD列にはA〜C列の和に10を
加えた値を、表示、印字させる。第6行目のC列
にはA,B列の和から10を減じた値を表示、印字
させる。第7行目、第8行目は、定数の除算(平
均算出)、乗算(100分率算出)の例を示してい
る。なお、第9行目の例は、A,C,Eの列に付
き縦計算のみを行わせる例を示している。なお、
この場合の演算子は+でも=でもよい。
By the way, with reference to FIG. 7, the specification of horizontal calculations using operators will be explained. The example shown in FIG. 7 is an example of five columns consisting of columns A to E. The example shown in the first and second lines of FIG. 5 concerns only addition and subtraction. The examples shown in the third and fourth lines are related to multiplication and division.
A constant is allowed to be added to the column having the = key, and the value obtained by adding 10 to the sum of columns A to C is displayed and printed in column D of the fifth row. The value obtained by subtracting 10 from the sum of columns A and B is displayed and printed in column C of the 6th row. The seventh and eighth lines show examples of constant division (average calculation) and multiplication (100 percentage calculation). Note that the example in the ninth row shows an example in which only vertical calculations are performed for columns A, C, and E. In addition,
The operator in this case may be + or =.

ところで、本発明では、縦罫線により列が区画
される表中の一又は複数の列夫々に対し、同列中
の各行の数値データを横計算する時に共通する加
算、減算、乗算、除算等の第1の演算子(+,−,
×,/)を指定するとともに、この横計算による
計算結果を表示させる指定列を第2の演算子
(=)で指定する手段と、指定した演算子を特定
行に表示する手段と、この指定した演算子に基づ
く計算を前記特定行に対して実行するとともに、
当該特定行以降の演算対象行に対しては前記演算
子をつけないでも前記演算子に基づく同じ計算を
実行する実行手段と、表中の前記指定列に計算結
果を表示又は印字させる手段とを備えている。
By the way, in the present invention, for each of one or more columns in a table partitioned by vertical ruled lines, operations such as addition, subtraction, multiplication, and division that are common when horizontally calculating numerical data in each row in the same column are performed. 1 operator (+, -,
x, /), a means for specifying a specified column in which the calculation result of this horizontal calculation is to be displayed using a second operator (=), a means for displaying the specified operator in a specific line, and a means for specifying this specification. Perform a calculation based on the operator on the specific row, and
Execution means for executing the same calculation based on the operator without adding the operator to the calculation target rows after the specific row, and means for displaying or printing the calculation result in the specified column in the table. We are prepared.

従つて、本発明では、ワードプロセツサの主た
る用途である事務用文書作成に際して、しばしば
必要とされる表中の計算値記入を全く自動的に行
うことができるばかりか、複数行の共通の計算に
際しては、各行毎に演算子を指定する必要がな
く、入力操作簡便化が図れる。
Therefore, in the present invention, when creating office documents, which is the main use of word processors, not only can calculation values in tables, which are often required, be completely automatically entered, but also common calculations for multiple lines can be performed completely automatically. In this case, there is no need to specify an operator for each line, which simplifies the input operation.

なお本発明は全文字配列タブレツト方式のキー
ボードを備えた日本語ワードプロセツサ又は欧文
ワードプロセツサにも適用できる。
The present invention can also be applied to a Japanese word processor or a Roman word processor equipped with a full character layout tablet type keyboard.

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

第1図は本発明品の構成を略示するブロツク
図、第2図はキーボード配列図、第3図イ〜ホは
罫線用フオントの説明図、第4図は表の例を示す
説明図、第5図は制御部の処理モードの概略を示
す説明図、第6図イ〜ニは計算モードの場合の画
面を示す説明図、第7図は演算子の例とその機能
を示す説明図、第8図はフローチヤートを示す図
である。 1……キーボード、2……制御部、3……メモ
リ、4……CRT、5……プリンタ。
1 is a block diagram schematically showing the configuration of the product of the present invention, FIG. 2 is a keyboard layout diagram, FIG. FIG. 5 is an explanatory diagram showing an outline of the processing mode of the control unit; FIGS. 6A to 6D are explanatory diagrams showing screens in calculation mode; FIG. FIG. 8 is a diagram showing a flowchart. 1...Keyboard, 2...Control unit, 3...Memory, 4...CRT, 5...Printer.

Claims (1)

【特許請求の範囲】 1 縦罫線により列が区画される表中の一又は複
数の列夫々に対し、同列中の各行の数値データを
横計算する時に共通する加算、減算、乗算、除算
等の第1の演算子(+,−,×,/)を指定すると
ともに、この横計算による計算結果を表示させる
指定列を第2の演算子(=)で指定する手段と、 指定した演算子を特定行に表示する手段と、 この指定した演算子に基づく計算を前記特定行
に対して実行するとともに、当該特定行以降の演
算対象行に対しては前記演算子をつけないでも前
記演算子に基づく同じ計算を実行する実行手段
と、 表中の前記指定列に計算結果を表示又は印字さ
せる手段と、 を備えたことを特徴とするワードプロセツサ。 2 前記特定行への演算子の表示は、所定モード
時のみ実行されることを特徴とする特許請求の範
囲第1項記載のワードプロセツサ。 3 第2の演算子(=)が指定される前記指定列
に関しては、定数の付加を許容する特許請求の範
囲第1項記載のワードプロセツサ。 4 複数の行のうち、前記横計算の除外の指定を
許容することを特徴とする特許請求の範囲第1項
記載のワードプロセツサ。
[Claims] 1. Addition, subtraction, multiplication, division, etc. that are common when performing horizontal calculations on numerical data in each row in the same column for one or more columns in a table partitioned by vertical ruled lines. A means for specifying a first operator (+, -, ×, /) and a specified column for displaying the calculation result of this horizontal calculation using a second operator (=); a means for displaying on a specific line, a calculation based on the specified operator on the specific line, and a means for displaying the specified operator on the specified line and subsequent lines for the operation even if the operator is not attached. 1. A word processor, comprising: execution means for executing the same calculation based on the table; and means for displaying or printing the calculation result in the designated column in the table. 2. The word processor according to claim 1, wherein the display of the operator on the specific line is executed only in a predetermined mode. 3. The word processor according to claim 1, wherein a constant can be added to the specified column in which the second operator (=) is specified. 4. The word processor according to claim 1, which allows specification of exclusion of the horizontal calculation among a plurality of lines.
JP57075664A 1982-05-05 1982-05-05 Word processor Granted JPS58192144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57075664A JPS58192144A (en) 1982-05-05 1982-05-05 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57075664A JPS58192144A (en) 1982-05-05 1982-05-05 Word processor

Related Child Applications (3)

Application Number Title Priority Date Filing Date
JP2018648A Division JPH0656606B2 (en) 1990-01-29 1990-01-29 Word processor
JP2018646A Division JPH0340061A (en) 1990-01-29 1990-01-29 Word processor
JP2018647A Division JPH069047B2 (en) 1990-01-29 1990-01-29 Word processor

Publications (2)

Publication Number Publication Date
JPS58192144A JPS58192144A (en) 1983-11-09
JPH0429106B2 true JPH0429106B2 (en) 1992-05-18

Family

ID=13582706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57075664A Granted JPS58192144A (en) 1982-05-05 1982-05-05 Word processor

Country Status (1)

Country Link
JP (1) JPS58192144A (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0766386B2 (en) * 1983-12-29 1995-07-19 株式会社ピーエフユー Simple language processing system
JPS60142777A (en) * 1983-12-29 1985-07-27 Usac Electronics Ind Co Ltd Simple language processing unit
JPS60168263A (en) * 1984-02-10 1985-08-31 Sony Corp Document processing device
JPH0685170B2 (en) * 1984-05-14 1994-10-26 富士通株式会社 Numerical item digit rounding control method
JPS6174054A (en) * 1984-09-18 1986-04-16 Sharp Corp Electronic computer
JPS6175461A (en) * 1984-09-19 1986-04-17 Sharp Corp Electronic computer
JPS61138370A (en) * 1984-12-10 1986-06-25 Casio Comput Co Ltd Table processing device
JPH0619788B2 (en) * 1984-12-10 1994-03-16 カシオ計算機株式会社 Table processor
JPS61276012A (en) * 1985-05-31 1986-12-06 Canon Inc Information input device
JP2670441B2 (en) * 1986-09-09 1997-10-29 キヤノン株式会社 Document processing device
JPH02132549A (en) * 1988-11-12 1990-05-22 Pfu Ltd Word processor

Also Published As

Publication number Publication date
JPS58192144A (en) 1983-11-09

Similar Documents

Publication Publication Date Title
US5021973A (en) Method for assisting the operator of an interactive data processing system to enter data directly into a selected cell of a spreadsheet
EP0009536B1 (en) Data entry apparatus with dual-mode tabbing function selectable from keyboard
JPH0429106B2 (en)
JP2966420B2 (en) Information processing device
US4931987A (en) Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately
JPS60189568A (en) Information processor
US4897804A (en) Data processing device with screen seperated into line format area and data display area
EP0273764B1 (en) Text processing system
JPH0437462B2 (en)
JPH046032B2 (en)
JPH03135656A (en) Word processor
JPH0340062A (en) Word processor
JPS60168263A (en) Document processing device
JPS62166390A (en) Data input auxiliary method for spread sheet
JP3496499B2 (en) Calculation data processing device
JPH0346831B2 (en)
JP3940771B2 (en) Calculation method that minimizes input and checking
JP3634387B2 (en) Document processing method and apparatus
JP3077777B2 (en) Document processing device
JPH01126684A (en) Document processor
JPS63310064A (en) Information processor
JPS6226499B2 (en)
JPH06203021A (en) Sentence information procesor
JPH0350308B2 (en)
JPS6411982B2 (en)