JPH04282749A - Word processor - Google Patents

Word processor

Info

Publication number
JPH04282749A
JPH04282749A JP3070560A JP7056091A JPH04282749A JP H04282749 A JPH04282749 A JP H04282749A JP 3070560 A JP3070560 A JP 3070560A JP 7056091 A JP7056091 A JP 7056091A JP H04282749 A JPH04282749 A JP H04282749A
Authority
JP
Japan
Prior art keywords
ruled line
ruled
lines
ruled lines
rectangular range
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
JP3070560A
Other languages
Japanese (ja)
Inventor
Hiroyuki Aoki
宏之 青木
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3070560A priority Critical patent/JPH04282749A/en
Publication of JPH04282749A publication Critical patent/JPH04282749A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve operability in the specification and tabulation of ruled lines to be edited by a ruled line editing function. CONSTITUTION:When a rectangular range for specifying ruled lines to be edited is specified, ruled line data included only in the rectangular range are found out based on the position if the rectangular range frame and ruled line data stored in a ruled line data buffer 7 and stored in a ruled line data work buffer 8 as an object to be edited. When an initial position is specified on an optional ruled line at the time of forming ruled lines, ruled lines are successively formed between the specified position and other ruled lines in accordance with the specification and stored in the buffer 7 by a selecting instruction.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、罫線の作成、削除、移
動、コピー等が可能な罫線編集機能を有する文書作成装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creation device having a ruled line editing function capable of creating, deleting, moving, copying, etc. ruled lines.

【0002】0002

