JPH0816904B2 - Document processing method - Google Patents

Document processing method

Info

Publication number
JPH0816904B2
JPH0816904B2 JP61165998A JP16599886A JPH0816904B2 JP H0816904 B2 JPH0816904 B2 JP H0816904B2 JP 61165998 A JP61165998 A JP 61165998A JP 16599886 A JP16599886 A JP 16599886A JP H0816904 B2 JPH0816904 B2 JP H0816904B2
Authority
JP
Japan
Prior art keywords
ruled line
document
cell
data
vertical
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
JP61165998A
Other languages
Japanese (ja)
Other versions
JPS6321172A (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 JP61165998A priority Critical patent/JPH0816904B2/en
Priority to US07/072,634 priority patent/US4953108A/en
Publication of JPS6321172A publication Critical patent/JPS6321172A/en
Publication of JPH0816904B2 publication Critical patent/JPH0816904B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、表示上で所望の枠情報を設定し、文字を配
置することのできる文書処理方法に関するものである。
Description: TECHNICAL FIELD The present invention relates to a document processing method capable of setting desired frame information on a display and arranging characters.

[従来の技術] 従来、ワードプロセツサといわれる簡易文書処理装置
で文書を作成する場合、文字は固定ピツチで見た目にも
美しさを欠けるものであったが、その操作は比較的簡単
であった。一方、本発明でいうところの組版機能を有す
る文書処理装置は、文字ピツチを変えたり、文字の大き
さを文字毎に変えたりすることができるので、見た目に
美しい文書を出力することができるが、その操作は比較
的難しいものであった。そこで、ワードプロセツサで入
力した文書を本発明でいうところの文書処理方法で組版
処理をして出力するという必要があった。
[Prior Art] Conventionally, when a document is created by a simple document processing device called a word processor, the characters are aesthetically pleasing due to the fixed pitch, but the operation is relatively easy. . On the other hand, the document processing apparatus having the typesetting function as referred to in the present invention can change the character pitch and the size of the character for each character, so that a visually beautiful document can be output. , Its operation was relatively difficult. Therefore, it is necessary to perform the typesetting process on the document input by the word processor by the document processing method according to the present invention and output it.

[発明が解決しようとする問題点] しかしながら、ワードプロセツサで作成された文書に
表として扱いたい文書データがある場合、本来この文書
データの体裁は壊すべきものではないのであるが、ワー
ドプロセツサで作成した文書を従来の文書処理装置に読
み込んだ場合、このデータが表として扱いたい文書デー
タとして扱われず、表を構成する欄の概念もなく、単に
一連の文書データとして処理するので、表として扱いた
い文書データとしてワードプロセツサから入力した文書
データが組版処理によって壊されてしまうという問題点
があった。
[Problems to be Solved by the Invention] However, if the document created by the word processor has document data that should be treated as a table, the appearance of the document data should not be destroyed. When the document created in step 2 is read into a conventional document processing device, this data is not treated as document data that you want to treat as a table, and there is no concept of columns that make up the table, and it is simply processed as a series of document data. There is a problem that the document data input from the word processor as the document data to be handled is destroyed by the typesetting process.

〔問題点を解決する為の手段〕[Means for solving problems]

上記問題点を解決する為に、本発明は入力された文書
情報を表示し、前記表示上で所望の領域を指示し、前記
指示された領域内に表示されている文字情報を検出し、
前記指示された領域をベクトル罫線データに変換し、前
記ベクトル罫線データに従って出力される罫線で囲まれ
る領域に前記検出された文字データを出力することを特
徴とする文書処理方法を提供する。
In order to solve the above problems, the present invention displays input document information, indicates a desired area on the display, and detects character information displayed in the indicated area,
A document processing method, comprising: converting the designated area into vector ruled line data; and outputting the detected character data to an area surrounded by ruled lines output according to the vector ruled line data.

[実施例] 以下、図面に従って本発明に好適な一実施例を詳細に
説明する。
Embodiment An embodiment suitable for the present invention will be described in detail below with reference to the drawings.

第1図は本発明に係る一実施例の文書処理装置のシス
テムブロツク図である。
FIG. 1 is a system block diagram of a document processing apparatus according to an embodiment of the present invention.

図において1はラスタスキヤン表示方式で使用される
CRT表示部、2は一画面分の表示パターン情報を記憶す
るビデオRAM(VRAM)、3はVRAM2に対するパターン情報
の書き込み、CRTへの読み出しの制御をする表示制御部
である。5は第4図のフローチヤートに従った制御プロ
グラムを格納したプログラムエリアPAや、文書データを
記憶エリアTXT、表に関するデータを格納するテーブル
エリア、CTB,RTB,CELLをを有する主メモリで、4はマイ
クロプロセツサ(MPU)で、この装置の主制御を行う。M
PU4には文字データ等の入力を行うキーボード8、及びC
RT上の位置の指定等を行うポインテイングデバイス(P
D)9が接続されている。6はハードデイスク装置でこ
の中に文書フアイルや文字フオルトが格納される。10は
作成された文書を出力するプリンタで、11はワードプロ
セツサで作成された文書フロツピーを入力するフロツピ
ーデイスク装置である。これらの各構成ブロツクはI/O
バス7で接続されている。
In the figure, 1 is used in the raster scan display method.
A CRT display unit 2, a video RAM (VRAM) that stores display pattern information for one screen, and a display control unit 3 that controls writing of pattern information to the VRAM 2 and reading of the CRT. Reference numeral 5 is a main memory having a program area PA storing a control program according to the flow chart of FIG. 4, a document data storage area TXT, a table area storing table data, CTB, RTB, and CELL. Is a microprocessor (MPU), which performs the main control of this device. M
A keyboard 8 for inputting character data etc. to PU4, and C
Pointing device (P
D) 9 is connected. A hard disk device 6 stores a document file and a character file. Reference numeral 10 is a printer for outputting the created document, and 11 is a floppy disk device for inputting the document floppy created by the word processor. Each of these component blocks is an I / O.
It is connected by bus 7.

以下、ワードプロセツサで作成された第9図のような
表のある文書を扱う場合を説明する。ワードプロセツサ
で入力された文書は1頁づつフロツピーデイスク装置11
より主メモリ5の文書記憶エリアTXTに読み込まれる。
このとき、第9図のような文章の罫線部分は一般には第
2図に示したようなJISC6226の罫線素片コードによって
表わされている。第3図は第9図の罫線部分を対応する
罫線素片コードの種類がわかるように分解したものであ
る。
The case of handling a document having a table as shown in FIG. 9 created by a word processor will be described below. Document input by word processor is page by page floppy disk device 11
It is read into the document storage area TXT of the main memory 5.
At this time, the ruled line portion of the sentence as shown in FIG. 9 is generally represented by the JIS C6226 ruled line segment code as shown in FIG. FIG. 3 is an exploded view of the ruled line portion of FIG. 9 so that the type of the corresponding ruled line segment code can be understood.

次に第4図に従って表の部分に関する処理を説明す
る。
Next, the processing relating to the table portion will be described with reference to FIG.

まずステツプ6−1で表の枠の検索を行う。これは表
の部分を判別する最初の処理で、表の一番外の枠を検索
する。具体的には頁の先頭より順に のコードを頁の最後まで検索し見つからなかった場合に
は、その頁には表はないものとして第4図の処理は終了
する。
First, in step 6-1 the table frame is searched. This is the first process to determine the table part, and the outermost frame of the table is searched. Specifically, from the top of the page If the code is searched to the end of the page and is not found, it is determined that there is no table on that page, and the processing of FIG. 4 ends.

見つかった場合は(第3図では5−1)そこから順に
1文字づつチエツクしていく。
If found (5-1 in FIG. 3), check one character at a time in order.

許されるコードは のみで、それ以外のコードがきた場合は現在見ている部
分は表でないとして、その部分から再度 の検索を開始する。
The allowed code is However, if other code comes in, it means that the part you are looking at is not a table and restarts from that part. Start searching for.

のコードが見つかったときは(第3図では5−2)そこ
から頁の下方向にに1文字づつチエツクしていく。許さ
れるコードは でそれ以外のコードがきた場合は の部分からステツプ6−1の検索を再開始する。以降同
様にして第3図の5−3.5−4を経て5−1に戻るチエ
ツクを行う。このチエツクが終了するとチエツクした領
域に囲まれる部分は表の枠の候補として認識され、ステ
ツプ6−2の処理に移る。
When the code is found (5-2 in FIG. 3), the characters are checked downward from the page one by one. The allowed code is If other code comes in The search of step 6-1 is restarted from the part. In the same manner, the check to return to 5-1 through 5-3.5-4 in FIG. 3 is performed. When this check ends, the portion surrounded by the checked area is recognized as a table frame candidate, and the process proceeds to step 6-2.

ステツプ6−2では表の枠の候補に含まれる縦の罫線
を主メモリ5中の縦罫線テーブルCTBに登録する。この
縦罫線テーブルLTBの詳細を第5図に示す。登録の方法
は原則としてつながった縦の罫線を1本と考えるが、横
の罫線と交わっている場合はそこで切って上下を別の罫
線と考え登録する。第3図でいえば、5−aから5−h
の9本が登録されることになる。具体的には最初に のあったところから頁の下方向に順に1文字づつチエツ
クしていき、縦の罫線を含む罫線素片コードがあれば、
それをテーブルに登録する。このとき があったときは、そこで縦罫線は終了しているため、x
座標と、上端,下端のy座標も登録するが、 の場合は未だ罫線が続いている場合があるため、下端の
y座標はここでは登録しない。
In step 6-2, the vertical ruled lines included in the table frame candidates are registered in the vertical ruled line table CTB in the main memory 5. The details of the vertical ruled line table LTB are shown in FIG. As a rule of registration, the connected vertical ruled line is considered as one line, but if it intersects with the horizontal ruled line, cut it there and consider it as another ruled line and register it. In FIG. 3, 5-a to 5-h
Will be registered. Specifically, first If there is a ruled line segment code including vertical ruled lines, check one character at a time from the point where
Register it in the table. At this time If there is, the vertical ruled line ends there, so x
The coordinates and the y coordinates of the upper and lower edges are also registered, In this case, since the ruled line may still be present, the y coordinate of the lower end is not registered here.

の場合は1本の縦罫線が登録され、さらに下端の未だ定
まらない罫線が登録されることになる。)下端の定まら
ない罫線が登録されたときは、文字が である間は順にチエツクを進め、それ以外のコードがき
たら下端の登録を行う。このとき の場合はさらに再度下端の定まらない罫線が登録され
る。以上のようにしてチエツクを行いながら縦罫線テー
ブルに罫線を登録していき、 の列まできたらこの列の処理を終了する。以下同様にし
の右の列のチエツクと登録を行い、順に の列まで同じ処理を行ってステツプ6−2の縦罫線の処
理を終了する。
In this case, one vertical ruled line is registered, and a ruled line at the lower end that has not yet been determined is registered. ) When an undefined ruled line at the bottom is registered, the characters During the period, the check progresses in sequence, and when the other code comes, the lower end is registered. At this time In the case of, the undefined ruled line at the lower end is registered again. Register the ruled lines in the vertical ruled line table while checking as described above, When the column of is reached, the processing of this column is ended. And so on Check and register in the column on the right of The same processing is performed up to the column of, and the processing of the vertical ruled line in step 6-2 is completed.

ステツプ6−3では同様の処理を横罫線に対して行
い、主メモリ5中の横罫線テーブルRTBに登録する。
In step 6-3, the same processing is performed on the horizontal ruled line and it is registered in the horizontal ruled line table RTB in the main memory 5.

以上ステツプ6−2,6−3の処理で罫線テーブル内の
罫線の属性はここでは全て表罫であるが、当然第2図以
外の罫線素片コードが使用されていれば、それに従った
罫線の属性が登録されることになる。
The attributes of the ruled lines in the ruled line table are all table rules here in the processing of steps 6-2 and 6-3, but if ruled line segment codes other than those shown in FIG. Will be registered.

ステツプ6−4ではこのようにして登録された罫線テ
ーブルCTB,RTBをもとに表の枠内の罫線で区切られる領
域が全て矩形であるかチエツクを行う。最初に縦罫線テ
ーブルCTBより順に縦の罫線を1本づつもってきて他の
縦罫線とのつながりを調べつながっているものはここで
は1本と考えるようにして縦罫線の両端を見つける。次
にこの両方の端点についてそれぞれその端点を端点とす
る横の罫線が2本づつあるか否かを横罫線テーブルRTB
で調べる。2本ない場合はそれが第3図でいえば5−1,
5−2,5−3,5−4の点であるかを調べ、そうでなければ
矩形でない領域があるので、この表の枠の候補に関して
はここでは表ではないとして第6図の処理を終了する。
同様にして縦罫線テーブルCTBに登録されている全ての
罫線についてチエツクを行い、終了したら次に横罫線テ
ーブルRTBより順に罫線を1本づつもってきて同様のチ
エツクを行う。以上のチエツクが終了すれば、この表の
枠内の罫線で区切られる部分は全て矩形と考えることが
できる。
In step 6-4, based on the ruled line tables CTB and RTB registered in this way, it is checked whether the areas delimited by the ruled lines in the frame of the table are all rectangular. First, one vertical ruled line is obtained in order from the vertical ruled line table CTB, and the connection with other vertical ruled lines is examined. Here, the one that is connected is considered to be one here, and both ends of the vertical ruled line are found. Next, for each of these both endpoints, the horizontal ruled line table RTB is checked to determine whether or not there are two horizontal ruled lines each having the endpoint as the endpoint.
Find out with. If there are not two, it is 5-1 in FIG.
Check if it is a point of 5-2, 5-3, 5-4, and if it is not, there is a non-rectangular area. Therefore, regarding the frame candidate of this table, assume that it is not a table here, and the processing of FIG. 6 is performed. finish.
Similarly, all the ruled lines registered in the vertical ruled line table CTB are checked, and when finished, the ruled lines are sequentially picked up one by one from the horizontal ruled line table RTB and the same check is performed. When the above checks are completed, all the parts delimited by the ruled lines in the frame of this table can be considered as rectangles.

最後にステツプ6−5のセルデータの登録を行う。こ
の処理は横罫線テーブルRTBより順に罫線を1本づつも
って来て、その両端のそれぞれについてそこより下に伸
びる縦罫線がないか縦罫線テーブルCTB内を検索し、な
ければその接点につながる横罫線があるはずであり、そ
れを横罫線テーブルRTBより検索し、もとの罫線と合わ
せて1本と考え、再度端点より下に伸びる縦罫線を検索
する。縦罫線があった場合はそこがセルの端となる。こ
のようにしてセルの左右の端を定め、次に左右の端のど
ちらか1方の縦罫線をもとにセルの下端を定める処理を
行う。これはその縦罫線の下端と端点とし、もとの横罫
線方向に伸びる横罫線を横罫線テーブルRTBより検索
し、あればその位置がそのセルの下端である。なければ
その端点を上端の点とする縦罫線があるはずであり、そ
れを縦罫線テーブルCTBより検索し、その下端の点に関
し、同様に横罫線テーブルRTBを検索する。以上の繰り
返しによるセルの下端が定められる。
Finally, the cell data of step 6-5 is registered. This process fetches one ruled line in order from the horizontal ruled line table RTB, searches the vertical ruled line table CTB for the vertical ruled lines that extend below it at both ends, and if not, the horizontal ruled line that connects to the contact There should be a line, and it is searched from the horizontal ruled line table RTB, it is considered as one line including the original ruled line, and the vertical ruled line extending below the end point is searched again. If there is a vertical ruled line, it becomes the edge of the cell. In this way, the left and right ends of the cell are determined, and then the lower end of the cell is determined based on either one of the left and right vertical ruled lines. This is the lower end and the end point of the vertical ruled line, the horizontal ruled line extending in the original horizontal ruled line direction is searched from the horizontal ruled line table RTB, and if there is, the position is the lower end of the cell. If there is not, there should be a vertical ruled line with the end point as the upper end point, and it is searched from the vertical ruled line table CTB, and the horizontal ruled line table RTB is similarly searched for the lower end point. The lower end of the cell is determined by repeating the above.

セルの範囲が決定したらそれを主メモリ5中のセルテ
ーブルCELLの左上x座標,y座標,右下x座標,y座標に登
録し、さらにその範囲をもとにして、そのセル内に含ま
れる文字列を決定し、その文字列を別途記憶するととも
に、その文字列へのポインタをセルテーブルCELLに登録
する。セルテーブルCELLの詳細を第5図(b)に示す。
以上の処理を横罫線テーブルRTB内の5−4より5−3
の部分を構成する横罫線以外に対して行うことにより、
この表の全てのセルが第5図(b)の如くセルテーブル
CELLに登録され、そのセル内に含まれる文字列も決定さ
れる。
When the cell range is determined, it is registered in the upper left x-coordinate, y-coordinate, lower right x-coordinate, y-coordinate of the cell table CELL in the main memory 5, and further included in the cell based on the range. A character string is determined, the character string is stored separately, and a pointer to the character string is registered in the cell table CELL. Details of the cell table CELL are shown in FIG. 5 (b).
The above processing is performed from the horizontal ruled line table RTB 5-4 to 5-3.
By performing for the lines other than the horizontal ruled lines that make up the
All cells in this table are cell tables as shown in Fig. 5 (b).
It is registered in CELL and the character string contained in the cell is also determined.

以上で第4図の処理が終了し、第9図の文書の表の部
分は表として認識され、その罫線に関する情報とセルに
関する情報は全て第5図のテーブルCTB,RTB,CELLに登録
された。
With the above, the processing of FIG. 4 is completed, the table portion of the document of FIG. 9 is recognized as a table, and the information about the ruled lines and the information about the cells are all registered in the tables CTB, RTB, and CELL of FIG. .

従って、この文書は以降本文の部分は表の枠の部分を
禁止領域として字詰め組版を行い、表の部分は第5図の
テーブルCTB,RTBより罫線を作成し、各セル内の文字は
セルテーブルCELLの情報をもとにセル内での字詰め組版
を行えば、第6図に示すような表の体裁が保たれたまま
組版された状態で出力されることになる。
Therefore, in this document, the text part is typographically formatted with the frame part of the table as the prohibited area, and the table part is created with ruled lines from the tables CTB and RTB in FIG. 5, and the characters in each cell are the cell table. When the typesetting in the cell is performed based on the information of CELL, it is output in the typeset state while the format of the table as shown in FIG. 6 is maintained.

このようにして、第9図のような表の外枠が矩形であ
り、内部の罫線で区切られた領域も全て矩形であるよう
に作成された文書はそのままで利用できることになる。
In this way, a document created such that the outer frame of the table as shown in FIG. 9 is rectangular and all the areas delimited by the inner ruled lines are also rectangular can be used as it is.

次に第7図に示すような不完全な形で作成された表を
扱う場合を説明する。このような文書は第4図の処理に
おいてステツプ6−4の罫線で構成される領域が全て矩
形であることのチエツクを行っているとき、完全な表で
はないことが判別できる。このような場合は、その時点
で文書のその頁をワードプロセツサでの表示と同様に固
定ピツチでCRT1上に表示する。そして操作者はポインテ
イングデバイス9を操作してCRT1上で罫線の追加や削除
を行い完全な表を作成するようにする。具体的には罫線
の追加の場合は、追加する罫線の両端の指示を行い、そ
の指示がなされたら装置はまずそれらの座標から縦罫線
の追加か横罫線か判断する。縦罫線の追加であれば縦罫
線テーブルCTB上からそれとつながる縦罫線を全てとり
出してきて1本とし次にその罫線と交わる横罫線を横罫
線テーブルRTBより検索し、それにより作成した縦罫線
を分割して縦罫線テーブルCTBに登録する。横罫線の追
加も同様に行う。罫線の削除は削除する罫線上の点を指
示し、装置はその座標から指示された罫線を罫線テーブ
ルCTB,RTBより検索し削除する。削除されたのが縦罫線
であれば横罫線テーブルRTBよりその縦罫線と交わって
いた横罫線を全て取り出し、つながっているものは一体
化したのち、再度縦罫線テーブルCTBを検索して分割す
る処理を行いテーブルに登録しなおす。以上のようにし
て罫線の追加削除が終了したら再度第4図のステツプ6
−4より処理を行えば第7図のような表を持つ文書も第
6図のようにして出力できるようになる。
Next, a case of handling a table created in an incomplete form as shown in FIG. 7 will be described. It is possible to determine that such a document is not a complete table when the process of FIG. 4 checks that the area formed by the ruled lines in step 6-4 is all rectangular. In such a case, that page of the document is then displayed on the CRT1 with a fixed pitch, similar to the display on a word processor. Then, the operator operates the pointing device 9 to add or delete ruled lines on the CRT 1 to create a complete table. Specifically, in the case of adding a ruled line, both ends of the ruled line to be added are instructed, and when the instruction is given, the device first determines from the coordinates thereof whether the vertical ruled line is added or the horizontal ruled line is added. If vertical ruled lines are added, all the vertical ruled lines connected to it are taken out from the vertical ruled line table CTB, set as one, and the horizontal ruled line that intersects the ruled line is searched from the horizontal ruled line table RTB, and the created vertical ruled line is created. Divide and register in vertical ruled line table CTB. Add horizontal ruled lines in the same manner. When deleting a ruled line, the point on the ruled line to be deleted is designated, and the device searches the ruled line table CTB, RTB for the designated ruled line from the coordinate and deletes it. If it is a vertical ruled line that has been deleted, all horizontal ruled lines that intersect with the vertical ruled line are fetched from the horizontal ruled line table RTB, the connected ones are integrated, and then the vertical ruled line table CTB is searched again and divided. And register again in the table. When the addition and deletion of ruled lines are completed as described above, step 6 in FIG.
By performing the processing from -4, a document having a table as shown in FIG. 7 can be output as shown in FIG.

更に第8図のような罫線を持たない表を持つ文書を扱
う場合を説明する。
Further, a case of handling a document having a table without ruled lines as shown in FIG. 8 will be described.

このような文書は第4図の処理ではステツプ6−1の
処理で表はないものとして処理されてしまう。
In the process of FIG. 4, such a document is processed as a table having no table in the process of step 6-1.

従ってこの場合は操作者はこの頁をワードプロセツサ
と同様に表示するように指示を行い、ポインテイングデ
バイス9により表の枠をその左上と右下の点を指示する
ことにより指定する。以下は第7図の場合と同様に罫線
の追加削除の処理を行えば良い。このようにすれば第8
図のように罫線を持たない表も第6図のようにして出力
できる。
Therefore, in this case, the operator gives an instruction to display this page similarly to the word processor, and designates the frame of the table by the pointing device 9 by designating the upper left and lower right points thereof. In the following, the process of adding and deleting ruled lines may be performed as in the case of FIG. In this way, the eighth
A table having no ruled lines as shown in the figure can also be output as shown in FIG.

そして、第5図のようなテーブルCTB,RTBになってい
るため、第6図のような出力を得るほかに、罫線の属性
を指定して裏罫等に罫線の種類を変更したり、また罫線
は印刷しないようにしたり、あるセル内の文字の大きさ
や書体を変更したり、縦組にしたりすることは簡単に指
定でき、またその状態のまま保存もできることになる。
Since the tables CTB and RTB are as shown in FIG. 5, in addition to obtaining the output as shown in FIG. 6, the attribute of the ruled line is specified to change the ruled line type such as the back ruled line. It is possible to specify not to print the ruled lines, to change the size and typeface of the characters in a certain cell, or to make them vertically set, and to save them as they are.

つまり、セルテーブルCELLによって定義される枠を一
つの欄として取り扱うことで、ワードプロセツサ等の固
定ピツチで作成された文書の表の体裁を保ったまま、文
書の編集、組版処理をすることができる。
In other words, by handling the frame defined by the cell table CELL as one column, it is possible to edit and typeset the document while maintaining the appearance of the document table created with a fixed pitch such as a word processor. it can.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、表示された文
書情報に対して所望の領域を指示することにより、その
領域内に表示されている文字を、領域に対応して出力さ
れる罫線で囲まれる領域に出力するので、表示上で指示
された構成の表の作成と同時にその中の文字も配置する
ことができる。
As described above, according to the present invention, by designating a desired area in the displayed document information, the characters displayed in the area are displayed as ruled lines corresponding to the area. Since the data is output to the enclosed area, it is possible to arrange the characters in the table at the same time as creating the table having the structure indicated on the display.

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

第1図は本発明に係る1実施例である文書処理装置のブ
ロツク図、第2図はJISC6226コードの罫線素片コードの
1部を示す図、第3図は第9図の罫線部分を罫線素片コ
ードに分解した図、第4図は表の判別を行い処理用のテ
ーブルを作成する処理の流れを示すフローチヤート、第
5図は罫線テーブルとセルテーブルのフオーマツトを示
す図、第6図は第9図の文書が表の体裁を保ったまま組
版された出力例、第7図,第8図はワードプロセツサで
作成された表を含む文書の例を示す図、第9図はワード
プロセツサの文書の例を示す図、第10図は第9図の文書
をそのままプロポーシヨナルに組版した例を示す図であ
る。 1……CRT表示部 2……ビデオRAM 3……表示制御部 4……マイクロプロセツサ 5……主メモリ 6……ハードデイスク装置 7……I/Oバス 8……キーボード 9……ポインテイングデバイス 10……プリンタ 11……フロツピーデイスク装置
FIG. 1 is a block diagram of a document processing apparatus according to an embodiment of the present invention, FIG. 2 is a diagram showing a part of a ruled line segment code of JIS C6226 code, and FIG. 3 is a ruled line portion of FIG. FIG. 4 is a flow chart showing the flow of processing for discriminating a table and creating a table for processing, FIG. 5 is a view showing the format of a ruled line table and a cell table, FIG. 6 Is an example of the output of the document shown in Fig. 9 formatted while maintaining the format of the table, Figs. 7 and 8 are examples of the document containing the table created by the word processor, and Fig. 9 is the word. FIG. 10 is a diagram showing an example of a document of the processor, and FIG. 10 is a diagram showing an example in which the document of FIG. 9 is directly formatted in proportion. 1 …… CRT display section 2 …… Video RAM 3 …… Display control section 4 …… Microprocessor 5 …… Main memory 6 …… Hard disk device 7 …… I / O bus 8 …… Keyboard 9 …… Pointing device 10 …… Printer 11 …… Floppy disk device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高倉 洋 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 谷口 ゆかり 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (56)参考文献 特開 昭57−182835(JP,A) 特開 昭57−10829(JP,A) ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Hiroshi Takakura 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Yukari Taniguchi 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Within the corporation (56) References JP 57-182835 (JP, A) JP 57-10829 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力された文書情報を表示し、 前記表示上で所望の領域を指示し、 前記表示された領域内に表示されている文字情報を検出
し、 前記指示された情報をベクトル罫線データに変換し、 前記ベクトル罫線データに従って出力される罫線で囲ま
れる領域に前記検出された文字データを出力することを
特徴とする文書処理方法。
1. Displaying input document information, designating a desired area on the display, detecting character information displayed in the displayed area, and designating the designated information as a vector ruled line. A document processing method, comprising converting the data into data and outputting the detected character data to an area surrounded by ruled lines output according to the vector ruled line data.
JP61165998A 1986-07-15 1986-07-15 Document processing method Expired - Fee Related JPH0816904B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61165998A JPH0816904B2 (en) 1986-07-15 1986-07-15 Document processing method
US07/072,634 US4953108A (en) 1986-07-15 1987-07-13 Document processor having a document composition function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61165998A JPH0816904B2 (en) 1986-07-15 1986-07-15 Document processing method

Publications (2)

Publication Number Publication Date
JPS6321172A JPS6321172A (en) 1988-01-28
JPH0816904B2 true JPH0816904B2 (en) 1996-02-21

Family

ID=15822974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61165998A Expired - Fee Related JPH0816904B2 (en) 1986-07-15 1986-07-15 Document processing method

Country Status (1)

Country Link
JP (1) JPH0816904B2 (en)

Also Published As

Publication number Publication date
JPS6321172A (en) 1988-01-28

Similar Documents

Publication Publication Date Title
JP3396404B2 (en) Automatic string editing system
US4953108A (en) Document processor having a document composition function
JP3474961B2 (en) Document information processing device
JPH0831092B2 (en) Document processing device
JPH0816904B2 (en) Document processing method
JPH0831093B2 (en) Document processing method
JPH0827843B2 (en) How to edit a character string in a figure
JP2698345B2 (en) Document processing method
JP2608276B2 (en) Document display device
JP2682873B2 (en) Recognition device for tabular documents
JP3264969B2 (en) Document creation device and document creation method
JPH08293033A (en) Information processor
JP2821002B2 (en) Character processing device and character processing method
JPH0731671B2 (en) Formula input editing method
JP3404770B2 (en) Document processing device
JP2771669B2 (en) Ruled line editing device
JPH0610447Y2 (en) Image processing device
JP3056850B2 (en) Document creation device with graph creation function
JPH08123801A (en) Document preparing device and frame editing method
JPH0235346B2 (en)
JPS6127253A (en) Conversation type imposition system capable of correction of letter for imposition result
JPH11296514A (en) Method and device for composing and storage medium where program for performing process thereof is recorded
JPH0769898B2 (en) Document processor
JPH0820863B2 (en) Display control method
JPS61296388A (en) Rule deletion

Legal Events

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