JPH0281262A - Document layout recovering system - Google Patents

Document layout recovering system

Info

Publication number
JPH0281262A
JPH0281262A JP63232404A JP23240488A JPH0281262A JP H0281262 A JPH0281262 A JP H0281262A JP 63232404 A JP63232404 A JP 63232404A JP 23240488 A JP23240488 A JP 23240488A JP H0281262 A JPH0281262 A JP H0281262A
Authority
JP
Japan
Prior art keywords
display
document
editing
character
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63232404A
Other languages
Japanese (ja)
Inventor
Hiroyuki Koreeda
浩行 是枝
Teiji Kuwabara
禎司 桑原
Keiichi Nakane
啓一 中根
Naomichi Nonaka
尚道 野中
Hideki Kuwamoto
英樹 桑本
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63232404A priority Critical patent/JPH0281262A/en
Publication of JPH0281262A publication Critical patent/JPH0281262A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To prevent the generation of a disturbance of a display screen by transferring display image data of a component having no relation to editing which is drawn back in advance only onto a picture drawing point of an editing object at the time of editing the component. CONSTITUTION:A document image recovering means reads out successively data of the corresponding position of drawback image data on a drawback buffer 83 with respect of a generated picture drawing point, and writes it in a picture drawing point on a display memory 6. It is executed with regard to all picture drawing points of a graphic or a character. Accordingly, only a part of a displayed editing object can be replaced with document image data of its background, and a recovery range of a display can be limited to only a range in which the character and the graphic, etc., are displayed. In such a way, a result of editing can be displayed without scarcely disturbing a screen display.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、文書レイアウト編集システムに係り。[Detailed description of the invention] [Industrial application field] The present invention relates to a document layout editing system.

特に、レイアウト表示上で高速な編集処理を行うのに好
適な文書レイアウト回復方式に関する。
In particular, the present invention relates to a document layout recovery method suitable for performing high-speed editing processing on layout display.

〔従来の技術〕[Conventional technology]

従来の文章と図表が自由に重ねられる文書のレイアウト
編集システムには、日経パソコン1987年6月8日号
PP256〜257に示されるようなものがある。
A conventional document layout editing system in which text and diagrams can be freely superimposed is the one shown in Nikkei PC June 8, 1987 issue, pp. 256-257.

このようなレイアウト編集システムでは、文書中の文章
を削除したり、追加したりするとき、編集箇所より後ろ
の文章を、図表を含めていったん画面から消去し再描画
を行って表示し直している。
In such a layout editing system, when deleting or adding text in a document, the text after the edited part, including figures and tables, is erased from the screen, redrawn, and redisplayed. .

また、図を移動したり、削除したりするとき、編集処理
に関わる矩形の範囲についていったん表示を消寺した後
、再描画を行って表示し直している。
Furthermore, when moving or deleting a figure, the rectangular range involved in the editing process is first erased from the display, and then redrawn and displayed again.

なお以下の説明で利用するビットマツプ表示における文
字や図形の描画方法は、’ Fundamentals
  of  InteractiveConputer
  Graphics’  1982゜J、D、FOL
EY&A、VANDAM著などのラスタ・グラフィック
スの標準教科書に記述されている公知のものである。
The method for drawing characters and figures in the bitmap display used in the following explanation is based on 'Fundamentals
of InteractiveComputer
Graphics' 1982゜J, D, FOL
This is a known method described in standard raster graphics textbooks such as those written by EY&A and VANDAM.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術のレイアウト回復方式により、表示を回復
すると、例えば、文章の編集時に文章だけでなく、それ
に重なっている図や表など文章編集に無関係な文書の構
成要素も、いったん文章と共に消去され、再表示するこ
とにより表示を回復しなければならない。このため、ユ
ーザにとっては編集のたびに表示画面の表示が乱され見
ずらく、また多くの構成要素からなるような複雑な文書
になる程、編集に無関係な部分の表示に時間がかかり、
編集操作に対する処理応答が遅くなる問題がある。
When the display is restored using the layout recovery method of the prior art described above, for example, when editing a text, not only the text but also the overlapping diagrams, tables, and other document components that are unrelated to the text editing are temporarily erased along with the text. The indication must be restored by redisplaying. For this reason, it is difficult for the user to view the display screen because it is disturbed every time he edits it, and the more complex the document is, the more time it takes to display parts unrelated to editing.
There is a problem that the processing response to editing operations is slow.