【従来の技術】一般に、文書作成装置においては、文書
中に表等を作成するために罫線の作成、削除、移動、コ
ピー等の編集を行なう罫線編集機能が設けられている。 この種、文書作成装置では、作成された罫線について編
集を行なう際、編集対象(作成を除く)とする罫線を矩
形範囲を指定するか、または1本毎の指定によって行な
っている。例えば、既に作成されている罫線に対して矩
形範囲を示す対角の2点が指定されると、矩形範囲内に
始点及び終点がある罫線を編集の対象であることを示す
ようにシステム罫線(例えば破線)に切り替える。この
ように、編集対象として罫線の指定を行なう場合には、
罫線の始点及び終点が特定される(矩形範囲内に含まれ
る)必要がある。
2. Description of the Related Art Generally, a document creation device is provided with a ruled line editing function for editing ruled lines, such as creating, deleting, moving, copying, etc., in order to create a table or the like in a document. In this type of document creation device, when editing created ruled lines, the ruled lines to be edited (excluding creation) are specified either in a rectangular range or individually. For example, if two diagonal points indicating a rectangular range are specified for a ruled line that has already been created, the system ruled line ( (for example, a dashed line). In this way, when specifying ruled lines to be edited,
The start and end points of the ruled line need to be specified (included within the rectangular range).

【0003】また、罫線の組み合わせで表等が作成され
る際には、各罫線のそれぞれについて始点,終点の位置
を、表の外枠を構成する罫線上、または既に作成済みの
罫線上に設定される。
[0003] When a table or the like is created using a combination of ruled lines, the starting and ending points of each ruled line are set on the ruled lines that make up the outer frame of the table or on the already created ruled lines. be done.

【0004】0004

【発明が解決しようとする課題】このように従来の文書
作成装置における罫線編集機能では、編集対象とする罫
線を指定する場合、罫線の始点及び終点を必ず特定しな
ければならなかった。すなわち、罫線の部分的な編集を
行なうことができず罫線編集機能における操作上での制
限となっていた。
As described above, in the ruled line editing function of conventional document creation devices, when specifying a ruled line to be edited, it is necessary to specify the starting point and ending point of the ruled line. That is, it is not possible to partially edit the ruled lines, which limits the operation of the ruled line editing function.

【0005】また、表の作成を行なう場合には、表を構
成する各罫線について始点及び終点を指定しなければな
らず操作が繁雑となっていた。
[0005] Furthermore, when creating a table, the start and end points must be specified for each ruled line constituting the table, making the operation complicated.

【0006】本発明は前記のような点に鑑みてなされた
もので、罫線編集機能(の編集対象とする罫線の指定、
表作成)における操作性を向上させた文書作成装置を提
供することを目的とする。
The present invention has been made in view of the above-mentioned points, and includes a ruled line editing function (designation of ruled lines to be edited,
The purpose of the present invention is to provide a document creation device with improved operability in (table creation).

【0007】[0007]

【課題を解決するための手段】本発明は、罫線編集機能
を有する文書作成装置において、既に作成された罫線か
ら任意に設定された矩形範囲内の罫線のみを編集対象と
して求める罫線指定手段を具備して構成するものである
[Means for Solving the Problems] The present invention provides a document creation device having a ruled line editing function, which includes ruled line specifying means for determining only ruled lines within an arbitrarily set rectangular range from among already created ruled lines to be edited. It is structured as follows.

【0008】また本発明は、既に作成された罫線上の任
意の位置と他の罫線との間に、任意の指示に応じて罫線
を生成する罫線生成手段を具備して構成するものである
[0008] Furthermore, the present invention is configured to include a ruled line generating means for generating a ruled line between an arbitrary position on an already created ruled line and another ruled line in accordance with an arbitrary instruction.

【0009】[0009]

【作用】このような構成によれば、編集の対象とする罫
線を矩形範囲によって指定する際に、その矩形範囲内に
始点及び終点が含まれていなくても、矩形範囲内の罫線
のみを指定することができる。
[Operation] According to this configuration, when specifying the ruled lines to be edited using a rectangular range, only the ruled lines within the rectangular range can be specified even if the starting point and end point are not included within the rectangular range. can do.

【0010】また、表等のような格子状に多数の罫線を
作成する場合であっても、罫線間に自動的に罫線が生成
され、任意に選択することができるので操作が簡単とな
る。
Furthermore, even when creating a large number of ruled lines in a grid such as a table, ruled lines are automatically generated between the ruled lines and can be selected arbitrarily, making the operation simple.

【0011】[0011]

【実施例】以下、図面を参照して本発明の一実施例を説
明する。図1は同実施例に係わる文書作成装置の構成を
示すブロック図である。図1において、3はCPU、4
及び5は同CPU3によりアクセスされるメモリ(RA
M,ROM)である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a document creation device according to the same embodiment. In Figure 1, 3 is the CPU, 4
and 5 is a memory (RA) accessed by the CPU 3.
M, ROM).

【0012】CPU3は、装置全体の制御を行なうもの
で、RAM4、ROM5をアクセスして、入力指示に従
うプログラムの起動で、文書を作成するためのかな漢字
変換処理や、罫線編集処理を含む各種処理を実行するも
のである。
[0012] The CPU 3 controls the entire device, accessing the RAM 4 and ROM 5, and starting programs according to input instructions to perform various processes including kana-kanji conversion processing and ruled line editing processing for creating documents. It is something to be carried out.

【0013】RAM4には、文書データ(かな漢字変換
結果)を記憶するための文書バッファ6、図形編集処理
によって作成された罫線に関する罫線データを記憶する
ための罫線データバッファ7、罫線編集処理の対象とす
る罫線データを記憶するための罫線データワークバッフ
ァ8等が設けられる。
The RAM 4 includes a document buffer 6 for storing document data (kana-kanji conversion results), a ruled line data buffer 7 for storing ruled line data regarding ruled lines created by graphic editing processing, and a document buffer 6 for storing document data (kana-kanji conversion results); A ruled line data work buffer 8 and the like are provided for storing ruled line data.

【0014】ROM5には、文書作成装置の全ての動作
を規定する制御プログラムを記憶するためのプログラム
エリア10、かな漢字変換において参照される辞書デー
タを記憶するための辞書エリア11、フォントデ―タが
格納された文字パターンエリア12等が設けられている
。プログラムエリア10には、かな漢字変換プログラム
を格納するためのかな漢字変換プログラムエリア13、
罫線編集プログラムを格納するための罫線編集プログラ
ムエリア14等が設けられている。
The ROM 5 stores a program area 10 for storing a control program that defines all operations of the document creation device, a dictionary area 11 for storing dictionary data referred to in kana-kanji conversion, and font data. A character pattern area 12 and the like are provided. The program area 10 includes a kana-kanji conversion program area 13 for storing a kana-kanji conversion program;
A ruled line editing program area 14 and the like are provided for storing a ruled line editing program.

【0015】また、16はキーボード(KB)、17は
キーボードインターフェイス(KB−IF)、18は表
示器、19は表示コントローラ(表示−CNT)、20
は表示用RAM、21はフロッピ―ディスク装置(FD
D)、22はハードディスク装置(HDD)、23はF
DDインターフェイス(FDD−IF)、24はHDD
インターフェイス(HDD−IF)、25はプリンタ装
置(PRT)、26はプリンタインターフェイス(PR
T−IF)である。
Further, 16 is a keyboard (KB), 17 is a keyboard interface (KB-IF), 18 is a display device, 19 is a display controller (display-CNT), and 20
21 is a display RAM, and 21 is a floppy disk device (FD).
D), 22 is a hard disk device (HDD), 23 is F
DD interface (FDD-IF), 24 is HDD
interface (HDD-IF), 25 is a printer device (PRT), 26 is a printer interface (PR
T-IF).

【0016】キーボード(KB)16は、文書作成や罫
線編集等に必要な入力情報をキーボードインターフェイ
ス(KB−IF)17を介してCPU3へ出力する。こ
のキーボード16には、文字キー、カーソルキー等に加
えて、「かな」(読み)から漢字への変換の指示や次候
補処理の実行を指示するための「変換/次候補」キー、
各種設定の確定を指示するための「選択/実行」キー、
処理の中断や確定前の入力の取り消し等を指示するため
の「取消」キー、文書や図形の作成,編集・校正等に用
いられる「削除」,「挿入」キー、罫線作成を指示する
ための「罫線」キー等を含む各種のファンクションキー
が設けられている。
A keyboard (KB) 16 outputs input information necessary for document creation, ruled line editing, etc. to the CPU 3 via a keyboard interface (KB-IF) 17. In addition to character keys, cursor keys, etc., this keyboard 16 includes a "conversion/next candidate" key for instructing conversion from "kana" (reading) to kanji and executing next candidate processing.
"Select/Execute" key for instructing confirmation of various settings,
``Cancel'' key to interrupt processing or cancel input before finalization, ``Delete'' and ``Insert'' keys used for creating, editing, proofreading, etc. of documents and figures, ``Insert'' key to instruct creating ruled lines, etc. Various function keys are provided including a "ruled line" key and the like.

【0017】表示器18は、CRTや液晶ディスプレイ
等から構成されている。表示−CNT19は、CPU3
の制御の下に表示用RAM20を用いて、表示器18の
表示制御を行なう。
The display 18 is composed of a CRT, liquid crystal display, or the like. Display-CNT19 is CPU3
The display of the display 18 is controlled using the display RAM 20 under the control of the display RAM 20 .

【0018】FDD21、HDD22は、CPU3の制
御の下に、それぞれFDD−IF23、HDD−IF2
4を介して、各種処理プログラムや文書データを保存し
たり外字(JIS第1水準文字及び第2水準文字以外の
文字や記号・マーク等をいう),第2水準文字等を記録
する。
[0018] The FDD 21 and the HDD 22 are connected to the FDD-IF 23 and the HDD-IF 2 under the control of the CPU 3, respectively.
4, various processing programs and document data are saved, and external characters (characters, symbols, marks, etc. other than JIS first level characters and second level characters), second level characters, etc. are recorded.

【0019】PRT23は、PRT−IF24を介して
、文書バッファ6に格納された文書、あるいはFDD2
1,HDD22から本体内に読込まれて文書バッファ6
に格納された文書情報をもとに印字を行なう。
The PRT 23 receives the document stored in the document buffer 6 or the FDD 2 via the PRT-IF 24.
1. Read into the main body from the HDD 22 and store it in the document buffer 6
Printing is performed based on the document information stored in the .

