Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0580025B2 - - Google Patents
[go: Go Back, main page]

JPH0580025B2 - - Google Patents

Info

Publication number
JPH0580025B2
JPH0580025B2 JP58175688A JP17568883A JPH0580025B2 JP H0580025 B2 JPH0580025 B2 JP H0580025B2 JP 58175688 A JP58175688 A JP 58175688A JP 17568883 A JP17568883 A JP 17568883A JP H0580025 B2 JPH0580025 B2 JP H0580025B2
Authority
JP
Japan
Prior art keywords
ruled line
ruled
point
lines
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58175688A
Other languages
Japanese (ja)
Other versions
JPS6068473A (en
Inventor
Ikuo Yoshida
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP58175688A priority Critical patent/JPS6068473A/en
Publication of JPS6068473A publication Critical patent/JPS6068473A/en
Publication of JPH0580025B2 publication Critical patent/JPH0580025B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 この発明は、ワードプロセツサやオフイスコン
ピユータ、データプロセツサ等の各種データ処理
装置(以下、ワードプロセツサ等という)の該当
罫線探索方法に係り、特に表等を構成する罫線群
の全部または一部を選択して、移動または削除の
対象罫線を選択する場合に、対象罫線を指示する
ための操作方法を統一するとともに、1点指示に
対応する該当罫線が存在しないときは、自動的に
2点指示の最初の指示として処理し、次の1点の
指示を与えるだけで、対角指示の範囲内に含まれ
る罫線が探索できるようにして、ワードプロセツ
サ等による作表等の罫線操作におけるオペレータ
の負担を軽減させ、操作能率を向上させた該当罫
線探索方法に関する。
[Detailed Description of the Invention] Industrial Application Field The present invention relates to a method for searching for a corresponding ruled line in various data processing devices (hereinafter referred to as a word processor, etc.) such as a word processor, an office computer, or a data processor. When selecting all or part of a group of ruled lines that make up a table, etc., and selecting the target ruled line to be moved or deleted, the operation method for specifying the target ruled line will be unified, and the corresponding If there is no ruled line, it is automatically processed as the first instruction of the two-point instruction, and by simply giving the next one-point instruction, the ruled lines included within the range of the diagonal instruction can be searched, and the word The present invention relates to a method for searching for a corresponding ruled line, which reduces the burden on an operator when operating ruled lines in a table or the like using a processor or the like, and improves operational efficiency.

従来の技術 ワードプロセツサ等では、文書の作成や作表等
の入力操作のために、CTR、プラズマその他の
表示装置が接続されており、オペレータは表示画
面と対話しながら、必要なデータの入出力処理を
行つている。
Conventional technology Word processors and other devices are connected to CTR, plasma, and other display devices for inputting documents, tabulations, etc., and the operator inputs the necessary data while interacting with the display screen. Output processing is in progress.

この場合に、特に作表等の罫線操作では、オペ
レータが頭の中に描いたレイアウトのイメージ
と、実際に設定された罫線とは必ずしも一致しな
い、という場合がしばしば発生する。例えば、表
の位置が適切でなかつたり、特定の欄の長さが、
その内部に記入される文字との関係で、大き過ぎ
たり小さ過ぎたりして、一旦設定した罫線を移動
させたり、あるいは削除したいというケースが生
じる。
In this case, particularly when manipulating ruled lines for tables and the like, it often happens that the image of the layout drawn in the operator's head does not necessarily match the actually set ruled lines. For example, the position of a table may not be appropriate, or the length of a particular column may be incorrect.
There may be cases where you want to move or delete the ruled line because it is too large or too small in relation to the characters written inside it.

このような罫線の移動や削除操作に伴う該当罫
線の探索方法として、従来からワードプロセツサ
等で用いられている方法は、大別して、次の5種
類である。
The methods conventionally used in word processors and the like to search for a corresponding ruled line when moving or deleting a ruled line are broadly classified into the following five types.

第1は、選択対象の罫線の1点をオペレータが
指示することによつて、その1点を含む罫線を探
索とする方法である。この方法では、探索対象の
罫線を1本のみに限定する場合と、複数の罫線を
同時に探索対象とする場合とがある。
The first is a method in which an operator specifies a point on a ruled line to be selected, and a ruled line including that point is searched. In this method, there are cases where the search target is limited to only one ruled line, and cases where a plurality of ruled lines are searched at the same time.

第2は、上の第1の方法と似ているが、対象罫
線の指示を、始点または終点で行わなければなら
ないという方法である。
The second method is similar to the first method above, but the target ruled line must be specified at the start point or end point.

第3は、すべての罫線を対象罫線として、選択
する方法である。
The third method is to select all ruled lines as target ruled lines.

第4は、指示する点の位置とその方向とによつ
て、その指示点の上、下、左、右、といつた範囲
に含まれる罫線をすべて探索対象とする方法であ
る。
The fourth method is to search for all ruled lines included in the range above, below, to the left, to the right of the indicated point, depending on the position and direction of the indicated point.

第5は、2点を指示し、その対角範囲内に含ま
れる罫線を探索対象とする方法である。
The fifth method is to specify two points and search for ruled lines included within the diagonal range of the two points.

第1図1〜7は、従来のワードプロセツサ等に
おける当該罫線の探索方法を説明するための表示
例で、1は複数個の表について、その一部の表の
みを移動させる場合の移動操作前と移動操作後の
状態、2は第1または第2の探索方法によつて操
作対象の該当罫線を選択した状態、3は第1の探
索方法によつて1本の罫線を選択した状態、4は
第3の探索方法により該当罫線を選択した状態、
5は第4の探索方法により指示位置の上方または
左方に、始点あるいは終点の一方または両方に有
する罫線を探索対象とする状態、6と7は第5の
探索方法によつて始点または終点の少なくとも1
方が指定範囲内に含まれる罫線を選択する状態を
示す。図面において、a,b,e〜g,k、lは
横罫線、c,d、h〜j、m、nは縦罫線、Pは
カーソルを示し、また、破線は操作対象の罫線が
探索されたときの表示状態を示す。
Figures 1 to 7 are display examples to explain how to search for the ruled line in a conventional word processor, etc., and 1 is a movement operation when only a part of multiple tables is moved. 2 is a state in which the corresponding ruled line to be operated is selected by the first or second search method; 3 is a state in which one ruled line is selected by the first search method; 4 is a state in which the corresponding ruled line is selected by the third search method,
5 is a state in which the fourth search method is used to search for a ruled line that is above or to the left of the indicated position and has either the start point or the end point, or both. at least 1
indicates that the ruled lines within the specified range are selected. In the drawing, a, b, e to g, k, and l are horizontal ruled lines, c, d, h to j, m, and n are vertical ruled lines, P is a cursor, and a broken line indicates that the ruled line to be operated is searched. Indicates the display state when

ここでは、第1図1の左側に示される罫線群a
〜nで構成された3個の表のうち、罫線e〜jで
構成される中央部の表のみを、この第1図1の右
側に示すような状態に移動させる場合の操作を説
明する。
Here, the ruled line group a shown on the left side of FIG.
The operation for moving only the central table made up of ruled lines e to j out of three tables made up of lines e to n to the state shown on the right side of FIG. 1 will be described.

まず、第1または第2の探索方法によつて、第
1図1について説明した6本の罫線e〜jを移動
させる場合の操作は、第1図2と3に示されてい
る。
First, the operations for moving the six ruled lines e to j described with reference to FIG. 1 using the first or second search method are shown in FIGS. 2 and 3.

すなわち、第1図2のように、1度の指示によ
り横罫線と縦罫線の2本ずつの罫線を選択する方
法では、合計3回の操作が必要である。また、第
1の探索方法により、第1図3のように、1度に
1本ずつ選択する方法によれば、計6回の操作に
よつて移動操作が終了する。なお、第1図1の左
側に示される罫線e〜jだけを削除する場合の操
作についても、全く同様である。
That is, in the method of selecting two horizontal ruled lines and two vertical ruled lines by one instruction as shown in FIG. 1 and 2, a total of three operations are required. Further, according to the first search method of selecting one line at a time as shown in FIG. 1, the movement operation is completed after a total of six operations. Note that the operation for deleting only the ruled lines e to j shown on the left side of FIG. 1 is exactly the same.

次に、従来の第3の対象罫線の探索方法によつ
て、第1図1の罫線e〜jを削除するとすれば、
第1図4のように指示することにより、全部の罫
線a〜nがその対象となつてしまう。
Next, if the ruled lines e to j in FIG. 1 are to be deleted using the conventional third target ruled line search method,
By instructing as shown in FIG. 1, all ruled lines a to n become the target.

そこで、この第3の方法による場合には、一旦
全部の罫線を削除した後に、改めて必要な罫線a
〜dと、k〜nを設定し直さなければならない。
Therefore, when using this third method, once all the ruled lines are deleted, the necessary ruled lines a
~d and k~n must be reset.

罫線の一部を移動させる場合も同様で、まず、
全部の罫線を削除した後に、移動後の位置に罫線
を設定する操作と、移動対象ではないのに削除さ
れたため、再度元の位置へ罫線を設定する操作と
が必要であり、この第3の方法は、罫線の一部を
選択したい場合には、余り実用的でない。
The same goes for moving part of the ruled line. First,
After deleting all the ruled lines, it is necessary to set the ruled line at the position after the movement, and to set the ruled line again at the original position because it was deleted even though it was not moved, and this third operation is necessary. This method is not very practical when it is desired to select part of a ruled line.

第4の探索方法では、一部の罫線を移動させる
場合、まず、移動対象の罫線を含む部分を指定
し、そこに含まれる罫線を全部移動させ、その後
で、余分に移動されてしまつた罫線を、再度元の
位置へ戻すための移動操作をしなければならな
い。
In the fourth search method, when moving some ruled lines, first specify the part that includes the ruled line to be moved, move all the ruled lines included there, and then move the unnecessary ruled lines. must be moved to return it to its original position.

例えば、第1図5に示すように、1点を指示す
ると、その上または左に、始点または/および終
点の一方あるいは両方が存在する罫線が選択さ
れ、表示画面では、指示された罫線が探索された
ことを示す破線表示に変化される。そこで、この
ような指示を適当に繰返えして、所望の罫線を順
次選択して移動させ、余分に移動された分を元の
位置へ戻すことになる。
For example, as shown in Fig. 1, when you specify a point, a ruled line with a start point and/or an end point is selected above or to the left of it, and the specified ruled line is searched on the display screen. The display changes to a broken line to indicate that the Therefore, by appropriately repeating such instructions, the desired ruled lines are sequentially selected and moved, and the extra moved portion is returned to its original position.

削除の場合も同様で、この第1図5の指定によ
つて、その範囲内に含まれる本来残しておきたい
部分まで削除されてしまうので、移動の場合と同
様に、一旦削除した後に、再度設定し直す操作が
必要である。
The same is true for deletion; the specification shown in Figure 1, Figure 5 will also delete the parts within that range that you originally wanted to keep. It is necessary to reset the settings.

最後に、第5の方法では、2点の対角指示によ
つて、その移動や削除の範囲を指定できるので、
第1図6や7のように指定すれば、1回の指示だ
けで対象罫線を選択することが可能であり、特に
第1図7のように指定すれば、中央の罫線e〜j
のみの移動や削除は、極めて簡単である。
Finally, in the fifth method, you can specify the range of movement or deletion by specifying two diagonal points.
If you specify as shown in Fig. 1 6 or 7, you can select the target ruled line with just one instruction. In particular, if you specify as shown in Fig. 1 7, you can select the center ruled lines e to j.
Moving or deleting only is extremely easy.

しかし、この2点による対角指示の方法では、
1本の罫線を指定する場合にも、2点指示の操作
が必要であり、例えば、1本の罫線だけを選択す
る場合には、先の第1や第2の方法に比較して、
それだけ余計な手間がかかる、という問題があ
る。
However, in this method of diagonal indication using two points,
Even when specifying one ruled line, it is necessary to specify two points.For example, when selecting only one ruled line, compared to the first and second methods described above,
The problem is that it takes extra effort.

このように、従来の第1から第5の当該罫線の
選択方法には、それぞれ一長一短がある。
As described above, each of the first to fifth conventional methods for selecting the ruled line has advantages and disadvantages.

そこで、従来の当該罫線の探索方法では、これ
らの第1から第5の方法を適当に組合せて使用
し、例えば、罫線の削除には第1の方法、移動に
は第4あるいは第5の方法を用いるようにしてい
る。
Therefore, in the conventional method of searching for the ruled line, the first to fifth methods are used in an appropriate combination.For example, the first method is used to delete a ruled line, and the fourth or fifth method is used to move it. I try to use

ところが、このように、各種の罫線の選択方法
を組合せると、罫線の削除と移動とで対象罫線を
選択するための操作方法が異なることになるの
で、オペレータは、それぞれの目的に応じた操作
方法を別個に覚えなけばならず、負担が増加して
操作能率が低下する、という不都合があつた。
However, when the various ruled line selection methods are combined in this way, the operation methods for selecting the target ruled line are different depending on whether to delete or move the ruled line, so the operator must perform the operations according to each purpose. There were disadvantages in that the method had to be learned separately, which increased the burden and reduced operational efficiency.

発明が解決しようとする課題 この発明では、従来の各種の罫線選択方法にお
けるこれらの不都合を解決し、罫線操作において
該当罫線を選択するための操作回数を可能な限り
減少させるとともに、罫線の削除/移動の操作方
法を統一することにより、オペレータの負担を軽
減させて操作ミスの発生を防止し、併せてワード
プロセツサ等の操作性を向上させることを目的と
する。
Problems to be Solved by the Invention The present invention solves these inconveniences in various conventional ruled line selection methods, reduces the number of operations for selecting a corresponding ruled line as much as possible in ruled line operations, and eliminates/deletes ruled lines. By unifying the movement operation method, the purpose is to reduce the burden on the operator, prevent the occurrence of operational errors, and improve the operability of word processors and the like.

課題を解決するための手段 この発明では、 少なくとも表示装置と入力装置とを備え、入力
装置からの指示によつて文字図形等を表示装置へ
表示するとともに、必要なデータの入出力処理を
行うワードプロセツサ等において、 すでに設定されている罫線情報を格納する罫線
情報格納手段と、 前記表示装置の画面上の1点または2点を指示
する前記入力装置の操作によつて与えられる指示
位置の情報と前記罫線情報格納手段に格納された
罫線情報とにより、1点で指示された位置に罫線
が存在するか、あるいは2点で指示された対角範
囲内に始点または/および終点を有する罫線が存
在するかを探索する罫線探索手段、 とを備え、 前記入力装置により1点指示が行われたとき、
前記罫線探索手段によつて前記罫線情報格納手段
に格納された罫線情報を探索し、該当罫線が存在
しないことを検出した場合には、その旨を示す検
出情報によつて、自動的に2点指示の探索に切替
えるようにしている。
Means for Solving the Problems The present invention provides a word processor that includes at least a display device and an input device, displays characters, figures, etc. on the display device according to instructions from the input device, and performs input/output processing of necessary data. In a processor or the like, a ruled line information storage means for storing already set ruled line information, and information on a designated position given by operation of the input device to designate one or two points on the screen of the display device. and the ruled line information stored in the ruled line information storage means, it is determined whether a ruled line exists at the position indicated by one point, or a ruled line having a start point and/or an end point within the diagonal range indicated by two points. ruled line search means for searching for the existence of a ruled line, when a single point is specified by the input device,
When the ruled line search means searches the ruled line information stored in the ruled line information storage means and detects that the corresponding ruled line does not exist, two points are automatically awarded based on the detection information indicating that. I try to switch to searching for instructions.

実施例 次に、この発明の該当罫線探索方法について、
図面を参照しながら、その実施例を詳細に説明す
る。
Example Next, regarding the applicable ruled line search method of the present invention,
Examples thereof will be described in detail with reference to the drawings.

この発明の該当罫線探索方法では、移動または
削除の処理において、オペレータが1点を指示し
たとき、その1点がすでに設定されている罫線上
である場合には、その罫線を該当罫線とする。こ
れに対して、指示された1点が罫線上にない場合
には、次の1点を指示することによつて2点指示
となり、2点で指示された対角範囲内に、始点/
終点の一方または両方が存在する罫線を当該罫線
とするようにしている。
In the applicable ruled line search method of the present invention, when an operator specifies one point during movement or deletion processing, if that one point is on an already set ruled line, that ruled line is determined as the applicable ruled line. On the other hand, if the specified one point is not on the ruled line, specifying the next point becomes a two-point instruction, and the starting point/point is within the diagonal range specified by the two points.
A ruled line where one or both of the end points exists is determined to be the ruled line.

このような該当罫線の探索方法を採用すること
により、1本、2本、またはそれ以上の多数本罫
線を対象罫線として、移動/削除する場合の操作
が、1点または2点の指示で統一的に行えるよう
になる。
By adopting this method of searching for the corresponding ruled line, operations for moving/deleting one, two, or more ruled lines as the target ruled line can be unified with one or two point instructions. You will be able to do it.

第2図1〜6は、この発明の該当罫線探索方法
による罫線の選択状態を説明するための表示例
で、1は罫線の選択操作を行う前の状態、2は削
除対象の罫線を2点の対角で指示した状態、3は
1本の罫線を削除するために指定した状態、4は
2本の罫線を削除するために1度に同時に指定し
た状態、5と6は1度の指定で1本の罫線を削除
する状態を示す。図面の符号等は第1図と同様で
あり、また、P1とP2はカーソルの指示位置を
示す。
FIGS. 2 1 to 6 are display examples for explaining the selection state of a ruled line by the corresponding ruled line search method of the present invention, 1 is the state before the ruled line selection operation is performed, and 2 is the state of the ruled line to be deleted by two points. 3 is the state specified to delete one ruled line, 4 is the state specified at the same time to delete two ruled lines, 5 and 6 are specified once shows the state in which one ruled line is deleted. The symbols in the drawing are the same as those in FIG. 1, and P1 and P2 indicate the position indicated by the cursor.

まず、第2図1の罫線群a〜nのうち、1本の
横罫線eを操作対象としてその削除を行うとすれ
ば、第2図3のように、罫線e上で、かつ他の罫
線に触れない位置をカーソルで指示する。該当罫
線が探索されると、その罫線eの表示だけが例え
ば破線のように変化し、オペレータは、指示した
罫線が正しく選択されたことを確認することがで
きる。ここで、罫線削除のキー入力を与えればよ
い。罫線移動の場合の選択操作も、全く同様であ
る。
First, if you want to delete one horizontal ruled line e among ruled line groups a to n in FIG. 2 1, as shown in FIG. Use the cursor to indicate the position that should not be touched. When the corresponding ruled line is searched, only the display of the ruled line e changes to, for example, a broken line, and the operator can confirm that the specified ruled line has been correctly selected. Here, a key input to delete the ruled line may be given. The selection operation for moving the ruled line is exactly the same.

次に、第2図1で2本の罫線f,iを削除対象
の罫線として選択したい場合には、第2図4に示
すように、2本の罫線f、iの交点にカーソルを
合せて、1回の指示で選択してもよいし、第2図
5と6に示すように、1本ずつ選択してもよい。
移動の場合についても、同様である。
Next, if you want to select the two ruled lines f and i in Figure 2 1 as the ruled lines to be deleted, move the cursor to the intersection of the two ruled lines f and i, as shown in Figure 2 4. , may be selected in one instruction, or may be selected one by one as shown in FIG. 2, 5 and 6.
The same applies to the case of movement.

さらに、第2図1の6本の罫線e〜jを削除す
る場合には、第2図3〜6について説明した方法
を適当に繰返してもよいし、第2図2に示すよう
に、その対角範囲内に罫線e〜jが含まれるよう
にカーソルでP1とP2の2点を指示して、削除
処理を行うことも可能である。
Furthermore, when deleting the six ruled lines e to j in FIG. 2, the method explained with respect to FIG. It is also possible to perform the deletion process by specifying two points P1 and P2 with a cursor so that the ruled lines e to j are included within the diagonal range.

すなわち、まず、カーソルで第1の点P1を指
示する。この状態では、点P1の上には罫線が存
在しないので、ワードプロセツサ等の処理装置内
のロジツク回路の動作により、オペレータに第2
のカーソル位置の入力を要求する。オペレータ
が、第2のカーソル位置P2を指示すると、カー
ソル位置P1とP2の2点で対角指示された範囲
内に含まれる罫線e〜jが該当罫線として探索さ
れ、その範囲内の罫線だけが、第2図2のように
他の罫線と区別可能な表示に変化する。この状態
で、削除/移動の指示を与えればよい。
That is, first, point the first point P1 with the cursor. In this state, since there is no ruled line above the point P1, the operation of the logic circuit in the processing device such as a word processor causes the operator to
prompt for the cursor position. When the operator specifies the second cursor position P2, the ruled lines e to j included in the diagonally specified range between the two cursor positions P1 and P2 are searched as applicable ruled lines, and only the ruled lines within that range are searched. , the display changes to a display that can be distinguished from other ruled lines as shown in FIG. 2. In this state, a deletion/movement instruction may be given.

次の第3図は、この発明の該当罫線探索方法を
実施する場合に使用されるワードプロセツサ等の
データ処理装置において、罫線の設定、移動、削
除等の処理に関与する要部の一例を示す機能ブロ
ツク図である。図面において、1は表示装置、2
はカーソル制御部、3は操作部、4は罫線表示制
御部、5は罫線制御キー処理入力部、6は該当罫
線探索部、7は罫線演算部、8はリピート罫線生
成部、9は設定罫線テーブル、10は該当罫線テ
ーブルを示す。
The following Figure 3 shows an example of the main parts involved in processing such as setting, moving, and deleting ruled lines in a data processing device such as a word processor used when carrying out the applicable ruled line search method of the present invention. FIG. In the drawings, 1 is a display device, 2
is a cursor control unit, 3 is an operation unit, 4 is a ruled line display control unit, 5 is a ruled line control key processing input unit, 6 is a corresponding ruled line search unit, 7 is a ruled line calculation unit, 8 is a repeat ruled line generation unit, and 9 is a set ruled line Table 10 shows the corresponding ruled line table.

各部の機能を簡単に説明すれば、次のとおりで
ある。
A brief explanation of the functions of each part is as follows.

表示装置1は、罫線、文字、カーソルその他の
パターンを表示する。
The display device 1 displays ruled lines, characters, cursors, and other patterns.

カーソル制御部2は、操作部3からのカーソル
情報に基づいて、表示装置1へカーソルを表示さ
せるとともに、現カーソル位置を罫線制御キー入
力処理部5へ出力する。
The cursor control section 2 displays a cursor on the display device 1 based on cursor information from the operation section 3 and outputs the current cursor position to the ruled line control key input processing section 5.

操作部3はキーボード等で構成され、各種のデ
ータや制御情報を入力し、また罫線の設定やカー
ソルの移動等の指示を行う。
The operation unit 3 is composed of a keyboard, etc., and inputs various data and control information, and also provides instructions for setting ruled lines, moving a cursor, etc.

罫線表示制御部4は、他の各部から与えられる
罫線の始点、終点、線種の情報によつて、表示装
置1へ罫線を表示する。
The ruled line display control section 4 displays ruled lines on the display device 1 based on information about the starting point, end point, and line type of the ruled line provided from other sections.

罫線制御キー入力処理部5は、操作部3から入
力される罫線制御キーの入力信号に応じて各部へ
制御信号を出力し、またカーソル制御部2から与
えられる現カーソル位置を取込む。
The ruled line control key input processing section 5 outputs a control signal to each section according to the input signal of the ruled line control key inputted from the operation section 3, and also takes in the current cursor position given from the cursor control section 2.

該当罫線探索部6は、カーソル位置(x1、y1)
がどの罫線上に存在しているか、または1組のカ
ーソル位置(x1、y1)、(x2、y2)の範囲にどの
罫線が存在しているか、を設定罫線テーブル9と
順次比較し、該当罫線を発見したときは、罫線表
示制御部4へ該当罫線の表示を例えば破線表示の
ような他の罫線と区別しやすい表示に変更するよ
う出力するとともに、その罫線情報を該当罫線テ
ーブル10へ格納するように動作する。
The corresponding ruled line search unit 6 searches the cursor position (x1, y1)
The corresponding ruled line is sequentially compared with the set ruled line table 9 to determine which ruled line exists on which line, or which ruled line exists within the range of one set of cursor positions (x1, y1), (x2, y2). When found, it outputs to the ruled line display control unit 4 to change the display of the corresponding ruled line to a display that is easy to distinguish from other ruled lines, such as a broken line display, and stores the ruled line information in the corresponding ruled line table 10. It works like this.

罫線演算部7は、罫線の〔移動〕が指示された
とき、該当罫線テーブル10中の罫線の始点、終
点の移動後の位置を演算し、また、罫線の一端す
なわち始点あるいは終点だけが移動対象とされる
ときは、その移動対象の始点あるいは終点につい
てのみ、同様な演算を行う。
When instructed to [move] a ruled line, the ruled line calculation unit 7 calculates the positions of the starting point and ending point of the ruled line in the corresponding ruled line table 10 after the movement, and only one end of the ruled line, that is, the starting point or the ending point, is to be moved. , the same calculation is performed only for the start point or end point of the movement target.

リピート罫線生成部8は、罫線の繰返えし本数
Nの指示によつて、ピツチMと、繰返えしを行う
M本の該当罫線の始点、終点等を演算し、繰返え
しを行うM本分の罫線情報を生成して、設定罫線
テーブル9へ追加設定する。
The repeat ruled line generation unit 8 calculates the pitch M and the starting point, end point, etc. of M corresponding ruled lines to be repeated based on the instruction of the number of repeated ruled lines N, and repeats the ruled lines. The M pieces of ruled line information to be performed are generated and additionally set in the set ruled line table 9.

設定罫線テーブル9には、現在表示中にすべて
の罫線の罫線情報が格納されており、要求に応じ
て罫線情報を出力する。
The set ruled line table 9 stores ruled line information of all the ruled lines currently being displayed, and outputs the ruled line information in response to a request.

該当罫線テーブル10は、1点または2点のカ
ーソル位置によつて指示された位置に含まれる既
設の罫線、および罫線操作中に演算生成された罫
線の情報を一時格納する。
The corresponding ruled line table 10 temporarily stores information about existing ruled lines included in a position indicated by one or two cursor positions and ruled lines calculated and generated during ruled line operation.

第4図1〜4は、第3図における罫線設定等の
罫線設定処理フローで、1は全体の部分と罫線設
定のフロー、2は移動/削除の操作で、1点指示
により該当罫線が発見された場合の処理フロー、
3は移動/削除の操作で、2点指示によつてその
対角範囲を指示する場合の処理フロー、4は設定
罫線テーブルを探索して該当罫線を選択する場合
の処理フローである。図面の〜は、それぞれ
対応する番号への接続点を示している。
Figures 4 1 to 4 are the process flow for setting ruled lines such as setting ruled lines in Figure 3, 1 is the flow for setting the whole part and the ruled line, 2 is the move/delete operation, and the corresponding ruled line is found by specifying one point. Processing flow when
3 is a process flow when specifying a diagonal range by two-point instruction in a move/delete operation, and 4 is a process flow when searching a set ruled line table and selecting a corresponding ruled line. ~ in the drawings indicate connection points to corresponding numbers.

次に、第3図と第4図1〜4を参照しながら、
この発明のワードプロセツサ等の該当罫線探索方
法の動作を説明する。
Next, while referring to Fig. 3 and Fig. 4, 1 to 4,
The operation of the method for searching for a corresponding ruled line in a word processor or the like according to the present invention will be explained.

まず、操作部3において、罫線キーが選択され
ると、第4図1のフローがスタートする。
First, when the ruled line key is selected on the operation unit 3, the flow shown in FIG. 41 starts.

罫線機能の場合には、罫線制御キー入力処理部
5が現カーソル位置をカーソル制御部2から受付
ける。このカーソル位置の座標を(x1、y1)と
する。
In the case of the ruled line function, the ruled line control key input processing section 5 receives the current cursor position from the cursor control section 2. Let the coordinates of this cursor position be (x1, y1).

罫線設定のときは、さらに終点となる他の1点
をオペレータが指示するので、再度キー入力待ち
となる。
When setting a ruled line, the operator further specifies another point to be the end point, so the screen waits for key input again.

そして、カーソルの移動後に、実行キーが押さ
れると、罫線制御キー入力処理部5は、その時点
のカーソル位置をカーソル制御部2から取出す。
この時点で取出される座標を(x2、y2)とする。
When the execution key is pressed after the cursor has been moved, the ruled line control key input processing section 5 retrieves the current cursor position from the cursor control section 2.
Let the coordinates retrieved at this point be (x2, y2).

罫線制御キー入力処理部5は、この2点の座標
情報を、設定という指示信号とともに、設定罫線
テーブル9へ送り、そのテーブルを追加する。
The ruled line control key input processing unit 5 sends the coordinate information of these two points to the set ruled line table 9 along with an instruction signal indicating setting, and adds the table.

このような動作に続いて、表示のために、設定
罫線テーブル9から、この罫線情報は罫線表示制
御部4へ送られ、表示装置1に表示される。
Following this operation, this ruled line information is sent from the set ruled line table 9 to the ruled line display control section 4 for display, and is displayed on the display device 1.

罫線の設定操作が終了すると、フローは、再び
スタートへ戻る。
When the ruled line setting operation is completed, the flow returns to the start again.

次に、移動や削除の場合には、第4図1のか
ら第4図2ののフローに移り、カーソル位置
(x1、y1)が該当罫線探索部6へ送られる。
Next, in the case of movement or deletion, the flow moves from FIG. 4 1 to FIG. 4 2 , and the cursor position (x1, y1) is sent to the corresponding ruled line search unit 6.

この該当罫線探索部6では、設定罫線テーブル
9から該当罫線をサーチする。この該当罫線探索
部6における該当罫線探索部の詳細な処理フロー
は、第4図4に示されているが、この点に関する
説明は後で行うことにする。
The applicable ruled line search unit 6 searches the set ruled line table 9 for the applicable ruled line. A detailed processing flow of the corresponding ruled line searching section in the corresponding ruled line searching section 6 is shown in FIG. 4, but this point will be explained later.

ここでは、罫線の削除と移動の処理を示す第4
図2,3のフローを先に説明する。
Here, we will explain the process of deleting and moving ruled lines in the fourth section.
The flows in FIGS. 2 and 3 will be explained first.

第4図2において、指示されたカーソル位置
(x1、y1)の上に、該当罫線があつた場合には、
その該当罫線情報が該当罫線テーブルコに格納さ
れるとともに、罫線表示制御部4を通して、表示
装置1に、該当罫線として例えば破線等で表示さ
れる。
In Fig. 4 2, if the corresponding ruled line is placed above the specified cursor position (x1, y1),
The corresponding ruled line information is stored in the corresponding ruled line table, and is displayed as the corresponding ruled line, for example, as a broken line, on the display device 1 through the ruled line display control unit 4.

そして、罫線の削除処理の場合には、この該当
罫線テーブル10の罫線データが、設定罫線テー
ブル9から抹消され、表示装置1の画面上からも
消去される。
In the case of the ruled line deletion process, the ruled line data of the corresponding ruled line table 10 is deleted from the set ruled line table 9 and also from the screen of the display device 1.

また、移動の場合には、移動方向の指示に応じ
て、罫線演算部7により移動後の位置が演算さ
れ、該当罫線テーブル10上の罫線データが更新
される。同時に、表示装置1には、この更新され
たデータによる移動後の位置に、破線による罫線
が表示される。
In addition, in the case of movement, the ruled line calculation section 7 calculates the position after the movement in accordance with the instruction of the movement direction, and the ruled line data on the corresponding ruled line table 10 is updated. At the same time, dashed ruled lines are displayed on the display device 1 at the positions after the movement based on the updated data.

オペレータは、このような表示を見ながら意図
する位置まで罫線を移動させ、目的の位置に移動
されたとき、実行キーを入力する。この実行キー
入力によつて、該当罫線テーブル10の罫線デー
タにより設定罫線テーブル9のデータが更新さ
れ、表示装置1には、その位置に通常表示の罫線
が表示される。これらの削除や移動の処理が終了
すると、それぞれ下方のから、第4図1のへ
戻る。
The operator moves the ruled line to the desired position while viewing such a display, and when the ruled line is moved to the desired position, inputs the execution key. By inputting this execution key, the data in the set ruled line table 9 is updated with the ruled line data in the corresponding ruled line table 10, and the normally displayed ruled line is displayed on the display device 1 at that position. When these deletion and movement processes are completed, the process returns from the bottom to the one shown in FIG. 4, respectively.

ところで、1点指示されたカーソル位置(x1、
y1)に、該当罫線が存在しなかつたときは、こ
の第4図2のから第4図3ののフローに移
り、罫線制御キー入力処理部5は、再度入力待ち
となる。
By the way, the cursor position (x1,
If the corresponding ruled line does not exist in y1), the flow moves from FIG. 4 2 to FIG. 4 3, and the ruled line control key input processing section 5 waits for input again.

そして、オペレータがカーソル移動の操作を行
い、その後に実行キーを押下すると、その時点の
カーソル位置(x2、y2)がカーソル制御部2か
ら罫線制御キー入力処理部5へ入力される。
When the operator performs a cursor movement operation and then presses the execution key, the cursor position (x2, y2) at that time is input from the cursor control section 2 to the ruled line control key input processing section 5.

罫線制御キー入力処理部5は、入力された2点
のカーソル位置(x1、y1)、(x1、y2)情報を該
当罫線探索部6へ与える。
The ruled line control key input processing unit 5 provides the inputted two-point cursor position (x1, y1) and (x1, y2) information to the corresponding ruled line search unit 6.

該当罫線探索部6は、2つのカーソル位置
(x1、y1)、(x2、y2)で対角指示された範囲に入
る罫線を、設定罫線テーブル9について探索す
る。
The corresponding ruled line search unit 6 searches the set ruled line table 9 for a ruled line that falls within the diagonally indicated range at the two cursor positions (x1, y1) and (x2, y2).

もし、該当罫線を発見しなかつたときは、その
まま処理を終了して、この第4図3のから、再
び第4図1ののフローに戻る。
If the corresponding ruled line is not found, the process is immediately terminated and the flow returns from the flow shown in FIG. 4 3 to the flow shown in FIG. 4 1 again.

これに対して、該当罫線を発見したとき、第4
図3のから、第4図2ののフローに移り、先
の1点指示の場合と同様に、その範囲内に存在す
る罫線をすべて探索対象の該当罫線とし、表示装
置1に破線表示させ、必要な移動や削除の処理に
入る。
On the other hand, when the corresponding ruled line is found, the fourth
From FIG. 3 to FIG. 4, the flow moves to FIG. Start any necessary moves or deletions.

ところで、この発明の該当罫線探索方法では、
第4図4のフローに示すように、1点(x1、y1)
が指示された場合に、設定罫線テーブル9の中か
ら順次取出された1本ずつの罫線情報と、このカ
ーソル位置情報(x1、y1)とを比較して、この
点が罫線上に存在するか否かを判定する。
By the way, in the corresponding ruled line search method of this invention,
As shown in the flow in Figure 4, one point (x1, y1)
is specified, the information for each ruled line sequentially extracted from the set ruled line table 9 is compared with this cursor position information (x1, y1) to determine whether this point exists on the ruled line. Determine whether or not.

1本の罫線は、縦罫線か横罫線であるから、1
本の罫線の始点と終点をそれぞ(xS、yS)、
(xE、yE)とすれば、探索対象の罫線は、 xS≠xE yS=yE であるか、あるいは、 xS=xE yS≠yE であるか、のいずれかとなる。
One ruled line can be either a vertical ruled line or a horizontal ruled line, so 1
Set the start and end points of the book's borders (xS, yS),
If (xE, yE), then the ruled line to be searched is either xS≠xE yS=yE or xS=xE yS≠yE.

そして、横罫線の場合には、yS=yEであるか
ら、1点(x1、y1)が罫線上にあるか否かの判
定は、 xS≦x1≦xE y1=yS(=yE) となる。
In the case of horizontal ruled lines, since yS=yE, the determination of whether one point (x1, y1) is on a ruled line is as follows: xS≦x1≦xE y1=yS (=yE).

ただし、罫線は、始点の座標の方が終点の座標
よりも小さいとする。逆の場合についても、同様
な判定が可能なことは、いうまでもない。
However, the coordinates of the starting point of the ruled line are smaller than the coordinates of the ending point. It goes without saying that a similar determination can be made in the opposite case as well.

また、縦罫線の場合には、上の横罫線のxをy
に、yをxに読替えればよい。
In addition, in the case of vertical ruled lines, change the x of the upper horizontal ruled line to y
, just read y as x.

次に、2点指示の場合には、カーソル位置
(x1、y1)、(x2、y2)で示される対角範囲、すな
わち方形の範囲内に含まれる罫線が該当罫線とな
る。
Next, in the case of two-point designation, the ruled line included in the diagonal range indicated by the cursor positions (x1, y1) and (x2, y2), that is, within the rectangular range, becomes the corresponding ruled line.

まず、x1とx2のうち、小さい方をx1、大きい
方x2とし、同様に、y1とy2についても、小さい
方をy1、大きい方をy2とする。
First, between x1 and x2, the smaller one is x1 and the larger one is x2.Similarly, regarding y1 and y2, the smaller one is y1 and the larger one is y2.

この場合に、探索・比較される罫線が、該当罫
線と判定されるのは、 x1≦xS≦x2で、かつ y1≦yS≦y2 のときか、あるいは x1≦xE≦x2で、かつ y1≦yE≦Y2 のときである。
In this case, the ruled line to be searched and compared is determined to be the corresponding ruled line when x1≦xS≦x2 and y1≦yS≦y2, or when x1≦xE≦x2 and y1≦yE When ≦Y2.

このような動作によつて、探索された該当罫線
の情報は、該当罫線テーブル10に追加される。
Through such operations, information on the searched corresponding ruled line is added to the corresponding ruled line table 10.

その後の処理は、第4図1〜3について説明し
たのと同様である。
The subsequent processing is similar to that described with respect to FIGS. 1 to 3.

発明の効果 この発明の該当罫線探索方法によれば、ワード
プロセツサ等における罫線の移動または削除の処
理において、オペレータが1点を指示したとき、
その1点がすでに設定されている罫線上である場
合には、その罫線を該当罫線とされ、また、指示
された1点が罫線上にない場合には、次の1点を
指示することによつて、自動的に2点指示とな
り、2点で指示された対角範囲内に、始点/終点
の一方または両方が存在する罫線が該当罫線とさ
れる。
Effects of the Invention According to the applicable ruled line search method of the present invention, when an operator specifies one point in the process of moving or deleting a ruled line in a word processor or the like,
If that one point is on a ruled line that has already been set, that ruled line will be set as the corresponding ruled line, and if the specified point is not on the ruled line, the next point will be specified. Therefore, two points are automatically specified, and a ruled line in which one or both of the start point and end point exists within the diagonal range specified by the two points is determined to be the corresponding ruled line.

そのため、この発明の該当罫線探索方法を採用
することにより、1本、2本、またはそれ以上の
多数本の罫線を対象罫線として、移動/削除する
場合の操作が、1点または2点の指示で統一的に
行えるようになる。
Therefore, by adopting the applicable ruled line search method of the present invention, the operation when moving/deleting one, two, or more ruled lines as a target ruled line can be performed by specifying one or two points. It will be possible to do this in a unified manner.

その上、罫線操作において該当罫線を選択する
ための操作回数が著しく減少されるので、オペレ
ータの負担も大幅に軽減され、操作ミスの発生が
防止されるとともに、ワードプロセツサ等の操作
能率も向上される、等の多くの優れた効果が得ら
れる。
Furthermore, since the number of operations required to select a corresponding ruled line in ruled line operations is significantly reduced, the burden on the operator is greatly reduced, operational errors are prevented, and the operational efficiency of word processors, etc. is improved. Many excellent effects can be obtained, such as:

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

第1図1〜7は、従来のワードプロセツサ等に
おける該当罫線の探索方法を説明するための表示
例、第2図1〜6は、この発明の該当罫線探索方
法による罫線の選択方法を説明するための表示
例、第3図は、この発明の該当罫線探索方法を実
施する場合に使用されるワードプロセツサ等のデ
ータ処理装置において、罫線の設定、移動、削除
等の処理に関与する要部の一例を示す機能ブロツ
ク図、第4図1〜4は、第3図における罫線設定
等の罫線設定処理フロー。 図面において、1は表示装置、2はカーソル制
御部、3は操作部、4は罫線表示制御部、5は罫
線制御キー処理入力部、6は該当罫線探索部、7
は罫線演算部、8はリピート罫線生成部、9は設
定罫線テーブル、10は該当罫線テーブル。
1 to 7 are display examples for explaining a method of searching for a corresponding ruled line in a conventional word processor, etc., and FIG. 2 1 to 6 are display examples for explaining a method for selecting a ruled line using the corresponding ruled line search method of the present invention. FIG. 3 shows an example of display for setting, moving, deleting, etc. of ruled lines in a data processing device such as a word processor used when carrying out the applicable ruled line search method of the present invention. FIGS. 1 to 4 are a functional block diagram illustrating an example of the section, and FIGS. 1 to 4 are flowcharts of ruled line setting processing such as ruled line setting in FIG. 3. In the drawings, 1 is a display device, 2 is a cursor control unit, 3 is an operation unit, 4 is a ruled line display control unit, 5 is a ruled line control key processing input unit, 6 is a corresponding ruled line search unit, and 7
8 is a ruled line calculation unit, 8 is a repeat ruled line generation unit, 9 is a set ruled line table, and 10 is a corresponding ruled line table.

Claims (1)

【特許請求の範囲】 1 少なくとも表示装置と入力装置とを備え、入
力装置からの指示によつて文字図形等を表示装置
へ表示するとともに、必要なデータの入出力処理
を行うワードプロセツサ等において、 すでに設定されている罫線情報を格納する罫線
情報格納手段と、 前記表示装置の画面上の1点または2点を指示
する前記入力装置の操作によつて与えられる指示
位置の情報と前記罫線情報格納手段に格納された
罫線情報とにより、1点で指示された位置に罫線
が存在するか、あるいは2点で指示された対角範
囲内に始点または/および終点を有する罫線が存
在するかを探索する罫線探索手段、とを備え、 前記入力装置により1点指示が行われたとき、
前記罫線探索手段によつて前記罫線情報格納手段
に格納された罫線情報を探索し、該当罫線が存在
しないことを検出した場合には、その旨を示す検
出情報によつて、自動的に2点指示の探索に切替
えることを特徴とする該当罫線探索方法。
[Scope of Claims] 1. In a word processor, etc., which is equipped with at least a display device and an input device, and displays characters, figures, etc. on the display device according to instructions from the input device, and also performs input/output processing of necessary data. , a ruled line information storage means for storing already set ruled line information; and information on a designated position given by operating the input device to designate one or two points on the screen of the display device and the ruled line information. Based on the ruled line information stored in the storage means, it is determined whether a ruled line exists at the position indicated by one point, or whether a ruled line whose start point and/or end point exists within the diagonal range indicated by two points. ruled line search means for searching, when one point is designated by the input device,
When the ruled line search means searches the ruled line information stored in the ruled line information storage means and detects that the corresponding ruled line does not exist, 2 points are automatically awarded based on the detection information indicating that. A corresponding ruled line search method characterized by switching to a search for instructions.
JP58175688A 1983-09-22 1983-09-22 How to search for corresponding ruled lines in word processors, etc. Granted JPS6068473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58175688A JPS6068473A (en) 1983-09-22 1983-09-22 How to search for corresponding ruled lines in word processors, etc.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58175688A JPS6068473A (en) 1983-09-22 1983-09-22 How to search for corresponding ruled lines in word processors, etc.

Publications (2)

Publication Number Publication Date
JPS6068473A JPS6068473A (en) 1985-04-19
JPH0580025B2 true JPH0580025B2 (en) 1993-11-05

Family

ID=16000496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58175688A Granted JPS6068473A (en) 1983-09-22 1983-09-22 How to search for corresponding ruled lines in word processors, etc.

Country Status (1)

Country Link
JP (1) JPS6068473A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH081549B2 (en) * 1986-11-29 1996-01-10 シャープ株式会社 Character processor
JPS63138390A (en) * 1986-11-29 1988-06-10 シャープ株式会社 Character processor
JPH01126766A (en) * 1987-11-12 1989-05-18 Fujitsu Ltd Collective erasing system for character or ruled line
US5179646A (en) * 1988-03-29 1993-01-12 Brother Kogyo Kabushiki Kaisha Frame processing system capable of expanding and contracting a frame

Also Published As

Publication number Publication date
JPS6068473A (en) 1985-04-19

Similar Documents

Publication Publication Date Title
JPH0535685A (en) Mixed number input display type computer
EP0100798A1 (en) Computer aided design system
JP4773671B2 (en) Input method using a pointing device
JPH0580025B2 (en)
JP3357760B2 (en) Character / graphic input editing device
JP3284272B2 (en) Data input method and device / data input program recording medium
JPH0234064B2 (en)
JPH07271994A (en) Figure selection method and method
JP2585537B2 (en) Graphic data processing apparatus and method
JPS60204077A (en) Shape selection control method
JPH045991B2 (en)
JP3083552B2 (en) Hierarchy editing processor
JPH02272622A (en) Data display controller
JPH02239314A (en) Command input system
JP3000749B2 (en) Character editing device
JP3329517B2 (en) Graphic data processing method
JP2671598B2 (en) Document processing device
JPH01111285A (en) Character recognition result confirmation/correction processing system for graphic recognizing processing
JPS623292A (en) cursor control device
JPH08180118A (en) Table processor
JPS5984291A (en) Rule transfer method for wordprocessor
JPS61188586A (en) Display controller
JPH03135617A (en) Display device for information processor having function processing information in interactive form
JPH0816357A (en) Cursor display controller
JPS59177593A (en) Detection of display graphic