JPS62237493A - Handy tabulator - Google Patents

Handy tabulator

Info

Publication number
JPS62237493A
JPS62237493A JP61080831A JP8083186A JPS62237493A JP S62237493 A JPS62237493 A JP S62237493A JP 61080831 A JP61080831 A JP 61080831A JP 8083186 A JP8083186 A JP 8083186A JP S62237493 A JPS62237493 A JP S62237493A
Authority
JP
Japan
Prior art keywords
key
ruled line
cursor
end point
ruled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61080831A
Other languages
Japanese (ja)
Inventor
青木 波男
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 JP61080831A priority Critical patent/JPS62237493A/en
Publication of JPS62237493A publication Critical patent/JPS62237493A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野1 本発明は、例えばワードプロセンナやパーソナルコンピ
ュータのような作表機能を有する情報機器に用いて好適
な簡易作表装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field 1] The present invention relates to a simple tabulation device suitable for use in information equipment having a tabulation function, such as a word processor or a personal computer.

[発明の概要] 本発明は、ワードプロセッサやパーソナルコンピュータ
のような作表機能を有する情報機器に於いて、罫線の追
加、削除モードで、罫線カーソルキー(上下左右の4キ
ー)が操作されると、その罫線方向(上又は下なら上下
方向、左又は右なら左右方向)に直交し、しかも表の外
枠を構成する罫線を調べ、その直交する両端を区間とし
た範囲で、追加、削除モードにより、それぞれの罫線の
追加、削除を行なうものである。但し、直交する罫線が
無かった場合には、画面端が片端となるものである。さ
らに、追加、削除が行なわれると、カーソルは自動的に
、カーソルキー指示方向に応じた端点に移動するもので
ある。
[Summary of the Invention] The present invention provides an information device having a tabulation function, such as a word processor or a personal computer, when a ruled line cursor key (up, down, left, and right four keys) is operated in a ruled line addition or deletion mode. , check the ruled lines that are perpendicular to the ruled line direction (vertical direction if it is top or bottom, horizontal direction if left or right) and that constitute the outer frame of the table, and use the add and delete mode within the range of both orthogonal ends. This allows you to add or delete each ruled line. However, if there are no orthogonal ruled lines, the edge of the screen becomes one edge. Further, when addition or deletion is performed, the cursor automatically moves to the end point according to the direction indicated by the cursor key.

[従来の技術] 従来、ワードプロセッサやパーソナルコンピュータのよ
うな作表機能を有する情報機器に於いては、作表のため
に、罫線を引いたり、罫線を削除するのに、以下のよう
な方式があった。即ち、■ 擬似グラフィックキャラク
タ(ロ9日、田。
[Prior Art] Conventionally, in information devices having tabulation functions such as word processors and personal computers, the following methods have been used to draw or delete ruled lines for tabulation. there were. That is, ■ Pseudo-graphic characters (Ro 9th, Ta.

田、巴、[E、田、田、田9日、田等)のキーによって
、罫線をキャラクタの集合として表示し、スペースキャ
ラクタによってスペースを埋めることで、罫線を削除す
る方式。
A method of displaying ruled lines as a set of characters using keys such as 田, Tomoe, [E, 田, 田, 田9日, 田, etc.), and then deleting the ruled lines by filling the spaces with space characters.

■ 「罫線」キーを押しながらカーソル移動によって、
又は「罫線モード」キーを押した後、カーソル移動によ
って罫線を引く。そして、「罫線削除」キーを押しなが
らカーソル移動によって、又は「罫線削除モード」キー
を押した後、カーソル移動によって罫線を削除する方式
■ By moving the cursor while holding down the "Rules" key,
Or, after pressing the "rules mode" key, draw a rule by moving the cursor. Then, the ruled lines are deleted by moving the cursor while pressing the ``ruled line deletion'' key, or by moving the cursor after pressing the ``ruled line deletion mode'' key.

■ 罫線の2点くA点、B点)のそれぞれを指定の開始
点、II了点として指定することによって、罫線を作っ
たり、削除する方式。但しこの方式に於ける指定方法に
は以下の2つの場合があった。
■ A method for creating or deleting ruled lines by specifying the two points (point A and point B) on the ruled line as the designated starting point and ending point, respectively. However, there are two ways of specifying in this method:

即ち、 a) 直線部分の両端を指定する場合 b) 枠(ボックス)単位で、その左上端と右下端のよ
うに、対角線を指定する場合[発明が解決しようとする
問題点コ しかしながら、上記■、■の方式にあっては、キー操作
により、長い線分を1キヤラクタずつ作成、削除しなけ
ればならず、手間がかかるという問題点を有していた。
That is, a) When specifying both ends of a straight line b) When specifying diagonal lines such as the upper left and lower right ends of each frame (box) [Problems to be solved by the invention However, the above , (2) have the problem that long line segments must be created and deleted one character at a time by key operations, which is time consuming.

また、罫線が交差している場合、それを含んだ罫線を削
除すると、必要部分も消えてしまい、再度別のキャラク
タ入力やキー人力によって書き直さねばならないという
欠点も有していた。
Furthermore, when the ruled lines intersect, if the ruled line including the intersecting lines is deleted, the necessary part also disappears, and the system has to be rewritten again by inputting another character or manually using the keys.

さらに、上記■の方式に於いては、スペースキーは表示
キーであるので、このキーを押す毎にカーソルが右へ進
む。従って、縦線を消す場合には、スペースキー、実行
キー、カーソルキー等を繰返し操作せねばならず、罫線
の削除が非常に面倒であるという欠点を有していた。
Furthermore, in the method (2) above, since the space key is a display key, the cursor advances to the right each time this key is pressed. Therefore, when erasing a vertical line, it is necessary to repeatedly operate the space key, execution key, cursor key, etc., which has the disadvantage that erasing the ruled line is extremely troublesome.

また、上記■の方式に於いては、開始点、終了点とも端
末を指定しなければならないため、操作性が良くなかっ
た。さらに、開始点と終了点の指定が、同−直線上又は
対角線上という制約があるため、操作しづらく、また複
雑な罫線に対して行なう場合には、対角指定の処理が難
しいという欠点を有していた。そのうえ、必ず2点を指
定せねばならず、最少区間を多数指定する場合には、効
率が悪いという欠点も有していた。
Furthermore, in the method (2) above, the operability was not good because the terminal had to be specified for both the start point and the end point. Furthermore, there is a restriction that the start and end points must be on the same straight line or on a diagonal line, which makes it difficult to operate, and when working with complex ruled lines, it is difficult to specify diagonals. had. Furthermore, it is necessary to specify two points, and when specifying a large number of minimum sections, there is also a drawback that efficiency is poor.

本発明は上記の点に鑑みて成されたもので、既に作成さ
れた表に対して、簡単なキー操作によって容易に且つ視
覚的に分かり易く、罫線の追加・削除の処理を行ない得
る簡易作表装置を提供することを目的とする。
The present invention has been made in view of the above points, and is a simple and easy-to-understand method for adding and deleting ruled lines to tables that have already been created using simple key operations. The purpose is to provide a table device.

[問題点を解決するための手段] 第1図は、本発明の構成を示すブロック図である。図中
に於いて、1は予め罫線の追加又は削除モードの要求を
成すためのモードキーと共にその罫線の追加又は削除方
向の指定を成すためのカーソルキーを有するキー入力部
、2は上記キー入力部1のカーソルキーによる指示方向
に直交し且つ表の外枠を構成する2つの入力済みの罫線
とのそれぞれの交点を検索する交点検索手段、3は上記
交点検索手段2によって検索されたそれぞれの交点を、
罫線の追加又は削除の開始及び終点として記憶する端点
記憶手段、4は上記モードに応じて、上記端点記憶手段
3に記憶された上記開始及び終点間に罫線の追加処理又
は上記開始及び終点間の罫線の削除処理を行なう作表処
理手段である。
[Means for Solving the Problems] FIG. 1 is a block diagram showing the configuration of the present invention. In the figure, 1 is a key input unit having a mode key for requesting a ruled line addition or deletion mode, and a cursor key for specifying the addition or deletion direction of the ruled line, and 2 is a key input unit for the above-mentioned key input. Section 1 is an intersection search means for searching for each intersection with two inputted ruled lines that are orthogonal to the direction indicated by the cursor key and that constitutes the outer frame of the table; the intersection,
An end point storage means 4 stores the start and end points of adding or deleting a ruled line, and 4 is used to add a ruled line between the start and end points stored in the end point storage means 3 or to add a ruled line between the start and end points stored in the end point storage means 3, depending on the mode. This table processing means performs a process of deleting ruled lines.

[作用] 本発明の作用について説明すると、予め作成された表に
対して罫線の追加又は削除を行なう場合、キー入力部1
の「追加」、又は「削除」キーを操作してモードを設定
し、且つ方向をカーソルキーで指定する。すると、交点
検索手段2は、その指定方向に直交し、しかも上記表の
外枠を構成する2つの罫線とのそれぞれの交点を検索す
る。そして、端点記憶手段3は、上記交点検索手段2に
よって検索されたそれぞれの交点を罫線の追加又は削除
の開始及び終点として記憶する。作表処理手段4は上記
モードに応じて、上記端点記憶手段3に記憶された上記
開始点と終点との間に罫線を追加するか、又は上記開始
点と終点との間の罫線を削除する。よって、簡単なキー
操作によって容易に且つ視覚的に分かり易く、罫線の追
加・削除の処理を行なうことができる。
[Operation] To explain the operation of the present invention, when adding or deleting ruled lines to a table created in advance, the key input section 1
Set the mode by operating the "Add" or "Delete" key, and specify the direction using the cursor keys. Then, the intersection search means 2 searches for each intersection with two ruled lines that are orthogonal to the designated direction and that constitute the outer frame of the table. Then, the end point storage means 3 stores each intersection searched by the intersection search means 2 as the start and end points of adding or deleting a ruled line. The table processing means 4 adds a ruled line between the start point and the end point stored in the end point storage means 3, or deletes the ruled line between the start point and end point, depending on the mode. . Therefore, it is possible to add and delete ruled lines easily and visually with simple key operations.

[実施例] (1)構成 以下図面を参照して本発明の一実施例を説明する。第2
図は、その実際の構成を示すブロック図で、図中10は
モード設定用のキー(「追加」キー101.f削除」キ
ー102)及び上下左右方向カーソルキー(「↑」キー
103.「↓J主キー04゜「←」キー105.r→」
キー106)を含むキー入力部であり、12はキー人力
制御部である。14は端点検索処理部であり、1Gは作
図処理部である。18は現在のカーソル位置を記憶して
おくためのカーソル位置レジスタである。20は現在、
追加モードにあるか削除モードにあるかを、上記「追加
Jキー101又は「削除」キー102の操作に応じて記
憶するモードレジスタであり、22は操作されたカーソ
ルキー103〜106の方向を記憶するためのカーソル
方向レジスタである。24は上記端点検索処理部14が
現在検索している位置を記憶するための現在位置レジス
タである。26は検索された一方の端点位置を記憶する
開始点レジスタであり、28は検索された他方の端点位
置を記憶する終点レジスタである。30は全体を制御す
るCPUであり、32はROM、34はRAMである。
[Embodiment] (1) Configuration An embodiment of the present invention will be described below with reference to the drawings. Second
The figure is a block diagram showing its actual configuration. In the figure, 10 indicates mode setting keys ("Add" key 101. f Delete" key 102) and up/down/left/right cursor keys ("↑" key 103. J primary key 04゜ “←” key 105.r→”
A key input unit includes keys 106), and 12 is a key manual control unit. 14 is an end point search processing section, and 1G is a drawing processing section. 18 is a cursor position register for storing the current cursor position. 20 is currently
A mode register that stores whether the mode is in addition mode or deletion mode according to the operation of the above-mentioned "Add J key 101" or "Delete" key 102, and 22 stores the direction of the operated cursor keys 103 to 106. This is a cursor direction register for 24 is a current position register for storing the position currently being searched by the endpoint search processing section 14. Reference numeral 26 is a start point register that stores the searched one end point position, and 28 is an end point register that stores the other searched end point position. 30 is a CPU that controls the entire system, 32 is a ROM, and 34 is a RAM.

そして、36は表示制御部テアリ、38G、tVRAM
、40LtCRTrある。
36 is a display control unit, 38G, and tVRAM.
, 40LtCRTr.

(2動作 以上のような構成の簡易作表装置の動作を第3図乃至第
6図のフローチャートを参照して説明する。即ち、第3
図は、罫線処理全体の動作を説明するための)ローチャ
ートで、まずキー人力を受付け(ステップ5301)、
キーが入力されたならば、そのキーを判断する(ステッ
プ8302)。
(The operation of the simple tabulation device configured to perform two or more operations will be explained with reference to the flowcharts of FIGS. 3 to 6.
The figure is a flowchart for explaining the overall operation of ruled line processing. First, key human power is accepted (step 5301),
If a key has been input, the key is determined (step 8302).

入力されたキーがr追加」キー101であれば、モード
レジスタ20に追加モードをセットした後(ステップ8
303)、上記ステップ5301に戻ってキー人力待ち
となる。同様に、入力されたキーが「削除」キー102
であれば、モードレジスタ20に削除モードをセットし
たI(ステップ5304>、上記ステップ5301に戻
、ってキー人力待ちとなる。
If the input key is the ``r add'' key 101, the add mode is set in the mode register 20 (step 8).
303), the process returns to step 5301 and waits for key personnel. Similarly, the input key is the "delete" key 102
If so, I set the deletion mode in the mode register 20 (step 5304>, return to step 5301, and wait for key input).

入力されたキーがカーソルキー103〜106ならば、
そのカーソルの方向をカーソル方向レジスタ22にセッ
トする(ステップ8305)。ここで、もし追加又は削
除モードになければ(ステップ8306)、指定方向の
罫線コードをセットした後(ステップ5307)、指定
方向にカーソルをシフトして(ステップ3308)、上
記ステップ5301に戻る。もし追加又は削除モードに
あれば(ステップ5306)、端点検索処理1作図処理
、カーソル移動処理を行なった後(ステップ$309乃
至5311)、上記ステップ5301に戻る。
If the input key is cursor key 103-106,
The direction of the cursor is set in the cursor direction register 22 (step 8305). Here, if it is not in the add or delete mode (step 8306), after setting the ruled line code in the specified direction (step 5307), the cursor is shifted in the specified direction (step 3308), and the process returns to step 5301. If it is in the addition or deletion mode (step 5306), after performing end point search processing 1 drawing processing and cursor movement processing (steps $309 to 5311), the process returns to step 5301 described above.

第4図は、上記端点検索処理(ステップ8309)を説
明するためのフローチャートである。但し、罫線は、罫
線キャラクタの集合として扱うもので、罫線キャラクタ
は、第7図に示すように、上下左右方向に1.2,4.
8の重み付けをしてコード化する。従って、11(II
の罫線キャラクタとそのコードは以下のようになる。
FIG. 4 is a flowchart for explaining the end point search process (step 8309). However, the ruled line is treated as a set of ruled line characters, and the ruled line characters are 1.2, 4.
Code with a weight of 8. Therefore, 11(II
The border characters and their codes are as follows.

田:39日:12.田:15.巴:9.巴=5゜ロ:1
01ロ:6.田ニア、田:11.巴:13゜田:14 即ち、端点検索処理は、まず上記ステップ5301で入
力されたカーソルキーが、上又は左カーソルキー103
 、105かどうかを判断する(ステップ5401)。
Ta: 39th: 12. Ta:15. Tomoe: 9. Tomoe=5゜Ro:1
01ro: 6. Tania, Ta: 11. Tomoe: 13° Ta: 14 In other words, in the end point search process, first, the cursor key input in step 5301 is
, 105 (step 5401).

上又は左カーソルキー103 、105であるならば次
に、上カーソルキー103かどうかを判断する(ステッ
プ8402)。上カーソルキー103であれば、1行上
のコードをリードしくステップ5403)、そのリード
したコードが、4.8の重みがある罫線コードであるか
どうかを判断する(ステップ3404)。4.8の重み
がある罫線コードでなければ、上記ステップS 403
から操返し、4,8の重みがある罫線コードであれば、
ざらにその左右方向に田又はロコードが有るかどうかを
判断する(ステップ3405)。即ち、その罫線が、表
の外枠を構成する罫線であるかどうかを判断する。表の
外枠を構成する罫線でなければ、上記ステップ5403
に戻り、表の外枠を構成する罫線であれば、上記リード
した位置を開始点として開始点レジスタ26にセットす
る(ステップ8406)。その後、1行下のコードをリ
ードし(ステップ3407)、そのリードした罫線コー
ドが4.8の重みがある罫線コードでなければ(ステッ
プ3408)、上記ステップ5407から繰返する。ま
た、4,8の重みがある罫線コードであれば(ステップ
5408)、その左右方向に巴又は臼コードが有るかど
うかを判断する(ステップ$409)。無ければ上記ス
テップ5407に戻り、有ればその位置を終点として終
点レジスタ28にセットする(ステップ5410)。
If it is the up or left cursor key 103 or 105, then it is determined whether it is the up cursor key 103 (step 8402). If it is the upper cursor key 103, the code one line above is read (step 5403), and it is determined whether the read code is a ruled line code with a weight of 4.8 (step 3404). If it is not a ruled line code with a weight of 4.8, proceed to step S403 above.
If the ruled line code has a weight of 4 or 8,
It is roughly determined whether there is a field or road code in the left and right direction (step 3405). That is, it is determined whether the ruled line constitutes the outer frame of the table. If it is not a ruled line that constitutes the outer frame of the table, step 5403
Returning to step 8406, if the line is a ruled line constituting the outer frame of the table, the read position is set in the starting point register 26 as the starting point (step 8406). Thereafter, the code one line below is read (step 3407), and if the read ruled line code is not a ruled line code with a weight of 4.8 (step 3408), the process is repeated from step 5407. If the ruled line code has a weight of 4 or 8 (step 5408), it is determined whether there is a tomoe or mortar code in the left and right direction (step $409). If there is no position, the process returns to step 5407, and if there is, that position is set as the end point in the end point register 28 (step 5410).

また、上記ステップ5402で、入力されたカーソルキ
ーが上カーソルキー103でないと判断されたならば、
1行左のコードをリードしくステップ8411)、その
リードしたコードが、1.2の重みがある罫線コードで
あるかどうかを判断する(ステップ5412)。1.2
の重みがある罫線コードでなければ、上記ステップ$4
11から繰返し、1.2の重みがある罫線コードであれ
ば、さらにその上下方向に口又は臼コードが有るかどう
かを判断する(ステップ5413>。即ち、その罫線が
、表の外枠を構成する罫線であるかどうかを判断する。
Furthermore, if it is determined in step 5402 that the input cursor key is not the up cursor key 103,
The code on the left of one line is read (step 8411), and it is determined whether the read code is a ruled line code with a weight of 1.2 (step 5412). 1.2
If it is not a ruled line code with a weight of
Repeating from step 11, if the ruled line code has a weight of 1.2, it is further determined whether there is a mouth or mortar code in the vertical direction (step 5413>. That is, the ruled line constitutes the outer frame of the table. Determine whether the border is the one you want.

表の外枠を構成する罫線でなければ、上記ステップ$4
11に戻り、表の外枠を構成する罫線であれば、上記リ
ードした位置を開始点として開始点レジスタ26にセッ
トする(ステップ5414)。
If it is not a ruled line that constitutes the outer frame of the table, follow step $4 above.
Returning to step 11, if the ruled line constitutes the outer frame of the table, the read position is set in the starting point register 26 as the starting point (step 5414).

その後、1行右のコードをリードしくステップ5415
)、そのリードした罫線コードが1,2の重みがある罫
線コードでなければ(ステップ841G)、上記ステッ
プ5415から繰返する。また、1.2の重みがある罫
線コードであれば(ステップ3416)、その上下方向
に日又は巳コードが有るかどうかを判断する(ステップ
3417)。
After that, read the code one line to the right at step 5415.
), if the read ruled line code is not a ruled line code with a weight of 1 or 2 (step 841G), the process is repeated from step 5415. If the ruled line code has a weight of 1.2 (step 3416), it is determined whether there is a day or snake code above or below it (step 3417).

無ければ上記ステップ5415に戻り、有ればその位置
を終点として終点レジスタ28にセットする(ステップ
5410)。
If there is not, the process returns to step 5415, and if there is, that position is set as the end point in the end point register 28 (step 5410).

また、上記ステップ5401で、上又は芹カーソルキー
103 、105でないと判断されたならば、下。
Also, if it is determined in step 5401 that the cursor keys are not up or down cursor keys 103, 105, then down.

右カーソルキー104 、106に応じた端点検索処理
を行なう。これらは前述の上、左カーソルキー103 
、105に応じた端点検索処理とほぼ同様の処理なので
、特に説明は行なわない。
End point search processing is performed in accordance with the right cursor keys 104 and 106. These are the above-mentioned left cursor key 103
, 105, so no particular explanation will be given.

その後、上記作図処理(ステップ8310)に進む。以
下、第5図のフローチャートを参照して、この作図処理
を説明する。まず、上記端点検索処理と同様に、上記ス
テップ5301で入力されたカーソルキーが、上下カー
ソルキー103 、1(14かどうかを判断する(ステ
ップ3501)。上下カーソルキー103 、104で
あるならば、上記端点検索処 □理にて検索された開始
点のコードに重み2をオンする(ステップ5502)。
Thereafter, the process proceeds to the drawing process (step 8310). This drawing process will be explained below with reference to the flowchart shown in FIG. First, in the same way as the end point search process described above, it is determined whether the cursor key input in step 5301 is the up and down cursor keys 103 and 1 (14) (step 3501). If it is the up and down cursor keys 103 and 104, Weight 2 is set to the code of the start point searched in the above end point search process (step 5502).

但しこの場合は、追加モードにある場合であり、削除モ
ードにある場合には、上記開始点のコードに重み2をオ
フする。
However, in this case, it is in the addition mode, and in the deletion mode, weight 2 is turned off for the code at the starting point.

その後、1行下が終点であるかどうかを判断する(ステ
ップ3503)。終点でなければ、1行下のコードに重
み1,2をオン(削除モードではオフ)シタv&(ステ
ップ5504)、上記ステップ5503に戻る。終点で
あれば、その終点のコードに重み1をオン(削除モード
ではオフ)する(ステップ3505)。
Thereafter, it is determined whether one line below is the end point (step 3503). If it is not the end point, weights 1 and 2 are turned on (turned off in deletion mode) for the code one line below (step 5504), and the process returns to step 5503. If it is the end point, weight 1 is turned on (or off in deletion mode) for the code of that end point (step 3505).

また、上記ステップ5501で、上下カーソルキー10
3 、104でないと判断されたならば、上記検索され
た開始点のコードに重み8をオン(削除モードではオフ
)する(ステップ8506)。その後、1行右が終点で
あるかどうかを判断しくステップ5501)、終点でな
ければ、1行右のコードに重み4.8をオン(削除モー
ドではオフ)しだ後(ステップ8508)、上記ステッ
プ5507に戻る。
Also, in step 5501 above, the up/down cursor key 10
If it is determined that the code is not 3 or 104, a weight of 8 is turned on (or off in the deletion mode) for the code of the searched starting point (step 8506). After that, it is determined whether the first line to the right is the end point (step 5501), and if it is not the end point, a weight of 4.8 is turned on (off in delete mode) for the code on the right of the first line (step 8508), and the above Return to step 5507.

終点であれば、その終点のコードに重み4をオン(削除
モードではオフ)する(ステップ5509)。
If it is the end point, weight 4 is turned on (turned off in deletion mode) for the code of that end point (step 5509).

このようにして、罫線の追加、削除を行なった後、カー
ソル移動処理(ステップ8311)が行なわれる。以下
、第6図のフローチャートを参照して、このカーソル移
動処理を説明する。まず、上記ステップ5301で入力
されたカーソルキーが、いずれの方向のカーソルキー1
03〜106であるかを判断する(ステップ5601)
。入力されたカーソルキーが上又は左カーソルキー10
37105であれば、上記開始点をカーソル位置として
カーソル位置レジスタ18にセットする(ステップ86
02)。
After adding and deleting ruled lines in this manner, cursor movement processing (step 8311) is performed. This cursor movement process will be explained below with reference to the flowchart of FIG. First, if the cursor key input in step 5301 is
Determine whether it is 03 to 106 (step 5601)
. The input cursor key is up or left cursor key 10
If it is 37105, the above starting point is set as the cursor position in the cursor position register 18 (step 86
02).

また、入力されたカーソルキーが下又は右カーソルキー
104 、106であれば、上記終点をカーソル位置と
してカーソル位置レジスタ18にセットする(ステップ
8603)。そして、セットされた位置へのカーソル表
示を行なう(ステップ5604)。
If the input cursor key is the down or right cursor key 104 or 106, the end point is set as the cursor position in the cursor position register 18 (step 8603). Then, a cursor is displayed at the set position (step 5604).

このように、罫線の追加、削除モードで、罫線カーソル
キー(上下左右の4キー)が操作されると、その罫線方
向く上又は下なら上下方向、左又は右なら左右方向)に
直交する罫線を調べると共に、さらにその罫線が表の外
枠を構成する罫線であるかも調べ、外枠を構成する罫線
であれば、その直交する両端を区間とした範囲で、追加
、削除モードにより、それぞれの罫線の追加、削除を行
ない、カーソルは自動的に、カーソル指示方向に応じた
端点に移動する。
In this way, when the ruled line cursor keys (up, down, left, right, 4 keys) are operated in the ruled line addition or deletion mode, a ruled line that is perpendicular to the ruled line direction (up/down direction for up or down, left/right direction for left or right) is operated. In addition, it is also checked whether the ruled line constitutes the outer frame of the table, and if it is a ruled line that constitutes the outer frame, each of the ruled lines is Add or delete ruled lines, and the cursor automatically moves to the end point according to the cursor direction.

第8図(a)乃至(C)は、その表示例を示すものであ
る。即ち、同図(a)に示すような表が既に作成されて
おり、且つカーソル42が図のような位置にある時、例
えば「追加」キー101及びそれに続けて上カーソル「
↑」キー103を操作すると、同図(b)に示すように
罫線が追加され、カーソル42が移動される。ここで、
例えば「削除」キー102及びそれに続けて下カーソル
「↓」キー104を操作すると、同図(C)に示すよう
に罫線が削除され、カーソル42が移動される。
FIGS. 8(a) to 8(C) show examples of the display. That is, when a table as shown in FIG. 2A has already been created and the cursor 42 is at the position shown in the figure, for example, the "Add" key 101 and then the up cursor "
When the ↑" key 103 is operated, a ruled line is added and the cursor 42 is moved as shown in FIG. here,
For example, when the "delete" key 102 and the down cursor "↓" key 104 are operated, the ruled line is deleted and the cursor 42 is moved as shown in FIG.

このように、既に作成された表に対して、簡単なキー操
作によって容易に且つ視覚的に分かり易く、罫線の追加
・削除の処理を行なうことができる。
In this way, it is possible to easily and visually understand the addition or deletion of ruled lines to or from an already created table by simple key operations.

なお、上記実施例では特に説明しなかったが、指定方向
に直交する罫線が無かった場合には、画面端が片端とな
るようにすれば良い。
Although not particularly described in the above embodiment, if there is no ruled line orthogonal to the specified direction, the screen edge may be set as one edge.

[発明の効果] 以上詳述したように本発明によれば、簡単なキー操作に
よって容易に且つ視覚的に分かり易く、罫線の追加・削
除の処理を行ない得る簡易作表装置を提供することがで
きる。
[Effects of the Invention] As detailed above, according to the present invention, it is possible to provide a simple tabulation device that can easily and visually understand the process of adding and deleting ruled lines through simple key operations. can.

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

第1図は本発明による簡易作表装置の構成を示す図、第
2図は本発明の一実施例に係る簡易作表装置の実際の構
成を示す図、第3図は罫線処理の動作を説明するための
フローチャート、第4図は第3図のフローチャートに於
ける端点検索処理を説明するためのフローチャート、第
5図は第3図のフローチャートに於ける作図処理を説明
するためのフローチャート、第6図は第3図のフローチ
ャートに於けるカーソル移動処理を説明するためのフロ
ーチャート、第7図は罫線キャラクタの重み付けを説明
するための図、第8図(a)乃至(C)はそれぞれ表示
例を示す図である。 1・・・キー入力部、 2・・・交点検索手段、 3・
・・端点記憶手段、 4・・・作表処理手段。
FIG. 1 is a diagram showing the configuration of a simple tabulation device according to the present invention, FIG. 2 is a diagram showing the actual configuration of the simple tabulation device according to an embodiment of the present invention, and FIG. 3 is a diagram showing the operation of ruled line processing. FIG. 4 is a flowchart for explaining the end point search process in the flowchart in FIG. 3; FIG. 5 is a flowchart for explaining the drawing process in the flowchart in FIG. 6 is a flowchart for explaining the cursor movement process in the flowchart of FIG. 3, FIG. 7 is a diagram for explaining weighting of ruled line characters, and FIGS. 8(a) to (C) are display examples, respectively. FIG. 1... Key input section, 2... Intersection search means, 3.
... End point storage means, 4... Tabulation processing means.

Claims (1)

【特許請求の範囲】[Claims] 予め罫線の追加又は削除モードの要求を成すためのモー
ドキーと共にその罫線の追加又は削除方向の指定を成す
ためのカーソルキーを有するキー入力部と、該キー入力
部のカーソルキーによる指示方向に直交し且つ表の外枠
を構成する2つの罫線とのそれぞれの交点を検索する交
点検索手段と、上記交点検索手段によって検索されたそ
れぞれの交点を、罫線の追加又は削除の開始及び終点と
して記憶する端点記憶手段と、上記モードに応じて、上
記端点記憶手段に記憶された上記開始及び終点間に罫線
の追加処理又は上記開始及び終点間の罫線の削除処理を
行なう作表処理手段とを具備して成ることを特徴とする
簡易作表装置。
a key input unit having a mode key for requesting a ruled line addition or deletion mode in advance, and a cursor key for specifying a direction for adding or deleting the ruled line, and a direction perpendicular to the direction indicated by the cursor key of the key input unit; and an intersection search means for searching each intersection with two ruled lines constituting the outer frame of the table, and storing each intersection searched by the intersection search means as a start and end point of adding or deleting a ruled line. An end point storage means; and a tabulation processing means for adding a ruled line between the start and end points stored in the end point storage means or deleting a ruled line between the start and end points stored in the end point storage means, depending on the mode. A simple tabulation device characterized by:
JP61080831A 1986-04-08 1986-04-08 Handy tabulator Pending JPS62237493A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61080831A JPS62237493A (en) 1986-04-08 1986-04-08 Handy tabulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61080831A JPS62237493A (en) 1986-04-08 1986-04-08 Handy tabulator

Publications (1)

Publication Number Publication Date
JPS62237493A true JPS62237493A (en) 1987-10-17

Family

ID=13729348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61080831A Pending JPS62237493A (en) 1986-04-08 1986-04-08 Handy tabulator

Country Status (1)

Country Link
JP (1) JPS62237493A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03231357A (en) * 1990-02-07 1991-10-15 Sanyo Electric Co Ltd Document preparation device
JPH03231356A (en) * 1990-02-07 1991-10-15 Sanyo Electric Co Ltd Document processor
JPH03231358A (en) * 1990-02-07 1991-10-15 Sanyo Electric Co Ltd Document generating device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03231357A (en) * 1990-02-07 1991-10-15 Sanyo Electric Co Ltd Document preparation device
JPH03231356A (en) * 1990-02-07 1991-10-15 Sanyo Electric Co Ltd Document processor
JPH03231358A (en) * 1990-02-07 1991-10-15 Sanyo Electric Co Ltd Document generating device

Similar Documents

Publication Publication Date Title
US6040817A (en) Display apparatus and method for displaying windows on a display
JPS62237493A (en) Handy tabulator
JPH0535685A (en) Mixed fraction input displaying type electronic computer
JPS62237492A (en) Handy tabulator
JP2785941B2 (en) Window information division / integration processing method
JP2845897B2 (en) Document search / display method and apparatus
JP2699321B2 (en) File processing device
JPS6249528A (en) Help guidance system
JP2771669B2 (en) Ruled line editing device
JPH04148370A (en) Document processor
JP2825397B2 (en) Ruled line creation device for document processing system
JPH0525115B2 (en)
JP2671598B2 (en) Document processing device
JPH04302366A (en) Retrieving display device of interactive data system
JPH04357556A (en) Document referencing device
JP2821002B2 (en) Character processing device and character processing method
JPS63206859A (en) Document preparing device
JPS6320681A (en) Tabulating and processing system
JPH01217571A (en) Document editing system in cad system
JPH02250154A (en) Listing device
JPH01108672A (en) Mathematical formula input and edit system
JPS6010294A (en) Cursor movement control system
JPH01230170A (en) Document preparing device
JPH05216875A (en) Information processor
JPH0241557A (en) Format set processing system of layout display