JPH0677191B2 - Display control method - Google Patents

Display control method

Info

Publication number
JPH0677191B2
JPH0677191B2 JP59200072A JP20007284A JPH0677191B2 JP H0677191 B2 JPH0677191 B2 JP H0677191B2 JP 59200072 A JP59200072 A JP 59200072A JP 20007284 A JP20007284 A JP 20007284A JP H0677191 B2 JPH0677191 B2 JP H0677191B2
Authority
JP
Japan
Prior art keywords
line
display
character string
page
displayed
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 - Lifetime
Application number
JP59200072A
Other languages
Japanese (ja)
Other versions
JPS6177090A (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 JP59200072A priority Critical patent/JPH0677191B2/en
Publication of JPS6177090A publication Critical patent/JPS6177090A/en
Publication of JPH0677191B2 publication Critical patent/JPH0677191B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 [技術分野] 本発明は、表示中の文書に対して文字列の挿入等の編集
を施した場合に、編集結果を表示する際の表示制御方法
に関するものである。
Description: TECHNICAL FIELD The present invention relates to a display control method for displaying an edited result when a document being displayed is edited by inserting a character string or the like.

[従来技術] 従来のワードプロセッサにおける表示装置においては、
印刷の際のフォーマット(書式)とは必ずしも一致しな
い形式で表示がなされており、また1ページ分の文書を
1画面に表示できなかったため、表示画面から印刷結果
を把握するのが困難であった。
[Prior Art] In a display device in a conventional word processor,
It is difficult to grasp the print result from the display screen because the display is made in a format that does not necessarily match the format used for printing and the document for one page could not be displayed on one screen. .

このため、印刷結果の把握には、入力・編集のための文
書表示とは別に、文字をシンボル化したレイアウトを表
示することが必要であった。
Therefore, in order to grasp the print result, it is necessary to display a layout in which characters are symbolized, in addition to the document display for inputting / editing.

上記の欠点を解消するものとして、近年、1ページ分の
データを、書式に従って1画面に高解像度で表示可能な
ビットマップディスプレイと呼ばれる表示装置が現れて
きている。
In order to solve the above-mentioned drawbacks, in recent years, a display device called a bitmap display, which can display one page of data on one screen in high resolution according to a format, has appeared.

しかしながら、かかる装置にあっては、入力や編集を行
うと、その影響が表示中のページ全体の各文字位置に及
ぶ可能性がある。例えば、組版における浮動ブロック
は、前後の文字列の挿入・削除に応じて、前のページに
追い込まれたり、次のページに追い出されたりすること
があり、それに伴い、表示内容も大幅に変更される。
However, in such a device, when inputting or editing, the influence may affect each character position of the entire page being displayed. For example, the floating block in formatting may be pushed to the previous page or pushed to the next page according to the insertion / deletion of the character string before and after, and the display content is also changed significantly. It

このため、従来のビットマップディスプレイでは、入力
や編集の度に、書式情報に従って、表示中の1頁全体の
各文字の位置を再度決定して再表示しているので、再表
示に時間がかかり、十分な表示応答性が得られないとい
う問題があった。
Therefore, in the conventional bitmap display, the position of each character on the entire one page being displayed is determined again according to the format information every time inputting or editing is performed, and the character is displayed again. However, there is a problem that sufficient display responsiveness cannot be obtained.

[目的] 以上の点に鑑み、本発明の目的は、できるだけ印刷状態
に近い状態で文字列を表示画面に表示しながら、文字列
の編集に際して、表示画面中に拡張表示領域等の特別な
領域を設けることなく、編集後の文字列を速やかに表示
できる表示制御方法を提供することにある。
[Objective] In view of the above points, an object of the present invention is to display a character string on a display screen in a state as close as possible to a printing state, and at the time of editing the character string, a special area such as an extended display area in the display screen. An object of the present invention is to provide a display control method capable of promptly displaying a character string after editing without providing.

[実施例] 以下図面に従って本発明によ一実施例を詳細に説明す
る。第1図は本発明に係る一実施例の表示装置を備える
パーソナルコンピュータのシステムブロック図である。
図において、1はラスタスキャン表示方式で使用される
CRT表示部、2は一画面分の表示パターン情報をドット
マトリックスで記憶するビデオRAM(VRAM)、3はVRAM2
に対するパターン情報の書き込みとCRTへの読み出しの
制御をする表示制御部である。4は主メモリ5を有する
マイクロプロセッサ(MPU)で、パーソナルコンピュー
タシステムの主制御を行うと共に実施例の表示装置の主
制御を行う。5は主メモリで、例えば、第4図に示す制
御手順をPMEM、文書をBMEM、書式情報であるフォーマッ
ト情報をFMEM、カーソル位置をCCに記憶する。MPU4には
CRT表示部1に対して移動可能に位置指定入力を行うた
めのポインティングデバイス(PD)8とデータの入力や
組版の指令を行うキーボード9が接続されている。6は
ディスク装置で、この中にフォンントファイルと称する
文字パターンやシンボル、図形パターンのセットが格納
されている。そしてこれらの各構成ブロックはMPU4のI/
Oバス7で接続されている。
Embodiment An embodiment according to the present invention will be described in detail below with reference to the drawings. FIG. 1 is a system block diagram of a personal computer including a display device according to an embodiment of the present invention.
In the figure, 1 is used in a raster scan display system.
CRT display unit, 2 is a video RAM (VRAM) that stores display pattern information for one screen in a dot matrix, and 3 is VRAM2
Is a display control unit that controls writing of pattern information to and reading from the CRT. Reference numeral 4 denotes a microprocessor (MPU) having a main memory 5, which performs main control of the personal computer system and main control of the display device of the embodiment. A main memory 5 stores, for example, the control procedure shown in FIG. 4 in PMEM, the document in BMEM, the format information which is format information in FMEM, and the cursor position in CC. For MPU4
A pointing device (PD) 8 for movably inputting a position designation to the CRT display unit 1 and a keyboard 9 for inputting data and instructing typesetting are connected. A disk device 6 stores a set of character patterns, symbols, and graphic patterns called a font file. And each of these building blocks is I / O of MPU4.
It is connected by O bus 7.

第2図A、B、Cは実施例の表示態様を示す説明図であ
る。第2図は1ページ分の組版された文書を示してい
る。10bは版面と呼ばれる論理的な表示枠である。
2A, 2B and 2C are explanatory views showing the display mode of the embodiment. FIG. 2 shows a formatted document for one page. 10b is a logical display frame called a printing plate.

今、10aの斜線部のデータを削除すると、第2図Bのよ
うになる。これはデータをページ全体で再組版するので
はなくて、編集を受けた行のみで字詰め処理や禁則処理
を行う。其結果10cのような形になる。
Now, if the data in the shaded area of 10a is deleted, it becomes as shown in FIG. 2B. This does not reformat the data on the entire page, but only the edited lines are used for character closing and kinsoku processing. As a result, it looks like 10c.

第2図Cは第2図Aの文書に対し10dの斜線部を挿入し
たことを示す。挿入に際しては1行の組版処理でデータ
が吸収出来るときは、挿入行に対してのみ組版が行われ
るだけである。しかし一行で吸収できなくなると下の行
から表示ページの最後の行迄一行ずつ下げられ、空いた
行にあふれた文字列が10eが字詰め表示される。この時1
0fは版面10bを越えて表示される。10fの表示は表示が物
理的な可能な限り行われる。
FIG. 2C shows that a hatched portion of 10d is inserted in the document of FIG. 2A. When inserting, if the data can be absorbed by the typesetting process of one line, the typesetting is performed only on the inserted line. However, if it can not be absorbed by one line, it will be lowered line by line from the bottom line to the last line of the display page, and the overflowed character string will be displayed as 10e. This time 1
0f is displayed beyond the printing plate 10b. The display of 10f is performed as much as physically possible.

第3図は実施例の表示装置の制御概念を示すブロック図
である。制御は主にMPU4によって行われるが、第4図及
び第5図はMPU4の実行手順を示すフローチャートであ
る。
FIG. 3 is a block diagram showing the control concept of the display device of the embodiment. The control is mainly performed by the MPU 4, and FIGS. 4 and 5 are flowcharts showing the execution procedure of the MPU 4.

第4図において、ステップ51が本願発明の表示工程に対
応し、ステップ52〜55が挿入指示工程に対応し、ステッ
プ56が判断工程に対応し、ステップ57〜62が挿入結果表
示工程に対応している。上述に示した実施例の作動を第
4図、第5図を参照して説明する。
In FIG. 4, step 51 corresponds to the display step of the present invention, steps 52 to 55 correspond to the insertion instruction step, step 56 corresponds to the judgment step, and steps 57 to 62 correspond to the insertion result display step. ing. The operation of the embodiment described above will be described with reference to FIGS. 4 and 5.

ステップ50では文字コードやコマンドコードかならるコ
ードデータを主メモリ5内にメモリBMEMに読み込む。コ
ードデータはディスク装置6の文書ファイルから読み込
まれる場合もあるし、キーボード8から読み込まれる場
合(入力される場合もある)。
In step 50, code data that is a character code or a command code is read into the memory BMEM in the main memory 5. The code data may be read from the document file of the disk device 6 or read from the keyboard 8 (may be input).

ステップ51は頁組版制御4bによって実行され、メモリン
BMEMの内容をメモリFMEMに記憶されたフォーマット情報
に従って一頁分表示する。具体的には頁組版制御4bはメ
モリBMEMの内容を順に取り出し、行組版制御4cにより一
行毎の字詰め、禁則処理を行いながら、各行毎の字数の
バランスや頁頭、頁末禁則、柱、ノンブルの処理等を行
い、一頁分の組体裁を整えて表示制御4dにより一頁分の
イメージをVRAMに展開する。このとき表示制御4dは各文
字のコードや字体、字の大きさ、展開する位置に関する
情報を受けとり、それをもとにディスク装置6のフォン
トファイルより文字のパターンを得てVRAM上に展開す
る。ステップ52より62までは主に制御手段4aがその処理
を行う。ステップ52でキーボード9よりデータを受けと
ると、ステップ53で処理の終了の指示か否かをテストし
終了でなければ、ステップ54で入力の種類をテストす
る。頁全体の再組版指示であれば、ステップ51に戻り、
頁全体の組版処理、表示を行う。データの挿入、削除で
あれば、ステップ55に移り、行組版制御4cにより該等行
の字詰め禁則処理を行い、表示制御4dにより表示する。
ステップ56ではデータが該当行に全て表示できたか否か
のテストを行い、表示できていれば、ステップ52のキー
ボードからの入力に戻り、以降上述の繰り返しとなる。
表示できていなければ、ステップ60〜62の次行以降を一
行づつ繰り下げて、空き行を作成し、そこに挿入データ
のあふれ分を表示する処理に移るが、すぐにこれを行う
と同一位置への連続した挿入の際に挿入の度に次行以降
が下げられ、後ろに空きのある行が連続して作成される
可能性があるため、ステップ57〜59がある。まずステッ
プ57で次行にまだ字を入れる余裕があるか否かをテスト
し、空きがなければ、ステップ60へ行く。空きがあるか
否かはフォーマティングの一頁の行数とVRAMの記憶容量
(表示容量)により定まる。もし空きがあれば、ステッ
プ58にてあふれ分と次行のデータを合わせて、行組版制
御4cにより次行の字詰め禁則処理を行い、表示制御4dに
より表示する。その後ステップ59であふれか否かをテス
トし、またあふれがあれば、ステップ60へ、なければ、
ステップ52のキーボードからの入力処理に戻る。ステッ
プ60で次行の一行繰り下げ処理を行う。このときメモリ
FMEMのフォーマット情報に、かかる頁の行数を増加させ
た行数データ記憶させる。かかる処理は頁組版制御4bを
動かさず、VRAM上の操作のみで行えるため高速に行え
る。ステップ61で空いた行にあふれ分を一行組版で表示
し、以降ステップ62のテストによりあふれ分がなくなる
まで、ステップ60と61を繰り返す。
Step 51 is executed by the page composition control 4b
The contents of BMEM are displayed for one page according to the format information stored in the memory FMEM. Specifically, the page composition control 4b fetches the contents of the memory BMEM in order, and the line composition control 4c performs line-by-line character packing and prohibition processing, while balancing the number of characters in each line, page head, end-of-page prohibition, pillars, and page numbers. Processing is performed to prepare a one-page structure, and display control 4d develops a one-page image in the VRAM. At this time, the display control 4d receives the information about the code and character style of each character, the size of the character, and the expansion position, and based on this, obtains the character pattern from the font file of the disk device 6 and expands it on the VRAM. The control means 4a mainly performs the processing from steps 52 to 62. When data is received from the keyboard 9 in step 52, it is tested in step 53 whether or not it is an instruction to end the process. If not, the type of input is tested in step 54. If it is an instruction to reformat the entire page, return to step 51,
Formats and displays the entire page. If data is inserted or deleted, the process proceeds to step 55, the line typesetting control 4c performs the line spacing prohibition process, and the display control 4d displays it.
In step 56, a test is performed as to whether or not all the data has been displayed in the relevant line, and if it is displayed, the process returns to the input from the keyboard in step 52, and the above-mentioned steps are repeated.
If it is not displayed, the line after step 60 to 62 is moved down one line at a time to create a blank line and move to the process of displaying the overflow of the inserted data, but if you do this immediately, it will move to the same position. There is a step 57 to 59 because the row after the next row is lowered at each insertion in the case of consecutive insertion of and there is a possibility that a row with an empty space behind is created continuously. First, in step 57, it is tested whether or not there is still room in the next line, and if there is no space, go to step 60. Whether or not there is space is determined by the number of lines on one page of formatting and the storage capacity (display capacity) of VRAM. If there is a vacancy, the overflow and the data of the next line are combined in step 58, the line-composition control 4c performs the character-filling prohibition process of the next line, and the display control 4d displays the data. After that, in step 59, it is tested whether there is overflow, and if there is overflow, go to step 60.
The process returns to the keyboard input processing in step 52. In step 60, the next line is carried forward. Memory at this time
The line number data in which the number of lines of the page is increased is stored in the FMEM format information. Such processing can be performed at high speed because the page composition control 4b is not moved and only the operation on the VRAM is performed. In step 61, the overflow is displayed in a blank line on the empty line, and steps 60 and 61 are repeated until the overflow in the test in step 62 is exhausted.

上述の如く頁を拡大した場合、カーソルをあふれた行の
位置に移し、制御キーを操作することでふたたび表示画
面をもとのフォーマット情報に基づく画面にもどせる。
When the page is enlarged as described above, the cursor is moved to the position of the overflowing line and the control key is operated to return the display screen to the screen based on the original format information.

第5図にその制御手順を示す如く制御キーが操作された
か否かをチェックする。そうであれば、カーソルメモリ
CCの内容(カーソルは画面上をポインティング装置で移
動し、それにつれてカーソルメモリの内容をかえる。)
を読み込む。もしあふれ行であれば(フォーマット情報
により分る)、あふれ行を含む次頁の内容も合せてVRAM
に記憶させ表示させる。もしあふれ行でなければ、もと
の一頁のデータをVRAMに移し、あふれ行を表示上から消
す。
As shown in the control procedure in FIG. 5, it is checked whether the control key has been operated. If so, cursor memory
CC contents (The cursor moves on the screen with the pointing device, and the contents of the cursor memory change accordingly.)
Read. If it is an overflow line (identified by the format information), include the contents of the next page including the overflow line in VRAM.
Memorize and display. If it is not an overflow line, move the original page data to VRAM and erase the overflow line from the display.

上述の例ではあふれ行の説明であったが、削除により一
頁の行数がすくなくなった場合、次頁の内容を一部該頁
に移す。
In the above example, the overflow line was explained, but when the number of lines on one page becomes small due to deletion, part of the contents of the next page is moved to the page.

上述の如きあふれ行を表示する場合、その行をカラーで
表示しても良い。その場合、第4図のあふれ行の判断の
ところで、挿入される情報に対してカラーの情報を付加
して、その頁の表示情報と識別する。その場合、表示装
置はカラーで、表示装置の色識別回路があるものとす
る。
When displaying the overflow line as described above, the line may be displayed in color. In that case, color information is added to the information to be inserted at the judgment of the overflow line in FIG. 4, and it is distinguished from the display information of the page. In that case, it is assumed that the display device is in color and has a color identification circuit of the display device.

[効果] 以上説明したように、本発明によれば、文字列の編集に
際して、ある行の文字列に他の文字列を挿入して得られ
る合成文字列が、1行に収まらないと判断された場合
に、前記合成文字列を表示可能な領域を確保するため
に、挿入位置の次行以降を行単位で繰り下げ表示すると
ともに、前記合成文字列を、前記挿入位置を含む行以降
に、書式情報に基づいて連続的に表示するようにしたの
で、できるだけ印刷状態に近い状態で文字列を表示画面
に表示しながら、編集後の文字列を速やかに表示できる
という効果がある。
[Effect] As described above, according to the present invention, when a character string is edited, it is determined that a composite character string obtained by inserting another character string into a character string on a certain line does not fit on one line. In this case, in order to secure a region in which the composite character string can be displayed, the line after the insertion position is displayed in line units, and the composite character string is formatted after the line including the insertion position. Since it is displayed continuously based on the information, there is an effect that the edited character string can be quickly displayed while displaying the character string on the display screen in a state as close as possible to the printed state.

また、表示画面中に拡張表示領域等の特別な領域を設け
る必要がないので、画面を表示領域として広く利用でき
るという効果が得られる。
Further, since it is not necessary to provide a special area such as an extended display area in the display screen, the effect that the screen can be widely used as a display area is obtained.

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

第1図は本発明にかかる一実施例のブロック図 第2図A、B、Cは表示装置の表示態様を説明する図 第3図はマイクロプロセッサの作動を説明する図 第4図は本発明の制御手順を説明する図 第5図は制御手順を説明する図 PMEM……メモリ BMEM……メモリ FMEM……メモリ FIG. 1 is a block diagram of an embodiment according to the present invention. FIGS. 2A, 2B and 2C are diagrams for explaining a display mode of a display device. FIG. 3 is a diagram for explaining the operation of a microprocessor. Fig. 5 is a diagram explaining the control procedure of PMEM …… Memory BMEM …… Memory FMEM …… Memory

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐合 正樹 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (56)参考文献 特開 昭54−7826(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Masaki Saai, 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (56) References JP-A-54-7826 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文書中の文字配列を規定する書式情報に基
づいて、文書を頁単位で表示する表示工程と、 該表示工程により表示された文書中で、文字列の挿入を
指示する挿入指示工程と、 前記挿入指示工程の対象となる行全体の文字列に、挿入
が指示された前記文字列を挿入して得られる合成文字列
を、前記書式情報に基づいて表示した場合に、1行に収
まるかを判断する判断工程と、 該判断工程により1行に収まらないと判断された場合
に、前記合成文字列を表示可能な領域を確保するため
に、前記挿入位置の次行以降を行単位で繰り下げ表示す
るとともに、前記合成文字列を、前記挿入位置を含む行
以降に、前記書式情報に基づいて連続的に表示する挿入
結果表示工程とを有することを特徴とする表示制御方
法。
1. A display step of displaying a document page by page based on format information defining a character arrangement in the document, and an insertion instruction for instructing insertion of a character string in the document displayed by the display step. Step, and when a composite character string obtained by inserting the character string instructed to be inserted into the character string of the entire line targeted for the insertion instruction process is displayed based on the format information, one line is displayed. And a line after the insertion position in order to secure an area in which the composite character string can be displayed when it is determined that the line does not fit on one line. An insertion result display step of displaying the composite character string continuously after the line including the insertion position based on the format information while displaying the composite character string in a lowered manner.
JP59200072A 1984-09-25 1984-09-25 Display control method Expired - Lifetime JPH0677191B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59200072A JPH0677191B2 (en) 1984-09-25 1984-09-25 Display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59200072A JPH0677191B2 (en) 1984-09-25 1984-09-25 Display control method

Publications (2)

Publication Number Publication Date
JPS6177090A JPS6177090A (en) 1986-04-19
JPH0677191B2 true JPH0677191B2 (en) 1994-09-28

Family

ID=16418373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59200072A Expired - Lifetime JPH0677191B2 (en) 1984-09-25 1984-09-25 Display control method

Country Status (1)

Country Link
JP (1) JPH0677191B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185447A (en) * 1997-09-05 1999-03-30 Nec Corp Hyperlink management device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS547826A (en) * 1977-06-20 1979-01-20 Matsushita Electric Ind Co Ltd Character display unit

Also Published As

Publication number Publication date
JPS6177090A (en) 1986-04-19

Similar Documents

Publication Publication Date Title
US4785296A (en) Method and system for displaying image data
US4745561A (en) Character font pattern editing system for modification of font patterns
CA1183977A (en) Information processing apparatus
US4428065A (en) Data processing system with multiple display apparatus
US4298957A (en) Data processing system with character sort apparatus
US4189727A (en) Display advance system for a word processor
JPH026072B2 (en)
US4717911A (en) Technique for chaining lines of a document together to facilitate editing or proofreading
JPH04128970A (en) Document processing system
EP0359110B1 (en) Entry text display system
JPH0570832B2 (en)
JPH0677191B2 (en) Display control method
JPS642952B2 (en)
JPH0219462B2 (en)
JPH0664597B2 (en) Display control method
JPH0750477B2 (en) Information processing equipment
JP2851840B2 (en) Document processing device
JP2606579B2 (en) Character display device
EP0360501B1 (en) A text-editing apparatus with real time display function
JPH0447865B2 (en)
JPS644188B2 (en)
JP2607044B2 (en) Document creation device and display output control method in document creation device
JP2737845B2 (en) Character processing method and apparatus
JPH06301672A (en) Document creation device
JPH0997251A (en) Document editing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term