JP5156545B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP5156545B2
JP5156545B2 JP2008219342A JP2008219342A JP5156545B2 JP 5156545 B2 JP5156545 B2 JP 5156545B2 JP 2008219342 A JP2008219342 A JP 2008219342A JP 2008219342 A JP2008219342 A JP 2008219342A JP 5156545 B2 JP5156545 B2 JP 5156545B2
Authority
JP
Japan
Prior art keywords
information
reduction
deletion candidate
candidate object
pages
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
JP2008219342A
Other languages
Japanese (ja)
Other versions
JP2010055355A (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.)
ProField Co Ltd
Original Assignee
ProField Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ProField Co Ltd filed Critical ProField Co Ltd
Priority to JP2008219342A priority Critical patent/JP5156545B2/en
Publication of JP2010055355A publication Critical patent/JP2010055355A/en
Application granted granted Critical
Publication of JP5156545B2 publication Critical patent/JP5156545B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、出版に用いられる情報を処理する情報処理装置等に関するものである。   The present invention relates to an information processing apparatus that processes information used for publishing.

従来、書籍や、雑誌、カタログ等の紙媒体や電子媒体等による出版等に利用される文字や画像等の情報の編集は、例えばディスクトップパブリッシング(以下、DTPと称す)ソフトウェアや、クロスメディアパブリッシングソフトウェア等と呼ばれるソフトウェア(例えば、非特許文献1参照)や、同様の処理が実現可能なDTP装置やシステム等を用いて行われていた。   Conventionally, editing of information such as characters and images used for publishing on paper media such as books, magazines, catalogs, and electronic media, etc., for example, desktop publishing (hereinafter referred to as DTP) software, cross-media publishing, etc. It has been performed using software called software or the like (for example, see Non-Patent Document 1), a DTP device or a system capable of realizing similar processing, and the like.

通常の文書を作成する処理等においては、ページに文字や画像等のオブジェクトをレイアウトして文書を作成した後に、文書のページ数を削減したりする必要が生じる場合がある。従来の情報処理装置においては、オブジェクトがレイアウトされた文書のページ数の削減は、例えば、以下のように行われていた。ページに配置されている文字や画像等のオブジェクトを、内容等を確認しながらユーザが手動で削除し、当該削除されたオブジェクトが配置されていた領域を、削除されていないオブジェクトで詰める。そして、この処理を繰り返してオブジェクトを詰めていった結果作成されたオブジェクトが配置されていない空白のページを自動または手動により削除することで、オブジェクトがレイアウトされた文書全体のページ数を削減していた。
"エッセンシャルガイド[グラフィックユーザーのための機能ハイライト] ADOBE INDESIGN CS3"、[online]、アドビシステムズ株式会社、[2008年3月5日検索]、インターネット、(URL:http://www.adobe.com/jp/special/creativesuite/portal/pdf/idcs3_eg_x4_screen.pdf)
In a process of creating a normal document, it may be necessary to reduce the number of pages of a document after creating a document by laying out objects such as characters and images on a page. In the conventional information processing apparatus, the number of pages of a document on which objects are laid out is reduced as follows, for example. The user manually deletes objects such as characters and images arranged on the page while confirming the contents and the like, and the area where the deleted object is arranged is packed with objects that have not been deleted. Then, by repeating this process and filling the objects, blank pages where the created objects are not placed are deleted automatically or manually, reducing the number of pages in the entire document on which the objects are laid out. It was.
"Essential Guide [Feature Highlights for Graphic Users] ADOBE INDSIGN CS3", [online], Adobe Systems, Inc., [March 5, 2008 search], Internet, (URL: http: //www.adobe. com / jp / special / creativesuite / portal / pdf / idcs3_eg_x4_screen.pdf)

しかしながら、従来の情報処理装置においては、実際にオブジェクトをページ上から削除するごとに、削除後の文書のページ数をユーザが確認することで、ページを削減するうえで削除することが適切と考えられるオブジェクトを決定する必要があった。このため、削除するオブジェクトを容易にかつ短時間で選ぶことが困難であるという課題があった。特に、オブジェクトを削除していった結果、ユーザが望むページ数にならなかった場合、再度、削除するオブジェクトを変更して同様の処理を繰り返すこととなるため、効率的に削除するオブジェクトを選択することが困難であった。   However, in the conventional information processing apparatus, every time an object is actually deleted from the page, it is considered appropriate to delete the page by reducing the number of pages of the document after the user confirms the user. There was a need to determine which objects would be. For this reason, there is a problem that it is difficult to easily select an object to be deleted in a short time. In particular, if the user does not reach the desired number of pages as a result of deleting the object, the object to be deleted is changed again and the same processing is repeated, so the object to be deleted is selected efficiently. It was difficult.

本発明の情報処理装置は、1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報が格納され得るレイアウト情報格納部と、前記レイアウト情報のページを削減する指示である削減指示を受け付ける削減指示受付部と、前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出部と、前記削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報を出力する出力部とを備えた情報処理装置である。   An information processing apparatus according to the present invention receives a layout information storage unit that can store layout information including one or more pages on which one or more objects are arranged, and a reduction instruction that is an instruction to reduce pages of the layout information. A deletion instruction receiving unit and a deletion candidate that detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information according to the reduction instruction The information processing apparatus includes an object detection unit and an output unit that outputs information on the deletion candidate object detected by the deletion candidate object detection unit.

かかる構成により、ページを削減する際に削除すべき候補となるオブジェクトを提案することができる。これにより、例えば、ユーザが、ページを削減する際に削除すべきオブジェクトを容易にかつ短時間で判断することが可能となる。   With this configuration, it is possible to propose objects that are candidates to be deleted when pages are reduced. Accordingly, for example, the user can easily and quickly determine an object to be deleted when reducing pages.

また、本発明の情報処理装置は、前記情報処理装置において、前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を取得する削減ページ情報取得部を更に備え、前記出力部は、削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報と、前記削減ページ情報取得部が取得したページ数に関する情報とを出力する情報処理装置である。   The information processing apparatus according to the present invention relates to the number of pages when the deletion candidate object is deleted in the information processing apparatus and the area where the deletion candidate object is arranged is packed with objects that are not deleted. A reduction page information acquisition unit that acquires reduction page number information, which is information, and the output unit includes information on deletion candidate objects detected by the deletion candidate object detection unit, and the number of pages acquired by the reduction page information acquisition unit Is an information processing apparatus that outputs information on the information.

かかる構成により、削除候補オブジェクトが削減された場合のページ数に関する情報を出力することができる。これにより、例えば、ユーザは、削除候補オブジェクトを削除した場合のページ数を知ることが可能となり、削除候補オブジェクトを削除することが適切であるか等を、ページ数の削減結果と照らし合わせて判断することができる。   With this configuration, it is possible to output information related to the number of pages when deletion candidate objects are reduced. As a result, for example, the user can know the number of pages when the deletion candidate object is deleted, and determines whether it is appropriate to delete the deletion candidate object in comparison with the reduction result of the page number. can do.

また、本発明の情報処理装置は、前記情報処理装置において、前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を取得する削減ページ情報取得部を更に備え、前記削減指示受付部は、削減後のページ数を指定する情報である削減ページ指定情報を含む前記削除指示を受け付け、前記削除候補オブジェクト検出部は、前記削減ページ情報取得部が取得した削減ページ数情報が示す削減後のページ数が、前記削減ページ指定情報が指定する削減後のページ数となる前記削除候補オブジェクトを検出する情報処理装置である。   The information processing apparatus according to the present invention relates to the number of pages when the deletion candidate object is deleted in the information processing apparatus and the area where the deletion candidate object is arranged is packed with objects that are not deleted. A reduction page information acquisition unit that acquires reduction page number information that is information; and the reduction instruction reception unit receives the deletion instruction including reduction page designation information that is information for designating the number of pages after reduction, and The deletion candidate object detection unit detects the deletion candidate object in which the number of pages after reduction indicated by the reduction page number information acquired by the reduction page information acquisition unit is the number of pages after reduction specified by the reduction page designation information. Information processing apparatus.

かかる構成により、レイアウト情報のページ数を、削減ページ指定情報により指定されたページ数に削減可能な削除候補オブジェクトを検出することができる。これにより、ユーザは、例えば、所望のページ数に削減することが可能な削除候補オブジェクトを容易にかつ短時間で知ることができる。   With this configuration, it is possible to detect a deletion candidate object that can reduce the number of pages of layout information to the number of pages specified by the reduced page designation information. Thereby, the user can know the deletion candidate object that can be reduced to, for example, a desired number of pages easily and in a short time.

また、本発明の情報処理装置は、前記情報処理装置において、前記削除候補オブジェクト検出部は、同一ページ内に、予め指定された属性が一致する複数のオブジェクトが配置されている場合に、当該一致する複数のオブジェクトの少なくとも一つである前記削除候補オブジェクトを検出する情報処理装置である。   In the information processing apparatus of the present invention, in the information processing apparatus, the deletion candidate object detection unit may perform the matching when a plurality of objects with matching attributes specified in advance are arranged in the same page. And an information processing apparatus that detects the deletion candidate object that is at least one of the plurality of objects.

かかる構成により、同じページに配置されている一致する属性を有するオブジェクトを削除候補オブジェクトとして検出することができる。これにより、例えば、同一ページ内に同様の内容のオブジェクトが存在する重要度が比較的に低いオブジェクトを削除候補オブジェクトとして提案することができる。   With this configuration, an object having a matching attribute arranged on the same page can be detected as a deletion candidate object. As a result, for example, an object having a relatively low importance level and an object having the same content in the same page can be proposed as a deletion candidate object.

また、本発明の情報処理装置は、前記情報処理装置において、前記削除候補オブジェクト検出部が検出した削除候補オブジェクトを削除した場合の、レイアウト情報の出版に関する費用を、前記削減ページ数情報を用いて算出する費用算出部を更に備え、前記出力部は、費用算出部が算出した費用を示す情報を出力する情報処理装置である。   In the information processing apparatus of the present invention, in the information processing apparatus, when the deletion candidate object detected by the deletion candidate object detection unit is deleted, the cost for publishing layout information is calculated using the reduced page number information. A cost calculation unit for calculating is further provided, and the output unit is an information processing apparatus that outputs information indicating the cost calculated by the cost calculation unit.

かかる構成により、削除候補オブジェクトを削除した場合の印刷に関する費用を提案することができる。これにより、ユーザは、例えば、削除候補オブジェクトの削除が適切であるか否かを、印刷に関する費用も考慮した上で検討することができる。   With this configuration, it is possible to propose a cost for printing when a deletion candidate object is deleted. Thereby, for example, the user can consider whether or not the deletion candidate object is appropriately deleted in consideration of the cost related to printing.

また、本発明の情報処理装置は、前記情報処理装置において、前記オブジェクト検出部が検出した削除候補オブジェクトを削除する指示であるオブジェクト削除指示を受け付けるオブジェクト削除指示受付部と、前記オブジェクト削除指示が指定する削除候補オブジェクトを、前記レイアウト情報から削除するオブジェクト削除部とを更に備えた情報処理装置である。   The information processing apparatus according to the present invention includes an object deletion instruction reception unit that receives an object deletion instruction that is an instruction to delete the deletion candidate object detected by the object detection unit, and the object deletion instruction The information processing apparatus further includes an object deletion unit that deletes the deletion candidate object to be deleted from the layout information.

かかる構成により、削除候補オブジェクトを削除することができ、レイアウト情報のページ数を削減することができる。   With this configuration, deletion candidate objects can be deleted, and the number of pages of layout information can be reduced.

また、本発明の情報処理装置は、前記情報処理装置において、前記オブジェクト検出部が検出した削除候補オブジェクトを削除する指示であるオブジェクト削除指示を受け付けるオブジェクト削除指示受付部と、前記オブジェクト削除指示に応じて、前記削除候補オブジェクトを、前記レイアウト情報から削除するオブジェクト削除部と、前記オブジェクト削除指示の受け付けに応じて、前記オブジェクト削除指示が指示する削除候補オブジェクトを削除した場合のレイアウト情報の出版に関する費用を、前記削減ページ数情報を用いて算出する費用算出部とを更に備え、前記出力部は、費用算出部が算出した費用を示す情報を出力する情報処理装置である。   The information processing apparatus according to the present invention includes an object deletion instruction receiving unit that receives an object deletion instruction that is an instruction to delete the deletion candidate object detected by the object detection unit, and the object deletion instruction according to the object deletion instruction. The object deletion unit that deletes the deletion candidate object from the layout information, and the expense related to the publication of the layout information when the deletion candidate object indicated by the object deletion instruction is deleted in response to reception of the object deletion instruction Is calculated using the reduced page number information, and the output unit is an information processing apparatus that outputs information indicating the cost calculated by the cost calculation unit.

かかる構成により、削除候補オブジェクトを削除する直前に、削除後の印刷に関する費用を提案することができる。これにより、例えば、ユーザが、削減が適切であるか否かを、削除前に確認したり再検討したりすることができる。   With this configuration, it is possible to propose a cost for printing after deletion immediately before deleting the deletion candidate object. Thereby, for example, the user can confirm or reexamine whether or not the reduction is appropriate before the deletion.

本発明による情報処理装置によれば、ページを削減する際に削除すべきオブジェクトを提案することが可能となる。   According to the information processing apparatus of the present invention, it is possible to propose an object to be deleted when reducing pages.

以下、情報処理装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。   Hereinafter, embodiments of an information processing apparatus and the like will be described with reference to the drawings. In addition, since the component which attached | subjected the same code | symbol in embodiment performs the same operation | movement, description may be abbreviate | omitted again.

(実施の形態1)
図1は、本実施の形態における情報処理装置のブロック図である。
(Embodiment 1)
FIG. 1 is a block diagram of an information processing apparatus according to this embodiment.

情報処理装置1は、レイアウト情報格納部101、削減指示受付部102、削除候補オブジェクト検出部103、削減ページ情報取得部104、出力部105、オブジェクト削除指示受付部106、およびオブジェクト削除部107を具備する。   The information processing apparatus 1 includes a layout information storage unit 101, a reduction instruction reception unit 102, a deletion candidate object detection unit 103, a reduction page information acquisition unit 104, an output unit 105, an object deletion instruction reception unit 106, and an object deletion unit 107. To do.

レイアウト情報格納部101には、1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報が格納され得る。オブジェクトとは、情報処理装置1がページ上に配置する情報の構成要素であり、例えば、文字列や、動画像や静止画像等の画像や3Dデータ等のデータである。画像のデータは、ビットマップデータであっても良いし、ベクターデータであっても良い。オブジェクトは、動的に表示内容等が変化するページ上に配置可能なアプリケーションソフトウェアのデータ等であっても良い。オブジェクトは、タグと関連づけられたデータにより構成されていてもよい。具体的には、オブジェクトは、タグと、タグの要素とにより構成されてもよいし、タグと、タグ内に設定されたリンク先を示す情報が示すデータにより構成されてもよい。オブジェクトは、通常、属性を有している。この属性は、どのような属性であっても良い。例えば、オブジェクトは予め指定された属性を有していても良い。この属性を示す情報は、オブジェクトに含まれていても良いし、オブジェクトと対応付けられて管理されていても良い。また、例えば、上述したようにオブジェクトがタグ付けられたデータである場合、オブジェクトに付けられたタグをオブジェクトの属性と考えても良い。また、オブジェクトに付けられたタグに対応付けられた属性を、オブジェクトの属性と考えても良い。例えば、あるオブジェクトに対して、オブジェクトの項目についての属性を示すタグとして、「<価格>」というタグが付けられている場合、このオブジェクトのタグをオブジェクトの属性としてもよい。また、このオブジェクトのタグである「価格」がこのオブジェクトの属性値となる。また、例えば、オブジェクトの属性は、データの構造や形式等についての属性であっても良い。また、データが示す内容に基づく属性であっても良い。また、データの用途等に基づく属性であっても良い。具体的には、文字列データ、画像データ、3Dデータ等のデータタイプについての属性であっても良い。また、JPEGやTIFF等のデータの形式等であっても良い。また、商品写真や、風景写真等の、撮影内容等のデータの内容についての属性であっても良い。また、40文字未満、41文字以上等の文字数やデータサイズについての属性であっても良い。また幅が300ピクセル未満、高さが500ピクセル未満、幅が10cm等の画像のサイズについて属性であっても良い。また、オブジェクトの一部をオブジェクトの内容に基づく属性と考えても良い。例えば、データの含まれる所定の文字列を属性と考えても良い。オブジェクトは、識別情報やオブジェクト自身の属性を示す情報等を有していても良いし、有していなくても良い。オブジェクトは、グループ化されていても良い。また、オブジェクトは階層化されていても良い。オブジェクト間のグループ関係については、グループ関係を管理する情報等を用いて管理される。1以上のオブジェクトは、汎用性が高いことから、XML(extensible markup language)を用いて記述されることが好ましい。   The layout information storage unit 101 can store layout information including one or more pages on which one or more objects are arranged. An object is a component of information that the information processing apparatus 1 arranges on a page, and is, for example, a character string, an image such as a moving image or a still image, or data such as 3D data. The image data may be bitmap data or vector data. The object may be data of application software that can be arranged on a page whose display contents and the like dynamically change. The object may be composed of data associated with the tag. Specifically, the object may be configured by a tag and an element of the tag, or may be configured by data indicated by information indicating a tag and a link destination set in the tag. An object usually has attributes. This attribute may be any attribute. For example, the object may have a predetermined attribute. Information indicating this attribute may be included in the object, or may be managed in association with the object. Further, for example, when the object is data tagged as described above, the tag attached to the object may be considered as the attribute of the object. An attribute associated with a tag attached to an object may be considered as an attribute of the object. For example, when a tag “<price>” is attached to a certain object as a tag indicating the attribute of the item of the object, the tag of this object may be used as the attribute of the object. Also, the “price” that is the tag of this object is the attribute value of this object. Further, for example, the attribute of the object may be an attribute regarding the structure or format of data. Moreover, the attribute based on the content which data shows may be sufficient. Further, it may be an attribute based on the use of data. Specifically, it may be an attribute for a data type such as character string data, image data, or 3D data. Further, it may be a data format such as JPEG or TIFF. Moreover, the attribute about the content of data, such as photography content, such as a product photograph and a landscape photograph, may be sufficient. Further, it may be an attribute regarding the number of characters or the data size such as less than 40 characters, 41 characters or more. Further, the attribute may be an image size such as a width of less than 300 pixels, a height of less than 500 pixels, and a width of 10 cm. Further, a part of the object may be considered as an attribute based on the content of the object. For example, a predetermined character string including data may be considered as an attribute. An object may or may not have identification information, information indicating an attribute of the object itself, or the like. Objects may be grouped. The object may be hierarchized. The group relationship between objects is managed using information for managing the group relationship. Since one or more objects are highly versatile, it is preferable to describe them using XML (extensible markup language).

レイアウト情報とは、例えば、オブジェクトが配置された1以上のページを用いて構成される情報である。レイアウト情報を文書を示す情報である文書情報と考えても良い。レイアウト情報は、通常、オブジェクトと、オブジェクトが配置される位置の情報を含む。また、レイアウト情報は、通常、ページを示す情報を有している。オブジェクトが配置される位置の情報とは、例えば、オブジェクトの配置される領域を示す情報である。オブジェクトが配置される位置の情報は、オブジェクトの配置される位置を指定する1以上の座標情報と考えても良い。例えば、オブジェクトが配置される位置の情報は、オブジェクトの中心やオブジェクトの4隅の一つ以上の座標情報等である。ただし、オブジェクトの情報はレイアウト情報に含まれていなくてもよい。例えば、レイアウト情報内には、ページ上に配置されているオブジェクトの配置先を示す情報、例えばリンク先を示す情報が格納されており、オブジェクト自身の情報は別のファイル等で管理されていてもよい。このような場合、オブジェクトは図示しない記録媒体であるオブジェクト格納部等に格納される。オブジェクトは、フレームやボックスやレイアウト枠等と呼ばれるオブジェクトを配置するための配置領域に配置されていても良い。このような場合、オブジェクトが配置される位置は、オブジェクトが配置されている配置領域の位置と考えて良い。また、オブジェクトと、オブジェクトが配置される配置領域とは、図示しない管理情報等により対応付けて管理される。ただし、配置領域に配置せずに、直接ページ上にオブジェクトを配置するようにしても良い。レイアウト情報格納部101は、不揮発性の記録媒体でも、揮発性の記録媒体でも良い。   The layout information is information configured using, for example, one or more pages on which objects are arranged. The layout information may be considered as document information that is information indicating a document. The layout information usually includes information on the object and the position where the object is arranged. The layout information usually includes information indicating a page. The information on the position where the object is arranged is information indicating an area where the object is arranged, for example. The information on the position where the object is arranged may be considered as one or more pieces of coordinate information specifying the position where the object is arranged. For example, the information on the position where the object is arranged is information on one or more coordinates of the center of the object or four corners of the object. However, the object information may not be included in the layout information. For example, in the layout information, information indicating an arrangement destination of an object arranged on the page, for example, information indicating a link destination is stored, and the information of the object itself is managed by another file or the like. Good. In such a case, the object is stored in an object storage unit that is a recording medium (not shown). The object may be arranged in an arrangement area for arranging an object called a frame, a box, a layout frame, or the like. In such a case, the position where the object is arranged may be considered as the position of the arrangement area where the object is arranged. Further, the object and the arrangement area where the object is arranged are managed in association with management information or the like (not shown). However, the object may be arranged directly on the page without being arranged in the arrangement area. The layout information storage unit 101 may be a non-volatile recording medium or a volatile recording medium.

削減指示受付部102は、レイアウト情報のページを削減する指示である削減指示を受け付ける。削減指示は、例えば、レイアウト情報を用いて出力される文書のページ数を削減する指示と考えても良い。削減指示は、例えば、レイアウト情報に含まれる複数のページに対するページを削減する指示である。削減指示は命令等の情報と考えて良い。複数のページは、レイアウト情報を構成する全てのページであっても、レイアウト情報を構成する一部のページであっても良い。削減指示は、単にページを削減することを指示する指示であっても良いし、削減後の目標となるページ数を指定する情報である削減ページ指定情報を含んでも良い。なお、削減ページ指定情報は、結果的に削減後のページ数を指定することが可能な情報であればよく、ここでは、削減するページ数を指定する情報も含むものと考える。また、削減指示は削減の対象となる複数のページの範囲を指定する情報を含んでも良い。削減の対象とは、当該対象となるページのいずれかを対象としてページの削減処理が実行されることを意味する。また、削減候補を決定する際に用いられるオブジェクトの属性を指定する情報である削減属性指定情報を含んでも良い。削減属性指定情報はユーザが指定する属性を示す情報である。また、削減属性指定情報は、当該削減属性指定情報が指定する属性同士が、一致するか否かを判断する際の判断条件を指定する情報、例えば閾値や一致する範囲を指定する情報等を含んでも良い。削減指示の受付とは、例えば、入力手段からの受付や、他の機器等から送信される入力信号の受信や、記録媒体等からの情報の読み出し等である。削減指示の入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。削減指示受付部102は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   The reduction instruction receiving unit 102 receives a reduction instruction that is an instruction to reduce a page of layout information. For example, the reduction instruction may be considered as an instruction to reduce the number of pages of a document output using layout information. The reduction instruction is, for example, an instruction to reduce pages for a plurality of pages included in the layout information. The reduction instruction may be considered as information such as an instruction. The plurality of pages may be all the pages constituting the layout information or some pages constituting the layout information. The reduction instruction may be simply an instruction for instructing to reduce pages, or may include reduction page designation information that is information for designating the target number of pages after reduction. Note that the reduced page designation information may be information that can eventually designate the number of pages after reduction, and here, it is considered to include information that designates the number of pages to be reduced. Further, the reduction instruction may include information for designating ranges of a plurality of pages to be reduced. The reduction target means that a page reduction process is executed for any one of the target pages. Further, reduction attribute designation information that is information for designating an attribute of an object used when determining a reduction candidate may be included. The reduction attribute designation information is information indicating an attribute designated by the user. In addition, the reduction attribute designation information includes information for designating a judgment condition when judging whether or not the attributes designated by the reduction attribute designation information match each other, for example, information for designating a threshold value or a matching range, etc. But it ’s okay. The reception of the reduction instruction is, for example, reception from an input unit, reception of an input signal transmitted from another device, reading of information from a recording medium, or the like. The input means for the reduction instruction may be anything such as a numeric keypad, a keyboard, a mouse, or a menu screen. The reduction instruction receiving unit 102 can be realized by a device driver for input means such as a numeric keypad or a keyboard, control software for a menu screen, or the like.

削除候補オブジェクト検出部103は、削減指示受付部102が受け付けた削減指示に応じて、レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する。削除候補オブジェクト検出部103は、ページに配置されている静止画像、動画像、または3Dデータであるオブジェクトの中から、削除候補オブジェクトを検出する。   The deletion candidate object detection unit 103 is one or more objects that are candidates to be deleted among the objects arranged on one or more pages of the layout information in accordance with the reduction instruction received by the reduction instruction reception unit 102. Detect deletion candidate objects. The deletion candidate object detection unit 103 detects a deletion candidate object from among still images, moving images, or objects that are 3D data arranged on a page.

削除候補オブジェクト検出部103は、例えば、同一ページ内に、予め指定された属性が一致する複数のオブジェクトが配置されている場合に、当該一致する複数のオブジェクトの少なくとも一つである削除候補オブジェクトを検出する。また、ページに配置されたオブジェクトが例えば一以上のグループにグループ化されている場合、削除候補オブジェクト検出部103は、同一グループ内に含まれる、予め指定された属性が一致する複数のオブジェクトの少なくとも一つを、削除候補オブジェクトとして検出する。ここで述べる一致する複数のオブジェクトの少なくとも一つは、一致する複数のオブジェクトのうちの、一つのオブジェクトを残した他のオブジェクトであっても良い。ここで述べる判断の対象となる属性は、上述したようなオブジェクトの属性である。   For example, the deletion candidate object detection unit 103 selects a deletion candidate object that is at least one of the plurality of matching objects in a case where a plurality of objects having matching attributes specified in advance are arranged in the same page. To detect. In addition, when the objects arranged on the page are grouped into one or more groups, for example, the deletion candidate object detection unit 103 includes at least a plurality of objects that are included in the same group and have a predetermined attribute matching. One is detected as a deletion candidate object. At least one of the plurality of matching objects described here may be another object that leaves one object among the plurality of matching objects. The attribute to be determined here is the attribute of the object as described above.

予め指定された属性は、工場出荷時や初期設定等によりデフォルトで指定されている属性であっても良い。また、削減指示が指定する属性であっても良い。すなわち、削除候補オブジェクト検出部103は、レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削減指示が指定する属性を有するオブジェクトの中から、1以上の削除候補オブジェクトを検出してもよい。削減指示が指定する属性とは、具体的には、削減指示に含まれる削減属性指定情報が指定する属性である。予め指定された属性は、1つであっても複数であっても良い。また、ここでは、「ファイル形式」や、「サイズ」等の属性そのものが予め指定されてもよいし、属性に加えて、「JPEG」や、「12cm」等の属性の値が指定されてもよい。例えば、予め指定された属性が「ファイル形式」である場合、後述するようにファイル形式同士が一致するオブジェクトか存在するか否かが判断されることとなる。また、予め指定された属性が「ファイル形式がJPEG」である場合、ファイル形式がともに「JPEG]であるオブジェクトが存在するか否かが判断されることとなる。   The attribute designated in advance may be an attribute designated by default at the time of factory shipment, initial setting, or the like. Further, it may be an attribute designated by the reduction instruction. That is, the deletion candidate object detection unit 103 may detect one or more deletion candidate objects from among the objects arranged on one or more pages of the layout information and having an attribute specified by the reduction instruction. Good. The attribute designated by the reduction instruction is specifically an attribute designated by the reduction attribute designation information included in the reduction instruction. There may be one or a plurality of attributes designated in advance. Here, attributes themselves such as “file format” and “size” may be designated in advance, or in addition to the attributes, attribute values such as “JPEG” and “12 cm” may be designated. Good. For example, when the attribute designated in advance is “file format”, it is determined whether or not there is an object whose file formats match as described later. Further, when the attribute designated in advance is “file format is JPEG”, it is determined whether or not there is an object whose file format is “JPEG”.

属性が一致とは、具体的には、属性の値が一致することである。つまり、予め指定された属性が一致とは、複数のオブジェクトの予め指定した属性の値が一致することである。ここで述べる一致とは、完全一致であってもよいし部分一致であってもよい。また、属性同士の類似度が一定以上である場合を一致としても良い。類似度は、例えば文字列間の文字の異なる割合や、サイズ等を示す数値間の値の差等である。複数の属性のうちの完全一致する属性の割合を類似度と考えてもよい。また、属性同士の値の差が所定の値より小さい場合に属性が一定であると考えても良い。また、複数のオブジェクトの予め指定された属性が、いずれも予め指定された同じグループに属する値である場合に属性が一致すると判断してもよい。また、ここでは、予め指定された一以上の属性が全て一致しているか否かを判断し、全ての属性が一致する場合に、属性が一致していると判断しても良い。また、予め指定された一以上の属性の少なくとも一つが一致している場合に、属性が一致していると判断しても良い。ここで述べる属性については、適宜属性の値と考えても良い。   More specifically, the attribute match means that the attribute values match. That is, the predesignated attribute matches means that the predesignated attribute values of a plurality of objects match. The match described here may be a complete match or a partial match. Moreover, it is good also as a case where the similarity of attributes is more than fixed. The degree of similarity is, for example, a different ratio of characters between character strings, a value difference between numerical values indicating sizes, and the like. The ratio of the completely matching attributes among the plurality of attributes may be considered as the similarity. Further, it may be considered that the attribute is constant when the difference between the values of the attributes is smaller than a predetermined value. In addition, it may be determined that the attributes match when the pre-designated attributes of the plurality of objects are all values belonging to the same pre-designated group. Here, it may be determined whether or not one or more attributes designated in advance match, and if all the attributes match, it may be determined that the attributes match. Further, when at least one of one or more predesignated attributes matches, it may be determined that the attributes match. The attributes described here may be considered as attribute values as appropriate.

削除候補オブジェクト検出部103が、ページに配置されているオブジェクトの予め指定された属性を、どのように検出するかは問わない。削除候補オブジェクト検出部103がオブジェクト自身の属性を判断して、属性の情報を取得しても良いし、オブジェクトが有するタグ等の属性を示す情報から、オブジェクトの属性を取得しても良い。   It does not matter how the deletion candidate object detection unit 103 detects the pre-designated attributes of the objects arranged on the page. The deletion candidate object detection unit 103 may determine the attribute of the object itself and acquire attribute information, or may acquire the attribute of the object from information indicating the attribute such as a tag included in the object.

削除候補オブジェクト検出部103は、複数の削除候補オブジェクトや、複数の削除候補オブジェクトの組を検出しても良い。例えば、予め指定された属性を切り替えて削除候補オブジェクトの検出を行うことで、属性別に、複数の削除候補オブジェクトや、複数の削除候補オブジェクトの組を検出しても良い。   The deletion candidate object detection unit 103 may detect a plurality of deletion candidate objects or a combination of a plurality of deletion candidate objects. For example, a plurality of deletion candidate objects or a combination of a plurality of deletion candidate objects may be detected for each attribute by switching a predetermined attribute and detecting a deletion candidate object.

削除候補オブジェクト検出部103は、削除候補オブジェクトを削除した場合のページ数が、削減指示受付部102が受け付けた削減ページ指定情報が指定する削減後のページ数となる削除候補オブジェクトを検出するようにしても良い。具体的には、後述する削減ページ情報取得部104が取得した削減ページ数情報が示す削減後のページ数が、削減指示受付部102が受け付けた削減ページ指定情報が指定する削減後のページ数となる削除候補オブジェクトを検出する。例えば、削除候補オブジェクト検出部103が削除候補オブジェクトを新たに検出する毎に、既に当該削除候補オブジェクトと、既に検出済の削除候補オブジェクトとをレイアウト情報が示すページ上から削除する。そして、当該削除したオブジェクトが配置されている位置を他のオブジェクトで詰めた場合のページ数が、削減ページ指定情報が指定するページ数と一致した時点で削除候補オブジェクトの検出を終了しても良い。また、レイアウト情報が示す全てのページから予め削除候補オブジェクトを検出するようにし、その検出した削除候補オブジェクトについて、一以上のオブジェクトの組み合わせを決定し、各組み合わせに含まれる削除候補オブジェクトを削除した場合のページ数を示す情報を後述する削減ページ情報取得部104により、各組み合わせ毎にそれぞれ取得して、削減ページ情報取得部104が取得した削減後のページ数が、削減ページ指定情報が指定する削減後のページ数が指定するページ数と一致する場合の削除候補オブジェクトの組み合わせを、削除候補オブジェクト検出部103が、最終的な削除候補オブジェクトとして検出するようにしても良い。削除候補オブジェクト検出部103は、削除候補オブジェクトを削除した結果、レイアウト情報が示すページ数が、削減ページ指定情報が指定する削減後のページ数となれば、複数の削除候補オブジェクトや、複数の削除候補オブジェクトの組を検出しても良い。なお、後述する削減ページ数情報が、削減されるページ数を示す情報である場合、ここで述べる削減後のページ数は、現在のレイアウト情報を構成するページのページ数から、当該削減ページ数情報が指定する削減するページ数を減算したページ数となる。なお、予め、ユーザ等により指定されているページに配置されているオブジェクト等については削除候補オブジェクトの対象から除外できるようにしても良い。   The deletion candidate object detection unit 103 detects a deletion candidate object in which the number of pages when the deletion candidate object is deleted is the number of pages after reduction specified by the reduction page designation information received by the reduction instruction reception unit 102. May be. Specifically, the number of pages after reduction indicated by the reduction page number information acquired by the reduction page information acquisition unit 104 described later is the number of pages after reduction specified by the reduction page specification information received by the reduction instruction reception unit 102. A deletion candidate object is detected. For example, each time the deletion candidate object detection unit 103 newly detects a deletion candidate object, the deletion candidate object and the deletion candidate object that has already been detected are deleted from the page indicated by the layout information. Then, the detection of the deletion candidate object may be terminated when the number of pages when the position where the deleted object is arranged is filled with other objects matches the number of pages specified by the reduced page specification information. . In addition, when a deletion candidate object is detected in advance from all pages indicated by the layout information, a combination of one or more objects is determined for the detected deletion candidate object, and the deletion candidate object included in each combination is deleted The information indicating the number of pages is acquired for each combination by the reduction page information acquisition unit 104 described later, and the number of pages after reduction acquired by the reduction page information acquisition unit 104 is specified by the reduction page designation information. The deletion candidate object combination unit 103 may detect a combination of deletion candidate objects when the number of subsequent pages matches the specified number of pages as a final deletion candidate object. The deletion candidate object detection unit 103 deletes a plurality of deletion candidate objects or a plurality of deletion objects if the number of pages indicated by the layout information becomes the number of pages after reduction specified by the reduction page designation information as a result of deleting the deletion candidate objects. A set of candidate objects may be detected. In addition, when the reduced page number information described later is information indicating the number of pages to be reduced, the number of pages after reduction described here is calculated based on the number of pages of the pages constituting the current layout information. This is the number of pages after subtracting the number of pages to reduce specified by. It should be noted that an object arranged on a page designated by the user or the like in advance may be excluded from the candidates for deletion candidate objects.

削除候補オブジェクト検出部103は、通常、MPUやメモリ等から実現され得る。削除候補オブジェクト検出部103が検出した削除候補オブジェクト、もしくはこのオブジェクトを示す情報は、例えば、図示しない記憶媒体等に記憶される。削除候補オブジェクト検出部103の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The deletion candidate object detection unit 103 can usually be realized by an MPU, a memory, or the like. The deletion candidate object detected by the deletion candidate object detection unit 103 or information indicating this object is stored in, for example, a storage medium (not shown). The processing procedure of the deletion candidate object detection unit 103 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

削減ページ情報取得部104は、削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を取得する。削減ページ情報取得部104は、オブジェクトを詰めることで発生する空白のページを削除した場合の削除ページ数情報を取得する。具体的には、削減ページ情報取得部104は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトを削除したと仮定した場合のおける模擬的な削減ページ数情報を取得する。実際の削減対象オブジェクトの削除を行わなくて良い。削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトのうちのどのオブジェクトで、どのように詰めるかは問わない。例えば、予め指定した規則に従って削除したオブジェクトの位置を他のオブジェクトで詰めるようにしても良い。例えば、削除候補オブジェクトが配置されている領域に対して予め指定された方向、例えば、上下左右のいずれかに配置されていたオブジェクトを、削除候補オブジェクトが配置されていた領域上に移動させることで、オブジェクトの配置を詰めるようにしてもよい。また、予めオブジェクトに順番を付与しておき、削除候補オブジェクトが削除された場合、その削除候補オブジェクトに続く順番のオブジェクトで、削除されたオブジェクトが配置されていた領域を詰めるようにしても良い。ただし、オブジェクトを詰めた場合に、オブジェクトがページ内に収まらない場合、オブジェクトを詰めないようにしても良い。オブジェクトを詰める際には、他のオブジェクトとの間隔が所定の値に保たれるように移動させることが好ましい。また、削除候補オブジェクトの配置の変更に伴って、他のオブジェクトが移動した場合、当該他のオブジェクトが配置されていた領域を詰めるように、新たに他のオブジェクトを移動させる、つまりオブジェクトの順番に詰めていく。なおこの配置の変更においては、複数のページにわたって、オブジェクトの配置を詰めるようにする。例えば、2ページ目のオブジェクトが削除された場合に、3ページ目の先頭のオブジェクトが、2ページ目に移動するようにする。また、オブジェクトがグループ化されている場合、まず、1のグループ内において、削除候補オブジェクトが削除されると、この削除されたオブジェクトが配置されていた領域を詰めるように、同じグループ内の他のオブジェクトを移動させる。そして、同じグループに属するオブジェクト全体が配置されている領域が縮小された場合、この縮小されたことにより発生するオブジェクトが配置されていない領域を詰めるように、他のグループのオブジェクト全体の位置を順次移動させるようにしても良い。なお、オブジェクトが文字列のオブジェクトのように、オブジェクトが配置される領域の形状が変形されても、内容自体が変化しないオブジェクトである場合には、オブジェクトを詰める際に、オブジェクトの内容を保った状態でオブジェクトが配置される領域の形状を変形しても良い。なお、各オブジェクトが配置領域に配置されている場合、オブジェクトの削除とともに、配置領域の削除を行うようにしても良い。また、オブジェクトを詰める場合、各オブジェクトが配置されている配置領域の位置を移動させるようにしても良い。また、移動が不可であるオブジェクトについては、移動が不可であることを示す情報を付与するようにし、この情報が付与されている場合、オブジェクトの位置を変更しないようにしてもよい。削減ページ情報取得部104は、通常、MPUやメモリ等から実現され得る。削減ページ情報取得部104の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The reduction page information acquisition unit 104 acquires the reduction page number information that is information regarding the number of pages when the deletion candidate object is deleted and the area where the deletion candidate object is arranged is packed with objects that are not deleted. To do. The reduced page information acquisition unit 104 acquires information on the number of deleted pages when a blank page generated by filling an object is deleted. Specifically, the reduction page information acquisition unit 104 acquires simulated reduction page number information when it is assumed that the deletion candidate object detected by the deletion candidate object detection unit 103 has been deleted. It is not necessary to delete the actual reduction target object. It does not matter how the objects in which the deletion candidate objects are arranged are filled with which of the objects that have not been deleted. For example, the positions of the deleted objects may be filled with other objects according to a rule specified in advance. For example, by moving an object that has been placed in a predetermined direction relative to the area where the deletion candidate object is placed, for example, one of up, down, left, and right, onto the area where the deletion candidate object is placed The arrangement of the objects may be reduced. Alternatively, an order may be given to the objects in advance, and when a deletion candidate object is deleted, an area in which the deleted object is arranged may be packed with an object in the order following the deletion candidate object. However, if the object does not fit in the page when the object is packed, the object may not be packed. When packing an object, it is preferable to move the object so that the distance from another object is maintained at a predetermined value. In addition, when another object moves due to the change in the placement of the deletion candidate object, another object is moved to close the area where the other object has been placed, that is, in the order of the objects. Pack it. In this arrangement change, the arrangement of the objects is reduced over a plurality of pages. For example, when the object on the second page is deleted, the top object on the third page is moved to the second page. In addition, when objects are grouped, first, when a deletion candidate object is deleted in one group, another area in the same group is packed so that the area where the deleted object is arranged is packed. Move the object. When the area where all objects belonging to the same group are arranged is reduced, the positions of all the objects in other groups are sequentially arranged so that the area where the objects generated by this reduction are not arranged is packed. You may make it move. Note that when the object itself is a character string object, even if the shape of the area where the object is placed is changed, the content itself does not change, the content of the object is maintained when packing the object. The shape of the area where the object is arranged in the state may be changed. When each object is arranged in the arrangement area, the arrangement area may be deleted together with the deletion of the object. Further, when packing objects, the position of the arrangement area where each object is arranged may be moved. For an object that cannot be moved, information indicating that the object cannot be moved may be provided, and when this information is provided, the position of the object may not be changed. The reduction page information acquisition unit 104 can usually be realized by an MPU, a memory, or the like. The processing procedure of the reduction page information acquisition unit 104 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

出力部105は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトに関する情報を出力する。削除候補オブジェクトに関する情報とは、具体的には、削除候補オブジェクトを示す情報である。削除候補オブジェクトを示す情報は、例えば、削除候補オブジェクトの識別情報等である。また、削除候補オブジェクトに関する情報は、削除候補オブジェクトを検出する際に用いた属性を示す情報であってもよい。例えば、「JPEGの画像が削除対象となるオブジェクトである」ことを示す情報等であっても良い。また、また、削除候補オブジェクト検出部103が検出した削除候補オブジェクトが、複数の削除候補オブジェクト、あるいは削除候補オブジェクトの複数の組である場合、これらを全て、出力してよい。また、削除候補オブジェクトに関する情報は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトを削除した場合のページ数に関する情報を出力するようにしてもよい。ページ数に関する情報とは、削減されるページ数を示す情報や、削減後のページ数を示す情報である。出力部105は、このページ数に関する情報を、削除候補オブジェクトに関する情報と対応付けて出力しても良い。これにより、どのオブジェクトを削除すると、ページ数がどのように削減されるかをユーザが把握することが可能となる。この削除候補オブジェクトを削除した場合のページ数は、削減ページ情報取得部104により算出することが可能である。例えば、削除候補オブジェクトを指定する情報を削減ページ情報取得部104に与えた場合に、削減ページ情報取得部104が演算して出力する削減ページ数情報がこのページ数を示す情報である。ここで述べる出力とは、ディスプレイへの表示、プロジェクターを用いた投影、プリンタへの印字、音出力、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラム等への処理結果の引渡し等を含む概念である。出力部105は、ディスプレイやプリンタ等の出力デバイスを含むと考えても含まないと考えても良い。出力部105は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。   The output unit 105 outputs information related to the deletion candidate object detected by the deletion candidate object detection unit 103. Specifically, the information regarding the deletion candidate object is information indicating the deletion candidate object. The information indicating the deletion candidate object is, for example, identification information of the deletion candidate object. The information regarding the deletion candidate object may be information indicating an attribute used when detecting the deletion candidate object. For example, it may be information indicating that “a JPEG image is an object to be deleted”. Further, when the deletion candidate object detected by the deletion candidate object detection unit 103 is a plurality of deletion candidate objects or a plurality of sets of deletion candidate objects, all of these may be output. Further, as the information regarding the deletion candidate object, information regarding the number of pages when the deletion candidate object detected by the deletion candidate object detection unit 103 is deleted may be output. The information related to the number of pages is information indicating the number of pages to be reduced and information indicating the number of pages after reduction. The output unit 105 may output the information regarding the number of pages in association with the information regarding the deletion candidate object. Thereby, it becomes possible for the user to know how to delete the object and how the number of pages is reduced. The number of pages when the deletion candidate object is deleted can be calculated by the reduction page information acquisition unit 104. For example, when information specifying the deletion candidate object is given to the reduction page information acquisition unit 104, the reduction page number information calculated and output by the reduction page information acquisition unit 104 is information indicating the number of pages. The output described here refers to display on a display, projection using a projector, printing on a printer, sound output, transmission to an external device, storage on a recording medium, and output to other processing devices or other programs. It is a concept including delivery of processing results. The output unit 105 may or may not include an output device such as a display or a printer. The output unit 105 can be implemented by output device driver software, or output device driver software and an output device.

オブジェクト削除指示受付部106は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトを削除する指示であるオブジェクト削除指示を受け付ける。例えば出力部105が出力した削除候補オブジェクトを参照して、ユーザがキーボードやマウス等を用いて入力する削除候補オブジェクトを削除する指示であるオブジェクト削除指示を受け付ける。オブジェクト削除指示は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトが一つあるいは一組である場合等においては、単に削除を指示する情報を有するものであっても良い。また、削除候補オブジェクト検出部103が検出した削除候補オブジェクトが複数あるいは複数の組である場合等においては、削除候補オブジェクト検出部103が検出した削除候補オブジェクトの一つあるいは複数の組を指定する情報と、削除を指示する情報とを含む情報であることが好ましい。また、削除候補オブジェクトが複数検出された場合、その一部だけを削除する指示を受け付けても良い。ここで述べる受付とは、例えば、入力手段からの受付や、他の機器等から送信される入力信号の受信や、記録媒体等からの情報の読み出し等である。オブジェクト削除指示の入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。オブジェクト削除指示受付部106は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   The object deletion instruction receiving unit 106 receives an object deletion instruction that is an instruction to delete the deletion candidate object detected by the deletion candidate object detection unit 103. For example, with reference to the deletion candidate object output by the output unit 105, an object deletion instruction that is an instruction to delete the deletion candidate object that the user inputs using a keyboard, a mouse, or the like is received. The object deletion instruction may include information for simply instructing deletion when the deletion candidate object detection unit 103 detects one or a set of deletion candidate objects. In addition, when there are a plurality or a plurality of sets of deletion candidate objects detected by the deletion candidate object detection unit 103, information for specifying one or a plurality of sets of deletion candidate objects detected by the deletion candidate object detection unit 103 And information that instructs deletion. In addition, when a plurality of deletion candidate objects are detected, an instruction to delete only a part of them may be accepted. The reception described here is, for example, reception from an input unit, reception of an input signal transmitted from another device, reading of information from a recording medium, or the like. The object deletion instruction input means may be anything such as a numeric keypad, keyboard, mouse or menu screen. The object deletion instruction receiving unit 106 can be realized by a device driver of an input unit such as a numeric keypad or a keyboard, control software for a menu screen, or the like.

オブジェクト削除部107は、オブジェクト削除指示受付部106が受け付けたオブジェクト削除指示が指定する削除候補オブジェクトを、レイアウト情報格納部101に格納されているレイアウト情報から削除する。また、削除候補オブジェクトを削除するとともに、削除された削除候補オブジェクト以外のオブジェクトを、削除されたオブジェクトが配置されていた領域を詰めるように移動させる。また、削除候補オブジェクトの削除を行い、さらに削除された領域を削除されていない他のオブジェクトで詰めていくことで空白のページが発生した場合、当該空白のページを削除する。なお、オブジェクトが配置領域に配置されている場合、削除候補オブジェクトの削除とともに、配置領域の削除も行う。また、オブジェクトが配置領域に配置されている場合に、オブジェクトを詰める際には、各オブジェクトが配置されている配置領域の位置を移動させるようにする。ここでの削除は、オブジェクトの完全な削除でなくても良く、オブジェクトがページ上に配置されていない状態となるようにする処理であればよい。例えば、リンクされて配置されている削除候補オブジェクトについては、リンク情報を削除する処理等であっても良い。また、削除候補オブジェクトの一部だけを削除する指示をオブジェクト削除指示受付部106が受け付けた場合、オブジェクト削除部107は、その指示を受けたオブジェクトだけを削除しても良い。オブジェクト削除部107は、通常、MPUやメモリ等から実現され得る。オブジェクト削除部107の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The object deletion unit 107 deletes the deletion candidate object specified by the object deletion instruction received by the object deletion instruction reception unit 106 from the layout information stored in the layout information storage unit 101. Further, the deletion candidate object is deleted, and objects other than the deleted deletion candidate object are moved so as to close the area where the deleted object is arranged. In addition, when a blank page is generated by deleting a deletion candidate object and filling the deleted area with another object that has not been deleted, the blank page is deleted. When the object is arranged in the arrangement area, the arrangement area is deleted together with the deletion candidate object. Further, when the objects are arranged in the arrangement area, when the objects are packed, the position of the arrangement area in which each object is arranged is moved. The deletion here may not be a complete deletion of the object, but may be a process that makes the object not arranged on the page. For example, for a deletion candidate object arranged in a linked manner, a process of deleting link information may be performed. When the object deletion instruction receiving unit 106 receives an instruction to delete only a part of the deletion candidate object, the object deleting unit 107 may delete only the object for which the instruction has been received. The object deletion unit 107 can usually be realized by an MPU, a memory, or the like. The processing procedure of the object deletion unit 107 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

次に、情報処理装置の動作について図2のフローチャートを用いて説明する。   Next, the operation of the information processing apparatus will be described using the flowchart of FIG.

(ステップS200)削減指示受付部102は、ページ数の削減指示を受け付けたか否かを判断する。受け付けた場合、ステップS201に進み、受け付けていない場合、ステップS200に戻る。なお、ここでは、削減指示が、削減後のページ数を指定する情報を含む場合を例に挙げて説明する。   (Step S200) The reduction instruction receiving unit 102 determines whether or not a reduction instruction for the number of pages has been received. If accepted, the process proceeds to step S201. If not accepted, the process returns to step S200. Here, a case where the reduction instruction includes information specifying the number of pages after reduction will be described as an example.

(ステップS201)削除候補オブジェクト検出部103は、カウンターkに1を代入する。   (Step S201) The deletion candidate object detection unit 103 substitutes 1 for a counter k.

(ステップS202)削除候補オブジェクト検出部103は、レイアウト情報格納部101に格納されているページの削減対象となるレイアウト情報が示すページに配置されているk番目のオブジェクトが、既に削除候補オブジェクトとして検出されたオブジェクトであるか否かを判断する。例えば、削除候補オブジェクトが格納されている記録媒体等に、一致するオブジェクトが格納されているか否かを判断し、一致するものが格納されている場合、既に検出された削除候補オブジェクトであると判断し、格納されていない場合、既に検出された削除候補オブジェクトでないと判断する。既に検出された削除候補オブジェクトであると判断した場合、ステップS212に進み、既に検出された削除候補オブジェクトでないと判断した場合、ステップS203に進む。   (Step S202) The deletion candidate object detection unit 103 has already detected the kth object arranged on the page indicated by the layout information to be reduced in the page stored in the layout information storage unit 101 as a deletion candidate object. It is determined whether or not the object has been changed. For example, it is determined whether or not a matching object is stored in a recording medium or the like in which the deletion candidate object is stored. If a matching object is stored, it is determined that the deletion candidate object has already been detected. If it is not stored, it is determined that the deletion candidate object has not already been detected. If it is determined that the object is an already detected deletion candidate object, the process proceeds to step S212. If it is determined that the object is not an already detected deletion candidate object, the process proceeds to step S203.

(ステップS203)削除候補オブジェクト検出部103は、k番目のオブジェクトが有する予め指定された属性を有するか否かを判断する。この予め指定された属性は、ステップS201において受け付けた削減指示に含まれる削減属性指定情報等により指定される属性であっても良いし、図示しない記録媒体等に予め格納されている属性であっても良い。属性を有する場合、ステップS204に進み、有さない場合、ステップS212に進む。   (Step S203) The deletion candidate object detection unit 103 determines whether or not the k-th object has a previously designated attribute. This predesignated attribute may be an attribute designated by the reduction attribute designation information included in the reduction instruction received in step S201, or an attribute prestored in a recording medium (not shown). Also good. When it has an attribute, it progresses to step S204, and when it does not have, it progresses to step S212.

(ステップS204)削除候補オブジェクト検出部103は、k番目のオブジェクトが有する予め指定された属性の値を取得する。   (Step S204) The deletion candidate object detection unit 103 acquires the value of the attribute designated in advance for the kth object.

(ステップS205)削除候補オブジェクト検出部103は、カウンターmに0を代入する。   (Step S205) The deletion candidate object detection unit 103 substitutes 0 for the counter m.

(ステップS206)削除候補オブジェクト検出部103は、カウンターmの値を1インクリメントする。   (Step S206) The deletion candidate object detection unit 103 increments the value of the counter m by 1.

(ステップS207)削除候補オブジェクト検出部103は、k番目のオブジェクトが配置されているページと同じページ内に、m番目のオブジェクトが配置されているか否かを判断する。なお、過去にk番目のオブジェクトとして利用されたオブジェクトについては、m番目のオブジェクトとしては、カウントしないようにしてもよい。例えば、過去にk番目のオブジェクトとして利用されたオブジェクトについては、フラグの情報等を付加するようにし、このフラグが付いているオブジェクトは、同じページに配置されていてもm番目のオブジェクトとしてカウントしないようにすればよい。同一ページ内に存在する場合、ステップS208に進み、存在しない場合、ステップS212に進む。   (Step S207) The deletion candidate object detection unit 103 determines whether or not the mth object is arranged in the same page as the page where the kth object is arranged. Note that an object used as the kth object in the past may not be counted as the mth object. For example, for an object that has been used as the kth object in the past, flag information or the like is added, and an object with this flag is not counted as the mth object even if it is placed on the same page. What should I do? If it exists in the same page, the process proceeds to step S208. If not, the process proceeds to step S212.

(ステップS208)削除候補オブジェクト検出部103は、m番目のオブジェクトが、既に削除候補オブジェクトとして検出されたオブジェクトであるか否かを判断する。ただし、過去にk番目のオブジェクトとして利用されたオブジェクトは、m番目のオブジェクトとして用いないようにしてもよい。既に検出された削除候補オブジェクトであると判断した場合、ステップS206に戻り、既に検出された削除候補オブジェクトでないと判断した場合、ステップS209に進む。   (Step S208) The deletion candidate object detection unit 103 determines whether or not the mth object is an object that has already been detected as a deletion candidate object. However, an object that has been used as the kth object in the past may not be used as the mth object. If it is determined that the object is an already detected deletion candidate object, the process returns to step S206. If it is determined that the object is not an already detected deletion candidate object, the process proceeds to step S209.

(ステップS209)削除候補オブジェクト検出部103は、m番目のオブジェクトが有する予め指定された属性の値を取得する。この属性は、ステップS204において説明した属性を同じ属性である。   (Step S209) The deletion candidate object detection unit 103 acquires a value of a previously designated attribute of the mth object. This attribute is the same attribute as the attribute described in step S204.

(ステップS210)削除候補オブジェクト検出部103は、ステップS204において取得したk番目のオブジェクトの属性の値と、ステップS209において取得したk番目のオブジェクトの属性の値とが一致するか否かを判断する。一致すると判断した場合、ステップS211に進み、一致しないと判断した場合、ステップS206に戻る。   (Step S210) The deletion candidate object detection unit 103 determines whether or not the attribute value of the kth object acquired in step S204 matches the attribute value of the kth object acquired in step S209. . If it is determined that they match, the process proceeds to step S211. If it is determined that they do not match, the process returns to step S206.

(ステップS211)削除候補オブジェクト検出部103は、m場目のオブジェクトを削除候補オブジェクトとして検出し、m番目のオブジェクトを示す情報を、削除候補オブジェクトを示す情報として、図示しない記憶媒体等に蓄積する。ここで述べる蓄積は一時記憶と考えても良い。なお、m番目のオブジェクトを削除候補オブジェクトとして検出する代わりに、k番目のオブジェクトを削除候補オブジェクトとして検出し蓄積してもよい。そして、ステップS215に進む。   (Step S211) The deletion candidate object detection unit 103 detects the m-th object as a deletion candidate object, and accumulates information indicating the mth object in a storage medium (not shown) as information indicating the deletion candidate object. . The accumulation described here may be considered as temporary storage. Instead of detecting the mth object as a deletion candidate object, the kth object may be detected and accumulated as a deletion candidate object. Then, the process proceeds to step S215.

(ステップS212)削除候補オブジェクト検出部103は、カウンターkの値を1インクリメントする。   (Step S212) The deletion candidate object detection unit 103 increments the value of the counter k by 1.

(ステップS213)削除候補オブジェクト検出部103は、k番目のオブジェクトが存在するか否かを判断する。存在する場合、ステップS202に戻り、存在しない場合、ステップS214に進む。   (Step S213) The deletion candidate object detection unit 103 determines whether or not the kth object exists. When it exists, it returns to step S202, and when it does not exist, it progresses to step S214.

(ステップS214)出力部105は、ステップS201において受け付けた削減指示が指示するページ数にならないことを示す出力を行う。そして、処理を終了する。   (Step S214) The output unit 105 performs output indicating that the number of pages indicated by the reduction instruction received in step S201 is not reached. Then, the process ends.

(ステップS215)削減ページ情報取得部104は、既に蓄積された削除候補オブジェクトを削除した場合のページ数を取得する。   (Step S215) The reduction page information acquisition unit 104 acquires the number of pages when the deletion candidate objects that have already been stored are deleted.

(ステップS216)削除候補オブジェクト検出部103は、ステップS215において削減ページ情報取得部104が取得したページ数が、ステップS201において受け付けた削減指示が指示するページ数であるか否かを判断する。指示するページ数である場合、ステップS217に進み、指示するページ数でない場合、ステップS206に戻る。   (Step S216) The deletion candidate object detection unit 103 determines whether or not the number of pages acquired by the reduction page information acquisition unit 104 in step S215 is the number of pages indicated by the reduction instruction received in step S201. When it is the number of pages to be instructed, the process proceeds to step S217, and when it is not the number of pages to be instructed, the process returns to step S206.

(ステップS217)出力部105は、削除候補オブジェクトに関する出力を行う。例えば、ステップS211において蓄積した削除候補オブジェクトを示す情報等を、削除指示が指示するページ数に削減するために、削除すべきオブジェクトを示す情報として表示する。   (Step S217) The output unit 105 performs output related to the deletion candidate object. For example, the information indicating the deletion candidate object accumulated in step S211 is displayed as information indicating the object to be deleted in order to reduce the number of pages indicated by the deletion instruction.

(ステップS218)オブジェクト削除指示受付部106は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトについての削除指示を受け付けたか否かを判断する。受け付けた場合、ステップS219に進み、受け付けていない場合、ステップS220に進む。   (Step S218) The object deletion instruction receiving unit 106 determines whether a deletion instruction for a deletion candidate object detected by the deletion candidate object detection unit 103 has been received. If accepted, the process proceeds to step S219. If not accepted, the process proceeds to step S220.

(ステップS219)オブジェクト削除部107は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトを、レイアウト情報格納部101に格納されているレイアウト情報が示すページ上から削除する。具体的には、ステップS214において図示しないメモリ等に蓄積された削除候補オブジェクトを示す情報を読み出し、当該読み出した情報が示すオブジェクトをレイアウト情報が示すページ上から削除する。そして、処理を終了する。   (Step S219) The object deletion unit 107 deletes the deletion candidate object detected by the deletion candidate object detection unit 103 from the page indicated by the layout information stored in the layout information storage unit 101. Specifically, in step S214, information indicating a deletion candidate object stored in a memory (not shown) or the like is read, and the object indicated by the read information is deleted from the page indicated by the layout information. Then, the process ends.

(ステップS220)出力部105は、削除候補オブジェクトに関する出力を終了するか否かを判断する。例えば、図示しない受付部等を介してユーザ等から終了する指示を受け付けた場合、終了することを判断する。出力を終了する場合、処理を終了し、終了しない場合、ステップS220に戻る。   (Step S220) The output unit 105 determines whether or not to end the output related to the deletion candidate object. For example, when an instruction to end is received from a user or the like via a reception unit (not shown) or the like, it is determined to end. If the output is to be terminated, the process is terminated. If the output is not to be terminated, the process returns to step S220.

なお、図2のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 2, the process is terminated by powering off or a process termination interrupt.

なお、上記のフローチャートに示すような処理の代わりに、例えば以下のような処理を行うようにしても良い。   For example, the following processing may be performed instead of the processing shown in the flowchart.

まず、レイアウト情報が示す各ページにs個のオブジェクトが配置されていたとすると、このs個(sは1以上の整数)のオブジェクトから、1からs個までのオブジェクトを取り出す場合の組み合わせを求める。そして、組み合わせの一つについて、当該組み合わせを構成する全てのオブジェクトが削除候補オブジェクトを検出する際の条件を満たしているか否かを判断する。この条件は、実質的に、上記のフローチャートにおいて行われる判断と同様の判断を行うための条件である。具体的には、1つの組み合わせに含まれる一のオブジェクトについて、s個のオブジェクトの中に、当該一のオブジェクトと同一ページ内に配置されているオブジェクトであって、予め指定された属性の値が当該一のオブジェクトと一致し、なおかつ当該一のオブジェクトと同じ組み合わせ内に含まれないオブジェクトが存在するか否かを判断する。この処理を1つの組み合わせの全てのオブジェクトについて繰り返す。そして、1つの組の全てのオブジェクトについて、このような条件を満たすオブジェクトが存在するという判断結果が得られた場合に、上述したステップS215と同様に、この組み合わせに含まれる全てのオブジェクトを削除した場合のページ数を取得し、このページ数が、ステップS216と同様に、削減指示が指示するページ数と一致するか否かを判断する。そして、削減指示が指示するページ数と一致した場合、このオブジェクトの組み合わせが、削除候補オブジェクトの組み合わせとなるため、この組み合わせに含まれる1以上のオブジェクトを示す情報を、削除候補オブジェクトの組の情報として蓄積する。そして、同様の処理を、上述した全ての組み合わせについて繰り返し行うことで、削除指示が指定するページ数となるよう削減することが可能な削除候補オブジェクトの組み合わせを得ることができる。そして、出力部105は、このようにして得られた削除候補オブジェクトの組み合わせを出力する。なお、1つの組み合わせに含まれる1以上のオブジェクトについて上記のような条件を満たすオブジェクトが存在しなかった場合や、一つの組み合わせに含まれる全てのオブジェクトを削除した場合のページ数が、削減指示が指示するページ数と一致しなかった場合には、その組み合わせを構成するオブジェクトは、削除候補オブジェクトの組み合わせでないと判断される。   First, assuming that s objects are arranged on each page indicated by the layout information, a combination for extracting 1 to s objects from the s objects (s is an integer of 1 or more) is obtained. Then, for one of the combinations, it is determined whether or not all the objects constituting the combination satisfy the condition for detecting the deletion candidate object. This condition is a condition for making a determination substantially similar to the determination made in the above flowchart. Specifically, for one object included in one combination, among s objects, the object is arranged on the same page as the one object, and the attribute value designated in advance is set. It is determined whether there is an object that matches the one object and is not included in the same combination as the one object. This process is repeated for all objects in one combination. Then, when it is determined that there is an object satisfying such a condition for all the objects in one set, all the objects included in this combination are deleted as in step S215 described above. The number of pages is acquired, and it is determined whether or not this number of pages matches the number of pages specified by the reduction instruction, as in step S216. When the reduction instruction matches the number of pages indicated, this combination of objects becomes a combination of deletion candidate objects. Therefore, information indicating one or more objects included in this combination is used as information on the combination of deletion candidate objects. Accumulate as. Then, by repeating the same process for all the combinations described above, it is possible to obtain a combination of deletion candidate objects that can be reduced to the number of pages specified by the deletion instruction. Then, the output unit 105 outputs the combination of deletion candidate objects obtained in this way. In addition, when there is no object that satisfies the above conditions for one or more objects included in one combination, or when all the objects included in one combination are deleted, the reduction instruction is given. If the number of pages to be instructed does not match, it is determined that the objects constituting the combination are not combinations of deletion candidate objects.

このようにすることで、削除候補オブジェクトの組み合わせを複数ユーザに提示することができるため、ユーザが好ましいオブジェクトの削除の仕方を選択することが可能となる。   In this way, a combination of deletion candidate objects can be presented to a plurality of users, so that the user can select a preferable method for deleting objects.

以下、本実施の形態における情報処理装置の具体的な動作について説明する。ここでは、説明を簡単にするための全ページ数が4ページであるレイアウト情報を例に挙げて説明する。また、このレイアウト情報は、商品についての説明を行う文書を示すレイアウト情報である。   Hereinafter, a specific operation of the information processing apparatus according to the present embodiment will be described. Here, the layout information in which the total number of pages is four for ease of explanation will be described as an example. The layout information is layout information indicating a document for explaining a product.

図3は、レイアウト情報が示すページに配置されているオブジェクトを管理するオブジェクト管理表である。オブジェクト管理表は、「オブジェクトID」、「項目」、「ページ」、「左上座標」、「右下座標」、「データ」という属性を有している。「オブジェクトID」は、オブジェクトの識別情報である。「T01〜T12」は文字列のオブジェクト(以下文字列オブジェクトと称す)である。また、「P01〜P12」は画像のオブジェクト(以下画像オブジェクトと称す)である。「項目」は、オブジェクトの項目を示す属性であり、ここではオブジェクトが商品についてのどのような情報を示しているかを表す情報である。例えば、オブジェクトがXML形式のデータである場合、「項目」はオブジェクトに付けられたタグとしてもよい。この場合、オブジェクトのタグ同士が一致する場合、オブジェクトの属性が一致することとなる。「ページ」は、各オブジェクトが配置されているページを示す情報である。「左上座標」は、ページに配置されているオブジェクトの左上の座標、「右下座標」は、ページに配置されているオブジェクトの右下の座標である。なお、座標の値xL1〜xL12、yL1〜yL12、xR1〜xR12、yR1〜yR12は、予め指定された座標であるとする。「データ」は、オブジェクトを構成するデータである。 FIG. 3 is an object management table for managing objects arranged on the page indicated by the layout information. The object management table has attributes of “object ID”, “item”, “page”, “upper left coordinate”, “lower right coordinate”, and “data”. “Object ID” is object identification information. “T01 to T12” are character string objects (hereinafter referred to as character string objects). “P01 to P12” are image objects (hereinafter referred to as image objects). “Item” is an attribute indicating the item of the object, and here is information indicating what information the object indicates about the product. For example, when the object is data in XML format, the “item” may be a tag attached to the object. In this case, if the tags of the objects match, the attributes of the objects match. “Page” is information indicating a page on which each object is arranged. “Upper left coordinate” is the upper left coordinate of the object arranged on the page, and “Lower right coordinate” is the lower right coordinate of the object arranged on the page. The value x L1 ~x L12, y L1 ~y L12, x R1 ~x R12 coordinates, y R1 ~y R12 is assumed to be a pre-specified coordinates. “Data” is data constituting an object.

図4は、レイアウト情報格納部101に格納されているレイアウト情報が示すページの表示例を示す図である。各ページには、図3において示した複数の文字オブジェクトT01〜T12および画像オブジェクトP01〜P12が配置されている。なお、文字オブジェクトT01〜T12および画像オブジェクトP01〜P12は、図3の「オブジェクトID」が「T01」〜「T12」および「P01」〜「P12」であるオブジェクトに対応しているものとする。なお、文字オブジェクトについては、便宜上、オブジェクトの範囲を示すため、点線により枠線を示している。ただし、実際には枠線を表示する必要はない。   FIG. 4 is a diagram illustrating a display example of the page indicated by the layout information stored in the layout information storage unit 101. A plurality of character objects T01 to T12 and image objects P01 to P12 shown in FIG. 3 are arranged on each page. Note that the character objects T01 to T12 and the image objects P01 to P12 correspond to objects whose “object IDs” in FIG. 3 are “T01” to “T12” and “P01” to “P12”. For the sake of convenience, the character object is indicated by a dotted line to indicate the range of the object. However, it is not actually necessary to display a frame line.

ここでは、予め、図3に示した「項目」という属性の値が一致するオブジェクトを削除候補オブジェクトに指定する情報が、図示しない記憶媒体等に蓄積されているものとする。   Here, it is assumed that information for designating an object having the same attribute value “item” shown in FIG. 3 as a deletion candidate object is accumulated in a storage medium (not shown) or the like.

まず、ユーザが、キーボードやマウス等を操作して、図4に示したレイアウト情報のページ数を3ページに削減する指示を、情報処理装置1に与えたとする。削減指示受付部102は、ページ数を3ページに削減する削減指示を受け付ける。   First, it is assumed that the user gives an instruction to the information processing apparatus 1 to reduce the number of pages of layout information shown in FIG. The reduction instruction receiving unit 102 receives a reduction instruction for reducing the number of pages to three pages.

次に、削除候補オブジェクト検出部103は、図3に示したオブジェクトのうちの1番目のオブジェクトが、予め指定されている「項目」という属性を有しているか否かを判断する。ここでは、1番目のオブジェクトである「オブジェクトID」が「T01」であるオブジェクトが、「項目」という属性を有しているため、この「項目」という属性「商品見出し」という属性値を取得する。   Next, the deletion candidate object detection unit 103 determines whether or not the first object among the objects shown in FIG. 3 has an attribute “item” designated in advance. Here, since the object having the first object “object ID” “T01” has the attribute “item”, the attribute value “item headline” attribute “item” is acquired. .

次に、削除候補オブジェクト検出部103は、まず、2番目のオブジェクトが、1番目のオブジェクトと同じページに配置されているか否かを判断する。ここではオブジェクト管理表の「ページ」属性の値が一致するため、同じページに配置されていると判断される。このため、2番目のオブジェクトの「項目」属性の値が、1番目のオブジェクトの「項目」属性の値「商品見出し」と一致するか否かを判断する。ここでは、属性の値を構成する文字列のうちの、数字を除く部分が一致する場合、属性が一致すると判断するものとする。2番目のオブジェクトの「項目」属性の値が、「主画像」であるため、ここでは一致しないと判断する。   Next, the deletion candidate object detection unit 103 first determines whether or not the second object is arranged on the same page as the first object. Here, since the values of the “page” attribute in the object management table match, it is determined that they are arranged on the same page. Therefore, it is determined whether or not the value of the “item” attribute of the second object matches the value “product headline” of the “item” attribute of the first object. Here, it is determined that the attributes match if the part of the character string constituting the attribute value matches the portion excluding the numbers. Since the value of the “item” attribute of the second object is “main image”, it is determined that they do not match here.

このため、3番目以降のオブジェクトについても、2番目のオブジェクトと同様に、「項目」属性の値が1番目のオブジェクトと一致するか否かを判断する処理を行う。ここでは、6番目のオブジェクトについての、「項目」属性の値が1番目のオブジェクトと一致するか否かを判断する処理が終了した時点で「項目」属性の値が1番目のオブジェクトと一致するオブジェクトが検出されなかったとする。   Therefore, for the third and subsequent objects, similarly to the second object, a process of determining whether or not the value of the “item” attribute matches the first object is performed. Here, the value of the “item” attribute matches that of the first object when the process of determining whether or not the value of the “item” attribute of the sixth object matches that of the first object is completed. Suppose no object was detected.

ここでは、1番目のオブジェクトと同じページに配置されているオブジェクトは5つであり、1番目のオブジェクトと同じページに配置されている6つ目のオブジェクトは検出されないため、1番目のオブジェクトと「項目」属性が一致するオブジェクトを同じページ内で検出する処理を終了する。そして、2番目のオブジェクト以降のオブジェクトについても同様の処理を繰り返す。ここでは、2番目および3番目のオブジェクトについて上記と同様の処理を繰り返した結果、2番目および3番目のオブジェクトと「項目」属性の値が一致するオブジェクトが、同じページ内に存在しなかったとする。   Here, there are five objects arranged on the same page as the first object, and the sixth object arranged on the same page as the first object is not detected. The process of detecting an object having the same item attribute in the same page is terminated. The same process is repeated for the second and subsequent objects. Here, as a result of repeating the same processing as described above for the second and third objects, it is assumed that there is no object having the same “item” attribute value as the second and third objects in the same page. .

つぎに、削除候補オブジェクト検出部103は、「オブジェクトID」が「P02」である4番目のオブジェクトについて、「項目」属性の値「説明画像1」を取得する。そして、この「項目」属性の値が一致するオブジェクトが、同じページに存在するか否かを、上記と同様に順番に判断していく。   Next, the deletion candidate object detection unit 103 acquires the “item” attribute value “description image 1” for the fourth object whose “object ID” is “P02”. Then, in the same manner as described above, it is sequentially determined whether or not objects having the same “item” attribute value exist on the same page.

ここで、「オブジェクトID」が「P03」である6番目のオブジェクトについては、「ページID」が「1」であるため、1番目のオブジェクトと同じページに配置されていると判断される。さらに、6番目のオブジェクトの「項目」属性の値が「説明画像2」であり、4番目のオブジェクトの「項目」属性が「説明画像1」であり、数字を除いた部分がともに「説明画像」であって一致することから、「項目」属性が一致すると判断される。このため、4番目のオブジェクトと6番目のオブジェクトとは、同一ページに配置されており、所定の属性である「項目」属性が一致すると判断されることから、削除候補オブジェクト検出部103は、6番目のオブジェクトを削除候補オブジェクトとして検出する。そして、検出した6番目のオブジェクトの「オブジェクトID」を図示しないメモリ等に蓄積する。   Here, since the “page ID” is “1”, the sixth object whose “object ID” is “P03” is determined to be arranged on the same page as the first object. Further, the value of the “item” attribute of the sixth object is “explanation image 2”, the “item” attribute of the fourth object is “explanation image 1”, and the portions excluding the numbers are both “explanation image”. ”And match, it is determined that the“ item ”attribute matches. For this reason, the fourth object and the sixth object are arranged on the same page, and it is determined that the “item” attribute which is a predetermined attribute matches. The th object is detected as a deletion candidate object. Then, the “object ID” of the detected sixth object is stored in a memory or the like (not shown).

次に、削減ページ情報取得部104は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトを全て削除した場合のページ数を算出する。例えば、ここでは、オブジェクトが削除された場合、削除されたオブジェクトの右側、左下側、下側の順番で、それぞれの位置に配置されたオブジェクトを、削除された領域を詰めるように、移動させるように予め指定されているものとする。   Next, the reduction page information acquisition unit 104 calculates the number of pages when all the deletion candidate objects detected by the deletion candidate object detection unit 103 are deleted. For example, here, when an object is deleted, the objects arranged at the respective positions are moved in order of the right side, the lower left side, and the lower side of the deleted object so as to fill the deleted area. Is specified in advance.

ここでは、「オブジェクトID」が「P03」である6番目のレコードのオブジェクトP03だけが削除候補オブジェクトとして検出されているとすると、削減ページ情報取得部104は画像オブジェクトP03を1ページから削除した場合のページを模擬的に構成し、ページ数をカウントする。   Here, assuming that only the object P03 of the sixth record whose “object ID” is “P03” is detected as a deletion candidate object, the reduction page information acquisition unit 104 deletes the image object P03 from one page. The page is simulated and the number of pages is counted.

図5は、「オブジェクトID」が「P03」である6番目のレコードのオブジェクトP03を削除した場合にオブジェクトが移動する状態を模擬的に示す図である。図5において矢印で示すように、オブジェクトP03以降のオブジェクトの配置が、オブジェクトP03の位置を詰めるように変化する。また、オブジェクトP03を削除しただけでは、ページ数が削減指示が指定するページ数である3ページに達しないことが分かる。   FIG. 5 is a diagram schematically illustrating a state in which an object moves when the object P03 of the sixth record whose “object ID” is “P03” is deleted. As indicated by arrows in FIG. 5, the arrangement of the objects after the object P03 changes so as to close the position of the object P03. It can also be seen that the number of pages does not reach 3 pages, which is the number of pages specified by the reduction instruction, simply by deleting the object P03.

このため、情報処理装置1は、同様の処理を各ページについて実行する。このような処理を繰り返した結果、削除候補オブジェクト検出部103により、「オブジェクトID」が「P03」、「P06」、「P09」、「P12」が、削除対象オブジェクトとして検出されたとする。   For this reason, the information processing apparatus 1 performs the same processing for each page. As a result of repeating such processing, it is assumed that “object ID” “P03”, “P06”, “P09”, and “P12” are detected as deletion target objects by the deletion candidate object detection unit 103.

図6は、削除候補オブジェクト検出部103が検出し、図示しない記憶媒体等に蓄積した削除候補オブジェクトを管理する削除候補オブジェクト管理表である。削除候補オブジェクト管理表は、削除候補オブジェクトの「オブジェクトID」によって、削除候補オブジェクトを管理している。   FIG. 6 is a deletion candidate object management table for managing deletion candidate objects detected by the deletion candidate object detection unit 103 and accumulated in a storage medium (not shown). The deletion candidate object management table manages deletion candidate objects based on the “object ID” of the deletion candidate object.

次に、削減ページ情報取得部104は、図6に示した削除候補オブジェクト管理表で管理されている削除候補オブジェクトを全て削除した場合のページ数を上記と同様にカウントする。   Next, the reduction page information acquisition unit 104 counts the number of pages when the deletion candidate objects managed in the deletion candidate object management table shown in FIG.

図7は、「オブジェクトID」が「P03」、「P06」、「P09」、「P12」であるオブジェクトP03,P06,P09,P12を削除した場合のページの状態を模擬的に示す図である。図7に示すように、削除したオブジェクトの位置を、同一ページに存在する他のオブジェクトや、連続する他のページに存在するオブジェクトで詰めるようにしたことで、文書の4ページ目にはオブジェクトが1つも配置されていない状態となる。このため、削減ページ情報取得部104は、削除候補オブジェクトを削減したと仮定した場合のページ数が3ページであることを示す結果を出力する。   FIG. 7 is a diagram schematically illustrating the state of the page when the objects P03, P06, P09, and P12 whose “object ID” is “P03”, “P06”, “P09”, and “P12” are deleted. . As shown in FIG. 7, by deleting the position of the deleted object with another object existing on the same page or an object existing on another continuous page, the object is displayed on the fourth page of the document. None of them are arranged. For this reason, the reduction page information acquisition unit 104 outputs a result indicating that the number of pages is 3 when it is assumed that the deletion candidate object is reduced.

この結果によって、削除候補オブジェクト検出部103は、削除候補オブジェクトの検出を終了し、出力部105は、図6に示したような削除候補オブジェクト管理表に管理されている削除候補オブジェクトを示す情報、例えばオブジェクトIDや、削除の対象となったオブジェクトの属性値を示す「説明画像」という文字列等を、図示しないモニタ等に出力する。   Based on this result, the deletion candidate object detection unit 103 ends the detection of the deletion candidate object, and the output unit 105 displays information indicating the deletion candidate object managed in the deletion candidate object management table as shown in FIG. For example, a character string “description image” indicating the object ID and the attribute value of the object to be deleted is output to a monitor (not shown).

図8は、出力部105による、削除候補オブジェクトを通知する出力例を示す図である。   FIG. 8 is a diagram illustrating an output example in which the output unit 105 notifies the deletion candidate object.

ユーザが、例えばこの出力部105が出力している削除候補オブジェクトを削除する指示を、マウスやキーボード等を操作して入力すると、この削除指示を、オブジェクト削除指示受付部106が受け付け、オブジェクト削除部107が、削除候補オブジェクトをレイアウト情報のページ上から削除する。   For example, when the user inputs an instruction to delete the deletion candidate object output by the output unit 105 by operating a mouse, a keyboard, or the like, the deletion instruction reception unit 106 receives the deletion instruction, and the object deletion unit 107 deletes the deletion candidate object from the layout information page.

以上、本実施の形態によれば、ページ数を削減するためにどのようなオブジェクトを削除したらよいかを、ユーザに提案することができる。このため、ページ削減のために、オブジェクトを手動で削除しながらページ数の調整を試行錯誤する処理が不要となり、ページ数を削減する処理の効率化および高速化を図ることができる。   As described above, according to the present embodiment, it is possible to suggest to the user what objects should be deleted in order to reduce the number of pages. This eliminates the need for trial and error processing for adjusting the number of pages while manually deleting objects in order to reduce pages, thereby improving the efficiency and speed of the processing for reducing the number of pages.

例えば、同一のページに一致する所定の属性を有するオブジェクトが配置されていた場合、当該オブジェクトの少なくとも一方を削除することを、ユーザに提案することができる。特に、この所定の属性をオブジェクトに付けられたタグとした場合、同一ページに一致するタグが付けられたオブジェクトが配置されている場合、このオブジェクトの少なくとも一方を削除候補オブジェクトとして提案する情報を、ユーザに対して出力することができる。通常、同様の内容や同様の項目等に対して同じタグが付与されるため、このような処理により、同様の項目が他にも存在しているようなオブジェクトを削除候補として提案することが可能となる。   For example, when an object having a predetermined attribute that matches the same page is arranged, it is possible to propose to the user to delete at least one of the objects. In particular, when this predetermined attribute is a tag attached to an object, when an object with a tag that matches the same page is arranged, information for proposing at least one of the objects as a deletion candidate object is: Can be output to the user. Usually, the same tag is assigned to the same content or the same item, etc., so that it is possible to propose an object having another similar item as a deletion candidate by such processing. It becomes.

また、特に、ユーザが指定したページ数となるようにするために削除すべき削除候補オブジェクトを提案することができるため、ユーザは、文書のページ数を所定のページ数に削減するためには、どのページを削減すればよいか等を容易に知ることができる。   In particular, since it is possible to propose deletion candidate objects to be deleted so that the number of pages specified by the user is reached, the user can reduce the number of pages of the document to a predetermined number of pages. You can easily know which pages to reduce.

(実施の形態2)
本実施の形態の情報処理装置は、上記実施の形態1において説明した情報処理装置において、削除候補オブジェクト検出部103が検出した削除候補オブジェクトを削除した場合の出版に関する費用を算出し、出力するようにしたものである。
(Embodiment 2)
The information processing apparatus according to the present embodiment calculates and outputs the cost for publishing when the deletion candidate object detected by the deletion candidate object detection unit 103 is deleted in the information processing apparatus described in the first embodiment. It is a thing.

図9は、本発明の実施の形態に係る情報処理装置の構成を示すブロック図である。   FIG. 9 is a block diagram showing the configuration of the information processing apparatus according to the embodiment of the present invention.

情報処理装置2は、レイアウト情報格納部101、削減指示受付部102、削除候補オブジェクト検出部103、削減ページ情報取得部104、オブジェクト削除指示受付部106、オブジェクト削除部107、費用算出部208、および出力部209を具備する。   The information processing apparatus 2 includes a layout information storage unit 101, a reduction instruction reception unit 102, a deletion candidate object detection unit 103, a reduction page information acquisition unit 104, an object deletion instruction reception unit 106, an object deletion unit 107, a cost calculation unit 208, and An output unit 209 is provided.

レイアウト情報格納部101、削減指示受付部102、削除候補オブジェクト検出部103、削減ページ情報取得部104、オブジェクト削除指示受付部106、オブジェクト削除部107の構成については、上記実施の形態と同様であるのでここでは詳細な説明を省略する。   The configurations of the layout information storage unit 101, the reduction instruction reception unit 102, the deletion candidate object detection unit 103, the reduction page information acquisition unit 104, the object deletion instruction reception unit 106, and the object deletion unit 107 are the same as those in the above embodiment. Therefore, detailed description is omitted here.

費用算出部208は、削除候補オブジェクト検出部103が検出した削除候補オブジェクトを削除した場合の、レイアウト情報の出版に関する費用を、削減ページ数情報を用いて算出する。具体的には、図示しない格納部等に予め格納されている、出版物のページ数と、出版に関する費用との関係を示す式等に、削減ページ数情報が示す削減ページ数の値を代入することで出版に関する費用を算出する。出版に関する費用は、出版に関する費用であればどのような費用であっても良い。例えば、印刷費用であっても良いし、最終的に製本された場合の費用であっても良い。また、算出する費用は1冊当たりの費用であっても良いし、全体の費用であっても良い。出版物のページ数と、出版に関する費用との関係を示す式は、例えば、印刷費用を、用紙代金と、削減ページ数情報が示すページ数に削減した後のページ数との積で示した式である。また、出版に関する費用は、ページを削減した場合に削減できるコストであっても良い。例えば、このような削減されるコストは、削減前のページ数から算出した印刷費用と、削減ページ数情報が示すページ数に削減した場合の印刷費用との差を示す式で表される。ここで述べるページ数は、印刷されるページが見開きページであるか否か等を設定する情報に応じて調整されるようにしても良い。例えば、見開きページについては、出版に関する費用を算出する際には、1ページを2ページとカウントするようにしても良い。また、これらの印刷費用を算出するや、削減できるコストを算出する式において、インク代等の印刷に必要となる費用を乗算、あるいは加算した式を、印刷費用や削減できるコストを算出する式として用いても良い。また、出版物のページ数と、出版に関する費用との関係を示す式は、出版に関する費用を、出版物の出版部数と、出版物のページ数との積で示した式であっても良い。この場合、出版部数の値は、図示しない受付部等を介してユーザから受け付けても良いし、図示しない記録媒体等に記憶されている予め指定されている値を読み出しても良い。また、その他の要素、例えば、印刷の基本料金や、ページサイズや、色数、インク代金等に関連するパラメータを含む式であっても良い。これらのパラメータの値は、図示しない受付部等を介してユーザから受け付けても良いし、図示しない記録媒体等に記憶されている予め指定されている値を読み出しても良い。また、出版に関する費用を算出する際に、ページサイズとページ数との関係が予め指定した関係になった場合に、算出する式やパラメータを変更しても良い。例えば、通常、印刷においては、大きな紙に、複数のページを割り付けて印刷するため、印刷するページ数と、印刷するページのサイズが、割付に最適な数となった時点で、費用算出に利用する式やパラメータ等を適宜変更するようにしても良い。例えば、A4サイズのページを8枚印刷する場合には、1枚の大きな紙に割り付けて印刷可能であるため、A4サイズのページを8枚印刷する際の専用として設けられた式を用いて費用を算出し、それ以外の場合には、1ページ当たりの料金をページ数にあわせて加算する式により費用を算出するようにしても良い。なお、削減指示受付部102が、削除候補オブジェクトの属性を指定する情報である削減属性指定情報を複数含むオブジェクト削除指示を受け付けた場合、削除候補オブジェクト検出部103が、各削減属性指定情報が指定する属性について、それぞれ、削除候補オブジェクトを検出するようにし、削減ページ情報取得部104が、各削減属性指定情報が指定する属性について、それぞれ、削減ページ数情報を取得するようにし、費用算出部208が、各削減属性指定情報が指定する属性について、それぞれ、費用を算出するようにしても良い。そして、後述する出力部209が、各削減属性指定情報が指定する属性別に、費用算出部208が算出した費用を出力するようにしてもよい。これにより、ユーザにより指定された属性について、オブジェクトを削除した場合の費用を算出することが可能となる。この結果、ユーザは、どの属性を削減の条件として利用した場合に、出版に必要な費用がどのようになるかを知ることができる。費用算出部208が費用を算出するタイミング等は問わない。例えば、削減ページ情報取得部104が削減ページ数情報を取得した場合に費用を算出しても良い。また、オブジェクト削除指示受付部106が削除指示を受け付けた場合に、費用を算出しても良い。なお、オブジェクト削除指示受付部106が一部の削除候補オブジェクトを削除する削除指示を受け付けた場合、この削除指示が指定するオブジェクトだけを削除した場合の出版に関する費用を算出しても良い。この場合、費用の算出前に、削減ページ情報取得部104は、削除指示が指定するオブジェクトだけを削減した場合の削減ページ数情報を取得するようにし、費用算出部208は、この削減ページ数情報を用いて費用を算出すればよい。   The cost calculation unit 208 calculates the cost for publishing the layout information when the deletion candidate object detected by the deletion candidate object detection unit 103 is deleted using the reduced page number information. Specifically, the value of the reduction page number indicated by the reduction page number information is substituted into a formula or the like that is stored in advance in a storage unit (not shown) or the like that indicates the relationship between the number of publication pages and the cost related to publication. To calculate the cost of publishing. The costs related to publishing may be any costs as long as they are costs related to publishing. For example, it may be a printing cost or a cost when the book is finally bound. Further, the cost to be calculated may be the cost per book or the entire cost. The formula showing the relationship between the number of pages of publication and the cost related to publication is, for example, the formula showing the product of printing cost and the number of pages after reducing the paper price to the number of pages indicated by the reduced page number information It is. Further, the cost related to publishing may be a cost that can be reduced when pages are reduced. For example, such a reduced cost is expressed by an expression indicating a difference between a printing cost calculated from the number of pages before reduction and a printing cost when the number of pages indicated by the reduced page number information is reduced. The number of pages described here may be adjusted according to information for setting whether or not the page to be printed is a spread page. For example, for spread pages, one page may be counted as two pages when calculating costs related to publishing. In addition, when calculating the printing cost or calculating the cost that can be reduced, the formula that multiplies or adds the cost required for printing such as ink cost is used as the formula to calculate the printing cost or the cost that can be reduced. It may be used. In addition, the formula indicating the relationship between the number of pages of a publication and the cost related to publication may be a formula indicating the cost related to publication as a product of the number of publications of the publication and the number of pages of the publication. In this case, the value of the number of publishing copies may be received from the user via a receiving unit (not shown) or a predesignated value stored in a recording medium (not shown) may be read. Also, it may be a formula including parameters related to other factors, for example, basic fee for printing, page size, number of colors, ink price, and the like. The values of these parameters may be received from the user via a receiving unit (not shown) or the like, and predesignated values stored in a recording medium (not shown) may be read. Further, when calculating the costs related to publishing, if the relationship between the page size and the number of pages is a relationship specified in advance, the calculation formulas and parameters may be changed. For example, since printing usually involves allocating multiple pages on a large sheet of paper, use it to calculate costs when the number of pages to be printed and the size of the pages to be printed are optimal for allocation. You may make it change suitably a formula, a parameter, etc. to do. For example, when printing 8 sheets of A4 size pages, printing can be performed by allocating to one large sheet of paper, so the cost is set using a formula provided exclusively for printing 8 sheets of A4 size pages. In other cases, the cost may be calculated by an expression in which the charge per page is added according to the number of pages. When the reduction instruction receiving unit 102 receives an object deletion instruction including a plurality of reduction attribute designation information that is information for designating attributes of deletion candidate objects, the deletion candidate object detection unit 103 designates each reduction attribute designation information. The deletion candidate object is detected for each attribute to be deleted, and the reduction page information acquisition unit 104 acquires the reduction page number information for each attribute specified by each reduction attribute specification information, and the cost calculation unit 208 However, the cost may be calculated for each attribute specified by each reduction attribute specifying information. Then, the output unit 209 described later may output the cost calculated by the cost calculation unit 208 for each attribute specified by each reduction attribute specifying information. As a result, it is possible to calculate the cost when the object is deleted for the attribute designated by the user. As a result, the user can know what cost is required for publication when using which attribute as a condition for reduction. The timing at which the cost calculation unit 208 calculates the cost does not matter. For example, the cost may be calculated when the reduction page information acquisition unit 104 acquires the reduction page number information. Further, the cost may be calculated when the object deletion instruction receiving unit 106 receives a deletion instruction. Note that when the object deletion instruction receiving unit 106 receives a deletion instruction for deleting some deletion candidate objects, the cost for publishing when only the object specified by the deletion instruction is deleted may be calculated. In this case, before calculating the cost, the reduction page information acquisition unit 104 acquires the reduction page number information when only the object specified by the deletion instruction is reduced, and the cost calculation unit 208 displays the reduction page number information. The cost may be calculated using.

なお、上記においては、主として、出版が紙媒体等の物理媒体に対して行われる場合の費用について説明しているが、費用算出部208が算出する出版に関する費用は、出版が紙媒体等に対して行われる場合の費用に限るものではなく、出版が、WEBページや、ソフトウェア等で読み込んで表示可能な電子ファイルや、いわゆる電子ペーパーや電子ブック等の、電子媒体等に対して行われる場合の費用と考えても良い。なお、電子媒体等に出版する場合には、上記のような費用の算出の際に、上述したような紙代やインク代等の要素は考慮しないようにしてもよい。なお、電子媒体等への出版は、電子媒体等への印刷と考えてもよい。   In the above description, the cost when publishing is performed on a physical medium such as a paper medium is mainly described. However, the publishing cost calculated by the cost calculation unit 208 is the same as that published on a paper medium. If the publication is performed on an electronic medium such as a web page, an electronic file that can be read and displayed by software, so-called electronic paper or an electronic book, etc. You can think of it as an expense. In the case of publishing on an electronic medium or the like, the above-mentioned factors such as paper fee and ink fee may not be taken into account when calculating the cost as described above. Note that publication on an electronic medium or the like may be considered as printing on an electronic medium or the like.

費用算出部208は、通常、MPUやメモリ等から実現され得る。費用算出部208の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The cost calculation unit 208 can usually be realized by an MPU, a memory, or the like. The processing procedure of the cost calculation unit 208 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

出力部209は、費用算出部208が算出した費用を示す情報を出力する。具体的には、削除候補オブジェクトと対応付けて、当該削除候補オブジェクトが削除された場合に算出した費用を示す情報を出力する。費用を示す情報は例えば金額である。なお、出力部209のその他の構成及び処理については、上記実施の形態1と同様であるのでここでは説明を省略する。   The output unit 209 outputs information indicating the cost calculated by the cost calculation unit 208. Specifically, information indicating the cost calculated when the deletion candidate object is deleted is output in association with the deletion candidate object. The information indicating the cost is, for example, an amount. Since the other configuration and processing of the output unit 209 are the same as those in the first embodiment, description thereof is omitted here.

次に、図10のフローチャートを用いて、情報処理装置2の動作について説明する。なお、図2と同一符号は、同一または相当する処理ステップを示している。   Next, the operation of the information processing apparatus 2 will be described using the flowchart of FIG. 2 denote the same or corresponding processing steps.

(ステップS1001)費用算出部208は、ステップS215において取得した削減ページ数情報を用いて、出版に関する費用の算出を行う。例えば削減ページ数情報が示す削減後のページ数を、予め用意されているパラメータ等とともに、予め指定した費用を算出する式に代入して、費用を算出する。   (Step S1001) The cost calculation unit 208 calculates a cost related to publishing using the reduced page number information acquired in step S215. For example, the cost is calculated by substituting the post-reduction page number indicated by the reduced page number information together with parameters prepared in advance into an equation for calculating the cost specified in advance.

(ステップS1002)出力部209は、削除候補オブジェクトに関する出力、およびステップS1001において取得した出版に関する費用の出力を行う。例えば、ステップS211において蓄積した削除候補オブジェクトを示す情報等を、削除指示が指示するページ数に削減するために、削除すべきオブジェクトを示す情報として表示する。   (Step S1002) The output unit 209 outputs an output related to the deletion candidate object and an expense related to the publication acquired in step S1001. For example, the information indicating the deletion candidate object accumulated in step S211 is displayed as information indicating the object to be deleted in order to reduce the number of pages indicated by the deletion instruction.

なお、図10のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 10, the process ends when the power is turned off or the process ends.

なお、削除指示の受け付けに応じて、費用の算出を行う場合、図2に示したフローチャートにおいて、ステップS219の直前に、費用算出部208が、ステップS215において取得した削減ページ数情報を用いて、出版に関する費用の算出するステップと、出力部209が、費用算出部208が算出した費用の出力を行うステップと、再度削除を実行する指示を受け付けたか否かを判断するステップとを加え、再度削除を実行する指示を受け付けた場合にだけ、ステップS219に進み、受け付けなかった場合、処理を終了するようにしてもよい。再度削除を実行する指示を受け付けたか否かを判断する処理は、削除を実際に実行して良いかを確認する処理と考えて良い。   In the case where the cost is calculated in response to the reception of the delete instruction, in the flowchart shown in FIG. 2, the cost calculation unit 208 uses the reduced page number information acquired in step S215 immediately before step S219. A step of calculating a cost related to publication, a step in which the output unit 209 outputs the cost calculated by the cost calculation unit 208, and a step of determining whether or not an instruction to execute the deletion again has been received are added and deleted again. Only when an instruction to execute is accepted, the process proceeds to step S219, and when it is not accepted, the process may be terminated. The process of determining whether or not an instruction to execute the deletion again is accepted can be considered as a process of confirming whether or not the deletion can actually be executed.

さらに、削除指示が、削除候補オブジェクトの一部の削除を指示する情報であった場合、費用算出部208が、出版に関する費用の算出するステップの直前に、削減ページ情報取得部104が削除指示により削除されたページだけを削除した場合の削減ページ数情報を取得する処理を行うようにしてもよい。   Furthermore, when the deletion instruction is information for instructing deletion of a part of the deletion candidate object, the reduction page information acquisition unit 104 performs the deletion instruction immediately before the cost calculation unit 208 calculates the cost for publication. You may make it perform the process which acquires the reduction page number information at the time of deleting only the deleted page.

次に、本実施の形態の具体例について説明する。
まず、上記実施の形態の具体例と同様に、削除候補オブジェクト検出部103が削除候補オブジェクトを検出する処理を、削減ページ情報取得部104が取得した削減ページ数情報が、削減指示により指定されるページ数と一致するまで繰り返したとする。そして、削減ページ情報取得部104が取得した削減ページ数情報が、削減指示により指定されるページ数と一致した時点で、費用算出部208は出版に関する費用の算出を行う。具体的には、削減ページ情報取得部104が取得した削減ページ数情報と、レイアウト情報を用いて出版する書籍の出版部数を指定する情報とを用いて、以下のようにして、費用を算出する。なお、ここでは例として、出版が紙媒体に対する出版である場合を例に挙げて説明する。
Next, a specific example of the present embodiment will be described.
First, similarly to the specific example of the above-described embodiment, the reduction page number information acquired by the reduction page information acquisition unit 104 is specified by the reduction instruction for the deletion candidate object detection unit 103 to detect the deletion candidate object. Suppose it is repeated until it matches the number of pages. Then, when the reduction page number information acquired by the reduction page information acquisition unit 104 matches the number of pages specified by the reduction instruction, the cost calculation unit 208 calculates a cost related to publication. Specifically, using the reduction page number information acquired by the reduction page information acquisition unit 104 and information specifying the number of publications of a book to be published using layout information, the cost is calculated as follows. . Here, as an example, a case where publication is publication on a paper medium will be described as an example.

例えば、1ページ当たりの印刷費用が、a円、発行部数がb部とする(ただし、a,bは正の整数であるとする)。この場合、削減ページ情報取得部104が取得した削減ページ数が示すページ数に削減した場合のページ数をtページとすると、出版に関する費用である印刷費用pの算出式は、
p=a×b×t
となる。
For example, it is assumed that the printing cost per page is a yen and the number of copies is b (where a and b are positive integers). In this case, assuming that the number of pages when the number of pages indicated by the number of reduced pages acquired by the reduced page information acquisition unit 104 is t pages, the formula for calculating the printing cost p, which is the cost related to publishing, is
p = a * b * t
It becomes.

ここでは、削減ページ数情報が示すページ数、即ち削減指示が指定するページ数が、200ページ、予め指定されている1ページ当たりの印刷費用が10円/枚、予め指定されている発行部数が1000冊であったとすると、上記の式から算出される印刷費用は、2,000,000円となる。   Here, the number of pages indicated by the reduction page number information, that is, the number of pages specified by the reduction instruction is 200 pages, the printing cost per page specified in advance is 10 yen / sheet, and the number of copies issued in advance is specified. If it is 1000 volumes, the printing cost calculated from the above formula is 2,000,000 yen.

そして、出力部209は、図11に示すように、削除候補オブジェクトに関する出力と、費用算出部208が算出した費用とをモニタ等に表示する。   Then, as illustrated in FIG. 11, the output unit 209 displays the output related to the deletion candidate object and the cost calculated by the cost calculation unit 208 on a monitor or the like.

なお、削減されない場合の印刷費用を上記と同様の式を用いて算出して、当該算出した削減前の印刷費用と、上記で算出した削減後の印刷費用との差分を、削減されるコストを示す値段として、表示するようにしても良い。   The printing cost when not reduced is calculated using the same formula as above, and the difference between the calculated printing cost before reduction and the printing cost after reduction calculated above is calculated as the cost to be reduced. You may make it display as a price to show.

なお、上記具体例においては、出版が紙媒体に対して行われる場合の出版費用を算出する例について説明したが、本実施の形態においては、紙媒体以外に対して出版を行う場合の費用を算出するようにしても良い。例えば、電子媒体の一つであるWEBページに出版を行う場合の例について説明する。例えば、HTML等を用いて記述されたWEBページの1ページに対して、レイアウト情報を構成する1ページの情報を表示する場合の掲載料がQ円(Qは正の値)、削減ページ情報取得部104が取得した削減ページ数が示すページ数を削減した場合のページ数をtページとすると、出版費用Rの算出式は、
R=Q×t
となる。
In the above specific example, the example of calculating the publishing cost when publishing is performed on a paper medium has been described. However, in this embodiment, the cost when publishing on a medium other than paper is described. It may be calculated. For example, an example in which publication is performed on a WEB page which is one of electronic media will be described. For example, for one WEB page described using HTML or the like, the publication fee for displaying one page of information constituting layout information is Q yen (Q is a positive value), and reduced page information is acquired. When the number of pages when the number of pages indicated by the reduced number of pages acquired by the section 104 is reduced to t pages, the calculation formula for the publication cost R is
R = Q × t
It becomes.

従って、例えば、削減ページ数情報が示すページ数、即ち削減指示が指定するページ数が、10ページ、予め指定されているWEBページの1ページ当たりの出版費用が4万円/ページであったとすると、上記の式から算出される出版費用は、400,000円となる。そして、この算出した費用を上記と同様にモニタ等に出力するようにしてよい。   Therefore, for example, if the number of pages indicated by the reduction page number information, that is, the number of pages specified by the reduction instruction is 10 pages, and the publishing cost per page of the WEB page specified in advance is 40,000 yen / page. The publication cost calculated from the above formula is 400,000 yen. Then, the calculated cost may be output to a monitor or the like in the same manner as described above.

なお、削減されない場合の電子媒体への出版費用を上記と同様の式を用いて算出して、当該算出した削減前の出版費用と、上記で算出した削減後の出版費用との差分を、削減されるコストを示す値段として、表示するようにしても良い。また、出版した電子媒体に対する閲覧数に制限をかけることができる場合、予め指定された閲覧数に応じた料金を、上記の出版費用Rに乗算して得られた費用を出版費用としても良い。また、出版に関する費用の算出式は上記式以外の式であっても良いことは言うまでもない。   Calculate the publishing costs for electronic media that are not reduced using the same formula as above, and reduce the difference between the calculated publishing costs before the reduction and the publishing costs after the reduction calculated above. You may make it display as a price which shows the cost to be performed. In addition, when the number of browsing for the published electronic medium can be limited, the cost obtained by multiplying the publication cost R by a charge corresponding to the number of browsing specified in advance may be used as the publication cost. Needless to say, the calculation formula for the cost related to publication may be a formula other than the above formula.

以上、本実施の形態によれば、削減指示に応じて検出された削減候補となるオブジェクトに関する情報と、当該削減候補となるオブジェクトを削除した場合の、出版に関する費用とを、ユーザに提示することができる。これにより、ユーザは、ページ数だけでなく、費用面からも、削減候補となるオブジェクトの削除が適切であるか否かを判断することが可能となり、より適切なページの削減が可能となる。   As described above, according to the present embodiment, the information related to the reduction candidate object detected in response to the reduction instruction and the publication cost when the reduction candidate object is deleted are presented to the user. Can do. Thereby, the user can determine whether or not the deletion candidate object is appropriately deleted not only from the number of pages but also from the cost aspect, and more appropriate page reduction is possible.

なお、本実施の形態における費用の算出を、レイアウト情報を印刷する指示を受け付けた場合に行うようにしてもよい。例えば、情報処理装置2に、更に、レイアウト情報を印刷する指示である印刷指示を受け付ける印刷指示受付部(図示せず)と、印刷指示に応じて、レイアウト情報を印刷する印刷部(図示せず)とを設け、費用算出部208の代わりに、現在のレイアウト情報のページ数を用いて印刷費用を算出する印刷費用算出部(図示せず)を設けるようにし、出力部209は、印刷指示受付部が印刷指示を受け付けた場合に、費用算出部が印刷費用を示す情報を出力するようにしても良い。なお、ここで述べる印刷は、紙媒体等の物理的な媒体への印刷に限るものではなく、電子的な印刷も含む概念である。   Note that the cost calculation in this embodiment may be performed when an instruction to print layout information is received. For example, the information processing apparatus 2 further includes a print instruction receiving unit (not shown) that receives a print instruction that is an instruction to print layout information, and a print unit (not shown) that prints layout information in response to the print instruction. ), And instead of the cost calculation unit 208, a print cost calculation unit (not shown) that calculates the print cost using the number of pages of the current layout information is provided, and the output unit 209 receives the print instruction When the printing unit receives a printing instruction, the cost calculation unit may output information indicating the printing cost. The printing described here is not limited to printing on a physical medium such as a paper medium, and is a concept including electronic printing.

なお、上記各実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。   In each of the above embodiments, each process (each function) may be realized by centralized processing by a single device (system), or by distributed processing by a plurality of devices. May be.

また、上記実施の形態において、各構成要素が実行する処理に関係する情報、例えば、各構成要素が受け付けたり、取得したり、選択したり、生成したり、送信したり、受信したりする情報や、各構成要素が処理で用いるしきい値や数式、アドレス等の情報等は、上記説明で明記していない場合であっても、図示しない記録媒体において、一時的に、あるいは長期にわたって保持されていてもよい。また、その図示しない記録媒体への情報の蓄積を、各構成要素、あるいは、図示しない蓄積部が行ってもよい。また、その図示しない記録媒体からの情報の読み出しを、各構成要素、あるいは、図示しない読み出し部が行ってもよい。   In the above embodiment, information related to processing executed by each component, for example, information received, acquired, selected, generated, transmitted, and received by each component. In addition, information such as threshold values, mathematical formulas, addresses, etc. used by each component in processing is retained temporarily or over a long period of time on a recording medium (not shown) even when not explicitly stated in the above description. It may be. Further, the storage of information in the recording medium (not shown) may be performed by each component or a storage unit (not shown). Further, reading of information from the recording medium (not shown) may be performed by each component or a reading unit (not shown).

また、上記各実施の形態では、情報処理装置がスタンドアロンである場合について説明したが、情報処理装置は、スタンドアロンの装置であってもよく、サーバ・クライアントシステムにおけるサーバ装置であってもよい。後者の場合には、出力部や受付部は、通信回線を介して入力を受け付けたり、画面を出力したりすることになる。   Further, although cases have been described with the above embodiments where the information processing apparatus is a stand-alone, the information processing apparatus may be a stand-alone apparatus or a server apparatus in a server / client system. In the latter case, the output unit or the reception unit receives an input or outputs a screen via a communication line.

また、上記各実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、あるいは、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。   In each of the above embodiments, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.

なお、上記各実施の形態における情報処理装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータを、レイアウト情報格納部に格納された、1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報の、ページを削減する指示である削減指示を受け付ける削減指示受付部と、前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出部と、前記削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報を出力する出力部として機能させるためのプログラムである。   The software that realizes the information processing apparatus in each of the above embodiments is a program as described below. In other words, this program causes the computer to receive a reduction instruction that is an instruction to reduce a page of layout information that includes one or more pages on which one or more objects are arranged and that is stored in the layout information storage unit. A deletion candidate object detection that detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information in accordance with the reduction instruction. And a program for functioning as an output unit that outputs information related to the deletion candidate object detected by the deletion candidate object detection unit.

なお、上記プログラムにおいて、上記プログラムが実現する機能には、ハードウェアでしか実現できない機能は含まれない。例えば、情報を取得する取得部や、情報を出力する出力部などにおけるモデムやインターフェースカードなどのハードウェアでしか実現できない機能は、上記プログラムが実現する機能には含まれない。   In the program, the functions realized by the program do not include functions that can be realized only by hardware. For example, a function that can be realized only by hardware such as a modem or an interface card in an acquisition unit that acquires information or an output unit that outputs information is not included in the function realized by the program.

また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。   Further, the computer that executes this program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.

図12は、上記プログラムを実行して、上記実施の形態による情報処理装置を実現するコンピュータの外観の一例を示す模式図である。上記実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムによって実現されうる。   FIG. 12 is a schematic diagram illustrating an example of an external appearance of a computer that executes the program and realizes the information processing apparatus according to the embodiment. The above-described embodiment can be realized by computer hardware and a computer program executed on the computer hardware.

図12において、コンピュータシステム900は、CD−ROM(Compact Disk Read Only Memory)ドライブ905、FD(Floppy(登録商標) Disk)ドライブ906を含むコンピュータ901と、キーボード902と、マウス903と、モニタ904とを備える。   In FIG. 12, a computer system 900 includes a computer 901 including a CD-ROM (Compact Disk Read Only Memory) drive 905 and an FD (Floppy (registered trademark) Disk) drive 906, a keyboard 902, a mouse 903, a monitor 904, and the like. Is provided.

図13は、コンピュータシステム900の内部構成を示す図である。図13において、コンピュータ901は、CD−ROMドライブ905、FDドライブ906に加えて、MPU(Micro Processing Unit)911と、ブートアッププログラム等のプログラムを記憶するためのROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM(Random Access Memory)913と、アプリケーションプログラム、システムプログラム、及びデータを記憶するハードディスク914と、MPU911、ROM912等を相互に接続するバス915とを備える。なお、コンピュータ901は、LANへの接続を提供する図示しないネットワークカードを含んでいてもよい。   FIG. 13 is a diagram showing an internal configuration of the computer system 900. In FIG. 13, in addition to the CD-ROM drive 905 and the FD drive 906, a computer 901 is connected to an MPU (Micro Processing Unit) 911, a ROM 912 for storing a program such as a bootup program, and the MPU 911. A RAM (Random Access Memory) 913 that temporarily stores program instructions and provides a temporary storage space, a hard disk 914 that stores application programs, system programs, and data, and an MPU 911 and a ROM 912 are interconnected. And a bus 915. The computer 901 may include a network card (not shown) that provides connection to the LAN.

コンピュータシステム900に、上記実施の形態による情報処理装置の機能を実行させるプログラムは、CD−ROM921、またはFD922に記憶されて、CD−ROMドライブ905、またはFDドライブ906に挿入され、ハードディスク914に転送されてもよい。これに代えて、そのプログラムは、図示しないネットワークを介してコンピュータ901に送信され、ハードディスク914に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、CD−ROM921やFD922、またはネットワークから直接、ロードされてもよい。   A program that causes the computer system 900 to execute the functions of the information processing apparatus according to the above-described embodiment is stored in the CD-ROM 921 or FD 922, inserted into the CD-ROM drive 905 or FD drive 906, and transferred to the hard disk 914. May be. Instead, the program may be transmitted to the computer 901 via a network (not shown) and stored in the hard disk 914. The program is loaded into the RAM 913 when executed. The program may be loaded directly from the CD-ROM 921, the FD 922, or the network.

プログラムは、コンピュータ901に、上記実施の形態による情報処理装置の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。   The program does not necessarily include an operating system (OS) or a third-party program that causes the computer 901 to execute the functions of the information processing apparatus according to the above-described embodiment. The program may include only a part of an instruction that calls an appropriate function (module) in a controlled manner and obtains a desired result. How the computer system 900 operates is well known and will not be described in detail.

本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above-described embodiments, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.

以上のように、本発明にかかる情報処理装置等は、出版等に用いられるレイアウト情報を処理する装置等として適しており、特に、オブジェクトが配置されたレイアウト情報の処理を行う装置等として有用である。   As described above, the information processing apparatus according to the present invention is suitable as an apparatus for processing layout information used for publishing and the like, and particularly useful as an apparatus for processing layout information in which objects are arranged. is there.

本発明の実施の形態1における情報処理装置のブロック図Block diagram of the information processing apparatus in Embodiment 1 of the present invention 同情報処理装置の動作について説明するフローチャートFlow chart for explaining the operation of the information processing apparatus 同情報処理装置を説明するための、オブジェクト管理表の一例を示す図The figure which shows an example of the object management table for demonstrating the information processing apparatus 同情報処理装置を説明するための、レイアウト情報が示すページの表示例を示す図The figure which shows the example of a display of the page which layout information shows in order to demonstrate the information processing apparatus 同情報処理装置を説明するための、オブジェクトを削除したページの状態を模擬的に示す図The figure which simulates the state of the page which deleted the object for demonstrating the information processing apparatus 同情報処理装置を説明するための、削除候補オブジェクト管理表Deletion candidate object management table for explaining the information processing apparatus 同情報処理装置を説明するための、オブジェクトを削除した場合のページの状態を模擬的に示す図The figure which simulates the state of the page at the time of deleting the object for demonstrating the information processing apparatus 同情報処理装置の出力例を示す図The figure which shows the output example of the information processing apparatus 本発明の実施の形態2における情報処理装置のブロック図The block diagram of the information processing apparatus in Embodiment 2 of this invention 同情報処理装置の動作について説明するフローチャートFlow chart for explaining the operation of the information processing apparatus 同情報処理装置の出力例を示す図The figure which shows the output example of the information processing apparatus 本発明の実施の形態による情報処理装置を実現するコンピュータの外観の一例を示す模式図1 is a schematic diagram showing an example of the appearance of a computer that implements an information processing apparatus according to an embodiment of the present invention. 本発明の実施の形態による情報処理装置を実現するコンピュータの内部構成の一例を示す図The figure which shows an example of the internal structure of the computer which implement | achieves the information processing apparatus by embodiment of this invention

符号の説明Explanation of symbols

1、2 情報処理装置
101 レイアウト情報格納部
102 削減指示受付部
103 削除候補オブジェクト検出部
104 削減ページ情報取得部
105、209 出力部
106 オブジェクト削除指示受付部
107 オブジェクト削除部
208 費用算出部
DESCRIPTION OF SYMBOLS 1, 2 Information processing apparatus 101 Layout information storage part 102 Reduction instruction reception part 103 Deletion candidate object detection part 104 Reduction page information acquisition part 105,209 Output part 106 Object deletion instruction reception part 107 Object deletion part 208 Cost calculation part

Claims (11)

1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報が格納され得るレイアウト情報格納部と、
前記レイアウト情報のページを削減する指示である削減指示を受け付ける削減指示受付部と、
前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出部と、
前記削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報を出力する出力部とを備え
前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を取得する削減ページ情報取得部を更に備え、
前記出力部は、削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報と、前記削減ページ情報取得部が取得したページ数に関する情報とを出力する情報処理装置。
A layout information storage unit capable of storing layout information including one or more pages on which one or more objects are arranged;
A reduction instruction receiving unit that receives a reduction instruction that is an instruction to reduce the page of the layout information;
In response to the reduction instruction, a deletion candidate object detection unit that detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information;
An output unit that outputs information on the deletion candidate object detected by the deletion candidate object detection unit ;
A reduction page information acquisition unit that acquires reduction page number information that is information related to the number of pages when the deletion candidate object is deleted and the area where the deletion candidate object is arranged is packed with objects that are not deleted; In addition,
The information processing apparatus , wherein the output unit outputs information on a deletion candidate object detected by a deletion candidate object detection unit and information on the number of pages acquired by the reduction page information acquisition unit .
1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報が格納され得るレイアウト情報格納部と、
前記レイアウト情報のページを削減する指示である削減指示を受け付ける削減指示受付部と、
前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出部と、
前記削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報を出力する出力部とを備え、
前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を取得する削減ページ情報取得部を更に備え、
前記削減指示受付部は、削減後のページ数を指定する情報である削減ページ指定情報を含む前記削除指示を受け付け、
前記削除候補オブジェクト検出部は、前記削減ページ情報取得部が取得した削減ページ数情報が示す削減後のページ数が、前記削減ページ指定情報が指定する削減後のページ数となる前記削除候補オブジェクトを検出する情報処理装置。
A layout information storage unit capable of storing layout information including one or more pages on which one or more objects are arranged;
A reduction instruction receiving unit that receives a reduction instruction that is an instruction to reduce the page of the layout information;
In response to the reduction instruction, a deletion candidate object detection unit that detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information;
An output unit that outputs information on the deletion candidate object detected by the deletion candidate object detection unit;
A reduction page information acquisition unit that acquires reduction page number information that is information related to the number of pages when the deletion candidate object is deleted and the area where the deletion candidate object is arranged is packed with objects that are not deleted; In addition,
The reduction instruction receiving unit receives the deletion instruction including reduction page designation information that is information for designating the number of pages after reduction,
The deletion candidate object detection unit detects the deletion candidate object in which the number of pages after reduction indicated by the reduction page number information acquired by the reduction page information acquisition unit is the number of pages after reduction specified by the reduction page designation information. detection to that information processing apparatus.
前記削除候補オブジェクト検出部は、同一ページ内に、予め指定された属性が一致する複数のオブジェクトが配置されている場合に、当該一致する複数のオブジェクトの少なくとも一つである前記削除候補オブジェクトを検出する請求項1または2記載の情報処理装置。 The deletion candidate object detection unit detects the deletion candidate object that is at least one of the plurality of matching objects when a plurality of objects with matching predetermined attributes are arranged in the same page. The information processing apparatus according to claim 1 or 2 . 前記削除候補オブジェクト検出部は、静止画像、動画像、または3Dデータであるオブジェクトの中から、前記削除候補オブジェクトを検出する請求項記載の情報処理装置。 The information processing apparatus according to claim 3, wherein the deletion candidate object detection unit detects the deletion candidate object from an object that is a still image, a moving image, or 3D data. 前記削除候補オブジェクト検出部が検出した削除候補オブジェクトを削除した場合の、レイアウト情報の出版に関する費用を、前記削減ページ数情報を用いて算出する費用算出部を更に備え、
前記出力部は、費用算出部が算出した費用を示す情報を出力する請求項1から請求項いずれか記載の情報処理装置。
A cost calculation unit that calculates a cost for publishing layout information when the deletion candidate object detected by the deletion candidate object detection unit is deleted, using the reduced page number information;
The output unit, the information processing apparatus according to claim 4, wherein any one of claims 1 to output information indicating the cost of the cost calculation unit is calculated.
前記オブジェクト検出部が検出した削除候補オブジェクトを削除する指示であるオブジェクト削除指示を受け付けるオブジェクト削除指示受付部と、
前記オブジェクト削除指示が指定する削除候補オブジェクトを、前記レイアウト情報から削除するオブジェクト削除部とを更に備えた請求項1から請求項いずれか記載の情報処理装置。
An object deletion instruction receiving unit that receives an object deletion instruction that is an instruction to delete the deletion candidate object detected by the object detection unit;
The deletion candidate objects object deletion instruction specifies information processing apparatus in accordance with claim 5 further from claim 1 and a object deleting unit for deleting from the layout information.
前記オブジェクト検出部が検出した削除候補オブジェクトを削除する指示であるオブジェクト削除指示を受け付けるオブジェクト削除指示受付部と、
前記オブジェクト削除指示に応じて、前記削除候補オブジェクトを、前記レイアウト情報から削除するオブジェクト削除部と、
前記オブジェクト削除指示の受け付けに応じて、前記オブジェクト削除指示が指示する削除候補オブジェクトを削除した場合のレイアウト情報の出版に関する費用を、前記削減ページ数情報を用いて算出する費用算出部とを更に備え、
前記出力部は、費用算出部が算出した費用を示す情報を出力する請求項1から請求項いずれか記載の情報処理装置。
An object deletion instruction receiving unit that receives an object deletion instruction that is an instruction to delete the deletion candidate object detected by the object detection unit;
An object deletion unit that deletes the deletion candidate object from the layout information in response to the object deletion instruction;
A cost calculation unit that calculates a cost for publishing layout information when the deletion candidate object indicated by the object deletion instruction is deleted in response to the reception of the object deletion instruction, using the reduced page number information; ,
The output unit, the information processing apparatus according to claim 4, wherein any one of claims 1 to output information indicating the cost of the cost calculation unit is calculated.
1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報が格納され得るレイアウト情報格納部と、削減指示受付部と、削除候補オブジェクト検出部と、出力部と、削減ページ情報取得部とを用いて行われる情報処理方法であって、
前記削減指示受付部が、前記レイアウト情報のページを削減する指示である削減指示を受け付ける削減指示受付ステップと、
前記削除候補オブジェクト検出部が、前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出ステップと、
前記出力部が、前記削除候補オブジェクト検出ステップで検出した削除候補オブジェクトに関する情報を出力する出力ステップとを備え
前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を、前記削減ページ情報取得部が取得する削減ページ情報取得ステップを更に備え、
前記出力ステップは、削除候補オブジェクト検出ステップで検出した削除候補オブジェクトに関する情報と、前記削減ページ情報取得ステップで取得したページ数に関する情報とを出力する情報処理方法。
A layout information storage unit that can store layout information including one or more pages in which one or more objects are arranged, a reduction instruction reception unit, a deletion candidate object detection unit, an output unit, and a reduction page information acquisition unit; An information processing method performed using
A reduction instruction receiving step, wherein the reduction instruction receiving unit receives a reduction instruction that is an instruction to reduce a page of the layout information;
In response to the reduction instruction, the deletion candidate object detection unit detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information. A deletion candidate object detection step;
The output unit includes an output step of outputting information on the deletion candidate object detected in the deletion candidate object detection step ;
In the case where the deletion candidate object is deleted, the reduction page information acquisition unit displays reduction page number information that is information regarding the number of pages when the area where the deletion candidate object is arranged is packed with objects that are not deleted. It further comprises a reduction page information acquisition step to acquire,
The information output method in which the output step outputs information on the deletion candidate object detected in the deletion candidate object detection step and information on the number of pages acquired in the reduction page information acquisition step .
1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報が格納され得るレイアウト情報格納部と、削減指示受付部と、削除候補オブジェクト検出部と、出力部と、削減ページ情報取得部とを用いて行われる情報処理方法であって、A layout information storage unit that can store layout information including one or more pages in which one or more objects are arranged, a reduction instruction reception unit, a deletion candidate object detection unit, an output unit, and a reduction page information acquisition unit; An information processing method performed using
前記削減指示受付部が、前記レイアウト情報のページを削減する指示である削減指示を受け付ける削減指示受付ステップと、A reduction instruction receiving step, wherein the reduction instruction receiving unit receives a reduction instruction that is an instruction to reduce a page of the layout information;
前記削除候補オブジェクト検出部が、前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出ステップと、In response to the reduction instruction, the deletion candidate object detection unit detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information. A deletion candidate object detection step;
前記出力部が、前記削除候補オブジェクト検出ステップで検出した削除候補オブジェクトに関する情報を出力する出力ステップとを備え、The output unit includes an output step of outputting information on the deletion candidate object detected in the deletion candidate object detection step;
前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を、前記削減ページ情報取得部が取得する削減ページ情報取得ステップを更に備え、In the case where the deletion candidate object is deleted, the reduction page information acquisition unit displays reduction page number information that is information regarding the number of pages when the area where the deletion candidate object is arranged is packed with objects that are not deleted. It further comprises a reduction page information acquisition step to acquire,
前記削減指示受付ステップは、削減後のページ数を指定する情報である削減ページ指定情報を含む前記削除指示を受け付け、The reduction instruction receiving step receives the deletion instruction including reduction page designation information that is information for designating the number of pages after reduction,
前記削除候補オブジェクト検出ステップは、前記削減ページ情報取得ステップで取得した削減ページ数情報が示す削減後のページ数が、前記削減ページ指定情報が指定する削減後のページ数となる前記削除候補オブジェクトを検出する情報処理方法。In the deletion candidate object detection step, the deletion candidate object in which the number of pages after reduction indicated by the reduction page number information acquired in the reduction page information acquisition step is the number of pages after reduction specified by the reduction page designation information. Information processing method to be detected.
コンピュータを、
レイアウト情報格納部に格納された、1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報の、ページを削減する指示である削減指示を受け付ける削減指示受付部と、
前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出部と、
前記削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報を出力する出力部として機能させるためのプログラムであって、
コンピュータを、
前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を取得する削減ページ情報取得部として更に機能させ、
前記出力部は、削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報と、前記削減ページ情報取得部が取得したページ数に関する情報とを出力するプログラム。
Computer
A reduction instruction receiving unit that receives a reduction instruction, which is an instruction to reduce pages, of layout information including one or more pages on which one or more objects are arranged, stored in the layout information storage unit;
In response to the reduction instruction, a deletion candidate object detection unit that detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information;
A program for functioning as an output unit that outputs information on a deletion candidate object detected by the deletion candidate object detection unit ,
Computer
When the deletion candidate object is deleted, a reduction page information acquisition unit that acquires reduction page number information that is information related to the number of pages when the area where the deletion candidate object is arranged is packed with objects that are not deleted Make it work,
The said output part is a program which outputs the information regarding the deletion candidate object which the deletion candidate object detection part detected, and the information regarding the number of pages which the said reduction page information acquisition part acquired.
コンピュータを、Computer
レイアウト情報格納部に格納された、1以上のオブジェクトが配置された1以上のページを備えたレイアウト情報の、ページを削減する指示である削減指示を受け付ける削減指示受付部と、A reduction instruction receiving unit that receives a reduction instruction, which is an instruction to reduce pages, of layout information including one or more pages on which one or more objects are arranged, stored in the layout information storage unit;
前記削減指示に応じて、前記レイアウト情報の1以上のページに配置されたオブジェクトのうちの、削除すべき候補となる1以上のオブジェクトである削除候補オブジェクトを検出する削除候補オブジェクト検出部と、In response to the reduction instruction, a deletion candidate object detection unit that detects a deletion candidate object that is one or more objects that are candidates to be deleted among objects arranged on one or more pages of the layout information;
前記削除候補オブジェクト検出部が検出した削除候補オブジェクトに関する情報を出力する出力部として機能させるためのプログラムであって、A program for functioning as an output unit that outputs information on a deletion candidate object detected by the deletion candidate object detection unit,
コンピュータを、Computer
前記削除候補オブジェクトを削除した場合において、削除候補オブジェクトが配置されていた領域を、削除されていないオブジェクトで詰めた場合のページ数に関する情報である削減ページ数情報を取得する削減ページ情報取得部として更に機能させ、When the deletion candidate object is deleted, a reduction page information acquisition unit that acquires reduction page number information that is information related to the number of pages when the area where the deletion candidate object is arranged is packed with objects that are not deleted Make it work,
前記削減指示受付部は、削減後のページ数を指定する情報である削減ページ指定情報を含む前記削除指示を受け付け、The reduction instruction receiving unit receives the deletion instruction including reduction page designation information that is information for designating the number of pages after reduction,
前記削除候補オブジェクト検出部は、前記削減ページ情報取得部が取得した削減ページ数情報が示す削減後のページ数が、前記削減ページ指定情報が指定する削減後のページ数となる前記削除候補オブジェクトを検出するプログラム。The deletion candidate object detection unit detects the deletion candidate object in which the number of pages after reduction indicated by the reduction page number information acquired by the reduction page information acquisition unit is the number of pages after reduction specified by the reduction page designation information. The program to detect.
JP2008219342A 2008-08-28 2008-08-28 Information processing apparatus, information processing method, and program Expired - Fee Related JP5156545B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008219342A JP5156545B2 (en) 2008-08-28 2008-08-28 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008219342A JP5156545B2 (en) 2008-08-28 2008-08-28 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2010055355A JP2010055355A (en) 2010-03-11
JP5156545B2 true JP5156545B2 (en) 2013-03-06

Family

ID=42071205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008219342A Expired - Fee Related JP5156545B2 (en) 2008-08-28 2008-08-28 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP5156545B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6420219B2 (en) * 2015-08-13 2018-11-07 富士フイルム株式会社 Medical support device, its operating method and operating program, and medical support system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003211745A (en) * 2002-01-24 2003-07-29 Ricoh Co Ltd Printer
JP2004054894A (en) * 2002-05-27 2004-02-19 Minolta Co Ltd Printer driver program
US20040017577A1 (en) * 2002-07-23 2004-01-29 Ostrover Lewis S. Printing system with reduced printer usage
JP2004199394A (en) * 2002-12-18 2004-07-15 Konica Minolta Holdings Inc Image forming system, image forming method and recording medium
JP2008028650A (en) * 2006-07-20 2008-02-07 Nikon Corp Layout setting program and layout setting device

Also Published As

Publication number Publication date
JP2010055355A (en) 2010-03-11

Similar Documents

Publication Publication Date Title
JP4144806B2 (en) Information editing apparatus, information editing system, information editing method, and program
JP5658986B2 (en) Electronic book display device, method and program
CN101739224A (en) Thumbnail creation method and image forming apparatus
JP2008120020A (en) Information processing device, its control method, and program
US20090204888A1 (en) Document processing apparatus, document processing method, and storage medium
US20070229901A1 (en) Information processing apparatus, information processing method, and information processing program
JP5200065B2 (en) Content distribution system, method and program
JP2009271682A (en) Document processing apparatus and document processing method
JP2005071187A (en) Device and method for converting document
KR20070099485A (en) Information processing apparatus and method
CN105760501A (en) Document format conversion method and device
JP2007148486A (en) Method for supporting document browsing, system for the same, document processor, and program
US20080046835A1 (en) Object-oriented processing of tab text
EP2180430B1 (en) Image forming apparatus and method
JP5156545B2 (en) Information processing apparatus, information processing method, and program
JP4612894B2 (en) Information processing apparatus, layout processing method, program, and storage medium
JP2009065339A (en) Device, system, method and program for generating print data
JP4532872B2 (en) Document processing method and document processing apparatus
JP4825823B2 (en) Information editing apparatus, information editing system, information editing method, and program
JP2007317225A (en) Information processor, its method, and print control program
JP2008165305A (en) Print support system, print support program, and print support method
JP5857281B2 (en) Layout processing apparatus, layout processing method, and program
JP4808128B2 (en) Image processing system, Web server device, image processing method, and program
JP5298484B2 (en) Document processing device
JP6551846B2 (en) Page processing apparatus, page processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120731

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120925

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: 20121121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121210

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

Free format text: PAYMENT UNTIL: 20151214

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5156545

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees