JPH038062A - Document converting device - Google Patents

Document converting device

Info

Publication number
JPH038062A
JPH038062A JP1100629A JP10062989A JPH038062A JP H038062 A JPH038062 A JP H038062A JP 1100629 A JP1100629 A JP 1100629A JP 10062989 A JP10062989 A JP 10062989A JP H038062 A JPH038062 A JP H038062A
Authority
JP
Japan
Prior art keywords
document
data
elements
cusp
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1100629A
Other languages
Japanese (ja)
Inventor
Makoto Muramatsu
村松 真
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP1100629A priority Critical patent/JPH038062A/en
Publication of JPH038062A publication Critical patent/JPH038062A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To enable the exchange and effective use of a document as shared resource and to improve general usefulness by converting a positive element such as a simplified program and a document constituting element such as graphic data, coupling the elements and converting them to the document in a common document form. CONSTITUTION:A document element read part 7 reads the document elements from document data, which are prepared and edited by a document editing device 1, and transfers the elements to a document element deciding part 8. It is decided whether the transferred document elements are cusp or not. When the elements are the cusp, the elements are transferred to a cusp converting part 6 and an identifier is added to the respective graphic elements and a leading part. Afterwards, the elements are transferred to a cusp data part 14. A document element coupling part 10 couples the data of the document elements, which are converted in a normal document converting part 9, and the data of the cusp, which is converted in a cusp converting part 6, to one set of the document data and the document data are outputted to a communication equipment 3.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、文書編集装置で電子的に作成・編集された
文書データを、他の装置との共通文書形式に適合した文
書に変換する文書変換装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a document that converts document data electronically created and edited by a document editing device into a document that conforms to a common document format with other devices. This invention relates to a conversion device.

〔従来の技術〕[Conventional technology]

従来より、文書の作成・編集機能を有する装置としてワ
ークステーションなどの文書編集装置が知られている。
2. Description of the Related Art Document editing devices such as workstations have been known as devices having document creation and editing functions.

この文書編集装置で作成・編集した文書を、他のワーク
ステーション又はホスト計算機(以下、他の文書編集装
置という)に送り、共有資源として活用する利用形態が
ある。この場合、送信側の文書編集装置で作成・編集し
た文書の形式が、受信側の他の文書編集装置の文書形式
と同一であれば、これらの間に通信手段を付加するだけ
で文書の交換を行うことができる。しかし、文書形式が
異なる場合は、各文書編集装置の文書変換処理機能を通
じて、それぞれ互いの文書形式に変換させるか、あるい
は、これら両者の間で共通文書形式を定義し、この共通
文書形式に対する機能を相互の文書編集装置に持たせる
必要がある。
There is a usage mode in which a document created and edited by this document editing device is sent to another workstation or host computer (hereinafter referred to as another document editing device) and utilized as a shared resource. In this case, if the format of the document created and edited on the sending side's document editing device is the same as the document format on the receiving side's other document editing device, documents can be exchanged by simply adding a communication means between them. It can be performed. However, if the document formats are different, either convert them into each other's document formats using the document conversion processing function of each document editing device, or define a common document format between them, and use the functions for this common document format. It is necessary to provide both document editing devices with the following.

最近では、共通文書形式を定義する方式の利用形態が主
に採られている。
Recently, a method of defining a common document format has been mainly used.

ところで、上述した文書編集装置で取り扱われる文書情
報の中には、カスブ(CUSP: Customer 
Programlnlng language)と呼ば
れる文書構成要素がある。カスブは簡易プログラムを文
書構成要素として扱えるようにしたものであるが、簡易
プログラムを文書構成要素として扱うには、簡易プログ
ラムの存在が文書中に確認できることと、複数の簡易プ
ログラムが存在したときに、それらを識別することがで
きること、及び簡易プログラムを起動する手段が提供さ
れていることが必要となる。
By the way, among the document information handled by the above-mentioned document editing device, CUSP (Customer
There is a document component called Program Language. Kasubu allows simple programs to be handled as document components, but in order to treat a simple program as a document component, the existence of the simple program must be confirmed in the document, and when multiple simple programs exist, , it is necessary to be able to identify them, and to be provided with a means to start a simple program.

このため、カスブは文書に対する一連の操作を簡易言語
で記述した簡易プログラムと、この簡易プログラムの識
別、起動を目的とした図形データとから構成されている
For this reason, a Kasub is composed of a simple program in which a series of operations on a document are described in a simple language, and graphic data for the purpose of identifying and starting this simple program.

簡易プログラムは、文書ファイルの転記、移動、削除、
プリントといったファイル操作や、文書内の表に数値を
入れて計算をさせる等の文書操作を行うためのプログラ
ムである。第2図は、カスブの簡易プログラムの例を示
す説明図である。この例では、Aという名称のファイル
を、Bという名称のフォルダーに転記する操作が記述さ
れている。
A simple program that allows you to post, move, delete document files,
This is a program for performing file operations such as printing, and document operations such as entering numerical values into tables within a document and performing calculations. FIG. 2 is an explanatory diagram showing an example of a simple Kasubu program. In this example, an operation for transferring a file named A to a folder named B is described.

図形データは、プログラム操作の起動スイッチとして機
能する図形イメージを構成するもので、簡易プログラム
の識別、起動を行うために提(共されたものである。第
3図は、第2図の簡易プログラムに対応した図形データ
の一例を示す説明図である。図形データを構成する要素
としては、枠21、テキスト枠22〜24、曲線25が
ある。枠21は、始点(X座標、Y座標)、大きさ(幅
、高さ)、シェード、模様等のデータにより構成されて
いる。また、テキスト枠22〜24は、文字を書く位置
、文字列を書く領域の大きさ、文字の種類、文字の大き
さ等のデータにより構成されている。曲線25は始点、
終点、方向、線の種類(点線、実線、二重線)、線の太
さ、曲がり、端点処理(矢印など)等のデータにより構
成されている。これらは複数のカスブを識別したり、プ
ログラムを起動するために用いられるが、プログラムの
内容とは直接の関連はない。また、プログラムの起動は
、カスブの枠21をマウスにより選択することによって
行われる。
The graphic data constitutes a graphic image that functions as a start switch for program operation, and is submitted (shared) to identify and start the simple program. Figure 3 shows the simple program shown in Figure 2. It is an explanatory diagram showing an example of graphic data corresponding to . Elements configuring the graphic data include a frame 21, text frames 22 to 24, and a curve 25. The frame 21 is a starting point (X coordinate, Y coordinate), The text frames 22 to 24 are composed of data such as size (width, height), shade, pattern, etc. Also, the text frames 22 to 24 are composed of data such as the position where characters are written, the size of the area where the character string is written, the type of character, and the size of the character. It is composed of data such as size, etc. The curve 25 is the starting point,
It consists of data such as end point, direction, line type (dotted line, solid line, double line), line thickness, bend, end point processing (arrow, etc.). These are used to identify multiple Kasbu or to start a program, but they have no direct relation to the contents of the program. The program is started by selecting the cusp frame 21 with the mouse.

第4図は、−膜内な文書データの例を示す説明図である
。カスブは、通常の文書やグラフなどと同様に扱われる
が、カスブのプログラム自体は普段は文書の表面には現
れず、文書上には図形のみが表示される。この図形をマ
ウスにより選択すると、カスブが内部に持っている簡易
プログラムが起動する。なお、カスブのプログラムや図
形は、別の操作によって適宜編集することができる。
FIG. 4 is an explanatory diagram showing an example of internal document data. Kasubu is treated in the same way as regular documents and graphs, but the Kasubu program itself usually does not appear on the surface of the document, only the graphics are displayed on the document. When this figure is selected with the mouse, a simple program that Kasbu has internally starts up. Note that the program and figure of the kasub can be edited as appropriate by other operations.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した文書編集装置を用いて行われる文書の交換シス
テムでは、文書編集装置で作成・編集された文書が、他
の文書編集装置との間でも共有資源として自由に交換さ
れ、また活用されるようにはなるものの、従来は簡易プ
ログラムと図形データを同時に変換できる変換装置がな
かったため、カスブを含む文書を他の文書編集装置に送
信しても、受信側でカスブを一つの文書要素として取り
込むことができず、このため文書編集装置間で交換でき
る文書に制約を受けるという問題点があった。
In the document exchange system using the document editing device described above, documents created and edited by the document editing device can be freely exchanged and utilized as shared resources with other document editing devices. However, in the past, there was no conversion device that could convert simple programs and graphic data at the same time, so even if a document containing stubs was sent to another document editing device, the stubs could not be imported as one document element on the receiving side. This poses a problem in that documents that can be exchanged between document editing devices are restricted.

この発明は、通常の文書要素に加えて、文書に対する操
作を記述した簡易プログラムのような能動要素と、図形
要素を合せ持った文書構成要素の変換を可能とする文書
変換装置を提供することを目的とする。
The present invention aims to provide a document conversion device that is capable of converting document components that include not only normal document elements but also active elements such as simple programs that describe operations on documents, and graphical elements. purpose.

〔発明が解決しようとする手段〕[Means to be solved by the invention]

上記課題を解決するため、この発明に係わる文書変換装
置では、送信側の文書編集装置より人力した文書データ
から、文書要素を要素毎に読み出す文書要素読み出し手
段と、読み出された文書要素が、簡易プログラムと簡易
プログラムの識別、起動を目的とした図形データである
カスブかどうかを判定する文書要素判定手段と、カスブ
の内容をそれぞれの文書要素に分離するデータ分離手段
と、簡易プログラムの文字列を、共通文書形式に適合し
た形式のデータに変換する図形データ変換手段と、前記
簡易プログラム変換手段及び、図形データ変換手段から
出力された変換後のデータを結合するデータ結合手段と
、カスブ以外の全ての文書要素を、共通文書形式に適合
した形式のデータに変換する通常文書変換手段と、前記
データ結合手段と通常文書変換手段から出力された全て
の文書要素のデータを、共通文書形式の文書に並べ換え
て一つの文書データに結合する文書要素結合手段とから
構成されている。
In order to solve the above problems, the document conversion device according to the present invention includes a document element reading means for reading out document elements element by element from document data manually input from a document editing device on the sending side; A document element determining means for determining whether or not a simple program is a kasub, which is graphic data for the purpose of identifying and starting a simple program, a data separation means for separating the contents of a kasub into each document element, and a character string of the simple program. graphic data converting means for converting the data into data in a format compatible with the common document format; data combining means for combining the converted data output from the simple program converting means and the graphic data converting means; A normal document conversion means converts all document elements into data in a format compatible with a common document format, and converts data of all document elements outputted from the data combination means and the normal document conversion means into a document in a common document format. and document element combining means for rearranging and combining into one document data.

〔作用〕[Effect]

文書データを構成する各要素は、文書要素読み出し手段
によって要素毎に読み出され、各文書要素が格納されて
いる文書ファイル内のアドレスが文書要素判定手段に送
られる。文書要素判定手段は、読み出されたアドレスか
ら要素がカスブであるかどうかを判定し、要素がカスブ
であるときは、そのカスブが格納されているアドレスを
データ分離手段に送る。データ分離手段は、受は取った
アドレスから、簡易プログラムの格納されているアドレ
スと、図形データが格納されているデータ領域のアドレ
スを取り出し、それぞれ簡易プログラム変換手段、図形
データ変換手段に送る。簡易プログラム変換手段は、受
は取った簡易プログラムのアドレスに基づいて、簡易プ
ログラムが格納されている図示せぬメモリをアクセスし
、プログラムの文字列を取り出す。取り出された文字列
には、共通文書形式に適合した形式のデータに変換する
ため、識別子等が付加される。また、図形データ変換手
段は、受は取った図形データのアドレスに基づいて図示
せぬメモリをアクセスし、図形データを構成している図
形要素を取り出す。取り出された図形要素については、
共通文書形式に適合した形式のデータに変換するため、
識別子等が付加される。簡易プログラム変換手段と図形
データ変換手段で変換されたデータは、データ結合手段
で結合される。一方、前記文書要素判別手段において、
カスブとして判定されなかった文書要素は、通常文書変
換手段に送られ、共通文書形式に適合した形式のデータ
に変換される。データ結合手段と通常文書変換手段で変
換された全ての文書要素のデータは、文書要素結合手段
において共通文書形式の文書に並べ換えられ、一つの文
書データに結合される。
Each element constituting the document data is read element by element by the document element reading means, and the address in the document file where each document element is stored is sent to the document element determining means. The document element determining means determines whether the element is a kasubu from the read address, and when the element is a kasubu, sends the address where the kasubu is stored to the data separation means. The data separating means takes out the address where the simple program is stored and the address of the data area where the graphic data is stored from the received address and sends them to the simple program converting means and the graphic data converting means, respectively. The simple program conversion means accesses a memory (not shown) in which the simple program is stored, based on the received address of the simple program, and extracts the character string of the program. An identifier or the like is added to the extracted character string in order to convert it into data in a format compatible with the common document format. Further, the graphic data conversion means accesses a memory (not shown) based on the address of the received graphic data, and extracts graphic elements constituting the graphic data. Regarding the extracted graphical elements,
To convert data into a format compatible with common document formats,
An identifier etc. is added. The data converted by the simple program conversion means and the graphic data conversion means are combined by the data combination means. On the other hand, in the document element discriminating means,
Document elements that are not determined to be kasubu are sent to a normal document conversion means and converted into data in a format compatible with the common document format. The data of all document elements converted by the data combining means and the normal document converting means are rearranged into documents in a common document format by the document element combining means and combined into one document data.

以上の操作によって、カスブを含む文書データは共通文
書形式に適合した文書に変換される。したがって、受信
側の他の文書編集装置においては、この共通文書形式の
文書データを自己の機種に対応した文書形式に変換する
ことによって、カスブを含む文書データをそのまま利用
することができる。
By the above operations, the document data including Kasbu is converted into a document conforming to the common document format. Therefore, other document editing devices on the receiving side can use the document data including the scabs as they are by converting the document data in the common document format into a document format compatible with its own model.

〔実施例〕〔Example〕

第1図は本発明に係る文書変換装置を適用した文書変換
システムの一実施例を示すブロック図である。第1図に
おいて、文書編集装置1で作成・編集された文書データ
は、文書変換装置2に人力され、ここで共通文書形式に
適合した共通文書形式の文書データに変換される。この
文書デー9 let、通信装置3を介して他の文書編集
装置4に送信される。
FIG. 1 is a block diagram showing an embodiment of a document conversion system to which a document conversion device according to the present invention is applied. In FIG. 1, document data created and edited by a document editing device 1 is input to a document converting device 2, where it is converted into document data in a common document format that is compatible with the common document format. This document data 9 let is transmitted to another document editing device 4 via the communication device 3 .

第1図において、文書変換装置2は、文書要素読み出し
手段である文書要素読み出し部7と、文書要素判定手段
である文書要素判定部8と、通常文書変換手段である通
常文書変換部9と、文書要素結合手段である文書要素結
合部10とから構成される文書変換部5と、データ分離
手段であるカスブデータ分離部11と、簡易プログラム
変換手段である簡易プログラム変換部12と、図形デー
タ変換手段である図形データ変換部13と、データ結合
手段であるカスブデータ結合手段14とから構成された
カスブ変換部6により構成されている。
In FIG. 1, the document conversion device 2 includes a document element reading section 7 as a document element reading means, a document element determining section 8 as a document element determining means, and a normal document converting section 9 as a normal document converting means. A document conversion unit 5 comprising a document element combination unit 10 which is a document element combination unit, a cusp data separation unit 11 which is a data separation unit, a simple program conversion unit 12 which is a simple program conversion unit, and a graphic data conversion unit. The cassette converting section 6 includes a graphic data converting section 13, which is a graphic data converting section 13, and a cassette data combining means 14, which is a data combining means.

次に、文書変換部5の各部の機能について説明する。Next, the functions of each part of the document conversion section 5 will be explained.

文書要素読み出し部7は、文書編集装置1から入力した
文書の中から各文書要素を文書要素毎に読み出して、そ
の各要素が格納されている文書内のアドレスを取り出す
。ここでは実際の文書データは取り出さず、アドレスの
みを取り出している。
The document element reading unit 7 reads each document element from the document inputted from the document editing device 1, and extracts the address in the document where each element is stored. Here, the actual document data is not extracted, but only the address.

すなわち各文書要素のデータは、それぞれハードディス
ク等の図示せぬ記憶装置内に格納されており、データの
やりとりはアドレスによって行われる。
That is, the data of each document element is stored in a storage device (not shown) such as a hard disk, and data is exchanged using addresses.

文書要素判定部8は、上記文書要素読み出し部7で読み
出された文書要素がカスプであるがどうかを判断する。
The document element determining unit 8 determines whether the document element read out by the document element reading unit 7 is a cusp.

ここで、文書要素がカスブであれば、カスブ変換部6の
カスブデータ分離部11にそのカスプのデータが格納さ
れているアドレスを転送する。また、カスプ以外の全て
の文書要素については、その文書要素のデータが格納さ
れているアドレスを通常文書変換部9に転送する。
Here, if the document element is a cusp, the address where the cusp data is stored is transferred to the cusp data separation unit 11 of the cusp conversion unit 6. Furthermore, for all document elements other than the cusp, the address where the data of the document element is stored is transferred to the normal document conversion unit 9.

通常文書変換部9は、文書要素判定部8から転送された
アドレスに基づいて、その文書要素のデータを図示せぬ
記憶装置から読み出す。そして、文書要素の先頭に識別
子を付加し、文書要素を通常文書開始記号と通常文書終
了記号で囲んだ後、文書要素結合部10に転送する。
Based on the address transferred from the document element determination unit 8, the normal document conversion unit 9 reads data of the document element from a storage device (not shown). Then, an identifier is added to the beginning of the document element, the document element is surrounded by a normal document start symbol and a normal document end symbol, and then transferred to the document element combination unit 10.

文書要素結合部10は、通常文書変換部9で変換された
文書要素のデータと、後述するカスブ変換部6で変換さ
れたカスブのデータを、共通文書形式の文書に並べ換え
て一つの文書データに結合する。そして、結合した文書
データ全体を共通文書開始記号と共通文書終了記号で囲
んだ後、通信装置3へ出力する。
The document element combination unit 10 rearranges the document element data converted by the normal document conversion unit 9 and the cassette data converted by the cassette conversion unit 6 (described later) into a document in a common document format to form one document data. Join. Then, after enclosing the entire combined document data with a common document start symbol and a common document end symbol, it is output to the communication device 3.

次に、カスブ変換部12の各部の機能について説明する
Next, the functions of each part of the Kasub conversion section 12 will be explained.

カスブデータ分離部11は、文書要素読み出し部7から
転送されたアドレスに基づいて、簡易プログラムと図形
データが格納されているデータ領域のアドレスを取り出
し、それぞれのアドレスを該当する変換部に転送する。
Based on the address transferred from the document element reading section 7, the cusp data separation section 11 extracts the addresses of the data areas in which the simple program and graphic data are stored, and transfers each address to the corresponding conversion section.

なお、簡易プログラムが格納されているデータ領域を示
すアドレスには、簡易プログラムのデータが特定の順番
で格納されている。また、図形データが格納されている
データ領域を示すアドレスには、カスブの図形イメージ
を構成している図形要素(枠、曲線など)が格納されて
おり、その各図形要素の格納場所には図形要素の属性(
始点、終点、大きさ、模様など)がある特定の順番で格
納されている。これらの格納されているデータ(変換前
のデータ)には、識別子は付加されてぃない。
Note that the data of the simple program is stored in a specific order at the address indicating the data area where the simple program is stored. In addition, the address indicating the data area where the figure data is stored stores the figure elements (frames, curves, etc.) that make up the figure image of the cusp, and the storage location of each figure element contains the figure Element attributes (
(start point, end point, size, pattern, etc.) are stored in a specific order. No identifier is added to these stored data (data before conversion).

簡易プログラム変換部12は、カスブデータ分離部11
から転送されたアドレスから、簡易プログラムが格納さ
れている図示せぬ記憶装置をアクセスし、プログラムの
文字列を取り出す。そして、その文字列の先頭に識別子
を付加し、文字列をプログラム開始記号とプログラム終
了記号で囲んだ後、カスプデータ結合部14に転送する
The simple program converter 12 is a kasub data separator 11.
A storage device (not shown) in which the simple program is stored is accessed from the address transferred from the address, and the character string of the program is extracted. Then, an identifier is added to the beginning of the character string, the character string is surrounded by a program start symbol and a program end symbol, and then transferred to the cusp data combination unit 14.

図形データ変換部13は、カスブデータ分離部11から
転送されたアドレスから、図形データが格納されている
図示せぬ記憶装置をアクセスし、各図形要素、及びその
属性を取り出す。そして各図形要素と、その属性の先頭
に識別子を付加する。
The graphic data conversion unit 13 accesses a storage device (not shown) in which graphic data is stored from the address transferred from the cusp data separation unit 11, and extracts each graphic element and its attributes. Then, an identifier is added to the beginning of each graphical element and its attribute.

図形要素の識別子としては、枠、テキスト枠、点等を識
別するものがあり、その属性の識別子としては、始点、
終点、大きさ等を識別するものがある。識別子を付加し
た後、図形要素と属性を図形データ開始記号と図形デー
タ終了記号で囲み、カスプデータ結合部14に転送する
Identifiers for graphical elements include frames, text frames, points, etc., and identifiers for their attributes include starting points,
There is something that identifies the end point, size, etc. After adding the identifier, the graphic element and attribute are surrounded by a graphic data start symbol and a graphic data end symbol, and transferred to the cusp data combining unit 14.

カスプデータ結合部14は、簡易プログラム変換部12
と図形データ変換部13から送られた変換後のデータを
結合し、結合したカスブ全体をカスブ開始記号とカスブ
終了記号で囲んだ後、文書要素結合部10に転送する。
The cusp data combining section 14 is a simple program converting section 12.
and the converted data sent from the graphic data converter 13, and after surrounding the entire combined cusp with a cusp start symbol and a cusp end symbol, it is transferred to the document element combiner 10.

文書要素結合部10に転送されたカスブは、前述したよ
うに、通常の文書要素き結合され、共通文書形式のデー
タとして出力される。第5図は、共通文書形式にしたが
って並べ変えられた文書データの構成を示す説明図であ
る。第5図において、カスブデータ31の先頭の部分に
はカスブの簡易プログラム32が配置され、このプログ
ラム32の次に図形データ33(カスブ構成図形1〜5
)が配置されている。図形データは、第3図で説明した
カスブ構成図形のデータが順に配置される。
The cassettes transferred to the document element combining unit 10 are combined with normal document elements, as described above, and output as data in a common document format. FIG. 5 is an explanatory diagram showing the structure of document data rearranged according to the common document format. In FIG. 5, a simple Kasub program 32 is arranged at the beginning of the Kasub data 31, and this program 32 is followed by graphic data 33 (Kasub configuration figures 1 to 5).
) are placed. As for the graphic data, the data of the cusp configuration graphics explained in FIG. 3 are arranged in order.

第6図は、変換された文書の一例を示す説明図である。FIG. 6 is an explanatory diagram showing an example of a converted document.

なお、ここではカスブのデータについてのみ説明し、通
常の文書については省略する。通常の文書についても、
共通文書形式の文書に並べ換えられる。
Note that only Kasubu data will be explained here, and normal documents will be omitted. Even for regular documents,
Sorted into documents in common document format.

第6図において、[MDI]は共通文書の開始記号であ
り、[ENDMD I]は、共通文書の終了記号である
。Buttonは、カスブの始まりを示す識別子、それ
に続<「(」がカスブの開始記号であり、これ以降がカ
スブのデータとなる。
In FIG. 6, [MDI] is the start symbol of the common document, and [ENDMD I] is the end symbol of the common document. Button is an identifier indicating the start of a cusp, followed by <(), which is the start symbol of the cusp, and what follows becomes the data of the cusp.

ButtonProgramは、簡易プログラムの識別
子であり、それに続< r Hかうr) Jまでがプロ
グラムのデータとなる。なお、以降の説明において「(
」、「)」は、それぞれのデータの開始記号と終了記号
を示している。
ButtonProgram is an identifier of a simple program, and the following is data of the program. In addition, in the following explanation, "(
” and “)” indicate the start and end symbols of each data.

Graphicsは、図形データの識別子であり、それ
に続<「(」から最終行の「)」までが図形データとな
る。ここでは、第3図に示したテキスト枠22〜24、
及び曲!25の4つの図形データが記述されており、F
rameは各テキスト枠の図形要素の始まりを示す識別
子、FramePropsは各テキスト枠の図形要素の
属性を示す識別子である。ここではFrameProp
Sに続<「(」から四]までがその属性のデータである
。また、TextContainarは各テキスト枠の
内容を示す識別子、FontPropsはフォントの属
性を示す識別子である。また、Curveは曲線(矢印
)の図形要素の始まりを示す識別子である。
Graphics is an identifier for graphic data, and the following <() to the final line ")" are graphic data. Here, the text frames 22 to 24 shown in FIG.
And songs! 25 four figure data are described, F
frame is an identifier indicating the start of the graphical element of each text frame, and FrameProps is an identifier indicating the attribute of the graphical element of each text frame. Here FrameProp
The data following S <( from 4 to ) is an identifier indicating the beginning of the graphic element.

なお、第3図に示した枠21は、図形データの一部では
あるが、上位概念のデータとして取り扱われるので、こ
こでは他の図形データと同列には記述されていない。
Note that although the frame 21 shown in FIG. 3 is part of the graphic data, it is treated as data of a general concept, so it is not described here in the same way as other graphic data.

次に、上述した文書変換装置22の動作を、カスブを含
む文書を共通文書形式の文書に変換する場合の処理手順
を示す第7図のフローチャートに基づいて詳細に説明す
る。
Next, the operation of the document converting device 22 described above will be explained in detail based on the flowchart of FIG. 7 showing the processing procedure when converting a document including a scum into a document in the common document format.

まず、文書要素読み出し部7は、文書編集装置1で作成
・編集された文書データから、文書要素を要素毎に読ろ
出し、文書要素判定部8に転送する(ステップ101)
。なお、ここでは実際の文書データではなく、各文書要
素が格納されている図示せぬ記憶手段のアドレスを転送
している。文書要素判定部8は、転送された文書要素が
カスブであるかどうかを判定する(ステップ1o2)。
First, the document element reading unit 7 reads document elements element by element from the document data created and edited by the document editing device 1, and transfers them to the document element determination unit 8 (step 101).
. Note that here, instead of actual document data, the address of a storage means (not shown) in which each document element is stored is transferred. The document element determining unit 8 determines whether the transferred document element is a kasubu (step 1o2).

文書要素がカスブか否かは、アドレスによって判定する
。ここで、文書要素がカスブであるときは、その文書要
素のアドレスをカスブデータ分離部11に転送する(ス
テップ103)。カスブデータ分離部11は、アドレス
に基づいて簡易プログラムと図形データが格納されてい
るデータ領域のアドレスを取り出し、それぞれのアドレ
スを該当する、変換部に転送する(ステップ104)。
Whether a document element is a Kasubu or not is determined based on the address. Here, when the document element is a kasub, the address of the document element is transferred to the kasub data separation unit 11 (step 103). Based on the address, the cusp data separation section 11 extracts the address of the data area in which the simple program and graphic data are stored, and transfers each address to the corresponding conversion section (step 104).

簡易プログラム変換部12では、カスブデータ分離部1
1より転送されたアドレスから、簡易プログラムが格納
されている図示せぬ記憶装置をアクセスし、プログラム
の文字列を取り出す(ステップ105)。そして、その
文字列の先頭に識別子を付加し、文字列をプログラム開
始記号とプログラム終了記号で囲んだ後、カスブデータ
結合部14に転送する(ステップ106)。また、図形
データ変換部13では、カスブデータ分離部11より転
送されたアドレスから、図形データが格納されている図
示せぬ記憶装置をアクセスし、各図形要素、及びその属
性を取り出す(ステップ1゜7)。そして各図形要素と
、その属性の先頭に識刺子を付加した後、図形要素と属
性を図形データ開始記号と図形データ終了記号で囲み、
カスブデータ結合部14に転送する(ステップ108)
In the simple program conversion section 12, the kasub data separation section 1
A storage device (not shown) in which the simple program is stored is accessed from the address transferred from 1, and the character string of the program is extracted (step 105). Then, an identifier is added to the beginning of the character string, the character string is surrounded by a program start symbol and a program end symbol, and then transferred to the Kasub data combination unit 14 (step 106). In addition, the graphic data conversion unit 13 accesses a storage device (not shown) in which graphic data is stored from the address transferred from the cusp data separation unit 11, and extracts each graphic element and its attributes (step 1.7). ). Then, after adding a stamp to the beginning of each graphic element and its attribute, surround the graphic element and attribute with a graphic data start symbol and a graphic data end symbol,
Transfer to Kasub data combining unit 14 (step 108)
.

カスブデータ結合部14は、簡易プログラム変換部12
と図形データ変換部13から送られた変換後のデータを
結合し、結合したカスブ全体をカスブ開始記号とカスブ
終了記号で囲んだ後、文書要素結合部10に転送する(
ステップ109)。
The Kasub data combining section 14 is a simple program converting section 12.
and the converted data sent from the graphic data converter 13, surround the entire combined kasbu with a kasbu start symbol and a kasbu end symbol, and then transfer it to the document element combination unit 10 (
Step 109).

一方、ステップ102において、文書要素がカスブでな
いときは、その文書要素のアドレスを通常文書変換部9
に転送する(ステップ110)。
On the other hand, in step 102, if the document element is not Kasubu, the address of the document element is sent to the normal document conversion unit 9.
(step 110).

通常文書変換部9では、文書要素判定部8より転送され
たアドレスから、文書データが格納されている図示せぬ
記憶装置をアクセスし、その文書要素のデータを読み出
す(ステップ111)。そして、文書要素の先頭に識別
子を付加し、文書要素を通常文書開始記号と通常文書終
了記号で囲んだ後、文書要素結合#10に転送する(ス
テップ112)。
The normal document conversion section 9 accesses a storage device (not shown) in which document data is stored from the address transferred from the document element determination section 8, and reads out the data of the document element (step 111). Then, after adding an identifier to the beginning of the document element and surrounding the document element with a normal document start symbol and a normal document end symbol, the document element is transferred to document element combination #10 (step 112).

文書要素結合部10は通常文書変換部9で変換された文
書要素のデータと、カスブ変換部12で変換されたカス
ブのデータを、共通文書形式の文書に並べ換えて一つの
文書デーアに結合する(ステップ113)。そして、結
合した文書全体を共通文書開始記号と共通文書終了記号
で囲む(ステップ114)。
The document element combination unit 10 rearranges the document element data converted by the normal document conversion unit 9 and the Kasbu data converted by the Kasbu conversion unit 12 into documents in a common document format, and combines them into one document data ( Step 113). Then, the entire combined document is surrounded by a common document start symbol and a common document end symbol (step 114).

次に、文書変換部5は、全ての文書要素について変換を
終了したかどうかを判断する(ステップ115)。ここ
で、文書要素が残っていればステップ101に戻り、全
ての文書要素の変換が終了するまで上記処理を繰り返す
。また、全ての文書要素の変換が終了しているときは、
文書要素結合部10から通信装置3へ文書データを出力
する。
Next, the document conversion unit 5 determines whether conversion has been completed for all document elements (step 115). Here, if there are any remaining document elements, the process returns to step 101 and the above process is repeated until the conversion of all document elements is completed. Also, when all document elements have been converted,
Document data is output from the document element combination unit 10 to the communication device 3.

なお、上述した実施例では、カスブを含む文書データを
、文書編集装置1から他の文書編集装置4に送信する場
合について説明したが、他の文書編集装置4側からカス
ブを含む文書データを文書編集装置1に送信する場合も
、同様な操作によって共通文書形式の文書に変換するこ
とができる。
In the embodiment described above, the case where document data including scabs is transmitted from the document editing device 1 to another document editing device 4 has been explained. When transmitting to the editing device 1, a similar operation can be performed to convert the document into a document in the common document format.

また、受信側の装置としては、共通文書形式の保存機能
を有するものであれば、他の電子情報の処理装置を用い
てもよい。
Further, as the receiving side device, any other electronic information processing device may be used as long as it has a common document format storage function.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、この発明に係わる文書変換装置で
は、文書に対する一連の操作を記述した簡易プログラム
のような能動要素と、この簡易プログラムの識別、起動
を目的とした図形データのような図形要素を合せ持った
文書構成要素を、それぞれ共通文書形式に適合した形式
のデータに変換し、これらのデータを結合して共通文書
形式の文書に変換するようにしたため、電子出版などの
高度な文書編集装置で作成・編集されたカスブを含む文
書を、他の編集装置で取り扱うことができ、交換できる
文書に制約を受けることがない。したがって、これらの
文書を共有資源として自由に交換、活用することができ
る汎用性の高い文書交換システムを提供することが可能
となる。
As explained above, the document conversion device according to the present invention includes an active element such as a simple program that describes a series of operations on a document, and a graphic element such as graphic data for the purpose of identifying and starting this simple program. These document components are converted into data in a format compatible with a common document format, and these data are combined and converted into a document in a common document format. Documents containing cusp created and edited by a device can be handled by another editing device, and there are no restrictions on the documents that can be exchanged. Therefore, it is possible to provide a highly versatile document exchange system that allows these documents to be freely exchanged and utilized as shared resources.

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

第1図はこの発明に係わる文書変換装置を適用した文書
交換システムの構成ブロック図、第2図はカスブの簡易
プログラムの例を示す説明図、第3図は、第2図の簡易
プログラムに対応した図形データの一例を示す説明図、
第4図は一般的な文書データの例を示す説明図、第5図
は共通文書形式にしたがって並べ変えられた文書データ
の構成を示す説明図、第6図は変換された文書の一例を
示す説明図、第7図はカスブを含む文書を共通文書形式
の文書に変換する場合の文書変換装置の処理手順を示す
フローチャートである。 1・・・文書編集装置、2・・・文書変換装置、3・・
・通信装置、4・・・他の文書編集装置、5・・・文書
変換部、6・・・カスブ変換部、7・・・文書要素読み
出し部、8・・・文書要素判定部、9・・・通常文書変
換部、10・・・文書要素結合部、11・・・カスブデ
ータ分離部、12・・・簡易プログラム変換部、13・
・・図形データ変換部、14・・・カスブデータ結合部
、21・・・枠、22〜24・・・テキスト枠、25・
・・曲線。 第4図 [MDI コ
Fig. 1 is a block diagram of the structure of a document exchange system to which the document conversion device according to the present invention is applied, Fig. 2 is an explanatory diagram showing an example of Kasbu's simple program, and Fig. 3 corresponds to the simple program of Fig. 2. An explanatory diagram showing an example of graphic data,
Figure 4 is an explanatory diagram showing an example of general document data, Figure 5 is an explanatory diagram showing the structure of document data rearranged according to the common document format, and Figure 6 is an example of a converted document. The explanatory diagram, FIG. 7, is a flowchart showing the processing procedure of the document conversion device when converting a document containing scum into a document in a common document format. 1... document editing device, 2... document converting device, 3...
-Communication device, 4...Other document editing device, 5...Document converter, 6...Customer converter, 7...Document element reading unit, 8...Document element determining unit, 9... ... Normal document conversion unit, 10... Document element combination unit, 11... Cusb data separation unit, 12... Simple program conversion unit, 13.
...Graphic data conversion section, 14...Custom data combination section, 21...Frame, 22-24...Text frame, 25.
··curve. Figure 4 [MDI Co.

Claims (1)

【特許請求の範囲】 文書データを作成・編集する第1の装置と、この第1の
装置から文書データを受信する第2の装置との間に配置
され、第1の装置から受信する文書データを第2の装置
の文書形式に適合した文書データに変換する文書変換装
置において、 第1の装置から入力した文書データから、文書要素を要
素毎に読み出す文書要素読み出し手段と、読み出された
文書要素が、簡易プログラムと簡易プログラムの識別、
起動を目的とした図形データであるかどうかを判定する
文書要素判定手段と、簡易プログラムと簡易プログラム
の識別、起動を目的とした図形データの内容を、それぞ
れの文書要素に分離するデータ分離手段と、 簡易プログラムの文字列を、共通文書形式に適合した形
式のデータに変換する簡易プログラム変換手段と、 簡易プログラムの識別、起動を目的とした図形データを
、共通文書形式に適合した形式のデータに変換する図形
データ変換手段と、 前記簡易プログラム変換手段及び、図形データ変換手段
から出力された変換後のデータを結合するデータ結合手
段と、 簡易プログラムと簡易プログラムの識別、起動を目的と
した図形データ以外の全ての文書要素を、共通文書形式
に適合した形式のデータに変換する通常文書変換手段と
、 前記データ結合手段と通常文書変換手段から出力された
全ての文書要素のデータを、共通文書形式の文書に並べ
換えて一つの文書データに結合する文書要素結合手段と
、 を具え、第1の装置から受信した文書データを、共通文
書形式に適合した文書データに変換して第2の装置に出
力することを特徴とする文書変換装置。
[Claims] Disposed between a first device that creates and edits document data and a second device that receives document data from the first device, the document data received from the first device A document conversion device that converts a document into document data conforming to a document format of a second device, a document element reading means for reading out document elements element by element from document data input from the first device, The elements identify simple programs and simple programs,
A document element determining means for determining whether the graphic data is intended for activation; and a data separation means for identifying a simple program and a simple program and separating the contents of the graphic data for the purpose of activation into respective document elements. , a simple program conversion means for converting character strings of a simple program into data in a format compatible with a common document format, and graphic data for the purpose of identifying and starting a simple program into data in a format compatible with a common document format. Graphic data conversion means for converting; data combining means for combining the converted data outputted from the simple program conversion means and the graphic data conversion means; and graphic data for the purpose of identifying and starting simple programs. a normal document conversion means that converts all document elements other than the above into data in a format compatible with the common document format; document element combining means for rearranging the documents into one document data, and converting the document data received from the first device into document data conforming to a common document format and outputting it to the second device. A document conversion device characterized by:
JP1100629A 1989-04-20 1989-04-20 Document converting device Pending JPH038062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1100629A JPH038062A (en) 1989-04-20 1989-04-20 Document converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1100629A JPH038062A (en) 1989-04-20 1989-04-20 Document converting device

Publications (1)

Publication Number Publication Date
JPH038062A true JPH038062A (en) 1991-01-16

Family

ID=14279132

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1100629A Pending JPH038062A (en) 1989-04-20 1989-04-20 Document converting device

Country Status (1)

Country Link
JP (1) JPH038062A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08297565A (en) * 1995-04-27 1996-11-12 Fujitsu Ltd Information converting device at information center

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61139829A (en) * 1984-12-10 1986-06-27 ウオング・ラボラトリーズ・インコーポレーテツド Apparatus, method and construction for converting document having certain structure to that having another structure

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61139829A (en) * 1984-12-10 1986-06-27 ウオング・ラボラトリーズ・インコーポレーテツド Apparatus, method and construction for converting document having certain structure to that having another structure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08297565A (en) * 1995-04-27 1996-11-12 Fujitsu Ltd Information converting device at information center

Similar Documents

Publication Publication Date Title
JPH038062A (en) Document converting device
JPH0540721A (en) Computer system
JPH1011271A (en) Version down inputting system
JP2723655B2 (en) Communication processing device
JPH0744383A (en) Object processing method
JP2000215196A (en) Vehicle travel controller
JPS6243718A (en) Message output system
JPH03177968A (en) Method and device for switching document data
JPH02302877A (en) Method and device for converting data between cad devices
JPS63157274A (en) Graphic data exchange system
JPH03222062A (en) System for making document common and storing it
JPH0764834A (en) Floppy disk device
JPS61256443A (en) Data exchanging device for simple software
JPH01118957A (en) Data processor
JPS6046588A (en) Discrimination system for frequency of using decentralized registration character
JPS63156455A (en) Method for constituting hardware of communication terminal equipment for multimedia
JPH038060A (en) Document converting device
JP2004318681A (en) Drawing processing device
JPS6368892A (en) Output display system for information processing system
JPH01233655A (en) Network system
JPS61248697A (en) Regenerating system for station data condition of electronic exchange
JPS62144221A (en) Data entry system
JPH01194067A (en) Device for replacing table data
JPH038057A (en) Document converting device
JPS60134958A (en) Document processing system