JPH0736864A - Word processor and its method - Google Patents

Word processor and its method

Info

Publication number
JPH0736864A
JPH0736864A JP5179233A JP17923393A JPH0736864A JP H0736864 A JPH0736864 A JP H0736864A JP 5179233 A JP5179233 A JP 5179233A JP 17923393 A JP17923393 A JP 17923393A JP H0736864 A JPH0736864 A JP H0736864A
Authority
JP
Japan
Prior art keywords
document
content
document element
management information
shared
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5179233A
Other languages
Japanese (ja)
Other versions
JP3696896B2 (en
Inventor
Tadashi Yamakawa
正 山川
Masaaki Nagashima
正明 長島
Akihiro Kono
章博 河野
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP17923393A priority Critical patent/JP3696896B2/en
Priority to EP00201889A priority patent/EP1047002A3/en
Priority to EP94305280A priority patent/EP0635794B1/en
Priority to DE69426615T priority patent/DE69426615T2/en
Priority to US08/277,005 priority patent/US5778398A/en
Publication of JPH0736864A publication Critical patent/JPH0736864A/en
Priority to US09/612,575 priority patent/USRE42509E1/en
Application granted granted Critical
Publication of JP3696896B2 publication Critical patent/JP3696896B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a word processor allowing plural document elements to share the same contents in accordance with respective document structure while holding consistency with a change in contents. CONSTITUTION:The word processor for managing plural documents each of which includes plural document elements is provided with a step S602 for specifying a document element having contents to be shared with the 2nd document and separating the contents of the specified document element from the 1st document, a step 603 for defining the contents of the separated document element so as to be referred to from the 1st document as the contents of the specified document element and a step S604 for defining the contents of the separated document element so as to be referred to from the 2nd document as the contents of a prescribed document element in the 2nd document.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の文書要素を含む
文書を複数管理する文書処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus which manages a plurality of documents including a plurality of document elements.

【0002】[0002]

【従来の技術】従来、ある文書の内容を他の文書の内容
として定義付けする方法として、カットアンドペースト
を行なっていた。例えば、いくつかの論文があって、そ
の抄録を作成するような場合について考える。図2に論
文型の文書データ、図3に抄録型の文書データを示す。
これらは、SGMLの記述方法に従っており、文書要素
は、文書要素開始記号“〈xxx〉”で始まり、文書要
素終了記号“〈/xxx〉”で終了する。ここで、文字
列“xxx”には、その文書要素の文書要素名がはい
る。文書要素開始記号と文書要素終了記号の間にある文
字列が、文書要素内容である。以後、本発明では、文書
要素とは、文書要素名と文書要素内容から構成されてい
るものとする。ただし、その他の2次情報が入っていて
もさしつかえない。ここで、図3の抄録型文書の文書要
素〈itemparagraph〉の内容に、図2の論
文型文書の文書要素〈abstract〉の内容をその
まま持って来ようとした場合、まず、文書要素〈ite
mparagraph〉の内容「わかよたれそ。」を消
去して、その場所に、文書要素〈abstract〉の
内容をカットアンドペーストして、貼りつけていた。
2. Description of the Related Art Conventionally, cut-and-paste has been performed as a method of defining the contents of a document as the contents of another document. For example, consider the case where there are several papers and an abstract is created. FIG. 2 shows the article-type document data, and FIG. 3 shows the abstract-type document data.
These follow the SGML description method, and the document element starts with the document element start symbol “<xxx>” and ends with the document element end symbol “</ xxx>”. Here, the character string “xxx” includes the document element name of the document element. The character string between the document element start symbol and the document element end symbol is the document element content. Hereinafter, in the present invention, the document element is assumed to be composed of the document element name and the document element content. However, it does not matter if other secondary information is included. Here, if the content of the document element <abstract> of the thesis-type document of FIG. 2 is to be directly brought to the content of the document element <itemparamgraph> of the abstract-type document of FIG. 3, first, the document element <ite
The content of “maragraph>” was deleted, and the content of the document element <abstruct> was cut and pasted and pasted at that location.

【0003】あるいは、ハイパーテキストのような例も
ある。これは、他の文書データの内容にリンクをはるこ
とにより実現する。例えば、リンクがはられた所に、図
4にあるように、ボタン47を埋め込む。そのボタン4
7をクリックすると、別ウインドウが現れ、リンクがは
られた他の文書データの内容を表示するものである。
Alternatively, there is an example such as hypertext. This is realized by linking the contents of other document data. For example, a button 47 is embedded at the place where the link is made, as shown in FIG. The button 4
When 7 is clicked, another window appears and the contents of other linked document data are displayed.

【0004】[0004]

【発明が解決しようとしている課題】しかし、カットア
ンドペーストの方法だと、共通する部分を論文、抄録の
どちらか片方で修正した時に、他方でも改めて修正しな
ければならなくなる。これは、効率的ではないし、また
修正し忘れると、論文と抄録が統一性のとれないものに
なってしまうという欠点がある。
However, in the cut-and-paste method, when the common part is corrected in one of the paper and the abstract, the other must be corrected again. This is not efficient and has the drawback that if you forget to correct it, the paper and abstract will be inconsistent.

【0005】また、リンクを貼る方法は、上記問題点は
解決するものの、画面上に文書データを表示するには、
ボタンをクリックし、別ウインドウに表示するので、多
重に共有しているような場合、ウインドウの数が多くな
り、画面上が煩雑になるという欠点がある。
Although a method of attaching a link solves the above problems, in order to display document data on the screen,
Since the button is clicked and displayed in another window, there is a drawback that the number of windows becomes large and the screen becomes complicated when shared in multiple.

【0006】また、これは文書データをレイアウトを含
めて共有を行なっているので、文書毎にレイアウトを変
更して表示することができず、文書のコンテキストにあ
ったレイアウトができないという問題点もある。
In addition, since the document data including the layout is shared, the layout cannot be changed and displayed for each document, and a layout suitable for the context of the document cannot be obtained. .

【0007】[0007]

【課題を解決するための手段】上記課題を解決するため
に、本発明によれば、複数の文書要素を含む文書を複数
管理する文書処理装置に、第1の文書の複数の文書要素
より、第2の文書と共有すべき内容を持つ文書要素を指
定する指定手段と、該指定手段により指定された文書要
素の内容を、前記第1の文書より分離させる分離手段
と、該分離手段により分離された文書要素の内容が前記
指定された文書要素の内容として前記第1の文書から参
照されるように定義する第1の定義手段と、前記分離手
段により分離された文書要素の内容が前記第2の文書の
所定の文書要素の内容として前記第2の文書から参照さ
れるように定義する第2の定義手段とを備える。
In order to solve the above-mentioned problems, according to the present invention, a document processing apparatus for managing a plurality of documents including a plurality of document elements is provided with a plurality of document elements of a first document. Designating means for designating a document element having content to be shared with the second document, separating means for separating the content of the document element designated by the designating means from the first document, and separating by the separating means. First defining means for defining the content of the specified document element so as to be referred to from the first document as the content of the designated document element, and the content of the document element separated by the separating means is the first Second definition means for defining the content of a predetermined document element of the second document so that the second document refers to the content.

【0008】また、本発明の他の態様によれば、各文書
が複数の文書要素を含む複数の文書を、各文書に管理情
報を設定して管理する文書処理装置に、第1の文書の複
数の文書要素より、第2の文書と共有すべき内容を持つ
文書要素を指定する指定手段と、該指定手段により指定
された文書要素に対して新たな管理情報を設定する設定
手段と、前記指定手段により指定された文書要素を、前
記第1の文書要素に対する管理情報に代えて、前記設定
手段により設定された管理情報により管理するように制
御する制御手段と、前記第1の文書において、前記指定
された文書要素の内容として、前記設定手段により設定
された管理情報の管理内容を参照するように定義する第
1の定義手段と、前記第2の文書において、所定の文書
要素の内容として、前記設定手段により設定された管理
情報の管理内容を参照するように定義する第2の定義手
段とを備える。
According to another aspect of the present invention, a document processing apparatus that manages a plurality of documents, each document including a plurality of document elements, by setting management information in each document, stores the first document Designating means for designating a document element having a content to be shared with the second document from a plurality of document elements; setting means for setting new management information for the document element designated by the designating means; In the first document, control means for controlling the document element designated by the designating means to be managed by the management information set by the setting means instead of the management information for the first document element, As the content of the designated document element, the first definition means that defines the management content of the management information set by the setting means, and the content of a predetermined document element in the second document And a second definition means for defining as referring to the management contents of the management information set by the setting unit.

【0009】また、本発明の他の態様によれば、複数の
文書要素を含む文書を複数管理する文書処理装置におい
て、第1の文書の複数の文書要素より、第2の文書と共
有すべき内容を持つ文書要素を指定し、該指定された文
書要素の内容を、前記第1の文書より分離させ、該分離
された文書要素の内容が前記指定された文書要素の内容
として前記第1の文書から参照されるように定義し、前
記分離された文書要素の内容が前記第2の文書の所定の
文書要素の内容として前記第2の文書から参照されるよ
うに定義する文書処理方法を特徴とする。
According to another aspect of the present invention, in a document processing apparatus that manages a plurality of documents including a plurality of document elements, the plurality of document elements of the first document should be shared with the second document. A document element having content is designated, the content of the designated document element is separated from the first document, and the content of the separated document element is used as the content of the designated document element. A method of processing a document, wherein the content of the separated document element is defined to be referred to from a document, and the content of the separated document element is defined to be referred to from the second document as the content of a predetermined document element of the second document. And

【0010】また、本発明の他の態様によれば、各文書
が複数の文書要素を含む複数の文書を、各文書に管理情
報を設定して管理する文書処理装置において、第1の文
書の複数の文書要素より、第2の文書と共有すべき内容
を持つ文書要素を指定し、該指定された文書要素に対し
て新たな管理情報を設定し、前記指定された文書要素
を、前記第1の文書要素に対する管理情報に代えて、前
記設定された管理情報により管理するように制御し、前
記第1の文書において、前記指定された文書要素の内容
として、前記設定された管理情報の管理内容を参照する
ように定義し、前記第2の文書において、所定の文書要
素の内容として、前記設定された管理情報の管理内容を
参照するように定義する文書処理方法を特徴とする。
According to another aspect of the present invention, in a document processing apparatus that manages a plurality of documents, each document including a plurality of document elements, by setting management information in each document, A document element having a content to be shared with the second document is designated from a plurality of document elements, new management information is set for the designated document element, and the designated document element is set to the first document element. Instead of the management information for one document element, control is performed so that the management is performed by the set management information, and the set management information is managed as the content of the designated document element in the first document. The document processing method is characterized in that the content is defined so as to be referred to, and that the management content of the set management information is defined as the content of a predetermined document element in the second document.

【0011】[0011]

【作用】かかる本発明の構成おいて、複数の文書要素を
含む文書を複数管理する文書処理装置において、第1の
文書の複数の文書要素より、第2の文書と共有すべき内
容を持つ文書要素を指定し、該指定された文書要素の内
容を、前記第1の文書より分離させ、該分離された文書
要素の内容が前記指定された文書要素の内容として前記
第1の文書から参照されるように定義し、前記分離され
た文書要素の内容が前記第2の文書の所定の文書要素の
内容として前記第2の文書から参照されるように定義す
る。
According to the structure of the present invention, in a document processing apparatus for managing a plurality of documents including a plurality of document elements, a document having a content to be shared with a second document from a plurality of document elements of the first document An element is designated, the content of the designated document element is separated from the first document, and the content of the separated document element is referenced from the first document as the content of the designated document element. And the content of the separated document element is referred to by the second document as the content of a predetermined document element of the second document.

【0012】また、第1の文書の複数の文書要素より、
第2の文書と共有すべき内容を持つ文書要素を指定し、
該指定された文書要素に対して新たな管理情報を設定
し、前記指定された文書要素を、前記第1の文書要素に
対する管理情報に代えて、前記設定された管理情報によ
り管理するように制御し、前記第1の文書において、前
記指定された文書要素の内容として、、前記設定された
管理情報の管理内容を参照するように定義し、前記第2
の文書において、所定の文書要素の内容として、前記設
定された管理情報の管理内容を参照するように定義す
る。
Further, from the plurality of document elements of the first document,
Specify the document element that has the content to be shared with the second document,
Control so that new management information is set for the designated document element, and the designated document element is managed by the set management information instead of the management information for the first document element. Then, in the first document, the content of the designated document element is defined so as to refer to the management content of the set management information.
In this document, the management content of the set management information is defined so as to be referred to as the content of a predetermined document element.

【0013】[0013]

【実施例】【Example】

(実施例1)以下、添付図面を参照しながら、本発明の
実施例を詳細に説明する。
(Embodiment 1) Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

【0014】図1は、本発明の一実施例に係る文書処理
装置の基本構成を示すブロック図である。図中、1は文
字やコマンドを入力するためのキーボード、2は表示上
の範囲指定やメニュー選択などを行なうためのマウス、
3はプログラムに従って各種制御や処理を実行するため
のCPU、4はデータを表示するためのCRTである。
10はCPU3の実行すべきプログラムや各種データを
記憶するための記憶装置であり、20はプログラムやデ
ータを永続的に保持するための補助記憶装置であり、そ
れぞれバス9を介して接続されている。なお、記憶装置
10と補助記憶装置20を区別せず、プログラム・デー
タ保持用記憶装置として利用しても良い。
FIG. 1 is a block diagram showing the basic arrangement of a document processing apparatus according to an embodiment of the present invention. In the figure, 1 is a keyboard for inputting characters and commands, 2 is a mouse for designating a display range and selecting a menu,
Reference numeral 3 is a CPU for executing various controls and processes according to programs, and 4 is a CRT for displaying data.
Reference numeral 10 is a storage device for storing a program to be executed by the CPU 3 and various data, and 20 is an auxiliary storage device for permanently holding the program and data, which are connected to each other via a bus 9. . The storage device 10 and the auxiliary storage device 20 may be used as a program / data holding storage device without distinguishing between them.

【0015】記憶装置10には、複数の文書要素が共有
すべき内容を独立化させるための共有内容独立化プログ
ラムが格納されている。補助記憶装置20には、論文デ
ータ21と抄録データ22が格納されている。ここで
は、論文データ21は「art」というファイル名で、
抄録データ22は「abst」というファイル名で格納
されているものとする。
The storage device 10 stores a shared content independence program for making the contents to be shared by a plurality of document elements independent. The auxiliary storage device 20 stores article data 21 and abstract data 22. Here, the paper data 21 has a file name "art",
It is assumed that the abstract data 22 is stored under the file name "abst".

【0016】以下、図5のフローチャートに従って、本
実施例の動作手順を説明する。まず、ステップS501
で、src側とdst側の文書をウインドウ41上に表
示する。文書の選択は、ファイル名などを入力すること
によって行なう。ここでは、それぞれ、ファイル名「a
rt」、「abst」の文書が選択されたとする。
The operation procedure of this embodiment will be described below with reference to the flowchart of FIG. First, step S501
Then, the documents on the src side and the dst side are displayed on the window 41. A document is selected by inputting a file name or the like. Here, the file name "a
It is assumed that documents "rt" and "abst" are selected.

【0017】図7に、共有を行なう際のCRT4の表示
例を示す。図中、42は共有を指示するために表示され
る共有ボタン、43はマウスカーソルである。一つのウ
インドウ41に、src側とdst側の文書が表示され
る。例えばウインドウ41の上部には、src側文書で
ある図2の文書が、下部には、dst側文書である図3
の文書が表示される。次に、ステップS502でユーザ
に選択されたsrc側の文書要素を検出し、ステップS
503でユーザに選択されたdst側の文書要素を検出
する。これは、それぞれdst側の文書要素、src側
の文書要素をマウス2を用いてドラッギングにより選択
する。図8に、ドラッギングにより、src側の文書要
素内容を選択したときの表示例を示す。図の斜線部が選
択されて、網掛け表示される。ここまでの処理は、マル
チウインドウシステム上のSGML文書エディタ等の従
来の技術をもって実現可能である。
FIG. 7 shows a display example of the CRT 4 when sharing is performed. In the figure, 42 is a sharing button displayed for instructing sharing, and 43 is a mouse cursor. Documents on the src side and the dst side are displayed in one window 41. For example, in the upper part of the window 41, the document of FIG. 2 which is the src side document and in the lower part of the window 41 which is the dst side document.
Is displayed. Next, in step S502, the document element on the src side selected by the user is detected, and in step S
In step 503, the document element on the dst side selected by the user is detected. This selects the document element on the dst side and the document element on the src side by dragging with the mouse 2. FIG. 8 shows a display example when the document element contents on the src side are selected by dragging. The shaded area in the figure is selected and displayed in a shaded manner. The processing up to this point can be realized by a conventional technique such as an SGML document editor on a multi-window system.

【0018】次に、共有ボタン42がクリックされた
ら、ステップS504で、共有内容独立処理が起動す
る。この共有内容独立処理を図6のフローチャートを用
いて説明する。まず、ステップS601において、sr
c側で選択された文書要素の内容が、既に共有されてい
るかどうか、すなわち、他のデータへの参照になってい
るかどうかを見る。文書要素の共有を行なっていない場
合は、論文データ21のデータそのものであるので、
「no」であり、ステップS602に進む。また、すで
に、この内容が共有されている場合は、後述の処理によ
り、共有するデータを参照する記述になっているので、
その場合は、ステップS604に進む。
Next, when the share button 42 is clicked, the shared content independent process is started in step S504. This shared content independent processing will be described with reference to the flowchart of FIG. First, in step S601, sr
See if the content of the document element selected on the c side is already shared, ie is a reference to other data. If the document elements are not shared, the data itself is the article data 21, so
Since it is “no”, the process proceeds to step S602. Also, if this content has already been shared, the description will refer to the data to be shared by the processing described below, so
In that case, the process proceeds to step S604.

【0019】ステップS602では、src側で選択さ
れた文書要素の内容を切り出し、補助記憶装置20に新
たに格納場所として共有データ23を割りつけ、そこに
格納する。この例では、「イロハニホヘト、チリヌル
ヲ。」が、共有データ23として格納される。また、共
有データ23のファイル名を生成する。たとえば、sr
c側の文書ファイル名「art」に数字を末尾に付加
し、「art01」とする。
In step S602, the content of the document element selected on the src side is cut out, the shared data 23 is newly allocated to the auxiliary storage device 20 as a storage location, and the shared data 23 is stored therein. In this example, “Irohanihohet, Chirinuruwo” is stored as the shared data 23. Also, the file name of the shared data 23 is generated. For example, sr
A number is added to the end of the document file name "art" on the c side to make "art01".

【0020】ステップS603では、src側で選択さ
れた文書要素の内容に変えて、共有部分データ23を参
照する記述にする。たとえば、SGMLでは、エンティ
ティ参照という記述方法がある。文書型宣言部分で、エ
ンティティ「art01」は、ファイル「art01」
の内容を用いるように記述したうえで、文書要素内容の
代わりに「& art01;」と記述しておくことによ
って、ここで参照されたファイルの内容を文書データと
して取り扱うことができる。具体的には、ファイル「a
rt」に格納されている論文データの「イロハニホヘ
ト、チリヌルヲ。」の部分を、「& art01;」と
書き換える。
In step S603, the description of the shared partial data 23 is changed to the content of the document element selected on the src side. For example, in SGML, there is a description method called entity reference. In the document type declaration part, the entity "art01" is the file "art01"
The content of the file referred to here can be handled as document data by describing that the content of the above is used and describing "&art01;" instead of the content of the document element. Specifically, the file "a
The part of "Irohanihohet, chirinuruwo." of the article data stored in "rt" is rewritten as "&art01;".

【0021】ステップS604では、src側と同様
に、dst側で、選択された文書要素の内容に変えて、
共有部分データ23を参照する記述にする。具体的に
は、ファイル「abst」に格納されている論文データ
の「わかよたれそ。」の部分を「& art01;」と
書き換える。
In step S604, the contents of the selected document element are changed on the dst side similarly to the src side.
The description refers to the shared part data 23. Specifically, the part of "Wakayotareso." Of the article data stored in the file "abst" is rewritten as "&art01;".

【0022】以上によって、dst側の文書要素の内容
と、src側の文書要素の内容とが、分離格納された同
一内容を参照することによって、共有されることにな
る。この後、ウインドウ41上にsrc側とdst側の
文書の再表示が行なわれると、共に共有データ23の内
容を参照しているので、図9に示すように、「イロハニ
ホヘト、チルヌルヲ。」という表示が行なわれる。そし
て、src側で、dst側と共有する「イロハニホヘ
ト、チリヌルヲ。」を「イロハニホヘト、散りぬる
を。」と書き換えた場合、実際は、共有データ23の内
容が「イロハニホヘト、散りぬるを。」に変化する。し
たがって、dst側で文書の再表示が行なわれると、変
化した共有データ23の内容が参照されるので、箇条書
き第1項が「[ABC]イロハニホヘト、散りぬる
を。」に変化する。
As described above, the content of the document element on the dst side and the content of the document element on the src side are shared by referring to the same content stored separately. After that, when the documents on the src side and the dst side are re-displayed on the window 41, both refer to the contents of the shared data 23. Therefore, as shown in FIG. Is performed. Then, on the src side, when “Irohanihoheto, Chirinuruwo.” Shared with the dst side is rewritten as “Irohanihoheto, scatter,” the content of the shared data 23 is actually changed to “Irohanihohet, scatter,”. . Therefore, when the document is re-displayed on the dst side, the changed contents of the shared data 23 are referred to, so that the first item of the bulleted item is changed to “[ABC] Irohanihohet, scatter through”.

【0023】(実施例2)第1の実施例では、共有する
部分がsrc側とdst側とで同時に選択され、共有指
示が与えられたタイミングで、共有内容独立化処理を実
行させた。
(Embodiment 2) In the first embodiment, the shared portion is simultaneously selected on the src side and the dst side, and the shared content independence process is executed at the timing when the sharing instruction is given.

【0024】本実施例では、src側の文書において、
共有対象が選択され、共有データとして提供することが
指示されたタイミングで、共有内容独立化処理の前半を
動作させる。このタイミングは、たとえば提供を指示す
るための「offer」ボタン等を用意し、これが押さ
れたときとすれば良い。
In this embodiment, in the document on the src side,
The first half of the shared content independence process is operated at the timing at which the sharing target is selected and it is instructed to provide the shared data. This timing may be set, for example, when an "offer" button for instructing provision is prepared and this button is pressed.

【0025】この場合、図6のフローチャートのステッ
プS601からS603までを実行する。そして、参照
先(たとえば、共有データのファイル名など)を、記憶
装置20中のシェアバッファ(図示せず)に記憶してお
く。そして、dst側の文書で、内容を共有データと同
じにしたいところが選択され、指定済のデータとの共有
が指示されたタイミングで、共有内容独立化処理の後半
を動作させる。この場合、図6のフローチャートのステ
ップS604を実行する。ただし、その参照先は、記憶
装置20中のシェアバッファ(図示せず)に記憶された
ものを用いる。
In this case, steps S601 to S603 of the flowchart of FIG. 6 are executed. Then, a reference destination (for example, a file name of shared data) is stored in a share buffer (not shown) in the storage device 20. Then, in the document on the dst side, a place where the content is desired to be the same as the shared data is selected, and the latter half of the shared content independence process is operated at the timing when sharing with the designated data is instructed. In this case, step S604 of the flowchart of FIG. 6 is executed. However, the reference destination is the one stored in the share buffer (not shown) in the storage device 20.

【0026】本実施例によると、多数の文書要素の内容
を一つの文書要素の内容と共有しようとする時、共有許
可宣言を行なえば、その文書要素内容のポインタがシェ
アバッファに格納されるので、あとはdst側の文書要
素の検出だけを行なえばよい。従って、そのつど、sr
c側とdst側の両方の文書を表示して、両方の文書要
素をマウスで選出するという面倒な処理をする必要がな
く、効率的である。
According to this embodiment, when sharing the contents of many document elements with the contents of one document element, if the sharing permission declaration is made, the pointer of the contents of the document element is stored in the share buffer. After that, it is only necessary to detect the document element on the dst side. Therefore, each time, sr
It is efficient because it is not necessary to display both documents on the c side and the dst side and select both document elements with the mouse.

【0027】また、共有許可宣言する時に、共有文書提
供者が、共有可能箇所を指定できるので、他人によって
むやみに共有されることがないという利点がある。
In addition, when the sharing permission is declared, the shared document provider can specify the sharable portion, so that there is an advantage that it is not shared unnecessarily by another person.

【0028】(実施例3)前述の実施例では、文書デー
タをテキスト形式で記述し、ファイルに格納していた。
これに対し、本実施例では、オブジェクトデータベース
等で、メモリイメージで、永続的データを格納する場合
について述べる。
(Third Embodiment) In the above-described embodiment, the document data is described in the text format and stored in the file.
On the other hand, in the present embodiment, a case will be described in which persistent data is stored as a memory image in an object database or the like.

【0029】図10は、オブジェクトデータベース中に
管理された、論文データ21と抄録データ22を表して
いる。これらのデータを例にとり、本実施例の処理を説
明する。
FIG. 10 shows the article data 21 and the abstract data 22 managed in the object database. The processing of this embodiment will be described by taking these data as examples.

【0030】論文データ21と抄録データ22は、それ
ぞれ管理上異なるセグメント51、セグメント52に割
りつけられる。各文書要素データは、その識別コードを
持っている。文書のルートとなるデータは「DOCUM
ENT」という識別コードを持ち、文書の型を表す要素
名を持っている。論文データでは、「article」
という要素名をもつ。また、その文書の内容へのポイン
タをもち、そのポインタは、第一の内容要素となる文書
要素をポイントしている。
The article data 21 and the abstract data 22 are allocated to different segments 51 and 52 in terms of management. Each document element data has its identification code. The data that is the root of the document is "DOCUM
It has an identification code "ENT" and an element name indicating the document type. In the article data, "article"
Element name. Also, it has a pointer to the content of the document, and the pointer points to the document element which is the first content element.

【0031】文書要素は、更に内部に内容を持つ複合文
書要素と、末端である文字要素がある。前者は、「NO
DE」という識別コードをもち、後者は「CHAR」と
いう識別コードをもつ。複合文書要素は、次の要素への
ポインタと、要素の型を表す要素名と、要素の内容への
ポインタを持つ。第一の文書要素は、要素名が「tit
le」であり、次の要素として「abstract」と
いう文書要素名の複合文書要素へのポインタを持ち、内
容として、文字へのポインタをもっている。文字要素
は、次の要素へのポインタと、文字コードを持つ。な
お、ポインタの連鎖はポインタの値が「0」のところで
終了する。本実施例の処理手順は、基本的には第1の実
施例において示した図5及び図6のフローチャートに従
う。ただし、図6とは格納先の参照方法や変更方法が異
なる。
The document element includes a compound document element having contents inside and a character element at the end. The former is "NO
It has an identification code of "DE" and the latter has an identification code of "CHAR". The compound document element has a pointer to the next element, an element name indicating the type of the element, and a pointer to the content of the element. The element name of the first document element is "tit
"le", which has a pointer to the compound document element having the document element name "abtract" as the next element and a character pointer as the content. The character element has a pointer to the next element and a character code. The chain of pointers ends when the value of the pointer is "0". The processing procedure of this embodiment basically follows the flowcharts of FIGS. 5 and 6 shown in the first embodiment. However, the method of referring to and changing the storage destination is different from that in FIG.

【0032】ステップS601での参照化済かどうかの
チェックは、同一セグメントのデータをポイントしてい
るときは参照化前、、異なるセグメントのデータをポイ
ントしている時は参照化済と判断する。参照化前のとき
は、ステップS602に進む。ここでの分離格納は、新
たに、セグメント53を割りつけ、そこに、src側で
選択された文書要素の内容を転記する。このときのデー
タベースの過渡的なデータ格納状態を図11に示す。
In the step S601, whether or not the data has been referred to is checked to determine that the data is in the same segment before it is referred to, and when it is in the data of a different segment, it is determined to be already referenced. If it is not yet referenced, the process proceeds to step S602. In the separate storage here, a segment 53 is newly allocated, and the contents of the document element selected on the src side are transcribed therein. FIG. 11 shows a transient data storage state of the database at this time.

【0033】ステップS603では、src側で、新た
に割りつけられたセグメント53中のデータへ文書要素
内容のポインタをつけ替える。ステップS604でも、
dst側で選択された文書要素の内容のポインタを新た
に割りつけられたセグメント53中のデータへつけ替え
る。こうして、つけ替えが行なわれたデータベースの格
納状態を図12に示す。なお、ステップS601で、参
照化済と判断されたときは、ステップS604に直接進
み、dst側の文書内容のポインタのつけ替えを行な
う。本実施例によれば、ファイルを用いず、メモリイメ
ージでつけ替えを行なうと、処理速度が向上するという
効果がある。
In step S603, on the src side, the pointer of the document element content is replaced with the data in the newly allocated segment 53. Also in step S604,
The pointer of the content of the document element selected on the dst side is replaced with the data in the newly allocated segment 53. FIG. 12 shows the storage state of the database thus replaced. If it is determined in step S601 that the reference has been completed, the process directly proceeds to step S604, and the pointer of the document content on the dst side is replaced. According to the present embodiment, there is an effect that the processing speed is improved by replacing the file with the memory image without using the file.

【0034】(実施例4)実施例3では、それぞれの文
書を別セグメントに格納し、管理を行なう例について述
べたが、このように格納場所を変えずとも、管理情報を
それぞれのデータの先頭につけることによって、管理し
てもよい。
(Fourth Embodiment) In the third embodiment, an example in which each document is stored in a different segment and managed is described. However, even if the storage location is not changed in this way, the management information is stored at the beginning of each data. You may manage it by putting it on.

【0035】図13に、管理情報61、62を一纏まり
のデータの先頭につけた場合のデータ格納形態を示す。
FIG. 13 shows a data storage form in which the management information 61 and 62 are added to the head of a set of data.

【0036】この場合の、処理手順も前述実施例と基本
的に同じである。共有内容独立化処理において、新たな
セグメントの割りつけにかえて、管理情報63を生成
し、こちらに、共有内容をつなぎ変え、src側及びd
st側の文書要素から、管理情報63へポイントするよ
うにすればよい。その結果を図14に示す。本実施例で
は、データ格納場所を変える必要がないうえ、単なるポ
インタのつけ替えで共有化が図れるため、処理速度が更
に向上する効果がある。
The processing procedure in this case is basically the same as that of the above-described embodiment. In the shared content independence process, instead of allocating a new segment, the management information 63 is generated, the shared content is reconnected here, and the src side and d
The document element on the st side may be pointed to the management information 63. The result is shown in FIG. In the present embodiment, there is no need to change the data storage location, and since sharing can be achieved by simply changing the pointers, the processing speed is further improved.

【0037】[0037]

【発明の効果】以上説明したように、本発明によれば、
文書要素の内容が共有されるので、1つの文書で共有部
分を変更すると、他の文書における共有部分も変更され
るので、文書のコンシステンシを保ちながら、内容が変
更できるという効果がある。
As described above, according to the present invention,
Since the content of the document element is shared, if the shared part is changed in one document, the shared part in another document is also changed, so that the content can be changed while maintaining the consistency of the document.

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

【図1】本発明の実施例のシステム構成を示す図であ
る。
FIG. 1 is a diagram showing a system configuration of an embodiment of the present invention.

【図2】論文型文書データの例を示す図である。FIG. 2 is a diagram showing an example of paper-type document data.

【図3】抄録型文書データの例を示す図である。FIG. 3 is a diagram showing an example of abstract type document data.

【図4】リンクによる内容定義付けを行なった時の表示
例を示す図である。
FIG. 4 is a diagram showing a display example when content definition by a link is performed.

【図5】本発明の実施例の動作手順を表すフローチャー
トである。
FIG. 5 is a flowchart showing an operation procedure of the embodiment of the present invention.

【図6】本発明の共有内容独立化処理の動作手順を表す
フローチャートである。
FIG. 6 is a flowchart showing an operation procedure of shared content independence processing of the present invention.

【図7】共有を指定する前の文書表示例を示す図であ
る。
FIG. 7 is a diagram illustrating a document display example before sharing is designated.

【図8】共有部分を選択した時の文書表示例を示す図で
ある。
FIG. 8 is a diagram illustrating a document display example when a shared portion is selected.

【図9】共有後の文書表示例を示す図である。FIG. 9 is a diagram showing a document display example after sharing.

【図10】共有を指定する前の文書データを表す図であ
る。
FIG. 10 is a diagram showing document data before designation of sharing.

【図11】共有を指定した時の過渡的な文書データを表
す図である。
FIG. 11 is a diagram showing transitional document data when sharing is designated.

【図12】共有後の文書データを示す図である。FIG. 12 is a diagram showing document data after sharing.

【図13】共有を指定する前の文書データを示す図であ
る。
FIG. 13 is a diagram showing document data before designation of sharing.

【図14】共有後の文書データを示す図である。FIG. 14 is a diagram showing document data after sharing.

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

1 キーボード 2 マウス 3 CPU 4 CRT 10 記憶装置 11 共有内容独立化処理プログラム 20 補助記憶装置 21 論文データ 22 抄録データ 23 共有データ 1 Keyboard 2 Mouse 3 CPU 4 CRT 10 Storage Device 11 Shared Content Independent Processing Program 20 Auxiliary Storage Device 21 Paper Data 22 Abstract Data 23 Shared Data

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数の文書要素を含む文書を複数管理す
る文書処理装置において、 第1の文書の複数の文書要素より、第2の文書と共有す
べき内容を持つ文書要素を指定する指定手段と、 該指定手段により指定された文書要素の内容を、前記第
1の文書より分離させる分離手段と、 該分離手段により分離された文書要素の内容が前記指定
された文書要素の内容として前記第1の文書から参照さ
れるように定義する第1の定義手段と、 前記分離手段により分離された文書要素の内容が前記第
2の文書の所定の文書要素の内容として前記第2の文書
から参照されるように定義する第2の定義手段とを備え
ることを特徴とする文書処理装置。
1. In a document processing device for managing a plurality of documents including a plurality of document elements, a designation means for designating a document element having a content to be shared with a second document from a plurality of document elements of a first document. Separating means for separating the content of the document element designated by the designating means from the first document; and the content of the document element separated by the separating means as the content of the designated document element. A first defining unit that is defined so as to be referred to from one document, and the content of the document element separated by the separating unit is referred from the second document as the content of a predetermined document element of the second document. And a second defining means for defining the document processing apparatus as described above.
【請求項2】 前記第1及び第2の文書を表示させる表
示制御手段と、前記第2の文書より、前記指定手段によ
り指定される文書要素の内容を共有させるべき文書要素
を指定する第2の指定手段とを備え、前記指定手段が、
前記表示制御手段により表示された前記第1の文書中よ
り文書要素を指定し、前記第2の指定手段が、前記表示
制御手段により表示された前記第2の文書中より文書要
素を指定することを特徴とする請求項1に記載の文書処
理装置。
2. A display control unit for displaying the first and second documents, and a second unit for designating a document element to share the contents of the document element designated by the designating unit from the second document. And specifying means, wherein the specifying means,
Designating a document element from the first document displayed by the display control means, and designating a document element from the second document displayed by the display control means by the second designating means. The document processing apparatus according to claim 1, wherein:
【請求項3】 共有すべき文書要素に対するポインタを
記憶するためのポインタ記憶手段を備え、 前記分離手段により分離された文書要素に対するポイン
タを該ポインタ記憶手段に記憶させ、 前記第2の定義手段が、前記ポインタ記憶手段に記憶さ
れたポインタに基づいて文書要素の内容を定義すること
を特徴とする請求項1に記載の文書処理装置。
3. A pointer storage unit for storing a pointer to a document element to be shared, wherein the pointer storage unit stores the pointer to the document element separated by the separation unit, and the second definition unit 2. The document processing apparatus according to claim 1, wherein the content of the document element is defined based on the pointer stored in the pointer storage means.
【請求項4】 各文書が複数の文書要素を含む複数の文
書を、各文書に管理情報を設定して管理する文書処理装
置において、 第1の文書の複数の文書要素より、第2の文書と共有す
べき内容を持つ文書要素を指定する指定手段と、 該指定手段により指定された文書要素に対して新たな管
理情報を設定する設定手段と、 前記指定手段により指定された文書要素を、前記第1の
文書要素に対する管理情報に代えて、前記設定手段によ
り設定された管理情報により管理するように制御する制
御手段と、 前記第1の文書において、前記指定された文書要素の内
容として、前記設定手段により設定された管理情報の管
理内容を参照するように定義する第1の定義手段と、 前記第2の文書において、所定の文書要素の内容とし
て、前記設定手段により設定された管理情報の管理内容
を参照するように定義する第2の定義手段とを備えるこ
とを特徴とする文書処理装置。
4. A document processing apparatus for managing a plurality of documents, each document including a plurality of document elements, by setting management information for each document, wherein a plurality of document elements of a first document are used to manage a plurality of document elements of a second document. Specifying means for specifying a document element having contents to be shared with, setting means for setting new management information for the document element specified by the specifying means, and the document element specified by the specifying means, In place of the management information for the first document element, control means for controlling to manage by the management information set by the setting means, and as the content of the specified document element in the first document, A first defining unit defining the management content of the management information set by the setting unit so as to be referred to; and a setting unit configured as the content of a predetermined document element in the second document. Document processing apparatus, characterized in that it comprises a second definition means for defining as referring to the management contents of the management information.
【請求項5】 複数の文書要素を含む文書を複数管理す
る文書処理装置において、 第1の文書の複数の文書要素より、第2の文書と共有す
べき内容を持つ文書要素を指定し、 該指定された文書要素の内容を、前記第1の文書より分
離させ、 該分離された文書要素の内容が前記指定された文書要素
の内容として前記第1の文書から参照されるように定義
し、 前記分離された文書要素の内容が前記第2の文書の所定
の文書要素の内容として前記第2の文書から参照される
ように定義することを特徴とする文書処理方法。
5. A document processing apparatus for managing a plurality of documents including a plurality of document elements, wherein a plurality of document elements of a first document specify a document element having contents to be shared with a second document, Defining the content of the specified document element from the first document, and defining the content of the separated document element to be referenced from the first document as the content of the specified document element; The document processing method, wherein the content of the separated document element is defined so as to be referred to by the second document as the content of a predetermined document element of the second document.
【請求項6】 各文書が複数の文書要素を含む複数の文
書を、各文書に管理情報を設定して管理する文書処理装
置において、 第1の文書の複数の文書要素より、第2の文書と共有す
べき内容を持つ文書要素を指定し、 該指定された文書要素に対して新たな管理情報を設定
し、 前記指定された文書要素を、前記第1の文書要素に対す
る管理情報に代えて、前記設定された管理情報により管
理するように制御し、 前記第1の文書において、前記指定された文書要素の内
容として、前記設定された管理情報の管理内容を参照す
るように定義し、 前記第2の文書において、所定の文書要素の内容とし
て、前記設定された管理情報の管理内容を参照するよう
に定義することを特徴とする文書処理方法。
6. A document processing apparatus for managing a plurality of documents, each document including a plurality of document elements, by setting management information in each document, wherein a plurality of document elements of the first document Specifies a document element having content to be shared with the specified document element, sets new management information for the specified document element, and replaces the specified document element with the management information for the first document element. Controlling the management by the set management information, and defining the management information of the set management information as the content of the designated document element in the first document, The document processing method, wherein in the second document, the content of the predetermined document element is defined so as to refer to the management content of the set management information.
JP17923393A 1993-07-20 1993-07-20 Document processing apparatus and method Expired - Fee Related JP3696896B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP17923393A JP3696896B2 (en) 1993-07-20 1993-07-20 Document processing apparatus and method
EP00201889A EP1047002A3 (en) 1993-07-20 1994-07-19 Document processing apparatus and method
EP94305280A EP0635794B1 (en) 1993-07-20 1994-07-19 Document processing apparatus and method
DE69426615T DE69426615T2 (en) 1993-07-20 1994-07-19 Device and method for processing documents
US08/277,005 US5778398A (en) 1993-07-20 1994-07-19 Document processing to permit sharing of content by plural documents
US09/612,575 USRE42509E1 (en) 1993-07-20 2000-07-07 Document processing to permit sharing of content by plural documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17923393A JP3696896B2 (en) 1993-07-20 1993-07-20 Document processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH0736864A true JPH0736864A (en) 1995-02-07
JP3696896B2 JP3696896B2 (en) 2005-09-21

Family

ID=16062275

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17923393A Expired - Fee Related JP3696896B2 (en) 1993-07-20 1993-07-20 Document processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3696896B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007233630A (en) * 2006-02-28 2007-09-13 Fujitsu Ltd Browser screen-display device, and program for the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007233630A (en) * 2006-02-28 2007-09-13 Fujitsu Ltd Browser screen-display device, and program for the same

Also Published As

Publication number Publication date
JP3696896B2 (en) 2005-09-21

Similar Documents

Publication Publication Date Title
USRE42509E1 (en) Document processing to permit sharing of content by plural documents
CA2036859C (en) System and method for editing a structured document to modify emphasis characteristics
JPH11143874A (en) Style definition supporting device of structured document
EP1768034A1 (en) Document processing device and document processing method
US20070198915A1 (en) Document Processing Device And Document Processing Method
US20090287994A1 (en) Document processing device and document processing method
JPH08161342A (en) Data base display device
JPH0736864A (en) Word processor and its method
JPH08221417A (en) New/old comparing editing device for structured document
EP2109830B1 (en) Multisource composable projection of text
JPH0764997A (en) Document edition device and document display method for the same
JP3453287B2 (en) Original text generation processor
JPH10222356A (en) Application generating device and application generating method
JPH09265431A (en) Method and device for editing document, and client device including the device
JPH05257665A (en) Hcp chart/source program interlocking editing device
JP2001051771A (en) System and method for processing picture
JP2701781B2 (en) Document editing device
JPH1185457A (en) Data processor, its data processing method, and storage medium storing computer-readable program
JP2746666B2 (en) Document connection print processing method
JPH09262957A (en) Makeup and device
JPS6337460A (en) Document editing system
JPH11232270A (en) Variable document preparation system, variable document output device and variable original preparing device
JPH08123811A (en) Document editing device and method therefor
JPH06214868A (en) Method and device for processing information
JPH0991187A (en) Linkage setting method and multi-media processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040329

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040506

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040511

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050628

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050701

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080708

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090708

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090708

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100708

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100708

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110708

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120708

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130708

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees