JPH08227420A - Document creation device - Google Patents

Document creation device

Info

Publication number
JPH08227420A
JPH08227420A JP7293921A JP29392195A JPH08227420A JP H08227420 A JPH08227420 A JP H08227420A JP 7293921 A JP7293921 A JP 7293921A JP 29392195 A JP29392195 A JP 29392195A JP H08227420 A JPH08227420 A JP H08227420A
Authority
JP
Japan
Prior art keywords
editing
area
data
edit
menu
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
JP7293921A
Other languages
Japanese (ja)
Inventor
Teiji Kuwabara
禎司 桑原
Hiroyuki Koreeda
浩行 是枝
Naomichi Nonaka
尚道 野中
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 JP7293921A priority Critical patent/JPH08227420A/en
Publication of JPH08227420A publication Critical patent/JPH08227420A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE: To provide a device which enables a document to be edited on both a layout display screen and a normal editing screen and can easily switch them by providing a switching means which switches the specific 1st editing mode and 2nd mode. CONSTITUTION: This device is provided with the switching means which switches the 1st editing mode wherein data can be edited on the layout display screen displayed on a display screen and the 2nd mode wherein a dedicated editing screen corresponding to plural edited data constituting the layout display screen is displayed and corresponding data are edited on the dedicated editing screen. Namely, a menu bar 100 of each editing task is provided with a switching menu 101. When the switching menu 101 is instructed with a cursor 110, a document manager operates and various processes can be selected with a new area generation menu 102 and an area operation menu 103. Consequently, the editing mode on the layout display screen and the normal editing mode can easily be switched by a user's instruction.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は文書作成装置に係り、特
に文章や図形等の種類の異なる複数のデータからなる統
合文書の印刷イメージをディスプレイ画面に表示し、そ
の画面上で個々のデータを編集するに好適な文書作成装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus, and more particularly, it displays a print image of an integrated document composed of a plurality of data of different types such as sentences and figures on a display screen and displays individual data on the screen. The present invention relates to a document creation device suitable for editing.

【0002】[0002]

【従来の技術】従来の代表的な装置としては、上谷晃弘
編著「Jstarワークステーション」(昭和61年4
月25日、丸善発行)記載のワークステーションがあ
る。このワークステーションでは、文書や図形等の編集
データを枠に割り付け、その枠内で個々のデータを編集
するが、編集中のCRT画面には一頁の印刷イメージが
表示されており(以下印刷イメージを表示することをレ
イアウト表示と呼ぶ)、その上で個々のデータの編集を
行う事ができる。枠をカーソルで指示することにより、
指示された枠内のデータが編集対象となる。また枠の移
動等により頁のレイアウトを容易に変更することも可能
である。
2. Description of the Related Art A typical conventional device is "Jstar Workstation" (edited by Akihiro Uetani) (April 1986).
There is a workstation described on Mar. 25, published by Maruzen. In this workstation, edit data such as documents and figures are assigned to a frame, and individual data is edited within the frame. However, a one-page print image is displayed on the CRT screen being edited (the print image below). Displaying is called layout display), and individual data can be edited on it. By pointing the frame with the cursor,
The data within the designated frame is to be edited. It is also possible to easily change the page layout by moving the frame or the like.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記のよう
なレイアウト表示画面は、通常の編集モードにおける文
字の倍角処理や修飾処理を行った後に画面上に表示され
る。従って、レイアウト表示画面を作成して画面上に表
示させるにはある程度の処理時間を必要とし、また、頁
が更新される度に画面を作成して表示を変更するため、
レイアウト表示画面上で例えば長文を入力する場合に
は、頁更新における表示の変更がかなり煩わしいものと
なる。よって、長文を入力する場合は、通常の編集モー
ドで入力できるほうが好ましい。
By the way, the layout display screen as described above is displayed on the screen after the characters are doubled or modified in the normal editing mode. Therefore, it takes some processing time to create a layout display screen and display it on the screen, and because the screen is created and the display is changed each time the page is updated,
When inputting, for example, a long sentence on the layout display screen, changing the display at the time of page updating becomes considerably troublesome. Therefore, when inputting a long sentence, it is preferable to be able to input in a normal edit mode.

【0004】本発明の目的は、レイアウト表示画面及び
通常の編集モードの両方で文書の編集が行え、且つそれ
らの切り替えが容易に行えることが可能な文書作成装置
を提供することにある。
An object of the present invention is to provide a document creating apparatus capable of editing a document in both the layout display screen and a normal editing mode and easily switching between them.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
の本発明に係る文書作成装置は、複数の編集データの表
示領域により構成された印刷イメージ画像をディスプレ
イ画面上に表示させ、該表示された印刷イメージ画像上
で前記編集データの編集が行える第1の編集モードと、
前記複数の編集データに個別に対応した専用の編集画面
を表示させ、該専用の編集画面上で対応する編集データ
の編集が行える第2のモード、とを切り換える切換手段
を備え、該切換手段は、前記ディスプレイ画面上に表示
されたメニュー画面が指示されることによって前記第1
及び第2のモードの切換動作を行い、そのモード切換動
作に応じて、前記ディスプレイ画面上の画像を前記印刷
イメージ画像または前記専用の編集画面に切り換えるよ
うに構成されていることを特徴とする。
In order to achieve the above object, a document creating apparatus according to the present invention displays a print image image composed of a plurality of edit data display areas on a display screen and displays the print image. A first edit mode in which the edit data can be edited on the printed image
A switching means is provided for displaying a dedicated editing screen individually corresponding to the plurality of editing data and switching between a second mode in which the corresponding editing data can be edited on the dedicated editing screen. The first screen is displayed when the menu screen displayed on the display screen is instructed.
And a second mode switching operation is performed, and the image on the display screen is switched to the print image image or the dedicated editing screen in accordance with the mode switching operation.

【0006】[0006]

【作用】このように構成することによりレイアウト表示
画面での編集モード及び通常の編集モードの両方がユー
ザの指示によって簡単に切り換えることができ、使い手
が大幅に向上する。
With this configuration, both the edit mode on the layout display screen and the normal edit mode can be easily switched according to a user's instruction, and the user's hand is greatly improved.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。図2(A)は本実施例で採用している、文書の論
理構造200と文書の一例210を示している。文書は
複数の章からなり、章は複数の頁から構成される。さら
に頁は複数の領域から形成され、領域の位置やサイズに
よって、頁のレイアウトが決定される。各領域には、本
文、図形、囲みのうち1つのデータが割り当てられる。
本実施例では、3種類のデータに制限しているが、この
制限は本発明にとって本質的な問題ではない。本実施例
がイメージ等のデータを扱うように拡張する事は容易で
ある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2A shows a logical structure 200 of a document and an example 210 of the document, which are adopted in this embodiment. The document consists of chapters, and chapters consist of pages. Further, a page is formed of a plurality of areas, and the layout of the page is determined by the position and size of the area. One data of a text, a figure, and a box is assigned to each area.
In this embodiment, the data is limited to three types, but this limitation is not an essential problem for the present invention. It is easy to extend this embodiment to handle data such as images.

【0008】文書データは、各領域のデータと論理構造
を表現する構造データからなる。本実施例では、構造デ
ータと各領域のデータを個別の独立したファイルとして
持つ。即ち図2(B)で示す階層的なファイル構造の中
で、最下層のディレクトリ220が1つの文書に対応
し、ディレクトリ220の下にぶらさがる複数のファイ
ル230の各々に構造データや領域データが格納され
る。例えば、ファイル230aには構造データが、23
0b,230c,230dには、それぞれ本文データ、
図形データ、囲みデータが格納されている。
The document data is composed of data of each area and structure data expressing a logical structure. In this embodiment, the structure data and the data of each area are held as individual independent files. That is, in the hierarchical file structure shown in FIG. 2B, the lowest directory 220 corresponds to one document, and structure data and area data are stored in each of a plurality of files 230 hanging under the directory 220. To be done. For example, the structural data in the file 230a is 23
0b, 230c and 230d are text data,
Graphic data and enclosure data are stored.

【0009】文書編集のプログラムは、図3に示すよう
に文書マネジャ300、編集プログラム310、レイア
ウト表示プログラム320から構成される。文書マネジ
ャ300は、ユーザに対してレイアウトの変更や章構成
の編集機能を提供するとともに、編集プログラム310
とレイアウト表示プログラム320を統括管理するプロ
グラムである。
As shown in FIG. 3, the document editing program is composed of a document manager 300, an editing program 310, and a layout display program 320. The document manager 300 provides the user with a layout changing function and a chapter structure editing function, and also has an editing program 310.
And a layout display program 320 are collectively managed.

【0010】図4に構造データの一例を示す。構造デー
タは、章管理テーブル400、頁管理テーブル410及
び領域管理テーブル420からなる。章管理テーブル4
00は各章の頁管理テーブル410へのポインタを管理
し、頁管理テーブル410は、その頁に含まれる領域管
理テーブル420へのポインタを管理する。領域管理テ
ーブル420は領域番号421、本文、図形、囲みのデ
ータの区別を表わすデータ種別422、領域の位置、サ
イズを表わす423、領域属性424、領域に割り当て
られたデータのファイル名425からなる。領域属性4
24は、図形領域、囲み領域(図形データが割り当てら
れた領域を図形領域と呼ぶ。本文領域、囲み領域も同
様)だけに対して意味を持ち、排他/非排他の区別を示
すものである。排他領域には本文データは流し込まれ
ず、本文とその領域のデータは重ならない。非排他領域
には本文データが流し込まれ、本文とその領域のデータ
は重なる。文書マネジャ300はユーザからの章や頁の
削除や追加等や、領域の移動、削除等の指示に従い、図
4の構造データを更新する。これらの文書マネジャ30
0の処理については、本発明とは直接関係ないので説明
は省略する。
FIG. 4 shows an example of structural data. The structure data includes a chapter management table 400, a page management table 410, and an area management table 420. Chapter management table 4
00 manages the pointer to the page management table 410 of each chapter, and the page management table 410 manages the pointer to the area management table 420 included in the page. The area management table 420 is made up of an area number 421, a data type 422 indicating the distinction between the data of the body, the figure, and the enclosure, 423 indicating the position and size of the area, an area attribute 424, and a file name 425 of the data assigned to the area. Area attribute 4
Reference numeral 24 has a meaning only for the figure area and the enclosing area (the area to which the figure data is assigned is called the figure area. The text area and the enclosing area are also the same) and indicates the exclusion / non-exclusion. The text data is not poured into the exclusive area, and the text and the data in the area do not overlap. The text data is poured into the non-exclusive area, and the text and the data in the area overlap. The document manager 300 updates the structure data shown in FIG. 4 in accordance with instructions from the user such as deletion and addition of chapters and pages, and movement and deletion of areas. These document managers 30
Since the processing of 0 is not directly related to the present invention, its explanation is omitted.

【0011】編集プログラム310には、図3に示すよ
うに本文編集プログラム310a、図形編集プログラム
310b、囲み編集プログラム310cの3つの独立し
たプログラムからなる。これらの編集プログラム310
はファイル230(図2(B))に格納されている領域
データを読み出し編集する。編集プログラム310は、
構成データや他の領域データとは全く無関係に、1つの
ファイル230に格納されている特定された唯一つの領
域データだけを編集の対象とする。レイアウト表示プロ
グラム320は、やはり本文レイアウト表示プログラム
320a、図形レイアウト表示プログラム320b、囲
みレイアウト表示プログラム320cの独立したプログ
ラムからなり、指定されたファイル230から領域デー
タを読み出し、レイアウト画面上そのデータの印刷イメ
ージを表示する。
As shown in FIG. 3, the editing program 310 is composed of three independent programs: a text editing program 310a, a figure editing program 310b, and a box editing program 310c. These editing programs 310
Reads and edits the area data stored in the file 230 (FIG. 2B). The editing program 310 is
Regardless of the configuration data and other area data, only the specified one area data stored in one file 230 is the object of editing. The layout display program 320 is also composed of independent programs of a text layout display program 320a, a graphic layout display program 320b, and a box layout display program 320c, reads area data from a designated file 230, and prints the data on the layout screen. Is displayed.

【0012】さて、これらのプログラムは、マルチタス
クOS上で動作し、動作時には独立したタスクとしてO
Sによって管理されている。従って各プログラムの動作
を説明する時には、プログラムと呼ばずタスクと呼ぶ事
にする。本実施例ではごく一般的な機能を持つマルチタ
スクOS上で実現されており、その機能の詳細や構造等
については公知であり説明は省略する。また、本実施例
で使用しているタスクの起動/終了やタスク間のメッセ
ージ交換等の機能は、マルチタスクOSのごく一般的な
機能であり、公知の技術なので、その機能やOSでの実
現方法については特に説明はしていない。
Now, these programs run on a multitasking OS, and when they run, they run as independent tasks.
It is managed by S. Therefore, when explaining the operation of each program, it is called a task rather than a program. In the present embodiment, it is realized on a multi-task OS having a very general function, and the details of the function and the structure thereof are publicly known and the description thereof will be omitted. Further, the functions such as starting / terminating tasks and exchanging messages between tasks used in the present embodiment are very general functions of a multi-task OS, and are known techniques, so that functions and implementation by the OS are realized. The method is not specifically described.

【0013】図3の330〜332は、各タスク間の関
係を表わしている。330は、文書マネジャ300が編
集タスク310を起動するか、または編集タスク310
にメッセージを発行することを示している。331は、
編集タクス310或はレイアウト表示タスク320が文
書マネジャ300にメッセージを発行・送出することを
表わしている。332は文書マネジャ300がレイアウ
ト表示タスク320を起動することを意味する。
Reference numerals 330 to 332 in FIG. 3 represent the relationships between the tasks. 330 indicates that the document manager 300 activates the edit task 310 or the edit task 310.
To issue a message to. 331 is
The edit task 310 or the layout display task 320 issues and sends a message to the document manager 300. 332 means that the document manager 300 activates the layout display task 320.

【0014】メッセージの種類を表1に挙げる。メッセ
ージ331aは、編集タスク310から文書マネジャ3
00へのメッセージであり、編集中に編集終了が指示さ
れたことを通知する“処理終了”、編集対象領域以外の
座標が指示された事を示す“領域外座標”、
Table 1 lists the types of messages. The message 331a is sent from the edit task 310 to the document manager 3
Message "00", which notifies that editing end is instructed during editing, "processing end", "outside area coordinates" indicating that coordinates other than the editing target area are instructed,

【0015】[0015]

【表1】 [Table 1]

【0016】領域の切り換えを指示された事を示す“切
換”、スクロール指示を通知する“スクロール”及び頁
の変更が必要となった事を通知する“頁変更”等の種類
がある。メッセージ330は文書マネジャ300がメッ
セージ331aを受け、その種類に応じてレイアウト画
面の変更処理を終了した旨を、編集タスク310に通知
するものである。メッセージ331bは、レイアウト表
示タスク520が文書マネジャ300に、指示されたレ
イアウト表示を完了した事を示す。
There are types such as "switching" indicating that an area switching instruction has been given, "scroll" notifying a scroll instruction, and "page change" notifying that a page change is required. The message 330 notifies the edit task 310 that the document manager 300 has received the message 331a and completed the layout screen change processing according to the type. The message 331b indicates that the layout display task 520 has completed the instructed layout display to the document manager 300.

【0017】各タスクの処理を説明する前に、まず図1
と図6を用いてレイアウト表示画面上での編集方法につ
いて説明する。
Before explaining the processing of each task, first, referring to FIG.
The editing method on the layout display screen will be described with reference to FIGS.

【0018】図1(a)〜(d)は、本実施例を用いた
編集作業中のCRT画面の一例を示したものである。1
00はユーザが編集機能を選択するためのメニューバー
であり、101は切換メニュー、102は新規領域作成
メニュー、103は領域操作メニュー、104は終了メ
ニューである。120は編集中の文書の一頁を表わすレ
イアウト表示である。121は該頁の本文領域、122
は図形領域、123は囲み領域である。110はCRT
画面中の位置を指示するカーソルであり、マウス等の入
力装置によってその位置が制御される。
FIGS. 1 (a) to 1 (d) show an example of the CRT screen during the editing work using the present embodiment. 1
00 is a menu bar for the user to select an editing function, 101 is a switching menu, 102 is a new area creation menu, 103 is an area operation menu, and 104 is an end menu. A layout display 120 represents one page of the document being edited. 121 is the text area of the page, 122
Is a graphic area, and 123 is an enclosed area. 110 is a CRT
A cursor that indicates a position on the screen, and the position is controlled by an input device such as a mouse.

【0019】図1(d)は文書マネジャ300が動作し
ている状態であり、文書マネジャ300は、ユーザから
の入力待ちとなっている。例えばユーザがフロッピディ
スクに格納されている既に編集済みの文書の修正を指示
した場合に、文書マネジャ300、レイアウト表示タス
ク320が順に起動され、レイアウト表示タスク320
がレイアウト表示を完了した後この状態に達する。
FIG. 1D shows a state in which the document manager 300 is operating, and the document manager 300 waits for an input from the user. For example, when the user gives an instruction to modify an already edited document stored in the floppy disk, the document manager 300 and the layout display task 320 are sequentially activated, and the layout display task 320 is displayed.
Reaches this state after completing the layout display.

【0020】ユーザがカーソル110で領域122を指
示し、カーソル110をメニュー100に移動し、領域
操作メニュー103を指示すると、図6(b)のプルダ
ウンメニュー600bが表示される。ここで図の“編
集”を選んで指示すると、図1(a)の状態となる。図
1(a)では、図形編集タスク310bが動作してお
り、メニューバー100には、図形編集用のメニューが
表示されている。図1(a)では、編集対象領域が本実
施例で表示されており、その他の領域は破線で表示され
ているが、この表示方式は本発明にとって本質的なもの
ではなく、全て同種の線種で表示してもよいし表示しな
くてもよい。
When the user points the area 122 with the cursor 110, moves the cursor 110 to the menu 100, and points the area operation menu 103, the pull-down menu 600b of FIG. 6B is displayed. If "Edit" in the figure is selected and instructed, the state shown in FIG. 1A is obtained. In FIG. 1A, a graphic editing task 310b is operating, and a menu for graphic editing is displayed on the menu bar 100. In FIG. 1A, the area to be edited is displayed in this embodiment, and the other areas are displayed in broken lines, but this display method is not essential to the present invention, and lines of the same kind are all used. The seed may or may not be displayed.

【0021】図1(d)の状態で、メニューバー100
の新規領域作成メニュー102を指示すると、図6
(a)のプルダウンメニュー600aが表示される。6
00aの本文〜囲みのいずれかを指示すると、対応した
領域が新規に120内に表示される。この領域のサイズ
や位置を設定することにより、まだ編集データを持たな
い、新しい文字領域や囲み領域等が設定される。
In the state shown in FIG. 1D, the menu bar 100
When the new area creation menu 102 of FIG.
The pull-down menu 600a of (a) is displayed. 6
When any of the text from 00a to the box is designated, a corresponding area is newly displayed in 120. By setting the size and position of this area, a new character area, enclosing area, or the like that does not yet have edit data is set.

【0022】図1(a)の状態では、図形領域122内
で図形編集を行う事ができる。図形編集タスク310b
は、カーソル110で指示された位置が図形領域122
内である場合には図形編集処理を行う。またユーザは、
カーソル110でメニューバー100を指示することに
より、所望の編集機能を入力することができる。編集機
能の入力方法としては、メニューバー100の他に、キ
ーボードによる方法も並用できる。この状態で例えば囲
み領域123をカーソル110で指示すると、囲み領域
123が編集対象領域となり図の図1(b)の状態とな
り、囲み編集タスク310cが動作し、メニューバー1
00には囲み編集のメニューが表示される。
In the state shown in FIG. 1A, graphic editing can be performed in the graphic area 122. Figure editing task 310b
Indicates that the position designated by the cursor 110 is in the graphic area 122.
If it is within the range, graphic editing processing is performed. Also, the user
By pointing the menu bar 100 with the cursor 110, a desired editing function can be input. As a method for inputting the editing function, a method using a keyboard can be used in addition to the menu bar 100. In this state, for example, if the cursor 110 is used to point to the enclosed area 123, the enclosed area 123 becomes the edit target area and the state shown in FIG. 1B is entered, and the enclosed edit task 310c operates and the menu bar 1
A box editing menu is displayed at 00.

【0023】以上のようにレイアウト表示画面上で領域
を指示する事により編集タスク310を切り換えなが
ら、異なるデータの編集を次々と行う事ができる。とこ
ろが、図1(c)の状態で本文領域121を編集してい
る場合には、本文領域121と図形領域122及び囲み
領域123が重なっているため、ユーザがカーソル11
0により、本文領域121内の位置を示しているのか、
他の領域(122,123)を指しているのかを判定す
るのは困難な場合がある。例えば、図1では図形領域1
22の属性が非排他であり、本文と図形領域122が重
なって表示されているため、本文の一部をカーソル11
0で指示されたのか、図形領域122が指示されたのか
を判定することは極めて困難である。
As described above, by designating the area on the layout display screen, different data can be edited one after another while switching the editing tasks 310. However, when the text area 121 is being edited in the state of FIG. 1C, the text area 121, the graphic area 122, and the enclosing area 123 overlap each other, so that the user moves the cursor 11
Does 0 indicate the position in the body area 121,
It may be difficult to determine whether it is pointing to another area (122, 123). For example, in FIG.
Since 22 attributes are non-exclusive and the text area and the graphic area 122 are displayed in an overlapping manner, part of the text is moved to the cursor 11
It is extremely difficult to determine whether 0 is designated or the graphic area 122 is designated.

【0024】本実施例ではこのような場合に他の領域の
指示を明確にするために、各編集タスク310のメニュ
ーバー100に切換メニュー101を設ける。切換メニ
ュー101がカーソル110で指示されると、文書マネ
ジャ300が動作し図1(d)の状態になる。この状態
では、前述したように、新規領域作成メニュー102や
領域操作メニュー103で様々な機能を選択することが
できる。
In this embodiment, a switching menu 101 is provided in the menu bar 100 of each editing task 310 in order to clarify instructions in other areas in such a case. When the switching menu 101 is designated by the cursor 110, the document manager 300 operates and the state shown in FIG. In this state, as described above, various functions can be selected from the new area creation menu 102 and the area operation menu 103.

【0025】次に図5及び図7〜図10を用いて各タス
クの処理を説明する。図5と図7は、文書マネジャ30
0の領域の管理方法及び編集作業中に用いる管理データ
を説明する図である。文書マネジャ300は、用紙座標
系で領域の位置とサイズを管理している。図5の12
0′は編集対象となる用紙を表わしている。用紙座標系
は、用紙の左上隅を原点510とする図5(a)で示さ
れるドット座標系である。領域121′〜123′の位
置とサイズは、領域の左上隅座標(531,541,5
51)と右下隅座標(532,542,552)で管理
される。これらの座標は図4の領域管理テーブル420
の423に格納されている。図5(b)はCRT画面5
00上に表示された用紙のレイアウトを図示したもので
ある。CRT画面500上では、図5(b)で示される
ようにメニューバー100の表示領域を除く画面の左上
隅を原点520とする座標系が設定される。図5(b)
で´を付けた番号は、用紙座標系に対応するCRT画面
500上での座標であり、510′は用紙座標系の原
点、その他は領域の左上隅と右下隅の座標を表わす。文
書マネジャ300は、編集処理中にCRT画面500に
表示されている領域を管理するため、座標データテーブ
ル560を持つ(図5(c))。561は編集中の領域
番号、562は表示のための縮小/拡大率、563−i
(i=1,2,3)は421に格納されている領域番号i
が設定され、565−iはその領域の左上隅座標と右下
隅座標を保持する。例えば図5では、565−1には座
標531′と532′が、565−2には、座標54
1′と542′が保持されることになる。564−iは
番号iの領域に割り付けられたデータの種類(本文、図
形、囲み)を示す。
Next, the processing of each task will be described with reference to FIGS. 5 and 7 to 10. 5 and 7 show the document manager 30.
It is a figure explaining the management method of the area | region of 0, and the management data used during edit work. The document manager 300 manages the position and size of the area in the paper coordinate system. 12 of FIG.
0'represents a sheet to be edited. The paper coordinate system is the dot coordinate system shown in FIG. 5A with the origin 510 at the upper left corner of the paper. The positions and sizes of the regions 121 'to 123' are determined by the coordinates of the upper left corner of the regions (531, 541, 5
51) and the lower right corner coordinates (532, 542, 552). These coordinates are the area management table 420 of FIG.
No. 423 is stored. FIG. 5B shows a CRT screen 5
00 shows the layout of the paper displayed on the display screen 00. On the CRT screen 500, as shown in FIG. 5B, a coordinate system having an origin 520 at the upper left corner of the screen excluding the display area of the menu bar 100 is set. Figure 5 (b)
Numbers marked with ′ are coordinates on the CRT screen 500 corresponding to the paper coordinate system, 510 ′ is the origin of the paper coordinate system, and the others are coordinates of the upper left corner and the lower right corner of the area. The document manager 300 has a coordinate data table 560 for managing the area displayed on the CRT screen 500 during the editing process (FIG. 5C). 561 is the area number being edited, 562 is the reduction / enlargement ratio for display, 563-i
(i = 1, 2, 3) is the area number i stored in 421
Is set, and 565-i holds the upper left corner coordinates and the lower right corner coordinates of the area. For example, in FIG. 5, coordinates 531 'and 532' are at 565-1 and coordinates 54 are at 545-2.
1'and 542 'will be retained. 564-i indicates the type of data (text, figure, box) assigned to the area of number i.

【0026】図7の700aは編集データと編集タスク
310、レイアウト表示タスク320を関連づけるプロ
グラム管理テーブルであり、文書マネジャ300が持つ
テーブルである。701には編集データの種類、702
には編集タスク番号、703にはレイアウト表示タスク
番号が格納されている。
Reference numeral 700a in FIG. 7 is a program management table for associating the edit data with the edit task 310 and the layout display task 320, which is a table held by the document manager 300. 701 indicates the type of edit data, 702
The edit task number is stored in, and the layout display task number is stored in 703.

【0027】図8は文書マネジャ300の処理フローを
示す図である。起動されると801で管理データやワー
クエリアの初期化メニューバー100へのメニューの表
示を行う。この時CRT画面500に編集対象となる頁
のレイアウトを表示し、表示の縮小/拡大率を座標デー
タテーブル560の562に設定する。また既に領域が
設定されている場合にはその領域番号を563に、領域
に割り付けられたデータの種類を564に、領域の座標
を565に設定する。その後入力待ち(840a)とな
る。図6で説明したような機能が入力されると、その機
能に従って処理すべき内容を判定する(802)。新規
領域作成の場合は、803で図2(B)に示した編集デ
ータ用ファイル230を生成し、図4の構成データに領
域管理テーブル420を追加する。さらに図5の座標デ
ータテーブル560の563と565に新しい領域の番
号と座標を、564に指定された編集データの種類を追
加する。561に新しく生成された領域の番号を設定す
る。領域の排他性等によりレイアウトに変更が生じた場
合にはレイアウト表示を変更する。領域操作メニュー1
03に対応するプルダウンメニューで、編集が指示され
た場合には、指定された領域の番号を座標データテーブ
ル560の561に設定する。領域番号の割り出しは、
カーソル110で指示された座標と、座標データテーブ
ル560の領域座標565を比較することにより行う。
領域の削除や移動等やその他のメニューが指示された場
合には、その指示に対応する処理を行うが、本発明とは
直接係わりがないので、図8では省略してある。
FIG. 8 is a diagram showing a processing flow of the document manager 300. When activated, the management data and the menu are initialized in the work area to display a menu on the menu bar 100 at 801. At this time, the layout of the page to be edited is displayed on the CRT screen 500, and the reduction / enlargement ratio of the display is set to 562 of the coordinate data table 560. If the area has already been set, the area number is set to 563, the type of data assigned to the area is set to 564, and the coordinates of the area are set to 565. After that, it waits for input (840a). When the function as described in FIG. 6 is input, the content to be processed is determined according to the function (802). In the case of creating a new area, the edit data file 230 shown in FIG. 2B is generated in 803, and the area management table 420 is added to the configuration data of FIG. Further, the number and coordinates of the new area are added to 563 and 565 of the coordinate data table 560 of FIG. 5, and the type of edit data designated by 564 is added. The number of the newly generated area is set in 561. When the layout is changed due to the exclusivity of the area, the layout display is changed. Area operation menu 1
When editing is instructed in the pull-down menu corresponding to 03, the number of the designated area is set in 561 of the coordinate data table 560. To determine the area number,
This is performed by comparing the coordinates designated by the cursor 110 with the area coordinates 565 of the coordinate data table 560.
When an area is deleted, moved, or another menu is instructed, the processing corresponding to the instruction is performed, but since it is not directly related to the present invention, it is omitted in FIG.

【0028】処理805では座標データテーブル560
の561に設定されている領域番号iを読み出し、56
4−iから領域番号iに割り付けられた編集データの種
類を知る。そしてプログラム管理テーブル700aの7
01と702から、該編集データに対応する編集タスク
番号を求め、OSに該タスクの起動要求を発行する。こ
の時起動パラメータとして、座標データテーブル560
に格納されている縮小/拡大率562と、領域の表示座
標565及び領域管理テーブル420の編集データのフ
ァイル名425を起動すべき編集タスク310に通知す
る。その後は840bで編集タスク310からのメッセ
ージの受信待ちとなり、起動された編集タスク310が
起動を開始する。
In process 805, coordinate data table 560
Area number i set to 561 of
The type of edit data assigned to the area number i is known from 4-i. And 7 of the program management table 700a
The edit task number corresponding to the edit data is obtained from 01 and 702, and a request to activate the task is issued to the OS. At this time, the coordinate data table 560 is used as a start parameter.
The reduction / enlargement ratio 562, the display coordinates 565 of the area, and the file name 425 of the edit data of the area management table 420 stored in the area are notified to the edit task 310 to be activated. After that, at 840b, a message is waited to be received from the editing task 310, and the activated editing task 310 starts activation.

【0029】メッセージを受信すると文書マネジャ30
0が動作を再開し処理806でメッセージの判定をす
る。メッセージの種類が“切換”の場合には、処理85
0でメニューバー100にメニューを表示し、レイアウ
トの再表示を行う。この時全ての領域の枠を表示して領
域の位置を明示することもできる。その後840aで入
力待ちとなる。
When the message is received, the document manager 30
0 restarts the operation, and the process 806 judges the message. If the message type is "switch", process 85
When 0, the menu is displayed on the menu bar 100 and the layout is displayed again. At this time, it is possible to display the frames of all the areas and clearly indicate the positions of the areas. After that, the input is awaited at 840a.

【0030】メッセージの処理が“終了”の場合には、
OSに対して終了通知を発行するなどの終了処理を行い
編集処理を終了する(810)。
When the processing of the message is "end",
The end processing such as issuing an end notification to the OS is performed and the edit processing is ended (810).

【0031】“領域外座標”のメッセージの場合は、パ
ラメータとしてカーソル110で指示された座標が与え
られる。文書マネジャ300は、処理830で与えられ
た座標と座標データテーブル560の領域座標565を
比較し、指示された領域を割り出してその領域番号を5
61に設定して処理805を行う。
In the case of the "outside area coordinates" message, the coordinates designated by the cursor 110 are given as a parameter. The document manager 300 compares the coordinates given in the process 830 with the area coordinates 565 of the coordinate data table 560, determines the specified area, and sets the area number to 5
It sets to 61 and performs processing 805.

【0032】メッセージの処理が“スクロール”または
“頁変更”の場合は、処理820でCRT画面500の
表示内容の変更を行う。“スクロール”の場合にはメッ
セージのパラメータとして、スクロールの方向及び大き
さが編集タスク310より与えられ、それに従い画面の
イメージを移動する。“頁変更”の場合には、CRT画
面500の用紙のイメージを全て消去する。そして構成
データの頁管理テーブル410より、次頁を構成する全
ての領域の管理データを捜して、座標データテーブル5
60の領域番号563とその領域に対応する編集データ
の種類564を再設定する。その後用紙枠を表示する。
When the message processing is "scroll" or "page change", the display content of the CRT screen 500 is changed in step 820. In the case of “scroll”, the scroll direction and size are given from the editing task 310 as message parameters, and the image on the screen is moved accordingly. In the case of "page change", all the images of the paper on the CRT screen 500 are erased. Then, the page management table 410 of the configuration data is searched for the management data of all the areas forming the next page, and the coordinate data table 5 is searched.
The area number 563 of 60 and the edit data type 564 corresponding to the area are reset. After that, the paper frame is displayed.

【0033】処理821ではレイアウトの再表示範囲と
領域座標565−iを次々と比較し、重なりがある場合
には、その領域に対応するレイアウト表示タスク320
をプログラム管理テーブル700aから割り出しOSに
起動要求を発行する(ただし現在編集対象領域となって
いる領域は除く。)。この時起動パラメータとしては、
領域座標565−iと縮小/拡大率562及び対応する
編集データのファイル名425がある。起動後は840
cでレイアウト表示タスク320からの“レイアウト表
示完了”メッセージ待ちとなる(840c)。メッセー
ジを受信すると全ての領域の表示が終わったかどうかを
判定し(822)、未表示の領域があれば、処理821
から処理822までを繰り返す。全ての領域の表示が終
了すると、編集タスク310に“レイアウト変更完了”
メッセージを発信し(823)、840bで編集タスク
320からのメッセージ待ちとなる。
In process 821, the redisplay range of the layout and the area coordinates 565-i are compared one after another, and if there is an overlap, the layout display task 320 corresponding to the area is displayed.
Is issued from the program management table 700a and an activation request is issued to the OS (however, the area that is currently the editing target area is excluded). At this time, as the startup parameter,
There are area coordinates 565-i, a reduction / enlargement ratio 562, and a corresponding edit data file name 425. 840 after startup
At “c”, the “layout display completion” message from the layout display task 320 is awaited (840c). When the message is received, it is determined whether or not the display of all areas has been completed (822). If there is an undisplayed area, processing 821 is performed.
To processing 822 are repeated. When the display of all areas is completed, “Layout change completed” is displayed in the edit task 310.
A message is transmitted (823), and the message from the editing task 320 is awaited at 840b.

【0034】処理801,803及び850におけるレ
イアウトの表示及び変更処理も、処理821〜処理82
2と同じ手順で行う。
The layout display and change processing in the processings 801, 803 and 850 are also the processings 821 to 82.
Follow the same procedure as in 2.

【0035】図9は編集タスク310の処理手順を示し
た図である。文書マネジャ300から起動されると、そ
の起動パラメータより編集データが格納されているファ
イル名を得て、対応するファイル230より編集データ
を読み出す(901)。処理902では内部で使用する
ワークデータの初期化や、メニューバー100へのメニ
ューの表示を行う。また新規領域作成の場合には、編集
データを格納するファイル230は生成されているが、
該ファイル230には編集データがまだ書き込まれてい
ないので、編集データの初期化を行う必要がある。94
0aで入力待ちとなり、入力があると903で入力の判
定を行う。入力が終了や切換を意味するメニュー104
や101であった場合、またカーソル110が指し示す
座標値であり、その座標値が起動パラメータで渡された
領域の表示座標565の範囲に含まれていない場合に
は、まず処理910で編集データをファイル230に格
納し、処理911で文書マネジャ300に対応するメッ
セージを発行する。そしてOSに対して終了通知を発行
するなどの終了処理912を行い処理を終了する。この
時、メッセージ受信待ちになっていた文書マネジャ30
0にメッセージが発行されているので、OSでは文書マ
ネジャ300を動作状態にし、文書マネジャ300の処
理が再開される。
FIG. 9 is a diagram showing a processing procedure of the edit task 310. When activated from the document manager 300, the file name in which the edit data is stored is obtained from the activation parameter, and the edit data is read from the corresponding file 230 (901). In step 902, work data used internally is initialized and a menu is displayed on the menu bar 100. In addition, in the case of creating a new area, the file 230 storing the edited data has been created,
Since the edit data is not yet written in the file 230, it is necessary to initialize the edit data. 94
The input is awaited at 0a, and if there is an input, the input is determined at 903. Menu 104 that means input is complete or switching
If the value is or 101, or if it is the coordinate value pointed to by the cursor 110 and the coordinate value is not included in the range of the display coordinates 565 of the area passed by the start parameter, first, in step 910, the edit data is edited. The message is stored in the file 230 and a message corresponding to the document manager 300 is issued in step 911. Then, the end processing 912 such as issuing an end notification to the OS is performed and the processing is ended. At this time, the document manager 30 waiting to receive the message
Since the message is issued to 0, the OS puts the document manager 300 into the operating state, and the processing of the document manager 300 is restarted.

【0036】スクロールキーやスクロールバーでスクロ
ールが指示された場合には、処理920で文書マネジャ
300に対応するメッセージを発行し、940bで文書
マネジャ300からのメッセージ受信待ちとなる。OS
ではメッセージ待ちとなっていた文書マネジャ300を
動作状態とし、文書マネジャ300の処理が再開され
る。文書マネジャ300からメッセージが送られてくる
編集タスク310は処理921から処理を再開する。処
理921ではスクロールにより新たに表示されるように
なった部分を表示し、入力待ち940aになる。
When scrolling is instructed by the scroll key or the scroll bar, a message corresponding to the document manager 300 is issued in process 920, and the process waits to receive a message from the document manager 300 in 940b. OS
Then, the document manager 300, which has been waiting for the message, is activated and the processing of the document manager 300 is restarted. The editing task 310 to which the message is sent from the document manager 300 restarts the processing from the processing 921. In process 921, the portion newly displayed by scrolling is displayed, and the input wait 940a is set.

【0037】その他のカーソル座標やキーコードの入力
に対しては、処理930で入力に対応した編集処理を行
い、その結果を932で表示するか、例えば本文編集な
どで、931の判定で結果の表示が次頁に渡ることがわ
かった場合には、処理920で対応するメッセージを文
書マネジャ300に発行する。921では新しい頁の編
集データと、930での処理結果をあわせて表示する。
編集タスクは、入力座標を起動パラメータで与えられた
領域表示座標565と縮小/拡大率562により、用紙
座標系の領域左上隅座標を原点とする相対座標に変換し
て編集データとして待つ。表示する場合には、編集デー
タの座標を縮小/拡大率562と領域表示座標565に
よって、CRT画面500の座標系の座標に変換して表
示する。
For other cursor coordinates or key code input, edit processing corresponding to the input is performed in step 930 and the result is displayed in 932, or the result is determined in 931 by, for example, text editing. If it is found that the display extends to the next page, the corresponding message is issued to the document manager 300 in process 920. At 921, the edited data of the new page and the processing result at 930 are displayed together.
The editing task converts the input coordinates into relative coordinates with the coordinates of the upper left corner of the area of the paper coordinate system as the origin, using the area display coordinates 565 and the reduction / enlargement ratio 562 given by the start parameters, and waits as edit data. When displaying, the coordinates of the edited data are converted into the coordinates of the coordinate system of the CRT screen 500 by the reduction / enlargement ratio 562 and the area display coordinates 565 and displayed.

【0038】図10はレイアウト表示タスク320の処
理の流れを示した図である。文書マネジャ300によっ
て起動されると、処理1001で起動パラメータで与え
られた編集データのファイル名425により、該当する
ファイル230より編集データを読み出す。処理100
2でやはり起動パラメータで与えられた縮小/拡大率5
62と領域表示座標565によって、編集データの座標
をCRT画面500の座標系に変更して、565で示さ
れる領域に編集データを表示する。編集データの表示が
終了すると、1003で文書マネジャ300に“レイア
ウト表示完了”メッセージを発行して、1004でOS
に終了通知を発行して処理を終了する。
FIG. 10 is a diagram showing a processing flow of the layout display task 320. When started by the document manager 300, the edit data is read from the corresponding file 230 by the edit data file name 425 given by the start parameter in the process 1001. Processing 100
The reduction / enlargement rate of 5 given by the startup parameter in 2 as well
62 and the area display coordinates 565, the coordinates of the edit data are changed to the coordinate system of the CRT screen 500, and the edit data is displayed in the area indicated by 565. When the display of the edited data is completed, a “layout display completion” message is issued to the document manager 300 in 1003, and the OS is displayed in 1004.
The end notification is issued to and the process ends.

【0039】以上詳述した本実施例によれば、図2の2
00で示した文書構造を持つ文書をレイアウト表示画面
上で編集する際に、頁を構成する領域がどのような複雑
な重なりをしていたとしても、所望の領域を編集対象と
して選択することが可能となるとともに、領域の重なり
が単純な場合には、領域を指示するだけで編集対象を切
り換え、直ちに対応するプログラムを起動することがで
き、ユーザの操作が非常に簡単になるという効果があ
る。
According to this embodiment described in detail above, 2 in FIG.
When editing a document having the document structure indicated by 00 on the layout display screen, it is possible to select a desired area as an edit target, no matter how complicated the areas forming the pages overlap. In addition to the above, when the overlapping of areas is simple, the object to be edited can be switched and the corresponding program can be started immediately by simply specifying the areas, which has the effect of greatly simplifying the user operation. .

【0040】また本実施例の別の効果としては、各編集
プログラムと各レイアウト表示プログラムは、プログラ
ムとして独立した構造を持っているので、例えば新たに
英文機能などを新規に追加する場合には、英文編集プロ
グラムと英文レイアウト表示プログラムを他の編集プロ
グラムの構造や編集データとは全く独立に開発でき開発
効率が向上するという点が挙げられる。また英文機能を
追加する前のシステムで作成した文書は、英文機能を追
加した新しいシステムでも編集可能であり、上位方向の
文書レベルでの互換性が補償される。
As another effect of this embodiment, since each editing program and each layout display program have an independent structure as a program, for example, when a new English function is newly added, The English editing program and the English layout display program can be developed completely independently of the structure and editing data of other editing programs, which improves the development efficiency. Documents created by the system before the addition of the English function can be edited by the new system with the English function added, and compatibility at the upper document level is guaranteed.

【0041】さて、今まで述べてきた実施例によると、
切換えを指示するまでは、編集対象領域外の領域の再表
示が行われないため、例えば図1(a)で図形領域12
2の編集中に図形を削除した場合には、その表示処理で
本文データの一部も消去し、消去したデータを切換えを
指示するまで回復できない。
Now, according to the embodiments described so far,
Until the switching is instructed, the area outside the edit target area is not displayed again, so that the graphic area 12 in FIG.
When the figure is deleted during the editing of item 2, part of the text data is erased by the display process, and the erased data cannot be recovered until the switching is instructed.

【0042】この問題を解決するための本発明の他の二
つの実施例について説明する。最初の実施例は、文書マ
ネジャ300の処理と編集タスク310の処理を図11
のように変更し、表1の331aに“再表示”メッセー
ジを追加したものである。文書マネジャ300は“最表
示”メッセージを受けとると、図11(A)の1101
〜1104の処理を行う。即ちメッセージのパラメータ
で与えられる再表示範囲(後述)と重なりを持つ領域を
座標データテーブル560から判定する(1101)。
この時現在編集対象となっている領域は除く。1102
〜1103で重なりを持つ領域の編集データに対応する
レイアウト表示タスクを次々と起動し、全ての領域の再
表示が終了すると、1104で編集タスク310に“レ
イアウト変更完了”メッセージを発行しメッセージ入力
待ちとなる。編集タスク320は同図(B)で示すよう
に、編集処理930の後その結果を再表示する(111
0)。その後再表示が必要か否かを1111で判定し
(図の消去等で再表示が必要となる。)必要なる再表示
を必要とする領域の範囲(左上隅と右下隅のCRT画面
500上の座標で表わされた矩形)をパラメータとして
“再表示”メッセージを発行する(1112)。
Two other embodiments of the present invention for solving this problem will be described. In the first embodiment, the processing of the document manager 300 and the processing of the editing task 310 are shown in FIG.
And the addition of the “redisplay” message to 331a in Table 1. When the document manager 300 receives the "refresh" message, the document manager 1101 in FIG.
The processing of 1104 is performed. That is, an area that overlaps with the redisplay range (described later) given by the parameter of the message is determined from the coordinate data table 560 (1101).
At this time, the area currently being edited is excluded. 1102
In 1103, the layout display tasks corresponding to the edit data of the overlapping areas are activated one after another, and when the redisplay of all areas is completed, the “layout change completion” message is issued to the edit task 310 in 1104 and a message input wait Becomes The edit task 320 redisplays the result after the edit processing 930 as shown in FIG.
0). After that, it is determined at 1111 whether redisplay is necessary (redisplay is required by erasing the figure, etc.). Range of the area that requires redisplay (on the CRT screen 500 at the upper left corner and the lower right corner). A "redisplay" message is issued with the rectangle represented by the coordinates as a parameter (1112).

【0043】他の実施例を図11(A)及び図15と図
16を用いて説明する。文書マネジャ300の処理は既
に説明したものと同じである。編集タスク310の処理
では、図15に示すように切換メニュー101を指示さ
れると、ブルダウンメニュー600cを表示し、領域の
切換えか再表示かのいずれかの処理を指示させるように
する。そして903の入力判定処理で再表示が指示され
たことがわかると、1601で文書マネジャ300に
“再表示”メッセージを発行し、1602で文書マネジ
ャ300からの“レイアウト変更終了”メッセージを待
つ。メッセージのパラメータとして領域の座標を設定す
る。文書マネジャ300からメッセージを受けとると1
603で再表示を行う。
Another embodiment will be described with reference to FIG. 11 (A) and FIGS. 15 and 16. The process of the document manager 300 is the same as that already described. In the processing of the edit task 310, when the switching menu 101 is instructed as shown in FIG. 15, a pulldown menu 600c is displayed to instruct processing of either area switching or redisplay. When it is determined in the input determination process of 903 that redisplay is instructed, a "redisplay" message is issued to the document manager 300 in 1601 and a "layout change end" message from the document manager 300 is waited in 1602. Set the coordinates of the area as a message parameter. 1 when receiving a message from the document manager 300
Redisplay is performed at 603.

【0044】前者の実施例によると、常に最新のレイア
ウトが表示されているので、任意の時点で印刷イメージ
を見ながら編集できるという効果がある反面、編集処理
が遅くなるという欠点がある。後者の実施例では、常に
最新のレイアウトが表示されると言う訳ではないが、図
8と図9で説明した実施例に比べて、編集処理の速度を
低下させずに、ユーザの要求に応じて任意の時点で再表
示できるという効果がある。
According to the former embodiment, since the latest layout is always displayed, there is an effect that the print image can be edited while viewing the print image at any time, but there is a drawback that the editing process becomes slow. In the latter embodiment, the latest layout is not always displayed, but in comparison with the embodiments described with reference to FIGS. 8 and 9, the speed of the editing process is not reduced and the user's request is met. The effect is that it can be displayed again at any time.

【0045】図12は編集モードとして、レイアウト編
集モードとワープロモードの2通りのモードを設けた他
の実施例のCRT画面500の内容を表わす図である。
同図(A)はレイアウト編集モードでの編集中のCRT
画面500の内容を表わしている。前述した全ての実施
例では、CRT画面500には同図(A)のように印刷
イメージと同じレイアウトが表示される。本実施例にお
けるレイアウト編集モードは、前述した実施例と同じよ
うにして実現することができる。同図(B)はワープロ
モードでのCRT画面500の内容を表わしている。ワ
ープロモードのCRT表示画面では、従来の一般的なワ
ープロと同様な表示を行う。即ち表示画面は行桁で管理
され、縦横倍角や斜体等は記号で表わされる。例えば図
12の記号1201は縦横倍角を表わす記号であり、記
号1202、1203はそれぞれ縦倍角と斜体を表わす
記号である。また記号1204は改行を表わす。ワープ
ロモードでは、CRT画面500の表示では、行間も文
字間も反映されない。
FIG. 12 is a diagram showing the contents of a CRT screen 500 of another embodiment in which two editing modes, a layout editing mode and a word processing mode, are provided.
The figure (A) is a CRT being edited in the layout edit mode.
The contents of the screen 500 are displayed. In all the embodiments described above, the same layout as the print image is displayed on the CRT screen 500 as shown in FIG. The layout editing mode in this embodiment can be realized in the same manner as in the above-mentioned embodiments. FIG. 3B shows the contents of the CRT screen 500 in the word processing mode. On the CRT display screen in the word processor mode, a display similar to that of a conventional general word processor is performed. That is, the display screen is managed in line columns, and the vertical and horizontal double angles and italics are represented by symbols. For example, the symbol 1201 in FIG. 12 is a symbol that represents a vertical and horizontal double angle, and the symbols 1202 and 1203 are a symbol that represents a vertical double angle and italic, respectively. The symbol 1204 represents a line break. In the word processing mode, neither the line spacing nor the character spacing is reflected in the display of the CRT screen 500.

【0046】図13と図14及び図17により本実施例
のワープロモードの実現方法を説明する。ワープロモー
ドを実現するために、図17で示すようにワープロモー
ドで動作するワープロ編集プログラム340を追加す
る。350は文書マネジャ300がワープロ編集プログ
ラム340を起動することを表わしており、351はメ
ッセージを表わしている。メッセージは“切換”メッセ
ージと“処理終了”メッセージの2種類がある。
A method of realizing the word processor mode of this embodiment will be described with reference to FIGS. 13, 14 and 17. In order to realize the word processor mode, a word processor editing program 340 which operates in the word processor mode is added as shown in FIG. Reference numeral 350 indicates that the document manager 300 activates the word processor editing program 340, and reference numeral 351 indicates a message. There are two types of messages, a "switch" message and a "process end" message.

【0047】図13のプログラム管理テーブル700b
は、700a(図7)にワープロモード時に動作する編
集ワープロ編集プログラムの動作時のタスク番号704
を追加したものである。文書マネジャ500の管理テー
ブルとして、モード管理テーブル1300を設け、メニ
ューバー100にはレイアウト編集モードとワープロモ
ードを切り換えるためのメニュー1310を設ける。こ
のメニュー1310が通常表示の場合にはレイアウト編
集モードであり、反転表示の場合にはワープロモードで
ある事を表わす。
The program management table 700b shown in FIG.
Is the task number 704 when the editing word processor editing program that operates in the word processing mode 700a (FIG. 7) is operated.
Is added. A mode management table 1300 is provided as a management table for the document manager 500, and a menu 1310 for switching between the layout editing mode and the word processing mode is provided on the menu bar 100. The normal display of the menu 1310 indicates the layout edit mode, and the reverse display indicates the word processing mode.

【0048】文書マネジャ300の処理の流れは、図8
或は図11(A)と同じであるが、個々の処理が前述の
実施例とは少し異なる。まず801の初期化処理では、
1300にレイアウト編集モードを設定する。次に80
2の処理判定でメニュー1310が指示された事がわか
ると、メニュー1310を反転表示し、1300に設定
されているモードと反対のモードを1300に設定す
る。最後に編集タスク起動処理805では、1300の
モードを判定し、ワープロモードの場合は704で示さ
れる編集タスク340を起動し、レイアウト編集モード
の場合には703で示される編集タスク320を起動す
る。編集タスク340を起動する場合には、起動パラメ
ータは、編集データが格納されているファイル名だけで
ある。
The process flow of the document manager 300 is shown in FIG.
Alternatively, the processing is the same as that of FIG. 11A, but the individual processing is slightly different from that of the above-described embodiment. First, in the initialization process of 801,
The layout edit mode is set to 1300. Then 80
When it is determined that the menu 1310 is instructed by the processing determination of 2, the menu 1310 is highlighted and the mode opposite to the mode set to 1300 is set to 1300. Finally, in the edit task activation process 805, the mode 1300 is determined, the edit task 340 indicated by 704 is activated in the word processing mode, and the edit task 320 indicated by 703 is activated in the layout edit mode. When starting the edit task 340, the start parameter is only the file name in which the edit data is stored.

【0049】編集タスク340の処理の流れは図14で
示される。編集データを読み出した後、1401でワー
クエリアの初期化を行い、メニューの表示を行うととも
に、レイアウト表示を消去し編集画面の表示を行う。例
えば、本文編集の場合には、図12(A)の表示が同図
(B)の表示に変更されることになる。メニューバー1
00の内容は編集タスク310のメニューバー100の
内容と同じである。1401で入力がメニュー101か
104の指示であると判定した場合には、図9で説明し
た910〜912の処理を行い編集処理を終了する。そ
の他の入力の場合は1405と1410で編集処理とそ
の結果の表示処理を行う。編集機能は図9で示した実施
例とほとんど同じであるが、CRT画面500の座標系
は編集タスク340によって設定できるので、座標変換
が非常に簡単になるような座標系を用いる事が異なる。
例えば本文編集では図12で設定したように、ドット座
標系を用いずに、行桁による座標系を用いる。ドット座
標系を用いた場合には、カーソル110で指示された座
標から、行間、文字間を考慮して、カーソル110が指
し示す文字を判定しなければならないが、行桁座標の場
合には、ドット座標から行桁座標に変換し、求まった
行、桁に位置する文字を求めるだけでよく、処理が簡単
で処理速度が速くなる。
The processing flow of the edit task 340 is shown in FIG. After reading the edit data, the work area is initialized at 1401, the menu is displayed, the layout display is erased, and the edit screen is displayed. For example, in the case of editing the text, the display in FIG. 12 (A) is changed to the display in FIG. 12 (B). Menu bar 1
The contents of 00 are the same as the contents of the menu bar 100 of the editing task 310. When it is determined in 1401 that the input is the instruction of the menu 101 or 104, the processing of 910 to 912 described in FIG. 9 is performed, and the editing processing ends. For other inputs, edit processing and display processing of the result are performed at 1405 and 1410. The editing function is almost the same as that of the embodiment shown in FIG. 9, but the coordinate system of the CRT screen 500 can be set by the editing task 340, so that the coordinate system which makes the coordinate conversion very simple is different.
For example, in the text editing, as set in FIG. 12, the dot coordinate system is not used but the line digit coordinate system is used. When the dot coordinate system is used, it is necessary to determine the character pointed by the cursor 110 from the coordinates designated by the cursor 110 in consideration of the line spacing and the character spacing. It is only necessary to convert the coordinates to the row and column coordinates and obtain the character located in the obtained row and column, which makes the processing simple and the processing speed fast.

【0050】本実施例のワープロモードによれば、座標
変換で複雑な計算をする必要がなく、処理速度が速くな
り、特に本文編集においては、CRT画面への表示の際
に、倍角処理や文字修飾処理を行う必要がないので、編
集結果の表示が極めて速くなるという効果がある。ま
た、ワープロモードの表示では頁の概念がないので、頁
が更新されるたびに表示を変更する必要がなく、特に非
常に長い文章を入力する場合には極めて有効な手段とな
り得る。
According to the word processor mode of the present embodiment, it is not necessary to perform complicated calculation by coordinate conversion, and the processing speed is high. Especially in text editing, when displaying on a CRT screen, double-width processing and character processing are performed. Since it is not necessary to perform modification processing, there is an effect that the display of the edited result becomes extremely fast. In addition, since there is no concept of page in the display in the word processing mode, it is not necessary to change the display every time the page is updated, which can be an extremely effective means especially when inputting a very long sentence.

【0051】ワープロモードを設けた他の実施例につい
て説明する。他の実施例では、プログラム管理テーブル
700bの702と704の一部にタスク番号を格納す
るかわりに、タスク番号とは区別できる特殊な記号を格
納しておく。文書マネジャ300は、起動しようとする
編集タスク340或は310のタスク番号が格納される
べき欄に特殊記号が格納されている場合には、他のモー
ドの編集タスクを起動する。
Another embodiment provided with the word processing mode will be described. In another embodiment, instead of storing the task number in a part of 702 and 704 of the program management table 700b, a special symbol distinguishable from the task number is stored. If the special symbol is stored in the field where the task number of the edit task 340 or 310 to be activated is stored, the document manager 300 activates the edit task in another mode.

【0052】例えば図形編集については、レイアウト編
集モードもワープロモードも処理内容や速度に大差がな
いので、ワープロモードでの図形編集タスク340bの
開発は行なわずに、704の図形データに該当する行に
特殊記号を格納するようにする。本文編集をワープロモ
ードで行っていても、図形領域が指示されると、文書マ
ネジャ300によってレイアウトの表示が行なわれ、レ
イアウト表示画面上で図形編集タスク310bの編集が
可能となる。
For graphic editing, for example, since there is no great difference in processing contents and speed between the layout editing mode and the word processing mode, the graphic editing task 340b in the word processing mode is not developed, and the line corresponding to the graphic data 704 is written. Try to store special symbols. Even if the text editing is performed in the word processing mode, when the graphic area is designated, the layout is displayed by the document manager 300, and the graphic editing task 310b can be edited on the layout display screen.

【0053】さらに特殊記号の設定をユーザに解放する
ことも可能である。従来のワープロでは、ユーザ辞書や
定型句等ユーザ自身が編集に必要なデータを作成し、シ
ステムに登録して編集作業に使用できる手段を提供して
いる。その手段と同様な手段により、プログラム管理テ
ーブル700bの702と704に特殊記号をユーザに
よって設定できるようにして、その結果をハードディス
ク或はフロッピディスクのシステムエリアに登録できる
ようにする。そして文書マネジャ300は初期処理時に
その内容を読み出し、プログラム管理テーブル700b
の702と704に設定する。
Further, it is possible to release the setting of the special symbol to the user. A conventional word processor provides a means for the user to create data necessary for editing such as a user dictionary or a fixed phrase, register it in the system, and use it for editing work. By means similar to that means, a special symbol can be set by the user in 702 and 704 of the program management table 700b, and the result can be registered in the system area of the hard disk or floppy disk. Then, the document manager 300 reads the contents at the time of initial processing, and the program management table 700b
702 and 704.

【0054】このような実施例においては、ユーザが自
分の業務内容に応じて文書作成装置の機能を選択的に限
定して使用することができ、文書作成の効率が上がると
いう効果がある。
In such an embodiment, the user can selectively use the functions of the document creating apparatus in accordance with his / her work content, and the efficiency of document creation is improved.

【0055】[0055]

【発明の効果】本発明によれば、レイアウト表示画面上
で編集を行えるモードと通常の編集が行えるワープロモ
ードとの切り換えが容易になり、非常に長い文章は、従
来のワープロモードにより、ワープロと同じような画面
上で高速に入力できるため、用途に応じて機能を使い分
けることができるという効果がある。
According to the present invention, it becomes easy to switch between a mode in which editing can be performed on the layout display screen and a word processing mode in which normal editing can be performed. Since it is possible to input at high speed on the same screen, there is an effect that the function can be selectively used according to the purpose.

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

【図1】本発明の一実施例のCRT画面の表示内容を表
わす図。
FIG. 1 is a diagram showing display contents of a CRT screen according to an embodiment of the present invention.

【図2】実施例で用いた文書データ構造図。FIG. 2 is a document data structure diagram used in the embodiment.

【図3】プログラム構造図。FIG. 3 is a program structure diagram.

【図4】制御データを示す図。FIG. 4 is a diagram showing control data.

【図5】実施例の座標系を説明する図。FIG. 5 is a diagram illustrating a coordinate system according to the embodiment.

【図6】入力手段の一例を示す図。FIG. 6 is a diagram showing an example of input means.

【図7】制御データを示す図。FIG. 7 is a diagram showing control data.

【図8】一実施例のプログラムの流れ図。FIG. 8 is a flowchart of a program according to an embodiment.

【図9】一実施例のプログラムの流れ図。FIG. 9 is a flowchart of a program according to an embodiment.

【図10】一実施例のプログラムの流れ図。FIG. 10 is a flowchart of a program according to an embodiment.

【図11】一実施例のプログラムの流れ図。FIG. 11 is a flowchart of a program according to an embodiment.

【図12】本発明の一実施例のCRT画面の表示内容を
表わす図。
FIG. 12 is a diagram showing display contents of a CRT screen according to an embodiment of the present invention.

【図13】制御データを示す図。FIG. 13 is a diagram showing control data.

【図14】一実施例のプログラムの流れ図。FIG. 14 is a flowchart of a program according to an embodiment.

【図15】入力手段の一例を示す図。FIG. 15 is a diagram showing an example of input means.

【図16】一実施例のプログラムの流れ図。FIG. 16 is a flowchart of a program according to an embodiment.

【図17】プログラム構造図。FIG. 17 is a program structure diagram.

【符号の説明】[Explanation of symbols]

100…メニュー、 110…カーソル、 121〜123…領域、 120…用紙、 200…文書データ構造、 230…データファイル、 300…文書マネジャ、 310,340…編集タスク、 320…レイアウト表示タスク、 330,331,351…メッセージ、 420…領域管理テーブル、 560…座標データテーブル、 700…プログラム管理テーブル、 600…プルダウンメニュー。 100 ... Menu, 110 ... Cursor, 121-123 ... Area, 120 ... Paper, 200 ... Document data structure, 230 ... Data file, 300 ... Document manager, 310, 340 ... Editing task, 320 ... Layout display task, 330, 331 , 351 ... Message, 420 ... Area management table, 560 ... Coordinate data table, 700 ... Program management table, 600 ... Pull-down menu.

フロントページの続き (72)発明者 野中 尚道 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内 (72)発明者 中根 啓一 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所マイクロエレクトロニク ス機器開発研究所内Front page continuation (72) Inventor Naomichi Nonaka, 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Inside the Microelectronics Device Development Laboratory, Hitachi, Ltd. (72) Keiichi Nakane 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Bunch Co., Ltd. Hitachi, Ltd. Microelectronics Equipment Development Laboratory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の編集データの表示領域により構成さ
れた印刷イメージ画像をディスプレイ画面上に表示さ
せ、該表示された印刷イメージ画像上で前記編集データ
の編集が行える第1の編集モードと、 前記複数の編集データに個別に対応した専用の編集画面
を表示させ、該専用の編集画面上で対応する編集データ
の編集が行える第2のモード、 とを切り換える切換手段を備え、 該切換手段は、前記ディスプレイ画面上に表示されたメ
ニュー画面が指示されることによって前記第1及び第2
のモードの切換動作を行い、そのモード切換動作に応じ
て、前記ディスプレイ画面上の画像を前記印刷イメージ
画像または前記専用の編集画面に切り換えるように構成
されていることを特徴とする文書作成装置。
1. A first edit mode in which a print image image composed of a plurality of edit data display areas is displayed on a display screen, and the edit data can be edited on the displayed print image image, And a second mode in which a dedicated editing screen individually corresponding to the plurality of editing data is displayed and the corresponding editing data can be edited on the dedicated editing screen. , The first and second menu screens displayed on the display screen are instructed.
The document creation apparatus is configured to perform the mode switching operation of (1) and switch the image on the display screen to the print image image or the dedicated editing screen according to the mode switching operation.
JP7293921A 1995-11-13 1995-11-13 Document creation device Pending JPH08227420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7293921A JPH08227420A (en) 1995-11-13 1995-11-13 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7293921A JPH08227420A (en) 1995-11-13 1995-11-13 Document creation device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63060337A Division JPH01234967A (en) 1988-03-16 1988-03-16 Document forming device

Publications (1)

Publication Number Publication Date
JPH08227420A true JPH08227420A (en) 1996-09-03

Family

ID=17800890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7293921A Pending JPH08227420A (en) 1995-11-13 1995-11-13 Document creation device

Country Status (1)

Country Link
JP (1) JPH08227420A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008269637A (en) * 2008-06-05 2008-11-06 Sony Corp Information processing apparatus and method, program, and recording medium
US7509576B2 (en) 2003-08-01 2009-03-24 Sony Corporation Information processing system and method, program, and recording medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6118036A (en) * 1984-07-04 1986-01-25 Nec Corp Document correction system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6118036A (en) * 1984-07-04 1986-01-25 Nec Corp Document correction system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7509576B2 (en) 2003-08-01 2009-03-24 Sony Corporation Information processing system and method, program, and recording medium
JP2008269637A (en) * 2008-06-05 2008-11-06 Sony Corp Information processing apparatus and method, program, and recording medium

Similar Documents

Publication Publication Date Title
JPH01234967A (en) Document forming device
US5502839A (en) Object-oriented software architecture supporting input/output device independence
EP0051857A1 (en) Method for editing document
JP3391852B2 (en) Document processing apparatus and method
JPH08227420A (en) Document creation device
JPH08227460A (en) Document creation device
JP3699923B2 (en) Page image display management method during layout editing
JP3269623B2 (en) Document creation device
JP3100614B2 (en) Document processing apparatus and document processing method
JPS6244866A (en) Area format setting system
JP2879940B2 (en) Score editing system
JP2751212B2 (en) Document creation device
JP2816003B2 (en) Document creation device
JP3358311B2 (en) Table processing equipment
JP2751224B2 (en) Document creation device
JPH0470958A (en) Document processor
JP2851840B2 (en) Document processing device
JPH04127265A (en) Document processor
JPH08329053A (en) Automatic document creation device
JPH04282746A (en) Document preparing device
JPH04191972A (en) Editing system for character attribute
JPH05233601A (en) Kana-Kanji conversion mode automatic setting document processor
JPH1074199A (en) Character processing apparatus and method, and storage medium storing character processing program
JPH0512279A (en) Document preparing device
JPH04282755A (en) Word processor