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
JP5528611B2 - Structured document conversion apparatus, structured document conversion method of apparatus, and computer program - Google Patents
[go: Go Back, main page]

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 PDF

Info

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
print
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
Application number
JP2013140781A
Other languages
Japanese (ja)
Other versions
JP2013218731A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2013140781A priority Critical patent/JP5528611B2/en
Publication of JP2013218731A publication Critical patent/JP2013218731A/en
Application granted granted Critical
Publication of JP5528611B2 publication Critical patent/JP5528611B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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 Document 1, an XPS document has a spool format at the time of printing, a printing control language such as PDL (Page Description Language), and a normal document document.
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).

特開2007−164444号公報JP 2007-164444 A 特開2003−162519号公報JP 2003-162519 A

XML Paper Specification : Overview、[online]、マイクロソフト、[平成20年3月14日検索]、インターネット<URL:http://www.microsoft.com/whdc/xps/default.mspx>XML Paper Specification: Overview, [online], Microsoft, [March 14, 2008 search], Internet <URL: http://www.microsoft.com/whdc/xps/default.mspx> PrintTicket and PrintCapabilities Support in Windows Print Drivers、[online]、平成18年2月6日、マイクロソフト、[平成20年3月14日検索]、インターネット<http://www.microsoft.com/whdc/device/print/XPSDrv_PrintTicket.mspx>(XPSDrv_PrintTicket.doc)PrintTicket and PrintCapabilities Support in Windows Print Drivers, [online], February 6, 2006, Microsoft, [Search March 14, 2008], Internet <http://www.microsoft.com/whdc/device/ print / XPSDrv_PrintTicket.mspx> (XPSDrv_PrintTicket.doc)

しかしながら、前記特許文献に示される手法では、印刷属性を加工して新たなドキュメントを生成しても、そのドキュメントが、ドキュメントを処理する側に非依存なドキュメントになる訳ではない。
特許文献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 Patent Document 1, the document document is changed so that the printing attribute added to the document document can be processed by the printing apparatus. In this way, when the document document is printed as it is by the printing apparatus, an intended output can be obtained. However, when a document document is printed by a printing apparatus having a different function or the contents of the document document are confirmed by a completely different application as a general-purpose document, the appearance of the document document may be different.

特許文献2に示される手法では、特定のアプリケーションが、ノードに印刷属性が付加されているのを解釈し、処理に応じて優先順位をつけて階層毎に印刷属性の置換等を行う。しかしながら、生成された文書ドキュメントは、一般的なアプリケーションでも同様の体裁を維持できる訳ではない。特に、階層毎に印刷属性が付加される構造化文書においては、その文書ドキュメントの階層構造の全てを把握しないと適切に処理できない。   In the method disclosed in Patent Document 2, a specific application interprets that a print attribute is added to a node, assigns a priority order according to processing, and performs print attribute replacement for each layer. However, the generated document document cannot maintain the same appearance even in a general application. In particular, a structured document to which printing attributes are added for each hierarchy cannot be processed properly unless the entire hierarchical structure of the document document is grasped.

例えば、一般的なプリンタドライバの印刷設定画面においては、前述した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.

本発明の実施形態を示し、情報処理装置の構成の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of a structure of information processing apparatus. 本発明の実施形態を示し、印刷システムの構成の一例を示す図である。1 is a diagram illustrating an exemplary configuration of a printing system according to an exemplary embodiment of the present invention. 本発明の実施形態を示し、XPSドキュメントの概念の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the concept of an XPS document. 本発明の実施形態を示し、ジョブ全体の印刷属性を設定する際に表示される印刷設定画面の一例を示す図である。FIG. 8 is a diagram illustrating an example of a print setting screen that is displayed when setting the print attributes of the entire job according to the embodiment of this invention. 本発明の実施形態を示し、「特殊設定」タブが選択された場合に表示される印刷設定画面の一例を示す図である。FIG. 10 is a diagram illustrating an example of a print setting screen displayed when a “special setting” tab is selected according to the embodiment of this invention. 本発明の実施形態を示し、印刷属性が付加されたXPSドキュメントを一般的なアプリケーションソフトウェアが処理する際の処理の流れを概念的に示す図である。It is a figure which shows embodiment of this invention and shows the flow of a process at the time of a general application software processing the XPS document to which the printing attribute was added. 本発明の実施形態を示し、構造化文書変換用ソフトウェア113の機能構成の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of a function structure of the software 113 for structured document conversion. 本発明の実施形態を示し、XPSドキュメントの構造の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the structure of an XPS document. 本発明の実施形態を示し、下位層印刷属性排除処理部の詳細な構成の一例を示すブロック図である。It is a block diagram which shows embodiment of this invention and shows an example of a detailed structure of a lower layer printing attribute exclusion process part. 本発明の実施形態を示し、印刷属性を記述しているプリントチケットの構成の一例を示す図である。It is a figure which shows an embodiment of the present invention and shows an example of a configuration of a print ticket describing print attributes. 本発明の実施形態を示し、複数の下位層印刷属性に存在する各Featureの分類方法の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the classification method of each Feature which exists in a several lower layer printing attribute. 本発明の実施形態を示し、描画データに反映できるFeatureとできないFeatureの一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the Feature which can be reflected in drawing data, and the feature which cannot. 本発明の実施形態を示し、上位層反映FeatureにするFeatureの一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the Feature made into upper layer reflection Feature. 本発明の実施形態を示し、分類した各Featureに対する排除方法の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the exclusion method with respect to each classified Feature. 本発明の実施形態を示し、描画反映手法の概要の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the outline | summary of a drawing reflection method. 本発明の実施形態を示し、下位層Feature描画反映部の構成の詳細の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the detail of a structure of the lower layer Feature drawing reflection part. 本発明の実施形態を示し、上位層分割手法の概要の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the outline | summary of the upper layer division | segmentation method. 本発明の実施形態を示し、上位層分割処理部の構成の詳細の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the detail of a structure of a high-order layer division | segmentation process part. 本発明の実施形態を示し、入力されたXPSドキュメントと、当該XPSドキュメントの最上位の階層まで上位層分割手法を繰り返して得られるXPSドキュメントの一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the XPS document obtained by repeating the input XPS document and the upper layer division | segmentation method to the highest hierarchy of the said XPS document. 本発明の実施形態を示し、印刷属性変換処理の一例を説明するフローチャートである。6 is a flowchart illustrating an example of print attribute conversion processing according to the embodiment of this invention. 本発明の実施形態を示し、各Featureに対する排除方法を確認、修正する際に表示される排除方法編集承認画面の一例を示す図である。It is a figure which shows embodiment of this invention and shows an example of the exclusion method edit approval screen displayed when confirming and correcting the exclusion method with respect to each Feature.

以下に、図面を参照しながら、本発明の一実施形態について説明する。
図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 CPU 101 controls the information processing apparatus 100 as a whole according to a program stored in the ROM 102, the RAM 103, or the storage device 105. The RAM 103 is also used as a work area when the CPU 101 performs various processes. The storage device 105 records an operating system (OS) 115, application software 112, and the like. Further, structured document conversion software 113 and printer driver 114 for performing print attribute conversion processing, which is one of the features of the present embodiment, are also stored in the storage device 105. Input devices such as a keyboard and a mouse are devices for the user to give various instructions to the information processing apparatus 100 through the input I / F 104. The output I / F 106 is an interface for outputting data to the outside. For example, the output I / F 106 outputs data to the monitor 110 and the printing apparatus 111. The printing apparatus 111 may be connected to the information processing apparatus 100 through a network as well as the local I / O. Each unit in the information processing apparatus 100 is connected to a system bus 107 which is a common data bus, and exchanges data through the system bus 107.

図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 client device 100. The generated structured document is utilized by the client device 100 or sent to another device through the network 200. When an XPS document is used as a print document, for example, an XPS document with a print attribute (print setting) according to the function of the printing apparatus 111b is generated. This XPS document is generated by, for example, a “printer driver, print data generation application, etc.” installed in the client apparatus 100a. Then, the printing apparatus 111b prints the XPS document on paper by performing print processing on the generated XPS document using the function of the printing apparatus 111b.

また、印刷装置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 application software 112 installed in the client device 100 a and stored in the ROM 102 or the storage device 105. Then, the client device 100a transfers, distributes, and discloses the created XPS document to the client device 100b, for example. The client apparatus 100b can display and edit the XPS document transferred, distributed, and published by the client apparatus 100a using the application software 112. At this time, how the application software 112 uses the print attribute depends on the function of the application software 112. Therefore, even if the XPS document is the same, the application software 112 that handles the XPS document may be displayed with a different appearance or the added print attribute may be deleted.

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 application software 112. Further, the printing apparatuses 111a and 111b access an XPS document stored in the print server 202, and a process called pull printing for printing the XPS document by the printing apparatuses 111a and 111b is also performed.

以上のような場合にも、同じ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 application software 112, or the output results may differ depending on the printing apparatuses 111a and 111b.
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 application software 112 and the printing apparatuses 111a and 111b.

図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 Fixed Document Sequence 301 may be understood as a job, the Fixed Document 302 as a document, and the Fixed Page 303 as a page. Thus, the XPS document has a tree structure, and a Fixed Document Sequence 301, a Fixed Document 302, and a Fixed Page 303 are given to each node of the tree.
As shown in Non-patent Document 1, there is always only one Fixed Document Sequence 301 in the XPS document. The Fixed Document Sequence 301 holds a plurality of Fixed Documents 302a and 302b. Further, each of the Fixed Documents 302a and 302b holds a plurality of Fixed Pages 303a to 303b and 303c to 303d. In addition, print attributes (print settings) can be associated with these arbitrary Fixed Document Sequence 301, Fixed Document 302, and Fixed Page 303, respectively. This print attribute is called a print ticket.

ここで、Fixed Document Sequence301に関連付けられた印刷属性を含むデータをジョブレベルプリントチケット304と呼ぶ。また、Fixed Document302に関連付けられた印刷属性を含むデータをドキュメントレベルプリントチケット305と呼ぶ。また、Fixed Page303に関連付けられた印刷属性を含むデータをページレベルプリントチケット306と呼ぶ。ジョブレベルプリントチケット304は、ジョブ全体に関わる印刷属性を設定する。ドキュメントレベルプリントチケット305は、夫々のドキュメントに関わる印刷属性を設定する。ページレベルプリントチケット306は、夫々のページに関わる印刷属性を設定する。   Here, data including print attributes associated with the Fixed Document Sequence 301 is referred to as a job level print ticket 304. Data including the print attribute associated with the Fixed Document 302 is referred to as a document level print ticket 305. Data including a print attribute associated with the Fixed Page 303 is called a page level print ticket 306. The job level print ticket 304 sets print attributes related to the entire job. The document level print ticket 305 sets print attributes related to each document. The page level print ticket 306 sets print attributes related to each page.

図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 level print ticket 304, the document level print ticket 305, and the page level print ticket 306 are associated with the XPS document. is there. The print setting screens shown in FIGS. 4 and 5 are displayed on the monitor 110 of the client devices 100a and 100b, for example.
FIG. 4 is a diagram illustrating an example of a print setting screen displayed when setting the print attributes of the entire job.
The print setting screen 400 shown in FIG. 4 is called and used by an application, a printer driver, and a print utility mainly when processing the job level print ticket 304. More specifically, the print setting screen 400 is called and used when adding a print attribute to an XPS document to which a print attribute is not added or editing a print attribute.

図4に示す印刷設定画面400においては、ユーザによるキーボード108やポインティングデバイス109の操作に基づく"フィニッシング処理の設定"が行われる。この設定に従い、ジョブレベルプリントチケット304が生成され、Fixed Document Sequence301に関連付けられる。例えば、フィニッシング処理としては、片面・両面処理、ステイプル処理、ソート処理、パンチ処理、穴あけ処理、製本処理等がある。
同様に、印刷設定画面400において、「ページ設定」タブ、「給紙」タブ、「印刷品質」タブが選択された場合には、選択されたタブに応じた印刷設定画面が表示される。そして、印刷設定画面で設定された内容が、ジョブレベルプリントチケット304に反映される。
In the print setting screen 400 shown in FIG. 4, “setting of finishing processing” is performed based on the operation of the keyboard 108 and the pointing device 109 by the user. According to this setting, a job level print ticket 304 is generated and associated with the Fixed Document Sequence 301. For example, finishing processing includes single-sided / double-sided processing, stapling processing, sorting processing, punching processing, punching processing, and bookbinding processing.
Similarly, when the “page setting” tab, the “paper feed” tab, and the “print quality” tab are selected on the print setting screen 400, a print setting screen corresponding to the selected tab is displayed. The contents set on the print setting screen are reflected in the job level print ticket 304.

次に、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 print setting screen 400 shown in FIG. 4. The set contents are reflected in the document level print ticket 305 and the page level print ticket 306.

図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 print setting screen 500 shown in FIG. 5 is displayed on the entire job by using a print setting screen displayed by selecting a “page setting” tab, a “finishing” tab, a “paper feeding” tab, and a “print quality” tab. This is for setting a print attribute different from the print attribute set for the print attribute. Specifically, the print setting screen 500 shown in FIG. 5 is a sheet for setting print attributes different from the settings of the entire job for a specific page or a specific page range. In this sheet, a button 501 is a button for setting a cover and a back cover separately from the text data. A button 502 is a button for setting a sheet to be inserted separately from the body data. A button 503 is a button for performing a setting different from the setting of the entire job for a specific page or a specific page range. A list 504 is used to display a list of “items different from the settings for the entire job” set by pressing these buttons 501 to 503. In the example illustrated in FIG. 5, the list 504 displays, from the left column, a column indicating a setting target page or page range, a setting item column, and a setting setting column. Yes. This display is merely an example, and other formats and items may be displayed in the list 504.

また、ユーザの操作によりリスト504に列挙される特殊設定群について、隣接するページ或いはページ範囲が同じ設定になった場合、それらを結合するために、リストの結合ボタン505が用意されている。ユーザは、特殊設定が表示されているリスト504の中から、ページ或いはページ範囲が隣接する設定であって、結合したい設定を選択した後に、このリストの結合ボタン505を押下する。そうすると、選択された設定が結合される。   In addition, for the special setting group listed in the list 504 by the user's operation, when adjacent pages or page ranges have the same setting, a list combining button 505 is prepared to combine them. The user selects a setting that is adjacent to a page or a page range from the list 504 in which special settings are displayed and wants to be combined, and then presses a combining button 505 in this list. The selected settings are then combined.

また、ユーザの操作によりリスト504に列挙される特殊設定群について、設定を削除するために削除ボタン506が用意されている。ユーザは、特殊設定が表示されているリスト504の中から削除したい設定を選択した後に、この削除ボタン506を押下する。そうすると、選択された設定が削除される。
また、ユーザの操作によりリスト504に列挙される特殊設定群について、設定の内容を変更するために設定ボタン507が用意されている。ユーザは、特殊設定が表示されているリスト504の中から変更したい設定を選択した後に、この設定ボタン507を押下する。そうすると、選択された設定の変更が可能となる。
In addition, a delete button 506 is provided to delete a setting for a special setting group listed in the list 504 by a user operation. The user presses the delete button 506 after selecting the setting to be deleted from the list 504 displaying the special settings. Then, the selected setting is deleted.
A setting button 507 is prepared for changing the setting contents of the special setting group listed in the list 504 by the user's operation. The user presses the setting button 507 after selecting the setting to be changed from the list 504 displaying the special setting. Then, the selected setting can be changed.

以上のようにして行われる設定に従って、ドキュメントレベルプリントチケット305或いはページレベルプリントチケット306が生成され、Fixed Document302或いはFixed Page303に関連付けられる。
このようにして、図3に示したXPSドキュメントの各階層にプリントチケットが関連付けられ、印刷属性が付加されることになる。
The document level print ticket 305 or the page level print ticket 306 is generated according to the setting performed as described above, and is associated with the Fixed Document 302 or the Fixed Page 303.
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 Fixed Document Sequence 301 that has only one. As a result of this analysis, the job level print ticket 304 associated with the Fixed Document Sequence 301 is extracted (step S604).
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 level print ticket 304 is processed using the user interface 606 for processing the print attribute (step S605b).
Thereafter, the processed XPS document 609 is stored (step S606). At this time, the document level print ticket 305 and the page level print ticket 306 are often deleted or remain the same as those added to the XPS document 601. In this way, the XPS document has a format that depends on the application software that uses it. This can happen in the printing apparatus as well. For example, the output result format differs between a printing apparatus that interprets print tickets other than the job level print ticket 304 and a printing apparatus that interprets only the job level print ticket 304.

図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 document conversion software 113. The structured document conversion software 113 implements a printing attribute conversion method using the blocks shown in FIG.
The structured document conversion software 113 according to the present embodiment analyzes an XPS document and converts an XPS document in which a print attribute is associated with each layer into an XPS document in which a print attribute is associated with only the highest layer. And save it. However, the application software 112 shown in FIG. 1 may perform the same processing as the processing performed by the structured document conversion software 113 before or after the XPS document is read and used. The printer driver 114 may perform the same processing as the processing performed by the structured document conversion software 113 before generating print data. Further, the print server 202 and the printing apparatus 111 may perform the same processing as the processing performed by the structured document conversion software 113.

構造化文書変換用ソフトウェア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 / structure analysis unit 702 of the structured document conversion software 113 acquires the XPS document 701 and analyzes the structure thereof. The analysis of the structure of the XPS document 701 is performed according to the method described in Non-Patent Document 1. FIG. 8 is a diagram illustrating an example of the structure of the XPS document 701. As a result, the XPS document acquisition / structure analysis unit 702 interprets the XPS document 701 as having a hierarchical structure as shown in FIG.
Next, based on the analyzed structure, the two-layer grouping processing unit 703 includes two consecutive layers (an upper layer including one node and one or more nodes positioned below the upper layer). Group in combination with (lower layer). In the example illustrated in FIG. 8, a fixed document 802 is included in the upper layer, and a group 1 including N (N is a natural number) Fixed Pages 803 and 804 from Fixed Page1 to Fixed PageN is formed in the lower layer. Further, a fixed document 805 is included in the upper layer, and a group 2 including L fixed pages 806 and 807 (L is a natural number) from Fixed Page1 to Fixed PageL is formed in the lower layer. Further, a fixed document sequence 801 is formed in the upper layer, and a group 3 including M (M is a natural number) Fixed Documents 802 and 805 from Fixed Document 1 to Fixed Document M is formed in the lower 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 extraction processing unit 704 extracts print attributes (print tickets) for the two hierarchies (upper layer and lower layer) grouped in this way. At most one print ticket is associated with each part such as Fixed Document and Fixed Page. Therefore, for example, one document level print ticket 809 associated with the Fixed Document 802 is extracted as the upper layer print ticket of the group 1 in FIG. On the other hand, since there are N Fixed Pages 803 and 804 from Fixed Page 1 to Fixed Page N, a maximum of N page-level print tickets 810 and 811 are extracted as the lower layer print tickets of Group 1. In the following description, as necessary, a print ticket associated with an upper layer is referred to as an upper layer print attribute, and a print ticket associated with a lower layer is referred to as a lower layer 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 extraction processing unit 704 extracts the upper layer printing attribute and the lower layer printing attribute, the lower layer printing attribute exclusion processing unit 705 excludes the lower layer printing attribute. The specific processing contents of the lower layer printing attribute exclusion processing unit 705 will be described later with reference to FIG.
The highest-level printing attribute XPS document conversion processing unit 706 instructs to repeat the two-level grouping processing unit 703, the printing attribute extraction processing unit 704, and the lower-level printing attribute exclusion processing unit 705, and finally only the highest level hierarchy. An XPS document having a print attribute is created. In the group 1 of FIG. 8, when the page level print tickets 810 and 811 that are the lower layer print attributes extracted by the print attribute extraction processing unit 704 are excluded by the lower layer print attribute exclusion processing unit 705, the document level print ticket Only 809 will be present. Similarly, in the group 2, only the document level print ticket 812 exists. Further, when the same processing is performed in the group 3, the document level print tickets 809 and 812 that are lower layer print attributes are excluded, and only the job level print ticket 808 (print attribute of the highest layer) remains. In this way, the highest-level print attribute XPS document conversion processing unit 706 generates and stores an XPS document 707 (structured document) having the print attribute (job level print ticket 808) of only the highest level.

図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 exclusion processing unit 705.
When one upper layer printing attribute and one or more lower layer printing attributes are extracted by the printing attribute extraction processing unit 704 in FIG. 7, the lower layer printing attribute comparison processing unit 901 has a plurality of lower layer printing attributes. It is determined whether or not. If there are a plurality of lower layer printing attributes, the lower layer printing attribute comparison processing unit 901 compares the contents of the plurality of lower layer printing attributes.
FIG. 10 is a diagram illustrating an example of the configuration of a print ticket describing print attributes.
As shown in FIG. 10, the print ticket 1000 that is the printing attribute of the XPS document exists as an XML file, and a plurality of Feature tags 1002 a to 1002 g indicating functions exist in one PrintTicket tag 1001. Option tags 1003a to 1003g existing in the feature tags 1002a to 1002g are set values of the function indicated by the current feature. The print ticket 1000 shown in FIG. 10 indicates that the print attribute is 600 dpi, the printing method is duplex printing, the page size is A4, the layout is 2in1, and so on.

下位層印刷属性比較処理部901では、複数の下位層印刷属性のFeature及びOptionの比較を行う。具体的に下位層印刷属性比較処理部901は、全ての下位層印刷属性で共通のOptionを持つFeatureは何か、幾つかの下位層印刷属性で異なるOptionを持つFeatureは何かを抽出する。
下位層印刷属性排除処理判断部902は、下位層印刷属性比較処理部901で抽出されたFeatureに対して、どのような排除処理を行うかを判断する。本実施形態では、Featureに対する排除方法として、上位層反映手法911、単純削除手法912、上位層分割手法913、描画反映手法914が存在する。
The lower layer printing attribute comparison processing unit 901 compares Feature and Option of a plurality of lower layer printing attributes. Specifically, the lower layer printing attribute comparison processing unit 901 extracts what features have an Option common to all lower layer printing attributes, and what is a Feature having different options for several lower layer printing attributes.
The lower layer printing attribute exclusion processing determination unit 902 determines what type of exclusion processing is performed on the feature extracted by the lower layer printing attribute comparison processing unit 901. In the present embodiment, there are an upper layer reflection method 911, a simple deletion method 912, an upper layer division method 913, and a drawing reflection method 914 as exclusion methods for features.

上位層反映手法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 layer reflection method 911, first, the lower layer feature upper layer reflection processing unit 906 reflects the lower layer printing attribute Feature tag 1002 (and its option tag 1003) in the upper layer printing attribute. Then, the lower layer feature deleting unit 903 deletes the original feature tag 1002 (and its option tag 1003) before being reflected in the upper layer printing attribute by the lower layer feature upper layer reflection processing unit 906 from the lower layer printing attribute. .
In the simple deletion method 912, the lower layer feature deletion unit 903 simply deletes the lower layer feature tag 1002 (and its option tag 1003) regardless of the processing in the lower layer feature upper layer reflection processing unit 906.

上位層分割手法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 layer division method 913, first, the upper layer division processing unit 904 divides an originally upper layer node into a plurality of nodes, and adds an upper layer printing attribute to each of the divided plurality of upper layer nodes. . Next, the lower layer feature upper layer reflection processing unit 906 reflects the feature tag 1002 of the lower layer printing attribute (and its option tag 1003) in the plurality of added upper layer printing attributes. Finally, the lower layer feature deletion unit 903 excludes the lower layer feature tag 1002 (and its option tag 1003) reflected by the lower layer feature upper layer reflection processing unit 906 from the lower layer printing attribute. Specific processing of the upper layer division method 913 will be described later.
In the drawing reflection method 914, first, the lower layer Feature drawing reflection unit 905 reflects the function of the Feature tag 1002 in drawing data described in Fixed Page or the like. Next, the lower layer feature deletion unit 903 deletes the lower layer feature tag 1002 (and its option tag 1003) reflected by the lower layer feature drawing reflection unit 905 from the lower layer printing attribute. Specific processing of the drawing reflection method 914 will also be described later.

下位層印刷属性排除処理判断部902は、これら4つの手法911〜914の何れで下位層印刷属性を排除するかを、各Featureの分類や、事前に設定されている内容(リスト)や、ユーザインターフェースを用いたユーザからの指定等に基づいて判断する。   The lower layer printing attribute exclusion processing determination unit 902 determines which of the four methods 911 to 914 is used to exclude the lower layer printing attribute, the classification of each feature, the contents (list) set in advance, the user Judgment is made based on designation from the user using the interface.

図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 comparison processing unit 901 classifies the features extracted from the XPS document having the common Option as “all lower layer print attributes 1101a to 1101d” as the common feature 1102. On the other hand, for features that do not have a common option, the lower layer printing attribute exclusion processing determination unit 902 classifies whether the feature is a drawing-reflectable Feature 1103 or another Feature 1104. A specific example of the drawing reflecting feature 1103 will be described later with reference to FIG.
The lower layer printing attribute exclusion processing determination unit 902 further classifies the features classified into other features 1104 as either the upper layer reflecting feature 1105 or the deletion feature 1106. This classification is performed based on, for example, preset contents (list), designation from the user using the user interface, or the like.

図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 function list 1200 shown in FIG. 12 is held by the lower layer printing attribute exclusion processing determination unit 902, and when a feature that does not have a common option is classified into one of the feature 1103 that can be rendered and the other feature 1104. Referenced.
The features shown in FIG. 12 are those defined by Microsoft as public features, and the respective features and options are described in Non-Patent Document 2. Further, a feature that is uniquely defined by a vendor of the printing apparatus as a private feature may be included in the function list 1200.
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 processing determination unit 902 classifies the features registered in the function list 1200 shown in FIG.

図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 function list 1300 shown in FIG. 13 is held by the lower layer printing attribute exclusion processing determination unit 902, and is referred to when classifying the features classified into other features 1104 as either the upper layer reflecting feature 1105 or the deleted feature 1106. 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 function list 1300. Among the features classified as other features 1104, the features listed in the function list 1300 are classified as higher layer reflecting features 1105, and the features not listed are classified as deleted features 1106. It should be noted that before classifying the features classified into other feature 1104 according to the classification based on the function list 1300 as the deletion feature 1106, it is preferable to let the user confirm the classified result by the user interface and correct it as necessary.

図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 processing determination unit 902.
In FIG. 14, the upper layer reflection method 911 for reflecting the feature tag 1002 as it is to the printing attribute of the upper layer is applied to the features classified as the common feature 1102. In this case, since the appearance of the XPS document is not destroyed at all, it can be carried out unconditionally.
A simple deletion method 912 that simply deletes the feature tag 1002 corresponding to the printing attribute of the lower layer is applied to the feature classified as the deletion feature 1106.
The upper layer division method 913 is applied to the features classified as the upper layer reflection feature 1105, and the drawing reflection method 914 is applied to the feature classified as the drawing reflection feasible feature 1103. It should be noted that the upper layer division method 913 and the simple deletion method 912 can be adopted for the features to which the drawing reflection method 914 can be applied. For features to which the upper layer division method 913 can be applied, the simple deletion method 912 can also be adopted.

図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 drawing reflection method 914.
The feature corresponding to the drawing reflection possible feature 1103 in the lower layer print ticket is reflected in the drawing data by the drawing reflection method 914. Then, the lower layer Feature drawing reflection unit 905 deletes the Feature from the lower layer print ticket.
For example, a Fixed Page 1701 before print attribute conversion is a Fixed Page with no drawing. On the other hand, “PrintTicket 1702 before print attribute conversion” associated with Fixed Page 1701 has a feature called Stamp, and has a print attribute that gives the name “confidential”.

この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 PrintTicket 1702 are displayed by application software that considers printing attributes or printed by a printing device that considers printing attributes, a display / printing result 1705 written only as confidential is obtained. Here, when the feature “Stamp” is assigned to the feature 1103 capable of reflecting the drawing, a fixed page 1703 after the printing attribute conversion is obtained by the drawing reflecting method 914. That is, a drawing tag such as <Glyphs> or </ Glyphs> is added, and a Fixed Page 1703 in which “confidential” is described as the drawing content is obtained. At the same time, the feature “Stamp” is deleted from the PrintTicket 1702 before the print attribute conversion, and the PrintTicket 1704 after the print attribute conversion is obtained. The display / output result 1706 by the Fixed Page 1703 and the PrintTicket 1704 coincides with the display / print result 1705 and is described only as confidential.
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 drawing reflection unit 905.
In FIG. 16, the drawing reflection feature acquisition unit 1801 receives a drawing reflection-capable feature 1103. Then, the corresponding FixedPage acquisition unit 1802 acquires a Fixed Page that is associated with a lower layer print attribute in which the drawable feature 1103 is stored and in which a drawing object is stored. In addition, the drawing reflection content determination unit 1803 identifies a drawing processing method using the drawing reflection-capable Feature 1103 and the function list 1200 illustrated in FIG. The corresponding FixedPage update unit 1804 changes the drawing data (drawing object) of the Fixed Page according to this drawing processing method. As the drawing processing method, for example, the color of each drawing object is processed according to the printing attribute, the coordinates of each drawing object are processed according to the printing attribute, or the drawing object is added or changed. And so on. The drawing processing method differs depending on each printing attribute. For example, in the case of reflecting a drawing reflection-capable Feature 1103 called magnification setting on a drawing object, the corresponding FixedPage update unit 1804 performs the following processing. First, the FixedPage update unit 1804 surrounds drawing objects stored in the Fixed Page with tags such as <Canvas> and </ Canvas>. Next, the corresponding FixedPage updating unit 1804 designates the magnification for the drawing object using tags such as <Transform> and </ Transform>. In addition, when reflecting the drawing reflecting feature 1103 called the input color profile to the drawing object, the corresponding FixedPage updating unit 1804 performs the following processing. That is, the corresponding FixedPage update unit 1804 reflects the ICC profile specified by the drawing reflection-capable Feature 1103 on all drawing objects. The contents of the printing attribute drawing reflection method are not limited to the above.

図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 layer division method 913.
Features corresponding to the upper layer reflection Feature 1105 in the lower layer print ticket are excluded by the upper layer division method 913.
The group 1 shown in FIG. 17 shows the two layers of the group 1 shown in FIG. In FIG. 17, there are features in the page level print ticket 810 associated with the Fixed Page 803 and the page level print ticket 811 associated with the Fixed Page 804. Of these features, it is assumed that there is a feature that cannot be excluded because it is not the common feature 1102, the deleted feature 1106, or the drawable feature 1103. In this case, of the upper layer nodes and lower layer nodes of group 1, the originally upper layer node is divided.

具体的に説明すると、例えば、上位層分割処理部904は、Fixed Document802から、Fixed Document1901とFixed Document1905とを生成する。そして、上位層分割処理部904は、構造化により上位層に関連付けられる下位層を分ける。すなわち、上位層分割処理部904は、Fixed Document1901の下位層としてFixed Page803を設定し、Fixed Document1905の下位層としてFixed Page804を設定する。   More specifically, for example, the upper layer division processing unit 904 generates a Fixed Document 1901 and a Fixed Document 1905 from the Fixed Document 802. Then, the upper layer division processing unit 904 divides the lower layer associated with the upper layer by structuring. That is, the upper layer division processing unit 904 sets Fixed Page 803 as a lower layer of Fixed Document 1901 and sets Fixed Page 804 as a lower layer of Fixed Document 1905.

また、下位層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 reflection processing unit 906 copies the document level print ticket 809 associated with the fixed document 802 before the division by the number of divisions of the fixed document 802. The lower layer feature upper layer reflection processing unit 906 associates the duplicate document print tickets 1904 and 1908 with the fixed documents 1901 and 1905 individually. Here, the page level print tickets 810 and 811 and the Fixed Pages 803 and 804 which are lower layer printing attributes are not changed.

このような構造において、再度、上位層が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 layer reflection method 911 and the upper layer division method 913 (repeated) by the common feature 1102.
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 division processing unit 904.
The upper layer reflection feature acquisition unit 2001 acquires the upper layer reflection feature 1105. Then, as shown in the example of FIG. 17, the upper layer adding unit 2002 divides the upper layer node that was one in the group. At this time, the upper layer adding unit 2002 duplicates the printing attributes of the upper layer before division by the number of divisions, and associates the duplicated printing attributes with the divided upper layer nodes. Also, the upper layer adding unit 2002 changes the relationship between the lower layer node having the print attribute in which the upper layer reflection Feature 1105 exists and the divided upper layer node.

更に、上位層関連付け変更部2003は、グループ内の上位層のノードと関連付けられている"当該グループ外のノード"を、分割された上位層のノードの全てと関連付ける。図17に示した例では、分割前は、Fixed Document Sequence801とFixed Document802とが関連付けられている(図8も参照)。一方、分割後は、Fixed Document1901とFixed Document1905の両者とFixed Document Sequence801とが関連付けられる。その後、グループ内に分割数分の上位層が出来てしまったため、再グループ化処理部2004は、上位層が1つ、下位層が1つ以上の複数のグループを生成する。そして、各グループの下位層の印刷属性の排除処理を繰り返すことで、下位層の印刷属性は排除される。   Furthermore, the upper layer association changing unit 2003 associates “nodes outside the group” associated with the upper layer nodes in the group with all of the divided upper layer nodes. In the example shown in FIG. 17, the Fixed Document Sequence 801 and the Fixed Document 802 are associated before division (see also FIG. 8). On the other hand, after the division, both the Fixed Document 1901 and the Fixed Document 1905 are associated with the Fixed Document Sequence 801. After that, since the upper layer for the number of divisions has been created in the group, the regroup processing unit 2004 generates a plurality of groups having one upper layer and one or more lower layers. Then, the printing attribute of the lower layer of each group is repeated to eliminate the printing attribute of the lower 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 layer division method 913 up to the input XPS document and the highest layer of the XPS document.
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 layer division method 913, and a plurality of XPS documents 2120a and 2120b corresponding to the number of divisions are created. In this way, for example, XPS documents 2120a and 2120b can be sequentially printed on a low-function printing apparatus. Even general application software that can only process a job level print ticket can obtain an appropriate appearance when displaying a document.

更に、生成された複数の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 level print tickets 2104 and 2111 are the same in the example shown in FIG. 19, for example, the following can be performed. First, the Fixed Document 2106 and the Fixed Document 2108 associated with the Fixed Document Sequence 2105 are associated with the Fixed Document Sequence 2101. Then, the Fixed document Sequence 2105 and the job level print ticket 2111 are deleted. As described above, editing of the job level print ticket 2104 is easy to set, the behavior is easy to understand, and can be edited with general application software.

図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 document conversion software 113.
The XPS document acquisition / structure analysis unit 702 analyzes a structured document when a “structured document to which printing attributes can be added for each layer” such as an XPS document is input. Then, the XPS document acquisition / structure analysis unit 702 forms a tree structure as shown in FIG. 8 (step S1601).
Next, the two-layer grouping processing unit 703 sequentially starts from the lowest layer in the tree structure created in step S1601, and includes two layers of an upper layer including one node and a lower layer including one or more nodes. Is formed (step S1602).
Next, the print attribute extraction processing unit 704 determines whether there is a print ticket (hierarchical print attribute) associated with the lower layer of the group formed in step S1602 (step S1603). If the result of this determination is that there is no print ticket, steps S1604 to S1612 are omitted, and processing proceeds to step S1613, which will be described later.
On the other hand, if there is a print ticket, the lower layer print attribute comparison processing unit 901 analyzes all the print tickets in the lower layer and determines whether or not the same Feature and Option exist in all (step S1604). As a result of this determination, if the same Feature and Option are present in all, the lower layer print attribute exclusion processing determination unit 902 reflects the common Feature (and Option) in the upper layer print ticket (upper layer print attribute). The lower layer feature deletion unit 903 deletes the feature (and option) from the lower layer print ticket (step S1605). Then, the process proceeds to step S1606.
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 processing determination unit 902 acquires the function lists 1200 and 1300 as illustrated in FIGS. 12 and 13 (Step S1606). . The contents of the function lists 1200 and 1300 may be determined in advance according to the characteristics of the feature, or may be rewritten by the user.

次に、下位層印刷属性排除処理判断部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 processing determination unit 902 compares the features remaining in the lower-layer print ticket with the acquired function list 1200 to determine whether or not the rendering-applicable Feature 1103 exists. (Step S1607). As a result of the determination, if there is a drawing-reflectable Feature 1103, the lower-layer Feature drawing reflection unit 905 reflects the Feature (and Option) that is the drawing reflection-capable Feature 1103 in the drawing data. Then, the lower layer Feature drawing reflection unit 905 deletes the Feature (and Option) from the lower layer print ticket (step S1608). Then, the process proceeds to step S1609.
On the other hand, if it is determined in step S1607 that there is no drawing-reflectable Feature 1103, step S1608 is omitted and the process proceeds to step S1609.

次に、下位層印刷属性排除処理判断部902は、下位層のプリントチケットに残っているFeatureと、取得した機能リスト1200とを比較して、削除Feature1106が存在するか否かを判定する(ステップS1609)。この判定の結果、削除Feature1106が存在する場合、下位層Feature削除部903は、削除Feature1106であるFeature(及びOption)を、下位層のプリントチケットから削除する(ステップS1610)。そして、ステップS1611に進む。
一方、ステップS1609において、削除Feature1106が存在しないと判定された場合には、ステップS1610を省略してステップS1611に進む。
Next, the lower layer print attribute exclusion processing determination unit 902 compares the feature remaining in the lower layer print ticket with the acquired function list 1200 to determine whether or not the deleted feature 1106 exists (step S102). S1609). If there is a deleted Feature 1106 as a result of this determination, the lower layer feature deleting unit 903 deletes the Feature (and Option) that is the deleted Feature 1106 from the lower layer print ticket (step S1610). Then, the process proceeds to step S1611.
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 processing determination unit 902 compares the feature remaining in the lower layer print ticket with the acquired function list 1300 to determine whether the upper layer reflection feature 1105 exists. (Step S1611). As a result of this determination, when the upper layer reflection Feature 1105 exists, the upper layer division processing unit 904 performs the upper layer division processing. Then, the lower layer feature upper layer reflection processing unit 906 reflects the Feature (and Option), which is the upper layer reflection feature 1105, in the divided upper layer print ticket. Then, the lower layer feature deletion unit 903 deletes the feature (and option), which is the upper layer reflection feature 1105, from the lower layer print ticket (step S1612).
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 conversion processing unit 706 determines whether or not the two-level grouping in the XPS document acquired in step S1601 has been performed up to the highest level of the XPS document (step S1613). ). That is, it is determined whether or not Feature (and Option) no longer exist in all print tickets from the lowest hierarchy to the next highest hierarchy (second highest hierarchy). As a result of the determination, if the two-level grouping is not performed up to the highest level of the XPS document, the process returns to step S1602. Then, a group is formed from the lower part of the hierarchy in the Tree structure created in step S1601, and the processes in steps S1603 to S1613 are performed on the group.
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 conversion processing unit 706 updates the XPS document 701 to the XPS document 707 having the printing attribute of only the highest level (step S1614), and ends the processing according to the flowchart of FIG.

以上のように図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 editing approval screen 1500 shown in FIG. 15 is displayed on the monitor 110 of the client devices 100a and 100b, for example, by the function of the lower layer printing attribute exclusion processing determination unit 902. Based on the user's operation using the user interface for the exclusion method editing approval screen 1500, the exclusion method is corrected and approved for each feature.
In the example illustrated in FIG. 21, all the features excluding the features that can be subjected to the upper layer reflection method 911 unconditionally from the features excluded from the lower layer printing attributes are displayed. In addition, the drawing reflection method 914 is expressed as “reflecting in drawing”, the upper layer division method 913 is expressed as “structure change”, and the simple deletion method 912 is expressed as “simple deletion”.

図21に示すように、互いに対応するFeatureの名称1501と排除手法1502とを並べて表示することで、Feature毎に排除手法を変更できる。尚、Featureの名称1501が「ホールパンチ」に対する変更ダイアログ1503で、「描画に反映」がグレイアウトされているのは、次の理由による。すなわち、前述したように、上位層分割手法913を適用できるFeatureは、単純削除手法912も適用できるが、描画反映手法914を適用することはできないためである。   As shown in FIG. 21, the feature name 1501 and the exclusion method 1502 corresponding to each other are displayed side by side, whereby the exclusion method can be changed for each feature. The reason why the name 1501 of the feature is grayed out in the change dialog 1503 for “hole punch” and “reflect on drawing” is as follows. That is, as described above, a feature to which the upper layer division method 913 can be applied can also apply the simple deletion method 912, but cannot apply the drawing reflection method 914.

以上のように本実施形態では、例えば、図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 feature name 1501 illustrated in FIG. 15, and an example of a processing method for the print attribute to be deleted by the exclusion method 1502. Is realized. Further, for example, an example of processing change content for a print attribute to be deleted is realized by the deletion method selected in the change dialog 1503 shown in FIG. By using the exclusion method editing approval screen 1500, an example of a notification unit and a reception unit is realized.

尚、図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 layer reflection method 911, a simple deletion method 912, an upper layer division method 913, and a drawing reflection method are used according to the determination result of the previous step. Which of 914 to perform is selected. Then, between step S1613 and step S1614, the exclusion method editing approval screen 1500 shown in FIG. 21 is displayed, and a change in the exclusion method 1502 is accepted by the user. Then, in step S1614, the feature is reflected and deleted by the selected method, and the structured document is updated. At this time, when a change of the exclusion method 1502 is received by the user, the reflection and deletion of the feature are performed by the received method instead of the selected method.

以上のように本実施形態では、ツリー構造の複数のノードに文書データを与えるようにすると共に、当該複数のノード毎に印刷属性を関連付けることができるように構造化された構造化文書において、相対的に下位の層の印刷属性を、その他の部分に反映させる。具体的には、当該下位の層の印刷属性を、当該下位の層のノードとブランチで結ばれている上位の層のノードの印刷属性に反映させる。また、当該下位の層の印刷属性を、当該印刷属性に関連付けられているノードの文書データに反映させる。このような印刷属性の反映を行うに際し、次の処理を必要に応じて行う。まず、上位の層のノードを、例えば、当該上位の層のノードにブランチで結ばれている下位の層のノードの数に分割する。そして、分割した複数のノードの夫々に、元のノードに関連付けられていた印刷属性を関連付けると共に、元のノードとブランチで結ばれていた下位の層のノードを、分割した複数のノードの何れかにブランチで接続する。また、分割した複数のノードを、元のノードとブランチで結ばれていたより上位の層のノードとブランチで結ぶ。   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 SYMBOLS 100 Client apparatus 111 Printing apparatus 112 Application software 113 Structured document conversion software 114 Printer driver 115 OS
200 Network 202 Print Server

Claims (13)

第1の印刷設定が関連づけられた第1の下位層のノードと、第2の印刷設定が関連づけられた第2の下位層のノードの少なくとも2つの下位層のノードを有する上位層のノードを取得する取得手段と、
前記取得手段が取得する前記上位層のノードを、前記第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. The structured document conversion apparatus according to claim 1, wherein the lower layer node is a page element, and the upper layer node is a document element. 下位層のノードとは文書要素であり、上位層のノードとはジョブ要素であり、
前記取得手段は、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の反映手段と、を有することを特徴とする請求項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の判定手段が前記下位層のノードに関連づけられた前記印刷設定に前記描画に反映可能な項目が存在すると判定した場合に、前記描画に反映可能な項目を描画データに反映する第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の判定手段を有し、
前記分割手段は、前記第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の下位層のノードと、第2の印刷設定が関連づけられた第2の下位層のノードの少なくとも2つの下位層のノードを有する上位層のノードを取得する取得工程と、
前記取得工程が取得する前記上位層のノードを、前記第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の下位層のノードと、第2の印刷設定が関連づけられた第2の下位層のノードの少なくとも2つの下位層のノードを有する上位層のノードを取得する取得工程と、
前記取得工程が取得する前記上位層のノードを、前記第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.
下位層のノードとはページ要素であり、上位層のノードとは文書要素であることを特徴とする請求項8に記載のコンピュータプログラム。   9. The computer program according to claim 8, wherein the lower layer node is a page element, and the upper layer node is a document element. 下位層のノードとは文書要素であり、上位層のノードとはジョブ要素であり、
前記取得工程は、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の判定工程が前記下位層のノードに関連づけられた前記全ての印刷設定に前記共通の項目と設定値が存在すると判定した場合に、前記下位層のノードに関連づけられた前記全ての印刷設定に前記共通の項目と設定値を上位層のノードに反映する第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の判定工程が前記下位層のノードに関連づけられた前記印刷設定に前記描画に反映可能な項目が存在すると判定した場合に、前記描画に反映可能な項目を描画データに反映する第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の判定工程をさらにコンピュータに実行させ、
前記分割工程は、前記第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.
JP2013140781A 2013-07-04 2013-07-04 Structured document conversion apparatus, structured document conversion method of apparatus, and computer program Expired - Fee Related JP5528611B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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