Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0715679B2 - Attribute information processing method in structured document processing system - Google Patents
[go: Go Back, main page]

JPH0715679B2 - Attribute information processing method in structured document processing system - Google Patents

Attribute information processing method in structured document processing system

Info

Publication number
JPH0715679B2
JPH0715679B2 JP1047655A JP4765589A JPH0715679B2 JP H0715679 B2 JPH0715679 B2 JP H0715679B2 JP 1047655 A JP1047655 A JP 1047655A JP 4765589 A JP4765589 A JP 4765589A JP H0715679 B2 JPH0715679 B2 JP H0715679B2
Authority
JP
Japan
Prior art keywords
document
attribute information
node
inheritance
processing
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 - Fee Related
Application number
JP1047655A
Other languages
Japanese (ja)
Other versions
JPH038076A (en
Inventor
ひとみ 松村
淳一 川崎
博司 諸星
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1047655A priority Critical patent/JPH0715679B2/en
Publication of JPH038076A publication Critical patent/JPH038076A/en
Publication of JPH0715679B2 publication Critical patent/JPH0715679B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔概要〕 1つまたは複数種類の文書についての文書作成を含む処
理を行うに当って、日本語文書処理機構を含む複数の文
書処理ソフトウェアを利用すると共に、当該文書処理ソ
フトウェアを利用することで作成された個別文書につい
ての階層構造を構造体として保持するようにした構造文
書の内容の出力の際に必要となる文書形式の属性情報に
ついての設定・特定処理を実現するための構造化文書処
理システムにおける属性情報処理方式に関し、 文書処理ソフトウェアを利用しつつ所望する個別文書を
作成できるようにするとともに、作成された文書ファイ
ルの内容の出力の際に必要となる文書形式の属性情報
を、継承処理に従って簡単に設定できるようにすること
を目的とし、 個々の文書処理ソフトウェアによって作成された文書フ
ァイルの内容を、上記個別文書における階層構造に対応
した構造文書によって統一するようにした構造化文書フ
ァイルを設けると共に、 上記構造文書における属性情報中に、属性情報の継承を
指定する継承指定情報を記述し、該記述に従って属性情
報の継承処理を行うことで、属性情報の設定・特定処理
を実行するよう構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] In performing processing including document creation for one or more types of documents, a plurality of document processing software including a Japanese document processing mechanism is used and the document processing is performed. Realizes the setting / specification processing of the attribute information of the document format that is necessary when outputting the contents of the structured document that holds the hierarchical structure of the individual document created by using the software as a structure The attribute information processing method in the structured document processing system for enabling the creation of a desired individual document while using the document processing software, and the document format required when outputting the content of the created document file The purpose is to make it easy to set the attribute information of the A structured document file is provided in which the contents of the created document file are unified by a structural document corresponding to the hierarchical structure of the individual document, and inheritance of the attribute information is specified in the attribute information of the structural document. The inheritance designation information is described, and the attribute information is inherited according to the description, whereby the attribute information setting / specification processing is executed.

〔産業上の利用分野〕[Industrial application field]

本発明は、構造化文書処理システムにおける属性情報処
理方式、特に、1つまたは複数種類の文書についての文
書作成を含む処理を行うに当って、日本語文書処理機構
を含む複数の文書処理ソフトウェアを利用すると共に、
当該文書処理ソフトウェアを利用することで作成された
個別文書についての階層構造を構造体として保持するよ
うにした構造文書の内容の出力の際に必要となる文書形
式の属性情報についての設定・特定処理を、継承処理に
従って容易に実行できるようにした構造化文書処理シス
テムにおける属性情報処理方式に関するものである。
The present invention relates to an attribute information processing method in a structured document processing system, and more particularly to a plurality of document processing software including a Japanese document processing mechanism in performing processing including document creation for one or more types of documents. While using
Setting / specification processing for the attribute information of the document format required when outputting the contents of the structured document that holds the hierarchical structure of the individual document created by using the document processing software as a structure The present invention relates to an attribute information processing method in a structured document processing system that can be easily executed in accordance with inheritance processing.

現在、OAシステムが一般に使用されるようになってい
て、ソフトウェアや文書ファイルなどのOA資源が大きく
なってきている。このため、これらの資源を利用しつ
つ、構造文書として、各種文書の作成や管理を容易に行
い得るようにすることが要求されている。そして、作成
された構造文書により管理されている文書の出力の際に
必要となる文書形式の属性情報についての設定処理は、
簡単に誤りなく実現できるようにしていくことが望まれ
る。
At present, OA systems are generally used, and OA resources such as software and document files are increasing. Therefore, it is required that various documents can be easily created and managed as structural documents while utilizing these resources. Then, the setting process for the attribute information of the document format required when outputting the document managed by the created structural document is
It is hoped that it will be easily and error-free.

〔従来の技術〕[Conventional technology]

従来のOA処理システムにおいては、夫々作成するもの
(日本語文、線画、イメージ、グラフ、英語文など)の
作成目的に対応したソフトウェアを用いて、個々に処理
されていた。
In the conventional OA processing system, the processing is performed individually by using the software corresponding to the purpose of creating the created one (Japanese sentence, line drawing, image, graph, English sentence, etc.).

しかし、最近、上記個々の処理を必要に応じて適宜呼び
出しては処理することのできる形で文書処理システムを
つくることが考慮された。このような文書処理システム
を、本明細書では構造化文書処理システムと呼ぶことに
するが、当該構造化文書処理システムにおいては、作成
された構造文書により管理される文書の出力の際に必要
となる文書形式の属性情報(印刷形式情報や枠組み情報
等)についての設定処理を、簡単かつ誤りなく実行でき
るようにすることが望まれる。
However, recently, it has been considered to make a document processing system in such a manner that the above individual processes can be appropriately called and processed as needed. Such a document processing system will be referred to as a structured document processing system in this specification. However, in the structured document processing system, it is necessary to output a document managed by the created structured document. It is desired that the setting process for the attribute information (print format information, framework information, etc.) of the following document format can be executed easily and without error.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記の如く従来の場合には、蓄積されたOA資源も夫々の
目的に対応したシステムのみが利用できるものであっ
て、既存のソフトウェアや文書ファイルなどの既存のOA
資源を適宜必要に応じて利用することなどは出来ないも
のであった。
As described above, in the conventional case, the accumulated OA resources can be used only by the system corresponding to each purpose, and existing OA resources such as existing software and document files can be used.
It was not possible to use resources as needed.