本発明の目的は、文章や図形が自由に重なった文書を編
集する際に、編集に無関係な文書の構成要素の表示を乱
すことなく、また再表示による表示回復より高速な文書
レイアウトの表示回復を実現することにある。
An object of the present invention is to recover the display of the document layout without disturbing the display of document components unrelated to editing when editing a document in which text and figures overlap freely, and to recover the display of the document layout faster than display recovery by redisplaying. The aim is to realize this.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的は9次のような手段により達成される。 The above object is achieved by the following means.

(1)文書イメージ・データの退避バッファ。(1) Document image data save buffer.

(2)Ii集する文書の要素以外の要素からなる文書イ
メージ・データを退避バッファに格納する手段・ (3)図形や文字の描画座標点を発生する手段。
(2) Means for storing document image data consisting of elements other than the elements of the collected document in a save buffer. (3) Means for generating drawing coordinate points of figures and characters.

(4)(3)で発生した座標点に対応した(2)で格納
した退避バッファのデータを読出し、表示メモリの座標
位置に書込む文書イメージ回復手段。
(4) A document image recovery means that reads the data stored in the save buffer in (2) corresponding to the coordinate point generated in (3) and writes it into the coordinate position of the display memory.

〔作用〕[Effect]

文書の構成要素の内編集したい要素をユーザが選択した
際、編集する要素を除いた文書イメージ・データを退避
する。
When a user selects an element to be edited among the constituent elements of a document, the document image data excluding the element to be edited is saved.

要素に対し移動、削除等の編集をユーザが指示したとき
、いったん指示された編集対象を消去して上記の文書イ
メージデータを回復し、そのあとで、新たな編集結果を
表示し直す、この中で編集対象を消去する際、描画座標
点を発生する手段は。
When the user instructs an element to be edited, such as moving or deleting, the specified editing target is deleted, the document image data is recovered, and the new editing results are then displayed again. What is the method for generating drawing coordinate points when erasing the editing target?

編集対象が文字のときは、その文字属性に従い、図形な
らばその描画パラメータに従い、その図形や文字の描画
点を順次求める。
When the object to be edited is a character, the drawing points of the figure or character are sequentially determined according to the character attributes, and when the object is a figure, according to the drawing parameters.

文書イメージ回復手段は、上記発生された描画点に対し
、逐次退避バッファ上の退避イメージデータの対応する
位置のデータを読出し、表示メモリ上の描画点に書込む
。これをすべての図形または文字の描画点について行う
ことにより、表示されていた編集対象の部分のみをその
背景の文書イメージデータに置換えることができ、表示
の回復範囲を文字や図形などの表示されていた範囲だけ
に限定できるため、画面表示をほとんど乱すことなく編
集結果を表示することができる。
The document image recovery means sequentially reads the data at the corresponding position of the saved image data on the save buffer with respect to the generated drawing point, and writes it to the drawing point on the display memory. By doing this for all the drawing points of all figures or characters, you can replace only the displayed part to be edited with the background document image data, and the recovery range of the display can be expanded to Editing results can be displayed without disturbing the screen display.

また、再表示で編集中でない他の文書の構成要素を表示
回復する方式に比べ、表示回復が必要最小限の範囲でイ
メージデータを単純転送すればよく、表示回復速度の向
上が見込める。これは1文書や図形の編集に対する応答
速度の向上をもたらす。
Furthermore, compared to a method of restoring the display of components of other documents that are not being edited by redisplaying, it is sufficient to simply transfer image data within the necessary minimum range for display recovery, and an improvement in display recovery speed can be expected. This improves the response speed for editing a single document or figure.

〔実施例〕〔Example〕

以下、本発明の一実施例を図を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は、本発明に関するハードウェアの一実施例であ
る。
FIG. 2 is an example of hardware related to the present invention.

この図において、2は演算処理装置、3は主メモiハ4
は表示処理装置、12は外部記憶装置。
In this figure, 2 is an arithmetic processing unit, 3 is a main memory i, 4
12 is a display processing device, and 12 is an external storage device.

9はその外部記憶制御装置、13はキーボード。9 is the external storage control device, and 13 is the keyboard.

10はそのキーボード制御装置、11はがな漢字変換用
の辞書メモリを示し、1はそれらを結ぶ共通バスである
。また1表示系バス14によって表示処理装置4、文字
フォントメモリ52表示メモリ6が結ばれている。表示
メモリ6は、実際に画面に表示する表示部分と、非表示
部分に分かれ。
Reference numeral 10 indicates a keyboard control device, 11 a dictionary memory for converting Hagana to Kanji, and 1 a common bus connecting them. Further, the display processing device 4, the character font memory 52, and the display memory 6 are connected by a display bus 14. The display memory 6 is divided into a display part that is actually displayed on the screen and a non-display part.

表示制御装置7は、周期的に表示メモリ6の表示部分を
読出し、表示装置8に映像信号として送出することによ
り、常に表示メモリ6の表示部分の内容を反映した表示
を行う。
The display control device 7 periodically reads out the display portion of the display memory 6 and sends it to the display device 8 as a video signal, thereby always performing a display that reflects the contents of the display portion of the display memory 6.

主メモリ3には、本発明に係るプログラムやデータを格
納し、演算処理装置2が主メモリ3上のには、外部記憶
制御装置9を介して外部記憶装置12と主メモリ3の間
で、データやプログラムの退避1回復を行う。また、キ
ーボード制御装置10を介してユーザからのキーボード
13の入力を受取り、必要に応じて辞書メモリ11の内
容に従い、かな漢字変換を行い、変換結果を文書データ
として主メモリ3に格納する。
The main memory 3 stores programs and data according to the present invention, and the arithmetic processing unit 2 is stored on the main memory 3 between the external storage device 12 and the main memory 3 via the external storage control device 9. Save and restore data and programs. It also receives input from the keyboard 13 from the user via the keyboard control device 10, performs kana-kanji conversion according to the contents of the dictionary memory 11 as necessary, and stores the conversion results in the main memory 3 as document data.

また、演算処理装置2が表示処理装置4に表示処理要求
を発行することにより、表示処理装置4が表示メモリへ
の文字2図形、イメージなどの展開を行う。例えば文字
表示の場合、演算処理装置2の指示により、演算処理装
置2が、文字フォントメモリ5から指示された文字のフ
ォントデータを取出し、演算処理装置2が指定した表示
位置にあたる表示メモリ6上のアドレスにフォントデー
タを転送することにより、実現される。
Further, when the arithmetic processing device 2 issues a display processing request to the display processing device 4, the display processing device 4 develops characters 2, graphics, images, etc. into the display memory. For example, in the case of character display, in response to an instruction from the arithmetic processing unit 2, the arithmetic processing unit 2 retrieves the font data of the specified character from the character font memory 5, and stores it in the display memory 6 corresponding to the display position specified by the arithmetic processing unit 2. This is achieved by transferring font data to the address.

なお、ここでは表示画面上の文書レイアウト表示に対応
した表示メモリ上のデータを文書イメージデータと呼ぶ
Note that data on the display memory corresponding to the document layout displayed on the display screen is herein referred to as document image data.

第3図は本実施例によって実現される統合文書の一例で
あり、文書は複数の領域と呼ぶ矩形の範囲から成る。こ
れらの領域のそれぞれに文章1図形、イメージなどを個
別に表示できる。
FIG. 3 shows an example of an integrated document realized by this embodiment, and the document consists of a plurality of rectangular ranges called areas. Text, figures, images, etc. can be displayed individually in each of these areas.

用紙30上には本文領域31が余白部33を除いた全面
に取られる。また、任意の位置、サイズで図やイメージ
の領域(32−(α)〜32−(C))を配置すること
ができ、領域の重なり順に従って表示される。領域32
は、排他/非排他。
A text area 31 is provided on the entire surface of the paper 30 excluding the margin area 33. In addition, the drawing or image regions (32-(α) to 32-(C)) can be arranged at arbitrary positions and sizes, and are displayed according to the order in which the regions overlap. area 32
is exclusive/non-exclusive.

透明/不透明の属性が指定でき、排他であればその領域
をさけて本文が表示され、非排他であれば、本文はその
領域を無視して表示される。このため、本文とその領域
は重なって表示される。
Transparent/opaque attributes can be specified; if it is exclusive, the text will be displayed avoiding that area; if it is non-exclusive, the text will be displayed ignoring that area. Therefore, the main text and its area are displayed overlapping each other.

また、透明であれば、その領域より下に重ねられている
領域が透けて表示され、不透明であれば下に重ねられて
いる領域を表示しない。
Further, if the area is transparent, the area overlaid below the area is displayed transparently, and if it is opaque, the area overlaid below is not displayed.

文書編集は、領域単位でその中に含まれる文章。Document editing is the text included in each area.

図、イメージを編集し、さらに各領域を移動、複写する
などの領域操作を行うことにより実現する。
This is achieved by editing diagrams and images and performing area operations such as moving and copying each area.

このような文書の構造は、第4図のようなテーブルで管
理できる。頁管理テーブル50は頁単位の属性情報を管
理するテーブルで、用紙サイズ51や用紙の縦/横を示
す用紙方向52.上下左右の余白値53などの情報を持
ち、さらにその頁に存在する領域の領域テーブル6oへ
のポインタ55を持つ、領域テーブル60は、表示の重
なりで最も下の領域から順にリスト構造で連結する。
The structure of such a document can be managed using a table as shown in FIG. The page management table 50 is a table for managing attribute information for each page, including paper size 51 and paper direction 52 indicating the length/width of the paper. The area table 60, which has information such as top, bottom, left, and right margin values 53, and a pointer 55 to the area table 6o of the area existing on the page, is connected in a list structure starting from the lowest area due to display overlap. .

連結は次の領域テーブルへのポインタ61によって行う
Connection is performed using a pointer 61 to the next area table.

領域テーブル60は、透明/不透明属性、排他/非排他
属性などの領域属性62や、領域の縦横サイズ64や領
域左上端の領域位置65を、第3図の用紙原点34を原
点とする座標系に基づき保持する。また領域内に表示す
るデータの種類(本文2図形、イメージ、表など)を示
す領域種別66、領域内データ7oを指定する領域番号
67を持つ。
The area table 60 includes area attributes 62 such as transparent/opaque attributes and exclusive/non-exclusive attributes, the vertical and horizontal sizes 64 of the area, and the area position 65 at the upper left corner of the area in a coordinate system whose origin is the paper origin 34 in FIG. Retained based on. It also has an area type 66 that indicates the type of data to be displayed within the area (text 2 figures, images, tables, etc.) and an area number 67 that specifies the data 7o within the area.

領域内データ70は領域番号によって唯一に識別され、
領域種別66に応じた領域内の文書データを持つ。例え
ば、本文なら文字データとその属性データ、ケイ線デー
タ、図形なら図形プリミティブの識別子とそのパラメー
タ、イメージならビットマツプのイメージデータなどを
持っている。
The area data 70 is uniquely identified by the area number,
It has document data within the area according to the area type 66. For example, a text has character data and its attribute data, a line data, a figure has a figure primitive identifier and its parameters, an image has bitmap image data, etc.

これらのデータは各領域の左上端を原点とする座標系で
記述される。
These data are described in a coordinate system whose origin is the upper left corner of each area.

レイアウト表示は、次のようにして達成される。Layout display is achieved as follows.

すなわち、領域テーブル60のリストを重な順で下位の
方から順に参照し、領域サイズ64.領域位N65で示
される文書上の位置に、領域番号67で示される領域内
データ70を、領域種別66に応じて解釈して表示を行
う、このとき、領域属性情報12に従って表示する。
That is, the list of area table 60 is referred to in descending order of overlap, and area size 64. The area data 70 indicated by the area number 67 is interpreted and displayed according to the area type 66 at the position on the document indicated by the area position N65. At this time, it is displayed according to the area attribute information 12.

以上のようにして、第3図のような統合文書を画面表示
することができる。このような文書では本文や各領域の
間で自由な重なりを許しているため、レイアウトの自由
度が高い。
In the manner described above, an integrated document as shown in FIG. 3 can be displayed on the screen. In such a document, free overlap is allowed between the main text and each area, so there is a high degree of freedom in layout.

ところが、このような文書では、例えば領域32−(α
)の三角形を移動すると、領域32−(b)の表や本文
の文章のうち三角関形で隠れていた部分が欠けたままと
なるため、レイアウト表示が常に印刷イメージを表すよ
う保つためには、このような編集中でない領域について
も表示回復を行う必要がある。また、編集した領域が、
領域32− (b)のように最前面にない場合、それよ
り前面にある領域に隠れてしまい、領域内の編集が行い
にくい。
However, in such a document, for example, the area 32-(α
) If you move the triangle in area 32-(b), the parts of the table and main text that were hidden by the triangle will remain missing, so in order to keep the layout display always representing the printed image, , it is necessary to perform display recovery even for such areas that are not being edited. Also, the edited area is
If it is not in the foreground as shown in area 32-(b), it will be hidden by an area in the foreground, making it difficult to edit within the area.

このため、第5図に示すように、編集したい領域32−
 (b)を、編集中のみ最前面に表示して、ユーザがそ
の内容を全て見られるように、この領域内の編集により
、他の領域の表示が破壊された場合は、それを高速に表
示回復するようなレイアウト編集方法が必要になる。
Therefore, as shown in FIG. 5, the area 32-
(b) is displayed in the foreground only during editing so that the user can see all of its contents.If editing in this area destroys the display in other areas, it is displayed at high speed. A layout editing method that recovers is required.

次に、このレイアウトの表示回復を高速に行うための処
理方式について説明する。
Next, a processing method for quickly recovering the display of this layout will be described.

第6図は、そのために用いるテーブルおよび表示メモリ
の構成を示したものである。表示メモリ6は表示部分8
1と非表示部分82に分かれ1表示部分81に格納され
た文書イメージデータが画面上に表示される。86.8
7は用紙上で編集中の領域の表示範囲を示す対角2点を
示す。非表示部分82には表示部分81と同サイズの退
避バッファ83を設け、ここに表示部分81の退避イメ
ージデータ84を格納する。退避バッファ83は退避バ
ッファ管理テーブル90によって管理され、退避バッフ
ァ83が空か、退避データ有りかを示す退避バッファ、
フラグ91と、表示画面上の座標系で、イメージを退避
した文書表示の範囲(対角2点の座標)を示すイメージ
退避範囲92のフィールドを持つ。
FIG. 6 shows the structure of the table and display memory used for this purpose. Display memory 6 is display part 8
Document image data divided into 1 and non-display portion 82 and stored in 1 display portion 81 is displayed on the screen. 86.8
7 indicates two diagonal points indicating the display range of the area being edited on the paper. A save buffer 83 having the same size as the display portion 81 is provided in the non-display portion 82, and save image data 84 of the display portion 81 is stored therein. The evacuation buffer 83 is managed by an evacuation buffer management table 90, and an evacuation buffer that indicates whether the evacuation buffer 83 is empty or contains evacuation data;
It has a flag 91 and an image save range field 92 that indicates the document display range (coordinates of two diagonal points) in which the image is saved in the coordinate system on the display screen.

以上のような構成において、実祭の編集を行ったときの
本発明に係る表示処理を以下に示す。
In the above configuration, display processing according to the present invention when editing a festival will be described below.

第7図は同じサイズの文章と図形の領域を重ねて表示し
た文書で、文章の編集を行ったときの例を示したもので
ある。
FIG. 7 shows an example of text editing in a document in which text and graphic areas of the same size are displayed overlapping each other.

まず、文章の編集を開始するときに、ステップ■に示す
ように文章編集に関わりのない図形等を順次表示メモリ
6上に書込み、これを退避バッファ83にそのまま単純
転送した後、文章を表示メモリ6上に書込む。この図で
破線は、各文字の文字パターンの表示範囲を示す。
First, when starting to edit a text, as shown in step ■, figures etc. that are not related to text editing are sequentially written onto the display memory 6, and after simply transferring them to the save buffer 83, the text is transferred to the display memory. 6 Write on top. In this figure, the broken line indicates the display range of the character pattern of each character.

ここで、文字「い」と「う」の間に「せ」という文字を
挿入する場合について考えると、まず、文字挿入により
、「う」以後の文字の表示位置を順に後へずらす必要が
ある。このため、いったん文字を消去しなければならな
いが、単に消去するだけでは、破線で囲まれた各四角形
内にある図形も消去されてしまい、レイアウト表示が乱
れる。
Now, if we consider the case of inserting the character ``se'' between the characters ``i'' and ``u'', first, by character insertion, it is necessary to shift the display position of the characters after ``u'' to the rear in order. . For this reason, it is necessary to erase the characters once, but simply erasing them also erases the figures within each rectangle surrounded by broken lines, which disrupts the layout display.

このため、「う」以下のような文字列の表示回復手段を
設け、これを実行することにより、各文字のサイズや形
状に応じた文字の表示範囲について、退避バッファ83
に格納されている図形等の文書イメージデータの該当部
分を読出して表示メモリ6に書込み、ステップ■のよう
に「う」以下の文書表示について文字を表示する以前の
状態に戻す。その後で、ステップ■のように文字「せ」
を挿入したあとの新たな文章の配列を表示する。
Therefore, by providing a display recovery means for character strings such as "U" and following, and executing this, the display range of characters according to the size and shape of each character can be restored to the save buffer 83.
The corresponding part of the document image data such as figures stored in is read out and written into the display memory 6, and as in step (2), the document display after "U" is returned to the state before displaying characters. After that, step
Display the new sequence of sentences after inserting .

ここで、重要な役割を持つ文字範囲の表示回復手段につ
いて第1図、第8図を用いて説明することにする。
Here, the character range display recovery means which plays an important role will be explained using FIGS. 1 and 8.

第8図は、文章の一般的な管理データ構造を示したもの
で、文字列データ210は文章中の文字列の並びについ
て、それぞれの文字列コード211と、倍角や斜体等の
文字属性212を持つ。
FIG. 8 shows the general management data structure of a text. Character string data 210 includes character string codes 211 and character attributes 212 such as double-width and italic for the arrangement of character strings in a text. have

行制御データは文章の各行について、文字列データ21
0中の行先頭の文字データを差し示す行頭文字ポインタ
201.その行の標準文字サイズ202、文字間隔20
32行間隔204を持つ。
Line control data is character string data 21 for each line of text.
A bullet pointer pointer 201 that points to the character data at the beginning of a line in 0. Standard character size for that line: 202, character spacing: 20
It has 32 line spacing 204.

ここで、文字列の表示範囲について文書レイアウト表示
の回復を行うとき、文字列中の各文字について第一図の
ような処理を行うことにより、文字属性応じた表示回復
処理を行うことができる。
Here, when restoring the document layout display for the display range of a character string, by performing the processing as shown in Figure 1 for each character in the character string, it is possible to perform display restoration processing according to character attributes.

以下では、この文字範囲の表示回復処理220について
詳しく説明することにする。
Below, this character range display recovery processing 220 will be explained in detail.

まず、消去する文字の行桁位置から、画面表示上の文字
表示位置を求める(221)。画面上の縦方向の位置は
、1行目から消去する文字の行までの間の文字サイズ2
02、行間隔204を加算して求まるし、横方向の位置
は、その行での文字サイズ202.と文字間隔203か
ら求めることができる。次に、消去する文字の文字属性
221を文字列データ、21oから読出しく221)、
文字サイズに応じた文字フォントの矩形範囲の各座標点
を順次発生してゆ< (223) 、230、は3×3
の座標点から成る文字パターンの例で、斜線の部分が、
斜線のない部分と表示する明るさが異なり「L」の形を
表示している。このパターンでは、9つの各点に対応す
る表示画面上の座標点を順次発生することになる。
First, the character display position on the screen display is determined from the line column position of the character to be erased (221). The vertical position on the screen is the font size 2 between the first line and the line of the character to be erased.
02, the line spacing 204, and the horizontal position is determined by adding the font size 202.02 in that line. can be determined from the character spacing 203. Next, read the character attribute 221 of the character to be erased from the character string data 21o (221),
Sequentially generate each coordinate point of the rectangular range of the character font according to the character size.
In the example of a character pattern consisting of coordinate points, the diagonally shaded part is
The displayed brightness is different from the part without diagonal lines, and the shape of an "L" is displayed. In this pattern, coordinate points on the display screen corresponding to each of the nine points are sequentially generated.

文字属性で、倍角が指定されているときは、(224)
、231に示すように、座標点の位置を横方向で倍にし
て、1つの点に対して横に2つ分の座標点を発生する(
225)。
When double-width is specified in the character attribute, (224)
, 231, the position of the coordinate point is doubled in the horizontal direction to generate two coordinate points horizontally for one point (
225).

文字属性で、斜体が指定されているときは(226)、
縦方向の表示位置が上になるのに比例して、座標点の発
生を右にずらして232のように各点の画面上の座標点
を発生する(227)。
When italic is specified in the character attribute (226),
In proportion to the upward display position in the vertical direction, the generation of coordinate points is shifted to the right to generate coordinate points for each point on the screen as shown in 232 (227).

このようにして発生した各座標点に対応する退避バッフ
ァ上の文書イメージデータを読出し、表示画面の座標点
位置に転送する(228)。
The document image data on the save buffer corresponding to each coordinate point thus generated is read out and transferred to the coordinate point position on the display screen (228).

このような処理を文字パターンの矩形範囲内の点につい
てすべて行うと、文字範囲についての文書レイアウト表
示の回復が完了する。
When such processing is performed for all points within the rectangular range of the character pattern, recovery of the document layout display for the character range is completed.

このような方式により、文章を編集する際、文章以外の
図表等の表示が乱れず、文章の編集範囲をいったん消去
して再表示するのに比べ、速度も速い。
With this method, when editing a text, the display of figures and tables other than the text is not disturbed, and the editing speed is faster than erasing the editing range of the text and then redisplaying it.

なお、以上の例では、画面上の一点単位で回復処理を行
っているが、通常の表示処理装置では数点をまとめて一
度に処理することができ、高速に回復を行うことができ
る。
Note that in the above example, recovery processing is performed for each point on the screen, but with a normal display processing device, several points can be processed at once, and recovery can be performed at high speed.

次に、文書レイアウトを表示した画面上で5図形を編集
する場合について、第9図を用いて説明する。
Next, the case where five figures are edited on the screen displaying the document layout will be explained using FIG. 9.

この図では、ハツチングされた円を移動する場合を示し
ており、まず、退避バッファ83にはあらかじめ図形を
除いた文書イメージデータを退避しておく。
This figure shows a case where a hatched circle is moved. First, document image data from which figures have been removed is saved in the save buffer 83 in advance.

ユーザから移動が指示されると、ステップ■ように1円
の表示されている部分ついて、文書イメージデータを切
り出して表示メモリ6に転送しく破線内が回復した文書
イメージを示す)、次に、ステップ■のように新たな移
動位置に円を描画し直す。
When the user instructs the user to move, the document image data is cut out and transferred to the display memory 6 for the portion where the 1 yen is displayed as shown in step (2). Redraw the circle at the new movement position as shown in ■.

このうち、ステップ■の図形の消去は、第10図のフロ
ー図100に示される方法により実現される。まず、消
去する円の半径と中心位置の原振が与えられると通常の
ラスクグラフィックスにおける円描画と同様、第9図(
b)の105のような円の周囲点の座標値を順次発生す
る(101)。
Of these, the erasure of the figure in step (2) is realized by the method shown in the flowchart 100 of FIG. First, when the radius of the circle to be erased and the original vibration of the center position are given, as in drawing a circle in normal Rask graphics, as shown in Figure 9 (
The coordinate values of the surrounding points of the circle such as 105 in b) are sequentially generated (101).

ここで、各y座標における円の周囲の点で(105−(
α)と、105−(e))で囲まれた直線(105−(
α)〜105  (e)の点)をハツチングパターンの
データに従い描画すると、第8図のステップ■のような
ハツチング円が表示できる。これを消すためには、ハツ
チングパターンの代わりに、表示位置に対応する退避バ
ッファ83上の文書イメージデータを読み出して表示メ
モリ6に書込む処理(102)を円の上端から下端まで
のy座標について、それぞれ繰返す(103)。 この
ような方式によると、描画する図形の必要な範囲のみの
データを転送するため、図形編集中に他の文章等の表示
が乱れず、図形の編集範囲をいったん消去して再表示す
るのに比べ、速度も速い。
Here, at the points around the circle at each y-coordinate (105-(
α) and the straight line (105-(e)) surrounded by
When points α) to 105 (e) are drawn according to the data of the hatching pattern, a hatched circle as shown in step (2) in FIG. 8 can be displayed. In order to erase this, instead of the hatching pattern, the process (102) of reading the document image data on the save buffer 83 corresponding to the display position and writing it to the display memory 6 is performed using the y coordinate from the top to the bottom of the circle. (103). According to this method, data is transferred only for the necessary range of the figure to be drawn, so the display of other text etc. is not disturbed while the figure is being edited, and it is easy to erase the edited range of the figure and redisplay it. Comparatively, it is faster.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、文章9図2表等の構成要素からなる統
合文書を編集する文書処理システムにおいて、構成要素
を編集する際、あらかじめ退避しておいた編集に無関係
な構成要素の表示イメージデータを、編集対象の描画点
上のみに限って転送して表示の回復を行うため、表示上
、編集に関わる矩形範囲がいったん消去されるといった
表示画面の乱れが生じない、といった効果がある。
According to the present invention, in a document processing system that edits an integrated document consisting of constituent elements such as sentences, figures, two tables, etc., when editing constituent elements, display image data of constituent elements unrelated to editing that has been saved in advance is provided. Since the display is restored by transferring the data only to the drawing point to be edited, there is an effect that the display screen is not disrupted, such as the rectangular range related to editing being temporarily erased.

また、いったん矩形範囲を消去し、すべての構成要素を
再表示して回復する方式に比べ高速な表示回復ができる
In addition, display recovery can be performed faster than a method in which the rectangular area is once erased and all the constituent elements are redisplayed and recovered.

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

第1図は、本発明の一実施例で1文字表示範囲の文書レ
イアウト表示回復処理フロー、第2図は本発明を実施す
るための装置構成図、第3図は本実施例における統合文
書の例を示す図、第4図は統合文書処理を実現するため
の文書データ構成図。 第5図は領域内編集時の文書表示例を示す図、第6図は
5表示メモリと退避バッファ管理テーブルの構成図、第
7図は、文章編集の処理手順の説明図、第8図は文章の
管理テーブル構成図、第9図は、図形編集の処理手順の
説明図、第10図は、図形表示範囲の文書イメージ回復
処理フローである。 6・・・表示メモリ、8・・・表示装置、83・・・退
避バッファ、84・・・文書イメージ・データ、100
・・・図形表示範囲の文書イメージ回復処理、200・
・行制御テーブル、文字列データ210,212・・・
文字属性、220・・・文字範囲の表示回復処理。 箒 図 集 + 図 第 図 退避バッファ83 察 図 第 図 纂 図
FIG. 1 is a document layout display recovery processing flow for a single character display range in an embodiment of the present invention, FIG. 2 is a configuration diagram of an apparatus for implementing the present invention, and FIG. A diagram showing an example, FIG. 4 is a document data configuration diagram for realizing integrated document processing. Figure 5 is a diagram showing an example of document display during editing within a region, Figure 6 is a configuration diagram of the 5 display memory and save buffer management table, Figure 7 is an explanatory diagram of the processing procedure for text editing, and Figure 8 is FIG. 9 is an explanatory diagram of a processing procedure for graphic editing, and FIG. 10 is a flowchart of document image recovery processing for a graphic display range. 6... Display memory, 8... Display device, 83... Save buffer, 84... Document image data, 100
...Document image recovery processing for graphic display range, 200.
・Row control table, character string data 210, 212...
Character attribute, 220... Character range display recovery processing. Broom drawing collection + drawing drawing buffer 83 drawing drawing drawing compilation drawing

Claims (1)

【特許請求の範囲】 1、表示メモリと、文書イメージ・データの退避バッフ
ァと、表示処理装置を少なくとも有し、文章、図表等の
複数の構成要素からなる文書を編集する文書処理システ
ムにおいて、編集対象とする構成要素以外から成るの文
書イメージデータを上記退避バッファに格納する第1の
手段と、文字、図形等の画面上での表示座標点を発生す
る第2の手段と、上記表示座標点に対応する位置の上記
文書イメージ、データを読出し、表示メモリ上の表示座
標点の位置に対応するアドレスに書込む第3の手段を設
けたことを特徴とする文書レイアウト回復方式。 2、上記第2の手段において、文字属性情報に基づき、
個々の文字の描画座標点を発生する手段を設けたことを
特徴する請求項一記載の文書レイアウト回復方式。
[Scope of Claims] 1. In a document processing system that includes at least a display memory, a document image data save buffer, and a display processing device, and that edits a document consisting of a plurality of constituent elements such as sentences and charts. a first means for storing document image data consisting of components other than the target components in the save buffer; a second means for generating display coordinate points on the screen for characters, figures, etc.; and a second means for generating display coordinate points for characters, figures, etc. on the screen; A document layout recovery method characterized in that a third means is provided for reading the document image and data at a position corresponding to the position and writing the document image and data at a position corresponding to the display coordinate point on the display memory at an address corresponding to the position of the display coordinate point. 2. In the second means, based on the character attribute information,
2. The document layout recovery method according to claim 1, further comprising means for generating drawing coordinate points of individual characters.
JP63232404A 1988-09-19 1988-09-19 Document layout recovering system Pending JPH0281262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63232404A JPH0281262A (en) 1988-09-19 1988-09-19 Document layout recovering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63232404A JPH0281262A (en) 1988-09-19 1988-09-19 Document layout recovering system

Publications (1)

Publication Number Publication Date
JPH0281262A true JPH0281262A (en) 1990-03-22

Family

ID=16938716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63232404A Pending JPH0281262A (en) 1988-09-19 1988-09-19 Document layout recovering system

Country Status (1)

Country Link
JP (1) JPH0281262A (en)

Similar Documents

Publication Publication Date Title
JPS595277A (en) Display indication system for multi-window screen
KR940022322A (en) Display method and device
JPH0281262A (en) Document layout recovering system
JPH0752442B2 (en) Document editing device
JPS59202494A (en) Overlapped written pattern corrector
JPS597992A (en) Display indication system with multi-window screen
JPS6360671A (en) Document picture processor
JPH04288593A (en) Image display device
JP3035126B2 (en) Information processing device
JPH04111054A (en) Document processor
KR950000540B1 (en) Window generating method and apparatus therefor
JPH08123972A (en) Object document editing device
JPH01263764A (en) Layout editing processor
JPS62177582A (en) Multi-window display control system
JPS6359654A (en) Picture processor
JP2851840B2 (en) Document processing device
JPS61138340A (en) Editing device of picture
JPS61160794A (en) Rule display control system
JPH0561630A (en) Method for displaying multiwindow of image display device
JPH08249481A (en) Drawing processor
JPS58146982A (en) Device for editing document
JPS6045448B2 (en) cathode ray tube graphic display device
JPH0411020B2 (en)
JPS59125406A (en) Automatic computer programming device
Imam et al. An enhanced video driver for the IBM personal computer