JPH03127170A - Logical structure generation processing system in document preparing device - Google Patents

Logical structure generation processing system in document preparing device

Info

Publication number
JPH03127170A
JPH03127170A JP1264940A JP26494089A JPH03127170A JP H03127170 A JPH03127170 A JP H03127170A JP 1264940 A JP1264940 A JP 1264940A JP 26494089 A JP26494089 A JP 26494089A JP H03127170 A JPH03127170 A JP H03127170A
Authority
JP
Japan
Prior art keywords
logical structure
document
contents
content
partial
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
JP1264940A
Other languages
Japanese (ja)
Inventor
Eiji Yamazaki
山崎 英二
Chizuko Suzuka
千鶴子 鈴鹿
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 Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP1264940A priority Critical patent/JPH03127170A/en
Publication of JPH03127170A publication Critical patent/JPH03127170A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the operation for preparing a document and to reduce the instruction quantity, and to improve the operability of a user by preparing in parallel an argument structure and the contents. CONSTITUTION:In a central processing unit 11, a storage part 12 is provided, and a contents editing program 13 for editing and outputting the contents of a document, based on data inputted from a keyboard 17, and a structure editing program 15 for generating a materialized specific logical structure to an object document from a generalized common logical structure are contained, and also, a contents editing area 14 for holding the edited contents data displayed to a display device by the contents editing program 13, and a structure editing area 16 for holding a relation of the common logical structure and the specific logical structure, and the contents are provided. In this case, the logical structure and the contents are generated in parallel. In such a way, generation of a contradiction between the logical structure and the contents can be prevented.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文書の入力編集を行う装置において。[Detailed description of the invention] [Industrial application field] The present invention relates to an apparatus for inputting and editing a document.

文書に論理構造を付加しながら入力編集を行う文書作成
装置における論理構造作成処理方式に関する。
The present invention relates to a logical structure creation processing method in a document creation device that performs input editing while adding a logical structure to a document.

[従来の技術] 文書にはその目的により論文、報告書、手紙等様々な種
類があり、また、同種の文書間においては章、節、段落
等の論理構造の類似性がみられる。
[Prior Art] There are various types of documents, such as essays, reports, and letters, depending on their purpose, and similar logical structures such as chapters, sections, and paragraphs are observed between documents of the same type.

従来の技術はこの点に着目し、論理構造に従って文書を
容易に作成できるようにしている。例えば情報処理学会
第38回全国大会IJ−3に記載のように、文書を、上
記のような論理構造と、日本語文書、線画等の内容に大
別して考え、また、論理構造の中でも文書の種類毎に分
けた構造文書定義と、各オペレータが作成したい文書に
対応して個別に作成する構造文書に分けて考えられてい
る。
Conventional techniques have focused on this point and have made it possible to easily create documents according to a logical structure. For example, as stated in IJ-3 of the 38th National Conference of the Information Processing Society of Japan, documents can be roughly divided into logical structures as described above, Japanese documents, line drawings, etc. It is considered to be divided into structured document definitions divided by type and structured documents created individually corresponding to the documents each operator wants to create.

構造文書定義は構造文書の積集合のように位置付けられ
、ある特定の構造文書を作成する場合は、構造文書定義
に対して過不足な部分に、操作者ノ内容入力の事前にま
たは内容入力後、過不足な構造を追加、削除して特定の
構造文書を作成する;うになっていた。
A structural document definition is positioned like an intersection of structural documents, and when creating a specific structural document, the operator should fill in the excess and deficiency of the structural document definition before or after inputting the contents. , create a specific structure document by adding or deleting excess or insufficient structures;

[発明が解決しようとする課題] 上記従来技術は、複数の構造文書に共通な論理構造を構
造文書定義として位置付けし、部分論理構造の繰返し回
数や、出現順序が一定の定型的ね文書の作成を容易化し
ているが、定型的でない工書については配慮されておら
ず、構造文書定義に過不足な部分構造文書を利用者自身
が追加、削閉して構造文書の作成を行う必要があった。
[Problems to be Solved by the Invention] The above-mentioned conventional technology positions a logical structure common to a plurality of structured documents as a structured document definition, and creates a fixed document in which the number of repetitions of partial logical structures and the order of appearance are fixed. However, it does not take into consideration non-routine construction documents, and users must create structural documents by adding and deleting partial structural documents that are too short or too large for the structural document definition. Ta.

また、構造文書の作成は内容入力前、もしく11内容入
力後に行うようになっていたが、論理構造と内容を別々
に入力することで矛盾が発生する可能性があり、文書の
入力編集時に並行して構造り書を作成することが好まし
い。
In addition, the creation of a structured document was supposed to be done before inputting the content or after inputting the 11th content, but there is a possibility that conflicts may occur if the logical structure and content are input separately, so it is difficult to create a structured document when inputting and editing the document. It is preferable to create a structure document in parallel.

本発明の目的は、文書作成のための操作の簡易化、及び
指示量の低減を行い、利用者の操作性の向上をはかると
ともに、論理構造と内容の間で矛盾が生じることを防止
することにある。なお、本発明では、構造文書定義を共
通論理構造、構造文書を特定論理構造と示す。
The purpose of the present invention is to simplify operations for document creation and reduce the amount of instructions required, thereby improving operability for users and preventing inconsistencies between logical structure and content. It is in. In the present invention, a structural document definition is referred to as a common logical structure, and a structural document is referred to as a specific logical structure.

[課題を解決するための手段] 上記目的を達成するために、文書の入力編集を行う装置
における論理構造と内容の作成を行う処理において、論
理構造と内容を並行して作成するようにした。
[Means for Solving the Problems] In order to achieve the above object, the logical structure and content are created in parallel in the process of creating the logical structure and content in a device that inputs and edits a document.

また、文書の入力編集を行う装置で複数の文書に共通な
論理構造をもつ共通論理構造から特定の論理構造を作成
する処理において、共通論理構造から一定の条件で決定
した部分共通論理構造のガイダンスを利用者に示すよう
にし、さらに上記ガイダンスを利用者に示した際に、ガ
イダンスを否定する手段と、利用者からの指示内容を判
定する手段と、判定の結果が否定の場合には、共通論理
構造から別の条件で、部分共通論理構造を決定する手段
を設けた。
In addition, in the process of creating a specific logical structure from a common logical structure that has a logical structure common to multiple documents in a document input/editing device, guidance for a partial common logical structure determined under certain conditions from the common logical structure is provided. Furthermore, when the above-mentioned guidance is shown to the user, a means for denying the guidance, a means for determining the content of the instruction from the user, and a common method when the result of the determination is negative. A means for determining a partially common logical structure based on conditions different from the logical structure is provided.

[作用] 本発明では、論理構造と内容を並行して作成することに
より、また、ガイダンスを利用者に示すことにより、論
理構造と内容との間での矛盾の発生を防止できる。
[Operation] According to the present invention, by creating the logical structure and contents in parallel, and by showing guidance to the user, it is possible to prevent a contradiction between the logical structure and the contents.

また、利用者にガイダンスを示すことにより。Also, by providing guidance to users.

利用者はそれを参照しながら内容入力を行えばよいため
、操作の簡易化がはかられる。
The user only needs to input the content while referring to it, which simplifies the operation.

さらに、共通論理構造中を一定単位ごとに部分共通論理
構造として取扱って処理を行っているため、部分論理構
造の繰返しや、出現順序の変更も容易にでき、実際に部
分共通論理構造の追加や、削除を行わなくても、簡単な
指示で行うことができ、利用者の指示量の低減を行うこ
ともでき、操作性の向上がはかれる。
Furthermore, since processing is performed by treating each common logical structure as a partial common logical structure, it is easy to repeat partial logical structures and change the order of appearance. , even if deletion is not performed, it can be done with a simple instruction, the amount of instructions from the user can be reduced, and operability is improved.

[実施例] 以下1本発明の一実施例を図面を用いて詳細に説明する
[Example] An example of the present invention will be described below in detail with reference to the drawings.

第1図は、本発明の一実施例の文書作成装置の構成図で
あり、中央の処理装置t!11内には記憶部12があり
、キーボード11から入力されるデータに基づき文書の
内容を編集して表示装置に出力する処理を行う内容編集
プログラム13、一般化された共通論理構造から対象と
する文書に対して具体化された特定論理構造を生成する
ための構造編集プログラム15が格納されており、また
、内容編集プログラム13が表示装置に対して表示する
編集された内容データを保持するための内容編集用エリ
ア14.共通論理構造と特定論理構造、および、内容と
の関係を保持するための構造編集用エリア16が設けら
れている。また、処理装置11には文書の内容を入力す
るために使用するキーボード17、その他の入力指示に
使用するためのマウス18、編集する内容を表示し1画
面の特定位置をポイントできる表示装置19、共通論理
構造及び各々の文書を格納しておくための外部記憶装置
21が接続されている。なお、表示装置19内には内容
編集用画面20の一例を示しである。
FIG. 1 is a block diagram of a document creation device according to an embodiment of the present invention, in which a central processing device t! 11 includes a storage unit 12, a content editing program 13 that edits the content of a document based on data input from the keyboard 11, and outputs it to a display device; A structure editing program 15 for generating a specific logical structure embodied in a document is stored, and a structure editing program 15 for holding edited content data to be displayed on a display device by the content editing program 13 is stored. Content editing area 14. A structure editing area 16 is provided for holding the relationship between the common logical structure, the specific logical structure, and the contents. The processing device 11 also includes a keyboard 17 used to input the contents of the document, a mouse 18 used for other input instructions, a display device 19 that displays the contents to be edited and can point to a specific position on one screen, An external storage device 21 is connected for storing a common logical structure and each document. Note that an example of a content editing screen 20 is shown in the display device 19.