本発明は、文書処理ソフトウェアを利用しつつ所望する
個別文書を作成できるようにするとともに、作成された
文書ファイルの内容の出力の際に必要となる文書形式の
属性情報についての設定処理を、簡単にかつ誤りなく実
行できるようにすることを目的としている。
The present invention enables a desired individual document to be created while using the document processing software, and simplifies the setting process for the attribute information of the document format required when outputting the contents of the created document file. The goal is to be able to do it correctly and without error.

〔課題を解決するための手段〕[Means for Solving the Problems]

第1図は本発明の原理構成図を示す。図中の符号1−i
は個別文書、2−1,2−2,…は個別文書の内容を保持す
る文書ファイル、5は個別文書処理を実行する文書処理
機能部、6は構造文書、7は文書内容を保持する文書保
持機能部、5−1は属性情報継承処理機能、5−2は属
性情報出力、5−11は受付処理部、5−12は継承指定判
別部、5−13は継承先検出部、5−14は継承元検出部、
5−15は属性情報継承処理部、5−16は属性情報設定
部、5−17は属性情報出力部を表している。
FIG. 1 shows the principle configuration of the present invention. Reference numeral 1-i in the figure
Is an individual document, 2-1, 2-2, ... Is a document file that holds the contents of the individual document, 5 is a document processing function unit that executes individual document processing, 6 is a structural document, and 7 is a document that holds the document contents. A holding function unit, 5-1 is an attribute information inheritance processing function, 5-2 is attribute information output, 5-11 is a reception processing unit, 5-12 is an inheritance designation determination unit, 5-13 is an inheritance destination detection unit, 5- 14 is the inheritance source detection unit,
Reference numeral 5-15 represents an attribute information inheritance processing unit, 5-16 represents an attribute information setting unit, and 5-17 represents an attribute information output unit.

所望する個別文書、例えば個々の現に作成しようとする
オフィス文書や技術文書や報告書や案内書や説明書や技
術マニアルなどの個別文書は、一般に、文書名,表紙,
第1章,第1.1節,第1.2節,…,第2章,…の如く階層
構造をもつ。本発明の場合には、個別文書の上記階層構
造(木構造)に注目して、当該階層構造に対応した論理
構造を構造体として記述した構造文書6−iをもつよう
にされる。そして、当該構造文書6−iによって、当該
個別文書の内容が格納されている文書ファイル2−1,2
−2,…を指示するようにされる。
The desired individual documents, such as individual office documents, technical documents, reports, guidebooks, manuals, technical manuals, etc., which are actually to be created, generally include the document name, cover,
It has a hierarchical structure as in Chapter 1, Section 1.1, Section 1.2, ..., Chapter 2 ,. In the case of the present invention, attention is paid to the hierarchical structure (tree structure) of the individual document, and the structured document 6-i is described in which the logical structure corresponding to the hierarchical structure is described as a structure. Then, according to the structural document 6-i, the document files 2-1 and 2 in which the contents of the individual document are stored
−2,… is instructed.

文書処理機能部5は、日本語文書処理機構やグラフ処理
機構などの文書処理ソフトウェア群を用いて、上記個別
文書を作成したり修正したりする処理を行うものである
が、作成された個別文書の印刷出力等の際に必要となる
文書形式の属性情報についての設定・特定処理を実行す
る属性情報継承処理機能5−1を備えている。
The document processing function unit 5 uses a document processing software group, such as a Japanese document processing mechanism or a graph processing mechanism, to perform the process of creating or modifying the individual document. An attribute information inheritance processing function 5-1 for performing setting / specification processing of attribute information in the document format required for printing output of the above.

個別文書を印刷出力するに当っては、図示の構造文書6
−iにおける例えばノード(1.1節)#5やノード(1.2
節)#6やノード(2.1節)#7,…などの内容を印刷す
る際に、1行当たりの文字数や用紙サイズや文字ピッチ
や改行ピッチ等の文書形式の属性情報の指示を各個別文
書毎に、与えることが必要である。これから、構造文書
6−iにおける図示のノード#5,ノード#6,ノード#7,
ノード#8などにおける属性情報中に、文書形式に関し
ての属性情報を記述するようにされる。このとき、木構
造の上位に位置するノードと同一の文書形式(文書形式
の一部において同一こともある)の属性情報を継承する
ことになる下位のノードについては、属性情報の継承を
表す継承指定情報を記述するようにされる。
When printing out individual documents, the structural document 6 shown in the figure
For example, node (section 1.1) # 5 or node (1.2
Section) # 6 or node (Section 2.1) # 7, ..., etc. When printing the contents such as the number of characters per line, the document size attribute information such as paper size, character pitch, line feed pitch, etc. It is necessary to give each time. From now on, the illustrated node # 5, node # 6, node # 7 in the structure document 6-i,
The attribute information regarding the document format is described in the attribute information in the node # 8 and the like. At this time, the inheritance indicating the inheritance of the attribute information is given to the lower node that will inherit the attribute information of the same document format (may be the same in some document formats) as the node located at the upper level of the tree structure. The designated information is described.

属性情報継承処理機能5−1における受付処理部5−11
は、文書形式についての属性情報の設定要求や特定要求
を受け付ける。継承指定判別部5−12は、処理対象とな
る個別文書の文書形式についての属性情報が、具体的な
文書形式情報を記述しているのか、あるいは継承指定情
報を記述しているのかを判別する。継承先検出部5−13
は、文書形式の属性情報として継承指定情報が記述され
ているときに、木構造の下位に位置する継承先のすべて
のノードを検出する。継承元検出部5−14は、文書形式
の属性情報として継承指定情報が記述されているとき
に、木構造の上位に位置する継承元のノードを検出す
る。属性情報継承処理部5−15の属性情報設定部5−16
は、属性情報の設定要求があるときに、継承先検出部5
−13により検出されたノードに対して、指定のある文書
形式の属性情報を設定する。属性情報継承処理部5−15
の属性情報出力部5−17は、属性情報の特定要求がある
ときに、継承元検出部5−14により検出されたノードの
文書形式の属性情報を指定のあった個別文書に関しての
属性情報として特定する。
Reception processing unit 5-11 in the attribute information inheritance processing function 5-1
Accepts a request for setting attribute information about the document format or a specific request. The inheritance designation determination unit 5-12 determines whether the attribute information about the document format of the individual document to be processed describes specific document format information or inheritance designation information. . Inheritance detection unit 5-13
When the inheritance designation information is described as the attribute information of the document format, detects all the inheritance destination nodes located in the lower level of the tree structure. The inheritance source detection unit 5-14 detects an inheritance source node located at a higher position in the tree structure when the inheritance designation information is described as the attribute information in the document format. Attribute information setting unit 5-16 of attribute information inheritance processing unit 5-15
When there is a request for setting attribute information, the inheritance destination detection unit 5
Set the attribute information of the specified document format for the node detected by -13. Attribute information inheritance processing unit 5-15
The attribute information output unit 5-17 of the node outputs the attribute information in the document format of the node detected by the inheritance source detection unit 5-14 as the attribute information regarding the specified individual document when there is a request for specifying the attribute information. Identify.

〔作用〕[Action]

上述の如く用意された構造文書6−iは、各ノード毎
に、(i)自己のノードがどのような階層構造の中でど
のような位置を占めているかを示す情報、(ii)自己の
ノードがどの文書処理ソフトウェアと関連づけられてい
るかの情報、(iii)自己のノードがどの文書ファイル
2−1,2−2,…に格納されている文書内容と関連づけら
れているかの情報などを記述されているが、併せて、自
己のノードに関する属性情報が記述されている。当該属
性情報の1つとして、本発明の場合には、文書形式に関
しての属性情報が記述されている。
The structural document 6-i prepared as described above includes, for each node, (i) information indicating in what hierarchical structure the own node occupies, and (ii) own node. Information about which document processing software the node is associated with, (iii) Information about which document file 2-1-2-2, ... is associated with the document content of its own node However, the attribute information regarding the own node is also described. In the case of the present invention, as one of the attribute information, attribute information regarding the document format is described.

図示の受付処理部5−11により文書形式に関しての属性
情報の設定要求が受け付けられると、継承先検出部5−
13は、指定のあったノード(個別文書に対応する)の継
承先となっているノードのすべてを検出する。この検出
結果を受け取ると、属性情報設定部5−16は、受付処理
部5−11が受け付けた指定の属性情報を、これらのノー
ドに設定(すでに設定されているときには、更新という
ことになる)することで、文書形式の属性情報の設定処
理を実行する。
When the reception processing unit 5-11 shown in the figure receives a request for setting attribute information regarding the document format, the inheritance destination detection unit 5-
13 detects all the nodes that are the inheritance destinations of the designated node (corresponding to the individual document). Upon receiving this detection result, the attribute information setting unit 5-16 sets the designated attribute information received by the reception processing unit 5-11 in these nodes (if already set, it means updating). By doing so, the setting process of the attribute information of the document format is executed.

一方、受付処理部5−11により文書形式に関しての属性
情報の特定要求が受け付けられると、継承元検出部5−
14は、指定のあったノードの継承元となっているノード
を検出する。この検出結果を受け取ると、属性情報出力
部5−17は、この検出されたノードに設定されている文
書形式の属性情報を、出力要求のあったノードに関して
の属性情報として特定して、ディスプレイ画面等に出力
する。
On the other hand, when the acceptance processing unit 5-11 accepts the request for specifying the attribute information regarding the document format, the inheritance source detection unit 5-
14 detects the node that is the inheritance source of the designated node. Upon receiving this detection result, the attribute information output unit 5-17 specifies the attribute information of the document format set in the detected node as the attribute information regarding the node that has made the output request, and displays it on the display screen. And output to.

このように、本発明では、文書処理ソフトウェアを利用
しつつ所望する個別文書を作成できるようにするときに
あって、継承処理に従って文書形式に関しての属性情報
を設定するようにするので、これらの属性情報をいちい
ち各個別文書毎に設定することがなくなる。これから、
簡単に文書形式情報に関しての設定や変更ができるとと
もに、誤りもなくなることになる。
As described above, in the present invention, when it is possible to create a desired individual document while using the document processing software, the attribute information regarding the document format is set according to the inheritance process. There is no need to set information for each individual document. from now on,
You can easily set or change the document format information and eliminate errors.

〔実施例〕〔Example〕

第2図は本発明の実施例構成図を示す。図中の符号2A,2
B,…,2Xは個別文書の内容を保持する文書ファイル、3
は文書処理ソフトウェア群、5は文書処理機能部を表し
ている。また、10は構造化文書処理システムであって全
体を制御するもの、11は構造化文書ファイルの全体を表
している。なお文書処理フトウェア群3において、3−
1は日本語文書処理機構、3−2は線画処理機構、3−
3はイメージ処理機構、3−4は作表計算処理機構、3
−5はグラフ処理機構、3−6はリスト処理機構、3−
7は英語文書処理機構を表している。そして、本発明に
いう構造文書は夫々構造化文書ファイル11内に存在して
いる。
FIG. 2 shows a block diagram of an embodiment of the present invention. Symbols 2A, 2 in the figure
B, ..., 2X is a document file that holds the contents of individual documents, 3
Represents a document processing software group, and 5 represents a document processing function unit. Further, 10 is a structured document processing system for controlling the whole, and 11 is the whole structured document file. In the document processing software group 3, 3-
1 is a Japanese document processing mechanism, 3-2 is a line drawing processing mechanism, 3-
3 is an image processing mechanism, 3-4 is a tabulation calculation processing mechanism, 3
-5 is a graph processing mechanism, 3-6 is a list processing mechanism, 3-
Reference numeral 7 represents an English document processing mechanism. The structural documents referred to in the present invention exist in the structured document file 11, respectively.

文書処理ソフトウェア群3は、いわば従来から夫々個別
に存在していた例えば既存のソフトウェア群であっても
よい。そしてそれら既存のソフトウェア群に対応して存
在している夫々の既存のファイル(図示の文書ファイル
2A、線画ファイル2Bなど)が構造化文書ファイル11の下
に統一化される。当該統一化のためのまとめの役割をは
たすものが、個別文書に対応して用意される構造文書で
あると考えてよい。
The document processing software group 3 may be, for example, an existing software group that has been individually present in the past. Then, each existing file (document file shown in the figure) existing corresponding to the existing software group is present.
2A, line drawing file 2B, etc.) are unified under the structured document file 11. It can be considered that a structural document prepared corresponding to an individual document plays a role of a grouping for the unification.

文書処理機能部5は、構造化文書処理システム10の制御
の下で、日本語文書処理機構3−1や線画処理機構3−
2を適宜呼び出しては、所望する文書(なお当該所望す
る文書を個別文書と呼んでいる)を作成したり、修正し
たり、削除したりする。このとき、例えば日本語文書処
理機構3−1が働いて、上記個別文書の内容中の日本語
文を作成する場合には、当該作成される日本語文は例え
ば図示の文書ファイル2A中に作成される。また当該個別
文書の内容中の線画を作成する場合には、線画処理機構
3−2が発動されて、線画ファイル2B中に作成される。
Under the control of the structured document processing system 10, the document processing function unit 5 has a Japanese document processing mechanism 3-1 and a line drawing processing mechanism 3-.
2 is called as appropriate to create, modify, or delete a desired document (the desired document is called an individual document). At this time, for example, when the Japanese document processing mechanism 3-1 operates to create a Japanese sentence in the content of the individual document, the created Japanese sentence is created in the illustrated document file 2A, for example. . When creating a line drawing in the content of the individual document, the line drawing processing mechanism 3-2 is activated and created in the line drawing file 2B.

当該個別文書が、例えば、(i)表紙,(ii)第1章
…,(iii)第2章,…,(iv)参考文献の如き項目に
大別され、更に例えば上記第2章の内容が日本語文と線
画とを含む如き場合には、当該個別文書の階層構造を構
造体として与える「構造文書」を作成し、図示の構造化
文書ファイル11内に保持され、かつ当該文書の内容にも
とづいて上記文書ファイル2A,線画ファイル2B,…などの
所定の格納位置がリンクづけられる。
The individual documents are roughly classified into items such as (i) cover page, (ii) chapter 1 ..., (iii) chapter 2, ..., (iv) reference documents, and further, for example, the contents of the above-mentioned chapter 2. If the text includes a Japanese sentence and a line drawing, a “structured document” that gives the hierarchical structure of the individual document as a structure is created and stored in the illustrated structured document file 11 and the contents of the document are stored. Based on the above, predetermined storage positions of the document file 2A, the line drawing file 2B, ... Are linked.

このようにして、既存の文書処理機能を用いて作成され
た文書が、1つ1つの個別文書毎に、上記構造文書の内
容にもとづいて統一化される。また当該構造文書の内容
にもとづいて、適宜、夫々個々の文書ファイル2A,2B,…
をアクセスすることが可能となる。
In this way, the documents created by using the existing document processing function are unified for each individual document based on the contents of the structural document. In addition, based on the contents of the structural document, the individual document files 2A, 2B, ...
Can be accessed.

第3図は本発明の一部要部構成図を示す。図中の符号1
は文書、1−iは個別文書、2−1,2−2,…は個別文書
の内容を保持する文書ファイル、3−1,3−2,…は夫々
文書処理ソフトウェア群、4は上述の個別文書に対応す
る構造文書を作成するに当っていわばひな型として用い
られる構造文書定義、5は個別文書処理を実行する文書
処理機能部、6は構造文書、7は文書内容を保持する文
書保持機能部を表している。
FIG. 3 is a partial schematic diagram of the present invention. Reference numeral 1 in the figure
Is a document, 1-i is an individual document, 2-1, 2-2, ... Is a document file that holds the contents of the individual document, 3-1, 3-2 ,. A structure document definition used as a template for creating a structure document corresponding to an individual document, 5 is a document processing function unit for executing individual document processing, 6 is a structure document, and 7 is a document holding function for holding document contents. Represents a part.

文書1としては、例えば論文や報告書や手紙や技術マニ
アルなどが存在しているが、或る種類の文書例えば論文
に対応して、当該論文についての典型的な階層構造を構
造体として記述した構造文書定義4が用意される。
As the document 1, for example, a paper, a report, a letter, a technical manual, etc. exist, but a typical hierarchical structure of the paper is described as a structure corresponding to a certain kind of document, for example, a paper. A structural document definition 4 is prepared.

当該構造文書定義4は、各種の文書毎に用意されている
と考えてよく、例えば図示の文書,表紙,1章,1.1節,…
の如く木構造に展開されたノード(#1,#2,…)をそな
えている。各ノード(#1,#2,…)には、後述する如
く、木構造に関する情報や、使用されるソフトウェア
や、印刷を行う際における文書形式に関する情報などの
属性情報が記述されている。
It can be considered that the structural document definition 4 is prepared for each of various documents. For example, the illustrated document, the cover, the chapter 1, section 1.1, ...
It has nodes (# 1, # 2, ...) Expanded into a tree structure like this. As will be described later, each node (# 1, # 2, ...) Describes attribute information such as information about a tree structure, software used, and information about a document format at the time of printing.

文書処理ソフトウェア群3−1,3−2,…には、上記各ノ
ードに対応する処理を実行する上で使用されるソフトウ
ェアが保持されている。
The document processing software group 3-1, 3-2, ... Holds software used for executing the processing corresponding to each node.

文書処理機能部5は、個別文書を作成するに当って、当
該個別文書1−iに対応する内容を作成し、夫々文書フ
ァイル2−1,2−2,…に格納してゆくが、このとき、上
記1つの構造文書定義4−jの内容に示されるノードに
対応づけて文書内容を作成する。このとき、必要に応じ
て、構造文書定義4−jに示されるノードについて部分
的に修正することがある。そして作成された個別文書1
−iについての構造文書6−iを作成して保持する。構
造文書6−iの木構造の例えば末端ノードにおいては、
対応する文書ファイル2の文書名が記述され、これによ
って構造文書6−iと個別文書1−iとがリンクづけら
れる。
When creating the individual document, the document processing function unit 5 creates the contents corresponding to the individual document 1-i and stores the contents in the document files 2-1, 2-2 ,. At this time, the document content is created in association with the node indicated by the content of the one structural document definition 4-j. At this time, the nodes shown in the structural document definition 4-j may be partially modified as needed. And created individual document 1
Create and hold a structural document 6-i for -i. For example, in the end node of the tree structure document 6-i,
The document name of the corresponding document file 2 is described, and the structural document 6-i and the individual document 1-i are linked by this.

第4図は第3図図示の構造文書の一実施例内容を示して
いる。図中の符号12−1は自己IDであって第3図図示の
構造文書6−iにおける各ノードのノードIDを表してい
る。12−2は親IDであって注目するノードの親となるノ
ードのID、12−3は先頭子IDであって注目するノードの
子となるノードの中で先頭に位置するもののID、12−4
は上IDであって注目するノードと同一階層に属するノー
ドであって直上に位置するもののID、12−5は同じく同
一階層に属するノードであって直下に位置するもののI
D、12−6は内容設定情報であって注目するノードにつ
いてその内容が既に設定されているか否かを指示するも
の、12−7は内容種別情報であって注目するノードにつ
いて使用されるソフトウェアを指示するもの、12−8は
文書ファイル名であって注目するノードについて内容が
設定された際に当該内容を格納する文書ファイルを指示
するもの、12−9は属性情報であって、注目するノード
について本発明にいう継承が行われるか否かなどの情報
を属性情報として与えるものを表している。このとき、
この属性情報12−9では、木構造の上位に位置するノー
ドと同一の属性情報を継承することになる下位のノード
については、属性情報の継承を表す継承指定情報が記述
されることになる。
FIG. 4 shows the contents of one embodiment of the structural document shown in FIG. Reference numeral 12-1 in the drawing is a self ID, which represents a node ID of each node in the structural document 6-i shown in FIG. 12-2 is a parent ID, which is the ID of the parent node of the node of interest, 12-3 is the head child ID, which is the ID of the node located at the head among the nodes that are children of the node of interest, 12- Four
Is an ID of an upper ID that belongs to the same layer as the node of interest and is located immediately above, and 12-5 is an ID of a node that also belongs to the same layer and located immediately below
D and 12-6 are content setting information that indicates whether or not the content has already been set for the node of interest. 12-7 is content type information that indicates the software used for the node of interest. 12-8 is a document file name, which indicates a document file that stores the content of a node of interest when the content of the node of interest is set, 12-9 is attribute information, and the node of interest Is given as attribute information such as information as to whether or not inheritance is performed in the present invention. At this time,
In this attribute information 12-9, inheritance designation information indicating the inheritance of attribute information is described for the lower nodes that will inherit the same attribute information as the nodes located higher in the tree structure.

なお、第4図において( )をつけた個所は、第3図図
示の構造文書定義4−jにて与えられる定義について個
別文書1−iに対応する構造文書6−iを作成するに当
って追加や修正が行われた個所を表している。
In addition, in FIG. 4, a portion with a parenthesis is used to create the structural document 6-i corresponding to the individual document 1-i for the definition given in the structural document definition 4-j shown in FIG. It shows the places where additions and modifications were made.

第4図における自ID#3について言えば、当該ノード#
3は、(i)親ノードがノード#1であり、(ii)先頭
の子ノードがノード#5であり、(iii)直上位ノード
がノード#2であり、(iv)直下位ノードがノード#4
であり、(v)未だ内容設定が行われてなく、(vi)使
用するソフトウエアが日本語文書処理機構であり、(vi
i)文書ファイルが未だ用意されてなく、(viii)所定
の属性情報若しくは継承指定情報が記述されていること
が明らかにされている。
Regarding the own ID # 3 in FIG. 4, the node #
In (3), (i) the parent node is the node # 1, (ii) the leading child node is the node # 5, (iii) the immediate upper node is the node # 2, and (iv) the immediate subordinate node is the node. # 4
And (v) the content has not been set yet, (vi) the software used is the Japanese document processing mechanism, and (vi)
It has been clarified that i) the document file has not been prepared yet, and (viii) predetermined attribute information or inheritance designation information is described.

第4図に示される「ファイル名」12−8によって、構造
文書6−iと該当する個別文書1−i(その内容)とが
連繋される。
The structural file 6-i and the corresponding individual document 1-i (its contents) are linked by the "file name" 12-8 shown in FIG.

第5図は文書処理機能部の文書処理ソフトウェアを利用
する部分の処理態様を示している。
FIG. 5 shows a processing mode of a portion of the document processing function unit that uses the document processing software.

文書処理機能部5は、構造文書6−i中の内容処理の対
象としているノードを選択する(処理)。例えば内容
についての作成が指令されているとすると(処理)、
当該ノードについての「内容種別」12−7の内容をチェ
ックする(処理)。使用するソフトウェアが例えば日
本語文書処理機構3−1であれば当該ソフトウェアを用
いて処理が行われる。即ち今の場合には文書作成が行わ
れ、第4図図示の「ファイル名」12−8内に、文書内容
を格納したファイルの名前が記述される。
The document processing function unit 5 selects a node targeted for content processing in the structural document 6-i (processing). For example, if the creation of contents is instructed (processing),
The content of "content type" 12-7 for the node is checked (processing). If the software used is, for example, the Japanese document processing mechanism 3-1, the software is used to perform the processing. That is, in this case, the document is created, and the name of the file storing the document contents is described in the "file name" 12-8 shown in FIG.

次に、文書形式の属性情報を設定・変更するための設定
処理と、設定されている文書形式の属性情報が如何なる
ものであるのかを特定するための特定処理について説明
する。
Next, a setting process for setting / changing the document format attribute information and a specifying process for specifying what the set document format attribute information is will be described.

第4図の構造文書の実施例でも説明したように、構造文
書の各ノードは、文書形式に関しての属性情報を管理す
る。この属性情報の管理は、上位ノードからの属性情報
を継承しないときには、属性情報そのものを管理し、逆
に、上位ノードからの属性情報を継承するときには、属
性情報の継承を表す継承指定情報を管理することにな
る。第6図に、この継承関係の一実施例を示す。この実
施例では、ノード#2(第1章)とノード#4(表題
1)とノード#5(本文1)とが、ノード#1(論文)
の文書形式の属性情報を継承すべく継承指定情報を管理
し、ノード#3(第2章)とノード#6(表題2)とノ
ード#7(本文2)とが、ノード#1(論文)の文書形
式の属性情報を継承せずに、属性情報そのものを管理す
る例を示してある。そして、本発明では、このような継
承関係にある上位のノードの属性情報が設定(更新)さ
れるときには、それに連動させて下位のノードの属性情
報の設定(更新)を自動的に実行するという構成を採る
ことになる。
As described in the embodiment of the structure document in FIG. 4, each node of the structure document manages the attribute information regarding the document format. This attribute information management manages the attribute information itself when the attribute information from the upper node is not inherited, and conversely manages the inheritance designation information indicating the inheritance of the attribute information when inheriting the attribute information from the upper node. Will be done. FIG. 6 shows an example of this inheritance relationship. In this embodiment, node # 2 (Chapter 1), node # 4 (title 1), node # 5 (text 1), node # 1 (paper)
The inheritance designation information is managed so as to inherit the attribute information in the document format of node # 3 (Chapter 2), node # 6 (title 2), node # 7 (text 2), and node # 1 (paper) In this example, the attribute information itself is managed without inheriting the attribute information in the document format. In the present invention, when the attribute information of the upper node having such an inheritance relationship is set (updated), the attribute information of the lower node is automatically set (updated) in synchronization with the attribute information. The configuration will be adopted.

すなわち、第6図の例で具体的に説明するならば、ノー
ド#1(論文)の属性情報である行当たりの文字数を50
文字から40文字に変更すると、第7図に示すように、ノ
ード#1(論文)の継承先となっているノード#2(第
1章)、ノード#4(表題1)及びノード#5(本文
1)の属性情報の行当たりの文字数は、それまでの50文
字から40文字に自動的に変更されることになるのに対し
て、ノード#1(論文)の継承先となっていないノード
#3(第2章)、ノード#6(表題2)及びノード#7
(本文2)の属性情報の行当たりの文字数は、それまで
の30文字が保持されることになるのである。
That is, to explain more concretely in the example of FIG. 6, the number of characters per line which is the attribute information of the node # 1 (paper) is 50.
When the characters are changed to 40 characters, as shown in FIG. 7, node # 2 (Chapter 1), node # 4 (title 1), and node # 5 (node 1), which are the inheritance destinations of node # 1 (paper), The number of characters per line of the attribute information in the text 1) will be automatically changed from the previous 50 characters to 40 characters, whereas the node that is not the inheritance destination of node # 1 (paper) # 3 (Chapter 2), Node # 6 (Title 2) and Node # 7
As for the number of characters per line of the attribute information in (text 2), the previous 30 characters are retained.

第8図に、特許出願の明細書文書を例にしながら、この
ような属性情報の管理形態をとる構造文書により管理さ
れる文書についての印刷結果を図示する。
FIG. 8 shows a print result of a document managed by a structural document having such a management form of attribute information, taking a specification document of a patent application as an example.

次に、設定されている文書形式の属性情報の特定処理に
ついて説明する。
Next, the process of identifying the attribute information of the set document format will be described.

属性情報として継承指定情報を管理しているノードに対
して、ユーザから、そのノードの属性情報の表示要求が
あるような場合を想定する。継承指定情報を管理してい
るノードでは、具体的な属性情報を管理していないので
(具体的な属性情報を併せて管理する構成を採ることも
可能である)、このような場合には、上位のノードを辿
って具体的な属性情報を管理する継承元のノードを検出
し、そして、この検出された継承元のノードが管理する
属性情報を要求のあった属性情報として表示するよう処
理することになる。
It is assumed that the user requests the node that manages the inheritance designation information as the attribute information to display the attribute information of the node. Since the node that manages the inheritance designation information does not manage the specific attribute information (it is also possible to adopt a configuration in which the specific attribute information is also managed), in such a case, Detects an inheritance source node that manages specific attribute information by tracing the upper nodes, and processes the attribute information managed by the detected inheritance source node as the requested attribute information. It will be.

第9図に、このときの処理内容を図示する。第9図
(a)は構造文書の論理構造を図示するものであり、第
9図(b)はこの構造文書の各ノードの属性情報の管理
状態(「継承」と記述されているノードが継承指定情報
を管理し、「設定」と記述されているノードが具体的な
属性情報を管理している)を図示するものであり、第9
図(c)はノード5に対して属性情報の表示要求がなさ
れたときに実行されるフローチャートを図示するもので
ある。このフローチャートに示すように、ノード5に対
して「枠組み」に関しての属性情報の表示要求があると
きには、先ず最初にノード5に継承指定情報が記述され
ているのか否かを判断して、継承指定情報が記述されず
に具体的な属性情報が管理されているときには、その属
性情報がノード5の属性情報であると判断して表示する
よう処理し、逆に、継承指定情報が記述されているとき
には、継承元のノードであるノード1まで辿って、その
ノード1の「枠組み」についての具体的な属性情報を表
示することで、ノード5に設定されている属性情報の表
示の実現を図るのである。
FIG. 9 shows the processing contents at this time. FIG. 9 (a) shows the logical structure of the structural document, and FIG. 9 (b) shows the management state of the attribute information of each node of this structural document (the node described as "inherit" is inherited). 9 manages the designated information, and the node described as “setting” manages the specific attribute information).
FIG. 6C illustrates a flowchart executed when a display request for attribute information is made to the node 5. As shown in this flowchart, when the node 5 is requested to display the attribute information regarding the "framework", it is first determined whether or not the inheritance designation information is described in the node 5, and the inheritance designation is performed. When specific attribute information is managed without being described, it is determined that the attribute information is the attribute information of the node 5 and displayed, and conversely, inheritance designation information is described. At times, it is possible to display the attribute information set in the node 5 by tracing the node 1 that is the inheritance source node and displaying the specific attribute information about the “framework” of the node 1. is there.

構造文書のノードに対して分割要求があるときに、分割
されるノードが継承指定情報を管理するものであるとき
には、属性情報の表示要求の処理と同様に、上位のノー
ドを辿って具体的な属性情報を管理する継承元のノード
を検出し、そして、この検出された継承元のノードの属
性情報を分割されるノードに設定していく処理を行う必
要がある。
When a split request is made to a node of a structural document and the split node manages inheritance designation information, the upper node is traced to a specific node in the same manner as the attribute information display request processing. It is necessary to detect the inheritance source node that manages the attribute information, and set the attribute information of the detected inheritance source node to the divided nodes.

第10図に、このときの処理内容を図示する。第10図
(a)は構造文書の論理構造を図示するものであり、第
10図(b)はこの論理構造のノード3に対して分割要求
がなされたときに実行されるフローチャートを図示する
ものである。このフローチャートに示すように、ノード
3に対して分割要求があるときには、先ず最初にノード
3に継承指定情報が記述されているのか否かを判断し
て、継承指定情報が記述されずに具体的な属性情報が管
理されているときには、そのまま分割の処理に入るよう
にし、逆に、継承指定情報が記述されているときには、
継承元のノードであるノード1まで辿って、そのノード
1の具体的な属性情報を分割に際してノード3に設定す
る処理を実行することになる。このようにして、分割後
に必要となる具体的な属性情報を得ることができるよう
になるのである。
FIG. 10 illustrates the processing content at this time. FIG. 10 (a) illustrates the logical structure of a structural document.
FIG. 10 (b) shows a flowchart executed when a division request is made to the node 3 of this logical structure. As shown in this flow chart, when there is a division request to the node 3, first, it is judged whether or not the inheritance designation information is described in the node 3, and the inheritance designation information is not described in a concrete manner. When such attribute information is managed, the process of splitting is started as it is. On the contrary, when the inheritance designation information is described,
The process of setting the specific attribute information of the node 1 in the node 3 at the time of division is executed by tracing up to the inheritance source node 1. In this way, the specific attribute information required after division can be obtained.

作成する文書の容量が大きくなると、複数のユーザが自
分の担当の文書を作成した後に、文書を統合していくと
いう、いわば統合処理が行われることになる。このよう
なときには、ノードの置き換えが実行されることになる
ので、これに整合させて、属性情報の置き換え処理を実
行していくことになる。
When the capacity of a document to be created becomes large, a plurality of users create their own documents and then integrate the documents, which is a so-called integration process. In such a case, the node replacement will be executed, and the attribute information replacement process will be executed in conformity with this.

第11図に、このときの処理内容を図示する。第11図
(a)は統合化される構造文書の論理構造を図示するも
のであり、第11図(b)はこのとき実行されるフローチ
ャートを図示するものである。この図に示すように、ノ
ードの置き換えに整合させて、それまで継承指定情報を
管理していたものが、具体的な属性情報を管理していく
よう処理されることになる。
FIG. 11 illustrates the processing content at this time. FIG. 11 (a) illustrates the logical structure of the integrated structural document, and FIG. 11 (b) illustrates the flowchart executed at this time. As shown in this figure, in accordance with the node replacement, what has been managing the inheritance designation information until then is processed to manage the concrete attribute information.

〔発明の効果〕〔The invention's effect〕

以上説明した如く、本発明によれば、複数の夫々の文書
処理機能で作成した文書ファイルの内容を、構造化文書
の形で統一するようにしており、既存のOA資源を適宜利
用してゆくことが可能となる。そして、作成された構造
化文書により管理されている文書の出力の際に必要とな
る文書形式の属性情報についての設定処理を、継承処理
に従って、簡単かつ誤りなく実現できるようになるので
ある。
As described above, according to the present invention, the contents of document files created by a plurality of respective document processing functions are unified in the form of a structured document, and existing OA resources are appropriately used. It becomes possible. Then, the setting process for the attribute information in the document format, which is necessary when outputting the document managed by the created structured document, can be easily realized without any error according to the inheritance process.

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

第1図は本発明の原理構成図、 第2図は本発明の実施例構成図、 第3図は一部要部構成図、 第4図は構造文書の内容、 第5図は文書処理機能部の処理態様、 第6図は属性情報の継承関係の一実施例図、 第7図は属性情報の更新処理の説明図、 第8図は印刷出力の一例の説明図、 第9図、第10図及び第11図は本発明の処理の説明図であ
る。 図中、1は文書、1−iは個別文書、2は文書ファイ
ル、3は文書処理ソフトウェア群、4は構造文書定義、
5は文書処理機能部、5−1は属性情報継承処理機能、
5−12は継承指定判別部、5−13は継承先検出部、5−
14は継承元検出部、5−15は属性情報継承処理部、5−
16は属性情報設定部、5−17は属性情報出力部、6は構
造文書、7は文書保持機能部、10は構造化文書処理シス
テム、11は構造化文書ファイルを表す。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a partial block diagram of a main portion, FIG. 4 is the contents of a structural document, and FIG. 5 is a document processing function. FIG. 6 is an example of an inheritance relationship of attribute information, FIG. 7 is an explanatory diagram of attribute information update processing, FIG. 8 is an explanatory diagram of an example of printed output, FIG. 9, FIG. 10 and 11 are explanatory views of the processing of the present invention. In the figure, 1 is a document, 1-i is an individual document, 2 is a document file, 3 is a document processing software group, 4 is a structural document definition,
5 is a document processing function unit, 5-1 is an attribute information inheritance processing function,
5-12 is an inheritance designation determination unit, 5-13 is an inheritance destination detection unit, 5-
Reference numeral 14 is an inheritance source detection unit, 5-15 is an attribute information inheritance processing unit, 5-
Reference numeral 16 is an attribute information setting unit, 5-17 is an attribute information output unit, 6 is a structure document, 7 is a document holding function unit, 10 is a structured document processing system, and 11 is a structured document file.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】1つまたは複数種類の文書について当該文
書の内容を夫々文書ファイル(2)上に格納すると共に、
上記夫々の文書に対する処理を行う文書処理ソフトウェ
ア群(3)を有する文書処理システムにおいて、 上記文書処理ソフトウェア群(3)として、日本語文書処
理機構(3−1)を含む複数の文書処理ソフトウェア
(3−i)が用いられると共に、 当該文書処理ソフトウェア(3−i)によって作成され
た文書が夫々上記文書ファイル(2)上に格納されて利用
されるよう構成されてなり、 かつ上記文書処理ソフトウェア群(3)の少なくとも1つ
を利用しつつ個別文書(1−i)を作成する処理を含む
個別文書処理を実行する文書処理機能部(5)を備えると
共に、 上記夫々の個別文書に対応して、当該個別文書における
階層構造に対応した論理構造を構造体として記述した構
造文書を保持する構造化文書ファイル(11)を備え、 上記構造文書が上記個別文書(1−i)を保持する文書
ファイル(2)とリンクするリンク情報を記述されて、上
記構造文書(6−i)と上記個別文書(1−i)とが関
連づけられて保持され、かつ個々の上記個別文書(1−
i)の文書形式の属性情報、あるいは該属性情報の継承
指定情報が記述されてなり、 上記文書処理機能部(5)が、上記属性情報か上記継承指
定情報のいずれの記述があるのかを判別する継承指定判
別部(5−12)と、該継承指定判別部(5−12)の判別
結果に従い、継承処理により属性情報の設定を実行し、
あるいは継承処理により割り付けられている属性情報の
特定を実行する属性情報継承処理部(5−15)とを備え
ることを、 特徴とする構造化文書処理システムにおける属性情報処
理方式。
1. The contents of one or more types of documents are respectively stored in the document file (2), and
In the document processing system having the document processing software group (3) for processing the respective documents, a plurality of document processing software including a Japanese document processing mechanism (3-1) is provided as the document processing software group (3). 3-i) is used, and the documents created by the document processing software (3-i) are stored and used in the document file (2), respectively, and the document processing software is used. A document processing function unit (5) for executing an individual document process including a process of creating an individual document (1-i) while using at least one of the group (3) is provided, and the document processing function unit (5) corresponds to each of the individual documents. And a structured document file (11) holding a structured document in which a logical structure corresponding to the hierarchical structure in the individual document is described as a structure, and the structured document is the individual document. 1-i) is described, link information for linking to the document file (2) holding the 1-i) is described, the structural document (6-i) and the individual document (1-i) are held in association with each other, and Individual document (1-
i) Document format attribute information or inheritance designation information of the attribute information is described, and the document processing function unit (5) determines whether the attribute information or the inheritance designation information is described. According to the inheritance designation determining unit (5-12) and the determination result of the inheritance designation determining unit (5-12), the attribute information is set by the inheritance process,
Alternatively, an attribute information processing method in a structured document processing system characterized by comprising an attribute information inheritance processing unit (5-15) for specifying the attribute information assigned by the inheritance processing.
JP1047655A 1989-02-28 1989-02-28 Attribute information processing method in structured document processing system Expired - Fee Related JPH0715679B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1047655A JPH0715679B2 (en) 1989-02-28 1989-02-28 Attribute information processing method in structured document processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1047655A JPH0715679B2 (en) 1989-02-28 1989-02-28 Attribute information processing method in structured document processing system

Publications (2)

Publication Number Publication Date
JPH038076A JPH038076A (en) 1991-01-16
JPH0715679B2 true JPH0715679B2 (en) 1995-02-22

Family

ID=12781271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1047655A Expired - Fee Related JPH0715679B2 (en) 1989-02-28 1989-02-28 Attribute information processing method in structured document processing system

Country Status (1)

Country Link
JP (1) JPH0715679B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2834591B2 (en) * 1991-03-15 1998-12-09 キヤノン株式会社 Document processing apparatus and method
JP5389072B2 (en) * 2011-02-17 2014-01-15 キヤノン株式会社 Information processing apparatus and program
JP5643866B2 (en) * 2013-03-11 2014-12-17 キヤノン株式会社 Information processing apparatus and method and program thereof

Also Published As

Publication number Publication date
JPH038076A (en) 1991-01-16

Similar Documents

Publication Publication Date Title
US6335795B1 (en) Method for customizing print attribute choices based on selected model, media, and printer
US5872569A (en) Apparatus and method for programming and/or controlling output of a job in a document processing system
US6981207B1 (en) Automatic documentation of configurable systems by outputting explanatory information of configuration parameters in a narrative format and configuration parameters differences
US5760775A (en) Apparatus and method for programming a job ticket in a document processing system
US7099869B1 (en) Method and apparatus for managing file extensions in a digital processing system
US20070061751A1 (en) Integrating charts in documents
JP2000222495A (en) Form editing method and apparatus, and storage medium storing computer readable program
JPH08227415A (en) Document editing device
JPH07239850A (en) Structured document creation support system
JPH0715679B2 (en) Attribute information processing method in structured document processing system
US20060206789A1 (en) Method and system for automatic documentation of configurable systems
WO2005098663A1 (en) Information management device
JP2523289B2 (en) Display method in software development support system
JP2002083254A (en) Document preparation system
JPH0715682B2 (en) Partial print processing method in structured document processing system
JPH0715681B2 (en) A structured document processing system that can divide and integrate tree structures
JP3696896B2 (en) Document processing apparatus and method
JP2013178650A (en) Apparatus for creating structured data file for software development
WO2005098698A1 (en) Document processing device
JP2002109166A (en) Document approval system
JPH0715686B2 (en) Document Input Method for Structured Document Processing System
JPH0715687B2 (en) Structured document processing system
JPH08241306A (en) Document processor
JPH02297174A (en) Header data holding processing system in structurizing document processing system
JPS6337460A (en) Document editing method

Legal Events

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