[go: up one dir, main page]

JP2708922B2 - Document creation device - Google Patents

Document creation device

Info

Publication number
JP2708922B2
JP2708922B2 JP2027481A JP2748190A JP2708922B2 JP 2708922 B2 JP2708922 B2 JP 2708922B2 JP 2027481 A JP2027481 A JP 2027481A JP 2748190 A JP2748190 A JP 2748190A JP 2708922 B2 JP2708922 B2 JP 2708922B2
Authority
JP
Japan
Prior art keywords
ruled line
line
cursor
variable
writing
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 - Fee Related
Application number
JP2027481A
Other languages
Japanese (ja)
Other versions
JPH03231358A (en
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2027481A priority Critical patent/JP2708922B2/en
Publication of JPH03231358A publication Critical patent/JPH03231358A/en
Application granted granted Critical
Publication of JP2708922B2 publication Critical patent/JP2708922B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、あらかじめ罫線によって作成された特定の
フォーマットで構成されている表に対して罫線の書き込
みを許容する罫線追加作成装置に関する。
The present invention relates to a ruled line adding / creating apparatus which permits writing of ruled lines in a table which is formed in advance and has a specific format and is formed of ruled lines.

(ロ) 従来の技術 従来のワードプロセッサ等の文書作成装置において、
罫線によって特定のフォーマットの表の書き込みを行わ
んとする場合、表を作成すべき位置にカーソルをカーソ
ルキーで移動せしめ、罫線作成を指示した後、始点から
終点までキーを押し続けるリピート入力を罫線毎に行う
か、引こうとする位置の始点と終点をカーソル移動によ
り指示し、その間を結び付ける操作を繰り返し行うこと
が一般的である(三洋電機株式会社製ワードプロセッサ
SWP−7700操作マニュアル参照)。
(B) Conventional technology In a conventional document creation device such as a word processor,
To write a table in a specific format using a ruled line, move the cursor to the position where the table is to be created using the cursor keys, specify the ruled line creation, and then press the key from the start point to the end point. It is common practice to perform each operation, or to repeatedly specify the starting point and the ending point of the position to be pulled by moving the cursor, and perform an operation of connecting the points (a word processor manufactured by Sanyo Electric Co., Ltd.).
Refer to the SWP-7700 operation manual).

(ハ) 発明が解決しようとする課題 ところが、文書テキストに既に特定のフォーマットで
構成されている表枠等では、その表枠内に各種の罫線を
新たに引く場合、そのフォーマットに準拠した罫線を引
くことが多く、その場合においてもカーソルが表示画面
上を自由に移動するために、新たな罫線の書き込みの始
点及び終点を特定する際、カーソルが移動オーバするこ
とがある。そのためにオペレータは特に終点近くにカー
ソルが移動してくると、その移動操作を慎重に行わなけ
ればならない。
(C) Problems to be Solved by the Invention However, in the case of a table frame or the like that is already configured in a specific format in the document text, when various new ruled lines are drawn in the table frame, a ruled line conforming to the format is drawn. In many cases, the cursor moves freely on the display screen, so that when specifying the start point and end point of writing a new ruled line, the cursor may move over. Therefore, the operator must carefully perform the moving operation especially when the cursor moves near the end point.

本発明は、上述の如く既に作成済みの表に対する新た
な罫線の書き込み操作が煩雑である点を解決せんとする
ものである。
An object of the present invention is to solve the problem that the operation of writing a new ruled line in a table that has already been created is complicated as described above.

