JPH0656606B2 - Word processor - Google Patents
Word processorInfo
- Publication number
- JPH0656606B2 JPH0656606B2 JP2018648A JP1864890A JPH0656606B2 JP H0656606 B2 JPH0656606 B2 JP H0656606B2 JP 2018648 A JP2018648 A JP 2018648A JP 1864890 A JP1864890 A JP 1864890A JP H0656606 B2 JPH0656606 B2 JP H0656606B2
- Authority
- JP
- Japan
- Prior art keywords
- calculation
- column
- line
- row
- operator
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 本発明は、ワードプロセッサに関する。The present invention relates to word processors.
事務用文書中には、数値情報を含む表が記載されること
が多い。Tables containing numerical information are often described in office documents.
このためワードプロセッサには、作表機能を搭載してい
る。Therefore, the word processor is equipped with a tabulation function.
そして、単なるワードプロセッサでは、例えば、作成ま
たは用意してある見積明細表中の品名欄、数量欄、単価
欄、金額欄等の全ての欄に数値を記入しなければならな
かった。Then, in a simple word processor, for example, it is necessary to enter numerical values in all columns such as a product name column, a quantity column, a unit price column, and an amount column in a quotation statement prepared or prepared.
そこで、数値の計算を自動的に行って所定位置に計算結
果を表示、または印字させることが考えられる。Therefore, it is conceivable to automatically calculate a numerical value and display or print the calculation result at a predetermined position.
なお、このように、自動計算させて表示することは、特
開昭56-155441号公報(G06F3/14)等に示され良く知られ
ている。Note that such automatic calculation and display is well known as shown in JP-A-56-155441 (G06F3 / 14) and the like.
ところで、表中の欄に、小計欄及び合計欄が、存在する
こともある。By the way, a subtotal column and a total column may exist in the columns in the table.
本願は、小計欄及び合計欄が存在する表中で自動計算さ
せる場合に、操作者に対する操作作業が軽減されるワー
ドプロセッサを提供するものである。The present application provides a word processor in which the operation work for the operator is reduced when automatic calculation is performed in a table including a subtotal column and a total column.
以下本発明を日本語ワードプロセッサにおける実施例を
示す図面に基き具体的に説明する。The present invention will be specifically described below with reference to the 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 JIS layout keyboard, 2 is a CPU
Is a control unit including 3 and various memories for storing a control program, storing an input sentence, a dictionary, and the like, 4 is a CRT, and 5 is a printer.
キーボード1からかな入力又はローマ字入力された文章
はメモリ3内データを参照して制御部2にて漢字混じり
文章のデータに変換されてメモリ3を構成するテキスト
メモリに格納されていくと共にCRT4に表示されてい
く。そして、この文章は印字指令を与えることによっ
て、プリンタ5にて印字させ、またメモリ3のうち外部
メモリとして備えているフロッピーディスクに記憶させ
ておき、爾後の印字に供し得るようになっている。The text input from the keyboard 1 or kana or romaji is referred to the data in the memory 3 and converted into the text data mixed with kanji by the control unit 2 and stored in the text memory forming the memory 3 and displayed on the CRT 4. Will be done. Then, this sentence is printed by the printer 5 by giving a print command and stored in a floppy disk provided as an external memory of the memory 3 so that it can be used for subsequent printing.
而してこのワードプロセッサは作表機能を備えている
が、単なるタブ機能ではなく、縦横の罫線を描くことが
でき、この罫線にて形づくられた表の各欄(枠)内にお
いて、ブロック編集(つまり入力文字が各欄の右端にま
で達すると同欄内の左端へ改行される)可能としてい
る。Although this word processor has a tabulation function, it can draw vertical and horizontal ruled lines instead of just a tab function. In each column (frame) of the table formed by these ruled lines, block editing ( In other words, when the input characters reach the right end of each column, a line feed is made to the left end in the same column).
罫線引きの操作手段は次のとおりである。即ちまずカー
ソルを罫線の始端とすべきCRT4画面上の位置に移動
させておき、「罫線」キー111を打鍵する。制御部2は
この打鍵信号によって所定の画面編集プログラムを実行
し、罫線の種類(細線、太線、2重線、破線の別など)
を選択させるべく、これをガイドするパターンの表示を
行う。選択のための所要操作(所定罫線に対応するテン
キー112打鍵)によりカーソル位置に該当種類の罫線を
表示させる。次にオペレータは「コントロール」キー11
3を押下げつつ、4つのカーソル移動キー114のうちの、
所望方向へカーソルを移動させるためのキーを打鍵す
る。これにより縦又は横の罫線が自由に引けることにな
る。また罫線の削除修正は削除を望む縦(又は横)罫線
の上(又は左)端にカーソルを位置させ、削除キー118
を打鍵する。そしてカーソルを削除を望む部分の下(又
は右)端まで移動させたあと「実行」キー115を打鍵す
る。これにより該当部分の削除が行われる。The operation means for drawing ruled lines is as follows. That is, first, the cursor is moved to a position on the CRT4 screen that should be the start of the ruled line, and the "ruled line" key 111 is pressed. The control unit 2 executes a predetermined screen editing program in response to this keystroke signal, and the type of ruled line (fine line, thick line, double line, broken line, etc.)
In order to select, the pattern for guiding this is displayed. A ruled line of the corresponding type is displayed at the cursor position by the required operation for selection (keystroke 112 corresponding to a predetermined ruled line). Then the operator presses the "control" key 11
While holding down 3, press one of the four cursor movement keys 114
Hit the key to move the cursor in the desired direction. As a result, vertical or horizontal ruled lines can be freely drawn. To delete and correct the ruled line, position the cursor on the upper (or left) edge of the vertical (or horizontal) ruled line you want to delete and press the delete key 118
Type the key. Then, after moving the cursor to the lower (or right) end of the portion desired to be deleted, the "execute" key 115 is pressed. As a result, the corresponding part is deleted.
このような罫線の表示又は印字に係るコードは16ビット
4桁の2進化16進表記コードとなっており、夫々に罫線
表示又は罫線印字のフォントを割付けている。16ビット
のデータのうち上位8ビットは罫線コードであることを
示し、下位4ビットでフォントのパターンが特定され
る。この実施例では印字用フォントは32×32の、またC
RT画面表示用フォントは24×24のドットマリックスに
て各々構成されるが、罫線のフォントの場合は、これら
のマトリックスの極めて限られた部分が使用される。つ
まり第3図(イ)に略示するように中央から上方向に延び
る罫線部分を示す領域31、下方向に延びる罫線部分を示
す領域32、左方向に延びる罫線部分を示す領域33及び右
方向に延びる罫線部分を示す領域34がそれであるが、夫
々の領域の罫線情報(なし、細線、2重線、太線)を上
記16ビットのコードのうちの下位8ビットの上位側より
2ビットずつに割付けてある。そして罫線なし:00、細
線:01、2重線:10、太線:11でこれを表わしているか
ら下位8ビットが00000000はその部分に罫線なし、0000
0101は第3図(ロ)に示すようにフォントの左右全幅に延
びる横細線、00000001は第3図(ハ)に示すようにフォン
トの右半分にのみ現れる横細線(これの連続として破線
が描かれる)、11111111は第3図(ニ)に示すように太線
の十字交叉部、10100000は第3図(ホ)に示すようにフォ
ントの上下方向全体に延びる2重線となる。従ってテキ
ストメモリに書込まれているコードからそのコードに対
応する表示内容が罫線であること(上位8ビットによ
る)及び罫線の種類(下位8ビットによる)が識別され
ることになる。The code relating to the display or printing of such ruled lines is a 16-bit 4-digit binary hexadecimal notation code, and a font for displaying ruled lines or printing ruled lines is assigned to each code. Of the 16-bit data, the upper 8 bits indicate the ruled line code, and the lower 4 bits specify the font pattern. In this embodiment, the printing font is 32 × 32, and C
The RT screen display fonts are each composed of 24 × 24 dot marix, but in the case of ruled line fonts, an extremely limited part of these matrices is used. That is, as schematically shown 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 rightward direction. This is the area 34 that indicates the ruled line portion extending to, but the ruled line information (none, thin line, double line, thick line) of each area is divided into 2 bits each from the upper 8 bits of the lower 8 bits of the 16-bit code. Allocated. And without the ruled line: 00, thin line: 01, double line: 10, thick line: 11, so the lower 8 bits are 00000000, there is no ruled line in that part, 0000
0101 is a horizontal thin line extending over the entire width of the font as shown in FIG. 3 (b), and 00000001 is a horizontal thin line appearing only in the right half of the font as shown in FIG. 11111111 is a bold cross intersection as shown in FIG. 3 (d), and 10100000 is a double line extending in the entire vertical direction of the font as shown in FIG. 3 (e). Therefore, from the code written in the text memory, it can be identified that the display content corresponding to the code is a ruled line (by the upper 8 bits) and the type of the ruled line (by the lower 8 bits).
さて前述の如き操作によって第4図に示すように罫線を
引き、各欄に所要の文字、数値を書き込んだものとす
る。このような作表を含む通常の文章入力の場合の制御
部2の動作を編集モードと称するが、本発明に係る計算
処理を行わせるべき制御部2の動作、つまり計算モード
と編集モードとの関係は第5図に示すようになってい
る。以下この第5図とキー操作によって変化するCRT
4の画面を示す第6図とに基き制御部2の処理動作を説
明する。Now, it is assumed that a ruled line is drawn as shown in FIG. 4 by the above-mentioned operation, and the required characters and numerical values are written in the respective columns. The operation of the control unit 2 in the case of a normal text input including such a tabulation is called an edit mode. The operation of the control unit 2 that should perform the calculation process according to the present invention, that is, the calculation mode and the edit mode. The relationship is as shown in FIG. The CRT that changes according to the key operation shown in Fig. 5 below.
The processing operation of the control unit 2 will be described based on FIG. 6 showing the screen of FIG.
まず金額の合計欄等のように縦計算(同列にある数値の
合計計算)を行わせる必要がある行(横の欄)には対応
行の左側表素とにラインタイプマークを表示させるべく
キー操作しておく。First, in the row (horizontal column) that requires vertical calculation (total calculation of numerical values in the same column) such as the total amount column, press the key to display the line type mark on the left side table element of the corresponding line. Operate.
ラインタイプは「小計」マーク、「合計」マーク及び
「除外」マークの3通りが用意されており、表示させる
べき位置へカーソルを移動させたあと、夫々「コントロ
ール」キー113を押下げた状態で文字キー117の「S」、
「G」及び「J」を夫々打鍵する(但し予め英数キー11
8を打鍵しておく)ことにより所要のマークが表示され
る。Three types of line types are available: "subtotal" mark, "total" mark, and "exclude" mark. After moving the cursor to the position to be displayed, press the "Control" key 113 respectively. Character key 117 "S",
Type "G" and "J" respectively (note that alphanumeric key 11
Press 8) to display the required mark.
「小計」マークはその行より上の行についての合計又は
当該「小計」マークよりも上であって、当該「小計」マ
ークに最も近い上方の小計マークよりも下にある行につ
いての合計を記入させる行位置、第4図の例ではA合
計、B合計の行に表示せしめられる。「合計」は「小
計」マークの行についての合計を記入させる行位置、第
4図の例では総合計の行に表示せしめられる。また「除
外」マークは縦、横の計算から除外する行に表示せしめ
られる。The "subtotal" mark indicates the total for the lines above it or for the line above the "subtotal" mark and below the closest subtotal mark to the "subtotal" mark. The line positions to be displayed, in the example of FIG. 4, are displayed in the lines of A total and B total. The "total" is displayed at the line position where the total for the line of the "subtotal" mark is entered, that is, the total line in the example of FIG. Also, the "exclude" mark is displayed on the lines excluded from the vertical and horizontal calculations.
而して次には第4図に示すようにカーソルKを計算対象
の表の左肩部に位置させた上で「計算」キー116を打鍵
する。これによって制御部2は計算モードでの動作に入
る。制御部2はカーソル位置に対応するテキストメモリ
のコード内容から計算対象の表の特定をする。即ち表の
肩部ではこの部分の罫線に係るコードの下位8ビットb
7,b6,b5,b4,b3,b2,b1,b0のうち下方向へ
の罫線を示す(b5,b4)の2ビット及び右方向への罫
線を示す(b1,b0)の2ビットがともに00ではなく
(つまり、細線、2重線又は太線が例えば のように表示される)、残りの4ビットb7,b6,
b3,b2が00である(線が現れない)から、このコード
の検知をもって表を特定するのである。従ってこの表の
画面に現れていない部分も同じ表の一部と認識され、以
下の操作は画面スクロールによって同様に行われる。ま
た計算は画面に現れていると否とを問わず実行される。Then, as shown in FIG. 4, the cursor K is positioned on the left shoulder of the table to be calculated, and the "calculate" key 116 is pressed. As a result, the control unit 2 enters the operation in the calculation mode. The control unit 2 identifies the table to be calculated from the code contents of the text memory corresponding to the cursor position. That is, in the shoulder portion of the table, the lower 8 bits b of the code relating to the ruled line of this portion b
7, b 6, b 5, b 4, b 3, showing a b 2, b 1, 2 bit and borders to the right in b indicate the borders of the out under the direction of 0 (b 5, b 4) ( Both 2 bits of b 1 and b 0 are not 00 (that is, a thin line, a double line or a thick line is, for example, , The remaining 4 bits b 7 , b 6 ,
Since b 3 and b 2 are 00 (the line does not appear), the table is specified by detecting this code. Therefore, a portion of the table that does not appear on the screen is also recognized as a part of the same table, and the following operations are similarly performed by scrolling the screen. The calculation is performed regardless of whether it is displayed on the screen.
カーソル位置に対応するテキストメモリ内記憶コードが
上述の条件を満たさない場合は所定のエラーメッセージ
が表示される。When the code stored in the text memory corresponding to the cursor position does not satisfy the above condition, a predetermined error message is displayed.
制御部2は計算モードの最初のステップである演算子指
定モードに入り、CRT4の画面を第6図(イ)のよう
に、ヘッダー部35の次の行(但し「除外」マーク付の行
がある場合は「除外」マークのない最上の行)の文字、
数字の表示を消滅させ、この行の欄に演算子を指定する
操作を進めることを促す表示(図面ではその縦罫線部2
重太線で表している)を行わしめ、且つ所定のガイドメ
ッセージを表示させる。カーソルKは最左欄の第1桁に
位置せしめられる。「計算」キー116打鍵時のカーソル
Kの位置により制御部は表の第2行目及びこれを横に分
割する縦罫線を罫線コード等によって容易に特定でき
る。なお表にはヘッダー部が存在することを前提として
いるが、ヘッダー部なしの表についての計算も可能とな
るように、その有無指定を行わせる構成としてもよい。The control unit 2 enters the operator designation mode which is the first step of the calculation mode, and the screen of the CRT 4 is displayed on the next line of the header unit 35 (however, the line marked with "exclusion" is The top line without the "exclude" mark, if any),
A display prompting to erase the display of the numbers and proceed with the operation for designating the operator in the column of this line (in the drawing, the vertical ruled line portion 2
(Represented by a heavy line) and a predetermined guide message is displayed. The cursor K is located at the first digit in the leftmost column. The "calculation" key 116 allows the control unit to easily identify the second line of the table and the vertical ruled line that divides it horizontally by using a ruled line code or the like depending on the position of the cursor K when the key is pressed. Although it is assumed that the table has a header portion, the presence / absence of the header portion may be designated so that the calculation can be performed for the table without the header portion.
次に演算子の指定は「+」キー1171、 「*」キー1173、「/」キー1174によって行われる。第
6図(イ)では数量と単価の積を求め、この積の金額を金
額欄に表示、印字させるべく、数量の列には+、単価の
列には*、金額の列には=を指定する。−の欄に対する
演算子指定から隣の欄への移動は「タブ」キー119によ
って指示させる。本発明品は+、−、=を含む列につい
ては小計、合計を各マークを有する行に算出せしめるの
で、演算子の指定にあたってはそれを配慮する必要があ
り、上述の例でも数量合計を必要とするので、これを加
算時の被加数と実質的に同様に処理される被乗数とすべ
く、その列に+を指定する。Next, to specify the operator, press the "+" key 1171, This is performed by the "*" key 1173 and the "/" key 1174. In Fig. 6 (a), the product of the quantity and unit price is calculated, and the amount of this product is displayed and printed in the amount column, + is displayed in the quantity column, * in the unit price column, and = in the amount column. specify. The “tab” key 119 is used to instruct the movement from the operator designation for the − column to the adjacent column. Since the product of the present invention can calculate the subtotal and the total for the columns containing +,-, = in the row having each mark, it is necessary to take that into consideration when designating the operator, and the total quantity is also required in the above example. Therefore, in order to make this a multiplicand processed in substantially the same way as the augend at the time of addition, + is specified in the column.
このようにして演算子を指定したあと「実行」キー115
を打鍵すると制御部2はこれを受けて次には編集指定モ
ードに移り、第6図(ロ)に示すように所定のガイドメッ
セージを表示させ、次に説明する編集子を最初に入力せ
しめるべき列の第2行目の縦罫線を2重太線とする。After specifying the operator in this way, the "Execute" key 115
When the key is pressed, the control unit 2 receives this and then shifts to the edit designation mode to display a predetermined guide message as shown in Fig. 6 (b), and the editor to be described next should be input first. The vertical ruled line in the second row of the column is a double thick line.
編集子は縦又は横計算に係る結果の表記方法を指定する
ものであって数値は文字キー117のうちのNによって指
定最高桁の数だけキーインされる。第6図の例では3桁
分で十分であるのでNNNをキーインする。このような数
値データ用のN入力の前、後に¥或いは%、個、冊等の
文字データを入力し、また位取りの,をN間に入力する
場合は計算結果に併せてそれらの文字、記号も表示、印
字されることになる。なおこの実施例では半角キー120
を設けて半角文字の入力も可能としており、Nの半角文
字入力により例えば小数点以下を半角数字とする表示を
可能ならしめるようにしている。またNの入力よりも計
算結果桁数が大であるオーバーフローの状態になった場
合は後述するようにして計算の実行を指示した場合に該
当欄に*をNの数だけ表示させてNの再入力を行わしめ
る。The editor is for designating the notation method of the result related to the vertical or horizontal calculation, and the numerical value is keyed in by the N among the character keys 117 by the designated maximum digit number. In the example of FIG. 6, three digits are enough, so NNN is keyed in. When inputting character data such as \ or%, piece, book, etc. before and after N input for such numerical data, and when inputting scale between N, those characters and symbols are also added according to the calculation result. Will also be displayed and printed. In this embodiment, the half-width key 120
Is provided so that half-width characters can be input. By inputting N half-width characters, for example, it is possible to display with a half-width number after the decimal point. If an overflow condition occurs in which the number of digits of the calculation result is larger than the number of N's input, when the execution of the calculation is instructed as described later, * is displayed in the corresponding column for the number of N Complete the input.
数量欄に3つのNを入力したあと「タブ」キー119を打
鍵すると〔第6図(ロ)はこの状態を示している〕計算結
果の表示印字には無関係な単価欄をスキップして金額欄
に2重太線が移る。この欄にも所要のN及び文字、記号
をキーインして第6図(ハ)の状態としたあと「実行」キ
ー115を打鍵すると制御部2は一括計算モードに入り指
定された演算子に従って縦、横の計算を実行し、また指
定された編集子に従う表示、印字を行わせる。この場合
において欄中に¥、円、個等の非数値が示されていると
きにも数値データはこれらとは無関係に計算されること
は勿論である。第6図(ニ)はその結果を示すが「除外」
マークを付した行は計算対象にならないのは前述したと
おりである。計算終了と共に制御部は計算モードから編
集モードへ復帰する。If you press the "Tab" key 119 after entering three N's in the quantity column [Fig. 6 (b) shows this state], skip the unit price column that is irrelevant to the display of calculation results and display the amount column. The double bold line moves to. When the required N, letters, and symbols are also keyed in to this column to bring them to the state of FIG. 6 (c), when the "execute" key 115 is pressed, the control unit 2 enters the batch calculation mode and vertically according to the specified operator. , Horizontal calculation is performed, and display and print are performed according to the specified editor. In this case, it is needless to say that numerical data is calculated irrespective of these even when non-numerical values such as ¥, yen, and individual are shown in the column. Figure 6 (d) shows the result, but "Excluded"
As mentioned above, the marked lines are not included in the calculation. Upon completion of the calculation, the control unit returns from the calculation mode to the edit mode.
而して第5図に示すように編集子の指定を終えたあとカ
ーソルKが左端の罫線上にある状態で「実行」キー115
を打鍵すると制御部2は逐次計算モードに入り、1桁の
計算を行い、その行の横計算の結果を演算子が=である
列の欄に表示、印字させる。カーソルは次行の左端罫線
上に位置し次順の「実行」キー115の打鍵を待機する状
態になる。「実行」キー115の打鍵をでその行の横計算
が行われることは言うまでもない。Then, as shown in FIG. 5, after the editor has been designated, the cursor K is on the ruled line at the left end, and the "execute" key 115
When the key is pressed, the control unit 2 enters the sequential calculation mode, performs one-digit calculation, and displays and prints the result of the horizontal calculation of the row in the column of the column where the operator is =. The cursor is positioned on the leftmost ruled line of the next line and is in a state of waiting for the next execution of the "execute" key 115. It goes without saying that the horizontal calculation of the line is performed by pressing the "execute" key 115.
このような逐次計算モードによる場合は1行ごとの計算
結果を確認しながら入力作業を進めることができる。ま
た最初の1行分の確認のあと一括計算モードにすること
が可能である。In the case of such a sequential calculation mode, the input work can be carried out while confirming the calculation result for each line. It is also possible to switch to the batch calculation mode after checking the first line.
さて上述した如き演算子、編集子の指定の際に指定ミス
があった場合又は演算子指定モード、編集子指定モード
又は逐次計算モードにおいて「取消」キー121を打鍵し
た場合は入力モードに入り、カーソルが左端罫線上に位
置する状態になり、また所定のエラーメッセージを表示
する。By the way, if there is a mistake in the designation of the operator or editor as described above, or if the "Cancel" key 121 is pressed in the operator designation mode, the editor designation mode or the sequential calculation mode, the input mode is entered, The cursor will be positioned on the leftmost ruled line and a predetermined error message will be displayed.
制御部2はカーソル移動キー114のうち「↑」「↓」
「→」の打鍵により入力モードから演算子指定モードへ
復帰させるようにしている。上記指定ミスの場合は修正
入力せんとしてカーソルを上下又は右方へ移動させんと
するから、実質的に自動的に編集モードに復帰すること
になる。また制御部2は「終了」キー122の打鍵によっ
て編集モードに戻る。従って計算を終了したい場合は
「終了」キー122を打鍵し、通常の文書作成に戻れば良
い。The control unit 2 selects “↑” or “↓” from the cursor movement keys 114.
By pressing the "→" key, the input mode is returned to the operator designation mode. In the case of the above-mentioned designation error, the cursor is not moved up or down or rightward as a correction input, so that the edit mode is substantially automatically returned. Further, the control unit 2 returns to the edit mode by pressing the "end" key 122. Therefore, when it is desired to end the calculation, the "end" key 122 is pressed to return to normal document creation.
なお、文書印字に際しては特に必要のないラインタイプ
マーク「小計」等は印字せしめないようにしておくのが
よい。When printing a document, it is preferable not to print line type marks such as "subtotal" that are not particularly necessary.
ところで、第7図を参照しつつ、演算子による計算の指
定に関して説明しておく。第7図の第1行と第2行に示
される例は、加減算のみに係るものである。第3行と第
4行に示される例は、乗算・除算に係るものである。=
キーを有する欄については、定数の付加を許しており、
第5行のD列にはA〜C列の和に10を加えた値を、表
示,印字させる。第6行のC列にはA,B列の和から10を
減じた値を表示,印字させる。第7行、第8行は、定数
の除算(平均算出),乗算(100分率算出)の例を示し
ている。なお、第9行の例は、A,C,Eの列に付き縦計算
のみを行わせる例を示している。なお、この場合の演算
子は+でも=でもよい。Now, with reference to FIG. 7, designation of calculation by an operator will be described. The examples shown in the first and second lines of FIG. 7 relate only to addition and subtraction. The examples shown in the third and fourth lines relate to multiplication and division. =
For fields with keys, constants can be added,
A value obtained by adding 10 to the sum of columns A to C is displayed and printed in the D column of the fifth row. The value obtained by subtracting 10 from the sum of the A and B columns is displayed and printed in the C column of the sixth row. Lines 7 and 8 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 calculation is performed for columns A, C, and E. The operator in this case may be + or =.
以上の説明から明らかな如く、本発明のワードプロセッ
サは、縦罫線により列が区画される区画される表中の1
又は複数の列夫々に対し、同列中の各行の数値データを
横計算する時に共通する加算、減算、乗算、除算等の第
1の演算子(+、−、×、÷)を指定するとともに、こ
の横計算結果を表示又は、印字させる指定列を第2の演
算子(=)で指定する手段と、指定した演算子を特定の
行に表示する手段と、所定の演算子が指定された特定列
について複数行の数値データの小計の算出結果を表示又
は印字させる行を指定する手段と、同列の小計算出結果
を合算した合計の算出結果を該当列に表示又は印字させ
る行を指定する手段と、小計の算出結果を表示又は印字
させる行に小計算出のマークを、合計の算出結果を表示
又は印字させる行に合計算出マークを表示させる手段
と、指定した前記演算子に基づく計算を各行ごとに実行
し、前記小計算出マークが表示された行までの複数行の
数値データの小計を算出し、得られた小計を合計する計
算を前記各特定列ごとに実行する手段と、表中の指定
列、及び、前記指定行の特定列に、計算結果を表示また
は印字させる手段とを備えている。As is apparent from the above description, the word processor of the present invention has the number 1 in the table in which columns are divided by vertical ruled lines.
Or, for each of a plurality of columns, the first operator (+, −, ×, ÷) such as addition, subtraction, multiplication, division, etc., which is common when horizontally calculating the numerical data of each row in the same column, is specified, and A means for designating a designated column to display or print this lateral calculation result with the second operator (=), a means for displaying the designated operator on a specific line, and a specification for designating a predetermined operator. A means to specify the row to display or print the subtotal calculation result of multiple rows of numerical data for a column, and a means to specify the row to display or print the total calculation result obtained by adding the subcalculation results of the same column And a means for displaying a small calculation mark on the line displaying or printing the subtotal calculation result and a total calculation mark on the line displaying the total calculation result, and the calculation based on the specified operator for each line. Run every Means for calculating the subtotal of the numerical data of a plurality of lines up to the line where the check mark is displayed, and performing the calculation for summing the obtained subtotals for each of the specific columns, the specified column in the table, and the specified line And a means for displaying or printing the calculation result in the specific column.
つまり、本発明によれば、小計の算出指定及び当該小計
算出結果の合計算出の指定を行うと、小計算出マーク及
び合計算出マークの表示が為されるので、小計及び合計
が為される行に間違って数値を入力する畏れもない。That is, according to the present invention, when the calculation of the subtotal and the calculation of the total of the small calculation results are designated, the small calculation mark and the total calculation mark are displayed, so that the subtotal and the total are calculated. There is no fear of entering a wrong number in a line.
なお本発明は全文字配列タブレット方式のキーボードを
備えた日本語ワードプロセッサ又は欧文ワードプロセッ
サにも適用できる。The present invention can also be applied to a Japanese word processor or a European word processor equipped with an all character arrangement tablet type keyboard.
第1図は本発明品の構成を略示するブロック図、第2図
はキーボード配列図、第3図(イ)〜(ホ)は罫線用フォント
の説明図、第4図は表の例を示す説明図、第5図は制御
部の処理モードの概略を示す説明図、第6図(イ)〜(ニ)は
計算モードの場合の画面を示す説明図、第7図は演算子
の例とその機能を示す説明図である。 1…キーボード、2…制御部、3…メモリ、4…CR
T、5…プリンタ。FIG. 1 is a block diagram schematically showing the configuration of the product of the present invention, FIG. 2 is a keyboard layout diagram, FIGS. 3 (a) to (e) are explanatory diagrams of ruled line fonts, and FIG. 4 is an example of a table. FIG. 5 is an explanatory view showing an outline of a processing mode of the control unit, FIGS. 6 (a) to 6 (d) are explanatory views showing a screen in the calculation mode, and FIG. 7 is an example of an operator. It is explanatory drawing which shows and its function. 1 ... keyboard, 2 ... control unit, 3 ... memory, 4 ... CR
T, 5 ... Printer.
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭47−13843(JP,A) 特開 昭56−155441(JP,A) 特開 昭57−191769(JP,A) 特開 昭58−189760(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-47-13843 (JP, A) JP-A-56-155441 (JP, A) JP-A-57-191769 (JP, A) JP-A-58- 189760 (JP, A)
Claims (1)
複数の列夫々に対し、同列中の各行の数値データを横計
算する時に共通する加算、減算、乗算、除算等の第1の
演算子(+、−、×、÷)を指定するとともに、この横
計算結果を表示又は、印字させる指定列を第2の演算子
(=)で指定する手段と、 指定した演算子を特定の行に表示する手段と、 所定の演算子が指定された特定列について複数行の数値
データの小計の算出結果を表示又は印字させる行を指定
する手段と、 同列の小計算出結果を合算した合計の算出結果を該当列
に表示又は印字させる行を指定する手段と、 小計の算出結果を表示又は印字させる行に小計算出のマ
ークを、合計の算出結果を表示又は印字させる行に合計
算出マークを表示させる手段と、 指定した前記演算子に基づく計算を各行ごとに実行し、
前記小計算出マークが表示された行までの複数行の数値
データの小計を算出し、得られた小計を合計する計算を
前記各特定列ごとに実行する手段と、 表中の指定列、及び、前記指定行の特定列に、計算結果
を表示又は印字させる手段と を備えたことを特徴とするワードプロセッサ。1. A first addition, subtraction, multiplication, division, etc. common to one or a plurality of columns in a table in which columns are divided by vertical ruled lines, when the numerical data of each row in the same column is horizontally calculated. Specify the operator (+,-, ×, ÷), and specify the specified operator to display or print this horizontal calculation result with the second operator (=) and the specified operator. The method of displaying in the row of, the method of specifying the row for displaying or printing the calculation result of the subtotal of the numerical data of multiple rows for the specific column for which the predetermined operator is specified, and the small calculation result of the same column are combined. A means to specify the row to display or print the total calculation result in the corresponding column, and a small calculation mark on the row to display or print the total calculation result, and the total calculation to the row to display or print the total calculation result Means to display the mark and the specified calculation Perform calculations based on each row,
A means for calculating a subtotal of numerical data of a plurality of lines up to the line where the small calculation output mark is displayed, and performing a calculation for summing the obtained subtotals for each of the specific columns, a designated column in the table, and And a means for displaying or printing the calculation result in a specific column of the designated row.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018648A JPH0656606B2 (en) | 1990-01-29 | 1990-01-29 | Word processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018648A JPH0656606B2 (en) | 1990-01-29 | 1990-01-29 | Word processor |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57075664A Division JPS58192144A (en) | 1982-05-05 | 1982-05-05 | Word processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03135656A JPH03135656A (en) | 1991-06-10 |
| JPH0656606B2 true JPH0656606B2 (en) | 1994-07-27 |
Family
ID=11977439
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018648A Expired - Lifetime JPH0656606B2 (en) | 1990-01-29 | 1990-01-29 | Word processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0656606B2 (en) |
-
1990
- 1990-01-29 JP JP2018648A patent/JPH0656606B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03135656A (en) | 1991-06-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4931987A (en) | Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately | |
| JP2966420B2 (en) | Information processing device | |
| JPH0429106B2 (en) | ||
| JPH0656606B2 (en) | Word processor | |
| JPH0227150B2 (en) | ||
| JPH069047B2 (en) | Word processor | |
| JPH0437462B2 (en) | ||
| JP3663865B2 (en) | Form processing apparatus and storage medium | |
| US5121481A (en) | Text (word processor) having right end justified variable size display area for information related to input data | |
| JPS63146157A (en) | Document processor | |
| JPH0348328A (en) | Character processor having justification function | |
| JP3496499B2 (en) | Calculation data processing device | |
| JPS6114692A (en) | Image display control device | |
| JPH01126684A (en) | Document processor | |
| Schmidt et al. | Introduction to Spreadsheets: Calculations and Charts | |
| JPS648390B2 (en) | ||
| JPS6411982B2 (en) | ||
| JPS6226499B2 (en) | ||
| JPH0782493B2 (en) | Character processing device with dictionary registration function | |
| JPS61204765A (en) | Layout display method | |
| JP2000076370A (en) | Form recognition method and apparatus | |
| JPH06180702A (en) | Document processor | |
| JPS63310064A (en) | Information processor | |
| JPH06203021A (en) | Sentence information procesor | |
| JPS61296388A (en) | Rule deletion |