JP2003108331A - Method for data conversion, program and recording medium - Google Patents

Method for data conversion, program and recording medium

Info

Publication number
JP2003108331A
JP2003108331A JP2001295519A JP2001295519A JP2003108331A JP 2003108331 A JP2003108331 A JP 2003108331A JP 2001295519 A JP2001295519 A JP 2001295519A JP 2001295519 A JP2001295519 A JP 2001295519A JP 2003108331 A JP2003108331 A JP 2003108331A
Authority
JP
Japan
Prior art keywords
data
format
conversion
application
xml
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
JP2001295519A
Other languages
Japanese (ja)
Inventor
Tadaatsu Nagumo
忠厚 南雲
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 JP2001295519A priority Critical patent/JP2003108331A/en
Publication of JP2003108331A publication Critical patent/JP2003108331A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently convert binary data proper to a variety of applications into data in an XML (Extensible Markup Language) format with high liquidity and visibility capable of processing simultaneously images, characters and ruled lines. SOLUTION: A method for data conversion comprises a first conversion step of converting proper binary data such applications as WORD (RM) and EXCEL (RM) into data in an EMF format to print out by a printer driver 30 of an application 28 and a second conversion step of converting the data in the EMF format into the data in the XML format by a data conversion program 32 in reference to a creation rule described in correspondence with an application 38 using the data in the XML format including elements such as the characters, ruled lines and images.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、印刷機能やOCR
機能を有するコンピュータシステムのデータ変換、プロ
グラム、方法、装置及び記録媒体に関し、特に用紙管理
のデータ、イメージファイルおよび各種アプリケーショ
ン固有のデータ形式から、テキストベースで視認性の高
い文字等の情報をもつXML形式のデータに変換するデ
ータ変換プログラム、方法、装置及び記録媒体に関す
る。
TECHNICAL FIELD The present invention relates to a printing function and OCR.
Data conversion of a computer system having functions, program, method, device and recording medium, especially XML having information such as highly visible characters on a text base from data of paper management, image files and data formats peculiar to various applications The present invention relates to a data conversion program, method, device, and recording medium for converting data in the format.

【0002】[0002]

【従来技術】従来、各種のアプリケーションソフトの固
有データは、基本的にはそのアプリケーションソフト自
身でしか扱うことができず、ここに記述されているデー
タを、別のアプリケーションで扱えるようにするために
は、アプリケーションソフト自身にその変換機能を持た
なければならなかった。
2. Description of the Related Art Conventionally, the unique data of various application software can be basically handled only by the application software itself, and the data described here must be handled by another application. Had to have the conversion function in the application software itself.

【0003】また、印刷媒体となる紙などに記録し保管
されているデータは、コンピュータを利用して電子的に
データ処理をするために、アプリケーションソフトを起
動し、紙に書かれているデータを見ながらキーボードか
らこのソフトに入力するなどの煩雑な作業をしているの
が一般的である。
The data recorded and stored on a sheet of paper, which is a print medium, is stored in the data stored on the paper by activating application software for electronic data processing using a computer. It is common to do complicated work such as inputting this software from the keyboard while looking.

【0004】これらの問題のうち、アプリケーション固
有データの流用に関しては、印刷システムを利用して別
形式の特別なファイルを生成する方式をもったシステム
として、例えばAdobe Acrobat(R)等が存在し、一形
式のファイルに統一することができる。
Regarding the diversion of application-specific data among these problems, there is, for example, Adobe Acrobat (R) or the like as a system having a method of generating a special file of another format by using a printing system. Can be unified into one format file.

【0005】また紙に印刷されたり、イメージファイル
として保管されているデータは、スキャナや現在のOC
R(文字認識)ソフトを利用すれば、文字ベースのテキ
ストファイルに変換することもできる。
The data printed on paper or stored as an image file is stored in a scanner or the current OC.
If you use R (character recognition) software, you can convert it to a character-based text file.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
特定のデータ形式に統一的に変換するシステムにあって
は、一形式のファイルに統一できるという意味で、管理
が容易になったとは言えるが、この特殊なファイル形式
を読むための専用アプリケーションソフトが必要なこと
には変わりなく、バイナリデータのため人間の理解でき
ないデータ形式であり、例えば特殊なオペレーティング
システム(装置組み込み型OS等)上では参照すること
もできないなど、不完全であるというのが実態である。
However, in the conventional system for uniformly converting data into a specific data format, it can be said that the management is easy because it can be unified into one format file. The special application software for reading this special file format is still necessary, and it is a data format that cannot be understood by humans because it is binary data. For example, it is referred to on a special operating system (device built-in OS, etc.). The reality is that it is incomplete, such as being unable to do anything.

【0007】また、データをエクセル(R)などの別の
集計用アプリケーションソフトに転記したり、計算式に
組み込んだりといったことが簡単にできず、資産データ
の流用性と言う意味でも問題が残っている。
[0007] Further, it is not possible to easily transfer the data to another tabulation application software such as Excel (R) or incorporate it into a calculation formula, and there is a problem in terms of diversion of asset data. There is.

【0008】一方、データベースとして一般化している
XML形式ファイルは、テキストベースであることから
インターネット(HTTPプロトコル)との相性もよ
く、また人間が見て解釈が容易な形式で書かれているこ
とから中間的なデータベースとして活用されることが多
くあり、単に参照を目的としたHTMLファイルなどよ
りも格段に流用性が高いといえる。
On the other hand, the XML format file, which is generalized as a database, is compatible with the Internet (HTTP protocol) because it is text-based, and is written in a format that is easy for humans to interpret. It is often used as an intermediate database, and can be said to be remarkably more versatile than an HTML file or the like for the purpose of reference.

【0009】本発明は、各種アプリケーションに固有な
バイナリデータを、イメージ、文字、罫線を同時に扱う
ことのできる流動性と視認性の高いXML形式のデータ
に効率良く変換するデータ変換プログラム、方法、装置
及び記録媒体を提供することを目的とする。
The present invention is a data conversion program, method, and device for efficiently converting binary data unique to various applications into XML format data with high fluidity and visibility that can simultaneously handle images, characters, and ruled lines. And to provide a recording medium.

【0010】[0010]

【課題を解決するための手段】図1は本発明の原理説明
図である。
FIG. 1 is a diagram for explaining the principle of the present invention.

【0011】本発明は、データ変換プログラムであり、
コンピュータに、アプリケーション28に固有の第1形
式データを、アプリケーションの印刷機能(プリンタド
ライバ30)によりプリンタに出力するための第2形式
データに変換する第1変換ステップと、文字、罫線、図
形等の要素を含む第3形式データを使用するアプリケー
ション38に対応して記述されている生成規則記述ファ
イル34を参照して第2形式データを第3形式データに
変換する第2変換ステップとを実行させることを特徴と
する。
The present invention is a data conversion program,
In the computer, a first conversion step of converting the first format data unique to the application 28 into the second format data to be output to the printer by the print function (printer driver 30) of the application, and characters, ruled lines, graphics, etc. Performing a second conversion step of converting the second format data into the third format data by referring to the production rule description file 34 described corresponding to the application 38 using the third format data including the elements. Is characterized by.

【0012】ここで第1変換ステップは第1形式データ
をプリンタドライバ30によりEMF形式の第2形式デ
ータに変換し、第2変換ステップはEMF形式の第2形
式データをXML形式の第3形式データに変換する。ま
た第1変換ステップで変換する第1形式データは、ワー
ド(R)形式又はエクセル(R)形式を含むバイナリデ
ータである。
The first conversion step converts the first format data into the second format data of the EMF format by the printer driver 30, and the second conversion step converts the second format data of the EMF format into the third format data of the XML format. Convert to. The first format data converted in the first conversion step is binary data including a word (R) format or an Excel (R) format.

【0013】このため本発明によれば、アプリケーショ
ンに対しOSが印刷機能を有すれば、それ以上の特別な
措置を必要せず、更に実際の印刷装置が接続されている
必要もなく、各種アプリケーションの異なるバイナリ形
式データをプリンタ出力のための例えばEMF形式のデ
ータに変換した後に、XML形式のデータに変換するこ
とになり、このため異なるバイナリ形式のデータを統一
的にXML形式のデータに変換できる。
Therefore, according to the present invention, as long as the OS has a printing function for the application, no further special measures are required and the actual printing device need not be connected, and various applications Different binary format data is converted into, for example, EMF format data for printer output, and then converted into XML format data. Therefore, different binary format data can be uniformly converted into XML format data. .

【0014】また本発明では、XML形式のデータファ
イルを扱うアプリケーションソフトに対応して準備され
た生成規則の参照によりデータを内部的に解釈して変換
しており、これによってXML形式のファイルを扱う各
種のアプリケーションソフトに最適な形に変換できる。
Further, in the present invention, the data is internally interpreted and converted by referring to the generation rule prepared corresponding to the application software that handles the XML format data file, and the XML format file is handled accordingly. It can be converted into the most suitable form for various application software.

【0015】本発明のデータ変換プログラムの別の形態
にあっては、コンピュータに、スキャナにより読取った
印刷媒体の画像又は画像ファイルから読出した画像を文
字認識(OCR)アプリケーションにより第1形式デー
タの変換した後に、アプリケーションの印刷機能により
プリンタに出力するための第2形式データに変換する第
1変換ステップと、文字、罫線、図形等の要素を含む第
3形式データを使用するアプリケーションに対応して記
述されている生成規則を参照して前記第2形式データを
第3形式データに変換する第2変換ステップとを実行さ
せることを特徴とする。
According to another aspect of the data conversion program of the present invention, a character recognition (OCR) application converts the first format data of an image of a print medium read by a scanner or an image read from an image file to a computer. After that, the first conversion step of converting into the second format data to be output to the printer by the print function of the application and the description corresponding to the application using the third format data including elements such as characters, ruled lines, and figures The second conversion step of converting the second format data into the third format data with reference to the generated generation rule is performed.

【0016】このため紙に印刷された画像や画像ファイ
ルに格納された画像であっても、文書認識アプリケーシ
ョンの印刷機能によるデータ変換を経由することで統一
的にXML形式のデータに円滑に変換でき、データの流
用性が各段に向上する。
Therefore, even an image printed on paper or an image stored in an image file can be smoothly and uniformly converted into XML format data by passing through the data conversion by the printing function of the document recognition application. , The diversion of data will be improved.

【0017】第2変換ステップは、第3形式データに変
換した後に、変換した第3形式データを扱うアプリケー
ションを自動的に起動してデータを渡す。これにより本
発明のデータ変換機能を、XML形式のデータを扱うア
プリケーションの入力データ変換機能としてアプリケー
ションの起動条件に組込み、XML形式のアプリケーシ
ョンでありながら、各種のバイナリ形式を扱うアプリケ
ーションとして機能させることができる。
In the second conversion step, after converting the data into the third format data, an application that handles the converted third format data is automatically activated to pass the data. Thus, the data conversion function of the present invention can be incorporated into the application start condition as an input data conversion function of an application that handles XML format data, and can function as an application that handles various binary formats even though it is an XML format application. it can.

【0018】第2変換ステップは、生成規則にXML形
式の要素名と属性名の定義を記述しており、更に要素名
の定義を操作者の入力に応じてユーザにより設定変更可
能としている。このため、XML形式を扱うアプリケー
ションといえど、データ形式がXMLであるだけで、そ
れぞれ異なった要素名や属性名を扱い、アプリケーショ
ン固有の要素名であることも多いが、本発明によりXM
L形式を扱う異なるアプリケーションそれぞれに対応で
きるように、要素名や属性名を生成する規則の定義をユ
ーザが確認しながら設定することができる。
In the second conversion step, the definition of the element name and the attribute name in the XML format is described in the generation rule, and the definition of the element name can be changed by the user according to the input of the operator. For this reason, even if an application handles the XML format, only the data format is XML, and different element names and attribute names are often dealt with, and the application-specific element names are often used.
The user can set the definition of the rule for generating the element name and the attribute name while confirming the rule so as to be compatible with different applications handling the L format.

【0019】本発明は、データ変換方法を提供するもの
であって、アプリケーション固有の第1形式データを、
アプリケーションの印刷機能によりプリンタに出力する
ための第2形式データに変換する第1変換ステップと、
文字、罫線、図形等の要素を含む第3形式データ(XM
L形式データ)を使用するアプリケーションに対応して
記述されている生成規則を参照して第2形式データを第
3形式データに変換する第2変換ステップとを備えたこ
とを特徴とする。
The present invention provides a data conversion method for converting application-specific first format data into
A first conversion step of converting into second format data for outputting to a printer by the print function of the application;
Third format data (XM including elements such as characters, ruled lines, and figures)
The second conversion step of converting the second format data into the third format data by referring to the generation rule described corresponding to the application using the L format data).

【0020】また別形態のデータ変換方法にあっては、
スキャナにより読取った印刷媒体の画像又は画像ファイ
ルから読出した画像を文書認識アプリケーションにより
第1形式データの変換した後に、アプリケーションの印
刷機能によりプリンタに出力するための第2形式データ
に変換する第1変換ステップと、文字、罫線、図形等の
要素を含む第3形式データ(XML形式データ)を使用
するアプリケーションに対応して記述されている生成規
則を参照して第2形式データを第3形式データに変換す
る第2変換ステップとを備えたことを特徴とする。定義
をユーザが確認しながら設定することができる。
In another form of data conversion method,
A first conversion in which an image of a print medium read by a scanner or an image read from an image file is converted into first format data by a document recognition application and then converted into second format data to be output to a printer by a printing function of the application. The second format data is converted into the third format data by referring to the generation rule described corresponding to the step and the application using the third format data (XML format data) including elements such as characters, ruled lines, and figures. And a second converting step for converting. The definition can be set while the user confirms it.

【0021】本発明は、データ変換装置を提供するもの
であって、アプリケーション固有の第1形式データを、
アプリケーションの印刷機能によりプリンタに出力する
ための第2形式データに変換する第1変換部と、文字、
罫線、図形等の要素を含む第3形式データ(XML形式
データ)を使用するアプリケーションに対応して記述さ
れている生成規則を参照して第2形式データを第3形式
データに変換する第2変換部とを備えたことを特徴とす
る。
[0021] The present invention provides a data converter, which converts application-specific first format data into
A first conversion unit for converting the data into a second format data to be output to the printer by the print function of the application;
Second conversion for converting the second format data into the third format data by referring to the generation rule described corresponding to the application that uses the third format data (XML format data) including elements such as ruled lines and figures And a section.

【0022】また別形態のデータ変換装置にあっては、
スキャナにより読取った印刷媒体の画像又は画像ファイ
ルから読出した画像を文書認識アプリケーションにより
第1形式データの変換した後に、アプリケーションの印
刷機能によりプリンタに出力するための第2形式データ
に変換する第1変換部と、文字、罫線、図形等の要素を
含む第3形式データ(XML形式データ)を使用するア
プリケーションに対応して記述されている生成規則を参
照して第2形式データを第3形式データに変換する第2
変換部とを備えたことを特徴とする。
In another form of the data conversion device,
A first conversion in which an image of a print medium read by a scanner or an image read from an image file is converted into first format data by a document recognition application and then converted into second format data to be output to a printer by a printing function of the application. The second format data is converted into the third format data by referring to the generation rule described corresponding to the application that uses the third format data (XML format data) including the part and elements such as characters, ruled lines, and graphics. Second to convert
And a conversion unit.

【0023】本発明は、データ変換プログラムを格納し
たコンピュータ読取可能な記録媒体を提供するものであ
り、記録媒体に格納されたプログラムは、コンピュータ
に、アプリケーション固有の第1形式データを、アプリ
ケーションの印刷機能によりプリンタに出力するための
第2形式データに変換する第1変換ステップと、文字、
罫線、図形等の要素を含む第3形式データ(XML形式
データ)を使用するアプリケーションに対応して記述さ
れている生成規則を参照して第2形式データを第3形式
データに変換する第2変換ステップとを実行させる。
The present invention provides a computer-readable recording medium in which a data conversion program is stored. The program stored in the recording medium causes a computer to print application-specific first format data and print the application. A first conversion step for converting the data into a second format data to be output to the printer by the function;
Second conversion for converting the second format data into the third format data by referring to the generation rule described corresponding to the application that uses the third format data (XML format data) including elements such as ruled lines and figures Perform steps and.

【0024】また別の形態のコンピュータ読取可能な記
録媒体に格納されたプログラムにあっては、コンピュー
タに、スキャナにより読取った印刷媒体の画像又は画像
ファイルから読出した画像を文書認識アプリケーション
により第1形式データの変換した後に、アプリケーショ
ンの印刷機能によりプリンタに出力するための第2形式
データに変換する第1変換ステップと、文字、罫線、図
形等の要素を含む第3形式データ(XML形式データ)
を使用するアプリケーションに対応して記述されている
生成規則を参照して第2形式データを第3形式データに
変換する第2変換ステップとを実行させる。
According to another aspect of the program stored in a computer-readable recording medium, a computer recognizes an image of a print medium read by a scanner or an image read from an image file in a first format by a document recognition application. After the data conversion, the first conversion step of converting the data into the second format data to be output to the printer by the printing function of the application, and the third format data (XML format data) including elements such as characters, ruled lines and figures
And a second conversion step of converting the second format data into the third format data with reference to the generation rule described corresponding to the application that uses the.

【0025】尚、方法、装置及び記録媒体の詳細はデー
タ変換プログラムと基本的に同じになる。
The details of the method, apparatus and recording medium are basically the same as those of the data conversion program.

【0026】[0026]

【発明の実施の形態】図2は本発明のデータ変換が適用
されるコンピュータの基本的な構成図である。コンピュ
ータの演算装置はCPU10で実現され、CPU10に
はバス12を介して主記憶装置14、入力装置16、出
力装置18、補助記憶装置20を接続している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 2 is a basic configuration diagram of a computer to which the data conversion of the present invention is applied. The computing device of the computer is realized by the CPU 10, and the main storage device 14, the input device 16, the output device 18, and the auxiliary storage device 20 are connected to the CPU 10 via the bus 12.

【0027】主記憶装置14は半導体記憶装置で読み書
きが可能なRAMなどのメモリである。入力装置16は
キーボード、マウス、タッチパネル、トラックボールな
どを含んでいる。出力装置18はCRT表示装置、液晶
表示装置、プラズマ表示装置、プリンタ、プロッタなど
を必要に応じて備える。
The main storage device 14 is a memory such as a RAM that can be read and written by a semiconductor storage device. The input device 16 includes a keyboard, a mouse, a touch panel, a trackball, and the like. The output device 18 includes a CRT display device, a liquid crystal display device, a plasma display device, a printer, a plotter, and the like as needed.

【0028】補助記憶装置20はハードディスクドライ
ブ、光磁気ディスクドライブ、半導体メモリなどを含
み、ハードディスクドライブ及び光磁気ディスクドライ
ブの記憶媒体22としては磁気ディスクと光磁気ディス
クが対応する。更に本発明の実施形態にあっては、紙に
印刷された画像を読み込んでデータ変換するためスキャ
ナ24を必要に応じて備えており、このスキャナ24は
入力装置16に含まれることになる。
The auxiliary storage device 20 includes a hard disk drive, a magneto-optical disk drive, a semiconductor memory, etc., and a magnetic disk and a magneto-optical disk correspond to the storage medium 22 of the hard disk drive and the magneto-optical disk drive. Further, in the embodiment of the present invention, the scanner 24 is provided as necessary for reading an image printed on paper and converting the data, and the scanner 24 is included in the input device 16.

【0029】本発明のデータ変換方法を実現するデータ
変換プログラムは補助記憶装置20における例えばハー
ドディスクドライブの磁気ディスクにインストールされ
ており、補助記憶装置20から読み出されて、主記憶装
置14に展開されてもCPU10によりデータ変換が実
行されることになる。
A data conversion program for implementing the data conversion method of the present invention is installed in, for example, a magnetic disk of a hard disk drive in the auxiliary storage device 20, read from the auxiliary storage device 20, and expanded in the main storage device 14. However, the data conversion is executed by the CPU 10.

【0030】図3は、本発明のデータ変換による処理機
能の説明図である。本発明のデータ変換で変換対象とす
るデータは文書データ26であり、この文書データ26
としては、例えばコンピュータ装置のOSとしてウィン
ドウズ(R)を使用している場合には、ワード(R)形
式又はエクセル(R)形式などのデータファイルであ
る。
FIG. 3 is an explanatory diagram of processing functions by data conversion of the present invention. The data to be converted in the data conversion of the present invention is the document data 26.
For example, when Windows (R) is used as the OS of the computer, it is a data file in the word (R) format or the Excel (R) format.

【0031】この文書データ26を扱う例えばワード
(R)形式の文書データ26にあっては、ワード(R)
がアプリケーション28として設けられている。またエ
クセル(R)形式の文書データ26を扱う場合にはエク
セル(R)がアプリケーション28として設けられてい
る。
For example, in the case of the word (R) format document data 26 that handles the document data 26, the word (R)
Are provided as the application 28. Further, when handling the document data 26 in the Excel (R) format, the Excel (R) is provided as the application 28.

【0032】このようなワード(R)又はエクセル
(R)などのアプリケーション28はアプリケーション
自体に印刷機能が連携して設けられており、アプリケー
ション28のメニュー画面で印刷のダイヤログを開いて
印刷動作を指示すると、印刷機能として設けられている
プリンタドライバ30が文書データ26をプリンタに出
力するためのデータ形式に変換して出力する。
The application 28 such as the word (R) or the Excel (R) is provided with the printing function in cooperation with the application itself, and the printing dialog is opened on the menu screen of the application 28 to perform the printing operation. When instructed, the printer driver 30 provided as a printing function converts the document data 26 into a data format for outputting to the printer and outputs it.

【0033】このプリンタドライバ30が変換出力する
データファイルの形式としては、ウィンドウズ(R)を
使用している場合にはEMF形式のデータファイルに変
換される。
The data file format converted and output by the printer driver 30 is converted into an EMF format data file when Windows (R) is used.

【0034】本発明のデータ変換はプリンタドライバ3
0に続いて設けられたデータ変換プログラム32により
行われる。データ変換プログラム32はプリンタドライ
バ30から出力された例えばEMFデータファイルを取
り込み、生成規則記述ファイル34に定義された内容に
従ってEMF形式データをXML形式データに変換し、
XMLデータファイル36を生成する。そしてXMLデ
ータファイル36の生成後に関連するXMLを扱うこと
のできるアプリケーション28を起動し、変換したXM
Lデータファイル36を引き渡す。
The data conversion of the present invention is performed by the printer driver 3
It is performed by the data conversion program 32 provided subsequent to 0. The data conversion program 32 takes in, for example, an EMF data file output from the printer driver 30, converts the EMF format data into XML format data according to the contents defined in the generation rule description file 34,
The XML data file 36 is generated. Then, after the XML data file 36 is generated, the application 28 that can handle the related XML is started, and the converted XML
The L data file 36 is delivered.

【0035】生成規則記述ファイル34は、XMLを扱
うアプリケーション28ごとにXML形式内の記述方法
が異なるため、各アプリケーションにマッチするよう
に、また拡張子やアプリケーションのプログラムパスを
設定できるように対応する生成規則を準備している。こ
の生成規則記述ファイル34の内容については後の説明
で明らかにする。
Since the generation method description file 34 has a different description method in the XML format for each application 28 that handles XML, it corresponds so as to match each application and to set the extension and the program path of the application. We are preparing production rules. The contents of the generation rule description file 34 will be clarified later.

【0036】またデータ変換プログラム32は、プリン
タドライバ30からのEMFデータファイルをXMLデ
ータファイル36に変換する際には、次の関数を順次読
み出して処理を実行することになる。 (1)XMLファイル作成開始処理関数 (2)ページデータ解析処理関数 (3)XMLファイル作成終了処理関数 図4は、図3に示した本発明のデータ変換による基本的
な処理手順のフローチャートである。まずステップS1
でXMLファイル作成開始処理を行う。この実施形態は
ウィンドウズ(R)を使用した場合を例にとっているこ
とから、ステップS2でプリンタドライバ30によるア
プリケーション28の文書データ26を、プリンタに出
力するためのプリンタドライバ30によるEMF形式の
データファイルに変換する印刷データのEMF化を行
う。
Further, when converting the EMF data file from the printer driver 30 into the XML data file 36, the data conversion program 32 sequentially reads the following functions and executes the processing. (1) XML file creation start processing function (2) Page data analysis processing function (3) XML file creation end processing function FIG. 4 is a flowchart of the basic processing procedure by the data conversion of the present invention shown in FIG. . First, step S1
Then, the XML file creation start process is performed. Since this embodiment uses the case of using Windows (R) as an example, the document data 26 of the application 28 by the printer driver 30 is converted into an EMF format data file by the printer driver 30 for outputting to the printer in step S2. The print data to be converted is converted into EMF.

【0037】続いてEMFデータファイルを対象にステ
ップS3でページデータ解析処理を行い、EMFデータ
ファイルに含まれている文字、罫線、イメージなどのデ
ータごとにそれぞれの対応する変換モジュールを使用し
て、XML形式へのデータ変換を行う。
Subsequently, page data analysis processing is performed on the EMF data file in step S3, and the corresponding conversion modules are used for each data such as characters, ruled lines, and images contained in the EMF data file. Performs data conversion to XML format.

【0038】続いてステップS4で作成した1ページ分
のEMFファイルを削除した後、ステップS5で全ペー
ジ終了か否かをチェックし、全ページ終了するまでステ
ップS2〜S4の終了を繰り返す。ステップS5で全ペ
ージ終了が判別されるとステップS6に進み、XMLフ
ァイル作成終了処理を行い一連のデータ変換を終わる。
Then, after deleting the EMF file for one page created in step S4, it is checked in step S5 whether or not all the pages are finished, and the steps S2 to S4 are repeated until all the pages are finished. When the end of all pages is determined in step S5, the process proceeds to step S6, the XML file creation ending process is performed, and the series of data conversion is ended.

【0039】図5は、図4に示した本発明のデータ変換
プログラム32によるデータ変換を起動するためのユー
ザインタフェースの一例である。図5のユーザインタフ
ェースとしては、アプリケーション28に対応したウィ
ンドウズ(R)のワード(R)文書画面のツールバーの
ファイルを開いたときに表示される印刷(P)のクリッ
クで展開された印刷用ダイアログ40を使用する。
FIG. 5 shows an example of a user interface for activating data conversion by the data conversion program 32 of the present invention shown in FIG. As the user interface shown in FIG. 5, the print dialog 40 expanded by clicking the print (P) displayed when the file of the toolbar of the Windows (R) word (R) document screen corresponding to the application 28 is opened. To use.

【0040】この印刷用ダイアログ40の中に本発明に
あってはXMLアプリケーション選択用リストボックス
41を設けている。このアプリケーション選択用リスト
ボックス41には本発明のデータ変換プログラム32の
データ名として、例えば「FF99 FORMCREa
tER」が表示されており、リストボックスを開くとそ
の中にデータ変換したXMLデータファイルを扱うアプ
リケーション28が一又は複数、列挙されている。
According to the present invention, an XML application selection list box 41 is provided in the printing dialog 40. In the application selection list box 41, a data name of the data conversion program 32 of the present invention, for example, "FF99 FORMCREa" is displayed.
“TER” is displayed, and when the list box is opened, one or a plurality of applications 28 that handle the converted XML data file are listed therein.

【0041】従って、XMLアプリケーション選択用リ
ストボックス41を開いて変換したいXMLデータを取
り扱うアプリケーション名をクリックすると、本発明の
データ変換プログラム32によるデータ変換が開始さ
れ、XMLデータファイル36に変換した後にクリック
したアプリケーション28を自動的に起動して変換済み
XMLデータファイル36に関連する処理が実行され
る。
Therefore, when the XML application selection list box 41 is opened and the name of the application that handles the XML data to be converted is clicked, data conversion by the data conversion program 32 of the present invention is started, and after conversion to the XML data file 36, click. The created application 28 is automatically started, and the processing related to the converted XML data file 36 is executed.

【0042】図6は、図5のXMLデータアプリケーシ
ョン選択用リストボックス41からアプリケーション名
を選択してデータ変換資料を開始した際に表示される生
成規則選択用ダイアログ42の例である。
FIG. 6 shows an example of the generation rule selection dialog 42 displayed when the application name is selected from the XML data application selection list box 41 of FIG. 5 to start the data conversion material.

【0043】この生成規則選択用ダイアログ42にはX
MLデータファイルを扱うアプリケーションのジョブ
名、例えば「ソフトウェア購入仕様書」と、これに対応
した生成規則の名称「WORD.rul」が示されてい
る。
X is displayed in the production rule selection dialog 42.
The job name of the application that handles the ML data file, for example, "software purchase specification" and the name of the generation rule "WORD.rul" corresponding to this are shown.

【0044】もちろん生成規則選択用リストボックス4
4を開けば、それ以外のXMLデータファイルを扱うア
プリケーションに対応した生成規則の名称が列挙されて
おり、ユーザがリストボックスのリストの中から起動し
ようとするXML内のアプリケーションに対応した生成
規則を選択して設定することで、図3の生成規則記述フ
ァイル34に予め準備されているアプリケーション28
に対応した生成規則を使用したデータ変換プログラム3
2によるXMLデータファイル36への変換が行われ
る。
Of course, the production rule selection list box 4
If you open 4, the names of the generation rules corresponding to the other applications that handle XML data files are listed, and the generation rules corresponding to the applications in the XML that the user wants to start from the list in the list box are listed. By selecting and setting the application 28 prepared in advance in the generation rule description file 34 of FIG.
Data conversion program 3 using generation rules corresponding to
The conversion to the XML data file 36 by 2 is performed.

【0045】次に図4の基本的な処理手順のフローチャ
ートに示したステップS1のXMLファイル作成開始処
理、ステップS3のページデータ解析処理、さらにステ
ップS6のXMLファイル作成終了処理のそれぞれにつ
いて図7〜図23を参照して詳細に説明する。
Next, the XML file creation start process of step S1, the page data analysis process of step S3, and the XML file creation end process of step S6 shown in the flowchart of the basic processing procedure of FIG. This will be described in detail with reference to FIG.

【0046】図7は、図4のステップS1のXMLファ
イル作成開始処理の詳細を示したフローチャートであ
る。XMLファイル作成開始処理はステップS1で生成
規則記述ファイル34に従って「文書タイトル」プラス
「拡張子」としてXML形式の新規ファイルを作成す
る。
FIG. 7 is a flow chart showing the details of the XML file creation start processing in step S1 of FIG. In the XML file creation start processing, a new file in XML format is created as "document title" plus "extension" according to the creation rule description file 34 in step S1.

【0047】続いて次にステップS2で同じく生成規則
記述ファイル34に従ってXMLヘッダを作成しファイ
ルに書き込む。このステップS2で作成されるXMLヘ
ッダは例えば図8のようになる。尚、ヘッダの作成に使
用している生成規則記述ファイル34の要素名や属性名
については後の説明で明らかにする。
Then, in step S2, an XML header is similarly created according to the creation rule description file 34 and written in the file. The XML header created in step S2 is, for example, as shown in FIG. The element names and attribute names of the generation rule description file 34 used to create the header will be clarified later.

【0048】図9、図10は、図4のステップS3にお
けるページデータ解析処理の詳細を示したフローチャー
トである。このページデータ解析処理にあってはEMF
のデータファイルの内部解析を行い、文字、罫線、イメ
ージなどのデータごとに分配してもそれぞれの変換モジ
ュールを利用してXML形式に変換して保存する。
9 and 10 are flow charts showing details of the page data analysis process in step S3 of FIG. In this page data analysis process, EMF
The internal analysis of the data file is performed, and even if data such as characters, ruled lines, and images are distributed, the data is converted into the XML format and saved by using each conversion module.

【0049】ページデータ解析処理は、まずステップS
1で生成規則記述ファイル34に従ってページヘッダを
作成しファイルに書き込む。次にステップS2でEMF
ファイルの1レコードを読み込む。
The page data analysis process starts with step S.
In 1, the page header is created according to the generation rule description file 34 and written in the file. Next, in step S2, EMF is performed.
Read one record in the file.

【0050】次にステップS3で生成規則はプログラマ
ブルか否かチェックする。これはEMFデータの文字、
罫線、イメージなどの変換規則は内部プログラムを読み
出すことも可能なため、データ資料ごとに生成規則記述
ファイル34を生成規則を終了する内部プログラムの変
換規則を設定するかユーザが設定できるようにしてい
る。
Next, in step S3, it is checked whether the generation rule is programmable. This is the character of EMF data,
Since the internal rules can be read out for the conversion rules such as ruled lines and images, the generation rule description file 34 is set for each data material, or the conversion rule of the internal program for ending the generation rules is set or the user can set it. .

【0051】即ち、ステップS3で生成規則がプログラ
マブルでなかったときには生成規則記述ファイル34か
ら読み込んでメモリに展開する。一方、生成規則がプロ
グラマブルであった場合にはステップS5に進み、外部
プログラムを読み出し生成規則にメモリを展開する。
That is, when the generation rule is not programmable in step S3, it is read from the generation rule description file 34 and expanded in the memory. On the other hand, if the generation rule is programmable, the process proceeds to step S5, the external program is read, and the memory is expanded to the generation rule.

【0052】次にステップS6でレコードのコマンドを
分類する。ここでEMFファイルのレコードの分類とし
ては次の7つがある。 (1)フォントフェース変更レコード (2)テキストカラー変更レコード (3)ペン変更レコード (4)ペン位置変更レコード (5)文字情報 (6)罫線情報 (7)イメージ情報 このためステップS6のレコードのコマンド分類で特定
の種別が判別されると、それぞれに対応したステップS
7〜S13の処理を行う。更にレコードの種別が終了コ
マンドであった場合にはステップS14でEMFファイ
ルのクローズ処理を行う。
Next, in step S6, the commands of the records are classified. Here, there are the following seven categories of records in the EMF file. (1) Font face change record (2) Text color change record (3) Pen change record (4) Pen position change record (5) Character information (6) Ruled line information (7) Image information Therefore, the command of the record in step S6 When a specific type is discriminated by the classification, the corresponding step S
The processing from 7 to S13 is performed. If the record type is the end command, the EMF file close processing is performed in step S14.

【0053】分類したレコードのコマンド処理として、
ステップS7はフォントフェース変更レコードについて
フォントフェース名を抽出し、生成規則に従ってその変
数をエンコードする。更にフォントサイズを設定する。
ステップS8のテキストカラー変更レコードについては
テキストカラーを抽出する。
As command processing of classified records,
A step S7 extracts the font face name from the font face change record and encodes the variable according to the generation rule. Further set the font size.
The text color is extracted from the text color change record in step S8.

【0054】ステップS9のペン変更レコードについて
はペンカラーを抽出する。ステップS10のペン位置変
更レコードについてはペンのX座標とペンのY座標を抽
出する。ステップS11の文字情報については文字情報
をXML形式のデータに変換してファイルに記録する。
ステップS12の罫線情報については罫線情報をXML
形式に変換してファイルの記録をする。更にステップS
13のイメージ情報についてはXML形式のイメージ情
報に変換してファイルに記録する。
The pen color is extracted from the pen change record in step S9. For the pen position change record in step S10, the pen X coordinate and the pen Y coordinate are extracted. Regarding the character information in step S11, the character information is converted into XML format data and recorded in a file.
Regarding the ruled line information in step S12, the ruled line information is XML.
Convert the format and record the file. Further step S
The image information 13 is converted into XML format image information and recorded in a file.

【0055】このうちステップS11〜S13の文字情
報、罫線情報、イメージ情報のそれぞれのXMLファイ
ルへの変換が図11〜図21により詳細に説明する。ス
テップS14で終了コマンドへのEMFファイルのクロ
ーズ処理を行うと、図10のステップS15に進み生成
規則記述ファイル34に従ってページフッタを作成しフ
ァイルに書き込み、図4のメインルーチンにリターンす
る。
Of these, the conversion of the character information, ruled line information, and image information into XML files in steps S11 to S13 will be described in detail with reference to FIGS. When the EMF file close processing to the end command is performed in step S14, the process proceeds to step S15 in FIG. 10 to create a page footer according to the generation rule description file 34, write the page footer in the file, and return to the main routine in FIG.

