JPS59202567A - Calculating processor of table data - Google Patents

Calculating processor of table data

Info

Publication number
JPS59202567A
JPS59202567A JP58078038A JP7803883A JPS59202567A JP S59202567 A JPS59202567 A JP S59202567A JP 58078038 A JP58078038 A JP 58078038A JP 7803883 A JP7803883 A JP 7803883A JP S59202567 A JPS59202567 A JP S59202567A
Authority
JP
Japan
Prior art keywords
data
line
register
ruled line
column
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.)
Granted
Application number
JP58078038A
Other languages
Japanese (ja)
Other versions
JPH0127462B2 (en
Inventor
Hiroyoshi Kiuchi
木内 啓義
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP58078038A priority Critical patent/JPS59202567A/en
Publication of JPS59202567A publication Critical patent/JPS59202567A/en
Publication of JPH0127462B2 publication Critical patent/JPH0127462B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To attain calculating processing automatically for various operations by discriminating the types of a ruled line sectioning table data so as to attain automatically the calculating processing such as a total or a grand total and provide the significance of multiplication and division to the ruled line. CONSTITUTION:A start point and an end point data are stored respectively to a start point pointer SPT and an end point pointer EPT by a light pen LTP via a display controller CRTC, the type of a straight line or a dual line or the like is decided by a signal from a type register SHR so as to draw to lines. A ruled line discriminating section KHT stores the data of the lines to a row line information register CHR and a column line information register LHR. The operations above are repeated for plural number of times and when the forming of a table is finished, an item data is stored to an item register KMG and a display memory HM displaying color from a key input section KEY. A calculation control section SCT corresponds the data in the register KMG to the data in the registers CHR, LHR by using a control section CCT so as to attain required calculation such as a total and a grand total.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は表データの計算処理装置にかかり、特にマトリ
ックス表示された表データの縦、横方向の計算処理を行
う表データ計算処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a table data calculation processing device, and more particularly to a table data calculation processing device that performs calculation processing in the vertical and horizontal directions of table data displayed in a matrix.

〔従来技術〕[Prior art]

従来、売上環におりるコンピュータ処理にはマトリック
ス表示した集計が多く用いられている。
Conventionally, matrix display aggregation is often used for computer processing in the sales cycle.

例えば売上に関しては品名等の種類と月或いは週等とを
それぞれ横方向と縦方向に分割して表示し、それぞれの
集計を横方向、縦方向に行い表示している。さらに、特
定の単価に個数を掛ける演算すなわち乗算を横方向、縦
方向に行ない特定位置に表示している。このような表示
は品名等の種類による月別売上や、年間等の売上が見や
すいという特徴を有している。
For example, regarding sales, the type of product name, month, week, etc. are displayed separately in the horizontal and vertical directions, and the respective tabulations are performed and displayed in the horizontal and vertical directions. Further, an operation of multiplying a specific unit price by the number of pieces, that is, multiplication, is performed horizontally and vertically and displayed at a specific position. This kind of display has the characteristic that it is easy to see monthly sales by product name, etc., and annual sales.

前述の売」二、会計ばかりでなく、事務処理計算等にお
いても同様に、各項目や部門9年月等の相互関係の評価
や計算はマトリックス集計表を用いることが多い。
2. Not only in accounting, but also in office calculations, matrix summary tables are often used to evaluate and calculate the interrelationships between items, departments, etc.

一方、これらの集計表でなされる計算は小計、合計等の
加減算の他車価と個数から合計を求める為の乗算さらに
は合計と個数からたとえば平均的な単価を求める為の乗
算等四則演算を必要とする。
On the other hand, calculations performed using these summary tables include subtotals, additions and subtractions such as totals, multiplication to find the total from the vehicle price and number of pieces, and four arithmetic operations such as multiplication to find the average unit price from the total and number of pieces. I need.

前述のようなマトリックス表示されているデータの計算
は大別すると二つの方式に分かれる。
Calculation of data displayed in a matrix as described above can be roughly divided into two methods.

第1の方式は、C0BOL、 FORTRAN、 BA
STC等の高級言語を用い、使用者が目的に応じたプロ
グラムを作成し、そのプログラムによって作表及び項目
データの縦方向、横方向の計算を行うものである。
The first method is COBOL, FORTRAN, BA
Using a high-level language such as STC, the user creates a program according to the purpose, and uses that program to calculate tabulations and item data in the vertical and horizontal directions.

第2の方式はプログラムレス言語によって作表を行い、
マトリックス表示されているデータを用いて、縦方向、
横方向の計算をあらかしめ定義した・計算式によって行
うものである。この方式はプログラムレスであるが、前
述したように縦方向、横方向の計算をそれぞれ定義して
用いられる。
The second method is to tabulate using a programless language.
Using data displayed in a matrix, vertical direction,
Calculations in the horizontal direction are performed using a roughly defined calculation formula. This method is programless, but as described above, calculations in the vertical and horizontal directions are defined and used.

〔従来技術の問題点〕[Problems with conventional technology]

前述のようなマトリックス表示されているデータの計算
方式は次のような欠点をそれぞれ有している。第1の方
式は使用者が処理のためのプログラムを作成しなくては
ならず、使用できる者が限定されていた。すなわちC0
BOL、 FORTRAN、 RASIC等のプログラ
ムを作成できる者しかこのような計算を行うことができ
なかった。また、このようなプログラム作成には多大な
時間と労力を必要とした。第2の方式は前述のようにプ
ログラムを作成する必要がないため、だれにでも使用可
能ではあるが、集計用の横方向、縦方向の計算をそれぞ
れ定義しなければならず、プログラムレスとは言っても
結局はプログラムを組まねばならなかった。
The calculation methods for data displayed in a matrix as described above each have the following drawbacks. The first method requires the user to create a program for processing, and the number of people who can use it is limited. That is, C0
Only those who could create programs such as BOL, FORTRAN, and RASIC could perform such calculations. Moreover, creating such a program required a great deal of time and effort. The second method does not require creating a program as described above, so it can be used by anyone, but it requires defining horizontal and vertical calculations for aggregation, so it is not programless. In the end, I had to put together a program.

この定義は一般的な高級言語とは異なり、それぞれ使用
する装置によってその定義の方法はまちまちである。そ
のため、使用者はそれぞれの定義の方法をマニュアルを
見ながら行わなくてはならず、算盤等のように簡単に使
って処理することはできなかった。
This definition differs from that of general high-level languages, and the method of definition varies depending on the device used. Therefore, the user had to refer to the manual for each definition method, and could not use it as easily as with an abacus or the like.

〔発明の目的〕[Purpose of the invention]

本発明は前記問題点を解決するものであり、その目的と
するところはマトリックス集計表における縦方向、横方
向の小計、中間針1合計等の計算さらに単価と個数から
の合計(乗算)さらには合計と個数からの平均単価(除
算)等四則演算等を行う計算式のプログラムの製作や計
算式の定義を行わなくとも簡単に表計算ができる表デー
タ計算処理装置を提供することにある。
The present invention is intended to solve the above-mentioned problems, and its purpose is to calculate vertical and horizontal subtotals, totals for one intermediate needle, etc. in a matrix summary table, as well as totals (multiplication) from unit price and number of pieces. To provide a spreadsheet data calculation processing device that can easily perform spreadsheet calculations without creating a program for calculation formulas or defining calculation formulas for performing four arithmetic operations such as average unit price (division) from the total and number of pieces.

〔発明の要点〕 本発明の特徴とするところは、表データを横方向あるい
は縦方向の少なくとも一方向に計算する装置において、
一般に、表を引く際には項目を区分する罫線として普通
の一本線を用いるが、小計、あるいは合計を区分する罫
線については二重線、太線等の特殊な罫線や異なる色の
罫線を用いることに着目し、表データを区分する罫線の
種類を判別することによって、小計、あるいは合計の定
義を設定することなく、罫線を引くだけで自動的に小計
、合計等の計算処理を可能とする表データ計算処理装置
にある。また、本発明の更に特徴とするところは、罫線
に乗算、除算等の意味を持たせ、罫線を引(だけで自動
的に乗算、除算等の計算処理を可能とする表データ計算
処理装置にある。
[Summary of the Invention] The present invention is characterized in that an apparatus for calculating tabular data in at least one direction, horizontal or vertical, includes:
Generally, when drawing a table, regular single lines are used to separate items, but when it comes to dividing subtotals or totals, special rules such as double lines or thick lines or rules of different colors may be used. By focusing on the table data and determining the types of borders that separate table data, it is possible to automatically calculate subtotals, totals, etc. by simply drawing borders, without having to define subtotals or totals. Located in the data calculation processing device. A further feature of the present invention is that the ruled lines have the meaning of multiplication, division, etc., and the spreadsheet data calculation processing device can automatically perform calculations such as multiplication and division just by drawing the ruled lines. be.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を用いて本発明の詳細な説明する。 Hereinafter, the present invention will be explained in detail using the drawings.

第1図(alは本発明の装置における第1の、表示例を
示す。
FIG. 1 (al shows a first display example in the apparatus of the present invention.

商品a −dは例えば入荷した商品の品名を示す。Products a to d indicate, for example, the names of the products that have arrived.

単価Pはその入荷した商品の一般単価を、数量Nはその
入荷した商品の個数をそれぞれ示す。そして、金額PE
はその時の合計金額すなわち、単価Pに数量を乗じた値
を示す。たとえば商品aであるならば商品aの金額PE
は1500X5であるので7500となる。損率はたと
えば前述の金額に対する割合を示すものであり、実質金
額は金額PEと損率とを乗算した結果である。1本直線
である罫線11!oはそれらを単に分離する線である。
The unit price P indicates the general unit price of the received product, and the quantity N indicates the number of the received product. And the amount PE
indicates the total amount at that time, that is, the value obtained by multiplying the unit price P by the quantity. For example, if it is product a, the amount PE of product a
is 1500×5, so it becomes 7500. The loss rate indicates, for example, a percentage of the above-mentioned amount, and the actual amount is the result of multiplying the amount PE by the loss rate. Ruled line 11, which is one straight line! o is simply a line separating them.

一本直線と1点鎖線の2本線である罫線x+。Ruled line x+ is two lines: a straight line and a dashed dotted line.

12は乗算を意味する線であり、第1図(alでは横方
向のみであるが、一本直線と1点鎖線の2本線の横方向
あるいは縦方向の直前のデータとその直前のデータのさ
らに1行あるいは1列前のデータを乗算し、その線の直
後すなわち右位列あるいは下位行にその結果が入ること
を示す。すなわち前述した様にたとえば罫線l!1の場
合には各商品a〜dの単価Pと数量Nを乗算した結果が
金額PEに入る。また同様に罫線12の場合には金額P
Eと損率Mを乗算した結果が実質金額RPに入る。
12 is a line that means multiplication, and in Figure 1 (Al, only the horizontal direction is shown, but the data immediately before the horizontal or vertical direction of the two lines, a single straight line and a dashed dotted line, and the data immediately before that) Indicates that the data from one row or column before is multiplied and the result is placed immediately after that line, that is, in the right column or lower row.In other words, as mentioned above, for example, in the case of ruled line l!1, each product a~ The result of multiplying the unit price P of d by the quantity N is included in the amount PE.Similarly, in the case of ruled line 12, the amount P
The result of multiplying E by the loss rate M is the real amount RP.

二本直線ρ3はその直線の下位行あるいは右位列が小計
であるか合計であるかを示す。すなわち商品a −dの
J@価P、金額PE、実質金額RPの累計が合計Tに入
る。尚、数量、損率の合計は意味を有さないので空白と
する。
The two straight lines ρ3 indicate whether the lower row or right column of the straight line is a subtotal or a total. That is, the cumulative total of J@price P, amount PE, and real amount RP of products a to d is included in the total T. Note that the total quantity and loss rate have no meaning, so they are left blank.

第1図(blは本発明の装置における第2の表示例を示
す。 品名al+−24,b、、b、、、C1〜c3は
例えば売上簿の品名を示す。小計a、b。
FIG. 1 (bl shows a second display example in the device of the present invention. Product names al+-24, b, , b, , C1 to C3 indicate product names of a sales book, for example. Subtotals a, b.

Cはそれぞれ品名a+−a4の小計、品名b+。C is the subtotal of product name a+-a4 and product name b+, respectively.

b2の小計、品名C【〜C3の小計を示す。合計dは小
計a、b、cの合計を示す。最上位行に示されているA
−Fは例えば月日等の区分であり、Gは前述月日におけ
る合計を示す。罫線M++はマトリンクス表上の各項目
を縦、横に分離する線である。二本線文12はその下位
行あるいは右位列が小計あるいは合計を示す線である。
Subtotal of b2, product name C [-Shows subtotal of C3. The total d indicates the sum of subtotals a, b, and c. A shown in the top row
-F is a classification such as month and day, and G indicates the total for the month and day. The ruled line M++ is a line that separates each item on the matrix table vertically and horizontally. The two-line text 12 is a line in which the lower row or right column indicates a subtotal or total.

本発明は前述の罫線情報によってその集計処理を行うも
のであり、第1図(a)の場合には二本線又1.又2を
検出し、横方向あるいは縦方向の直前のデータとその直
前データのさらに1行あるいは1列前のデータを乗算し
、その結果をその線の直後すなわち右位列あるいは下位
列に出方する。
The present invention performs the aggregation process using the above-mentioned ruled line information, and in the case of FIG. 1(a), two lines or one line are used. Also, detect 2, multiply the immediately previous data in the horizontal or vertical direction by the data one row or one column before the previous data, and output the result immediately after that line, that is, in the right column or lower column. I will do it.

さらに二本線又3.+2+ 2 (第1図(b))を検
出し、行方向あるいは列方向のそれぞれの小計を二本線
又3.又I2の右位列あるいは下位行にそれぞれ出力す
纂。さらに二本線が連結して存在するすなにはその下位
行は合計を表示する。
Two more lines and 3. +2+2 (Fig. 1(b)) is detected, and each subtotal in the row direction or column direction is divided into two lines or 3. Also, the summaries are output to the right column or lower row of I2. Furthermore, if there are two connected lines, the lower row displays the total.

第2図は本発明の第1の実施例である。制御部OCTは
キー入力部KEY、罫線作成部KST、罫線判別部KH
T、ディスプレイ制御部CRTC。
FIG. 2 shows a first embodiment of the invention. The control unit OCT includes a key input unit KEY, a ruled line creation unit KST, and a ruled line discrimination unit KH.
T. Display control unit CRTC.

計算制御部SCT、項目レジスタKMGを制御する。Calculation control unit SCT controls item register KMG.

制御部OCTによりキー人力が許可され、キー人力部K
EYより罫線データが出力されて種類レジスタSHHに
格納される。またコマンド信号すなわち罫線作成時に必
要な制御信号がキー人力部KEYにより制御部OCTに
出力される。この信号は操作者によってKEYが押下さ
れたときに出力される。この信号によって制御部CCT
はディスプレイ制御部CRTCを制御する。
The key human power is permitted by the control unit OCT, and the key human power unit K
Ruled line data is output from EY and stored in type register SHH. Further, a command signal, that is, a control signal necessary for creating ruled lines, is outputted to the control unit OCT by the key human power unit KEY. This signal is output when the operator presses the KEY. This signal causes the control unit CCT to
controls the display control unit CRTC.

罫線の始点ポイントのキーが押下された場合にはその信
号を受けて制御部CCTはディスプレイ制御部CRTC
を制御してライトペンLTPが指示したポインタをリー
ドさせ、その結果を始点ポインタに格納させる。また同
様に終点ポイントのキーが押下された場合には制御部O
CTはディスプレイ制御部CRTCを制御し、ライトペ
ンLTPが指示したポインタをリードさせ、その結果を
終点ポインタに格納させる。この二つの入力によって始
点、終点のそれぞれのポインタが始点ポインタSPT、
終点ポインタEPTに格納される。
When the key at the starting point of the ruled line is pressed, the control unit CCT receives the signal and controls the display control unit CRTC.
is controlled to read the pointer indicated by the light pen LTP, and the result is stored in the starting point pointer. Similarly, when the end point key is pressed, the control unit O
The CT controls the display control unit CRTC, causes it to read the pointer indicated by the light pen LTP, and causes the result to be stored in the end point pointer. With these two inputs, the respective pointers of the start point and end point are changed to the start point pointer SPT,
It is stored in the end point pointer EPT.

前述のポインタの結果は罫線作成部KST、罫線判別部
KHTに入力される。罫線作成部KSTでは前述のポイ
ンタSPT、EPTで指示された間を罫線データ例えば
直線あるいは各種の二本線で結び、そのデータを表示メ
モリHMに格納する。
The result of the above-mentioned pointer is input to the ruled line creation section KST and the ruled line discrimination section KHT. The ruled line creation section KST connects the points indicated by the pointers SPT and EPT with ruled line data, such as a straight line or various types of double lines, and stores the data in the display memory HM.

罫線作成部KSTでは各ポインタ間の表示が完了するた
びに制御部OCTに完了信号を出力する。
The ruled line creation section KST outputs a completion signal to the control section OCT every time the display between each pointer is completed.

なお、直線あるいは二本線、たとえば二本の直線が直線
と1点鎖線の二本であるかの指定は種類レジスタSHR
から入力される信号によって決定される。また種類レジ
スタS HRの信号は罫線判別部KHTにも入力される
In addition, you can specify whether the two straight lines are a straight line or two dotted lines, for example, a straight line or a one-dot chain line, using the type register SHR.
determined by the signal input from The signal of the type register SHR is also input to the ruled line discrimination section KHT.

罫線判別部KHTは始点ポインタSPT、終点ポインタ
EPTより得られるデータと種類レジスタSHRより得
られるデータより行線情報2列線清報の各データを作成
し、行線情報レジスタCHR,列線情報レジスタLHR
に格納するとともに制御部OCTに完了信号を出力する
。前述の罫線作成部KSTと罫線判別部KHTでの各処
理は始点ポインタと終点ポインタとが指定される毎に行
われる。すなわち行方向1列方向にそれぞれ複数回行わ
れる。
The ruled line discrimination unit KHT creates each data of row line information 2 column line information from the data obtained from the start point pointer SPT and the end point pointer EPT and the data obtained from the type register SHR, and writes the row line information register CHR and the column line information register LHR
and outputs a completion signal to the control unit OCT. Each process in the ruled line creation unit KST and ruled line determination unit KHT described above is performed every time a start point pointer and an end point pointer are specified. That is, it is performed multiple times in each row and column direction.

表作成がすべて完了すると、キー人力部 KEYより項
目データが出力され制御部CCTの制御によ−って項目
レジスタKMGに取り込まれる。これはすべてのデータ
すなわち表示で作られたマトリックスの行数X列数骨の
項目である。ただし必要としない数値データ等は入力さ
れない場合もある。
When all table creation is completed, item data is output from the key manual section KEY and taken into the item register KMG under the control of the control section CCT. This is the number of rows x number of columns of the matrix made up of all the data or displays. However, unnecessary numerical data etc. may not be input.

なお、項目レジスタKMGに格納された項目データは格
納されるとほぼ同時に表示メモリHMに格納される。表
示メモリはレッド、グリーン、ブルーの3色のメモリH
M−R,HM−G、HM−Bをそれぞれ有し、複数の色
を表示する機能を有している。 計算制御部SCTでは
制御部OCTより送られる制御開始信号によって、項目
レジスタKMGに格納されているデータと行線情報レジ
スタCHR1列線情報レジスタLHHに格納されている
行線情報、列線情報とを対応させて読み出し、必要とす
る計算を行なう。その計算が小計、合計の場合小計レジ
スタSTR並びに合計レジスタGTRを用いて列並びに
行方向の小計、合計を行う。その結果は各行単位並びに
各列単位で項目レジスタKMGに格納されるとともに表
示メモリHMに格納される。計算動作がすべて完了する
と計算制御部SCTから完了信号が制御部OCTに出力
される。前記小針並びに合計動作は計算制御部SCTの
内部に設けられているアドレスレジスタを用いて行われ
る。
Note that the item data stored in the item register KMG is stored in the display memory HM almost at the same time as being stored. Display memory is 3-color memory H: red, green, and blue.
It has M-R, HM-G, and HM-B, respectively, and has a function of displaying a plurality of colors. In the calculation control unit SCT, the data stored in the item register KMG and the row line information and column line information stored in the row line information register CHR1 and the column line information register LHH are calculated by the control start signal sent from the control unit OCT. Read out the corresponding data and perform the necessary calculations. If the calculation is a subtotal or total, the subtotal register STR and total register GTR are used to perform the subtotal and total in the column and row directions. The results are stored in the item register KMG on a row-by-row and column-by-column basis, as well as in the display memory HM. When all calculation operations are completed, a completion signal is output from the calculation control unit SCT to the control unit OCT. The small hand and summation operations are performed using an address register provided inside the calculation control unit SCT.

表示部CRTは表示メモリに格納されているデータを表
示する装置であり、さらにライトペンLTPで指示され
た位置を検出するためにも用いられている。これらの表
示並びに検出はディスプレイ制御部CRTCによってな
される。
The display section CRT is a device that displays data stored in the display memory, and is also used to detect the position indicated by the light pen LTP. These displays and detections are performed by the display control unit CRTC.

第3図[a)は種類レジスクSHR内の8ビツトの線種
データ例を示す。ビットb6〜b4は線の表示色を示す
ビットであり、レッド、グリーン、ブルーが各ビ・7ト
に対応する。本発明の実施例においては各ビットが2値
を有するので白を含んで合計7色の表示が可能となる。
FIG. 3(a) shows an example of 8-bit line type data in the type register SHR. Bits b6 to b4 are bits indicating the display color of the line, and red, green, and blue correspond to each bit. In the embodiment of the present invention, since each bit has a binary value, it is possible to display a total of seven colors including white.

またビットb3〜boは線の形状ビットである。このデ
ータが′1000’  (” は2進を示す)の時1本
直線。
Further, bits b3 to bo are line shape bits. When this data is '1000'(" indicates binary), there is one straight line.

’1001’ の時2本直線、 “0010’ の時破
線、  ’1010’ の時直線と破線の2本線、 “
0011゛の時一点鎖線、 “1011′の時直線と一
点鎖線の2本線、 “0100’ の時2点鎖線。
'1001' has two straight lines, '0010' has a broken line, '1010' has two straight lines and a broken line, “
0011' is a one-dot chain line, ``1011' is a straight line and a one-dot chain line, and ``0100'' is a two-dot chain line.

’1100″の時直線と二点鎖線の2本線、0101′
の時波線、 “1101°の時直線と波線の2本線、 
 ”0110’ の時太線をそれぞれ示している。そし
てこのデータはキー人力部KEYより発生し8ビット単
位で種類レジスタSHRに格納される。
'1100'' Two lines: straight line and two-dot chain line, 0101'
``At 1101°, two lines, a straight line and a wavy line,
"0110" is indicated by a thick line.This data is generated from the key input unit KEY and stored in the type register SHR in units of 8 bits.

第3図(bl、 (CIは第1図(alに示した本発明
の装置第1の表示例における行線情報レジスタCHR。
FIG. 3 (bl, (CI is the line information register CHR in the first display example of the apparatus of the present invention shown in FIG. 1 (al).

列線情報レジスタLHHのそれぞれの処理結果データを
示す。αは文字データ、Dは数値データ。
Each processing result data of the column line information register LHH is shown. α is character data, D is numerical data.

Xは乗算結果データ、GTは合計データであることを示
すシンボルであり、行、列方向に対応したシンボルがコ
ード化されて前述の行線情報レジスタCHR列線情報し
ジスクLHRに記憶されている。
X is a symbol indicating multiplication result data, and GT is a symbol indicating total data. Symbols corresponding to the row and column directions are encoded and stored in the aforementioned row line information register CHR and column line information disk LHR. .

第3図fdl、 (el、 (flは第1図(blに示
した本発明の装置の表示列における行線情報レジスタC
HR1列線情報しジスタLHR1項目レジスクKMGの
それぞれの処理結果のデータを示す。第3図(d)。
FIG. 3 fdl, (el, (fl is the row line information register C in the display column of the device of the present invention shown in FIG. 1 (bl)
HR1 column line information and register LHR1 item register KMG data showing the respective processing results. Figure 3(d).

te+におけるαは文字データ、Dは数値データ、ST
は小計データ、GTは合計データであることを示スシン
ボルであり、行列方向に配したシンボルがコード化され
て、前述の行線情報レジスタCHR5列線情報レジスタ
L HRに記憶されている。
α in te+ is character data, D is numerical data, ST
is a symbol indicating subtotal data, and GT is a symbol indicating total data. The symbols arranged in the matrix direction are encoded and stored in the aforementioned row line information register CHR5 and column line information register LHR.

項目データが入力される前は数値データDと乗算データ
Xと小計データSTと合計データGTのみであり、文字
データαの指示はない。なぜならば、罫線が入力された
結果のみを入力しただけであり、項目データを入力して
いないからである。
Before the item data is input, there are only numerical data D, multiplication data X, subtotal data ST, and total data GT, and there is no instruction for character data α. This is because only the results of the input of ruled lines have been input, and no item data has been input.

すなわち、換言するならば、第1図(al、 (b)に
お4Jる各罫線又0.又I、又3.又11.又12.又
12′からは数値テーク09乗算デークX、と小計デー
タST、合計データGTのみ判別できるのであり、数値
データDと文字データαとの判別はできないからである
In other words, from each ruled line 4J in FIG. This is because only the subtotal data ST and the total data GT can be discriminated, and the numerical data D and the character data α cannot be discriminated.

文字データαが判別できるのは第3図(flに示した項
目レジスタKMGに項目データが入力されたときであり
、このときに数値データDが文字データに変換される。
The character data α can be determined when the item data is input to the item register KMG shown in FIG. 3 (fl), and at this time the numerical data D is converted to character data.

もし、文字データが入力されなかった場合には、すべて
の項目データは数値データとなり集計の対象となる。
If no character data is input, all item data becomes numerical data and is subject to aggregation.

第3図(glは行線情@(列線情報も同様形態である)
の他の格納例を示したものである。罫線データKを行線
情報に挿入したものであり、罫線データにと他の罫線デ
ータKによって挾まれた点が文字データあるいは数値デ
ータであることを示すデータが入る。小計データSTは
罫線と同様にこの場合には扱われる。例えば第3図(g
lにおける数値データDの間に小計データSTが存在し
、その次の項目が小計であることを示している。
Figure 3 (gl is row line information @ (column line information is also in the same format)
This shows another example of storing . The ruled line data K is inserted into the row line information, and the ruled line data includes data indicating that the points sandwiched by other ruled line data K are character data or numerical data. In this case, the subtotal data ST is treated in the same way as ruled lines. For example, Figure 3 (g
Subtotal data ST exists between numerical data D in l, indicating that the next item is a subtotal.

第4図は本発明の第2の実施例である。前記第1の実施
例と同様な動作をするがその処理はプロセッサCPUに
よってなされる。
FIG. 4 shows a second embodiment of the invention. The operation is similar to that of the first embodiment, but the processing is performed by the processor CPU.

罫線判別部K HP、罫線作成部KSPはそれぞれの処
理すなわち罫線判別処理、罫線作成処理を行うプログラ
ムが格納されておりメモリより構成される。そして罫線
判別部KHP内には種類レジスタSHRを有する。
The ruled line discrimination section KHP and the ruled line generation section KSP are constructed of memories in which programs for performing respective processes, that is, a ruled line discrimination process and a ruled line generation process, are stored. The ruled line discriminator KHP includes a type register SHR.

リードオンリメモリROMは罫線作成処理と罫線判別処
理を除いた他の処理プログラム(集計処理等)と本発明
と直接的に関係のない他の処理プログラムが格納されて
いる。
The read-only memory ROM stores processing programs other than the ruled line creation processing and ruled line discrimination processing (such as total processing) and other processing programs not directly related to the present invention.

表示用メモリCRTMはディスプレイ装置CRTに表示
するディスプレイが格納されるメモリでありレッド、グ
リーン、ブルーの3色を記憶するメモリをそれぞれ有し
ている。ディスプレイ制御部CRTCはライトペンLT
Pより得られるデータの処理とディスプレイメモリの制
御を行う。
The display memory CRTM is a memory in which a display to be displayed on the display device CRT is stored, and has memories for storing three colors, red, green, and blue, respectively. Display control unit CRTC is Light Pen LT
Processes data obtained from P and controls display memory.

キー人力部KEYは操作者が制御コマンド、項目データ
を入力する入力装置であり入カキ−を有している。メモ
リRAMはランダムアクセスメモリであり、各処理を実
行するときのワークエリアとして用いられる。例えばプ
ロセッサCPUのスタック領域もそのメモリRAMに割
り当てられる。
The key manual section KEY is an input device through which an operator inputs control commands and item data, and has input keys. The memory RAM is a random access memory and is used as a work area when executing each process. For example, the stack area of the processor CPU is also allocated to its memory RAM.

項目レジスタI(MG、行線情報レジスタCHR1列線
情報レジスタLHR,始点ボインクSPT。
Item register I (MG, row line information register CHR1 column line information register LHR, start point boiling SPT.

終点ポインタEPT、小計レジスタSTR,合計レジス
タCTRは前述した本発明の第1の実施例の各レジスタ
にそれぞれ対応するものであり、ランダムアクセスメモ
リよりなる。前述の罫線判別部KHP、罫線作成部KS
P、メモリROM、表示用メモリCRTM、ディスプレ
イ制御装置CRTC、キー人力部KEY 、メモリRA
M、各レジスタKMG、CHR,L)IR,SPT、E
PT。
The end point pointer EPT, subtotal register STR, and total register CTR correspond to the registers of the first embodiment of the present invention described above, and are composed of random access memories. The above-mentioned ruled line discrimination unit KHP and ruled line creation unit KS
P, memory ROM, display memory CRTM, display control device CRTC, key human power section KEY, memory RA
M, each register KMG, CHR, L) IR, SPT, E
P.T.

STR,GTRはプロセッサCPtJのハスラインB旺
に接続されている。
STR and GTR are connected to the hash line B of the processor CPtJ.

第4図に示した本発明の第2の実施例は前記第2図に示
した本発明の第1の実施例と同じ処理を行う。
The second embodiment of the invention shown in FIG. 4 performs the same processing as the first embodiment of the invention shown in FIG.

第5図〜第8図は前述の本発明の第1.第2の実施例の
各処理フローを示す。
5 to 8 show the above-mentioned first embodiment of the present invention. Each processing flow of the second example is shown.

第5図は行線を表示し、行線情報を作成する処理フロー
である。行線の種類すなわち罫線の種類がキー人力部K
EYより入力され、設定(Se)される。次に罫線の始
点がライトペンLTPによって入力(S2)され、始点
ポインタ(xl、y+)が決定(S3)される。その結
果は始点ポインタSPTに格納(S3)される。同様に
終点からライトペンLTPによって入力(S4)され、
終点ポインタ(X2.y2)が決定(S5)される。
FIG. 5 is a processing flow for displaying line lines and creating line information. The type of row line, that is, the type of ruled line is the key to human power department K.
Input from EY and set (Se). Next, the starting point of the ruled line is input using the light pen LTP (S2), and the starting point pointer (xl, y+) is determined (S3). The result is stored in the starting point pointer SPT (S3). Similarly, it is input from the end point by the light pen LTP (S4),
The end point pointer (X2.y2) is determined (S5).

この時点において、罫線の種類並びにその罫線の始点、
終点の各ポインタ(x+、y+)。
At this point, the type of ruled line and the starting point of the ruled line,
Each pointer of the end point (x+, y+).

(X2.)+2)が定まったので、罫線作成部KSPを
実行(Se)させディスプレイ装置CRTに表示(S7
)する。次に項目データの行エリアの確保(Se)を行
う。行、エリアの確保(Se)は行数に対応した項目レ
ジスタKMGの使用箇所を確保する処理である。この処
理は行数があらかじめ決められている場合には必要とし
ない。次に前述の罫線作成部の実行(Se)と同様に罫
線の種類並びにその罫線の始点、終点の各ポインタ(x
+、y+)、  (X2,1  y2)の各データを用
いて罫線判別部KHPを実行(Se)させ、行線情報を
求めてそのデータを行線情報レジスタCHHに格納する
。この処理は対応する行数分繰り返される。この処理が
終りであるか否かは終了判別(SIo)で行われる。前
述の第5図に示した処理が終了すると、行線情報レジス
タCHRには第3図ta+、 fclに示したよう、な
行数情報が格納されている。
(X2.)+2) is determined, the ruled line creation unit KSP is executed (Se) and displayed on the display device CRT (S7
)do. Next, a line area for item data is secured (Se). Securing rows and areas (Se) is a process of securing a usage location of the item register KMG corresponding to the number of rows. This process is not necessary if the number of rows is predetermined. Next, in the same way as the execution (Se) of the ruled line creation part described above, the type of ruled line and the pointers (x
+, y+), (X2, 1 y2) is used to execute the ruled line determination unit KHP (Se) to obtain line information and store the data in the line information register CHH. This process is repeated for the corresponding number of rows. Whether or not this process is finished is determined by the completion determination (SIo). When the process shown in FIG. 5 is completed, the line information register CHR stores line number information as shown in ta+ and fcl in FIG.

列線情報においても前述の第5図に示した処理フローと
同様にして得られる。列線情報の処理完了によって第3
図(bl、 (dlに示した列線情報が列線情報レジス
タLHHに格納されている。さらにディスプレイ装置C
RTにはマトリックス図表が表示される。
Column line information is also obtained in the same manner as the processing flow shown in FIG. 5 described above. The 3rd page is displayed after the processing of column information is completed.
The column line information shown in the figure (bl, (dl) is stored in the column line information register LHH. Furthermore, the display device C
A matrix chart is displayed on RT.

第6図は前述の第5図に示した処理フローの罫線判別K
HPの実行(Se)をさらに詳しく表した処理フローで
ある。
Figure 6 shows ruled line discrimination K in the processing flow shown in Figure 5 above.
This is a processing flow showing HP execution (Se) in more detail.

まず罫線が一本直線か否かの判別(Ql)を行う。直線
である場合Yにはその罫線は数値或いは文字データであ
るとして行線情報レジスタCHR(列線情報処理の場合
には列線情報レジスタLHR)に数値データDを格納す
なわち設定(S++ )する。一本直線でない場合(N
)ならば次に二本直線であるかを判別(Q2)する。二
本直線でない場合N′には直線と一点鎖線の二本線であ
るかを判別する。直線と一点鎖線の二本線である場合(
Y”’)には行線情報レジスタCHR(列線情報処理の
場合には列線情報レジスタLHR)に乗算データXを設
定(S13)する。直線と1点鎖線の二本線でない場合
(N″’)には他の処理例えば入力ミスに対するエラー
処理の実行をする。二本直線である場合(Y′)にはそ
の前の罫線が二本直線であったか否かを判別(Q3)L
、二本直線でなかった場合(N″)には小計データST
を、二本直線であった場合(Y”)には合計データGT
を行線情報レジスタCHR(列線情報処理の場合にはレ
ジスタLHR)に格納(Se 2.Sep)し、処理を
終了する。前述の乗算データX、数値データD、小計デ
ータST、合計データGTはそれぞれの罫線に対応する
位置の項目データか乗算、数値、小計1合計であるかを
示すフラグであり、即ち、処理(Sll、312.  
 Sζ2゜513)はフラグX、D、ST、GTを各項
目データに対応する行線情報レジスタに設定することを
意味する。 罫線の判別Ql、Q2.Q3゜Q4は全て
の線の形状についての判別であるが、第6図中の()内
に示したように、罫線の種類が色によって分けられてい
る場合には色判別となる。 第7図は項目データ入力の
処理フローを示す。この処理は第5図に示した行線を表
示し、行線情報の作成する処理と列線を表示し、列線情
報の作成が完了した後に実行される。
First, it is determined whether the ruled line is a straight line (Ql). If Y is a straight line, it is assumed that the ruled line is numerical or character data, and numerical data D is stored or set (S++) in the row line information register CHR (column line information register LHR in the case of column line information processing). If it is not a straight line (N
), then it is determined whether there are two straight lines (Q2). If there are not two straight lines, it is determined whether N' is a straight line or a chain line. If there are two lines, a straight line and a dashed-dotted line (
For Y"'), set multiplication data X in the row line information register CHR (column line information register LHR in case of column line information processing) (S13). If the line is not a straight line and a dashed-dotted line (N"') performs other processing, such as error processing for input errors. If there are two straight lines (Y'), determine whether the previous ruled line was two straight lines (Q3) L
, if there are no two straight lines (N''), subtotal data ST
If there are two straight lines (Y”), the total data GT
is stored in the row line information register CHR (in the case of column line information processing, the register LHR) (Se 2.Sep), and the process ends. The aforementioned multiplication data , 312.
Sζ2゜513) means setting flags X, D, ST, and GT in the line information register corresponding to each item data. Judgment of ruled lines Ql, Q2. Q3 and Q4 are determinations for all line shapes, but as shown in parentheses in FIG. 6, when the types of ruled lines are classified by color, color determination is performed. FIG. 7 shows a processing flow for inputting item data. This process is executed after the row lines shown in FIG. 5 are displayed, the process for creating row line information and the column lines are completed, and the creation of column line information is completed.

まずキー人力部より項目データが入力(Se 4)され
る。次にそのデータを項目レジスタへ入力(S15)す
る。さらに、そのデータがα文字すなわち文字データで
あるか否かを判別(S16)する。この判別(S16)
において文字データであるならば対応する行線情報レジ
スタCHR1列線情報レジスタLHRの位置の数値デー
タDを文字データαに書換(SI7>、える。すなわち
D)ラグをαフラグにする。文字データでない場合(N
)にはすなわち数値データであるから、書換え処理(S
17)をジャンプする。すなわち書換え処理(SI7)
を実行せず次の処理に移る。
First, item data is input from the key personnel department (Se 4). Next, the data is input to the item register (S15). Furthermore, it is determined whether the data is an alpha character, that is, character data (S16). This determination (S16)
If it is character data, the numerical data D at the position of the corresponding row line information register CHR1 column line information register LHR is rewritten to character data α (SI7>, set, ie, D) and the lag is set to the α flag. If it is not character data (N
) is numerical data, so the rewriting process (S
17) Jump. That is, rewriting processing (SI7)
Proceed to the next process without executing.

次に、項目データが終了であるかを判別(S18)し、
処理終了(Y)ならば入力処理を終了し、処理が終了し
ていない(N)ならば再度入力処理(S14)にもどり
、項目データの入力を行う。前記処理は全項目データが
入力されるまで繰り返し行われる。なお、入力処理中に
項目によってはその項目データを必要としない場合があ
るが、その場合には空白データあるいは零等のデータを
入力する。
Next, it is determined whether the item data is finished (S18),
If the process is finished (Y), the input process is finished, and if the process is not finished (N), the process returns to the input process (S14) again and item data is input. The above process is repeated until all item data is input. Note that during the input process, depending on the item, the item data may not be required, but in that case, blank data or data such as zero is input.

第8図(alは第1の実施例の計算制御部SCT並びに
第2の実施例のプロセッサの計算説明プログラムの処理
フローである。 全項目データが入力されるとこの処理
を実行する。尚、第8図(al〜Fdlにおいてり印は
■の端子へ実行が移ることを示すシンボルである。
FIG. 8 (al is the processing flow of the calculation explanation program of the calculation control unit SCT of the first embodiment and the processor of the second embodiment. This process is executed when all item data are input. In FIG. 8 (al to Fdl, the cross mark is a symbol indicating that the execution moves to the terminal (■).

この処理が実行を開始(第8図fa+5TART)する
と第1に行単位の処理を行う。まず初期設定を行う。す
なわち小計レジスフSTR,合計レジスタGTRのそれ
ぞれのクリア(Tl、T?)を行う。これらのレジスタ
のクリア(TI、T?)は新しく行単位の合計を行うた
めの初期設定である。さらに行線情報のトップアドレス
並びに列線情報トップアドレスのセント (T3.T4
)を行う。これらのトップアドレスのセント (T3゜
T a )はこれから行う処理の入力データの格納され
ているトップアドレスのセントである。前述のレジスタ
のクリア(TI、T2)並びにトップアドレスのセント
(T3.T4)によって初期設定が完了する。
When this process starts executing (fa+5TART in FIG. 8), first, line-by-line processing is performed. First, perform the initial settings. That is, the subtotal register STR and total register GTR are each cleared (Tl, T?). Clearing these registers (TI, T?) is the initial setting for performing a new row-by-row summation. Furthermore, the cents of the top address of row line information and the top address of column line information (T3.T4
)I do. The cents of these top addresses (T3°T a ) are the cents of the top addresses where input data for the processing to be performed from now on is stored. Initialization is completed by clearing the registers (TI, T2) and sending the top address (T3, T4).

次に行方向の小計1合計の処理を行う。行線情報をリー
ド(T、+)L、行線情報が文字データαであるか、小
計データSTであるか、合計データGTであるかを判別
(T 6. T 7 、 T e )する。
Next, processing of subtotal 1 total in the row direction is performed. The line information is read (T, +)L, and it is determined whether the line information is character data α, subtotal data ST, or total data GT (T 6 , T 7 , T e ).

これら判別(T a、 T 7. T e)のうち一つ
でも一致(Y)であるならば処理端子■に実行を移動さ
せる。すべて不一致(N)であった場合すなわちデータ
であった場合にはこんどは列線情報をリー)”(T9)
する。さきで処理した判別結果がデータであったとして
も、列線情報が文字データαであるならば加算処理を行
う必要がないので、列線情報が文字データαであるかを
判別(Too)し一致(Y)であるならば処理端子■に
実行を移動させる。前述の判別(Too)が不一致(N
)であるならば、データ、乗算、小計2合計のうちどれ
かであるので、それらを判別し対応する処理を行う。す
なわち、まず列線情報が乗算であるか否かを判別(Te
 1)する。乗算である場合(Y)ならば現在の列アド
レスLADRの前後すなわち(LADR+1)、  (
LADR−1)が項目データの領域であるかを判別(T
I2)する。領域外であるならばエラー(ERR)であ
るので、エラー処理(ERJOB)を実行する。領域内
であれば正常(OK)であるので、現在の列アドレス(
LADR)の直前のアドレス(LADR−1)で指定さ
れる項目レジスタKMGの内容と現在の列アドレス(L
ADR)で指定される項目レジスタKMGの内容とを乗
算し、その結果を現在の列アドレスの直後のアドレス(
LADR−1−1)で指定される項目レジスタKMGに
格納(′「+3)する。前述の乗算であるかの判別(T
++)において乗算でない(N)ならば端子■から実行
を開始する。すなわち、列線情報が小計STであるか否
かを判別(Te4)する。列線情報が小計である(Y)
ならば小計レジスタSTRの内容を行列アドレスで指定
されるメモリに格納(Te 5)し、さらに小計レジス
タSTRをクリア(T22)する。列線情報が小計でな
いすなわち判別(1’14)が不一致(N)であるなら
ば次に合計であるかを判別(T”+6)する。この判別
が一致(Y)であるなら、合計レジスタの内容を行列ア
ドレスで指定されるレジスタに格納(TI7)し、合計
レジスタのクリア(Tlθ)を行なう。列線情報の合計
判別(Te6)が不一致(N)であるならデータである
ので、行列アドレスで指定されるレジスタの内容の読み
出しくT19)を行ない、合計レジスタGTの内容と加
算しその結果を合計レジヌタGTに格納(T2O)する
。さらに同様に行列アドレスで指定されるしパ多スタの
読み出した内容と小計レジスタSTの内容とを加算し小
計レジスタSTに格納(T21)する。処理T18゜T
21.T22の実行の終了後の実行並びに端子■からの
実行で列線情報アドレスに列データアドレス定数Zβを
加算(T23)する。列データアドレス定数とは指定さ
れた項目データの同一行における次の列に対応するアド
レス変化を示す定数である。すなわち、行線情報アドレ
ス、列線情報アドレスによって第1図左上部の項目デー
タ“′10”が格納されているレジスタが指定されたな
らば列線情報アドレスに列データアドレス定数77!を
加算(T23)の後は、その右の項目データ“8パが格
納されているレジスタが指定されることになる。
If even one of these determinations (T a, T 7. T e) is a match (Y), execution is moved to the processing terminal ■. If all of them are mismatched (N), that is, if they are data, then the column line information will be read)” (T9)
do. Even if the discrimination result processed earlier is data, if the column line information is character data α, there is no need to perform addition processing, so it is necessary to determine whether the column line information is character data α (Too). If there is a match (Y), execution is moved to the processing terminal ■. The above discrimination (Too) does not match (N
), it is either data, multiplication, or subtotal 2 total, so these are determined and the corresponding processing is performed. That is, first, it is determined whether the column line information is multiplication (Te
1) Do. If it is a multiplication (Y), the values are before and after the current column address LADR, i.e. (LADR+1), (
Determine whether LADR-1) is an item data area (T
I2) Do it. If it is outside the area, it is an error (ERR), so error processing (ERJOB) is executed. If it is within the area, it is normal (OK), so the current column address (
The contents of the item register KMG specified by the address (LADR-1) immediately before the column address (LADR) and the current column address (L
ADR), and the result is multiplied by the contents of the item register KMG specified by the current column address (ADR).
Store ('+3) in the item register KMG specified by LADR-1-1). Determine whether it is multiplication (T
++), if it is not multiplication (N), execution starts from terminal ■. That is, it is determined whether the column line information is the subtotal ST (Te4). Column line information is a subtotal (Y)
If so, the contents of the subtotal register STR are stored in the memory specified by the matrix address (Te5), and the subtotal register STR is further cleared (T22). If the column line information is not a subtotal, that is, if the determination (1'14) is a mismatch (N), then it is determined whether it is a total (T"+6). If this determination is a match (Y), the total register is The contents of are stored in the register specified by the matrix address (TI7), and the total register is cleared (Tlθ).If the column line information total determination (Te6) is a mismatch (N), it is data, so the matrix The contents of the register specified by the address are read (T19), added to the contents of the total register GT, and the result is stored in the total register GT (T2O). The read contents and the contents of the subtotal register ST are added and stored in the subtotal register ST (T21). Processing T18゜T
21. The column data address constant Zβ is added to the column line information address in the execution after the completion of the execution in T22 and in the execution from the terminal (2) (T23). A column data address constant is a constant that indicates a change in the address corresponding to the next column in the same row of specified item data. That is, if the row line information address and the column line information address specify the register storing the item data "'10" in the upper left corner of FIG. 1, the column data address constant 77! is assigned to the column line information address. After adding (T23), the register in which the item data "8pa" on the right side is stored is specified.

次に列線情報が終りであるかを判別(T24)する。す
なわち、行方向の処理が一行分終了したか否かを判別す
る。終了していない場合(N’)には端子甲より端子■
にもどり行線情報1ノード(T5)から再度実行する。
Next, it is determined whether the column line information has ended (T24). That is, it is determined whether or not processing in the row direction has been completed for one row. If it is not completed (N'), connect the terminal from terminal A to ■
Execute again from the return line information 1 node (T5).

終了している場合(Y)には行線情報アドレスに行デー
タアドレス定数Zcを加算(T25)L、さらに列線情
報トップアドレスセット(T26)を実行する。これら
の処理(T 25. T 26)によって次行の先頭列
が行列情報アドレスによって指示される。次に行線情報
が終りであるかを判別(T24)する。すなわち、各行
方向の処理がすべて終了したかを判別する。終了でない
場合には再度前記動作を繰り返す。終了した場合Yには
端子■の実行を開始する。
If it has been completed (Y), the row data address constant Zc is added to the row line information address (T25), and the column line information top address is set (T26). Through these processes (T25, T26), the first column of the next row is designated by the matrix information address. Next, it is determined whether the line information has ended (T24). That is, it is determined whether all processing in each row direction has been completed. If the process is not completed, the above operation is repeated again. If the process is completed, the execution of the terminal (■) is started if the process is completed.

端子■からの処理は列方向に対する集計処理であり、前
述の行方向に対する処理とほぼ同様である。行方向の集
計処理は、列方向の小計1合計はまだ実行されていない
ので、小計行1合計行は除いて実行させた。列方向に対
する処理は先に行われているので行線情報並びに列線情
報が文字データである場合のみ集計処理は行わず、その
他の場合に前述と同様に列方向に対して行う。まず、小
計2合計レジスタのクリア(T2 e、 T2 !l)
 。
The processing from terminal ■ is aggregation processing in the column direction, and is almost the same as the processing in the row direction described above. Since the subtotal 1 total in the column direction has not yet been executed, the aggregation process in the row direction was executed excluding the subtotal row 1 total row. Since the processing in the column direction has been performed first, the aggregation processing is not performed only when the row line information and column line information are character data, and in other cases, it is performed in the column direction in the same manner as described above. First, clear the subtotal 2 total register (T2 e, T2 !l)
.

行線9列線情報トップアドレスセント(T2O。Row line 9 column line information top address cent (T2O.

T 31 )を実行する。この動作は行方向に対する初
期設定(T+〜T a )と同じである。次に列線情報
1行線情報の読み出しくT32.T33)、文字データ
であるか否かの判別(T34.T35)と列線情報か乗
算であるかの判別を(T36)を行う。
T 31 ) is executed. This operation is the same as the initial setting (T+ to T a ) in the row direction. Next, read column line information and 1 row line information T32. T33), it is determined whether it is character data (T34, T35), and it is determined whether it is column line information or multiplication (T36).

ともに文字データでなく乗算データでない場合には行線
情報の小計、合計判別(T3?、T3B)を行なう。尚
、乗算データの時の乗数の小計、合計は意味を有さない
のでこのフローチャートにおいては除かれている。行線
情報が小計データ。
If both are neither character data nor multiplication data, subtotal and total determination of line and line information is performed (T3?, T3B). Note that the subtotal and total of multipliers in the case of multiplied data have no meaning and are therefore excluded in this flowchart. Line information is subtotal data.

合計データでない場合には行列アドレスで指定されるレ
ジスタの内容の読み出しくT39)、合計レジスタと加
算して合計レジスタに格納(Ta。
If it is not total data, read the contents of the register specified by the matrix address (T39), add it to the total register and store it in the total register (Ta).

)、小計レジスタと加算して小計レジスタに格納(T4
i)の処理を行う。小計データであるならば、小計レジ
スタの内容を行列アドレスが指定する項目レジスタに格
納(Ta+)L、小計レジスタのクリア(Ta2)を行
う。合計データであるならば、合計レジスタの内容を行
列アドレスが指定する項目レジスタに格納(Ta3)L
、合計レジスタクリア(T4a)する。
), added to the subtotal register and stored in the subtotal register (T4
Perform the process i). If it is subtotal data, the contents of the subtotal register are stored in the item register specified by the matrix address (Ta+)L, and the subtotal register is cleared (Ta2). If it is total data, store the contents of the total register in the item register specified by the matrix address (Ta3)L
, clear the total register (T4a).

これらの処理は一列単位で行われるため、行線情報アド
レスに行データアドレス定数Zcを加算(Taa)i、
て、−列が終了したか否かを行線情報アドレスを用いて
判別(Ta7)する。終了していない場合には端子叩よ
り端子■に実行が移動して列線情報リード(T32)か
ら再度実行する。
Since these processes are performed on a column-by-column basis, the row data address constant Zc is added to the row line information address (Taa)i,
Then, it is determined whether the - column has ended using the row line information address (Ta7). If the process has not been completed, the execution moves from the terminal tap to the terminal (2) and is executed again from the column line information read (T32).

−列処理が終了した場合には列線情報アドレスに列アド
レス定数ZXを加算し、さらに行線情報トップアドレス
セント (Ta9)を行う。さらに列線方向に対する処
理が終了したか否かを判別(T2O)し、終了していな
い場合には端子■から再度実行する。終了の場合(Y)
には、すべての集計処理が終了したとしてこの処理の実
行が終る。
- When the column processing is completed, add the column address constant ZX to the column line information address, and then perform the row line information top address cent (Ta9). Furthermore, it is determined whether or not the processing in the column line direction has been completed (T2O), and if it has not been completed, the processing is executed again from terminal (2). In case of termination (Y)
In this case, the execution of this process ends, assuming that all aggregation processes have been completed.

前述の動作によって、乗算小計1合計データが指定され
た位置に表示される。
By the above-described operation, the multiplication subtotal 1 total data is displayed at the designated position.

第9図は罫線作成部KST、KSPにおける処理フロー
図であり、第5図に示した処理S6を詳細に示すもので
ある。すなわち入力した線の種類、始点、終点の各デー
タをもとに表示部CRTに表示するためのデータを発生
する処理である。まず、入力したX軸座標が一致してい
るか否かを判別(R+)する。 一致している場合(Y
)には2点間の差分を求める処理(R3)を実行する。
FIG. 9 is a processing flow diagram in the ruled line creation units KST and KSP, and shows the process S6 shown in FIG. 5 in detail. That is, this is a process of generating data to be displayed on the display section CRT based on the input data of the line type, starting point, and ending point. First, it is determined whether the input X-axis coordinates match (R+). If they match (Y
), a process (R3) for calculating the difference between two points is executed.

一致していない場合(N)にはX軸座標が一致している
か否かを判別(R2)する。ここの判別で一致していな
い場合にはエラー処理として、他の処理を実行する。一
致している場合(Y)には処理(R3)を実行する。こ
れら前述二つの判別処理(R1,R2,)は入力した始
点、終点を結ぶ線分がX軸あるいはy軸に対して傾いて
いるかいないかを判別するものであり、傾いていない場
合すなわちX軸あるいはy軸に対して平行線である時に
は、それぞれの点のX座標値あるいはX座標値が等しい
という条件より求めるものである。X座標あるいはX座
標が一致している場合には前述した様に処理(R3)を
実行する。処理(R3)は入力した始点、終点間の間隔
を求める処理である。
If they do not match (N), it is determined whether the X-axis coordinates match (R2). If they do not match in this determination, other processing is executed as error processing. If they match (Y), process (R3) is executed. These two discrimination processes (R1, R2,) are for determining whether the line segment connecting the input start point and end point is tilted with respect to the X axis or the y axis.If it is not tilted, that is, the X axis Alternatively, when the line is parallel to the y-axis, it is determined based on the condition that the X-coordinate values or X-coordinate values of each point are equal. If the X coordinates or the X coordinates match, the process (R3) is executed as described above. The process (R3) is a process for calculating the interval between the input starting point and ending point.

すなわち、X座標X座標の差分ΔX、Δy、  <ΔX
=lX2−XI 1.Δy=ly2−y+ l)を求め
る。ここで(x+、)’l)は始点の座標、(X2. 
 y2)は終点の座標である。
In other words, the difference between the X coordinates ΔX, Δy, <ΔX
=lX2-XI 1. Find Δy=ly2−y+l). Here, (x+,)'l) is the coordinate of the starting point, (X2.
y2) is the coordinate of the end point.

次にX座標の差分ΔXが零であるか否かを判別(R4)
する。この判別はX軸に対して平行であるか、あるいは
y軸に対して平行であるかを求める処理である。ΔXが
零でない場合(N>には入力した線の種類に従って1キ
ャラクタ分の横線を求め(R5)表示部に表示する。尚
、表示ば表示メモリHMにデータを書くことによって自
動的に表示される。 そして△Xの値から1キャラクタ
分の値を引<(Ra)。即ちΔXの値をディクリメント
する。そして次にΔXが零であるか否かを判別(R7)
する。零でない(N)ならば再度、処理R5を行い、零
になるまで順次繰り返す。前述の動作は横軸すなわちX
軸方向に線分を画く場合の処理である。
Next, determine whether the difference ΔX in the X coordinate is zero (R4)
do. This determination is a process of determining whether the object is parallel to the X axis or the y axis. If ΔX is not zero (N>, a horizontal line for one character is calculated according to the input line type (R5) and displayed on the display section. If it is displayed, it will be automatically displayed by writing data to the display memory HM. Then, subtract the value of one character from the value of △X <(Ra). In other words, the value of ΔX is decremented. Then, it is determined whether ΔX is zero or not (R7).
do. If it is not zero (N), process R5 is performed again, and it is repeated in sequence until it becomes zero. The above operation is performed on the horizontal axis, i.e.
This is a process when drawing a line segment in the axial direction.

前述の判別(R4)が零である場合(y)にはy軸方向
の線分を画く処理がなされる。すなわちX軸方向におけ
るものと同様にまず線の種類に従って1キャラクタ分の
縦線を引<(Rs)。そしてΔyをディクリメント(R
9)L、さらにその値が零であるか否かを判別(R+o
)する。零でない場合には再度処理(R8)を行う。そ
してΔyが零となるまで前述の処理を繰り返す。
If the above-described determination (R4) is zero (y), a process of drawing a line segment in the y-axis direction is performed. That is, in the same way as in the X-axis direction, first draw a vertical line for one character according to the line type <(Rs). Then Δy is decremented (R
9) L, further determine whether the value is zero (R+o
)do. If it is not zero, the process (R8) is performed again. Then, the above-described process is repeated until Δy becomes zero.

前述の動作が終了(END)することによってX軸ある
いはy軸方向の直線が表示部に画かれる。
When the above-described operation is completed (END), a straight line in the X-axis or y-axis direction is drawn on the display section.

換言するならば、始点、終点間が指定された線分で結ば
れる。
In other words, the starting point and ending point are connected by the specified line segment.

第10図は前述した罫線作成部KSTの構成図である。FIG. 10 is a configuration diagram of the ruled line creation section KST mentioned above.

始点ポインタSPT、終点ポインタEPTから演算部K
STSにそれぞれのポインタに格納されたアドレスが人
力する。入力線は一本線で表わしているが、これは複数
の線によってそれぞれ入力される。演算部KSTSでは
制御部KSTCの指令によってワークレジスタKSTW
を用いてx、  X座標のそれぞれの差分を求め、さら
に表示すべき罫線のアドレス情報を発生する。その結果
は制御部KSTCを介してアドレス指定部KSTAに入
力する。アドレス指定部KS’TAは前述の表示すべき
罫線のアドレス情報から、画面に対応した表示メモリH
Mのアドレスを発生し、表示メモリHMに出力する。
From the start point pointer SPT and end point pointer EPT to the calculation section K
The addresses stored in each pointer are entered manually in the STS. Although the input line is shown as a single line, each input line is input using a plurality of lines. In the calculation unit KSTS, the work register KSTW is
The difference between the x and X coordinates is calculated using The result is input to the addressing unit KSTA via the control unit KSTC. The address specifying section KS'TA selects the display memory H corresponding to the screen from the address information of the ruled lines to be displayed.
The address of M is generated and output to the display memory HM.

一方、種類レジスタSHRからの罫線の種類データは罫
線データ発生部KSTDに加わり、表示メモリHMに書
き込むべきデータに変換される。
On the other hand, the ruled line type data from the type register SHR is applied to the ruled line data generation section KSTD and converted into data to be written into the display memory HM.

この変換はデータを1キャラクタ単位で発生する。This conversion generates data one character at a time.

前述のアドレス指定部KSTAと罫線データ発生部KS
TDは全て制御部KSTCの制御信号によって制御され
て動作する。さらに制御部KSTCの各部の制御は制御
部OCTの1ライン発生開始信号によって開始し、1ラ
イン発生終了と共に制御部OCTに制御部KSTCより
終了信号を発生して終了する。なお、この時、罫線情報
も制御部OCTに送出し、制御部CCTは項目レジスタ
KMGのエリア獲得を行う。
The aforementioned address designation section KSTA and ruled line data generation section KS
All TDs operate under the control of control signals from the control unit KSTC. Furthermore, control of each section of the control section KSTC is started by a one line generation start signal from the control section OCT, and ends when a termination signal is generated from the control section OCT from the control section KSTC at the end of one line generation. At this time, the ruled line information is also sent to the control unit OCT, and the control unit CCT acquires the area of the item register KMG.

第10図は罫線作成部KSTの構成図であるが第4図に
示したプロセッサCPUを用いた装置における罫線作成
部KSPにおけるプログラムも同様の動作をする。
Although FIG. 10 is a block diagram of the ruled line creation section KST, the program in the ruled line creation section KSP in the apparatus using the processor CPU shown in FIG. 4 operates in a similar manner.

第11図は罫線判別部KHTをさらに詳細に表わした構
成図である。
FIG. 11 is a block diagram showing the ruled line discrimination section KHT in more detail.

制御部KHTCは制御図CCTから起動信号を受けて、
罫線種類判別部KHTH,行/列判別部K HT D 
、行線順位判別部KHTJ、列線順位判別部KHTI、
行線情報エリア指定部KHTN。
The control unit KHTC receives a start signal from the control diagram CCT,
Ruled line type discrimination unit KHTH, row/column discrimination unit KHTD
, row line rank determination unit KHTJ, column line rank determination unit KHTI,
Row line information area designation part KHTN.

列線情報エリア指定部KHTMを制御し3行線情報2列
線情報を発生する。先ず制御部CCTから起動信号を受
けると同時に罫線種類判別部K HTHに判別信号を入
力する。これによって罫線種類判別部K HT Hは判
別動作になり1種類レジスタS HRより入力する罫線
種類データを判別し、その結果をフラグデータ発生部K
HTFより出力する。フラグデータ発生部KHTFは入
力した結果より行線情報レジスタC’HR,列線情報し
ジスクL HRに格納すべきコード化したデータを発生
する。そしてこのコード化データが前述の各レジスタC
HR,LHHに格納される。尚、この時すなわちコード
化データは行/列判別部Kl−TrD、行線順位」′す
刷部KHTJ、列線順位判別部KHTI。
It controls the column line information area specifying unit KHTM and generates 3 row line information and 2 column line information. First, upon receiving a start signal from the control section CCT, a discrimination signal is input to the ruled line type discrimination section KHTH. As a result, the ruled line type discrimination section KHTH enters a discrimination operation, discriminates the ruled line type data inputted from the one type register SHR, and sends the result to the flag data generation section K.
Output from HTF. The flag data generating section KHTF generates coded data to be stored in the row line information register C'HR, column line information and disk LHR based on the input results. This coded data is then stored in each of the registers C
Stored in HR and LHH. Incidentally, at this time, the coded data is processed by the row/column discriminator Kl-TrD, the row/line rank determining unit KHTJ, and the column line rank discriminator KHTI.

行線情報エリア指定部2列線情報エリア指定部KHTM
の動作によって発生した行線情報アドレスあるいは列線
情報アドレスによって指定されるレジスタCHR,LH
Rのアドレスに格納される。
Row line information area specification section 2 column line information area specification section KHTM
Registers CHR and LH specified by the row line information address or column line information address generated by the operation of
It is stored at the address of R.

すなわち先ず始点ポインタSPT、終点ポインタEPT
より加わる始点終点データから行/列判別部KHTDで
行線であるか列線であるかを判別する。そして対応する
方向の順位判別部すなわち。
That is, first, the start point pointer SPT, the end point pointer EPT
A row/column discriminating unit KHTD determines whether the line is a row line or a column line based on the added starting and ending point data. and a corresponding direction ranking discriminator, ie.

行線であるならば行線順位判別部K HT Jへ1列線
であるならば列線順位判別部へ始点、終点データを出力
する。行線列線順位判別部KHTJ (KHTI)では
制御部KHTCの制御信号でその行線(列線)の順位を
判別する。すなわち現在記憶されている各罫線位置デー
タと入力されたデータとを比較判別し、入力された罫線
データの位置すなわち現在記憶されている各罫線位置デ
ータの順番のどの位置に入力された罫線データが対応す
るかを求める。そしてその順番のデータすなわち順位デ
ータを行線列線情報エリア指定部KHTN (KHTM
)に出力する。
If it is a row line, it outputs the start point and end point data to the row line rank determining section KHTJ.If it is a 1 column line, it outputs the start point and end point data to the column line rank determining section. The row/column line rank determination unit KHTJ (KHTI) determines the rank of the row line (column line) using a control signal from the control unit KHTC. In other words, each currently stored ruled line position data is compared with the input data to determine the position of the input ruled line data, that is, in which position in the order of the currently stored ruled line position data the input ruled line data is located. Ask for support. Then, data in that order, that is, rank data, is stored in the row, column, and line information area designation section KHTN (KHTM
).

行線(列線)情報エリア指定部では制御部KHTCの制
御信号で入力された順位データより、対応する順位の行
線(列線)情報レジスタCHR(LHR)のアドレスを
出力する。これによって行線(列線)情報レジスタCH
R(LHR)の特定レジスタが指定され、フラグデータ
発生部の出力データをその特定レジスタに格納する。そ
して、前述のデータを格納すると同時に制御部KHTC
は制御部CCTに完了信号を出力する0以上、本発明を
実施例を用いて詳細に説明した。
The row line (column line) information area specifying section outputs the address of the row line (column line) information register CHR (LHR) of the corresponding order based on the order data input by the control signal of the control section KHTC. This allows the row line (column line) information register CH
A specific register of R (LHR) is designated, and the output data of the flag data generation section is stored in the specific register. Then, at the same time as storing the above-mentioned data, the control unit KHTC
The present invention has been described in detail using embodiments.

本発明の実施例では小計2合計に対応する罫線は二本直
線であったが、これは他の線例えば点線。
In the embodiment of the present invention, the ruled lines corresponding to the two subtotals are two straight lines, but these may be replaced by other lines, such as dotted lines.

破線等でもよい。また、小計の区分線と合計の区分線を
異なった罫線としてもよい。さらに乗算においても同様
である。
A broken line or the like may also be used. Further, the dividing line for the subtotal and the dividing line for the total may be different ruled lines. Furthermore, the same applies to multiplication.

本発明の実施例では横方向においてのみ乗算を行なうよ
うになされているが、これは縦方向も可能である。尚、
この時には縦方向の乗算処理が必要となる。
In the embodiment of the present invention, multiplication is performed only in the horizontal direction, but this is also possible in the vertical direction. still,
At this time, vertical multiplication processing is required.

また、本発明によれば四則演算のほかにパーセントの計
算等各種の計算も罫線を適当に選定することによって行
うことができる。
Further, according to the present invention, in addition to the four arithmetic operations, various calculations such as percentage calculations can be performed by appropriately selecting ruled lines.

さらに 本発明の実施例ではライトペンを用いて始点、
終点のアドレスを指定したが、これはキー人力部からの
入力でも可能である。
Furthermore, in the embodiment of the present invention, a light pen is used to determine the starting point,
Although the end point address has been specified, this can also be input from the key manual section.

〔発明の効果〕〔Effect of the invention〕

以上、述べたように本発明の表デ、−り計算処理装置に
よれば表作成と同時に集計処理方法が入力されるので、
簡単な操作でマトリックス表示された種々のデータの集
計及び計算処理を簡単に行うことができる。
As described above, according to the table data calculation processing device of the present invention, the tabulation processing method is input at the same time as the table is created.
Aggregation and calculation processing of various data displayed in a matrix can be easily performed with simple operations.

さらには、難しいプログラムを作成しなくても良いので
だれでもが集計及び計算処理を行うことができる。また
、本発明によれば結果的には作成された表の小計エリア
、合計エリア並びに乗算エリアは二本直線等や他の二本
線の特定の線で区分されているため、非常に見易い表が
できるという効果もある。
Furthermore, since there is no need to create a complicated program, anyone can perform aggregation and calculation processing. Furthermore, according to the present invention, the subtotal area, total area, and multiplication area of the created table are divided by specific lines such as two straight lines or other two lines, so that the table is very easy to read. There is also the effect that it can be done.

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

第1図+a)、 (b)は本発明の装置による第1、第
2表の表示例を示す図、第2図は本発明の第1の実施例
を示す回路構成図、第3図(alは罫線の種類とコード
化データの関係を示す図、第3図(bl、 +d+は行
線情報例のデータ構成図、第3図(C1,(elは列線
情報例のデータ構成図、第3図(f)は項目レジスタの
情報例のデータ構成図、第3図(川は他の行線情報例を
示すデータ構成図、第4図はプロセッサを用いた本発明
の第2の実施例の回路構成図、第5〜第8図tal〜(
dl、第9図は本発明の実施例の処理フローチャート図
、第10図は罫線作成部の詳細な構成図、第11図は罫
線判別部の詳細な構成図である。 KEY ・・・キー人力部、   KST・・・罫線作
成部、    SPT・・・始点ポインタ、EPT・・
・終点ポインタ、    SHR・・・種類レジスタ、
   CC,T、KSTC,KHTC・・・制御部、 
   HM・・・表示メモリ、   CRTC・・・デ
ィスプレイ制御部、LTP・・・ライトペン、    
 KHT・・・罫線判別部、    KMG・・・項目
レジスタ、    STR・・・小計レジスタ、GTR
・・・合計レジスタ、    CRT・・・ディスプレ
イ装置。 特許出願人  カシオ計算機株式会社 代理人弁理士 大 菅 義 之 第1図 (0) 第1図 (b) 第3図 (0) (R)(G)(B) <C) 第3図 (b) 第8図 (d) 手続補正書 特許庁長官  若 杉 和 夫  殿 2、発明の名称 表データ計算処理装置 3、補正をする者 事件との関係  特許出願人 住所 東京都新宿区西新宿2丁目6番1号4、代理人 
 曇100  重(03) 591−87165、補正
命令の日付 自発 7、補正の内容 (11願書右上段部に「特許法第38条のただし書の規
定による特許出願」を加入する。 (21rl、発明の名称」の欄の次に11′、特許請求
の範囲に記載された発明の数 21の欄を加入する。
Figures 1+a) and (b) are diagrams showing display examples of the first and second tables by the apparatus of the present invention, Figure 2 is a circuit configuration diagram showing the first embodiment of the present invention, and Figure 3 ( al is a diagram showing the relationship between the types of ruled lines and coded data, Figure 3 (bl, +d+ is a data configuration diagram of an example of row line information, Figure 3 (C1, (el is a data configuration diagram of an example of column line information, FIG. 3(f) is a data configuration diagram of an example of information in the item register; FIG. 3(f) is a data configuration diagram showing another example of line information; FIG. Example circuit configuration diagram, Figures 5 to 8 tal~(
dl, FIG. 9 is a processing flowchart of an embodiment of the present invention, FIG. 10 is a detailed configuration diagram of the ruled line creation section, and FIG. 11 is a detailed configuration diagram of the ruled line discrimination section. KEY...Key human resources department, KST...ruled line creation department, SPT...start point pointer, EPT...
・End point pointer, SHR...type register,
CC, T, KSTC, KHTC...control unit,
HM...display memory, CRTC...display control unit, LTP...light pen,
KHT... ruled line discrimination section, KMG... item register, STR... subtotal register, GTR
...total register, CRT...display device. Patent applicant: Casio Computer Co., Ltd. Representative Patent Attorney Yoshiyuki Osuga Figure 1 (0) Figure 1 (b) Figure 3 (0) (R) (G) (B) <C) Figure 3 (b) ) Figure 8 (d) Procedural amendment Written by Kazuo Wakasugi, Commissioner of the Japan Patent Office 2, Invention title table data calculation processing device 3, Relationship with the person making the amendment Patent applicant address 2-chome Nishi-Shinjuku, Shinjuku-ku, Tokyo 6 No. 1 No. 4, Agent
Cloud 100 Heavy (03) 591-87165, Date of amendment order Vol. 7, Contents of amendment (11 Add "Patent application pursuant to the proviso to Article 38 of the Patent Act" in the upper right corner of the application. (21rl, Invention Next to the column ``Name of Claims'', a column 11' and a column 21 indicating the number of claimed inventions are added.

Claims (8)

【特許請求の範囲】[Claims] (1)表データを横方向あるいは縦方向の少なくとも一
方向に対して計算する装置に於て、表データを区分する
罫線の種類を判別する判別手段と、前記判別手段によっ
て得られる情報によって表データの横方向あるいは縦方
向の少くとも一方向に対して表データに対する計算を行
なう計算手段と、前記計算手段より得られた情報を所定
の位置に出力する出力手段よりなることを特徴とした表
データ計算処理装置。
(1) In a device that calculates tabular data in at least one direction, horizontally or vertically, a discriminating means for discriminating the type of ruled line that divides the tabular data, and a discriminating means for discriminating the type of ruled line that separates the tabular data, and a discriminating means for calculating the tabular data in at least one direction, horizontally or vertically. Tabular data comprising: calculation means for performing calculations on table data in at least one horizontal or vertical direction; and output means for outputting information obtained from the calculation means to a predetermined position. Computing processing device.
(2)前記計算手段は前記判別手段が前記罫線の種類を
判別した際に、該罫線の種類に応じて異なった計算を行
なうことを特徴とする特許請求の範囲第1項記載の表デ
ータ計算処理装置。
(2) The table data calculation according to claim 1, wherein the calculating means performs different calculations depending on the type of ruled line when the determining means determines the type of the ruled line. Processing equipment.
(3)前記計算手段は乗算、除算、加算あるいは減算を
行なうことを特徴とする特許請求の範囲第1項記載の表
データ計算処理装置。
(3) The spreadsheet data calculation processing device according to claim 1, wherein the calculation means performs multiplication, division, addition, or subtraction.
(4)前記計算手段は、前記判別手段が前記罫線の種類
を判別した際に特定線種の線の前のデータとさらにその
一個前のデータとを乗算する乗算手段を有し、前記出力
手段は前記乗算手段の出力を前記特定線種の線の直後に
出力してなることを特徴とする特許請求の範囲第1項記
載の表データ計算処理装置。
(4) The calculation means has a multiplication means for multiplying the data before the line of the specific line type by the data immediately before the line when the discrimination means discriminates the type of the ruled line, and the output means 2. The spreadsheet data calculation processing apparatus according to claim 1, wherein the output of the multiplication means is output immediately after the line of the specific line type.
(5)前記判別手段は罫線の種類を表示における色によ
って判別することを特徴とする特許請求の範囲第1項記
載の表データ計算処理装置。
(5) The spreadsheet data calculation processing device according to claim 1, wherein the determining means determines the type of ruled line based on the color in the display.
(6)前記判別手段は罫線の種類を表示におりる形状に
よって判別することを特徴とする特許請求の範囲第1項
記載の表データ計算処理装置。
(6) The table data calculation processing apparatus according to claim 1, wherein the determining means determines the type of ruled line based on the shape of the ruled line in the display.
(7)前記判別手段は罫線が計算に基ずく位置にあるか
を判別することを特徴とする特許請求の範囲第1項記載
の表データ計算処理装置。
(7) The table data calculation processing apparatus according to claim 1, wherein the determining means determines whether the ruled line is located at a position based on calculation.
(8)表データを横方向あるいは縦方向の少なくとも一
方向に対して計算する装置において、表データを区分す
る線を作成する罫線の作成手段と、前記罫線作成手段に
より作成される線の種類を判別する判別手段と、前記判
別手段によって得られた情報によって表データの横方向
あるいは縦方向の少なくとも一方向に対して表データに
対する計算を行なう計算手段よりなることを特徴とする
表データ計算処理装置。
(8) In a device that calculates table data in at least one direction, horizontally or vertically, a ruled line creating means for creating lines that divide the table data, and a type of line created by the ruled line creating means. A table data calculation processing device comprising: a discrimination means for making a discrimination; and a calculation means for performing calculations on the table data in at least one horizontal or vertical direction of the table data based on the information obtained by the discrimination means. .
JP58078038A 1983-05-02 1983-05-02 Calculating processor of table data Granted JPS59202567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58078038A JPS59202567A (en) 1983-05-02 1983-05-02 Calculating processor of table data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58078038A JPS59202567A (en) 1983-05-02 1983-05-02 Calculating processor of table data

Publications (2)

Publication Number Publication Date
JPS59202567A true JPS59202567A (en) 1984-11-16
JPH0127462B2 JPH0127462B2 (en) 1989-05-29

Family

ID=13650651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58078038A Granted JPS59202567A (en) 1983-05-02 1983-05-02 Calculating processor of table data

Country Status (1)

Country Link
JP (1) JPS59202567A (en)

Also Published As

Publication number Publication date
JPH0127462B2 (en) 1989-05-29

Similar Documents

Publication Publication Date Title
JPS58189761A (en) Processor for totalization of table data
JPS59231673A (en) Graphic image display system
JPS6119070B2 (en)
JPS59202567A (en) Calculating processor of table data
JPS59180603A (en) Data setting method of numerical control device
JPS5917471B2 (en) data management device
JPH0253817B2 (en)
JPH0253818B2 (en)
JPH09259202A (en) Spreadsheet processor
JP3500812B2 (en) Table processing equipment
JP3082940B2 (en) Character processing apparatus and method
JPH02176853A (en) Character processor
JPS6175461A (en) Electronic computer
JP2001005984A (en) Device and method for displaying multidimensional graph
JP2894890B2 (en) Information terminal equipment
JPH1131185A (en) Graph processor and storage medium
JPS59178539A (en) Method for controlling data operator
JPS63255764A (en) Table data inputting system
JPH0245216B2 (en)
JPH0594488A (en) Part drawing preparing device
JPS63210931A (en) Article information assigning device
JPH0685170B2 (en) Numerical item digit rounding control method
JPS6336475A (en) Data processor
JPS6087390A (en) Character processor
JPH0488527A (en) Input character display method