JPS63131265A - Document forming device - Google Patents

Document forming device

Info

Publication number
JPS63131265A
JPS63131265A JP61276598A JP27659886A JPS63131265A JP S63131265 A JPS63131265 A JP S63131265A JP 61276598 A JP61276598 A JP 61276598A JP 27659886 A JP27659886 A JP 27659886A JP S63131265 A JPS63131265 A JP S63131265A
Authority
JP
Japan
Prior art keywords
area
editing
document
task
section
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
JP61276598A
Other languages
Japanese (ja)
Inventor
Masaki Fujiwara
正樹 藤原
Shigeki Taniguchi
茂樹 谷口
Masanori Kawase
川瀬 正紀
Hitoshi Tamura
等 田村
Keiichi Nakane
啓一 中根
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 JP61276598A priority Critical patent/JPS63131265A/en
Publication of JPS63131265A publication Critical patent/JPS63131265A/en
Priority to US07/632,612 priority patent/US5142618A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve the operability of forming a document by mutually changing over editing operation without terminating the functions of respective editing parts such as forming and editing data in an area, editing the area in a layout screen, and changing over display pages. CONSTITUTION:An input part 1, a display part 2, a storage part 3 and a printing part 4 are connected to a control part 5. The control part 5 controls respective parts, and it consists of an input control part 51, a window control part 52, a system control part 53, a printing control part 54, a display control part 55, an editing part 56, a system control part 57, and a file editing part 58. The document is formed and edited in the editing part 56 consisting of two parts of a document editing part 561 and an area editing part 562.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はテキスト、グラフ、図形などのように・異なっ
た種類のデータを混在させて文書を作成。
[Detailed Description of the Invention] [Industrial Application Field] The present invention creates a document by mixing different types of data such as text, graphs, figures, etc.

編集することができる文書作成装置に関する。The present invention relates to a document creation device that can be edited.

〔従来の技術〕[Conventional technology]

近年、ワードプロセッサなどの文書作成装置においては
、扱うデータの種類がこれまでのテキスト(文字)デー
タだけでなく、図形、グラフ、表。
In recent years, document creation devices such as word processors handle not only text (character) data, but also graphics, graphs, and tables.

イメージといったように種類が多くなってきている。ま
た、これら複数のデータが混在する文書の作成9編集方
法としては、特開昭61−18036号公報に記載のよ
うに、作成文書の頁レイアウト上で編集するデータの格
納されている領域を指定し、た後。
There are more and more types as shown in the image. In addition, as a method for creating/editing a document in which multiple types of data are mixed, as described in Japanese Patent Application Laid-open No. 18036/1983, specifying the area where the data to be edited is stored on the page layout of the created document After that.

その領域に対する詳細情報を上記頁レイアウトとは画面
士別のエリアに表示して編集するという方法がとられて
いる。
A method is used in which detailed information for that area is displayed and edited in areas different from the page layout described above.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、利用者がある領域を編集中にさらに別
の領域を編集したり、また、ある領域を編集中にその領
域が存在する頁とは別の頁のレイアウトを参照したりす
るといった点については配慮されておらず、このため、
上記のような操作を、(1要とする場合には現在作成し
ている領域の編集を一旦終了するか、または、現在作成
している文書を印刷した後にそれを参照しながら別の領
域の編集を再開するといった手順を踏まわばならず、文
書作成効率が悪いという問題があった。
The above-mentioned conventional technology allows users to edit another area while editing a certain area, or refer to the layout of a page other than the page on which that area exists while editing a certain area. This point has not been taken into account, and for this reason,
Perform the above operations (if you only need one, either finish editing the currently created area, or print the currently created document and then edit it in another area while referring to it). There was a problem in that document creation efficiency was poor because it was necessary to go through the steps of restarting editing.

本発明の目的は、複数のデータが混在する文書の作成に
おいて、各種データの作成2編集及びレイアウト表示上
における領域の編集や表示部の切り換えなどをそれぞれ
終了させることなく、他の編集操作に切り換えることが
可能な文書作成装置を提供することにある。
An object of the present invention is to switch to other editing operations without completing the creation and editing of various data, editing of areas on layout display, switching of display parts, etc., when creating a document containing a mixture of multiple data. The object of the present invention is to provide a document creation device that can perform the following tasks.

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

上記目的は1文書中に記載する記載要素を領域毎に入力
する入力部と、入力された記載要素を記憶する記憶部と
、前記記憶手段に記憶された各種記載要素を表示する表
示部とを備えた文書作成装置において、作成文書の頁レ
イアウトを前記表示部により表示し、該表示に従って領
域の編集を行う文書編集部と、各領域内の記載要素デー
タを作成9編集する記載要素データの種別に応じた複数
の領域編集部゛と、前記文書編集部において作成。
The above purpose is to provide an input section for inputting description elements to be described in one document for each area, a storage section for storing input description elements, and a display section for displaying various description elements stored in the storage means. In the document creation device, the document editing section displays the page layout of the created document on the display section and edits the area according to the display, and the type of description element data that creates and edits the description element data in each area. Created by multiple area editing sections according to the document and the document editing section.

更新を指示された領域の艷載要素データの種別に従い該
当する領域編集部を起動する起動手段と、前記文書編集
部と前記起動手段によって起動された領域編集部とを、
どちらもその機能を終了させることなく切り換える編集
部切り換え手段とを設けることにより、達成される。
activating means for activating a corresponding area editing section according to the type of loading element data of the area instructed to be updated; and an area editing section activated by the document editing section and the activating means;
Both of these can be achieved by providing editing section switching means that switches the editing section without terminating its function.

〔作用〕[Effect]

編集部切り換え手段は、現在編集中となっている編集部
による処理を一旦中断させ、また、既に中断させられて
いた他の編集部による処理を再開させるように動作する
。これにより、他の編集部の操作に移る際には、現在処
理中の編集部を終了させる必要がないので、文書の作成
効率が向上する。
The editing section switching means operates to temporarily interrupt the processing by the editing section that is currently editing, and to restart the processing by another editing section that has already been interrupted. As a result, when moving on to the operation of another editing section, there is no need to terminate the editing section currently in process, thereby improving document creation efficiency.

〔実施例〕〔Example〕

以下、本発明を日本語ワードプロセッサに実施した例に
ついて図面により説明する。
Hereinafter, an example in which the present invention is implemented in a Japanese word processor will be explained with reference to the drawings.

第1図は本発明を適用した日本語ワードプロセッサの構
成を示すブロック図で、1は文字等の入力を行うキーボ
ードや操作対象や機能名等を指示するマウスなどによる
ポインティングデバイス等による入力部、2は文字2図
形等を表示するCRTディスプレイなどによる表示部、
3は半導体メモリや磁気記憶装置等による記憶部で、作
成した文書内容や後述するウィンドウの管理情報等が記
憶される。4はワイヤドツトプリンタなどによる印刷部
、5は前記各部の制御を行うためのマイクロプロセッサ
などによる制御部で入力制御部51゜ウィンドウ管理部
52.システム制御部53.印刷制御部542表示制御
部552編集部56.システム管理部57.ファイル編
集部58により構成される。本実施例において文書の作
成ならびに編集は1編集部56にて行い、編集部56は
さらに文書編集部561.領域編集部562の2つの部
分から構成されている。
FIG. 1 is a block diagram showing the configuration of a Japanese word processor to which the present invention is applied, in which 1 is an input section using a keyboard for inputting characters, a pointing device such as a mouse for indicating operation targets, function names, etc., 2 is a display unit such as a CRT display that displays characters, figures, etc.
Reference numeral 3 denotes a storage unit such as a semiconductor memory or a magnetic storage device, which stores the contents of created documents, window management information, etc. to be described later. 4 is a printing section such as a wire dot printer, and 5 is a control section such as a microprocessor for controlling each of the above-mentioned sections, including an input control section 51, a window management section 52. System control unit 53. Print control section 542 Display control section 552 Editorial section 56. System management department 57. It is composed of a file editing section 58. In this embodiment, document creation and editing are performed by one editing section 56, which further includes a document editing section 561. The area editing section 562 is composed of two parts.

第2図に表示部2に表示される画面を示す。画1iT2
1は、メニューエリア22.Ml集エリア23゜アイコ
ンエリア24から構成される。各編集部は。
FIG. 2 shows a screen displayed on the display unit 2. Picture 1iT2
1 is the menu area 22. It consists of an Ml collection area 23° and an icon area 24. Each editorial department.

編集エリア23にそれぞれ独自に矩形の枠25(以下ウ
ィンドウと呼ぶ)内にデータを表示し、そのウィンドウ
内において個別に文書データの編焦を行う、メニューエ
リア22には各編集部の機能分類名称26(以下プルダ
ウンメニュー名称と呼ぶ)が表示され、オペレータがマ
ウスによりプルダウンメニュー名称26を指示すると、
ウィンドウが設定され(以下ウィンドウのオープンと呼
ぶ)、内部に詳細な機能項目一覧28が表示される(以
下プルダウンメニューと呼ぶ)。例えば、第2図に示し
たように、メニューエリア22には。
Data is displayed in each rectangular frame 25 (hereinafter referred to as a window) in the editing area 23, and document data is individually edited within the window.The menu area 22 displays the functional classification name of each editing section. 26 (hereinafter referred to as pull-down menu name) is displayed, and when the operator points to pull-down menu name 26 with the mouse,
A window is set (hereinafter referred to as opening a window), and a detailed list of function items 28 is displayed inside (hereinafter referred to as a pull-down menu). For example, as shown in FIG. 2, in the menu area 22.

編集、印刷といったプルダウンメニュー名称26が表示
され、オペレータがマウスにより編集を指示するとプル
ダウンメニュー28がオープンして新規作成、更新等の
機能項目が表示される。この状態でオペレータがマウス
により機能項目を指示すると指示された機能が実行され
ることになる。
Pull-down menu names 26 such as edit and print are displayed, and when the operator instructs editing using the mouse, a pull-down menu 28 opens and function items such as new creation and update are displayed. In this state, when the operator specifies a function item with the mouse, the specified function will be executed.

ウィンドウ25は、例えばウィンドウ名称を表示するキ
ャプションエリア251.データを表示するデータエリ
ア252.オペレータがウィンドウのクローズ、移動、
サイズ変更等の操作を指示するための制御エリア253
から構成される。アイコンエリア24には、編集部等の
各プログラムを表現する絵文字(以下アイコンと呼ぶ)
27が表示され、オペレータの指定によりアイコンが選
択されると対応するプログラムが起動される。
The window 25 includes a caption area 251 . . . that displays a window name, for example. Data area 252 for displaying data. Operators can close, move, or
Control area 253 for instructing operations such as resizing
It consists of The icon area 24 contains pictograms (hereinafter referred to as icons) representing each program such as the editorial department.
27 is displayed, and when an icon is selected by the operator, the corresponding program is started.

マウス31は第3図に示したように、例えば操作対象1
機能等を選択する実行ボタ23112選択した操作対象
を取り消すための取消ボタン312を備える。マウスカ
ーソル3oはオペレータがマウス31を移動させる動作
に追従して画面21内に移動し、画面21内の操作対象
等を指示するために使用する。
As shown in FIG. 3, the mouse 31, for example,
An execution button 23112 for selecting a function etc. and a cancel button 312 for canceling the selected operation target are provided. The mouse cursor 3o moves within the screen 21 following the movement of the mouse 31 by the operator, and is used to indicate an operation target within the screen 21.

以下2制御部5を構成する各部分について説明する。Each part constituting the second control section 5 will be explained below.

システム管理部57は、入力制御部51から通知される
アイコンに対応した、例えばファイル編集部582文書
編集部561などの、プログラムを起動する。アイコン
とプログラムとの対応は、アイコン管理テーブル571
により管理し、第4図に示すアイコン管理テーブル57
1にはアイコン番号と対応するプログラム番号が格納さ
れる。
The system management unit 57 starts programs corresponding to the icons notified from the input control unit 51, such as the file editing unit 582 and the document editing unit 561. The correspondence between icons and programs is shown in the icon management table 571.
The icon management table 57 shown in FIG.
1 stores the program number corresponding to the icon number.

プログラム番号は各プログラムに割当てられた識別番号
で、各プロゲラl、は第5図に示すプログラム制御テー
ブル572により管理される。プログラム制御テーブル
572はプログラム制御ブロック573(以下PCBと
略記する)をプログラム番号順に配列したものである。
The program number is an identification number assigned to each program, and each program is managed by a program control table 572 shown in FIG. The program control table 572 has program control blocks 573 (hereinafter abbreviated as PCB) arranged in order of program number.

PCB573には、プログラムの開始番地情報5731
.スタックの番地情報5732.優先度情報5733.
親プログラム番号5734.データ種別情報5735、
その他のプログラム、属性情報5736が格納される。
The PCB 573 contains program start address information 5731
.. Stack address information 5732. Priority information 5733.
Parent program number 5734. Data type information 5735,
Other programs and attribute information 5736 are stored.

親プログラム番号5734は当該プログラムがどのプロ
グラムから起動されるかを示すものである。
The parent program number 5734 indicates from which program the program is started.

データ種別情報5735は当該プログラムがどのような
、例えばテキスト、図形というような、データを扱うか
を示すもので、データ番号が格納される。また、データ
番号に対応するデータ名称は第6図に示すように、デー
タ名称定義テーブル(以下DNDTと略記する)574
に格納される。
Data type information 5735 indicates what kind of data the program handles, such as text and graphics, and stores a data number. In addition, the data name corresponding to the data number is stored in the data name definition table (hereinafter abbreviated as DNDT) 574, as shown in FIG.
is stored in

ファイル編集部58は、記憶部3に格納されている文書
の一覧をウィンドウ内に表示し、指定された文書の編集
を行う。ここで、文書の編集とは、文書の更新指示、削
除、印刷等の総称である。
The file editing section 58 displays a list of documents stored in the storage section 3 in a window, and edits the specified document. Here, document editing is a general term for updating, deleting, printing, etc. of a document.

文書編集部561は、ファイル編集部58で作成、更新
を指示された文書の該当部のレイアウトをウィンドウ内
に表示し1頁上の領域の編集を行う。ここで、領域の編
集とは、領域内要素データの新規作成及び更新の指示、
さらに削除、移動。
The document editing section 561 displays in a window the layout of the corresponding part of the document that the file editing section 58 has instructed to create or update, and edits the area one page higher. Here, editing an area refers to instructions for creating and updating element data within the area,
Further delete and move.

複写などの総称である。It is a general term for things such as copying.

領域編集部562は1文書編集部561において新規作
成、更新を指示された領域の内容をウィンドウ内に表示
し、その領域内データの作成2編集を行う。領域編集部
562は、データの種別に応じて各種編集部がある。す
なわち、テキストデータ編集部、グラフデータ編集部2
図形データ編集部などである。
The area editing unit 562 displays in a window the contents of the area for which new creation or updating has been instructed by the one-document editing unit 561, and performs creation and editing of data within the area. The area editing section 562 includes various editing sections depending on the type of data. That is, text data editing section, graph data editing section 2
This includes the graphic data editing department.

以上の編集部の内、文書作成開始後、実行可能な編集部
は常に画面上最上位のウィンドウの編集部とする。また
、ウィンドウを最上位にする。すなわち、編集部を切り
換えるためには1表示されているウィンドウ上へマウス
カーソル30を移動させ、実行ボタン311を押下する
ことにより行う。この指示されたウィンドウの重なり順
の変更はウィンドウ管理部52によって行う。
Among the above editing sections, the one that can be executed after the start of document creation is always the editing section in the topmost window on the screen. Also, make the window the top level. That is, to switch the editing section, move the mouse cursor 30 onto the currently displayed window and press the execution button 311. This specified change in the stacking order of windows is performed by the window management unit 52.

ウィンドウ管理部52は、ウィンドウの重なり順の変更
の他、各&1東部からの要求に従って画面上にウィンド
ウをオープンしたリフローズしたりする。画面上にオー
プンされているウィンドウは、第7図に示すウィンドウ
管理テーブル521によって管理される6ウインドウ管
理テーブル521はウィンドウ管理ブロック522(以
下WCBと略記する)をウィンドウ番号順に配列したも
のである。WCn522には以下に示す情報が格納され
る。
In addition to changing the stacking order of windows, the window management unit 52 opens and refreezes windows on the screen in accordance with requests from each &1 East. The windows opened on the screen are managed by the window management table 521 shown in FIG. 7. The window management table 521 has window management blocks 522 (hereinafter abbreviated as WCB) arranged in order of window number. The following information is stored in the WCn522.

・ウィンドウの設定位置とサイズ情報5221画面21
の左上を原点とした場合のウィンドウ左上X座標、同y
座標、右下X座標、同y座標を格納する。
・Window setting position and size information 5221 Screen 21
If the origin is the upper left of the window, the upper left X coordinate of the window, the same y
Store the coordinates, the lower right X coordinate, and the lower right y coordinate.

・ウィンドウの重なり順情報5222 複数のウィンドウが画面上にオープンされている場合、
それらがどういう順番で重なっているかを示す情報が格
納される。
- Window stacking order information 5222 If multiple windows are open on the screen,
Information indicating the order in which they overlap is stored.

・ウィンドウ名称情報5223 ウィンドウ25のキャプションエリア251に表示する
ウィンドウ名称を格納する。
- Window name information 5223 Stores the window name to be displayed in the caption area 251 of the window 25.

・タスク番号5224 当該ウィンドウを設定したタスクの番号が格納される。・Task number 5224 The number of the task that set the window is stored.

各編集部は1つのタスクとして生成され。Each editorial department is generated as one task.

タスク番号は編集部がタスクとして生成されるときに、
・以下に述べるシステム制御部53によって、与えられ
る。
The task number is determined by the editorial department when it is generated as a task.
- Provided by the system control unit 53 described below.

・ウィンドウ表示イメージの格納位置情報5225各ウ
インドウに対し1つのウィンドウ表示バッファが用意さ
れ、そこにウィンドウの表示イメージデータが格納され
る。ウィンドウ表示イメージの格納位1i5225には
該当するウィンドウ表示バッファの位置が格納される。
- Window display image storage location information 5225 One window display buffer is prepared for each window, and the display image data of the window is stored there. The location of the corresponding window display buffer is stored in the window display image storage location 1i5225.

この情報はウィンドウの重なり順の変更時にウィンドウ
の下に隠れた部分の表示イメージを回復するために使用
される。
This information is used to recover the display image of the portion hidden beneath the window when changing the stacking order of the windows.

728に表示するメニューデータの格納番地を格納する
Stores the storage address of menu data to be displayed in 728.

・使用中フラグ情報5227 すCB522が使用中かどうかを示す情報を格納する。- In-use flag information 5227 Stores information indicating whether the CB 522 is in use.

ウィンドウ管理部52は以上の情報に基づき、ウィンド
ウの重なり順の変更、オープン、クローズ等を行う。そ
して重なり順を変更する際、ウィンドウ管理部52はシ
ステム制御部53に対し、それまで編集中であった編集
部の中断、ならびに指示されたウィンドウの編集部の再
開を上記のタスク番号5224によりシステム制御部5
3に要求する。また、前記ウィンドウの操作により最上
位となったウィンドウに対応するメニューの表示゛ を
上記メニューデータ格納位置5226に従い表示するよ
うに入力制御部51に要求する。
The window management unit 52 changes the stacking order of windows, opens and closes them, etc. based on the above information. When changing the stacking order, the window management unit 52 instructs the system control unit 53 to interrupt the editing section that was currently being edited and to restart the editing section of the specified window using the task number 5224 mentioned above. Control unit 5
Request 3. It also requests the input control unit 51 to display the menu corresponding to the window that has become the topmost window by operating the window, according to the menu data storage location 5226.

システム制御部53は、上記ウィンドウ管理部52から
の要求に基づき該当するタスクの中断。
The system control unit 53 interrupts the corresponding task based on the request from the window management unit 52.

再開等の制御を行う。また、システム制御部53は各編
集部からの要求に基づいて該当する編集部為 をタスクとして生成したり、各編集部からの起動要求に
基づいて該当する編集部に対応するタスクを起動、及び
、編集部からの終了要求に基づき該当する編集部に対応
したタスクの終了処理を行う。
Controls restart, etc. In addition, the system control unit 53 generates a task for the corresponding editorial department based on a request from each editorial department, starts a task corresponding to the corresponding editorial department based on a startup request from each editorial department, and , performs termination processing of the task corresponding to the corresponding editorial department based on the termination request from the editorial department.

更に、システム制御部53は、タスク間での情報交換を
可能とするために、各編集部からの要求に基づいて該当
する編集部へメツセージを送信したり、該当する編集部
から送信されたメツセージを受信する処理を行う、各タ
スクは第8図に示すタスク制御テーブル531と呼ばれ
るテーブルで管理される。タスク制御テーブル531は
タスク制御ブロック532(以下TCBと略記する)を
タスク番号順に配列したものであり、1つのタスクに対
して1つのTCB532が割当てられる。 TCB53
2には1例えば、以下に示すようにタスクの開始、再開
に必要となる全ての情報が格納される。
Furthermore, in order to enable information exchange between tasks, the system control unit 53 transmits messages to the corresponding editorial department based on requests from each editorial department, and sends messages sent from the corresponding editorial department. Each task that performs the process of receiving is managed by a table called a task control table 531 shown in FIG. The task control table 531 has task control blocks 532 (hereinafter abbreviated as TCB) arranged in order of task number, and one TCB 532 is allocated to one task. TCB53
For example, all information necessary for starting and restarting a task is stored in 2, as shown below.

・リンクフィールド5321 TCB532をリストに接続するときに使用される。・Link field 5321 Used when connecting TCB532 to the list.

・タスクの優先度情報5322 タスク実行時の優先順位情報を格納する。・Task priority information 5322 Stores priority information when executing tasks.

=プログラム番号5323 タスクを生成したプログラムの番号を格納する。=Program number 5323 Stores the number of the program that generated the task.

・タスクの状態情報5324 タスクが現在どのような状態にあるかを示す情報を格納
する。
-Task status information 5324 Stores information indicating what status the task is currently in.

・中断フラグ情報5325 タスクに中断要求があったことを示す情報が格納される
- Suspension flag information 5325 Information indicating that a suspension request has been made to the task is stored.

・タスクの開始、再開番地情報5326タスクの開始番
地または中断した時点の番地を格納する。
-Task start and restart address information 5326 Stores the start address of the task or the address at the time of interruption.

・スタックの状態情報5327 タスクが中断した時点のスタックの位置を格納する。・Stack status information 5327 Stores the stack position at the time the task was suspended.

・CPUの状態情報5328 タスクが中断した時点のレジスタの内容を全て保存する
-CPU status information 5328 Saves all register contents at the time the task was interrupted.

ここで、タスクの状態としては、例えば、以下に示すも
のである。
Here, the status of the task is as shown below, for example.

・ノンイブジステント(NONEXISTENT)状態
プログラムがタスクとして存在しない状態を示す。この
とき、当該TCBに対応するタスク番号は未使用状態と
なる。
-NONEXISTENT state Indicates a state in which the program does not exist as a task. At this time, the task number corresponding to the TCB becomes unused.

・ドーマント(DORMANT)状態 プログラムはタスクとして存在しているが、実行が禁止
されている状態を示す。
- Dormant state Indicates a state in which a program exists as a task, but execution is prohibited.

・レディ (READY)状態 タスクに対しCPUが割当てられるとプログラムを実行
できる状態を示すタスクをCPUに割当てる部分をタス
ク・ディスパッチャと呼ぶ。
- When a CPU is assigned to a READY state task, the part that assigns a task to the CPU, which indicates a state in which a program can be executed, is called a task dispatcher.

・ランニング(RUNNING)状態 タスクのプログラムが実行されている状態を示す。・RUNNING state Indicates the state in which the task program is being executed.

・ウエイテング(tlAITING)状態ある事象が発
生するまでタスクの実行が待たされ、中断している状態
を示す。例えば、メツセージが送信されるまで待たされ
るメツセージ受信待ち、また入出力が終了するまで待た
される入出力終了待ちなどがある。
・Waiting (tlAITING) state Indicates a state in which execution of a task is suspended until a certain event occurs. For example, there is a wait for message reception, in which the user waits until the message is sent, and a wait for input/output, in which the user waits until the input/output ends.

READY状態のタスクは、第9図に示すように、例え
ば対応するTCBが1つのリス1〜に優先度順に接続さ
れて管理される(このリストをREADYキューと呼ぶ
)。READYキューのへラダ533には最も優先度の
高いREADY状態のタスクに対応するTCBへのポイ
ンタが格納され、該TCBのリンクフィールド5321
には次に優先度の高いタスクに対応するTCBへのポイ
ンタが格納され、以下同様にTCBが優先度順にポイン
タにより接続されており、末尾のTCBのリンクフィー
ルドにはリストの最後尾であることを示す情報が格納さ
れる。タスク・ディスパッチャはREADYキューに接
続されているTCBのなかで最も優先順位の高いものに
対応するタスクをCPUに割当て実行させる。
As shown in FIG. 9, tasks in the READY state are managed, for example, by connecting corresponding TCBs to one list 1 to 1 in priority order (this list is called a READY queue). A pointer to the TCB corresponding to the task in the READY state with the highest priority is stored in the header 533 of the READY queue, and a link field 5321 of the TCB is stored.
stores a pointer to the TCB corresponding to the task with the next highest priority, and the following TCBs are similarly connected by pointers in order of priority, and the link field of the last TCB indicates that it is the last TCB in the list. Information indicating the is stored. The task dispatcher allocates the task corresponding to the highest priority TCB connected to the READY queue to the CPU and causes the task to be executed.

WAITING状態のタスクは1例えば対応するTCB
が各待ちの要因に従い要因毎に用意されたリストに接続
されて管理され、ある事象の発生により待ちが解除され
る時に該当リストからTCBが外されREADYキュー
が接続されて、タスク・ディスパッチャによりタスクの
中断位置から再開される。
A task in WAITING state is 1, for example, the corresponding TCB
The TCB is connected to a list prepared for each cause and managed according to the cause of each wait, and when the wait is canceled due to the occurrence of a certain event, the TCB is removed from the corresponding list, the READY queue is connected, and the task is dispatched by the task dispatcher. resumes from where it left off.

メツセージは第10図に示すように、メツセージ制御テ
ーブル534によって管理される。メツセージ制御テー
ブル534はメツセージ制御ブロック535(以下MC
Bと略記する)を配列したものであり、1つのメツセー
ジに対して1つのMCB535が割当てられる。MCB
535には、例えば、当該MCB535が使用されてい
るかどうかを示すステータス情報5351.送信側タス
ク番号5352゜受信側タスク番号5353.メツセー
ジのサイズ情報5354.送信されたメツセージを一時
的に保持するメツセージバッファ5355が格納される
。また、メツセージ受信要求時のパラメータにより、メ
ツセージ受信要求が有ったときに、まだ相手のタスクか
らメツセージが送信されていなければ受信を要求したタ
スクに対応するTCB532をREADYキューから外
し第11図に示すメツセージ受信待ち行列536に接続
して当該タスクをメツセージが送信されるまでVAIT
ING状態にすることもできるし、受信を要求したタス
クをIuAITING状態とはせず単にメツセージが送
信されていない旨を当該タスクに渡すこともできる。
Messages are managed by a message control table 534, as shown in FIG. The message control table 534 includes a message control block 535 (hereinafter MC).
(abbreviated as B), and one MCB 535 is allocated to one message. M.C.B.
535 includes, for example, status information 5351.535 indicating whether the MCB 535 is being used. Sending side task number 5352° Receiving side task number 5353. Message size information 5354. A message buffer 5355 that temporarily holds transmitted messages is stored. Also, depending on the parameters at the time of the message reception request, when there is a message reception request, if the message has not yet been sent from the other task, the TCB 532 corresponding to the task that requested reception is removed from the READY queue and shown in FIG. VAIT is connected to the message reception queue 536 shown in FIG.
It is possible to put the task in the ING state, or it is possible to simply pass the message to the task that the message has not been sent without putting the task in the IuAITING state.

ここで、第12図を用いてシステム制御部53全体の処
理フローを示す。システム制御部53に対しタスクから
の処理要求が発生すると、まず当該タスクが要求を出し
た時点の実行環境をTCB532に退避させる(ステッ
プ1001)。次に、要求機能を識別(ステップ100
2)して、各機能に対応する処理(ステップ1003〜
1008)を起動する。各機能に対応する処理終了後、
タスクが切り替わるかどうかを例えばREADYキュー
の状態から判定しくステップ1011)、切り替われば
タスク・ディスパッチャ(ステップ1013)を起動す
る。切り替わらなければ、ステップ1001で退避した
実行環境をTCB532から回復しくステップ1012
)、要求を出したタスクを再開させる。また、入出力装
置からの入出力終了割込みが発生すると、割込み発生時
点の実行環境をTCB532に退避させる(ステップ1
009)、次に。
Here, the overall processing flow of the system control unit 53 will be shown using FIG. When a processing request is issued from a task to the system control unit 53, the execution environment at the time when the task issued the request is first saved in the TCB 532 (step 1001). Next, identify the requested functionality (step 100
2) and perform the processing corresponding to each function (steps 1003~
1008). After completing the processing corresponding to each function,
It is determined whether the task is to be switched, for example, based on the state of the READY queue (step 1011), and if the task has been switched, the task dispatcher is activated (step 1013). If the switch is not made, the execution environment saved in step 1001 is restored from the TCB 532 in step 1012.
), restarts the requesting task. Furthermore, when an input/output end interrupt occurs from an input/output device, the execution environment at the time of the interrupt occurrence is saved to the TCB 532 (step 1
009), then.

例えば入力された文字コード等を入力要求タスクに渡し
、入力タスクの待ちを解除するというような入出力終了
処理を行った後(ステップ1010)。
After completing input/output processing such as passing the input character code to the input requesting task and releasing the input task from waiting (step 1010).

タスク・ディスパッチャ(ステップ1o13)を起動す
る。タスク・ディスパッチャは第12j図に示すように
、READYキューにTCBが接続されているかどうか
を判定しくステップ1191)。
Activate the task dispatcher (step 1o13). The task dispatcher determines whether the TCB is connected to the READY queue (step 1191), as shown in FIG. 12j.

接続されていなければ割込みが発生するまで無限ループ
しくステップ1197)、接続されていればREADY
キューのヘッダ533に格納されているポインタから最
も優先度の高いTCBを取得し、該TCBの中断フラグ
情報5325からタスクに中断要求があったかどうかを
判定する(ステップ1192)。中断要求があればポイ
ンタを更新して当該TCBをREADYキューから外し
くステップ1193)、再びステップ1191から処理
を行い、当該TCBをアクティブ(ACTIVE)状態
としくステップ1194)、当該TCBから実行環境を
回復しくステップ1195)、対応するタスクを再開さ
せる(ステップ1196)。
If it is not connected, it loops infinitely until an interrupt occurs (Step 1197), and if it is connected, it goes to READY.
The TCB with the highest priority is acquired from the pointer stored in the header 533 of the queue, and it is determined from the suspension flag information 5325 of the TCB whether there is a request to suspend the task (step 1192). If there is an interruption request, update the pointer and remove the TCB from the READY queue (step 1193), repeat the process from step 1191, put the TCB in the ACTIVE state (step 1194), and set the execution environment from the TCB. After recovery (step 1195), the corresponding task is restarted (step 1196).

システム制御部53に対して要求される機能としては、
例えばタスクの生成・削除処理(ステップ1003)、
タスクの起動・終了処理(ステップ(1004)、タス
クの強制終了処理(ステップ1005)、タスクの中断
・再開処理(ステップ1006)、タスク間でのメツセ
ージ送信・受信処理(ステップ1007)、入出力要求
処理(ステップ1008)がある、入出力要求処理10
08は、タスクからのキーボードや表示装置等に対する
入出力要求を受付け、要求したタスクを入出力が終了す
るまでVAITING状態にしたり、入出力終了時にV
AITING状態のタスクをREDY状態に遷移させた
りする。その他の各処理は第12a図〜第12i図に示
すが、詳則は後述する。
The functions required of the system control unit 53 are as follows:
For example, task creation/deletion processing (step 1003),
Task startup/termination processing (step (1004)), task forced termination processing (step 1005), task suspension/resumption processing (step 1006), message transmission/reception processing between tasks (step 1007), input/output requests Input/output request processing 10 with processing (step 1008)
08 accepts input/output requests from tasks to the keyboard, display device, etc., puts the requested task in VAITING state until the input/output is completed, or sets the V
For example, a task in an AITING state is transitioned to a REDY state. Other processes are shown in FIGS. 12a to 12i, and detailed rules will be described later.

入力制御部51は、キーボードから入力された文字コー
ドやマウスから入力された座標値をタスクに渡したり、
マウスにより指示された画面21内のエリアに従い、指
示されたアイコンのシステム管理部57への通知、指示
されたメニューのタスクへの通知、ウィンドウ管理部5
2に対する指示されたウィンドウの切り換要求指示等を
行う。
The input control unit 51 passes character codes input from the keyboard and coordinate values input from the mouse to the task,
According to the area on the screen 21 designated by the mouse, notification of the designated icon to the system management unit 57, notification of the designated menu task, and window management unit 5 are performed.
2 to request switching of the specified window.

第13図に示すように、まずステップ1301にて入力
部1からの入力データを解析し、マウスからの入力か否
かを判定する。マウスからの入力でない場合はキーボー
ドからの入力であり、押下されたキーに対応する文字コ
ードを取得しくステップ1311)、入力要求タスクに
に取得した文字コードを渡す(ステップ1312)。例
えば、オペレータがキーボード上の「あ」の文字キーを
押下したならば、入力を要求したタスクに「あ」の文字
コードを渡す。ステップ13o1にてマウスからの入力
と判定したならばオペレータが画面上のどの場所を指示
したかを調べるために座標の割り出しを行い(ステップ
1302)、マウスカーソル30をマウス移動位置に表
示する(ステップ1303)。ステップ1302の結果
、オペレータの指示が最上位でないウィンドウの内部で
あればウィンドウ切り換え指示と判定しくステップ13
04)、ウィンドウ管理部52に対しウィンドウの切り
換えを要求する(ステップ1316)。
As shown in FIG. 13, first, in step 1301, input data from the input unit 1 is analyzed to determine whether or not the input is from a mouse. If the input is not from the mouse, the input is from the keyboard, and the character code corresponding to the pressed key is acquired (step 1311), and the acquired character code is passed to the input request task (step 1312). For example, if the operator presses the character key for "A" on the keyboard, the character code for "A" is passed to the task that requested the input. If it is determined in step 13o1 that the input is from the mouse, the coordinates are determined to find out where on the screen the operator has indicated (step 1302), and the mouse cursor 30 is displayed at the mouse movement position (step 1303). As a result of step 1302, if the operator's instruction is inside a window that is not at the top level, it is determined that it is a window switching instruction.Step 13
04), requests the window management unit 52 to switch the window (step 1316).

オペレータの指示がアイコン領域24であれば(ステッ
プ1305)、どのアイコンが指示されたのかを判定し
アイコン番号を取得後(ステップ1313)、取得した
アイコン番号をシステム管理部57に通知する(ステッ
プ1314)。更に、システム管理部57は通知された
アイコンに対応するプログラムをアイコン管理テーブル
571より割り出し、当該プログラムをタスクとして生
成し、生成したタスクを起動するため、このタスク生成
、起動をシステム制御部53に要求する。また、最上位
ウィンドウ内での操作対象の指示の場合は(ステップ1
306)、その指示座標値を画面上での座標からウィン
ドウ内での相対座標値に変換した後(ステップ1317
)、当該座標値を入力を要求したタスクへ渡す(ステッ
プ1318)。
If the operator's instruction is in the icon area 24 (step 1305), it is determined which icon was instructed and after obtaining the icon number (step 1313), the obtained icon number is notified to the system management unit 57 (step 1314). ). Further, the system management unit 57 determines the program corresponding to the notified icon from the icon management table 571, generates the program as a task, and instructs the system control unit 53 to generate and activate the task. request. In addition, in the case of instructions for the operation target within the top-level window (Step 1
306), after converting the indicated coordinate values from coordinates on the screen to relative coordinate values within the window (step 1317).
), and passes the coordinate value to the task that requested the input (step 1318).

オペレータの指示がメニューエリア22であれば(ステ
ップ1307)、ウィンドウ管理部52に対しプルダウ
ンメニューのオープンを要求する(ステップ1315)
。また、オペレータの指示がプルダウンメニューエリア
28であれば(ステップ1308)どの機能項目が指示
されたのかを判定し、指示された機能項目番号とプルダ
ウンメニュ一番号とを入力を要求したタスクに渡す(ス
テップ131.9)。オペレータの指示がウィンドウ内
の制御エリア253またはキャプションエリア251で
あれば(ステップ1309)、入力を要求したタスクに
クローズ、スクロール等のコードを渡す(ステップ13
10)。その他のエリアが指示された場合はなにもしな
い。また、上記において、入力要求タスクにコードを渡
す場合は、システム制御部53は入力を要求したタスク
をVAITING状態からREADY状態に遷移させる
If the operator's instruction is the menu area 22 (step 1307), a request is made to the window management unit 52 to open a pull-down menu (step 1315).
. Further, if the operator's instruction is the pull-down menu area 28 (step 1308), it is determined which function item was instructed, and the instructed function item number and pull-down menu number are passed to the task that requested input ( Step 131.9). If the operator's instruction is the control area 253 or caption area 251 within the window (step 1309), a code for closing, scrolling, etc. is passed to the task that requested the input (step 13).
10). If other areas are specified, do nothing. Further, in the above, when passing the code to the input requesting task, the system control unit 53 causes the task that requested the input to transition from the VAITING state to the READY state.

メニューは第14図に示すメニュー管理テーブル523
.プルダウンメニュー管理テーブル525により管理さ
れる。メニュー管理テーブル523には、プルダウンメ
ニュー数5231、それに続きメニュー管理ブロック5
24がプルダウンメニュ一番号順にプルダウンメニュー
数だけ格納される。メニュー管理ブロック524には、
プルダウンメニュー名称5241.機能項目の最大文字
数5242、機能項目数5243.プルダウンメニュー
管理テーブル525へのポインタ5244が格納される
。また、プルダウンメニュー管理テーブル525には、
機能項目名称5251.機能項目が有効であるかどうか
を示す有効/無効フラグ5252が機能項目番号順に機
能項目数分格納される。
The menu is displayed in the menu management table 523 shown in FIG.
.. It is managed by a pull-down menu management table 525. The menu management table 523 includes 5231 pull-down menus, followed by 5 menu management blocks.
24 are stored in pull-down menu number order by the number of pull-down menus. The menu management block 524 includes
Pull-down menu name 5241. The maximum number of characters for a function item is 5242, and the number of function items is 5243. A pointer 5244 to the pull-down menu management table 525 is stored. In addition, the pull-down menu management table 525 includes
Function item name 5251. Valid/invalid flags 5252 indicating whether a functional item is valid or not are stored in the order of functional item number for the number of functional items.

以上の情報を基に入力制御部51は、ウィンドウ管理か
らの要求が有れば、ウィンドウのオープン時または切り
換え時に最上位となるウィンドウのプルダウン名称をメ
ニューエリア22に表示する。また、プルダウン名称が
マウスにより指示されれば、対応するプルダウンメニュ
ー管理テーブル525から機能項目名称を取得し、当該
機能項目が有効であれば通常表示、無効であれば半輝度
表示でプルダウンメニューエリア28に表示する。
Based on the above information, the input control unit 51 displays the pull-down name of the topmost window in the menu area 22 when a window is opened or switched when there is a request from the window management. Further, if a pull-down name is specified by the mouse, the function item name is acquired from the corresponding pull-down menu management table 525, and if the function item is valid, it is displayed normally, and if it is invalid, it is displayed in half-brightness in the pull-down menu area 28. to be displayed.

印刷制御部54は、編集部56からの文書の印刷要求に
基づいて印刷部4を制御するためのものである。また、
表示制御部55は、編集部56及びウィンドウ管理部5
2からの表示要求により。
The print control section 54 is for controlling the printing section 4 based on a document printing request from the editing section 56 . Also,
The display control section 55 includes an editing section 56 and a window management section 5.
Due to display request from 2.

ウィンドウ管理ブロック522の重なり順情報を基に最
上位ウィンドウ内に展開できる部分のみの表示データを
、表示部2へ表示するためのメモリに、ドツト単位で書
き込むためのものである。
This is for writing display data of only the portion that can be developed in the topmost window based on the stacking order information of the window management block 522 into the memory for displaying on the display section 2 in units of dots.

本実施例の日本語ワードプロセッサにおける文書の作成
2編集は以下の如く行う。
Document creation and editing in the Japanese word processor of this embodiment is performed as follows.

まず、初期状態において1文書の新規作成もしくは既作
成文書の編央の開始は、オペレータがそれぞれに対応す
るアイコンをマウスにより指示することにより行う。
First, in the initial state, the operator starts creating a new document or editing an already created document by pointing the corresponding icon using the mouse.

入力制御部51はこのオペレータからの指示に対し、画
面指示座標よりどのアイコンが指示されたかを判定し、
アイコン番号をシステム管理部57に通知する。一方、
システム管理部57は第18図のフローに示すように初
期状態において。
In response to this instruction from the operator, the input control unit 51 determines which icon is instructed from the screen instruction coordinates,
The icon number is notified to the system management section 57. on the other hand,
The system management unit 57 is in an initial state as shown in the flowchart of FIG.

アイコン表示後(ステップ1701)、メツセージの受
信を要求しくステップ1702)、メッセ・−ジ、を受
信したならば、そのメツセージの送信元を判定しくステ
ップ1703)、上記入力制御部51からのメツセージ
だった場合には、次にアイコン管理テーブル571を元
に指定されたアイコンに対応するプログラム番号を取得
しくステップ1704)、該当する編集部をタスクとし
て生成。
After the icon is displayed (step 1701), a message is requested to be received (step 1702), and if the message is received, the sender of the message is determined (step 1703), and the message is sent from the input control section 51. If so, then the program number corresponding to the designated icon is obtained based on the icon management table 571 (step 1704), and the corresponding editing section is generated as a task.

起動する(ステップ1705)。このタスクの生成、起
動は、第12a図、第2c図の処理フローに示すように
、まずシステム管理部57がシステム制御部53に対し
てプログラム番号を元にタスクの生成要求を行うと、シ
ステム制御部53はこれに基づき未使用のタスク番号を
タスク制御テーブルから取得し、対応するTCBを作成
しくステップ1101)、タスクをDORMANT状態
にして(ステップ1102)要求元に取得したタスク番
号を返す(ステップ1103)、次にシステム管理部5
7は上記タスク番号にしたがってタスクの起動要求を行
うと、システム制御部53は指定されたタスク番号に対
応するTCBをREADY状態としくステップ1121
)てREADYキューに接続する。これにより該編集部
は実行可能な状態となる(ステップ1122)。
Activate (step 1705). The generation and activation of this task is performed as shown in the processing flows of FIGS. Based on this, the control unit 53 acquires an unused task number from the task control table, creates a corresponding TCB (step 1101), puts the task in the DORMANT state (step 1102), and returns the acquired task number to the request source (step 1102). Step 1103), then the system management section 5
7 makes a task activation request according to the task number, and the system control unit 53 sets the TCB corresponding to the specified task number in the READY state in step 1121.
) to connect to the READY queue. This puts the editing section in an executable state (step 1122).

また、上述の通知については、システム制御部53を経
由するメツセージの送受信により行う。
Further, the above-mentioned notification is performed by sending and receiving messages via the system control unit 53.

例えば上述のように、入力制御部51からシステム管理
部57に対してメツセージを送信する場合には、まず、
入力制御部51はシステム管理部57に対するメツセー
ジの送信要求をシステム制御部53に対し行う(ステッ
プ1706)。
For example, as described above, when transmitting a message from the input control section 51 to the system management section 57, first,
The input control unit 51 requests the system control unit 53 to send a message to the system management unit 57 (step 1706).

これに従ってシステム制御部53は、第12h図に示す
ように、システム管理部57からの受信要求がきている
かどうかをメツセージ制御テーブルより判定しくステッ
プ1171)、受信要求がきていれば送信メツセージを
対応するMCBのメツセージバッファに転送しくステッ
プ1174)、受信待ちタスク、すなわちシステム管理
部57のTCBをメツセージ待ち行列から外しREAD
Yキューに接続する(ステップ1175)。また、受信
要求がまだなければ、システム制御部53は未使用のM
CBを取得しくステップ1172)、該MCBのメツセ
ージバッファにメツセージを転送する(ステップ117
3)・ 一方、システム管理部57がメツセージの受信要求をシ
ステム制御部53に対し行った場合、第12i図に示す
ように、システム制御部53はシステム管理部57に対
するメツセージがMCB中に有るかどうか判定しくステ
ップ1181)、有れば上記MCBよりメツセージを取
り出して要求元であるシステム管理部57にメツセージ
を転送する(ステップ1184)。上記においてMCB
にメツセージが無ければ、当該マクロを発行したタスク
が待ち有りを指定して要求したかどうか判定しくステッ
プ1182)、待ち無しの場合は当該タスクに対しメツ
セージが無かった旨を返して処理を終了する(ステップ
1185)、また、待ち有りの場合は、未使用MCBを
取得後に当該タスクのTCBを第9図のREADYキュ
ーから外し、メツセージ受信待ち行列536に接続し、
ディスパッチャに制御を移す(ステップ1183゜11
86)、従ってメツセージ送信要求によりメツセージが
MCBに転送されると受信待ちとなっているタスクがR
EADYキューに接続されるため、該タスクが再開され
て再びメツセージ受信処理から実行されて、MCBの内
容(メツセージ)が該タスクに受は取られる。
Accordingly, as shown in FIG. 12h, the system control unit 53 determines from the message control table whether a reception request has been received from the system management unit 57 (step 1171), and if a reception request has been received, responds to the transmitted message. To transfer the message to the message buffer of the MCB, step 1174) removes the task waiting for reception, that is, the TCB of the system management section 57, from the message queue and reads the READ
Connect to Y queue (step 1175). Further, if there is no reception request yet, the system control unit 53
CB is acquired (step 1172), and the message is transferred to the message buffer of the MCB (step 117).
3) On the other hand, when the system management unit 57 requests the system control unit 53 to receive a message, the system control unit 53 checks whether the message for the system management unit 57 is in the MCB, as shown in FIG. If there is a message (step 1181), the message is retrieved from the MCB and transferred to the system management section 57 which is the request source (step 1184). In the above, MCB
If there is no message, it is determined whether the task that issued the macro made the request specifying that there is a wait (step 1182), and if there is no wait, the process returns to the task that there is no message and ends the process. (Step 1185), if there is a wait, after acquiring an unused MCB, remove the TCB of the task from the READY queue in FIG. 9, connect it to the message reception queue 536,
Transfer control to dispatcher (step 1183゜11)
86), therefore, when a message is transferred to the MCB due to a message transmission request, the task waiting to receive it is
Since the task is connected to the EADY queue, the task is restarted and executed again from message reception processing, and the contents of the MCB (message) are received by the task.

これによりオペレータからの指示が文書の新規作成であ
った場合には文書編集部56が、既作成文書の編集であ
った場合には、次にどの文書を編集するのか指示させる
ためにファイル編集部58がシステム管理部57により
それぞれ起動される。
As a result, if the instruction from the operator is to create a new document, the document editing section 56 is sent to the document editing section 56, and if the instruction from the operator is to edit an already created document, the file editing section 56 is used to instruct which document to edit next. 58 are activated by the system management unit 57, respectively.

次に、ファイル編集部58の処理内容を第19図のフロ
ーに基づき説明する。ファイル編集部58では、まずウ
ィンドウをオープンしくステップ2001)、そのウィ
ンドウ内に記憶部3内に格納されている文書の一覧を表
示する(ステップ2002)、表示後、ファイル編集部
58は入力制御部51に対して入力を要求しくステップ
2003)、入力があればその内容を判定する(ステッ
プ2004)、オペレータからの入力が操作したい文書
の指示であった場合には、どの文書が指示されたかを判
定し、第20図に示す操作対象文書テーブル581に文
書名を登録する(ステップ2005)。なお、操作対象
文書テーブル581は、指定文書数5811と指定文書
名5812から構成される。また、更新、印刷の指示だ
った場合は、更新、印刷の指示がなされたことを現在対
象指定されている文書名ならびに文書に対応するデータ
種別番号とともにシステム管理部57へ通知しくステッ
プ2006)、文書の複写、削除等の編集指示の場合は
対象指定されている文書の複写、削除等の処理を行ない
(ステップ2007)、スクロール指示であった場合は
文書名一覧のスクロール表示を行ない(ステップ200
8)、終了指示の場合はウィンドウをクローズしくステ
ップ2009)、システム管理部57にファイル編集処
理が終了したことを通知しくステップ2’010)、タ
スクの終了を要求する(ステップ2011)。この終了
要求に伴い、システム制御部53は、第12d図に示す
ように、要求タスクのTCBをDORMANT状態とし
くステップ1131)、タスクが使用していた資源を解
放する(ステップ1132)。ここで資源とはメモリや
CPUを指す。
Next, the processing contents of the file editing section 58 will be explained based on the flow shown in FIG. 19. The file editing section 58 first opens a window (step 2001), displays a list of documents stored in the storage section 3 in the window (step 2002), and after displaying the list, the file editing section 58 opens the input control section If the input is received, the content is determined (step 2004). If the input from the operator is an instruction for a document to be operated, the process determines which document was specified. The document name is determined and registered in the operation target document table 581 shown in FIG. 20 (step 2005). Note that the operation target document table 581 includes a designated document number 5811 and a designated document name 5812. If the instruction is to update or print, the system management unit 57 is notified that the instruction to update or print has been given, along with the name of the currently targeted document and the data type number corresponding to the document (step 2006); In the case of an editing instruction such as copying or deleting a document, processing such as copying or deleting the target document is performed (step 2007), and in the case of a scrolling instruction, a scrolling display of the document name list is performed (step 200).
8) In the case of an end instruction, the window is closed (Step 2009), the system management unit 57 is notified that the file editing process has ended (Step 2'010), and the end of the task is requested (Step 2011). In response to this termination request, the system control unit 53 sets the TCB of the requesting task to the DORMANT state (step 1131) and releases the resources used by the task (step 1132), as shown in FIG. 12d. Here, resources refer to memory and CPU.

さて、上述のウィンドウのオープン/クローズ処理につ
いては前述のウィンドウ管理部52において処理される
がその処理内容を第15図、第′  16図のフローに
基づいて説明する。
Now, the above-mentioned window opening/closing process is carried out by the window management section 52, and the contents of the process will be explained based on the flowcharts shown in FIGS. 15 and 16.

まずウィンドウオープンの場合、ウィンドウ管理部52
はタスクから指定された情報に基づいてWCB522を
生成する(ステップ1501)、また、その際、ウィン
ドウが既に存在するかどうか判定しくステップ1502
)、存在する場合には現在最上位となっているウィンド
ウを使用しているタスクを一既中断させ(ステップ15
’03)、最上位ウィンドウの表示イメージを表示バッ
ファに退避する(ステップ1504)。そして、タスク
から指定された位置、サイズに従ってウィンドウを表示
しくステップ1505)、また、生成したウィンドウ管
理ブロックの番号を要求元タスクに返す(ステップ15
06)。
First, in the case of opening a window, the window management unit 52
generates WCB 522 based on the information specified by the task (step 1501), and at this time, it is determined whether the window already exists or not (step 1502).
), if it exists, suspend the task using the currently topmost window (step 15).
'03), the display image of the topmost window is saved in the display buffer (step 1504). Then, the window is displayed according to the position and size specified by the task (step 1505), and the number of the generated window management block is returned to the requesting task (step 15).
06).

一方クローズの場合は、まず、指定されたウィンドウの
イメージを消去しくステップL511)、ウィンドウ管
理テーブルからクローズ対象となっているウィンドウに
より隠されていたウィンドウを割り出し、前述の表示バ
ッファより表示イメージを取り出し、消去ウィンドウの
下位のウィンドウの表示イメージを回復しくステップ1
512)。
On the other hand, in the case of closing, first, the image of the specified window is deleted (step L511), the window hidden by the window to be closed is determined from the window management table, and the display image is retrieved from the display buffer mentioned above. Step 1: Restore the display image of the window below the erased window
512).

消去ウィンドウの’dc8522を未使用状態とする(
ステップ1513)。
Make 'dc8522 in the erase window unused (
step 1513).

なお、上述におけるタスクの中断処理については後述す
る。
Note that the task interruption process described above will be described later.

以上の如く、オペレータからの要求が新規作成の場合、
システム管理部57は入力制御部51からの通知に基づ
き文書編集部561をタスクとして生成後(ステップ1
705)、新規作成モードで起動する(ステップ170
7)、また、既作成文書の更新の場合、ファイルg集部
58からの通知によるデータ種別番号から該当するプロ
グラム番号をプログラム制御テーブル(第5図)から取
得しくステップ1708)、文書編集部561をタスク
として生成しくステップ1709)、該編集部561に
対する起動パラメータを送信しくステップ1710)−
文書編集部561を更新モードで起動する(ステップ1
711)。
As mentioned above, if the operator requests new creation,
The system management unit 57 generates the document editing unit 561 as a task based on the notification from the input control unit 51 (step 1).
705), start in new creation mode (step 170)
7) In addition, in the case of updating an already created document, the corresponding program number is obtained from the program control table (FIG. 5) based on the data type number notified from the file g collection section 58 (Step 1708), the document editing section 561 Step 1709) to generate a task as a task, and step 1710) to send startup parameters to the editing section 561.
Start the document editing section 561 in update mode (Step 1
711).

また、システム管理部57は自ら生成、起動した編集部
からの終了通知を受は取るとタスクの削除を行う(ステ
ップ1712)、タスクの削除については前述の生成要
求と同様にシステム制御部53にて処理され、システム
制御部53は、第12b図に示すように、指定されたタ
スクに対応するTCBをN0NEXISTENT状態と
する(ステップ1111)、すなわち、該TCBを未使
用状態とする。
Furthermore, when the system management section 57 receives and receives a completion notification from the editing section that it has generated and started, it deletes the task (step 1712).As with the above-mentioned generation request, the system control section 57 deletes the task (step 1712). As shown in FIG. 12b, the system control unit 53 puts the TCB corresponding to the designated task in the N0NEXISTENT state (step 1111), that is, puts the TCB in an unused state.

なお、システム管理部57は文書#g集部561を起動
する際、文書編集部に対し、メツセージによって上記モ
ード及び生成したタスク番号を起動パラメータとして送
信する。また、更新モードの場合には、さらにファイル
編集部58から通知された更新対象文書名を合わせて送
信する。
Incidentally, when the system management section 57 starts up the document #g collection section 561, it sends the above-mentioned mode and the generated task number as startup parameters to the document editing section by a message. Furthermore, in the case of the update mode, the update target document name notified from the file editing section 58 is also transmitted.

さて、起動された文書編集部561の処理を第21図、
第22a図〜第22Q図のフローチャートに基づいて説
明する。
Now, FIG. 21 shows the processing of the activated document editing section 561.
This will be explained based on the flowcharts shown in FIGS. 22a to 22Q.

文書編集部561は、まず初期処理(ステップ3001
)において、その詳細を第22a図に示すように、起動
パラメータをメツセージにて受信しくステップ3101
)、パラメータの内容に基づいて新規作成か文書更新か
起動モードを判定する(ステップ3102)。そして、
新規作成の場合には文書データの初期化を行い(ステッ
プ3103)、文書更新の場合は虹新対象となるデータ
を該パラメータにより指定された文書名に従って記憶部
3から呼び出す(ステップ3104)。
The document editing unit 561 first performs initial processing (step 3001
), the details of which are shown in FIG. 22a, step 3101
), the startup mode, new creation or document update, is determined based on the contents of the parameters (step 3102). and,
In the case of new creation, the document data is initialized (step 3103), and in the case of document update, the data to be updated is called from the storage unit 3 according to the document name specified by the parameter (step 3104).

なお1文書データの構成については後述する。そして、
プログラム制御テーブル(第5図)より、文書中で領域
新規作成、更新が可能な領域Hz部の一覧を示すサポー
ト領域編集部管理テーブル(以下SFMTと略す)を作
成する。SFMTは第27図に示すように、サポートし
うる領域編集部のプログラム番号5683と、この領域
編集部で作成しうるデータの種別番号とを対にして保持
し、さらに上記領域編集部5681を持つ。また、これ
と同時に現在どういったデータに対する領域の作成が可
能かをオペレータに知らせるために、プルダウンメニュ
ーデータ中に上記領域編集部に′対するデータの名称を
セットする(ステップ3105)。そして次に後述する
領域の編集に際し、どの領域が操作対象となっているか
を示す操作対象領域テーブル(第28図)の指定領域を
0クリアしくステップ3106)、続いてプルダウンメ
ニューデータの有効/無効状態の初期化を行う(ステッ
プ3107)。なお、操作対象領域テーブルは、第28
図に示すように、現在操作の対象として指定されている
指定領域数5684.指定されている領域の種別568
5及び指定されている領域の番号5686を保持する(
領域の種別については後述する。このプルダウンメニュ
ーデータを有効/無効の切換えについては後述する。
Note that the structure of one document data will be described later. and,
From the program control table (FIG. 5), a support area editing department management table (hereinafter abbreviated as SFMT) is created which shows a list of areas Hz parts in which new areas can be created and updated in the document. As shown in FIG. 27, the SFMT holds the program number 5683 of the area editing section that can be supported and the type number of data that can be created by this area editing section in pairs, and further has the area editing section 5681 mentioned above. . At the same time, in order to inform the operator of what kind of data areas can currently be created, the name of the data for the area editing section ' is set in the pull-down menu data (step 3105). Then, when editing the area described later, clear the specified area of the operation target area table (Fig. 28) indicating which area is the operation target to 0 (Step 3106), and then enable/disable the pull-down menu data. The state is initialized (step 3107). Note that the operation target area table is the 28th
As shown in the figure, the number of designated areas currently designated as targets for operation is 5684. Specified area type 568
5 and retains the specified area number 5686 (
The type of area will be described later. Switching between enabling and disabling this pull-down menu data will be described later.

続いて、文sm集部561は、ウィンドウをオーブンし
くステップ3108)、そのウィンドウ内に編集文書の
第1頁のレイアウトを第31図(a)のように表示する
(ステップ3109)、なお。
Subsequently, the sentence sm collection unit 561 opens the window (step 3108), and displays the layout of the first page of the edited document in the window as shown in FIG. 31(a) (step 3109).

ウィンドウのオープンに際し、ウィンドウのサイズは上
記表示用紙のサイズに対応した大きさとし。
When opening the window, the size of the window should correspond to the size of the display paper above.

また、ウィンドウのタイトルの一部には文書編集部 1 、部561のタスク番号を付加する。Also, part of the window title includes the document editing section. 1. Add the task number of section 561.

さて、上述のSFMT及びメニューデータの作成(第2
2a図のステップ3105)の処理についてさらに詳細
に説明する。
Now, the above SFMT and menu data creation (second
The process of step 3105) in FIG. 2a will be explained in more detail.

SFMTは第27図に示すように文書編集部にとって、
起動可能な領域編集部のプログラム番号5682及びデ
ータ種別番号5683の一覧を示すテーブルであり、後
述する領域の新規作成、更新ならびにレイアウトの表示
において該肖するプログラムが存在するか否か、また、
タスクとして生成する際のパラメータとして用いる。
As shown in Figure 27, SFMT is useful for the document editing department.
This is a table showing a list of program numbers 5682 and data type numbers 5683 of the area editing section that can be activated, and whether or not corresponding programs exist in creating new areas, updating areas, and displaying layouts, which will be described later.
Used as a parameter when creating a task.

その作成方法は、第22b図に示すように、まず、プロ
グラム番号P及び登録番号Eを0クリアしくステップ3
111.3112)、プログラム制御テーブル(第5図
)の先頭ブロックから順に、親プログラム番号が文書編
集部自身のプログラム番号と一致するかどうかを判定し
く3114)。
The method for creating it is as shown in FIG.
111, 3112), and sequentially from the first block of the program control table (FIG. 5), it is determined whether the parent program number matches the program number of the document editing section itself (3114).

一致する場合は文i!F編集部が起動しうる領域編集部
に対するPCB573とみなして、該プログラム番号P
及び該PCB573中にセットされているデータ種別番
号DpをSFMTに登録する(ステップ3115)。
If it matches, sentence i! The program number P is regarded as PCB573 for the area editing section that can be started by the F editing section.
And the data type number Dp set in the PCB 573 is registered in the SFMT (step 3115).

また、該データ種別番号に対応するデータの名称(例え
ば、“図形パ、′グラブ゛等)をDNDT(第6図)よ
り取得し、その名称を文書編集部自身の持つメニューデ
ータ(第23図)内の領域新規作成用プルダウンメニュ
ーデータの名称として登録しくステップ3116)登録
番号Eをインクリメントする(ステップ3117)、以
上の処理をプログラム管理ブロック数分繰返しくステッ
プ3118.3113)、最後に登録番号Eを領域編集
部5681にセットする(ステップ3119)。
In addition, the name of the data corresponding to the data type number (for example, "Graphic", "Grab", etc.) is obtained from the DNDT (Figure 6), and the name is applied to the menu data held by the document editing department itself (Figure 23). ) is registered as the name of the pull-down menu data for creating a new area.Step 3116) Increment the registration number E (Step 3117). Repeat the above process for the number of program management blocks. E is set in the area editing section 5681 (step 3119).

これにより現在システム内に実際に組み込まれている領
域編集部に関する名称のみをプルダウンメニューとして
表示することが可能となる。
This makes it possible to display, as a pull-down menu, only the names of area editing units that are currently actually incorporated into the system.

ここで文書データの構成について第24図を用いて説明
する。
Here, the structure of the document data will be explained using FIG. 24.

文書データは、第24図に示すように1章管理テーブル
5610.頁管理テーブル5620.真書式テーブル5
630.領域管理テーブル5640さらに領域内データ
5660から構成され、また、各テーブルはそれぞれ複
数のブロックから構成される。以下、各テーブルについ
て説明する。
The document data is stored in the chapter 1 management table 5610. as shown in FIG. Page management table 5620. true format table 5
630. It is composed of an area management table 5640 and intra-area data 5660, and each table is composed of a plurality of blocks. Each table will be explained below.

・車管理テーブル5610 文書全体がいくつの章から構成されているかを管理し、
各章毎に先rI4/末尾の頁を示す頁ポインタ5611
,5612を有する。また1章管理テーブルは各章毎に
ヘッダ、フッタ等を表示、印刷するための印刷情報56
13を保持する。
・Car management table 5610 Manages how many chapters the entire document consists of,
Page pointer 5611 indicating the first rI4/last page for each chapter
, 5612. In addition, the chapter 1 management table has printing information 56 for displaying and printing headers, footers, etc. for each chapter.
Hold 13.

・頁管理テーブル5620 頁内に設定されている領域の内、先頭/末尾の領域を示
す領域ポインタ5623.5624及び各頁でどの書式
データを使用しているかを示す買置式ポインタ5625
とを有する。また、各ブロックは、後方ポインタ562
1と前方ポインタ5622とにより頁昇順にリンクし、
この内先頭/末尾の頁に関しては前述の車管理テーブル
よりポイントされる。なお1本文書データにおける頁は
第25図に示すような構成となっている(参照符号56
71は頁を示す)。この内、頁のサイズ。
・Page management table 5620 Area pointers 5623 and 5624 that indicate the first/last areas of the areas set within the page, and a trade pointer 5625 that indicates which format data is used on each page
and has. In addition, each block has a backward pointer 562
1 and the forward pointer 5622 to link the pages in ascending order,
The first and last pages are pointed to from the above-mentioned car management table. The pages in this document data are structured as shown in Fig. 25 (reference numeral 56).
71 indicates the page). Among these, the page size.

余白については次に述べる真書式テーブルにて、また、
基本領域5672.内部領域5673については領域管
理テーブルにてそれぞれ管理される。
For information on margins, see the true format table below, and
Basic area 5672. The internal areas 5673 are each managed in an area management table.

・真書式テーブル5630 作成している文書のフォーマットとして、用紙の型(A
3.A4等)、用紙方向(縦長、横長)。
・True format table 5630 The paper type (A
3. A4, etc.), paper orientation (portrait, landscape).

上下左右余白等を管理する。Manage top, bottom, left, right margins, etc.

・領域管理テーブル5640 領域管理テーブルは1文書内(頁内)に格納するデータ
、例えば、テキストデータ、図形データ。
- Area management table 5640 The area management table stores data stored within one document (within a page), such as text data and graphic data.

グラフデータといった各種データを頁内のどの位置にど
のような大きさで格納するかを管理する。
It manages where and in what size various types of data such as graph data are stored within a page.

そのため、領域管理テーブルは、頁内での領域設定位置
として0頁から余白の部分を除いた左上を原点とする領
域左上X座標5643.回y座標5644、右下X座標
5645.同y座標5646を持ち、さらに領域内のデ
ータの種別を示すデータ種別情報5647.領域自身の
持つ属性を示す領域属性情報5648.領域内データ5
660をポイントするデータポインタ5650を有する
Therefore, in the area management table, the area setting position within the page is the area upper left X coordinate 5643. Rotation y coordinate 5644, lower right X coordinate 5645. Data type information 5647, which has the same y-coordinate 5646 and also indicates the type of data within the area. Area attribute information 5648 indicating the attributes of the area itself. Area data 5
It has a data pointer 5650 pointing to 660.

なお、領域自身の持つ属性情報としては透明であるか不
透明であるか(不透明の場合、該領域にて覆われた下の
領域は見えなくなる)、また、領域枠の線種等がある。
Note that the attribute information of the area itself includes whether it is transparent or opaque (if it is opaque, the area below covered by the area becomes invisible), the line type of the area frame, etc.

また1本テーブルにおいては、同−頁内の領域がどのよ
うな順番で4文なっているかを管理できるようにするた
め、後方ポインタ5641と前方ポインタ5642によ
り相互にリンクする。この領域のリンクは、優先度の低
い領域から高い領域へ、すなわち、頁内において最も下
にある領域から最も上にある領域へとリンクさせる。ま
た、この内、先りn/末尾の領域に関してはそれぞれ前
述の頁管理テーブルからポイントされる。さらに、領域
管理テーブルでは当該領域が編集中であるか否か、また
、当該領域データ種別に対応する領域編集部が現在シス
テム中に存在しないかどうかを示すステータス情報56
49を有する。
In addition, in one table, in order to manage the order in which the four sentences are arranged in areas within the same page, the backward pointer 5641 and the forward pointer 5642 are used to link each other. Links in this area link from areas of low priority to areas of high priority, that is, from the lowest area to the highest area within the page. Further, among these, the first n/last areas are each pointed to from the above-mentioned page management table. Further, in the area management table, status information 56 indicating whether the area is being edited or not, and whether an area editing section corresponding to the area data type does not currently exist in the system.
It has 49.

また1頁内に存在する領域は大別して以下の2つに分か
れる。
Further, the areas existing within one page can be roughly divided into the following two areas.

(i)内部領域5673 基本領域上に存在する領域で、位置、大きさはオペレー
タの操作により決定される。また、当該領域内にはテキ
スト、図形、グラフ、イメージといった各種データの内
の1つが格納されうる。また、本領域に対する編集は領
域新規作成、更新。
(i) Internal area 5673 This area exists on the basic area, and the position and size are determined by the operator's operation. Furthermore, one of various data such as text, graphics, graphs, and images can be stored in the area. Also, edits to this area include creating and updating new areas.

移動、複写、削除等すべての領域編集を可能とする。All area editing such as moving, copying, and deleting is possible.

(ii)基本領域5672 頁から上下左右の余白を除いた部分を指し、オペレータ
の操作により頁が生成されると本領域も1つ生成され1
頁内においては常に先頭の領域(!Aも下にある領域)
となる。また、本領域内には文書中本文となるようなテ
キストデータのみを格納し、さらに本領域に対する編集
は上述の領域に対する編集の内、領域新規作成、更新を
可能とし1本領域に対する移動、複写、削除等の編集操
作については1頁の移動、複写、削除といった頁に対す
る編集操作にて行う。
(ii) Basic area 5672 Refers to the part of the page excluding the top, bottom, left and right margins, and when a page is generated by the operator's operation, one main area is also generated.
Always the first area within the page (!A is also the area below)
becomes. In addition, only the text data that becomes the body of the document is stored in this area, and editing for this area is the same as editing for the above areas, allowing new area creation and updating, and movement and copying of one area. Editing operations such as , deletion, etc. are performed by editing operations for pages such as moving, copying, and deleting one page.

・領域内データ5660 領域内に格納されるデータで、テキスト、図形。- Area data 5660 Data stored within an area, including text and shapes.

グラフ、イメージデータ等が格納される。Graphs, image data, etc. are stored.

さて、第21図において、初期処理(ステップ3001
)後1文書1w集部561は入力制御部51に対して入
力を要求する(ステップ3002)。
Now, in FIG. 21, initial processing (step 3001
) The next document 1w collection section 561 requests input from the input control section 51 (step 3002).

そして、オペレータからの入力結果を判定しくステップ
3003)、操作したい領域の指示であった場合には、
その頁番号1頁内指示位置と領域の設定位置からどの領
域が指示されたかを文書データから判定し、その領域番
号を操作対象領域テーブルに登録する(ステップ300
4)。この時の判定方法を第22c図のフローを用いて
さらに詳細に説明する。
Then, the input result from the operator is determined (step 3003), and if it is an instruction for the area to be operated,
It is determined from the document data which area is specified based on the specified position within page number 1 and the setting position of the area, and the area number is registered in the operation target area table (step 300
4). The determination method at this time will be explained in more detail using the flow shown in FIG. 22c.

まず、指示位置が基本領域5672内であったかどうか
判定しくステップ3201)、基本領域外の場合は指示
位置に相当する領域は1つもないので指示エラーとする
。基本領域内だった場合、以下、頁内の内部領域567
3で最も上位にある領hIi(頁内末尾領域)から順に
指示位置が当該内部領域内に有るかどうかを判定しくス
テップ3202〜3205)、判定の結果、内部領域内
にあれば、オペレータの指示は内部領域に対する操作指
示とみなして内部領域指示フラッグを1セツトしておき
(ステップ3206) 、また、最終的に指示位置は現
在表示中の真上にある内部領域内には無かった場合(内
部領域指示フラッグがOであった場合)は、オペレータ
は基本領域を指示したものとみなして処理する。さて、
指示位置が内部領域5673内にあった場合は、次に当
該領域が既に対象として指定されているかどうか、すな
わち当該領域の番号°がすでに操作対象領域テーブルに
登録されているかどうかを判定しくステップ3207)
、既に対象指定されている場合は次の領域(文書データ
上では現在判定の対象となっている領域の領域管理ブロ
ックの前方ポインタ5642により示される領域)をチ
ェックする。また、まだ指定されていなかった場合は当
該領域が指定されたものとみなして当該領域の番号を操
作対象領域テーブルに登録するが、この際、すでに基本
領域が対象として指定されていた場合は(ステップ32
08)は一旦操作対象領域テーブルの指定領域数568
4を0クリアした後(該基本領域に対する対象指定を解
除した後)(ステップ3209)に上記内部領域番号及
び領域種別を操作対象領域テーブルに登録し、さらに指
定領域数5681を+1する(ステップ3210)、な
お、上記において、基本領域が操作対象として登録され
ていた場合に該指定    ′を強制的に解除するのは
、後述するように、基本領域と内部領域とを同時に指定
可能とした場合にこれに該当する領域編集は1つもなく
なるためである。また、以上の処理において、内部領域
が登録されなかった場合は内部領域指示フラッグがOで
あるかどうか判定しくステップ3212)、0の場合は
指定位置上に内部領域が1つも無く、オペレータは基本
領域を対象として指示したものとみなす。そして次に基
本領域の番号をテーブルに登録するが、この際、すでに
当基本領域が対象として指定されていたかどうか判定し
くステップ3213)、指定されていなかった場合、今
度は内部領域が対象として指定されていたかどうか判定
しくステップ3214)、指定されていた場合は操作対
象領域テーブルを一旦クリアした後(ステップ3215
)に、上記基本領域番号及び領域種別を操作対象領域テ
ーブルに登録し、指定領域数を1にセットする(ステッ
プ3216)。
First, it is determined whether or not the indicated position is within the basic area 5672 (step 3201). If it is outside the basic area, there is no area corresponding to the indicated position, so an instruction error is determined. If it is within the basic area, below is the internal area 567 within the page.
Steps 3202 to 3205) determine whether the indicated position is within the internal area in order from the highest area hIi (the last area in the page), and if the result of the determination is that it is within the internal area, the operator's instruction is is regarded as an operation instruction for the internal area, and an internal area instruction flag is set (step 3206). If the area designation flag is O), the operator assumes that the basic area has been designated and processes. Now,
If the indicated position is within the internal area 5673, then it is determined whether the area has already been designated as a target, that is, whether the number ° of the area has already been registered in the operation target area table (step 3207). )
, if the target has already been specified, the next area (the area indicated by the forward pointer 5642 of the area management block of the area currently being determined on the document data) is checked. Also, if it has not been specified yet, it is assumed that the area has been specified and the number of the area is registered in the operation target area table, but at this time, if the basic area has already been specified as the target ( Step 32
08), the number of specified areas in the operation target area table is 568.
4 is cleared to 0 (after the target designation for the basic area is canceled) (step 3209), the internal area number and area type are registered in the operation target area table, and the number of designated areas 5681 is incremented by 1 (step 3210). ), In addition, in the above, when the basic area is registered as an operation target, the designation ′ is forcibly canceled when the basic area and internal area can be specified at the same time, as described later. This is because there will be no area editing corresponding to this. In addition, in the above process, if no internal area is registered, it is determined whether the internal area designation flag is O (step 3212), and if it is 0, there is no internal area at the specified position, and the operator must It is assumed that the area is specified as the target. Next, the number of the basic area is registered in the table, but at this time, it is checked whether this basic area has already been specified as a target (step 3213), and if it has not been specified, then the internal area is specified as the target. If it has been specified, the operation target area table is cleared once (step 3215).
), the basic area number and area type are registered in the operation target area table, and the number of specified areas is set to 1 (step 3216).

さて、オペレータからの指示が対象指定中の領域の槽室
解除指示であった場合には、その頁番号、頁内指示位置
と領域の設定位置からどの領域が指示されたかを文書デ
ータから判定し、その領域番号を操作対象領域テーブル
から削除する(第21図のステップ3005)、この時
の判定方法を第22d図のフローを用いてさらに詳細に
説明する。
Now, if the instruction from the operator is an instruction to release the tank chamber of the area that is being specified as a target, it is determined from the document data which area was specified based on the page number, the specified position within the page, and the set position of the area. , the region number is deleted from the operation target region table (step 3005 in FIG. 21). The determination method at this time will be explained in more detail using the flowchart in FIG. 22d.

まず、指示位置が基本領域内であったかどうか判定しく
ステップ3251)、基本領域外の場合は無条件に操作
対象領域テーブルをクリアする。
First, it is determined whether the designated position is within the basic area (step 3251), and if it is outside the basic area, the operation target area table is unconditionally cleared.

すなわち、テーブルに登録されているすべての領域の指
定を解除する(ステップ3258)。一方、基本領域内
だった場合は、以下、頁内の最も上位にある領域(頁内
末尾領域)から順に指示位置が領域内に有るかどうかを
判定しくステップ3252゜3253)、判定の結果、
領域内にあれば当該領域が操作対象領域テーブルに登録
されているかどうかを判定しくステップ3254) 、
’W録されていれば当該領域番号をテーブルから削除す
る(ステップ3257)、一方、ステップ3253にお
いて指示位置が当該領域内になかった場合、また、ステ
ップ3254において当該領域はテーブルに登録されて
いなかった場合には、ステップ3255゜3256を経
て、以降の領域に対し同様の判定を行う。
That is, the designation of all areas registered in the table is canceled (step 3258). On the other hand, if it is within the basic area, then steps 3252 and 3253) determine whether the indicated position is within the area in order from the highest area on the page (the last area on the page), and as a result of the determination,
If the area is within the area, it is determined whether the area is registered in the operation target area table (step 3254);
'W If the area number is registered in the table, the area number is deleted from the table (step 3257).On the other hand, if the indicated position is not within the area in step 3253, the area is not registered in the table in step 3254. If so, the process goes through steps 3255 and 3256, and the same determination is made for subsequent areas.

さて1以上の領域指定/解除操作に伴い、実行できる領
域の編集操作は逐次変わるが、この際の領域操作に関す
るプルダウンメニューの有効無効状態の切り換え処理(
第21図のステップ3014)について第22e図を用
いて説明する。
Now, as one or more region designation/cancellation operations are performed, the region editing operations that can be executed will change sequentially, but at this time, the process of switching the enable/disable state of the pull-down menu related to region operations (
Step 3014) in FIG. 21 will be explained using FIG. 22e.

領域に対する編集操作は、第26図に示すように操作の
対象として指定さ九た領域の数に応じて3つに分類する
ことができる。すなわち、まず、対象指定中の領域数を
判定しくステップ3301)。
Editing operations on regions can be classified into three types depending on the number of regions designated as operation targets, as shown in FIG. That is, first, the number of areas being specified as a target is determined (step 3301).

領域数が0の場合、領域新規作成のプルダウンメニュー
のみを有効とし、その他の領域編集を全て無効とする(
ステップ3302)。また、対象指定中の領域数が1の
場合は逆に、とりあえず領域新規作成のプルダウンメニ
ューのみを無効とし。
If the number of regions is 0, only the pull-down menu for creating a new region is enabled, and all other region editing is disabled (
Step 3302). Also, if the number of areas specified as target is 1, only the pull-down menu for creating a new area will be disabled for the time being.

その他の領域編集を全て有効とする(ステップ3303
)、また、対象指定中の領域数が2以上の場合は、移動
、複写、削除のみを有効とし、その他の領域編集は全て
無効とする(ステップ3304)、また、対象指定数が
1の場合はさらに指定されている領域が基本領域かどう
かを判定しくステップ3305)、基本領域の場合は属
性変更、サイズ変更も無効にしく゛ステップ3306)
、次に、指定されている領域のステータスがO以外かど
うかを判定しくステップ3307)、0以外の場合(当
該領域は現在既に編集中であるか、もしくは当該領域を
更新可能な領域編集部がシステム中に存在しない場合)
は更新も無効とする(ステップ3308)。また、対象
指定数が1以上の場合は、指定されている領域の中にス
テータスが1の領域(現在編集中の領域)が存在するか
どうか判定しくステップ3309)、存在する場合は削
除も無効とする(ステップ3310)。
Enable all other area editing (step 3303
), if the number of areas specified as a target is 2 or more, only move, copy, and delete are enabled, and all other area editing is disabled (step 3304), and if the number of areas specified as a target is 1 Further, it is determined whether the specified area is a basic area (step 3305), and if it is a basic area, attribute changes and size changes are also disabled (step 3306).
Next, it is determined whether the status of the specified area is other than O (step 3307), and if the status is other than 0 (the area is currently being edited, or the area editing unit that can update the area is (if not present in the system)
The update is also invalidated (step 3308). In addition, if the number of specified targets is 1 or more, it is determined whether or not an area with a status of 1 (the area currently being edited) exists among the specified areas (step 3309), and if so, deletion is also disabled. (Step 3310).

さて次に、オペレータからの指示が領域新規作成の指示
であった場合(第21図のステップ3006)について
第22f図のフローに基づいて説明する。
Next, the case where the instruction from the operator is an instruction to create a new area (step 3006 in FIG. 21) will be explained based on the flow shown in FIG. 22f.

この場合、オペレータによる新規作成の指示は、プルダ
ウンメニューにて表示されるデータ名称を指示すること
により行われるが、文?W東部561は入力制御部51
から渡されたプルダウンメニューの番号に従い、前述の
SFMT(第27図)を元に対応するデータのプログラ
ム番号、データ種別番号を取得しくステップ3401)
 、どのデータに対する新規作成が指示さ九たかを判定
する(ステップ3402)、この際、指示されたデータ
が内部領域として作成するデータであれば、次に領域の
エリア設定、及び領域の属性設定を行う(ステップ34
03)。そして1以上の情報に基づいて領域管理ブロッ
クを生成しくステップ3404)、領域編集部を起動す
る(ステップ3405)(起動処理については後述する
)。
In this case, the operator instructs new creation by specifying the data name displayed in the pull-down menu, but the text? W eastern part 561 is input control section 51
Step 3401
, it is determined which data has been instructed to create new data (step 3402). At this time, if the instructed data is data to be created as an internal area, then the area setting of the area and the attribute setting of the area are determined. Perform (step 34
03). Then, an area management block is generated based on one or more pieces of information (step 3404), and the area editing section is activated (step 3405) (the activation process will be described later).

さて、オペレータからの指示が既作成領域の更新指示で
あった場合(第21図のステップ3007)、第22g
図のように操作対象領域テーブル5686に登録されて
いる領域の番号を取得しくステップ3411)、その番
号からその領域管理ブロックのデータ種別を元にSFM
Tよりプログラム番号を取得しくステップ3412)、
該当する領域編集部562をタスクとして起動する(ス
テップ3413)。
Now, if the instruction from the operator is an instruction to update an already created area (step 3007 in FIG. 21), step 22g
As shown in the figure, the number of the area registered in the operation target area table 5686 is obtained (step 3411), and the SFM is executed based on the data type of the area management block from that number.
Step 3412) to obtain the program number from T.
The corresponding area editing section 562 is activated as a task (step 3413).

上記における領域編集部562の起動においては、第2
2h図のように、まず、取得したプログラム番号を元に
文書編集部561はシステム制御部53に対してタスク
の生成要求を行い(ステップ3451)、この結果返さ
れるタスク番号及び該当する領域の番号を起動中編集タ
スク管理テーブル(以下ETMTと略記する)に登録す
る(ステップ3452)、ETMTは第29図に示すよ
うに、上記タスク番号5688.領域番号5689を対
として保持し、また、現在いくつの領域編集部を起動し
ているかを示す起動タスク数5687を有する。そして
、該当する領域が編集中であることを示すために領域管
理ブロックのステータスを0から1に変更する(ステッ
プ3453)。以上の処理後1文書編集部561はシス
テム制御部53に対してタスクの起動要求を行い(ステ
ップ3454) 。
In the activation of the area editing section 562 in the above, the second
As shown in Figure 2h, first, the document editing unit 561 requests the system control unit 53 to generate a task based on the obtained program number (step 3451), and the task number and the number of the corresponding area are returned as a result. is registered in the active editing task management table (hereinafter abbreviated as ETMT) (step 3452), and the ETMT registers the task number 5688. as shown in FIG. It holds the area number 5689 as a pair, and also has the number of activated tasks 5687 indicating how many area editing units are currently activated. Then, the status of the area management block is changed from 0 to 1 to indicate that the corresponding area is being edited (step 3453). After the above processing, the one-document editing section 561 requests the system control section 53 to start a task (step 3454).

また、起動パラメータを起動する領域編集部に対してメ
ツセージにて送信する(ステップ3455)。
Furthermore, the activation parameters are sent as a message to the area editing unit that activates them (step 3455).

この際、起動パラメータとして新規作成か領域更新かを
示す起動モード、文書編集部561のタスク番号及び起
動する領域W東部のタスク番号、さらに、新規作成の場
合は領域のサイズを送信する。
At this time, as startup parameters, the startup mode indicating whether to create a new area or update the area, the task number of the document editing section 561, the task number of the eastern part of the area W to be activated, and, in the case of new creation, the size of the area are transmitted.

その他の編集操作、例えば領域の移動、削除や頁の挿入
、追加等が指示された場合には、それぞれ該当する処理
を行い(第21図のステップ3008〜3011)、オ
ペレータの次の指示を待つ(ステップ3002)。
If other editing operations are instructed, such as moving or deleting an area, inserting or adding a page, etc., perform the corresponding processing (steps 3008 to 3011 in Figure 21) and wait for the next instruction from the operator. (Step 3002).

さてオペレータからの指示が表示頁切り換えの指示1例
えば前頁2次頁といった指示であった場合には(第21
図のステップ3012)、それぞれ該当する頁のレイア
ウトをウィンドウ内に再表示するがこのレイアウトの表
示処理について第221@を用いてさらに詳細に説明す
る。
Now, if the instruction from the operator is the instruction 1 to change the displayed page, for example, the previous page, 2nd page, etc. (21st
In step 3012) in the figure, the layout of each corresponding page is redisplayed in the window. This layout display process will be explained in more detail using No. 221@.

このレイアウトの表示においては前述の文書データを元
に、まず、用紙枠やヘッダ、フッタ等の表示を行い(ス
テップ3501.3502)、以下頁内に設定されてい
る領域の内、優先度が最も整い領域(頁内先頭領域)か
ら順に表示する(ステップ3503〜3514)、この
領域の表示においては、まず、領域枠の表示を行い(ス
テップ3504)、次に当該領域のデータに対する編集
プログラムが存在するかどうかを該当する領域管理ブロ
ック内のデータ種別番号及びSFMTより判定しくステ
ップ3505)、無い場合は当該領域管理ブロックのス
テータスを2に変更すると共に(ステップ3511)、
当領域に対する編集プログラムがシステム中に存在しな
いことをオペレータに知らせるために領域内を全黒で表
示する(ステップ3512)、また、上記において存在
する場合は次に当該領域4こ対する属性が透明かどうか
を判定しくステップ3506)、不透明の場合は領域内
を一部クリアした後(ステップ3507)、領域内デー
タを表示する(ステップ3508)。
In displaying this layout, first the paper frame, header, footer, etc. are displayed based on the document data described above (steps 3501 and 3502), and the following areas set within the page are displayed with the highest priority. The area is sequentially displayed starting from the well-organized area (the first area in the page) (steps 3503 to 3514). In displaying this area, first, an area frame is displayed (step 3504), and then an editing program exists for the data in the area. It is determined from the data type number and SFMT in the corresponding area management block (step 3505), and if there is no such area management block, the status of the area management block is changed to 2 (step 3511),
In order to inform the operator that an editing program for this area does not exist in the system, the area is displayed in full black (step 3512), and if there is an editing program in the above, then whether the attribute for the area 4 is transparent or not is displayed (step 3512). If it is opaque, the area is partially cleared (step 3507), and then the data within the area is displayed (step 3508).

さらに領域表示後、当該領域に対するステータス情報に
基づいて当該領域がlIJ集中であるかどうか(1かど
うか)判定しくステップ3509)、編集中の場合は当
領域を現在JI編集中であることをオペレータに知らせ
るために領域全体を網かけ表示する(ステップ3510
)。以下、同様の処理を表示する頁内に存在する全ての
領域に対して行う(ステップ3513.3514)。
Furthermore, after displaying the area, it is determined whether the area is IJ-concentrated (1 or not) based on the status information for the area (step 3509), and if it is being edited, the operator informs the operator that the area is currently being edited by JI. The entire area is shaded to inform the user (step 3510).
). Thereafter, similar processing is performed for all areas existing within the page to be displayed (steps 3513 and 3514).

この他、後述するウィンドウの切り換え操作によるアク
ティベイト入力の場合についての処理(第21図、のス
テップ3013)については後述する。また、終了が指
示された場合には文書の編集を終了するがこの処理(第
21図のステップ3015)の内容についても後述する
In addition, the process (step 3013 in FIG. 21) regarding the activation input by the window switching operation, which will be described later, will be described later. Further, if termination is instructed, document editing is terminated, and the details of this process (step 3015 in FIG. 21) will be described later.

さて、以上において、領域の新規作成もしくは更新によ
り文lF編集部561が領域編集部562゜例え□ば1
図形データの編集部の起動を要求した場合、システム制
御部53は、この要求に従い、新たに図形データ編集部
をタスクとして起動する一次にこの図形データ編集部の
処理内容について第30図の処理フローに基づいて説明
する。
Now, in the above, when a new area is created or updated, the sentence IF editing section 561 changes to the area editing section 562.For example, □1
When a request is made to start the graphic data editing section, the system control section 53, in accordance with this request, newly starts the graphic data editing section as a task. The explanation will be based on.

まず1図形データ編集部は、起動パラメータをメツセー
ジにて受信しくステップ4001)、起動モードが新規
作成か領域更新かを判定する(ステップ4002)、そ
して新規作成の場合はデータの初期化を行い(ステップ
4003)、また。
First, the 1-figure data editing unit receives startup parameters via message (step 4001), determines whether the startup mode is new creation or area update (step 4002), and in the case of new creation, initializes the data ( Step 4003), also.

更新の場合には更新対象となるデータを記憶部から呼び
出す(ステップ4004)、そして、ウィンドウをオー
プンしくステップ4005)、ウィンドウ内に図形デー
タを表示する(ステップ4006)が、この際、ウィン
ドウのサイズは領域のサイズに対応した大きさとし、ま
た、ウィンドウのタイトルの一部に起動元の文書編集部
同様、起動元文書編集部のタスク番号を付加する。これ
により複数の文書を同時に編集し、また、各々そのなか
のいくつかの領域を編集しているような場合、どの領域
がどの文書に対する領域かは、第32図に示すように、
このウィンドウのタイトルの一部として表示されたタス
ク番号254により簡単に識別することができる。また
、この時1画面の表示状態は第3111(b)のように
なる、さて、以降。
In the case of updating, the data to be updated is called from the storage unit (step 4004), a window is opened (step 4005), and the graphic data is displayed in the window (step 4006), but at this time, the size of the window is is set to a size corresponding to the size of the area, and the task number of the starting document editing section is added to a part of the title of the window, just like the starting document editing section. As a result, when multiple documents are being edited at the same time, and several areas within each document are being edited, which area corresponds to which document is determined as shown in Figure 32.
It can be easily identified by the task number 254 displayed as part of the title of this window. Also, at this time, the display state of one screen will be as shown in No. 3111(b).

図形データ編集部は設定されたウィンドウ内においてオ
ペレータからの指示に従って図形データの作成1編集を
行う(ステップ4007〜4009)。
The graphic data editing section performs creation and editing of graphic data in accordance with instructions from the operator within the set window (steps 4007 to 4009).

なお、図形データIIi東部はオペレータから領域内の
編集終了が指示された場合1作成した図形データを記憶
部3に格納しくステップ4010)、ウィンドウをクロ
ーズしくステップ4011)、領域編集終了メツセージ
を起動元の文書編集部561に送り(ステップ4012
)、タスクを終了する(ステップ4013)、なお、こ
の終了メツセージには、起動した文書編集部がどの領域
の編集が終了したか判定できるようにするために領域内
の編集終了を示す終了コード、図形編集部自身のタスク
番号をセットする。
Note that when the operator instructs the graphic data IIi to finish editing within the area, 1 stores the created graphic data in the storage unit 3 (step 4010), closes the window (step 4011), and sends the area editing completion message to the activation source. to the document editing department 561 (step 4012
), the task is ended (step 4013), and this end message includes an end code indicating the end of editing in the area so that the activated document editing section can determine which area editing has ended; Set the task number of the figure editing department itself.

以上のようにして1文書全体及び各領域内の作成9編集
を行うことができるが、次にウィンドウ操作による編集
部の切り換えの操作方法及び処理内容について第31図
及び第17図を用いて説明する。
As described above, creation and editing of the entire document and each area can be performed.Next, the operation method and processing contents for switching the editing section by window operation will be explained using Fig. 31 and Fig. 17. do.

まず、第31図(b)ならびに第3図(c)に示すよう
に1図形領域内を編集中に文書レイアウトの編集に切り
換える場合には、前述した操作対象の指定と同様に文書
編集部561のウィンドウ上へマウスカーソル30を移
動し、マウスの実行ボタンを押下する。この入力指示に
より、まず、入力制御部51が指示位置がそのままで編
集中であった図形編集部のウィンドウ外であることを判
定し、この入力を図形編集部でなくウィンドウ管理部5
2へ引き渡す。ウィンドウ管理部52は。
First, as shown in FIG. 31(b) and FIG. 3(c), when switching to document layout editing while editing one graphic area, the document editing section 561 Move the mouse cursor 30 onto the window and press the mouse execution button. Based on this input instruction, the input control unit 51 first determines that the specified position is outside the window of the figure editing unit that was being edited, and inputs this input not to the figure editing unit but to the window management unit 51.
Hand over to 2. The window management section 52 is.

マウスによる指示位置ならびにウィンドウ管理テーブル
から文書編集部561のウィンドウが指示されたことを
判定しくステップ1521)、それまで最上位だったウ
ィンドウを使用しているタスク、すなわち、図形編集部
を一旦中断させ(ステップ1522)、また、最上位ウ
ィンドウの表示イメージを表示バッファに退避する(ス
テップ1523)。そして、新たに指示された文書編集
部のウィンドウを最上位に表示しくステップ1524)
、ウィンドウ管理ブロックの重なり順を更新しくステッ
プ1525)、さらに新たに処理を再開する文書編集部
に対してウィンドウが切り換えられたことを知らせるた
めに、アクティベイトコードを該ウィンドウ使用タスク
に返しくステップ1526)、J’ウィンドウを使用し
ているタスク、すなわち1文書#g集部を再開する(ス
テップ1527)。
It is determined from the position indicated by the mouse and the window management table that the window of the document editing section 561 has been indicated (step 1521), and the task that is using the window that was the topmost until then, that is, the figure editing section, is temporarily suspended. (Step 1522), and saves the display image of the topmost window to the display buffer (Step 1523). Then, display the newly specified document editing section window at the top (step 1524).
, updating the stacking order of the window management blocks (step 1525), and returning an activation code to the task using the window in order to notify the document editing section, which restarts the process, that the window has been switched. 1526), restarts the task using the J' window, ie, the 1 document #g collection (step 1527).

なお、上記における編集部の中断、再開はシステム制御
部53において処理される。以下、第12e図及び第1
2f図のフローに基づいて中断。
Note that the above-mentioned interruption and restart of the editing section is processed by the system control section 53. Below, Figure 12e and 1
Interrupted based on the flow in Figure 2f.

再開の処理について説明する。The restart process will be explained.

タスクの中断要求が発生した場合、システム制御部53
は指定されたタスクに対応するTCBの中断フラグをセ
ットしくステップ1141)、該タスクがREADY状
態かどうか判定しくステップ1142)、READY状
態であれば対応するTCBをREADYキューから外し
、ディスパッチャによりCPUが割り当てられないよう
にする(ステップ1143)。
When a task interruption request occurs, the system control unit 53
sets the interrupt flag of the TCB corresponding to the specified task (step 1141), determines whether the task is in the READY state (step 1142), and if the task is in the READY state, removes the corresponding TCB from the READY queue and causes the dispatcher to It is prevented from being allocated (step 1143).

タスクの再開要求に対しては指定された対応するTCH
の中断フラグをリセットしくステップあれば再びREA
DYキューに接続する(ステップ1153)、TCBの
中断フラグがセットされている場合、タスクディスパッ
チャでは該当タクスを起動させず、READYキューか
ら外す。
The specified corresponding TCH for a task restart request.
If there is a step to reset the interrupt flag of
Connect to the DY queue (step 1153). If the interrupt flag of the TCB is set, the task dispatcher does not start the corresponding task and removes it from the READY queue.

また、第31図(Q)の状態から今度は基本領域の更新
を行えば1画面は第31図(d)に示したように変化す
る。この状態において、各編集部の切り換えはテキスト
、図形、レイアウト、各々相互の間で前述と同様の操作
方法により任意に行うことができる。例えば、領域編集
部間、すなわちテキストから図形に切り換えると画面の
表示状態は第31図(e)に示すようになる。
Furthermore, if the basic area is updated from the state shown in FIG. 31(Q), one screen changes as shown in FIG. 31(d). In this state, each editing section can be switched arbitrarily between text, graphics, and layout using the same operation method as described above. For example, when switching between the area editing sections, that is, from text to graphics, the display state of the screen becomes as shown in FIG. 31(e).

さて、前述のウィンドウの切り換えを行うと、ウィンド
ウ管理部から再開されるタスクに対し、入力としてアク
ティベイトコードが返される。
Now, when the window is switched as described above, the activation code is returned as input to the restarted task from the window management section.

例えば前述の例において、図形編集部から文書編集部5
61に切り換えた場合1文書編集部561は再開後に上
記アクティベイト入力を受は取り、これに従って以下の
処理を行う(第22.〕図、k)。
For example, in the above example, from the graphic editing section to the document editing section 5
61, the 1-document editing section 561 receives the above activation input after restarting, and performs the following processing accordingly (Fig. 22, k).

すなわち、まず、現在表示中の頁内に編集中の領域があ
るか否かを文書データより判定しくステップ3601)
、ある場合にはその領域の内容が編集によって更新され
ている可能性があるので、表示フラグを1にセット(ス
テップ3602)。
That is, first, it is determined from the document data whether or not there is an area being edited in the currently displayed page (step 3601).
If there is, there is a possibility that the contents of that area have been updated by editing, so the display flag is set to 1 (step 3602).

ない場合には、表示フラグを0にセットしくステップ3
603)、以下のメツセージ処理後にレイアウトの再表
示処理を行う。次に、システム制御部53に対してメツ
セージの受信要求を行い、メツセージがあれば該当する
領域編集部の終了処理として次の処理を行う(ステップ
3604〜3606)。
If not, set the display flag to 0 in step 3.
603), the layout is redisplayed after the following message processing. Next, a message reception request is made to the system control unit 53, and if there is a message, the following process is performed as a termination process of the corresponding area editing unit (steps 3604 to 3606).

すなわち、まず、メツセージ中に格納された領域編集部
のタスク番号及びETMT (第29図)より領域番号
を取得しくステップ3651)、該当する領域管理ブロ
ックのステータスを0にリセットしくステップ3652
)、当該タスクに関する情報をETMT (第29図)
より削除しくステップ3653)、最後に当該タスクそ
のものを削除する(ステップ3654)。さて、上記に
おいてメツセージがなかった場合は表示フラグが1にセ
ットされているかどうかを判定しくステップ3607)
、セットされていれば当該頁のレイアウト再表示を行う
(ステップ3608)。
That is, first, the task number of the area editing unit stored in the message and the area number are obtained from the ETMT (FIG. 29) (step 3651), and the status of the corresponding area management block is reset to 0 (step 3652).
), information about the task is sent to ETMT (Figure 29)
Then, the task itself is deleted (step 3653), and finally the task itself is deleted (step 3654). Now, in the above case, if there is no message, it is determined whether the display flag is set to 1 (step 3607).
, if set, the layout of the page is redisplayed (step 3608).

最後に文書編集部561における終了処理について第2
2n図及び第12g図を用いて説明する。
Finally, the second section regarding the termination process in the document editing section 561.
This will be explained using Figure 2n and Figure 12g.

オペレータから終了を指示された場合には、前述のET
MT (第29図)に基づいて起動中の編集タスクがあ
るかどうか判定しくステップ3702)。
If the operator instructs you to terminate, the above-mentioned ET
Step 3702) to determine whether there is an active editing task based on the MT (FIG. 29).

ある場合はETMT (第29図)よりタスク番号。If so, use the task number from ETMT (Figure 29).

領域番号を取得しくステップ3703)、当該領域のス
テータスをOにリセットした後(ステップ3704)、
システム制御部53に対してタスクの強制終了要求を行
う(ステップ3705)、これに従って、システム制御
部53は、第12g図に示すように、まず、#H定され
たタスクが使用していた資源を解放しくステップ116
1)、ウィンドウ管理に強制終了処理要求を行い(ステ
ップ1162)、ウィンドウ管理部52では第16図に
示すクローズ処理と同様の処理を行う、そして指定され
たタスク番号に基づき、対応するTCBがREADYキ
ューに接続されていればREADYキューのへラダ53
3より外し、TCHの状態をDORNANT状態とする
(ステップ1163)、以上の強制終了処理後1文書編
集部561は当該タスクを削除する(ステップ3706
)。
After acquiring the area number (step 3703) and resetting the status of the area to O (step 3704),
A task forced termination request is made to the system control unit 53 (step 3705). Accordingly, the system control unit 53 first requests the resource used by the #H specified task, as shown in FIG. 12g. Step 116
1) A forced termination processing request is made to the window management (step 1162), and the window management unit 52 performs processing similar to the closing processing shown in FIG. 16, and based on the specified task number, the corresponding TCB is set to READY. If connected to a queue, the READY queue header 53
3 and set the TCH state to DORNANT state (step 1163). After the above forced termination processing, the 1-document editing unit 561 deletes the task (step 3706).
).

以上の処理を起動中の編集タスクに対し繰返し行い(ス
テップ3707)、起動中のタスクの強制終了が全て終
了したならば文書データを登録しくステップ3708)
、文書tii集部東部オーブンしていたウィンドウをク
ローズしくステップ3709)、システム管理部57に
対して処理が終了した旨をメツセージで送信して(ステ
ップ3710)、タスクを終了する(ステップ3711
)。
The above process is repeated for the editing task that is running (step 3707), and when all the running tasks have been forced to terminate, the document data is registered (step 3708).
, close the window that was open in the document collection section (step 3709), send a message to the system management section 57 to the effect that the processing has been completed (step 3710), and end the task (step 3711).
).

このように1文書編集部561に対して終了要求がある
と編集中の領域編集部562を一括して終了させること
ができる。
In this manner, when a termination request is made to the one-document editing section 561, the area editing sections 562 that are being edited can be terminated all at once.

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

以上述べてきたように本発明の文書作成装置では、領域
内のデータの作成1編集、ならびにレイアウト画面での
領域の編集や表示部の切り換えなど、それぞれの編集部
の機能を終了させること無くII集操作を相互に切り換
えることが可能となるため、複数の種別のデータが混在
する文書作成における操作性が向上する。
As described above, in the document creation device of the present invention, editing of data within an area, editing of an area on a layout screen, switching of display parts, etc. can be performed without terminating the functions of each editing part. Since collection operations can be switched between each other, operability in document creation that includes a mixture of multiple types of data is improved.

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

第1図は本発明を適用した日本語ワードプロセッサの構
成を示すブロック図、第2図はその表示部における表示
画面の例を示す図、第3図はマウスボタンの構成を示す
図、第4図はアイコン管理テーブルの構成図、第5図は
プログラム制御テーブルの構成図、第6図はデータ名称
定義テーブルの構成図、第7図はウィンドウ管理テーブ
ルの構成図、第8図はタスク制御テーブルの構成図、第
9図はREADキューを示す図、第10図はメツセージ
制御テーブルの構成図、第11図はメツセージ受信待ち
行列を示す図、第12図はシステム制御部の処理を示す
図、第12a図はタスク生成の処理を示す図、第12b
図はタスク削除の処理を示す図、第12c図はタスク起
動の処理を示す図、第12d図はタスク終了の処理を示
す図、第12e図はタスク中断の処理を示す図、第12
f図はタスク再開の処理を示す図、第12g図はタスク
強制終了の処理を示す図、第12h図はメツセージ送信
の処理を示す図、第121@はメツセージ受信の処理を
示す図、第12j図はディスパッチャの処理を示す図、
第13図は入力制御部の処理を示す図、第14図はメニ
ュー管理テーブル。 プルダウンメニューテーブルの構成及び関連を示す図、
第15図はウィンドウオープンの処理を示す図、第16
図はウィンドウクローズの処理を示す図、第17図はウ
ィンドウ切り換えの処理を示す図、第18図はシステム
管理部の処理を示す図、第19図はファイル編集部の処
理を示す図、第20図は操作対象文書テーブルの構成図
、第21図は文書編集部の処理を示す図、第22a図は
文書編集部の初期処理を示す図図、第22b図は文書編
集部の初期処理におけるサポート領域管理テーブル作成
処理を示す図、第22c図は文書編集部の領域指定処理
を示す図、第22d図は文書編集部の指定解除処理を示
す図、第22a図は文書編集部のプルダウンメニューの
有効無効状態切り換え処理を示す図、第22f図は文書
編集部の領域新規作成処理を示す図、第22g図は文書
編集部の領域更新処理を示す図、第22h図は文書編集
部の領域新規作成、領域更新処理における領域編集部起
動処理を示す図、第22i図は文書編集部のレイアウト
表示処理を示す図、第22j図は文書編集部のアクティ
ベイト処理を示す図、第22に図は文書編集部のアクテ
ィベイト処理における領域編集部終了処理を示す図、第
22Q図は文書編集部の編集終了処理を示す図、第23
図は文書編集部のメニューテーブルの構成図、第24図
は文書データの構成図、第25図は頁の構成を示す図、
第26図は操作対象として指定された領域数と実行可能
な領域編集操作との関連を示す図、第27図はサポート
領域編集部管理テーブルの構成図、第28図は操作対象
領域テーブルの構成図、第29図は起動編集タスク管理
テーブルの構成図。 第30図は図形データ編集部の処理を示す図、第31図
(a)〜(6)は本発明を用いた文書編集操作の画面変
化例を示す図、第32図は図形データ編集部によって表
示されたウィンドウ表示画面である。 1・・・入力部、2・・・表示部、3・・・記憶部、4
・・・印刷部、5・・・制御部、51・・・入力制御部
、52・・・ウィンドウ管理部、53・・・システム制
御部、54・・・印刷制御部、55・・・表示制御部、
56・・・編集部、561・・・文書編集部、562・
・・領域編集部、57・・・システム管理部、58・・
・ファイル編集部。 代理人 弁理士 小川勝馬 、1 葛、4区 第5回 第8m 昇9昭 5jZ      55Z       53z芋jQ
Il¥1 第11m う3z          5jZ 第1Z旭 (7ズ、りの佐A、) 關12 b■ る1zc囚 (クスクシ榎!コトケ七り求ジ 開12.(Iソ 名12e刀 4凸1’l  fがa (クスクシタ芝や1#T) 第1zば 名IZi国 第1I做功′#IJ憾5Q $ruel 奈t5 f¥l #rl、m 鰻170 第zo図 頻2zぺ丘        第221)ヅ葛22c6J
J 第ZZl’j:J 施7Zc囚 G肖り 括22を口 靜Z2trfJ $23図 史ネ蜂華4fヌニスーテーフル 第25霞 第2乙m 茶27回 Y!J−V?’@#Elf−フル(5FMT)爲zs 
’m Aシケ百1各囁戚デー7′/シ 爲zQ m
FIG. 1 is a block diagram showing the configuration of a Japanese word processor to which the present invention is applied, FIG. 2 is a diagram showing an example of a display screen on the display unit, FIG. 3 is a diagram showing the configuration of mouse buttons, and FIG. 4 is a configuration diagram of the icon management table, Figure 5 is a configuration diagram of the program control table, Figure 6 is a configuration diagram of the data name definition table, Figure 7 is a configuration diagram of the window management table, and Figure 8 is a configuration diagram of the task control table. 9 is a diagram showing the READ queue, FIG. 10 is a diagram showing the configuration of the message control table, FIG. 11 is a diagram showing the message reception queue, and FIG. 12 is a diagram showing the processing of the system control unit. Figure 12a is a diagram showing the task generation process, Figure 12b is a diagram showing the task generation process.
12C is a diagram showing task deletion processing; FIG. 12C is a diagram showing task activation processing; FIG. 12D is a diagram showing task termination processing; FIG. 12E is a diagram showing task suspension processing;
Figure f shows the process of restarting a task, Figure 12g shows the process of forced termination of a task, Figure 12h shows the process of sending a message, Figure 121@ shows the process of receiving a message, and Figure 12j shows the process of message reception. The figure shows the process of the dispatcher,
FIG. 13 is a diagram showing the processing of the input control section, and FIG. 14 is a menu management table. A diagram showing the structure and relationships of a pull-down menu table,
Figure 15 is a diagram showing the window opening process, Figure 16 is a diagram showing the window opening process.
Figure 17 shows the process of closing a window, Figure 17 shows the process of switching windows, Figure 18 shows the process of the system management section, Figure 19 shows the process of the file editing section, and Figure 20 shows the process of the file editing section. Figure 21 is a diagram showing the structure of the operation target document table, Figure 21 is a diagram showing the processing of the document editing unit, Figure 22a is a diagram showing the initial processing of the document editing unit, and Figure 22b is a diagram showing support in the initial processing of the document editing unit. Figure 22c is a diagram showing area management table creation processing, Figure 22c is a diagram showing area designation processing in the document editing department, Figure 22d is a diagram showing designation cancellation processing in the document editing department, and Figure 22a is a diagram showing the pull-down menu of the document editing department. Figure 22f is a diagram showing the process for changing the valid/invalid state, Figure 22f is a diagram showing the new area creation process in the document editing section, Figure 22g is a diagram showing the area updating process in the document editing unit, and Figure 22h is a diagram showing the new area creation process in the document editing department. FIG. 22i is a diagram showing the area editing section activation process in the creation and area update processing; FIG. 22i is a diagram showing the layout display process of the document editing section; FIG. Figure 22Q is a diagram showing the region editing unit termination process in the activation process of the document editing unit; Figure 23 is a diagram showing the editing termination process of the document editing unit;
Figure 24 is a configuration diagram of the menu table of the document editing department, Figure 24 is a configuration diagram of document data, Figure 25 is a diagram showing the page configuration,
Figure 26 is a diagram showing the relationship between the number of areas specified as operation targets and executable area editing operations, Figure 27 is a configuration diagram of the support area editing department management table, and Figure 28 is the configuration of the operation target area table. 29 is a configuration diagram of the startup editing task management table. FIG. 30 is a diagram showing the processing of the graphic data editing section, FIG. This is a displayed window display screen. 1... Input section, 2... Display section, 3... Storage section, 4
...Printing section, 5...Control section, 51...Input control section, 52...Window management section, 53...System control section, 54...Print control section, 55...Display control unit,
56... Editorial department, 561... Document editing department, 562.
...Area Editorial Department, 57...System Management Department, 58...
・File editing department. Agent Patent Attorney Katsuma Ogawa, 1 Kuzu, 4th Ward 5th 8m Noboru 9 Showa 5jZ 55Z 53z ImojQ
Il¥1 11th m U3z 5jZ 1st Z Asahi (7z, Rinosa A,) 關12 b■ Ru1zc prisoner (Kusukushi Enoki! Kotoke 7ri seeking jikai 12. (I son name 12e sword 4 convex 1' l f is a (Kusukushita Shibaya 1#T) 1st zbana IZi country 1I 做Go'#IJ憾5Q $ruel nat5 f\l #rl, m eel 170 th zo figure frequency 2z pe hill 221)ヅKudzu 22c6J
J No. ZZl'j: J 7Zc Prisoner G Portrait 22 wo wo Z2 trfJ $23 Illustration history ne bee flower 4f Nunisu Teful 25th Kasumi 2nd Otm Tea 27th Y! J-V? '@#Elf-Full (5FMT)
'm A shike 101 each whisper day 7'

Claims (1)

【特許請求の範囲】 1、複数種類の記載要素が混在する文書を対象とし、文
書中に記載する記載要素を領域毎に入力する入力部と、
入力された記載要素を記憶する記憶部と、前記記憶手段
に記憶された各種記載要素を表示する表示部とを備えた
文書作成装置において、作成文書の頁レイアウトを前記
表示部により表示し、該表示に従つて領域の編集を行う
文書編集部と、各領域内の記載要素データを作成、編集
する記載要素データの種別に応じた複数の領域編集部と
、前記文書編集部において作成、更新を指示された領域
の記載要素データの種別に従い該当する領域編集部を起
動する起動手段と、前記文書編集部と前記起動手段によ
つて起動された領域編集部とを、どちらもその機能を終
了させることなく切り換える編集部切り換え手段とを設
けたことを特徴とする文書作成装置。 2、特許請求の範囲第1項記載の文書作成装置において
、前記編集部切り換え手段は、起動された複数の領域編
集部を、いずれの領域編集部もその機能を終了させるこ
となく互いに切り換えることを特徴とする文書作成装置
[Scope of Claims] 1. An input unit for inputting description elements to be described in the document for each area, for a document in which multiple types of description elements are mixed;
In a document creation device comprising a storage section for storing input written elements, and a display section for displaying various written elements stored in the storage means, a page layout of a created document is displayed on the display section, A document editing section that edits the area according to the display, a plurality of area editing sections that create and edit description element data in each area according to the type of description element data, and a document editing section that performs creation and updating. activating means for activating a corresponding area editing section according to the type of description element data of the designated area; and terminating the functions of both the document editing section and the area editing section activated by the activating means. A document creation device characterized in that it is provided with an editorial department switching means for switching without any trouble. 2. In the document creation device according to claim 1, the editing section switching means is configured to switch the plurality of activated area editing sections to each other without terminating the function of any one of the area editing sections. Characteristic document creation device.
JP61276598A 1986-11-21 1986-11-21 Document forming device Pending JPS63131265A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61276598A JPS63131265A (en) 1986-11-21 1986-11-21 Document forming device
US07/632,612 US5142618A (en) 1986-11-21 1990-12-26 Window management apparatus for a document creating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61276598A JPS63131265A (en) 1986-11-21 1986-11-21 Document forming device

Publications (1)

Publication Number Publication Date
JPS63131265A true JPS63131265A (en) 1988-06-03

Family

ID=17571675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61276598A Pending JPS63131265A (en) 1986-11-21 1986-11-21 Document forming device

Country Status (1)

Country Link
JP (1) JPS63131265A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6162170A (en) * 1984-08-30 1986-03-31 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Compound document editing

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6162170A (en) * 1984-08-30 1986-03-31 インタ−ナショナル ビジネス マシ−ンズ コ−ポレ−ション Compound document editing

Similar Documents

Publication Publication Date Title
JP2559406B2 (en) Document creation device
US5335323A (en) Computer human interface with multiapplication display
US5142618A (en) Window management apparatus for a document creating apparatus
US5502839A (en) Object-oriented software architecture supporting input/output device independence
US5062060A (en) Computer human interface comprising user-adjustable window for displaying or printing information
JP4076239B2 (en) Information display method and window management apparatus
USRE38883E1 (en) Method and system for the direct manipulation of information, including non-default drag and drop operation
JPH076170A (en) Method for capsuling of extracted part of document to object
JPH0816514A (en) Coopperation support system
JPH01234967A (en) Document forming device
JPS63131265A (en) Document forming device
JP2683234B2 (en) Document creation method and apparatus
EP0274087A2 (en) Computer human interface
JP2685133B2 (en) Document creation method and apparatus
JP2683235B2 (en) Document creation device
JP2683236B2 (en) Document creation device
JPH09185482A (en) Scroll control method for picture
JPS63284665A (en) Document producing device
JPS63284663A (en) Designating device for operating subject
JPH022452A (en) Document forming device
JPH01311362A (en) Document preparing device
JP3699923B2 (en) Page image display management method during layout editing
JPH0756902A (en) Document editing device
JP3944793B2 (en) Print data control apparatus and control method
JP3269623B2 (en) Document creation device