【0020】次に、同実施例における編集対象とする罫
線の指定の手順について、図2及び図3に示すフローチ
ャートを参照しながら説明する。一例として図4に示す
ような表が罫線の組み合わせによって作成されているも
のとする。図中に示す罫線は、それぞれ始点,終点が指
定されて作成されたものとする。罫線データバッファ8
には、各罫線に関する罫線データ(始点終点位置,罫線
種等)が記憶され、縦罫線または横罫線毎に処理するこ
とができるようになっている。なお、従来のように矩形
範囲内に始点,終点が含まれる場合についての説明を省
略する。
Next, the procedure for specifying a ruled line to be edited in this embodiment will be explained with reference to the flowcharts shown in FIGS. 2 and 3. As an example, assume that a table as shown in FIG. 4 is created by a combination of ruled lines. It is assumed that the ruled lines shown in the figure are created by specifying a starting point and an ending point. Ruled line data buffer 8
Ruled line data (starting point/end point position, ruled line type, etc.) regarding each ruled line is stored in , and can be processed for each vertical ruled line or horizontal ruled line. Note that a description of the case where the starting point and ending point are included within a rectangular range as in the conventional case will be omitted.

【0021】ここでは、罫線の削除を行なう場合を例に
して説明する。はじめに、罫線の削除の実行が指示され
ると、対象とする罫線を指定するための処理に入り、図
4に示すような画面を表示する。なお、図中矢印は、座
標指定するためのカーソルである。
[0021]Here, the case of deleting ruled lines will be explained as an example. First, when an instruction is given to delete a ruled line, a process for specifying the target ruled line is started, and a screen as shown in FIG. 4 is displayed. Note that the arrow in the figure is a cursor for specifying coordinates.

【0022】ここで、対象とする罫線を指定するための
矩形範囲を示す始点及び終点の入力を行なう(ステップ
A1)。図4に示す画面中において、所望する位置にカ
ーソルが移動されて「選択/実行」キーが押下されると
始点位置を確定し、図5に示すような終点指定要求用の
画面を表示する。終点位置も同様にして、所望する位置
にカーソルが移動されて「選択/実行」キーが押下され
ると位置を確定する。この矩形範囲は、既に作成されて
いる罫線の始点,終点位置と無関係に指定することがで
きる。
Here, a starting point and an ending point indicating a rectangular range for specifying the target ruled line are input (step A1). When the cursor is moved to a desired position on the screen shown in FIG. 4 and the "Select/Execute" key is pressed, the starting point position is determined and a screen for requesting end point designation as shown in FIG. 5 is displayed. Similarly, the end point position is determined when the cursor is moved to the desired position and the "Select/Execute" key is pressed. This rectangular range can be specified regardless of the starting and ending positions of ruled lines that have already been created.

【0023】矩形範囲を示す始点,終点が指定されると
、罫線データバッファ7に記憶された罫線データから矩
形範囲の縦幅に含まれる横罫線の検索を行なう(ステッ
プA1)。例えば、図6に示すように左上を原点として
、横方向をX座標、縦方向をY座標として考えると、矩
形範囲の始点のY座標(Y1)と終点のY座標(Y2)
との間に、始点または終点のY座標がある横罫線の罫線
データを求める。なお、以下の説明では、罫線の位置を
規定する点の位置は、座標値の小さい方を始点とし、座
標値の大きい方を終点とする。
When the starting point and end point indicating the rectangular range are specified, horizontal ruled lines included in the vertical width of the rectangular range are searched from the ruled line data stored in the ruled line data buffer 7 (step A1). For example, as shown in Figure 6, if we consider the upper left as the origin, the horizontal direction as the X coordinate, and the vertical direction as the Y coordinate, the Y coordinate of the starting point (Y1) and the Y coordinate of the ending point (Y2) of the rectangular range.
Find the ruled line data of the horizontal ruled line that has the Y coordinate of the starting point or ending point between the . In the following description, the position of the point that defines the position of the ruled line is such that the point with the smaller coordinate value is the starting point, and the point with the larger coordinate value is the ending point.

【0024】この検索によって該当する罫線データがあ
った場合、その横罫線と矩形範囲の縦枠との交点を始点
のX座標,終点のX座標に基づいて求める(ステップA
3,A4)。
If the corresponding ruled line data is found through this search, the intersection point between the horizontal ruled line and the vertical frame of the rectangular range is found based on the X coordinate of the starting point and the X coordinate of the ending point (Step A
3, A4).

【0025】交点が存在する場合には、罫線データを交
点の座標位置に基づいて変更する(ステップA6)。こ
の処理の詳細を図3のフローチャートに示している。2
つの交点が得られた場合、すなわち矩形範囲内を罫線が
通過している状態では、指定外の罫線として、元の罫線
の始点と第1交点によって規定される罫線と、第2交点
と元の罫線の終点によって規定される罫線を求め、矩形
範囲内の指定された罫線として第1交点と第2交点によ
って規定される罫線を求める(ステップB1,B2)。
If an intersection exists, the ruled line data is changed based on the coordinate position of the intersection (step A6). The details of this process are shown in the flowchart of FIG. 2
If two intersection points are obtained, that is, when the ruled line passes through the rectangular range, the unspecified ruled line is the ruled line defined by the starting point of the original ruled line and the first intersection, and the ruled line defined by the starting point of the original ruled line and the first intersection point. A ruled line defined by the end point of the ruled line is determined, and a ruled line defined by the first intersection point and the second intersection point is determined as the specified ruled line within the rectangular range (steps B1 and B2).

【0026】また、1つの交点が得られた場合、矩形範
囲内に罫線の始点が含まれていれば、指定外の罫線とし
て交点と元の罫線の終点による罫線を求め、矩形範囲内
の指定された罫線として元の罫線の始点と交点による罫
線を求める(ステップB3,B4)。矩形範囲内に罫線
の終点が含まれていれば、指定外の罫線として元の罫線
の始点と交点による罫線を求め、矩形範囲内の指定され
た罫線として交点と元の罫線の終点による罫線を求める
(ステップB3,B5)。
[0026] Furthermore, when one intersection point is obtained, if the starting point of the ruled line is included within the rectangular range, a ruled line between the intersection point and the end point of the original ruled line is determined as an unspecified ruled line, and the specified point within the rectangular range is A ruled line based on the starting point and intersection of the original ruled line is determined as the ruled line (steps B3 and B4). If the end point of the ruled line is included in the rectangular range, a ruled line formed by the intersection with the starting point of the original ruled line is calculated as an unspecified ruled line, and a ruled line formed by the intersection point and the end point of the original ruled line is calculated as the specified ruled line within the rectangular range. (steps B3, B5).

【0027】次に、ステップA6において得られた矩形
範囲内の指定された罫線のデータを編集対象として、罫
線データワークバッファ8に記憶する(ステップA7)
。また、罫線データバッファ7中の元の罫線データを、
ステップA6において得られた指定外の罫線のデータに
変更する。以下、同様にして、横罫線のそれぞれについ
て処理を繰り返す(ステップA2〜A7)。全ての横罫
線について処理が終了すると、縦罫線の処理に移行する
(ステップA8)。
Next, the data of the specified ruled line within the rectangular range obtained in step A6 is stored in the ruled line data work buffer 8 as an editing target (step A7).
. Also, the original ruled line data in the ruled line data buffer 7 is
The data is changed to the unspecified ruled line data obtained in step A6. Thereafter, the process is repeated for each horizontal ruled line in the same manner (steps A2 to A7). When the processing for all horizontal ruled lines is completed, the process moves to vertical ruled line processing (step A8).

【0028】縦罫線についても、横罫線の処理と同様に
して処理を行ない、矩形範囲内の罫線データを求める(
ステップA8〜A13)。
Vertical ruled lines are also processed in the same way as horizontal ruled lines to obtain ruled line data within a rectangular range (
Steps A8 to A13).

【0029】これにより、得られた罫線データに基づい
て、図7に示すように、矩形範囲を示す破線を表示する
と共に、指定された罫線を、その旨を示すシステム罫線
に変更して表示する。この状態において「選択/実行」
キーが押下されると、図8に示すように、システム罫線
で表示された罫線を消去し、罫線データバッファ7中の
元の罫線データをステップA6において得られた指定外
の罫線のデータに変更する。なお、罫線編集の内容が、
コピーのような元の罫線表示の変更がない場合には、元
の罫線データを変更しなくても良い。
[0029] Based on the obtained ruled line data, a dashed line indicating the rectangular range is displayed as shown in FIG. 7, and the specified ruled line is changed to a system ruled line indicating that. . In this state, "Select/Execute"
When the key is pressed, as shown in FIG. 8, the ruled lines displayed as system ruled lines are erased, and the original ruled line data in the ruled line data buffer 7 is changed to the unspecified ruled line data obtained in step A6. do. Please note that the content of border editing is
If there is no change in the original ruled line display such as copying, there is no need to change the original ruled line data.

【0030】罫線データワークバッファ8に記憶された
罫線データは、コピーや移動を行なう際に、例えばカー
ソルキーによる指示に応じて座標位置が更新される。
When the ruled line data stored in the ruled line data work buffer 8 is copied or moved, the coordinate position is updated according to an instruction using a cursor key, for example.

【0031】このように、編集の対象とする罫線の指定
が、矩形枠内に始点、終点を含まなくても可能となるの
で操作上での制限が除かれ罫線編集の操作性が向上する
In this way, it is possible to specify a ruled line to be edited even if the starting point and end point are not included in the rectangular frame, thereby eliminating operational restrictions and improving the operability of ruled line editing.

【0032】次に、罫線編集機能を用いた表の作成(自
動罫線作成)の手順について、図9に示すフローチャー
トを参照しながら説明する。通常、罫線を作成する場合
には、罫線の始点,終点の位置を指示することによって
行われる。表の外枠等の矩形枠を作成する場合にも、2
点を指示することによって行なわれる。
Next, the procedure for creating a table using the ruled line editing function (automatic ruled line creation) will be explained with reference to the flowchart shown in FIG. Usually, when creating a ruled line, it is done by indicating the positions of the starting and ending points of the ruled line. When creating a rectangular frame such as the outer frame of a table, 2
This is done by pointing to a point.

【0033】まず、図10に示すように予め表の外枠と
縦罫線が作成されている状態で、例えば「機能1」+カ
ーソルキー(または「罫線」キーでも良い)が押下され
ると、所定の方向へのカーソル位置から既に作成されて
いる罫線までの自動罫線作成が行なわれる。
First, as shown in FIG. 10, when the outer frame and vertical ruled lines of the table have been created in advance, for example, when "Function 1" + cursor key (or "ruled line" key may be pressed) is pressed, Automatic ruled line creation is performed from the cursor position in a predetermined direction to the already created ruled lines.

【0034】まず、自動罫線作成の指示が入力されると
、カーソル位置が罫線上にあり、その罫線が縦罫線であ
った場合に、罫線データバッファ7に記憶された縦罫線
を検索し、カーソル位置と各縦罫線との交点の座標位置
を求める(ステップC1〜C3)。
First, when an instruction to automatically create a ruled line is input, if the cursor position is on a ruled line and that ruled line is a vertical ruled line, the vertical ruled line stored in the ruled line data buffer 7 is searched and the cursor is The coordinate position of the intersection of the position and each vertical ruled line is determined (steps C1 to C3).

【0035】そして、カーソルによって指示された初期
位置と、最も座標値の大きい縦罫線との間に、図11に
示すように横罫線を生成し、未確定状態であることを示
すシステム罫線によって表示する(ステップC4,C5
)。以下、この表示状態をラバーバンド表示と称する。
Then, a horizontal ruled line is generated between the initial position indicated by the cursor and the vertical ruled line with the largest coordinate value, as shown in FIG. (steps C4, C5
). Hereinafter, this display state will be referred to as rubber band display.

【0036】図11に示すようなラバーバンド表示の状
態で、「次候補」キーが押下されると、図12に示すよ
うに、カーソルによって指示された初期位置と、次に座
標値の大きい縦罫線との間に横罫線を生成し、ラバーバ
ンド表示を行なう。すなわち、「次候補」キーが押下さ
れる毎に、図11、図12、図13、図14に示すよう
に、順次、別の縦罫線との間に横罫線を生成し、ラバー
バンド表示を行なう。
When the "Next Candidate" key is pressed in the state of the rubber band display as shown in FIG. 11, the initial position indicated by the cursor and the vertical position with the next largest coordinate value are A horizontal ruled line is generated between the ruled lines and a rubber band is displayed. That is, each time the "Next Candidate" key is pressed, horizontal ruled lines are sequentially generated between another vertical ruled line and a rubber band is displayed, as shown in FIGS. 11, 12, 13, and 14. Let's do it.

【0037】そして、任意の横罫線が表示された状態に
おいて「選択/実行」キーが押下されると、その時の横
罫線の始点,終点位置を罫線データバッファ7に記憶す
ると共に、図15に示すように(図中は外枠まで罫線を
作成した例)確定された罫線を表示する(ステップC8
,C9)。
When the "select/execute" key is pressed while any horizontal ruled line is displayed, the starting and ending positions of the horizontal ruled line at that time are stored in the ruled line data buffer 7, and the data shown in FIG. 15 is stored. (In the figure, the ruled lines are created up to the outer frame.) Display the confirmed ruled lines (step C8).
, C9).

【0038】一方、カーソルの初期位置が横罫線上にあ
る場合には、罫線データバッファ7から横罫線を検索し
て(ステップC10)、以下、ステップC4〜C9と同
様の手順によって縦罫線の生成を行なう(ステップC1
1〜C16)。
On the other hand, if the initial position of the cursor is on a horizontal ruled line, the horizontal ruled line is retrieved from the ruled line data buffer 7 (step C10), and then vertical ruled lines are generated by the same procedure as steps C4 to C9. (Step C1
1 to C16).

【0039】なお、図10では、初期状態を外枠上にカ
ーソルが位置している場合としたが、何れの罫線上であ
っても良い。また、座標値の大きい罫線との間に、順次
罫線を生成してラバーバンド表示するものとしたが、例
えば座標値の小さい罫線との間に順次罫線を生成する等
、その生成順は特に限定されない。
In FIG. 10, the initial state is a case where the cursor is located on the outer frame, but the cursor may be located on any ruled line. In addition, ruled lines are generated sequentially between ruled lines with large coordinate values and displayed as a rubber band, but the order in which they are generated is particularly limited, for example, ruled lines are generated sequentially between ruled lines with small coordinate values. Not done.

【0040】このように、罫線を作成する際に、各罫線
毎に始点,終点を指定する必要がないため、表等を作成
するための操作を簡単にすることができる。
[0040] In this way, when creating ruled lines, it is not necessary to specify the start point and end point for each ruled line, so operations for creating tables, etc. can be simplified.

【0041】[0041]

【発明の効果】以上のように本発明によれば、編集対象
とする罫線を指定する際の制限が軽減され、また表等を
作成する際の罫線の作成が簡単になるので、罫線編集機
能における操作性を向上させることが可能となるもので
ある。
As described above, according to the present invention, restrictions on specifying ruled lines to be edited are alleviated, and the creation of ruled lines when creating tables, etc. is simplified, so that the ruled line editing function is improved. This makes it possible to improve the operability of the machine.

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

【図1】本発明の一実施例に係わる文書作成装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a document creation device according to an embodiment of the present invention.

【図2】編集対象とする罫線の指定の手順を説明するた
めのフローチャート。
FIG. 2 is a flowchart for explaining the procedure for specifying ruled lines to be edited.

【図3】編集対象とする罫線の指定の手順を説明するた
めのフローチャート。
FIG. 3 is a flowchart for explaining the procedure for specifying ruled lines to be edited.

【図4】編集対象とする罫線が表示された画面例を示す
図。
FIG. 4 is a diagram showing an example of a screen on which ruled lines to be edited are displayed.

【図5】編集対象とする罫線を指定するための終点指定
要求用の画面例を示す図。
FIG. 5 is a diagram showing an example of a screen for requesting end point specification for specifying a ruled line to be edited.

【図6】矩形範囲枠と罫線との交点の求め方を説明する
ための図。
FIG. 6 is a diagram for explaining how to find the intersection between a rectangular range frame and a ruled line.

【図7】編集対象を指定するための矩形枠が設定された
状態の画面例を示す図。
FIG. 7 is a diagram showing an example of a screen in which a rectangular frame for specifying an editing target is set.

【図8】編集処理(罫線削除)が実行された際の画面例
を示す図。
FIG. 8 is a diagram showing an example of a screen when editing processing (ruled line deletion) is executed.

【図9】自動罫線作成の手順を説明するためのフローチ
ャート。
FIG. 9 is a flowchart for explaining the procedure for automatically creating ruled lines.