【0056】図11〜図13は、図9のステップS11
における文字情報のXMLファイル記録の処理手順のフ
ローチャートである。この文字情報XMLファイル記録
処理手順にあっては、まずステップS1〜S4にXML
形式に変換するためのEMFデータごとにその要素名や
属性名をユーザが対話的に変更できるしくみを持ってい
る。このためユーザ指定の仕組みは生成規則記述ファイ
ル34の中で行うことができる。
11 to 13 show step S11 in FIG.
5 is a flowchart of a processing procedure of recording an XML file of character information in FIG. In this character information XML file recording processing procedure, first, XML is performed in steps S1 to S4.
It has a mechanism that allows the user to interactively change the element name and attribute name of each EMF data for conversion into the format. Therefore, the mechanism specified by the user can be performed in the generation rule description file 34.

【0057】まずステップS1で生成規則記述ファイル
34が対話形式に記述されているか否かチェックする。
対話形式に記述されていればステップS2でメモリに展
開されている生成規則に要素名や属性名が要求されてい
るようになっているかチェックする。
First, in step S1, it is checked whether or not the generation rule description file 34 is described in an interactive format.
If it is described in the interactive form, it is checked in step S2 whether the element name and the attribute name are required in the generation rule developed in the memory.

【0058】生成規則がこの条件を満足する場合にはス
テップS3に進み、要素名や属性名を設定しようとする
ダイアログを表示する。このダイアログにはテキストや
座標などといった情報が表示されており、ユーザは要素
名や属性名を入力して対話的に変更することができる。
If the generation rule satisfies this condition, the process proceeds to step S3, and a dialog for setting the element name and the attribute name is displayed. Information such as text and coordinates is displayed in this dialog, and the user can interactively change the element name and attribute name by inputting them.

【0059】次にステップS4でユーザが入力した要素
名や属性名を保存する。このステップS1〜S4のユー
ザとの対話形式によるXML形式に変換するために使用
する要素名や属性名の設定変更の詳細は、図30〜図3
9において具体的に説明する。
Next, in step S4, the element name and attribute name input by the user are saved. Details of changing the settings of the element names and attribute names used for converting to the XML format by the dialog format with the user in steps S1 to S4 will be described with reference to FIGS.
This will be specifically described in Section 9.

【0060】次にステップS5でEMFデータの文字情
報に関する生成記憶を文字情報タグとしてメモリ上にコ
ピーする。次にステップS6で生成記憶に%POSX%
があるか否かチェックし、存在すればステップS7でE
MFレコードの開始X座標を「POSX」として抽出す
る。
Next, in step S5, the generated storage relating to the character information of the EMF data is copied onto the memory as a character information tag. Next, in step S6,% POSX% is generated and stored.
It is checked whether or not there is, and if there is, E in step S7.
The start X coordinate of the MF record is extracted as "POSX".

【0061】次にステップS8でPosXを一旦288
00dpi論理値に変換しても生成規則「Scale」
の演算に従って変換し、文字情報タグの%POSX%の
部分に置き換えする。
Next, in step S8, PosX is once set to 288.
Generation rule "Scale" even if converted to 00 dpi logical value
It is converted according to the calculation of and replaced with the% POSX% portion of the character information tag.

【0062】同様な座標抽出の変換をステップS9〜S
11でEMFレコードの開始Y座標について行う。続い
てステップS12〜S14でEMFレコードの文字幅に
ついてのXML形式の変換を行う。
A similar coordinate extraction conversion is performed in steps S9 to S.
In step 11, the start Y coordinate of the EMF record is performed. Subsequently, in steps S12 to S14, the character width of the EMF record is converted into the XML format.

【0063】次のステップS5〜S7はEMFレコード
の高さについてのXML形式の変換である。このように
して開始X座標、開始Y座標、文字幅、文字高さについ
ての変換が成立したならば、ステップS18〜S21で
EMFレコードの文字列を抽出してXML形式へのデー
タ変換を行う。
The following steps S5 to S7 are the XML format conversion of the height of the EMF record. When the conversion of the start X coordinate, the start Y coordinate, the character width, and the character height is established in this way, the character string of the EMF record is extracted and the data conversion to the XML format is performed in steps S18 to S21.

【0064】文字列の変換が済んだならば図13に進
み、ステップS22,S23でフォントサイズの変換を
行い、ステップS24,S25でフォントの変換を行
い、更にステップS26,S27でカラー変換を行い、
このようにして生成した文字情報タグをステップS28
でXML形式に書き込み、図4のメインルーチンにリタ
ーンする。このような図11〜図13における文字情報
のXMLファイルの記録処理により、例えば図14のよ
うな文字情報のタグが作成される。
When the character string conversion is completed, the process proceeds to FIG. 13, the font size conversion is performed in steps S22 and S23, the font conversion is performed in steps S24 and S25, and the color conversion is performed in steps S26 and S27. ,
The character information tag generated in this way is used in step S28.
To write in XML format and return to the main routine of FIG. By such a recording process of the XML file of the character information in FIGS. 11 to 13, a tag of the character information as shown in FIG. 14 is created.

【0065】図15、図16は、図9のステップS6に
おける罫線情報のXMLファイルの記録処理手順の詳細
を示したフローチャートである。この罫線情報のXML
ファイル記録処理手順にあっては、ステップS1〜S4
で罫線情報の変換に必要な要素名や属性名をユーザが対
話的に変更できるようにしている。
FIG. 15 and FIG. 16 are flowcharts showing details of the recording processing procedure of the XML file of the ruled line information in step S6 of FIG. XML of this ruled line information
In the file recording processing procedure, steps S1 to S4
Allows the user to interactively change the element names and attribute names necessary for converting ruled line information.

【0066】続いてステップS5でユーザが変更した要
素名や属性名を含む生成規則あるいは生成規則記述ファ
イル34からの生成記憶を罫線タグ情報としてメモリ上
にコピーする。次にステップS6〜S9でEMFレコー
ドの罫線開始座標(X,Y)のそれぞれのXML形式に
変換する。
Subsequently, in step S5, the generation rule including the element name and the attribute name changed by the user or the generation memory from the generation rule description file 34 is copied onto the memory as ruled line tag information. Next, in steps S6 to S9, the ruled line start coordinates (X, Y) of the EMF record are converted into the respective XML formats.

【0067】続いて図16に進みステップS10〜S1
4で罫線の幅を抽出してXML形式に変換する。即ち、
ステップS10で生成規則に%width%があり、ス
テップS11で罫線開始座標(X,Y)に対し、対角位
置にあるEMFレコードのペン位置のX座標のPenX
2を抽出し、S12で両者の差から罫線開始座標(X,
Y)との下からX軸方向の幅としてPenXを計算す
る。そしてステップS13でXML形式に変換した後、
ステップ14で初期化する。
Next, proceeding to FIG. 16, steps S10 to S1.
In step 4, the width of the ruled line is extracted and converted into the XML format. That is,
In step S10, there is% width% in the generation rule, and in step S11, PenX of the X coordinate of the pen position of the EMF record in the diagonal position with respect to the ruled line start coordinates (X, Y).
2 is extracted, and the ruled line start coordinates (X,
Y) and PenX are calculated as the width in the X-axis direction from the bottom. After converting to XML format in step S13,
Initialize in step 14.

【0068】次のステップS15〜S19にあっては、
Y座標の抽出により罫線のY軸方向となる及び高さを抽
出してXML形式に変換している。ステップS20〜S
22では罫線のタグ情報をXML形式に変換する。最終
的にステップS22で生成した罫線情報タグをXML形
式に書き込んで図9のルーチンにリターンする。この図
15、図16における罫線情報のXMLファイル記録の
処理により、例えば図17のようなXML形式の罫線情
報タグが作成される。
In the next steps S15 to S19,
By extracting the Y coordinate, the ruled line in the Y-axis direction and the height are extracted and converted to the XML format. Steps S20-S
In 22, the tag information of the ruled line is converted into the XML format. Finally, the ruled line information tag generated in step S22 is written in the XML format and the process returns to the routine of FIG. By the process of recording the ruled line information in the XML file in FIGS. 15 and 16, a ruled line information tag in the XML format as shown in FIG. 17, for example, is created.

【0069】図18〜図20は、図9のステップS13
におけるイメージ情報のXMLファイル記録の処理手順
の詳細である。このイメージ情報のXMLファイル記録
についての処理は、ステップS1〜S5で要素名や属性
名についての対話形式によるユーザの設定を可能として
いる。
18 to 20 show step S13 of FIG.
3 is a detailed processing procedure for recording an XML file of image information in FIG. The process for recording the XML file of the image information allows the user to set the element name and the attribute name in an interactive format in steps S1 to S5.

【0070】続いてステップS6〜S8で、開始X座標
のXML形式の変換を行い、ステップS9〜S11で開
始Y座標のXML形式の変換を行い、ステップS12〜
S14でイメージ情報の文字幅についてXML形式に変
換し、ステップS15〜S17でイメージ情報の高さに
ついてXML形式への変換を行う。続いてステップS1
8,S19でEMFレコードからビットマップイメージ
をメモリに展開しても生成規則に従って指定のイメージ
形式に変換する。
Then, in steps S6 to S8, the start X coordinate is converted into XML format, in steps S9 to S11 the start Y coordinate is converted into XML format, and from step S12 to step S12.
In step S14, the character width of the image information is converted into the XML format, and in steps S15 to S17, the height of the image information is converted into the XML format. Then step S1
8. In S19, even if the bitmap image is expanded from the EMF record into the memory, it is converted into the specified image format according to the generation rule.

【0071】次に図20のステップS20で生成規則が
イメージを別ファイルに保存するように指定しているか
否かチェックする。指定していればステップS21で別
のイメージファイルに変換したXML形式のイメージフ
ァイルを保存し、このファイルパスをイメージ情報タグ
内の%imagedata%に書き込む。
Next, in step S20 of FIG. 20, it is checked whether or not the generation rule specifies that the image should be stored in another file. If specified, the image file in XML format converted into another image file is saved in step S21, and this file path is written in% imagedata% in the image information tag.

【0072】ステップS20で別ファイルを指定してい
なければステップS22で変換されたイメージファイル
を生成規則「ImageType」に指定されたエンコ
ード形式でエンコードする。イメージ情報もタグ内の%
imagedata%に書き込む。最終的にステップS
23で生成したイメージ情報タグをXML形式ファイル
に書き込んで図9のルーチンにリターンする。
If another file is not designated in step S20, the image file converted in step S22 is encoded in the encoding format designated in the generation rule "ImageType". Image information is also% in the tag
Write to imagedata%. Finally step S
The image information tag generated in 23 is written in the XML format file, and the process returns to the routine of FIG.

【0073】このような図18〜図20のイメージ情報
のXMLファイル記録の処理により、例えば図21のよ
うなイメージ情報タグが作成される。
The image information tag as shown in FIG. 21, for example, is created by the process of recording the XML file of the image information shown in FIGS.

【0074】図22は、図4のステップS6におけるX
ML作成終了処理のフローチャートである。このXML
作成終了にあってはステップS1で生成規則記述ファイ
ル34に従ってXMLフッダを作成し、XML形式ファ
イルに書き込む。
FIG. 22 shows X in step S6 of FIG.
It is a flow chart of ML creation end processing. This XML
Upon completion of the creation, in step S1, an XML footer is created according to the creation rule description file 34 and written in the XML format file.

【0075】更にここで作成されるフッダとしては例え
ば図23の作成例のようなものが作成される。次にステ
ップS2でXML形式ファイルの拡張子に関連したアプ
リケーションを起動し、起動したアプリケーションにパ
ラメータとして変換の済んだXMLファイルを引き渡
す。
Further, as the footer created here, for example, the one shown in the example of FIG. 23 is created. Next, in step S2, an application associated with the extension of the XML format file is started, and the converted XML file is delivered as a parameter to the started application.

【0076】図24、図25は、図7〜図23に詳細に
示した本発明によるデータ変換処理で使用される生成規
則記述ファイル34の具体的な内容を一例として示して
ある。この生成規則記述ファイル34の内容はXML形
式に限らず、テキストデータ形式の一般ファイルにも起
動できるように定義可能である。
24 and 25 show, as an example, specific contents of the generation rule description file 34 used in the data conversion processing according to the present invention shown in detail in FIGS. 7 to 23. The content of the generation rule description file 34 is not limited to the XML format, and can be defined so that it can be started up in a general file in the text data format.

【0077】また図24、図25の例にあっては、XM
Lを扱うことのできるアプリケーション用の生成規則を
処理しているが、形式自体には対話の中に自由に記述で
き、その記述の中に「% %」で括られる余白予
約語を自由に用いられることで、そこにマッチしたXM
L形式ファイルに記録されるようになる。
In the examples of FIGS. 24 and 25, XM
It processes the production rules for applications that can handle L, but the format itself can be freely described in the dialogue, and the reserved white space words enclosed by "%%" can be freely used in the description. XM that matched that
It will be recorded in the L format file.

【0078】この図24、図25に生成規則記述ファイ
ル34で定義されている予約語は、図26に示すような
ものがある。もちろん予約語は図26の例に限定され
る。また「% %」で括られる形式は限定されな
い。
The reserved words defined in the generation rule description file 34 shown in FIGS. 24 and 25 are as shown in FIG. Of course, reserved words are limited to the example of FIG. The format enclosed by "%%" is not limited.

【0079】図27は、図3における本発明のデータ変
換を行うデータ変換プログラム32の変換対象となるプ
リンタドライバ30により印刷データとして変換された
EMF形式のデータファイルの構造である。
FIG. 27 shows the structure of an EMF format data file converted as print data by the printer driver 30 which is the conversion target of the data conversion program 32 for performing the data conversion of the present invention in FIG.

【0080】このEMFデータファイル31は、図27
のようにヘッダ、フォントレコード、テキストカラー変
更レコード、続いて図28のペンレコード、文字情報レ
コード、罫線情報レコード、図29のイメージ情報レコ
ード、さらにその他で構成されている。
This EMF data file 31 is shown in FIG.
As described above, the header, the font record, the text color change record, the pen record of FIG. 28, the character information record, the ruled line information record, the image information record of FIG.

【0081】即ち、EMFデータファイル31は、ヘッ
ダなどの情報を含む各描画要素をシーケンシャルに羅列
した形式となっており、このデータを先頭から順次読む
ことで、各要素を的確に抽出し、XML形式に変換する
ことができる。
That is, the EMF data file 31 has a format in which each drawing element including information such as a header is sequentially listed. By sequentially reading this data from the beginning, each element is accurately extracted, and XML is extracted. Can be converted to a format.

【0082】このEMFデータファイル31の各要素に
よる抽出は、図9のステップS6のレコードコマンド分
類により行われ、この分類結果に応じた各要素について
ステップS7〜S13のXML変換処理が行われること
になる。
The extraction by each element of the EMF data file 31 is performed by the record command classification of step S6 of FIG. 9, and the XML conversion processing of steps S7 to S13 is performed on each element according to the classification result. Become.

【0083】次にXML形式のデータ変換の際に、EM
Fデータの要素名や属性名についてユーザが対話的にそ
の定義を設定変更する場合の具体例を説明する。
Next, when converting the XML format data, the EM
A specific example in the case where the user interactively changes the setting of the element name and attribute name of the F data will be described.

【0084】図30は、オリジナル文書の罫線情報をX
ML形式における入力フィールドに変換するユーザ指定
の説明図である。図30において、ワード(R)などの
オリジナル文書46には罫線情報によって矩形48が記
載され、矩形48の中には「名前」「住所」に対応して
矩形50,52が記載されている。
FIG. 30 shows the ruled line information of the original document as X.
It is an explanatory view of user specification to convert into an input field in ML format. In FIG. 30, a rectangle 48 is described in the original document 46 such as a word (R) by ruled line information, and rectangles 50 and 52 corresponding to “name” and “address” are described in the rectangle 48.

【0085】このようなオリジナル文書46のXML形
式への変換の際に、矩形48は変換種別として「矩形」
を指定し、これに対し矩形50,52については変換種
別として「入力フィールド」を指定することで変換によ
り、XML化されたフォームテンプレート54を変換結
果として表示できる。
When the original document 46 is converted into the XML format, the rectangle 48 is "rectangle" as the conversion type.
On the other hand, by specifying "input field" as the conversion type for the rectangles 50 and 52, it is possible to display the XML form template 54 as the conversion result.

【0086】このフォームテンプレート54にあって
は、矩形56はオリジナル文書46と同じであるが、そ
の中の「名前」「住所」に対応したオリジナル文書46
の矩形50,52はXML形式にあっては入力フィール
ド58,60に変換されている。
In this form template 54, the rectangle 56 is the same as the original document 46, but the original document 46 corresponding to the "name" and "address" therein is included.
In the XML format, the rectangles 50 and 52 are converted into input fields 58 and 60.

【0087】図31は、図30のオリジナル文書46に
ついてXML形式化されたフォームテンプレート54を
生成するためのユーザインタフェースとして使用される
ダイアログの具体例である。
FIG. 31 is a specific example of a dialog used as a user interface for generating the XML-formatted form template 54 for the original document 46 of FIG.

【0088】図31(A)は最初に表示される変換指定
ダイアログ62aであり、右側の画面66に矩形48が
赤線で表示され、これについて「赤色に変更している部
分のタグ名と種別を設定して下さい。」のメッセージが
表示され、タグ名63と種別64に対応して入力及び入
力用のリストボックスが表示される。
FIG. 31A shows a conversion designation dialog 62a displayed first, in which a rectangle 48 is displayed in a red line on the right side screen 66, and a "red tag name and type of part changed to red" is displayed. Please set. "Is displayed, and the list boxes for input and input are displayed corresponding to the tag name 63 and the type 64.

【0089】そこでタグ名63は特にないことから入力
せず、種別64として「矩形」を選択設定する。そして
OKボタンを押すとEMFデータ「矩形」はXML形式
についても「矩形」とする変換規則がユーザ設定され
る。
Therefore, since the tag name 63 is not particularly entered, "rectangle" is selected and set as the type 64. Then, when the OK button is pressed, the conversion rule for the EMF data "rectangle" to be "rectangle" for the XML format is set by the user.

【0090】続いて次の矩形50のレコードに対応した
図31(B)の変換指定ダイアログ62bが生成され
る。この場合はタグ名63「名前」を入力し種別64と
して「入力フィールド」を設定してOKボタンをクリッ
クする。これによりEMFデータの矩形50については
XML形式では入力フィールドとなる生成規則が転記さ
れる。
Subsequently, the conversion designation dialog 62b of FIG. 31B corresponding to the record of the next rectangle 50 is generated. In this case, the tag name 63 "name" is input, the "input field" is set as the type 64, and the OK button is clicked. As a result, with respect to the rectangle 50 of the EMF data, the generation rule that becomes the input field in the XML format is transcribed.

【0091】続いて3つ目の矩形52に対応した変換指
定ダイアログ62Cが表示される。この前にはタグ名6
3に「住所」を入力し、種別64としては同じく「入力
フィールド」を設定しOKボタンを押す。これによりE
MFデータの矩形52はXML形式で入力フィールドに
変換される生成規則が定義される。
Subsequently, the conversion designation dialog 62C corresponding to the third rectangle 52 is displayed. Before this, tag name 6
Input "address" in 3, set "input field" for type 64, and press the OK button. This makes E
A rectangle 52 of the MF data defines a generation rule that is converted into an input field in XML format.

【0092】図32は、図30のオリジナル文書46に
おける矩形48,50,52についてのEMFデータフ
ァイルの構造である。このEMFデータファイル31に
あっては、矩形48,50,52を示す連続した座標と
なっており、罫線情報であることから矩形の始点と終点
が一致している。
FIG. 32 shows the structure of the EMF data file for the rectangles 48, 50 and 52 in the original document 46 of FIG. In this EMF data file 31, the coordinates are continuous indicating the rectangles 48, 50, and 52, and since it is ruled line information, the start point and the end point of the rectangle match.

【0093】図33は、図30のオリジナル文書46か
らフォームテンプレート54に変換するための生成規則
記述ファイル34の内容であり、これは図31の種別6
4のリストボックスにはいって選択される「矩形」「入
力フィールド」の生成定義が行われている。
FIG. 33 shows the contents of the generation rule description file 34 for converting the original document 46 of FIG. 30 into the form template 54. This is the type 6 of FIG.
The generation definition of the "rectangle" and the "input field" to be selected by entering the list box 4 is performed.

【0094】図34は、図33の生成規則記述ファイル
34を使用して図32のEMFデータファイル31から
変換されたXMLデータファイル36であり、このXM
Lデータファイル36によって図30のXML化された
フォームテンプレート54の表示をすることができる。
FIG. 34 shows an XML data file 36 converted from the EMF data file 31 of FIG. 32 using the generation rule description file 34 of FIG. 33.
The L data file 36 can display the XML form template 54 of FIG.

【0095】次に文字情報をXML形式に変換する際の
要素名、属性名・ユーザのダイアログ的な設定変更の具
体例を説明する。
Next, a concrete example of changing the element name, the attribute name, and the dialog setting of the user when converting the character information into the XML format will be described.

【0096】図35は、ワード(R)などのオリジナル
文書46を矩形48の中に性別として男性、女性を記載
しており、男性及び女性の記載の前に白丸1文字テキス
ト67と黒丸1文字テキスト68が記載されている。
In FIG. 35, an original document 46 such as a word (R) is described as a gender in a rectangle 48, and male and female are described. In front of the description of male and female, one white circle text 67 and one black circle character. The text 68 is described.

【0097】このようなオリジナル文書46のXML形
式のデータ変換についてユーザが1文字テキスト67,
68をラジオボタンに変換する生成規則を定義すること
で、その下に示すXML化されたフォームテンプレート
54上の矩形48の中に男性及び女性に対応してラジオ
ボタン70,72を設定することができる。
Regarding the data conversion of the original document 46 in the XML format, the user can select the one-character text 67,
By defining a production rule for converting 68 into a radio button, radio buttons 70 and 72 can be set corresponding to a male and a female in a rectangle 48 on an XML form template 54 shown below. it can.

【0098】図36は、図35のオリジナル文書46の
1文字テキスト67,68をフォームテンプレート54
上でラジオボタン70,72とするためのユーザインタ
ーフェースとなるダイアログ表示の具体例である。
In FIG. 36, the one-character texts 67 and 68 of the original document 46 shown in FIG.
It is a specific example of a dialog display which serves as a user interface for making the radio buttons 70 and 72 above.

【0099】図36(A)は最初の表示される変換指定
ダイアログ62dであり、右側の文書画面66に矩形4
8が表示されその中に性別として白丸の1文字テキスト
67が表示されている。これに対応して「赤色に変更し
ている部分のタグ名と種別を設定してください」のメッ
セージが表示され、タグ名63と種別64が設けられて
いる。
FIG. 36A shows a conversion designation dialog 62d displayed first, and a rectangle 4 is displayed on the document screen 66 on the right side.
8 is displayed, and the white one-character text 67 as a gender is displayed therein. In response to this, a message "Please set the tag name and type of the part changed to red" is displayed, and the tag name 63 and the type 64 are provided.

【0100】そこでタグ名63には「男性」を入力し、
種別には「ラジオボタン(OFF)」を選択設定しOK
ボタンを押す。これによりEMFデータの1文字テキス
ト66はXML形式では「ラジオボタン(OFF)」に
変換される生成規則がユーザ設定により定義される。
Therefore, enter "male" in the tag name 63,
Select and set "Radio button (OFF)" as the type and OK
I press the button. As a result, the one-character text 66 of the EMF data is converted into "radio button (OFF)" in the XML format, and the generation rule is defined by the user setting.

【0101】続いて図36(B)の変換指定ダイアログ
画面62eで切り替わり、矩形48の中に1文字テキス
ト68が赤色に変更された状態で設定される。そこでタ
グ名63として「男性」を入力し、種別64としてリス
トボックスを開いて「ラジオボタン(ON)」を選択し
てOKボタンを押す。EMFデータの1文字テキスト6
8がXML形式では「ラジオボタン(ON)」に変換さ
れる生成規則がユーザ設定により定義される。
Subsequently, the conversion designation dialog screen 62e of FIG. 36B is switched to, and the one-character text 68 in the rectangle 48 is set in a state changed to red. Then, "male" is input as the tag name 63, a list box is opened as the type 64, "radio button (ON)" is selected, and the OK button is pressed. 1-character text of EMF data 6
In the XML format, the generation rule for converting 8 into “radio button (ON)” is defined by the user setting.

【0102】図37は、図35のオリジナル文書46か
らプリンタドライバにより変換されたEMFデータファ
イル31であり、このうち文字数が「1」であれば1文
字テキストであることがわかる。
FIG. 37 shows the EMF data file 31 converted by the printer driver from the original document 46 of FIG. 35, and if the number of characters is “1”, it can be seen that it is one character text.

【0103】図38は、図35のオリジナル文書46か
ら1文字テキスト67,68をラジオボタン70,72
に変換する生成規則記述スファイル34の内容である。
ダイアログ、即ち「radio1」として図36(A)
で使用する生成規則が記述され、「radioO」とし
て図36(B)で使用される生成規則が実施される。
In FIG. 38, the one-character texts 67 and 68 from the original document 46 shown in FIG.
The contents of the production rule description file 34 to be converted to.
A dialog, that is, "radio1" is shown in FIG.
The generation rule used in FIG. 36B is described, and the generation rule used in FIG. 36B as “radioO” is implemented.

【0104】さらに図36の種別64に対応したリスト
ボックスを開いた際に設定されている選択項目としてテ
キストラジオボタン「ON」及び「OFF」について選
択される生成規則上の属性として記述されている。
Further, as the selection items set when the list box corresponding to the type 64 in FIG. 36 is opened, the text radio buttons “ON” and “OFF” are described as the attributes on the generation rule. .

【0105】図39は、図37のEMFデータファイル
31の図38の生成規則記述ファイル34に従ってデー
タ展開したXMLデータファイル36の内容である。こ
のXMLデータファイル36に基づいて図35の変換後
のXML化されたフォームテンプレート54を表示する
ことができる。
FIG. 39 shows the contents of the XML data file 36 obtained by expanding the EMF data file 31 of FIG. 37 according to the generation rule description file 34 of FIG. 38. Based on this XML data file 36, the converted XML form template 54 of FIG. 35 can be displayed.

【0106】このようなワード(R)などのオリジナル
文書46からXML形式の変換の際にユーザが罫線や1
文字テキストについて変換後の要素名や属性名を自由に
設定することで、例えばワード(R)上でアプリケーシ
ョンの操作、内容における各種の入力フィールド、ラジ
オボタン、カーソルなど単なる1文字テキストの記号や
罫線情報として作成し、予め1文字テキストや罫線情報
に対応した生成規則記述ファイルをデータ変換の際に選
択指定することができ、簡単にXML形式をもつユーザ
インターフェースとして使用するダイアログ画面や操作
画面を作成することができる。
When the original document 46 such as the word (R) is converted into the XML format, the user can draw a ruled line or 1
By freely setting the element name and attribute name after conversion for character text, for example, operation of application on word (R), various input fields in contents, radio button, cursor, etc. It is possible to create a dialog screen or operation screen that can be used as a user interface with an XML format because it can be created as information and a generation rule description file corresponding to 1-character text or ruled line information can be selected and specified during data conversion. can do.

【0107】図40は、本発明の他の実施形態の説明図
であり、この実施形態にあってはスキャナにより印刷さ
れた紙から読み取った画像あるいはイメージファイルか
ら読み取った画像についてOCR機能を使用してXML
形式に変換するデータ変換を行うようにしたことを特徴
とする。
FIG. 40 is an explanatory diagram of another embodiment of the present invention. In this embodiment, the OCR function is used for the image read from the paper printed by the scanner or the image read from the image file. XML
The feature is that the data conversion for converting to the format is performed.

【0108】図40において、本発明によるデータ変換
プログラム32の入力側には文書認識アプリケーション
として機能するOCR76が設けられている。OCR7
6はスキャナ24により印刷された紙74から画像を読
み取り、イメージファイル化して入力する。またイメー
ジファイル78に格納されているイメージデータを読み
込む。
In FIG. 40, an OCR 76 functioning as a document recognition application is provided on the input side of the data conversion program 32 according to the present invention. OCR7
6 reads an image from the paper 74 printed by the scanner 24, forms an image file, and inputs the image file. Further, the image data stored in the image file 78 is read.

【0109】スキャナ24またはイメージファイル78
からの画像データはOCR76において認識され、文
字、罫線、図形を含むにデータに変換される。このOC
Rで製図されたダイアログデータについてOCR76に
おいてプリンタ出力ための印刷指定を行う画像データか
らは、例えばウィンドウズ(R)で使用している場合に
はEMF形式のデータファイルに変換され、本発明のデ
ータ変換プログラム32に引き渡され、生成規則記述フ
ァイル34を使用してXMLデータファイル36に変換
される。
Scanner 24 or image file 78
The image data from is recognized by the OCR 76 and converted into data including characters, ruled lines, and graphics. This OC
With respect to the dialog data drawn in R, the image data for designating printing in the OCR 76 for printer output is converted into an EMF format data file when used in Windows (R), for example, and data conversion of the present invention. It is delivered to the program 32 and converted into an XML data file 36 using the generation rule description file 34.

【0110】そして変換後にデータ変換プログラム32
はXMLを扱うことができるアプリケーション38を起
動し、変換したXMLデータファイル36を引き渡す。
この図40の実施形態にあってはデータ変換プログラム
32の処理はすでに説明した図3の実施例と同じであ
る。
After the conversion, the data conversion program 32
Activates an application 38 that can handle XML, and delivers the converted XML data file 36.
In the embodiment of FIG. 40, the processing of the data conversion program 32 is the same as that of the embodiment of FIG. 3 already described.

【0111】図41は、図40の実施形態におけるOC
R機能を使用した本発明によるデータ変換プログラムに
よる処理手順のフローチャートである。この図41のフ
ローチャートは、例えば図42に示すようなOCR画面
80のツールバーの中のファイルを開くとダイアログ8
2が表示され、このダイアログ82の中にXMLアプリ
ケーション選択用リストボックス84が表示されてお
り、このリストボックスを開いて適宜の変換項目、具体
的にはXMLを扱うアプリケーションを選択することで
図41のデータ変換処理が起動する。
FIG. 41 shows the OC in the embodiment of FIG.
It is a flowchart of a processing procedure by the data conversion program according to the present invention using the R function. This flowchart of FIG. 41 shows a dialog 8 when a file in the toolbar of the OCR screen 80 as shown in FIG. 42 is opened.
2 is displayed, and an XML application selection list box 84 is displayed in this dialog 82. By opening this list box and selecting an appropriate conversion item, specifically an application that handles XML, FIG. The data conversion process of is started.

【0112】図41のデータ変換処理は、ステップS1
で処理対象が紙であるか否かチェックし、紙であればス
テップS2でスキャナを用いて紙に印字された内容をイ
メージファイル化する。次にステップS3でXMLファ
イル作成開始処理をを実行し、「文書タイトル」「拡張
子」として新規ファイルを作成し、更に生成規則記述フ
ァイル34に従ってXMLヘッダを作成してファイルに
格納する。
The data conversion process of FIG. 41 is performed in step S1.
In step S2, it is checked whether the processing target is paper, and if it is paper, the contents printed on the paper are converted into an image file using a scanner in step S2. Next, in step S3, an XML file creation start process is executed to create a new file as a "document title" and "extension", and an XML header is created according to the creation rule description file 34 and stored in the file.

【0113】次にステップS4でOCRソフトを利用し
てイメージファイルの1ページ分をEMF化する。この
EMF化された1ページ分のイメージファイルについ
て、ステップS5でページデータ解析処理を行って文
字、罫線、図形などの処理ごとに対応する変換プログラ
ムを使用してXML形式に変換する。
Next, in step S4, one page of the image file is converted to EMF using OCR software. This EMF image file for one page is subjected to page data analysis processing in step S5 and converted into XML format using a conversion program corresponding to each processing such as characters, ruled lines and figures.

【0114】続いてステップS6でXML形式に変換の
済んだ作成済みのEMFを削除し、ステップS7で全ペ
ージ終了か否かチェックし、全ページ終了するまでステ
ップS4からの処理を繰り返す。
Subsequently, in step S6, the created EMF that has been converted to the XML format is deleted, and in step S7 it is checked whether or not all pages have ended, and the processing from step S4 is repeated until all pages have ended.

【0115】全ページが終了するとステップS8に進み
XMLフッタをファイルに書き込んみ、対応する変換済
みXMLデータファイルを取り扱う関連のアプリケーシ
ョンを起動して処理を終了する。
When all pages are completed, the process proceeds to step S8, the XML footer is written in the file, the related application that handles the corresponding converted XML data file is activated, and the process is completed.

【0116】尚、上記の実施形態はウインドウズ(R)
で使用しているプリンタドライバによりアプリケーショ
ンのオリジナル文書をEMFデータファイルの形式に変
換して統一した後に、本発明のデータ変換プログラムに
よりXML形式へのデータに変換する場合も例にとって
いるが、EMF形式に限定されずオリジナル文書を扱っ
ているアプリケーションで使用している任意のプリンタ
ドライバによるプリンタ出力のためのデータ形式を対象
に本発明のデータ変換を行うようにしても良いことは勿
論である。
The above-described embodiment is Windows (R).
An example is also given in which the original document of the application is converted into the EMF data file format by the printer driver used in the above and unified, and then the data is converted into the XML format by the data conversion program of the present invention. Of course, the data conversion of the present invention may be performed for a data format for printer output by an arbitrary printer driver used in an application that handles original documents.

【0117】また上記の実施形態にあっては、XML形
式データファイルへのデータ変換を例にとっているが本
発明にあっては、XML形式データファイルへの生成規
則記述ファイルを自由に定義可能なため、XML形式だ
けではなくWEBブラウザ表示可能なHTML形式やそ
の他のテキストベースのアプリケーション用のデータへ
の変換を行うことができる。
Further, in the above embodiment, the data conversion to the XML format data file is taken as an example, but in the present invention, the generation rule description file to the XML format data file can be freely defined. , XML format as well as HTML format that can be displayed by a WEB browser and data for other text-based applications can be converted.

【0118】通常のHTML形式のデータファイルにあ
っては、リンクやイメージ部分があると別ファイルにな
ってしまい、簡単にデータファイルだけを他人に送るこ
とができない場合が多いが、本発明のデータ変換にあっ
ては、文字、罫線、イメージ、すべて1ファイルにまと
めることが可能なため、XML形式への変換はもちろん
のこと、HTML形式やその他のテキストデータベー
ス、アプリケーションに変換した場合にもリースや流通
性を非常に高めることができる。
In a normal HTML data file, if there is a link or an image part, it becomes a separate file, and in many cases it is not possible to simply send the data file to another person. In conversion, since characters, ruled lines, images, all can be put together in one file, not only conversion to XML format but also lease or conversion to HTML format or other text database or application. Distribution can be greatly improved.

【0119】更に、本発明は、その目的と利点を損なう
ことのない適宜の変形を含み、更に上記の実施形態に示
した数値による限定は受けない。
Furthermore, the present invention includes appropriate modifications that do not impair the object and advantages thereof, and is not limited by the numerical values shown in the above embodiments.

【0120】(付記) (付記1)コンピュータに、アプリケーション固有の第
1形式データを、前記アプリケーションの印刷機能によ
りプリンタに出力するための第2形式データに変換する
第1変換ステップと、文字、罫線、図形等の要素を含む
第3形式データを使用するアプリケーションに対応して
記述されている生成規則を参照して前記第2形式データ
を第3形式データに変換する第2変換ステップと、を実
行させることを特徴とするデータ変換プログラム。
(1)
(Supplementary Note) (Supplementary Note 1) A first conversion step of converting the first format data unique to the application into second format data to be output to the printer by the printing function of the application in the computer, and characters and ruled lines. And a second conversion step of converting the second format data into the third format data with reference to a generation rule described corresponding to an application using the third format data including elements such as graphics. A data conversion program characterized by:
(1)

【0121】(付記2)コンピュータに、スキャナによ
り読取った印刷媒体の画像又は画像ファイルから読出し
た画像を文書認識アプリケーションにより第1形式デー
タに変換した後に、アプリケーションの印刷機能により
プリンタに出力するための第2形式データに変換する第
1変換ステップと、文字、罫線、図形等の要素を含む第
3形式データを使用するアプリケーションに対応して記
述されている生成規則を参照して前記第2形式データを
第3形式データに変換する第2変換ステップと、を実行
させることを特徴とするデータ変換プログラム。(2)
(Supplementary Note 2) For converting the image of the print medium read by the scanner or the image read from the image file into the first format data by the document recognition application, and outputting to the printer by the printing function of the application. The first conversion step of converting into the second format data, and the second format data by referring to the generation rule described corresponding to the application using the third format data including elements such as characters, ruled lines and figures And a second conversion step for converting the data into the third format data, and a data conversion program. (2)

【0122】(付記3)付記1又は2記載のデータ変換
プログラムに於いて、前記第1変換ステップは、第1形
式データをプリンタドライバによりEMF形式の第2形
式データに変換し、前記第2変換ステップは、前記EM
F形式の第2形式データを、XML形式の第3形式デー
タに変換することを特徴とするデータ変換プログラム。
(3)
(Supplementary Note 3) In the data conversion program according to Supplementary Note 1 or 2, in the first conversion step, the first format data is converted into the second format data in the EMF format by the printer driver, and the second conversion step is performed. The step is the EM
A data conversion program for converting second format data of F format into third format data of XML format.
(3)

【0123】(付記4)付記3記載のデータ変換プログ
ラムに於いて、前記第2変換ステップは、前記生成規則
にXML形式の要素名と属性名の定義を記述しており、
更に前記要素名の定義を操作者の入力に応じて設定変更
することを特徴とするデータ変換プログラム。(4)
(Supplementary Note 4) In the data conversion program according to Supplementary Note 3, the second conversion step describes the definition of the element name and the attribute name in the XML format in the generation rule.
Furthermore, a data conversion program, characterized in that the definition of the element name is changed according to an operator's input. (4)

【0124】(付記5)アプリケーション固有の第1形
式データを、前記アプリケーションの印刷機能によりプ
リンタに出力するための第2形式データに変換する第1
変換ステップと、文字、罫線、図形等の要素を含む第3
形式データを使用するアプリケーションに対応して記述
されている生成規則を参照して前記第2形式データを第
3形式データに変換する第2変換ステップと、を備えた
ことを特徴とするデータ変換方法。(5)
(Supplementary Note 5) First conversion of application-specific first format data into second format data for output to a printer by the printing function of the application
Third step including conversion step and elements such as characters, ruled lines, and graphics
A second conversion step of converting the second format data into the third format data with reference to a generation rule described corresponding to an application using the format data. . (5)

【0125】(付記6)スキャナにより読取った印刷媒
体の画像又は画像ファイルから読出した画像を文書認識
アプリケーションにより第1形式データに変換した後
に、アプリケーションの印刷機能によりプリンタに出力
するための第2形式データに変換する第1変換ステップ
と、文字、罫線、図形等の要素を含む第3形式データを
使用するアプリケーションに対応して記述されている生
成規則を参照して前記第2形式データを第3形式データ
に変換する第2変換ステップと、を実行させることを特
徴とするデータ変換方法。
(Supplementary Note 6) The second format for outputting the image of the print medium read by the scanner or the image read from the image file to the first format data by the document recognition application, and then outputting to the printer by the printing function of the application. The first conversion step of converting the second format data into the third data is performed by referring to the first conversion step of converting the second format data into the data and the generation rule described corresponding to the application using the third format data including elements such as characters, ruled lines, and graphics. A second conversion step of converting into formal data, and a data conversion method.

【0126】(付記7)アプリケーション固有の第1形
式データを、前記アプリケーションの印刷機能によりプ
リンタに出力するための第2形式データに変換する第1
変換部と、文字、罫線、図形等の要素を含む第3形式デ
ータを使用するアプリケーションに対応して記述されて
いる生成規則を参照して前記第2形式データを第3形式
データに変換する第2変換部と、を備えたことを特徴と
するデータ変換装置。
(Supplementary Note 7) The first format data unique to the application is converted into the second format data to be output to the printer by the printing function of the application.
Converting the second format data to the third format data by referring to a conversion section and a generation rule described corresponding to an application using the third format data including elements such as characters, ruled lines, and graphics A data conversion device comprising: two conversion units.

【0127】(付記8)スキャナにより読取った印刷媒
体の画像又は画像ファイルから読出した画像を文書認識
アプリケーションにより第1形式データに変換した後
に、アプリケーションの印刷機能によりプリンタに出力
するための第2形式データに変換する第1変換部と、文
字、罫線、図形等の要素を含む第3形式データを使用す
るアプリケーションに対応して記述されている生成規則
を参照して前記第2形式データを第3形式データに変換
する第2変換部と、を実行させることを特徴とするデー
タ変換装置。
(Supplementary Note 8) A second format for outputting an image of a print medium read by a scanner or an image read from an image file into first format data by a document recognition application, and then outputting to a printer by a printing function of the application. The first conversion section for converting the second format data into the third data is referred to by referring to the first conversion unit for converting the second format data into the data and the generation rule described corresponding to the application using the third format data including elements such as characters, ruled lines, and figures. And a second conversion unit for converting the data into format data.

【0128】(付記9)コンピュータに、アプリケーシ
ョン固有の第1形式データを、前記アプリケーションの
印刷機能によりプリンタに出力するための第2形式デー
タに変換する第1変換ステップと、文字、罫線、図形等
の要素を含む第3形式データを使用するアプリケーショ
ンに対応して記述されている生成規則を参照して前記第
2形式データを第3形式データに変換する第2変換ステ
ップと、を実行させることを特徴とするデータ変換プロ
グラムを格納したコンピュータ読取可能な記録媒体。
(Supplementary Note 9) A first conversion step of converting the first format data specific to the application into the second format data to be output to the printer by the printing function of the application in the computer, characters, ruled lines, figures, etc. A second conversion step of converting the second format data into the third format data with reference to a generation rule described corresponding to an application using the third format data including the element of A computer-readable recording medium storing a characteristic data conversion program.

【0129】(付記10)コンピュータに、スキャナに
より読取った印刷媒体の画像又は画像ファイルから読出
した画像を文書認識アプリケーションにより第1形式デ
ータに変換した後に、アプリケーションの印刷機能によ
りプリンタに出力するための第2形式データに変換する
第1変換ステップと、文字、罫線、図形等の要素を含む
第3形式データを使用するアプリケーションに対応して
記述されている生成規則を参照して前記第2形式データ
を第3形式データに変換する第2変換ステップと、を実
行させることを特徴とするデータ変換プログラムを格納
したコンピュータ読取可能な記録媒体。
(Supplementary Note 10) For converting the image of the print medium read by the scanner or the image read from the image file into the first format data by the document recognition application, and then outputting to the printer by the print function of the application. The first conversion step of converting into the second format data, and the second format data by referring to the generation rule described corresponding to the application using the third format data including elements such as characters, ruled lines and figures A computer-readable recording medium storing a data conversion program, characterized by executing a second conversion step for converting the data into a third format data.

【0130】[0130]

【発明の効果】以上説明してきたように本発明によれ
ば、アプリケーション固有の形式の文字、罫線、図形な
どを含む文書や、紙に印刷された画像やイメージファイ
ルの画像など、すべての種類のドキュメントを対象にア
プリケーションがもつ印刷機能をデータ変換を経由して
XML形式のデータファイルに効率良く円滑に変換する
ことができる。
As described above, according to the present invention, all types of documents such as documents including characters, ruled lines, and graphics in a format unique to an application, images printed on paper, images of image files, and the like can be used. It is possible to efficiently and smoothly convert the print function of the application for a document into an XML format data file via data conversion.

【0131】また変換されたXML形式のデータファイ
ルを扱うアプリケーションを自動起動して変換されたX
ML形式のデータファイルを必要として処理させること
で、同様のアプリケーションのドキュメントについてX
ML形式のデータファイルを扱うアプリケーションによ
って様々な分析やデータの利用が効率よくできる。
Also, an application that handles the converted XML format data file is automatically started to convert the converted X
By processing data files in ML format as required, X
Depending on the application that handles ML format data files, various analyzes and data usage can be performed efficiently.

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

【図1】本発明の原理説明図FIG. 1 is an explanatory view of the principle of the present invention.

【図2】本発明が適用されるコンピュータのブロック図FIG. 2 is a block diagram of a computer to which the present invention is applied.

【図3】本発明のデータ変換による処理機能の説明図FIG. 3 is an explanatory diagram of a processing function by data conversion of the present invention.

【図4】本発明のデータ変換による基本的な処理手順の
フローチャート
FIG. 4 is a flowchart of a basic processing procedure by data conversion of the present invention.

【図5】本発明のデータ変換を起動するリストボックス
を備えた印刷用のユーザインタフェースの説明図
FIG. 5 is an explanatory diagram of a user interface for printing including a list box for activating data conversion of the present invention.

【図6】本発明のデータ変換で使用する生成規則選択用
のユーザインタフェースの説明図
FIG. 6 is an explanatory diagram of a user interface for generating rule selection used in the data conversion of the present invention.

【図7】図4のXMLファイル作成開始処理の詳細を示
したフローチャート
FIG. 7 is a flowchart showing details of the XML file creation start process of FIG.

【図8】図7の処理で作成されるヘッダの説明図8 is an explanatory diagram of a header created by the process of FIG. 7.

【図9】図4のページデータ解析処理の詳細を示したフ
ローチャート
FIG. 9 is a flowchart showing details of the page data analysis process of FIG.

【図10】図9に続くフローチャートFIG. 10 is a flowchart following FIG. 9;

【図11】図10の文字情報のXMLファイル記録の詳
細を示したフローチャート
11 is a flowchart showing details of recording an XML file of the character information of FIG.

【図12】図11に続くフローチャートFIG. 12 is a flowchart following FIG. 11.

【図13】図12に続くフローチャートFIG. 13 is a flowchart following FIG. 12;

【図14】図11〜図13の処理で作成された文字情報
タグの説明図
FIG. 14 is an explanatory diagram of a character information tag created by the processing of FIGS. 11 to 13.

【図15】図10の罫線情報のXMLファイル記録の詳
細を示したフローチャート
15 is a flowchart showing details of XML file recording of ruled line information in FIG.

【図16】図15に続くフローチャートFIG. 16 is a flowchart following FIG. 15;

【図17】図15,12の処理で作成された罫線情報タ
グの説明図
FIG. 17 is an explanatory diagram of a ruled line information tag created by the processing of FIGS.

【図18】図10のイメージ情報のXMLファイル記録
の詳細を示したフローチャート
18 is a flowchart showing details of XML file recording of the image information of FIG.

【図19】図18に続くフローチャートFIG. 19 is a flowchart following FIG. 18;

【図20】図19に続くフローチャートFIG. 20 is a flowchart following FIG. 19;

【図21】図18−20の処理で作成されたイメージ情
報タグの説明図
FIG. 21 is an explanatory diagram of an image information tag created by the processing of FIGS.

【図22】図10のXMLファイル作成終了処理の詳細
を示したフローチャート
22 is a flowchart showing details of the XML file creation end processing of FIG.

【図23】図22の処理で作成されたフッダの説明図FIG. 23 is an explanatory diagram of a footer created by the process of FIG. 22.

【図24】本発明で使用する生成規則記述ファイルの説
明図
FIG. 24 is an explanatory diagram of a production rule description file used in the present invention.

【図25】図24に続く生成規則記述ファイルの説明図FIG. 25 is an explanatory diagram of a production rule description file following FIG. 24.

【図26】生成規則記述ファイルで定義されている予約
語の説明図
FIG. 26 is an explanatory diagram of reserved words defined in the generation rule description file.

【図27】プリンタドライバにより変換されたEMFフ
ァイルの構造説明図
FIG. 27 is an explanatory diagram of the structure of an EMF file converted by a printer driver.

【図28】図27に続くEMFファイルの構造説明図FIG. 28 is an explanatory diagram of the structure of an EMF file following FIG. 27.

【図29】図28に続くEMFファイルの構造説明図FIG. 29 is an explanatory diagram of the structure of the EMF file following FIG. 28.

【図30】ユーザ設定によりワード(R)上の矩形をX
MLの入力フィールドにデータ変換する説明図
FIG. 30 is a diagram illustrating a rectangle on a word (R) set as X by user setting.
Explanatory drawing of data conversion to ML input field

【図31】図30におけるワード(R)上の矩形をXM
Lの入力フィールドに変換する生成規則定義を選択設定
するユーザインタフェースの説明図
31 is a diagram showing a rectangle on a word (R) in FIG.
Explanatory diagram of user interface for selecting and setting production rule definition to be converted to L input field

【図32】図30のデータ変換で使用するEMFファイ
ルの構造説明図
32 is an explanatory diagram of the structure of the EMF file used in the data conversion of FIG.

【図33】図30の変換に使用する生成規則記述ファイ
ルの説明図
33 is an explanatory diagram of a production rule description file used for the conversion of FIG. 30.

【図34】図30の変換で生成されたXMLファイルの
説明図
34 is an explanatory diagram of an XML file generated by the conversion of FIG.

【図35】ユーザ設定によりワード(R)上の1文字テ
キストをXMLのラジオボタンにデータ変換する説明図
FIG. 35 is an explanatory diagram for converting one-character text on a word (R) into an XML radio button by user setting.

【図36】図35におけるワード(R)上の矩形をXM
Lの入力フィールドに変換する生成規則定義を選択設定
するユーザインタフェースの説明図
36 is a diagram showing a rectangle on a word (R) in FIG.
Explanatory diagram of user interface for selecting and setting production rule definition to be converted to L input field

【図37】図35のデータ変換で使用するEMFファイ
ルの構造説明図
37 is an explanatory diagram of the structure of an EMF file used in the data conversion of FIG. 35.

【図38】図35の変換に使用する生成規則記述ファイ
ルの説明図
38 is an explanatory diagram of a production rule description file used for the conversion of FIG. 35.

【図39】図30の変換で生成されたXMLファイルの
説明図
FIG. 39 is an explanatory diagram of an XML file generated by the conversion of FIG.

【図40】OCR機能を使用した本発明のデータ変換に
よる処理機能の説明図
FIG. 40 is an explanatory diagram of a processing function by the data conversion of the present invention using the OCR function.

【図41】OCR機能を使用した本発明のデータ変換に
よる処理手順のフローチャート
FIG. 41 is a flowchart of a processing procedure by data conversion of the present invention using the OCR function.

【図42】図40のデータ変換を起動するリストボック
スを備えたOCR画面上で開いた印刷用のユーザインタ
フェースの説明図
42 is an explanatory diagram of a printing user interface opened on an OCR screen having a list box for activating the data conversion of FIG. 40.

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

10:CPU 12:バス 14:主記憶装置 16:入力装置 18:出力装置 20:補助記憶装置 22:記憶媒体 24:スキャナ 26:文書データ 28:アプリケーション 30:プリンタドライバ 31:EMFデータファイル 32:データ変換プログラム 34:生成規則記述ファイル 36:XMLデータファイル 38:XML対応アプリケーション 40:印刷用ダイアログ 41,84:XMLアプリケーション選択用リストボッ
クス 42:生成規則選択用ダイアログ 46:オリジナル文書 48,50,52:矩形 54:フォームテンプレート 56:矩形 58,60:入力フィールド 62a〜62C:変換指定ユーザインタフェース 63:タグ名 64:種別 67,68:1文字テキスト 70,72:ラジオボタン 74:印刷された紙 76:OCR(文字認識アプリケーション) 78:イメージファイル 80:OCR画面 82:OCR印刷用ダイアログ
10: CPU 12: Bus 14: Main storage device 16: Input device 18: Output device 20: Auxiliary storage device 22: Storage medium 24: Scanner 26: Document data 28: Application 30: Printer driver 31: EMF data file 32: Data Conversion program 34: Generation rule description file 36: XML data file 38: XML compatible application 40: Printing dialog 41, 84: XML application selection list box 42: Generation rule selection dialog 46: Original document 48, 50, 52: Rectangle 54: Form template 56: Rectangle 58, 60: Input fields 62a to 62C: Conversion designation user interface 63: Tag name 64: Type 67, 68: 1 Character text 70, 72: Radio button 74: Printed paper 76: OCR ( Character recognition application) 78: Image file 80: OCR screen 82: OCR print dialog

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】コンピュータに、 アプリケーション固有の第1形式データを、前記アプリ
ケーションの印刷機能によりプリンタに出力するための
第2形式データに変換する第1変換ステップと、 文字、罫線、図形等の要素を含む第3形式データを使用
するアプリケーションに対応して記述されている生成規
則を参照して前記第2形式データを第3形式データに変
換する第2変換ステップと、を実行させることを特徴と
するデータ変換プログラム。
1. A first conversion step of causing a computer to convert first format data specific to an application into second format data to be output to a printer by a printing function of the application, and elements such as characters, ruled lines, and graphics. And a second conversion step of converting the second format data into the third format data by referring to a generation rule described corresponding to an application using the third format data including Data conversion program.
【請求項2】コンピュータに、 スキャナにより読取った印刷媒体の画像又は画像ファイ
ルから読出した画像を文書認識アプリケーションにより
第1形式データに変換した後に、アプリケーションの印
刷機能によりプリンタに出力するための第2形式データ
に変換する第1変換ステップと、 文字、罫線、図形等の要素を含む第3形式データを使用
するアプリケーションに対応して記述されている生成規
則を参照して前記第2形式データを第3形式データに変
換する第2変換ステップと、を実行させることを特徴と
するデータ変換プログラム。
2. A second computer for converting the image of the print medium read by the scanner or the image read from the image file into the first format data by the document recognition application, and then outputting to the printer by the printing function of the application. The first conversion step for converting to the format data and the generation rule described corresponding to the application that uses the third format data including elements such as characters, ruled lines and figures A data conversion program, characterized by causing a second conversion step of converting into three-format data.
【請求項3】請求項1又は2記載のデータ変換プログラ
ムに於いて、 前記第1変換ステップは、第1形式データをプリンタド
ライバによりEMF形式の第2形式データに変換し、 前記第2変換ステップは、前記EMF形式の第2形式デ
ータを、XML形式の第3形式データに変換することを
特徴とするデータ変換プログラム。
3. The data conversion program according to claim 1, wherein the first conversion step converts the first format data into second format data of EMF format by a printer driver, and the second conversion step. Is a data conversion program for converting the second format data in the EMF format into the third format data in the XML format.
【請求項4】請求項3記載のデータ変換プログラムに於
いて、前記第2変換ステップは、前記生成規則にXML
形式の要素名と属性名の定義を記述しており、更に前記
要素名の定義を操作者の入力に応じて設定変更すること
を特徴とするデータ変換プログラム。
4. The data conversion program according to claim 3, wherein the second conversion step uses XML as the generation rule.
A data conversion program, which describes the definition of an element name and an attribute name of a format, and further changes the setting of the definition of the element name according to an operator's input.
【請求項5】アプリケーション固有の第1形式データ
を、前記アプリケーションの印刷機能によりプリンタに
出力するための第2形式データに変換する第1変換ステ
ップと、 文字、罫線、図形等の要素を含む第3形式データを使用
するアプリケーションに対応して記述されている生成規
則を参照して前記第2形式データを第3形式データに変
換する第2変換ステップと、を備えたことを特徴とする
データ変換方法。
5. A first conversion step for converting first format data specific to an application into second format data to be output to a printer by a printing function of the application, and a first step including elements such as characters, ruled lines and graphics. A second conversion step of converting the second format data into the third format data with reference to a generation rule described corresponding to an application using the three format data. Method.
JP2001295519A 2001-09-27 2001-09-27 Method for data conversion, program and recording medium Pending JP2003108331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001295519A JP2003108331A (en) 2001-09-27 2001-09-27 Method for data conversion, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001295519A JP2003108331A (en) 2001-09-27 2001-09-27 Method for data conversion, program and recording medium

Publications (1)

Publication Number Publication Date
JP2003108331A true JP2003108331A (en) 2003-04-11

Family

ID=19116943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001295519A Pending JP2003108331A (en) 2001-09-27 2001-09-27 Method for data conversion, program and recording medium

Country Status (1)

Country Link
JP (1) JP2003108331A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048605A (en) * 2004-08-09 2006-02-16 Toshiba Corp Device and method of searching instruction
JP2007193655A (en) * 2006-01-20 2007-08-02 Sharp Corp Electronic document data processor, electronic document data processing method and program for functioning computer as electronic document data processor
JP2007249859A (en) * 2006-03-17 2007-09-27 Canon Inc Image forming apparatus, its control method, and program
JP2008520042A (en) * 2004-11-09 2008-06-12 ソニー オンライン エンタテインメント インク System and method for generating grammatically correct text strings
CN1581156B (en) * 2003-08-01 2010-04-28 索尼株式会社 Information processing system, method, program and recording medium
US7793207B2 (en) 2005-03-28 2010-09-07 Canon Kabushiki Kaisha Converting text data into binary data using external link information
US8027057B2 (en) * 2007-08-03 2011-09-27 Brother Kogyo Kabushiki Kaisha Print control device and recording medium containing printer driver for adjusting print area based on converted file format
US8045205B2 (en) 2007-06-22 2011-10-25 Brother Kogyo Kabushiki Kaisha Image forming device, and method and computer readable medium therefor
US8111411B2 (en) 2005-11-18 2012-02-07 Canon Kabushiki Kaisha Information processing apparatus, method, and computer program
CN104504118A (en) * 2014-12-31 2015-04-08 桂林电子科技大学 Method for storing and reading workflow modeling data
EP2942706B1 (en) * 2012-12-28 2020-06-24 Seiko Epson Corporation Data conversion system, data conversion device, and data conversion method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581156B (en) * 2003-08-01 2010-04-28 索尼株式会社 Information processing system, method, program and recording medium
JP2006048605A (en) * 2004-08-09 2006-02-16 Toshiba Corp Device and method of searching instruction
JP2008520042A (en) * 2004-11-09 2008-06-12 ソニー オンライン エンタテインメント インク System and method for generating grammatically correct text strings
US7793207B2 (en) 2005-03-28 2010-09-07 Canon Kabushiki Kaisha Converting text data into binary data using external link information
US8111411B2 (en) 2005-11-18 2012-02-07 Canon Kabushiki Kaisha Information processing apparatus, method, and computer program
JP2007193655A (en) * 2006-01-20 2007-08-02 Sharp Corp Electronic document data processor, electronic document data processing method and program for functioning computer as electronic document data processor
JP2007249859A (en) * 2006-03-17 2007-09-27 Canon Inc Image forming apparatus, its control method, and program
US8045205B2 (en) 2007-06-22 2011-10-25 Brother Kogyo Kabushiki Kaisha Image forming device, and method and computer readable medium therefor
US8027057B2 (en) * 2007-08-03 2011-09-27 Brother Kogyo Kabushiki Kaisha Print control device and recording medium containing printer driver for adjusting print area based on converted file format
EP2942706B1 (en) * 2012-12-28 2020-06-24 Seiko Epson Corporation Data conversion system, data conversion device, and data conversion method
CN104504118A (en) * 2014-12-31 2015-04-08 桂林电子科技大学 Method for storing and reading workflow modeling data

Similar Documents

Publication Publication Date Title
EP1810124B1 (en) Document managing system and method thereof
US8689100B2 (en) Document processing apparatus, control method therefor, and computer program
EP1538534A2 (en) Generation of a PPML template from a PDF document
US10481776B2 (en) Server apparatus, client apparatus, information processing method, and storage medium
US20090204888A1 (en) Document processing apparatus, document processing method, and storage medium
JP2003108331A (en) Method for data conversion, program and recording medium
JP2008059157A (en) Document confirmation support system, document confirmation support device and program
US20030222916A1 (en) Object-oriented processing of tab text
US7661063B2 (en) Document processing apparatus and control method thereof
Bagley et al. Creating reusable well-structured PDF as a sequence of component object graphic (COG) elements
CN117236356A (en) Label on-line design and printing method based on WEB
JP2002073598A (en) Document processor and method of processing document
JP2000076226A (en) Document data editing system
JP2004145736A (en) Character recognition device, character recognition data output method, program and recording medium
JP3076348B2 (en) Document shaping apparatus and document shaping method
JP2003132078A (en) Database construction device, method therefor, program thereof and recording medium
JP4013748B2 (en) Document generator
JP4508264B2 (en) Database construction apparatus, database construction method, database construction program, recording medium
JP2000339307A (en) Typesetting device
Godfrey Putting it all together—A blind person’s perspective on developing a toolbox for document preparation
TWI578236B (en) Method for creating a triggerable barcode icon for electronic document and transformation system thereof
JP4192457B2 (en) Database construction apparatus, database construction method, database construction program, recording medium
Gribomont Programming Historian
Ingold et al. Reverse-engineering of PDF files
JP3125754U (en) Application-independent data generation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040824

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061114

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070402

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070425

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20070518

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100614