JPH06203023A - Document editing device - Google Patents

Document editing device

Info

Publication number
JPH06203023A
JPH06203023A JP5187564A JP18756493A JPH06203023A JP H06203023 A JPH06203023 A JP H06203023A JP 5187564 A JP5187564 A JP 5187564A JP 18756493 A JP18756493 A JP 18756493A JP H06203023 A JPH06203023 A JP H06203023A
Authority
JP
Japan
Prior art keywords
unit
document
editing
window
structural
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.)
Granted
Application number
JP5187564A
Other languages
Japanese (ja)
Other versions
JP2689861B2 (en
Inventor
Yasuo Koyama
泰男 小山
Shigeyuki Matsumoto
茂之 松本
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP5187564A priority Critical patent/JP2689861B2/en
Publication of JPH06203023A publication Critical patent/JPH06203023A/en
Application granted granted Critical
Publication of JP2689861B2 publication Critical patent/JP2689861B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To edit a sentence in a desired structure unit by opening a window in a structural drawing, in the document editing device for editing a document structure. CONSTITUTION:When a desired structure unit is designated by actuating a unit reference part 1131 provided in a structural drawing editing part 1130, in a function means stored in a means store device 12, a window is opened in a structural drawing of a document generated by a structural drawing part 1120 and displayed in a display device 15, and a sentence in a designated structure unit is displayed in the window. By driving a character-string editing part 1200, in a state that this window is opened, insertion, deletion, substitution, movement, copying, etc., of a character-string are executed with respect to the sentence in the window. As a result, preparation and editing of a document can be executed, while taking the whole document into consideration.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文書編集装置に関し、
詳しくは文書構造を編集する文書編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document editing device,
More specifically, the present invention relates to a document editing device that edits a document structure.

【0002】[0002]

【従来の技術】従来、文書編集装置に係り文書構造の編
集に関すると考えられるものは、例えば、特開昭61−
84773号公報にみられる。これは、文書を構成する
文字列の内容を簡潔に表わす代表句を導入し、それら相
互の関連を作成、変更することにより、文書の構成の変
更を容易にしようとするものであった。なお、目次の自
動作成については、特開昭60−17552号公報に言
及されている。
2. Description of the Related Art Conventionally, what is considered to be related to the editing of a document structure in a document editing apparatus is disclosed in, for example, Japanese Patent Laid-Open No. 61-
See, for example, 84773. This is to facilitate the change of the document structure by introducing a representative phrase that briefly represents the contents of a character string that constitutes the document and creating and changing the relations among them. Note that the automatic creation of the table of contents is described in JP-A-60-17552.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
文書構造の編集に関しては、次のような問題点があっ
た。第1の問題点は、文書の細部を省略して大域的に分
かりやすく文書を提示する手段を持っていなかったの
で、文書構造の構造単位の相互関係を視覚的に容易に認
識できないという点である。即ち、文書構造の編集を意
図しているにもかかわらず、文書構造の把握が困難であ
った。第2の問題点は、第1の問題点と関連するが、文
書細部の表示を、文書構造の大域的な提示と同時に実現
させることができず、文書自体の編集が困難であるとい
う点であった。
However, the conventional editing of the document structure has the following problems. The first problem is that since there is no means for presenting the document in a globally understandable manner by omitting the details of the document, it is difficult to visually recognize the mutual relation of the structural units of the document structure. is there. That is, it is difficult to grasp the document structure even though it is intended to edit the document structure. The second problem, which is related to the first problem, is that the display of the document details cannot be realized simultaneously with the global presentation of the document structure, and it is difficult to edit the document itself. there were.

【0004】そこで本発明は、前記問題点をそれぞれ解
決し、文書構造を視覚的に容易に認識可能とすると共
に、文書細部の編集を容易とする手段を提供することを
目的とする。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to solve the above problems and to provide means for facilitating visual recognition of a document structure and facilitating editing of document details.

【0005】[0005]

【課題を解決するための手段】本発明の文書編集装置
は、文書を入力する入力手段と、該文書中の章,節,段
落等の単位または該単位の標記を、文書の構造単位とし
て設定する構造単位設定手段と、該構造単位によって、
文書の構成を編集する構成編集手段と、前記構造単位に
より構成された文書を所定形式の構造図として表示する
構造図表示手段と、該構造図が表示された状態において
所望の構造単位内の文章を所定のウインドウに表示する
ウインドウ表示手段と、該ウインドウに表示された文章
を編集する文章編集手段とを備えたことを要旨とする。
A document editing apparatus according to the present invention sets an input means for inputting a document and a unit such as a chapter, a section or a paragraph in the document or a mark of the unit as a structural unit of the document. By the structural unit setting means and the structural unit,
Structure editing means for editing the structure of a document, structure diagram display means for displaying a document composed of the structural units as a structural diagram in a predetermined format, and text in a desired structural unit in a state in which the structural diagram is displayed. The gist of the present invention is to provide a window display means for displaying the text in a predetermined window and a text editing means for editing the text displayed in the window.

【0006】[0006]

【作用】以上のように構成された本発明の文書編集装置
は、入力手段により入力された文書中の章,節,段落等
の単位またはそれらの標記を、構造単位設定手段が、文
書の構造単位として設定する。こうした構造単位が設定
された文書は、構成編集手段により、構造単位によって
編集される。構造単位により構成された文書は、構造図
表示手段が、所定形式の構造図として表示するが、この
構造図が表示された状態において、所望の構造単位内の
文章を、ウインドウ表示手段が、所定のウインドウに表
示する。このウインドウに表示された文章は、文章編集
手段により編集することができる。従って、大域的な表
示と細部の編集とを両立させることが可能となる。
In the document editing apparatus of the present invention configured as described above, the unit for setting the unit of chapters, sections, paragraphs or the like in the document input by the input means or the notation thereof is set by the structure unit setting means. Set as a unit. The document in which such a structural unit is set is edited by the structural editing unit by the structural unit. A document composed of structural units is displayed as a structural diagram in a predetermined format by the structural diagram display means. In the state in which the structural diagram is displayed, the text in a desired structural unit is displayed by the window display device in a predetermined format. Displayed in the window. The text displayed in this window can be edited by text editing means. Therefore, it is possible to achieve both global display and editing of details.

【0007】[0007]

【実施例】以上説明した本発明の構成・作用を一層明ら
かにするために、以下本発明の好適な実施例について説
明する。
Preferred embodiments of the present invention will be described below in order to further clarify the structure and operation of the present invention described above.

【0008】図1に、本発明の一実施例としての文書編
集装置の概略構成を示す。点線内は本発明の要部に対応
した手段を表わし、手段格納装置12に格納されてい
る。まず、装置について説明する。図中矢印を伴う二重
線は信号の伝送路であり、矢印は、伝送方向を示す。1
1は内部的な処理を司る処理装置であり、入出力制御装
置13の制御及び手段格納装置12に納められている各
手段の起動と実行のための信号処理を行なう。12の手
段格納装置は、点線内の手段の他にシステムの起動、初
期化等システムの運営に必要な手段を格納し、運用に際
し競合が起こらぬよう整合性を保っている。13は入出
力処理装置であり、処理装置11からの指示に従い、処
理装置11と操作装置14、表示装置15及び記憶装置
16との間の信号入出力の秩序を制御して信号の授受を
行なう。操作装置14は装置外からの指示を信号に変換
し入力するもの(例えはキーボードやポインティングデ
バイスなど)である。表示装置15は、処理装置11よ
り、文字、図形等表示する情報として入出力処理装置1
3を介し伝送されてくる信号を、該当する文字、図形等
に変換し表示するもの(例えばCRTや液晶ディスプレ
イ)である。記憶装置16は、処理装置11より文書、
文書編集のための情報等登録する情報として入出力処理
装置13を介し伝送されてくる信号を記憶したり、記憶
してある記号即ち登録内容を読み出して伝送したりする
記憶装置である。
FIG. 1 shows a schematic configuration of a document editing apparatus as an embodiment of the present invention. The means within the dotted line represents means corresponding to the main part of the present invention, and is stored in the means storage device 12. First, the device will be described. In the figure, a double line with an arrow indicates a signal transmission line, and an arrow indicates a transmission direction. 1
Reference numeral 1 denotes a processing device that controls internal processing, and performs signal processing for controlling the input / output control device 13 and for starting and executing each means stored in the means storage device 12. The means storage device 12 stores means necessary for operating the system, such as system start-up and initialization, in addition to the means within the dotted line, and maintains consistency so that competition does not occur during operation. An input / output processor 13 controls the order of signal input / output between the processor 11 and the operating device 14, the display device 15, and the storage device 16 in accordance with an instruction from the processor 11 to exchange signals. . The operation device 14 is a device that converts an instruction from outside the device into a signal and inputs the signal (for example, a keyboard or a pointing device). The display device 15 uses the input / output processing device 1 as information for displaying characters, figures, etc.
The signal transmitted via 3 is converted into a corresponding character, figure, etc. and displayed (for example, CRT or liquid crystal display). The storage device 16 stores documents from the processing device 11.
This is a storage device for storing a signal transmitted via the input / output processing device 13 as information to be registered such as information for editing a document, and reading out and transmitting the stored symbol, that is, the registered content.

【0009】上記各装置は、図1では、機能を中心に表
示したが、実際の装置構成を図2に示す。処理装置とし
てCPU21、手段格納装置としてメモリ22、入出力
処理装置として入出力プロセッサ(IOP)及びIOP
制御信号格納と入出力信号バッファ用とに使用するメモ
リの組合せ23、操作装置としてキーボード24、表示
装置としてCRT25、記憶装置としてフロッピーディ
スクドライブ及びフロッピーディスク26を用いてい
る。なお、各手段は信号列に翻訳されてメモリ22に格
納されている。以上の実施例において操作装置にポイン
ティングデバイスを追加したり、表示装置として液晶デ
ィスプレイ、記憶装置として磁気テープ、磁気ドラム等
を用いることもできる。
In FIG. 1, the functions of the above-mentioned devices are mainly displayed, but the actual device configuration is shown in FIG. A CPU 21 as a processing device, a memory 22 as a means storage device, an input / output processor (IOP) and an IOP as an input / output processing device.
A combination 23 of memories used for storing control signals and buffering input / output signals, a keyboard 24 as an operating device, a CRT 25 as a display device, and a floppy disk drive and a floppy disk 26 as a storage device are used. Each unit is translated into a signal string and stored in the memory 22. In the above embodiments, a pointing device may be added to the operating device, a liquid crystal display may be used as the display device, and a magnetic tape, a magnetic drum or the like may be used as the storage device.

【0010】図1に戻り、手段格納装置12内の各手段
について説明する。全体は、編集を実行する編集部10
00、文書や次の操作の指示等表示する情報を処理装置
11に出力する出力部2000、処理装置11に指示し
て文書や文書編集に必要な情報等登録する情報を登録さ
せたり登録を読み出させたりする管理を行なう格納−引
出部3000の三部から構成される。編集部1000
は、さらに、文字列の挿入、削除、置換、移動、複写等
を行なう文字列編集部1200と、文書構造の編集を行
なうための構造編集部1100とから構成されている。
Returning to FIG. 1, each means in the means storing device 12 will be described. The entire editing unit 10 performs editing.
00, an output unit 2000 that outputs information to be displayed such as a document and an instruction for the next operation to the processing device 11, and instructs the processing device 11 to register information such as a document or information necessary for editing a document or read the registration. It is composed of three parts of a storage-drawing part 3000 which manages to let it out. Editorial department 1000
Is further composed of a character string editing unit 1200 for inserting, deleting, replacing, moving, copying, etc. of a character string, and a structure editing unit 1100 for editing the document structure.

【0011】構造編集部1100を構成する各手段につ
いて次に説明する。単位定義部1110は、それに属す
る4手段1111〜1114を主体として構成され、文
書を分割し、分割によって生じた各部分を文書構造を把
握するための構造単位(以下単位と称す)と宣言し、そ
れに内容を表わすような標識を付したり、単位間に並列
または従属の関係を指定したりする手段である。4手段
の各々については、後ほど更に詳細に説明する。
Each means constituting the structure editing section 1100 will be described below. The unit definition unit 1110 is composed mainly of four means 1111 to 1114 belonging to it, divides a document, and declares each part generated by the division as a structural unit (hereinafter referred to as a unit) for grasping the document structure, It is a means to attach a mark indicating the contents to it or to specify a parallel or subordinate relationship between units. Each of the four means will be described in more detail later.

【0012】構造図作成部1120は、各単位の定義と
単位群の配列とから文書構造、即ち単位群の大域的な相
互関係を解析し、解析内容に基づいて図7の如き構造図
を作成する手段である。構造図編集部1130は、構造
図作成部1120による解析内容及び構造図を変更する
手段であり、直接には構造図上にある単位群を対象とし
て編集を実行し、その結果を間接的に解析内容へ還元し
ていく。構造図を編集する手段は1131〜1137に
分かれる。各々の詳細については、後ほど述べる。文書
構成部1140は、構造図編集部1130によって変更
された解析内容に従って単位の配列を行ない、文書を構
成する手段である。その際、指定書式に従って章、節等
の称号を付けたり、付け直したりする手段が番号変更部
1141であり、単位に付された標識を抽出して文書の
目次を作成するのが目次作成部1142である。
The structure diagram creating unit 1120 analyzes the document structure, that is, the global mutual relationship of the unit groups from the definition of each unit and the array of unit groups, and creates the structure diagram as shown in FIG. 7 based on the analysis contents. Is a means to do. The structural diagram editing unit 1130 is a means for changing the analysis content and the structural diagram by the structural diagram creating unit 1120, directly executing the editing for the unit group on the structural diagram, and indirectly analyzing the result. Give back to the content. The means for editing the structural diagram is divided into 1131 to 1137. Details of each will be described later. The document composition unit 1140 is a unit that composes a document by arranging the units according to the analysis contents changed by the structural diagram editing unit 1130. At this time, the number changing section 1141 is a means for adding or re-assigning titles such as chapters and sections according to the designated format, and the table of contents creating section is for creating the table of contents of the document by extracting the mark attached to the unit 1142.

【0013】以下、図3に示される文書の編集を例とし
て、実施例の文書編集装置の細部と動作について説明す
る。動作の流れを図15に示え。文書編集装置を起動す
ると、文書の新規作成または既存文書の選択を行なうこ
とができる。図3の文書は、この時点で新規文書の作成
を選択し、文字列編集部1200を起動して作成したも
のである。新規文書の作成が済んで文字列編集を終了す
るか、あらかじめ作成しておいた文書を選択すると、自
動的にもしくは使用者の所定の操作に応じて、構造編集
部1100が起動する。構造編集を経ている既存の文書
は構造単位が定義され、それら相互の関係も明確になっ
ているので、直ちに構造図作成に移るが、図3の文書の
ように新規に作成された文書は、単位が未定義であるの
で、単位定義部1110が呼び出される。
The details and operation of the document editing apparatus of the embodiment will be described below by taking the document editing shown in FIG. 3 as an example. The flow of operation is shown in FIG. When the document editing device is activated, a new document can be created or an existing document can be selected. The document of FIG. 3 is created by selecting the creation of a new document at this point and activating the character string editing unit 1200. When the creation of a new document is completed and the character string editing is completed or a document created in advance is selected, the structure editing unit 1100 is activated automatically or in response to a predetermined operation by the user. In the existing document that has undergone the structure editing, structural units are defined and their mutual relationships are clear, so immediately move to the structure diagram creation, but the newly created document like the document in FIG. Since the unit is undefined, the unit definition part 1110 is called.

【0014】単位定義における動作の流れを、図16に
示す。まず初めに範囲指定部1111により、単位とし
たい文字列を指定する。構造編集に有用な単位は通常段
落のように行単位でまとめることができるので、単位と
する範囲の指定は開始行と終了行とによって指定するよ
うにしてある。範囲指定を行なっている様子が図4に示
されている。ここで、点線で区切られた範囲は、既に単
位定義が終了した部分であり、背景が反転している部分
が次に単位と定義したい文字列で、上下カーソルキーで
指定の範囲が変更できる。範囲を決めた後は、然るべき
打鍵によってその部分を単位と宣言することができる。
FIG. 16 shows a flow of operations in the unit definition. First, the range specifying unit 1111 specifies a character string to be used as a unit. Units useful for structure editing can be grouped line by line, like a paragraph, so the range of units is specified by the start line and end line. FIG. 4 shows how the range is specified. Here, the range delimited by the dotted line is the part where the unit definition has already been completed, the part where the background is reversed is the character string to be defined as the next unit, and the specified range can be changed with the up and down cursor keys. After deciding the range, you can declare the part as a unit by pressing the appropriate keys.

【0015】その宣言が終了すると、画面上にそれまで
の表示内容とは独立な別の表示内容を表示する領域(ウ
インドウ)が取られ、付番部1112に処理は移る。付
番部1112は、単位間の並列または従属の関係を識別
できるようにする手段である。実施例では、整数とピリ
オド記号とを交互に並べた列を付してこれを実現してい
る。並列、従属関係を分類すると階層構造が得られる
が、その階層を区別するものがピリオド記号であり、等
しい長さの列を付された単位同士は同じ階層に存在し
(並列または独立)、そのうち最後の整数のみ異なるも
のはそれが従属する一階層上の単位が同一であること
(局所的にみて並列)を示す。具体的にはタイトルに0
を付けたらその文書の単位には「0.」で始まる列を付
け、第1章を「0.1」としたら第1章第1節は「0.
1.1」、第1章第1節第1項を「0.1.1.1」と
したら同じく第2項は「0.1.1.2」としていけば
よい。この最後のような場合は、「.2」と省略形も許
す。文書のタイトルはいつも存在するとは限らないこと
も考慮し、番号「0」に相当するものはどの単位に付け
てもよい。番号を全く付けないことも可能で、その場合
は、構造解析において独立した文書が存在するとみなさ
れる。なお、番号は「A.」、「ア.」、「α」のよう
にしてもよいし、番号のかわりに文頭に構造に応じた個
数のタブコードをおいたり、図6に示すように、文章の
表示桁をずらすことで構造を表わすことも可能である。
When the declaration is completed, an area (window) for displaying another display content independent of the display content up to that point is taken on the screen, and the process moves to the numbering unit 1112. The numbering unit 1112 is a unit that enables identification of parallel or subordinate relationships between units. In the embodiment, this is realized by adding a column in which integers and period symbols are alternately arranged. A hierarchical structure can be obtained by classifying parallel and subordinate relationships. The period symbol distinguishes the hierarchy, and units with columns of equal length exist in the same hierarchy (parallel or independent). A difference only in the last integer indicates that the units on one layer to which it depends are the same (locally parallel). Specifically, 0 in the title
If you add ".." to the unit of the document, and if Chapter 1 is "0.1", Chapter 1 Section 1 is "0.".
1.1 ", and the first term of Chapter 1, Section 1, is" 0.1.1.1 ", the second term may be" 0.1.1.2 ". In this last case, the abbreviation ".2" is also allowed. Considering that the title of a document does not always exist, the unit corresponding to the number “0” may be given. It is possible to have no number at all, in which case a separate document is considered to exist in the structural analysis. The number may be "A.", "A.", "α", or instead of the number, a tab code of the number corresponding to the structure may be placed at the beginning of the sentence, or as shown in FIG. It is also possible to express the structure by shifting the display digit of the sentence.

【0016】番号を付けるか、付ける操作を無視して付
番部1112の処理を終了すると、制御は付標識部11
13の処理に移る。付標識部1113は、単位に対しそ
の内容を示唆するような短文や句、あるいは内容とは全
く関係のない記号等の何らかの標識を付す手段である。
標識を付けたくないときは、ここの操作を無視して先に
進むことができる。
When the process of the numbering unit 1112 is ended by allocating the number or ignoring the numbering operation, the control is performed by the numbering unit 11
Move to processing of 13. The tagging unit 1113 is a unit for marking a unit with some mark such as a short sentence or phrase that suggests its content, or a symbol having no relation to the content.
If you don't want to add a mark, you can ignore this step and proceed.

【0017】付標識部1113の処理を終了すると、構
造図で各単位を示す枠(後出)中に表示する単位の文章
の表示を1行目からとするか、2行目からとするかの出
力指定を行なう手段である出力指定部1114の処理に
移る。2行目から出力するのは、その単位にもとから付
されている第何章というような標識にとらわれずに構造
編集を行なうのに有効である。図5は、ここまでの操作
が終了したウインドウ内の表示を示している。出力指定
部1114を抜けるとウインドウが閉じ、まだ文章が残
っている場合は、範囲指定部1111に戻って以上の操
作を繰り返す。なお、範囲指定の開始行は、文頭かまた
は前回の終了行の次行を指すようにしてあるので、文書
上単位は連続している。単位を定義し終わると、各単位
は、格納−引出部3000によって番号を除いて登録さ
れ、番号及び単位と番号との対応が別に登録される。
When the processing of the tagging unit 1113 is completed, whether to display the text of the unit displayed in the frame (to be described later) indicating each unit in the structural diagram from the first line or from the second line Then, the processing shifts to the processing of the output designating unit 1114 which is a means for designating the output of Outputting from the second line is effective for structural editing without being obsessed with the signs such as Chapter No. originally attached to the unit. FIG. 5 shows the display in the window in which the operations up to this point have been completed. After exiting the output designating unit 1114, the window closes, and if there are still sentences, the process returns to the range designating unit 1111 and repeats the above operation. Since the start line of the range designation is set to point at the beginning of the sentence or the line next to the end line of the previous time, the unit on the document is continuous. When the unit is defined, each unit is registered by the storage-drawing unit 3000 except for the number, and the number and the correspondence between the unit and the number are registered separately.

【0018】登録が済んで単位定義部1110を終了す
れば構造図作成部1120が呼び出される。構造図作成
部1120では、単位の配列順序と番号がある場合には
それに従って単位群の大域的な相互関係を解析し、その
解析内容に基づいて構造図を作成する。図4の文書に対
し、現在の構造を反映させる番号を付し、内容からその
まま取った標識を付け、2行目から出力するように指定
する、という方法で単位定義を実行した結果から構造図
を作成した一例を図7に示す。各単位は、それが単位で
あることを示すため、枠に収められている。単位間の従
属関係は、枠間に連結された線分が存在することで表現
し、大域的に並列、即ち同じ階層に属する単位について
は枠の左端の水平位置を合わせてそのことを表現してい
る。全体が一つの文書であることは、タイトル以外のす
べての単位がタイトルに対して従属することによって示
している。もしタイトルが存在していない場合は、タイ
トルに相当する空枠が自動的に作成され表示される。番
号が付されていない単位がある場合には、タイトルに連
結されず、独立した別の構造として並列に置かれる。
When the unit definition section 1110 is completed after registration, the structure diagram creation section 1120 is called. The structure diagram creation unit 1120 analyzes the global mutual relationship of the unit groups according to the arrangement order and the number of the units, and creates the structure diagram based on the analysis contents. The structure diagram is based on the result of executing the unit definition by assigning a number that reflects the current structure to the document in FIG. 4, attaching an indicator that is taken from the contents as it is, and specifying to output from the second line. FIG. 7 shows an example of creating the. Each unit is boxed to indicate it is a unit. The subordination relationship between units is expressed by the existence of line segments connected between frames, and it is expressed globally by aligning the horizontal positions of the left ends of the frames for units that belong to the same level. ing. The whole document is indicated by all units other than the title being subordinate to the title. If the title does not exist, an empty frame corresponding to the title is automatically created and displayed. If there are unnumbered units, they are not linked to the title and are placed in parallel as separate separate structures.

【0019】構造図が作成され表示されると、その時点
から構造図編集部1130に制御が移される。構造図編
集部1130では、どの手段を呼び出すかの指示を待
ち、指示があり次第その手段を起動し、その編集手段が
実行され、終了するとまた次の指示を待つ、という流れ
をもつ(図17)。以下、指示に応じて呼び出され実行
される各手段について詳しく述べる。
When the structural drawing is created and displayed, control is transferred to the structural drawing editing unit 1130 from that point. The structure diagram editing unit 1130 waits for an instruction of which means to call, activates the means as soon as the instruction is given, executes the editing means, and waits for the next instruction when the editing is completed (FIG. 17). ). Hereinafter, each means called and executed according to an instruction will be described in detail.

【0020】ア)単位参照部1131 構造図において単位を示す枠内には、標識の他に出力指
定部1114での指定に従って単位の文章の一部が表示
されている。ここで、現在表示されている以外の部分を
参照したいとき、本手段を起動するとウインドウが開か
れ文章のより多くの部分が表示され、上下左右のカーソ
ル移動によって単位の文章の全体を参照できるほか、こ
のウインドウの表示に対しては文字列編集部1200が
起動されており、文章を修正することも可能である(図
8)。図8に示したように、編集可能な位置には、カー
ソルCSが表示される。
A) Unit reference section 1131 In the frame showing the unit in the structural diagram, in addition to the sign, a part of the text of the unit is displayed according to the designation by the output designating section 1114. Here, when you want to refer to the part other than the one currently displayed, when you start this method, a window opens and more parts of the text are displayed, and you can refer to the entire text of the unit by moving the cursor up, down, left, right. The character string editing unit 1200 is activated for the display of this window, and the text can be corrected (FIG. 8). As shown in FIG. 8, the cursor CS is displayed at the editable position.

【0021】イ)連結部1132 連結のない単位をどこかに連結したり、どこかに連結し
ている下位階層の単位を別の単位に連結したりする手段
で、従属関係を変更するのに用いる。まず連結部113
2を呼び出してカーソルを移動し、単位の枠を選択する
と、その単位B0の枠内の背景が反転して操作対象にな
ったことを明示し、ついでカーソルCSを移動すると、
それに伴って仮想的な関係線RLが表示される(図9参
照)。
A) connecting part 1132 A unit for connecting unconnected units to somewhere, or a unit of a lower hierarchy connected somewhere to another unit is used to change the subordinate relationship. To use. First, the connecting portion 113
When 2 is called to move the cursor and select a unit frame, the background in the frame of the unit B0 is highlighted to clearly indicate that it is the operation target, and then the cursor CS is moved.
Along with this, a virtual relationship line RL is displayed (see FIG. 9).

【0022】この時、その単位がどこかと関係をもって
いてもそれを表わす線分の表示は消去されている。連結
した単位を決めたら、そこへカーソルCSを移動してい
き連結部1132を終了すると、点線は実線になり、連
結が確定する。対象となった単位に従属していたすべて
の単位も新たな従属関係をもつことになり、所属する階
層も変化することがある。なお、既存の連結に対して
は、つなぎ変えたものが有効である。
At this time, even if the unit has a relation with somewhere, the display of the line segment representing it is erased. When the connected unit is determined, the cursor CS is moved to the connected unit to end the connecting unit 1132, and the dotted line becomes a solid line, and the connection is confirmed. All units that were subordinate to the target unit will also have a new subordinate relationship, and the hierarchy to which they belong may change. It should be noted that reconnection is effective for existing connections.

【0023】ウ)分離部1133 2単位間に存在する連結の線分を消去し、それらの関係
を独立にする手段である。分離部1133を呼び出す
と、どこかの線分が点線の表示に変わる。ここで分離部
1133を終了すると、その線分が消去される。点線表
示になっている線分は然るべきキーの打鍵によって次々
巡回的に変化するので、そのようにして目的の線分を選
択することが可能である。
C) Separation unit 1133 This is a means for eliminating the connecting line segments existing between the two units and making their relationship independent. When the separation unit 1133 is called, some line segment is changed to a dotted line display. When the separation unit 1133 is finished here, the line segment is erased. Since the line segment displayed in dotted line changes cyclically one after another by the appropriate keystroke, it is possible to select the target line segment in this way.

【0024】エ)移動部1134 単位の枠の位置を移動して、単位の配列順序を変更する
手段である。移動部1134を呼び出したら、カーソル
を動かして移動したい単位を選択すると、その単位の枠
内の背景が反転して操作対象になったことを明示するの
で、さらにカーソルを動かして移動したい位置までもっ
てゆき、移動部1134を終了すればよい。図10に示
した例では、単位B1をカーソルにより選択した後、カ
ーソルCSを所望の位置まで移動し、ここで所定の打鍵
操作を行なうことにより、選択された単位B1が、カー
ソルCSが存在した位置まで移動する。
D) Moving unit 1134 A unit for moving the position of the unit frame to change the arrangement order of the units. When the moving unit 1134 is called, when the cursor is moved to select the unit to be moved, the background in the frame of the unit is inverted and it is clearly indicated that the operation target is displayed. Therefore, the cursor is further moved to the position to be moved. The moving unit 1134 may be ended. In the example shown in FIG. 10, after the unit B1 is selected by the cursor, the cursor CS is moved to a desired position and a predetermined keystroke operation is performed, so that the selected unit B1 has the cursor CS. Move to position.

【0025】オ)複写部1135 指定した単位の複製を同位の位置のすぐ下方に作成する
手段である。複写によって生じた単位は、この時点でど
ことも関係をもっていない。従って、元の単位とも関係
はなく別の登録をもつ。この手段は、ある単位が、時に
は少しずづ形を変えながら複数回引用されるような文書
の編集には特に有効であり、それらがどこに使用されて
いるかを構造図によって一目で分かるよう、所定のイン
デックスを付ければ、複製したもの全体に修正が必要な
場合等に有用である。
E) Copying unit 1135 This is a means for creating a copy of a designated unit immediately below a position of the same level. The unit produced by copying has nothing to do with this point. Therefore, it has no relation to the original unit and has another registration. This method is particularly effective for editing documents in which a unit is quoted multiple times while changing the shape a little at a time, so that it is possible to see at a glance where the units are used by a structural diagram. The index of is useful when it is necessary to modify the entire copy.

【0026】カ)単位追加部1136 単位を新規に作成するか、登録されている単位群より適
当なものを選び出して構造図上の単位群に追加する手段
である。単位追加部1136を起動するとまずウインド
ウが開かれ、新規単位か既存単位かの選択をするよう表
示される。ここで新規を選択するとそのウインドウに文
字列編集部1200が呼び出され、そこで文章が作成可
能となる。文章の作成を終了すると、この単位は登録さ
れ、次回の単位追加からは既存単位として使用できるよ
うになる。次に、既存単位群からの追加を選択した場合
は、ちょうど単位の枠内に表示されるような形式での単
位一覧がウインドウに表示されるので、カーソルを移動
して所望の単位を選択すればよい。登録されている単位
の数が大きくなると、単なる一覧の中から所望の単位を
選び出すのは困難になるので、本実施例では適当な限定
をつけて一覧を表示することができるようにしている。
その限定とは、例えば、ある文字列を含む標識を持つ単
位、あるいは、ある日付より後に登録されている単位等
である。
F) Unit adding unit 1136 A unit for newly creating a unit or selecting an appropriate unit from the registered unit groups and adding it to the unit group on the structural diagram. When the unit adding unit 1136 is activated, a window is opened first, and it is displayed to select a new unit or an existing unit. When new is selected here, the character string editing unit 1200 is called in that window, and a sentence can be created there. When you finish creating the text, this unit will be registered and will be available as an existing unit from the next addition of units. Next, if you select to add from the existing unit group, the unit list in the format that will be displayed in the unit frame will be displayed in the window, so move the cursor and select the desired unit. Good. If the number of registered units becomes large, it becomes difficult to select a desired unit from a simple list. Therefore, in this embodiment, the list can be displayed with an appropriate limitation.
The limitation is, for example, a unit having an indicator containing a certain character string, a unit registered after a certain date, or the like.

