Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4490852B2 - Document processing apparatus, image forming apparatus, and document processing program - Google Patents
[go: Go Back, main page]

JP4490852B2 - Document processing apparatus, image forming apparatus, and document processing program - Google Patents

Document processing apparatus, image forming apparatus, and document processing program Download PDF

Info

Publication number
JP4490852B2
JP4490852B2 JP2005073325A JP2005073325A JP4490852B2 JP 4490852 B2 JP4490852 B2 JP 4490852B2 JP 2005073325 A JP2005073325 A JP 2005073325A JP 2005073325 A JP2005073325 A JP 2005073325A JP 4490852 B2 JP4490852 B2 JP 4490852B2
Authority
JP
Japan
Prior art keywords
document
input
output
page
class
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005073325A
Other languages
Japanese (ja)
Other versions
JP2006259872A (en
Inventor
鍾淑 殷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005073325A priority Critical patent/JP4490852B2/en
Publication of JP2006259872A publication Critical patent/JP2006259872A/en
Application granted granted Critical
Publication of JP4490852B2 publication Critical patent/JP4490852B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Description

本発明は、文書処理を共通化した文書処理装置、画像形成装置及び文書処理プログラムに関するものであり、利用者の要求に応じて入出力を設定する技術に関するものである。   The present invention relates to a document processing apparatus, an image forming apparatus, and a document processing program that share document processing, and relates to a technique for setting input / output in response to a user request.

従来、プリンタ、コピー及びスキャナなどの複数の機能を一つの筐体内に収納した複合機が知られている。かかる複合機では、UNIX(R)などの汎用OS上に、プリンタアプリ、コピーアプリ及びスキャナアプリと呼ばれる複数のアプリケーションを搭載し、これらのアプリケーションの実行処理を切替えながら複数の機能を実現していた。   2. Description of the Related Art Conventionally, there has been known a multi-function machine in which a plurality of functions such as a printer, a copy, and a scanner are stored in a single casing. In such a multifunction device, a plurality of applications called a printer application, a copy application, and a scanner application are mounted on a general-purpose OS such as UNIX (R), and a plurality of functions are realized while switching execution processes of these applications. .

ところが、上記プリンタアプリ、コピーアプリ及びスキャナアプリは、それぞれエンジン制御、メモリ制御及びシステム制御などを別個におこなっているので、重複処理という無駄が生じていた。   However, since the printer application, the copy application, and the scanner application perform engine control, memory control, system control, and the like separately, wasteful duplication processing has occurred.

このため、特許文献1では、複合機に搭載される複数のアプリケーションがそれぞれ担っていたエンジン制御、メモリ制御及びシステム制御などの処理を共通処理部分(プラットホーム)として各アプリケーションから括り出すことにより、アプリケーションの開発効率の向上を図っている。   For this reason, in Patent Document 1, the applications such as engine control, memory control, and system control, which have been performed by a plurality of applications installed in the multifunction peripheral, are bundled from each application as a common processing part (platform). The development efficiency is improved.

また、特許文献2では、印刷装置に搭載される印刷制御ソフトウェアを、オブジェクト指向設計による複数のソフトウェア部品から構成し、かかる部品群の協調動作により印刷処理を行うこととしている。   In Patent Document 2, print control software installed in a printing apparatus is composed of a plurality of software components based on object-oriented design, and printing processing is performed by cooperative operation of such component groups.

特開2002−084383号公報JP 2002-084383 A 特開平11−327883号公報Japanese Patent Laid-Open No. 11-327883

しかしながら、この特許文献1で開示されている発明は、ハードウェアを制御する処理部分を共通化するものであり、各アプリケーションの内部処理全般を共通化するものではなく、さらには共通化した上で内部処理を機能に応じたクラスに分割していないため、内部処理全般の開発効率が良くないという問題がある。つまり、複合機上のアプリケーションには、開発効率の向上を図るためには内部処理を共通化して特徴のある機能をクラスとして分割することで改善の余地が残されている。   However, the invention disclosed in Patent Document 1 shares the processing part that controls the hardware, and does not share the overall internal processing of each application. Since internal processing is not divided into classes according to functions, there is a problem that the development efficiency of internal processing in general is not good. In other words, in order to improve development efficiency, applications on the multifunction peripheral have room for improvement by sharing the internal processing and dividing the characteristic functions into classes.

例えば、ユーザが複合機においてFAXあるいはスキャナ等の複数の入力元から入力された文書を、プリンタ、ローカルストレージあるいはFAX等から出力する場合では、コピーあるいはFAXなどのアプリケーション毎に含まれたジョブで入力から出力まで実現されているため、アプリケーション毎に異なるジョブで加工処理がなされることとなり、入力された文書に対する加工処理を共通化されていなかった。   For example, when a user inputs a document input from a plurality of input sources such as a fax machine or a scanner from a printer, a local storage, or a fax machine, the input is made by a job included for each application such as a copy or a fax machine. From processing to output, processing is performed with different jobs for each application, and processing for input documents has not been shared.

また、特許文献2で開示されている発明は、印刷制御ソフトウェアをオブジェクト指向設計による複数のソフトウェア部品から構成したものであり、入力された文書を出力するまでを共通化した加工処理についての流れを制御するソフトウェア部品を開示したものではない。したがって、多機能化により複数の入力元及び出力先を有する複合機において、特許文献2で開示されている発明を応用して、入力された文書を出力するまでの加工処理に対応するソフトウェア部品を作成したとしても、従来はユーザが要求処理に応じて異なるアプリケーション毎のジョブで処理を行っていたため、全てのアプリケーションにまたがる処理を共通化して加工処理を効率よく制御することは容易でない。   The invention disclosed in Patent Document 2 is a print control software composed of a plurality of software parts based on object-oriented design, and the flow of processing that is common until the input document is output. It does not disclose software components to be controlled. Therefore, in a multi-function machine having a plurality of input sources and output destinations due to the multi-function, a software component corresponding to processing until the input document is output by applying the invention disclosed in Patent Document 2 Even if it is created, conventionally, since the user has performed processing with jobs for different applications according to the requested processing, it is not easy to efficiently control processing by sharing processing across all applications.

これらのことから、複合機に搭載されるアプリケーションにおいて入力元及び出力先の違いを吸収して文書の加工処理の共通化をいかにして効率よく実現するかが大きな課題となっている。なお、かかる課題は複合機についてのみ生じるものではなく、たとえば、複数の入力手段を有し、入力元から入力された文書に対して、例えば「2 in 1」等の加工処理を行った後、複数備えられた出力先のうち一つ又は複数から出力する場合にも同様に生ずる課題である。   For these reasons, a major issue is how to efficiently realize common processing of documents by absorbing the difference between the input source and the output destination in the application installed in the multifunction peripheral. Note that such a problem does not arise only for the multifunction peripheral. For example, after having a plurality of input means and performing a processing such as “2 in 1” on a document input from the input source, The same problem occurs when outputting from one or a plurality of output destinations.

さらに、アプリケーションという概念を廃止し、加工処理を共通化すると複数の入力元及び出力先を設定するだけで文書処理が行われることになる。この場合、従来の手法になれている利用者が利用する際にとまどうことも考えられるという問題がある。   Furthermore, if the concept of application is abolished and processing is standardized, document processing is performed simply by setting a plurality of input sources and output destinations. In this case, there is a problem that a user who is familiar with the conventional method can think about anything wrong.

本発明は、上述した従来技術による問題点を解消するためになされたものであり、入力元及び出力先の違いを吸収して文書の加工処理を共通化し、さらに利用者に対して文書処理を容易に設定できるインターフェースを提供できる文書処理装置、画像形成装置及び文書処理プログラムを提供することを目的とする。   The present invention has been made in order to solve the above-described problems caused by the prior art, absorbs the difference between the input source and the output destination, shares the document processing, and further performs the document processing for the user. An object of the present invention is to provide a document processing apparatus, an image forming apparatus, and a document processing program that can provide an interface that can be easily set.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、文書情報を入力処理する入力手段及び文書情報を出力処理する出力手段を複数備えた文書処理装置において、制御する対象となる前記入力手段毎に対応付けられ、予め定められた形式に変換された文書情報複数個生成、管理を行うことを可能とする入力文書手段と、前記入力文書手段が管理する前記入力文書情報について、ページ毎の情報を管理する入力ページ手段と、前記入力ページ手段が管理するページ毎に、当該ページのレイアウトを定める入力枠情報を生成し、管理する入力レイアウト手段と、前記入力ページ手段が管理するページ毎に、前記入力レイアウト手段が管理する前記入力枠情報に従って、当該ページに当てはめられる入力画像を、入力処理された入力文書から生成し、当該入力画像を複数管理可能な入力画像手段と、前記入力画像手段が管理する前記入力画像から、1ページを構成することが可能な領域毎の利用者画像を取得し、取得した前記利用者画像を複数管理可能な利用者画像手段と、制御する対象となる前記出力手段毎に対応付けられ、前記利用者画像手段が管理する利用者画像に基づいて出力処理される文書情報複数個生成、管理を行うことを可能とする出力文書手段と、利用者から受け付ける文書処理の要求を示した要求情報と、前記入力手段毎に対応付けられた前記入力文書手段を制御するか否かを示す入力文書制御情報と、前記出力手段毎に対応付けられた前記出力文書手段を制御するか否かを示す出力文書制御情報と、を対応付けて管理して、利用者から要求情報を受け付けた場合、受け付けた該要求情報と該対応付けから制御する前記入力文書手段及び前記出力文書手段を特定し、特定された前記入力文書手段及び前記出力文書手段を生成して制御を行う利用者文書手段と、を備えたことを特徴とする。 In order to solve the above-described problems and achieve the object, the invention according to claim 1 controls in a document processing apparatus including a plurality of input means for inputting document information and a plurality of output means for outputting document information. associated with each of the input means to be a plurality generates document information converted into a predetermined format, an input document means making it possible to manage the input by the input document means manages For document information, an input page means for managing information for each page, an input layout means for generating and managing input frame information for determining the layout of the page for each page managed by the input page means, and the input page For each page managed by the means, the input image applied to the page is input-processed according to the input frame information managed by the input layout means. A user image for each area that can form one page is obtained from the input image unit that can be generated from the input document and can manage a plurality of the input images, and the input image managed by the input image unit. The user image means capable of managing a plurality of acquired user images and the output means to be controlled are associated with each other, and output processing is performed based on the user images managed by the user image means. Controls output document means capable of generating and managing a plurality of document information , request information indicating a document processing request received from a user, and the input document means associated with each input means And managing the input document control information indicating whether or not to control the output document control information indicating whether or not to control the output document means associated with each output means. RaKaname required When receiving a broadcast, it received該要 identifies the input document means and said output document means controlled from the determined information and the correspondence, generates and controls the input document means and said output document means identified And a user document means for performing the above.

また、請求項2にかかる発明は、請求項1にかかる発明において、前記入力文書手段が有する機能を含み、紙文書を入力処理する入力紙文書手段と、前記入力文書手段が有する機能を含み、記憶媒体に記憶された電子文書を入力処理する入力電子文書手段と、前記入力文書手段が有する機能を含み、電子文書を通信回線から入力処理する入力通信文書手段と、を備え、前記利用者文書手段は、利用者から受け付ける文書処理の要求情報と前記入力紙文書手段を制御するか否かを示す入力紙文書制御情報と前記入力電子文書手段を制御するか否かを示す入力電子文書制御情報と前記入力通信文書手段を制御するか否かを示す入力通信文書制御手段とを対応付けて管理して、前記利用者要求情報を受け付けた場合、前記利用者要求情報と該対応付けから、制御する前記入力紙文書手段、前記入力電子文書手段及び前記入力通信文書手段のいずれか1つ又は複数を特定してから制御を行うことを特徴とする。   Further, the invention according to claim 2 includes the function of the input document means in the invention according to claim 1, including an input paper document means for performing input processing of a paper document, and a function of the input document means, An input electronic document means for input processing of an electronic document stored in a storage medium; and an input communication document means for inputting and processing the electronic document from a communication line, the function including the function of the input document means. Means for requesting document processing received from a user, input paper document control information indicating whether or not to control the input paper document means, and input electronic document control information indicating whether or not to control the input electronic document means And the input communication document control means indicating whether or not to control the input communication document means, and when the user request information is received, the user request information and the correspondence From the input paper document means for controlling, and performing identify and control from any one or more of said input electronic document means and said input communication document means.

また、請求項3にかかる発明は、請求項1又は2にかかる発明において、前記出力文書手段が有する機能を含み、紙文書として出力処理する出力紙文書手段と、前記出力文書手段が有する機能を含み、記憶媒体に電子文書を出力処理する出力電子文書手段と、前記出力文書手段が有する機能を含み、電子文書を通信回線へ出力処理する出力通信文書手段と、を備え、前記利用者文書手段は、利用者から受け付ける文書処理の要求情報と前記出力紙文書手段を制御するか否かを示す出力紙文書制御情報と前記出力電子文書手段を制御するか否かを示す出力電子文書制御情報と前記出力通信文書手段を制御するか否かを示す出力通信文書制御情報とを対応付けて管理して、前記利用者要求情報を受け付けた場合、前記利用者要求情報と前記対応付けから、制御する前記出力紙文書手段、前記出力電子文書手段及び前記出力通信文書手段のいずれか1つ又は複数を特定してから制御を行うことを特徴とする。   According to a third aspect of the present invention, in the first or second aspect of the invention, the output document means includes the function of the output document means, and the output paper document means for performing output processing as a paper document, and the function of the output document means. Including: an output electronic document means for outputting an electronic document to a storage medium; and an output communication document means for outputting the electronic document to a communication line, including the function of the output document means, and the user document means Includes document processing request information received from a user, output paper document control information indicating whether or not to control the output paper document means, output electronic document control information indicating whether or not to control the output electronic document means, When managing the output communication document control information indicating whether to control the output communication document means in association with the user request information, the user request information and the correspondence From the output paper document means for controlling, and performing identify and control from any one or more of the output electronic document means and the output communication document means.

また、請求項4にかかる発明は、文書情報を入力処理する入力手段及び文書情報を出力処理する出力手段を複数備えた画像形成装置において、制御する対象となる前記入力手段毎に対応付けられ、予め定められた形式に変換された文書情報複数個生成、管理を行うことを可能とする入力文書手段と、前記入力文書手段が管理する前記入力文書情報について、ページ毎の情報を管理する入力ページ手段と、前記入力ページ手段が管理するページ毎に、当該ページのレイアウトを定める入力枠情報を生成し、管理する入力レイアウト手段と、前記入力ページ手段が管理するページ毎に、前記入力レイアウト手段が管理する前記入力枠情報に従って、当該ページに当てはめられる入力画像を、入力処理された入力文書から生成し、当該入力画像を複数管理可能な入力画像手段と、前記入力画像手段が管理する前記入力画像から、1ページを構成することが可能な領域毎の利用者画像を取得し、取得した前記利用者画像を複数管理可能な利用者画像手段と、制御する対象となる前記出力手段毎に対応付けられ、前記利用者画像手段が管理する利用者画像に基づいて出力処理される文書情報複数個生成、管理を行うことを可能とする出力文書手段と、利用者から受け付ける文書処理の要求を示した要求情報と、前記入力手段毎に対応付けられた前記入力文書手段を制御するか否かを示す入力文書制御情報と、前記出力手段毎に対応付けられた前記出力文書手段を制御するか否かを示す出力文書制御情報と、を対応付けて管理して、利用者から要求情報を受け付けた場合、受け付けた該要求情報と該対応付けから制御する前記入力文書手段及び前記出力文書手段を特定し、特定された前記入力文書手段及び前記出力文書手段を生成して制御を行う利用者文書手段と、を備えたこと特徴とする。 According to a fourth aspect of the present invention, in an image forming apparatus provided with a plurality of input means for inputting document information and output means for outputting document information, the image forming apparatus is associated with each input means to be controlled. plurality generates document information converted into a predetermined format, an input document means making it possible to manage, for the input document information in which the input document means manages, inputs for managing information for each page For each page managed by the page means, the input page means generates and manages input frame information that defines the layout of the page, and for each page managed by the input page means, the input layout means An input image to be applied to the page is generated from the input processed input document according to the input frame information managed by the It is possible to acquire user images for each area that can constitute one page from the number of input image means that can be managed and the input image managed by the input image means, and to manage a plurality of the acquired user images Generating and managing a plurality of pieces of document information that are associated with each user image unit and each output unit to be controlled and that are output based on the user image managed by the user image unit Output document means capable of enabling, request information indicating a document processing request received from a user, input document control information indicating whether or not to control the input document means associated with each input means, , and manages correspondence, and output document control information indicating whether to control the output document means associated with each of the output means, when receiving a user or RaKaname determined information, accepted該要 required Identifying the input document means and said output document means controlled from the broadcast and the association, with a, a user document means for generating to control the input document means and said output document means identified It is a feature.

また、請求項5にかかる発明は、文書情報を入力処理する入力手段及び文書情報を出力処理する出力手段を複数備えた文書処理プログラムにおいて、制御する対象となる前記入力手段毎に対応付けられ、予め定められた形式に変換された文書情報複数個生成、管理を行うことを可能とする入力文書手段と、前記入力文書手段が管理する前記入力文書情報について、ページ毎の情報を管理する入力ページ手段と、前記入力ページ手段が管理するページ毎に、当該ページのレイアウトを定める入力枠情報を生成し、管理する入力レイアウト手段と、前記入力ページ手段が管理するページ毎に、前記入力レイアウト手段が管理する前記入力枠情報に従って、当該ページに当てはめられる入力画像を、入力処理された入力文書から生成し、当該入力画像を複数管理可能な入力画像手段と、前記入力画像手段が管理する前記入力画像から、1ページを構成することが可能な領域毎の利用者画像を取得し、取得した前記利用者画像を複数管理可能な利用者画像手段と、制御する対象となる前記出力手段毎に対応付けられ、前記利用者画像手段が管理する利用者画像に基づいて出力処理される文書情報複数個生成、管理を行うことを可能とする出力文書手段と、利用者から受け付ける文書処理の要求を示した要求情報と、前記入力手段毎に対応付けられた前記入力文書手段を制御するか否かを示す入力文書制御情報と、前記出力手段毎に対応付けられた前記出力文書手段を制御するか否かを示す出力文書制御情報と、を対応付けて管理して、利用者から要求情報を受け付けた場合、受け付けた該要求情報と該対応付けから制御する前記入力文書手段及び前記出力文書手段を特定し、特定された前記入力文書手段及び前記出力文書手段を生成して制御を行う利用者文書手段と、を備えたこと特徴とする。 The invention according to claim 5 is associated with each input means to be controlled in a document processing program comprising a plurality of input means for inputting document information and output means for outputting document information. plurality generates document information converted into a predetermined format, an input document means making it possible to manage, for the input document information in which the input document means manages, inputs for managing information for each page For each page managed by the page means, the input page means generates and manages input frame information that defines the layout of the page, and for each page managed by the input page means, the input layout means An input image applied to the page is generated from the input processed input document according to the input frame information managed by the A user image for each area that can constitute one page is acquired from an input image means capable of managing a plurality of images and the input image managed by the input image means, and a plurality of the acquired user images are acquired. A plurality of document information that is associated with each manageable user image means and each output means to be controlled and that is output based on the user image managed by the user image means is generated and managed. Output document means that can be performed , request information that indicates a request for document processing received from a user, and input document control that indicates whether or not to control the input document means associated with each input means If information and, and manages correspondence, and output document control information indicating whether to control the output document means associated with each of said output means, accepting the user or RaKaname determined information, Accepted Identifying the input document means and said output document means for controlling the request information and the said association, the user document means for generating to control the identified said input document means and said output document means, It is characterized by having.

請求項1にかかる発明によれば、異なる入力手段から入力処理された場合でも予め定めた形式に変換するため加工処理などを共通化できるとともに、文書処理の要求情報、入力文書手段情報及び出力文書手段情報を対応付けているため、利用者からどのような文書処理の要求を受け付けた場合でも、対応関係から文書処理に用いる入力文書手段及び出力文書手段を特定することができるため、利用者に対して文書処理を容易に設定できるインターフェースを提供することができるという効果を奏する。また、入力文書情報として入力ページ毎に入力枠情報により分割された入力画像毎に処理が可能なので、加工処理が容易になるという効果を奏する。 According to the first aspect of the present invention, even when input processing is performed from different input means, it is possible to share a processing process for conversion into a predetermined format, document processing request information, input document means information, and output document. Since the means information is associated, the input document means and the output document means used for document processing can be specified from the correspondence relationship regardless of what kind of document processing request is received from the user. On the other hand, it is possible to provide an interface capable of easily setting document processing. Further, since the input document information can be processed for each input image divided by the input frame information for each input page, there is an effect that the processing process becomes easy.

また、請求項2にかかる発明によれば、入力媒体毎に異なる入力紙文書手段、入力電子文書手段、通信入力手段を備えて、利用者の要求に応じてこれらが制御されることで入力媒体に適した入力処理を可能にするという効果を奏する。   According to the invention according to claim 2, the input medium is provided with different input paper document means, input electronic document means, and communication input means for each input medium, and these are controlled according to the user's request so that the input medium This makes it possible to perform input processing suitable for the above.

また、請求項3にかかる発明によれば、出力媒体毎に異なる出力紙文書手段、出力電子文書手段、通信出力手段を備えて、利用者の要求に応じてこれらが制御されることで出力媒体に適した出力処理を可能にするという効果を奏する。   According to the invention of claim 3, output paper document means, output electronic document means, and communication output means that are different for each output medium are provided, and these are controlled according to the user's request, so that the output medium It is possible to perform output processing suitable for the above.

また、請求項4にかかる発明によれば、異なる入力手段から入力処理された場合でも予め定めた形式に変換するため加工処理などを共通化できるとともに、文書処理の要求情報、入力文書手段情報及び出力文書手段情報を対応付けているため、利用者からどのような文書処理の要求を受け付けた場合でも、対応関係から文書処理に用いる入力文書手段及び出力文書手段を特定することができるため、利用者に対して文書処理を容易に設定できるインターフェースを提供することができるという効果を奏する。また、入力文書情報として入力ページ毎に入力枠情報により分割された入力画像毎に処理が可能なので、加工処理が容易になるという効果を奏する。 In addition, according to the invention of claim 4, even when input processing is performed from different input means, it is possible to share a processing process or the like for conversion into a predetermined format, document processing request information, input document means information, and Since the output document means information is associated, the input document means and the output document means used for document processing can be specified from the correspondence relationship regardless of what kind of document processing request is received from the user. It is possible to provide an interface capable of easily setting document processing for a person. Further, since the input document information can be processed for each input image divided by the input frame information for each input page, there is an effect that the processing process becomes easy.

また、請求項5にかかる発明によれば、異なる入力手段から入力処理された場合でも予め定めた形式に変換するため加工処理などを共通化できるとともに、文書処理の要求情報、入力文書手段情報及び出力文書手段情報を対応付けているため、利用者からどのような文書処理の要求を受け付けた場合でも、対応関係から文書処理に用いる入力文書手段及び出力文書手段を特定することができるため、利用者に対して文書処理を容易に設定できるインターフェースを提供することができるという効果を奏する。また、入力文書情報として入力ページ毎に入力枠情報により分割された入力画像毎に処理が可能なので、加工処理が容易になるという効果を奏する。 According to the fifth aspect of the present invention, even when input processing is performed from different input means, the processing can be made common in order to convert to a predetermined format, and document processing request information, input document means information, and Since the output document means information is associated, the input document means and the output document means used for document processing can be specified from the correspondence relationship regardless of what kind of document processing request is received from the user. It is possible to provide an interface capable of easily setting document processing for a person. Further, since the input document information can be processed for each input image divided by the input frame information for each input page, there is an effect that the processing process becomes easy.

以下に添付図面を参照して、この発明にかかる文書処理装置、画像形成装置及び文書処理プログラムの最良な実施の形態を詳細に説明する。なお、本実施の形態では、この発明を画像形成装置に適用した場合について説明するが、本発明はこれに限らず、複数の入出力部から入出力した文書に対して加工処理を行う各種装置に適用することができる。   Exemplary embodiments of a document processing apparatus, an image forming apparatus, and a document processing program according to the present invention are explained in detail below with reference to the accompanying drawings. In this embodiment, the case where the present invention is applied to an image forming apparatus will be described. However, the present invention is not limited to this, and various apparatuses that perform processing on documents input / output from a plurality of input / output units. Can be applied to.

(第1の実施の形態)
まず、本発明の第1の実施の形態に係る画像形成装置(以下「複合機」と言う)1の概要について図1、図2、図3、図4、図21及び図22を用いて説明する。図1は、本実施の形態に係る複合機1を取り巻くネットワーク環境を説明するためのネットワーク図であり、図2は、図1に示した複合機1のハードウェア構成を示すブロック図であり、図3は、図1に示した複合機1のソフトウェアとハードウェアの関係を説明するための概念図である。図4は、複合機1の操作パネル400の一例を示した図である。そして図21は、複合機に搭載されるソフトウェア構成の変遷を説明するための説明図であり、図22は、従来の複合機のソフトウェアとハードウェアの関係を説明するための説明図である。
(First embodiment)
First, an outline of an image forming apparatus (hereinafter referred to as “multifunction machine”) 1 according to a first embodiment of the present invention will be described with reference to FIGS. 1, 2, 3, 4, 21, and 22. FIG. To do. FIG. 1 is a network diagram for explaining a network environment surrounding the MFP 1 according to the present embodiment, and FIG. 2 is a block diagram showing a hardware configuration of the MFP 1 shown in FIG. FIG. 3 is a conceptual diagram for explaining the relationship between software and hardware of the multi-function device 1 shown in FIG. FIG. 4 is a diagram illustrating an example of the operation panel 400 of the multifunction machine 1. FIG. 21 is an explanatory diagram for explaining the transition of the software configuration installed in the multifunction peripheral, and FIG. 22 is an explanatory diagram for explaining the relationship between software and hardware of the conventional multifunction peripheral.

図1に示すように、近年のネットワーク化の進展により、オフィスなどに設けられたPC(Personal Computer)などの機器は、LAN(Local Area Network)などのネットワークに接続され、相互に通信することが通常となった。たとえば、本図に示したように、かかるネットワークには、クライアントPC、SMTP(Simple Mail Transfer Protocol)サーバ、FTP(File Transfer Protocol)サーバ、サーバPCなどが接続され、電子メールの送受信やファイル転送をすることができ、モデム接続された配信サーバは、オフィス外のファックス装置と通信することができる。   As shown in FIG. 1, devices such as a PC (Personal Computer) provided in an office or the like are connected to a network such as a LAN (Local Area Network) and can communicate with each other due to recent progress in networking. It became normal. For example, as shown in the figure, a client PC, an SMTP (Simple Mail Transfer Protocol) server, an FTP (File Transfer Protocol) server, a server PC, etc. are connected to such a network to send and receive e-mails and transfer files. The modem-connected delivery server can communicate with a fax machine outside the office.

このようなネットワーク化の進展に伴い、複合機1もかかるネットワークに接続され、PC等の機器と相互に通信することが可能となり、ハードディスク等の記憶装置を内蔵することで、いわゆるネットワーク複合機へと進化し、ユーザの様々なニーズに応えることができるようになった。   With the progress of such networking, the multifunction device 1 is also connected to such a network and can communicate with a device such as a PC. By incorporating a storage device such as a hard disk, a so-called network multifunction device can be obtained. It has evolved to meet various user needs.

具体的には、複合機1は、通常のコピー機能に加えて、クライアントPCからの印刷要求により文書データ等を印刷するプリンタ機能、クライアントPCからのファックス要求により文書データ等をサーバPCに接続されたモデムを経由して他のオフィスのファックス機器に送信するファックス機能、受信したファックス文書やコピー文書を内蔵したハードディスクに蓄積する蓄積機能などを有している。このような多くの機能を実現するために、従来からの複合機に搭載されるソフトウェアは規模が大きくなり、かつ複雑なものとなる。それにともない、それらのソフトウェアの開発と維持管理のための工数も大幅に増大している。そこで本実施の形態にかかる複合機1に搭載されるソフトウェアでは、開発と維持管理のための工数を減少させる。なお、複合機1に搭載されるソフトウェアの構成については後述する。   Specifically, in addition to the normal copy function, the multi function device 1 is connected to the server PC by a printer function for printing document data and the like by a print request from the client PC, and by a fax request from the client PC. A fax function for transmitting to a fax machine in another office via a modem, and a storage function for storing a received fax document or a copy document in a built-in hard disk. In order to realize such many functions, the software installed in the conventional multi-function machine becomes large and complicated. Along with this, the man-hours for developing and maintaining such software have increased significantly. Therefore, the software installed in the multifunction machine 1 according to the present embodiment reduces the man-hours for development and maintenance. The configuration of software installed in the multifunction machine 1 will be described later.

図2は、かかる複合機1のハードウェア構成を示すブロック図である。本図に示すように、この複合機1は、コントローラ10とエンジン部(Engine)60とをPCI(Peripheral Component Interconnect)バスで接続した構成となる。コントローラ10は、複合機1全体の制御と描画、通信、操作部20からの入力を制御するコントローラである。エンジン部60は、PCIバスに接続可能なプリンタエンジンなどであり、たとえば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタ、スキャナまたはファックスユニットなどである。なお、このエンジン部60には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ文書データなどの画像処理部分が含まれる。   FIG. 2 is a block diagram illustrating a hardware configuration of the multifunction machine 1. As shown in the figure, the multi-function device 1 has a configuration in which a controller 10 and an engine unit (Engine) 60 are connected by a PCI (Peripheral Component Interconnect) bus. The controller 10 is a controller that controls the entire MFP 1 and controls drawing, communication, and input from the operation unit 20. The engine unit 60 is a printer engine that can be connected to a PCI bus, and is, for example, a monochrome plotter, a one-drum color plotter, a four-drum color plotter, a scanner, or a fax unit. The engine unit 60 includes an image processing part such as error diffusion and gamma document data in addition to a so-called engine part such as a plotter.

コントローラ10は、CPU11と、ノースブリッジ(NB)13と、システムメモリ(MEM−P)12と、サウスブリッジ(SB)14と、ローカルメモリ(MEM−C)17と、ASIC(Application Specific Integrated Circuit)16と、ハードディスクドライブ(HDD)18とを有し、ノースブリッジ(NB)13とASIC16との間をAGP(Accelerated Graphics Port)バス15で接続した構成となる。また、MEM−P12は、ROM(Read Only Memory)12aと、RAM(Random Access Memory)12bとをさらに有する。   The controller 10 includes a CPU 11, a north bridge (NB) 13, a system memory (MEM-P) 12, a south bridge (SB) 14, a local memory (MEM-C) 17, and an ASIC (Application Specific Integrated Circuit). 16 and a hard disk drive (HDD) 18, and the north bridge (NB) 13 and the ASIC 16 are connected by an AGP (Accelerated Graphics Port) bus 15. The MEM-P 12 further includes a ROM (Read Only Memory) 12a and a RAM (Random Access Memory) 12b.

CPU11は、複合機1の全体制御を行うものであり、NB13、MEM−P12及びSB14からなるチップセットを有し、このチップセットを介して他の機器と接続される。   The CPU 11 performs overall control of the multifunction machine 1 and includes a chip set including the NB 13, the MEM-P 12, and the SB 14, and is connected to other devices via the chip set.

NB13は、CPU11とMEM−P12、SB14、AGP15とを接続するためのブリッジであり、MEM−P12に対する読み書きなどを制御するメモリコントローラと、PCIマスタ及びAGPターゲットとを有する。   The NB 13 is a bridge for connecting the CPU 11 to the MEM-P 12, SB 14, and AGP 15, and includes a memory controller that controls reading and writing to the MEM-P 12, a PCI master, and an AGP target.

MEM−P12は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いるシステムメモリであり、ROM12aとRAM12bとからなる。ROM12aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM12bは、プログラムやデータの展開用メモリ、プリンタの描画用メモリなどとして用いる書き込み及び読み出し可能なメモリである。   The MEM-P 12 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a memory for drawing a printer, and the like, and includes a ROM 12a and a RAM 12b. The ROM 12a is a read-only memory used as a program / data storage memory, and the RAM 12b is a writable / readable memory used as a program / data development memory, a printer drawing memory, or the like.

SB14は、NB13とPCIデバイス、周辺デバイスとを接続するためのブリッジである。このSB14は、PCIバスを介してNB13と接続されており、このPCIバスには、ネットワークインターフェース(I/F)部なども接続される。   The SB 14 is a bridge for connecting the NB 13 to a PCI device and peripheral devices. The SB 14 is connected to the NB 13 via a PCI bus, and a network interface (I / F) unit and the like are also connected to the PCI bus.

ASIC16は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGP15、PCIバス、HDD18及びMEM−C17をそれぞれ接続するブリッジの役割を有する。このASIC16は、PCIターゲット及びAGPマスタと、ASIC16の中核をなすアービタ(ARB)と、MEM−C17を制御するメモリコントローラと、ハードウェアロジックなどにより画像データの回転などを行う複数のDMAC(Direct Memory Access Controller)と、エンジン部60との間でPCIバスを介したデータ転送を行うPCIユニットとからなる。このASIC16には、PCIバスを介してFCU(Fax Control Unit)30、USB(Universal Serial Bus)40、IEEE1394(the Institute of Electrical and Electronics Engineers 1394)インターフェース50が接続される。   The ASIC 16 is an image processing application IC (Integrated Circuit) having hardware elements for image processing, and has a role of a bridge for connecting the AGP 15, the PCI bus, the HDD 18, and the MEM-C 17. The ASIC 16 includes a PCI target and an AGP master, an arbiter (ARB) that forms the core of the ASIC 16, a memory controller that controls the MEM-C 17, a plurality of DMACs (Direct Memory) that perform rotation of image data by hardware logic and the like. Access Controller) and a PCI unit that transfers data between the engine unit 60 via the PCI bus. An FCU (Fax Control Unit) 30, a USB (Universal Serial Bus) 40, and an IEEE 1394 (the Institute of Electrical and Electronics Engineers 1394) interface 50 are connected to the ASIC 16 via a PCI bus.

MEM−C17は、コピー用画像バッファ、符号バッファとして用いるローカルメモリであり、HDD(Hard Disk Drive)18は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うためのストレージである。   The MEM-C 17 is a local memory used as an image buffer for copying and a code buffer, and an HDD (Hard Disk Drive) 18 is a storage for storing image data, programs, font data, and forms. It is.

AGP15は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースであり、MEM−P12に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にするものである。   The AGP 15 is a bus interface for a graphics accelerator card proposed for speeding up graphics processing. The AGP 15 speeds up the graphics accelerator card by directly accessing the MEM-P 12 with high throughput. .

図3は、かかる複合機1のハードウェア及びソフトウェアの構成を示した概念図であり、具体的には、後述する本実施の形態の特徴部分であるドキュメントハンドリング部212を含む統合アプリケーション110と、ソフトウェア100及びハードウェア150の階層関係を示している。本図に示すように、ハードウェア150は、ハードウェアリソース151を有し、このハードウェアリソース151は、スキャナ151a、プロッタ151b、HDD(Hard Disk Drive)151c、ネットワーク151d及びその他のリソース151eを有する。なお、その他のリソース151eは、151a〜151d以外のハードウェアリソース151のことであり、たとえば、操作パネルなどの入出力デバイスを示す。   FIG. 3 is a conceptual diagram showing the hardware and software configurations of the multifunction device 1, and specifically, an integrated application 110 including a document handling unit 212, which is a characteristic part of the present embodiment to be described later, A hierarchical relationship between the software 100 and the hardware 150 is shown. As shown in the figure, the hardware 150 includes a hardware resource 151, and the hardware resource 151 includes a scanner 151a, a plotter 151b, an HDD (Hard Disk Drive) 151c, a network 151d, and other resources 151e. . The other resources 151e are hardware resources 151 other than 151a to 151d, and indicate input / output devices such as an operation panel, for example.

図4は、複合機1の操作パネル400の一例を示した図である。本図に示したように、かかる操作パネル400は、初期設定キー401、コピーキー402、コピーサーバーキー403、プリンタキー404、送信キー405、テンキー406、クリア/ストップキー407、スタートキー408、予熱キー409、リセットキー410、スキャナキー411及び液晶タッチパネル420を有する。このような構成を有する操作パネル400でユーザが所定の操作を行った場合に、統合アプリケーション110に含まれている本実施の形態の特徴である各クラスを実体化したオブジェクトが動作する。   FIG. 4 is a diagram illustrating an example of the operation panel 400 of the multifunction machine 1. As shown in the figure, the operation panel 400 includes an initial setting key 401, a copy key 402, a copy server key 403, a printer key 404, a transmission key 405, a ten key 406, a clear / stop key 407, a start key 408, a preheat. A key 409, a reset key 410, a scanner key 411, and a liquid crystal touch panel 420; When the user performs a predetermined operation on the operation panel 400 having such a configuration, an object that materializes each class, which is a feature of the present embodiment, included in the integrated application 110 operates.

例えば、初期設定キー401をタッチすると、液晶タッチパネル420に初期設定用のメニューが表示され、かかるメニューにおいては、収納される用紙サイズなどを設定することができる。また、コピーをしたい場合にはコピーキー402を、コピー結果を複合機1に蓄積したい場合にはコピーサーバーキー403を、プリンタに係る操作をおこないたい場合には、プリンタキー404を、ファックスや蓄積画像などの送信をしたい場合には送信キー405を、それぞれタッチすると、液晶タッチパネル420に対応したメニューが表示される。   For example, when the initial setting key 401 is touched, a menu for initial setting is displayed on the liquid crystal touch panel 420, and in this menu, a paper size to be stored and the like can be set. Further, when the user wants to make a copy, the copy key 402 is stored. When the copy result is stored in the multifunction device 1, the copy server key 403 is displayed. When the operation related to the printer is performed, the printer key 404 is displayed. When the user wants to transmit an image or the like, touch the transmission key 405 to display a menu corresponding to the liquid crystal touch panel 420.

図3に戻り、かかるハードウェア150に搭載されるソフトウェア100は階層化されており、オペレーティングシステム103の上層にはサービス層102が構築され、このサービス層102の上層にはアプリケーション層101が構築されている。そして、サービス層102は、各ハードウェアリソース(151a〜151e)を制御するドライバーに相当する、スキャナ制御部102a、プロッタ制御部102b、蓄積制御部102c、配信/メール送受信制御部102d、FAX送受信制御部102e、ネットワーク通信制御部102f及びその他の制御部102gを有する。   Returning to FIG. 3, the software 100 mounted on the hardware 150 is hierarchized, and a service layer 102 is constructed above the operating system 103, and an application layer 101 is constructed above the service layer 102. ing. The service layer 102 corresponds to a driver that controls each hardware resource (151a to 151e). The scanner control unit 102a, the plotter control unit 102b, the accumulation control unit 102c, the distribution / mail transmission / reception control unit 102d, and the FAX transmission / reception control. Unit 102e, network communication control unit 102f, and other control unit 102g.

ここで、図3に示したソフトウェア100が、かかる階層構造をとるに至った経緯について、図21及び図22を用いて説明する。図21は、複合機に搭載されるソフトウェア構成の変遷を示す説明図である。図21のサービス層分離前アプリケーション1801に示すように、多機能化した複合機に搭載されるソフトウェアは、コピーアプリケーション、FAXアプリケーション、スキャナアプリケーションなどの機能別に独立したアプリケーションとして作成され、図3に示したオペレーティングシステム103上で動作していた。   Here, how the software 100 shown in FIG. 3 has taken such a hierarchical structure will be described with reference to FIGS. 21 and 22. FIG. 21 is an explanatory diagram showing changes in the software configuration installed in the multifunction peripheral. As shown in the pre-service layer separation application 1801 in FIG. 21, the software installed in the multifunctional multifunction peripheral is created as an independent application for each function such as a copy application, a FAX application, and a scanner application, and is shown in FIG. Operating on the operating system 103.

しかしながら、これらのアプリケーションは、ハードウェアリソースを制御するドライバー(サービス層102)を含んでいたため、各アプリケーションには重複した処理が存在していた。その結果、各アプリケーションの規模は大きなものとなっていた。   However, since these applications include a driver (service layer 102) that controls hardware resources, duplicate processing exists in each application. As a result, the scale of each application has become large.

そこで、図21のサービス層分離後アプリケーション1802に示すように、サービス層分離前アプリケーション1801のサービス層相当部分を括りだしてサービス層102にするとともに、各アプリケーションは、このサービス層102の上層であるアプリケーション層101に構築する構成とした。かかる階層化構成をとることで、各アプリケーションはスリム化され開発労力も軽減された。   Therefore, as shown in an application 1802 after service layer separation in FIG. 21, the service layer 102 of the application 1801 before service layer separation is bundled into the service layer 102, and each application is an upper layer of the service layer 102. The application layer 101 is constructed. By adopting such a hierarchical structure, each application has been streamlined and development effort has been reduced.

しかしながら、複合機のネットワーク化、多機能化がさらに進展するに従って、各アプリケーションに共通処理部分が存在することが問題となってきた。具体的には、アプリケーション層101の各アプリケーション、たとえば、コピーアプリケーションやスキャナアプリケーションなどは、それぞれ、スキャナ制御部102aや蓄積制御部102cといったドライバーと通信を行う処理や、各種機能が取り扱うデータの流れを制御するストリーム制御などの同様な処理を内部に有していた。このように、同様な処理を各アプリケーションが有していると、各アプリケーションの開発規模が大きくなるとともに、サービス層の仕様変更に対する各アプリケーションの改修規模が大きくなることが問題となってきた。   However, as the networking and multifunctional functions of multi-function peripherals have further progressed, it has become a problem that a common processing part exists in each application. Specifically, each application of the application layer 101, for example, a copy application or a scanner application, performs processing for communicating with a driver such as the scanner control unit 102a or the accumulation control unit 102c, and the flow of data handled by various functions. Similar processing such as stream control to be controlled was included inside. As described above, when each application has the same processing, the development scale of each application is increased, and the improvement scale of each application with respect to the specification change of the service layer is increased.

この問題を解決するため、図21の共通ルーチン分離アプリケーション1803に示すように、かかる同様な処理(共通処理部分)を共通ルーチンとして括りだすことも考えられた。しかしながら、かかる共通ルーチンは、各アプリケーションにおいて微妙に異なる処理を共通化しようとするものであるため、共通ルーチン内部の処理は複雑なものとなってしまう。また、たとえば、プリンタアプリケーションなどの新規アプリケーションを追加する場合においては、かかる新規アプリケーションに適応するために、共通ルーチンの改修が必要となる。   In order to solve this problem, as shown in the common routine separation application 1803 in FIG. 21, it is considered that such a similar process (common processing part) is bundled as a common routine. However, since such a common routine is intended to share slightly different processing in each application, the processing inside the common routine becomes complicated. For example, when adding a new application such as a printer application, it is necessary to modify the common routine in order to adapt to the new application.

しかし、共通ルーチンの内部処理は複雑であるため、改修要員が処理を把握することが困難となり、改修規模の増大や、改修ミスによる他のアプリケーションへの影響が懸念された。   However, since the internal processing of the common routine is complicated, it became difficult for repair personnel to grasp the processing, and there were concerns about the increase in the scale of repair and the impact on other applications due to repair mistakes.

そこで、図21のオブジェクト指向アプリケーション1804に示すように、オブジェクト指向による設計手法(オブジェクトモデリング)により、かかる複数のアプリケーションを、統合アプリケーション110に統合することとした。具体的には、各アプリケーションの共通処理部分をオブジェクトモデルとして抽出し、このオブジェクトモデルの集合体から、統合アプリケーション110を構成する。そして、従来のコピー機能やスキャナ機能といった機能は、かかるオブジェクトモデルの協調関係によって実現する。   Therefore, as shown in an object-oriented application 1804 in FIG. 21, such a plurality of applications are integrated into the integrated application 110 by an object-oriented design method (object modeling). Specifically, a common processing part of each application is extracted as an object model, and the integrated application 110 is configured from the collection of object models. The functions such as the conventional copy function and scanner function are realized by the cooperative relationship of the object model.

このような構成をとることにより、たとえばプリンタ機能のような新規機能の追加は、かかるオブジェクトモデルに属するクラスのサブクラス化などにより対処できる。このため、改修部分が明確となり、改修による他の機能への影響を小さくすることができる。また、オブジェクトモデリングによるプログラムは、従来の手続き型プログラムに比べて、処理の把握が容易であるため、改修要員が処理を把握することも容易となり、改修規模の削減や、改修ミスによる他のアプリケーションへの影響を小さくすることができる。   By adopting such a configuration, for example, addition of a new function such as a printer function can be dealt with by subclassing a class belonging to the object model. For this reason, a repair part becomes clear and the influence on other functions by repair can be made small. In addition, the object modeling program is easier to grasp the process than the conventional procedural program, so it is easier for the repair staff to grasp the process, reducing the scale of the repair, and other applications due to mistakes in the repair. The influence on can be reduced.

図22は、図21に示したサービス層分離後アプリケーション1802の段階における従来のアプリケーションの構成と、かかるアプリケーションとサービス層102の各ドライバーの関係を示した説明図である。本図に示すように、アプリケーション層101Aは、コピーアプリケーション121、スキャナアプリケーション122、ファックスアプリケーション123及びプリンタアプリケーション124を有する。   FIG. 22 is an explanatory diagram showing the configuration of a conventional application at the stage of the service layer separated application 1802 shown in FIG. 21 and the relationship between the application and each driver of the service layer 102. As shown in the figure, the application layer 101A includes a copy application 121, a scanner application 122, a fax application 123, and a printer application 124.

たとえば、コピーアプリケーション121は、コピー機能を実現するために、スキャナ制御部102a、プロッタ制御部102b、蓄積制御部102c及びその他の制御部102gとデータの送受信を行う。また、ファックスアプリケーション123は、ファックス機能を実現するために、プロッタ制御部102b、蓄積制御部102c、FAX送受信制御部102e、ネットワーク通信制御部102f及びその他の制御部102gとデータの送受信を行う。このように、アプリケーション層101Aの各アプリケーションとサービス層102の各ドライバー間の通信は、複雑なものとなっていた。   For example, the copy application 121 transmits / receives data to / from the scanner control unit 102a, the plotter control unit 102b, the accumulation control unit 102c, and the other control unit 102g in order to realize the copy function. In addition, the fax application 123 performs data transmission / reception with the plotter control unit 102b, the accumulation control unit 102c, the FAX transmission / reception control unit 102e, the network communication control unit 102f, and the other control unit 102g in order to realize the fax function. As described above, communication between each application in the application layer 101A and each driver in the service layer 102 is complicated.

図3に戻り、上述したオブジェクトモデリングにより、アプリケーション層101に存在した複数のアプリケーションは、統合アプリケーション110に統合されている。そして、各アプリケーションが重複しておこなっていた各ドライバーとの通信処理は、統合アプリケーション110を構成する所定のオブジェクトモデルにおこなわせるように構成したことにより、アプリケーション層101のアプリケーションと、サービス層102の各ドライバー間の通信は、図22と比較して単純になっている。   Returning to FIG. 3, a plurality of applications existing in the application layer 101 are integrated into the integrated application 110 by the object modeling described above. The communication processing with each driver, which has been performed by each application overlappingly, is configured to be performed by a predetermined object model that configures the integrated application 110, so that the application of the application layer 101 and the service layer 102 of Communication between the drivers is simpler than that shown in FIG.

次に、統合アプリケーション110の内部構成について説明する。図5は、統合アプリケーション110の内部構成、及び統合アプリケーション110内における後述する本実施の形態の特徴的部分であるドキュメントハンドリング部212の位置を示す説明図である。本図に示すように、統合アプリケーション110は、操作系サブシステム201と、管理系サブシステム202と、実行系サブシステム203とを有する。   Next, the internal configuration of the integrated application 110 will be described. FIG. 5 is an explanatory diagram showing the internal configuration of the integrated application 110 and the position of the document handling unit 212 which is a characteristic part of the present embodiment to be described later in the integrated application 110. As shown in this figure, the integrated application 110 includes an operation system subsystem 201, a management system subsystem 202, and an execution system subsystem 203.

操作系サブシステム201は、マンマシンインタフェースを担当するソフトウェア群である。具体的には、この操作系サブシステム201は、ユーザの要求を受け付ける処理と、この要求の実行を指示する処理と、この要求の実行状況と実行結果についての情報をユーザに提供する処理を行う。   The operation subsystem 201 is a software group in charge of man-machine interface. Specifically, the operational subsystem 201 performs processing for accepting a user request, processing for instructing execution of the request, and processing for providing the user with information about the execution status and execution result of the request. .

管理系サブシステム202は、複合機1の資源を管理するソフトウェア群である。具体的には、この管理系サブシステム202は、ハードウェアリソース151及びこのハードウェアリソース151が保持するデータ状態を管理するサービスを行う。   The management subsystem 202 is a software group that manages the resources of the multifunction machine 1. Specifically, the management subsystem 202 performs a service for managing the hardware resource 151 and the data state held by the hardware resource 151.

実行系サブシステム203は、ユーザからの要求の実行を担当するソフトウェア群である。例えば実行系サブシステム203は、コピー要求がなされた場合、原稿の読み取りから成果物の出力までの処理を行う。   The execution subsystem 203 is a software group in charge of executing a request from a user. For example, when a copy request is made, the execution subsystem 203 performs processing from reading a document to outputting a product.

操作系サブシステム201、管理系サブシステム202及び実行系サブシステム203は、必要に応じて相互に処理を依頼してその結果を送り合う。このようにそれぞれのサブシステムが協調し合って、統合アプリケーション110全体として複合機1に必要とされるサービスの提供を行う。   The operation system subsystem 201, the management system subsystem 202, and the execution system subsystem 203 mutually request processing as necessary and send the results. In this way, the subsystems cooperate to provide services required for the multifunction device 1 as the integrated application 110 as a whole.

そして、実行系サブシステム203は、本実施の形態の特徴部分であるドキュメントハンドリング部212、そしてリクエスト管理部211及び実行制御部213を有する。このドキュメントハンドリング部212は、リクエスト管理部211からの文書データの処理の要求を受け付け、実行制御部213に対してスキャナ151aの読み取り制御やHDD151c等のローカルストレージからの読み込み制御あるいはプロッタ151bやローカルストレージ等に出力する制御を要求し、入力元や出力先によらず共通する文書データの処理を行う。   The execution subsystem 203 includes a document handling unit 212, a request management unit 211, and an execution control unit 213, which are features of the present embodiment. The document handling unit 212 receives a request for processing of document data from the request management unit 211 and controls the execution control unit 213 to perform reading control of the scanner 151a, read control from a local storage such as the HDD 151c, or the plotter 151b or local storage. Control to output to the user, and processes the common document data regardless of the input source or the output destination.

図6は、図5に示した各サブシステムを、UML(Unified Modeling Language)のクラス図(UMLクラス図)に置き換えた図である。ここで、UMLとは、OMG(Object Management Group)が仕様を策定しているシステムモデリング言語であり、モデリングの成果を記述する記法を定義したものである。このUMLは、オブジェクト指向によるソフトウェアの設計において広く用いられている。   FIG. 6 is a diagram in which each subsystem shown in FIG. 5 is replaced with a UML (Unified Modeling Language) class diagram (UML class diagram). Here, UML is a system modeling language for which specifications are formulated by OMG (Object Management Group), and defines a notation for describing the results of modeling. This UML is widely used in the design of object-oriented software.

図6に示すように、統合アプリケーション110は複数のパッケージを有し、また、この統合アプリケーション110自体もひとつのパッケージとなっている。ここで、パッケージとはUMLモデルの各構成要素(シンボル)をグループ化したものであり、このパッケージは、左上にタブのついたフォルダ型のシンボルで表現される。また、各パッケージを相互に結ぶ直線は、各パッケージ間に処理依頼などの関連があることを示している。   As shown in FIG. 6, the integrated application 110 has a plurality of packages, and the integrated application 110 itself is one package. Here, the package is a grouping of each component (symbol) of the UML model, and this package is represented by a folder-type symbol with a tab on the upper left. A straight line connecting the packages indicates that there is a relationship such as a processing request between the packages.

図6に示したように、統合アプリケーション110は、操作系サブシステム201、管理系サブシステム202及び実行系サブシステム203の3つのパッケージを内部に有するパッケージである。さらに、実行系サブシステム203は、リクエスト管理部211、ドキュメントハンドリング部212及び実行制御部213のパッケージを内部に有するパッケージである。そして、操作系サブシステム201、管理系サブシステム202及び実行系サブシステム203を相互に結ぶ直線は、各パッケージ間にメッセージ送受信などの関連があることを示している。なお、操作系サブシステム201、管理系サブシステム202及び実行系サブシステム203のタブの右端に記された記号は、かかるパッケージがサブシステムであることを示すUMLのシンボルである。   As shown in FIG. 6, the integrated application 110 is a package having three packages of an operation subsystem 201, a management subsystem 202, and an execution subsystem 203 inside. Further, the execution subsystem 203 is a package having therein a package of a request management unit 211, a document handling unit 212, and an execution control unit 213. A straight line connecting the operation subsystem 201, the management subsystem 202, and the execution subsystem 203 indicates that there is a relationship such as message transmission / reception between the packages. A symbol written at the right end of the tabs of the operation subsystem 201, the management subsystem 202, and the execution subsystem 203 is a UML symbol indicating that the package is a subsystem.

そして、本実施の形態の特徴部分であるドキュメントハンドリング部212について詳細に説明する。このドキュメントハンドリング部212は、リクエスト管理部211から文書データを処理するリクエストを受け付けた場合に処理を行う。なお、このドキュメントハンドリング部212は、オブジェクト指向に基づいて設計するにあたって、既存の処理を単純にオブジェクト化せず、機能追加や改修をより一層容易に行うことができるようにオブジェクトモデルを構成した。かかるオブジェクトモデルの構成を導出するまでの経緯について説明する。   The document handling unit 212, which is a characteristic part of the present embodiment, will be described in detail. The document handling unit 212 performs processing when a request for processing document data is received from the request management unit 211. Note that the document handling unit 212 is configured based on an object orientation so that an existing model is not simply converted into an object, and functions can be added or modified more easily. The process until the configuration of such an object model is derived will be described.

従来、複合機においては図22で示したアプリケーション層101に備えられたコピーアプリケーション121等の各々アプリケーションが処理を行っていた。図19は、従来の複合機においてアプリケーション毎に有するジョブの種類を示した説明図である。本図に示すように複合機の機能を実現するために担当するアプリケーションが、必要に応じて入力の際には「読み取り」、「FAX受信」、「印刷」、「蓄積」あるいは「FAX送信」などのジョブを実行していた。このような構成の場合、アプリケーション毎に「読み取り」等のジョブを備えている必要がある。つまり、複合機の機能として入力元あるいは出力先が増加するとアプリケーション毎に機能を拡張する必要があった。そこで、処理を共通化させるが、どのようなクラスの構成を生成すれば入出力及び加工処理を共通化させることができるのか問題となる。   Conventionally, in a multifunction peripheral, each application such as the copy application 121 provided in the application layer 101 shown in FIG. 22 performs processing. FIG. 19 is an explanatory diagram showing the types of jobs for each application in a conventional multifunction machine. As shown in this figure, the application in charge to realize the function of the multifunction device performs “read”, “fax reception”, “print”, “accumulation”, or “fax transmission” when inputting as required. And so on. In such a configuration, a job such as “read” needs to be provided for each application. In other words, when the number of input sources or output destinations increases as a function of the multifunction peripheral, it is necessary to expand the function for each application. Therefore, although the processing is shared, there is a problem of what class configuration is generated so that the input / output and the processing can be shared.

図20は、従来の複合機においてアプリケーション毎に備えられたジョブを入力と出力により分類した説明図である。本図に示すように、アプリケーション毎に実行される機能が異なる場合でも入力あるいは出力に用いられるジョブが共通していることが確認できる。このため、機能毎にアプリケーションを備えるという概念を排除し、加工処理を共通化させて、入力元及び出力先だけ選択させるオブジェクトモデルを構成することとした。   FIG. 20 is an explanatory diagram in which jobs provided for each application in the conventional multifunction peripheral are classified by input and output. As shown in this figure, it can be confirmed that jobs used for input or output are common even when the functions executed for each application are different. For this reason, the concept of providing an application for each function is eliminated, and the object model is configured so that the processing is made common and only the input source and the output destination are selected.

図7は、本実施の形態の特徴部分であるドキュメントハンドリング部212で行われる処理の概念を示した概念図である。本図に示すように、入力処理された文書データの入力元が紙文書、電子文書、FAX受信文書にかかわらず、入力処理された文書データ(以下入力ドキュメントという)から、ページとして構成することが可能な所定のサイズに分割した加工処理の対象となる画像を求め、これら加工処理の対象となる画像で構成される文書データ(以下、ユーザドキュメントという)を生成する。そして、生成されたユーザドキュメントを出力先に応じて整形した文書データ(以下、出力ドキュメントという)を生成して、印刷、保存あるいはFAX送信等の出力を行う。このような構成を備えることで入力元及び出力先について変更あるいは追加される場合、複数備えられたアプリケーション毎にプログラムを修正する必要が無くなり、プログラム開発が容易となる。   FIG. 7 is a conceptual diagram showing the concept of processing performed in the document handling unit 212, which is a characteristic part of the present embodiment. As shown in this figure, regardless of whether the input source of the input processed document data is a paper document, an electronic document, or a FAX received document, it can be configured as a page from the input processed document data (hereinafter referred to as an input document). An image to be processed that is divided into possible predetermined sizes is obtained, and document data (hereinafter referred to as a user document) composed of the images to be processed is generated. Then, document data (hereinafter referred to as an output document) obtained by shaping the generated user document in accordance with the output destination is generated, and output such as printing, saving, or FAX transmission is performed. With such a configuration, when the input source and the output destination are changed or added, it is not necessary to modify the program for each of a plurality of provided applications, and the program development is facilitated.

また、入力元あるいは出力先によらず共通して加工処理を行うためには、予めフォーマットを用意しておき、このフォーマットに入力ドキュメントあるいは出力ドキュメントを当てはめて管理することで、入力元あるいは出力先にかかわらず共通して管理することを可能とし、さらには容易に加工処理を行うことを可能とする。   Also, in order to perform processing in common regardless of the input source or output destination, a format is prepared in advance, and the input document or output document is managed by applying the input document or output document to this format. Regardless of whether or not, it is possible to manage in common, and further, it is possible to easily perform processing.

図8は、本実施の形態において入力ドキュメント及び出力ドキュメントを管理するための構成の概念を示した概念図である。本図で示したように、入力ドキュメント及び出力ドキュメントはページ毎に分割して管理される。そして各ページは画像と、画像の配置を決めるレイアウトで構成されている。つまり、ページとして構成することが可能な所定のサイズに分割した画像を各ページに予め定められたレイアウトに従い順番に当てはめることで入力ドキュメント又は出力ドキュメントとなる。   FIG. 8 is a conceptual diagram showing a concept of a configuration for managing input documents and output documents in the present embodiment. As shown in the figure, the input document and the output document are managed by being divided for each page. Each page is composed of an image and a layout that determines the arrangement of the images. That is, an input document or an output document is obtained by applying an image divided into a predetermined size that can be configured as a page in order according to a predetermined layout on each page.

このような構成とすることで、入力元あるいは出力先によらず共通したフォーマットで文書データを管理することを可能とすると共に、例えば「2 in 1」等の加工処理を容易に行うことが出来る。   With this configuration, document data can be managed in a common format regardless of the input source or output destination, and processing such as “2 in 1” can be easily performed. .

つまり、入力元から入力された入力ドキュメントから、ページ毎(以下、入力ページという)にレイアウト(以下、入力レイアウト)に従って分割された画像(以下、入力画像)を生成する。そして加工する際に、入力画像から加工対象となる画像(以下、ユーザ画像)を生成し、これらユーザ画像を有するユーザドキュメントを生成する。そして、出力する際にはユーザドキュメントが有するユーザ画像から出力画像を作成し、生成された出力画像を出力先に応じた出力レイアウトにページ毎に当てはめて出力ドキュメントを生成する。図9は、本実施の形態に係る文書処理で用いられる入力ドキュメントからユーザドキュメント、そして出力ドキュメントまでの構成の変化を示した説明図である。本図に示すように、入力元によらず入力ドキュメントを、入力ページ、入力レイアウト及び入力画像の組み合わせとして管理し、加工処理を施す際には入力画像から生成されたユーザ画像のみ有するユーザドキュメントとして管理する。ユーザドキュメントが所定サイズに分割されたユーザ画像として有する。これにより、出力ドキュメントとして出力する際に出力レイアウトに従ってユーザ画像より生成された出力画像をユーザの要求に従って柔軟に配置することができる。なお、ユーザ画像から出力画像を生成する際に、出力レイアウトに当てはまるように拡大又は縮小等の処理を行う。   That is, an image (hereinafter referred to as an input image) divided according to a layout (hereinafter referred to as an input layout) for each page (hereinafter referred to as an input page) is generated from an input document input from an input source. When processing, an image to be processed (hereinafter referred to as a user image) is generated from the input image, and a user document having these user images is generated. Then, when outputting, an output image is created from the user image included in the user document, and the generated output image is applied to the output layout corresponding to the output destination for each page to generate the output document. FIG. 9 is an explanatory diagram showing a change in configuration from an input document to a user document and an output document used in the document processing according to the present embodiment. As shown in this figure, an input document is managed as a combination of an input page, an input layout, and an input image regardless of the input source, and a user document having only a user image generated from the input image when performing processing to manage. The user document has a user image divided into a predetermined size. Thereby, when outputting as an output document, the output image produced | generated from the user image according to the output layout can be arrange | positioned flexibly according to a user's request | requirement. When an output image is generated from a user image, processing such as enlargement or reduction is performed so as to apply to the output layout.

上述したオブジェクトモデリングにより、ドキュメントハンドリング部212は、「入力ドキュメントクラス」、「ユーザドキュメントクラス」及び「出力ドキュメントクラス」を有する構成とした。そして、図8で示した構成から「入力ドキュメントクラス」は「入力ページクラス」を、また「出力ドキュメントクラス」は「出力ページクラス」を保持する。さらに「入力ページクラス」は「入力レイアウトクラス」と「入力画像クラス」を保持し、「出力ページクラス」は「出力レイアウトクラス」と「出力画像クラス」を保持する。そして、「ユーザドキュメントクラス」は「ユーザ画像」を保持する。   Through the object modeling described above, the document handling unit 212 is configured to have an “input document class”, a “user document class”, and an “output document class”. Then, from the configuration shown in FIG. 8, “input document class” holds “input page class”, and “output document class” holds “output page class”. Further, “input page class” holds “input layout class” and “input image class”, and “output page class” holds “output layout class” and “output image class”. The “user document class” holds a “user image”.

そして、「入力ドキュメントクラス」は入力元毎にサブクラスが設けられ、「出力ドキュメントクラス」も同様に出力先毎にサブクラスが設けられる。本実施の形態では、入力元としては、スキャナで読み込まれる「紙」ドキュメント、ネットワークを介して入力される「ネット」ドキュメントそしてハードディスク等のローカルストレージに保存されている「LS」ドキュメントとする。そこで、「入力ドキュメントクラス」のサブクラスとして「入力ネットドキュメントクラス」、「入力紙ドキュメントクラス」及び「入力LSドキュメントクラス」が設けられる。そして、出力先も同様に「紙」、「ネット」及び「LS」とし、「出力ドキュメントクラス」のサブクラスとして「出力ネットドキュメントクラス」、「出力紙ドキュメントクラス」及び「出力LSドキュメントクラス」が設けられる。   The “input document class” is provided with a subclass for each input source, and the “output document class” is similarly provided with a subclass for each output destination. In this embodiment, the input source is a “paper” document read by a scanner, a “net” document input via a network, and an “LS” document stored in a local storage such as a hard disk. Therefore, “input net document class”, “input paper document class”, and “input LS document class” are provided as subclasses of “input document class”. Similarly, the output destinations are “paper”, “net”, and “LS”, and “output net document class”, “output paper document class”, and “output LS document class” are provided as subclasses of “output document class”. It is done.

そして、上述したオブジェクトモデリングにより設計されたドキュメントハンドリング部212は、リクエスト管理部211から文書データを処理する旨の要求を受け付けた場合に、入力文書(例えば紙文書、電子文書、FAX受信文書等)を入力処理してから加工処理を行い、出力文書(例えば、紙文書、電子文書あるいはFAX送信文書)を出力処理するまでの処理を行う。これらの処理が行われた後、実行系サブシステム203からサービス層102による制御により、ハードウェアリソース151から出力される。   When the document handling unit 212 designed by the object modeling described above receives a request to process document data from the request management unit 211, an input document (for example, a paper document, an electronic document, a FAX received document, etc.) After the input process is performed, a processing process is performed, and an output document (for example, a paper document, an electronic document, or a FAX transmission document) is output and processed. After these processes are performed, the data is output from the hardware resource 151 under the control of the service layer 102 from the active subsystem 203.

上述したオブジェクトモデリングにより設計されたドキュメントハンドリング部212は、例えば紙文書、電子文書、FAX受信文書等の入力文書から入力処理の対象を選択して、例えば紙文書、電子文書あるいはFAX送信文書等の出力文書から出力処理の対象を選択することになるが、この場合、従来の複合機1を利用していたユーザが、本発明の複合機1を使用する場合にとまどうことになる。そこで、本発明ではユーザが使用することを容易にするインターフェースを提供する。図10は、本実施の形態に係る複合機1の利用者からの要求から入力元及び出力先が決定されるまでの処理の概念を示した概念図である。本図に示すように、利用者が選択した項目に応じて入力元と出力先が定められるような対応関係を保持することで、利用者の要求に応じたインターフェースを提供することができる。   The document handling unit 212 designed by the object modeling described above selects an input processing target from an input document such as a paper document, an electronic document, or a FAX reception document, for example, such as a paper document, an electronic document, or a FAX transmission document. The target of the output process is selected from the output document. In this case, the user who has used the conventional multi-function device 1 is troubled when the multi-function device 1 of the present invention is used. Therefore, the present invention provides an interface that is easy for the user to use. FIG. 10 is a conceptual diagram showing the concept of processing from the request from the user of the multifunction machine 1 according to the present embodiment to the determination of the input source and the output destination. As shown in the figure, by maintaining a correspondence relationship in which an input source and an output destination are determined according to an item selected by the user, an interface according to the user's request can be provided.

図11は、上述したオブジェクトモデリングにより設計されたドキュメントハンドリング部212のクラス構成をUMLのクラスで示した図である。本図に示すように、ドキュメントハンドリング部212は、ドキュメント操作スケジューラクラス1101と、入力ドキュメントクラス1111と、入力ページクラス1112と、入力レイアウトクラス1113と、入力画像クラス1114と、入力ネットドキュメントクラス1115と、入力紙ドキュメントクラス1116と、入力LSドキュメントクラス1117と、ユーザドキュメントクラス1102と、ユーザ画像クラス1103と、出力ドキュメントクラス1121と、出力ページクラス1122と、出力レイアウトクラス1123と、出力画像クラス1124と、出力ネットドキュメントクラス1125と、出力紙ドキュメントクラス1126と、出力LSドキュメントクラス1127と、を備えている。このような構成を備えたことで、入力元あるいは出力先にかかわらず共通した文書処理を行うことを可能とする。   FIG. 11 is a diagram showing the class structure of the document handling unit 212 designed by the above-described object modeling using UML classes. As shown in the figure, the document handling unit 212 includes a document operation scheduler class 1101, an input document class 1111, an input page class 1112, an input layout class 1113, an input image class 1114, and an input net document class 1115. , Input paper document class 1116, input LS document class 1117, user document class 1102, user image class 1103, output document class 1121, output page class 1122, output layout class 1123, and output image class 1124. , Output net document class 1125, output paper document class 1126, and output LS document class 1127. With such a configuration, it is possible to perform common document processing regardless of the input source or the output destination.

各クラスを示す矩形は3段の区画を有し、上から、クラス名を示す名前区画、クラスが有するデータ(属性)を示す属性区画及びクラスが有する処理(操作)を示す操作区画と呼ばれる。たとえば、入力ドキュメントクラス1111を示す矩形の名前区画は、かかるクラスのクラス名が「入力ドキュメント」であることを示し、属性区画は、かかるクラスが有する属性が、「ページ数」であることを示し、操作区画は、かかるクラスが有する操作が、「入力開始()」、「ページ追加()」、「終了通知()」であることを示している。   A rectangle indicating each class has three sections, and from the top are called a name section indicating a class name, an attribute section indicating data (attribute) included in the class, and an operation section indicating processing (operation) included in the class. For example, a rectangular name section indicating the input document class 1111 indicates that the class name of the class is “input document”, and an attribute section indicates that the attribute of the class is “number of pages”. The operation section indicates that the operations of the class are “input start ()”, “page addition ()”, and “end notification ()”.

このように、各クラスは、データ(属性)を所持するための属性区画と、かかる属性の書き込み及び読み出しを行う処理(操作)を所持するための操作区画とを有している。これらのクラスは、プログラム(統合アプリケーション110)の一部として含まれるので、あらかじめROM12aに格納されたこのプログラムが実行されると、各クラスはRAM12bの所定領域に実体化され、属性区画に含まれる各データ(属性)がRAM12b上に展開される。したがって、クラスを実体化したオブジェクトは、RAM12b上の各データ(属性)の書き込み及び読み出しをすることが可能となる。   Thus, each class has an attribute section for possessing data (attribute) and an operation section for possessing processing (operation) for writing and reading such an attribute. Since these classes are included as a part of the program (integrated application 110), when this program stored in the ROM 12a in advance is executed, each class is materialized in a predetermined area of the RAM 12b and included in the attribute section. Each data (attribute) is expanded on the RAM 12b. Therefore, the object that materializes the class can write and read each data (attribute) on the RAM 12b.

なお、属性や操作といったクラスの要素の左側に「−」記号を付した場合は、かかる要素は外部のクラスには非公開であることを示し、「+」記号を付した場合は、かかる要素は外部のクラスに公開されていることを示す。また、操作については「入力開始()」のように「()」記号を付することが通例であり、「(引数1,引数2)」のように、かかる操作に引き渡す引数を記述する場合もある。   In addition, if a "-" symbol is attached to the left side of a class element such as attribute or operation, this indicates that the element is private to external classes, and if a "+" symbol is attached, this element Indicates that it is open to external classes. Also, for operations, it is customary to add a “()” symbol, such as “input start ()”, and when describing an argument to be passed to the operation, such as “(argument 1, argument 2)” There is also.

次に、図11に示した本実施の形態の特徴部分であるドキュメントハンドリング部212が備える各クラスについて説明する。   Next, each class included in the document handling unit 212 that is a characteristic part of the present embodiment illustrated in FIG. 11 will be described.

ドキュメント操作スケジューラクラス1101は、リクエスト管理部211から受け付けたリクエストに対応した文書処理を行うためにドキュメントの管理及び操作するクラスであり、リクエストに応じたユーザドキュメントクラス1102のサブクラスのオブジェクトを生成する。具体的にはドキュメント操作スケジューラクラス1101は、操作として登録()1101aを有する。また、ドキュメント操作スケジューラクラス1101は、リクエスト管理部211からリクエストされた文書処理のスケジューリングを行う。   The document operation scheduler class 1101 is a class for managing and manipulating documents in order to perform document processing corresponding to the request received from the request management unit 211, and generates a subclass object of the user document class 1102 according to the request. Specifically, the document operation scheduler class 1101 has a registration () 1101a as an operation. The document operation scheduler class 1101 schedules document processing requested from the request management unit 211.

登録()1101aは、リクエスト管理部211から文書処理の要求を受け付け、受け付けた要求に応じたユーザドキュメントクラス1102のオブジェクトを生成する。また、登録()1101aの引数として受け渡された情報には、ユーザが文書処理に対して設定した情報が含まれる。   The registration () 1101a receives a document processing request from the request management unit 211, and generates an object of the user document class 1102 corresponding to the received request. The information passed as an argument of the registration () 1101a includes information set by the user for document processing.

ユーザドキュメントクラス1102は、入力文書を入力処理してから加工処理を行い、出力先に出力文書(例えば、紙文書、電子文書あるいはFAX送信文書)を出力するまでの工程を管理するクラスである。さらに、ユーザドキュメントクラス1102は、ユーザが複合機1を使用する際に設定した情報からユーザの要求を実現するための仕様を導出し、導出した仕様を満たすように入力ドキュメントクラス1111や出力ドキュメントクラス1121に開始等を指示して制御を行うクラスとする。具体的にはユーザドキュメントクラス1102は、属性としてユーザ要求1102a、入力ドキュメントの種類1102b、出力ドキュメントの種類1102c、入出力のタイミング1102dを有し、操作として開始()1102e、終了通知()1102fを有する。また、ユーザドキュメントクラス1102のサブクラスは、文書処理が終了した後に、入力ドキュメントクラス1111のサブクラス及び出力ドキュメントクラス1121のサブクラスのオブジェクトを削除する。なお、ユーザ要求1102aと、入力ドキュメントの種類1102bと出力ドキュメントの種類1102cの対応関係は、本発明の要求情報と入力紙文書手段を制御するか否かと入力電子文書手段を制御するか否かと入力通信文書手段を制御するか否かと出力紙文書手段を制御するか否かと出力電子文書手段を制御するか否かと出力通信文書手段を制御するか否かとの対応付けに相当する。   The user document class 1102 is a class for managing processes from input processing of an input document to processing, and output of an output document (for example, a paper document, an electronic document, or a FAX transmission document) to an output destination. Further, the user document class 1102 derives specifications for realizing the user's request from information set when the user uses the multifunction device 1, and the input document class 1111 and the output document class so as to satisfy the derived specifications. Let 1121 be a class that performs control by instructing start or the like. More specifically, the user document class 1102 has user request 1102a, input document type 1102b, output document type 1102c, and input / output timing 1102d as attributes, and a start () 1102 e and end notification () 1102 f as operations. Have. Also, the subclass of the user document class 1102 deletes the objects of the subclass of the input document class 1111 and the subclass of the output document class 1121 after the document processing is completed. It should be noted that the correspondence between the user request 1102a, the input document type 1102b, and the output document type 1102c is input as to whether the request information of the present invention is to be controlled and whether to control the input paper document means. This corresponds to the correspondence between whether to control the communication document means, whether to control the output paper document means, whether to control the output electronic document means, and whether to control the output communication document means.

ユーザ要求1102aは、利用者の操作パネル400やネットワークを介して接続されたPC等から入力した文書処理要求である。そして、ユーザドキュメントクラス1102は、このユーザ要求1102aと、この文書処理要求に用いられる入力ドキュメントクラス1111のサブクラスの種類を示す入力ドキュメントの種類1102b、この文書処理要求に用いられる出力ドキュメントクラス1121のサブクラスの種類を示す出力ドキュメントの種類1102cを対応付けて保持する。この入力ドキュメントの種類1102b及び出力ドキュメントの種類1102cで特定された入力ドキュメントクラス1111のサブクラス及び出力ドキュメントクラス1121のサブクラスをユーザドキュメントオブジェクト1102Aが制御することになる。つまり、この入力ドキュメントの種類1102bは換言すれば入力文書制御情報に相当し、出力ドキュメントの種類1102cは換言すれば出力文書制御情報に相当する。   The user request 1102a is a document processing request input from a user operation panel 400 or a PC connected via a network. The user document class 1102 includes the user request 1102a, the input document type 1102b indicating the type of the subclass of the input document class 1111 used for the document processing request, and the subclass of the output document class 1121 used for the document processing request. An output document type 1102c indicating the type of the document is stored in association with each other. The user document object 1102A controls the subclass of the input document class 1111 and the subclass of the output document class 1121 specified by the input document type 1102b and the output document type 1102c. That is, the input document type 1102b corresponds to input document control information in other words, and the output document type 1102c corresponds to output document control information in other words.

図12は、本実施の形態のユーザドキュメントクラス1102が保持するユーザ要求1102a、入力ドキュメントの種類1102b、出力ドキュメントの種類1102cの対応付けの一例を示した図である。本図の「入力」の「紙」が入力紙ドキュメント1116を、「LS」が入力LSドキュメントクラス1117を、「ネット」が入力ネットドキュメントクラス1115を示している。また本図の「出力」の「紙」が出力紙ドキュメント1126を、「LS」が出力LSドキュメントクラス1127を、「ネット」が出力ネットドキュメントクラス1125を示している。本図に示すように、ユーザドキュメントオブジェクト1102Aが受け付けたユーザ要求に基づいて文書処理に用いられる入力ドキュメントクラス1111のサブクラス及び出力ドキュメントクラス1121のサブクラスが決定される。また、本図の「入力」の「紙」、「LS」、「ネット」は、換言すると入力紙文書制御情報、入力電子文書制御情報、入力通信文書制御手段に相当する。さらに本図の「出力」の「紙」、「LS」、「ネット」は、換言すると出力紙文書制御情報、出力電子文書制御情報、出力通信文書制御手段に相当する。   FIG. 12 is a diagram showing an example of correspondence between the user request 1102a, the input document type 1102b, and the output document type 1102c held by the user document class 1102 according to this embodiment. In this figure, “input” “paper” indicates the input paper document 1116, “LS” indicates the input LS document class 1117, and “net” indicates the input net document class 1115. Also, “paper” of “output” in this figure indicates the output paper document 1126, “LS” indicates the output LS document class 1127, and “net” indicates the output net document class 1125. As shown in this figure, the subclass of the input document class 1111 and the subclass of the output document class 1121 used for document processing are determined based on the user request received by the user document object 1102A. In addition, “paper”, “LS”, and “net” in “input” in this figure correspond to input paper document control information, input electronic document control information, and input communication document control means. Furthermore, “paper”, “LS”, and “net” in “output” in this figure correspond to output paper document control information, output electronic document control information, and output communication document control means.

図13は、操作パネル400のコピーサーバーキー403を押下した場合に表示される液晶タッチパネル420の画面例を示した図である。本図で示したように液層タッチパネル420には、ローカルストレージに蓄積された文書データが表示されている。この表示されている「文書名」欄1301を押下して、文書データを選択すると、文書データの名称を示す文書名の色が反転する。そして、文書データを選択した状態で、図4で示したプリンタキー404を押下することで指定された印刷条件に従って、選択文書に応じた蓄積画像の印刷出力を可能にする。この場合、ユーザ要求として「蓄積画像の印刷」が選択されることになる。そして、図12で示した対応関係より、入力LSドキュメントクラス1117及び出力紙ドキュメントクラス1126のオブジェクトが生成されることになる。さらに「原稿読み取り」ボタン1302を押下していた場合、ユーザ要求として「紙原稿+蓄積原稿の印刷」が選択されたことになる。これにより入力紙ドキュメントクラス1116、入力LSドキュメントクラス1117及び出力紙ドキュメントクラス1126のオブジェクトが生成されることになる。   FIG. 13 is a diagram showing a screen example of the liquid crystal touch panel 420 displayed when the copy server key 403 on the operation panel 400 is pressed. As shown in the figure, the liquid layer touch panel 420 displays document data stored in the local storage. When the displayed “document name” field 1301 is pressed to select document data, the color of the document name indicating the name of the document data is inverted. When the document data is selected, the printer key 404 shown in FIG. 4 is pressed to print out the stored image corresponding to the selected document according to the designated printing condition. In this case, “print stored image” is selected as a user request. Then, the objects of the input LS document class 1117 and the output paper document class 1126 are generated from the correspondence shown in FIG. When the “original reading” button 1302 is pressed, “paper original + print accumulated original” is selected as a user request. As a result, objects of the input paper document class 1116, the input LS document class 1117, and the output paper document class 1126 are generated.

図14は、操作パネル400のスキャナキー411を押下した場合に表示される液晶タッチパネル420の画面例を示した図である。本図で示された画面が表示されている際に、送信者表示欄1401から送信者を選択して、スキャナ151aで紙文書をセットして、送信キー405を押下することで、ユーザ要求として「紙原稿の送信」が選択されることになる。さらに本図で示された画面が表示されている際に、「蓄積文書」ボタン1402を押下して、蓄積されている文書データ一覧から文書データを選択して、再度この画面に戻ってきてから、送信キー405を押下することで、ユーザ要求として「紙原稿+蓄積原稿の送信」が選択されたことになる。そして、図12で示した対応関係より生成されるオブジェクトが決定される。   FIG. 14 is a diagram illustrating a screen example of the liquid crystal touch panel 420 displayed when the scanner key 411 of the operation panel 400 is pressed. When the screen shown in the figure is displayed, a sender is selected from the sender display field 1401, a paper document is set by the scanner 151a, and a transmission key 405 is pressed, so that a user request is made. “Send paper original” is selected. Further, when the screen shown in this figure is displayed, the “stored document” button 1402 is pressed to select document data from the stored document data list, and after returning to this screen again. By pressing the transmission key 405, “paper original + accumulated original transmission” is selected as a user request. And the object produced | generated from the correspondence shown in FIG. 12 is determined.

図15は、本実施の形態の変形例における液晶タッチパネル420に表示される画面例を示した図である。本図に示された画面例で文書処理の対象として紙原稿か電子原稿を選択して、出力先を選択することで、適したユーザ要求が選択されて文書処理を行うことも可能である。電子原稿を選択した場合は、さらにローカルストレージかネットワーク上かを詳細に設定する画面が表示される。本図で示した画面例では、すでに「電子原稿」と「印刷する」と「保存する」が選択されているため、電子文書の印刷及び保存する処理を行うことになる。また、上述した詳細な設定する画面でローカルストレージ上の電子文書を選択した場合は、ユーザ要求として「蓄積原稿の印刷+複製」が選択されることになる。このように、文書処理を行う際に用いられるインターフェースがどの様なものであっても適切に処理に用いられる入力ドキュメントクラス1111のサブクラス及び出力ドキュメントクラス1121のサブクラスが決定される。   FIG. 15 is a diagram illustrating an example of a screen displayed on the liquid crystal touch panel 420 in a modification of the present embodiment. In the screen example shown in this figure, by selecting a paper document or an electronic document as a document processing target and selecting an output destination, it is possible to select a suitable user request and perform document processing. When an electronic document is selected, a screen for further setting whether to use local storage or network is displayed. In the screen example shown in this figure, since “electronic document”, “print”, and “save” are already selected, processing for printing and saving an electronic document is performed. In addition, when an electronic document on the local storage is selected on the above detailed setting screen, “print stored original + copy” is selected as a user request. In this way, the subclass of the input document class 1111 and the subclass of the output document class 1121 that are appropriately used for processing are determined regardless of the interface used for document processing.

なお、上述した図13、図14、図15で示した例では、どのボタンを押下するとどのユーザ要求が選択されるのかは、予め設定されているものとする。   In the example shown in FIGS. 13, 14, and 15 described above, it is assumed that which user request is selected when a button is pressed is set in advance.

入出力のタイミング1102dは、文書処理を行う際に入力ドキュメントクラス1111のサブクラスに対して入力を開始する旨、または出力ドキュメントクラス1121のサブクラスに対して出力を開始する旨のタイミングを保持する。このタイミングを保持することで、ユーザ要求から1つ又は複数の入力元からの入力処理、または1つ又は複数の出力先への出力処理を可能にする。   The input / output timing 1102d holds timing for starting input to a subclass of the input document class 1111 or starting output to a subclass of the output document class 1121 when document processing is performed. By holding this timing, it is possible to perform input processing from one or more input sources or output processing to one or more output destinations from a user request.

なお、ユーザドキュメントクラス1102の仕様を有するサブクラスを設け、この設けられたサブクラスで上述した属性を保持しても良い。   Note that a subclass having the specification of the user document class 1102 may be provided, and the above-described attributes may be held in the provided subclass.

開始()1102eは、ユーザドキュメントクラス1102が文書処理を開始するためのトリガーを与える処理を行う。そして、ユーザドキュメントオブジェクト1102Aは、上述したユーザ要求1102a、入力ドキュメントの種類1102b、出力ドキュメントの種類1102cの対応関係と、開始()1102eで引数として受け渡されたユーザ要求から、生成する入力ドキュメントクラス1111のサブクラス、出力ドキュメントクラス1121のサブクラスを決定する。   A start () 1102 e performs processing for giving a trigger for the user document class 1102 to start document processing. The user document object 1102A generates the input document class generated from the correspondence between the user request 1102a, the input document type 1102b, and the output document type 1102c described above, and the user request passed as an argument at start () 1102e. A subclass of 1111 and a subclass of the output document class 1121 are determined.

次に、開始()1102eは、この決定に基づいて入力ネットドキュメントオブジェクト1115A、入力紙ドキュメントオブジェクト1116Aあるいは入力LSドキュメントオブジェクト1117Aを生成し、さらに、この決定に基づいて出力ネットドキュメントオブジェクト1125A、出力紙ドキュメントオブジェクト1126Aあるいは出力LSドキュメントオブジェクト1127Aを生成する。そして、開始()1102eは、入出力のタイミング1102dで、入力ドキュメントクラス1111のサブクラスの入力開始()1111bあるいは出力ドキュメントクラス1121のサブクラスの出力開始()1121bを呼び出す。   Next, the start () 1102e generates an input net document object 1115A, an input paper document object 1116A, or an input LS document object 1117A based on this determination, and further, based on this determination, the output net document object 1125A, output paper A document object 1126A or an output LS document object 1127A is generated. The start () 1102 e calls the input start () 1111 b of the subclass of the input document class 1111 or the output start () 1121 b of the subclass of the output document class 1121 at the input / output timing 1102 d.

終了通知()1102fは、ユーザドキュメントクラス1102に対して入力処理又は出力処理が終了した旨を通知する処理を行う。   The end notification () 1102 f performs processing for notifying the user document class 1102 that input processing or output processing has ended.

入力ドキュメントクラス1111は、入力元より入力処理された入力ドキュメントを、入力元によらず共通する予め定めたフォーマット、換言すると入力画像と入力レイアウトで構成される入力ページに当てはめて管理するクラスである。入力元とは、例えばスキャナ、ネットワークを介して接続された機器、FAX受信あるいはローカルストレージ等の入力手段が考えられる。この入力ドキュメントクラス1111は、入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117の上位クラス(スーパークラス)であり、入力ドキュメントクラス1111自体が実体化されることはないが、入力ドキュメントクラス1111の属性及び操作は、下位クラス(サブクラス)である入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117に継承される。具体的には入力ドキュメントクラス1111は、属性としてページ数1111aを、操作として入力開始()1111b、ページ追加()1111c、終了通知()1111dを有する。   The input document class 1111 is a class for managing an input document that has been input from the input source by applying it to a predetermined format common to the input source, in other words, an input page composed of an input image and an input layout. . Examples of the input source include scanners, devices connected via a network, and input means such as FAX reception or local storage. This input document class 1111 is an upper class (super class) of the input net document class 1115, the input paper document class 1116, and the input LS document class 1117, and the input document class 1111 itself is not materialized. The attributes and operations of the document class 1111 are inherited by the input net document class 1115, the input paper document class 1116, and the input LS document class 1117, which are lower classes (subclasses). Specifically, the input document class 1111 has the number of pages 1111a as attributes, input start () 1111b, page addition () 1111c, and end notification () 1111d as operations.

ページ数1111aは、入力処理された入力ドキュメントのページ数を保持する。また、入力ドキュメントクラス1111は、保持されたページ数だけ入力ページオブジェクト1112Aを生成する。   The page number 1111a holds the page number of the input document subjected to the input process. Further, the input document class 1111 generates input page objects 1112A for the number of retained pages.

入力開始()1111bは、入力ドキュメントクラス1111が文書処理を開始するためのトリガーを与える処理を行う。この入力開始()1111bは、サブクラスである入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117に継承され、各サブクラスにおける具体的な処理によりオーバーライド(override)される。なお、かかる具体的な処理の説明については、後述する入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117の説明で行う。   The input start () 1111 b performs processing for giving a trigger for the input document class 1111 to start document processing. This input start () 1111 b is inherited by the input net document class 1115, the input paper document class 1116, and the input LS document class 1117 which are subclasses, and is overridden by specific processing in each subclass. The specific processing will be described in the description of the input net document class 1115, the input paper document class 1116, and the input LS document class 1117 described later.

ページ追加()1111cは、入力ドキュメントクラス1111のサブクラスのオブジェクトが管理する入力ドキュメントに対してページを追加する。例えば、ユーザが次の紙原稿をコンタクトガラス上に配置して読み取りを行うことで、入力ドキュメントクラス1111のサブクラスのオブジェクトが管理する入力ドキュメントにページが追加される場合等に呼び出されることが考えられる。   The page addition () 1111c adds a page to an input document managed by an object of a subclass of the input document class 1111. For example, it may be called when a page is added to an input document managed by an object of a subclass of the input document class 1111 when the user places the next paper document on the contact glass and performs reading. .

終了通知()1111dは、後述する入力ページクラス1112から入力ドキュメントクラス1111にページ毎の処理が終了したことを通知する。   An end notification () 1111 d notifies the input document class 1111 from the input page class 1112 described later that the processing for each page has ended.

入力ネットドキュメントクラス1115は、入力ドキュメントクラス1111のサブクラスであり、接続したネットワークの入力元から取得したドキュメントを入力処理した入力ドキュメントをページ毎に分割し、分割したページ毎に入力ページオブジェクト1112Aを生成し、入力ページオブジェクト1112Aに対して該当するページを管理する旨を指示することで入力ドキュメントを管理するクラスである。   The input net document class 1115 is a subclass of the input document class 1111. The input document obtained by inputting the document acquired from the input source of the connected network is divided for each page, and an input page object 1112A is generated for each divided page. This class manages the input document by instructing the input page object 1112A to manage the corresponding page.

具体的には、この入力ネットドキュメントクラス1115は、入力ドキュメントクラス1111から、属性としてページ数1111aを、操作として入力開始()1111b、ページ追加()1111c、終了通知()1111dを承継する。さらに、入力ネットドキュメントクラス1115は、属性として、ネットワークを介して入力処理を行うために必要な仕様を保持するが、従来から利用されている仕様を保持することとし、図11では省略する。なお、かかる入力ネットドキュメントクラス1115を実体化したオブジェクトが生成されると、属性として保持する入力処理を行うために必要な仕様及びページ数1111aはRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, the input net document class 1115 inherits from the input document class 1111 the page number 1111a as an attribute, input start () 1111b, page addition () 1111c, and end notification () 1111d as operations. Furthermore, the input net document class 1115 holds specifications necessary for performing input processing via the network as attributes, but holds specifications that have been conventionally used, and is omitted in FIG. When an object in which the input net document class 1115 is materialized is generated, the specifications and the number of pages 1111a necessary for performing input processing to be held as attributes are expanded on the RAM 12b. ) Can be written and read.

入力ドキュメントクラス1111から承継した入力開始()1111bは、入力処理を開始するためのトリガーであり、ユーザドキュメントオブジェクト1102Aから呼び出された場合、入力ネットドキュメントクラス1115がネットワークを介してドキュメントを受信し、入力元により異なるフォーマットの入力文書を入力処理し、入力処理した後に入力ドキュメントに変換して管理する制御を行う。なお、入力ドキュメントのフォーマットは、入力元にかかわらず共通したフォーマットとする。   The input start () 1111b inherited from the input document class 1111 is a trigger for starting input processing. When called from the user document object 1102A, the input net document class 1115 receives a document via the network, An input document having a different format depending on the input source is input, and after the input processing is performed, the input document is converted into an input document and managed. The format of the input document is a common format regardless of the input source.

また、入力ネットドキュメントオブジェクト1115Aは、入力開始()1111bによりドキュメントの入力処理を行うためにネットワークを介してドキュメントを受信する際、引数として受け渡された情報よりネットワークを介して入力されるドキュメントを特定し、実行制御部213を介して利用できるFAX送受信制御部102eやネットワーク通信制御部102fを用いてネットワークへ接続してから受信する。   Further, when the input net document object 1115A receives a document via the network in order to perform document input processing by the input start () 1111b, the input net document object 1115A receives a document input via the network from information passed as an argument. It is specified and received after connecting to the network using the FAX transmission / reception control unit 102e or the network communication control unit 102f that can be used via the execution control unit 213.

入力紙ドキュメントクラス1116は、入力ドキュメントクラス1111のサブクラスであり、スキャナ151aより読み込まれた原稿を入力処理した入力ドキュメントをページ毎に分割し、分割したページ毎に入力ページオブジェクト1112Aを生成し、入力ページオブジェクト1112Aに対して該当するページを管理する旨を指示することで入力ドキュメントを管理するクラスである。   The input paper document class 1116 is a subclass of the input document class 1111. The input document obtained by inputting the document read from the scanner 151a is divided into pages, and an input page object 1112A is generated for each divided page. This class manages an input document by instructing the page object 1112A to manage the corresponding page.

具体的には、この入力紙ドキュメントクラス1116は、入力ドキュメントクラス1111から、属性としてページ数1111aを、操作として入力開始()1111b、ページ追加()1111c、終了通知()1111dを承継する。さらに、入力紙ドキュメントクラス1116は、属性として、用紙枚数1116aと、スキャナ151aから原稿を読み取るための設定及び仕様を有し、操作として、次原稿有無確認()1116bを有する。なお、スキャナ151aから原稿を読み取るための設定及び仕様は従来からある設定又は仕様を用いることとし、図11では省略する。なお、かかる入力紙ドキュメントクラス1116を実体化したオブジェクトが生成されると、属性として保持する原稿を読み取るための設定及び仕様及びページ数1111aはRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, the input paper document class 1116 inherits from the input document class 1111 the page number 1111a as an attribute, input start () 1111b, page addition () 1111c, and end notification () 1111d as operations. Further, the input paper document class 1116 has, as attributes, the number of sheets 1116a and settings and specifications for reading an original from the scanner 151a, and has a next original presence confirmation () 1116b as an operation. Note that settings and specifications for reading a document from the scanner 151a are the same as those used in the past, and are omitted in FIG. When an object that materializes the input paper document class 1116 is generated, settings and specifications for reading a document held as attributes and the number of pages 1111a are developed on the RAM 12b. Can be written and read.

用紙枚数1116aは、複合機1に読み取るためにセットされた原稿の枚数を保持する。そして、次原稿有無確認()1116bは、実行制御部213に対して自動原稿送り装置等に対して入力処理する紙文書がセットされているか否か入力を要求することで、次原稿があるか否か確認を行う。   The number of sheets 1116a holds the number of originals set for reading in the multifunction machine 1. Then, the next original presence / absence confirmation () 1116 b requests the execution control unit 213 to input whether or not a paper document to be input to the automatic document feeder is set. Confirm whether or not.

入力ドキュメントクラス1111から承継した入力開始()1111bは、入力処理を開始するためのトリガーであり、ユーザドキュメントオブジェクト1102Aから呼び出された場合、入力紙ドキュメントクラス1116がスキャナ151aで原稿を読み取り、読み取った原稿から入力ドキュメントに変換して管理する制御を行う。   An input start () 1111b inherited from the input document class 1111 is a trigger for starting input processing. When called from the user document object 1102A, the input paper document class 1116 reads and reads a document with the scanner 151a. Control is performed by converting from an original to an input document for management.

また、入力紙ドキュメントクラス1116は、入力開始()1111bによりスキャナ151aで原稿を読み出す際、実行制御部213を介して利用できるスキャナ制御部102aを用いて読み取りを行う。また、入力紙ドキュメントオブジェクト1116Aが紙の表裏に印刷されている原稿を読み取る場合でも、表裏を順番に読み込んだ原稿を入力ドキュメントに変換することになるが、入力ドキュメントに表裏という概念は存在しない。つまり、読み込んだ原稿は、表のみ又は表裏両面の読み込みにかかわらず、読み込まれた順番に入力ページとして割り当てられた入力ドキュメントとなる。これにより媒体の特性あるいはスキャナ151aによる原稿のハンドリングモードの違いにかかわらず共通した様式で入力ドキュメントを保持するため、入力元の違いに応じて異なる加工処理を行わなくてよくなり、加工処理が容易となる。   The input paper document class 1116 reads using the scanner control unit 102a that can be used via the execution control unit 213 when the original is read by the scanner 151a by the input start () 1111b. Even when the input paper document object 1116A reads a manuscript printed on the front and back of the paper, the manuscript read in front and back is converted into the input document, but there is no concept of front and back in the input document. That is, the read original becomes an input document assigned as an input page in the read order, regardless of whether only the front side or both sides are read. As a result, the input document is held in a common format regardless of the characteristics of the medium or the manuscript handling mode of the scanner 151a, so that it is not necessary to perform different processing depending on the difference in the input source, and the processing is easy. It becomes.

入力LSドキュメントクラス1117は、入力ドキュメントクラス1111のサブクラスであり、ハードディスク等のローカルストレージより読み込まれた電子文書を入力処理した入力ドキュメントをページ毎に分割し、分割したページ毎に入力ページオブジェクト1112Aを生成し、入力ページオブジェクト1112Aに対して該当するページを管理する旨を指示することで入力ドキュメントを管理するクラスである。   The input LS document class 1117 is a subclass of the input document class 1111. The input LS document class 1117 divides the input document obtained by inputting the electronic document read from the local storage such as a hard disk into pages, and sets the input page object 1112A for each divided page. It is a class that manages the input document by generating and instructing the input page object 1112A to manage the corresponding page.

具体的には、この入力LSドキュメントクラス1117は、入力ドキュメントクラス1111から、属性として保持するページ数1111aを承継し、操作として入力開始()1111b、ページ追加()1111c、終了通知()1111dを承継する。さらに、入力LSドキュメントクラス1117は、属性として、ローカルストレージから電子文書を読み込むための設定及び仕様を保持するが、従来から用いられている設定及び仕様を保持することとし、図11では省略する。なお、かかる入力LSドキュメントクラス1117を実体化したオブジェクトが生成されると、属性としてページ数1111a、ローカルストレージから電子文書を読み込むための設定及び仕様及びページ数1111aはRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, the input LS document class 1117 inherits the number of pages 1111a held as an attribute from the input document class 1111 and receives input start () 1111b, page addition () 1111c, and end notification () 1111d as operations. Take over. Further, the input LS document class 1117 retains settings and specifications for reading an electronic document from the local storage as attributes, but retains settings and specifications that have been used conventionally, and is omitted in FIG. When an object that materializes the input LS document class 1117 is generated, the page number 1111a as an attribute, the setting and specification for reading an electronic document from the local storage, and the page number 1111a are expanded on the RAM 12b. These data (attributes) can be written and read.

入力ドキュメントクラス1111から承継した入力開始()1111bは、入力処理を開始するためのトリガーであり、ユーザドキュメントオブジェクト1102Aから呼び出された場合に入力LSドキュメントクラス1117にローカルストレージから電子文書を読み込み、読み込んだ電子文書から入力ドキュメントに変換して管理する制御を行う。   An input start () 1111 b inherited from the input document class 1111 is a trigger for starting input processing. When called from the user document object 1102 A, the electronic document is read from the local storage and read into the input LS document class 1117. Control is performed by converting the electronic document into an input document.

また、入力LSドキュメントクラス1117は、入力開始()1111bにより電子文書を読み込む際、実行制御部213を介して利用できる蓄積制御部102cを用いて読み込みを行う。   The input LS document class 1117 reads using the accumulation control unit 102c that can be used via the execution control unit 213 when the electronic document is read by the input start () 1111b.

また、入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117が管理する入力ドキュメントは、入力元にかかわらず共通した入力ページクラス1112、入力レイアウトクラス1113及び入力画像クラス1114等を用いて保持するため、入力元にかかわらず共通した加工処理等を可能とする。次に入力ページクラス1112、入力レイアウトクラス1113及び入力画像クラス1114について説明する。   Further, the input document managed by the input net document class 1115, the input paper document class 1116, and the input LS document class 1117 uses the common input page class 1112, input layout class 1113, input image class 1114, etc. regardless of the input source. Therefore, it is possible to perform common processing regardless of the input source. Next, the input page class 1112, the input layout class 1113, and the input image class 1114 will be described.

入力ページクラス1112は、入力ドキュメントクラス1111で管理する入力ドキュメントより分割された各ページを、入力ページとして管理するクラスである。入力ページクラス1112は、入力レイアウトオブジェクト1113A及び入力画像オブジェクト1114Aを生成し、入力レイアウトに入力画像を当てはめた構成として管理する。   The input page class 1112 is a class for managing each page divided from the input document managed by the input document class 1111 as an input page. The input page class 1112 generates an input layout object 1113A and an input image object 1114A, and manages them as a configuration in which the input image is applied to the input layout.

また、ページ毎の入力レイアウトを設定する際に、例えばスキャナ151aで読み込む原稿を、ユーザが「2 in 1」の集約原稿であると設定した場合、入力レイアウトは入力画像が2枚当てはめられたレイアウトとなり、この条件を満たした入力レイアウトオブジェクト1113Aが生成されることになる。   Further, when setting the input layout for each page, for example, when the user sets a document read by the scanner 151a to be a “2 in 1” consolidated document, the input layout is a layout in which two input images are applied. Thus, an input layout object 1113A that satisfies this condition is generated.

具体的には、この入力ページクラス1112は、属性としてページ番号1112aを有し、操作として入力開始()1112b、終了通知()1112cを有する。なお、かかる入力ページクラス1112を実体化したオブジェクトが生成されると、属性としてページ番号1112aがRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, this input page class 1112 has a page number 1112a as an attribute, and has an input start () 1112 b and an end notification () 1112 c as operations. When an object in which the input page class 1112 is materialized is generated, the page number 1112a is developed as an attribute on the RAM 12b, and it is possible to write and read these data (attributes).

ページ番号1112aは、この入力ページオブジェクト1112Aが管理するページを示す番号を保持する。つまり、入力ドキュメントクラス1111のサブクラスのオブジェクトが保持するページ数1111aだけ入力ページオブジェクト1112Aを生成するので、入力ページオブジェクト1112Aが割り振られたページの番号をページ番号1112aで保持する。   The page number 1112a holds a number indicating a page managed by the input page object 1112A. That is, since the input page object 1112A is generated by the number of pages 1111a held by the subclass object of the input document class 1111, the page number to which the input page object 1112A is allocated is held by the page number 1112a.

入力開始()1112bは、入力ページクラス1112がページ処理を開始するためのトリガーを与える処理を行う。この入力開始()1112bが、入力ネットドキュメントオブジェクト1115A等の入力ドキュメントクラス1111のサブクラスのオブジェクトから呼び出された場合に、引数として受け渡されたページ番号に該当する入力ドキュメント中のページの情報を取得し、取得したページの情報に基づいて入力レイアウトオブジェクト1113A及び入力画像オブジェクト1114Aの生成を開始する。   The input start () 1112 b performs a process for giving a trigger for the input page class 1112 to start page processing. When this input start () 1112b is called from an object of a subclass of the input document class 1111 such as the input net document object 1115A, information on the page in the input document corresponding to the page number passed as an argument is acquired. Then, the generation of the input layout object 1113A and the input image object 1114A is started based on the acquired page information.

また、入力ページクラス1112は、入力開始()1112bが呼び出された場合、入力ドキュメントクラス1111が管理する入力ドキュメントから該当する入力ドキュメント中のページの情報を取得し、生成した入力レイアウトオブジェクト1113A及び入力画像オブジェクト1114Aを用いて入力ページを管理する。   Further, when the input start () 1112 b is called, the input page class 1112 acquires information on the page in the corresponding input document from the input document managed by the input document class 1111, and generates the input layout object 1113 A and the input The input page is managed using the image object 1114A.

終了通知()1112cは、後述する各入力画像オブジェクト1114Aが入力ページクラス1112に画像処理が終了したことを通知する際に呼び出される。この終了通知()1112cが、入力ページクラス1112が生成した全ての入力画像オブジェクト1114Aから呼び出された場合、入力ページクラス1112はページの処理が全て終了したと判断する。   The end notification () 1112 c is called when each input image object 1114 </ b> A described later notifies the input page class 1112 that the image processing has ended. When this end notification () 1112 c is called from all the input image objects 1114 A generated by the input page class 1112, the input page class 1112 determines that the processing of all pages has been completed.

入力レイアウトクラス1113は、入力ページクラス1112で管理する入力ページに後述する入力画像を当てはめるために用いられるレイアウト(以下、入力レイアウトという)を作成して管理するクラスである。具体的には、この入力レイアウトクラス1113は、属性として外枠や内枠あるいはオフセット位置などの情報を有するが、従来から用いられている情報を用いるので図11では省略する。また、入力レイアウトクラス1113は、操作としてレイアウト作成()1113aを有する。なお、かかる入力レイアウトクラス1113を実体化したオブジェクトが生成されると、属性として外枠や内枠あるいはオフセット位置などの情報がRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   The input layout class 1113 is a class for creating and managing a layout (hereinafter referred to as an input layout) used for applying an input image described later to an input page managed by the input page class 1112. Specifically, this input layout class 1113 has information such as an outer frame, an inner frame, or an offset position as an attribute, but is omitted in FIG. The input layout class 1113 includes a layout creation () 1113a as an operation. Note that when an object that materializes the input layout class 1113 is generated, information such as an outer frame, an inner frame, or an offset position is developed on the RAM 12b as attributes, so that these data (attributes) are written and read out. It becomes possible to do.

レイアウト作成()1113aは、入力レイアウトオブジェクト1113Aが入力ページに入力画像を適した位置に配置する入力レイアウトを作成する。このレイアウト作成()1113aが、入力ページオブジェクト1112Aから呼び出された場合、引数として受け渡された情報から、属性としてユーザの要求に応じた外枠や内枠あるいはオフセット位置を設定することで、入力レイアウトが作成される。これにより、入力ページ内の入力画像の数が決定される。つまり、入力ページを入力画像というドキュメントハンドリングの最小単位に分割することが可能となる。   The layout creation () 1113a creates an input layout in which the input layout object 1113A arranges the input image at a suitable position on the input page. When this layout creation () 1113a is called from the input page object 1112A, by setting the outer frame, inner frame or offset position according to the user's request as an attribute from the information passed as an argument, the input A layout is created. Thereby, the number of input images in the input page is determined. That is, the input page can be divided into minimum units of document handling called input images.

入力画像クラス1114は、入力ページに対して入力レイアウトにより定められた配置に当てはまる画像(以下、入力画像という)を管理するクラスである。具体的には、入力画像クラス1114は、上述した入力ドキュメントクラス1111のサブクラスのオブジェクトで生成された入力ドキュメントから入力画像となる範囲の画像の実体を読み込み、保持する。また、入力画像クラス1114は、属性として読み込んだ画像の実体を特定する情報を有し、操作として入力開始()1114aを有する。なお、かかる入力画像クラス1114を実体化したオブジェクトが生成されると、読み込んだ画像の実体を特定する情報がRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   The input image class 1114 is a class for managing an image (hereinafter referred to as an input image) applicable to the arrangement determined by the input layout with respect to the input page. Specifically, the input image class 1114 reads and holds the entity of an image in a range that becomes an input image from an input document generated by an object of a subclass of the input document class 1111 described above. The input image class 1114 has information for specifying the substance of the read image as an attribute, and has an input start () 1114 a as an operation. Note that when an object that materializes the input image class 1114 is generated, information for specifying the substance of the read image is developed on the RAM 12b, so that these data (attributes) may be written and read. It becomes possible.

入力画像は、入力レイアウトに当てはめられる画像をいい、所定のサイズの画像、本実施の形態ではドキュメントハンドリングの最小単位に分割された画像となる。ドキュメントハンドリングの最小単位とは、1ページとして構成することが可能な領域をいい、例えば特殊な設定を行っていない場合であれば1ページ全体の領域が入力画像となり、「2 in 1」に設定されている場合であれば1ページを2つに分割した各領域が入力画像となる。また、入力画像は、単なる画像のみならず、上述した領域に示された文字情報や、図形なども含まれる。   The input image refers to an image applied to the input layout, and is an image of a predetermined size, which is an image divided into minimum units for document handling in this embodiment. The minimum unit of document handling means an area that can be configured as one page. For example, if no special setting is made, the entire area of one page becomes an input image and is set to “2 in 1”. If this is the case, each area obtained by dividing one page into two is an input image. In addition, the input image includes not only a simple image but also character information and graphics shown in the above-described area.

入力開始()1114aは、入力画像クラス1114が画像処理を開始するためのトリガーを与える処理を行う。この入力開始()1114aが、入力ページオブジェクト1112Aから呼び出された場合に、引数として受け渡された入力レイアウト等の設定により定められる範囲の画像の実体を読み込み、読み込んだ画像の実体を特定する情報を属性として書き込み、さらに入力画像に対応したユーザ画像を管理するユーザ画像オブジェクト1103Aを生成する。   The input start () 1114 a performs processing for giving a trigger for the input image class 1114 to start image processing. When this input start () 1114 a is called from the input page object 1112 A, information for reading the substance of the image in the range determined by the setting of the input layout passed as an argument and specifying the substance of the read image As an attribute, and a user image object 1103A for managing a user image corresponding to the input image is generated.

ユーザ画像クラス1103は、入力画像から生成された加工処理の対象となるユーザ画像を管理し、出力画像を生成するための加工処理を行うクラスである。具体的にはユーザ画像クラス1103は、属性として生成されたユーザ画像を特定する情報を有し、操作として作成()1103a及び利用()1103bを有する。なお、かかるユーザ画像クラス1103を実体化したオブジェクトが生成されると、作成された画像を特定する情報がRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   The user image class 1103 is a class that manages a user image to be processed from an input image and performs a processing process for generating an output image. Specifically, the user image class 1103 includes information for specifying a user image generated as an attribute, and includes creation () 1103 a and usage () 1103 b as operations. When an object that materializes the user image class 1103 is generated, information for specifying the created image is expanded on the RAM 12b, so that these data (attributes) can be written and read. It becomes.

また、ユーザ画像は加工処理の対象となる画像をいい、所定のサイズの画像、本実施の形態ではドキュメントハンドリングの最小単位に分割された画像となる。ドキュメントハンドリングの最小単位は入力画像で説明したので省略する。ユーザ画像は、単なる画像のみならず、ユーザ画像として所定サイズの領域に示された文字情報や、図形なども含まれる。   The user image is an image to be processed, and is an image of a predetermined size, which is an image divided into the minimum unit of document handling in this embodiment. Since the minimum unit of document handling has been described in the input image, it will be omitted. The user image includes not only a simple image but also character information or a figure shown as a user image in an area of a predetermined size.

作成()1103aは、入力画像クラス1114から呼び出され、ユーザ画像クラス1103が対応する入力画像に基づいてユーザ画像を生成する処理を行う。この作成()1103aが、入力画像オブジェクト1114Aから呼び出された場合に、入力画像の実体を読み込み、読み込んだ画像をユーザ画像としてこの画像の実体を特定にする情報を属性に書き込む。   Creation () 1103 a is called from the input image class 1114 and performs processing for generating a user image based on the input image corresponding to the user image class 1103. When the creation () 1103a is called from the input image object 1114A, the entity of the input image is read, and the information specifying the entity of the image is written in the attribute as the user image.

利用()1103bは、後述する出力画像クラス1124から呼び出され、作成()1103aで読み込んだ画像の実体を出力形式に適するように加工処理を行った後、出力画像クラス1124に送信し、出力画像を生成する。加工処理の例としては、1枚毎に入力処理された原稿を「2 in 1」で出力したい場合、ユーザ画像を縮小する処理を行う等が考えられる。   Usage () 1103 b is called from an output image class 1124 described later, and after processing the entity of the image read in creation () 1103 a so as to be suitable for the output format, it is transmitted to the output image class 1124, and the output image Is generated. As an example of the processing, when it is desired to output “2 in 1” of a document that has been input for each sheet, it may be possible to reduce the user image.

出力ドキュメントクラス1121は、出力先によらず共通する予め定めたフォーマット、換言すると出力画像と出力レイアウトを組み合わせた出力ページで構成される出力ドキュメントを生成し、出力先に出力処理を行うクラスである。出力先とは、例えばプロッタ、プリンタ、ネットワークを介して接続された機器、FAX送信あるいはローカルストレージ等の出力手段が考えられる。この出力ドキュメントクラス1121は、出力ネットドキュメントクラス1125、出力紙ドキュメントクラス1126及び出力LSドキュメントクラス1127の上位クラス(スーパークラス)であり、出力ドキュメントクラス1121自体が実体化されることはないが、出力ドキュメントクラス1121の属性及び操作は、下位クラス(サブクラス)である出力ネットドキュメントクラス1125、出力紙ドキュメントクラス1126及び出力LSドキュメントクラス1127に継承される。具体的には出力ドキュメントクラス1121は、属性としてページ数1121aを、操作として出力開始()1121b、ページ追加()1121c、終了通知()1121dを有する。   The output document class 1121 is a class that generates an output document composed of a predetermined format common to all output destinations, in other words, an output page that combines an output image and an output layout, and performs output processing on the output destination. . The output destination may be an output unit such as a plotter, a printer, a device connected via a network, FAX transmission, or local storage. The output document class 1121 is an upper class (super class) of the output net document class 1125, the output paper document class 1126, and the output LS document class 1127, and the output document class 1121 itself is not materialized. The attributes and operations of the document class 1121 are inherited by the output net document class 1125, the output paper document class 1126, and the output LS document class 1127, which are lower classes (subclasses). Specifically, the output document class 1121 has a page number 1121a as an attribute, an output start () 1121b, a page addition () 1121c, and an end notification () 1121d as operations.

ページ数1121aは、出力処理された出力ドキュメントのページ数を保持する。出力ドキュメントのページ数は、複合機1に対して行った出力する際の設定及びユーザドキュメントオブジェクト1102Aが保持するユーザ画像の数から求めることができる。具体的には後述する出力開始()1121bが呼び出された際に、引数として受け渡されたユーザ画像の数や、出力する際の設定より定められる出力レイアウト等からページ数が求められて、ページ数1121aに設定される。例えばユーザドキュメントオブジェクト1102Aが保持するユーザ画像の数が4枚であり、ユーザが「2in1」で出力するように設定していた場合、ページ数1121aは‘2’と設定される。また、出力ドキュメントクラス1121はページ数だけ出力ページオブジェクト1122Aを生成する。また、ページ数1121aは、後述するページ追加()1121cを呼び出すことで、すでにページ数1121aが定められていた場合でも、さらに入力処理が行われた等の理由で入力処理されたページの数が増加する場合でも、ページ数1121aを追加することができる。   The page number 1121a holds the number of pages of the output document subjected to the output process. The number of pages of the output document can be obtained from the settings made when outputting to the multifunction machine 1 and the number of user images held by the user document object 1102A. Specifically, when the output start () 1121b described later is called, the number of pages is obtained from the number of user images passed as an argument, the output layout determined from the settings for output, and the like. The number is set to 1121a. For example, when the number of user images held by the user document object 1102A is four and the user is set to output “2 in 1”, the page number 1121a is set to “2”. Further, the output document class 1121 generates the output page object 1122A by the number of pages. Further, the page number 1121a is obtained by calling the page addition () 1121c to be described later, even if the page number 1121a has already been determined, the number of pages that have undergone input processing due to reasons such as further input processing being performed. Even when the number increases, the number of pages 1121a can be added.

出力開始()1121bは、出力ドキュメントクラス1121が文書処理を開始するためのトリガーを与える処理を行う。この出力開始()1121bは、サブクラスである出力ネットドキュメントクラス1125、出力紙ドキュメントクラス1126及び出力LSドキュメントクラス1127に継承され、各サブクラスにおける具体的な処理によりオーバーライド(override)される。なお、かかる具体的な処理の説明については、後述する出力ネットドキュメントクラス1125、出力紙ドキュメントクラス1126及び出力LSドキュメントクラス1127の説明で行う。   The output start () 1121 b performs a process of giving a trigger for the output document class 1121 to start document processing. This output start () 1121 b is inherited by the output net document class 1125, the output paper document class 1126, and the output LS document class 1127 which are subclasses, and is overridden by specific processing in each subclass. The specific processing will be described with reference to an output net document class 1125, an output paper document class 1126, and an output LS document class 1127 described later.

ページ追加()1121cは、ユーザドキュメントクラス1102から呼び出され、ページ数1121aを追加する処理を行う。   The page addition () 1121c is called from the user document class 1102 and performs a process of adding the page number 1121a.

終了通知()1121dは、後述する出力ページクラス1122から出力ドキュメントクラス1121にページ毎の処理が終了したことを通知する。   The end notification () 1121 d notifies the output document class 1121, which will be described later, to the output document class 1121 that the processing for each page has ended.

出力ネットドキュメントクラス1125は、出力ドキュメントクラス1121のサブクラスであり、出力ドキュメントの出力先にネットワークを介して接続し、出力ページオブジェクト1122Aに対して出力ドキュメントの出力ページ毎に出力処理する指示を行うクラスである。また、出力ネットドキュメントクラス1125は、出力先毎に異なるプロトコル、例えばFAX送信、メール送信あるいはファイルの転送等の違いに応じて、通信を制御するよう実行制御部213に指示し、さらに通信方式に応じた出力ドキュメントのフォーマットを用意し、出力ドキュメントを出力先に応じたフォーマットで整形して出力する処理を行う。このフォーマットはFAX送信等の通信で通常用いられている周知のフォーマットとする。   The output net document class 1125 is a subclass of the output document class 1121, is a class that connects to the output destination of the output document via the network, and instructs the output page object 1122A to perform output processing for each output page of the output document. It is. The output net document class 1125 instructs the execution control unit 213 to control communication according to a different protocol for each output destination, for example, FAX transmission, mail transmission, file transfer, and the like. A corresponding output document format is prepared, and the output document is formatted and output in a format according to the output destination. This format is a well-known format normally used in communications such as FAX transmission.

具体的には、この出力ネットドキュメントクラス1125は、出力ドキュメントクラス1121から、属性としてページ数1121aを、操作として出力開始()1121b、ページ追加()1121c、終了通知()1121dを承継する。さらに、出力ネットドキュメントクラス1125は、属性として、ネットワークを介して出力処理を行うために必要な仕様及び設定を保持するが、図11では省略する。なお、かかる出力ネットドキュメントクラス1125を実体化したオブジェクトが生成されると、属性として保持する出力処理を行うために必要な仕様及び設定及びページ数1121aはRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, the output net document class 1125 inherits the page number 1121a as an attribute, the output start () 1121b, the page addition () 1121c, and the end notification () 1121d from the output document class 1121. Furthermore, the output net document class 1125 holds, as attributes, specifications and settings necessary for performing output processing via the network, but is omitted in FIG. Note that when an object that materializes the output net document class 1125 is generated, specifications and settings necessary to perform output processing held as attributes and the number of pages 1121a are expanded on the RAM 12b. It is possible to write and read (attribute).

出力ドキュメントクラス1121から承継した出力開始()1121bは、出力処理を開始するためのトリガーであり、ユーザドキュメントオブジェクト1102Aから呼び出された場合、出力ネットドキュメントクラス1125が出力先にネットワークを介して接続し、予め生成されたユーザ画像を利用して出力先に応じたフォーマットで整形した出力ドキュメントを生成して出力する制御を行う。   The output start () 1121b inherited from the output document class 1121 is a trigger for starting output processing. When called from the user document object 1102A, the output net document class 1125 connects to the output destination via the network. Then, control is performed to generate and output an output document shaped in a format corresponding to the output destination using a user image generated in advance.

また、出力ネットドキュメントオブジェクト1125Aは、出力開始()1121bの引数として受け渡された情報よりネットワークを介した出力先を特定し、実行制御部213を介して利用できるFAX送受信制御部102eやネットワーク通信制御部102fを用いてネットワークへ接続し、出力先にこれから出力する出力文書の登録等の処理を行うことで、後述する出力ページクラス1122や出力画像クラス1124が出力する出力文書を構成するための情報、例えば出力レイアウトや出力画像等を出力先に出力することを可能とする。   Further, the output net document object 1125A specifies the output destination via the network from the information passed as the argument of the output start () 1121b, and can be used via the execution control unit 213, the FAX transmission / reception control unit 102e or the network communication. By connecting to a network using the control unit 102f and performing processing such as registration of an output document to be output to an output destination, an output document output by an output page class 1122 or an output image class 1124 described later is configured. It is possible to output information such as an output layout and an output image to an output destination.

出力紙ドキュメントクラス1126は、出力ドキュメントクラス1121のサブクラスであり、プロッタ151bを制御して、出力ページオブジェクト1122Aに出力ドキュメントの出力ページ毎に出力処理する指示を行うクラスである。また、出力紙ドキュメントクラス1126は、実行制御部213にプロッタ151bを制御して出力するよう指示すると共に、プロッタ151bで出力するために適したフォーマットを用意し、出力ドキュメントを用意したフォーマットを利用して出力する処理を行う。   The output paper document class 1126 is a subclass of the output document class 1121 and is a class that controls the plotter 151b to instruct the output page object 1122A to perform output processing for each output page of the output document. The output paper document class 1126 instructs the execution control unit 213 to output by controlling the plotter 151b, prepares a format suitable for output by the plotter 151b, and uses the format in which the output document is prepared. Process to output.

具体的には、この出力紙ドキュメントクラス1126は、出力ドキュメントクラス1121から、属性としてページ数1121aを、操作として出力開始()1121b、ページ追加()1121c、終了通知()1121dを承継する。また、出力紙ドキュメントクラス1126は、属性として、プロッタ151bから原稿を出力するための設定及び仕様をさらに有する。なお、プロッタ151bから原稿を出力するための設定及び仕様は従来からある設定又は仕様を用いることとし、図11では省略する。なお、かかる出力紙ドキュメントクラス1126を実体化したオブジェクトが生成されると、属性として原稿を出力するための設定及び仕様及びページ数1111aはRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, the output paper document class 1126 inherits from the output document class 1121 the page number 1121a as an attribute, and the output start () 1121b, page addition () 1121c, and end notification () 1121d as operations. The output paper document class 1126 further has settings and specifications for outputting a document from the plotter 151b as attributes. Note that the settings and specifications for outputting the document from the plotter 151b are the same as those used in the prior art, and are omitted in FIG. When an object that materializes the output paper document class 1126 is generated, settings and specifications for outputting a document as attributes and the number of pages 1111a are developed on the RAM 12b. Writing and reading can be performed.

出力ドキュメントクラス1121から承継した出力開始()1121bは、出力処理を開始するためのトリガーであり、ユーザドキュメントオブジェクト1102Aから呼び出された場合に出力紙ドキュメントクラス1126がプロッタ151bで印刷するためのフォーマットを利用して出力ドキュメントを出力する制御を行う。   The output start () 1121b inherited from the output document class 1121 is a trigger for starting output processing, and when called from the user document object 1102A, the output paper document class 1126 has a format for printing on the plotter 151b. Use to control output document output.

また、出力紙ドキュメントクラス1126は、出力開始()1121bが呼び出された場合、印刷する際に、実行制御部213を介して利用できるプロッタ制御部102bでプロッタ151bに対して出力する制御を行う。また、出力ページオブジェクト1122Aに対して、印刷に適したレイアウト及び出力画像の配置を定める旨を指示する。これにより媒体の特性あるいはプロッタ151bによる原稿のハンドリングモードの違いにかかわらず共通した加工処理を行うことができる。さらに、出力紙ドキュメントクラス1126は、ユーザにより入力された設定に基づいて、紙の表のみ、あるいは表裏に印刷するか決定し、決定に従うようにプロッタ151bを制御する指示を行う。   Further, when the output start () 1121b is called, the output paper document class 1126 performs control to output to the plotter 151b by the plotter control unit 102b that can be used via the execution control unit 213 when printing. Further, it instructs the output page object 1122A to determine a layout suitable for printing and an arrangement of output images. This makes it possible to perform common processing regardless of the characteristics of the medium or the difference in the document handling mode by the plotter 151b. Further, the output paper document class 1126 determines whether to print only on the front side or the back side of the paper based on the settings input by the user, and gives an instruction to control the plotter 151b to follow the determination.

出力LSドキュメントクラス1127は、出力ドキュメントクラス1121のサブクラスであり、ハードディスク等のローカルストレージ内の保存場所を定め、出力ページオブジェクト1122Aに対して出力ドキュメントの出力ページ毎に出力処理する指示を行うクラスである。なお、ローカルストレージ内に出力ドキュメントを保存する際の電子文書のフォーマットに制限を設けるものではない。   The output LS document class 1127 is a subclass of the output document class 1121 and is a class that determines a storage location in a local storage such as a hard disk and instructs the output page object 1122A to perform output processing for each output page of the output document. is there. Note that there is no restriction on the format of the electronic document when the output document is stored in the local storage.

具体的には、この出力LSドキュメントクラス1127は、出力ドキュメントクラス1121から、属性としてページ数1121aを、操作として出力開始()1121b、ページ追加()1121c、終了通知()1121dを承継する。さらに、出力LSドキュメントクラス1127は、属性として、ローカルストレージに保存するための設定及び仕様を保持するが、従来から用いられている設定及び仕様を用いるため図11では省略する。なお、かかる出力LSドキュメントクラス1127を実体化したオブジェクトが生成されると、属性としてローカルストレージに保存するための設定及び仕様及びページ数1121aはRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, the output LS document class 1127 inherits the page number 1121a as an attribute, the output start () 1121b, the page addition () 1121c, and the end notification () 1121d as operations from the output document class 1121. Furthermore, the output LS document class 1127 retains settings and specifications for saving in the local storage as attributes, but is omitted in FIG. 11 because it uses settings and specifications that have been used conventionally. When an object that materializes the output LS document class 1127 is generated, the settings and specifications for saving in the local storage as attributes and the number of pages 1121a are expanded on the RAM 12b. Can be written and read.

出力ドキュメントクラス1121から承継した出力開始()1121bは、出力処理を開始するためのトリガーであり、ユーザドキュメントオブジェクト1102Aから呼び出された場合に出力LSドキュメントクラス1127がローカルストレージの保存場所を特定し、保存する電子文書のファイル名等を登録し、予め生成されたユーザ画像を利用して保存する際のフォーマットで整形した出力ドキュメントを生成して出力する制御を行う。   The output start () 1121 b inherited from the output document class 1121 is a trigger for starting output processing. When called from the user document object 1102 A, the output LS document class 1127 specifies the storage location of the local storage, The file name and the like of the electronic document to be saved are registered, and an output document shaped in a format for saving using a user image generated in advance is generated and output.

また、出力LSドキュメントクラス1127は、出力開始()1121bの引数として受け渡された情報より保存先及び電子文書のファイル名を特定し、実行制御部213を介して利用できる蓄積制御部102cを用いてローカルストレージの保存場所に出力文書の登録等の処理を行うことで、後述する出力ページクラス1122や出力画像クラス1124から出力文書に関する情報、例えば出力レイアウトや出力画像等の出力を可能にする。   Further, the output LS document class 1127 uses the accumulation control unit 102 c that specifies the storage destination and the file name of the electronic document from the information passed as the argument of the output start () 1121 b and can be used via the execution control unit 213. By performing processing such as registration of the output document in the storage location of the local storage, it is possible to output information related to the output document, such as an output layout and an output image, from an output page class 1122 and an output image class 1124 described later.

出力ページクラス1122は、出力ドキュメントクラス1121で生成される出力ドキュメントを構成する各ページを出力ページとして生成し、レイアウト等のページ毎の設定を出力先に出力するクラスである。出力ページクラス1122は、後述する出力レイアウトオブジェクト1123A及び出力画像オブジェクト1124Aを生成し、出力レイアウトに出力画像を当てはめた構成として出力ページを生成する。   The output page class 1122 is a class that generates each page constituting the output document generated by the output document class 1121 as an output page, and outputs settings for each page such as a layout to an output destination. The output page class 1122 generates an output layout object 1123A and an output image object 1124A, which will be described later, and generates an output page with a configuration in which the output image is applied to the output layout.

具体的には、この出力ページクラス1122は、属性としてページ番号1122aを有し、操作として出力開始()1122b、終了通知()1122cを有する。なお、かかる出力ページクラス1122を実体化したオブジェクトが生成されると、属性としてページ番号1122aがRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   Specifically, the output page class 1122 has a page number 1122a as an attribute, and has an output start () 1122 b and an end notification () 1122 c as operations. Note that when an object that materializes the output page class 1122 is generated, the page number 1122a is expanded as an attribute on the RAM 12b, so that these data (attributes) can be written and read.

ページ番号1122aは、この出力ページオブジェクト1122Aが生成するページを示す番号を保持する。つまり出力ドキュメントクラス1121のサブクラスのオブジェクトが保持するページ数1121aだけ出力ページオブジェクト1122Aを生成するので、出力ページオブジェクト1122Aが割り振られたページを特定するためにページ番号1122aを保持することとなる。   The page number 1122a holds a number indicating a page generated by the output page object 1122A. That is, since the output page object 1122A is generated for the number of pages 1121a held by the subclass object of the output document class 1121, the page number 1122a is held to specify the page to which the output page object 1122A is allocated.

出力開始()1122bは、出力ページクラス1122がページ処理を開始するためのトリガーを与える処理を行う。この出力開始()1122bが、出力ネットドキュメントオブジェクト1125A等の出力ドキュメントクラス1121のサブクラスのオブジェクトから呼び出された場合に、引数として受け渡されたページ番号及びユーザにより受け付けられた設定より定められるページの情報を取得し、取得したページの情報に基づいて出力レイアウトオブジェクト1123A及び出力画像オブジェクト1124Aを生成する。   The output start () 1122 b performs a process of giving a trigger for the output page class 1122 to start page processing. When this output start () 1122 b is called from an object of a subclass of the output document class 1121 such as the output net document object 1125 A, the page number determined by the page number passed as an argument and the setting accepted by the user Information is acquired, and an output layout object 1123A and an output image object 1124A are generated based on the acquired page information.

また、出力ページクラス1122は、出力開始()1122bが呼び出された場合、出力ドキュメントクラス1121が管理する出力ドキュメントから該当するページの情報(以下、出力ページとする)を取得することで生成した出力レイアウトオブジェクト1123Aを用いて出力レイアウト等のページ毎の設定を出力先に出力し、その後出力レイアウトに当てはめる出力画像を保持する出力画像オブジェクト1124Aを生成する。   Further, when the output start () 1122 b is called, the output page class 1122 generates an output generated by acquiring information of a corresponding page (hereinafter referred to as an output page) from an output document managed by the output document class 1121. The layout object 1123A is used to output the setting for each page such as the output layout to the output destination, and then an output image object 1124A that holds the output image applied to the output layout is generated.

終了通知()1122cは、各出力画像オブジェクト1124Aが出力ページクラス1122に画像処理が終了したことを通知する処理を行う。この終了通知()1122cが、出力ページクラス1122が生成した全ての出力画像オブジェクト1124Aから呼び出された場合に、出力ページクラス1122はページの処理が全て終了したと判断する。   The end notification () 1122 c performs a process in which each output image object 1124 </ b> A notifies the output page class 1122 that the image processing has ended. When this end notification () 1122 c is called from all the output image objects 1124 </ b> A generated by the output page class 1122, the output page class 1122 determines that all page processing has been completed.

出力レイアウトクラス1123は、出力ページクラス1122で生成される出力ページに出力画像を当てはめるために用いられるレイアウト(以下、出力レイアウトという)を作成して管理するクラスである。具体的には、この出力レイアウトクラス1123は、属性として外枠や内枠あるいはオフセット位置などの情報を有するが、従来から用いられている情報を用いるので図11では省略する。また、出力レイアウトクラス1123は、操作としてレイアウト作成()1123aを有する。なお、かかる出力レイアウトクラス1123を実体化したオブジェクトが生成されると、属性として外枠や内枠あるいはオフセット位置などの情報がRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   The output layout class 1123 is a class for creating and managing a layout (hereinafter referred to as an output layout) used to apply an output image to an output page generated by the output page class 1122. Specifically, this output layout class 1123 has information such as an outer frame, an inner frame, or an offset position as an attribute, but since it uses information that has been used conventionally, it is omitted in FIG. The output layout class 1123 has a layout creation () 1123a as an operation. When an object that materializes the output layout class 1123 is generated, information such as an outer frame, an inner frame, or an offset position is developed on the RAM 12b as attributes, so that writing and reading of these data (attributes) It becomes possible to do.

レイアウト作成()1123aは、出力レイアウトオブジェクト1123Aが出力ページに出力画像を適した位置に配置するために設定する処理を行う。このレイアウト作成()1123aが、出力ページオブジェクト1122Aから呼び出された場合に、引数として受け渡された情報から、属性として有する外枠や内枠あるいはオフセット位置を設定する。この設定により出力ページ内の出力画像の数が決定される。これにより、出力ページに出力画像というドキュメントハンドリングの最小単位を当てはめることが可能となる。   The layout creation () 1123a performs processing for setting the output layout object 1123A so that the output image is arranged at a suitable position on the output page. When this layout creation () 1123a is called from the output page object 1122A, an outer frame, an inner frame, or an offset position as an attribute is set from information passed as an argument. This setting determines the number of output images in the output page. As a result, it is possible to apply a minimum unit of document handling called an output image to the output page.

出力画像クラス1124は、出力ページに対して出力レイアウトにより定められた配置に当てはまる画像(以下、出力画像という)を生成して出力するクラスである。具体的には、出力画像クラス1124は、上述したユーザ画像オブジェクト1103Aで生成されたユーザ画像に基づいて生成された出力先に適したフォーマットの出力画像を取得する。また、出力画像クラス1124は、属性として出力画像を保持するための情報を有し、操作として出力開始()1124aを有する。なお、かかる出力画像クラス1124を実体化したオブジェクトが生成されると、出力画像を保持するための情報がRAM12b上に展開されるので、これらのデータ(属性)の書き込み及び読み出しをすることが可能となる。   The output image class 1124 is a class for generating and outputting an image (hereinafter referred to as an output image) that corresponds to the arrangement determined by the output layout for the output page. Specifically, the output image class 1124 acquires an output image in a format suitable for the output destination generated based on the user image generated by the user image object 1103A described above. The output image class 1124 has information for holding an output image as an attribute, and has an output start () 1124a as an operation. Note that when an object that materializes the output image class 1124 is generated, information for holding the output image is developed on the RAM 12b, so that these data (attributes) can be written and read. It becomes.

また、出力画像とは、出力レイアウトに当てはめる画像をいい、上述した入力画像及びユーザ画像と同様に、出力画像は所定のサイズの画像、本実施の形態ではドキュメントハンドリングの最小単位に分割された画像となる。また、出力画像は、単なる画像のみならず、出力レイアウトにより定められた枠内に表示される文字情報や、図形なども含まれる。   The output image refers to an image applied to the output layout. Like the input image and user image described above, the output image is an image of a predetermined size, in this embodiment, an image divided into the minimum unit for document handling. It becomes. The output image includes not only a simple image but also character information displayed in a frame defined by the output layout, a figure, and the like.

出力開始()1124aは、出力画像クラス1124が画像処理を開始するためのトリガーを与える処理を行う。この出力開始()1124aが、出力ページオブジェクト1122Aから呼び出された場合に、引数として受け渡される情報より、対応するユーザ画像を特定し、ユーザ画像オブジェクト1103Aの利用()1103bを呼び出すことで、ユーザ画像から出力レイアウトに当てはまるよう加工処理された出力画像を受信し、受信した出力画像を出力先に出力する。   The output start () 1124a performs processing for giving a trigger for the output image class 1124 to start image processing. When this output start () 1124a is called from the output page object 1122A, the user image corresponding to the information passed as an argument is identified, and the user image object 1103A usage () 1103b is called to call the user An output image processed to fit the output layout is received from the image, and the received output image is output to the output destination.

図16は、本実施の形態のドキュメントハンドリング部212において「2 in 1」の入力ドキュメントから「4 in 1」の出力ドキュメントを生成するまでの工程を示した説明図である。本図に示すように、ドキュメントハンドリング部212は、ドキュメントをページ毎にレイアウトとレイアウトに当てはめる画像の組み合わせを用いることで画像単位での加工処理が容易になった。   FIG. 16 is an explanatory diagram illustrating steps until the document handling unit 212 according to the present embodiment generates a “4 in 1” output document from a “2 in 1” input document. As shown in the figure, the document handling unit 212 can easily perform processing in units of images by using a layout for each page and a combination of images applied to the layout.

次に、図11に戻り、各クラス間の関係について説明する。本図に示したように、各クラスを示す矩形を結ぶ直線は、その両端のクラス間に関係があることを表しており、この直線の両端付近の文字はクラスの役割を、数字はクラスの多重度をそれぞれ示している。ここで、役割とは、かかる直線の両端における、一方のクラスからみた、もう一方のクラスの役割や立場のことであり、多重度とは、かかる直線の両端のクラスから生成されるオブジェクト数の対応関係のことである。   Next, returning to FIG. 11, the relationship between the classes will be described. As shown in this figure, the straight line connecting the rectangles indicating each class indicates that there is a relationship between the classes at both ends, and the characters near the ends of this line indicate the role of the class, and the numbers indicate the class. Each multiplicity is shown. Here, the role is the role and position of the other class as seen from one class at both ends of the line, and the multiplicity is the number of objects generated from the class at both ends of the line. It is a correspondence relationship.

たとえば、ドキュメント操作スケジューラクラス1101からみたユーザドキュメントクラス1102の役割は「要求」であり、ユーザドキュメントクラス1102からみたドキュメント操作スケジューラクラス1101の役割は「受付」であり、ドキュメント操作スケジューラクラス1101の多重度は「1」であり、ユーザドキュメントクラス1102の多重度は「0..*」である。ここで、「0..*」は、かかるユーザドキュメントクラス1102の多重度が、0から上限数なしの範囲であることを示している。また、たとえば、「1..3」の記載をした場合には、かかるクラスの多重度が、1〜3の範囲であることを示す。   For example, the role of the user document class 1102 viewed from the document operation scheduler class 1101 is “request”, the role of the document operation scheduler class 1101 viewed from the user document class 1102 is “reception”, and the multiplicity of the document operation scheduler class 1101. Is “1”, and the multiplicity of the user document class 1102 is “0... *”. Here, “0... *” Indicates that the multiplicity of the user document class 1102 is in a range from 0 to no upper limit. For example, when “1..3” is described, the multiplicity of the class is in the range of 1 to 3.

そして、本図に示したように、ドキュメントハンドリング部212が実行される場面において、ドキュメント操作スケジューラクラス1101をRAM12b上に展開(実体化)したオブジェクトは1個だけ存在し、このドキュメント操作スケジューラクラス1101の文書処理の要求対象となるユーザドキュメントクラス1102を実体化したオブジェクトは0個以上、上限数なしの範囲で存在する。   As shown in the figure, in the scene where the document handling unit 212 is executed, there is only one object in which the document operation scheduler class 1101 is expanded (substantiated) on the RAM 12b. This document operation scheduler class 1101 There are zero or more objects in which the user document class 1102 to be requested for document processing is materialized and there is no upper limit.

次に、ユーザドキュメントクラス1102と入力ドキュメントクラス1111とのクラス関係について説明する。入力ドキュメントクラス1111は、ユーザドキュメントクラス1102からみるとユーザドキュメントを生成するために用いられる入力文書としての役割を有しており、一方、ユーザドキュメントクラス1102は、入力ドキュメントクラス1111からみると加工処理が行われるユーザ文書としての役割を有している。このようなクラス関係により入力された文書から加工対象となるユーザ文書を生成することが可能となる。   Next, the class relationship between the user document class 1102 and the input document class 1111 will be described. The input document class 1111 has a role as an input document used for generating a user document when viewed from the user document class 1102, while the user document class 1102 is processed according to the input document class 1111. Has a role as a user document. It becomes possible to generate a user document to be processed from a document input by such a class relationship.

また、ユーザドキュメントクラス1102は、ユーザからの要求毎に生成されるものであるのに対して、入力ドキュメントクラス1111は、ユーザ文書を生成する際に必要な文書の数に応じて生成されて入力処理を行うクラスである。このため、ユーザドキュメントクラス1102と入力ドキュメントクラス1111とは1対多の関係を有する。1つのユーザドキュメントを生成する際に複数の入力文書を入力処理する場合とは、例えば、ファックス受信文書と予め蓄積していた電子文書を1つにまとめて印刷する要求があった場合等が考えられる。また、このように「紙」文書と「ネット」文書のように入力元が異なる文書を1つにまとめて出力したい場合でも良いし、2つの「ネット」文書のように入力元が同じ複数の入力文書を1つにまとめて出力したい場合でも良い。   Further, the user document class 1102 is generated for each request from the user, whereas the input document class 1111 is generated and input according to the number of documents necessary for generating the user document. It is a class that performs processing. Therefore, the user document class 1102 and the input document class 1111 have a one-to-many relationship. A case where a plurality of input documents are input when a single user document is generated may be, for example, a case where there is a request to print a fax received document and an electronic document stored in advance together. It is done. It is also possible to output documents having different input sources, such as “paper” documents and “net” documents, in a single manner, or a plurality of documents having the same input source, such as two “net” documents. It is also possible to output the input documents as one.

次に、入力ドキュメントクラス1111と、入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117の関係について説明する。入力ドキュメントクラス1111は、入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117の上位クラス(スーパークラス)であり、入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117は、入力ドキュメントクラス1111の属性及び操作を継承する。   Next, the relationship between the input document class 1111, the input net document class 1115, the input paper document class 1116, and the input LS document class 1117 will be described. The input document class 1111 is an upper class (super class) of the input net document class 1115, the input paper document class 1116, and the input LS document class 1117, and the input net document class 1115, the input paper document class 1116, and the input LS document class 1117. Inherits the attributes and operations of the input document class 1111.

また、入力ドキュメントクラス1111と入力ページクラス1112の関係について説明する。入力ページクラス1112は、入力ドキュメントクラス1111が保持するドキュメントのページ毎に生成されるものである。このため、入力ページクラス1112は、入力ドキュメントクラス1111からみるとページとしての役割を有しており、一方、入力ドキュメントクラス1111は、入力ページクラス1112からみると文書としての役割を有している。   The relationship between the input document class 1111 and the input page class 1112 will be described. The input page class 1112 is generated for each page of the document held by the input document class 1111. Therefore, the input page class 1112 has a role as a page when viewed from the input document class 1111, while the input document class 1111 has a role as a document when viewed from the input page class 1112. .

また、入力ドキュメントクラス1111は、入力処理される入力文書毎に生成されるものであるのに対して、入力ページクラス1112はページ毎に生成されるクラスであるため、入力ドキュメントクラス1111と入力ページクラス1112とは1対多の関係を有する。また、入力ページクラス1112は、入力ドキュメントクラス1111に集約される関係を有する。   The input document class 1111 is generated for each input document to be input processed, whereas the input page class 1112 is a class generated for each page. The class 1112 has a one-to-many relationship. Also, the input page class 1112 has a relationship that is aggregated into the input document class 1111.

次に、入力ページクラス1112と入力レイアウトクラス1113との関係について説明する。入力ページクラス1112は、ページ毎に生成されるものであり、入力レイアウトクラス1113は、ページ毎に定められるレイアウトである。つまり、入力レイアウトクラス1113は、入力ページクラス1112からみるとページ毎の枠としての役割を有しており、一方、入力ページクラス1112は、入力レイアウトクラス1113からみるとページとしての役割を有している。このような関係である以上、入力ページクラス1112と入力レイアウトクラス1113は1対1の関係となる。   Next, the relationship between the input page class 1112 and the input layout class 1113 will be described. The input page class 1112 is generated for each page, and the input layout class 1113 is a layout determined for each page. In other words, the input layout class 1113 has a role as a frame for each page when viewed from the input page class 1112, while the input page class 1112 has a role as a page when viewed from the input layout class 1113. ing. With this relationship, the input page class 1112 and the input layout class 1113 have a one-to-one relationship.

また、入力ページクラス1112と入力画像クラス1114の関係について説明する。入力画像クラス1114は、入力ページクラス1112が保持するページのレイアウトに従って分割された領域毎に生成されるものである。このため、入力画像クラス1114は、入力ページクラス1112からみるとページが有する枠に当てはめられる枠内構成物としての役割を有しており、一方、入力ページクラス1112は、入力画像クラス1114からみるとページとしての役割を有している。   The relationship between the input page class 1112 and the input image class 1114 will be described. The input image class 1114 is generated for each area divided according to the page layout held by the input page class 1112. Therefore, the input image class 1114 has a role as an in-frame component applied to the frame of the page when viewed from the input page class 1112, while the input page class 1112 is viewed from the input image class 1114. And has a role as a page.

また、入力ページクラス1112は、入力ドキュメントのページ毎に生成されるものであるのに対して、入力画像クラス1114はページが有するレイアウトに従って分割された数だけ生成されるクラスであるため、入力ページクラス1112と入力画像クラス1114とは1対多の関係を有する。また、入力画像クラス1114は、入力ページクラス1112に集約される関係を有する。   Further, the input page class 1112 is generated for each page of the input document, whereas the input image class 1114 is a class generated by the number divided according to the layout of the page. The class 1112 and the input image class 1114 have a one-to-many relationship. Also, the input image class 1114 has a relationship that is aggregated into the input page class 1112.

次に、入力画像クラス1114とユーザ画像クラス1103との関係について説明する。入力画像クラス1114はページが有する枠に従って分割された数だけ生成されるものであり、ユーザ画像クラス1103は入力画像に基づいて加工対象として作成されるものである。つまり、ユーザ画像クラス1103は、入力画像クラス1114からみると作成物としての役割を有しており、一方、入力画像クラス1114は、ユーザ画像クラス1103からみると入力物としての役割を有している。   Next, the relationship between the input image class 1114 and the user image class 1103 will be described. The input image class 1114 is generated by the number divided according to the frame of the page, and the user image class 1103 is created as a processing target based on the input image. That is, the user image class 1103 has a role as a created object when viewed from the input image class 1114, while the input image class 1114 has a role as an input object when viewed from the user image class 1103. Yes.

また、ユーザ画像クラス1103は、入力画像クラス1114に基づいて生成されるものであり、入力画像クラス1114及びユーザ画像クラス1103ともにドキュメントハンドリングの最小単位で分割したものであるため、入力画像クラス1114とユーザ画像クラス1103とは1対1の関係を有する。   The user image class 1103 is generated based on the input image class 1114, and both the input image class 1114 and the user image class 1103 are divided by the minimum unit of document handling. The user image class 1103 has a one-to-one relationship.

また、ユーザドキュメントクラス1102とユーザ画像クラス1103の関係について説明する。ユーザ画像クラス1103は、ユーザドキュメントクラス1102が保持するユーザドキュメントを構成するハンドリングの最小単位となる画像毎に生成されるものである。このため、ユーザ画像クラス1103は、ユーザドキュメントクラス1102からみると構成物としての役割を有しており、一方、ユーザドキュメントクラス1102は、ユーザ画像クラス1103からみると文書としての役割を有している。   The relationship between the user document class 1102 and the user image class 1103 will be described. The user image class 1103 is generated for each image serving as a minimum unit of handling constituting the user document held by the user document class 1102. Therefore, the user image class 1103 has a role as a component when viewed from the user document class 1102, while the user document class 1102 has a role as a document when viewed from the user image class 1103. Yes.

また、ユーザ画像クラス1103は、文書を構成する画像毎に生成されるものであるのに対して、ユーザドキュメントクラス1102は文書毎に生成されるクラスであるため、ユーザドキュメントクラス1102とユーザ画像クラス1103とは1対多の関係を有する。また、ユーザ画像クラス1103は、ユーザドキュメントクラス1102に集約される関係を有する。   The user image class 1103 is generated for each image constituting the document, whereas the user document class 1102 is a class generated for each document. Therefore, the user document class 1102 and the user image class 1103 has a one-to-many relationship. Also, the user image class 1103 has a relationship that is aggregated into the user document class 1102.

次に、ユーザドキュメントクラス1102と出力ドキュメントクラス1121とのクラス関係について説明する。出力ドキュメントクラス1121は、ユーザドキュメントクラス1102からみるとユーザの要求に応じた出力形式で出力される出力文書としての役割を有しており、一方、ユーザドキュメントクラス1102は、出力ドキュメントクラス1121からみるとユーザ文書としての役割を有している。このようなクラス関係により加工対象となるユーザ文書から出力文書を生成することが可能となる。   Next, the class relationship between the user document class 1102 and the output document class 1121 will be described. When viewed from the user document class 1102, the output document class 1121 has a role as an output document output in an output format according to a user request, while the user document class 1102 is viewed from the output document class 1121. And has a role as a user document. With such a class relationship, an output document can be generated from a user document to be processed.

また、ユーザドキュメントクラス1102は、ドキュメント操作スケジューラクラス1101から文書処理毎に生成されるものであり、出力ドキュメントクラス1121は、ユーザ要求に基づいて出力先に出力される文書毎に生成されるものであり、1つのユーザ要求に基づいて複数の文書を出力することは当然可能である。つまり、ユーザドキュメントクラス1102と出力ドキュメントクラス1121とは1対多の関係を有する。1つのユーザ要求に基づいて複数の文書を出力する場合とは、例えばユーザがスキャナで読み込んだ文書を「印刷+蓄積」する旨の設定を行った場合等が考えられる。   The user document class 1102 is generated for each document process from the document operation scheduler class 1101, and the output document class 1121 is generated for each document output to an output destination based on a user request. Yes, it is naturally possible to output a plurality of documents based on one user request. That is, the user document class 1102 and the output document class 1121 have a one-to-many relationship. A case where a plurality of documents are output based on a single user request may be a case where the user has made a setting for “printing + accumulating” a document read by a scanner.

次に、出力画像クラス1124とユーザ画像クラス1103との関係について説明する。出力画像クラス1124は、出力ページが有する枠に当てはめられる数だけ、ユーザ画像を利用して生成されるものである。つまり、出力画像クラス1124は、ユーザ画像クラス1103からみると出力物としての役割を有しており、一方、ユーザ画像クラス1103は、出力画像クラス1124からみると利用物としての役割を有している。   Next, the relationship between the output image class 1124 and the user image class 1103 will be described. The output image class 1124 is generated by using the user images as many as the number applied to the frame of the output page. That is, the output image class 1124 has a role as an output object when viewed from the user image class 1103, while the user image class 1103 has a role as a use object when viewed from the output image class 1124. Yes.

また、出力画像クラス1124は、ユーザ画像クラス1103に基づいて生成されるものであり、出力画像クラス1124及びユーザ画像クラス1103ともにドキュメントハンドリングの最小単位で分割したものである。また、1つのユーザ画像を複数の出力文書毎に利用される場合や、1つの出力文書中に1つのユーザ画像を複数利用する場合も考えられる。このため、ユーザ画像クラス1103と出力画像クラス1124とは1対多の関係を有する。   The output image class 1124 is generated based on the user image class 1103, and both the output image class 1124 and the user image class 1103 are divided by the minimum unit of document handling. In addition, a case where one user image is used for each of a plurality of output documents, or a case where a plurality of one user image is used in one output document can be considered. Therefore, the user image class 1103 and the output image class 1124 have a one-to-many relationship.

また、出力ドキュメントクラス1121と、出力ネットドキュメントクラス1125、出力紙ドキュメントクラス1126及び出力LSドキュメントクラス1127の関係は、入力ドキュメントクラス1111と、入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116及び入力LSドキュメントクラス1117の関係と同様であるため説明を省略する。   The relationship between the output document class 1121, the output net document class 1125, the output paper document class 1126, and the output LS document class 1127 is as follows: the input document class 1111, the input net document class 1115, the input paper document class 1116, and the input LS document. Since the relationship is the same as that of the class 1117, the description is omitted.

また、出力ドキュメントクラス1121と出力ページクラス1122の関係は入力ドキュメントクラス1111と入力ページクラス1112の関係と、出力ページクラス1122と出力レイアウトクラス1123の関係は入力ページクラス1112と入力レイアウトクラス1113の関係と、出力ページクラス1122と出力画像クラス1124の関係は入力ページクラス1112と入力画像クラス1114の関係と同様であるため説明を省略する。   The relationship between the output document class 1121 and the output page class 1122 is the relationship between the input document class 1111 and the input page class 1112, and the relationship between the output page class 1122 and the output layout class 1123 is the relationship between the input page class 1112 and the input layout class 1113. Since the relationship between the output page class 1122 and the output image class 1124 is the same as the relationship between the input page class 1112 and the input image class 1114, description thereof is omitted.

このように、ドキュメント操作スケジューラクラス1101、入力ドキュメントクラス1111、入力ページクラス1112、入力レイアウトクラス1113、入力画像クラス1114、入力ネットドキュメントクラス1115、入力紙ドキュメントクラス1116、入力LSドキュメントクラス1117、ユーザドキュメントクラス1102、ユーザ画像クラス1103、出力ドキュメントクラス1121、出力ページクラス1122、出力レイアウトクラス1123、出力画像クラス1124、出力ネットドキュメントクラス1125、出力紙ドキュメントクラス1126、出力LSドキュメントクラス1127の各オブジェクトは、相互に関連し合い、協調することによりドキュメントハンドリング部212に必要な機能を実現することが可能となる。   As described above, the document operation scheduler class 1101, the input document class 1111, the input page class 1112, the input layout class 1113, the input image class 1114, the input net document class 1115, the input paper document class 1116, the input LS document class 1117, the user document The objects of class 1102, user image class 1103, output document class 1121, output page class 1122, output layout class 1123, output image class 1124, output net document class 1125, output paper document class 1126, and output LS document class 1127 are: The functions necessary for the document handling unit 212 can be realized by interlinking and cooperating with each other. It is possible.

次に、図11に示した各クラスの操作の実行手順について例をあげて説明する。まずはドキュメントハンドリング部212が、複数の入力手段から入力処理を行う場合の例について説明する。図17は、ドキュメントハンドリング部212が紙文書と、ローカルストレージ上に記憶されていた電子文書を入力処理するまでの処理手順を示すUMLシーケンス図である。   Next, an example of an execution procedure of each class operation shown in FIG. 11 will be described. First, an example in which the document handling unit 212 performs input processing from a plurality of input means will be described. FIG. 17 is a UML sequence diagram showing a processing procedure until the document handling unit 212 inputs a paper document and an electronic document stored in the local storage.

ここで、UMLシーケンス図について説明しておく。図17の上部に並んだ矩形は、それぞれがクラスのオブジェクトを示している。各オブジェクトから下方に伸びた線は、各オブジェクトが生存していることを示す線(ライフライン)であり、上方から下方に向かって時間が流れているものとみなされる。この線上に存在する細長い矩形は、当該のオブジェクトが実際に活動している期間(活性期間)を示す。   Here, the UML sequence diagram will be described. Each rectangle arranged in the upper part of FIG. 17 indicates a class object. A line extending downward from each object is a line (lifeline) indicating that each object is alive, and time is considered to flow from the top to the bottom. An elongated rectangle present on this line indicates a period during which the object is actually active (active period).

各ライフラインの間を結ぶ横向きの矢印は、オブジェクトに含まれる操作の実行を示す。具体的には、この矢印は、矢印の元のオブジェクトが、矢印の先のオブジェクトに含まれる操作を呼び出すことを示す。また、矢印が自分自身のオブジェクトを指している場合は、オブジェクトが自分に含まれる操作を自身で呼び出すことを意味する。   Horizontal arrows connecting the lifelines indicate execution of operations included in the object. Specifically, this arrow indicates that the original object of the arrow calls an operation included in the object at the end of the arrow. Further, when the arrow points to its own object, it means that the object calls the operation included in itself.

図17に示すように、ユーザが複合機1を操作して、文書処理を行う旨を入力すると、操作系サブシステム201は、ユーザが入力した文書処理のユーザ要求を示したリクエストをドキュメント操作スケジューラオブジェクト1101Aに登録する(ステップS1501)。具体的には、操作系サブシステム201からのユーザ要求をリクエスト管理部211がリクエスト要求として受け付ける。そして、リクエスト管理部211がドキュメントハンドリング部212のドキュメント操作スケジューラオブジェクト1101Aの登録()1101aを呼び出して、ユーザ要求を受け渡す。   As shown in FIG. 17, when the user operates the multi-function device 1 and inputs that the document processing is to be performed, the operation subsystem 201 sends a request indicating the user request for document processing input by the user to the document operation scheduler. The object is registered in the object 1101A (step S1501). Specifically, the request management unit 211 accepts a user request from the operation subsystem 201 as a request request. Then, the request management unit 211 calls the registration () 1101a of the document operation scheduler object 1101A of the document handling unit 212 and passes the user request.

ドキュメント操作スケジューラオブジェクト1101Aは、文書処理を行うユーザ要求を受け付けたので、ユーザ要求に対応するユーザドキュメントクラス1102のオブジェクトを生成し、生成したユーザドキュメントオブジェクト1102Aの開始()1102eを呼び出して、文書処理のユーザ要求を受け渡す(ステップS1502)。生成は、すべてのオブジェクトが有する操作であり、生成することで各オブジェクトはRAM12b上に実体化される。   Since the document operation scheduler object 1101A receives a user request for document processing, the document operation scheduler object 1101A generates an object of the user document class 1102 corresponding to the user request, calls the start () 1102e of the generated user document object 1102A, and performs document processing. The user request is delivered (step S1502). Generation is an operation of all objects, and each object is materialized on the RAM 12b by generation.

ユーザドキュメントオブジェクト1102Aは、ユーザ要求を受け付けたので、ユーザ要求1102aと、入力ドキュメントの種類1102b、出力ドキュメントの種類1102cとの対応関係より、生成する入力ドキュメントクラス1111のサブクラス及び生成する出力ドキュメントクラス1121のサブクラスを決定する(ステップS1503)。なお、本シーケンス図では、生成する入力ドキュメントクラス1111のサブクラスとして、入力紙ドキュメントクラス1116、入力LSドキュメントクラス1117に決定したものとする。また、ステップS1503により、出力ドキュメントクラス1121のサブクラスも決定されるが、決定された出力ドキュメントクラス1121のサブクラスで行われる処理については図18で説明する。そして、ユーザドキュメントオブジェクト1102Aは、決定された入力ドキュメントクラス1111のサブクラス及び出力ドキュメントクラス1121のサブクラスを生成する。なお、ユーザドキュメントオブジェクト1102Aが生成されたオブジェクトを呼び出すタイミングは、入出力のタイミング1102dより決定される。   Since the user document object 1102A has received a user request, a subclass of the input document class 1111 to be generated and an output document class 1121 to be generated based on the correspondence between the user request 1102a, the input document type 1102b, and the output document type 1102c. Is determined (step S1503). In this sequence diagram, it is assumed that the input paper document class 1116 and the input LS document class 1117 are determined as subclasses of the input document class 1111 to be generated. In step S1503, a subclass of the output document class 1121 is also determined. Processing performed in the determined subclass of the output document class 1121 will be described with reference to FIG. Then, the user document object 1102A generates a subclass of the determined input document class 1111 and a subclass of the output document class 1121. Note that the timing at which the user document object 1102A is called is determined by the input / output timing 1102d.

そして、ユーザドキュメントオブジェクト1102Aは、入力紙ドキュメントオブジェクト1116Aの入力開始()1111bを呼び出して、入力開始を要求する(ステップS1504)。   Then, the user document object 1102A calls the input start () 1111b of the input paper document object 1116A and requests the input start (step S1504).

次に、入力紙ドキュメントオブジェクト1116Aは、要求に応じて実行制御部213を通じてスキャナ151aを制御し、紙文書があることを確認すると、ページ追加()1111cを呼び出して、ページ数1111aにページ数を追加する(ステップS1505)。   Next, the input paper document object 1116A controls the scanner 151a through the execution control unit 213 in response to the request, and when it is confirmed that there is a paper document, the page addition () 1111c is called to set the page number to the page number 1111a. It is added (step S1505).

そして、入力紙ドキュメントオブジェクト1116Aは、追加したページ数に対応した入力ページオブジェクト1112Aを生成し、生成した入力ページオブジェクト1112Aの入力開始()1112aを呼び出して、紙文書のページ毎の入力処理の開始を要求する(ステップS1506)。   The input paper document object 1116A generates an input page object 1112A corresponding to the number of added pages, calls the input start () 1112a of the generated input page object 1112A, and starts input processing for each page of the paper document. Is requested (step S1506).

次に、入力ページオブジェクト1112Aは、ページの入力処理を開始し、まず入力レイアウトオブジェクト1113Aを生成し、生成された入力レイアウトオブジェクト1113Aのレイアウト作成()1113aを呼び出して、ユーザにより入力された設定に基づいて、生成された入力レイアウトオブジェクト1113Aの属性を設定する(ステップS1507)。そして、入力レイアウトオブジェクト1113Aは、ページ毎に定められる入力画像の配置及び数等のレイアウトに関する情報を、入力ページオブジェクト1112Aにメッセージとして送信する。   Next, the input page object 1112A starts page input processing, first generates the input layout object 1113A, calls the layout creation () 1113a of the generated input layout object 1113A, and sets the settings input by the user. Based on this, the attribute of the generated input layout object 1113A is set (step S1507). Then, the input layout object 1113A transmits information on the layout such as the arrangement and number of input images determined for each page as a message to the input page object 1112A.

そして、入力ページオブジェクト1112Aは、入力レイアウトオブジェクト1113Aにより定められる入力ページ毎の入力画像の数だけ、入力画像オブジェクト1114Aを生成し、生成された入力画像オブジェクト1114Aの入力開始()1114aを呼び出して、入力画像オブジェクト1114Aに入力画像の入力処理の開始を要求する(ステップS1508)。   Then, the input page object 1112A generates as many input image objects 1114A as the number of input images for each input page determined by the input layout object 1113A, calls the input start () 1114a of the generated input image object 1114A, The input image object 1114A is requested to start input processing of the input image (step S1508).

次に、入力画像オブジェクト1114Aは、スキャナ151aを用いて入力処理された紙文書の画像を管理する紙文書入力処理部に対して、入力開始()を呼び出して、入力レイアウトにより定められた領域の画像を送信する旨要求する(ステップS1509)。なお、紙文書入力処理部は、実行系サブシステム203内に備えられた構成とする。そして、紙文書入力処理部は、入力画像オブジェクト1114Aに対して、入力レイアウトにより定められた領域の画像情報を送信する(ステップS1510)。これにより入力画像オブジェクト1114Aは、入力画像の実体を保持することとなる。   Next, the input image object 1114A calls input start () to the paper document input processing unit that manages the image of the paper document that has been input using the scanner 151a, so that the input image object 1114A has a region defined by the input layout. A request to transmit an image is made (step S1509). It is assumed that the paper document input processing unit is provided in the execution subsystem 203. Then, the paper document input processing unit transmits image information of an area defined by the input layout to the input image object 1114A (step S1510). As a result, the input image object 1114A holds the entity of the input image.

そして、入力画像オブジェクト1114Aは、ユーザ画像オブジェクト1103Aを生成し、生成されたユーザ画像オブジェクト1103Aの作成()1103aを呼び出す(ステップS1511)。これにより、入力画像オブジェクト1114Aが保持する入力画像の実体に基づいて、ユーザ画像オブジェクト1103Aが保持するユーザ画像が作成される。   Then, the input image object 1114A generates a user image object 1103A and calls creation () 1103a of the generated user image object 1103A (step S1511). Accordingly, the user image held by the user image object 1103A is created based on the substance of the input image held by the input image object 1114A.

そして、入力画像オブジェクト1114Aは、ユーザ画像の作成後に、入力ページオブジェクト1112Aの終了通知()1112cを呼び出して、画像の処理が終了したことを通知する(ステップS1512)。なお、このステップS1509〜ステップS1512までの処理は生成された入力画像オブジェクト1114A毎に行われる。   Then, after creating the user image, the input image object 1114A calls the end notification () 1112c of the input page object 1112A to notify that the image processing has ended (step S1512). Note that the processing from step S1509 to step S1512 is performed for each generated input image object 1114A.

次に、入力紙ドキュメントオブジェクト1116Aは、生成した全ての入力画像オブジェクト1114Aから画像の処理が終了したことを受信した場合、入力紙ドキュメントオブジェクト1116Aの終了通知()1111dを呼び出して、ページの処理が終了したことを通知する(ステップS1513)。   Next, when the input paper document object 1116A receives the completion of image processing from all the generated input image objects 1114A, the input paper document object 1116A calls the end notification () 1111d of the input paper document object 1116A, and the page processing is performed. Notification of completion is made (step S1513).

また、入力紙ドキュメントオブジェクト1116Aは、デバイス情報管理部からセット原稿有りの通知を上述した処理と非同期で受信している(ステップS1514)。   Further, the input paper document object 1116A receives the notification of the presence of a set document from the device information management unit asynchronously with the above-described processing (step S1514).

そして、入力紙ドキュメントオブジェクト1116Aは、生成した全ての入力ページオブジェクト1112Aからページの処理が終了した旨を受け取った際、次原稿有無確認()1116bを呼び出して、入力処理する紙文書があるか否か判断する(ステップS1515)。そして、ステップS1514よりセット原稿有りの通知を受信していた場合は、入力処理する紙文書があると判断して、入力紙ドキュメントオブジェクト1116Aは、ページ追加()1111cを呼び出して、ステップS1505以降の処理を再び開始する。   When the input paper document object 1116A receives that the processing of the page has been completed from all the generated input page objects 1112A, the input paper document object 1116A calls the next original presence / absence confirmation () 1116b to determine whether there is a paper document to be input processed. Is determined (step S1515). If the notification of the presence of a set original has been received from step S1514, it is determined that there is a paper document to be input, and the input paper document object 1116A calls page addition () 1111c to execute steps S1505 and the subsequent steps. Start the process again.

そして、ステップS1514よりセット原稿有りの通知を受信していなかった場合、入力紙ドキュメントオブジェクト1116Aは、ユーザドキュメントオブジェクト1102Aの終了通知()1102fを呼び出して、紙文書の入力処理が終了したことを通知する(ステップS1516)。   If the notification of the presence of a set original has not been received from step S1514, the input paper document object 1116A calls the end notification () 1102f of the user document object 1102A to notify that the paper document input processing has ended. (Step S1516).

そして、ユーザドキュメントオブジェクト1102Aは、紙文書の入力処理が終了した旨を示した通知を受信した場合、ステップS1503で生成していた入力LSドキュメントオブジェクト1117Aの入力開始()1111bを呼び出して、入力開始を要求する(ステップS1517)。   When the user document object 1102A receives a notification indicating that the paper document input processing is completed, the user document object 1102A calls the input start () 1111b of the input LS document object 1117A generated in step S1503 to start input. Is requested (step S1517).

次に、入力LSドキュメントオブジェクト1117Aは、入力処理を行う電子文書が保持するページ数分の入力ページオブジェクト1112Aを生成し、生成した入力ページオブジェクト1112Aの入力開始()1112bを呼び出して、電子文書のページ毎の入力処理の開始を要求する(ステップS1518)。なお、入力処理を行う電子文書のページ数を取得する処理は実行系サブシステム203を通じて行われることとする。   Next, the input LS document object 1117A generates as many input page objects 1112A as the number of pages held in the electronic document to be input, calls the input start () 1112b of the generated input page object 1112A, and The start of input processing for each page is requested (step S1518). It should be noted that the processing for acquiring the number of pages of the electronic document to be input is performed through the execution subsystem 203.

また、ステップS1517で生成された入力ページオブジェクト1112Aは、入力LSドキュメントオブジェクト1117Aに集約される関係にあるのに対し、ステップS1506で生成された入力ページオブジェクト1112Aは、入力紙ドキュメントオブジェクト1116Aに集約される関係にある点で異なる。さらに後述する処理で生成される入力レイアウトオブジェクト1113A、入力画像オブジェクト1114Aは、入力LSドキュメントオブジェクト1117Aに集約される入力ページオブジェクト1112Aに集約される関係にあり、上述した入力レイアウトオブジェクト1113A、入力画像オブジェクト1114Aとは集約される対象が異なるオブジェクトとする。   Further, the input page object 1112A generated in step S1517 has a relationship to be aggregated into the input LS document object 1117A, whereas the input page object 1112A generated in step S1506 is aggregated to the input paper document object 1116A. It is different in that there is a relationship. Further, the input layout object 1113A and the input image object 1114A generated by the processing described later are in a relationship that is aggregated into the input page object 1112A that is aggregated into the input LS document object 1117A. The object to be aggregated is different from 1114A.

次に、入力ページオブジェクト1112Aは、ページの入力処理を開始し、まず入力レイアウトオブジェクト1113Aを生成し、生成された入力レイアウトオブジェクト1113Aのレイアウト作成()1113aを呼び出して、ユーザにより入力された設定に基づいて、生成された入力レイアウトオブジェクト1113Aの属性を設定する(ステップS1519)。そして、入力レイアウトオブジェクト1113Aは、ページ毎に定められる入力画像の配置及び数等のレイアウトに関する情報を、入力ページオブジェクト1112Aにメッセージとして送信する。   Next, the input page object 1112A starts page input processing, first generates the input layout object 1113A, calls the layout creation () 1113a of the generated input layout object 1113A, and sets the settings input by the user. Based on this, the attribute of the generated input layout object 1113A is set (step S1519). Then, the input layout object 1113A transmits information on the layout such as the arrangement and number of input images determined for each page as a message to the input page object 1112A.

そして、入力ページオブジェクト1112Aは、入力レイアウトオブジェクト1113Aにより定められる入力ページ毎の入力画像の数だけ、入力画像オブジェクト1114Aを生成し、生成された入力画像オブジェクト1114Aの入力開始()1114aを呼び出して、入力画像オブジェクト1114Aに入力画像の入力処理の開始を要求する(ステップS1520)。   Then, the input page object 1112A generates as many input image objects 1114A as the number of input images for each input page determined by the input layout object 1113A, calls the input start () 1114a of the generated input image object 1114A, The input image object 1114A is requested to start input processing of the input image (step S1520).

次に、入力画像オブジェクト1114Aは、ローカルストレージ上に記憶された電子文書の画像を管理する蓄積文書入力処理部に対して、入力開始()を呼び出して、入力レイアウトにより定められた領域の画像を送信する旨要求する(ステップS1521)。なお、蓄積文書入力処理部は、実行系サブシステム203内に備えられた構成とする。そして、蓄積文書入力処理部は、入力画像オブジェクト1114Aに対して、入力レイアウトにより定められた領域の画像情報を送信する(ステップS1522)。これにより入力画像オブジェクト1114Aは、入力画像の実体を保持することとなる。   Next, the input image object 1114A calls input start () to the accumulated document input processing unit that manages the image of the electronic document stored on the local storage, and displays an image of the area defined by the input layout. A request for transmission is made (step S1521). Note that the stored document input processing unit is provided in the execution subsystem 203. Then, the stored document input processing unit transmits the image information of the area defined by the input layout to the input image object 1114A (step S1522). As a result, the input image object 1114A holds the entity of the input image.

そして、入力画像オブジェクト1114Aは、ユーザ画像オブジェクト1103Aを生成し、生成されたユーザ画像オブジェクト1103Aの作成()1103aを呼び出す(ステップS1523)。これにより、入力画像オブジェクト1114Aが保持する入力画像の実体に基づいて、ユーザ画像オブジェクト1103Aが保持するユーザ画像が作成される。つまり、ユーザドキュメントオブジェクト1102Aは、紙原稿から入力処理されたユーザ画像オブジェクト1103Aと電子文書から入力処理されたユーザ画像オブジェクト1103Aの両方を集約する関係になる。   Then, the input image object 1114A generates a user image object 1103A and calls creation () 1103a of the generated user image object 1103A (step S1523). Accordingly, the user image held by the user image object 1103A is created based on the substance of the input image held by the input image object 1114A. In other words, the user document object 1102A has a relationship that aggregates both the user image object 1103A input from a paper document and the user image object 1103A input from an electronic document.

そして、入力画像オブジェクト1114Aは、ユーザ画像の作成後に、入力ページオブジェクト1112Aの終了通知()1112cを呼び出して、画像の処理が終了したことを通知する(ステップS1524)。このステップS1521〜ステップS1524までの処理は生成された入力画像オブジェクト1114A毎に行われる。   Then, after creating the user image, the input image object 1114A calls the end notification () 1112c of the input page object 1112A to notify that the image processing has ended (step S1524). The processing from step S1521 to step S1524 is performed for each generated input image object 1114A.

次に、入力ページオブジェクト1112Aは、生成した全ての入力画像オブジェクト1114Aから画像の処理が終了したことを受信した場合は、入力LSドキュメントオブジェクト1117Aの終了通知()1111dを呼び出して、ページの処理が終了したことを通知する(ステップS1525)。   Next, when the input page object 1112A receives the end of image processing from all the generated input image objects 1114A, the input page object 1112A calls the end notification () 1111d of the input LS document object 1117A, and the page processing is performed. Notification of completion is made (step S1525).

そして、入力LSドキュメントオブジェクト1117Aは、生成した全ての入力ページオブジェクト1112Aからページの処理が終了した旨を受け取った場合、ユーザドキュメントオブジェクト1102Aの終了通知()1102fを呼び出して、ローカルストレージ上の電子文書の入力処理が終了したことを通知する(ステップS1526)。   When the input LS document object 1117A receives a message indicating that the processing of the page has been completed from all of the generated input page objects 1112A, the input LS document object 1117A calls the end notification () 1102f of the user document object 1102A and the electronic document on the local storage. Is notified that the input process has been completed (step S1526).

上述した処理手順により、紙文書及び電子文書から入力処理したユーザ画像を生成することが可能になる。なお、上述した処理手順は、本実施の形態による入力処理の一例を示したものであり、本発明をこの処理手順に制限するものではない。例えば、紙文書あるいは電子文書のどちらか一方のみ入力処理を行っても良い。他の例としては、紙文書とネットワーク上の電子文書を入力処理、ローカルストレージ上の電子文書とネットワーク上の電子文書の入力処理、あるいは紙文書とローカルストレージ上の電子文書とネットワーク上の電子文書の全てを入力処理しても良い。   With the processing procedure described above, it is possible to generate a user image that has been input from a paper document and an electronic document. Note that the processing procedure described above shows an example of the input processing according to the present embodiment, and the present invention is not limited to this processing procedure. For example, only one of the paper document and the electronic document may be input. As another example, a paper document and an electronic document on the network are input, an electronic document on the local storage and an electronic document on the network are input, or a paper document, an electronic document on the local storage, and an electronic document on the network All of these may be input processed.

次に、ドキュメントハンドリング部212が、複数の出力手段から出力処理を行う場合の例について説明する。図18は、ドキュメントハンドリング部212が紙文書と、ローカルストレージ上に記憶されていた電子文書を出力処理するまでの処理手順を示すUMLシーケンス図である。なお、図18で示される出力処理は、図17で示した入力処理などの処理手順が行われたことを前提に説明する。   Next, an example in which the document handling unit 212 performs output processing from a plurality of output means will be described. FIG. 18 is a UML sequence diagram showing a processing procedure until the document handling unit 212 outputs a paper document and an electronic document stored in the local storage. The output process shown in FIG. 18 will be described on the assumption that the processing procedure such as the input process shown in FIG. 17 has been performed.

具体的には、図17のステップS1503で示されるように処理に用いられる出力ドキュメントクラス1121のサブクラスが決定され、すでに生成されているものとする。具体的には、図18で示す処理手順では、処理に用いる出力ドキュメントクラス1121のサブクラスを、出力紙ドキュメントオブジェクト1126A及び出力LSドキュメントオブジェクト1127Aとする。また、ユーザ画像オブジェクト1103Aも既に生成され、ユーザ画像の実体を保持している。   Specifically, it is assumed that the subclass of the output document class 1121 used for processing is determined and generated as shown in step S1503 of FIG. Specifically, in the processing procedure shown in FIG. 18, the output document class 1121 subclass used for processing is an output paper document object 1126A and an output LS document object 1127A. Also, the user image object 1103A has already been generated and holds the substance of the user image.

まずは、ユーザドキュメントオブジェクト1102Aは、属性として有する入出力のタイミング1102dに基づいて、出力紙ドキュメントオブジェクト1126Aの出力開始()1121bを呼び出して、出力紙ドキュメントオブジェクト1126Aに対してプロッタ151bから紙文書の出力処理の開始を要求する(ステップS1601)。この出力開始()1121bで呼び出された際に、出力紙ドキュメントオブジェクト1126Aのページ数1121aが設定される。   First, the user document object 1102A calls the output start () 1121b of the output paper document object 1126A based on the input / output timing 1102d as an attribute, and outputs the paper document from the plotter 151b to the output paper document object 1126A. The start of processing is requested (step S1601). When this output start () 1121b is called, the page number 1121a of the output paper document object 1126A is set.

そして、出力紙ドキュメントオブジェクト1126Aは、要求に応じて実行制御部213を通じて利用できるプロッタ制御部102bを用いて紙文書が出力可能か確認してから、プロッタ151bから出力処理する文書を管理する紙文書出力処理部に出力処理する文書を登録する(ステップS1602)。なお、紙文書出力処理部は、実行系サブシステム203に備えられているものとする。   The output paper document object 1126A confirms whether a paper document can be output by using the plotter control unit 102b that can be used through the execution control unit 213 upon request, and then manages the paper document to be output from the plotter 151b. A document to be output is registered in the output processing unit (step S1602). It is assumed that the paper document output processing unit is provided in the execution system subsystem 203.

そして、出力紙ドキュメントオブジェクト1126Aは、ページ数1121aの数だけ出力ページオブジェクト1122Aを生成し、生成された出力ページオブジェクト1122Aの出力開始()1122bを呼び出して、電子文書のページ毎の出力処理の開始を要求する(ステップS1603)。   Then, the output paper document object 1126A generates as many output page objects 1122A as the number of pages 1121a, calls the output start () 1122b of the generated output page object 1122A, and starts output processing for each page of the electronic document. Is requested (step S1603).

次に、出力ページオブジェクト1122Aは、ページの出力処理を開始する。まずは、ユーザにより入力された形式で出力するために、出力レイアウトオブジェクト1123Aを生成し、生成された出力レイアウトオブジェクト1123Aのレイアウト作成()1123aを呼び出し、ユーザにより入力された形式で出力するために最適な属性値を、生成された出力レイアウトオブジェクト1123Aの属性に設定する(ステップS1604)。   Next, the output page object 1122A starts a page output process. First, in order to output in the format input by the user, an output layout object 1123A is generated, the layout creation () 1123a of the generated output layout object 1123A is called, and it is optimal for output in the format input by the user The attribute value is set to the attribute of the generated output layout object 1123A (step S1604).

そして、出力レイアウトオブジェクト1123Aは、当てはめられる出力画像の数やレイアウトについて出力先のコンピュータに送信する情報を、出力ページオブジェクト1122Aにメッセージとして送信する。そして、出力ページオブジェクト1122Aは、出力ページの必要な情報を紙文書出力処理部に送信して、ページ登録を行う(ステップS1605)。   Then, the output layout object 1123A transmits information to be transmitted to the output destination computer regarding the number and layout of output images to be applied to the output page object 1122A as a message. Then, the output page object 1122A transmits necessary information of the output page to the paper document output processing unit, and performs page registration (step S1605).

そして、出力ページオブジェクト1122Aは、出力レイアウトオブジェクト1123Aにより定められる出力ページに当てはめられる出力画像の数だけ、出力画像オブジェクト1124Aを生成し、生成された出力画像オブジェクト1124Aの出力開始()1124aを呼び出して、出力画像オブジェクト1124Aに出力画像の出力処理の開始を要求する(ステップS1606)。   Then, the output page object 1122A generates as many output image objects 1124A as the number of output images applied to the output page determined by the output layout object 1123A, and calls the output start () 1124a of the generated output image object 1124A. The output image object 1124A is requested to start output processing of the output image (step S1606).

次に、出力画像オブジェクト1124Aは、出力開始()1124aの引数として受け渡された情報、例えばページ番号やページ内で何番目の出力画像か等の情報により対応関係が特定されるユーザ画像オブジェクト1103Aの利用()1103bを呼び出す(ステップS1607)。すると、ユーザ画像オブジェクト1103Aが、対応する画像情報を出力画像オブジェクト1124Aに送信する(ステップS1608)。その際、ユーザ画像オブジェクト1103Aは、予め送信する画像情報で特定される画像の実体に対して、出力レイアウトに当てはまるよう拡大あるいは縮小などの加工処理を行う必要がある。これにより出力画像オブジェクト1124Aは画像の実体を保持することができる。   Next, the output image object 1124A is a user image object 1103A whose correspondence is specified by information passed as an argument of the output start () 1124a, for example, information such as the page number or the number of the output image in the page. Use () 1103b is called (step S1607). Then, the user image object 1103A transmits corresponding image information to the output image object 1124A (step S1608). At that time, the user image object 1103A needs to perform processing such as enlargement or reduction on the substance of the image specified by the image information transmitted in advance so as to be applicable to the output layout. As a result, the output image object 1124A can hold the entity of the image.

そして、出力画像オブジェクト1124Aは、受信した出力画像の実体を、紙文書出力処理部に出力処理を開始する(ステップS1609)。次に、出力処理が終了した場合、出力画像オブジェクト1124Aは、出力ページオブジェクト1122Aの終了通知()1122cを呼び出して、画像処理を終了する(ステップS1610)。なお、このステップS1607〜ステップS1610での処理は生成された出力画像オブジェクト1124A毎に行われる。   Then, the output image object 1124A starts outputting the received output image substance to the paper document output processing unit (step S1609). Next, when the output process ends, the output image object 1124A calls the end notification () 1122c of the output page object 1122A, and ends the image process (step S1610). Note that the processing in steps S1607 to S1610 is performed for each generated output image object 1124A.

次に、出力ページオブジェクト1122Aは、生成した全ての出力画像オブジェクト1124Aから画像処理が終了したことを受信した場合、出力紙ドキュメントオブジェクト1126Aの終了通知()1121dを呼び出して、ページの処理が終了したことを通知する(ステップS1611)。   Next, when the output page object 1122A receives the completion of image processing from all the generated output image objects 1124A, the output page object 1122A calls the end notification () 1121d of the output paper document object 1126A, and the page processing is completed. This is notified (step S1611).

そして、出力紙ドキュメントオブジェクト1126Aは、生成した全ての出力ページオブジェクト1122Aからページの処理が終了した旨を受け取った場合、出力する画像全て送信したことを示すメッセージを紙文書出力処理部に送信してから、ユーザドキュメントオブジェクト1102Aの終了通知()1102fを呼び出して、紙文書の出力処理が終了したことを通知する(ステップS1612)。これにより紙文書出力処理部から、プロッタ151bから紙文書の出力処理が実行されることになる。   When the output paper document object 1126A receives information indicating that the page processing has been completed from all the generated output page objects 1122A, the output paper document object 1126A transmits a message indicating that all the output images have been transmitted to the paper document output processing unit. Then, the end notification () 1102f of the user document object 1102A is called to notify that the output processing of the paper document has ended (step S1612). As a result, the paper document output processing unit executes the paper document output processing from the plotter 151b.

そして、ユーザドキュメントオブジェクト1102Aは、紙文書の出力処理が終了した旨を示した通知を受信した場合、図17のステップS1503で生成していた出力LSドキュメントオブジェクト1127Aの出力開始()1121bを呼び出して、出力開始を要求する(ステップS1613)。この出力開始()1121bで呼び出された際に、出力LSドキュメントオブジェクト1127Aのページ数1121aが設定される。   When the user document object 1102A receives a notification indicating that the output processing of the paper document is completed, the user document object 1102A calls the output start () 1121b of the output LS document object 1127A generated in step S1503 in FIG. The output start is requested (step S1613). When this output start () 1121b is called, the page number 1121a of the output LS document object 1127A is set.

出力LSドキュメントオブジェクト1127Aは、文書蓄積処理部に出力する電子文書のファイル名等を送信して、文書蓄積処理部にローカルストレージに保存する電子文書を登録する(ステップS1614)。   The output LS document object 1127A transmits the file name of the electronic document to be output to the document storage processing unit, and registers the electronic document to be stored in the local storage in the document storage processing unit (step S1614).

そして、出力LSドキュメントオブジェクト1127Aは、ページ数1121aの数だけ出力ページオブジェクト1122Aを生成し、生成された出力ページオブジェクト1122Aの出力開始()1122bを呼び出して、電子文書のページ毎の出力処理の開始を要求する(ステップS1615)。   Then, the output LS document object 1127A generates as many output page objects 1122A as the number of pages 1121a, calls the output start () 1122b of the generated output page object 1122A, and starts output processing for each page of the electronic document. Is requested (step S1615).

また、ステップS1615で生成された出力ページオブジェクト1122Aは、出力LSドキュメントオブジェクト1127Aに集約される関係にあるのに対し、ステップS1603で生成された出力ページオブジェクト1122Aは、出力紙ドキュメントオブジェクト1126Aに集約される関係にある点で異なる。さらに後述する処理で生成される出力レイアウトオブジェクト1123A、出力画像オブジェクト1124Aは、出力LSドキュメントオブジェクト1127Aに集約される出力ページオブジェクト1122Aに集約される関係にあり、上述した出力レイアウトオブジェクト1123A、出力画像オブジェクト1124Aとは集約される対象が異なるオブジェクトとする。   Further, the output page object 1122A generated in step S1615 has a relationship to be aggregated in the output LS document object 1127A, whereas the output page object 1122A generated in step S1603 is aggregated in the output paper document object 1126A. It is different in that there is a relationship. Further, the output layout object 1123A and the output image object 1124A generated by the processing described later are in a relationship aggregated in the output page object 1122A that is aggregated in the output LS document object 1127A. The object to be aggregated is different from 1124A.

次に、出力ページオブジェクト1122Aは、ページの出力処理を開始する。まずは、ユーザにより入力された形式で出力するために、出力レイアウトオブジェクト1123Aを生成し、生成された出力レイアウトオブジェクト1123Aのレイアウト作成()1123aを呼び出し、ユーザにより入力された形式で出力するために最適な属性値を、生成された出力レイアウトオブジェクト1123Aの属性に設定する(ステップS1616)。   Next, the output page object 1122A starts a page output process. First, in order to output in the format input by the user, an output layout object 1123A is generated, the layout creation () 1123a of the generated output layout object 1123A is called, and it is optimal for output in the format input by the user The attribute value is set to the attribute of the generated output layout object 1123A (step S1616).

そして、出力レイアウトオブジェクト1123Aは、当てはめられる出力画像の数やレイアウトについて出力先のコンピュータに送信する情報を、出力ページオブジェクト1122Aにメッセージとして送信する。そして、出力ページオブジェクト1122Aは、出力ページの必要な情報を文書蓄積処理部に送信して、ページ登録を行う(ステップS1617)。   Then, the output layout object 1123A transmits information to be transmitted to the output destination computer regarding the number and layout of output images to be applied to the output page object 1122A as a message. Then, the output page object 1122A transmits necessary information of the output page to the document accumulation processing unit and performs page registration (step S1617).

そして、出力ページオブジェクト1122Aは、出力レイアウトオブジェクト1123Aにより定められる出力ページに当てはめられる出力画像の数だけ、出力画像オブジェクト1124Aを生成し、生成された出力画像オブジェクト1124Aの出力開始()1124aを呼び出して、出力画像オブジェクト1124Aに出力画像の出力処理の開始を要求する(ステップS1618)。   Then, the output page object 1122A generates as many output image objects 1124A as the number of output images applied to the output page determined by the output layout object 1123A, and calls the output start () 1124a of the generated output image object 1124A. The output image object 1124A is requested to start output processing of the output image (step S1618).

次に、出力画像オブジェクト1124Aは、出力開始()1124aの引数として受け渡された情報、例えばページ番号やページ内で何番目の出力画像か等の情報により対応関係が特定されるユーザ画像オブジェクト1103Aの利用()1103bを呼び出す(ステップS1619)。すると、ユーザ画像オブジェクト1103Aが、対応する画像情報を出力画像オブジェクト1124Aに送信する(ステップS1620)。その際、ユーザ画像オブジェクト1103Aは、予め送信する画像情報で特定される画像の実体に対して、出力レイアウトに当てはまるよう拡大あるいは縮小などの加工処理を行う必要がある。これにより出力画像オブジェクト1124Aは画像の実体を保持することができる。   Next, the output image object 1124A is a user image object 1103A whose correspondence is specified by information passed as an argument of the output start () 1124a, for example, information such as the page number or the number of the output image in the page. Use () 1103b is called (step S1619). Then, the user image object 1103A transmits corresponding image information to the output image object 1124A (step S1620). At that time, the user image object 1103A needs to perform processing such as enlargement or reduction on the substance of the image specified by the image information transmitted in advance so as to be applicable to the output layout. As a result, the output image object 1124A can hold the entity of the image.

そして、出力画像オブジェクト1124Aは、受信した出力画像の実体を、文書蓄積処理部に出力処理を開始する(ステップS1621)。次に、出力処理が終了した場合、出力画像オブジェクト1124Aは、出力ページオブジェクト1122Aの終了通知()1122cを呼び出して、画像処理を終了する(ステップS1622)。なお、このステップS1619〜ステップS1622までの処理は生成された出力画像オブジェクト1124A毎に行われる。   Then, the output image object 1124A starts output processing of the substance of the received output image to the document storage processing unit (step S1621). Next, when the output process ends, the output image object 1124A calls the end notification () 1122c of the output page object 1122A, and ends the image process (step S1622). Note that the processing from step S1619 to step S1622 is performed for each generated output image object 1124A.

次に、出力ページオブジェクト1122Aは、生成した全ての出力画像オブジェクト1124Aから画像処理が終了したことを受信した場合、出力LSドキュメントオブジェクト1127Aの終了通知()1121dを呼び出して、ページの処理が終了したことを通知する(ステップS1623)。   Next, when the output page object 1122A receives the completion of image processing from all the generated output image objects 1124A, the output page object 1122A calls the end notification () 1121d of the output LS document object 1127A, and the processing of the page is completed. This is notified (step S1623).

そして、出力LSドキュメントオブジェクト1127Aは、生成した全ての出力ページオブジェクト1122Aからページの処理が終了した旨を受け取った場合、出力する画像全て送信したことを示すメッセージを文書蓄積処理部に送信してから、ユーザドキュメントオブジェクト1102Aの終了通知()1102fを呼び出して、電子文書のローカルストレージ上への出力処理が終了したことを通知する(ステップS1624)。これにより文書蓄積処理部からローカルストレージ上に電子文書が保存される。   When the output LS document object 1127A receives a message indicating that the page processing has been completed from all the generated output page objects 1122A, the output LS document object 1127A transmits a message indicating that all output images have been transmitted to the document storage processing unit. Then, the end notification () 1102 f of the user document object 1102 A is called to notify that the output processing of the electronic document to the local storage has ended (step S 1624). As a result, the electronic document is stored in the local storage from the document storage processing unit.

そして、ユーザドキュメントオブジェクト1102Aは、出力処理が終了したものとして、生成した入力紙ドキュメントオブジェクト1116A、入力LSドキュメントオブジェクト1117A、出力紙ドキュメントオブジェクト1126A、出力LSドキュメントオブジェクト1127Aを削除して処理を終了する。   Then, the user document object 1102A deletes the generated input paper document object 1116A, input LS document object 1117A, output paper document object 1126A, and output LS document object 1127A, and ends the processing, assuming that the output processing has ended.

上述した処理手順により、生成されたユーザ画像から紙文書及び電子文書を出力処理することが可能になる。なお、上述した処理手順は、本実施の形態による出力処理の一例を示したものであり、本発明をこの処理手順に制限するものではない。例えば、紙文書あるいは電子文書のどちらか一方のみ出力処理を行っても良い。他の例としては、紙文書とネットワーク上に電子文書を出力処理、ローカルストレージ上の電子文書とネットワーク上の電子文書の出力処理、あるいは紙文書とローカルストレージ上の電子文書とネットワーク上の電子文書の全てを出力処理しても良い。   With the processing procedure described above, it becomes possible to output a paper document and an electronic document from the generated user image. The above-described processing procedure shows an example of the output processing according to this embodiment, and the present invention is not limited to this processing procedure. For example, only one of the paper document and the electronic document may be output. Other examples include output processing of paper documents and electronic documents on the network, output processing of electronic documents on the local storage and electronic documents on the network, or paper documents and electronic documents on the local storage and electronic documents on the network. All of these may be output.

上述した図17及び図18のシーケンス図で示したように、本実施の形態では、文書処理を行うにあたり、ドキュメント操作スケジューラクラス1101と、ユーザドキュメントクラス1102と、入力ドキュメントクラス1111及びこのサブクラスと、入力ページクラス1112と、入力レイアウトクラス1113と、入力画像クラス1114と、出力ドキュメントクラス1121とこのサブクラスと、出力ページクラス1122と、出力画像クラス1124と、出力レイアウトクラス1123と、ユーザ画像クラス1103とから構成され、各クラスから生成されたオブジェクトで文書の入力処理から出力処理までを行うことでユーザの要求に応じた加工処理が容易となる。また、オブジェクト指向設計により、かかるドキュメントハンドリング部212の仕組みを構築し、図7で示したような概念に基づいてオブジェクトモデリングをおこない、文書処理に必要なクラスとして上述したクラスを用いることで、かかるドキュメントハンドリング部212を実現したので、ソフトウェア開発者やソフトウェア保守要員が、ドキュメントハンドリング部212の構成と役割を容易に把握することができるとともに、汎用性及び信頼性の高い文書処理を行うことができる。   As shown in the sequence diagrams of FIG. 17 and FIG. 18 described above, in this embodiment, when performing document processing, a document operation scheduler class 1101, a user document class 1102, an input document class 1111 and its subclass, An input page class 1112, an input layout class 1113, an input image class 1114, an output document class 1121, this subclass, an output page class 1122, an output image class 1124, an output layout class 1123, and a user image class 1103 By performing from document input processing to output processing with objects generated from each class, processing according to the user's request is facilitated. Further, by constructing the mechanism of the document handling unit 212 by object-oriented design, performing object modeling based on the concept as shown in FIG. 7, and using the above-described classes as classes necessary for document processing, Since the document handling unit 212 is realized, the software developer and software maintenance personnel can easily grasp the configuration and role of the document handling unit 212 and can perform document processing with high versatility and reliability. .

なお、本実施の形態の画像形成装置で実行される文書処理プログラムは、インストール可能な形式または実行可能な形式のファイルでCD−ROM(Compact Disc Read Only Memory)、フレキシブルディスク(FD)、CD−R(CD Recordable)、DVD(Digital Versatile Disk)などのコンピュータで読み取り可能な記録媒体に記録して提供するよう構成してもよい。この場合、CPU11が上記記録媒体から、文書処理プログラムを読み出してMEM−P12上にロードすることで、画像形成装置に、上述した各ステップ、各手段または各部を実現させる。   The document processing program executed by the image forming apparatus according to the present embodiment is a file in an installable format or an executable format and is a CD-ROM (Compact Disc Read Only Memory), a flexible disc (FD), a CD- You may comprise so that it may record and provide on computer-readable recording media, such as R (CD Recordable) and DVD (Digital Versatile Disk). In this case, the CPU 11 reads out the document processing program from the recording medium and loads it onto the MEM-P 12, thereby causing the image forming apparatus to realize each step, each unit, or each unit described above.

また、文書処理プログラムを、インターネットなどのネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するよう構成してもよい。さらに、かかる文書処理プログラムをインターネットなどのネットワーク経由で提供または配布するようにしてもよい。   Further, the document processing program may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Further, such a document processing program may be provided or distributed via a network such as the Internet.

上述した構成は、本発明の文書処理装置、画像形成装置及び文書処理プログラムの一例を示したものであり、上述した構成に制限するものではない。   The configuration described above is an example of the document processing apparatus, the image forming apparatus, and the document processing program of the present invention, and is not limited to the configuration described above.

また、本実施の形態を、ドキュメントを「紙」ドキュメント、「ネット」ドキュメント及び「LS」ドキュメントに制限するものではなく、光あるいは磁気(CD−ROM/RAM、DVD―ROM/RAM、磁気テープ、フレキシブルディスク、スマートカード、光磁気ディスク)、赤外線(IrDA等)、音声などでも良い。   Further, the present embodiment is not limited to a “paper” document, a “net” document, and an “LS” document, but optical or magnetic (CD-ROM / RAM, DVD-ROM / RAM, magnetic tape, A flexible disk, smart card, magneto-optical disk), infrared (IrDA, etc.), voice, or the like may be used.

本実施の形態のドキュメントハンドリング部212は、入力元及び出力先によらず処理を共通化したので、入力元及び出力先に応じたアプリケーションを作成する必要が無くなり、ソフトウェアを作成する負担を軽減することができる。そして、アプリケーションの概念を廃したことで利用者が使用する際に手順が従来の手順と異なるが、本実施の形態で示すようにユーザ要求1102a、入力ドキュメントの種類1102b、出力ドキュメントの種類1102cを対応付けて保持しているため、どのようなユーザの要望であっても予め対応関係を保持することで入力ドキュメントクラス1111のサブクラス及び出力ドキュメントクラス1121のサブクラスを特定できるので、利用者に対してどのようなインターフェースでも提供できるので、利用者の利便性が向上する。   Since the document handling unit 212 of the present embodiment shares the processing regardless of the input source and the output destination, it is not necessary to create an application according to the input source and the output destination, and the burden of creating software is reduced. be able to. Then, although the procedure is different from the conventional procedure when the user uses it because the concept of the application is abolished, the user request 1102a, the input document type 1102b, and the output document type 1102c are changed as shown in the present embodiment. Since it is held in association with each other, it is possible to specify the subclass of the input document class 1111 and the subclass of the output document class 1121 by holding the correspondence relationship in advance for any user request. Since any interface can be provided, user convenience is improved.

そして、本実施の形態のドキュメントハンドリング部212は、オブジェクト毎に分割して設計し、上述した構成を備えることとした。これによりプログラムの変更が生じた場合、該当するクラスのみ変更を加えればよい。このため従来は機能が拡張されると設計者の作業量もこれに比例していたが、上述した構成を備えたことで作業量が低減される。   The document handling unit 212 according to the present embodiment is designed to be divided for each object and has the above-described configuration. If this causes a program change, only the corresponding class needs to be changed. For this reason, conventionally, when the function is expanded, the work amount of the designer is proportional to this, but the work amount is reduced by providing the above-described configuration.

また、従来の文書処理を行う部分は、アプリケーション毎に設計されていたが、上述した構成を備えたことでアプリケーション毎という概念が無くなったため、設計の効率が向上した。また、アプリケーション毎に文書処理を行う場合では、出力先毎に同じ設定を行ったにもかかわらず、アプリケーション毎の処理の違いにより、出力先毎にレイアウトが異なる(より詳細な例としてはヘッダまたはフッタの間隔が異なる)文書が出力されるという問題があった。しかし、本実施の形態にかかるドキュメントハンドリング部212は、上述した構成を備えることでアプリケーション毎に処理を行うという概念が無くなったため、異なるレイアウトの文書が出力されるという問題を解消し、信頼性が向上した。   In addition, the conventional document processing part is designed for each application. However, the provision of the above-described configuration eliminates the concept of each application, thereby improving the design efficiency. In addition, when document processing is performed for each application, the layout differs for each output destination due to processing differences for each application even though the same setting is made for each output destination (for more detailed examples, headers or There was a problem that a document with a different footer interval was output. However, since the document handling unit 212 according to the present embodiment has the above-described configuration, the concept of performing processing for each application is eliminated, so that the problem that a document with a different layout is output is solved and reliability is improved. Improved.

上述した構成を備えることで、入力元あるいは出力先が増加した場合、従来はアプリケーション毎に入力元あるいは出力先に関する機能を追加する必要があったが、本発明により入力元あるいは出力先に相当する入力ドキュメントクラス1111あるいは出力ドキュメントクラス1121のサブクラスを追加するだけで機能の拡張が可能となる。これにより新機能追加した場合の作業量が低減することとなる。さらにその際に、ユーザドキュメントオブジェクト1102Aが保持しているユーザ要求1102aと入力ドキュメントの種類1102bと出力ドキュメントの種類1102cの対応関係を修正することで、優勢下対応関係におけるユーザ要求1102aに対応した表示をインターフェースに追加することで、機能を拡張した際に利用者が混乱しないインターフェースを提供できる。   By providing the above-described configuration, when the number of input sources or output destinations increases, conventionally, it has been necessary to add a function related to the input source or output destination for each application. However, the present invention corresponds to the input source or the output destination. The function can be expanded only by adding a subclass of the input document class 1111 or the output document class 1121. This reduces the amount of work when a new function is added. Further, at this time, by correcting the correspondence between the user request 1102a, the input document type 1102b, and the output document type 1102c held by the user document object 1102A, the display corresponding to the user request 1102a in the prevailing correspondence By adding to the interface, it is possible to provide an interface that does not disrupt the user when the function is expanded.

以上のように、本発明にかかる文書処理装置、画像形成装置及び文書処理プログラムは、文書処理を共通化する技術として有用であり、特に、文書処理を共通化した際に利用者に適した文書処理についてのインターフェースを提供する技術に適している。   As described above, the document processing apparatus, the image forming apparatus, and the document processing program according to the present invention are useful as a technique for sharing document processing, and are particularly suitable for users when document processing is shared. It is suitable for technology that provides an interface for processing.

実施の形態に係る複合機を取り巻くネットワーク環境を説明するためのネットワーク図である。1 is a network diagram for explaining a network environment surrounding a multifunction peripheral according to an embodiment. 実施の形態に係る複合機のハードウェア構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of a multifunction machine according to an embodiment. 実施の形態に係る複合機のソフトウェアとハードウェアの関係を説明するための概念図である。FIG. 3 is a conceptual diagram for explaining a relationship between software and hardware of a multifunction machine according to an embodiment. 実施の形態に係る複合機の操作パネルの一例を示した図である。FIG. 3 is a diagram illustrating an example of an operation panel of the multifunction peripheral according to the embodiment. 実施の形態に係る複合機の統合アプリケーションの内部構成、及び統合アプリケーション内におけるドキュメントハンドリング部の位置を示す説明図である。3 is an explanatory diagram illustrating an internal configuration of an integrated application of the multifunction peripheral according to the embodiment and a position of a document handling unit in the integrated application. FIG. 実施の形態に係る複合機の統合アプリケーションの内部構成として示した各サブシステムについてのUMLクラス図である。It is a UML class diagram about each subsystem shown as an internal structure of the integrated application of the multifunctional device which concerns on embodiment. 実施の形態に係る複合機が有するドキュメントハンドリング部で行われる処理の概念を示した概念図である。3 is a conceptual diagram illustrating a concept of processing performed in a document handling unit included in the multifunction peripheral according to the embodiment. FIG. 実施の形態において入力ドキュメント及び出力ドキュメントを管理するための構成の概念を示した概念図である。It is the conceptual diagram which showed the concept of the structure for managing an input document and an output document in embodiment. 実施の形態に係る文書処理で用いられる入力ドキュメントからユーザドキュメント、そして出力ドキュメントまでの構成の変化を示した説明図である。It is explanatory drawing which showed the change of the structure from the input document used by the document processing which concerns on embodiment to a user document, and an output document. 実施の形態に係る複合機の利用者からの要求から入力元及び出力先が決定されるまでの処理の概念を示した概念図である。FIG. 5 is a conceptual diagram illustrating a concept of processing from a request from a user of a multifunction peripheral according to an embodiment to determination of an input source and an output destination. オブジェクトモデリングにより設計されたドキュメントハンドリング部のクラス構成をUMLのクラスで示した図である。It is the figure which showed the class structure of the document handling part designed by object modeling by the class of UML. 実施の形態に係るユーザドキュメントクラスが保持するユーザ要求、入力ドキュメントの種類、出力ドキュメントの種類の対応付けの一例を示した図である。It is the figure which showed an example of matching with the user request | requirement which the user document class which concerns on embodiment hold | maintains, the kind of input document, and the kind of output document. 操作パネルのコピーサーバーキーを押下した場合に表示される液晶タッチパネルの画面例を示した図である。It is the figure which showed the example of a screen of the liquid crystal touch panel displayed when the copy server key of an operation panel is pressed. 操作パネルのスキャナキーを押下した場合に表示される液晶タッチパネルの画面例を示した図である。It is the figure which showed the example of a screen of the liquid crystal touch panel displayed when the scanner key of an operation panel is pressed down. 本実施の形態の変形例における表示される液晶タッチパネルの画面例を示した図である。It is the figure which showed the example of a screen of the liquid crystal touch panel displayed in the modification of this Embodiment. 実施の形態に係るドキュメントハンドリング部において「2 in 1」の入力ドキュメントから「4 in 1」の出力ドキュメントを生成するまでの工程を示した説明図である。It is explanatory drawing which showed the process until it produces | generates the output document of "4 in 1" from the input document of "2 in 1" in the document handling part which concerns on embodiment. 実施の形態に係るドキュメントハンドリング部が紙文書と、ローカルストレージ上に記憶されていた電子文書を入力処理するまでの処理手順を示すUMLシーケンス図である。It is a UML sequence diagram showing a processing procedure until the document handling unit according to the embodiment inputs a paper document and an electronic document stored in the local storage. 実施の形態に係るドキュメントハンドリング部が紙文書と、ローカルストレージ上に記憶されていた電子文書を出力処理するまでの処理手順を示すUMLシーケンス図である。It is a UML sequence diagram showing a processing procedure until the document handling unit according to the embodiment outputs a paper document and an electronic document stored on the local storage. 従来の複合機においてアプリケーション毎に有するジョブの種類を示した説明図である。FIG. 10 is an explanatory diagram showing job types for each application in a conventional multifunction peripheral. 従来の複合機においてアプリケーション毎に備えられたジョブを入力と出力により分類した説明図である。FIG. 10 is an explanatory diagram in which jobs provided for each application in a conventional multifunction peripheral are classified by input and output. 複合機に搭載されるソフトウェア構成の変遷を説明するための説明図である。FIG. 6 is an explanatory diagram for explaining a transition of a software configuration installed in a multifunction peripheral. 従来の複合機のソフトウェアとハードウェアの関係を説明するための説明図である。It is explanatory drawing for demonstrating the relationship between the software of the conventional multifunction peripheral, and hardware.

符号の説明Explanation of symbols

1 複合機
10 コントローラ
11 CPU
12 システムメモリ(MEM−P)
12a ROM
12b RAM
13 ノースブリッジ(NB)
14 サウスブリッジ(SB)
15 AGPバス
16 ASIC
17 ローカルメモリ(MEM−C)
18 ハードディスクドライブ(HDD)
20 操作部
30 FCU
40 USB
50 IEEE1394インターフェース
60 エンジン部
100、100A ソフトウェア
101、101A アプリケーション層
102 サービス層
102a スキャナ制御部
102b プロッタ制御部
102c 蓄積制御部
102d 配信/メール送受信制御部
102e FAX送受信制御部
102f ネットワーク通信制御部
102g その他の制御部
103 オペレーティングシステム
110 統合アプリケーション
121 コピーアプリケーション
122 スキャナアプリケーション
123 ファックスアプリケーション
124 プリンタアプリケーション
150 ハードウェア
151 ハードウェアリソース
151a スキャナ
151b プロッタ
151c HDD
151d ネットワーク
151e その他のリソース
201 操作系サブシステム
202 管理系サブシステム
203 実行系サブシステム
211 リクエスト管理部
212 ドキュメントハンドリング部
213 実行制御部
400 操作パネル
401 初期設定キー
402 コピーキー
403 コピーサーバーキー
404 プリンタキー
405 送信キー
406 テンキー
407 クリア/ストップキー
408 スタートキー
409 予熱キー
410 リセットキー
411 スキャナキー
420 液晶タッチパネル
1101 ドキュメント操作スケジューラクラス
1101a 登録()
1101A ドキュメント操作スケジューラオブジェクト
1102 ユーザドキュメントクラス
1102a ユーザ要求
1102b 入力ドキュメントの種類
1102c 出力ドキュメントの種類
1102d 入出力のタイミング
1102e 開始()
1102f 終了通知()
1102A ユーザドキュメントオブジェクト
1103 ユーザ画像クラス
1103a 作成()
1103b 利用()
1103A ユーザ画像オブジェクト
1111 入力ドキュメントクラス
1111a ページ数
1111b 入力開始()
1111c ページ追加()
1111d 終了通知()
1112 入力ページクラス
1112a ページ番号
1112b 入力開始()
1112c 終了通知()
1112A 入力ページオブジェクト
1113 入力レイアウトクラス
1113a レイアウト作成()
1113A 入力レイアウトオブジェクト
1114 入力画像クラス
1114a 入力開始()
1114A 入力画像オブジェクト
1115 入力ネットドキュメントクラス
1115A 入力ネットドキュメントオブジェクト
1116 入力紙ドキュメントクラス
1116a 用紙枚数
1116b 次原稿有無確認()
1116A 入力紙ドキュメントオブジェクト
1117 入力LSドキュメントクラス
1117A 入力LSドキュメントオブジェクト
1121 出力ドキュメントクラス
1121a ページ数
1121b 出力開始()
1121c ページ追加()
1121d 終了通知()
1122 出力ページクラス
1122a ページ番号
1122b 出力開始()
1122c 終了通知()
1122A 出力ページオブジェクト
1123 出力レイアウトクラス
1123a レイアウト作成()
1123A 出力レイアウトオブジェクト
1124 出力画像クラス
1124a 出力開始()
1124A 出力画像オブジェクト
1125 出力ネットドキュメントクラス
1125A 出力ネットドキュメントオブジェクト
1126 出力紙ドキュメントクラス
1126A 出力紙ドキュメントオブジェクト
1127 出力LSドキュメントクラス
1127A 出力LSドキュメントオブジェクト
1301 「文書名」欄
1302 「原稿の読み取り」ボタン
1401 送信者表示欄
1402 「蓄積文書」ボタン
1801 サービス層分離前アプリケーション
1802 サービス層分離後アプリケーション
1803 共通ルーチン分離アプリケーション
1804 オブジェクト指向アプリケーション
1 MFP 10 Controller 11 CPU
12 System memory (MEM-P)
12a ROM
12b RAM
13 North Bridge (NB)
14 South Bridge (SB)
15 AGP bus 16 ASIC
17 Local memory (MEM-C)
18 Hard disk drive (HDD)
20 Operation unit 30 FCU
40 USB
50 IEEE 1394 interface 60 Engine unit 100, 100A Software 101, 101A Application layer 102 Service layer 102a Scanner control unit 102b Plotter control unit 102c Storage control unit 102d Distribution / mail transmission / reception control unit 102e FAX transmission / reception control unit 102f Network communication control unit 102g Other Control unit 103 Operating system 110 Integrated application 121 Copy application 122 Scanner application 123 Fax application 124 Printer application 150 Hardware 151 Hardware resource 151a Scanner 151b Plotter 151c HDD
151d Network 151e Other Resources 201 Operation Subsystem 202 Management Subsystem 203 Execution Subsystem 211 Request Management Unit 212 Document Handling Unit 213 Execution Control Unit 400 Operation Panel 401 Initial Setting Key 402 Copy Key 403 Copy Server Key 404 Printer Key 405 Transmission key 406 Numeric keypad 407 Clear / stop key 408 Start key 409 Preheating key 410 Reset key 411 Scanner key 420 LCD touch panel 1101 Document operation scheduler class 1101a Registration ()
1101A Document operation scheduler object 1102 User document class 1102 a User request 1102 b Input document type 1102 c Output document type 1102 d Input / output timing 1102 e Start ()
1102f End notification ()
1102A User document object 1103 User image class 1103a Create ()
1103b Use ()
1103A User image object 1111 Input document class 1111a Number of pages 1111b Start input ()
1111c Add page ()
1111d End notification ()
1112 Input page class 1112a Page number 1112b Start input ()
1112c End notification ()
1112A Input page object 1113 Input layout class 1113a Layout creation ()
1113A input layout object 1114 input image class 1114a input start ()
1114A Input Image Object 1115 Input Net Document Class 1115A Input Net Document Object 1116 Input Paper Document Class 1116a Number of Sheets 1116b Check for Next Document ()
1116A Input paper document object 1117 Input LS document class 1117A Input LS document object 1121 Output document class 1121a Number of pages 1121b Start output ()
1121c Add page ()
1121d End notification ()
1122 Output page class 1122a Page number 1122b Start output ()
1122c End notification ()
1122A Output page object 1123 Output layout class 1123a Layout creation ()
1123A Output layout object 1124 Output image class 1124a Output start ()
1124A output image object 1125 output net document class 1125A output net document object 1126 output paper document class 1126A output paper document object 1127 output LS document class 1127A output LS document object 1301 “document name” field 1302 “read original” button 1401 Display field 1402 “Stored document” button 1801 Application before service layer separation 1802 Application after service layer separation 1803 Common routine separation application 1804 Object-oriented application

Claims (5)

文書情報を入力処理する入力手段及び文書情報を出力処理する出力手段を複数備えた文書処理装置において、
制御する対象となる前記入力手段毎に対応付けられ、予め定められた形式に変換された文書情報複数個生成、管理を行うことを可能とする入力文書手段と、
前記入力文書手段が管理する前記入力文書情報について、ページ毎の情報を管理する入力ページ手段と、
前記入力ページ手段が管理するページ毎に、当該ページのレイアウトを定める入力枠情報を生成し、管理する入力レイアウト手段と、
前記入力ページ手段が管理するページ毎に、前記入力レイアウト手段が管理する前記入力枠情報に従って、当該ページに当てはめられる入力画像を、入力処理された入力文書から生成し、当該入力画像を複数管理可能な入力画像手段と、
前記入力画像手段が管理する前記入力画像から、1ページを構成することが可能な領域毎の利用者画像を取得し、取得した前記利用者画像を複数管理可能な利用者画像手段と、
制御する対象となる前記出力手段毎に対応付けられ、前記利用者画像手段が管理する利用者画像に基づいて出力処理される文書情報複数個生成、管理を行うことを可能とする出力文書手段と、
利用者から受け付ける文書処理の要求を示した要求情報と、前記入力手段毎に対応付けられた前記入力文書手段を制御するか否かを示す入力文書制御情報と、前記出力手段毎に対応付けられた前記出力文書手段を制御するか否かを示す出力文書制御情報と、を対応付けて管理して、利用者から要求情報を受け付けた場合、受け付けた該要求情報と該対応付けから制御する前記入力文書手段及び前記出力文書手段を特定し、特定された前記入力文書手段及び前記出力文書手段を生成して制御を行う利用者文書手段と、
を備えたことを特徴とする文書処理装置。
In a document processing apparatus provided with a plurality of input means for input processing of document information and output means for output processing of document information,
An input document means that is capable of generating and managing a plurality of pieces of document information associated with each input means to be controlled and converted into a predetermined format;
For the input document information managed by the input document means, input page means for managing information for each page;
For each page managed by the input page means, an input layout means for generating and managing input frame information defining the layout of the page; and
For each page managed by the input page means, in accordance with the input frame information managed by the input layout means, an input image to be applied to the page can be generated from the input processed input document, and a plurality of the input images can be managed. Input image means,
User images for each area that can constitute one page are acquired from the input images managed by the input image means, and user image means capable of managing a plurality of the acquired user images;
Associated with each of the output means to be controlled, the user image unit plurality generates document information output process based on the user image is managed output document means making it possible to manage When,
Request information indicating a document processing request received from a user, input document control information indicating whether or not to control the input document means associated with each input means, and correspondence with each output means the output and output document control information indicating whether to control the document means, and manages association was, when receiving a user or RaKaname determined information, received該要 determined information and the said association Identifying the input document means and the output document means to be controlled from, and generating the specified input document means and the output document means to control the user document means,
A document processing apparatus comprising:
前記入力文書手段が有する機能を含み、紙文書を入力処理する入力紙文書手段と、
前記入力文書手段が有する機能を含み、記憶媒体に記憶された電子文書を入力処理する入力電子文書手段と、
前記入力文書手段が有する機能を含み、電子文書を通信回線から入力処理する入力通信文書手段と、を備え、
前記利用者文書手段は、利用者から受け付ける文書処理の要求情報と前記入力紙文書手段を制御するか否かを示す入力紙文書制御情報と前記入力電子文書手段を制御するか否かを示す入力電子文書制御情報と前記入力通信文書手段を制御するか否かを示す入力通信文書制御手段とを対応付けて管理して、前記利用者要求情報を受け付けた場合、前記利用者要求情報と該対応付けから、制御する前記入力紙文書手段、前記入力電子文書手段及び前記入力通信文書手段のいずれか1つ又は複数を特定してから制御を行うこと
を特徴とする請求項1に記載の文書処理装置。
An input paper document unit that includes a function of the input document unit and that processes a paper document;
An input electronic document means that includes the function of the input document means, and that processes an electronic document stored in a storage medium;
An input communication document means that includes the function of the input document means and that processes an electronic document from a communication line;
The user document means receives document processing request information received from a user, input paper document control information indicating whether or not to control the input paper document means, and input indicating whether or not to control the input electronic document means. When electronic document control information is managed in association with input communication document control means indicating whether or not to control the input communication document means, and when the user request information is received, the user request information and the correspondence 2. The document processing according to claim 1, wherein control is performed after specifying any one or more of the input paper document unit, the input electronic document unit, and the input communication document unit to be controlled. apparatus.
前記出力文書手段が有する機能を含み、紙文書として出力処理する出力紙文書手段と、
前記出力文書手段が有する機能を含み、記憶媒体に電子文書を出力処理する出力電子文書手段と、
前記出力文書手段が有する機能を含み、電子文書を通信回線へ出力処理する出力通信文書手段と、を備え、
前記利用者文書手段は、利用者から受け付ける文書処理の要求情報と前記出力紙文書手段を制御するか否かを示す出力紙文書制御情報と前記出力電子文書手段を制御するか否かを示す出力電子文書制御情報と前記出力通信文書手段を制御するか否かを示す出力通信文書制御情報とを対応付けて管理して、前記利用者要求情報を受け付けた場合、前記利用者要求情報と該対応付けから、制御する前記出力紙文書手段、前記出力電子文書手段及び前記出力通信文書手段のいずれか1つ又は複数を特定してから制御を行うこと
を特徴とする請求項1又は2に記載の文書処理装置。
An output paper document unit that includes the function of the output document unit and outputs the paper document;
An output electronic document unit that includes the function of the output document unit and outputs the electronic document to a storage medium;
An output communication document means that includes the function of the output document means, and outputs the electronic document to a communication line;
The user document means receives document processing request information received from a user, output paper document control information indicating whether or not to control the output paper document means, and output indicating whether or not to control the output electronic document means. When electronic document control information and output communication document control information indicating whether to control the output communication document means are managed in association with each other and the user request information is received, the user request information and the correspondence The control is performed after specifying any one or more of the output paper document means, the output electronic document means, and the output communication document means to be controlled. Document processing device.
文書情報を入力処理する入力手段及び文書情報を出力処理する出力手段を複数備えた画像形成装置において、
制御する対象となる前記入力手段毎に対応付けられ、予め定められた形式に変換された文書情報複数個生成、管理を行うことを可能とする入力文書手段と、
前記入力文書手段が管理する前記入力文書情報について、ページ毎の情報を管理する入力ページ手段と、
前記入力ページ手段が管理するページ毎に、当該ページのレイアウトを定める入力枠情報を生成し、管理する入力レイアウト手段と、
前記入力ページ手段が管理するページ毎に、前記入力レイアウト手段が管理する前記入力枠情報に従って、当該ページに当てはめられる入力画像を、入力処理された入力文書から生成し、当該入力画像を複数管理可能な入力画像手段と、
前記入力画像手段が管理する前記入力画像から、1ページを構成することが可能な領域毎の利用者画像を取得し、取得した前記利用者画像を複数管理可能な利用者画像手段と、
制御する対象となる前記出力手段毎に対応付けられ、前記利用者画像手段が管理する利用者画像に基づいて出力処理される文書情報複数個生成、管理を行うことを可能とする出力文書手段と、
利用者から受け付ける文書処理の要求を示した要求情報と、前記入力手段毎に対応付けられた前記入力文書手段を制御するか否かを示す入力文書制御情報と、前記出力手段毎に対応付けられた前記出力文書手段を制御するか否かを示す出力文書制御情報と、を対応付けて管理して、利用者から要求情報を受け付けた場合、受け付けた該要求情報と該対応付けから制御する前記入力文書手段及び前記出力文書手段を特定し、特定された前記入力文書手段及び前記出力文書手段を生成して制御を行う利用者文書手段と、
を備えたこと特徴とする画像形成装置。
In an image forming apparatus comprising a plurality of input means for inputting document information and output means for outputting document information,
An input document means that is capable of generating and managing a plurality of pieces of document information associated with each input means to be controlled and converted into a predetermined format;
For the input document information managed by the input document means, input page means for managing information for each page;
For each page managed by the input page means, an input layout means for generating and managing input frame information defining the layout of the page; and
For each page managed by the input page means, in accordance with the input frame information managed by the input layout means, an input image to be applied to the page can be generated from the input processed input document, and a plurality of the input images can be managed. Input image means,
User images for each area that can constitute one page are acquired from the input images managed by the input image means, and user image means capable of managing a plurality of the acquired user images;
Associated with each of the output means to be controlled, the user image unit plurality generates document information output process based on the user image is managed output document means making it possible to manage When,
Request information indicating a document processing request received from a user, input document control information indicating whether or not to control the input document means associated with each input means, and correspondence with each output means the output and output document control information indicating whether to control the document means, and manages association was, when receiving a user or RaKaname determined information, received該要 determined information and the said association Identifying the input document means and the output document means to be controlled from, and generating the specified input document means and the output document means to control the user document means,
An image forming apparatus comprising:
文書情報を入力処理する入力手段及び文書情報を出力処理する出力手段を複数備えた文書処理プログラムにおいて、
制御する対象となる前記入力手段毎に対応付けられ、予め定められた形式に変換された文書情報複数個生成、管理を行うことを可能とする入力文書手段と、
前記入力文書手段が管理する前記入力文書情報について、ページ毎の情報を管理する入力ページ手段と、
前記入力ページ手段が管理するページ毎に、当該ページのレイアウトを定める入力枠情報を生成し、管理する入力レイアウト手段と、
前記入力ページ手段が管理するページ毎に、前記入力レイアウト手段が管理する前記入力枠情報に従って、当該ページに当てはめられる入力画像を、入力処理された入力文書から生成し、当該入力画像を複数管理可能な入力画像手段と、
前記入力画像手段が管理する前記入力画像から、1ページを構成することが可能な領域毎の利用者画像を取得し、取得した前記利用者画像を複数管理可能な利用者画像手段と、
制御する対象となる前記出力手段毎に対応付けられ、前記利用者画像手段が管理する利用者画像に基づいて出力処理される文書情報複数個生成、管理を行うことを可能とする出力文書手段と、
利用者から受け付ける文書処理の要求を示した要求情報と、前記入力手段毎に対応付けられた前記入力文書手段を制御するか否かを示す入力文書制御情報と、前記出力手段毎に対応付けられた前記出力文書手段を制御するか否かを示す出力文書制御情報と、を対応付けて管理して、利用者から要求情報を受け付けた場合、受け付けた該要求情報と該対応付けから制御する前記入力文書手段及び前記出力文書手段を特定し、特定された前記入力文書手段及び前記出力文書手段を生成して制御を行う利用者文書手段と、
を備えたこと特徴とする文書処理プログラム。
In a document processing program comprising a plurality of input means for input processing of document information and output means for output processing of document information,
An input document means that is capable of generating and managing a plurality of pieces of document information associated with each input means to be controlled and converted into a predetermined format;
For the input document information managed by the input document means, input page means for managing information for each page;
For each page managed by the input page means, an input layout means for generating and managing input frame information defining the layout of the page; and
For each page managed by the input page means, in accordance with the input frame information managed by the input layout means, an input image to be applied to the page can be generated from the input processed input document, and a plurality of the input images can be managed. Input image means,
User images for each area that can constitute one page are acquired from the input images managed by the input image means, and user image means capable of managing a plurality of the acquired user images;
Associated with each of the output means to be controlled, the user image unit plurality generates document information output process based on the user image is managed output document means making it possible to manage When,
Request information indicating a document processing request received from a user, input document control information indicating whether or not to control the input document means associated with each input means, and correspondence with each output means the output and output document control information indicating whether to control the document means, and manages association was, when receiving a user or RaKaname determined information, received該要 determined information and the said association Identifying the input document means and the output document means to be controlled from, and generating the specified input document means and the output document means to control the user document means,
A document processing program characterized by comprising:
JP2005073325A 2005-03-15 2005-03-15 Document processing apparatus, image forming apparatus, and document processing program Expired - Fee Related JP4490852B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005073325A JP4490852B2 (en) 2005-03-15 2005-03-15 Document processing apparatus, image forming apparatus, and document processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005073325A JP4490852B2 (en) 2005-03-15 2005-03-15 Document processing apparatus, image forming apparatus, and document processing program

Publications (2)

Publication Number Publication Date
JP2006259872A JP2006259872A (en) 2006-09-28
JP4490852B2 true JP4490852B2 (en) 2010-06-30

Family

ID=37099098

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005073325A Expired - Fee Related JP4490852B2 (en) 2005-03-15 2005-03-15 Document processing apparatus, image forming apparatus, and document processing program

Country Status (1)

Country Link
JP (1) JP4490852B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5429249B2 (en) 2011-09-15 2014-02-26 コニカミノルタ株式会社 Image forming apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3785297B2 (en) * 2000-02-24 2006-06-14 株式会社リコー Image transmitting apparatus, image transmitting method, and computer-readable recording medium storing program for causing computer to execute the method
JP2004266470A (en) * 2003-02-28 2004-09-24 Canon Inc Image processing apparatus and image processing method

Also Published As

Publication number Publication date
JP2006259872A (en) 2006-09-28

Similar Documents

Publication Publication Date Title
JP5509754B2 (en) Software management apparatus, software distribution system, installation method and program
JP5729979B2 (en) Print relay system, print system, image forming apparatus, control method for controlling print relay system, and program
JP2010021896A (en) Information processing apparatus, image input apparatus, document distribution system, and control method therefor
KR101359862B1 (en) Information processing apparatus and method of controlling same
JP4838608B2 (en) Workflow processing apparatus, workflow processing method, and program executed by computer
JP5962829B2 (en) Image forming apparatus, image forming method, and program
JP2010187199A (en) Image processing device, control method thereof, and program
JP2011164789A (en) Information processing apparatus, method for controlling deactivation processing, program, and storage medium
JP3677478B2 (en) Image forming apparatus, application use restriction method, and program causing computer to execute the method
CN101237505A (en) Imaging device and method of controlling imaging device
JP4490841B2 (en) Document processing apparatus, image forming apparatus, document processing method, and document processing program
JP3768463B2 (en) Image forming apparatus that cooperates between apparatuses via a network
JP2004288054A (en) Service processing system, service processing method and service processing program
JP2007019750A (en) Image processing system and information processing apparatus
JP4490852B2 (en) Document processing apparatus, image forming apparatus, and document processing program
JP2006229582A (en) Document processing apparatus, image forming apparatus, and document processing program
JP2005196334A (en) Service process execution management device and method
JP2007336077A (en) Image forming apparatus, setting change notification method, and setting change notification program
JP4398795B2 (en) Information processing apparatus, information processing method, information processing program, and recording medium
JP2006180496A (en) Image forming apparatus that cooperates between apparatuses via a network
JP4538381B2 (en) Input/Output Management Device, Input/Output Management Method, and Input/Output Management Program
JP2007305143A (en) Information processing apparatus and information processing method
JP2006262375A (en) Document processing apparatus and image forming apparatus
JP2007080222A (en) Application selection apparatus, image forming apparatus, application selection method, and application selection program
JP2007082012A (en) Address management apparatus, address management method, and address management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091124

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100121

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100330

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100402

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

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4490852

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140409

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees