JPH0785239B2 - Electronic document processor - Google Patents
Electronic document processorInfo
- Publication number
- JPH0785239B2 JPH0785239B2 JP23574090A JP23574090A JPH0785239B2 JP H0785239 B2 JPH0785239 B2 JP H0785239B2 JP 23574090 A JP23574090 A JP 23574090A JP 23574090 A JP23574090 A JP 23574090A JP H0785239 B2 JPH0785239 B2 JP H0785239B2
- Authority
- JP
- Japan
- Prior art keywords
- document
- parts
- electronic
- program
- logical structure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ワードプロセッサ(ワープロ)、あるいは文
書処理機能を持つワークステシヨン等で処理される文書
の内容の一部、例えば表題、著者名、要約、本文等を保
持する文書部品と、文書部品を一つの文書として構成す
るための文書部品間の論理的な関係を保持する論理構造
と、文書のレイアウトからみた文書部品相互の位置的な
関係を保持する割り付け構造,および内容以外の文書に
付随する情報を示すための文書属性とからなる電子文書
を対象とし、 特に複数の電子文書から、新しい複数の電子文書の部分
あるいは全体を自動的に生成し、あるいはユーザが指定
した編集項目に従って生成する機能を持つ電子文書処理
装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a part of the content of a document processed by a word processor (word processor), a work station having a document processing function, for example, a title, an author name, or an abstract. , The document part that holds the text, etc., the logical structure that holds the logical relationship between the document parts for configuring the document parts as one document, and the positional relationship between the document parts viewed from the document layout. Targets electronic documents consisting of a layout structure to be retained and document attributes for indicating information associated with documents other than the contents, and in particular, automatically creates a part or whole of new electronic documents from multiple electronic documents. The present invention relates to an electronic document processing device having a function of generating an edit item specified by a user.
従来、電子文書から電子文書を自動的に生成する装置と
して、山田.「帳票間データ処理の自動実行方式」,情
報処理学会第35回全国大会論文集,P.2571、浅見,山
田.「帳票間データ処理のユーザインタフェース」,情
報処理学会第36回全国大会論文集,P.2213、等に記載さ
れているような、帳票の処理を対象としたものが知られ
ている。Conventionally, as an apparatus for automatically generating an electronic document from an electronic document, Yamada. "Automatic execution method of data processing between forms", Proc. Of the 35th National Conference of Information Processing Society of Japan, P.2571, Asami, Yamada. Known are those for processing forms, as described in “User Interface for Inter-Form Data Processing”, IPSJ 36th National Convention Proceedings, P. 2213, and the like.
帳票は、記入項目や各記入項目に記入されるデータの型
がほぼ決まっており、帳票のデータ構造を定義すること
が容易である。In the form, the entry items and the type of data to be entered in each entry item are almost fixed, and it is easy to define the data structure of the form.
したがって、帳票のデータ構造を定義し、帳票から帳票
を自動的に生成するプログラムを用意し、入力となる帳
票に対して該プログラムを実行することにより、帳票の
自動処理を行う帳票自動処理装置を構成することは容易
であった。Therefore, by defining a data structure of a form, preparing a program for automatically generating a form from the form, and executing the program for an input form, an automatic form processing apparatus for automatically processing the form is provided. It was easy to configure.
最近になって、Furuta,R.「Concepts and Models for S
tructured Documents」Structured Documents,Cambridg
e University Press,pp.7-38(1988)に記述されている
ように、 電子文書を複数の文書の内容の一部を保持する文書部品
の集合として考え、電子文書に、論理的な視点から見た
場合の文書部品間の関係を表現した論理構造や,レイア
ウトの視点から見た場合の文書部品間の位置的な関係を
表現した割り付け構造、といった文書構造を付与するこ
とが考えられるようになり、電子文書のデータ構造を表
現することが比較的容易になってきた。Recently, Furuta, R. "Concepts and Models for S
tructured Documents '' Structured Documents, Cambridg
As described in e University Press, pp.7-38 (1988), consider an electronic document as a set of document parts that hold a part of the contents of multiple documents, and consider the electronic document from a logical viewpoint. It seems possible to add a document structure such as a logical structure that expresses the relationship between document parts when viewed, and an allocation structure that represents the positional relationship between document parts when viewed from the layout perspective. It has become relatively easy to represent the data structure of electronic documents.
このような構造を持った電子文書の編集のための装置や
方式については、特開昭62-239263号公報に記載のよう
に、論理構造の表現する論理的な文書部品のまとまりに
基づいて文書を修正し、その後自動的に再レイアウト処
理、すなわち割り付け構造の再生成を行うものや、石
田,村田「ODA文書処理システムの試作(1)」,情報
処理学会第37回全国大会論文集,p1853、鈴木,中津山,
村田「ODA文書処理システムの試作(2),情報処理学
会第37回全国大会論文集,p1855、林,斉藤,石田,村
田,「ODA文書処理システムの試作(3)」,情報処理
学会第37回全国大会論文集,p1857に記載されているよう
に、共通論理構造および特定論理構造からなる論理構造
と、レイアウトに関する制約を記述した共通割り付け構
造をもとにレイアウト処理、すなわち割り付け構造の生
成を自動的に行うものが知られている。Regarding an apparatus and method for editing an electronic document having such a structure, as described in JP-A-62-239263, a document is created based on a group of logical document parts expressed by a logical structure. , And then automatically re-layout, that is, regenerating the layout structure, Ishida, Murata "Prototype of ODA document processing system (1)", Proc. Of IPSJ 37th Annual Conference, p1853 , Suzuki, Nakatsuyama,
Murata "Prototype of ODA document processing system (2), Proc. Of IPSJ 37th Annual Conference, p1855, Hayashi, Saito, Ishida, Murata," Prototype of ODA document processing system (3) ", IPSJ 37th As described in p. 1857, Proceedings of the Annual Meeting of Japan, layout processing, that is, generation of an allocation structure, is performed based on a logical structure consisting of a common logical structure and a specific logical structure and a common allocation structure that describes constraints on layout. It is known to do this automatically.
しかし、これまで、既存の電子文書から電子文書の文書
部品の集合や論理構造の、一部あるいは全体を自動的に
生成する装置はなく、自動化の可能な定形的な処理であ
っても、編集者が手作業で電子文書の文書部品や論理構
造を編集したり、既存の電子文書の集合から必要な情報
を取り出すことによって新しい電子文書の文書部品の集
合や論理構造を生成する必要があった。However, until now, there is no device that automatically generates a part or the whole of a set of document parts of an electronic document or a logical structure from an existing electronic document, and even if it is a routine process that can be automated, it can be edited. It was necessary for a person to manually edit the document parts and logical structure of an electronic document, or to generate a new set of document parts and a logical structure of a new electronic document by extracting necessary information from an existing set of electronic documents. .
したがって、自動的にレイアウトが可能であっても、文
書の生成全体を自動化することができないという問題が
あった。Therefore, there is a problem that the entire document generation cannot be automated even if the layout can be automatically performed.
本発明の目的は、上記従来技術の問題を解消し、既存の
電子文書から新しい電子文書を自動的に、またはユーザ
が入力した編集項目に従って自動的に電子文書を生成す
る電子文書処理装置を提供することにある。An object of the present invention is to solve the above-mentioned problems of the prior art, and to provide an electronic document processing apparatus which automatically creates a new electronic document from an existing electronic document or automatically creates an electronic document according to an edit item input by a user. To do.
上記目的を達成するため、本発明は、文書内容の一部、
例えば表題、著者名、要約、本文等を保持する文書部品
の集合,文書部品を一つの文書として構成するための文
書部品間の論理的な関係を保持する論理構造,文書のレ
イアウトからみた文書部品相互の位置的な関係を保持す
る割り付け構造,および内容以外の文書に付随する情報
を示すための文書属性、とからなる電子文書を記憶する
電子文書記憶部と(第1図の103)と、 前記電子文書の文書部品の集合,論理構造,割り付け構
造,および文書属性とから、新たな電子文書の文書部品
の集合、論理構造、および文書属性を生成するプログラ
ム、あるいは、新たな電子文書の文書部品の集合、論理
構造、および文書属性の一部を生成するプログラムを記
憶する文書プログラム記憶部(第1図の104)と、 前記電子文書記憶部から電子文書を取り出し、前記文書
プログラム記憶部に記載されているプログラムを実行し
て、新たな電子文書の文書部品の集合、論理構造、およ
び文書属性、あるいは新たな電子文書の文書部品の集
合、論理構造、および文書属性の一部を自動的に生成す
る文書プログラム実行部(第1図の106)と、 を少なくとも備えたことを特徴とする。In order to achieve the above object, the present invention provides a part of document content,
For example, a set of document parts that holds titles, author names, abstracts, texts, etc., a logical structure that holds a logical relationship between the document parts for configuring the document parts as one document, and a document part viewed from the layout of the document. An electronic document storage unit (103 in FIG. 1) for storing an electronic document, which includes an allocation structure for holding mutual positional relationship, and a document attribute for indicating information accompanying the document other than the contents A program for generating a new set of document parts, a logical structure, and a document attribute of a new electronic document from the set of document parts, a logical structure, an allocation structure, and a document attribute of the electronic document, or a document of a new electronic document A document program storage unit (104 in FIG. 1) that stores a program that generates a set of parts, a logical structure, and a part of document attributes, and an electronic document is acquired from the electronic document storage unit. Then, by executing the program described in the document program storage unit, a set of document parts of a new electronic document, a logical structure, and a document attribute, or a set of document parts of a new electronic document, a logical structure, and At least a document program execution unit (106 in FIG. 1) that automatically generates a part of the document attributes is provided.
また、本発明は、文書の内容の一部、例えば表題、著者
名、要約、本文等を保持する文書部品の集合,文書部品
を一つの文書として構成するための文書部品間の論理的
な関係を保持する論理構造,文書のレイアウトからみた
文書部品相互の位置的な関係を保持する割り付け構造,
および内容以外の文書に付随する情報を示すための文書
属性、とからなる電子文書を記憶する電子文書記憶部
(第1図103)と、 前記電子文書の文書部品の集合,論理構造,割り付け構
造,および文書属性とから、新たな電子文書の文書部品
の集合、論理構造、および文書属性を生成するプログラ
ム、あるいは、新たな電子文書の文書部品の集合、論理
構造、および文書属性の一部を生成するプログラムを記
憶する文書プログラム記憶部(第1図の104)と、 前記電子文書記憶部から電子文書を取り出し、前記文書
プログラム記憶部に記憶されているプログラムを実行し
て、新たな電子文書の文書部品の集合、論理構造、およ
び文書属性、あるいは新たな電子文書の文書部品の集
合、論理構造、および文書属性の一部、を生成する文書
プログラム実行部(第1図の106)と、 前記電子文書記憶部から、割り付け構造の生成,あるい
は更新を必要とする電子文書を取り出し、割り付け構造
の生成,あるいは更新を、自動的に行う自動レイアウト
処理部(第1図の107)と、 を少なくとも備え、 前記文書プログラム実行部で、文書部品の集合,論理構
造,および文書属性を自動的に生成した後、前記自動レ
イアウト処理部で割り付け構造を自動的に生成すること
により、電子文書を自動的に生成することを特徴とす
る。The present invention also provides a logical relationship between a part of document contents, for example, a set of document parts holding a title, an author name, a summary, a body text, etc., and a document part for constructing a document part as one document. , A logical structure that holds the layout, an allocation structure that holds the positional relationship between the document parts viewed from the layout of the document,
And an electronic document storage unit (FIG. 103 in FIG. 1) for storing an electronic document, which includes document attributes other than the contents and which indicates information associated with the document, and a set of document parts of the electronic document, a logical structure, and an allocation structure. , And a document attribute, a program for generating a new electronic document set of document parts, a logical structure, and a document attribute, or a new electronic document set of document parts, a logical structure, and a part of the document attribute. A document program storage unit (104 in FIG. 1) for storing a program to be generated, an electronic document is taken out from the electronic document storage unit, the program stored in the document program storage unit is executed, and a new electronic document is created. A document program that generates a set of document parts, logical structure, and document attributes of a new electronic document, or a set of document parts, logical structure, and part of document attributes of a new electronic document. An automatic layout process for automatically generating the layout structure or updating the layout structure by extracting an electronic document that requires generation or updating of the layout structure from the execution unit (106 in FIG. 1) and the electronic document storage unit. (107 in FIG. 1), the document program execution unit automatically generates a set of document parts, a logical structure, and a document attribute, and then the automatic layout processing unit automatically generates an allocation structure. It is characterized in that the electronic document is automatically generated by automatically generating the electronic document.
さらに、本発明は、文書の内容の一部、例えば表題、著
者名、要約、本文等を保持する文書部品の集合,文書部
品を一つの文書として構成するための文書部品間の論理
的な関係を保持する論理構造,文書のレイアウトからみ
た文書部品相互の位置的な関係を保持する割り付け構
造,および内容以外の文書に付随する情報を示すための
文書属性、とからなる電子文書を記憶する電子文書記憶
部(第1図の103)と、 前記電子文書の文書部品の集合,論理構造,割り付け構
造,および文書属性とから、新たな電子文書の文書部品
の集合、論理構造、および文書属性を生成するプログラ
ム、あるいは、新たな電子文書の文書部品の集合、論理
構造、および文書属性の一部を生成するプログラムを記
憶する文書プログラム記憶部(第1図の104)と、 前記電子文書記憶部から電子文書を取り出し、前記文書
プログラム記憶部に記憶されているプログラムを実行し
て、新たな電子文書の文書部品の集合、論理構造、およ
び文書属性、あるいは新たな電子文書の文書部品の集
合、論理構造、および文書属性の一部、を生成する文書
プログラム実行部(第1図の106)と、 前記電子文書記憶部から、割り付け構造の生成,あるい
は更新を必要とする電子文書を取り出し、割り付け構造
の生成,あるいは更新を、自動的に行う自動レイアウト
処理部(第1図の107)と、 文書部品の集合,論理構造,割り付け構造,および文書
属性、を編集するための編集項目を入力する入力部(第
1図の101)と、 前記入力部から入力された編集項目にしたがって、文書
部品の集合,論理構造,割り付け構造,および文書属
性、の編集を行う文書処理部(第1図の105)と、 を少なくとも備え、 文書部品の集合,論理構造,割り付け構造,および文書
属性の自動生成と、 編集項目の入力による文書部品の集合,論理構造,割り
付け構造,および文書属性の編集と、 を選択することを可能としたことを特徴とする。Furthermore, the present invention provides a logical relationship between document parts for constructing a part of the contents of a document, for example, a set of document parts holding a title, an author name, a summary, a text, etc., and a document part as one document. An electronic document storing an electronic document including a logical structure for holding the document, an allocation structure for holding the positional relationship between the document parts viewed from the layout of the document, and a document attribute for indicating information other than the contents and accompanying the document. From the document storage unit (103 in FIG. 1) and the set of the document parts of the electronic document, the logical structure, the allocation structure, and the document attribute, the set of the document parts of the new electronic document, the logical structure, and the document attribute are created. A program to be generated or a document program storage unit (104 in FIG. 1) for storing a program for generating a set of document parts of a new electronic document, a logical structure, and a part of document attributes, The electronic document is retrieved from the electronic document storage unit, the program stored in the document program storage unit is executed, and the set of document parts, logical structure, and document attributes of the new electronic document, or the document of the new electronic document A document program execution unit (106 in FIG. 1) that generates a set of parts, a logical structure, and a part of a document attribute, and an electronic document that requires generation or updating of an allocation structure from the electronic document storage unit. An automatic layout processing unit (107 in FIG. 1) that automatically takes out the layout structure and creates or updates the layout structure, and edits for editing the set of document parts, the logical structure, the layout structure, and the document attributes. An input unit (101 in FIG. 1) for inputting items, and a set of document parts, a logical structure, an allocation structure, and a document attribute according to the edit items input from the input unit. And a document processing unit (105 in FIG. 1) that edits properties, and automatically generates a set of document parts, a logical structure, an allocation structure, and a document attribute, and a set of document parts by inputting edit items. , The logical structure, the layout structure, and the editing of the document attributes, and it is possible to select.
電子文書記憶部には、文書の内容の一部を保持する文書
部品の集合,文書部品の論理的な関係を保持する論理構
造,文書のレイアウトからみた文書部品の位置的な関係
を保持する割り付け構造,および文書属性、とからなる
電子文書が記憶される。The electronic document storage unit is a set of document parts that holds a part of the content of the document, a logical structure that holds the logical relationship of the document parts, and an allocation that holds the positional relationship of the document parts viewed from the layout of the document. An electronic document including a structure and document attributes is stored.
文書プログラム記憶部には、前記電子文書の文書部品の
集合,論理構造,割り付け構造,および文書属性とか
ら、電子文書の文書部品の集合,論理構造,および文書
属性、の全体あるいは一部を生成するプログラムが記憶
される。The document program storage unit generates the whole or a part of the set of the document parts of the electronic document, the logical structure, and the document attribute from the set of the document parts of the electronic document, the logical structure, the allocation structure, and the document attribute. The program to be stored is stored.
文書プログラム実行部は、前記電子文書記憶部から電子
文書を取り出し、前記文書プログラム記憶部に記憶され
ているプログラムを実行して、電子文書の文書部品の集
合,論理構造,および文書属性、の全体あるいは一部を
自動的に生成する。The document program execution unit retrieves the electronic document from the electronic document storage unit, executes the program stored in the document program storage unit, and collects the entire set of document parts, logical structure, and document attributes of the electronic document. Alternatively, a part is automatically generated.
自動レイアウト処理部は、前記電子文書記憶部から、割
り付け構造の生成,あるいは更新を必要とする電子文書
を取り出し、割り付け構造の生成,あるいは更新を、自
動的に行い、 前記入力部からユーザにより入力された文書部品の集
合,論理構造,割り付け構造,および文書属性、を編集
するための編集項目にしたがって、文書処理部が文書部
品の集合,論理構造,割り付け構造,および文書属性、
の編集を行う。The automatic layout processing unit retrieves an electronic document that requires generation or updating of the layout structure from the electronic document storage unit, automatically generates or updates the layout structure, and inputs by the user from the input unit. According to the edit items for editing the set of document parts, the logical structure, the allocation structure, and the document attribute, the document processing unit sets the document part set, the logical structure, the allocation structure, and the document attribute,
Edit.
このような構成により、文書部品の集合,論理構造,割
り付け構造,および文書属性の自動生成と、ユーザが入
力した編集項目に従った文書部品の集合,論理構造,割
り付け構造,および文書属性の編集とを選択することを
可能とし、 既存の電子文書から新しい電子文書を自動的に、あるい
はユーザが入力した編集項目に従って、効率よく生成す
ることができる。With such a configuration, a set of document parts, a logical structure, an allocation structure, and a document attribute are automatically generated, and a set of document parts, a logical structure, an allocation structure, and a document attribute are edited according to an edit item input by a user. It is possible to select and, and a new electronic document can be efficiently generated from an existing electronic document automatically or according to the edit item input by the user.
以下、本発明の実施例につき、画面を参照して詳細に説
明する。Hereinafter, embodiments of the present invention will be described in detail with reference to screens.
第1図は本発明による電子文書処理装置の一実施例の全
体構造図であって、101はキーボードあるいはマウス等
からなる入力部であり、ユーザは入力部101から文書部
品の集合,論理構造,割り付け構造および文書属性につ
いての編集項目、および文書部品の集合,論理構造およ
び文書属性、の自動生成の開始と自動レイアウト処理の
開始、およびその2つの処理を連続して行う文書自動生
成処理の処理の開始の指示を入力する。FIG. 1 is an overall structural view of an embodiment of an electronic document processing apparatus according to the present invention, in which 101 is an input unit composed of a keyboard, a mouse, etc., and a user uses the input unit 101 to collect a set of document parts, a logical structure, Editing items for allocation structure and document attributes, start of automatic generation of a set of document parts, logical structure and document attributes, start of automatic layout process, and automatic document generation process for continuously performing the two processes Enter the instructions to start.
102はCRTディスプレイ等からなる表示部、103は電子文
書の文書部品の集合,論理構造,割り付け構造,および
文書属性、の一部または全体を記憶する電子文書記憶
部、104は既存の電子文書から新しい電子文書の集合,
論理構造および文書属性、の一部または全体を自動生成
するための文書プログラムを記憶する文書プログラム記
憶部、105は電子文書記憶部103から読み込んだ電子文書
に対し、入力部101から入力された文書部品の集合,論
理構造,割り付け構造,および文書属性、についての編
集項目にしたがって文書部品の集合,論理構造,割り付
け構造,および文書属性、の編集を行い、また入力部10
1から入力された文書部品の集合,論理構造,文書属性
の自動生成の開始、自動レイアウト処理の開始およびそ
の2つの処理を連続して行う文書自動生成処理の開始の
指示にしたがって、文書プログラム実行部106に文書プ
ログラムの実行を指示したり、自動レイアウト処理部10
7に自動レイアウト処理の開始を指示する文書処理部、1
06は文書処理部105からの文書プログラムの実行の指示
にしたがって電子文書記憶部103から電子文書を読み込
み、文書プログラム記憶部104から文書プログラムを読
み込み、文書プログラムを実行して新しい電子文書の文
書部品の集合,論理構造および文書属性、の一部または
全体を自動生成する文書プログラム実行部、107は文書
処理部105からの自動レイアウト処理の開始の指示にし
たがって電子文書記憶部103から電子文書を読み込み、
自動レイアウト処理を実行する自動レイアウト処理部で
ある。102 is a display unit including a CRT display, 103 is an electronic document storage unit that stores a part or all of a set of document parts of an electronic document, a logical structure, a layout structure, and document attributes, and 104 is an existing electronic document. A collection of new electronic documents,
A document program storage unit for storing a document program for automatically generating a part or the whole of the logical structure and the document attributes, 105 is an electronic document read from the electronic document storage unit 103, and a document input from the input unit 101 Editing of a set of document parts, a logical structure, a layout structure, and a document attribute is performed according to edit items for a set of parts, a logical structure, a layout structure, and a document attribute.
Execution of the document program according to the instructions for starting the automatic generation of the set of document parts, logical structure, and document attributes input from 1 and the start of the automatic layout process and the automatic document generation process that continuously performs the two processes. Instructing the unit 106 to execute the document program, and the automatic layout processing unit 10
Document processing section that instructs 7 to start automatic layout processing, 1
Reference numeral 06 denotes an electronic document that is read from the electronic document storage unit 103 according to an instruction to execute the document program from the document processing unit 105, the document program is read from the document program storage unit 104, and the document program is executed to execute a document component of a new electronic document. A document program execution unit that automatically generates a part or all of the set, the logical structure, and the document attributes, and 107 reads an electronic document from the electronic document storage unit 103 in accordance with an instruction from the document processing unit 105 to start automatic layout processing. ,
An automatic layout processing unit that executes automatic layout processing.
第2図は第1図における電子文書記憶部103に記憶され
ている電子文書のデータ構成の説明図であって、201は
電子文書データ、202は電子文書の識別子である文書識
別子、203は電子文書データの一部である文書部品に関
する情報である文書部品情報部、204は電子文書データ
の一部である文書構造に関する情報である文書構造情報
部、205は電子文書データの一部である文書属性に関す
る情報である文書属性情報部、206は文書部品情報部203
に含まれる文書部品データ、207は文書構造情報部204に
含まれる論理構造データ、208は文書構造情報部204に含
まれる割り付け構造データ、209は文書属性情報部205の
一部である編集者属性情報、210は文書属性情報部205の
一部である編集日属性情報である。2 is an explanatory diagram of a data structure of an electronic document stored in the electronic document storage unit 103 in FIG. 1, 201 is electronic document data, 202 is a document identifier which is an identifier of an electronic document, and 203 is an electronic document. A document part information section that is information about a document part that is a part of document data, 204 is a document structure information section that is information about a document structure that is a part of electronic document data, and 205 is a document that is a part of electronic document data. A document attribute information section, which is information about attributes, 206 is a document parts information section 203
, 207 is logical structure data included in the document structure information unit 204, 208 is layout structure data included in the document structure information unit 204, and 209 is an editor attribute that is a part of the document attribute information unit 205. Information 210 is edit date attribute information which is a part of the document attribute information section 205.
第3図は第1図における電子文書記憶部103に格納され
ている“論文A"という識別子を持つ電子文書の説明図
で、紙の上に表示するのと同じ状態で表示部102に表示
した状態を示したものである。FIG. 3 is an explanatory view of an electronic document having an identifier “Paper A” stored in the electronic document storage unit 103 in FIG. 1, and is displayed on the display unit 102 in the same state as it is displayed on paper. It shows the state.
また、301は論文A全体を指し、302〜309は論文Aを構
成する文書部品を指す。Reference numeral 301 indicates the entire article A, and reference numerals 302 to 309 indicate the document parts constituting the article A.
第4図は論文Aの文書属性を表す属性テーブルの説明図
で、401は文書の編集者を表す属性の属生名、402は属性
名401で指定される属性の属性値、403は編集した日の日
付を表す属性の属性名、404は属性名403で指定される属
性の属性値である。FIG. 4 is an explanatory diagram of an attribute table showing the document attributes of the paper A. 401 is the attribute name of the attribute showing the editor of the document, 402 is the attribute value of the attribute designated by the attribute name 401, and 403 is the edited value. The attribute name of the attribute representing the date of the day, 404 is the attribute value of the attribute specified by the attribute name 403.
第5図は論文Aの論理構造の説明図で、論理構造は包含
関係を示す木構造で表現されている。FIG. 5 is an explanatory diagram of the logical structure of the paper A, and the logical structure is represented by a tree structure showing an inclusion relation.
同図において、512〜519が論文Aを構成する文書部品を
表す矩形であり、512は第3図における文書部品302、51
3は同303、514は同304、515は同305、516は同306、517
は同307、518は同308、519は同309に対応する。In the figure, 512 to 519 are rectangles representing the document parts constituting the paper A, and 512 is the document parts 302 and 51 in FIG.
3 for 303, 514 for 304, 515 for 305, 516 for 306, 517
307, 518 correspond to 308 and 519 correspond to 309.
また、501〜511は文書部品の論理的なまとまりを示す矩
形である。Further, 501 to 511 are rectangles showing a logical grouping of document parts.
例えば、505の表題はテキスト512から構成され、ヘッダ
502は表題505、著者名506、所属507から構成される。For example, the caption of 505 consists of 512 text and the header
502 includes a title 505, an author name 506, and an affiliation 507.
第6図は論文Aの割り付け構造を示したものであり、割
り付け構造も包含関係を示す木構造で表現されている。FIG. 6 shows the allocation structure of the paper A, and the allocation structure is also represented by a tree structure showing an inclusion relation.
同図において、614〜621は論文Aを構成する文書部品を
表す矩形であって、614は第3図における文書部品302、
615は同303、616は同304、617は同305、618は同306、61
9は同307、620は同308、621は同309に対応する。In the figure, 614 to 621 are rectangles representing the document parts constituting the article A, and 614 is the document part 302 in FIG.
615 is the same 303, 616 is the same 304, 617 is the same 305, 618 is the same 306, 61
9 corresponds to 307, 620 corresponds to 308, and 621 corresponds to 309.
また、601〜613はレイアウトからみた文書部品のまとま
りを示す矩形である。例えば、ブロック1(606)はテ
キスト614から構成され、ページ602はフレーム603、フ
レーム604、フレーム605から構成されている。Further, 601 to 613 are rectangles showing a group of document parts viewed from the layout. For example, block 1 (606) is composed of text 614 and page 602 is composed of frame 603, frame 604, and frame 605.
第7図は第1図における電子文書記憶部103に格納され
ている“論文B"という識別子を持つ電子文書の説明図
で、701は論文B全体を指す。FIG. 7 is an explanatory diagram of an electronic document having an identifier “Paper B” stored in the electronic document storage unit 103 in FIG. 1, and 701 indicates the whole paper B.
また、702〜709は論文Bを構成する文書部品を指す。Further, reference numerals 702 to 709 indicate the document parts forming the paper B.
論文Aと同様に、論文Bも第4図,第5図,第6図に示
したものと同様な文書属性,論理構造,割り付け構造を
持つ。Similar to the paper A, the paper B has the same document attributes, logical structure, and layout structure as those shown in FIGS. 4, 5, and 6.
第8図は第1図における電子文書記憶部103に格納され
ている“論文C"という識別子を持つ電子文書であり、80
1は論文C全体を指す。FIG. 8 shows an electronic document having an identifier “Paper C” stored in the electronic document storage unit 103 shown in FIG.
1 indicates the whole article C.
また、802〜808は論文Cを構成する文書部品を指す。Reference numerals 802 to 808 indicate the document parts that make up the article C.
論文Aと同様に、論文Cも第4図,第5図,第6図に示
したものと同様な文書属性,論理構造,割り付け構造を
持つ。Similar to the paper A, the paper C has the same document attributes, logical structure, and layout structure as those shown in FIGS. 4, 5, and 6.
第9図は第1図における文書プログラム記憶部104に記
憶されている後述する第14図に示される文書プログラム
を第1図の文書プログラム実行部106で実行することに
よって、論文A,論文B,論文Cから自動的に生成される電
子文書例の説明図であり、その識別子は“論文抄録”で
ある。FIG. 9 shows a paper A, a paper B, and a paper B by executing the document program shown in FIG. 14, which will be described later, stored in the document program storage unit 104 in FIG. 1 by the document program execution unit 106 in FIG. FIG. 9 is an explanatory diagram of an example of an electronic document automatically generated from the paper C, and its identifier is “paper abstract”.
同図において、901は論文抄録全体を指す。また、902〜
913は論文抄録を構成する文書部品を指す。In the figure, 901 indicates the entire abstract of the paper. Also, 902 ~
Reference numeral 913 indicates the document parts that make up the abstract of the paper.
第10図は論文抄録の文書属性を表す属性テーブルの説明
図であり、1001は文書の編集者を表す属性の属性名、10
02は属性名は1001で指定される属性の属性値、1003は編
集した日の日付を表す属性の属性名、1004は属性名1003
で指定される属性の属性値である。FIG. 10 is an explanatory diagram of the attribute table showing the document attributes of the abstract of a paper, 1001 is the attribute name of the attribute showing the editor of the document, 10
02 is the attribute value of the attribute specified by 1001 as the attribute name, 1003 is the attribute name of the attribute representing the date of editing, and 1004 is the attribute name 1003.
It is the attribute value of the attribute specified by.
第11図は論文抄録の論理構造の説明図であり、1117〜11
28は論文抄録を構成する文書部品を表す矩形である。Figure 11 is an explanatory diagram of the logical structure of abstracts of papers.
Reference numeral 28 is a rectangle that represents the document parts that make up the paper abstract.
同図において、1117は第9図における文書部品902、111
8は同903、1119は同904、1120は同905、1121は同906、1
122は同907、1123は同908、1124は同909、1125は同91
0、1126は同911、1127は同912、1128は同913に対応す
る。In the figure, 1117 is the document parts 902 and 111 in FIG.
8 is 903, 1119 is 904, 1120 is 905, 1121 is 906, 1
122 is the same as 907, 1123 is the same as 908, 1124 is the same as 909, and 1125 is the same as 91
0 and 1126 correspond to 911, 1127 corresponds to 912, and 1128 corresponds to 913.
また、1101〜1116は文書部品の論理的なまとまりを示す
矩形である。Further, 1101 to 1116 are rectangles that indicate a logical grouping of document parts.
第12図は論文抄録の割り付け構造の説明図であり、1218
〜1229は論文抄録を構成する文書部品を示す矩形であ
る。Figure 12 is an explanatory diagram of the assignment structure of abstracts of papers.
1229 are rectangles indicating the document parts that make up the abstract of the paper.
同図において、1218は第9図における文書部品902、121
9は同903、1220は同904、1221は同905、1222は同906、1
223は同907、1224は同908、1225は同909、1226は同91
0、1227は同911、1228は同912、1229は同913に対応す
る。In the figure, 1218 is the document parts 902, 121 in FIG.
9 is 903, 1220 is 904, 1221 is 905, 1222 is 906, 1
223 is 907, 1224 is 908, 1225 is 909, 1226 is 91
0 and 1227 correspond to 911, 1228 corresponds to 912, and 1229 corresponds to 913.
また、1201〜1217は文書部品のレイアウト上のまとまり
を示す矩形である。Further, 1201 to 1217 are rectangles that indicate a group of layouts of document parts.
第13図は文書プログラム記憶部に記憶されている文書プ
ログラムのデータ構成の説明図であって、1301は文書プ
ログラム、1302は文書プログラムの識別子である文書プ
ログラム識別子、1303は文書プログラム本体である。FIG. 13 is an explanatory diagram of the data structure of the document program stored in the document program storage unit, 1301 is the document program, 1302 is the document program identifier which is the identifier of the document program, and 1303 is the document program main body.
第14図は文書プログラム記憶部104に記載されている文
書プログラムの一例の説明図であって、その文書プログ
ラム識別子は“論文抄録作成”であり、論文A,論文B,論
文Cから、論文抄録の文書部品の集合,論理構造,文書
属性を自動生成するためのものである。FIG. 14 is an explanatory diagram of an example of a document program stored in the document program storage unit 104, the document program identifier of which is “abstract abstract creation”, and the abstracts of papers A, B, and C It is for automatically generating a set of document parts, a logical structure, and a document attribute.
第15図(a)は第1図の入力部101から入力された指示
を基にして、文書処理部105が文書プログラム実行部106
に送る文書プログラム実行データのデータ構造の説明図
である。FIG. 15A shows that the document processing unit 105 is based on the instruction input from the input unit 101 of FIG.
It is explanatory drawing of the data structure of the document program execution data sent to FIG.
文書プログラム実行部106は文書プログラム実行データ
を受け取ると、その内容にしたがって文書プログラムを
実行する。Upon receiving the document program execution data, the document program execution unit 106 executes the document program according to the contents.
1501は文書プログラム実行データ、1502は文書プログラ
ム実行データの識別子である文書プログラム実行データ
識別子、1503は実行したい文書プログラムの識別子であ
る文書プログラム識別子、1504は文書プログラムの入力
となる複数の電子文書の識別子が記載される文書識別子
集合、1505は文書プログラムの入力となる個々の電子文
書の識別子である。Reference numeral 1501 is a document program execution data, 1502 is a document program execution data identifier which is an identifier of document program execution data, 1503 is a document program identifier which is an identifier of a document program to be executed, and 1504 is a plurality of electronic documents which are input to the document program. A document identifier set in which identifiers are described, and 1505 is an identifier of each electronic document that is an input of a document program.
また、第15図(b)は文書プログラム実行データの1例
である。Further, FIG. 15 (b) is an example of the document program execution data.
第16図(a)は入力部101から入力された指示を基にし
て文書処理部105が自動レイアウト処理部107に送る自動
レイアウト処理実行データのデータ構造の説明図であっ
て、自動レイアウト処理部107は、自動レイアウト処理
実行データ受け取ると、その内容にしたがって自動レイ
アウト処理を実行する。FIG. 16A is an explanatory diagram of a data structure of automatic layout processing execution data sent from the document processing unit 105 to the automatic layout processing unit 107 based on an instruction input from the input unit 101. Upon receiving the automatic layout process execution data, the 107 executes the automatic layout process according to the contents.
1601は自動レイアウト処理実行データ、1602は自動レイ
アウト処理実行データの識別子である自動レイアウト処
理実行データ識別子、1603は自動レイアウト処理を行う
複数の電子文書の識別子が記載される文書識別子集合、
1604は自動レイアウト処理を行う個々の電子文書の識別
子である。1601 is automatic layout process execution data, 1602 is an automatic layout process execution data identifier which is an identifier of automatic layout process execution data, 1603 is a document identifier set in which identifiers of a plurality of electronic documents for which automatic layout process is performed are described,
Reference numeral 1604 is an identifier of each electronic document for which automatic layout processing is performed.
また、第16図(b)は自動レイアウト処理実行データの
1例である。Further, FIG. 16 (b) is an example of the automatic layout process execution data.
第17図(a)は第1図の文書プログラム実行部106にお
ける文書プログラムの実行が終了した場合に文書プログ
ラム実行部106から文書処理部105に送られる文書プログ
ラム実行結果データのデータ構造の説明図である。FIG. 17A is an explanatory diagram of the data structure of the document program execution result data sent from the document program execution unit 106 to the document processing unit 105 when the execution of the document program by the document program execution unit 106 in FIG. 1 is completed. Is.
同図において、1701は文書プログラム実行結果データ、
1702は文書プログラム実行結果データの識別子である文
書プログラム実行結果データ識別子、1703は文書プログ
ラムの実行の結果、文書部品の集合,論理構造,文書属
性、の一部または全体が生成された電子文書の持つ識別
子が記載ている文書識別子集合、1704は文書プログラム
の実行の結果、文書部品の集合,論理構造,および文書
属性、の一部または全体が生成された個々の電子文書の
識別子である。In the figure, 1701 is the document program execution result data,
1702 is a document program execution result data identifier that is an identifier of document program execution result data, and 1703 is an electronic document in which a part or all of a set of document parts, a logical structure, and a document attribute is generated as a result of the execution of the document program. A document identifier set in which the identifiers to be held are described, 1704 is an identifier of an individual electronic document in which a part or the whole of a set of document parts, a logical structure, and a document attribute is generated as a result of the execution of a document program.
また、第17図(b)は文書プログラム実行結果データの
1例である。Further, FIG. 17 (b) is an example of the document program execution result data.
第18図(a)は第1図の自動レイアウト処理部107にお
ける自動レイアウト処理の実行が終了した場合に自動レ
イアウト処理部107から文書処理部105に送られる自動レ
イアウト処理実行結果データのデータ構造の説明図であ
る。FIG. 18A shows the data structure of the automatic layout process execution result data sent from the automatic layout processing unit 107 to the document processing unit 105 when the execution of the automatic layout process by the automatic layout processing unit 107 in FIG. 1 is completed. FIG.
同図において、1801は自動レイアウト処理実行結果デー
タ、1802は自動レイアウト処理実行結果データの識別子
である自動レイアウト処理実行結果データ識別子、1803
は自動レイアウト処理の実行の結果、割り付け構造が生
成された電子文書の持つ識別子が記載されている文書識
別子集合、1804は自動レイアウト処理の実行結果の、割
り付け構造生成された個々の電子文書の識別子である。In the figure, reference numeral 1801 denotes automatic layout process execution result data, 1802 denotes automatic layout process execution result data identifier, and 1803 automatic layout process execution result data identifier.
Is a document identifier set in which the identifiers of electronic documents for which the layout structure has been generated as a result of execution of the automatic layout process are described. 1804 is the identifier of each electronic document for which the layout structure has been generated as a result of execution of the automatic layout process. Is.
また、第18図(b)は自動レイアウト処理実行結果デー
タの1例である。Further, FIG. 18B is an example of automatic layout process execution result data.
第19図(a)はユーザが文書プログラムの実行や自動レ
イアウト処理の実行、文書部品の集合,論理構造,割り
付け構造,文書属性、の編集を指示するために表示部10
2に表示されるメニューの1例の説明図で、1901はメニ
ューである。FIG. 19A shows a display unit 10 for instructing the user to execute a document program or automatic layout process, a set of document parts, a logical structure, a layout structure, and a document attribute.
FIG. 19 is an explanatory diagram of an example of a menu displayed in 2, 1901 is a menu.
第19図(b)はメニュー1901の項目をカーソルで選択す
る様子の説明図で、1902はメニューの項目を選択するた
めのカーソルである。FIG. 19B is an explanatory diagram showing how a menu item 1901 is selected with a cursor, and 1902 is a cursor for selecting a menu item.
第20図(a)は第1図の表示部102に表示される文書自
動生成処理のための情報を入力する文書自動生成処理ウ
ィンドウの説明図で、2001は文書自動生成処理ウィンド
ウ、2002は入力の終了を文書処理部105に伝えるための
終了ボタン、2003は実行される文書プログラムの識別子
が記述される文書プログラム識別フィールド、2004は文
書プログラムの入力となる電子文書の識別子を記述する
入力文書識別子フィールドである。FIG. 20 (a) is an explanatory diagram of a document automatic generation processing window for inputting information for the document automatic generation processing displayed on the display unit 102 of FIG. 1, 2001 is an automatic document generation processing window, and 2002 is an input. End button for notifying the document processing unit 105 of the end of the document, 2003 is a document program identification field in which the identifier of the document program to be executed is described, and 2004 is an input document identifier that describes the identifier of the electronic document that is the input of the document program. It is a field.
また、第20図(b)は文書自動生成処理ウィンドウの各
フィールドに情報を入力した1例である。Further, FIG. 20 (b) is an example in which information is input in each field of the document automatic generation processing window.
第21図は第1図の表示部102に表示される文書プログラ
ムの実行のための情報を入力する文書プログラム実行ウ
インドウの説明図で、2101は文書プログラム実行ウィン
ドウ、2102は入力の終了を文書処理部105に伝えるため
の終了ボタン、2103は実行される文書プログラムの識別
子が記述される文書プログラム識別子フィールド、2104
は文書プログラムの入力となる電子文書の識別子を記述
する入力文書識別子フィールドである。FIG. 21 is an explanatory diagram of a document program execution window for inputting information for executing the document program displayed on the display unit 102 of FIG. 1, 2101 is a document program execution window, and 2102 is an end of input document processing. An end button for notifying the unit 105, 2103 is a document program identifier field in which the identifier of the document program to be executed is described, 2104
Is an input document identifier field that describes the identifier of the electronic document that is the input of the document program.
第22図は第1図の表示部102に表示される自動レイアウ
ト処理の実行のための情報を入力する自動レイアウト処
理ウィンドウの説明図で、2001は自動レイアウト処理ウ
ィンドウ、2202は入力の終了を文書処理部105に伝える
ための終了ボタン、2203は自動レイアウト処理の対象と
なる電子文書の識別子を記述する対象文書識別子フィー
ルドである。FIG. 22 is an explanatory view of an automatic layout processing window for inputting information for executing the automatic layout processing displayed on the display unit 102 of FIG. 1, 2001 is an automatic layout processing window, and 2202 is a document indicating the end of input. An end button 2203 for notifying the processing unit 105 and a target document identifier field 2203 for describing the identifier of the electronic document that is the target of the automatic layout process.
第23図は自動レイアウト処理の実行の際に対象となる電
子文書の文書部品の集合,論理構造,文書属性、の内ど
れかの情報が不完全だった場合に表示部102に表示され
る警告メッセージの説明図である。FIG. 23 is a warning displayed on the display unit 102 when any of the information of the set of document parts, the logical structure, and the document attributes of the target electronic document during the execution of the automatic layout process is incomplete. It is explanatory drawing of a message.
第24図,第25図,第26図は文書プログラム実行部106で
第3図で示される論文A、第7図で示される論文B、第
8図で示される論文Cに対して第14図で示される文書プ
ログラムを実行した場合の、出力される電子文書の論理
構造の生成の途中経過を木構造の形に図示した説明図で
ある。FIGS. 24, 25, and 26 show the paper program execution unit 106 in FIG. 14 for the paper A shown in FIG. 3, the paper B shown in FIG. 7, and the paper C shown in FIG. FIG. 7 is an explanatory diagram illustrating, in the form of a tree structure, the process of generation of the logical structure of the output electronic document when the document program shown in FIG.
第27図は第19図で示されるメニューによって行われる処
理項目の選択によって実際の処理が行われるプロセスの
流れを示すフローチャートである。FIG. 27 is a flowchart showing a process flow in which actual processing is performed by selecting a processing item performed by the menu shown in FIG.
第28図は文書処理部105で実行される文書自動生成処理
の実行ルーチンの流れを示すフローチャートである。FIG. 28 is a flowchart showing the flow of the execution routine of the document automatic generation processing executed by the document processing unit 105.
第29図は文書プログラム実行部106で実行される文書プ
ログラムの実行の流れを示すフローチャートである。FIG. 29 is a flowchart showing the flow of execution of the document program executed by the document program execution unit 106.
第30図は自動レイアウト処理部107で実行される自動レ
イアウト処理の実行の流れを示すフローチャートであ
る。FIG. 30 is a flowchart showing the flow of execution of the automatic layout processing executed by the automatic layout processing unit 107.
第31図は文書処理部105で実行される文書プログラム実
行ルーチンの流れを示すフローチャートである。FIG. 31 is a flowchart showing the flow of the document program execution routine executed by the document processing unit 105.
第32図は文書処理部105で実行される自動レイアウト処
理の実行ルーチンの流れを示すフローチャートである。FIG. 32 is a flowchart showing the flow of the execution routine of the automatic layout process executed by the document processing unit 105.
以下、第1図の構成からなる電子文書処理装置における
文書自動生成処理、文書プログラムの実行、自動レイア
ウト処理の流れについて第27〜32図を用いて説明する。The flow of automatic document generation processing, document program execution, and automatic layout processing in the electronic document processing apparatus having the configuration of FIG. 1 will be described below with reference to FIGS.
まず、処理項目の選択について第27図のフローチヤート
にしたがって説明する。First, selection of processing items will be described according to the flow chart of FIG.
本実施例では、表示部102にメニュー1901が表示されて
おり、該メニューの項目をカーソル1902で選択すること
によって処理項目が決定される。In this embodiment, a menu 1901 is displayed on the display unit 102, and a processing item is decided by selecting an item of the menu with the cursor 1902.
まず、ステップ2701によって、メニューの選択が検出さ
れる。First, in step 2701, the selection of the menu is detected.
メニューの選択が検出されるとステップ2702以降でどの
項目が選択されたかが判定される。When the selection of the menu is detected, it is determined in step 2702 and after which item has been selected.
選択されたのが『文書自動生成』であれば、文書自動生
成処理の実行ルーチンが起動される(ステップ2702)。If the selected one is "automatic document generation", the execution routine of the automatic document generation process is started (step 2702).
選択されたのが『自動レイアウト処理の実行』であれ
ば、自動レイアウト処理の実行ルーチンが起動される
(ステップ2703)。If the selected one is "execute automatic layout process", an automatic layout process execution routine is started (step 2703).
選択されたのが『文書プログラムの実行』であれば、文
書プログラムの実行ルーチンが起動される(ステップ27
04)。If the selected one is "execute document program", the document program execution routine is started (step 27).
04).
次に、第3図に示した論文A、第7図に示した論文B、
第8図に示した論文Cから、第14図に示した“論文抄録
作成”と言う識別子を持った文書プログラムを利用し
て、第9図に示した論文抄録を自動生成することを例と
して、文書自動生成処理の実行ルーチンの流れについて
第28図のフローチャートにしたがって説明する。Next, paper A shown in FIG. 3 and paper B shown in FIG.
Taking as an example the automatic generation of the paper abstract shown in FIG. 9 from the paper C shown in FIG. 8 using the document program with the identifier “Create paper abstract” shown in FIG. The flow of the execution routine of the automatic document generation process will be described with reference to the flowchart of FIG.
第19図のメニュー1901において『文書自動生成』の項目
が選択されると、文書自動生成処理ウィンドウ2001が表
示部102に表示される(ステップ2801)。When the item "automatic document generation" is selected in the menu 1901 in FIG. 19, the automatic document generation processing window 2001 is displayed on the display unit 102 (step 2801).
文書自動生成処理ウィンドウ2001への入力が終了しマウ
スのカーソルで終了ボタン2002が押されたことが検出さ
れる(ステップ2802)と、文書自動生成処理ウィンドウ
2001の内容にしたがって文書プログラム実行データが生
成され、文書プログラム実行部106に送信される(ステ
ップ2803)。When it is detected that the input to the automatic document generation processing window 2001 is completed and the end button 2002 is pressed with the mouse cursor (step 2802), the automatic document generation processing window is displayed.
Document program execution data is generated according to the content of 2001 and is transmitted to the document program execution unit 106 (step 2803).
本例の場合には、文書自動生成処理ウィンドウへの入力
は第20図(b)のようになり、生成される文書プログラ
ム実行データは第15図(b)のようになる。In the case of this example, the input to the automatic document generation window is as shown in FIG. 20 (b), and the generated document program execution data is as shown in FIG. 15 (b).
文書プログラム実行データの送信後、文書プログラム実
行部106から送られてくる文書プログラム実行結果デー
タ待ちの状態となる(ステップ2804)。After transmitting the document program execution data, the document program execution result data sent from the document program execution unit 106 is in a waiting state (step 2804).
文書プログラム実行部106からの文書プログラム実行結
果データを受理すると新しく文書部品の集合,論理構
造,文書属性が生成された電子文書を電子文書記憶部10
3から読み込む(ステップ2805)。When the document program execution result data from the document program execution unit 106 is received, the electronic document storage unit 10 creates an electronic document in which a new set of document parts, a logical structure, and a document attribute are newly generated.
Read from 3 (step 2805).
本例の場合には、文書プログラム実行結果データは第17
図(b)のようになり、ステップ2805で文書処理部105
に読み込まれるのは“論文抄録”という識別子をもった
電子文書である。In this example, the document program execution result data is the 17th
As shown in FIG. 7B, in step 2805 the document processing unit 105
What is read in is an electronic document with an identifier of "thesis abstract".
この時点で生成された電子文書は完全なものではなく、
まだ割り付け構造を持っていない。The electronic document generated at this point is not perfect,
It doesn't have an allocation structure yet.
また、入力文書と文書プログラムの組合せによっては、
文書部品の集合,論理構造,文書属性、が完全に生成さ
れていない場合もある。Also, depending on the combination of the input document and the document program,
In some cases, the set of document parts, logical structure, and document attributes have not been completely generated.
ステップ2805で文書処理部105に読み込まれた電子文書
は、ステップ2806〜2808で文書部品の集合,論理構造,
文書属性が完全に生成されているかどうかがチェックさ
れる。The electronic document read by the document processing unit 105 in step 2805 has a set of document parts, a logical structure, and the like in steps 2806 to 2808.
Checks if the document attributes are fully generated.
その結果、文書部品の集合,論理構造,文書属性、の生
成が不完全であれば、第23図に示された警報メッセージ
を表示部102に表示し(ステップ2811)、他の処理に移
行する。As a result, if the generation of the set of document parts, the logical structure, and the document attribute is incomplete, the warning message shown in FIG. 23 is displayed on the display unit 102 (step 2811), and another process is performed. .
文書部品の集合,論理構造,文書属性の生成が完全であ
った場合には、自動レイアウト処理実行データが生成さ
れ、自動レイアウト処理部107に送信される(ステップ2
809)。If the set of document parts, the logical structure, and the generation of the document attribute are complete, the automatic layout process execution data is generated and transmitted to the automatic layout processing unit 107 (step 2
809).
本例の場合には、自動レイアウト処理実行データは第16
図(b)のようになる。In this example, the automatic layout process execution data is the 16th
It becomes like FIG.
自動レイアウト処理実行データの送信後、自動レイアウ
ト処理部107から送られてくる自動レイアウト処理実行
結果データ待ちの状態となる(ステツプ2810)。After the automatic layout processing execution data is transmitted, the automatic layout processing execution result data sent from the automatic layout processing unit 107 is in a standby state (step 2810).
自動レイアウト処理部107からの自動レイアウト処理実
行結果データを受理すると、文書自動生成処理の実行ル
ーチンは終了する。When the automatic layout processing execution result data from the automatic layout processing unit 107 is received, the execution routine of the automatic document generation processing ends.
本例の場合には、自動レイアウト処理部107から送信さ
れる自動レイアウト処理実行結果データは、第18図
(b)のようになる。In the case of this example, the automatic layout processing execution result data transmitted from the automatic layout processing unit 107 is as shown in FIG. 18 (b).
さらに、同じ例を使って、文書プログラム実行部106で
実行される文書プログラムの実行の流れについて第29図
のフローチャートにしたがって説明する。Furthermore, using the same example, the flow of execution of the document program executed by the document program execution unit 106 will be described with reference to the flowchart of FIG.
文書プログラム実行部106が文書プログラム実行データ
を受理する(ステップ2901)と、文書プログラムの実行
に必要な入力となる電子文書が電子文書記憶部103から
文書プログラム実行部106へ読み込まれる(ステツプ290
2)。When the document program execution unit 106 receives the document program execution data (step 2901), an electronic document which is an input necessary for executing the document program is read from the electronic document storage unit 103 to the document program execution unit 106 (step 290).
2).
本例の場合には、文書プログラム実行部106が受理する
文書プログラム実行データは、第15図(b)に示したよ
うなものであるので、文書プログラム実行部106へ読み
込まれる電子文書は“論文A"、“論文B"、“論文C"とい
う識別子を持つもの、すなわち第3図、第7図、第8図
に示した電子文書である。In the case of this example, the document program execution data received by the document program execution unit 106 is as shown in FIG. 15 (b), and therefore the electronic document read into the document program execution unit 106 is "Paper Those having identifiers "A", "Paper B", and "Paper C", that is, the electronic documents shown in FIGS. 3, 7, and 8.
次に、文書プログラム実行データで指定された文書プロ
グラムを文書プログラム記憶部104から文書プログラム
実行部106へ読み込む(ステップ2903)。Next, the document program specified by the document program execution data is read from the document program storage unit 104 into the document program execution unit 106 (step 2903).
本例の場合には“論文抄録作成”という識別子をもつ文
書プログラムが読み込まれる。In the case of this example, a document program having an identifier "preparation of thesis abstract" is read.
電子文書と文書プログラムの読み込みが終了すると、文
書プログラムが実行される(ステップ2904)。文書プロ
グラムの実行の結果、新しい文書の文書部品の集合,論
理構造,文書属性が生成される。When the reading of the electronic document and the document program is completed, the document program is executed (step 2904). As a result of the execution of the document program, a set of document parts of the new document, a logical structure, and a document attribute are generated.
本例の場合には“論文抄録”という識別子を持つ電子文
書の文書部品の集合,論理構造,文書属性が生成され
る。In the case of this example, a set of document parts, a logical structure, and a document attribute of an electronic document having an identifier of “paper abstract” are generated.
電子文書の生成が終わると、新しく生成された電子文書
を電子文書記憶部に記憶する(ステップ2905)。When the generation of the electronic document is completed, the newly generated electronic document is stored in the electronic document storage unit (step 2905).
最後に、文書プログラム実行結果データが生成され、文
書処理部105に送信される(ステップ2906)。Finally, the document program execution result data is generated and transmitted to the document processing unit 105 (step 2906).
本例の場合に生成される文書プログラム実行結果データ
は第17図(b)に示したようになる。The document program execution result data generated in the case of this example is as shown in FIG. 17 (b).
同じ例を使って、自動レイアウト処理部107で実行され
る自動レイアウト処理の実行の流れについて第30図のフ
ローチヤートにしたがって説明する。Using the same example, the flow of execution of the automatic layout processing executed by the automatic layout processing unit 107 will be described according to the flow chart of FIG.
自動レイアウト処理実行データを受理する(ステップ30
01)と、自動レイアウト処理の対象となる電子文書が電
子文書記憶部103から自動レイアウト処理部107読み込ま
れる(ステップ3002)。Accept the automatic layout process execution data (step 30)
01), the electronic document to be subjected to the automatic layout process is read from the electronic document storage unit 103 (step 3002).
本例の場合には、自動レイアウト処理部107が受理する
自動レイアウト処理実行データは、第16図(b)である
ので、自動レイアウト処理部107へ読み込まれる電子文
書は、“論文抄録”という識別子を持つもの、すなわち
第9図に示した電子文書である(ただし、まだ割り付け
構造が生成されていないので、実際には第9図のように
割り付けられた形で表示することはできない。)。In the case of this example, the automatic layout processing execution data received by the automatic layout processing unit 107 is as shown in FIG. 16 (b), and therefore the electronic document read into the automatic layout processing unit 107 is the identifier "abstract of paper". , That is, the electronic document shown in FIG. 9 (however, since the layout structure has not been generated yet, it cannot be actually displayed in the layout as shown in FIG. 9).
次に、自動レイアウト処理が実行される(ステップ300
3)。Next, automatic layout processing is executed (step 300).
3).
自動レイアウト処理の実行の結果、自動レイアウト処理
部107に読み込んだ電子文書の割り付け構造が生成され
る。As a result of the execution of the automatic layout processing, the layout structure of the electronic document read by the automatic layout processing unit 107 is generated.
自動レイアウト処理の終了後、割り付け構造が生成され
た電子文書を電子文書記憶部103に記憶する(ステップ3
004)。After the automatic layout process is completed, the electronic document in which the layout structure is generated is stored in the electronic document storage unit 103 (step 3
004).
最後に、自動レイアウト処理実行結果データが生成さ
れ、文書処理部105に送信される(ステップ3005)。Finally, automatic layout process execution result data is generated and transmitted to the document processing unit 105 (step 3005).
本例の場合に生成される自動レイアウト処理実行結果デ
ータは、第18図(b)に示したようになる。The automatic layout process execution result data generated in the case of this example is as shown in FIG. 18 (b).
次に、第14図に示した文書プログラムによって第3図、
第7図、第8図に示した論文A、論文B、論文Cから、
第9図で示した論文抄録の文書部品の集合,論理構造,
文書属性が生成される過程を説明する。Next, as shown in FIG. 3, by the document program shown in FIG.
From Paper A, Paper B, and Paper C shown in Figs. 7 and 8,
A set of document parts of the paper abstract shown in FIG. 9, a logical structure,
The process of generating document attributes will be described.
第14図において、1は、新しく生成する文書の識別子
を決定する記述である。In FIG. 14, 1 is a description for determining the identifier of a newly generated document.
1の記述(SetID“論文抄録”)により、新しく生成
する文書の識別子は“論文抄録”となる。By the description of 1 (SetID “abstract abstract”), the identifier of the newly generated document is “abstract abstract”.
l2は、“論文抄録”の論理構造のルートノードを生成す
る記述である。l2 is a description for generating the root node of the logical structure of "paper abstract".
(Make NewNode“論文抄録”) で、論文抄録という名前を持つノードを生成し、 (Make Root(Make NewNode“論文抄録”))で、生成
したノードをルートノードとする。(Make NewNode “Paper abstract”) generates a node with the name of paper abstract, and (Make Root (Make NewNode “Paper abstract”)) uses the generated node as the root node.
l3は、文献1という名前のノードをl2で生成したルート
ノードの子ノードとする記述である。l3 is a description in which the node named Document 1 is a child node of the root node generated in l2.
(Make NewNode“文献1") で、文献1という名前を持つノードを生成し、 (AddChild 論文抄録…) で、生成したノードを論文抄録という名前を持つノード
の子ノードとする。(Make NewNode “Reference 1”) generates a node with the name of Reference 1, and (AddChild abstract of paper ...) makes the generated node a child node of the node named Abstract of paper.
l4は、文献2という名前のノードをl2で生成したルート
ノードの子ノードとする記述である。l4 is a description in which the node named Document 2 is a child node of the root node generated in l2.
(Make NewNode“文献2") で、文献2という名前を持つノードを生成し、 (AddChild“論文抄録”…) で、生成したノードを論文抄録という名前を持つノード
の子ノードとする。(Make NewNode “Reference 2”) creates a node with the name of Reference 2, and (AddChild “abstract abstract” ...) Creates the generated node as a child node of the node named Abstract of the article.
l5は、文献3という名前のノードをl2で生成したルート
ノードの子ノードとする記述である。l5 is a description in which a node named Document 3 is a child node of the root node generated in l2.
(Make NewNode“文献3") で、文献3という名前を持つノードを生成し、 (AddChild論文抄録…) で、生成したノードを論文抄録という名前を持つノード
の子ノードとする。(Make NewNode “Reference 3”) generates a node with the name of Reference 3, and (AddChild abstract of paper…) makes the generated node a child node of the node named Abstract of paper.
l5まで実行した場合、論文抄録の論理構造は第24図のよ
うになる。When executed up to l5, the logical structure of the abstract is as shown in Figure 24.
l6は、論文Aの論理構造内で表題という名前を持つノー
ド(第5図の505)で始まるサブツリーのコピーを、論
文抄録の論理構造の文献1という名前をもつノードのサ
ブツリーとすることを示す。l6 indicates that a copy of the subtree starting with the node named 505 (505 in FIG. 5) in the logical structure of thesis A will be the subtree of the node named document 1 of the logical structure of the abstract of the paper. ..
(AddSubTree…)では、サブツリーに含まれる文書部品
もコピーされ、論文抄録の文書部品の一部となる。In (AddSubTree ...), the document parts included in the subtree are also copied and become part of the document parts of the abstract of the paper.
本例においては、コピーされるのは文書部品512であ
る。In this example, it is the document part 512 that is copied.
l6まで実行した場合、論文抄録の論理構造は第25図のよ
うになる。When executed up to l6, the logical structure of the abstract will be as shown in Figure 25.
l7は、論文Aの論理構造の内で著名者という名前を持つ
ノード(第5図の506)で始まるサブツリーのコピー
を、論文抄録の論理構造の文献1という名前をもつノー
ドのサブツリーとすることを示す。l7 is a copy of the subtree starting with the node named 506 in the logical structure of paper A (506 in Fig. 5) as the subtree of the node named document 1 of the logical structure of the paper abstract. Indicates.
l8は、論文Aの論理構造の内で所属という名前を持つノ
ード(第5図の507)で始まるサブツリーのコピーを、
論文抄録の論理構造の文献1という名前をもつノードの
ノードのサブツリーとすることを示す。l8 is a copy of the subtree starting with the node with the name affiliation (507 in FIG. 5) in the logical structure of paper A,
It is shown that the logical structure of the abstract is a subtree of the node with the name "Document 1".
l9は、論文Aの論理構造のうちで要約という名前を持つ
ノード(第5図の503)で始まるサブツリーのコピー
を、論文抄録の論理構造の文献1という名前をもつサブ
ツリーとすることを示す。l9 indicates that a copy of the subtree starting from the node (503 in FIG. 5) having the name of abstract in the logical structure of the paper A is to be the subtree having the name of document 1 of the logical structure of the paper abstract.
l9まで実行した場合、論文抄録の論理構造は第26図のよ
うになる。When executed up to l9, the logical structure of the abstract is as shown in Figure 26.
10は、論文Bの論理構造の内で表題という名前を持つ
ノードで始まるサブツリーのコピーを、論文抄録の論理
構造の文献2という名前をもつノードのサブツリーとす
ることを示す。Reference numeral 10 indicates that a copy of a subtree that starts with a node named title in the logical structure of thesis B is used as a subtree of a node named document 2 of the logical structure of the abstract of the paper.
11は、論文Bの論理構造の内で著者名という名前を持
つノードで始まるサブツリーのコピーを、論文抄録の論
理構造の文献2という名前をもつノードのサブツリーと
することを示す。Reference numeral 11 indicates that a copy of the subtree starting from the node having the name of the author in the logical structure of the paper B is used as the subtree of the node having the name of the document 2 of the logical structure of the paper abstract.
12は、論文Bの論理構造の内で所属という名前を持つ
ノードで始まるサブツリーのコピーを、論文抄録の論理
構造の文献2という名前をもつノードのサブツリーとす
ることを示す。Reference numeral 12 indicates that a copy of the subtree starting with the node having the name of belonging in the logical structure of the paper B is used as the subtree of the node having the name of document 2 in the logical structure of the paper abstract.
13は、論文Bの論理構造の内で要約という名前を持つ
ノードで始まるサブツリーのコピーを、論文抄録の論理
構造の文献2という名前をもつノードのサブツリーとす
ることを示す。Reference numeral 13 indicates that a copy of a subtree that starts with a node named abstract in the logical structure of paper B is made a subtree of a node named document 2 of the logical structure of the paper abstract.
14は、論文Cの論理構造の内で表題という名前を持つ
ノードで始まるサブツリーのコピーを、論文抄録の論理
構造の文献3という名前をもつノードのサブツリーとす
ることを示す。Reference numeral 14 indicates that a copy of a subtree that starts with a node named title in the logical structure of thesis C is used as a subtree of a node named document 3 of the logical structure of the abstract of the paper.
15は、論文Cの論理構造の内で著者名という名前をも
つノードで始まるサブツリーのコピーを、論文抄録の論
理構造の文献3という名前をもつノードのサブツリーと
することを示す。Reference numeral 15 indicates that a copy of a subtree starting with a node having the name of author in the logical structure of thesis C is used as a subtree of the node having the name of document 3 of the logical structure of the abstract of the thesis.
16は、論文Cの論理構造の内で所属という名前を持つ
ノードで始まるサブツリーのコピーを、論文抄録の論理
構造の文献3という名前をもつノードのサブツリーとす
ることを示す。Reference numeral 16 indicates that a copy of a subtree that starts with a node named "affiliation" in the logical structure of thesis C is used as a subtree of a node named "Document 3" in the logical structure of the abstract of the paper.
17は、論文Cの論理構造の内で要約という名前をもつ
ノードで始まるサブツリーのコピーを、論文抄録の論理
構造の文献3という名前をもつノードのサブツリーとす
ることを示す。Reference numeral 17 indicates that a copy of the subtree starting with the node named abstract in the logical structure of thesis C is to be the subtree of the node named document 3 of the logical structure of the abstract of the paper.
17まで実行した場合、論文抄録の論理構造は第11図の
ようになる。When executed up to 17, the logical structure of the abstract is as shown in Figure 11.
18は、論文抄録の論理構造に含まれる文書部品中で、
その文書部品が保持する文書内容が“えっくす研究所”
というテキストであるものを“Our Laboratory"に変更
することを示している。18 is the document part included in the logical structure of the paper abstract,
The document content held by the document part is "EXC Laboratory"
Indicates that you want to change the text that says "Our Laboratory".
これにより、第11図中1123の文書部品の保持する文書内
容が“えっくす研究所”というテキストであるので、
“Our Laboratory"に変更される。As a result, the document content held by the document part 1123 in FIG. 11 is the text "EXC Laboratory".
Changed to "Our Laboratory".
19は、論文抄録の文書属性のうちの編集者という属生
名を持つ文書属性の属性値を“Auto"にすることを示
す。19 indicates that the attribute value of the document attribute having the genus name of the editor among the document attributes of the paper abstract is set to "Auto".
l20は、論文抄録の文書属性のうち編集日という属生名
を持つ文書属性の属性値を自動編集した編集日にするこ
とを示している。The l20 indicates that the attribute value of the document attribute having the genus name of the edit date among the document attributes of the abstract of the paper is automatically edited.
(Date) で、この文書プログラムが実行された日の日付が出力さ
れ、 (SetAttribute“編集日”…) で、出力された日時が、編集日という属性名を持つ文書
属性の属性値となる。In (Date), the date when this document program was executed is output, and in (SetAttribute "Edit date" ...), the output date and time becomes the attribute value of the document attribute having the attribute name of edit date.
19、l20で、第10図で示される属性テーブルが生成さ
れる。At 19, l20, the attribute table shown in FIG. 10 is generated.
このような文書自動生成処理のほかに、本実施例では、
入力部101から文書部品の集合,論理構造,文書属性、
についての編集項目や、割り付け構造の編集を行うため
の編集項目を入力し、文書処理部105で、それらの指示
にしたがって文書編集おこなうことも可能である。In addition to such document automatic generation processing, in this embodiment,
From the input unit 101, a set of document parts, a logical structure, document attributes,
It is also possible to input an edit item for editing and an edit item for editing the allocation structure, and the document processing unit 105 can edit the document according to the instructions.
また、文書プログラムの実行や、自動レイアウト処理の
実行を、これまで説明した文書自動生成処理のように一
括に行うのではなく、単独に行うことも可能である。Further, the execution of the document program and the automatic layout process may be performed individually instead of collectively as in the automatic document generation process described above.
したがって、入力部101からの編集項目の入力によって
文書部品の集合,論理構造,文書属性を編集,生成した
後、自動レイアウト処理にかけることによる文書の生
成,文書プログラムの実行によって文書部品の集合,論
理構造,文書属性を自動的に生成した後、入力部101か
らの割り付け構造の編集を行うための編集項目の入力に
よって割り付け構造を決定することによる文書の生成,
文書プログラムの実行によって文書部品の集合,論理構
造,文書属性、を不完全ながらも自動的に生成し、その
後入力部101からの編集項目の入力によって文書部品の
集合・論理構造・文書属性、を完全に生成した後、自動
レイアウト処理にかけることによる文書の生成など、文
書処理を部分的かつ柔軟に自動化することが可能であ
る。Therefore, after editing and generating a set of document parts, a logical structure, and a document attribute by inputting an edit item from the input unit 101, a document is generated by performing an automatic layout process, a set of document parts is executed by executing a document program, After automatically generating a logical structure and a document attribute, a document is generated by determining an allocation structure by inputting an edit item for editing the allocation structure from the input unit 101,
By executing the document program, a set of document parts, a logical structure, and a document attribute are automatically generated although they are incomplete, and then an input of edit items from the input unit 101 generates a set of document parts, a logical structure, and a document attribute. It is possible to partially and flexibly automate the document processing such as the generation of the document by subjecting it to the automatic layout processing after the complete generation.
次に、文書プログラムの実行が単独に行われるときの文
書プログラムの実行ルーチンの流れについて、第31図の
フローチャートにしたがって説明する。Next, the flow of the execution routine of the document program when the document program is executed independently will be described with reference to the flowchart of FIG.
第19図のメニュー1901において「文書プログラムの実
行」の項目が選択されると、文書プログラム実行ウィン
ドウ2101が表示部102に表示される(ステップ3101)。When the "execute document program" item is selected in the menu 1901 of FIG. 19, a document program execution window 2101 is displayed on the display unit 102 (step 3101).
文書プログラム実行ウィンドウ2101への入力が終了し、
マウスのカーソルで終了ボタン2102が押されたことが検
出される(ステップ3102)と、文書プログラムの実行ウ
ィンドウ2101の内容にしたがって文書プログラム実行デ
ータが生成され、文書プログラム実行部106に送信され
る(ステップ3103)。Input to the document program execution window 2101 is completed,
When it is detected that the end button 2102 is pressed with the cursor of the mouse (step 3102), the document program execution data is generated according to the content of the execution window 2101 of the document program and is transmitted to the document program execution unit 106 ( Step 3103).
文書プログラム実行データの送信後、文書プログラム実
行部106から送られてくる文書プログラム実行結果デー
タ待ちの状態となる(ステップ3104)。After transmitting the document program execution data, the document program execution result data sent from the document program execution unit 106 is in a waiting state (step 3104).
文書プログラム実行結果データを受理すると文書プログ
ラムの実行ルーチンは終了する。When the document program execution result data is received, the document program execution routine ends.
次に、自動レイアウト処理が単独に行われるときの自動
レイアウト処理の実行ルーチンの流れについて、第32図
のフローチャートにしたがって説明する。Next, the flow of the execution routine of the automatic layout process when the automatic layout process is independently performed will be described with reference to the flowchart of FIG.
第19図のメニューによって「自動レイアウト処理の実
行」の項目が選択されると、自動レイアウト処理ウィン
ドウ2201が表示部102に表示される(ステップ3201)。When the "execute automatic layout processing" item is selected from the menu of FIG. 19, an automatic layout processing window 2201 is displayed on the display unit 102 (step 3201).
自動レイアウト処理ウィンドウ2201への入力が終了し、
マウスのカーソルで終了ボタン2202が押されたことが検
出される(ステップ3202)と、対象文書識別子フィール
ド2203に記述された識別子をもつ電子文書を電子文書記
憶部103から読み込む(ステップ3203)。Input to the automatic layout processing window 2201 is completed,
When it is detected that the end button 2202 has been pressed with the cursor of the mouse (step 3202), the electronic document having the identifier described in the target document identifier field 2203 is read from the electronic document storage unit 103 (step 3203).
ステップ3203で文書処理部105に読み込まれた電子文書
は、ステップ3204〜3206で文書部品の集合,論理構造,
文書属性、が完全に生成されているかどうかがチェック
される。The electronic document read by the document processing unit 105 in step 3203 is a set of document parts, a logical structure, and the like in steps 3204 to 3206.
The document attributes are checked to see if they have been completely generated.
その結果、文書部品の集合,論理構造,文書属性、の生
成が不完全であれば、第23図に示された警告メッセージ
を表示部102に表示し、他の処理に移行する(ステップ3
209)。As a result, if the generation of the set of document parts, the logical structure, and the document attribute is incomplete, the warning message shown in FIG. 23 is displayed on the display unit 102, and the process shifts to another process (step 3).
209).
文書部品の集合・論理構造・文書属性、の生成が完全で
あった場合には、自動レイアウト処理実行データが生成
され、自動レイアウト処理部107に送信される(ステッ
プ3207)。If the generation of the set of document parts / logical structure / document attributes is complete, automatic layout processing execution data is generated and transmitted to the automatic layout processing unit 107 (step 3207).
自動レイアウト処理実行データの送信後、自動レイアウ
ト処理部107から送られてくる自動レイアウト処理実行
結果データ待ちの状態となる(ステツプ3208)。After the automatic layout processing execution data is transmitted, the automatic layout processing execution result data sent from the automatic layout processing unit 107 is awaited (step 3208).
自動レイアウト処理部107からの自動レイアウト処理実
行結果データを受理すると、自動レイアウト処理の実行
ルーチンは終了する。When the automatic layout processing execution result data from the automatic layout processing unit 107 is received, the automatic layout processing execution routine ends.
第1図に示した構成をもつ本実施例の実現においては、
電子文書記憶部103,文書プログラム記憶部104としてハ
ードディスク,フロッピーディスク等の2次記憶装置を
利用するだけでなく、ネットワークを介して連結されて
いるファールサーバ等によって実現することも可能であ
る。In realizing this embodiment having the configuration shown in FIG. 1,
As the electronic document storage unit 103 and the document program storage unit 104, it is possible to use not only a secondary storage device such as a hard disk or a floppy disk, but also a fal server or the like connected via a network.
以上説明したように、本発明によれば、文書部品の集
合,論理構造,割り付け構造,文書属性、からなる電子
文書について既存の電子文書から新しい電子文書を自動
的に生成することが可能になる。また、ユーザの意図に
より入力される編集項目による編集と、前記自動生成と
を選択することが可能となり、電子文書の処理効果が著
しく向上する。As described above, according to the present invention, a new electronic document can be automatically generated from an existing electronic document for an electronic document including a set of document parts, a logical structure, an allocation structure, and a document attribute. . Further, it becomes possible to select the editing by the editing item input by the user's intention and the automatic generation, and the processing effect of the electronic document is significantly improved.
第1図は本発明の一実施例の構成の概略を示すブロック
図、第2図は電子文書記憶部に格納される電子文書のデ
ータ構造の説明図、第3図は電子文書記憶部に格納され
る電子文書の1例の説明図、第4図は電子文書記憶部に
格納される電子文書の文書属性を表す属性テーブルの1
例の一部の説明図、第5図は電子文書記憶部に格納され
る電子文書の論理構造の1例の説明図、第6図は電子文
書記憶部に格納される電子文書の割り付け構造の1例の
説明図、第7図,第8図,第9図は電子文書記憶部に格
納される電子文書の1例の説明図、第10図は電子文書記
憶部に格納される電子文書の文書属性を表す属性テーブ
ルの1例の説明図、第11図は電子文書記憶部に格納され
る電子文書の論理構造の1例の説明図、第12図は電子文
書記憶部に格納される電子文書の割り付け構造の1例の
説明図、第13図は文書プログラム記憶部に記憶されてい
る文書プログラムのデータ構成の説明図、第14図は文書
プログラム記憶部に記憶されている文書プログラムの1
例の説明図、第15図は文書処理部が文書プログラム実行
部に送る文書プログラム実行データの説明図、第16図は
文書処理部が自動レイアウト処理部に送る自動レイアウ
ト処理実行データの説明図、第17図は文書プログラム実
行部から文書処理部に送られる文書プログラム実行結果
データのデータ構造の説明図、第18図は自動レイアウト
処理部から文書処理部に送られる自動レイアウト処理実
行結果データのデータ構造の説明図、第19図はユーザが
文書プログラムの実行や自動レイアウト処理の実行、文
書部品の集合・論理構造・割り付け構造・文書属性の編
集を指示するために表示部に表示されるメニューの説明
図、第20図は文書自動生成処理のための情報を入力する
ために表示部に表示される文書自動生成処理ウィンドウ
の説明図、第21図は文書プログラムの実行のための情報
を入力するために表示部に表示される文書プログラム実
行ウィンドウの説明図、第22図は自動レイアウト処理の
実行のための情報を入力するために表示部に表示される
自動レイアウト処理ウィンドウの説明図、第23図は対象
となる電子文書の電子部品の集合,論理構造,文書属性
の内どれかの情報が不完全だった場合に表示部に表示さ
れる警告メッセージの説明図、第24図,第25図,第26図
は論理構造の自動生成の途中経過を説明するための説明
図、第27図は処理項目選択のプロセスを説明するフロー
チャート、第28図は文書自動生成処理の実行ルーチンの
フローチャート、第29図は文書プログラムの実行のフロ
ーチャート、第30図は自動レイアウト処理のフローチャ
ート、第31図は文書プログラムの実行ルーチンのフロー
チャート、第32図は自動レイアウト処理の実行ルーチン
のフローチャートである。 101…入力部、102…表示部、103…電子文書記憶部、104
…文書プログラム記憶部、105…文書処理部、106…文書
プログラム実行部、107…自動レイアウト処理部。FIG. 1 is a block diagram showing a schematic configuration of one embodiment of the present invention, FIG. 2 is an explanatory view of a data structure of an electronic document stored in an electronic document storage unit, and FIG. 3 is stored in an electronic document storage unit. 4 is an explanatory view of an example of a stored electronic document, and FIG. 4 is an attribute table 1 showing the document attributes of the electronic document stored in the electronic document storage unit.
FIG. 5 is a partial explanatory view of an example, FIG. 5 is an explanatory view of an example of a logical structure of an electronic document stored in an electronic document storage unit, and FIG. 6 is a layout structure of an electronic document stored in the electronic document storage unit. An explanatory view of an example, FIGS. 7, 8, and 9 are explanatory views of an example of an electronic document stored in the electronic document storage unit, and FIG. 10 is a schematic view of an electronic document stored in the electronic document storage unit. FIG. 11 is an explanatory diagram of an example of an attribute table showing document attributes, FIG. 11 is an explanatory diagram of an example of a logical structure of an electronic document stored in the electronic document storage unit, and FIG. 12 is an electronic diagram stored in the electronic document storage unit. FIG. 13 is an explanatory diagram of an example of a document allocation structure, FIG. 13 is an explanatory diagram of a data structure of the document program stored in the document program storage unit, and FIG. 14 is 1 of the document program stored in the document program storage unit.
An explanatory diagram of an example, FIG. 15 is an explanatory diagram of document program execution data sent by the document processing unit to the document program execution unit, and FIG. 16 is an explanatory diagram of automatic layout processing execution data sent by the document processing unit to the automatic layout processing unit. FIG. 17 is an explanatory view of the data structure of the document program execution result data sent from the document program execution unit to the document processing unit, and FIG. 18 is data of the automatic layout process execution result data sent from the automatic layout processing unit to the document processing unit. Fig. 19 is an explanatory diagram of the structure, and Fig. 19 shows the menu displayed on the display for the user to instruct the execution of the document program, the automatic layout process, and the editing of the set of document parts, logical structure, layout structure, and document attributes. Explanatory diagram, Fig. 20 is an explanatory diagram of the document automatic generation processing window displayed on the display unit for inputting information for automatic document generation processing, and Fig. 21 is a sentence Explanatory view of the document program execution window displayed on the display unit for inputting information for executing the program, FIG. 22 is displayed on the display unit for inputting information for executing the automatic layout process Fig. 23 is an explanatory diagram of the automatic layout processing window. Fig. 23 shows the warning message displayed on the display when the information of any one of the set of electronic parts, logical structure, and document attributes of the target electronic document is incomplete. Explanatory diagrams, 24, 25, and 26 are explanatory diagrams for explaining the process of automatic generation of the logical structure, FIG. 27 is a flowchart for explaining the process item selection process, and FIG. 28 is a document. 29 is a flowchart of the execution routine of the automatic generation process, FIG. 29 is a flowchart of the execution of the document program, FIG. 30 is a flowchart of the automatic layout process, and FIG. 31 is the execution routine of the document program. Flowcharts, FIG. 32 is a flowchart of the execution routine for automatic layout process. 101 ... Input unit, 102 ... Display unit, 103 ... Electronic document storage unit, 104
... document program storage unit, 105 ... document processing unit, 106 ... document program execution unit, 107 ... automatic layout processing unit.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 上林 憲行 東京都渋谷区代々木3丁目57番6号 グラ ンフォーレ 富士ゼロックス株式会社内 (56)参考文献 特開 昭61−190653(JP,A) 特開 昭62−229364(JP,A) 特開 昭62−245366(JP,A) 特開 昭62−229368(JP,A) 特開 昭61−139829(JP,A) 特開 平2−254566(JP,A) 実開 昭62−81159(JP,U) 電気学会研究会資料 CMN−89−18− 23(1987−07−12)PP.51−60 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Noriyuki Uebayashi No. 57-6 Yoyogi, Shibuya-ku, Tokyo Granforet Fuji Xerox Co., Ltd. (56) Reference JP-A-61-190653 (JP, A) Kai 62-229364 (JP, A) JP 62-245366 (JP, A) JP 62-229368 (JP, A) JP 61-139829 (JP, A) JP 2-254566 ( JP, A) Fukui Sho 62-81159 (JP, U) Institute of Electrical Engineers of Japan Material CMN-89-18-23 (1987-07-12) PP. 51-60
Claims (1)
約、本文等の文書部品の集合、文書部品を一つの文書と
して構成するための前記文書部品間の論理的な関係を保
持する論理構造、文書のレイアウトからみた文書部品相
互の位置的な関係を保持する割り付け構造、および内容
以外の文書に付随する情報を示すための文書属性とから
なる電子文書を記憶する電子文書記憶部と、 前記電子文書の文書部品の集合、論理構造、割り付け構
造、および文書属性とから、新たな電子文書の集合、論
理構造、および文書属性を生成するプログラム、あるい
は、新たな電子文書の文書部品の集合、論理構造、およ
び文書属性の一部を生成するプログラムを記憶する文書
プログラム記憶部と、 前記電子文書記憶部から電子文書を取り出し、前記文書
プログラム記憶部に記憶されているプログラムを実行し
て、新たな電子文書の集合、論理構造、および文書属
性、あるいは新たな電子文書の文書部品の集合、論理構
造、および文書属性の一部を自動的に生成する文書プロ
グラム実行部と、 前記電子文書記憶部から、割り付け構造の生成、あるい
は更新を必要とする電子文書を取り出し、割り付け構造
の生成、あるいは更新を、自動的に行う自動レイアウト
処理部と、 文書部品の集合、論理構造、割り付け構造、および文書
属性、を編集するための編集項目を入力する入力部と、 前記入力部から入力された編集項目にしたがって文書部
品の集合、論理構造、割り付け構造、および文書属性、
の編集を行う文書処理部とを少なくとも備え、 文書部品の集合、論理構造、割り付け構造、および文書
属性の自動生成と、編集項目の入力による文書部品の集
合、論理構造、割り付け構造、および文書属性の編集と
を選択することを可能としたことを特徴とする電子文書
処理装置。Claims: 1. A set of document parts such as a title, an author name, an abstract, and a text which constitute the contents of the document, and a logic which holds a logical relationship between the document parts for constituting the document part as one document. An electronic document storage unit that stores an electronic document including a structure, an allocation structure that holds a positional relationship between document parts viewed from the layout of a document, and a document attribute for indicating information associated with the document other than the content, A program for generating a new electronic document set, logical structure, and document attribute from the set of document parts of the electronic document, logical structure, allocation structure, and document attribute, or a set of new electronic document document parts , A logical structure, and a document program storage unit that stores a program that generates a part of the document attributes, and an electronic document is extracted from the electronic document storage unit A program stored in the memory storage unit is executed, and a new electronic document set, logical structure, and document attributes, or a set of new electronic document document parts, logical structure, and document attributes are automatically generated. And an electronic layout processing unit for automatically generating the layout structure or updating the layout structure by taking out an electronic document for which the layout structure is generated or updated from the electronic document storage unit. And an input unit for inputting edit items for editing a set of document parts, a logical structure, an allocation structure, and a document attribute, and a set of document parts, a logical structure, according to the edit items input from the input unit. Allocation structure and document attributes,
And a document processing unit for editing the document parts, automatically generating a set of document parts, a logical structure, an allocation structure, and a document attribute, and a set of document parts by inputting edit items, a logical structure, an allocation structure, and a document attribute. An electronic document processing device characterized in that it is possible to select between editing and.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23574090A JPH0785239B2 (en) | 1990-09-07 | 1990-09-07 | Electronic document processor |
| US08/248,547 US5434962A (en) | 1990-09-07 | 1994-05-24 | Method and system for automatically generating logical structures of electronic documents |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP23574090A JPH0785239B2 (en) | 1990-09-07 | 1990-09-07 | Electronic document processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04116765A JPH04116765A (en) | 1992-04-17 |
| JPH0785239B2 true JPH0785239B2 (en) | 1995-09-13 |
Family
ID=16990523
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP23574090A Expired - Lifetime JPH0785239B2 (en) | 1990-09-07 | 1990-09-07 | Electronic document processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0785239B2 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0652161A (en) * | 1992-08-03 | 1994-02-25 | Fuji Xerox Co Ltd | Method and device for processing document |
| JP3445910B2 (en) * | 1996-12-24 | 2003-09-16 | 東芝テック株式会社 | Document summarization synthesizer |
| JPH10214265A (en) * | 1997-01-30 | 1998-08-11 | Mitsubishi Electric Corp | Structured document processing device |
| US7487445B2 (en) | 2002-07-23 | 2009-02-03 | Xerox Corporation | Constraint-optimization system and method for document component layout generation |
| US7010746B2 (en) | 2002-07-23 | 2006-03-07 | Xerox Corporation | System and method for constraint-based document generation |
| US7225401B2 (en) * | 2002-07-23 | 2007-05-29 | Xerox Corporation | Case-based system and method for generating a custom document |
-
1990
- 1990-09-07 JP JP23574090A patent/JPH0785239B2/en not_active Expired - Lifetime
Non-Patent Citations (1)
| Title |
|---|
| 電気学会研究会資料CMN−89−18−23(1987−07−12)PP.51−60 |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04116765A (en) | 1992-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6098061A (en) | Computer system for interactive help using human-understandable knowledge and computer-understandable knowledge | |
| CN117472379B (en) | Automatic generation method and system for low-code platform interaction interface | |
| CN115080011A (en) | Code generation method and system based on abstract syntax tree | |
| US20030067490A1 (en) | Screen transition diagram editing apparatus and computer product | |
| JPH0785239B2 (en) | Electronic document processor | |
| CN116501742A (en) | A Simple and Flexible Tabular Data Acquisition and Output Method, Medium and System | |
| CN109948133B (en) | Data form realization method based on Layu | |
| EP0332557A2 (en) | Separation of document layout and data elements | |
| CN118394405B (en) | Traceability method and traceability system for low-code platform module | |
| JP2001125855A (en) | Dynamic Web page generation program | |
| JP2003150762A (en) | Project information linkage method and system | |
| JP3441155B2 (en) | Information management search device | |
| CN116048660B (en) | Vehicle component architecture generation method, system and device and vehicle | |
| JP2000048024A (en) | Structured document processing device | |
| JPH04211865A (en) | Method for supporting routine document preparation | |
| JP4255538B2 (en) | Structured document storage and retrieval device | |
| JPH05307472A (en) | Program parts information reusing device | |
| CN120634484B (en) | Model-based workflow creation method, device, equipment, medium and product | |
| JP2002207682A (en) | Abstract creation support apparatus and method | |
| JPH03192462A (en) | Standard document creation support method | |
| JP2720768B2 (en) | Program customization equipment | |
| JPH0836487A (en) | Data processing system | |
| JP3419483B2 (en) | Natural language processing apparatus and method | |
| JP2009003771A (en) | Project construction support program and project construction support system | |
| JPH052475A (en) | Electronic document processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070913 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080913 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090913 Year of fee payment: 14 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100913 Year of fee payment: 15 |
|
| EXPY | Cancellation because of completion of term |