【0027】キ)単位削除部1137 構造図上、単位及びそれに従属するすべての単位を削除
する手段である。削除したい単位の枠にカーソルを合わ
せて削除部を終了すればよい。ここでの削除は構造図上
のみであり、単位の登録は抹消されない。
G) Unit deleting unit 1137 This is a unit for deleting a unit and all units dependent on it in the structural diagram. The cursor may be placed on the frame of the unit to be deleted and the deletion unit may be terminated. The deletion here is only on the structural diagram, and the registration of the unit is not deleted.

【0028】以上に述べた構造編集無1100により、
図7に例示した構造図を、種々編集したものを図11に
例示した。
According to the above-described structure editing-free 1100,
FIG. 11 illustrates variously edited structures of the structure illustrated in FIG. 7.

【0029】続いて、構造図から文書を構成する動作を
説明する。構造図編集部1130において、構造図の変
更に対応して内部で実行されていた解析内容の変更は、
単位の文章の変更の他に、単位の番号を図に合致するよ
うに付け直したり、番号のなかった単位に番号を与えた
りして、単位の大域的な相互関係を更新することも含ん
でいる。構造図編集部1130を終了すれば、それらの
文書の構成に必要な情報はすべて登録されているので、
文書構成部1140では、それに従って、即ち単位の番
号を解釈しながら、単位の配列を行なっていく。図12
は、文書構成部1140によって図11に例示した構造
図に対応した文書として得られたものである。最後に配
置された単位が点線で区切られているのは、それが別の
文書と認識されたことによる。しかし、これらは同一の
ウインドウに表示されており、できあがりの文書として
ひとまとまりに登録することも可能である。もし、その
ようにすれば元の文書(図3)からそれぞれ利用可能な
3個の文章が作成されたことになり、文書資源が有効に
利用されていることになる。さて、図12では、原文の
章、節番号が残っているので、これを修正するため番号
変更部1141を起動する。番号の書式は各階層ごと
に、「.第##章.第##節.第##項」のようにして
指定できる。
Next, the operation of composing a document from the structural diagram will be described. In the structure diagram editing unit 1130, the change of the analysis content internally executed corresponding to the change of the structure diagram is
In addition to changing the unit text, renumbering the units to match the diagram, or giving unnumbered units a number, to update the unit's global interrelationships. There is. When the structure diagram editing unit 1130 is terminated, all the information necessary for constructing those documents has been registered.
The document configuration unit 1140 arranges the units in accordance with that, that is, while interpreting the unit numbers. 12
Is obtained as a document corresponding to the structural diagram illustrated in FIG. 11 by the document configuration unit 1140. The unit arranged at the end is separated by a dotted line because it is recognized as another document. However, these are displayed in the same window, and it is possible to register them as a completed document as a group. If this is done, then three usable sentences are created from the original document (FIG. 3), and the document resources are effectively used. Now, in FIG. 12, since the chapter and section numbers in the original sentence remain, the number changing unit 1141 is activated to correct them. The number format can be specified for each layer as in “. ### Chapter. ### Section. ### Item”.

【0030】これは、ちょうど単位定義のときに付番部
1112で用いたものと対応しており、タイトルは番号
なし、「0.1.2.3」という番号の単位は第3項と
名づけるという指定である。また、番号変更では、もと
もと番号を付ける予定のない単位に意図せざる番号が付
くのを防ぐ目的も兼ねて、単位に付した標識が新たな表
題として用いられ、その後に続く文章の開始行は出力指
定部1114での指定に従う(指定が1行目からなる番
号と表題は付かない)。前述したように、図12の点線
以下の文章は、文書として別のものなので、これには番
号変更部1141を別に起動し、補遺という番号を付
け、更に全体を一つの文書にまとめると図13に示す文
書が得られる。目次は指定行数を単位として頁数を数え
ていく点を除けば、番号変更の際、単位の文章を出力し
ないことで得られる。図14は、目次作成部1142を
起動し、1行目を1頁と指定して、目次を作成した例を
示す。
This corresponds to that used in the numbering part 1112 when just defining the unit, the title is not numbered, and the unit of the number "0.1.2.3" is named the third term. Is specified. In addition, when changing the number, the sign attached to the unit is used as a new title also for the purpose of preventing an unintended number from being attached to a unit that originally did not have a number, and the start line of the text that follows is According to the designation in the output designation section 1114 (the designation is not given the number and title including the first line). As described above, since the text following the dotted line in FIG. 12 is a different document, the number changing unit 1141 is separately activated, the number is added as an addendum, and the whole document is combined into one document as shown in FIG. The document shown in is obtained. The table of contents can be obtained by not outputting the text of the unit when changing the number, except that the number of pages is counted using the specified number of lines as a unit. FIG. 14 shows an example in which the table of contents creation unit 1142 is activated and the first line is designated as page 1 to create a table of contents.

【0031】以上説明した実施例の文書編集装置では、
文書の構造単位を自由に設定し、この構造単位からなる
構造図を用いて文書の構成を編集すると共に、構造図に
よる文書の編集中に、構造単位の追加,複写といった構
造全体にかかわる編集のみならず、構造単位内の文書の
修正,追加を、その構造単位内の文書の全体を参照しな
がら行なうことができるという優れた効果を奏する(図
8参照)。したがって、文書の細部である文書の作成,
編集および修正を、文書全体を考慮しながら行なうこと
が容易である。また、構造単位の内容を示唆した標識を
各構造単位に付すことができるので、各構造単位の内容
を容易に知ることができ、各構造単位の内容を考慮しな
がら文書を編集することができる。
In the document editing apparatus of the embodiment described above,
You can freely set the structural unit of the document, edit the structure of the document using the structural diagram that consists of this structural unit, and only edit the entire structure such as adding structural units and copying while editing the document with the structural diagram. The excellent effect is that the document in the structural unit can be corrected or added while referring to the entire document in the structural unit (see FIG. 8). Therefore, the creation of a document, which is a detail of the document,
It is easy to edit and modify while considering the entire document. In addition, since a mark suggesting the content of the structural unit can be attached to each structural unit, the content of each structural unit can be easily known, and the document can be edited while considering the content of each structural unit. .

【0032】以上本発明の実施例について説明したが、
本発明はこうした実施例に何等限定されるものではな
く、本発明の要旨を逸脱しない範囲内において、種々な
る態様で実施し得ることは勿論である。
The embodiment of the present invention has been described above.
The present invention is not limited to these examples, and it goes without saying that the present invention can be implemented in various modes without departing from the scope of the present invention.

【0033】[0033]

【発明の効果】以上説明したように本発明の文書編集装
置では、文書中の章,節,段落等の単位またはその単位
の標記を文書の構造単位として設定し、所定形式の構造
図を用いて文書の構成を編集すると共に、構造図中にウ
インドウを開いて所望の構造単位内の文章を自由に編集
することができるという優れた効果を奏する。したがっ
て、文書の作成,編集および修正について文書全体を考
慮しながら行なうことが容易となる。
As described above, in the document editing apparatus of the present invention, a unit such as a chapter, a section or a paragraph in a document or a mark of the unit is set as a structural unit of the document, and a structural diagram of a predetermined format is used. This has the excellent effect that the structure of the document can be edited and the text in the desired structural unit can be freely edited by opening a window in the structural diagram. Therefore, it becomes easy to create, edit, and modify a document while considering the entire document.

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

【図1】本発明の文書編集装置の機能構成を例示するブ
ロック図である。
FIG. 1 is a block diagram illustrating a functional configuration of a document editing apparatus of the present invention.

【図2】本発明の文書編集装置のハードウエア構成を例
示するブロック図である。
FIG. 2 is a block diagram illustrating a hardware configuration of a document editing device of the present invention.

【図3】実施例で使用した文書例の表示例を示す説明図
である。
FIG. 3 is an explanatory diagram showing a display example of a document example used in the embodiment.

【図4】実施例で使用した文書例について単位定義部1
110を実行したときの動作を例示する説明図である。
FIG. 4 is a unit definition section 1 for an example of a document used in the embodiment.
It is explanatory drawing which illustrates operation | movement when 110 is performed.

【図5】同じく、実施例で使用した文書例について単位
定義部1110を実行したときの動作を例示する説明図
である。
FIG. 5 is an explanatory diagram illustrating an operation when the unit definition unit 1110 is executed for the document example used in the embodiment.

【図6】同じく、実施例で使用した文書例について単位
定義部1110を実行したときの動作を例示する説明図
である。
FIG. 6 is an explanatory diagram illustrating an operation when the unit definition unit 1110 is executed for the document example used in the embodiment.

【図7】実施例で使用した文書例の構造図を例示する説
明図である。
FIG. 7 is an explanatory diagram illustrating a structural diagram of an example of a document used in an example.

【図8】実施例で使用した文書例について構造図編集部
1130を実行したときの動作を例示する説明図であ
る。
FIG. 8 is an explanatory diagram illustrating an operation when the structural diagram editing unit 1130 is executed for the document example used in the embodiment.

【図9】同じく、実施例で使用した文書例について構造
図編集部1130を実行したときの動作を例示する説明
図である。
FIG. 9 is an explanatory diagram similarly illustrating an operation when the structural diagram editing unit 1130 is executed for the document example used in the embodiment.

【図10】実施例で使用した文書例について構造図編集
部1130を実行したときの動作を例示する説明図であ
る。
FIG. 10 is an explanatory diagram illustrating the operation when the structural diagram editing unit 1130 is executed for the document example used in the embodiment.

【図11】実施例で使用した文書例について編集後の構
造図を例示する説明図である。
FIG. 11 is an explanatory diagram illustrating a structural diagram after editing the document example used in the example.

【図12】実施例で使用した文書例について編集後の表
示例を示す説明図である。
FIG. 12 is an explanatory diagram showing a display example after editing the document example used in the embodiment.

【図13】実施例で使用した文書例について編集後に番
号変更を実行した文書の表示例を示す説明図である。
FIG. 13 is an explanatory diagram showing a display example of a document in which the number is changed after editing the document example used in the embodiment.

【図14】実施例で使用した文書例について目次作成部
1142によって作成された目次の表示例を示す説明図
である。
FIG. 14 is an explanatory diagram showing a display example of a table of contents created by a table of contents creating unit 1142 for a document example used in the embodiment.

【図15】実施例の文書編集装置における文書の編集動
作を例示するフローチャートである。
FIG. 15 is a flowchart illustrating a document editing operation in the document editing apparatus according to the embodiment.

【図16】実施例の文書編集装置において、単位定義部
1110が起動されたときの動作を例示するフローチャ
ートである。
FIG. 16 is a flowchart illustrating an operation when the unit definition unit 1110 is activated in the document editing apparatus according to the embodiment.

【図17】実施例の文書編集装置において、構造図編集
部1130が起動されたときの動作を例示するフローチ
ャートである。
FIG. 17 is a flow chart exemplifying an operation when the structural drawing editing unit 1130 is activated in the document editing apparatus of the embodiment.

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

21…CPU 22…メモリ 23…IOPとメモリの組合せ 24…キーボード 25…CRT 26…FDD 21 ... CPU 22 ... Memory 23 ... Combination of IOP and memory 24 ... Keyboard 25 ... CRT 26 ... FDD

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書を入力する入力手段と、 該文書中の章,節,段落等の単位または該単位の標記
を、文書の構造単位として設定する構造単位設定手段
と、 該構造単位によって、文書の構成を編集する構成編集手
段と、 前記構造単位により構成された文書を所定形式の構造図
として表示する構造図表示手段と、 該構造図が表示された状態において所望の構造単位内の
文章を所定のウインドウに表示するウインドウ表示手段
と、 該ウインドウに表示された文章を編集する文章編集手段
とを備えた文書編集装置。
1. An input means for inputting a document, a structural unit setting means for setting a unit of a chapter, a section, a paragraph or the like in the document or a mark of the unit as a structural unit of the document, and the structural unit Structure editing means for editing the structure of a document, structure diagram display means for displaying a document composed of the structural units as a structural diagram in a predetermined format, and text in a desired structural unit in a state in which the structural diagram is displayed A document editing device comprising window display means for displaying the text in a predetermined window and text editing means for editing the text displayed in the window.
JP5187564A 1993-06-29 1993-06-29 Document editing device Expired - Fee Related JP2689861B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5187564A JP2689861B2 (en) 1993-06-29 1993-06-29 Document editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5187564A JP2689861B2 (en) 1993-06-29 1993-06-29 Document editing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61227707A Division JPH0769913B2 (en) 1986-09-26 1986-09-26 Document editing device

Publications (2)

Publication Number Publication Date
JPH06203023A true JPH06203023A (en) 1994-07-22
JP2689861B2 JP2689861B2 (en) 1997-12-10

Family

ID=16208298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5187564A Expired - Fee Related JP2689861B2 (en) 1993-06-29 1993-06-29 Document editing device

Country Status (1)

Country Link
JP (1) JP2689861B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814417B2 (en) 2004-10-06 2010-10-12 Canon Kabushiki Kaisha Document processing method and system therefor
KR101391331B1 (en) * 2012-07-16 2014-05-27 주식회사 인프라웨어 Level-based per-list editing method for document editing applications, and computer-readable recording medium with level-based per-list editing program for the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6017522A (en) * 1983-07-11 1985-01-29 Toshiba Corp Document forming device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6017522A (en) * 1983-07-11 1985-01-29 Toshiba Corp Document forming device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7814417B2 (en) 2004-10-06 2010-10-12 Canon Kabushiki Kaisha Document processing method and system therefor
KR101391331B1 (en) * 2012-07-16 2014-05-27 주식회사 인프라웨어 Level-based per-list editing method for document editing applications, and computer-readable recording medium with level-based per-list editing program for the same

Also Published As

Publication number Publication date
JP2689861B2 (en) 1997-12-10

Similar Documents

Publication Publication Date Title
EP0278722B1 (en) Document composition system using named formats and named fonts
JPS5810238A (en) Information forming device
JPH07239850A (en) Structured document preparation supporting system
GB2154035A (en) Document creating and editing apparatus
JP2689861B2 (en) Document editing device
JPS6382541A (en) Document edition device
JPH08221417A (en) New/old comparing editing device for structured document
JP2601092B2 (en) How to work with documents
JP2003099424A (en) Document data structure, storage medium and information processor
JP2575665B2 (en) Logical diagram outline description conversion processing method
JPS63109578A (en) Processing system for logic diagram outline display
JP3454987B2 (en) Document editing apparatus and method
JP2585311B2 (en) How to create a program
JP2659092B2 (en) Cursor display control method in logic diagram creation processor
JP2763289B2 (en) Detailed description positioning method in logic diagram creation processing device
JP3393717B2 (en) Document editing device
JPH04369073A (en) Method for displaying menu and information processor
JPH05314108A (en) Document editor
JPS6365988B2 (en)
JPH01169672A (en) Character processor
JPH0465756A (en) Method for relating document
JPH07141158A (en) Data editing system
JPS60129788A (en) Document processor
JPH07325830A (en) Dictionary retrieval device
JPH0311410A (en) Information processing unit

Legal Events

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