JP5528611B2 - Structured document conversion apparatus, structured document conversion method of apparatus, and computer program - Google Patents
Structured document conversion apparatus, structured document conversion method of apparatus, and computer program Download PDFInfo
- Publication number
- JP5528611B2 JP5528611B2 JP2013140781A JP2013140781A JP5528611B2 JP 5528611 B2 JP5528611 B2 JP 5528611B2 JP 2013140781 A JP2013140781 A JP 2013140781A JP 2013140781 A JP2013140781 A JP 2013140781A JP 5528611 B2 JP5528611 B2 JP 5528611B2
- Authority
- JP
- Japan
- Prior art keywords
- lower layer
- node
- document
- layer node
- 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
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Description
本発明は、構造化文書変換装置、装置の構造化文書変換方法、及びコンピュータプログラムに関し、特に、構造化文書を変換するために用いて好適なものである。 The present invention relates to a structured document conversion apparatus, a structured document conversion method for the apparatus , and a computer program, and is particularly suitable for use in converting a structured document.
Microsoft社のオーペレーティングシステム(OS)としてMicrosoft Windows(登録商標)Vistaがある。Windows(登録商標)Vistaでは、新しいXML形式のドキュメントフォーマットであるXPS(XML Paper Specification)がサポートされている(非特許文献1を参照)。XPSドキュメントは、Fixed Document Sequenceと、Fixed Documentと、Fixed Pageの3つの階層を持ったドキュメントフォーマットで構成されるものある。夫々の階層のノードには、印刷属性を保持するためのXMLドキュメントであるプリントチケットを関連付けることが出来る(非特許文献2を参照)。Fixed Document Sequenceには、ジョブレベルのプリントチケットが関連付けられる。Fixed Documentには、ドキュメントレベルのプリントチケットが関連付けられる。Fixed Pageには、ページレベルのプリントチケットが関連付けられる。このようにXPSドキュメントでは、各階層のノード毎にプリントチケットを指定することができる。よって、XPSドキュメントのFixed Page毎に出力用紙サイズを変更したり、Fixed Document毎にステイプルの指定を変更したりするといったことが可能になる。 There is Microsoft Windows (registered trademark) Vista as an operating system (OS) of Microsoft Corporation. Windows (registered trademark) Vista supports XPS (XML Paper Specification), which is a new XML document format (see Non-Patent Document 1). An XPS document is composed of a document format having three layers of Fixed Document Sequence, Fixed Document, and Fixed Page. A print ticket, which is an XML document for holding print attributes, can be associated with each hierarchical node (see Non-Patent Document 2). The fixed document sequence is associated with a job level print ticket. Fixed Document is associated with a document level print ticket. A fixed page is associated with a page-level print ticket. In this way, in the XPS document, a print ticket can be designated for each node in each hierarchy. Therefore, it is possible to change the output paper size for each Fixed Page of the XPS document, or change the stapling specification for each Fixed Document.
非特許文献1にもあるように、XPSドキュメントには、印刷時のスプールフォーマットや、PDL(Page Description Language)といった印刷制御言語という側面と、通常の文書ドキュメントという側面とがある。
具体的に、文書ドキュメントとしての側面に注目すると、Adobe社のPDFファイルのように、XPSドキュメントも、文書ドキュメントのフォーマットとして、各種文書の保存、再利用・公開、配布の用途で利用される。前述したようにXPSドキュメントにおいては、各階層のノード毎にプリントチケットを保持することができる。このため、印刷設定を関連付けたXPSドキュメントを作成し、XPSドキュメントを印刷設定(印刷属性)と共に配布するといった運用を行うことができる。
As described in Non-Patent
Specifically, paying attention to the aspect as a document document, like an Adobe PDF file, an XPS document is also used as a document document format for storage, reuse / publication, and distribution of various documents. As described above, in the XPS document, a print ticket can be held for each node in each layer. Therefore, it is possible to perform operations such as creating an XPS document associated with print settings and distributing the XPS document together with print settings (print attributes).
また、Windows(登録商標)Vistaのリリース以降、XPSドキュメントをPDLとして直接印刷することが可能な印刷装置も登場している。このような印刷装置がXPSドキュメントを印刷する形態として、XPSドキュメントを生成するプリンタドライバを使用した印刷形態が考えられる。さらには、作成、公開、配布されたXPSドキュメントを印刷装置に直接投入する印刷形態も考えられる。
このように、XPSドキュメントは、印刷設定データと描画データとを含んでおり、アプリケーション及び印刷装置の夫々で活用される。しかしながら、プリントチケットで示される印刷設定(印刷属性)の扱いに関しては、XPSドキュメントを処理する側に依存する。例えば、印刷装置においては、該印刷装置が処理できないようなプリントチケットは無視される。
In addition, since the release of Windows (registered trademark) Vista, printing apparatuses capable of directly printing XPS documents as PDL have appeared. As a form in which such a printing apparatus prints an XPS document, a printing form using a printer driver that generates an XPS document can be considered. Furthermore, a printing form in which the XPS document created, released, and distributed is directly input to the printing apparatus is also conceivable.
As described above, the XPS document includes print setting data and drawing data, and is used in each of the application and the printing apparatus. However, the handling of the print settings (print attributes) indicated by the print ticket depends on the side that processes the XPS document. For example, in a printing apparatus, a print ticket that cannot be processed by the printing apparatus is ignored.
また、プリンタドライバ或いはプリントユーティリティーが、印刷装置が処理できるように、処理できないプリントチケットを描画データに合成し、新たな印刷データを作成するという手法がある(例えば、特許文献1を参照)。
また、アプリケーションにおいて、文書ドキュメントの一部をコピーしたり編集したり際に、ノード毎に保持された印刷属性に優先順位を設定し、階層のノードに応じて、ノードに保持された印刷属性を置き換える手法がある(例えば、特許文献2を参照)。
In addition, there is a method in which a printer driver or a print utility generates new print data by combining a print ticket that cannot be processed with drawing data so that the printing apparatus can process it (see, for example, Patent Document 1).
In addition, when copying or editing a part of a document document in an application, priority is set to the print attributes held for each node, and the print attributes held in the nodes are set according to the nodes of the hierarchy. There is a method of replacement (see, for example, Patent Document 2).
しかしながら、前記特許文献に示される手法では、印刷属性を加工して新たなドキュメントを生成しても、そのドキュメントが、ドキュメントを処理する側に非依存なドキュメントになる訳ではない。
特許文献1に示される手法では、文書ドキュメントに対して付加された印刷属性を印刷装置が処理できる形に当該文書ドキュメントを変更するものである。このようにすると、文書ドキュメントをそのまま当該印刷装置で印刷する場合には意図する体裁の出力が得られる。しかしながら、文書ドキュメントを機能が異なる印刷装置で印刷したり、汎用的なドキュメントとして全く異なるアプリケーションで文書ドキュメントの内容を確認したりすると、文書ドキュメントの体裁が異なってしまう場合がある。
However, in the method disclosed in the above-mentioned patent document, even if a new document is generated by processing the print attributes, the document does not become a document independent of the document processing side.
In the technique disclosed in
特許文献2に示される手法では、特定のアプリケーションが、ノードに印刷属性が付加されているのを解釈し、処理に応じて優先順位をつけて階層毎に印刷属性の置換等を行う。しかしながら、生成された文書ドキュメントは、一般的なアプリケーションでも同様の体裁を維持できる訳ではない。特に、階層毎に印刷属性が付加される構造化文書においては、その文書ドキュメントの階層構造の全てを把握しないと適切に処理できない。
In the method disclosed in
例えば、一般的なプリンタドライバの印刷設定画面においては、前述したFixed Document Sequenceに付加されたジョブレベルのプリントチケットのみを編集、加工することができる。そのため、カラー/モノクロ印刷の設定や印刷用紙サイズを設定する際は、ジョブレベルのプリントチケットを取得して加工することになる。ある特定のFixed Pageに付加されたページレベルのプリントチケットにモノクロ印刷という印刷属性が埋め込まれていても、そのページが印刷装置においてモノクロで処理されるかは保証されない。
また、一般的なアプリケーションにおいても、文書ドキュメントの構造を把握しなくても取得できるジョブレベルのプリントチケットのみを判断して、表示する用紙サイズ等を特定するものも多い。
For example, on the print setting screen of a general printer driver, only the job level print ticket added to the above-mentioned Fixed Document Sequence can be edited and processed. Therefore, when setting color / monochrome printing or printing paper size, a job-level print ticket is acquired and processed. Even if a print attribute of monochrome printing is embedded in a page-level print ticket added to a specific Fixed Page, it is not guaranteed whether the page is processed in monochrome by the printing apparatus.
Also, many general applications determine only the job-level print ticket that can be acquired without understanding the structure of the document document, and specify the paper size to be displayed.
XPSドキュメントが印刷用ドキュメントとして使用される場合、特定の印刷装置の機能を活用できるような印刷属性が作成される。しかしながら、それが文書ドキュメントとして活用されたり、異なる印刷装置に対する印刷用ドキュメントとして活用されたりすると、印刷の体裁が異なってしまうことがあり得る。このようなことは、XPSドキュメントを、様々なアプリケーション、様々な印刷装置で活用するユーザに、混乱を引き起こさせる虞がある。 When an XPS document is used as a printing document, a printing attribute is created so that the function of a specific printing apparatus can be utilized. However, when it is used as a document document or as a printing document for a different printing apparatus, the appearance of printing may be different. This may cause confusion for users who utilize XPS documents in various applications and various printing apparatuses.
本発明は、以上の問題点に鑑みてなされたものであり、従来よりもユーザが利用し易い構造化文書データを提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide structured document data that is easier for a user to use than before.
本発明の構造化文書変換装置は、第1の印刷設定が関連づけられた第1の下位層のノードと、第2の印刷設定が関連づけられた第2の下位層のノードの少なくとも2つの下位層のノードを有する上位層のノードを取得する取得手段と、
前記取得手段が取得する前記上位層のノードを、前記第1の下位層のノードを有しておりかつ前記第1の印刷設定に基づく第3の印刷設定が関連づけられた第1の上位層のノードと、前記第2の下位層のノードを有しておりかつ前記第2の印刷設定に基づく第4の印刷設定が関連づけられた第2の上位層のノードに分割する分割手段と、を有することを特徴とする。
The structured document conversion apparatus according to the present invention includes at least two lower layers, ie, a first lower layer node associated with the first print setting and a second lower layer node associated with the second print setting. Obtaining means for obtaining a higher layer node having
The upper layer node acquired by the acquisition unit is the first upper layer node having the first lower layer node and associated with the third print setting based on the first print setting. a node and a dividing means for dividing the node of the second upper layer in which the fourth print settings based on the second and has a node of the lower layer of the second print setting is associated, the It is characterized by that.
本発明の装置の構造化文書変換方法は、第1の印刷設定が関連づけられた第1の下位層のノードと、第2の印刷設定が関連づけられた第2の下位層のノードの少なくとも2つの下位層のノードを有する上位層のノードを取得する取得工程と、前記取得工程が取得する前記上位層のノードを、前記第1の下位層のノードを有しておりかつ前記第1の印刷設定に基づく第3の印刷設定が関連づけられた第1の上位層のノードと、前記第2の下位層のノードを有しておりかつ前記第2の印刷設定に基づく第4の印刷設定が関連づけられた第2の上位層のノードに分割する分割工程と、を有することを特徴とする。 The structured document conversion method of the apparatus of the present invention includes at least two of a first lower layer node associated with a first print setting and a second lower layer node associated with a second print setting. An acquisition step of acquiring an upper layer node having a lower layer node, and the upper layer node acquired by the acquisition step include the first lower layer node and the first print setting A first upper layer node associated with the third print setting based on the second lower layer node and a fourth print setting based on the second print setting associated with the second lower layer node. And a dividing step of dividing into nodes of the second upper layer.
本発明のコンピュータプログラムは、第1の印刷設定が関連づけられた第1の下位層のノードと、第2の印刷設定が関連づけられた第2の下位層のノードの少なくとも2つの下位層のノードを有する上位層のノードを取得する取得工程と、前記取得工程が取得する前記上位層のノードを、前記第1の下位層のノードを有しておりかつ前記第1の印刷設定に基づく第3の印刷設定が関連づけられた第1の上位層のノードと、前記第2の下位層のノードを有しておりかつ前記第2の印刷設定に基づく第4の印刷設定が関連づけられた第2の上位層のノードに分割する分割工程と、をコンピュータに実行させることを特徴とする。 The computer program according to the present invention includes at least two lower layer nodes, ie, a first lower layer node associated with the first print setting and a second lower layer node associated with the second print setting. An acquisition step for acquiring an upper layer node, and a third layer based on the first print setting, wherein the upper layer node acquired by the acquisition step includes the first lower layer node. and a node of the first upper layer print setting associated, the second second-level fourth print settings based on it has and the second print setting has a node of the lower layer is associated And a dividing step of dividing the nodes into layers to be executed by a computer.
本発明によれば、ユーザが利用し易い構造化文書データを提供することができる。 According to the present invention, structured document data that can be easily used by a user can be provided.
以下に、図面を参照しながら、本発明の一実施形態について説明する。
図1は、情報処理装置の構成の一例を示す図である。
CPU101は、ROM102、RAM103、又は記憶装置105に格納されたプログラムに従って情報処理装置100全体の制御を行う。RAM103は、CPU101が各種処理を行う際のワークエリアとしても使用される。記憶装置105は、オペレーティングシステム(OS)115やアプリケーションソフトウェア112等を記録する。また、本実施形態の特徴の一つである印刷属性変換処理を行うための構造化文書変換用ソフトウェア113やプリンタドライバ114も、記憶装置105に格納される。キーボードやマウス等の入力機器は、入力I/F104を通じて、ユーザが情報処理装置100に対して各種指示を与えるためのデバイスである。出力I/F106は、データを外部に出力するためのインターフェースであり、例えば、モニタ110や印刷装置111に対してデータを出力する。印刷装置111は、ローカルI/Oのみならず、ネットワークを通して情報処理装置100に接続されていてもよい。また、情報処理装置100内の各部は、共通データバスであるシステムバス107に接続されており、システムバス107を通してデータのやりとりを行う。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating an example of the configuration of the information processing apparatus.
The
図2は、印刷システムの構成の一例を示す図である。図2において、図1に示した情報処理装置に相当する機能を有するクライアント装置100a、100bと、プリントサーバ202と、印刷装置111a、111bとが、ネットワーク200を介して相互に通信可能に接続されている。
XPSドキュメントといった構造化文書は主にクライアント装置100にて生成される。また、生成された構造化文書は、クライアント装置100で活用されたり、ネットワーク200を通して他の装置に送られたりする。XPSドキュメントを印刷用ドキュメントとして使用する場合には、例えば、印刷装置111bの機能に応じた印刷属性(印刷設定)が付加されたXPSドキュメントが生成される。このXPSドキュメントは、例えば、クライアント装置100aにインストールされている"プリンタドライバや印刷データ生成アプリケーション等"により生成される。そして、印刷装置111bは、生成されたXPSドキュメントに対して、当該印刷装置111bの機能を活用して印刷処理を行うことにより、XPSドキュメントを紙に印刷する。
FIG. 2 is a diagram illustrating an example of the configuration of the printing system. 2, client apparatuses 100 a and 100 b having a function corresponding to the information processing apparatus illustrated in FIG. 1, a print server 202, and printing apparatuses 111 a and 111 b are connected via a network 200 so that they can communicate with each other. ing.
Structured documents such as XPS documents are mainly generated by the
また、印刷装置111bの機能に応じた印刷属性が付加されたXPSドキュメントを、印刷装置111bよりも低機能である印刷装置111aに送り、印刷装置111aがXPSドキュメントに対して印刷処理を行うこともできる。このような場合には、通常、印刷装置111aは、XPSドキュメントに付加されている印刷属性のうち、印刷装置111aが所持していない機能を無視して、XPSドキュメントに対して印刷処理を行う。このようにすると、同じXPSドキュメントを異なる印刷装置で印刷した場合に、出力される体裁が異なることがあり得ることを意味する。 Further, the XPS document to which the printing attribute according to the function of the printing apparatus 111b is added is sent to the printing apparatus 111a having a lower function than the printing apparatus 111b, and the printing apparatus 111a performs the printing process on the XPS document. it can. In such a case, the printing apparatus 111a normally performs a printing process on the XPS document while ignoring the functions that the printing apparatus 111a does not have among the printing attributes added to the XPS document. This means that when the same XPS document is printed by different printing apparatuses, the output format may be different.
一方、XPSドキュメントを文書ドキュメントとして使用する場合には、例えばクライアント装置100aにインストールされているアプリケーションソフトウェア112によってXPSドキュメントを作成し、ROM102や記憶装置105に保存する。そして、クライアント装置100aは、作成したXPSドキュメントを、例えば、クライアント装置100bに転送、配布、公開する。クライアント装置100bは、クライアント装置100aで転送、配布、公開されたXPSドキュメントを、アプリケーションソフトウェア112を使って表示・編集することができる。その際、アプリケーションソフトウェア112が印刷属性をどのように活用するかは、そのアプリケーションソフトウェア112の機能に依存する。したがって、同じXPSドキュメントであっても、当該XPSドキュメントを扱うアプリケーションソフトウェア112によって、体裁が異なって表示されたり、付加されている印刷属性が削除されたりしてしまうことがある。
On the other hand, when using an XPS document as a document document, for example, the XPS document is created by the
XPSドキュメントを、印刷用ドキュメント及び文書ドキュメントの両方として使用する場合もある。例えば、クライアント装置100aで生成した"印刷装置111b用の印刷属性を付加したXPSドキュメント"をプリントサーバ202に格納する場合に、XPSドキュメントを、印刷用ドキュメント及び文書ドキュメントの両方として使用することがある。
クライアント装置100a、100bは、アプリケーションソフトウェア112を利用してプリントサーバ202に格納されたXPSドキュメントにアクセスする。更に、印刷装置111a、111bが、プリントサーバ202に格納されたXPSドキュメントにアクセスし、そのXPSドキュメントを印刷装置111a、111bで印刷するプルプリントといわれる処理も行われる。
An XPS document may be used as both a print document and a document document. For example, when storing “an XPS document with a printing attribute for the printing apparatus 111b” generated by the client apparatus 100a in the print server 202, the XPS document may be used as both a printing document and a document document. .
The client devices 100 a and 100 b access the XPS document stored in the print server 202 using the
以上のような場合にも、同じXPSドキュメントでありながら、アプリケーションソフトウェア112によって異なる体裁で表示がなされたり、印刷装置111a、111bによって出力結果の体裁が異なったりする場合がある。
本実施形態による印刷属性変換処理は、これらの体裁の異なりを防ぐものである。例えば、クライアント装置100aで作成された"印刷装置111bの印刷属性を含むXPSドキュメント"に対して、本実施形態による印刷属性変換処理をクライアント装置100aで行う。そして、印刷属性変換処理を行ったXPSドキュメントを、印刷装置111aで印刷したり、クライアント装置100bに配布・公開したり、プリントサーバ202に格納したりする。このようにすることで、出力されるXPSドキュメントの体裁が、アプリケーションソフトウェア112や印刷装置111a、111bによって異なってしまうことを防ぐことができる。
Even in the above case, the same XPS document may be displayed with different appearances depending on the
The print attribute conversion process according to the present embodiment prevents these differences in appearance. For example, the client apparatus 100a performs the print attribute conversion process according to the present embodiment on the “XPS document including the print attribute of the printing apparatus 111b” created by the client apparatus 100a. Then, the XPS document subjected to the print attribute conversion process is printed by the printing apparatus 111a, distributed / published to the client apparatus 100b, or stored in the print server 202. By doing so, it is possible to prevent the appearance of the output XPS document from being different depending on the
図3は、構造化文書の一例であるXPSドキュメントの概念の一例を示す図である。
図3において、Fixed Document Sequence301をジョブ、Fixed Document302をドキュメント、Fixed Page303をページと理解するとよい。このようにXPSドキュメントは、ツリー構造を有し、ツリーの各ノードに、Fixed Document Sequence301、Fixed Document302、Fixed Page303が与えられている。
XPSドキュメントには、非特許文献1に示される通り、Fixed Document Sequence301が必ず1つだけ存在する。そして、Fixed Document Sequence301は、複数のFixed Document302a、302bを保持する。更に各々のFixed Document302a、302bは、複数のFixed Page303a〜303b、303c〜303dを保持する。また、これら任意のFixed Document Sequence301、Fixed Document302、Fixed Page303には、各々印刷属性(印刷設定)を関連付けることができる。この印刷属性のことをプリントチケットと呼ぶ。
FIG. 3 is a diagram illustrating an example of a concept of an XPS document that is an example of a structured document.
In FIG. 3, the
As shown in
ここで、Fixed Document Sequence301に関連付けられた印刷属性を含むデータをジョブレベルプリントチケット304と呼ぶ。また、Fixed Document302に関連付けられた印刷属性を含むデータをドキュメントレベルプリントチケット305と呼ぶ。また、Fixed Page303に関連付けられた印刷属性を含むデータをページレベルプリントチケット306と呼ぶ。ジョブレベルプリントチケット304は、ジョブ全体に関わる印刷属性を設定する。ドキュメントレベルプリントチケット305は、夫々のドキュメントに関わる印刷属性を設定する。ページレベルプリントチケット306は、夫々のページに関わる印刷属性を設定する。
Here, data including print attributes associated with the
図4及び図5は、ジョブレベルプリントチケット304、ドキュメントレベルプリントチケット305、ページレベルプリントチケット306に記述されている印刷属性をXPSドキュメントに関連付ける際に表示される印刷設定画面の一例を示す図である。図4及び図5に示す印刷設定画面は、例えば、クライアント装置100a、100bのモニタ110に表示される。
図4は、ジョブ全体の印刷属性を設定する際に表示される印刷設定画面の一例を示す図である。
図4に示す印刷設定画面400は、主にジョブレベルプリントチケット304の加工を行う際に、アプリケーション、プリンタドライバ、プリントユーティリティーによって呼び出され、使用される。具体的に説明すると、印刷設定画面400は、印刷属性が付加されていないXPSドキュメントに印刷属性を付加したり、印刷属性を編集したりする際に呼び出され、使用される。
FIGS. 4 and 5 are diagrams illustrating an example of a print setting screen displayed when the print attributes described in the job
FIG. 4 is a diagram illustrating an example of a print setting screen displayed when setting the print attributes of the entire job.
The
図4に示す印刷設定画面400においては、ユーザによるキーボード108やポインティングデバイス109の操作に基づく"フィニッシング処理の設定"が行われる。この設定に従い、ジョブレベルプリントチケット304が生成され、Fixed Document Sequence301に関連付けられる。例えば、フィニッシング処理としては、片面・両面処理、ステイプル処理、ソート処理、パンチ処理、穴あけ処理、製本処理等がある。
同様に、印刷設定画面400において、「ページ設定」タブ、「給紙」タブ、「印刷品質」タブが選択された場合には、選択されたタブに応じた印刷設定画面が表示される。そして、印刷設定画面で設定された内容が、ジョブレベルプリントチケット304に反映される。
In the
Similarly, when the “page setting” tab, the “paper feed” tab, and the “print quality” tab are selected on the
次に、1つのジョブの中で、一部のページ、或いはドキュメントを含む一部のページ範囲にのみ、ジョブ全体に対する設定とは異なる設定(基本設定とは異なる設定)を行う場合の一般的な方法について説明する。このような、一部のページ、或いはドキュメントを含む一部のページ範囲のみを、ジョブ全体とは異なる設定にすることを、"ページ例外設定を行う"とも言う。ここで、ページ例外設定は、図4に示した印刷設定画面400において、「特殊設定」タブが選択された場合に表示される印刷設定画面にて設定される。設定された内容は、ドキュメントレベルプリントチケット305や、ページレベルプリントチケット306に反映される。
Next, when a setting different from the setting for the entire job (a setting different from the basic setting) is set only for a part of pages or a part of a page range including a document in one job, A method will be described. Setting only a part of a page or a part of a page range including a document to be different from that of the entire job is also referred to as “performing page exception setting”. Here, the page exception setting is set on the print setting screen displayed when the “special setting” tab is selected on the
図5は、「特殊設定」タブが選択された場合に表示される印刷設定画面の一例を示す図である。
図5に示す印刷設定画面500は、「ページ設定」タブ、「仕上げ」タブ、「給紙」タブ、「印刷品質」タブが選択されることにより表示される印刷設定画面を用いてジョブ全体に対して設定した印刷属性とは別の印刷属性を設定するためのものである。具体的に図5に示す印刷設定画面500は、特定のページ或いは特定のページ範囲に対して、ジョブ全体の設定とは異なる印刷属性を設定するためのシートである。このシートにおいて、ボタン501は、本文データとは別に表紙や裏表紙を設定するためのボタンである。ボタン502は、本文データとは別に挿入する用紙を設定するためのボタンである。ボタン503は、特定のページ或いは特定のページ範囲に対して、ジョブ全体の設定とは異なる設定を行うためのボタンである。また、リスト504は、これらのボタン501〜503が押下されることにより設定された"ジョブ全体の設定とは異なる項目"をリスト表示するためのものである。図5に示す例では、リスト504は、左の列から、設定対象となっているページ或いはページ範囲を示す欄と、設定の項目を示す欄と、設定の内容を示す欄とを表示している。尚、この表示は一例を示したものであり、他の形式、項目をリスト504に表示しても構わない。
FIG. 5 is a diagram illustrating an example of a print setting screen displayed when the “special setting” tab is selected.
A
また、ユーザの操作によりリスト504に列挙される特殊設定群について、隣接するページ或いはページ範囲が同じ設定になった場合、それらを結合するために、リストの結合ボタン505が用意されている。ユーザは、特殊設定が表示されているリスト504の中から、ページ或いはページ範囲が隣接する設定であって、結合したい設定を選択した後に、このリストの結合ボタン505を押下する。そうすると、選択された設定が結合される。
In addition, for the special setting group listed in the
また、ユーザの操作によりリスト504に列挙される特殊設定群について、設定を削除するために削除ボタン506が用意されている。ユーザは、特殊設定が表示されているリスト504の中から削除したい設定を選択した後に、この削除ボタン506を押下する。そうすると、選択された設定が削除される。
また、ユーザの操作によりリスト504に列挙される特殊設定群について、設定の内容を変更するために設定ボタン507が用意されている。ユーザは、特殊設定が表示されているリスト504の中から変更したい設定を選択した後に、この設定ボタン507を押下する。そうすると、選択された設定の変更が可能となる。
In addition, a
A
以上のようにして行われる設定に従って、ドキュメントレベルプリントチケット305或いはページレベルプリントチケット306が生成され、Fixed Document302或いはFixed Page303に関連付けられる。
このようにして、図3に示したXPSドキュメントの各階層にプリントチケットが関連付けられ、印刷属性が付加されることになる。
The document
In this way, a print ticket is associated with each level of the XPS document shown in FIG. 3, and a print attribute is added.
図6は、印刷属性が付加されたXPSドキュメントを一般的なアプリケーションソフトウェアが処理する際の処理の流れを概念的に示す図である。
ここで、一般的なアプリケーションソフトウェアとは、図4及び図5に示した印刷設定画面を表示するアプリケーションやプリンタドライバのように、XPSドキュメントの内部構造を解析し、階層毎に関連付けられた印刷属性を把握、処理するようなものでない。
すなわち、ここで言うアプリケーションソフトウェアとは、XPSドキュメントを文書ドキュメントとして扱うものである。例えば、XPSドキュメントの中身を表示するものであったり、XPSドキュメントを一度アプリケーションの内部文書フォーマットに変換したりするものが挙げられる。また、ページ単位で印刷属性を切り替えられない、或いは特定の印刷属性にしか印刷属性を切り替えられない印刷装置による印刷処理も前記一般的なアプリケーションソフトウェアと同様であると言える。
FIG. 6 is a diagram conceptually showing a processing flow when general application software processes an XPS document to which a print attribute is added.
Here, the general application software refers to the print attributes associated with each layer by analyzing the internal structure of the XPS document, such as the application or printer driver that displays the print setting screen shown in FIGS. It is not like grasping and processing.
That is, the application software referred to here is for handling an XPS document as a document document. For example, the content of the XPS document may be displayed, or the XPS document may be once converted into the internal document format of the application. In addition, it can be said that the printing process by the printing apparatus that cannot switch the printing attribute in units of pages or can switch the printing attribute only to a specific printing attribute is the same as the general application software.
このような一般的なアプリケーションソフトウェアでは、階層毎のXPSドキュメント601を処理する際に、XPSドキュメント601を取得する(ステップS602)。次に、取得したXPSドキュメント601の文書構造を解析する(ステップS603)。その際、一つしか存在しないFixed Document Sequence301については容易に解析することができる。この解析の結果、Fixed Document Sequence301に関連付けられているジョブレベルプリントチケット304の抽出を行う(ステップS604)。
次に、抽出したジョブレベルプリントチケット304に設定されている印刷属性を用いてXPSドキュメント601の表示といったXPSドキュメント601の活用を行う(ステップS605a)。または、印刷属性の加工用のユーザインターフェース606を用いて、ジョブレベルプリントチケット304の加工を行う(ステップS605b)。
その後、処理されたXPSドキュメント609の保存を行う(ステップS606)。このとき、ドキュメントレベルプリントチケット305やページレベルプリントチケット306は、削除されたり、XPSドキュメント601に付加されていたのと同様のままにされたりすることが多い。このようにすると、XPSドキュメントはそれを活用するアプリケーションソフトウェアに依存した体裁となってしまう。このようなことは印刷装置でも同様に起こり得る。例えば、ジョブレベルプリントチケット304以外のプリントチケットを解釈する印刷装置と、ジョブレベルプリントチケット304のみを解釈する印刷装置とでは出力結果の体裁が異なる。
In such general application software, when the XPS document 601 for each layer is processed, the XPS document 601 is acquired (step S602). Next, the document structure of the acquired XPS document 601 is analyzed (step S603). At that time, it is possible to easily analyze the
Next, the XPS document 601 such as the display of the XPS document 601 is used by using the print attributes set in the extracted job level print ticket 304 (step S605a). Alternatively, the job
Thereafter, the processed XPS document 609 is stored (step S606). At this time, the document
図7は、構造化文書変換用ソフトウェア113の機能構成の一例を示す図である。構造化文書変換用ソフトウェア113は、図7に示す各ブロックにより印刷属性変換方法を実現する。
本実施形態の構造化文書変換用ソフトウェア113では、XPSドキュメントを解析し、各階層に印刷属性が関連付けられているXPSドキュメントを、最上位の階層だけに印刷属性が関連付けられているXPSドキュメントに変換し、それを保存する。ただし、図1に示すアプリケーションソフトウェア112が、XPSドキュメントを読み出し、それを活用する前や後に、構造化文書変換用ソフトウェア113が行う処理と同じ処理を行ってもよい。また、プリンタドライバ114が、印刷データを生成する前に、構造化文書変換用ソフトウェア113が行う処理と同じ処理を行ってもよい。更に、プリントサーバ202や印刷装置111でも、構造化文書変換用ソフトウェア113が行う処理と同じ処理を行ってもよい。
FIG. 7 is a diagram illustrating an example of a functional configuration of the structured
The structured
構造化文書変換用ソフトウェア113のXPSドキュメント取得・構造解析部702は、XPSドキュメント701を取得し、それの構造を解析する。XPSドキュメント701の構造の解析は、非特許文献1に記載されている手法に従って行われる。図8は、XPSドキュメント701の構造の一例を示す図である。その結果、XPSドキュメント取得・構造解析部702は、XPSドキュメント701が図8に示すような階層構造であると解釈する。
次に、二階層グループ化処理部703は、解析された構造を元に、連続する2つの階層(1つのノードを含む上位層と、当該上位層の下位に位置する1つ以上のノードを含む下位層)との組み合わせでグループ化を行う。図8に示す例では、上位層に、Fixed Document802が含まれ、下位層に、Fixed Page1からFixed PageNのN(Nは自然数)個のFixed Page803、804が含まれるグループ1が形成される。また上位層に、Fixed Document805が含まれ、下位層に、Fixed Page1からFixed PageLのL(Lは自然数)個のFixed Page806、807が含まれるグループ2が形成される。更に上位層に、Fixed Document Sequence801が、下位層に、Fixed Document1からFixed DocumentMのM(Mは自然数)個のFixed Document802、805が含まれるグループ3が形成される。
The XPS document acquisition /
Next, based on the analyzed structure, the two-layer
このようにグループ化された2つの階層(上位層、下位層)に対して、印刷属性抽出処理部704は、印刷属性(プリントチケット)を抽出する。プリントチケットは、Fixed DocumentやFixed Pageといった各パーツに、最大1つ関連付けられる。そのため、例えば、図8のグループ1の上位層のプリントチケットとして、Fixed Document802に関連付けられたドキュメントレベルプリントチケット809が1つ抽出される。一方、Fixed Page1からFixed PageNのN個のFixed Page803、804が存在するため、グループ1の下位層のプリントチケットとしては、最大N個のページレベルプリントチケット810、811が抽出される。尚、以下の説明では、必要に応じて、上位層に関連付けられたプリントチケットを上位層印刷属性と称し、下位層に関連付けられたプリントチケットを下位層印刷属性と称する。
The print attribute
印刷属性抽出処理部704により、上位層印刷属性と下位層印刷属性とが抽出されると、下位層印刷属性排除処理部705は、下位層印刷属性を排除する。この下位層印刷属性排除処理部705の具体的な処理の内容については、図9を参照しながら後述する。
最上位印刷属性XPSドキュメント変換処理部706は、二階層グループ化処理部703、印刷属性抽出処理部704、下位層印刷属性排除処理部705の繰り返しを指示し、最終的に最上位の階層にのみ印刷属性が存在するXPSドキュメントを作成する。図8のグループ1において、印刷属性抽出処理部704で抽出された下位層の印刷属性であるページレベルプリントチケット810、811が下位層印刷属性排除処理部705で排除されると、ドキュメントレベルプリントチケット809のみが存在することになる。同様にグループ2においては、ドキュメントレベルプリントチケット812のみ存在することになる。更にグループ3にて同様の処理を行うと、下位層印刷属性であるドキュメントレベルプリントチケット809、812が排除され、ジョブレベルプリントチケット808(最上位の階層の印刷属性)のみが残る。このようにして最上位印刷属性XPSドキュメント変換処理部706は、最上位の階層のみの印刷属性(ジョブレベルプリントチケット808)を有するXPSドキュメント707(構造化文書)を生成して記憶する。
When the printing attribute
The highest-level printing attribute XPS document
図9は、下位層印刷属性排除処理部705の詳細な構成の一例を示すブロック図である。
図7の印刷属性抽出処理部704にて、1つの上位層印刷属性及び1つ以上の下位層印刷属性が抽出されると、下位層印刷属性比較処理部901は、下位層印刷属性が複数あるか否かを判定する。そして、下位層印刷属性が複数ある場合、下位層印刷属性比較処理部901は、それら複数の下位層印刷属性の中身を比較する。
図10は、印刷属性を記述しているプリントチケットの構成の一例を示す図である。
図10に示すように、XPSドキュメントの印刷属性であるプリントチケット1000は、XMLファイルとして存在しており、1つのPrintTicketタグ1001の中に、機能を示すFeatureタグ1002a〜1002gが複数存在する。Featureタグ1002a〜1002gの中に存在するOptionタグ1003a〜1003gが、現在のFeatureで示される機能の設定値となる。図10に示すプリントチケット1000では、解像度が600dpi、印刷方法は両面印刷、ページサイズはA4、レイアウトは2in1等という印刷属性であることを示している。
FIG. 9 is a block diagram illustrating an example of a detailed configuration of the lower layer printing attribute
When one upper layer printing attribute and one or more lower layer printing attributes are extracted by the printing attribute
FIG. 10 is a diagram illustrating an example of the configuration of a print ticket describing print attributes.
As shown in FIG. 10, the
下位層印刷属性比較処理部901では、複数の下位層印刷属性のFeature及びOptionの比較を行う。具体的に下位層印刷属性比較処理部901は、全ての下位層印刷属性で共通のOptionを持つFeatureは何か、幾つかの下位層印刷属性で異なるOptionを持つFeatureは何かを抽出する。
下位層印刷属性排除処理判断部902は、下位層印刷属性比較処理部901で抽出されたFeatureに対して、どのような排除処理を行うかを判断する。本実施形態では、Featureに対する排除方法として、上位層反映手法911、単純削除手法912、上位層分割手法913、描画反映手法914が存在する。
The lower layer printing attribute
The lower layer printing attribute exclusion
上位層反映手法911では、まず、下位層Feature上位層反映処理部906は、下位層印刷属性のFeatureタグ1002(及びそのOptionタグ1003)を上位層印刷属性に反映させる。そして、下位層Feature削除部903は、下位層Feature上位層反映処理部906により上位層印刷属性に反映される前の元のFeatureタグ1002(及びそのOptionタグ1003)を下位層印刷属性から削除する。
単純削除手法912では、下位層Feature削除部903が、下位層Feature上位層反映処理部906における処理とは無関係に下位層のFeatureタグ1002(及びそのOptionタグ1003)を単純に削除する。
In the upper
In the
上位層分割手法913では、まず、上位層分割処理部904が、元々は1つである上位層のノードを複数に分割し、分割した複数の上位層のノードの夫々に上位層印刷属性を付け加える。次に、下位層Feature上位層反映処理部906は、それら付け加えた複数の上位層印刷属性に、下位層印刷属性のFeatureタグ1002(及びそのOptionタグ1003)を反映させる。最後に、下位層Feature削除部903は、下位層Feature上位層反映処理部906により反映された下位層のFeatureタグ1002(及びそのOptionタグ1003)を下位層印刷属性から排除する。上位層分割手法913の具体的な処理に関しては後述する。
描画反映手法914では、まず、下位層Feature描画反映部905が、Featureタグ1002の機能をFixed Page等に記載されている描画データに反映させる。次に、下位層Feature削除部903は、下位層Feature描画反映部905で反映された下位層のFeatureタグ1002(及びそのOptionタグ1003)を下位層印刷属性から削除する。描画反映手法914の具体的な処理に関しても後述する。
In the upper
In the
下位層印刷属性排除処理判断部902は、これら4つの手法911〜914の何れで下位層印刷属性を排除するかを、各Featureの分類や、事前に設定されている内容(リスト)や、ユーザインターフェースを用いたユーザからの指定等に基づいて判断する。
The lower layer printing attribute exclusion
図11は、複数の下位層印刷属性1101に存在する各Featureの分類方法の一例を示す図である。
下位層印刷属性比較処理部901は、XPSドキュメントから抽出した"全ての下位層印刷属性1101a〜1101d"が共通のOptionを持つFeatureを共通Feature1102として分類する。一方、共通のOptionを持っていないFeatureに関しては、下位層印刷属性排除処理判断部902が、描画反映可能Feature1103なのかその他のFeature1104なのかを分類する。描画反映可能Feature1103の具体例については図12を参照しながら後述する。
下位層印刷属性排除処理判断部902は、その他のFeature1104に分類したFeatureを、更に上位層反映Feature1105及び削除Feature1106の何れかに分類する。この分類は、例えば、予め設定された内容(リスト)や、ユーザインターフェースを用いたユーザからの指定等に基づいて行われる。
FIG. 11 is a diagram illustrating an example of a classification method of each feature existing in a plurality of lower layer print attributes 1101.
The lower layer print attribute
The lower layer printing attribute exclusion
図12は、描画データに反映できるFeatureとできないFeatureの一例を示す図である。図12に示す機能リスト1200は、下位層印刷属性排除処理判断部902が保持しており、共通のOptionを持っていないFeatureを、描画反映可能Feature1103及びその他のFeature1104の何れかに分類する際に参照される。
図12に示すFeatureは、Microsoft社がPublic Featureとして定義したものであり、夫々のFeatureやOptionに関しては非特許文献2に記載されている。更に、Private Featureとして印刷装置のベンダ等によって独自に定義されるFeatureが機能リスト1200に含まれることもある。
描画データに反映できるものの例としては、ポスター印刷Featureのように夫々の描画オブジェクトの座標を変更するものが挙げられる。この他、カラー設定Featureや入力カラープロファイルFeatureのように描画オブジェクトの色を変更するものや、スタンプ(ウォーターマーク)Featureのように描画オブジェクトを追加するもの等も挙げられる。一方、描画データに反映できないものとしては、印刷装置の給紙位置の指定や出力品質といった印刷装置に依存したもの等が挙げられる。
下位層印刷属性排除処理判断部902は、図12に示す機能リスト1200に、描画に
反映できるものとして登録されているFeatureを、描画反映可能Feature1103として分類する。
FIG. 12 is a diagram illustrating an example of features that can and cannot be reflected in drawing data. The
The features shown in FIG. 12 are those defined by Microsoft as public features, and the respective features and options are described in
An example of what can be reflected in the drawing data is one that changes the coordinates of each drawing object, such as a poster print feature. In addition, there are those that change the color of a drawing object such as a color setting feature and an input color profile feature, and those that add a drawing object such as a stamp (watermark) feature. On the other hand, examples that cannot be reflected in the drawing data include those depending on the printing device such as designation of the paper feed position of the printing device and output quality.
The lower layer print attribute exclusion
図13は、上位層反映Feature1105にするFeatureの一例を示す図である。図13に示す機能リスト1300は、下位層印刷属性排除処理判断部902が保持しており、その他のFeature1104に分類したFeatureを、上位層反映Feature1105及び削除Feature1106の何れかに分類する際に参照される。
本実施形態では、バインディング設定Featureやコレート設定Featureのように削除すると印刷体裁が異なるようなFeatureを主に機能リスト1300に挙げている。その他のFeature1104に分類したFeatureのうち、機能リスト1300に挙がっているFeatureは上位層反映Feature1105に、挙がっていないFeatureは削除Feature1106に分類される。尚、機能リスト1300に基づく分類に応じてその他のFeature1104に分類したFeatureを削除Feature1106に分類する前に、分類した結果をユーザインターフェースによってユーザに確認させ、必要に応じて修正させるのが好ましい。
FIG. 13 is a diagram illustrating an example of a feature to be used as the upper layer reflecting feature 1105. The
In the present embodiment, features such as a binding setting feature and a collate setting feature that have different print formats when deleted are mainly listed in the
図14は、分類した各Featureに対する排除方法の一例を示す図である。この排除方法は、下位層印刷属性排除処理判断部902によって判断される。
図14において、共通Feature1102に分類されたFeatureに対しては、上位層の印刷属性にFeatureタグ1002をそのまま反映させる上位層反映手法911を適用する。この場合にはXPSドキュメントの体裁を一切崩さないので、無条件で実施できる。
削除Feature1106に分類されたFeatureに対しては、下位層の印刷属性の該当するFeatureタグ1002を単純に削除する単純削除手法912を適用する。
上位層反映Feature1105に分類されたFeatureに対しては、上位層分割手法913を適用し、描画反映可能Feature1103と分類されたFeatureに対しては、描画反映手法914を適用する。尚、描画反映手法914を適用できるFeatureに関しては上位層分割手法913や単純削除手法912を採用することもできる。また、上位層分割手法913を適用できるFeatureに関しては、単純削除手法912を採用することもできる。
FIG. 14 is a diagram illustrating an example of an exclusion method for each classified feature. This exclusion method is determined by the lower layer printing attribute exclusion
In FIG. 14, the upper
A
The upper
図15は、描画反映手法914の概要の一例を示す図である。
下位層のプリントチケットにおいて描画反映可能Feature1103に該当するFeatureは、描画反映手法914により描画データに反映される。そして、下位層Feature描画反映部905は、当該Featureを下位層のプリントチケットから削除する。
例えば、印刷属性変換前のFixed Page1701は描画が一切ないFixed Pageである。一方、Fixed Page1701に関連付けられた"印刷属性変換前のPrintTicket1702"は、StampというFeatureを有し、社外秘という名称を出すような印刷属性になっている。
FIG. 15 is a diagram illustrating an example of an outline of the
The feature corresponding to the drawing reflection
For example, a Fixed Page 1701 before print attribute conversion is a Fixed Page with no drawing. On the other hand, “
このFixed Page1701及びPrintTicket1702を、印刷属性を考慮するアプリケーションソフトウェアで表示したり、印刷属性を考慮する印刷装置で印刷したりすると、社外秘とだけ記載された表示・印刷結果1705が得られる。ここで、このStampというFeatureが描画反映可能Feature1103に割り当てられると、描画反映手法914により、印刷属性変換後のFixed Page1703が得られる。すなわち、<Glyphs>、</Glyphs>といった描画のタグが追加され、描画の内容として「社外秘」と記載されるFixed Page1703が得られる。これと同時に、印刷属性変換前のPrintTicket1702からStampというFeatureが削除され、印刷属性変換後のPrintTicket1704が得られる。このFixed Page1703及びPrintTicket1704による表示・出力結果1706は、表示・印刷結果1705と一致し、社外秘とだけ記載されたものとなる。
このようにすれば、上位層の印刷属性を変更することなく、下位層の印刷属性を排除することが出来る。ただし、描画データに印刷属性を反映できるFeatureは限定されており、それらは、例えば、図12で示したものとなる。
When this Fixed Page 1701 and
In this way, it is possible to eliminate the lower layer printing attributes without changing the upper layer printing attributes. However, the features that can reflect the print attribute in the drawing data are limited, and are, for example, those shown in FIG.
図16は、下位層Feature描画反映部905の構成の詳細の一例を示す図である。
図16において、描画反映Feature取得部1801は、描画反映可能Feature1103を受け取る。そうすると、該当FixedPage取得部1802は、描画反映可能Feature1103が格納されている下位層の印刷属性と関連付けられ、且つ描画オブジェクトが格納されているFixed Pageを取得する。また、描画反映内容確定部1803は、描画反映可能Feature1103と、図12に示した機能リスト1200とを用いて、描画加工方法を特定する。該当FixedPage更新部1804は、この描画加工方法に従って、Fixed Pageの描画データ(描画オブジェクト)を変更する。この描画加工方法としては、例えば、夫々の描画オブジェクトの色を印刷属性に沿って加工することや、夫々の描画オブジェクトの座標を印刷属性に沿って加工することや、描画オブジェクトを追加又は変更すること等が挙げられる。夫々の印刷属性によって描画加工方法は異なる。例えば、倍率設定という描画反映可能Feature1103を描画オブジェクトに反映させる場合、該当FixedPage更新部1804は次の処理を行う。まず、該当FixedPage更新部1804は、Fixed Pageに格納されている描画オブジェクトを<Canvas>、</Canvas>といったタグで囲む。次に、該当FixedPage更新部1804は、描画オブジェクトに対して、<Transform>、</Transform>といったタグを使って倍率を指定する。また、入力カラープロファイルという描画反映可能Feature1103を描画オブジェクトに反映させる場合、該当FixedPage更新部1804は、次の処理を行う。すなわち、該当FixedPage更新部1804は、描画反映可能Feature1103で指定されているICCプロファイルを全ての描画オブジェクトに反映させる。尚、印刷属性の描画反映方法の内容は、以上のようなものに限定されない。
FIG. 16 is a diagram illustrating an example of the detailed configuration of the lower layer Feature
In FIG. 16, the drawing reflection
図17は、上位層分割手法913の概要の一例を示す図である。
下位層のプリントチケットにおいて上位層反映Feature1105に該当するFeatureは、上位層分割手法913により排除される。
図17に示すグループ1は、図8に示したグループ1の二階層を示すものである。図17において、Fixed Page803に関連付けられたページレベルプリントチケット810と、Fixed Page804に関連付けられたページレベルプリントチケット811とにFeatureが存在する。このFeatureのうち、共通Feature1102でも、削除Feature1106でも、描画反映可能Feature1103でもなく、排除できないFeatureが残ったとする。この場合、グループ1の上位層及び下位層のノードのうち、本来一つであった上位層のノードを分割する。
FIG. 17 is a diagram illustrating an example of an outline of the upper
Features corresponding to the upper layer reflection Feature 1105 in the lower layer print ticket are excluded by the upper
The
具体的に説明すると、例えば、上位層分割処理部904は、Fixed Document802から、Fixed Document1901とFixed Document1905とを生成する。そして、上位層分割処理部904は、構造化により上位層に関連付けられる下位層を分ける。すなわち、上位層分割処理部904は、Fixed Document1901の下位層としてFixed Page803を設定し、Fixed Document1905の下位層としてFixed Page804を設定する。
More specifically, for example, the upper layer
また、下位層Feature上位層反映処理部906は、分割前のFixed Document802に関連付けられたドキュメントレベルプリントチケット809を、Fixed Document802の分割数だけ複製する。そして、下位層Feature上位層反映処理部906は、Fixed Document1901、1905に、複製したドキュメントプリントチケット1904、1908を個別に関連付ける。ここで、下位層の印刷属性であるページレベルプリントチケット810、811やFixed Page803、804に関しては変更を行わない。
Also, the lower layer feature upper layer
このような構造において、再度、上位層が1つ、下位層が1つ又は複数の2つの階層からなるグループを生成し、そのグループの夫々において、下位層の印刷属性の削除を行う。この場合における下位層の印刷属性の削除の手法は、例えば、共通Feature1102による上位層反映手法911、上位層分割手法913(の繰り返し)の何れかとなる。
以上のような上位層の分割と再グループ化とを繰り返すことで、下位層の印刷属性を削除することができる。
In such a structure, a group composed of two layers, one upper layer and one or a plurality of lower layers, is generated again, and the printing attributes of the lower layers are deleted in each of the groups. In this case, the method for deleting the printing attribute of the lower layer is, for example, one of the upper
By repeating the division and regrouping of the upper layer as described above, the print attribute of the lower layer can be deleted.
図18は、上位層分割処理部904の構成の詳細の一例を示す図である。
上位層反映Feature取得部2001が上位層反映Feature1105を取得する。そうすると、図17の例で示したように、上位層追加部2002は、グループ内で1つであった上位層のノードを分割する。このとき、上位層追加部2002は、分割前の上位層の印刷属性を分割数だけ複製し、複製した印刷属性を、分割した上位層のノードに関連付ける。また、上位層追加部2002は、上位層反映Feature1105が存在する印刷属性を有する下位層のノードと、分割した上位層のノードとの関連を変更する。
FIG. 18 is a diagram illustrating an example of details of the configuration of the upper layer
The upper layer reflection
更に、上位層関連付け変更部2003は、グループ内の上位層のノードと関連付けられている"当該グループ外のノード"を、分割された上位層のノードの全てと関連付ける。図17に示した例では、分割前は、Fixed Document Sequence801とFixed Document802とが関連付けられている(図8も参照)。一方、分割後は、Fixed Document1901とFixed Document1905の両者とFixed Document Sequence801とが関連付けられる。その後、グループ内に分割数分の上位層が出来てしまったため、再グループ化処理部2004は、上位層が1つ、下位層が1つ以上の複数のグループを生成する。そして、各グループの下位層の印刷属性の排除処理を繰り返すことで、下位層の印刷属性は排除される。
Furthermore, the upper layer
図19は、入力されたXPSドキュメントと、当該XPSドキュメントの最上位の階層まで上位層分割手法913を繰り返して得られるXPSドキュメントの一例を示す図である。
図19に示す例では、入力XPSドキュメント2100のFixed Document Sequenceは1つである。その後、上位層分割手法913によりFixed Document Sequenceが分割され、分割数分の複数のXPSドキュメント2120a、2120bが作られる。このようにすれば、例えば、低機能な印刷装置に対して、XPSドキュメント2120a、2120bを順に印刷させることが可能になる。また、ジョブレベルプリントチケットの処理しかできないような一般のアプリケーションソフトウェアでも、ドキュメントの表示の際に適切な体裁を得られる。
FIG. 19 is a diagram illustrating an example of an XPS document obtained by repeating the upper
In the example shown in FIG. 19, the input XPS document 2100 has one Fixed Document Sequence. Thereafter, the Fixed Document Sequence is divided by the upper
更に、生成された複数のXPSドキュメント2120a、2120bに関連付けられるジョブレベルプリントチケットを全て同じにすることで、複数のXPSドキュメント2120a、2120bを1つのXPSドキュメントに容易に変換(統合)できる。図19に示す例でジョブレベルプリントチケット2104、2111が同じである場合には、例えば、次のようにすることができる。まず、Fixed Document Sequence2105に関連付けられているFixed Document2106とFixed Document2108とをFixed Document Sequence2101と関連付ける。そして、Fixed document Sequence2105とジョブレベルプリントチケット2111とを削除する。前述したように、ジョブレベルプリントチケット2104の編集は、設定も容易で、挙動を理解しやすく、一般的なアプリケーションソフトウェアでも編集することができる。
Furthermore, by making the job level print tickets associated with the plurality of generated XPS documents 2120a and 2120b all the same, the plurality of XPS documents 2120a and 2120b can be easily converted (integrated) into one XPS document. When the job
図20は、構造化文書変換用ソフトウェア113により実行される印刷属性変換処理の一例を説明するフローチャートである。
XPSドキュメント取得・構造解析部702は、XPSドキュメントといった"印刷属性を階層毎に付加できる構造化文書"が投入されると、構造化文書の解析を行う。そして、XPSドキュメント取得・構造解析部702は、図8に示したようなツリー構造を形成する(ステップS1601)。
次に、二階層グループ化処理部703は、ステップS1601で作成されたツリー構造における最下位の階層から順次、1つのノードを含む上位層と1つ以上のノードを含む下位層との2つの階層からなるグループを形成する(ステップS1602)。
次に、印刷属性抽出処理部704は、ステップS1602で形成されたグループの下位層に関連づけられたプリントチケット(階層印刷属性)が存在するか否かを判定する(ステップS1603)。この判定の結果、プリントチケットが存在しない場合には、ステップS1604〜S1612を省略して後述するステップS1613に進む。
一方、プリントチケットが存在する場合、下位層印刷属性比較処理部901は、下位層の全てのプリントチケットを解析し、全てに同じFeatureとOptionが存在するか否かを判定する(ステップS1604)。この判定の結果、全てに同じFeatureとOptionが存在する場合、下位層印刷属性排除処理判断部902は、共通するFeature(及びOption)を上位層のプリントチケット(上位層印刷属性)に反映する。そして、下位層Feature削除部903は、下位層のプリントチケットからそのFeature(及びOption)を削除する(ステップS1605)。そして、ステップS1606に進む。
一方、ステップS1604において、全てに同じFeatureとOptionが存在しないと判定された場合には、ステップS1605を省略してステップS1606に進む。
FIG. 20 is a flowchart for explaining an example of the print attribute conversion process executed by the structured
The XPS document acquisition /
Next, the two-layer
Next, the print attribute
On the other hand, if there is a print ticket, the lower layer print attribute
On the other hand, if it is determined in step S1604 that the same Feature and Option do not exist in all, step S1605 is omitted and the process proceeds to step S1606.
ここで、下位層のプリントチケットに残っているFeatureは、下位層の全てのプリントチケットが持っているFeatureではないことを意味する。そこで、当該Featureを当該Featureの特性に応じて分類するために、下位層印刷属性排除処理判断部902は、図12及び図13に示したような機能リスト1200、1300を取得する(ステップS1606)。機能リスト1200、1300の内容は、Featureの特性に応じて予め定めておいても良いし、ユーザによって書き換えられても構わない。
Here, the feature remaining in the lower layer print ticket means that the feature is not included in all the lower layer print tickets. Therefore, in order to classify the Feature according to the characteristic of the Feature, the lower layer printing attribute exclusion
次に、下位層印刷属性排除処理判断部902は、下位層のプリントチケットに残っているFeatureと、取得した機能リスト1200とを比較して、描画反映可能Feature1103が存在するか否かを判定する(ステップS1607)。この判定の結果、描画反映可能Feature1103が存在する場合、下位層Feature描画反映部905は、描画反映可能Feature1103であるFeature(及びOption)を描画データに反映させる。そして、下位層Feature描画反映部905は、当該Feature(及びOption)を下位層のプリントチケットから削除する(ステップS1608)。そして、ステップS1609に進む。
一方、ステップS1607において、描画反映可能Feature1103が存在しないと判定された場合には、ステップS1608を省略してステップS1609に進む。
Next, the lower-layer print attribute exclusion
On the other hand, if it is determined in step S1607 that there is no drawing-
次に、下位層印刷属性排除処理判断部902は、下位層のプリントチケットに残っているFeatureと、取得した機能リスト1200とを比較して、削除Feature1106が存在するか否かを判定する(ステップS1609)。この判定の結果、削除Feature1106が存在する場合、下位層Feature削除部903は、削除Feature1106であるFeature(及びOption)を、下位層のプリントチケットから削除する(ステップS1610)。そして、ステップS1611に進む。
一方、ステップS1609において、削除Feature1106が存在しないと判定された場合には、ステップS1610を省略してステップS1611に進む。
Next, the lower layer print attribute exclusion
On the other hand, if it is determined in step S1609 that the deleted feature 1106 does not exist, step S1610 is omitted and the process proceeds to step S1611.
次に、下位層印刷属性排除処理判断部902は、下位層のプリントチケットに残っているFeatureと、取得した機能リスト1300とを比較して、上位層反映Feature1105が存在するか否かを判定する(ステップS1611)。この判定の結果、上位層反映Feature1105が存在する場合、上位層分割処理部904は、上位層の分割処理を行う。そして、下位層Feature上位層反映処理部906は、上位層反映Feature1105であるFeature(及びOption)を分割後の上位層のプリントチケットに反映させる。そして、下位層Feature削除部903は、上位層反映Feature1105であるFeature(及びOption)を下位層のプリントチケットから削除する(ステップS1612)。
ここまでで、下位層のプリントチケットには、Featureは一つも無くなり、二階層のグループ化による処理を終了する。
Next, the lower layer print attribute exclusion
Up to this point, there is no Feature in the lower-layer print ticket, and the processing by the two-layer grouping ends.
次に、最上位印刷属性XPSドキュメント変換処理部706は、ステップS1601で取得されたXPSドキュメントにおける二階層のグループ化を、当該XPSドキュメントの最上位の階層まで行ったか否かを判定する(ステップS1613)。すなわち、最下位の階層から、最上位の次の階層(2番目に上位の階層)までの全てのプリントチケットに、Feature(及びOption)が存在しなくなったか否かを判定する。この判定の結果、二階層のグループ化を、XPSドキュメントの最上位の階層まで行っていない場合には、ステップS1602に戻る。そして、ステップS1601で作成されたTree構造における階層の下部からグループを形成し、そのグループに対してステップS1603〜S1613の処理を行う。
そして、ステップS1613において、二階層のグループ化を、XPSドキュメントの最上位の階層まで行ったと判定されると、最上位の階層に関連付けけられた印刷属性が一つだけ残ることになる。そこで、最上位印刷属性XPSドキュメント変換処理部706は、最上位の階層のみの印刷属性を有するXPSドキュメント707に、XPSドキュメント701を更新し(ステップS1614)、図20のフローチャートによる処理を終了する。
Next, the highest-level printing attribute XPS document
If it is determined in step S1613 that the two-layer grouping has been performed up to the highest hierarchy of the XPS document, only one print attribute associated with the highest hierarchy remains. Therefore, the highest-level printing attribute XPS document
以上のように図20に示したフローチャートでは、例えば、ステップS1602の処理を実行することによりグループ化手段の一例が実現され、ステップS1605、S1608、S1612の処理を実行することにより反映手段の一例が実現される。また、例えば、ステップS1605、S1608、S1610、S1612の処理を実行することにより削除手段の一例が実現される。また、例えば、ステップS1612の処理を実行することにより分割手段、関連付け手段、設定手段、統合手段の一例が実現される。 As described above, in the flowchart shown in FIG. 20, for example, an example of the grouping unit is realized by executing the process of step S1602, and an example of the reflecting unit is realized by executing the processes of steps S1605, S1608, and S1612. Realized. In addition, for example, an example of a deletion unit is realized by executing the processing of steps S1605, S1608, S1610, and S1612. Further, for example, an example of a dividing unit, an association unit, a setting unit, and an integrating unit is realized by executing the process of step S1612.
図21は、各Featureに対する排除方法を確認、修正する際に表示される排除方法編集承認画面の一例を示す図である。図15に示す排除方法編集承認画面1500は、下位層印刷属性排除処理判断部902の機能によって、例えば、クライアント装置100a、100bのモニタ110に表示される。この排除方法編集承認画面1500に対するユーザインターフェースを用いたユーザの操作に基づいて、各Featureに対する排除方法の修正や承認が行われる。
図21に示す例では、下位層の印刷属性から排除するFeatureのうち、無条件で上位層反映手法911を実施できるFeatureを除いた全てのfeatureを表示している。また、描画反映手法914は「描画に反映」、上位層分割手法913は「構造変更」、単純削除手法912は「単純削除」と表現している。
FIG. 21 is a diagram illustrating an example of an exclusion method edit approval screen displayed when the exclusion method for each feature is confirmed and corrected. The exclusion method
In the example illustrated in FIG. 21, all the features excluding the features that can be subjected to the upper
図21に示すように、互いに対応するFeatureの名称1501と排除手法1502とを並べて表示することで、Feature毎に排除手法を変更できる。尚、Featureの名称1501が「ホールパンチ」に対する変更ダイアログ1503で、「描画に反映」がグレイアウトされているのは、次の理由による。すなわち、前述したように、上位層分割手法913を適用できるFeatureは、単純削除手法912も適用できるが、描画反映手法914を適用することはできないためである。
As shown in FIG. 21, the
以上のように本実施形態では、例えば、図15に示すFeatureの名称1501により、削除される印刷属性の内容の一例が実現され、排除手法1502により、削除される印刷属性に対する処理の方法の一例が実現される。また、例えば、図15に示す変更ダイアログ1503で選択される削除方法により、削除される印刷属性に対する処理の変更内容の一例が実現される。そして、排除方法編集承認画面1500を用いることにより、報知手段と受け付け手段の一例が実現される。
As described above, in the present embodiment, for example, an example of the contents of the print attribute to be deleted is realized by the
尚、図20のフローチャートにおいて、ユーザによる確認が行われた後に、Featureの反映と削除とを行うようにすることもできる。この場合、例えば、ステップS1605、S1608、S1610、S1612の代わりに、それらの前のステップの判定結果に応じて、上位層反映手法911、単純削除手法912、上位層分割手法913、及び描画反映手法914の何れを行うかを選択する。そして、ステップS1613とステップS1614との間で、図21に示した排除方法編集承認画面1500を表示し、ユーザにより排除手法1502の変更を受け付ける。そして、ステップS1614において、選択した方法でFeatureの反映と削除とを行い、構造化文書の更新を行う。このとき、ユーザにより排除手法1502の変更を受け付けた場合には、選択した方法ではなく、受け付けた方法でFeatureの反映と削除とを行う。
In addition, in the flowchart of FIG. 20, after confirmation by the user, it is possible to reflect and delete the feature. In this case, for example, instead of steps S1605, S1608, S1610, and S1612, an upper
以上のように本実施形態では、ツリー構造の複数のノードに文書データを与えるようにすると共に、当該複数のノード毎に印刷属性を関連付けることができるように構造化された構造化文書において、相対的に下位の層の印刷属性を、その他の部分に反映させる。具体的には、当該下位の層の印刷属性を、当該下位の層のノードとブランチで結ばれている上位の層のノードの印刷属性に反映させる。また、当該下位の層の印刷属性を、当該印刷属性に関連付けられているノードの文書データに反映させる。このような印刷属性の反映を行うに際し、次の処理を必要に応じて行う。まず、上位の層のノードを、例えば、当該上位の層のノードにブランチで結ばれている下位の層のノードの数に分割する。そして、分割した複数のノードの夫々に、元のノードに関連付けられていた印刷属性を関連付けると共に、元のノードとブランチで結ばれていた下位の層のノードを、分割した複数のノードの何れかにブランチで接続する。また、分割した複数のノードを、元のノードとブランチで結ばれていたより上位の層のノードとブランチで結ぶ。 As described above, in this embodiment, document data is given to a plurality of nodes in a tree structure, and a structured document structured so that a print attribute can be associated with each of the plurality of nodes has a relative relationship. Therefore, the printing attribute of the lower layer is reflected in the other parts. Specifically, the printing attribute of the lower layer is reflected in the printing attribute of the node of the upper layer connected with the node of the lower layer by a branch. Further, the printing attribute of the lower layer is reflected in the document data of the node associated with the printing attribute. When reflecting such print attributes, the following processing is performed as necessary. First, the upper layer node is divided into, for example, the number of lower layer nodes connected by branches to the upper layer node. Each of the plurality of divided nodes is associated with the printing attribute associated with the original node, and any of the plurality of nodes obtained by dividing the lower layer node connected to the original node by a branch. Connect to the branch. In addition, the plurality of divided nodes are connected to the higher layer nodes and branches connected to the original node and branches.
以上のようにして、相対的に下位の層の印刷属性を、その他の部分に反映させた後、当該下位の層の印刷属性を削除する。また、相対的に下位の層の印刷属性を単純に削除するという処理を行うこともできる。このような処理を最上位の層だけに印刷属性が関連付けられるようになるまで行う。これにより、最上位の層だけに印刷属性が関連付けられた構造化文書が得られる。 As described above, after the printing attribute of the relatively lower layer is reflected in other parts, the printing attribute of the lower layer is deleted. In addition, it is possible to simply delete the printing attribute of the lower layer. Such a process is performed until the print attribute is associated with only the highest layer. As a result, a structured document in which print attributes are associated with only the top layer is obtained.
したがって、汎用的な文書ドキュメントになり、印刷や表示の際の体裁が、ユーザ環境(アプリケーションソフトウェアや印刷装置)に可及的に依存しないようにすることができる。また、別の印刷装置用に印刷属性を変更する際にも、当該別の印刷装置用のプリンタドライバ等で、構造化文書に付加された印刷属性を容易に把握することができ、当該別の印刷装置に適した印刷属性に容易に且つ確実に印刷属性を変更することができる。更に、印刷設定の変更で変わってしまう印刷属性を除いて電子署名を構造化文書に対して付けたい場合でも、印刷設定の変更で変わってしまう印刷属性を容易に探し出すことができる。したがって、ユーザが利用し易い構造化文書データを提供することができる。 Therefore, it becomes a general-purpose document document, and the appearance at the time of printing and display can be made as independent as possible from the user environment (application software or printing apparatus). In addition, when changing the printing attribute for another printing apparatus, the printing attribute added to the structured document can be easily grasped by the printer driver for the other printing apparatus. The print attribute can be easily and reliably changed to a print attribute suitable for the printing apparatus. Furthermore, even when it is desired to add an electronic signature to a structured document except for print attributes that change due to a change in print settings, it is possible to easily find a print attribute that changes due to a change in print settings. Therefore, structured document data that can be easily used by the user can be provided.
(本発明の他の実施形態)
前述した本発明の実施形態における構造化文書変換装置を構成する各手段、並びに構造化文書変換方法の各ステップは、コンピュータのRAMやROMなどに記憶されたプログラムが動作することによって実現できる。このプログラム及び前記プログラムを記録したコンピュータ読み取り可能な記録媒体は本発明に含まれる。
(Other embodiments of the present invention)
Each unit constituting the structured document conversion apparatus and each step of the structured document conversion method in the embodiment of the present invention described above can be realized by operating a program stored in a RAM or a ROM of a computer. This program and a computer-readable recording medium recording the program are included in the present invention.
また、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。 In addition, the present invention can be implemented as, for example, a system, apparatus, method, program, storage medium, or the like. Specifically, the present invention may be applied to a system including a plurality of devices. The present invention may be applied to an apparatus composed of a single device.
尚、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(実施形態では図20に示すフローチャートに対応したプログラム)を、システムあるいは装置に直接、あるいは遠隔から供給するものを含む。そして、そのシステムあるいは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合も本発明に含まれる。 The present invention includes a software program (in the embodiment, a program corresponding to the flowchart shown in FIG. 20) that implements the functions of the above-described embodiments, directly or remotely supplied to a system or apparatus. The present invention also includes a case where the system or apparatus computer achieves this by reading and executing the supplied program code.
したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。 Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the present invention includes a computer program itself for realizing the functional processing of the present invention.
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。 In that case, as long as it has the function of a program, it may be in the form of object code, a program executed by an interpreter, script data supplied to the OS, and the like.
プログラムを供給するための記録媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RWなどがある。また、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などもある。 Examples of the recording medium for supplying the program include a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, and CD-RW. There are also magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R) and the like.
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、前記ホームページから本発明のコンピュータプログラムそのもの、若しくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。 As another program supply method, a browser on a client computer is used to connect to an Internet home page. The computer program itself of the present invention or a compressed file including an automatic installation function can be downloaded from the homepage by downloading it to a recording medium such as a hard disk.
また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the present invention.
また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、ダウンロードした鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. Let It is also possible to execute the encrypted program by using the downloaded key information and install the program on a computer.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 Further, the functions of the above-described embodiments are realized by the computer executing the read program. In addition, based on the instructions of the program, an OS or the like running on the computer performs part or all of the actual processing, and the functions of the above-described embodiments can also be realized by the processing.
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現される。 Further, the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instructions of the program, and the functions of the above-described embodiments are realized by the processing.
尚、前述した各実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 It should be noted that each of the above-described embodiments is merely a specific example for carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner. . That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
100 クライアント装置
111 印刷装置
112 アプリケーションソフトウェア
113 構造化文書変換用ソフトウェア
114 プリンタドライバ
115 OS
200 ネットワーク
202 プリントサーバ
DESCRIPTION OF
200 Network 202 Print Server
Claims (13)
前記取得手段が取得する前記上位層のノードを、前記第1の下位層のノードを有しておりかつ前記第1の印刷設定に基づく第3の印刷設定が関連づけられた第1の上位層のノードと、前記第2の下位層のノードを有しておりかつ前記第2の印刷設定に基づく第4の印刷設定が関連づけられた第2の上位層のノードに分割する分割手段と、を有することを特徴とする構造化文書変換装置。 Obtain an upper layer node having at least two lower layer nodes, a first lower layer node associated with the first print setting and a second lower layer node associated with the second print setting. Acquisition means to
The upper layer node acquired by the acquisition unit is the first upper layer node having the first lower layer node and associated with the third print setting based on the first print setting. a node and a dividing means for dividing the node of the second upper layer in which the fourth print settings based on the second and has a node of the lower layer of the second print setting is associated, the A structured document conversion apparatus characterized by that.
前記取得手段は、第1の文書要素と第2の文書要素を有するジョブ要素を取得し、
前記分割手段は、前記ジョブ要素を、前記第1の文書要素を有する第1のジョブ要素と、前記第2の文書要素を有する第2のジョブ要素に分割することで2つの構造化文書を作成することを特徴とする請求項1に記載の構造化文書変換装置。 A lower layer node is a document element, an upper layer node is a job element,
The acquisition means acquires the job element having a first document element and the second document element,
The dividing unit generates two structured documents by dividing the job element into a first job element having the first document element and a second job element having the second document element. The structured document conversion apparatus according to claim 1, wherein:
前記第1の判定手段が前記下位層のノードに関連づけられた前記全ての印刷設定に前記共通の項目と設定値が存在すると判定した場合に、前記下位層のノードに関連づけられた前記全ての印刷設定に前記共通の項目と設定値を上位層のノードに反映する第1の反映手段と、を有することを特徴とする請求項1乃至3のいずれか1項に記載の構造化文書変換装置。 First determination means for determining whether an item common to all print settings associated with a lower layer node and a setting value exist;
If the first determination means determines that the common item and setting value exist in all the print settings associated with the lower layer node, all the prints associated with the lower layer node 4. The structured document conversion apparatus according to claim 1, further comprising: a first reflecting unit configured to reflect the common item and the setting value in an upper layer node for setting. 5.
前記第2の判定手段が前記下位層のノードに関連づけられた前記印刷設定に前記描画に反映可能な項目が存在すると判定した場合に、前記描画に反映可能な項目を描画データに反映する第2の反映手段と、を有することを特徴とする請求項1乃至4のいずれか1項に記載の構造化文書変換装置。 A second determination unit that determines whether there is an item that can be reflected in drawing in a print setting associated with a lower layer node;
When the second determination unit determines that there is an item that can be reflected in the drawing in the print setting associated with the lower layer node, a second item that reflects the item that can be reflected in the drawing in the drawing data. 5. The structured document conversion apparatus according to claim 1, further comprising: a reflection unit.
前記分割手段は、前記第4の判定手段が前記下位層のノードに関連づけられた前記印刷設定に前記上位層のノードに関連づけられた前記印刷設定に反映する項目が存在すると判定した場合に、前記上位層のノードを前記第1の上位層のノードと前記第2の上位層のノードに分割することを特徴とする請求項1乃至5のいずれか1項に記載の構造化文書変換装置。 A fourth determination unit configured to determine whether an item to be reflected in the print setting associated with the upper layer node exists in the print setting associated with the lower layer node;
When the fourth determination unit determines that there is an item to be reflected in the print setting associated with the higher layer node in the print setting associated with the lower layer node, structured document conversion device according to any one of claims 1 to 5, characterized in that splitting the nodes of the upper level layer to nodes of node and the second upper layer of the first upper layer.
前記取得工程が取得する前記上位層のノードを、前記第1の下位層のノードを有しておりかつ前記第1の印刷設定に基づく第3の印刷設定が関連づけられた第1の上位層のノードと、前記第2の下位層のノードを有しておりかつ前記第2の印刷設定に基づく第4の印刷設定が関連づけられた第2の上位層のノードに分割する分割工程と、を有することを特徴とする装置の構造化文書変換方法。 Obtain an upper layer node having at least two lower layer nodes, a first lower layer node associated with the first print setting and a second lower layer node associated with the second print setting. An acquisition process to
The upper layer node obtained by the obtaining step is the first upper layer node having the first lower layer node and associated with the third print setting based on the first print setting. a node and, a, a dividing step of dividing the node of the second upper layer in which the fourth print settings based on the second and has a node of the lower layer of the second print setting is associated A structured document conversion method for an apparatus .
前記取得工程が取得する前記上位層のノードを、前記第1の下位層のノードを有しておりかつ前記第1の印刷設定に基づく第3の印刷設定が関連づけられた第1の上位層のノードと、前記第2の下位層のノードを有しておりかつ前記第2の印刷設定に基づく第4の印刷設定が関連づけられた第2の上位層のノードに分割する分割工程と、をコンピュータに実行させることを特徴とするコンピュータプログラム。 Obtain an upper layer node having at least two lower layer nodes, a first lower layer node associated with the first print setting and a second lower layer node associated with the second print setting. An acquisition process to
The upper layer node obtained by the obtaining step is the first upper layer node having the first lower layer node and associated with the third print setting based on the first print setting. computer and the node, a dividing step of dividing the node of the second upper layer in which the fourth print settings based on the second and has a node of the lower layer of the second print setting is associated, the A computer program that is executed by a computer.
前記取得工程は、第1の文書要素と第2の文書要素を有するジョブ要素を取得し、
前記分割工程は、前記ジョブ要素を、前記第1の文書要素を有する第1のジョブ要素と、前記第2の文書要素を有する第2のジョブ要素に分割することで2つの構造化文書を作成することを特徴とする請求項8に記載のコンピュータプログラム。 A lower layer node is a document element, an upper layer node is a job element,
The acquisition step acquires the job element having a first document element and the second document element,
In the dividing step, two structured documents are created by dividing the job element into a first job element having the first document element and a second job element having the second document element. The computer program according to claim 8.
前記第1の判定工程が前記下位層のノードに関連づけられた前記全ての印刷設定に前記共通の項目と設定値が存在すると判定した場合に、前記下位層のノードに関連づけられた前記全ての印刷設定に前記共通の項目と設定値を上位層のノードに反映する第1の反映工程と、をさらにコンピュータに実行させることを特徴とする請求項8乃至10のいずれか1項に記載のコンピュータプログラム。 A first determination step of determining whether an item and a setting value common to all print settings associated with a lower layer node exist;
If the first determination step determines that the common item and setting value exist in all the print settings associated with the lower layer node, all the prints associated with the lower layer node 11. The computer program according to claim 8, further causing the computer to execute a first reflection step of reflecting the common item and the setting value in an upper layer node for setting. 11. .
前記第2の判定工程が前記下位層のノードに関連づけられた前記印刷設定に前記描画に反映可能な項目が存在すると判定した場合に、前記描画に反映可能な項目を描画データに反映する第2の反映工程と、をさらにコンピュータに実行させることを特徴とする請求項8乃至11のいずれか1項に記載のコンピュータプログラム。 A second determination step of determining whether there is an item that can be reflected in the drawing in the print setting associated with the lower layer node;
When the second determination step determines that there is an item that can be reflected in the drawing in the print settings associated with the lower layer node, the second item that reflects the drawing in the drawing data The computer program according to claim 8, further causing the computer to execute the reflection step.
前記分割工程は、前記第4の判定工程が前記下位層のノードに関連づけられた前記印刷設定に前記上位層のノードに関連づけられた前記印刷設定に反映する項目が存在すると判定した場合に、前記上位層のノードを前記第1の上位層のノードと前記第2の上位層のノードに分割することを特徴とする請求項8乃至12のいずれか1項に記載のコンピュータプログラム。 Causing the computer to further execute a fourth determination step of determining whether there is an item to be reflected in the print setting associated with the upper layer node in the print setting associated with the lower layer node;
The dividing step is performed when the fourth determining step determines that the print setting associated with the lower layer node includes an item to be reflected in the print setting associated with the upper layer node. computer program according to any one of claims 8 to 12, wherein splitting the nodes of the upper level layer to a node of the second upper layer and a node of the first upper layer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013140781A JP5528611B2 (en) | 2013-07-04 | 2013-07-04 | Structured document conversion apparatus, structured document conversion method of apparatus, and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013140781A JP5528611B2 (en) | 2013-07-04 | 2013-07-04 | Structured document conversion apparatus, structured document conversion method of apparatus, and computer program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008111771A Division JP5311870B2 (en) | 2008-04-22 | 2008-04-22 | Structured document conversion apparatus, structured document conversion method, and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2013218731A JP2013218731A (en) | 2013-10-24 |
| JP5528611B2 true JP5528611B2 (en) | 2014-06-25 |
Family
ID=49590661
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013140781A Expired - Fee Related JP5528611B2 (en) | 2013-07-04 | 2013-07-04 | Structured document conversion apparatus, structured document conversion method of apparatus, and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5528611B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003091386A (en) * | 2001-09-14 | 2003-03-28 | Canon Inc | Information processing apparatus and method |
| JP4759464B2 (en) * | 2006-07-31 | 2011-08-31 | キヤノン株式会社 | Document processing apparatus and document processing method |
-
2013
- 2013-07-04 JP JP2013140781A patent/JP5528611B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2013218731A (en) | 2013-10-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5311870B2 (en) | Structured document conversion apparatus, structured document conversion method, and computer program | |
| JP4759464B2 (en) | Document processing apparatus and document processing method | |
| US7559024B2 (en) | Document processing apparatus and method | |
| US7929174B2 (en) | Information processing apparatus and method | |
| JP4756870B2 (en) | Document processing apparatus, document processing method, and program | |
| JP4059488B2 (en) | Document processing method and apparatus | |
| US7685517B2 (en) | Image editing of documents with image and non-image pages | |
| KR101336379B1 (en) | Information processing apparatus, information processing apparatus control method, and storage medium | |
| US7606823B2 (en) | Document processing apparatus and method | |
| JP4095512B2 (en) | Document conversion method and apparatus | |
| JP2003091384A (en) | Information processing apparatus and method | |
| CN101051257B (en) | Information processing apparatus and method | |
| JP2016162184A (en) | Information processing system, information processing apparatus, control method, and computer program | |
| JP4439864B2 (en) | Document processing apparatus, document processing method, and program | |
| JP6370156B2 (en) | Information processing apparatus and control method thereof | |
| JP5528611B2 (en) | Structured document conversion apparatus, structured document conversion method of apparatus, and computer program | |
| JP2007328516A (en) | Print control apparatus, print control method, and program | |
| JP4532872B2 (en) | Document processing method and document processing apparatus | |
| JP4747986B2 (en) | Image processing apparatus and program | |
| JP7154982B2 (en) | Information processing device, control method, and program | |
| JP2014229146A (en) | Information processing apparatus, information processing method and program | |
| JP2012083930A (en) | Document processing system | |
| JP2011134337A (en) | Apparatus, method and program for processing document |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130805 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130805 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131126 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140121 |
|
| 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: 20140318 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140415 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5528611 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |