JP2547798B2 - Document processing method - Google Patents

Document processing method

Info

Publication number
JP2547798B2
JP2547798B2 JP62289158A JP28915887A JP2547798B2 JP 2547798 B2 JP2547798 B2 JP 2547798B2 JP 62289158 A JP62289158 A JP 62289158A JP 28915887 A JP28915887 A JP 28915887A JP 2547798 B2 JP2547798 B2 JP 2547798B2
Authority
JP
Japan
Prior art keywords
cell
text
ruled line
line
ruled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62289158A
Other languages
Japanese (ja)
Other versions
JPH01130266A (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.)
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 JP62289158A priority Critical patent/JP2547798B2/en
Priority to DE3838729A priority patent/DE3838729C2/en
Publication of JPH01130266A publication Critical patent/JPH01130266A/en
Priority to US07/948,621 priority patent/US5867159A/en
Application granted granted Critical
Publication of JP2547798B2 publication Critical patent/JP2547798B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔技術分野〕 本発明は複数の素片情報からなるセル及びそのセル内
に表示されるテキスト情報を表示し、 所望の素片情報の1つを消去することに伴う表示を適
宜、制御することができる文書処理方法に関する。
Description: TECHNICAL FIELD The present invention involves displaying a cell including a plurality of pieces of piece information and text information displayed in the cell, and erasing one piece of desired piece information. The present invention relates to a document processing method capable of appropriately controlling display.

〔従来の技術〕[Conventional technology]

従来の文書処理装置における作表方式において、罫線
を消去することにより、文字を入力、表示する領域であ
るセル(罫線によって囲まれた矩形の領域)が、セルで
なくなった時に表示されない文字が生じていた。
In the tabulation method in the conventional document processing apparatus, by deleting the ruled line, a cell (a rectangular area surrounded by the ruled line), which is an area for inputting and displaying characters, is not displayed when the cell disappears. Was there.

これを第2図を用いて説明する。第2図(a)のC1
は、横罫線H1及びH2、縦罫線V1、V2に囲まれたセルであ
る。文字T1は、H1によって保持され、H1がセルの上辺を
構成するので表示されている。例えば縦罫線のV1を消去
した場合C1はセルでなくなり文字を表示する領域がなく
なるため、文字T1は第2図(b)のように表示されなく
なる。しかしH1′は文字T1を保持したままである。
This will be described with reference to FIG. C1 in Figure 2 (a)
Is a cell surrounded by horizontal ruled lines H1 and H2 and vertical ruled lines V1 and V2. The letter T1 is held by H1 and is displayed because H1 constitutes the top side of the cell. For example, when V1 of the vertical ruled line is erased, C1 is no longer a cell and there is no area for displaying characters, so the character T1 is not displayed as shown in FIG. 2 (b). However, H1 'still retains the letter T1.

しかしながら、上記方式によればオペレータにとって
目に見えない、つまり使用されないデータが生じるとい
う欠点があった。又、これによって、文字データが消去
されてしまうのは、言うまでもなく問題である。
However, the above method has a drawback that some data is invisible to the operator, that is, not used. Needless to say, this deletes the character data.

〔目 的〕〔Purpose〕

本発明の目的は上述の点に鑑み、本発明の目的は、複
数の素片情報からなるセルの複数及び各セルに対応した
書式情報に基づいて各セル内にテキスト情報を表示し、 所望の1つの素片情報の消去を指示された場合、その
1つの素片情報が消去されることに伴い、元の複数のセ
ルから1つの新たなセルが構成されると判定されるなら
ば、前記指示された1つの素片情報の消去及び前記新た
にセルが構成されるセルに対応した書式情報に基づい
て、前記複数のセル内にそれぞれ含まれていた前記テキ
スト情報を前記新たなセル内に表示し、 前記新たなセルが構成されないと判定される場合は、
前記1つの素片情報の消去に伴って、セルを構成しなく
なった前記複数のセル内に表示されていたテキスト情報
の消去及び前記指示された1つの素片情報の消去を行う
文書処理方法を提供することを目的としている。
In view of the above points, an object of the present invention is to display text information in each cell based on a plurality of cells consisting of a plurality of element information and format information corresponding to each cell. When it is determined that one piece of cell information is to be erased, it is determined that one new cell is formed from a plurality of original cells as the piece of cell information is erased. The text information contained in each of the plurality of cells is stored in the new cell based on the deletion of the designated one piece of fragment information and the format information corresponding to the cell in which the new cell is formed. Display, if it is determined that the new cell is not configured,
A document processing method for erasing text information displayed in the plurality of cells that do not form a cell and erasing the instructed one piece of piece information in association with the deletion of one piece of piece information. It is intended to be provided.

[実施例] 尚、本発明は、システムに適用しても良いし、装置に
適用しても良く、プログラムを装置に適用することによ
り達成しても良いことは言うまでもない。
[Embodiment] Needless to say, the present invention may be applied to a system or an apparatus, and may be achieved by applying a program to the apparatus.

[システムブロック図] 第1図は本発明に係る一実施例の文書処理装置のシス
テムブロック図である。1はラスト・スキヤン表示方式
で使用されるCRT部、2は一画面分の表示パターン情報
を記憶するビデオRAM(VRAM)、3はVRAM2に対するパタ
ーン情報の書き込み、CRT1への読み出しを制御する表示
制御部である。4はマイクロプロセツサ(MPU)でこの
装置の主制御である。5は後述フローチヤートに示すよ
うな制御プログラムや文書データを格納するエリアを有
する主メモリである。MPU4には文字データ等の入力を行
うキーボード8及びCRT上の位置の指定を行い、図形等
のデータの入力編集を行うポインテイング・デバイス
(以下P.D)9が接続されている。6はハードデイスク
装置でこの中に文書フアイルや後述のフローチヤートに
示す様なプログラムや文字フオントが格納されている。
10は作成された文書を出力するためのプリンタで、両面
出力ユニツト等を有している。11は画像等のイメージデ
ータを読み込むためのイメージスキヤナ、12は文書フア
イル等の保存を行うためのフロツピーデイスク装置であ
る。これらの各構成ブロツクはI/Oバス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 last scan display method, 2 is a video RAM (VRAM) that stores display pattern information for one screen, and 3 is display control that controls writing of pattern information to VRAM2 and reading to CRT1 It is a department. 4 is a microprocessor (MPU), which is the main control of this device. Reference numeral 5 is a main memory having an area for storing a control program and document data as shown in a flow chart described later. The MPU 4 is connected with a keyboard 8 for inputting character data and the like, and a pointing device (hereinafter referred to as PD) 9 for specifying a position on the CRT and inputting and editing data such as graphics. A hard disk device 6 stores a document file, programs and character fonts as shown in a flow chart to be described later.
A printer 10 for outputting the created document has a double-sided output unit and the like. Reference numeral 11 is an image scanner for reading image data such as an image, and 12 is a floppy disk device for storing a document file. Each of these component blocks is connected by an I / O bus 7.

[文書編集画面] 以上のような構成からなる文書編集装置は組版ルール
に基づく時づめ、文字の配列及びその印刷形式をCRT1上
に表示し、キーボード8、P.D9を用いて即応性のある文
書編集方法を画面上の任意の領域、又はその領域内に枠
空けされた領域についても行うことができる。第3−1
図は文書編集画面の例で、20はP.Dによって操作される
カーソル、21は印刷形式を画面上に表示した用紙ウイン
ドウである。用紙には第3−2図に示すように、文字5
0、図形51、イメージ52、フオーム53のデータを入力す
ることができる。それぞれには優先順位が決められてお
り、フオーム、イメージ、図形、文字の純に重ね合わせ
て表示される。なお、後述の表組は上記文字と同等と考
えるものとする。又、第3−1図の22はユーザメニユー
で文字入力用かな漢字ウインドウ、機能選択用フアクシ
ヨンキーが表示される。23はステータスラインでキーボ
ードの入力モードやオペレータに対するメツセージなど
が表示される。24は用紙上に枠空けされた領域(以下枠
と呼ぶ)で、枠内には文字(小組)又は表組及び図形イ
メージのデータが入力でき、用紙同様、各々の優先順位
に従い重ね合せて表示される。
[Document Editing Screen] The document editing device having the above-mentioned structure displays the character arrangement and its print format on the CRT1 on a timely basis based on the typesetting rules, and is responsive using the keyboard 8 and P.D9. The document editing method can be performed on an arbitrary area on the screen or an area surrounded by a frame. 3-1
The figure shows an example of a document edit screen. Reference numeral 20 is a cursor operated by a PD, and 21 is a paper window in which a print format is displayed on the screen. As shown in Fig. 3-2, the character 5
Data of 0, figure 51, image 52, and form 53 can be input. Each of them has its own priority, and it is displayed by superimposing the form, the image, the figure, and the character. The table set described below is 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 inputting characters and a function selection function key are displayed. Reference numeral 23 is a status line for displaying keyboard input modes and messages for the operator. 24 is an area (hereinafter referred to as a frame) that is opened on the paper, and data of characters (subsets) or tables and graphic images can be entered in the frame, and like the paper, they are displayed in an overlapping order according to each priority. To be done.

[ワープロ編集] 次に各編集機能について説明する。ワープロ編集は、
用紙又は枠内の文字の入力、編集を行うことができる。
文字の入力はローマ字かな変換、かな漢字変換等の機能
を用いて行われる。各用紙には書式が割当てられてい
て、用紙サイズ、用紙中の文書等の入力編集する領域で
ある版面の位置、段組の数、段中の行数、本分の文字サ
イズ、書体(明朝、ゴシツク等)、ノンブル(ページ番
号)、柱(欄外の見出し)等が定義されている。文字は
この書式に従って組まれて表示又は印刷される。又編集
機能により部分的な文字サイズ、書体の変更、アンダー
ライン,圏点,ルビ,上付,下付文字等の文字修飾,セ
ンタリング,右寄せ,左寄せ,均等割付等の行それえ等
も行う。さらに、文字列を検索して、他の文字列に置換
する検索置換の機能も持つ。又、文字の移動、入力、削
除に供い、文字に追従して動く、浮動枠の枠空け、サイ
ズ等の変更、消去等を行う浮動枠編集の機能を持つ。
[Word Processing Editing] Next, each editing function will be described. Word processor editing,
It is possible to input and edit characters on a sheet or frame.
Characters are input using functions such as Roman-Kana conversion and Kana-Kanji conversion. A format is assigned to each paper, and the paper size, the position of the printing plate which is an area for inputting and editing a document in the paper, the number of columns, the number of lines in a column, the character size for this line, the typeface (clear Morning, Gothsk, etc.), page numbers (page numbers), columns (headings of margins), etc. are defined. Characters are assembled and displayed or printed according to this format. In addition, the editing function can be used to partially change the font size, change the typeface, modify the underline, emphasis mark, ruby, superscript, subscript, etc., centering, right-justify, left-justify, and evenly allocate lines. Furthermore, it also has a search and replace function for searching a character string and replacing it with another character string. It also has a floating frame editing function for moving, inputting, and deleting characters, moving following the characters, opening the floating frame, changing the size, and deleting.

[図形編集] 次に図形編集は、直線、円、矩形、だ円等の図形の入
力及び面種、線種の変更、図形の移動、複写、消去、変
形、回転、拡大、縮小等の編集機能、複数のレイアウト
の層から構成され、各レイア単独の表示、編集ができ、
複数レイアウトを重ねて表示することができる多重レイ
ア構造などの機能を持つ。
[Figure editing] Next, figure editing is to input figures such as straight lines, circles, rectangles, and ellipses, change face types and line types, move figures, copy, delete, transform, rotate, enlarge, reduce, etc. It is composed of layers of multiple functions, and each layer can be displayed and edited independently.
It has a function such as a multiple layer structure that can display multiple layouts in an overlapping manner.

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

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

[表組処理] 次に本発明の中心である表組処理について説明する。
表組は小組の入っていない枠に対して編集を行うことが
できる。機能は罫線を引いたり、移動,削除を行う罫線
編集と、文字を入力したり、アンダーライン,ルビなど
の修飾を行空ぬ文字編集とに大きく2つに分けられる。
罫線編集は罫線を引いて表を作り、セルを呼ばれる罫線
で囲まれた矩形の領域を作成することが目的である。文
字はこのセルの中に入力することができる。文字編集
は、罫線編集で作られたセルの中に文字を入力すること
が目的である。これら2つの編集機能を用いる事によ
り、良質かつ複雑な表を早く安易に作成できる。
[Table Processing] Next, the table processing, which is the core of the present invention, will be described.
The table set can be edited in a frame that does not contain a sub-set. The functions are roughly divided into two: ruled line editing for drawing, moving and deleting ruled lines, and character editing for entering characters, underline, ruby and other modifications.
The purpose of ruled line editing is to draw a ruled line to create a table and create a rectangular area called a cell surrounded by the ruled lines. Characters can be entered in this cell. The purpose of character editing is to input characters into cells created by ruled line editing. By using these two editing functions, good quality and complicated tables can be created quickly and easily.

[表組データテーブルレイアウト] 第4図はハードデイスク中の文書データの1部である
表組データテーブルのレイアウトの一例を示す図で、制
御テーブル罫線テーブル、テキストテーブル、セル(第
5−2図の様な枠)属性テーブルから構成される。制御
テーブルは表組データテーブル全体を管理するためのも
のである。statは表組データ型式を表わす番号が格納さ
れている。measrは内部記憶座標単位からCRT又はプリン
タ座標単位への変換のための制御情報が格納されてい
る。次に斜線、横線、縦線、テキスト、セル属性の各々
のオフセット(offset)およびカウントが格納されてい
る。オフセツトは罫線テーブルの斜線、横線、縦線及び
テキストデータテーブル、セル属性テーブルのテーブル
領域の始点アドレスを示すデータである。又、カウント
は斜線、横線、縦線及びテキスト、属性の各レコードの
個数を示すもので、斜線レコードはn1個横線レコードは
n2個、縦線レコードはn3個、テキストレコードはn4個、
セル属性レコードはn5個である。これらのoffsetとcoun
tにより罫線テーブル、テキストテーブル、属性テーブ
ルの領域を把握することができる。
[Table Set Data Table Layout] FIG. 4 is a diagram showing an example of the layout of the table set data table, which is a part of the document data in the hard disk, and includes a control table ruled line table, a text table, and a cell (see FIG. 5-2). It is composed of an attribute table. The control table is for managing the entire table data table. The stat stores a number representing the table set data type. The measr stores control information for conversion from the internal storage coordinate unit to the CRT or printer coordinate unit. Next, the 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 table area of the diagonal line, horizontal line, vertical line of the ruled line table, the text data table, and the cell attribute table. The count indicates the number of each record of slanted line, horizontal line, vertical line, text, and attribute.
n2, vertical line records n3, text records n4,
There are n5 cell attribute records. These offset and coun
The area of the ruled line table, the text table, and the attribute table can be grasped by t.

[第4図罫線テーブル] 罫線テーブルは斜線、横線、縦線各々の情報の集まり
である。POS(x,y)は、各線の開始位置が格納されてい
る。line styleは例えば実線、一点鎖線のような各線の
線種を表わす情報が格納されている。line widthは各線
の太さの情報が格納されている。flagは各罫線のロツク
情報が格納されている。roundは、横線と縦線の交点の
角丸めの方が格納されている。横線レコード、縦線レコ
ードのlengthは各線の長さの情報が格納されている。斜
線のw−length,h−lengthはそれぞれ横方向、縦方向の
長さの情報が格納されている。横線レコードのテキスト
offsetは、その横線が構成するセルに対応するテキスト
データがテキストテーブルのどの位置に格納されている
かを示すオフセツトが格納されている。テキストを持た
ない場合は−1の値が格納されている。罫線テーブルの
各レコードは、POS(x,y)の示す開始位置情報により、
斜線、横線はx座標値昇順、縦線はy座標値昇順に整列
されている。なお、この罫線はセルを構成する素片とい
っても良い。
[FIG. 4 Ruled Line Table] The ruled line table is a collection of information on diagonal lines, horizontal lines, and vertical lines. POS (x, y) stores the start position of each line. The line style stores information indicating the line type of each line such as a solid line and a one-dot chain line. The line width stores information on the thickness of each line. The flag stores the lock information of each ruled line. In round, the rounded corner of the intersection of the horizontal and vertical lines is stored. The length of the horizontal line record and vertical line record stores information on the length of each line. The diagonal w-length and h-length store information on the horizontal and vertical lengths, respectively. Horizontal line record text
The offset stores an offset indicating where in the text table the text data corresponding to the cell formed by the horizontal line is stored. If the text is not included, a value of -1 is stored. Each record of the ruled line table is based on the start position information indicated by POS (x, y).
The diagonal lines and horizontal lines are arranged in ascending order of x coordinate values, and the vertical lines are arranged in ascending order of y coordinate values. It should be noted that the ruled line may be referred to as a segment forming a cell.

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

[第4図セル属性テーブル] セル属性テーブルは可変長のセル属性レコードから構
成される。attrsizは1つのセル属性のサイズでバイト
数が格納される。flgは使用されているか未使用かのフ
ラグが格納されている。meshはセルの中塗りパターン番
号が格納されている。kum−fは縦組か横組かのフラ
グ、字間,文字ピツチどちらの指定か、行間,行ピツチ
どちらの指定かのフラグが格納されている。aldpは、
上,下、左,右の文字揃え、回転表示の回転角度、表示
方式(白抜き、重ね書きなど)の情報が格納されてい
る。fontは文字書体(明朗,ゴシツクなど)の情報が格
納されている。psは文字の大きさが格納される。lnsp.c
hspはkum−fに従って、行ピツチ又は行間、文字ピツチ
又は字間の値が格納される。lrmgn,udmgnは左右、上下
のマージンの値が格納される。
[FIG. 4 Cell Attribute Table] The cell attribute table is composed of variable-length cell attribute records. Attrsiz stores the number of bytes in the size of one cell attribute. flg stores a flag indicating whether it is used or not. mesh stores the filling pattern number of the cell. The kum-f stores a flag indicating vertical writing mode or horizontal writing mode, a character spacing or character pitch designation, and a line spacing or line pitch designation. aldp is
Information about upper, lower, left, right character alignment, rotation angle of rotation display, display method (white space, overwriting, etc.) is stored. The font stores information on character typefaces (Akira, Gossk, etc.). Character size is stored in ps. lnsp.c
In hsp, line pitch or line spacing, character pitch or character spacing value is stored according to kum-f. The left and right margin values are stored in lrmgn and udmgn.

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

[分割罫引] 第6図から第8図を用いて、複数の平行な罫線を等間
隔に引く方法について説明する。第6図はその制御フロ
ーチヤートである。まずキーボード又はP.Dにより分割
罫引を指示すると第7図40の分割数入力ウインドウが表
示される。第6図のstep1においてキーボードより、平
行で等間隔な罫線(分割罫線)の本数(分割数)を入力
する。第7図では分割数を10と入力したところを示して
いる。step2で分割罫線の基準となる基準線第7図41を
決定する。これは、すでに引かれている罫線上にP.Dに
よりカーソル20を動かし、P.Dのボタンを1度押す(以
下1クリツク)か、又は罫線を罫引する(罫線の始点で
P.Dのボタンを押し、押したままカーソルを終点へ移動
し、ボタンを放す)ことによって基準線は決定される。
次にstep3において任意の位置にカーソルを動かし、P.D
のボタンを押すと、基準線とカーソルの位置との距離
(基準線が横罫線ならy座標の差分、縦罫線ならx座標
の差分)を求めこの距離を分割数で割ることにより、分
割罫線間距離(第8−1図(a)L1)を求める。なお、
第8−1図では横罫線である。次に分割罫線が全てグリ
ツド100に整列するようにstep4でstep3で求めた距離を
グリツド間隔の整数倍に近似する。近似は、 によって行われる。割り算は小数点以下切り捨てで行わ
れるために求める値はグリツド間隔の整数倍として求め
られる(第8−1図(b)L2)。次に第6図のstep5に
おいてstep4で求められた分割罫線間隔で分割数の数だ
けの分割罫線を表示する(第8−2図42)。以上第6図
step3以降をP.Dのボタンが放されるまで繰り返す。オペ
レータは罫線間隔が適当になるまでP.Dのボタンを押し
ながらカーソルを移動する。これに応じて等間隔の複数
の罫線が、リアルタイムに表示される。P.Dのボタンを
放すことにより罫線間隔が決定されて、分割罫線のレコ
ードが登録される。
[Divided Ruled Lines] A method of drawing a plurality of parallel ruled lines at equal intervals will be described with reference to FIGS. 6 to 8. FIG. 6 shows the control flow chart. First, when the user designates the division rule with the keyboard or PD, the division number input window of FIG. 7 is displayed. In step 1 in FIG. 6, the number of parallel ruled lines (divided ruled lines) (division number) is input from the keyboard. FIG. 7 shows that the number of divisions is input as 10. In step 2, the reference line (FIG. 7), which is the reference of the division ruled line, is determined. To do this, move the cursor 20 by PD on the already drawn ruled line and press the PD button once (1 click below) or draw the ruled line (at the starting point of the ruled line).
The reference line is determined by pressing the PD button, moving the cursor to the end point while pressing and releasing the button).
Next, in step 3, move the cursor to any position and
When the button is pressed, the distance between the reference line and the cursor position (if the reference line is a horizontal ruled line, the difference in y-coordinate, if it is a vertical ruled line, the difference in x-coordinate) is calculated, and this distance is divided by the number of divisions. The distance (L1 in Fig. 8-1 (a)) is calculated. In addition,
It is a horizontal ruled line in FIG. 8-1. Next, the distance obtained in step 3 in step 4 is approximated to an integer multiple of the grid interval so that all the divided ruled lines are aligned with the grid 100. The approximation is Done by Since the division is performed by rounding down after the decimal point, the value to be obtained is obtained as an integral multiple of the grid interval (L2 in FIG. 8-1 (b)). Next, in step 5 of FIG. 6, as many divided ruled lines as the number of divisions are displayed at the divided ruled line intervals obtained in step 4 (FIG. 8-2, 42). Above Fig. 6
Repeat step 3 and subsequent steps until the PD button is released. The operator moves the cursor while pressing the PD button until the ruled line interval becomes appropriate. Accordingly, a plurality of evenly-spaced ruled lines are displayed in real time. When the PD button is released, the ruled line interval is determined, and the record of the divided ruled line is registered.

[連続罫引] 次、任意な位置に平行な罫線を連続して罫引する手段
について説明する。キーボード又はP.Dにより連続罫引
を指示することにより開始される。連続罫引の制御フロ
ーチヤートを第9−1図に示す。まずstep1において基
準線を決定すつ。これはP.Dにより既に引かれている罫
線上にカーソルを移動し、1クリツクするか、罫線を罫
引することによって決定される(第9−2図41)。次
に、step2において基準線と平行な罫線を引きたい位置
にカーソル20を移動し、1クリツクするとstep4〜7に
て基準線が縦罫線なら基準線のx座標を、横罫線ならy
座標をクリツク位置に最も近いグリツドの座標に置き変
えたレコードを登録する(第10図)。以上step2以降、
1クリツクを繰り返すことにより、連続して平行線を引
くことができる。
[Continuous Ruled Line] Next, a means for continuously drawing a ruled line parallel to an arbitrary position will be described. It is started by instructing continuous marking with the keyboard or PD. The control flow chart for continuous marking is shown in Fig. 9-1. First, in step 1, determine the reference line. This is determined by moving the cursor on the ruled line already drawn by the PD and clicking 1 or drawing the ruled line (Fig. 9-2, Fig. 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 1 to set the x-coordinate of the reference line if the reference line is a vertical ruled line and y if it is a horizontal ruled line in steps 4 to 7.
Register the record with the coordinate replaced with the coordinate of the grid closest to the click position (Fig. 10). Above step2,
By repeating 1 click, parallel lines can be drawn continuously.

[罫線消去] 罫線消去によるテキストデータの移動について説明す
る。
[Erase of Ruled Lines] The movement of text data by eliminating ruled lines will be described.

まず、第11図(a)は横罫線の消去に関する制御フロ
ーチヤートである。step1において消去される横罫線が
テキストを持っているかをチエツク(第4図横線レコー
ドのテキストoffsetが−1でないかどうか)し持ってい
なければ(−1ならば)横罫線レコードを消去する(st
ep5)。もしテキストを持っていれば、step2でその横罫
線の上はセルかどうかをチエツクし、セルでなければst
ep4にてテキストデータを消去し、step5で罫線データを
消去する(第12−1図(b)のH3の消去のような場
合)。上がセルの時は(第12−1(a)のH1を消去のよ
うな場合)罫線の消去によりセルC1とC2が合成されるも
のと扱って、step3にてH1のテキストデータを上のセル
のテキストデータであるH2の保持するテキストデータに
合成し、第12−1図(a)の左図のような結果を得る。
なお、本発明でいうテキストの合成は第4図のセルの属
性テーブルのaldp等によって合成先のセルの属性に基づ
いて行われる。つまり第12−1図の(a)でセルC1の属
性の1つに「センタリング」があったとすると、H1を消
去することによりできるセルの属性も「センタリング」
となり、合成テキストの「ああいい」がセンタリングさ
れる。これは他のテキストの合成でも同様である。
First, FIG. 11 (a) is a control flow chart relating to erasure of horizontal ruled lines. Check if the horizontal ruled line to be erased in step 1 has text (whether the text offset of the horizontal line record in Fig. 4 is not -1) (if it is -1), delete the horizontal ruled line record (st
ep5). If you have text, check whether it is a cell above the horizontal ruled line in step 2 or st if it is not a cell.
The text data is erased in ep4, and the ruled line data is erased in step 5 (in the case of H3 in FIG. 12-1 (b)). If the upper cell is a cell (such as when erasing H1 in 12-1 (a)), treat the cells C1 and C2 as being combined by erasing the ruled line, and in step 3, copy the H1 text data to the top. It is combined with the text data held by H2 which is the text data of the cell, and the result as shown in the left figure of FIG. 12-1 (a) is obtained.
It should be noted that the text composition referred to in the present invention is performed based on the attribute of the cell to be composed by aldp or the like in the cell attribute table of FIG. In other words, if one of the attributes of the cell C1 in FIG. 12-1 is "centering", the attribute of the cell created by deleting H1 is also "centering".
Then, the synthetic text "Aoi" is centered. This is the same for other text composition.

表組における文字列の再配列つまり、文字の合成につ
いて第12−2図から第12−3図を用いて説明する。第12
−2図は、第4図のテキストテーブルだけを示した図で
ある。まず(a)のようにある合成先テキスト(第12−
1図(a)の例ではH2の保持しているテキストレコー
ド)を第12−2図(b)のように抜き出し、抜いたテキ
ストレコード以降のテキストテーブルを(c)のように
前に詰める。この時、この詰められたテキストレコード
を保持する横罫線のテキストoffsetは、ずれるので横罫
線テーブルのレコードのテキストoffsetを順に調べ、合
成先テキストのオフセツトより大きいテキストoffsetを
持つ罫線レコードのテキストoffsetから合成先テキスト
のサイズを減ずることにより、全ての横罫線のテキスト
offsetは補正される。次に抜き出しておいた合成先テキ
ストをテキストテーブルの最後尾に挿入し、合成先横罫
線レコードのテキストoffsetに挿入された位置を格納す
る。次に合成元テキストも同様に、合成先テキストの後
に移動し(e)のような状態にする。第12−3図(a)
がテキストテーブルの最後尾に移動された合成先、合成
元それぞれのテキストレコードである。次に合成元テキ
ストレコードのヘツダ部(第12−3図(a)の110)を
取り、それ以降を前に詰め、第12−3図(b)のように
し、合成先テキストレコードのtext countに合成元テキ
ストレコードのtext countを加える。さらに合成元横罫
線レコードのテキストoffsetを−1にすることにより合
成が完了する。
Rearrangement of character strings in the table set, that is, character composition will be described with reference to FIGS. 12-2 to 12-3. 12th
-2 is a figure which showed only the text table of FIG. First, as shown in (a), there is a text to be composed (12th-
In the example of FIG. 1 (a), the text record held by H2) is extracted as shown in FIG. 12-2 (b), and the text table after the extracted text record is packed forward as shown in (c). At this time, the text offset of the horizontal ruled line that holds this packed text record is misaligned, so the text offsets of the records in the horizontal ruled line table are checked in order, and the text offset of the ruled line record that has a text offset larger than the offset of the text to be composed Text of all horizontal ruled lines is reduced by reducing the size of the destination text.
offset is corrected. Next, the merged destination text that has been extracted is inserted at the end of the text table, and the position inserted in the text offset of the destination horizontal ruled line record is stored. Similarly, the composition source text is moved after the composition destination text in the same manner as in (e). Figure 12-3 (a)
Is a text record of each of the composition destination and composition source moved to the end of the text table. Next, take the header part (110 in Fig. 12-3 (a)) of the composition source text record, and squeeze the parts after it, as shown in Fig. 12-3 (b), and set the text count of the composition destination text record. Add the text count of the original text record to. Further, the composition is completed by setting the text offset of the composition source horizontal ruled line record to -1.

次に第11図の(b)は縦罫線を消去した時の制御フロ
ーチヤートである。step1において消去される縦罫線が
セルの左辺を構成する罫線かどうかを調べる。もしそう
でなければ、step4にて罫線レコードを消去して終る。
もし左辺を構成する罫線ならば(例えば第12−1図の
(b)のV1)そのセル(第12−1図(b)のC3)の左上
端横罫線H3がテキストを持っているかをチエツクする
(step2)。持っていかなければstep4へ、もし持ってい
れば、その縦罫線の左側がセルかどうかをチエツクする
(step3)。もしセルでなければstep4へ、セルならば
(例えば第12−1図(c)のV3を消去する場合)step4
にて右側のセルのテキストへ合成(H5のテキストをH4の
テキストへ合成)する。
Next, FIG. 11B is a control flow chart when the vertical ruled lines are erased. It is checked whether the vertical ruled line erased in step 1 is the ruled line forming the left side of the cell. If not, in step 4, erase the ruled line record and end.
If it is a ruled line that constitutes the left side (for example, V1 in FIG. 12-1 (b)), check whether the upper left horizontal ruled line H3 of the cell (C3 in FIG. 12-1 (b)) has text. Yes (step2). If you do not have it, go to step 4. If you do, check whether the left side of the vertical ruled line is a cell (step 3). If it is not a cell, go to step 4, if it is a cell (for example, when V3 in FIG. 12-1 (c) is erased), step 4
Combine with the text in the cell on the right with (composite the H5 text into the H4 text).

[罫線移動] (横罫線移動) 横罫線の移動について説明する。第13図はその制御フ
ローチヤートである。まずstep1において移動される罫
線がテキストデータを持っているかどうか(第4図横罫
線レコードのテキストoffsetが−1でないかどうか)を
チエツクし、持っていなければ(−1ならば)、そのま
ま移動する。もしテキストを持っていればstep2におい
てその横罫線の上はセルかどうかをチエツクする。セル
でなければテキストデータも罫線と一緒に移動する(第
14(c)のH9をH9′の位置に移動。H9′はテキストを持
っていたが、セルでなくなったのでテキストは表示され
ない第14図(c)右図)。もし上がセルであればstep3
においてその罫線を移動した結果がセルを構成するかど
うかをチエツクする。もし移動先もセルだったら(第14
図(b)のH8をH8′へ移動した時移動先はセル9′であ
る)テキストデータは罫線と一緒に移動する。もし移動
先がセルでなかったら(第14図(a)H6をH6′へ移
動)、step4でその罫線のテキストデータは上のセルの
テキストデータへ合成される(H6のテキストをH7へ合
成)。なお、この合成については第12−2図、第12−3
図における説明と同様である。
[Movement of ruled line] (Movement of horizontal ruled line) The movement of the horizontal ruled line will be described. FIG. 13 shows the control flow chart. First, check whether the ruled line moved in step 1 has text data (whether the text offset of the horizontal ruled line record in FIG. 4 is not -1), and if not (if -1), move as it is. . If you have text, check in step 2 whether it is a cell above the horizontal ruled line. If it is not a cell, the text data will be moved along with the ruled line.
Move H9 of 14 (c) to H9 'position. H9 'had text, but since it is no longer a cell, the text is not displayed (Fig. 14 (c) right). If the cell is above, step3
Check whether the result of moving the ruled line constitutes a cell in. If the destination is also a cell (14th
(When H8 in FIG. 8B is moved to H8 ', the destination is cell 9') The text data moves with the ruled line. If the destination is not a cell (Fig. 14 (a) H6 is moved to H6 '), the text data of the ruled line is combined with the text data of the upper cell in step4 (the text of H6 is combined with H7). . Regarding this synthesis, see Fig. 12-2 and Fig. 12-3.
This is similar to the description in the figure.

(縦罫線移動) 次に縦罫線の移動について説明する。第15図はその制
御フローチヤートである。まずstep1において移動罫線
は、セルの左辺を構成するかをチエツクする。もしNoな
らばstep7にて罫線を移動して終る。Yesならstep2にお
いて、そのセルの左上端横罫線(第16図(c)のV5を移
動しようとした時のH15)はテキストを持っているかを
チエツクする。もしNoならばstep7へ、もし持っていれ
ばstep3にてその移動罫線の左側はセルかどうかをチエ
ツクする。セルでなければstep7へ(第16図(c)のV5
をV5′に移動、H15のテキストはセルでなくなるため表
示されなくなる。)、セルであればstep4に進み、移動
先がセルかどうか判定する。セルであればstep1に進
み、移動元のセルの左上端横罫線のテキストを移動先の
セルの左上端横罫線に合成する(第16図(b)のH13の
テキストをH13′のテキストに合成)。もしセルでなけ
れば(第16図(a)のV3をV3′へ移動)移動元のセルの
左上端横罫線(H11)のテキストを移動罫線の左側のセ
ル(C6)の左上端横罫線(H10)のテキストに合成する
(H10′の罫線のテキストとする)。
(Movement of Vertical Ruled Line) Next, the movement of the vertical ruled line will be described. FIG. 15 shows the control flow chart. First, in step 1, check whether the moving ruled line constitutes the left side of the cell. If No, move the ruled line in step 7 and end. If Yes, in step 2, check 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 7. If you have it, check in step 3 whether the left side of the moving ruled line is a cell. If it is not a cell, go to step 7 (V5 in Fig. 16 (c))
Is moved to V5 ', the text of H15 is not displayed because it is not a cell. ), If it is a cell, proceed to step 4 and determine whether the destination is a cell. If it is a cell, proceed to step 1 and combine the text of the upper left horizontal ruled line of the source cell with the upper left horizontal ruled line of the destination cell (combining the text of H13 in Figure 16 (b) with the text of H13 '). ). If it is not a cell (V3 in Fig. 16 (a) is moved to V3 ') Move the text of the upper left edge ruled line (H11) of the source cell Move the upper left edge ruled line of the cell (C6) to the left of the rule line ( H10) text (H10 'ruled line text).

[セル消去] 次に消去したいセルに隣接するセルを壊すことなくセ
ル単位で罫線を消去する方法について説明する。まず、
キーボード又はP.Dによりセル消去を指示する。次に消
去したいセルが1つならばP.Dによりそのセルを1クリ
ツク(第17図(a))する。複数ならば第17図(b)に
示すようにP.Dのボタンを押し、押したままカーソルを
移動して範囲を指定し、ボタンを開放する。この場合P.
Dのボタンを押し下げた位置と、開放した位置の2点よ
りできる矩形(第17図点線で示す)に接するすべてのセ
ルがセル消去の対象となり、反転表示される。表示した
いセルが指示されたら、まず、第4図の罫線テーブル中
の横罫線レコードを順に第18図に示す制御フローチヤー
トのように処理する。まず、step1において、罫線の下
はセルかどうかを調べる。言い換えれば、この罫線はセ
ルの上辺を構成するかどうかを調べる。もしセルならば
step2においてそのセルが反転されているか(セル消去
の対象か)どうかを調べる。反転されていればstep3に
おいてその罫線の上がセルかどうか(セルの下辺を構成
するかどうか)を調べる。もしセルならばstep4におい
てそのセルは反転されているかどうかを調べる。もし反
転されていればstep5においてその罫線のテキストoffse
tの示すところのテキストレコードを消去し、その罫線
レコードを消去する。又、step4において上のセルが反
転されていなければ、step8にて次の罫線があればstep1
から繰り返す。次の罫線がなければ終了する。又、step
3においてセルでなければstep5においてテキストレコー
ドと罫線レコードが消去される。又、step1において罫
線の下がセルでなかったり、step2において下のセルが
反転されていない場合は、step6にて罫線の上がセルか
どうかを調べる。もし、セルでなければstep8にて、次
の罫線へ処理が移る。又、もし罫線の上がセルならば、
step7において、上のセルが反転されているかを調べ
る。反転されていれば罫線とテキストレコードを消去
し、反転されていなければ次の罫線へ処理が移る。
[Cell Erasing] Next, a method of erasing ruled lines in cell units without destroying cells adjacent to cells to be erased will be described. First,
Instruct to erase the cell with the keyboard or PD. Next, if there is one cell to be erased, the cell is clicked by PD (FIG. 17 (a)). If there is more than one, press the PD button as shown in FIG. 17 (b), move the cursor while pressing and specify the range, and release the button. In this case P.
All cells that touch a rectangle (shown by the dotted line in Fig. 17) formed by two points, the position where the D button is pressed down and the position where it is released, are the target of cell erasing and are displayed in reverse video. When the cell to be displayed is designated, first, the horizontal ruled line records in the ruled line table of FIG. 4 are processed in sequence like the control flow chart shown in FIG. First, in step 1, it is checked whether the cell under the ruled line is a cell. In other words, check whether this ruled line constitutes the upper side of the cell. If a cell
In step 2, check whether the cell is inverted (is the target of cell erase). If it is inverted, it is checked in step 3 whether or not the upper side of the ruled line is a cell (whether or not the lower side of the cell is formed). If it is a cell, in step 4, it is checked whether or not the cell is inverted. If it is inverted, the text of the ruled line is offse in step 5.
Erases the text record indicated by t and erases the ruled line record. If the upper cell is not inverted at step 4, if there is the next ruled line at step 8, then step 1
Repeat from If there is no next ruled line, the process ends. Also, step
If it is not a cell in 3, the text record and ruled line record are deleted in step 5. If the cell under the ruled line is not a cell in step 1 or the cell underneath is not inverted in step 2, it is checked in step 6 whether or not the cell above the ruled line is a cell. If it is not a cell, the process moves to the next ruled line in step 8. Also, if the top of the ruled line is a cell,
In step 7, check whether the upper cell is inverted. If it is reversed, the ruled line and the text record are deleted, and if it is not reversed, the process moves to the next ruled line.

次に縦罫線に対しても同様の処理を行う。ただし縦罫
線の場合は、step1,step2において罫線の下を調べる所
を右側を調べ、step3,4,6,7において罫線の上を調べる
所を左側に調べることにより同様の処理を行うことがで
きる。又、縦罫線はテキストを持たないのでstep5にお
いてテキストレコードの消去は行われない。
Next, the same processing is performed on the vertical ruled lines. However, in the case of a vertical ruled line, the same process can be performed by checking the bottom of the ruled line in steps 1 and 2 on the right side, and the top of the ruled line in steps 3, 4, 6, and 7 on the left side. . Further, since the vertical ruled line has no text, the text record is not deleted in step 5.

以上を全ての横罫線、縦罫線に対して行うことによ
り、反転されているセル間の境界にある罫線と隣接する
セルのないセルの辺を構成する罫線全ての消去すること
ができ、消去されるセルに隣接するセルを損なうことな
く、セルを消去することができる。
By performing the above for all horizontal ruled lines and vertical ruled lines, it is possible to erase all ruled lines that compose the sides of cells that do not have adjacent cells and the ruled lines at the boundaries between the inverted cells. A cell can be erased without damaging a cell adjacent to the cell.

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

複数の平行て等間隔な罫線を引く手段と任意な位置に
平行な罫線を連続して引く手段を具備することにより、
オペレータの思い通りに、少ない操作で素早く作表する
ことを実現した。
By providing a means for drawing a plurality of parallel ruled lines at equal intervals and a means for continuously drawing parallel ruled lines at arbitrary positions,
Achieved quick operation with less operation as the operator wanted.

罫線の消去、移動時に、文字を入力する領域であるセ
ルの左下左右の関係を考慮して文字の合成先を決定する
ことにより、どの罫線にも属さない不要な文字データが
生じるのを防ぎ、文書フアイル領域の節約になった。
When deleting or moving ruled lines, by deciding the character composition destination in consideration of the lower left and right relationship of the cell that is the area for entering characters, it is possible to prevent the generation of unnecessary character data that does not belong to any ruled line. The document file area has been saved.

以上の説明から明らかな様に本実施例によれば、セル
を構成する罫線を消去した時に、そのセル内の文字デー
タを他のセル情報に基づいて再配列することができる文
字処理装置を提供することが可能となった。
As is apparent from the above description, according to the present embodiment, when the ruled lines forming the cell are erased, the character processing device capable of rearranging the character data in the cell based on other cell information is provided. It became possible to do.

[効果] 以上詳述した様に、本発明により、複数の素片情報か
らなるセルの複数及び各セルに対応した書式情報に基づ
いて各セル内にテキスト情報を表示し、 所望の1つの素片情報の消去を指示された場合、その
1つの素片情報が消去されることに伴い、元の複数のセ
ルから1つの新たなセルが構成されると判定されるなら
ば、前記指示された1つの素片情報の消去及び前記新た
にセルが構成されるセルに対応した書式情報に基づい
て、前記複数のセル内にそれぞれ含まれていた前記テキ
スト情報を前記新たなセル内に表示し、 前記新たなセルが構成されないと判定される場合は、
前記1つの素片情報の消去に伴って、セルを構成しなく
なった前記複数のセル内に表示されていたテキスト情報
の消去及び前記指示された1つの素片情報の消去を行う
文書方法を提供することが可能となった。
[Effect] As described in detail above, according to the present invention, text information is displayed in each cell based on a plurality of cells each including a plurality of cell information and format information corresponding to each cell, and one desired element is displayed. When it is determined that one piece of cell information is erased when it is determined that one piece of cell information is to be erased, it is instructed to form one new cell from a plurality of original cells. Based on the erase of one element information and the format information corresponding to the cell in which the new cell is formed, the text information contained in each of the plurality of cells is displayed in the new cell, If it is determined that the new cell is not configured,
Provided is a document method for erasing text information displayed in the plurality of cells that do not form a cell and erasing the instructed one piece of piece information in association with the deletion of the one piece of piece information. It became possible to do.

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

第1図は本発明適用の装置のシステムブロツク図、 第2図は従来技術の説明図、 第3−1図は文書編集画面の説明図、 第3−2図は文字,図形,イメージ,フオームのデータ
の説明図、 第4図は表組データテーブルの説明図、 第5−1図は罫線の交点の様子を示す図、 第5−2図はセル中のテキストデータの保持の仕方の説
明図、 第6図は分割罫引の制御フローチャート、 第7図は分割罫引を行う場合の表示画面の説明図、 第8−1図は分割罫引の演算の説明図、 第8−2図は分割罫引を行った結果の表示例を示す図、 第9−1図は連続罫引の制御フローチヤート 第9−2図は連続罫引を行う場合の表示画面の説明図、 第10図は連続罫引を行う過程の説明図、 第11図は罫線消去の制御フローチャート、 第12−1図は罫線消去の表示例を示す図、 第12−2図は表組における文字の再配列の説明図、 第12−3図はテキストテーブルの説明図、 第13図は罫線移動の制御フローチヤート、 第14図は横罫線の移動の説明図、 第15図は縦罫線移動の制御フローチヤート、 第16図は縦罫線移動の説明図、 第17図はセル消去の説明図、 第18図はセル消去の制御フローチヤート。 4……MPU 3……表示制御部 5……主メモリ
FIG. 1 is a system block diagram of an apparatus to which the present invention is applied, FIG. 2 is an explanatory diagram of a conventional technique, FIG. 3-1 is an explanatory diagram of a document edit screen, and FIG. 3-2 is a character, figure, image, form. 4 is an explanatory view of a table data table, FIG. 5-1 is a view showing the state of intersections of ruled lines, and FIG. 5-2 is an explanation of how to store text data in cells. Fig. 6, Fig. 6 is a control flow chart of divided ruled lines, Fig. 7 is an explanatory view of a display screen when divided ruled lines are drawn, Fig. 8-1 is an explanatory diagram of calculation of divided ruled lines, and Fig. 8-2. Is a diagram showing a display example of the result of division scoring, FIG. 9-1 is a control flow chart of continuous scoring, and FIG. 9-2 is an explanatory view of a display screen when performing continuous scoring, and FIG. Is an explanatory diagram of the process of performing continuous ruled lines, Fig. 11 is a control flowchart for ruled line deletion, and Fig. 12-1 is a display example of ruled line deletion. Fig. 12-2 is an explanatory diagram of rearrangement of characters in a table set, Fig. 12-3 is an explanatory diagram of a text table, Fig. 13 is a control flow chart for moving ruled lines, and Fig. 14 is a diagram of horizontal ruled lines. Fig. 15 is a control flow chart for moving vertical ruled lines, Fig. 16 is an explanatory diagram for moving vertical ruled lines, Fig. 17 is an explanatory diagram for erasing cells, and Fig. 18 is a control flow chart for erasing cells. 4 …… MPU 3 …… Display control unit 5 …… Main memory

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】記憶手段に記憶された複数の素片情報から
なるセルの複数及びそのセルに対応した書式情報に基づ
いて各セル内に配置されるテキスト情報を表示手段に表
示し、 前記表示手段に表示された所望の1つの素片情報の消去
を表示画面上で指示された場合、前記記憶手段に記憶さ
れた前記1つの素片情報が消去されることに伴い、前記
記憶手段に記憶されている元の複数のセルから1つの新
たなセルが構成されると判定手段で判定される場合は、
前記記憶手段の前記指示された1つの素片の消去及び前
記新たにセルが構成されるセルに対応した書式情報に基
づいて、前記複数のセル内にそれぞれ含まれていた前記
テキスト情報を前記新たなセル内に配置して前記表示手
段の表示画面に表示し、 前記新たなセルが構成されないと判定される場合は、前
記1つの素片情報の消去に伴って、セルを構成しなくな
った前記複数のセル内に配置されて前記表示手段上に表
示されていたテキスト情報の消去及び前記指示された1
つの素片及び前記指示された1つ素片情報を前記記憶手
段から消去させることを特徴とする文書処理方法
1. Displaying text information arranged in each cell on a display means based on a plurality of cells composed of a plurality of element information stored in a storage means and format information corresponding to the cell, When the deletion of one desired piece information displayed on the means is instructed on the display screen, the one piece piece information stored on the storage means is deleted, and thus, is stored on the storage means. When it is determined by the determination means that one new cell is composed of the plurality of original cells that have been set,
The text information contained in each of the plurality of cells is rewritten based on the deletion of the designated one piece of the storage means and the format information corresponding to the cell in which the new cell is formed. Displayed on the display screen of the display means by arranging in a cell, and when it is determined that the new cell is not configured, the cell that does not configure the cell is erased along with the deletion of the one element information. The deletion of the text information displayed in the display means arranged in a plurality of cells and the instruction 1
Document processing method characterized by deleting one segment and the instructed one segment information from the storage means.
JP62289158A 1987-11-16 1987-11-16 Document processing method Expired - Fee Related JP2547798B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP62289158A JP2547798B2 (en) 1987-11-16 1987-11-16 Document 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
JP62289158A JP2547798B2 (en) 1987-11-16 1987-11-16 Document processing method

Publications (2)

Publication Number Publication Date
JPH01130266A JPH01130266A (en) 1989-05-23
JP2547798B2 true JP2547798B2 (en) 1996-10-23

Family

ID=17739512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62289158A Expired - Fee Related JP2547798B2 (en) 1987-11-16 1987-11-16 Document processing method

Country Status (1)

Country Link
JP (1) JP2547798B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60251429A (en) * 1984-05-28 1985-12-12 Fujitsu Ltd List group editing processing system
JPS62254263A (en) * 1986-04-28 1987-11-06 Hitachi Ltd Table preparation system

Also Published As

Publication number Publication date
JPH01130266A (en) 1989-05-23

Similar Documents

Publication Publication Date Title
US5867159A (en) Document processing apparatus for displaying a plurality of ruled lines at regular intervals
JP2547798B2 (en) Document processing method
JP2547799B2 (en) Document processing method
JP2810368B2 (en) Image processing method
JP2547797B2 (en) Document processing method
JP2962720B2 (en) Image processing method
JP4275808B2 (en) Character assignment processing device
JP3062259B2 (en) Document processing apparatus and method
JPH0675952A (en) Document preparing device
JPS5971528A (en) Original forming machine
JP3026617B2 (en) Document processing apparatus and method
JP2862239B2 (en) Document processing device
JPH0750477B2 (en) Information processing equipment
JPS63165852A (en) Magazine editing system
JP2933958B2 (en) Image processing apparatus and method
JP3142854B2 (en) Character editing system
JPS59135582A (en) Idle feed control system of printer for sentence processor
JPH03137764A (en) Document processor
JP2670469B2 (en) Document processing method
JPH05189424A (en) Device and method for editing document
JPH0690499B2 (en) Comic block making system
JPH0827698B2 (en) Document processing device
JPS6359653A (en) Picture processor
JPS62125355A (en) Planning editing system
JPH05334301A (en) Document processor

Legal Events

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