【図10】表を構成する外枠及び縦罫線が作成された状
態の画面例を示す図。
FIG. 10 is a diagram showing an example of a screen in which an outer frame and vertical ruled lines forming a table have been created.

【図11】図10に示す画面が表示された状態で「次候
補」キーが押下された際の画面例を示す図。
FIG. 11 is a diagram showing an example of a screen when a "next candidate" key is pressed while the screen shown in FIG. 10 is displayed.

【図12】図11に示す画面が表示された状態で「次候
補」キーが押下された際の画面例を示す図。
FIG. 12 is a diagram showing an example of a screen when a "next candidate" key is pressed while the screen shown in FIG. 11 is displayed.

【図13】図12に示す画面が表示された状態で「次候
補」キーが押下された際の画面例を示す図。
FIG. 13 is a diagram showing an example of a screen when a “next candidate” key is pressed while the screen shown in FIG. 12 is displayed.

【図14】図13に示す画面が表示された状態で「次候
補」キーが押下された際の画面例を示す図。
FIG. 14 is a diagram showing an example of a screen when a “next candidate” key is pressed while the screen shown in FIG. 13 is displayed.

【図15】図14に示す画面が表示された状態で「選択
/実行」キーが押下された際の画面例を示す図。
FIG. 15 is a diagram showing an example of a screen when a "select/execute" key is pressed while the screen shown in FIG. 14 is displayed.

【符号の説明】 7…罫線データバッファ、8…罫線データワークバッフ
ァ、14…罫線編集プログラムエリア、16…キーボー
ド、18…表示器。
[Description of symbols] 7... Ruled line data buffer, 8... Ruled line data work buffer, 14... Ruled line editing program area, 16... Keyboard, 18... Display.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  罫線編集機能を有する文書作成装置に
おいて、既に作成された罫線から任意に設定された矩形
範囲内の罫線のみを編集対象として求める罫線指定手段
を具備したことを特徴とする文書作成装置。
1. A document creation device having a ruled line editing function, characterized by comprising a ruled line specifying means for determining only ruled lines within an arbitrarily set rectangular range from already created ruled lines as editing targets. Device.
【請求項2】  罫線編集機能を有する文書作成装置に
おいて、既に作成された罫線上の任意の位置と他の罫線
との間に、任意の指示に応じて罫線を生成する罫線生成
手段を具備したことを特徴とする文書作成装置。
2. A document creation device having a ruled line editing function, comprising ruled line generation means for generating ruled lines between an arbitrary position on an already created ruled line and another ruled line according to an arbitrary instruction. A document creation device characterized by:
JP3070560A 1991-03-11 1991-03-11 Word processor Pending JPH04282749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3070560A JPH04282749A (en) 1991-03-11 1991-03-11 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3070560A JPH04282749A (en) 1991-03-11 1991-03-11 Word processor

Publications (1)

Publication Number Publication Date
JPH04282749A true JPH04282749A (en) 1992-10-07

Family

ID=13435040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3070560A Pending JPH04282749A (en) 1991-03-11 1991-03-11 Word processor

Country Status (1)

Country Link
JP (1) JPH04282749A (en)

Similar Documents

Publication Publication Date Title
JPH064607A (en) Data display device
JPH04282749A (en) Word processor
JPH0728801A (en) Image data processing method and device therefor
JPH0325235Y2 (en)
JP2751212B2 (en) Document creation device
JPH08272994A (en) Device and method for information processing
JPH05216976A (en) Document preparing device
JP3133385B2 (en) Character editing system
JPH07114646A (en) Word processor and object specifying method
JPH0696080A (en) Document preparing device having multi-window function and multi-window size changing method
JP2921975B2 (en) Handwritten document creation device
JPH0512401A (en) Document preparing device
JP2751224B2 (en) Document creation device
JPH0512270A (en) Method and device for processing document
JPH04282754A (en) Word processor
JPH05135050A (en) Line segment attribute display method
JPH0660097A (en) Data processing method and device
JPH0512279A (en) Document preparing device
JPH04282750A (en) Word processor
JPH0512265A (en) Document preparation device
JPH04282746A (en) Document preparing device
JPH04282755A (en) Word processor
JPH10222507A (en) Data editing device and its program recording medium
JPH08180117A (en) Table processor
JPS6366677A (en) Documentation device