JP2000181905A - Preparation device for electronic document file and recording medium - Google Patents

Preparation device for electronic document file and recording medium

Info

Publication number
JP2000181905A
JP2000181905A JP10355254A JP35525498A JP2000181905A JP 2000181905 A JP2000181905 A JP 2000181905A JP 10355254 A JP10355254 A JP 10355254A JP 35525498 A JP35525498 A JP 35525498A JP 2000181905 A JP2000181905 A JP 2000181905A
Authority
JP
Japan
Prior art keywords
electronic document
document file
additional information
information
file
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
JP10355254A
Other languages
Japanese (ja)
Inventor
Osamu Hatakeyama
修 畠山
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP10355254A priority Critical patent/JP2000181905A/en
Publication of JP2000181905A publication Critical patent/JP2000181905A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic document file preparation device capable of easily reflecting additional information not normally printed inside an original electronic document file on an object electronic document file at the time of preparing the object electronic document file through a printer driver for the original electronic document file prepared by an application program and to provide a recording medium for making a computer realize the electronic document file preparation device. SOLUTION: Relating to a printing means 22, the additional information not normally printed inside the original electronic document file 31 is converted to additional information preparation information, included in a file together with printing information and sent out to an electronic document driver 24 for conversion. The additional information is restored based on the additional information preparation information in a conversion means 25 and the object electronic document file 33 including the additional information is prepared. This recording medium records the program.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電子文書ファイル
作成装置及び記録媒体に関し、特に、オペレーティング
システムのプリンタ出力用API(Application Progra
m Interface)とプリンタドライバを用いて電子文書フ
ァイルを作成する電子文書ファイル作成装置及び記録媒
体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an electronic document file creation device and a recording medium, and more particularly to an API (Application Program) for printer output of an operating system.
The present invention relates to an electronic document file creation device and a recording medium for creating an electronic document file by using a printer driver and a printer driver.

【0002】[0002]

【従来の技術】従来、ワードプロセッサ等のアプリケー
ションプログラムがPDF(PortableDocument File)
等の電子文書ファイルを作成する方法のひとつとして、
目的フォーマットの電子文書ファイルを出力するプリン
タドライバ(電子文書ドライバという場合がある)を選
択してプリンタヘの印刷手順を実行する、というものが
ある。
2. Description of the Related Art Conventionally, an application program such as a word processor is a PDF (Portable Document File).
One way to create an electronic document file such as
There is a method of selecting a printer driver (sometimes referred to as an electronic document driver) that outputs an electronic document file in a target format and executing a printing procedure for the printer.

【0003】この方法により、アプリケーションプログ
ラムは、元となる電子文書ファイルを作成した後、オペ
レーティングシステムのプリンタ出力用API(Applic
ation program Interface)を用いてプリンタヘの印刷
と同じ手順を実行するだけで、目的のフォーマットの電
子文書ファイルを作成することができる。つまり、独自
に作成するのが難しいフォーマットの電子文書ファイル
であっても、目的とするフォーマットの電子文書ファイ
ルを出力するプリンタドライバさえ入手できれば、アプ
リケーションプログラムから簡単に作成できるようにな
る。さらに、同じプリンタドライバを用いれば、別のア
プリケーションプログラムでも、同じフォーマットの電
子文書ファイルを作成することができ、電子文書ファイ
ルの共通化にも役立っている。
According to this method, an application program creates an original electronic document file, and then executes a printer output API (Applicable API) of an operating system.
An electronic document file in a desired format can be created by simply executing the same procedure as printing on a printer using the application program interface). In other words, an electronic document file in a format that is difficult to create independently can be easily created from an application program if only a printer driver that outputs an electronic document file in a target format is available. Further, if the same printer driver is used, an electronic document file of the same format can be created even by another application program, which is useful for sharing the electronic document file.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
電子文書ファイルの変換技術には、次のような問題点が
あった。
However, the conventional technology for converting electronic document files has the following problems.

【0005】第1の問題点は、アプリケーションプログ
ラムで作成した元電子文書ファイル上で、しおり、メ
モ、リンク、文書構造、電子署名等の付加情報の定義を
行なえたとしても、アプリケーションプログラムは、プ
リンタAPIとプリンタドライバを用いて作成する目的
電子文書ファイルヘこれらの付加情報を出力できないこ
とである。
A first problem is that even if additional information such as a bookmark, a memo, a link, a document structure, an electronic signature, etc. can be defined on an original electronic document file created by the application program, the application program cannot execute the printer. These additional information cannot be output to a target electronic document file created using an API and a printer driver.

【0006】その理由は、通常のアプリケーションプロ
グラム中の印刷手続きでは、本文のみが印刷イメージと
して出力されているためである。さらに、プリンタAP
Iには、付加情報を付加情報として印刷する手段がない
ためである。
The reason is that, in a printing procedure in a normal application program, only the text is output as a print image. Further, the printer AP
This is because I has no means for printing additional information as additional information.

【0007】第2の問題点は、プリンタドライバを用い
て目的のフォーマットの電子文書ファイルを作成した
後、専用のエディタを用いて付加情報を手作業で入力す
ることにより、作成された目的の電子文書ファイルヘ付
加情報を追加することができるが、この付加情報を目的
の電子文書ファイルに入力する作業が繁雑であることで
ある。さらに、元の文書に変更を加えて電子文書ファイ
ルを再作成した場合は、付加情報をすべて再入力しなけ
ればならず、極めて大変な作業である。
[0007] The second problem is that, after an electronic document file in a target format is created using a printer driver, additional information is manually input using a dedicated editor, thereby creating the target electronic document file. Although additional information can be added to a document file, the task of inputting this additional information into a target electronic document file is complicated. Further, when an electronic document file is re-created by making a change to the original document, all the additional information must be re-input, which is an extremely difficult operation.

【0008】本発明は上記問題点にかんがみてなされた
ものであり、アプリケーションプログラムで作成した元
の電子文書ファイルをプリンタドライバを介して目的の
電子文書ファイルを作成する電子文書ファイル作成装置
において、元の電子文書ファイル内の通常は印刷されな
い付加情報を目的電子文書ファイルに簡単に反映させる
ことができる電子文書ファイル作成装置の提供を目的と
する。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an electronic document file creating apparatus for creating a target electronic document file via a printer driver by using an original electronic document file created by an application program is provided. It is an object of the present invention to provide an electronic document file creating apparatus capable of easily reflecting additional information which is not normally printed in the electronic document file of the present invention on the target electronic document file.

【0009】また、本発明は、かかる電子文書ファイル
作成装置をコンピュータに実現させるためのプログラム
を記録したコンピュータ読み取り可能な記録媒体の提供
を目的とする。
Another object of the present invention is to provide a computer-readable recording medium on which a program for causing a computer to implement the electronic document file creating apparatus is recorded.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の電子文書ファイル作成装置は、アプ
リケーションソフトウエアを用いて作成した元電子文書
ファイルを、目的フォーマットの電子文書ファイルを出
力する変換用電子文書ドライバを介して、前記目的フォ
ーマットのファイルに変換して目的電子文書ファイルを
作成する電子文書ファイルの作成装置において、印刷さ
れる印刷情報と印刷されない付加情報とを含む前記元電
子文書ファイルの中の前記付加情報を、前記印刷情報と
同じフォーマットで後に付加情報に復元できる付加情報
作成情報に変換して、プリンタアプリケーションプログ
ラムインターフェース(プリンタAPI)を介して前記
変換用電子文書ドライバに送出する印刷手段と、前記変
換用電子文書ドライバによって出力された又は更に他の
変換用電子文書ドライバによって変換された中間電子文
書ファイルの中の前記付加情報作成情報を復元して前記
付加情報を含む目的電子文書ファイルを出力する変換手
段とを有する構成としてある。
In order to achieve the above object, an electronic document file creator according to claim 1 outputs an original electronic document file created using application software to an electronic document file in a target format. In an electronic document file creation device for creating a target electronic document file by converting the file into a file in the target format via a conversion electronic document driver, the original electronic device includes print information to be printed and additional information not to be printed. The additional information in the document file is converted into additional information creation information that can be later restored to additional information in the same format as the print information, and is sent to the conversion electronic document driver via a printer application program interface (printer API). A printing means for sending, and a digital document driver for the conversion. Conversion means for restoring the additional information creation information in the intermediate electronic document file output by the conversion electronic document driver or converted by another conversion electronic document driver and outputting a target electronic document file including the additional information. There is a configuration.

【0011】このような構成の発明によれば、印刷手段
で元電子文書ファイル中の通常は印刷されない付加情報
を付加情報作成情報に変換して印刷情報と共にファイル
に含ませて変換用電子文書ドライバに送出し、変換手段
でこの付加情報作成情報を元にして付加情報を復元さ
せ、付加情報を含む目的電子文書ファイルを作成するの
で、目的電子文書ファイルの中にアプリケーションソフ
トで作成した付加情報を簡単に反映させることができ
る。
According to the invention having such a configuration, the printing means converts the normally unprinted additional information in the original electronic document file into additional information creation information, and includes it in the file together with the print information. And the conversion means restores the additional information based on the additional information creation information and creates the target electronic document file including the additional information. Therefore, the additional information created by the application software is stored in the target electronic document file. It can be easily reflected.

【0012】上記目的を達成するため、請求項2記載の
電子文書ファイル作成装置は、請求項1記載の電子文書
ファイルの作成装置において、前記印刷手段が、前記印
刷情報に影響を与えないように前記付加情報を前記付加
情報作成情報に変換する構成としてある。
According to a second aspect of the present invention, there is provided an electronic document file creating apparatus according to the first aspect, wherein the printing unit does not affect the print information. The additional information is configured to be converted into the additional information creation information.

【0013】このような構成の発明によれば、例えば見
かけ上の印字幅を0にすることにより、印刷情報に影響
を与えないで付加情報を付加情報作成情報に変換するこ
とができるので、本文の印刷に影響を与えることがな
い。
According to the invention having such a configuration, for example, by setting the apparent print width to 0, the additional information can be converted into the additional information creation information without affecting the print information. Printing is not affected.

【0014】上記目的を達成するため、請求項3記載の
電子文書作成装置は、請求項1又は2記載の電子文書フ
ァイル作成装置において、前記印刷手段が、印刷で用い
られない文字列を付加した前記付加情報作成情報を送出
する構成としてある。
According to a third aspect of the present invention, there is provided an electronic document creating apparatus according to the first or second aspect, wherein the printing unit adds a character string not used in printing. The additional information creation information is transmitted.

【0015】このような構成の発明によれば、付加情報
作成情報が印刷に影響を与えない。
According to the invention having such a configuration, the additional information creation information does not affect printing.

【0016】上記目的を達成するため、請求項4記載の
記録媒体は、アプリケーションソフトウエアを用いて作
成した元電子文書ファイルを、目的フォーマットの電子
文書ファイルを出力する変換用電子文書ドライバを介し
て、前記目的フォーマットのファイルに変換して目的電
子文書ファイルを作成する電子文書ファイル作成方法を
記録したコンピュータ読み取り可能な記録媒体であっ
て、印刷される印刷情報と印刷されない付加情報とを含
む前記元電子文書ファイルの中の前記付加情報を、前記
印刷情報と同じフォーマットで後に付加情報に復元でき
る付加情報作成情報に変換してプリンタアプリケーショ
ンプログラムインターフェース(プリンタAPI)を介
して前記変換用電子文書ドライバに送出する印刷ステッ
プと、前記変換用電子文書ドライバによって出力された
又は更に他の変換用電子文書ドライバによって変換され
た中間電子文書ファイル中の前記付加情報作成情報を復
元して前記付加情報を含む目的電子文書ファイルを出力
する変換ステップとを有する電子文書ファイル作成方法
をコンピュータに実現させるためのプログラムを記録し
た構成としてある。
According to a fourth aspect of the present invention, there is provided a recording medium according to the fourth aspect, wherein an original electronic document file created using application software is converted via an electronic document driver for conversion which outputs an electronic document file in a target format. A computer-readable recording medium that records an electronic document file creation method for creating a target electronic document file by converting the file into a file of the target format, wherein the source includes print information to be printed and additional information not to be printed. The additional information in the electronic document file is converted into additional information creation information that can be later restored to the additional information in the same format as the print information, and the converted information is sent to the conversion electronic document driver via a printer application program interface (printer API). Sending a printing step, Converting the additional information creation information in the intermediate electronic document file output by the document driver or converted by still another conversion electronic document driver to output a target electronic document file including the additional information. It has a configuration in which a program for causing a computer to implement the electronic document file creation method is recorded.

【0017】このような構成の発明によれば、コンピュ
ータに記録媒体に記録されているプログラムをインスト
ールすることにより、上記請求項1記載の電子文書ファ
イル作成装置を実現することができる。
According to the invention having such a configuration, by installing the program recorded on the recording medium into the computer, it is possible to realize the electronic document file creating apparatus according to the first aspect.

【0018】上記目的を達成するため、請求項5記載の
記録媒体は、請求項4記載の記録媒体において、前記印
刷ステップが、前記印刷情報に影響を与えないように前
記付加情報を前記付加情報作成情報に変換する構成とし
てある。
According to a fifth aspect of the present invention, there is provided a recording medium according to the fourth aspect, wherein the additional information is added to the additional information so that the printing step does not affect the print information. It is configured to convert to creation information.

【0019】このような構成の発明によれば、コンピュ
ータに記録媒体に記録されているプログラムをインスト
ールすることにより、上記請求項2記載の電子文書ファ
イル作成装置を実現することができる。
According to the invention having such a configuration, by installing the program recorded on the recording medium in the computer, it is possible to realize the electronic document file creating apparatus according to the second aspect.

【0020】上記目的を達成するため、請求項6記載の
記録媒体は、請求項4又は5記載の記録媒体において、
前記印刷ステップが、印刷で用いられない文字列を付加
して前記付加情報作成情報を送出する構成としてある。
In order to achieve the above object, the recording medium according to claim 6 is the recording medium according to claim 4 or 5,
In the printing step, a character string not used in printing is added and the additional information creation information is transmitted.

【0021】このような構成の発明によれば、コンピュ
ータに記録媒体に記録されているプログラムをインスト
ールすることにより、上記請求項3記載の電子文書ファ
イル作成装置を実現することができる。
According to the invention having such a configuration, the electronic document file creating apparatus according to the third aspect can be realized by installing the program recorded on the recording medium into the computer.

【0022】[0022]

【発明の実施の形態】以下、本発明の電子文書ファイル
作成装置の実施の形態について図面を参照しながら説明
する。図1は、本発明の電子文書ファイル作成装置の第
1実施形態の概要を示すブロック図である。この電子文
書ファイル作成装置1は、プログラム制御により動作す
るデータ処理装置2と、情報を記憶する記憶装置3と、
キーボード等の入力装置4と、ディスプレイ装置や印刷
装置等の出力装置5とを備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an electronic document file creating apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an outline of a first embodiment of an electronic document file creation device of the present invention. The electronic document file creation device 1 includes a data processing device 2 that operates under program control, a storage device 3 that stores information,
An input device 4 such as a keyboard and an output device 5 such as a display device and a printing device are provided.

【0023】データ処理装置2は、編集/表示手段21
と、印刷手段22と、プリンタAPI23、変換用電子
文書ドライバ(変換用プリンタドライブ)24、変換手
段25、及び編集/表示手段26とを備えている。
The data processing device 2 includes editing / display means 21
, A printing unit 22, a printer API 23, a conversion electronic document driver (conversion printer drive) 24, a conversion unit 25, and an editing / display unit 26.

【0024】編集/表示手段21は、文書作成のための
ワードプロセッサ等のアプリケーションプログラムであ
る。入力装置4を介して入力されて編集/表示手段21
によって編集された元電子文書ファイル31は、記憶装
置3に格納される。元電子文書ファイル31中には、印
刷情報としての本文と共に、しおり、メモ、リンク、文
書構造情報などの付加情報がアプリケーションプログラ
ム独自のファイルフォーマットで格納されている。
The editing / display means 21 is an application program such as a word processor for creating a document. Editing / display means 21 input via input device 4
The original electronic document file 31 edited by is stored in the storage device 3. In the original electronic document file 31, additional information such as a bookmark, a memo, a link, and document structure information are stored in a file format unique to the application program, together with a text as print information.

【0025】印刷手段22は、本発明の特徴であり、元
電子文書ファイル31中の本文と付加情報を印刷する。
本文は、従来どおり、元電子文書ファイル31中のレイ
アウトの指定に従い印刷する。付加情報は、プリンタA
PI23を介して直接印刷できないため、後で付加情報
を復元するのに十分な情報(付加情報作成情報)を本文
と同様の形式で印刷する。その際、本文のレイアウトに
影響を与えない、つまり、見かけ上の印字幅が0となる
ようにレイアウトする。
The printing means 22 is a feature of the present invention, and prints the text and additional information in the original electronic document file 31.
The text is printed in accordance with the layout specification in the original electronic document file 31 as before. The additional information is printer A
Since printing cannot be performed directly via the PI 23, information (additional information creation information) sufficient to restore the additional information later is printed in the same format as the text. At this time, the layout is performed so as not to affect the layout of the text, that is, the apparent print width becomes zero.

【0026】プリンタAPIは、オペレーティングシス
テムが提供しているプリンタ機能をアプリケーションソ
フトウエアから呼び出すためのソフトウエアである。
The printer API is software for calling a printer function provided by an operating system from application software.

【0027】電子文書ドライバ24は、目的のフォーマ
ットの目的電子文書ファイルを作成する変換用プリンタ
ドライバである。例えば、目的電子文書ファイルがPD
Fの場合、Acrobat Writer(アドビシステムズ社製)が
これに相当する。電子文書ドライバ24の出力は、中間
電子文書ファイル32として記憶装置3に格納される。
この時点で、目的とする電子文書ファイルと共通のフォ
ーマットの中間電子文書ファイル32が作成されるが、
中間電子文書ファイル32中には、付加情報作成情報が
本文と同じ形式で格納されているだけで、付加情報は格
納されていない。
The electronic document driver 24 is a conversion printer driver that creates a target electronic document file in a target format. For example, if the target electronic document file is PD
In the case of F, Acrobat Writer (manufactured by Adobe Systems Inc.) corresponds to this. The output of the electronic document driver 24 is stored in the storage device 3 as an intermediate electronic document file 32.
At this point, an intermediate electronic document file 32 having a format common to the target electronic document file is created.
In the intermediate electronic document file 32, only the additional information creation information is stored in the same format as the text, but no additional information is stored.

【0028】変換手段25は、入力装置4からの入力に
より、あるいは自動的に中間電子文書ファイル32中の
付加情報作成情報を復元して付加情報に変換し、付加情
報を含む目的電子文書ファイル33を作成し、記憶手段
に格納する。この時点で、目的電子文書ファイル33中
には、元の文書ファイルである元電子文書ファイル31
に含まれるものと同等の付加情報が、電子文書ドライバ
24が出力する目的のフォーマットに従って格納されて
いる。
The conversion means 25 restores the additional information creation information in the intermediate electronic document file 32 by input from the input device 4 or automatically, converts the information into additional information, and converts the information into the target electronic document file 33 including the additional information. Is created and stored in the storage means. At this point, the target electronic document file 33 contains the original electronic document file 31 which is the original document file.
Is stored in accordance with the target format output by the electronic document driver 24.

【0029】このような構成の電子文書ファイル作成装
置1により、従来の印刷手段のみでは作成することので
きなかった、しおり、メモ、リンク、文書構造情報など
の付加情報を含むPDF等の目的電子文書ファイルの作
成が可能になった。
With the electronic document file creator 1 having such a configuration, a target electronic device such as a PDF including additional information such as a bookmark, a memo, a link, and document structure information, which cannot be created only by the conventional printing means. Document files can be created.

【0030】次に、具体的な例を示して上記電子文書フ
ァイル作成装置1の動作を詳細に説明する。例えば、図
2(a)に示す「タバコの歴史」という印刷されたファ
イルは、ワードプロセッサ等で作成されたSGML(St
andard Generalized Markup Language)の言語では、図
2(b)のように記述される。
Next, the operation of the electronic document file creating apparatus 1 will be described in detail with reference to a specific example. For example, a printed file “History of Tobacco” shown in FIG. 2A is an SGML (St.
In the language of andard Generalized Markup Language), it is described as shown in FIG.

【0031】この図2(b)に示すような元電子文書フ
ァイル31aから文書構造情報を含むPDFファイルを
作成する場合を例にとって説明する。従来の印刷手順で
は、〈title〉タグ部分に対する処理として、書
体、文字の大きさ、印字位置などレイアウトに関する指
定と“タバコの歴史”という文字列をプリンタAPI2
3へ送出していた。
An example in which a PDF file containing document structure information is created from the original electronic document file 31a as shown in FIG. 2B will be described. In the conventional printing procedure, as a process for the <title> tag portion, a specification relating to layout such as a font, a character size, a printing position, and a character string "History of cigarettes"
3 had been sent.

【0032】本発明の電子文書ファイル作成装置1の場
合、印刷手段22では、上述の本文と併せて、後で文書
構造情報を復元するのに十分な情報(付加情報作成情
報)を本来の文書レイアウトが変わらないように本文と
同様の形式でプリンタAPI23へ送出する。例えば、
PDFの仕様に沿って文書構造情報を含むPDFファイ
ルを作成した場合の内容をそのまま送出する。プリンタ
API23を介してこのような入力を受けた電子文書ド
ライバが作成したPDFファイルの内容の例は、図2
(c)に示す中間電子文書ファイル32aのようにな
る。
In the case of the electronic document file creator 1 of the present invention, the printing means 22 adds sufficient information (additional information creation information) for restoring the document structure information to the original document in addition to the text described above. The data is sent to the printer API 23 in the same format as the text so that the layout does not change. For example,
The contents when a PDF file including document structure information is created in accordance with the PDF specifications are transmitted as they are. An example of the contents of a PDF file created by the electronic document driver that has received such an input via the printer API 23 is shown in FIG.
An intermediate electronic document file 32a shown in FIG.

【0033】図2(c)に示す例では、プリンタAPI
23へ送出した印刷イメージの文字列は、Tjオペレー
タ(演算子)として出力されている。そして、プリンタ
API23へ送出したレイアウトに関する指定は、その
他のオペレータとして出力されている。また、印刷手段
22は、本文の文字列と区別がつくよう、付加情報作成
情報として送出した文字列には、先頭に、通常印字に用
いられることのない文字である“¥000”を付加して
プリンタAPI23へ送出している。下線部がPDFフ
ァイルヘ含める文書構造情報のために本発明により追加
された記述であるが、これらは、PDFファイルのビュ
アー(編集/表示手段25)上には表示されず、かつ、
本文レイアウトに影響を与えない。
In the example shown in FIG. 2C, the printer API
The character string of the print image sent to 23 is output as a Tj operator (operator). The layout-related specification sent to the printer API 23 is output as another operator. The printing unit 22 adds “$ 000”, which is a character that is not used in normal printing, to the beginning of the character string sent as the additional information creation information so that it can be distinguished from the character string of the text. To the printer API 23. The underlined portions are descriptions added by the present invention for document structure information to be included in the PDF file, but they are not displayed on the viewer (editing / display means 25) of the PDF file, and
Does not affect text layout.

【0034】最後に、変換手段25が、付加情報作成情
報を含むPDFファイルを、文書構造情報を含むPDF
ファイル(目的電子文書ファイル32)ヘ変換する。変
換した後のPDFファイルの内容は、図2(d)に示す
(電子文書ファイル33a)のようになる。
Finally, the conversion means 25 converts the PDF file containing the additional information creation information into a PDF file containing the document structure information.
File (target electronic document file 32). The contents of the converted PDF file are as shown in (electronic document file 33a) shown in FIG.

【0035】この例の場合、変換は、“¥000”の文
字列を削除したTjオペレータのオペランド(演算数)
の内容を変換後のPDFファイルの内容として用いる、
という単純な手順で済む。この時、下線部は、そのまま
残るが、本文レイアウトには、影響を与えない。
In the case of this example, the conversion is the operand (number of operations) of the Tj operator from which the character string “$ 000” has been deleted.
Is used as the contents of the converted PDF file.
That's it. At this time, the underlined portion remains as it is, but does not affect the text layout.

【0036】このように、本発明の電子文書ファイル作
成装置によれば、従来と若干変更した電子文書ファイル
の印刷手段と、目的のフォーマットの中間電子文書ファ
イル内の付加情報作成情報を付加情報に復元する変換手
段とを備えていることにより、目的のフォーマットの電
子文書ファイルを作成する電子文書ドライバを用いて、
付加情報を含む目的のフォーマットの目的電子文書ファ
イルを容易に作成できる。
As described above, according to the electronic document file creating apparatus of the present invention, the printing means of the electronic document file slightly changed from the conventional one, and the additional information creating information in the intermediate electronic document file of the target format are added to the additional information. With the conversion means for restoring, using an electronic document driver that creates an electronic document file of the desired format,
A target electronic document file of a target format including additional information can be easily created.

【0037】その理由は、プリンタAPIを介して送出
することのできない付加情報を付加情報作成情報として
本文と共に出力することや、すでに作成されている目的
のフォーマットの中間電子文書ファイルの内容の一部を
変更することは、アプリケーションプログラムから直
接、付加情報を含む目的のフォーマットの電子文書ファ
イルを作成するよりも容易だからである。
The reason for this is that additional information that cannot be transmitted via the printer API is output together with the text as additional information creation information, or a part of the contents of the intermediate electronic document file in the target format that has already been created. Is easier than creating an electronic document file in a target format including additional information directly from an application program.

【0038】また、文書を作成するためのアプリケーシ
ョンプログラム上で、目的のフォーマットの電子文書フ
ァイルを作成するためのわかりやすい操作方法を提供で
きる。
Further, it is possible to provide an easy-to-understand operation method for creating an electronic document file in a target format on an application program for creating a document.

【0039】その理由は、目的のフォーマットの電子文
書ファイルを作成するための一連の処理は、プログラム
中で自動化できるため、アプリケーションプログラム中
に、“PDFファイルとして出力する”などのメニュー
を用意できるからである。
The reason is that a series of processes for creating an electronic document file in a target format can be automated in the program, and a menu such as "output as PDF file" can be prepared in the application program. It is.

【0040】次に、本発明の電子文書ファイル作成装置
の第2実施形態について説明する。図3は第2実施形態
の概要を示すブロック図である。
Next, a second embodiment of the electronic document file creation device of the present invention will be described. FIG. 3 is a block diagram showing an outline of the second embodiment.

【0041】目的のフォーマットの電子文書ファイルを
作成する段階で、何度か別のフォーマットの電子文書フ
ァイルを経由する場合も、各フォーマットの電子文書フ
ァイルに対して本発明の電子文書ファイル作成装置は有
効である。ここでは、アプリケーションプログラムで作
成した元電子文書ファイル31bからPostScriptファイ
ルを作成した後、さらに目的電子文書ファイルであるP
DFファイル33bヘ変換する場合に、元電子文書ファ
イル31b中の付加情報をPDFファイル33bヘ含め
る場合を説明する。
In the stage of creating an electronic document file of a target format, even if the electronic document file of another format is passed through several times, the electronic document file creating apparatus of the present invention can be applied to the electronic document file of each format. It is valid. Here, a PostScript file is created from the original electronic document file 31b created by the application program, and then a target electronic document file P
A case where the additional information in the original electronic document file 31b is included in the PDF file 33b when converting to the DF file 33b will be described.

【0042】この場合、従来、しおり、メモ、リンクの
ように、PDFの仕様としてあらかじめ定まっている付
加情報のいくつかは、途中で作成するPostScriptファイ
ル中にpdfmarkオペレータを用いて記述することができ
る。その後、AcrobatDistller等のPdfmarkオペ
レータに対応した変換用電子文書ドライバを用いて、Po
stScriptファイルをPDFファイルヘ変換すると、pdfm
arkオペレータで記述した内容を反映した付加情報を含
んだPDFファイルを作成することができる。ただし、
プリンタドライバを介してPostScriptファイルを作成す
る場合は、印刷イメージに関係のないpdfmarkオペレー
タを直接出力することはできない。
In this case, some of the additional information that has been determined in advance as PDF specifications, such as a bookmark, a memo, and a link, can be described using a pdfmark operator in a PostScript file created on the way. . After that, using a conversion electronic document driver corresponding to a Pdfmark operator such as AcrobatDistller,
Convert stScript file to PDF file, pdfm
A PDF file including additional information reflecting the content described by the ark operator can be created. However,
When creating a PostScript file via a printer driver, it is not possible to directly output a pdfmark operator unrelated to the print image.

【0043】しかし、本発明によれば、印刷手段として
のプリントプログラム22a中に本文と共に、pdfmark
オペレータを復元するのに十分な情報(pdfmark作成情
報)をプリンタAPI23を介して変換用電子文書ドラ
イバとしてのPostScriptプリンタドライバ24aへ送出
することにより、本文と同様の形式でpdfmark作成情報
を含む第1中間電子文書ファイルとしてのPostScriptフ
ァイル32bを作成することができる。
However, according to the present invention, the print program 22a as the printing means includes the pdfmark together with the text.
By sending enough information (pdfmark creation information) to restore the operator to the PostScript printer driver 24a as the conversion electronic document driver via the printer API 23, the first pdfmark creation information including the pdfmark creation information in the same format as the text is provided. A PostScript file 32b as an intermediate electronic document file can be created.

【0044】その後、pdfmark作成情報を含むPostScrip
tファイル32bからpdfmarkオペレータを含むPostScri
ptファイルヘ復元する第1変換手段としての変換プログ
ラム25aを用いて、PostScriptファイル32bから第
2中間電子文書ファイルとしてのPostScriptファイル3
2cを作成する。
Thereafter, PostScrip including pdfmark creation information
PostScri including pdfmark operator from t-file 32b
The PostScript file 32b as the second intermediate electronic document file is converted from the PostScript file 32b using the conversion program 25a as the first conversion means for restoring the pt file.
2c is created.

【0045】例えば、前述の第1実施形態での“タバコ
の歴史”というタイトルをPDFファイル中にしおりと
して含めたい場合は、プリンタAPI23とPostScript
プリンタドライバ24aを介して、PostScriptファイル
32b中に、図4(a)に示すような記述を出力した
後、変換プログラム25aを用いて図4(b)に示すよ
うな記述のpdfmarkオペレータを含むPostScriptファイ
ル32cへ変換する。
For example, if it is desired to include the title “History of Tobacco” in the first embodiment as a bookmark in the PDF file, the printer API 23 and the PostScript
After outputting the description as shown in FIG. 4A into the PostScript file 32b via the printer driver 24a, the PostScript including the pdfmark operator having the description as shown in FIG. Convert to file 32c.

【0046】この場合も前述の第1実施形態と同様に、
本文の文字列と区別がつくよう、pdfmark作成情報とし
て出力した文字列には、先頭に通常印字に用いられるこ
とのない文字である“¥000”を付加してプリンタA
P123へ送出している。さらに、pdfmarkへの変換
も、“¥000”の文字列を削除したpdfmarkオペレー
タのオペランドの内容を変換後のPostScriptファイルの
内容として用いるという単純な手順で済む。
Also in this case, similarly to the first embodiment,
To distinguish the character string from the body text, the character string output as pdfmark creation information is prefixed with “$ 000” which is a character that is not used for normal printing.
It has been sent to P123. Further, the conversion to pdfmark is a simple procedure of using the contents of the operand of the pdfmark operator from which the character string “$ 000” has been deleted as the contents of the PostScript file after conversion.

【0047】この後、PostScriptファイル32cをAcro
bat Distillerを用いて第3中間電子文書ファイルとし
てのPDFファイル32dに変換すれば、pdfmarkオペ
レータで記述したしおりの情報が、PDFファイル32
d中にしおりの付加情報として含まれる。
After that, the PostScript file 32c is
If the file is converted into a PDF file 32d as a third intermediate electronic document file using bat Distiller, the bookmark information described by the pdfmark operator is converted to the PDF file 32d.
This is included as additional information of the bookmark in d.

【0048】一方、第1実施形態で説明したような文書
構造情報のように、pdfmarkでサポートされていない付
加情報も、前述の第1実施形態と同様の手順でプリント
プログラム22aから付加情報を付加情報作成情報に変
換してPostScriptファイル32bへ出力する。以後、P
DFファイル32dを作成するまで、この付加情報作成
情報はファイルフォーマットを変えながら保持される。
On the other hand, additional information not supported by pdfmark, such as the document structure information described in the first embodiment, is added from the print program 22a in the same procedure as in the first embodiment. The information is converted into information creation information and output to the PostScript file 32b. Hereafter, P
Until the DF file 32d is created, this additional information creation information is held while changing the file format.

【0049】最後に、第2変換手段としての変換プログ
ラム25bを用いて、付加情報作成情報を含むPDFフ
ァイル32dを付加情報を含む目的電子文書ファイルで
あるPDFファイル33bに変換する。このPDFファ
イル33b中には、pdfmarkを用いて作成した付加情報
とpdfmarkを用いないで作成した付加情報の両方が含ま
れている。
Finally, using the conversion program 25b as the second conversion means, the PDF file 32d containing the additional information creation information is converted into a PDF file 33b, which is the target electronic document file containing the additional information. This PDF file 33b contains both additional information created using pdfmark and additional information created without using pdfmark.

【0050】[0050]

【発明の効果】以上説明したように、本発明の電子文書
ファイル作成装置によれば、アプリケーションソフトで
作成した元の電子文書ファイルから、元の電子文書ファ
イル内の通常は印刷されない付加情報を目的電子文書フ
ァイルに簡単に反映させることができる。
As described above, according to the electronic document file creator of the present invention, from the original electronic document file created by the application software, the additional information in the original electronic document file which is not normally printed can be obtained. It can be easily reflected in electronic document files.

【0051】また、本発明の記録媒体によれば、コンピ
ュータにインストールすることにより、コンピュータを
かかる電子文書ファイル作成装置として機能させること
ができる。
Further, according to the recording medium of the present invention, by installing it on a computer, the computer can function as such an electronic document file creation device.

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

【図1】本発明の電子文書ファイル作成装置の第1実施
形態を示すブロック図である。
FIG. 1 is a block diagram illustrating a first embodiment of an electronic document file creation device according to the present invention.

【図2】本発明の電子文書ファイル作成装置の第1実施
形態における元電子文書ファイルから目的電子文書ファ
イルへの変換を示すもので、(a)は元電子文書ファイ
ルの印刷物、(b)は元電子文書ファイルの記述、
(c)は元電子ファイルを付加情報作成情報を含んだ目
的のフォーマットの電子文書ファイルへ変換したときの
記述、(d)は付加情報を含んだ目的電子文書ファイル
の記述を示す。
FIGS. 2A and 2B show conversion of an original electronic document file to a target electronic document file in the first embodiment of the electronic document file creation device of the present invention, wherein FIG. Description of the original electronic document file,
(C) shows the description when the original electronic file is converted into the electronic document file of the target format including the additional information creation information, and (d) shows the description of the target electronic document file including the additional information.

【図3】本発明の電子文書ファイル作成装置の第2実施
形態を示すブロック図である。
FIG. 3 is a block diagram showing a second embodiment of the electronic document file creation device of the present invention.

【図4】本発明の電子文書ファイル作成装置の第2実施
形態における電子文書ファイルの記述を示すもので、
(a)は元電子文書ファイルからpdfmark作成情報を含
んだポストスクリプトファイルに変換したときの記述、
(b)は変換手段でpdfmarkオペレータを含むポストス
クリプトファイルへ変換したときの記述を示す。
FIG. 4 shows a description of an electronic document file in a second embodiment of the electronic document file creation device of the present invention.
(A) is a description when converted from an original electronic document file to a PostScript file containing pdfmark creation information,
(B) shows a description when converted into a PostScript file including a pdfmark operator by the conversion means.

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

1 電子文書ファイル作成装置 2 データ処理装置 21 編集/表示手段 22 印刷手段 23 プリンタAPI 24 電子文書ドライバ 25 変換手段 26 編集/表示手段 3 記憶装置 31 元電子文書ファイル 32 中間電子文書ファイル 33 目的電子文書ファイル DESCRIPTION OF SYMBOLS 1 Electronic document file creation apparatus 2 Data processing apparatus 21 Editing / display means 22 Printing means 23 Printer API 24 Electronic document driver 25 Conversion means 26 Editing / display means 3 Storage device 31 Original electronic document file 32 Intermediate electronic document file 33 Target electronic document File

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーションソフトウエアを用いて
作成した元電子文書ファイルを、目的フォーマットの電
子文書ファイルを出力する変換用電子文書ドライバを介
して、前記目的フォーマットのファイルに変換して目的
電子文書ファイルを作成する電子文書ファイルの作成装
置において、 印刷される印刷情報と印刷されない付加情報とを含む前
記元電子文書ファイルの中の前記付加情報を、前記印刷
情報と同じフォーマットで後に付加情報に復元できる付
加情報作成情報に変換して、プリンタアプリケーション
プログラムインターフェース(プリンタAPI)を介し
て前記変換用電子文書ドライバに送出する印刷手段と、 前記変換用電子文書ドライバによって出力された、又は
更に他の変換用電子文書ドライバによって変換された中
間電子文書ファイルの中の前記付加情報作成情報を復元
して前記付加情報を含む目的電子文書ファイルを出力す
る変換手段とを有することを特徴とする電子文書ファイ
ルの作成装置。
An electronic document file created by using application software is converted into a file in the target format via a conversion electronic document driver for outputting an electronic document file in the target format. The additional information in the original electronic document file including the print information to be printed and the additional information not to be printed can be restored to the additional information later in the same format as the print information. A printing unit that converts the information into additional information creation information and sends the converted information to the electronic document driver for conversion via a printer application program interface (printer API); Intermediate power converted by the electronic document driver Creating apparatus of the electronic document file and having a conversion means for outputting a target electronic document file containing the additional information to restore the additional information creation information in the document file.
【請求項2】 請求項1記載の電子文書ファイルの作成
装置において、 前記印刷手段が、前記印刷情報に影響を与えないように
前記付加情報を前記付加情報作成情報に変換することを
特徴とする電子文書ファイルの作成装置。
2. The electronic document file creation device according to claim 1, wherein the printing unit converts the additional information into the additional information creation information so as not to affect the print information. An electronic document file creation device.
【請求項3】 請求項1又は2記載の電子文書ファイル
作成装置において、 前記印刷手段が、印刷で用いられない文字列を付加した
前記付加情報作成情報を送出することを特徴とする電子
文書ファイル作成装置。
3. The electronic document file creating apparatus according to claim 1, wherein said printing means sends said additional information creating information to which a character string not used in printing is added. Creating device.
【請求項4】 アプリケーションソフトウエアを用いて
作成した元電子文書ファイルを、目的フォーマットの電
子文書ファイルを出力する変換用電子文書ドライバを介
して、前記目的フォーマットのファイルに変換して目的
電子文書ファイルを作成する電子文書ファイル作成方法
を記録したコンピュータ読み取り可能な記録媒体であっ
て、 印刷される印刷情報と印刷されない付加情報とを含む前
記元電子文書ファイルの中の前記付加情報を、前記印刷
情報と同じフォーマットで後に付加情報に復元できる付
加情報作成情報に変換してプリンタアプリケーションプ
ログラムインターフェース(プリンタAPI)を介して
前記変換用電子文書ドライバに送出する印刷ステップ
と、 前記変換用電子文書ドライバによって出力された、又は
更に他の変換用電子文書ドライバによって変換された中
間電子文書ファイル中の前記付加情報作成情報を復元し
て、前記付加情報を含む目的電子文書ファイルを出力す
る変換ステップと、 を有する電子文書ファイル作成方法をコンピュータに実
現させるためのプログラムを記録したコンピュータ読み
取り可能な記録媒体。
4. An original electronic document file created by using application software is converted into a file of the target format via a conversion electronic document driver for outputting an electronic document file of the target format. A computer-readable recording medium that records an electronic document file creation method for creating the electronic document file, wherein the additional information in the original electronic document file including print information to be printed and additional information not to be printed is stored as the print information. A printing step of converting the information into additional information creation information which can be later restored to additional information in the same format as described above, and sending it to the electronic document driver for conversion via a printer application program interface (printer API); Or other changes Converting the additional information creation information in the intermediate electronic document file converted by the electronic document driver for use to output a target electronic document file including the additional information. A computer-readable recording medium on which a program for realizing the program is recorded.
【請求項5】 請求項4記載の記録媒体において、 前記印刷ステップが、前記印刷情報に影響を与えないよ
うに前記付加情報を前記付加情報作成情報に変換するこ
とを特徴とするコンピュータ読み取り可能な記録媒体。
5. The computer-readable recording medium according to claim 4, wherein the printing step converts the additional information into the additional information creation information so as not to affect the print information. recoding media.
【請求項6】 請求項4又は5記載の記録媒体におい
て、 前記印刷ステップが、印刷で用いられない文字列を付加
して前記付加情報作成情報を送出することを特徴とする
コンピュータ読み取り可能な記録媒体。
6. The computer-readable recording according to claim 4, wherein the printing step includes transmitting a character string not used in printing and the additional information creation information. Medium.
JP10355254A 1998-12-14 1998-12-14 Preparation device for electronic document file and recording medium Pending JP2000181905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10355254A JP2000181905A (en) 1998-12-14 1998-12-14 Preparation device for electronic document file and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10355254A JP2000181905A (en) 1998-12-14 1998-12-14 Preparation device for electronic document file and recording medium

Publications (1)

Publication Number Publication Date
JP2000181905A true JP2000181905A (en) 2000-06-30

Family

ID=18442876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10355254A Pending JP2000181905A (en) 1998-12-14 1998-12-14 Preparation device for electronic document file and recording medium

Country Status (1)

Country Link
JP (1) JP2000181905A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010176542A (en) * 2009-01-30 2010-08-12 Fuji Xerox Co Ltd Print information converter, printer, printing system and program
KR101078477B1 (en) 2011-04-18 2011-10-31 (주)캡소프트 Method and system for automatically inserting bookmark information of hwp document into pdf document
US8634100B2 (en) 2006-04-18 2014-01-21 Konica Minolta Business Technologies, Inc. Image forming apparatus for detecting index data of document data, and control method and program product for the same
JP2015049706A (en) * 2013-09-02 2015-03-16 コニカミノルタ株式会社 Document management device and document management method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8634100B2 (en) 2006-04-18 2014-01-21 Konica Minolta Business Technologies, Inc. Image forming apparatus for detecting index data of document data, and control method and program product for the same
JP2010176542A (en) * 2009-01-30 2010-08-12 Fuji Xerox Co Ltd Print information converter, printer, printing system and program
KR101078477B1 (en) 2011-04-18 2011-10-31 (주)캡소프트 Method and system for automatically inserting bookmark information of hwp document into pdf document
JP2015049706A (en) * 2013-09-02 2015-03-16 コニカミノルタ株式会社 Document management device and document management method

Similar Documents

Publication Publication Date Title
US7688459B2 (en) Document processing method
US20050060046A1 (en) Information processing apparatus, its control method, and program
JPH11184657A (en) Print system and data processing method therefor
JP2005332088A (en) Document preparing device and file conversion system
EP1292895A1 (en) Method and apparatus for rendering electronic documents
JP2003037731A (en) Image processing apparatus and method
JP2008140179A (en) Document data processing method, document data preparation device and document data processing system
JP2004050722A (en) Printer
US8451467B2 (en) Printing apparatus, method for controlling print job, and computer program for pre-registering condition information relating to conditions for cancelling execution of a print job
US7203898B2 (en) Document processing method and apparatus
JP2002351637A (en) Method for operating printer
JP2000155722A (en) Device and method for electronic mail transmission and recording medium
JP2003036158A (en) Print data processor
JP2004341675A (en) Development system, electronic form using system, server, program, and recording medium
JP3559589B2 (en) Preview display method and information processing apparatus
JP2000181905A (en) Preparation device for electronic document file and recording medium
JP4227394B2 (en) Printing system
JP2000066867A (en) Printer device and storage medium storing program for page information printing control
JP2000330908A (en) System and method for data processing, and storage medium
JP2004157834A (en) Print system
JPH10301924A (en) Processor for external character classfied by jobs
JP2002183120A (en) Print system, image processor, and their editing method
JP2007128544A (en) Electronic data transmission apparatus, method for transmitting electronic mail and recording medium
JP2003005942A (en) Method for integrally outputting different document and device for performing the same method and its processing program
JP3507353B2 (en) Overlay printing control method and apparatus, and storage medium storing computer readable program