第1図を参照しながら、論理構造作成処理全体の流れと
、各構成部の役割を説明する。
The overall flow of the logical structure creation process and the role of each component will be explained with reference to FIG.

論理構造作成処理を開始すると、内容編集プログラム1
3は、内容編集用エリア14の初期化を行って、表示装
置19に、図中20で示すような内容編集用画面を出力
した後、構造m集プログラム15に対し制御を渡す。構
造編集プログラム15は、構造編集用エリア16を確保
し、外部記憶装置21から第2図に示されるような共通
論理構造を読み込み、木構造をもった共通論理構造のル
ートの部分から順に部分共通論理構造を参照して、次に
選択の対象となり得る部分共通論理構造の候補を決め、
それに対応する第3図に示されるような特定論理構造を
作成し、その論理構造の用途、例えば1章」33、「番
号」34、「タイトルB」35等の区別を内容編集プロ
グラム13へ渡す。
When you start the logical structure creation process, content editing program 1
3 initializes the content editing area 14 and outputs a content editing screen as shown at 20 in the figure on the display device 19, and then passes control to the structure m collection program 15. The structure editing program 15 secures a structure editing area 16, reads a common logical structure as shown in FIG. Referring to the logical structure, determine candidates for partially common logical structures that can be selected next,
A corresponding specific logical structure as shown in FIG. 3 is created, and the purpose of the logical structure, for example, distinctions such as "Chapter 1" 33, "Number" 34, "Title B" 35, etc., is passed to the content editing program 13. .

内容編集プログラム13は、表示装置19に表示した内
容編集用画面20のガイダンスを表示するエリアに部分
共通論理構造の用途をガイダンスとして表示し、利用者
の入力を待っ6キーボード17は内容を入力するための
装置であり、入力した内容を内容編集プログラム13が
受は取ると、内容編集用エリア14で編集して、内容編
集用画面20の内容を表示するエリアに表示し、構造編
集プログラム15に対し、その内容と構造の対応付けを
依頼した後、次の部分構造の作成依頼を行う。
The content editing program 13 displays the use of the partially common logical structure as guidance in the guidance display area of the content editing screen 20 displayed on the display device 19, waits for input from the user, and inputs the content using the keyboard 17. When the content editing program 13 receives the input content, it is edited in the content editing area 14, displayed in the content display area of the content editing screen 20, and then sent to the structure editing program 15. After requesting a correspondence between the contents and structure, the next substructure is requested to be created.

マウス18は、内容を入力する替わりに、表示装置19
に表示されている内容編集用画面20のコマンドを表示
するエリアのポイントを行ったり、内容中で編集対象と
する部分をポイントする等の処理を行うために使用する
装置である。利用者が、マウスを用いて、別の候補を選
択することを指示すると、内容編集プログラム13が受
は取り、構造編集プログラム15に条件を変えて部分共
通論理構造の選択を行うことを指示する。
Instead of inputting content, the mouse 18 is used as a display device 19.
This is a device used to perform processing such as pointing to an area for displaying commands on the content editing screen 20 displayed in the content editing screen 20, and pointing to a portion of the content to be edited. When the user uses the mouse to instruct to select another candidate, the content editing program 13 accepts the request and instructs the structure editing program 15 to change the conditions and select a partially common logical structure. .

第2図は、本発明の一実施例の共通論理構造の一例を示
すもので、部分共通論理構造1「文書」は下部に部分共
通論理構造1.1「タイトルA」と、部分共通論理構造
1.2r章」の繰返しを持つことを示し、部分゛共通論
理構造1.2r章」は、下部に部分共通論理構造1.2
.1 r番号」と部分共通論理構造1.2.2 rタイ
トルBJ、及び部分共通論理構造1.2.3 Fバラグ
ラフ」と部分共通論理構造1.2.4 r図」を選択し
ながら。
FIG. 2 shows an example of a common logical structure according to an embodiment of the present invention, in which a partially common logical structure 1.1 "Document" has a partially common logical structure 1.1 "Title A" at the bottom, and a partially common logical structure 1.1 "Title A". The section ``Chapter 1.2r'' has a repetition, and the section ``Chapter 1.2r common logical structure'' has a partial common logical structure 1.2 at the bottom.
.. While selecting ``1 r number'' and partial common logical structure 1.2.2 r title BJ, and partial common logical structure 1.2.3 F bar graph'' and partial common logical structure 1.2.4 r figure''.

もしくは繰り返して持つことを示す、なお、図中r 」
内は、文書という共通論理構造を例とした場合のその部
分共通論理構造の用途を示したものである。
In addition, r in the figure indicates that it is held repeatedly.
The figures in the figure show the uses of a partial common logical structure, taking a common logical structure called a document as an example.

第3図は、本発明の一実施例の第2図に示す共通論理構
造から作成した特定論理構造の一例である。「文書」3
1は、第2図の部分共通論理構造1から生成したもので
あり、同様に「タイトルA」32は、部分共通論理構造
1.1から、1章」33.39は、部分共通論理構造1
.2から、「番号J 34,40は、部分共通論理構造
1.2.1から、「タイトルBJ 35,41は、部分
共通論理構造1.2.2から、「パラグラフJ 36.
42及びr図」37は1部分共通論理構造1.2゜3と
1.2.4から生成したものである。
FIG. 3 is an example of a specific logical structure created from the common logical structure shown in FIG. 2 of one embodiment of the present invention. "Document" 3
1 is generated from the partial common logical structure 1 in FIG.
.. 2, "Numbers J 34, 40 from Partial Common Logical Structure 1.2.1," Title BJ 35, 41 from Partial Common Logical Structure 1.2.2, "Paragraph J 36.
Figures 42 and 37 are generated from the partial common logical structures 1.2.3 and 1.2.4.

例えば、第3図の特定論理構造を作成する場合を説明す
る。
For example, a case will be described in which the specific logical structure shown in FIG. 3 is created.

論理構造作成処理を開始すると、共通論理構造から、部
分共通論理構造1「文書」、及び1.1「タイトルA」
を選択し、その二つの用途、「文書」31及び「タイト
ルA」32を連結して、「文書のタイトル」を入力する
ことをガイダンスとして表示する。利用者がタイトルの
内容を入力すると、次に選択される「番号」34の内容
を自動的に決定した上で次の候補、すなわち部分共通論
理構造1.2「章」、及び1.2.2 rタイトルB」
を選択し、「1章のタイトル」を入力するガイダンスを
表示する。このようにして共通論理構造が規定する構造
を対話的に参照しながらその内容を入力することができ
る。第3図の図中「パラグラフJ36.r図J37.r
パラグラフ」38では、繰返しにより「パラグラフ」の
入力を要求するが、図中のr図」37のとき、別候補を
指示することにより、繰返しを利用してr図」の入力を
要求しなおすことができる。また、図中38の入力に続
いて、次の新しい章を入力したいので、部分共通論理構
造1.2r章」の繰返しを利用して、新しい章を作成す
る。
When the logical structure creation process starts, partial common logical structures 1 "Document" and 1.1 "Title A" are created from the common logical structure.
is selected, the two usages, ``Document'' 31 and ``Title A'' 32 are connected, and a guidance to input the ``Document Title'' is displayed. When the user inputs the content of the title, the content of the "number" 34 to be selected next is automatically determined, and the next candidates, namely, partial common logical structure 1.2 "chapter" and 1.2. 2rTitle B”
Select to display guidance for entering the "Chapter 1 title." In this way, it is possible to input the contents while interactively referring to the structure defined by the common logical structure. In the diagram of Figure 3, “Paragraph J36.r Diagram J37.r
In "Paragraph" 38, the input of "Paragraph" is requested by repetition, but in the case of "R figure" 37 in the figure, by indicating another candidate, the input of "R figure" is requested again using repetition. Can be done. Further, following the input at 38 in the figure, we want to input the next new chapter, so we create a new chapter by using the repetition of "partial common logical structure 1.2r chapter".

次に、第4図のフローチャートにより本発明の一実施例
の論理構造を作成しながら、利用者が文書の内容を入力
し構造と対応付ける内容編集プログラム13と構造m集
プログラム15とを合わせた全体の処理の流れを第3図
を例にして説明する。
Next, while creating the logical structure of one embodiment of the present invention according to the flowchart of FIG. 4, the user inputs the contents of the document and associates it with the structure. The flow of processing will be explained using FIG. 3 as an example.

まず、文書作成の処理が開始されると、構造編集プログ
ラム15により、これから作成する特定論理構造の部分
構造を格納するためのスタックの初期化処理(401)
を行う、最初の候補として一つの共通論理構造の部分共
通論理構造1.すなわちr文書」を選択する処理(40
2)を行う。
First, when the document creation process is started, the structure editing program 15 initializes a stack for storing a partial structure of a specific logical structure to be created (401).
1. Partial common logical structure of one common logical structure as the first candidate. In other words, the process of selecting "r document" (40
Do 2).

この候補をもとに部分特定論理構造を作成し、スタック
に格納する(403)。その候補の下部にさらに部分構
造があるかどうかの判定(404)を行い、第2図に示
した部分共通論理構造1.1「タイトルA」のように、
下部に部分構造がなしと判定されれば、利用者が用途を
指定したかどうかの判定(405)tt行う。
A partial specific logical structure is created based on this candidate and stored in the stack (403). It is determined whether there is another partial structure below the candidate (404), and the partial common logical structure 1.1 "Title A" shown in FIG. 2 is determined (404).
If it is determined that there is no partial structure at the bottom, it is determined whether the user has specified a usage (405) tt.

ステップ404の判定結果で、第2図に示した部分共通
論理構造1.2r章」のように下部にさらに部分共通論
理構造1.2.1 r番号」、1゜2.2「タイトルB
J、1.2.3 rパラグラフj等の部分構造がありと
判定されれば、候補の下部の部分構造から次の候補とし
て、部分共通論理構造1.2.l r番号」や1.2.
2 rタイトルB」等の選択(411)を行う。下部の
部分構造から次候補の選択が行われたか判定しく412
)、選択条件等により候補の選択が行われむかった場合
は、候補の下部に部分構造がなかったものと判断されて
、スタックを一つポツプアップする処理(416)を行
う。
As a result of the determination in step 404, as shown in FIG.
J, 1.2.3 If it is determined that there is a partial structure such as r paragraph j, the partial common logical structure 1.2. l r number” and 1.2.
2. Select ``Title B'' (411). It is determined whether the next candidate has been selected from the lower partial structure 412
), if the candidate is not selected due to selection conditions, etc., it is determined that there is no partial structure below the candidate, and a process of popping up one stack is performed (416).

候補の選択が行われた場合、例えば部分共通論理構造1
.2「章」の下部の部分共通論理構造1゜2.1「番号
」が選択された場合、スタックの先頭にある特定論理構
造内に、候補の選択条件を格納しく421)、ステップ
403の特定論理構造の作成・格納処理へ戻る。スタッ
クの先頭に部分共通論理構造1.2.1 r番号」を選
択したことを格納しく421)、ステップ403で部分
共通論理構造1.2.1 r番号」の特定論理構造の作
成を行う(403)。ステップ403の特定論理構造の
作成・格納処理に戻るからステップ404の判定処理が
行われてステップ411,412゜421の候補の下部
の部分構造の選択処理の実行後、再びステップ403の
特定論理構造の作成・格納処理に戻るまでの処理は、ス
テップ403で特定論理構造を作成する際の候補である
部分共通論理構造の下部に部分共通論理構造がなくなる
まで、すなわち、部分共通論理構造1.1「タイトルA
」や部分共通論理構造1.2.1 r番号」、1.2.
2 rタイトルBJ、1.2.3 rバラブラフJ、1
.2.4r図」のように下部に部分構造がなくなるまで
繰り返される。
When candidates are selected, for example, partial common logical structure 1
.. 2 Part common logical structure at the bottom of "Chapter" 1゜2.1 When "Number" is selected, candidate selection conditions are stored in a specific logical structure at the top of the stack (421), and the specification in step 403 Return to logical structure creation/storage processing. The selection of the partial common logical structure 1.2.1 r number is stored at the top of the stack (421), and in step 403 a specific logical structure of the partial common logical structure 1.2.1 r number is created ( 403). Since the process returns to step 403 for creating and storing a specific logical structure, the determination process in step 404 is performed, and after the process for selecting the lower partial structure of the candidate in steps 411, 412 and 421, the specific logical structure in step 403 is returned. The processing until returning to the creation/storage process is continued until there is no partial common logical structure below the partial common logical structure that is a candidate when creating a specific logical structure in step 403, that is, partial common logical structure 1.1 "Title A
” and partial common logical structure 1.2.1 r number”, 1.2.
2 r Title BJ, 1.2.3 r Bara Bluff J, 1
.. This process is repeated until there are no more partial structures at the bottom as shown in Figure 2.4r.

利用者からの入力待ちの際に用途指定が行われたか判定
され(405)、なしと判定された場合には、内容編集
プログラム13の制御で、内容編集用画面20のガイダ
ンス表示エリアにガイダンスの表示処理(406)を行
って、利用者からの入力待ち(407)となる。
While waiting for an input from the user, it is determined whether a usage specification has been made (405), and if it is determined that no usage has been specified, guidance is displayed in the guidance display area of the content editing screen 20 under the control of the content editing program 13. Display processing (406) is performed, and input from the user is awaited (407).

利用者からの入力が行われた場合は、入力内容の判定を
内容編集プログラム13で行い、内容入力が行われたと
判定(408)されれば、利用者が入力した内容とスタ
ックに格納されている部分特定論理構造を対応付ける処
理(414)を行い、スタックに格納されている部分特
定論理構造の候補だったものを確定させる処理(415
)を行って、制御を構造編集プログラム15へ渡し、構
造g集プログラム15で一つ前の候補にスタックを一つ
ポツプアップする処理(416)を実行する。
If the user has input, the input content is judged by the content editing program 13, and if it is determined that the content has been input (408), it is stored in the stack along with the content input by the user. A process (414) for associating the partial specific logical structure that is present is performed, and a process (415) for determining the candidate partial specific logical structure stored in the stack.
), the control is passed to the structure editing program 15, and the structure g collection program 15 executes the process (416) of popping up one stack to the previous candidate.

また、内容編集プログラム13で利用者からの否定指示
の入力があったと判定(409)された場合、例えば、
第3図に示すように、「パラグラフ」38の内容入力後
、繰返しにより、再び「パラグラフ」の内容入力案内の
ガイダンス表示(406)が行われ、利用者からの入力
待ち(407)において、1章」を指定して否定が行わ
れた場合、否定指示の入力が行われたと判定(409)
される。制御を構造編集プログラム15に渡し、スタッ
クを一つポツプアップする処理(416)を実行する。
Further, if the content editing program 13 determines that a negative instruction has been input from the user (409), for example,
As shown in FIG. 3, after inputting the contents of the "Paragraph" 38, the guidance for inputting the contents of the "Paragraph" is displayed again (406), and while waiting for input from the user (407), 1 If a negation is made by specifying “chapter”, it is determined that a negation instruction has been input (409)
be done. Control is passed to the structure editing program 15, and the process of popping up one stack (416) is executed.

ここでは、第3図の「パラグラフ」38のあとの、図に
は示されていない「パラグラフ」がポツプアップされる
。ポツプアップによりスタックが空になったかどうか判
定(417)され、空の場合にはエラー処理(423)
が行われる。
Here, a "paragraph" that is not shown in the figure after "paragraph" 38 in FIG. 3 is popped up. It is determined whether the stack is empty due to popup (417), and if it is empty, error processing (423)
will be held.

空でない場合は、スタック中に存在する最も下部の共通
論理構造を候補としく418)、前処理で選択した候補
の下部の部分構造について、前回選択した時とは条件を
変え、次の候補を選択する処理(419)を行う。スタ
ックには「文書」31、「パラグラフJ33が存在する
ため、空でないと判定され(417)、部分共通論理構
造1.2r章」を候補としく418)、rパラグラフ」
38を選択したときとは条件を変更して、部分共通論理
構造1.2.4 r図」の選択が行われる(419)。
If it is not empty, the lowest common logical structure existing in the stack is selected as a candidate (418), and the conditions for the lower substructure of the candidate selected in preprocessing are changed from the previous selection, and the next candidate is selected. A selection process (419) is performed. Since "Document" 31 and "Paragraph J33" exist in the stack, it is determined that it is not empty (417), and "Partial Common Logical Structure 1.2r Chapter" is selected as a candidate (418), "R Paragraph".
The conditions are changed from when 38 was selected, and ``partial common logical structure 1.2.4 r diagram'' is selected (419).

次候補の選択処理(419)後、判定を行って(420
)、選択する候補がなしの場合はステップ416に戻っ
て、再び、スタックを一つポツプアップする処理(41
6)を実行する。選択する候補がある場合、ここではr
図」という候補があるため、スタックの先頭にある特定
論理構造内に、ステップ419で候補として選択された
r図」の条件を格納しく421)、ステップ403の特
定論理構造の作成・格納処理へ戻る。部分共通論理構造
1.2.4 r図」の下部には部分構造はないため、用
途指定の有無の判定(405)が行われる。前回、「章
」の用途を指定して否定指示を行っているため、用途指
定ありと判定され、選択された「図」は指定のあった1
章」ではないため、用途に含まれないと判定(410)
され、再びスタックのポツプアップを行い、r図ノがポ
ツプアップされる(416)。スタック内には「文書」
31、「章」33が存在するため、空でないと判定(4
17)され、部分共通論理構造1.2r章」を候補とし
く418)、「図」を選択したときとは条件を変更して
1部分共通論理構造を選択する(419)、Lかし、部
分共通論理構造1.2゜4r図」を最後として、部分共
311論理構造1.2r章」の下部には部分構造がない
ため次候補の選択が行われず、候補なしと判定(420
)されて、三度、ステップ416のスタックをポツプア
ップする処理へ戻る。
After the next candidate selection process (419), a determination is made (420)
), if there is no candidate to select, the process returns to step 416 and again pops up one stack (41
Execute 6). If there is a candidate to select, here r
Since there is a candidate called ``Diagram'', the conditions for ``R Diagram'' selected as a candidate in step 419 are stored in the specific logical structure at the top of the stack (421), and the process proceeds to step 403, which creates and stores the specific logical structure. return. Since there is no partial structure at the bottom of "Partial Common Logical Structure 1.2.4 r Diagram", a determination is made as to whether or not there is a usage specification (405). Last time, a negative instruction was given by specifying the purpose of the "chapter", so it was determined that the purpose was specified, and the selected "diagram" was the one for which the purpose was specified.
Since it is not a “chapter”, it is determined that it is not included in the usage (410)
Then, the stack is popped up again, and figure r is popped up (416). "Document" in the stack
31, “Chapter” 33 exists, so it is determined that it is not empty (4
17), select "partial common logical structure 1.2r chapter" as a candidate 418), change the conditions from when "diagram" is selected and select 1 partially common logical structure (419), Since there is no partial structure at the bottom of Partial Common Logical Structure 1.2゜4r Diagram, the next candidate is not selected and it is determined that there is no candidate (420
) and returns to step 416 for the third time to pop up the stack.

1章」33がポツプアップされて(416)、スタック
には「文書」31のみとなる。しかし、空ではないため
、部分共通論理構造l「文書」を候補としく418)、
この候補の下部の部分構造から繰返しの条件により部分
共通論理構造1.2r章」を次候補として選択しく41
9)、候補ありと判定して(420)、次候補として選
択された1章」の条件を格納しく421)、ステップ4
03の特定論理構造の作成・格納処理が行われる。
``Chapter 1'' 33 is popped up (416), leaving only ``Document'' 31 on the stack. However, since it is not empty, the partially common logical structure l "document" is selected as a candidate 418),
From the partial structure at the bottom of this candidate, select the partial common logical structure 1.2r section as the next candidate based on the repetition condition.41
9), it is determined that there is a candidate (420), and the condition for "Chapter 1 selected as the next candidate" is stored (421), Step 4
The process of creating and storing a specific logical structure in step 03 is performed.

こうして再び第3図の「章」39以降の特定論理構造の
作成と内容入力が並行して行われる。
In this way, the creation of the specific logical structure and the content input for "Chapter" 39 onwards in FIG. 3 are again performed in parallel.

なお、内容入力と否定指示の入力が行われた場合につい
て説明したが、もし、内容入力でも否定指示でもないと
判定された場合は、終了指示かどうかが判定(413)
される。終了指示の場合はそのまま文書作成を終了する
が、終了指示でないと判定された場合は、コマンドが入
力されたものとして、コマンド処理(422)を行い1
章番号の修正等のコマンドの処理が行われる。
Although we have explained the case where content input and negative instruction are input, if it is determined that neither content input nor negative instruction is input, it is determined whether it is an end instruction (413).
be done. If it is a termination instruction, the document creation is terminated, but if it is determined that it is not a termination instruction, it is assumed that a command has been input, and command processing (422) is performed.
Commands such as modifying chapter numbers are processed.

本実施例では部分共通論理構造の用途をガイダンスとし
て表示しであるが、特別に部分共通論理構造のガイダン
スを生威し、そのガイダンスを表示するようにしてもよ
い。
In this embodiment, the usage of the partially common logical structure is displayed as guidance, but the guidance of the partially common logical structure may be specially created and displayed.

上記従来技術によれば、論理構造の作成と内容入力を並
行して行うため、論理構造と内容の間で矛盾が生じるこ
とがなく、また利用者へのガイダンスを表示するため、
利用者は操作が簡易となり、操作性の向上がはかられる
According to the above-mentioned conventional technology, since the creation of the logical structure and the content input are performed in parallel, there is no contradiction between the logical structure and the content, and since guidance is displayed to the user,
The user can operate the system easily, and the operability can be improved.

[発明の効果コ 本発明によれば、利用者が、内容入力と、論理m造の作
成を並行して行うことができ、また、利用者へガイダン
スを示すので、論理構造と内容の矛盾を防止することが
できる。
[Effects of the Invention] According to the present invention, the user can input content and create a logical structure in parallel, and since guidance is provided to the user, it is possible to avoid discrepancies between the logical structure and the content. It can be prevented.

さらに、利用者にガイダンスを示すことにより、利用者
はそれを参照しながら内容入力を行えばよいため、操作
の簡易化がはかられ、また、論理構造を構成する部分構
造を一つずつ利用者が選択するのではなく、共通論理構
造で規定する部分構造を参照しながら関連する部分構造
を複数のかたまりで選択し、用途に応じた構造を自動的
に選択するので、論理構造の作成に要する操作量の低減
を行うことができ、操作性の向上がはかられる。
Furthermore, by showing guidance to the user, the user can input the content while referring to it, which simplifies the operation and allows the use of each substructure that makes up the logical structure one by one. Rather than having the user make a selection, the system selects related substructures in multiple groups while referring to the substructures defined in the common logical structure, and automatically selects the structure according to the purpose, making it easy to create logical structures. The amount of operation required can be reduced, and operability can be improved.

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

第1図は、本発明の一実施例の文書作成装置の構成図、
第2図は、本発明の一実施例の共通論理構造の一例を示
す図、第3図は、本発明の一実施例の特定論理構造の一
例を示す図、第4図は1本発明の一実施例の処理の流れ
を示すフローチャートである。 11・・・処理装置、12・・・記憶部、13・・・内
容編集プログラム、14・・・内容編集用エリア、15
・・・構造編集プログラム、16・・・構造編集用エリ
ア、17・・・キーボード、18・・・マウス、19・
・・表示装置。 20・・・内容編集用画面、21・・・外部記憶装置。 第 ! 図 稟 図 第 乎 巨 (A) 纂 牛 図 (B)
FIG. 1 is a configuration diagram of a document creation device according to an embodiment of the present invention;
FIG. 2 is a diagram showing an example of a common logical structure according to an embodiment of the present invention, FIG. 3 is a diagram showing an example of a specific logical structure according to an embodiment of the present invention, and FIG. 3 is a flowchart showing the flow of processing in one embodiment. DESCRIPTION OF SYMBOLS 11... Processing device, 12... Storage part, 13... Content editing program, 14... Content editing area, 15
... Structure editing program, 16... Structure editing area, 17... Keyboard, 18... Mouse, 19.
...Display device. 20... Content editing screen, 21... External storage device. No.! Figure of the tuan (A) Figure of the cow (B)

Claims (1)

【特許請求の範囲】 1、文書の論理構造と内容の作成を行う処理において、
論理構造と内容を並行して作成することを特徴とする文
書作成装置における論理構造作成処理方式。 2、複数の文書に共通な論理構造をもつ共通論理構造か
ら特定の論理構造を作成する処理において、共通論理構
造から一定の条件で決定した部分共通論理構造のガイダ
ンスを利用者に示す手段を有する文書作成処理における
論理構造作成処理方式。 3、請求項2において、一定の条件で決定した部分共通
論理構造を否定する手段と、利用者からの指示内容であ
るか判定する手段と、判定の結果が否定の場合には、共
通論理構造から別の条件で、部分共通論理構造を決定す
る手段を有する文書作成処理における論理構造作成処理
方式。
[Claims] 1. In the process of creating the logical structure and content of a document,
A logical structure creation processing method in a document creation device characterized by creating a logical structure and content in parallel. 2. In the process of creating a specific logical structure from a common logical structure that is common to multiple documents, it has a means to show the user guidance on a partial common logical structure determined under certain conditions from the common logical structure. A logical structure creation processing method in document creation processing. 3. In claim 2, means for negating the partial common logical structure determined under certain conditions, means for determining whether the content is the instruction content from the user, and when the result of the determination is negative, the common logical structure A logical structure creation processing method in document creation processing that has means for determining a partially common logical structure under different conditions.
JP1264940A 1989-10-13 1989-10-13 Logical structure generation processing system in document preparing device Pending JPH03127170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1264940A JPH03127170A (en) 1989-10-13 1989-10-13 Logical structure generation processing system in document preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1264940A JPH03127170A (en) 1989-10-13 1989-10-13 Logical structure generation processing system in document preparing device

Publications (1)

Publication Number Publication Date
JPH03127170A true JPH03127170A (en) 1991-05-30

Family

ID=17410301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1264940A Pending JPH03127170A (en) 1989-10-13 1989-10-13 Logical structure generation processing system in document preparing device

Country Status (1)

Country Link
JP (1) JPH03127170A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628354A (en) * 1992-05-20 1994-02-04 Matsushita Graphic Commun Syst Inc Sgml document input device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6354659A (en) * 1986-08-25 1988-03-09 Hitachi Ltd Editorial method in display of tree
JPS6366665A (en) * 1986-09-08 1988-03-25 Toshiba Corp Document analyzing/shaping device
JPS63158664A (en) * 1986-12-23 1988-07-01 Nec Corp Document processing system for tree structure type document management
JPH01136270A (en) * 1987-11-24 1989-05-29 Mitsubishi Electric Corp Word processor device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6354659A (en) * 1986-08-25 1988-03-09 Hitachi Ltd Editorial method in display of tree
JPS6366665A (en) * 1986-09-08 1988-03-25 Toshiba Corp Document analyzing/shaping device
JPS63158664A (en) * 1986-12-23 1988-07-01 Nec Corp Document processing system for tree structure type document management
JPH01136270A (en) * 1987-11-24 1989-05-29 Mitsubishi Electric Corp Word processor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628354A (en) * 1992-05-20 1994-02-04 Matsushita Graphic Commun Syst Inc Sgml document input device

Similar Documents

Publication Publication Date Title
US11068132B2 (en) Command user interface for displaying selectable software functionality controls
US7600198B2 (en) Method of tracking data objects using related thumbnails in a palette window
US9864489B2 (en) Command user interface for displaying multiple sections of software functionality controls
EP0650129B1 (en) Method, system, and computer-readable medium for automatic formatting of user selected text
AU2006316858B2 (en) A method of tracking dual mode data objects using related thumbnails and tool icons in a palette window
JPH0728689A (en) Information processor
JPH02130628A (en) Inputting of data
Roy et al. An autograph primer
JPH09251370A (en) Drawing preparation device
JPH03127170A (en) Logical structure generation processing system in document preparing device
JPH0628136A (en) Function selection system of information processor
JPH087656B2 (en) Menu display device
US6728935B1 (en) Apparatus for setting attributes to character strings and graphic objects
JPH0652278A (en) Data processing system and value selecting method
WO1994029786A1 (en) System and methods for automatically displaying graphical help images on a computer
JPH0744446A (en) Relating method for grouped information
JPH0512336A (en) File control method
Bazargan Batch Commander: A graphical user interface for TEX
JPH0916746A (en) Image filing device
JPH02176853A (en) Character processor
JP2618982B2 (en) Information processing apparatus and information processing method
JPH01191256A (en) Document preparing device
JPH01159757A (en) Document preparing device
JPH04291449A (en) Scroll processing system for document editing device
JPH0264819A (en) Automatic program generation device