(ニ) 課題を解決するための手段 本発明は、あらかじめ罫線によって作成された特定の
フォーマットで構成されている表に対して新たに罫線の
書き込みを許容する罫線追加作成装置であって、上記作
成済みの表を含む罫線とカーソルが表示される表示手段
と、上記表示手段のカーソルにより指定された罫線を含
む表を新たに罫線を書き込むべき表の有効処理範囲と特
定する特定手段と、上記特定手段で特定された表の有効
処理範囲を上記表示手段に表示させる制御手段と、上記
カーソルの新たに罫線を書き込むべき位置を指定するた
めの移動を、特定された表の有効処理範囲を示す表枠罫
線上に限定するくカーソル移動限定手段と、上記限定さ
れたカーソル移動により新たに罫線を書き込むべき位置
を指定する位置指定手段と、上記指定されたカーソル位
置に基づき書き込むべき罫線が縦罫線か横罫線かを決定
する罫線決定手段と、上記決定された罫線を上記指定さ
れたカーソル位置を基準に上記有効処理範囲を越すこと
なく書き込む書き込み手段と、を備えることを特徴とす
る。
(D) Means for Solving the Problems The present invention relates to a ruled line adding / creating apparatus which allows writing of a new ruled line in a table formed in a specific format which has been previously formed by ruled lines. Display means for displaying a ruled line including a table already completed and a cursor; specifying means for specifying a table including a ruled line designated by the cursor of the display means as an effective processing range of a table to which a new ruled line is to be written; Control means for displaying the effective processing range of the table specified by the means on the display means, and movement of the cursor for designating the position where a new ruled line is to be written, and a table indicating the effective processing range of the specified table. A cursor movement limiting means for limiting the position on the frame ruled line; a position designating means for designating a position where a new ruled line is to be written by the limited cursor movement; Ruled line determining means for determining whether a ruled line to be written is a vertical ruled line or a horizontal ruled line based on the cursor position, and writing means for writing the determined ruled line without exceeding the effective processing range based on the designated cursor position. , Is provided.

(ホ) 作用 上述の如くあらかじめ作成された表に対して新たに罫
線を追加するに際して、特定手段でカーソルにより指定
された罫線を含む表を新たに罫線を書き込むべき表の有
効処理範囲とし特定し、制御手段で書き込むべき表を自
動的に特定し、制御手段で特定された表の有効処理範囲
を表示手段に表示させることによって、操作者はその表
示により所望する新たな罫線を書き込むべき表を明確に
確認できる。
(E) Function When adding a new ruled line to the table created in advance as described above, the table including the ruled line specified by the cursor by the specifying means is specified as the effective processing range of the table in which the new ruled line is to be written. By automatically specifying the table to be written by the control means and displaying the effective processing range of the table specified by the control means on the display means, the operator can specify the table to which a new ruled line to be written by the display is displayed. It can be clearly confirmed.

又、カーソル移動限定手段でカーソルの新たに罫線を
書き込むべき位置を指定するための移動を、特定された
表の有効処理範囲を示す表枠罫線上に限定し、位置指定
手段で限定されたカーソル移動により新たに罫線を書き
込むべき位置を指定し、罫線決定手段で指定したカーソ
ル位置に基づき書き込むべき罫線が縦罫線か横罫線かを
決定し、書き込み手段で決定された罫線を指定されたカ
ーソル位置を基準に上記有効処理範囲を越すことなく罫
線を書き込むことができるので、罫線の書き込み操作が
簡便化され、新たな罫線を所望の範囲に容易に追加する
ことができる。
Further, the movement for designating the position where a new ruled line is to be written by the cursor movement limiting means is limited to the table frame ruled line indicating the effective processing range of the specified table. The position to which a new ruled line is to be written by movement is specified, and whether the ruled line to be written is a vertical ruled line or a horizontal ruled line is determined based on the cursor position specified by the ruled line determining means. , The ruled line can be written without exceeding the effective processing range, so that the ruled line writing operation is simplified and a new ruled line can be easily added to a desired range.

(ヘ) 実施例 以下、図面を参照しながら、本発明の罫線追加作成装
置の一実施例につき詳細に説明する。
(F) Embodiment Hereinafter, an embodiment of the ruled line additional creation device of the present invention will be described in detail with reference to the drawings.

第1図は、文書作成装置に実施される本発明の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of the present invention implemented in a document creation device.

キーボード1は、自動罫線の作成を指示するキー、罫
線書き込みの処理範囲の変更を指示するキー、文字キ
ー、カーソルキー、さらには、図示していない読み入力
に対する漢字への変換を指示するキー、罫線の線種を選
択するキー、処理の終了を指示するキー等の各種の指示
キーを含み、当該キーボード1から入力された各種のキ
ー操作は制御部2に送られる。制御部2は、入力された
指令に従って後述する装置各部のデータ授受を制御す
る。行カウンタ3はテキストの行数をカウントし、カー
ソルカウンタ4は1行内の文字数、即ちカラム数をカウ
ントする。
The keyboard 1 includes a key for instructing creation of an automatic ruled line, a key for instructing a change of a processing range of ruled line writing, a character key, a cursor key, and a key for instructing conversion of kanji to reading input (not shown). Various instruction keys such as a key for selecting the line type of the ruled line and a key for instructing the end of the processing are provided. Various key operations input from the keyboard 1 are sent to the control unit 2. The control unit 2 controls data transmission / reception of each unit of the apparatus described later according to the input command. The line counter 3 counts the number of lines of text, and the cursor counter 4 counts the number of characters in one line, that is, the number of columns.

テキストバッファ5は文字、記号、罫線等のテキスト
を格納し、当該テキストバッファ5から1行分のデータ
が1行データ読み出し部6によって1行バッファ7に読
み出される。表枠解析器8は上記1行バッファ7に読み
出されたテキストを解析し、指定表枠内で完全な表かど
うか判定し、有効範囲左カラムLX、右カラムRX、開始行
SY,終了行EYをセットする。罫線書き込み部9は1行バ
ッファ7に格納された行に描くべき指定線種(細線、中
線、太線、二重線、破線等)の罫線データを作業バッフ
ァ10に生成し1行バッファ7に書き込む。書き込みが終
了した1行バッファ7のテキストは、1行データ書き込
む部11からテキストバッファ5に書き込まれ、CRT、液
晶、プラズマディスプレイ等の表示部12で表示される。
The text buffer 5 stores text such as characters, symbols, and ruled lines. One line of data is read from the text buffer 5 to the one-line buffer 7 by the one-line data reading unit 6. The table frame analyzer 8 analyzes the text read into the one-line buffer 7 and determines whether or not the table is a complete table within the specified table frame. The valid range left column LX, right column RX, start line
Set SY, end line EY. The ruled line writing unit 9 generates ruled line data of a designated line type (thin line, medium line, thick line, double line, broken line, etc.) to be drawn on the line stored in the one-line buffer 7 in the work buffer 10 and stores it in the one-line buffer 7. Write. The written text in the one-line buffer 7 is written from the one-line data writing unit 11 to the text buffer 5 and displayed on the display unit 12 such as a CRT, a liquid crystal display, or a plasma display.

第2図は、表枠解析器の処理内容を示したフローチャ
ートで、S1ステップでキーボード1上で自動罫線指示キ
ーが押されたかどうかを判定する。指示キーが押されて
いたら、S2ステップで表枠解析器8により、指定された
表枠の特定フォーマットの解析が始まる。即ち、表枠解
析器8は、S2ステップでカーソルにより指定された位置
が罫線上であるか否かが判定され、罫線上であるとき、
S3ステップで変数CXに現カーソルポジションをセットす
る。次に、S4ステップで現カーソル位置の罫線成分中に
横成分が含まれているかどうかを判定し、含まれていな
ければカレント行より1行上の行データを1行バッファ
に読み込み(S5ステップ)、同じく変数CXポジション上
が縦成分を含む罫線上であることをS6ステップで確認す
る。もし縦成分が含まれていたらS4ステップに戻り、こ
の行データ中に横罫線成分が含まれているか否かの判定
に戻る。この処理によってS4ステップで横罫線成分が含
まれている罫線枠がサーチされると、続くS7ステップで
解析開始行として変数SYに行ナンバーをセットする。第
3−1図は、斯る罫線枠サーチによる行ナンバーセット
を模式的に示したものである。
FIG. 2 is a flowchart showing the processing contents of the table frame analyzer. In step S1, it is determined whether or not the automatic ruled line designation key on the keyboard 1 has been pressed. If the instruction key is pressed, the analysis of the specified format of the designated table frame is started by the table frame analyzer 8 in step S2. That is, the table frame analyzer 8 determines whether or not the position specified by the cursor is on the ruled line in step S2.
In step S3, the current cursor position is set in the variable CX. Next, in step S4, it is determined whether or not a horizontal component is included in the ruled line component at the current cursor position. If not, row data one line above the current line is read into a one-line buffer (step S5). In step S6, it is confirmed that the variable CX position is on the ruled line including the vertical component. If a vertical component is included, the process returns to step S4, and returns to the determination of whether or not the horizontal ruled line component is included in the row data. When the ruled line frame including the horizontal ruled line component is searched in step S4 by this processing, the line number is set to the variable SY as the analysis start line in the subsequent step S7. FIG. 3-1 schematically shows a line number set by such a ruled line frame search.

横成分を含む罫線が見つからない場合は、処理を終了
する。
If no ruled line containing a horizontal component is found, the process ends.

解析開始行変数SYがセットされたら、S8ステップで、
第3−1図に示されたスタートカラム変数CXより右方向
に向かってカレントカラム変数Xをカウントしながら、
横罫線の連続性を確認しつつ、下成分を持つ罫線が検出
されると、その都度当該罫線のポジションをテーブル変
数R$TBL(*)にセットする。S9ステップで、左方向
も同様に下成分を持つ罫線のポジションをテーブル変数
L$TBL(*)にセットしていく(第3−2図)。
Once the analysis start line variable SY is set, in step S8,
While counting the current column variable X rightward from the start column variable CX shown in FIG.
Each time a ruled line having a lower component is detected while checking the continuity of the horizontal ruled line, the position of the ruled line is set to a table variable R @ TBL (*) each time. In step S9, similarly, the position of the ruled line having the lower component in the left direction is set in the table variable L @ TBL (*) (FIG. 3-2).

変数SY行の解析が終了したら次に、S10ステップでカ
レント行より1行下の行データを1行バッファに読み込
み、S11ステップ〜S18ステップで変数CXを中心に右方
向、左方向の罫線成分をテーブル変数R$TBL、テーブ
ル変数L$TBLを参照しながら解析していく。このと
き、S17ステップで有効な右方向カラムを示す変数RX
と、有効な左方向カラムを示す変数LXと、を更新しセッ
トしていく。また、横成分罫線が変数LXから変数RXまで
連続していたなら、解析終了行をテーブル変数Y$TBL
(*)と解析最終行変数EYにセットする。斯る解析終了
後の状態が第3−3図に示されらている。
After the analysis of the variable SY line is completed, the line data one line below the current line is read into the one line buffer in step S10, and the rightward and leftward ruled line components centering on the variable CX are read in steps S11 to S18. The analysis is performed with reference to the table variable R @ TBL and the table variable L @ TBL. At this time, the variable RX indicating the right column effective in step S17
And a variable LX indicating a valid leftward column are updated and set. If the horizontal component rule is continuous from the variable LX to the variable RX, the analysis end row is set to the table variable Y 変 数 TBL
(*) And set to the analysis last line variable EY. The state after the completion of such analysis is shown in FIG. 3-3.

この一連の処理(S11ステップ〜S18ステップ)を繰り
返し罫線データが無い行に到達したなら解析を終了す
る。
This series of processing (steps S11 to S18) is repeated, and if a line without ruled line data is reached, the analysis is terminated.

表枠解析器8の解析の結果、有効処理範囲は、行方向
については、変数SYから変数EYまで、列方向について
は、変数LXから変数RXまで、即ち、本実施例では行方向
が3行から13行まで、列(カラム)方向が11カラムから
30カラムまでと決定され、S19ステップで範囲をオペレ
ータに知らせるために第3−4図に示す如く4隅に仮想
目印a、b、c、dが表示されると共に、カーソルの移
動を、当該仮想目印a、b、c、dを結ぶ罫線上に限定
する。
As a result of the analysis by the table frame analyzer 8, the effective processing range is from the variable SY to the variable EY in the row direction and from the variable LX to the variable RX in the column direction. To 13 rows, column (column) direction from 11 columns
In step S19, virtual markers a, b, c, and d are displayed at the four corners to notify the operator of the range in step S19, and the cursor is moved by the virtual marker. It is limited to the ruled line connecting the marks a, b, c and d.

このようにして表枠の有効処理範囲が決定したらキー
ボード1からのキー入力を待つ。キー入力には、カーソ
ルキー,線種キー,有効範囲変更指示キー、終了キー等
が存在する。
When the effective processing range of the table frame is determined in this manner, the key input from the keyboard 1 is waited. The key input includes a cursor key, a line type key, an effective range change instruction key, an end key, and the like.

第4図は、上記有効処理範囲指示キーによる変更処理
の内容を示したフローチャートで、第5−1図及び第5
−2図の模式図を参照して、斯る変更処理を説明する。
尚、第5−1図は第3−4図の状態から最終行を13行か
ら10行に変更する実施例を示し、第5−2図は第3−4
図の状態から左カラムを11カラムから20カラムに変更す
る実施例を示している。
FIG. 4 is a flow chart showing the contents of the change processing by the valid processing range instruction key.
The change process will be described with reference to the schematic diagram of FIG.
FIG. 5A shows an embodiment in which the last row is changed from 13 rows to 10 rows from the state shown in FIG. 3D, and FIG.
An example is shown in which the left column is changed from 11 columns to 20 columns from the state shown in the figure.

まず、S20ステップでキーボード1により有効範囲変
更指示キーが押された場合、表枠解析器8によって決定
された有効処理範囲の変更処理が起動する。引き続き有
効処理範囲を示す最終行変数EY上の仮想目印cまたはd
上にカーソルをセットする。S21ステップでは、上記指
示キーが押されたときのカーソル位置が変数SY、EY行の
仮想目印上であるか否かが判定される。判定の結果、カ
ーソル位置が変数EY行の仮想目印上であると判定される
と、S22ステップで次のキー入力を持つ。キー入力が、
カーソルキーによる上下方向指示であれば、S23ステッ
プでテーブル変数Y$TBL(*)を参照しながら、最初
にセットしたスタート行変数SYP、エンド行変数EYP、を
越えない範囲で移動し仮想目印c及びdを表示する(第
5−1図ではcの目印はカーソルマークのオーバライト
により見掛け上消え、変更を要しないa、bの目印は処
理中も表示されている)。カーソルキー1による左右方
向指示であれば、S24ステップでテーブル変数L$TBL
(*)、テーブル変数R$TBL(*)を参照しながら、
最初にセットした左カラム変数LXP、右カラム変数RXP、
を越えない範囲で移動し仮想目印a及びcを表示し、有
効処理範囲が変更される。キー入力が他のキーであれば
処理を終了する。
First, when the effective range change instruction key is pressed by the keyboard 1 in step S20, the process of changing the effective processing range determined by the table frame analyzer 8 is started. A virtual landmark c or d on the last line variable EY that continuously indicates the valid processing range
Set the cursor on top. In step S21, it is determined whether or not the cursor position at the time when the instruction key is pressed is on the virtual mark on the variable SY, EY line. If it is determined that the cursor position is on the virtual landmark of the variable EY line, the next key input is performed in step S22. Key input is
If the direction is the up / down direction using the cursor keys, the virtual landmark c is moved in a range not exceeding the first set start line variable SYP and end line variable EYP while referring to the table variable Y @ TBL (*) in step S23. (In FIG. 5-1, the mark of c is apparently erased due to the overwriting of the cursor mark, and the marks of a and b which do not need to be changed are displayed during the processing). If the instruction is the left / right direction using the cursor key 1, the table variable L $ TBL is set in step S24.
(*), While referring to the table variable R @ TBL (*),
First set left column variable LXP, right column variable RXP,
And the virtual landmarks a and c are displayed, and the effective processing range is changed. If the key input is another key, the process ends.

この実施例では、カラムまたは行の単独の変更処理を
説明したが、この両者を1回のカーソル移動で変更して
もよい。
In this embodiment, a description has been given of a single column or row changing process. However, both may be changed by a single cursor movement.

有効処理範囲が第3図の表解析または必要に応じて第
5図の変更処理に基づきオペレータによって最終決定さ
れたら、カーソルキー1によって罫線を引く位置を指定
し、線種を選択して罫線を書き込む。
When the effective processing range is finally determined by the operator based on the table analysis in FIG. 3 or the change processing in FIG. 5 as necessary, the position to draw the ruled line is designated by the cursor key 1, the line type is selected, and the ruled line is drawn. Write.

第6図は、斯る各種罫線の書き込み処理を示したフロ
ーチャートで、第7−1図及び第7−2図の模式図を参
照して、その処理を説明する。尚、第7−1図及び第7
−2図共に有効処理範囲は、変更処理前の第3−4図の
状態である。
FIG. 6 is a flowchart showing such various ruled line writing processing. The processing will be described with reference to the schematic diagrams of FIGS. 7-1 and 7-2. FIG. 7-1 and FIG.
The effective processing range in both FIG. 2 and FIG. 3 is the state in FIG. 3-4 before the change processing.

まずカーソルキー1により罫線を引く始点を決定す
る。このとき、カーソルキー1は有効処理範囲の決定に
基づき指定した表枠の最も外の枠のみ即ち、仮想目印
a、b、c、dを結ぶ罫線枠上のみ移動可能であり、左
右キーには半角1字,上下キーには1行移動し、左キー
はカーソル位置変数Xを1減算し、右キーはカーソル位
置変数Xを1加算する。上下キーによる移動は、カーソ
ル位置変数Xの値を変更しない。
First, a starting point for drawing a ruled line is determined by the cursor key 1. At this time, the cursor key 1 can be moved only in the outermost frame of the table frame specified based on the determination of the effective processing range, that is, only on the ruled line frame connecting the virtual landmarks a, b, c, and d. One half-width character moves up and down one line, the left key decrements the cursor position variable X by one, and the right key adds one to the cursor position variable X. Movement by the up / down keys does not change the value of the cursor position variable X.

罫線を引く始点が決定されたら、S30ステップで線種
を選択することにより、反対側の外枠を終点として罫線
を引く。始点Xが変数LXまたはRX上ならばS31ステップ
で横罫線を書き込むべくカーソルのあるテキストバッフ
ァ5の行を1行データ読み出し部6により1行バッファ
7に読み出す。罫線書き込み部9は、1行バッファ7に
読み出した行の変数LX〜RXの間に相当する作業バッファ
10の位置に、指定線種で横罫線を生成し、生成した横罫
線を1行バッファ7に書き込む。そして、1行バッファ
7の内容を1行データ書き込み部11によりテキストバッ
ファ5に書き込む。テキストバッファ5内のカーソルの
ある行を表示(第7−1図)し、次のキー入力を行う。
始点Xが変数LX,RX上でなく行変数SYまたはEY上であれ
ば縦罫線を書き込むべくS23ステップで変数SLを行カウ
ンタ変数MLにセットする。変数MLの指定するテキストバ
ッファ5の行を1行データ読み出し部6により1行バッ
ファ7に読み出す。1行バッファ7のカーソル位置変数
Xに、指定した線種で横罫線と同様にして縦罫線を書
く。1行バッファ7の内容を1行データ書き込む部11に
よりテキストバッファ5に書き込む。テキストバッファ
5の変数MLの指定する行を表示部12に表示する。変数ML
を1プラスする。変数MLが変数ELを越すまでこの処理を
行い、連続した縦罫線を得(第7−2図)、処理を終了
する。
When the starting point for drawing the ruled line is determined, the line type is selected in step S30, and the ruled line is drawn with the outer frame on the opposite side as the end point. If the starting point X is on the variable LX or RX, the line in the text buffer 5 where the cursor is located is read out to the one-line buffer 7 by the one-line data reading unit 6 to write a horizontal ruled line in step S31. The ruled line writing unit 9 includes a work buffer corresponding to the variables LX to RX of the row read to the one-row buffer 7.
At step 10, a horizontal ruled line is generated with a designated line type, and the generated horizontal ruled line is written to the one-line buffer 7. Then, the contents of the one-line buffer 7 are written into the text buffer 5 by the one-line data writing unit 11. The cursor line in the text buffer 5 is displayed (FIG. 7-1), and the next key input is performed.
If the starting point X is not on the variables LX and RX but on the row variable SY or EY, the variable SL is set to the row counter variable ML in step S23 to write a vertical ruled line. The line of the text buffer 5 specified by the variable ML is read out to the one-line buffer 7 by the one-line data reading unit 6. A vertical ruled line is written in the cursor position variable X of the one-line buffer 7 in the same manner as the horizontal ruled line with the designated line type. The contents of the one-line buffer 7 are written to the text buffer 5 by the one-line data writing unit 11. The line specified by the variable ML of the text buffer 5 is displayed on the display unit 12. Variable ML
Plus one. This process is performed until the variable ML exceeds the variable EL, a continuous vertical ruled line is obtained (FIG. 7-2), and the process ends.

尚、斯る罫線の書き込みは、有効処理範囲を規定する
仮想目印a、b、c、dが表示されている間、第6図の
フローチャートを繰り返し実行することによって、複数
本の罫線の書き込みを施すことができる。
The writing of such ruled lines can be performed by repeatedly executing the flowchart of FIG. 6 while the virtual marks a, b, c, and d defining the effective processing range are displayed. Can be applied.

また、本発明において有効処理範囲の解析処理のS19
ステップで上述の如くカーソル移動を罫線上に限定して
いたが、他の実施例として罫線書き込みのための線種キ
ーが押された時点で、カーソル移動の限定を一部解除
し、当該限定を有効処理範囲内とするような構成とすれ
ば、従来のリピート入力により罫線を描くことができ
る。この場合でも、カーソルは有効処理範囲を越えるこ
とができないので、オペレータは終点の位置合わせにつ
いて何ら注意を払うことなく、操作性の低下を殆ど招く
ことはない。
In the present invention, S19 of the effective processing range analysis processing
In the step, the cursor movement was limited to the ruled line as described above. However, as another embodiment, when the line type key for writing the ruled line is pressed, the limitation of the cursor movement is partially released, and the limitation is removed. With such a configuration as to be within the effective processing range, ruled lines can be drawn by conventional repeat input. Even in this case, since the cursor cannot exceed the valid processing range, the operator does not pay any attention to the positioning of the end point, and the operability is hardly reduced.

(ト) 発明の効果 以上の説明から明らかな如く、作成済の罫線に対して
罫線の書き込み範囲が自動的に特定され、表示手段上で
その範囲を確認できると共に、カーソルの新たに罫線を
書き込むべき位置を指定するための移動は、特定された
表の有効処理範囲を示す表枠罫線上に限定されると共
に、限定されたカーソル移動により新たに罫線を書き込
むべき位置を指定することで、書き込むべき罫線が縦罫
線が横罫線かが自動的に決定され、指定されたカーソル
位置を基準に罫線が有効処理範囲を越すことなく書き込
まれるので、罫線の書き込み操作が簡便化され、新たな
罫線を所望の範囲に容易に追加することができ、操作性
の向上が図れる。
(G) Effects of the Invention As is clear from the above description, the writing range of the ruled line is automatically specified for the created ruled line, the range can be confirmed on the display means, and a new ruled line of the cursor is written. The movement for designating the position to be specified is limited to the table frame ruled line indicating the effective processing range of the specified table, and writing is performed by specifying the position where a new ruled line is to be written by the limited cursor movement. It is automatically determined whether the desired ruled line is a vertical ruled line or a horizontal ruled line, and the ruled line is written based on the specified cursor position without exceeding the effective processing range, so that the ruled line writing operation is simplified and a new ruled line can be created. It can be easily added to a desired range, and operability can be improved.

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

図は全て本発明罫線追加作成装置の一実施例を示し、第
1図は構成を示すブロック図、第2図は表枠解析器の基
本動作を示すフローチャート、第3−1図乃至第3−4
図は有効処理範囲決定までの手順を示す模式図、第4図
は有効処理範囲の変更処理の基本動作を示すフローチャ
ート、第5−1図及び第5−2図は有効処理範囲変更の
様子を示す模式図、第6図は有効処理範囲のカーソル位
置を判定し罫線を書き込む基本動作を示すフローチャー
ト、第7図は有効処理範囲のカーソル位置を判定し罫線
を書き込んだ様子を示す模式図である。 1……キーボード、2……制御部、5……テキストバッ
ファ、7……1行バッファ、8……表枠解析器、9……
罫線書き込み部、12……表示部。
1 shows an embodiment of a ruled line addition creating apparatus according to the present invention, FIG. 1 is a block diagram showing a configuration, FIG. 2 is a flowchart showing a basic operation of a table frame analyzer, and FIGS. 4
FIG. 4 is a schematic diagram showing the procedure up to the determination of the effective processing range, FIG. 4 is a flowchart showing the basic operation of the change processing of the effective processing range, and FIGS. FIG. 6 is a flowchart showing the basic operation of determining the cursor position in the effective processing range and writing a ruled line. FIG. 7 is a schematic diagram showing the state of determining the cursor position in the effective processing range and writing a ruled line. . 1 ... keyboard, 2 ... control unit, 5 ... text buffer, 7 ... 1 line buffer, 8 ... table frame analyzer, 9 ...
Ruled line writing unit, 12 ... Display unit.

フロントページの続き (56)参考文献 特開 昭62−237492(JP,A) 特開 昭62−237493(JP,A) 特開 昭62−180390(JP,A) 特開 昭63−67671(JP,A) 実開 昭63−135453(JP,U)Continuation of the front page (56) References JP-A-62-237492 (JP, A) JP-A-62-237493 (JP, A) JP-A-62-180390 (JP, A) JP-A-63-67671 (JP, A) , A) Japanese Utility Model Showa 63-135453 (JP, U)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】あらかじめ罫線によって作成された特定の
フォーマットで構成されている表に対して新たに罫線の
書き込みを許容する罫線追加作成装置であって、 上記作成済みの表を含む罫線とカーソルが表示される表
示手段と、 上記表示手段のカーソルにより指定された罫線を含む表
を新たに罫線を書き込むべき表の有効処理範囲と特定す
る特定手段と、 上記特定手段で特定された表の有効処理範囲を上記表示
手段に表示させる制御手段と、 上記カーソルの新たに罫線を書き込むべき位置を指定す
るための移動を、特定された表の有効処理範囲を示す表
枠罫線上に限定するカーソル移動限定手段と、 上記限定されたカーソル移動により新たに罫線を書き込
むべき位置を指定する位置指定手段と、 上記指定されたカーソル位置に基づき書き込むべき罫線
が縦罫線か横罫線かを決定する罫線決定手段と、 上記決定された罫線を上記指定されたカーソル位置を基
準に上記有効処理範囲を越すことなく書き込む書き込み
手段と、 を備えることを特徴とする罫線追加作成装置。
1. A ruled line adding / creating apparatus for permitting writing of a new ruled line in a table which is formed in a specific format and has been prepared in advance by using a ruled line, wherein the ruled line including the prepared table and a cursor are Display means to be displayed; specifying means for specifying a table including a ruled line specified by the cursor of the display means as a valid processing range of a table to which a new ruled line is to be written; and valid processing of the table specified by the specifying means Control means for displaying the range on the display means; and cursor movement limitation for limiting movement of the cursor for designating a position where a new ruled line is to be written on a table frame ruled line indicating an effective processing range of the specified table. Means, position specifying means for specifying a position where a new ruled line is to be written by the limited cursor movement, and writing based on the specified cursor position. Ruled line determining means for determining whether a ruled line to be drawn is a vertical ruled line or a horizontal ruled line; and writing means for writing the determined ruled line based on the designated cursor position without exceeding the effective processing range. An additional ruled line creation device.
JP2027481A 1990-02-07 1990-02-07 Document creation device Expired - Fee Related JP2708922B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2027481A JP2708922B2 (en) 1990-02-07 1990-02-07 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2027481A JP2708922B2 (en) 1990-02-07 1990-02-07 Document creation device

Publications (2)

Publication Number Publication Date
JPH03231358A JPH03231358A (en) 1991-10-15
JP2708922B2 true JP2708922B2 (en) 1998-02-04

Family

ID=12222317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2027481A Expired - Fee Related JP2708922B2 (en) 1990-02-07 1990-02-07 Document creation device

Country Status (1)

Country Link
JP (1) JP2708922B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2611969B2 (en) * 1986-02-04 1997-05-21 キヤノン株式会社 Document processing device
JPS62237493A (en) * 1986-04-08 1987-10-17 カシオ計算機株式会社 Simple tabulation device
JPS62237492A (en) * 1986-04-08 1987-10-17 カシオ計算機株式会社 Simple tabulation device
JP2670441B2 (en) * 1986-09-09 1997-10-29 キヤノン株式会社 Document processing device
JPS63135453U (en) * 1987-02-23 1988-09-06

Also Published As

Publication number Publication date
JPH03231358A (en) 1991-10-15

Similar Documents

Publication Publication Date Title
US4951233A (en) Document producing apparatus having in-document layout display
US5673067A (en) Information processing apparatus and method
JP2708922B2 (en) Document creation device
JP2760620B2 (en) Ruled line additional creation device
JPH02113318A (en) Help processing method for information processing equipment
JPS644189B2 (en)
JP2585537B2 (en) Graphic data processing apparatus and method
JPH08202856A (en) Picture processing method
JPH06131143A (en) Document input / search device
JPH0728801A (en) Image data processing method and device therefor
JPH03231357A (en) Document preparation device
JPH01118190A (en) information processing equipment
JPH0734195B2 (en) Format data setting method for document printing
JPH0470925A (en) Help message display system
JPH0325235Y2 (en)
JPS6355097B2 (en)
JP2671598B2 (en) Document processing device
JP2714126B2 (en) Setting method of graphic data input mode of document processing system
JPH01290065A (en) Document processor
JPH07295778A (en) Document storage system
JPH07114646A (en) Word processor and object specifying method
JP2633800B2 (en) How to set document format
JPH08138070A (en) Information processor with frame edit function
JPH07302322A (en) Picture display device
JPH0816357A (en) Cursor display controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees