JPH01130264A - Document processor - Google Patents

Document processor

Info

Publication number
JPH01130264A
JPH01130264A JP62289145A JP28914587A JPH01130264A JP H01130264 A JPH01130264 A JP H01130264A JP 62289145 A JP62289145 A JP 62289145A JP 28914587 A JP28914587 A JP 28914587A JP H01130264 A JPH01130264 A JP H01130264A
Authority
JP
Japan
Prior art keywords
text
cell
line
ruled
lines
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62289145A
Other languages
Japanese (ja)
Other versions
JP2810368B2 (en
Inventor
Masaki Hamada
浜田 正基
Tetsuaki Taniguchi
谷口 哲秋
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62289145A priority Critical patent/JP2810368B2/en
Priority to DE3838729A priority patent/DE3838729C2/en
Publication of JPH01130264A publication Critical patent/JPH01130264A/en
Priority to US07/948,621 priority patent/US5867159A/en
Application granted granted Critical
Publication of JP2810368B2 publication Critical patent/JP2810368B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To form ruled lines of an equal interval by a simple operation by calculating an interval between plural rules lines based on a numerical data inputted by an input means and a position instructed by a position instructing means. CONSTITUTION:A CRT part 1 is used by a raster scan display system. Display pattern information of a one-screen portion is stored in a video RAM 2, and write to this video RAM 2 and read-out to the CRT part 1 are controlled by a display control part 3. An MPU 4 calculates an interval between plural ruled lines based on a numerical data inputted by a keyboard 8 and a position instructed by a pointing device 9, and controls the CRT part 1 so as to display plural ruled lines at an equal interval.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、表の編集が容易に行える文書処理装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a document processing device that allows easy editing of tables.

〔従来の技術〕[Conventional technology]

従来の文書処理装置における作表方式では、罫線を引く
手段としては、 (1)罫線の始点、終点の2点を指示する。
In the tabulation method used in conventional document processing devices, the means for drawing ruled lines are as follows: (1) Two points, a starting point and an ending point, of the ruled line are specified.

(2)罫引する本数を指定し、既に引かれている基準と
なる罫線と、別に指示された位置との距離を罫引する本
数で分割して罫線の位置を求め、それらの求められた位
置の罫線□を最も近い格子点であるグリッド(第2図(
a)、(b)100)に整列させる。
(2) Specify the number of lines to be drawn, calculate the position of the ruled line by dividing the distance between the standard ruled line already drawn and the specified position by the number of lines to be drawn, and calculate the position of the ruled line. Place the ruled line □ of the position on the grid that is the nearest grid point (see Figure 2).
a), (b) 100).

というような方法がとられていた。This method was used.

これを第2図をもとに説明する。第2図(a)の15は
基準線である。この基準線とカーソル2oとの間の距離
(基準線が横罫線の場合、y座標の差分、縦罫線の場合
X座標の差分て、この例の場合はy座標の差分)を罫引
の本数5で割り、罫線の間隔を求める。この間隔で5本
の罫線の位置を求めると(a)の点線16のようになる
。これらの罫線の位置を最も近いグリッド100に整列
し、第2図(b)のような結果が得られる。
This will be explained based on FIG. 15 in FIG. 2(a) is a reference line. The distance between this reference line and the cursor 2o (if the reference line is a horizontal ruled line, the difference in the y coordinate; if the reference line is a vertical ruled line, the difference in the X coordinate; in this example, the difference in the y coordinate) is the number of ruled lines. Divide by 5 to find the interval between ruled lines. If the positions of the five ruled lines are determined at this interval, the result will be as shown by the dotted line 16 in (a). By aligning the positions of these ruled lines to the nearest grid 100, a result as shown in FIG. 2(b) is obtained.

しかし−船釣に文書に用いられる表は、行幅の等しし?
表が多いにもかかわらず、上記分割罫引の方法では、第
2図(b)のように、最大ニゲリッド間隔分のずれが生
じ等間隔な罫線を引くことが困難であった。又、1つの
表を作成するのに1本の罫線に平行で、長さが等しい罫
線をその度毎に描画させるために操作が繁雑であった。
But - do tables used for boat fishing documents have equal line widths?
Even though there are many tables, with the divided ruling method described above, as shown in FIG. 2(b), there is a deviation by the maximum nigerid interval, making it difficult to draw evenly spaced ruled lines. Furthermore, in order to create one table, a ruled line that is parallel to one ruled line and has the same length is drawn each time, making the operation complicated.

〔目 的〕〔the purpose〕

以上の点に鑑み、本発明は、簡単な操作で用紙に指定さ
れたグリッド(寸法情報)に応じ等間隔の罫線を引きこ
とができる文書処理装置を提供することを目的としてい
る。
In view of the above points, it is an object of the present invention to provide a document processing device that can draw equally spaced ruled lines on a sheet of paper according to a specified grid (size information) with a simple operation.

〔実施例〕〔Example〕

以下、図面を用いて本発明の詳細な説明する。なお、本
発明でいう文書は、文章(表も含む)1図形。
Hereinafter, the present invention will be explained in detail using the drawings. Note that a document in the present invention is a text (including a table) and one figure.

イメージ等を含めて総称している。又、本発明の機能が
実行されるのであれば、単体の機器であっても、複数の
機器から成るシステムであっても、LAN等のネットワ
ークを介して、処理が行われるシステムであっても本発
明が適用されることは言うまでもない。なお、本発明の
文書処理は元来、机上でペン等により人間が描くという
処理を電子的に行うという基本的な考えがあり、明細書
中「線を引く」、「移動」・・・等は全て電子的な処理
によるものである。
This is a general term that includes images, etc. Furthermore, as long as the functions of the present invention are executed, it does not matter whether it is a single device, a system consisting of a plurality of devices, or a system in which processing is performed via a network such as a LAN. It goes without saying that the present invention is applicable. Note that the basic idea of the document processing of the present invention was to electronically perform the process of drawing by a person on a desk with a pen, etc. In the specification, "drawing a line", "moving", etc. are all electronically processed.

[システムブロック図] 第1図は本発明に係る一実施例の文書処理装置のシステ
ムブロック図である。1はラスタ・スキャン表示方式で
使用されるCRT部、2は一画面分の表示パターン情報
を記憶するビデオRAM (VRAM)、3はVRAM
2に対するパターン情報の書き込み、CRTlへの読み
出しを制御する表示制御部である。4はマイクロプロセ
ッサ(MPU)でこの装置の主制御である。5は後述フ
ローチャートに示すような制御プログラムや文書データ
を格納するエリアを有する主メモリである。MPU4に
は文字データ等の入力を行うキーボード8及びCRT上
の位置の指定を行い、図形等のデータの入力編集を行う
ポインティング・デバイス(以下P、D)9が接続され
ている。6はハードディスク装置でこの中に文書ファイ
ルや後述のフローチャートに示す様なプログラムや文字
フォントが格納されている。lOは作成された文書を出
力するためのプリンタで、両面出カニニット等を有して
いる。11は画像等のイメージデータを読み込むための
イメージスキャナ、12は文書ファイル等の保存を行う
ためのフロッピーディスク装置である。これらの各構成
ブロックはI10バス7で接続されている。
[System Block Diagram] FIG. 1 is a system block diagram of a document processing apparatus according to an embodiment of the present invention. 1 is a CRT unit used in the raster scan display system, 2 is a video RAM (VRAM) that stores display pattern information for one screen, and 3 is a VRAM.
This is a display control unit that controls writing of pattern information to CRT1 and reading of pattern information to CRTl. 4 is a microprocessor (MPU) which is the main control of this device. Reference numeral 5 denotes a main memory having an area for storing control programs and document data as shown in the flowchart described later. Connected to the MPU 4 are a keyboard 8 for inputting character data, etc., and a pointing device (hereinafter referred to as P and D) 9 for specifying a position on the CRT and inputting and editing data such as graphics. Reference numeral 6 denotes a hard disk device in which document files, programs and character fonts as shown in the flowcharts described below are stored. IO is a printer for outputting created documents, and has a double-sided printing machine and the like. 11 is an image scanner for reading image data such as images, and 12 is a floppy disk device for storing document files and the like. Each of these constituent blocks is connected by an I10 bus 7.

[文書編集画面] 以上のような構成からなる文書編集装置は組版ルールに
基づく字づめ、文字の配列及びその印刷形式をCRTl
上に表示し、キーボード8、P、D9を用いて即応性の
ある文書編集方法を画面上の任意の領域、又はその領域
内に枠空けされた領域についても行うことができる。第
3−1図は文書編集画面の例で、20はP、Dによって
操作されるカーソル、21は印刷形式を画面上に表示し
た用紙ウィンドウである。用紙には第3−2図に示すよ
うに、文字50、図形51、イメージ52、フオーム5
3のデータを入力することができる。それぞれには優先
順位が決められており、フオーム、イメージ、図形、文
字の順に重ね合わせて表示される。なお、後述の表組は
上記文字と同等と考えるものとする。又、第3−1図の
22はユーザメニューで文字入力用かな漢字ウィンドウ
、機能選択用ファンクションキーが表示される。23は
ステータスラインでキーボードの入力モードやオペレー
タに対するメツセージなどが表示される。24は用紙上
に枠空けされた領域(以下枠と呼ぶ)で、枠内には文字
(小組)又は表組及び図形イメージのデータが入力でき
、用紙同様、各々の優先順位に従い重ね合せて表示され
る。
[Document editing screen] The document editing device configured as described above uses CRTl to edit the lettering, character arrangement, and print format based on typesetting rules.
Using the keyboard 8, P, and D9, quick document editing can be performed on any area on the screen, or even on a frame area within that area. FIG. 3-1 shows an example of a document editing screen, where 20 is a cursor operated by P and D, and 21 is a paper window displaying a print format on the screen. As shown in Figure 3-2, the paper contains characters 50, figures 51, images 52, and forms 5.
3 data can be input. Each item is prioritized and displayed in the following order: form, image, shape, and text. Note that the tables described below are considered to be equivalent to the above characters. Reference numeral 22 in FIG. 3-1 is a user menu in which a kana-kanji window for character input and function keys for function selection are displayed. A status line 23 displays the keyboard input mode, messages to the operator, and the like. Reference numeral 24 denotes a frame-open area on the paper (hereinafter referred to as a frame). Within the frame, text (small set), table layout, and graphic image data can be input, and as with the paper, they are superimposed and displayed according to their priority order. be done.

[ワープロ編集コ 次に各編集機能について説明する。ワープロ編集は、用
紙又は枠内の文字の入力、編集を行うことができる。文
字の入力はローマ字かな変換、かな漢字変換等の機能を
用いて行われる。各用紙には書式が割当てられていて、
用紙サイズ、用紙中の文書等の入力編集する領域である
版面の位置、段組の数、膜中の行数、本文の文字サイズ
、書体(明朝、ゴシック等)、ノン−プル(ページ番号
)、柱(欄外の見出し)等が定義されている。文字はこ
の書式に従って組まれて表示又は印刷される。又編集機
能により部分的な文字サイズ、書体の変更、アンダーラ
イン、圏点、ルビ、上付、下付文字等の文字修飾、セン
タリング、右寄せ、左寄せ、均等割付等の行そろえ等も
行う。さらに、文字列を検索して、他の文字列に置換す
る検索置換0機能も持つ。又、文字の移動、入力、削除
に供い、文字に追従して動く、浮動枠の枠空け、サイズ
等の変更、消去等を行う浮動枠編集の機能を持つ。
[Word Processor Editing] Next, each editing function will be explained. Word processor editing allows you to input and edit characters on paper or in frames. Character input is performed using functions such as romaji-kana conversion and kana-kanji conversion. Each paper has a format assigned to it.
Paper size, the position of the hanmen (the area for inputting and editing documents, etc. on the paper), the number of columns, the number of lines in the film, the text size, the font (Mincho, Gothic, etc.), non-pull (page number) ), columns (margin headings), etc. are defined. Characters are organized and displayed or printed according to this format. Editing functions also allow partial character size and font changes, character decorations such as underlining, accent marks, ruby, superscripts, and subscripts, and line alignment such as centering, right alignment, left alignment, and equal allocation. It also has a search and replace function that searches for a string and replaces it with another string. It also has a floating frame editing function that allows you to move, input, or delete characters, move to follow the characters, empty the floating frame, change the size, delete it, etc.

[図形編集] 次に図形編集は、直線、円、矩形、だ円等の図形の入力
及び面積、線種の変更、図形の移動、複写、消去、変形
、回転、拡大、縮小等の編集機能、複数のレイアの層か
ら構成され、各レイア単独の表示、編集ができ、複数レ
イアを重ねて表示することができる多重レイア構造など
の機能を持つ。
[Shape editing] Next, shape editing includes editing functions such as inputting shapes such as straight lines, circles, rectangles, and ellipses, changing area and line type, moving, copying, erasing, transforming, rotating, enlarging, and reducing shapes. , is composed of multiple layers, and has functions such as a multilayer structure that allows each layer to be displayed and edited individually, and multiple layers to be displayed overlapping each other.

[イメージ編集] イメージ編集はイメージスキャナからの・画像の入力、
イメージデータの回転、反転、移動、複写、消去並びに
1ドツト単位で編集を行う、ドツト単位編集、イメージ
データを部分的に切り出すトリミングの機能を有する。
[Image editing] Image editing involves inputting images from an image scanner,
It has functions for rotating, reversing, moving, copying, and erasing image data, as well as editing in dot units, and trimming to partially cut out image data.

[固定枠編集コ 次に固定枠編集は浮動枠とは異なり、用紙上の固定位置
に枠空けされ、文字の移動に依存しない枠の枠空け、サ
イズ変更、移動、消去等の機能を持つ。
[Fixed frame editing] Next, unlike floating frames, fixed frame editing is a frame that is opened at a fixed position on the paper, and has functions such as opening, resizing, moving, and erasing frames that do not depend on the movement of characters.

[表組処理コ 次に本発明の中心である表組処理について説明する。表
組は小組の入っていない枠に対して編集を行うことがで
きる。機能は罫線を引いたり、移動、削除を行う罫線編
集と、文字全入力したり、アンダーライン、ルビなどの
修飾を行う文字編集とに大きく2つに分けられる。罫線
編集は罫線を引いて表を作り、セルを呼ばれる罫線で囲
まれた矩形の領域を作成することが目的である。文字は
このセルの中に入力することができる。文字編集は、罫
線編集で作られたセルの中に文字を入力すゝることか目
的である。これら2つの編集機能を用いることにより、
良質かつ複雑な表を早(安易に作成できる。
[Table Type Processing Next, table type processing, which is the center of the present invention, will be explained. Editing can be performed on frames that do not contain subgroups. Functions can be broadly divided into two: ruled line editing, which allows you to draw, move, and delete ruled lines, and character editing, which allows you to input all characters and make decorations such as underlining and ruby. The purpose of ruled line editing is to create a table by drawing ruled lines, and to create a rectangular area surrounded by ruled lines called a cell. Text can be entered into this cell. The purpose of text editing is to input text into cells created by border editing. By using these two editing functions,
You can quickly (and easily) create high-quality and complex tables.

[表組データテーブルレイアウト] 第4図はハードディスク中の文書データの1部である表
組データテーブルのレイアウトの一例を示す図で、制御
テーブル罫線テーブル、テキストテーブル、セル(第5
−2図の様な枠)属性テーブルから構成される。制御テ
ーブルは表組データテーブル全体を管理するためのもの
である。5tatは表組データ型式を表わす番号が格納
されている。m e a s rは内部記憶座標単位か
らCRT又はプリンタ座標単位への変換のための制御情
報が格納されている。次に斜線、横線、縦線、テキスト
、セル属性の各々のオフセット(offset)および
カウントが格納されている。オフセットは罫線テーブル
の斜線、横線、縦線及びテキストデータテーブル、セル
属性テーブルのテーブル領域の始点アドレスを示すデー
タである。又、カウントは斜線、横線、縦線及びテキス
ト、属性の各レコードの個数を示すもので、斜線レコー
ドはn1個横線レコードはn2個、縦線レコードはn3
個、テキストレコードはn4個、セル属性レコードはn
5個である。これらのoffsetとcountにより
罫線テーブル、テキストテーブル、属性テーブルの領域
を把握することができる。
[Table data table layout] Figure 4 is a diagram showing an example of the layout of a table data table, which is part of the document data on the hard disk.
-Frame as shown in Figure 2) Consists of an attribute table. The control table is for managing the entire table data table. 5tat stores a number representing the tabular data type. measr stores control information for conversion from internal storage coordinate units to CRT or printer coordinate units. Next, offsets and counts of diagonal lines, horizontal lines, vertical lines, text, and cell attributes are stored. The offset is data indicating the starting point address of the diagonal line, horizontal line, vertical line of the ruled line table, the text data table, and the table area of the cell attribute table. Also, the count indicates the number of records for diagonal lines, horizontal lines, vertical lines, text, and attributes, with n1 records for diagonal lines, n2 records for horizontal lines, and n3 records for vertical lines.
, n4 text records, n cell attribute records
There are 5 pieces. These offsets and counts allow the areas of the ruled line table, text table, and attribute table to be grasped.

[第4図罫線テーブル] 罫線テーブルは斜線、横線、縦線各々の情報の集まりで
ある。PO3(x、y)は、各線の開始位置が格納され
ている。1ine  5tyleは例えば実線、−点鎖
線のような各線の線種を表わす情報が格納されている。
[Figure 4 Ruled Line Table] The ruled line table is a collection of information on diagonal lines, horizontal lines, and vertical lines. PO3(x,y) stores the starting position of each line. 1ine 5style stores information representing the line type of each line, such as a solid line or a dashed-dotted line.

1ine  widthは各線の太さの情報が格納され
ている。flagは各罫線のロック情報が格納されてい
る。roandは、横線と縦線の交点の角丸めの情報が
格納されている。横線レコード、縦線レコードのlen
gthは各線の長さの情報が格納されティる。斜線のw
−1ength、 h−1engthはそれぞれ横方向
、縦方向の長さの情報が格納されている。横線レコード
のテキストoffsetは、その横線が構成するセルに
対応するテキストデータがテキストテーブルのどの位置
に格納されているかを示すオフセットが格納されている
。テキストを持たない場合は−1の値が格納されている
。罫線テーブルの各レコードは、PO3(x、y)の示
す開始位置情報により、斜線、横線はX座標値昇順、縦
線はy座標値昇順に整列されている。なお、この罫線は
セルを構成する素片といっても良い。
1ine width stores information about the thickness of each line. Flag stores lock information for each ruled line. "roand" stores information about corner rounding at the intersection of a horizontal line and a vertical line. len of horizontal line record, vertical line record
gth stores information about the length of each line. diagonal w
-1ength and h-1ength store length information in the horizontal direction and vertical direction, respectively. The text offset of the horizontal line record stores an offset indicating at which position in the text table the text data corresponding to the cell that the horizontal line constitutes is stored. If there is no text, a value of -1 is stored. Each record of the ruled line table is arranged in diagonal lines and horizontal lines in ascending order of X coordinate values, and vertical lines in ascending order of y coordinate values, based on the start position information indicated by PO3 (x, y). Note that this ruled line may be called an elemental piece that constitutes a cell.

[第4図テキストテーブル] テキストテーブルは可変長さテキストレコードから構成
される。属性offsetは、そのテキストの属性、例
えば組み方向(縦組/横組)、文字の大きさ、左、右、
センタリングなどの文字揃え、行間、字間等がセル属性
テーブルのどこに格納されているかを示すオフセットで
ある。text  countにはテキストデータの文
字数が格納されている。テキストデータは文字コードの
配列でtext  count個の2バイトコードから
成る。flagはセルの表示状態などのフラグがセット
される。テキストレコードは文字又は属性を持ったセル
に1つずつ存在し、このテキストレコードに対する属性
レコードも必ず1つ存在する。但し、属性がまったく同
じテキストには同じ属性が割り当てられる。
[Figure 4 Text Table] The text table is composed of variable length text records. The attribute offset is the attribute of the text, such as writing direction (vertical writing/horizontal writing), font size, left, right,
This is an offset indicating where in the cell attribute table, character alignment such as centering, line spacing, character spacing, etc. are stored. The text count stores the number of characters of text data. The text data is an array of character codes and consists of text count 2-byte codes. A flag indicating the display state of the cell is set in flag. One text record exists for each cell having characters or attributes, and there is always one attribute record for this text record. However, the same attributes are assigned to texts that have exactly the same attributes.

[第4図セル属性テーブル] セル属性テーブルは可変長のセル属性レコードから構成
される。attrsizは1つのセル属性のサイズでバ
イト数が格納される。flgは使用されているか未使用
かのフラグが格納されている。m e s hはセルの
中塗りパターン番号が格納されている。
[FIG. 4 Cell Attribute Table] The cell attribute table is composed of variable length cell attribute records. attrsiz is the size of one cell attribute and stores the number of bytes. flg stores a flag indicating whether it is used or not. m e s h stores the middle paint pattern number of the cell.

k u m −fは縦組か横組かのフラグ、字間9文字
ピッチどちらの指定か、行間2行ピッチどちらの指定か
のフラグが格納されている。aldpは、上。
K um -f stores flags indicating vertical or horizontal writing, a designation of 9-character pitch between characters, and a flag of designation of 2-line pitch. aldp is above.

下、左、右の文字揃え、回転表示の回転角度、表示方式
(白抜き、重ね書きなど)の情報が格納されている。f
ontは文字書体(明朝、ゴシックなど)の情報が格納
されている。psは文字の大きさが格納される。1ns
p、chspはk u m −fに従って、行ピッチ又
は行間、文字ピッチ又は字間の値が格納される。l r
 m g n 、 u d m g nは左右、上下の
マージンの値が格納される。
Information on bottom, left, and right character alignment, rotation angle for rotated display, and display method (outline, overwriting, etc.) is stored. f
Ont stores information about character fonts (Mincho, Gothic, etc.). ps stores the character size. 1ns
For p and chsp, values of line pitch or line spacing, character pitch or character spacing are stored according to k um -f. l r
m g n and u d m g n store the values of left and right and top and bottom margins.

オペレータは後述する分割罫引や連続罫引を用いて、後
述する様に第1O図のように図形的に罫引を行うことが
できるが、内部的には縦横の罫線は、第5−1図に示す
ように交点において分割されて記憶される。この様に記
憶しているので、表を描くときには図形的に行い、各セ
ルに対して編集(1つのセルの左辺のみを消去する等)
する時は、各素片について行うことが可能となる。又、
各セルのテキストデータは各セルを構成する罫線のうち
左上端の横罫線(第5−2図の太線で示した罫線)が保
持している(第5−2図)。
The operator can draw the lines graphically as shown in Figure 1O as described later by using divided rules and continuous rules, which will be described later.However, internally, the vertical and horizontal rules are As shown in the figure, the data is divided at the intersection and stored. Since it is memorized like this, when drawing a table, do it graphically and edit each cell (delete only the left side of one cell, etc.)
When doing so, it becomes possible to do so for each elemental piece. or,
The text data of each cell is held by the upper left horizontal ruled line (the ruled line indicated by the thick line in FIG. 5-2) among the ruled lines constituting each cell (FIG. 5-2).

[分割罫引コ 第6図から第8図を用いて、複数の平行な罫線を等間隔
に引(方法について説明する。第6図はその制御フロー
チャートである。まずキーボード又はP、Dにより分割
罫引を指示すると第7図40の分割数入力ウィンドウが
表示される。第6図の5teplにおいてキーボードよ
り、平行で等間隔な罫線(分割罫線)の本数(分割数)
を入力する。第7図では分割数を10と入力したところ
を示している。5tep2で分割罫線の基準となる基準
線第7図41を決定する。これは、すでに引かれている
罫線上にP、Dによりカーソル20を動かし、P、Dの
ボタンを1度押す(以下1クリツク)か、又は罫線を罫
引する(罫線の始点でP、Dのボタンを押し、押したま
まカーソルを終点へ移動し、ボタンを放す)ことによっ
て基準線は決定される。次に5tep3において任意の
位置にカーソルを動かし、P、Dのボタンを押すと、基
準線とカーソルの位置との距離(基準線が横罫線ならy
座標の差分、縦罫線ならX座標の差分)を求めこの距離
を分割数で割ることにより、分割罫線間距離(第S−を
図(a) Ll)を求める。なお、第8−1図では横罫
線である。次に分割罫線が全てグリッド100に整列す
るように5tep4で5tep3で求めた距離をグリッ
ド間隔の整数倍に近似する。
[Divide ruled lines] Using Figures 6 to 8, draw multiple parallel ruled lines at equal intervals. (The method will be explained. Figure 6 is a control flowchart. When you instruct to draw rules, the division number input window shown in Figure 7-40 is displayed.At 5 tepl in Figure 6, enter the number of parallel and evenly spaced ruled lines (divided ruled lines) (number of divisions) from the keyboard.
Enter. FIG. 7 shows that the number of divisions has been input as 10. In step 52, a reference line 41 in FIG. 7, which serves as a reference for dividing ruled lines, is determined. To do this, move the cursor 20 using P and D on the ruled line that has already been drawn, and press the P and D buttons once (hereinafter referred to as 1 click), or draw the ruled line (P and D at the starting point of the ruled line). The reference line is determined by pressing the button, moving the cursor to the end point while holding it down, and releasing the button. Next, in step 3, move the cursor to any position and press the P and D buttons to determine the distance between the reference line and the cursor position (y
By finding the difference in coordinates (or the difference in the X coordinate in the case of vertical ruled lines) and dividing this distance by the number of divisions, the distance between the divided ruled lines (Ll in Figure (a) for the S-th line) is determined. In addition, in FIG. 8-1, it is a horizontal ruled line. Next, in step 5, the distance obtained in step 5 is approximated to an integral multiple of the grid interval so that all the divided ruled lines are aligned with the grid 100.

近似は、 によって行われる。割り算は小数点以下切り捨てで行わ
れるために求める値はグリッド間隔の整数倍として求め
られる(第8−1図(b) L2)。次に第6図の5t
ep5において5tep4で求められた分割罫線間隔で
分割数の数だけの分割罫線を表示する(第8−2図42
)。以上第6図5tep3以降をP、Dのボタンが放さ
れるまで繰り返す。オペレータは罫線間隔が適当になる
までP、Dのボタンを押しながらカーソルを移動する。
The approximation is done by. Since the division is performed by rounding down to the nearest whole number, the value obtained is obtained as an integral multiple of the grid interval (L2 in Fig. 8-1(b)). Next, 5t in Figure 6
In ep5, display as many divided ruled lines as the number of divisions at the divided ruled line interval determined in 5tep4 (Fig. 8-2 42
). The above steps from step 3 in FIG. 6 are repeated until the P and D buttons are released. The operator moves the cursor while pressing the P and D buttons until the ruled line spacing is appropriate.

これに応じて等間隔の複数の罫線が、リアルタイムに表
示される。
Accordingly, a plurality of equally spaced ruled lines are displayed in real time.

P、Dのボタンを放すことにより罫線間隔が決定されて
、分割罫線のレコードが登録される。
By releasing the P and D buttons, the ruled line interval is determined and a record of divided ruled lines is registered.

[連続罫引コ 次、任意な位置に平行な罫線を連続して罫引する手段に
ついて説明する。キーボード又はP、Dにより連続罫引
を指示することにより開始される。連続罫引の制御フロ
ーチャートを第9−1図に示す。
[Continuous Rule Drawing] Next, a method for continuously drawing parallel ruled lines at arbitrary positions will be explained. It is started by instructing continuous ruling using the keyboard or P or D. A control flowchart for continuous ruling is shown in FIG. 9-1.

まず5teplにおいて基準線を決定する。これはP、
Dにより既に引かれている罫線上にカーソルを移動し、
1クリツクするか、罫線を罫引することによって決定さ
れる(第9−2図41)。次に5tep2において基準
線と平行な罫線を引きたい位置にカーソル20を移動し
、1クリツクする。!:5tep4〜7にて基準線が縦
罫線なら基準線めX座標を、横罫線ならy座標をクリッ
ク位置に最も近いグリッドの座標に置き変えたレコード
を登録する(第10図)。以上5tep2以降、lクリ
ックを繰り返すことにより、連続して平行線を引くこと
ができる。
First, a reference line is determined at 5 tepl. This is P,
Move the cursor onto the ruled line already drawn by D,
It is determined by one click or by drawing a ruled line (FIG. 9-2 41). Next, in step 2, move the cursor 20 to the position where you want to draw a ruled line parallel to the reference line and click once. ! :5In steps 4 to 7, if the reference line is a vertical ruled line, register the record in which the X coordinate of the reference line is replaced with the coordinate of the grid closest to the click position if the reference line is a horizontal ruled line, and the y coordinate is replaced with the coordinate of the grid closest to the click position (FIG. 10). From step 2 onwards, parallel lines can be drawn continuously by repeating l-clicks.

[罫線消去] 罫線消去によるテキストデータの移動について説明する
[Delete ruled lines] Moving text data by deleting ruled lines will be explained.

まず、第11図(a)は横罫線の消去に関する制御フロ
ーチャートである。5teplにおいて消去される横罫
線がテキストを持っているかをチェッーク(第4図横線
レコードのテキストoffsetが−1でないかどうか
)し持っていなければ(−1ならば)横罫線レコードを
消去する(step5)。もしテキストヲ持っていれば
、5tep2でその横罫線の上はセルかどうかをチエツ
クし、セルでなければ5tep4にてテキストデータを
消去し、5tep5で罫線データを消去する(第12−
1図(b)のH3の消去のような場合)。上がセルの時
は(第12−1(a)のHlを消去のような場合)i線
の消去によりセルC1′とC2が合成されるものと扱っ
て、5tep3にてHlのテキストデータを上のセルの
テキストデータであるH2の保持するテキストデータに
合成し、第12−1図(a)の左図ような結果を得る。
First, FIG. 11(a) is a control flowchart regarding deletion of horizontal ruled lines. Check whether the horizontal ruled line to be deleted in step 5 has text (whether the text offset of the horizontal line record in Figure 4 is not -1), and if it does not have text (if it is -1), delete the horizontal ruled line record (step 5). ). If you have text, check in step 5 whether or not there is a cell above the horizontal ruled line, and if it is not a cell, erase the text data in step 4, and erase the ruled line data in step 5 (step 12-
Cases such as the erasure of H3 in Figure 1(b)). When the top is a cell (as in the case of erasing Hl in 12-1(a)), it is treated as if cells C1' and C2 are combined by erasing the i-line, and the text data of Hl is created in step 3. This is combined with the text data held in H2, which is the text data in the upper cell, to obtain a result as shown in the left diagram of FIG. 12-1(a).

なお、本発明でいうテキストの合成は第4図のセルの臓
性テーブルのaldp等によって合成先のセルの属性に
基づいて行われる。つまり第12−1図の(a)でセル
C1の属性の1つに「センタリング」があったとすると
、Hlを消去することによりできるセルの属性も「セン
タリング」となり、合成テキストの[ああいいコがセン
タリングされる。これは他のテキストの合成でも同様で
ある。
Note that text synthesis in the present invention is performed based on the attributes of the cell to be synthesized using the aldp or the like of the cell visceral table shown in FIG. In other words, in (a) of Figure 12-1, if one of the attributes of cell C1 is "centering", the attribute of the cell created by deleting Hl will also be "centering", and the composite text [Aa Ii Koko is centered. This also applies to other text compositions.

表組における文字列の再配列らまり、文字の合成につい
て第12−2図から第12−3図を用いて説明する。第
12−2図は、第4図のテキストテーブルだけを示した
図である。まず(a)のようにある合成先テキスト(第
12−1図(a)の例ではH2の保持しているテキスト
レコード)を第12−2図(b)のように抜き出し、抜
いたテキストレコード以降のテキストテーブルを(c)
のように前に詰め乞。
The rearrangement of character strings in table layout and the composition of characters will be explained using FIGS. 12-2 to 12-3. FIG. 12-2 is a diagram showing only the text table of FIG. 4. First, extract the synthesis target text as shown in (a) (in the example of Figure 12-1 (a), the text record held by H2) as shown in Figure 12-2 (b), and extract the extracted text record. The following text table (c)
Like, stuffed before.

この時、この詰められたテキストレコードを保持する横
罫線のテキスト0ffsetは、ずれるので横罫線テー
ブルのレコードのテキストoffsetを順に調べ、合
成先テキストのオフセットよら大きいテキスト0ffs
etを持つ罫線レコードのテキストoffsetから合
成先テキストのサンズを減することにより、全ての横罫
線のテキストoffsetは補正される。次に抜き出し
ておいた合成先テキストをテキストテーブルの最後尾に
挿入し、合成光横罫線レコードのテキストoffset
に挿入された位置を格納する。次に合成先テキストも同
様に、゛合成先テキストの後に移動しくe)のような状
態にする。
At this time, the text 0ffset of the horizontal ruled line that holds this packed text record is shifted, so check the text offset of the record in the horizontal ruled line table in order, and check the text 0ffs that is larger than the offset of the destination text.
The text offsets of all horizontal ruled lines are corrected by subtracting the sans of the synthesis destination text from the text offset of the ruled line record with et. Next, insert the extracted destination text at the end of the text table, and set the text offset of the composite light horizontal ruled line record.
Stores the inserted position. Next, the destination text is similarly set to the state shown in e), ``Move after the destination text.''

第12−3図(a)がテキストテーブルの最後尾に移動
された合成元、合成元それぞれのテキストレコードであ
る。次に合成元テキストレコードのヘッダ部(第12−
3図(a)の11O)を取り、それ以降を前に詰め、第
12−3図(b)のようにし、合成元テキストレコード
のtext  countに合成元テキストレコードの
text  countを加える。
FIG. 12-3 (a) shows the text records of the compositing source and the compositing source that have been moved to the end of the text table. Next, the header part (12th-
11O) in Figure 3(a) is taken and the subsequent parts are moved forward to make it as shown in Figure 12-3(b), and the text count of the composition source text record is added to the text count of the composition source text record.

さらに合成光横罫線レコードのテキストoffsetを
−1にすることにより合成が完了する。
Further, by setting the text offset of the composite light horizontal ruled line record to -1, the composition is completed.

次に第11図の(b)は縦罫線を消去した時の制御フロ
ーチャートである。5teplにおいて消去される縦罫
線がセルの左辺を構成する罫線かどうかを調べる。もし
そうでなければ、5tep4にて罫線レコードを消去し
て終る。もし左辺を構成する罫線ならば(例えば第12
−1図の(b)のVl)そのセル(第12−1図(b)
のC3)の左上端横罫線H3がテキストを持っているか
をチエツクする(step2)。
Next, FIG. 11(b) is a control flowchart when vertical ruled lines are erased. It is checked whether the vertical ruled line to be erased at 5 tepl is a ruled line forming the left side of the cell. If not, the ruled line record is deleted in step 5 and the process ends. If it is a ruled line that forms the left side (for example, the 12th
Vl in Figure 1 (b)) The cell (Figure 12-1 (b)
Check whether the horizontal ruled line H3 at the upper left corner of C3) has text (step 2).

持っていかなければ5tep4へ、もし持っていれば、
その縦罫線の左側がセルかどうかをチエツクする(st
ep3)。もしセルでなければ5tep4へ、セルなら
ば(例えば第12−1図(C)のv3を消去する場合)
step4にて右側のセルのテキストへ合成(H5のテ
キストをH4のテキストへ合成)する。
If you don't have it, go to 5tep4, if you have it,
Check whether the left side of the vertical ruled line is a cell (st
ep3). If it is not a cell, go to 5tep4, if it is a cell (for example, when deleting v3 in Figure 12-1 (C))
In step 4, the text of the cell on the right is synthesized (the text of H5 is synthesized with the text of H4).

[罫線移動] (横罫線移動) 横罫線の移動について説明する。第13図はその制御フ
ローチャートである。まず5tepiにおいて移動され
る罫線がテキストデータを持っているかどうか(第4図
横罫線レコードのテキストoffsetが−1でないか
どうか)をチエツクし、持っていなければ(−1ならば
)、そのまま移動する。もしテキストを持っていれば5
tep2においてその横罫線の上はセルかどうかをチエ
ツクする。セルでなければテキストデータも罫線と一緒
に移動する(第14図(C)のH9をH9’ の位置に
移動。H9’  はテキストを持っていたが、セルでな
くなったのでテキストは表示されない第14図(C)右
図)。もし上がセルであれば5tep3においてその罫
線を移動した結果がセルを構成するかどうかをチエツク
する。もし移動先もセルだったら(第14図(b)のH
8をH8’ へ移動した時移動先はセル9′である)テ
キストデータは罫線と一緒に移動する。もし移動先がセ
ルでなかったら(第14図(a))[6をH6’ へ移
動)、5tep4でその罫線のテキストデータは上のセ
ルのテキストデータへ合成される(H6のテキストをH
7へ合成)。なお、この合成については第12−2図、
第12−3図における説明と同様である。
[Movement of ruled lines] (Movement of horizontal ruled lines) The movement of horizontal ruled lines will be explained. FIG. 13 is a control flowchart. First, check whether the ruled line to be moved in 5tepi has text data (whether the text offset of the horizontal ruled line record in Figure 4 is not -1), and if it does not have it (if it is -1), move it as is. . 5 if you have text
In step 2, it is checked whether there is a cell above the horizontal ruled line. If it is not a cell, the text data will also move along with the ruled line (move H9 in Figure 14 (C) to the position of H9'. H9' had text, but since it is no longer a cell, the text will not be displayed. Figure 14 (C) right figure). If the top is a cell, it is checked in step 5 whether the result of moving the ruled line constitutes a cell. If the destination is also a cell (H in Figure 14(b)
8 to H8', the destination is cell 9') The text data moves together with the ruled line. If the movement destination is not a cell (Figure 14(a)) [move 6 to H6'), the text data of that border is combined with the text data of the cell above in step 4 (the text of H6 is moved to H6').
7). This synthesis is shown in Figure 12-2,
This is the same as the explanation in FIG. 12-3.

(縦罫線移動) 次に縦罫線の移動について説明する。第15図はその制
御フローチャートである。まず5teplにおいて移動
罫線は、セルの左辺を構成するかをチエツクする。もし
Noならば5tep7にて罫線を移動して終る。Yes
なら5tep2において、そのセルの左上端横罫線(第
16図(C)のv5を移動しようとした時のH15)は
テキストを持っているかをチエツクする。もしNoなら
ば5tep7へ、もし持っていれば5tep3にてその
移動罫線の左側はセルかどうかをチエツクする。セルで
なければ5tep7へ(第16図(c)(7)V5をV
5’i、:移動、H15(Dテキストはセルでなくなる
ため表示されなくなる。)、セルであれば5tep4に
進み、移動先がセルかどうか判定する。セルであれば5
teplに進み、移動元のセルの左上端横罫線のテキス
トを移動先のセルの左上端横罫線に合成する(第16図
(b)のH13のテキストをH13′ のテキストに合
成)。もしセルでなければ(第16図(a)のv3をV
3’ へ移動)移動元のセルの左上端横罫線(Hll)
のテキストを移動罫線の左側のセル(C6)の左上端横
罫線(HIO)のテキストに合成する(HIO’  の
罫線のテキストとする)。
(Movement of vertical ruled lines) Next, movement of vertical ruled lines will be explained. FIG. 15 is a control flowchart. First, at 5 tepl, it is checked whether the moving ruled line constitutes the left side of the cell. If No, the ruled lines are moved in step 5 and the process ends. Yes
Then, in step 2, it is checked whether the upper left horizontal ruled line of the cell (H15 when trying to move v5 in FIG. 16(C)) has text. If No, go to step 5, and if it is, go to step 3 to check whether the left side of the moving ruled line is a cell. If it is not a cell, go to 5 step 7 (Figure 16 (c) (7) V5 to V
5'i, :Move, H15 (The D text is no longer a cell, so it is no longer displayed.) If it is a cell, proceed to 5step 4 and determine whether the movement destination is a cell. 5 for cell
tepl, the text on the upper left horizontal ruled line of the source cell is synthesized with the upper left horizontal ruled line of the destination cell (the text of H13 in FIG. 16(b) is synthesized with the text of H13'). If it is not a cell (v3 in Fig. 16(a) is
3') Upper left horizontal ruled line (Hll) of the source cell
The text of is combined with the text of the upper left horizontal ruled line (HIO) of the cell (C6) on the left side of the moving ruled line (as the text of the ruled line of HIO').

[セル消去] 次に消去したいセルに隣接するセルを壊すことなくセル
単位で罫線を消去する方法について説明する。まず、キ
ーボード又はP、Dによりセル消去を指示する。次に消
去したいセルが1つならばP、Dによりそのセルを1ク
リツク(第17図(a))する。複数ならば第17図(
b)に示すようにP、Dのボタンを押し、押したままカ
ーソルを移動して範囲を指定し、ボタンを開放する。こ
の場合P、Dのボタンを押し下げた位置と、開放した位
置の2点よりできる矩形(第17図点線で示す)に接す
るすべてのセルがセル消去の対象となり、反転表示され
る。消去したいセルが指示されたら、まず、第4図の罫
線テーブル中の横罫線レコードを順に第18図に示す制
御フローチャートのように処理する。まず、5tepl
において、罫線の下はセルかどうかを調べる。言い換え
れば、この罫線はセルの上辺を構成するかどうかを調べ
る。もしセルならば5tep2においてそのセルが反転
されているか(セル消去の対象か)どうかを調べる。反
転されていれば5tep3においてその罫線の上がセル
かどうか(セルの下辺を構成するかどうか)を調べる。
[Cell Erase] Next, a method for erasing ruled lines in units of cells without destroying cells adjacent to the cell to be erased will be explained. First, cell deletion is instructed using the keyboard or P and D. Next, if there is one cell to be erased, click that cell one time using P and D (FIG. 17(a)). If there are multiple figures, see Figure 17 (
b) Press the P and D buttons, move the cursor while holding them down to specify the range, and release the buttons. In this case, all cells touching the rectangle (indicated by the dotted line in FIG. 17) formed by the two points of the pressed and released positions of the P and D buttons are targeted for cell deletion and are displayed in reverse video. When a cell to be deleted is specified, first, the horizontal ruled line records in the ruled line table of FIG. 4 are sequentially processed as shown in the control flowchart of FIG. 18. First, 5tepl
, check whether there is a cell below the border. In other words, check whether this ruled line constitutes the top edge of the cell. If it is a cell, it is checked in 5tep2 whether the cell has been inverted (targeted for cell erasure). If it is reversed, in step 3 it is checked whether the area above the ruled line is a cell (whether it forms the bottom side of the cell).

もしセルならば5tep4においてそのセルは反転され
ているかどうかを調べる。もし反転されていれば5te
p5においてその罫線のテキストoffsetの示すと
ころのテキストレコードを消去し、その罫線レコードを
消去する。又、5tep4において上のセルが反転され
ていなければ、5tep8にて次の罫線があれば5te
plから繰り返す。次の罫線がなければ終了する。又、
5tep3においてセルでなければ5tepsにおいて
テキストレコードと罫線レコードが消去される。又、5
teplにおいて罫線の下がセルでなかったり、5te
p2において下のセルが反転されていない場合は、5t
ep6にて罫線の上がセルかどうかを調べる。もし、セ
ルでなければ5tep8にて、次の罫線へ処理が移る。
If it is a cell, it is checked in step 5 whether the cell is inverted. If it is reversed then 5te
At p5, the text record indicated by the text offset of the ruled line is deleted, and the ruled line record is deleted. Also, if the upper cell is not inverted in 5tep4, if there is the next ruled line in 5tep8, 5te
Repeat from pl. The process ends if there is no next ruled line. or,
If it is not a cell in step 3, the text record and ruled line record are deleted in step 5. Also, 5
In tepl, there is no cell below the border, or 5te
If the cell below is not inverted in p2, 5t
In ep6, check whether the cell is above the ruled line. If it is not a cell, the process moves to the next ruled line in step 5.

又、もし罫線の上がセルならば、5tep7において、
上のセルが反転されているかを調べる。反転されていれ
ば罫線とテキストレコードを消去し、反転されていなけ
れば次の罫線へ処理が移る。
Also, if above the ruled line is a cell, in 5step7,
Check to see if the cell above is flipped. If it is highlighted, the ruled line and text record will be deleted; if not, the process will move on to the next ruled line.

次に縦罫線、に対しても同様の処理を行う。ただし縦罫
線の場合は、5tepl、 5tep2において罫線の
下を調べる所を右(llqを調べ、5tepa、 4.
6.7において罫線の上を調べる所を左側を調べること
により同様の処理を行うことができる。又、縦罫線はテ
キストを持たないので5tep5においてテキストレコ
ードの消去は行われない。
Next, the same process is performed for vertical ruled lines. However, in the case of vertical ruled lines, check the bottom of the ruled line in 5 tepl, 5 step 2 to the right (check llq, 5 tepa, 4.
Similar processing can be performed by checking the left side of the line in 6.7. Also, since the vertical ruled line does not have text, the text record is not deleted in step 5.

以上を全ての横罫線、縦罫線に対して行うことにより、
反転されているセル間の境界にある罫線と隣接するセル
のないセルの辺を構成する罫線全てを消去することがで
き、消去されるセルに隣接するセルを損なうことな(、
セルを消去することができる。
By doing the above for all horizontal and vertical ruled lines,
You can erase all the ruled lines on the boundaries between cells that are being inverted and the edges of cells with no adjacent cells, without damaging the cells adjacent to the erased cells (,
Cells can be erased.

以上説明したように本発明により以下のような効果があ
る。
As explained above, the present invention has the following effects.

複数の平行で等間隔な罫線を引く手段と任意な位置に平
行な罫線を連続して引く手段を具備することにより、オ
ペレータの思い通りに、少ない操作で素早(作表するこ
とを実現した。
By providing a means for drawing a plurality of parallel, evenly spaced ruled lines, and a means for continuously drawing parallel ruled lines at arbitrary positions, it was possible to quickly (tabulate) as desired by the operator with fewer operations.

罫線の消去、移動時に、文字を入力する領域であるセル
の左下左右の関係を考慮して文字の合成光を決定するこ
とにより、どの罫線にも属さない不要な文字データが生
じるのを防ぎ、文書ファイル領域の節約になった。
When erasing or moving ruled lines, the composite light for characters is determined by considering the relationship between the left and right bottom left of the cell, which is the area where characters are input, to prevent the generation of unnecessary character data that does not belong to any ruled line. This saves document file space.

〔効 果〕〔effect〕

以上詳述した様に、本発明により指定された寸法情報(
例えばグリッド)に応じて等間隔の罫線を引くことがで
きる文書処理装置を提供することが可能となった。
As detailed above, the dimensional information (
For example, it has become possible to provide a document processing device that can draw equally spaced ruled lines according to a grid.

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

第1図は本発明適用の装置のシステムブロック図、第3
−2図は文字1図形、イメージ、フオームのデータの説
明図、 第4図は表組データテーブルの説明図、第5−1図は罫
線の交点の様子を示す図、第5−2図はセル中のテキス
トデータの保持の仕方の説明図、 第6図は分割罫引の制御フローチャート、第8−2図は
分割罫引を行った結果の表示例を示す図、 第9−1図は連続罫引の制御フローチャート第9−2図
は連続罫引を行う場合の表示画面の説明図、 第10図は連続罫引を行う過程の説明図、第11図は罫
線消去の制御フローチャート、第12−1図は罫線消去
の表示例を示す図、第12−2図は表組における文字の
再配列の説明図、 第12−3図はテキストテーブルの説明図、第13図は
罫線移動の制御フローチャート、第14図は横罫線の移
動の説明図、 第15図は縦罫線移動の制御フローチャート、第16図
は縦罫線移動の説明図、 第17図はセル消去の説明図、 第18図はセル消去の制御フローチャート。 4・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・MPU3 ・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・表示制御部5 
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・主メモリ第 27 E1→口 第6図 第8 ン\−IJ j、、、、、、、、、、、、、ニー、、、、、、、、、
、、4.、、!91.13.・lθ *      e     s     aへりp口 (b) ど\−t2 (C) 第72−2図 ((1)              (b)詐痕狗動 こb) CC)
Figure 1 is a system block diagram of the device to which the present invention is applied;
Figure-2 is an explanatory diagram of character 1 figure, image, and form data, Figure 4 is an explanatory diagram of a tabular data table, Figure 5-1 is a diagram showing the intersection of ruled lines, and Figure 5-2 is an explanatory diagram of the data of the character 1 figure, image, and form. An explanatory diagram of how to hold text data in a cell, Figure 6 is a control flowchart for dividing lines, Figure 8-2 is a diagram showing an example of displaying the results of dividing lines, and Figure 9-1 is a diagram showing a display example of the result of dividing lines. Control flowchart for continuous ruled line drawing Figure 9-2 is an explanatory diagram of the display screen when performing continuous ruled line drawing. Figure 12-1 is a diagram showing an example of how to delete ruled lines, Figure 12-2 is an illustration of rearranging characters in table format, Figure 12-3 is an illustration of a text table, and Figure 13 is an illustration of moving ruled lines. Control flowchart, Fig. 14 is an explanatory diagram of horizontal ruled line movement, Fig. 15 is a control flowchart of vertical ruled line movement, Fig. 16 is an explanatory diagram of vertical ruled line movement, Fig. 17 is an explanatory diagram of cell deletion, Fig. 18 is a control flowchart for cell erasure. 4・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・MPU3 ・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・Display control section 5
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・Main memory No. 27 E1 → Mouth Fig. 6 Fig. 8
,,4. ,,! 91.13.・lθ * e s a edge p mouth (b) do\-t2 (C) Figure 72-2 ((1) (b) fraud dog movement b) CC)

Claims (2)

【特許請求の範囲】[Claims] (1)表示すべき罫線の数に対応したデータを入力する
入力手段、 表示画面上で位置を指示するための位置指示手段、 表示画面上に、所定の間隔のグリッドを表示可能な表示
手段、 前記入力手段によって入力される数データと前記位置指
示手段によって指示された位置に基づいて複数の罫線間
の間隔を演算する演算手段、前記演算手段からの演算結
果と前記グリッドの間隔に基づいて、前記グリッドの表
示位置に対応して、前記複数の罫線を等間隔で表示する
様、前記表示手段を制御する表示制御手段とを有したこ
とを特徴とする文書処理装置。
(1) Input means for inputting data corresponding to the number of ruled lines to be displayed; position indication means for indicating the position on the display screen; display means capable of displaying a grid at predetermined intervals on the display screen; calculation means for calculating intervals between a plurality of ruled lines based on numerical data input by the input means and positions indicated by the position indication means; based on the calculation results from the calculation means and the intervals between the grids; A document processing apparatus comprising: display control means for controlling said display means so as to display said plurality of ruled lines at equal intervals in accordance with a display position of said grid.
(2)前記罫線は、表を構成する線の1つであることを
特徴とする特許請求の範囲第1項記載の文書処理装置。
(2) The document processing device according to claim 1, wherein the ruled line is one of lines forming a table.
JP62289145A 1987-11-16 1987-11-16 Image processing method Expired - Fee Related JP2810368B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP62289145A JP2810368B2 (en) 1987-11-16 1987-11-16 Image processing method
DE3838729A DE3838729C2 (en) 1987-11-16 1988-11-15 Document processing device
US07/948,621 US5867159A (en) 1987-11-16 1992-09-22 Document processing apparatus for displaying a plurality of ruled lines at regular intervals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62289145A JP2810368B2 (en) 1987-11-16 1987-11-16 Image processing method

Publications (2)

Publication Number Publication Date
JPH01130264A true JPH01130264A (en) 1989-05-23
JP2810368B2 JP2810368B2 (en) 1998-10-15

Family

ID=17739338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62289145A Expired - Fee Related JP2810368B2 (en) 1987-11-16 1987-11-16 Image processing method

Country Status (1)

Country Link
JP (1) JP2810368B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04191965A (en) * 1990-11-27 1992-07-10 Fuji Xerox Co Ltd Table preparing processor
JP2014232493A (en) * 2013-05-30 2014-12-11 沖電気工業株式会社 Display control device, display control method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60183682A (en) * 1984-03-02 1985-09-19 Sanyo Electric Co Ltd Generating system of summary table frame in document generator
JPS62251980A (en) * 1986-04-25 1987-11-02 Hitachi Ltd Grid display system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60183682A (en) * 1984-03-02 1985-09-19 Sanyo Electric Co Ltd Generating system of summary table frame in document generator
JPS62251980A (en) * 1986-04-25 1987-11-02 Hitachi Ltd Grid display system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04191965A (en) * 1990-11-27 1992-07-10 Fuji Xerox Co Ltd Table preparing processor
JP2014232493A (en) * 2013-05-30 2014-12-11 沖電気工業株式会社 Display control device, display control method, and program

Also Published As

Publication number Publication date
JP2810368B2 (en) 1998-10-15

Similar Documents

Publication Publication Date Title
US5867159A (en) Document processing apparatus for displaying a plurality of ruled lines at regular intervals
JPH01130264A (en) Document processor
JPS59135540A (en) Printer control system for sentence processor
JP2547797B2 (en) Document processing method
JP2547798B2 (en) Document processing method
JP2547799B2 (en) Document processing method
JPH01130265A (en) Document processor
JPH0675952A (en) Document preparing device
JP2001005985A (en) Processor for allocating characters
JP2851846B2 (en) Document processing method and apparatus
JPS63165852A (en) Magazine editing system
JPS59135582A (en) Idle feed control system of printer for sentence processor
JP2862239B2 (en) Document processing device
JP2670469B2 (en) Document processing method
JP2833701B2 (en) Document processing method
JP4266392B2 (en) Document processing apparatus and method
JP2812784B2 (en) Full screen editor
JPH01130274A (en) Document processor
JPH03137764A (en) Document processor
JPH074957B2 (en) Document processing device with frame size adjustment function
JPS63208932A (en) Document processor
JPH01130254A (en) Document processor
JPH0750477B2 (en) Information processing equipment
JPS62125355A (en) Planning editing system
JPS62100075A (en) Planning editing system

Legal Events

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