JP2012060368A - Image formation apparatus, image formation apparatus control method, and program - Google Patents
Image formation apparatus, image formation apparatus control method, and program Download PDFInfo
- Publication number
- JP2012060368A JP2012060368A JP2010200957A JP2010200957A JP2012060368A JP 2012060368 A JP2012060368 A JP 2012060368A JP 2010200957 A JP2010200957 A JP 2010200957A JP 2010200957 A JP2010200957 A JP 2010200957A JP 2012060368 A JP2012060368 A JP 2012060368A
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- data
- display
- preview
- forming apparatus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、記憶されるデータをプレビューする画像形成装置、画像形成装置の制御方法、プログラムに関する。 The present invention relates to an image forming apparatus for previewing stored data, an image forming apparatus control method, and a program.
近年の画像形成装置(MFP(Multi−Function Printer))は、HDD等の大容量の記憶装置を装備している場合がある。このようなMFPにおいて、情報処理装置(PC)等で作成された様々なフォーマット(pdf、jpeg、doc等)のデータをHDD等の記憶装置に格納することが可能となっている。記憶装置に格納されたデータは、MFPに装着された表示装置のUI(User Interface)により、データの画像や情報を表示し、確認(以後、プレビュー)することが可能である。 A recent image forming apparatus (MFP (Multi-Function Printer)) may be equipped with a large-capacity storage device such as an HDD. In such an MFP, data in various formats (pdf, jpeg, doc, etc.) created by an information processing device (PC) or the like can be stored in a storage device such as an HDD. The data stored in the storage device can be displayed and confirmed (hereinafter, previewed) by displaying data images and information using a UI (User Interface) of a display device mounted on the MFP.
この場合において、従来のプレビューでは、全体を表示するか、文字の部分を拡大して表示するかを自動的に切り替える方法が提案されている(例えば、特許文献1参照)。 In this case, in the conventional preview, there has been proposed a method of automatically switching between displaying the whole or displaying the enlarged character part (for example, see Patent Document 1).
また、プレビュー表示の切り替えを高速に行うために、表示しているページの前後のページ、または先頭、最後のページをバッファに先読みして表示するためにかかる時間を早くする方法が提案されている(例えば、特許文献2参照)。 In addition, in order to switch the preview display at high speed, a method has been proposed in which the time required for pre-reading and displaying the page before and after the displayed page, or the first and last pages in the buffer is displayed. (For example, refer to Patent Document 2).
しかし、従来の方法は、記憶されるデータのデータ形式に適応した表示データを生成してプレビューするものではなかった。
例えば、特許文献1に記載された技術では、データの文字の特徴だけで判断しており、データ全体に適した表示方法ではなく、選択したデータが所望の内容であるかを確認することができない。
However, the conventional method does not generate and preview display data adapted to the data format of stored data.
For example, in the technique described in
また、前述した関連ページの先行処理だけでは、ページの全体表示をしているときのみ高速に切り替え可能であり、他の表示方法に切り替えた場合、高速にプレビュー表示することができない。 Further, only the preceding process of the related page described above can be switched at high speed only when the entire page is displayed, and preview display cannot be performed at high speed when switching to another display method.
このように従来のプレビューにおいては、記憶されたファイルを表示する際に、ファイルの属性に適応した表示制御が実行されておらず、ユーザが望むプレビュー結果が得られないという課題があった。 As described above, in the conventional preview, when displaying a stored file, display control adapted to the attribute of the file is not executed, and a preview result desired by the user cannot be obtained.
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、記憶されるデータのデータ形式に適応した表示データを生成してプレビューを行える仕組みを提供することである。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a mechanism capable of generating display data adapted to the data format of stored data and performing a preview.
本発明に係る画像形成装置は、以下の特徴的構成を備える。
画像形成装置であって、データ形式が異なるデータを記憶する記憶手段と、前記記憶手段に記憶された前記データに対するプレビュー要求を受け付ける受付手段と、前記受付手段が前記プレビュー要求を受け付けた場合、前記記憶手段に記憶された各データのデータ形式のフォーマットを判断する判断手段と、前記判断手段により判断されたフォーマットに適応する表示データを生成して前記記憶手段に保持させる生成手段と、前記生成手段により前記記憶手段に保持された前記表示データを表示手段にプレビューするプレビュー手段とを備えることを特徴とする。
An image forming apparatus according to the present invention has the following characteristic configuration.
In the image forming apparatus, a storage unit that stores data having different data formats, a reception unit that receives a preview request for the data stored in the storage unit, and the reception unit that receives the preview request, Determining means for determining the format of the data format of each data stored in the storage means; generating means for generating display data adapted to the format determined by the determining means and holding the display data in the storage means; and the generating means And a preview means for previewing the display data held in the storage means on the display means.
本発明によれば、記憶されるデータのデータ形式に適応した表示データを生成してプレビューを行える。 According to the present invention, display data adapted to the data format of stored data can be generated and previewed.
次に本発明を実施するための最良の形態について図面を参照して説明する。
〔第1実施形態〕
図1は、本実施形態を示す画像形成装置の構成を説明するブロック図である。本例は、ネットワークに接続可能で、各種のデータのフォーマット(pdf、doc、jpeg、xls、ppt等を含む)に従うデータを記憶する記憶装置を備える例である。ここで、記憶装置の例としてハードディスクの例を示すが、ハードディスクは、画像形成装置本体に備える構成としてもよいし、ネットワーク上のLANDISK上に記憶させる構成であってもよい。さらに、ハードディスク以外の不揮発性記憶装置であっても本発明を適用可能である。また、上記記憶装置を備えていないが、他の画像形成装置に備える記憶装置に記憶されたデータをプレビューするような画像形成装置においても本発明を適用可能である。また、画像形成装置がスキャナ等を備える場合においては、当該スキャナが読み取った画像データ、あるいは当該画像データをpdf変換したデータも記憶装置に記憶されるデータに含まれる。
Next, the best mode for carrying out the present invention will be described with reference to the drawings.
[First Embodiment]
FIG. 1 is a block diagram illustrating the configuration of the image forming apparatus according to the present exemplary embodiment. This example is an example including a storage device that can be connected to a network and stores data in accordance with various data formats (including pdf, doc, jpeg, xls, and ppt). Here, an example of a hard disk is shown as an example of the storage device, but the hard disk may be configured to be provided in the image forming apparatus main body or may be stored on a LANDISK on the network. Furthermore, the present invention can be applied to a nonvolatile storage device other than a hard disk. The present invention can also be applied to an image forming apparatus that does not include the storage device but previews data stored in a storage device included in another image forming apparatus. When the image forming apparatus includes a scanner or the like, image data read by the scanner or data obtained by pdf conversion of the image data is also included in the data stored in the storage device.
また、記憶装置に記憶されるデータは、ネットワークを介して情報処理装置のプリンタドライバやFAXドライバを介して受信したデータも含まれる。
なお、フォーマットは、上記に示した拡張子に留まらない。
さらに、以下の説明においては、マイクロソフト社製の、Word、Excel、Powerpoint、アドビ社製のPDF等のデータ形式(ファイル形式)を説明上使用するが、各説明において登録商標の表記を省略する。
The data stored in the storage device also includes data received via a printer driver or FAX driver of the information processing apparatus via the network.
The format is not limited to the extensions shown above.
Further, in the following description, data formats (file formats) such as Word, Excel, Powerpoint, Adobe PDF, etc., manufactured by Microsoft Corporation are used for description, but the description of registered trademarks is omitted in each description.
図1において、101は画像形成装置であり、201は中央演算処理装置(CPU)で、画像形成装置101全体の演算処理や制御を行う。202はネットワークI/Fで、外部機器と情報の入出力を行う。ネットワークI/F202は、外部機器からの依頼を受け、画像形成装置101に外部デバイスからアクセスできるようにする。
In FIG. 1,
213は外部記憶装置(HDD)で、ネットワークI/F202を介して画像形成装置101に入力されたドキュメントデータや後述する展開処理部211で作成されたビットマップを格納する。
102は表示パネルで、ユーザの操作や指示を受けるためのUI(User Interface)を表示したり、ドキュメントの画像を表示したりする。214はユーザI/Fで、表示パネルと入出力を行う。
A
203はRAMで、CPU201のワークメモリとして使用され、様々な情報を一時格納する。なお、本実施形態において、RAM203は、ワークメモリ205、フレームバッファ206、ラスタメモリ207からなる。
A
205はワークメモリで、解析部209、後述するDL生成部210などで一時的に使用する。206はフレームバッファで、DL生成部210で生成した中間コードなどを格納する。207はラスタメモリで、中間コードを展開したデータを格納する。
A work memory 205 is temporarily used by the analysis unit 209, a
208はROMで、画像形成装置101におけるCPU201の制御コードを格納する。なお、ROM208は、解析部209、DL(中間データ)生成部210、展開処理部211、プレビュー処理部215からなる。
A
209は解析部で、各ドキュメントデータのフォーマットを特定するとともに、ドキュメントデータを解析し、所定の処理に振り分ける。210はDL生成部で、解析部209において解析したデータから中間データを生成し、フレームバッファ206に格納する。
An analysis unit 209 identifies the format of each document data, analyzes the document data, and distributes the data to a predetermined process. A
211は展開処理部で、フレームバッファ206に格納された中間データを展開したビットマップをラスタメモリ207、または、HDD213に格納する。215はプレビュー処理部で、プレビューにおけるUI画面を生成したり、表示パネルからの指示を受けて、指示に従って所定の処理を行ったりする。
A
212はエンジンI/Fで、プリンタエンジン106との信号の入出力を行う。106はプリンタエンジンで、イメージデータに基づいて、周知の電子写真プロセスによって感光ドラム上に潜像を形成し、用紙に転写して定着し印字を行う。
An engine I /
図2は、図1に示した画像形成装置101のデータ処理フローを示すブロック図である。
図2において、111はレイアウト判定部で、プレビュー処理部215からの指示に従い、ドキュメントデータの情報からプレビュー画像の表示レイアウトを決定する。112はレイアウト変換部で、ドキュメントデータから、レイアウト判定部111で決定したレイアウトに変換する。レイアウト変換部112で変換されたデータはDL生成部210、展開処理部211によりビットマップに展開される。
FIG. 2 is a block diagram showing a data processing flow of the
In FIG. 2, reference numeral 111 denotes a layout determination unit that determines a display layout of a preview image from document data information in accordance with an instruction from the
図3は、図1に示した画像形成装置101が備えるHDD213に格納されるドキュメントデータに関するドキュメントフォーマットの一例を示す図である。
図3において、HDD213に格納されるドキュメントデータのフォーマットは、Windows(登録商標)で扱われるMicrosoft社の文書フォーマット(例えばWord(登録商標)に対応する)301の例を示す。さらに、表計算フォーマット(例えばExcel(登録商標)に対応する)302、プレゼンテーション用のフォーマット(例えばPowerPoint(登録商標)に対応する)303の例を示す。
FIG. 3 is a diagram showing an example of a document format related to document data stored in the
In FIG. 3, the format of document data stored in the
また、Adobe社の文書フォーマットPDF304、画像フォーマットであるTIFFなどがある。これらのフォーマット以外にも解析部209で解析可能なフォーマットについても対象となる。 In addition, there are a document format PDF 304 of Adobe, a TIFF which is an image format, and the like. In addition to these formats, formats that can be analyzed by the analysis unit 209 are also targeted.
これらのドキュメントデータは、PC等の外部機器から画像形成装置101のネットワークI/Fを介してHDD213に格納される。
また、不図示のスキャナ等の入力装置を持った画像形成装置においては、入力装置により入力された画像データをTIFFやPDFに変換し、HDD213に格納することも可能である。
These document data are stored in the
Further, in an image forming apparatus having an input device such as a scanner (not shown), image data input by the input device can be converted into TIFF or PDF and stored in the
さらに、HDD213に格納されたドキュメントデータに関する画像や情報は、表示パネル102を操作して、プレビューさせることができる。
図4は、図1に示した画像形成装置101の表示パネル102に表示するプレビューUIの一例を示す図である。本例は、サムネイルが表示された場合に表示形式を変更するためのボタンを表示する例である。
図4において、プレビューUIは、画像表示領域401、表示方法選択ボタン402、印刷方法選択ボタン403、印刷ボタン404からなる。
401は画像表示領域で、ユーザが指定した表示方法により、ドキュメントデータの画像を表示する。
402は表示方法選択ボタンで、ドキュメントデータの画像を画像表示領域に表示する際、画像の表示方法を選択する。403は印刷方法選択ボタンで、ドキュメントデータの印刷実行前に印刷方法を選択する。404は印刷ボタンで、選択されたドキュメントデータの印刷を実行する。
Furthermore, images and information related to document data stored in the
FIG. 4 is a view showing an example of a preview UI displayed on the
In FIG. 4, the preview UI includes an
An
A display
図5は、図1に示した画像形成装置101の表示パネル102に表示するプレビューUIの一例を示す図である。
本例は、表示方法選択ボタン402を押下したときに表示する表示方法選択UIの一例である。
図5において、表示方法選択UIは、サムネイルボタン502、全体表示ボタン503、拡大表示ボタン504、ページ表示ボタン505からなる。
502はサムネイルボタンで、複数のドキュメントデータの代表画像を縮小して画像表示領域401に表示する。
503は全体ボタンで、選択されたドキュメントデータの1ページの全体画像を画像表示領域401に表示する。
504は拡大ボタンで、選択されたドキュメントデータの一部を拡大して画像表示領域401に表示する。505はページボタンで、選択されたドキュメントデータに含まれる各ページのサムネイルを表示する。
FIG. 5 is a diagram showing an example of a preview UI displayed on the
This example is an example of a display method selection UI displayed when the display
In FIG. 5, the display method selection UI includes a
An
Reference numeral 504 denotes an enlarge button, which enlarges a part of the selected document data and displays it in the
図6は、図1に示した画像形成装置101の表示パネル102に表示するプレビューUIの一例を示す図である。
本例は、印刷方法選択ボタン403を押下したときに表示する印刷方法選択UIの一例である。
図6において、印刷方法選択UIは、1in1ボタン602、2in1ボタン603、4in1ボタン604、6in1ボタン605からなる。
1in1ボタン602は、1枚の用紙に1ページ、2in1ボタン603は、1枚の用紙に2ページ、4in1ボタン604は、1枚の用紙に4ページ、6in1ボタン605は、1枚の用紙に6ページをレイアウトして印刷することを指示するボタンである。
FIG. 6 is a diagram showing an example of a preview UI displayed on the
This example is an example of a printing method selection UI displayed when the printing
In FIG. 6, the printing method selection UI includes a 1 in 1
The 1 in 1
図7は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、プレビュー処理の全体フローに対応する。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。なお、本処理は、表示パネル102に表示されるメニュー画面から、HDD213に記憶されたデータをプレビューするボタンがユーザにより押下されたことをCPU201が受付けた場合に開始される。例えばHDD213に確保されるユーザのBOX領域に記憶されたデータを印刷するような指示がなされた場合を含むものとする。
FIG. 7 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example corresponds to the entire flow of preview processing. Each step is realized by the CPU 201 loading a control program into the
S1001で、CPU201はプレビュー処理部215を実行して、HDD213に記憶されているプレビュー対象となるドキュメントデータがあるかどうかを判断する。ここで、プレビュー対象となるドキュメントデータがあるとCPU201が判断した場合は、S1002へ進む。そして、S1002で、CPU201はプレビュー処理部215を実行して、ドキュメントデータに含まれるサムネイルを取り出し、ユーザI/F214を介して表示パネル102の画像表示領域401内に表示する。なお、サムネイルは、ドキュメントデータを記憶させる際に生成されてHDD213に記憶されているものとするが、プレビュー要求時に生成するものであってもよい。
In step S <b> 1001, the CPU 201 executes the
次いで、S1003で、CPU201はプレビュー処理部215を実行して、他のドキュメントデータがHDD213に格納されているかどうかを判断する。ここで、他のドキュメントデータがあるとCPU201が判断した場合は、S1004へ進む。
In step S <b> 1003, the CPU 201 executes the
そして、S1004で、CPU201はプレビュー処理部215を実行して、プレビュー対象となるドキュメントデータの数が画像表示領域401に表示できる表示最大数を超えているかどうかを判断する。ここで、画像表示領域401に表示できる表示最大数を超えていないとCPU201が判断した場合は、S1002〜S1004を繰り返す。
In step S <b> 1004, the CPU 201 executes the
そして、S1004で、画像表示領域401に表示できる表示最大数を超えているとCPU201が判断した場合は、S1005へ進む。本実施形態では、図8に示すようにドキュメント数を「12」としている。
If the CPU 201 determines in S1004 that the maximum number of displays that can be displayed in the
図8は、図4に示した画像表示領域401に表示されたサムネイル表示一覧を示す図である。本例では、画像表示領域401に表示できる表示最大数が「12」の場合を示す。また、本例は、S1002〜S1004で表示したサムネイル表示の一例である。
FIG. 8 is a diagram showing a thumbnail display list displayed in the
図8において、表示パネル102上の画像表示領域401内に、701はサムネイルで、例えばPowerPointデータ(A.ppt)のサムネイルを表示した状態に対応する。
In FIG. 8,
701はサムネイルで、例えばPDFデータ(B.pdf)のサムネイルを表示した状態に対応する。703はサムネイルで、例えばExcelデータ(C.xls)のサムネイルを表示した状態に対応する。704はサムネイルで、例えばTIFFデータ(D.tif)のサムネイルを表示した状態に対応する。
このようにしてサムネイルを表示した後、S1005で、CPU201は、レイアウト判定部111を実行して、ドキュメントデータのレイアウト判定処理を行う。
ここで、CPU201は、S1005のレイアウト判定処理により、ドキュメントデータに最適な表示方法を決定する。
次に、S1006で、CPU201は、S1005のレイアウト判定処理で決定したレイアウトに従って、レイアウト変換部112を実行して、レイアウト変換し、DL生成部210、展開処理部211を実行することで画像生成処理を行う。
After displaying thumbnails in this way, in step S1005, the CPU 201 executes the layout determination unit 111 to perform layout determination processing for document data.
Here, the CPU 201 determines the optimum display method for the document data by the layout determination processing in S1005.
In step S <b> 1006, the CPU 201 executes the layout conversion unit 112 according to the layout determined in the layout determination processing in step S <b> 1005, performs layout conversion, and executes the
次に、S1006で、CPU201は、後述する画像生成処理を実行することにより、プレビュー対象となるドキュメントデータに最適な表示を行うための画像データ(表示データ)を先行して生成する。 In step S <b> 1006, the CPU 201 executes image generation processing described later to generate image data (display data) for optimal display on document data to be previewed in advance.
そして、S1007で、CPU201は、S1005のレイアウト判定処理で決定した表示方法に対応するボタンを、ユーザI/F214を介して表示パネル102上の画像表示領域401内のサムネイル画像上、例えば右側よりに表示する。
In step S1007, the CPU 201 sets a button corresponding to the display method determined in the layout determination process in step S1005 on the thumbnail image in the
そして、S1008で、CPU201は、各ドキュメントデータのサムネイル画像上に表示されたボタンか、表示方法選択のための各ボタン502〜505が押下されたかを判断する。ここで、サムネイル画像上に表示されたボタンは、CPU201がHDD213に記憶された各データのフォーマットに適応する表示形式を示す、例えば図17に示す指標ボタンである。ここで、指標とは、ページ、全体、拡大が含まれる。
In step S1008, the CPU 201 determines whether a button displayed on the thumbnail image of each document data or each
ここで、いずれも押下されていないとCPU201が判断した場合は、CPU201は、サムネイル表示されている他のドキュメントデータについても、S1005のレイアウト判定処理、S1006の画像生成処理を行う。 If the CPU 201 determines that none of them is pressed, the CPU 201 performs the layout determination process in S1005 and the image generation process in S1006 for other document data displayed as thumbnails.
そして、S1009で、CPU201は、レイアウト判定処理、画像生成処理を行っていないドキュメントデータがないかどうかを判断する。ここで、レイアウト判定処理、画像生成処理を行っていないドキュメントデータがないとCPU201が判断した場合は、S1010へ進む。なお、イアウト判定処理、画像生成処理を行っていないドキュメントデータが残っているとCPU201が判断した場合は、S1005〜S1009を繰り返す。 In step S <b> 1009, the CPU 201 determines whether there is document data that has not undergone layout determination processing or image generation processing. If the CPU 201 determines that there is no document data that has not undergone layout determination processing or image generation processing, the process advances to step S1010. If the CPU 201 determines that there is document data that has not been subjected to the out determination process and the image generation process, steps S1005 to S1009 are repeated.
なお、画像形成装置にログオン機能を備え、ユーザが特定できる場合には、特定できたユーザが管理するデータに限定して上記処理を実行するように制御してもよい。
そして、S1010で、CPU201は、図4に示す画面に対してユーザが表示方法選択ボタン402を押下するのを待機する。ここで、ユーザが表示方法選択ボタン402を押下していないとCPU201が判断した場合は、さらに、S1011で、印刷ボタン404が押下されるのを待機する。ここで、印刷ボタン404が押下されたことをCPU201が確認したら、S1012へ進み、展開処理部211が展開した画像データをプリンタエンジン106に出力して印刷処理を行う。
If the image forming apparatus has a log-on function and a user can be specified, the image forming apparatus may be controlled to execute the above-described process only on data managed by the specified user.
In step S1010, the CPU 201 waits for the user to press the display
一方、S1007、S1009で表示方法が選択されたとCPU201が確認した場合は、S1020へ進む。
そして、S1020で、CPU201は、図4に示した画面においてユーザが押下したボタンがS1007で表示したボタンであるか否かをユーザI/F214を介して、プレビュー処理部215に伝える。
On the other hand, if the CPU 201 confirms that the display method has been selected in S1007 and S1009, the process proceeds to S1020.
In step S1020, the CPU 201 notifies the
ここで、押下されたボタンがS1007で表示したボタンであるとCPU201が判断した場合、S1021へ進む。そして、S1021で、CPU201はプレビュー処理部215を実行して、S1006の画像生成処理で生成した画像をユーザI/F214を介して表示パネル102の画像表示領域401に表示して、S1010へ戻る。
If the CPU 201 determines that the pressed button is the button displayed in S1007, the process proceeds to S1021. In step S1021, the CPU 201 executes the
一方、押下されたボタンがS1007で表示したボタンとは異なる他のボタンであるとCPU201が判断した場合は、S1030へ進む。
そして、S1030で、CPU201は押下されたボタンに従って、画像生成処理を行う。そして、S1031で、生成した画像データをユーザI/F214を介して表示パネル102の画像表示領域401に表示して、S1010へ戻る。
On the other hand, if the CPU 201 determines that the pressed button is another button different from the button displayed in S1007, the process proceeds to S1030.
In step S1030, the CPU 201 performs image generation processing according to the pressed button. In step S1031, the generated image data is displayed on the
図9は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図7に示したS1005のレイアウト判定処理の詳細手順に対応する。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
FIG. 9 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example corresponds to the detailed procedure of the layout determination process of S1005 shown in FIG. Each step is realized by the CPU 201 loading a control program into the
まず、S1101で、CPU201は、プレビュー対象となるドキュメントデータのフォーマットがPowerPointであるかどうかをドキュメントデータに付された拡張子等の情報からを判断する。ここで、CPU201がプレビュー対象となるドキュメントデータのフォーマットがPowerPointであると判断した場合は、S1102で、プレゼンレイアウト判定処理を行い、本処理を終了する。 First, in step S1101, the CPU 201 determines whether or not the format of document data to be previewed is PowerPoint from information such as an extension attached to the document data. If the CPU 201 determines that the format of the document data to be previewed is PowerPoint, a presentation layout determination process is performed in S1102, and the process ends.
一方、S1101で、CPU201がプレビュー対象となるドキュメントデータのフォーマットがPowerPointでないと判断した場合は、S1103へ進む。
そして、S1103で、CPU201は、プレビュー対象となるドキュメントデータのフォーマットがWordまたはPDFかを判定する。ここで、プレビュー対象となるドキュメントデータのフォーマットがWordまたはPDFであるとCPU201が判断した場合は、S1104で、文書レイアウト判定処理を行い、本処理を終了する。
On the other hand, if the CPU 201 determines in step S1101 that the format of the document data to be previewed is not PowerPoint, the process advances to step S1103.
In step S1103, the CPU 201 determines whether the format of document data to be previewed is Word or PDF. If the CPU 201 determines that the format of the document data to be previewed is Word or PDF, the document layout determination process is performed in S1104, and the process ends.
一方、S1103で、プレビュー対象となるドキュメントデータのフォーマットがWordまたはPDFでないとCPU201が判断した場合は、S1105へ進む。そして、S1105で、CPU201は、プレビュー対象となるドキュメントデータのフォーマットがExcelかを判断する。ここで、プレビュー対象となるドキュメントデータのフォーマットがExcelであるとCPU201が判断した場合、S1106へ進む。そして、S1106で、CPU201は、表レイアウト判定処理を行い、本処理を終了する。 On the other hand, if the CPU 201 determines in step S1103 that the format of the document data to be previewed is not Word or PDF, the process advances to step S1105. In step S1105, the CPU 201 determines whether the format of document data to be previewed is Excel. If the CPU 201 determines that the format of the document data to be previewed is Excel, the process advances to step S1106. In step S1106, the CPU 201 performs a table layout determination process, and the process ends.
一方、S1105で、プレビュー対象となるドキュメントデータのフォーマットがExcelでないとCPU201が判断した場合、すなわち、いずれのフォーマットでもないとCPU201が判断した場合は、S1109へ進む。そして、S1109で、CPU201は、通常レイアウト判定処理を行い、本処理を終了する。 On the other hand, if the CPU 201 determines in step S1105 that the format of the document data to be previewed is not Excel, that is, if the CPU 201 determines that the format is not any format, the process advances to step S1109. In step S1109, the CPU 201 performs a normal layout determination process, and the process ends.
図10は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図9に示したレイアウト判定部111によるS1102のプレゼンレイアウト判定処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
FIG. 10 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is a presentation layout determination process example of S1102 by the layout determination unit 111 illustrated in FIG. Each step is realized by the CPU 201 loading a control program into the
S1201で、CPU201は、プレビュー対象となるドキュメントデータのページ数が複数かを判定する。ここで、ページ数が複数であるとCPU201が判断した場合は、さらに、S1202で、CPU201は、5ページ以上かを判定する。ここで、ページ数が5ページ以上であるとCPU201が判断した場合は、S1203で、ページサムネイル数Pthに「6」を設定し、S1204で、CPU201は、表示方法を「ページサムネイル」と決定して、本処理を終了する。 In step S1201, the CPU 201 determines whether there are a plurality of pages of document data to be previewed. If the CPU 201 determines that there are a plurality of pages, the CPU 201 further determines in step S1202 whether there are five or more pages. If the CPU 201 determines that the number of pages is 5 or more, in step S1203, “6” is set as the page thumbnail number Pth. In step S1204, the CPU 201 determines the display method as “page thumbnail”. Then, this process ends.
一方、S1202で、ページ数が5ページ以上でないとCPU201が判断した場合は、S1210へ進む。そして、S1210で、CPU201は、CPU201は、ページサムネイル数Pthに「2」を設定し、S1211で、CPU201は、表示方法をページサムネイルと決定して、本処理を終了するする。 On the other hand, if the CPU 201 determines in S1202 that the number of pages is not five or more, the process advances to S1210. In step S1210, the CPU 201 sets “2” to the page thumbnail number Pth. In step S1211, the CPU 201 determines that the display method is a page thumbnail, and ends the process.
一方、S1201で、ページ数が1ページであるとCPU201が判断した場合は、S1220で、CPU201は、通常判定処理を行い、本処理を終了する。
図11は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図9に示したレイアウト判定部111によるS1105の文書レイアウト判定処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
On the other hand, if the CPU 201 determines that the number of pages is 1 in S1201, the CPU 201 performs a normal determination process in S1220 and ends this process.
FIG. 11 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is an example of document layout determination processing in S1105 by the layout determination unit 111 illustrated in FIG. Each step is realized by the CPU 201 loading a control program into the
S1301で、CPU201は、プレビュー対象となるドキュメントデータのページ数が複数かを判断する。ここで、CPU201がプレビュー対象となるドキュメントデータのページ数が複数であると判断した場合は、S1302へ進む。そして、S1302で、CPU201は、ページサムネイル数Pthに「2」を設定し、S1303で、CPU201は、表示方法をページサムネイルとして、本処理を終了する。 In step S1301, the CPU 201 determines whether there are a plurality of document data pages to be previewed. If the CPU 201 determines that there are a plurality of pages of document data to be previewed, the process advances to step S1302. In step S1302, the CPU 201 sets “2” to the page thumbnail number Pth. In step S1303, the CPU 201 sets the display method as the page thumbnail and ends the process.
一方、S1301で、プレビュー対象となるドキュメントデータのページ数が1ページであるとCPU201が判断した場合は、S1310で、CPU201は、通常判定処理を行い、本処理を終了する。 On the other hand, if the CPU 201 determines in step S1301 that the number of pages of document data to be previewed is one page, the CPU 201 performs a normal determination process in step S1310, and ends this process.
図12は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図9に示したレイアウト判定部111によるS1106の表レイアウト判定処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
FIG. 12 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is a table layout determination processing example of S1106 by the layout determination unit 111 shown in FIG. Each step is realized by the CPU 201 loading a control program into the
まず、S1401で、CPU201は、ドキュメントデータを解析し、セルの行の高さが16以下かどうかを判断するする。ここで、セルの行の高さが16以下であるとCPU201が判断した場合は、S1402で、CPU201は、表示方法を全体表示として、本処理を終了する。 In step S1401, the CPU 201 analyzes document data and determines whether the cell row height is 16 or less. If the CPU 201 determines that the cell row height is 16 or less, in step S1402, the CPU 201 sets the display method as the entire display and ends the present process.
一方、S1401で、セルの行の高さが16を超えるとCPU201が判断した場合は、S1403で、CPU201は、通常判定処理を行い、本処理を終了する。
図13は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図9に示したレイアウト判定部111によるS1109の通常レイアウト判定処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
On the other hand, if the CPU 201 determines that the cell row height exceeds 16 in S1401, the CPU 201 performs a normal determination process in S1403, and ends this process.
FIG. 13 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is a normal layout determination processing example of S1109 by the layout determination unit 111 shown in FIG. Each step is realized by the CPU 201 loading a control program into the
S1601で、CPU201は、プレビュー対象となるドキュメントデータを解析し、全体領域に対し描画するデータの領域が小さいかどうかを判断する。ここで、描画領域が小さいとCPU201が判断した場合、S1602で、CPU201は、描画領域の左上のX、Y座標と幅と高さをそれぞれXth、Yth、Widht、Heightに設定する。そして、S1603で、CPU201は表示方法を拡大表示として、本処理を終了する。 In step S1601, the CPU 201 analyzes document data to be previewed, and determines whether the area of data to be drawn is small relative to the entire area. If the CPU 201 determines that the drawing area is small, in step S1602, the CPU 201 sets the upper left X, Y coordinates, width, and height of the drawing area to Xth, Yth, Wide, and Height, respectively. In step S1603, the CPU 201 sets the display method as an enlarged display, and ends this process.
一方、S1601で、描画領域が大きいとCPU201が判断した場合、例えば全体的に描画されているとCPU201が判断した場合は、S1610で、CPU201は、色文字でかつ文字が小さいかを判断する。ここで、色文字でかつ文字が小さいとCPU201が判断した場合は、S1611で、CPU201は、色文字の領域の左上のX、Y座標と幅と高さをそれぞれXth、Yth、Widht、Heightに設定して、S1603へ進む。 On the other hand, if the CPU 201 determines that the drawing area is large in S1601, for example, if the CPU 201 determines that the drawing is entirely performed, in S1610, the CPU 201 determines whether the character is a color character and the character is small. If the CPU 201 determines that the color character is small and the character is small, in step S <b> 1611, the CPU 201 changes the upper left X, Y coordinate, width, and height of the color character area to Xth, Yth, Wide, and Height, respectively. Set and proceed to S1603.
そして、S1603で、CPU201は、表示方法を拡大表示として、本処理を終了する。
一方、S1610で、色文字で、かつ文字が小でないとCPU201が判断した場合、その他であると判断し、S1620で、CPU201は、表示方法の選択はなしとして、本処理を終了する。
In step S1603, the CPU 201 sets the display method as an enlarged display, and ends this process.
On the other hand, if the CPU 201 determines that it is a color character and the character is not small in S1610, it determines that it is other, and in S1620, the CPU 201 terminates the present process without selecting a display method.
図14は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図7に示したレイアウト判定部111によるS1006のページサムネイル表示の画像生成処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
FIG. 14 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is an example of image generation processing of page thumbnail display in S1006 by the layout determination unit 111 illustrated in FIG. Each step is realized by the CPU 201 loading a control program into the
まず、S1701で、CPU201は、RAM203に保持するページカウントPcntを「0」に初期化する。そして、S1702で、CPU201は解析部209を実行して、プレビュー対象となるドキュメントのデータの解析処理を行う。
First, in step S <b> 1701, the CPU 201 initializes a page count Pcnt held in the
次に、S1703で、CPU201は、プレビュー対象となるドキュメントを解析するジョブが終了しているかどうかを判断する。ここで、ジョブが終了していないとCPU201が判断した場合は、S1704で、CPU201は、プレビュー対象となるドキュメントのページが終了かどうかを判定する。ここで、ページが終了してないとCPU201が判断した場合、すなわちどちらでもないと判断した場合は、S1705で、CPU201がレイアウト変換部112を実行して、座標変換する。ここで、CPU201は、座標変換処理として、以下の式に従い行列変換で行う。 In step S <b> 1703, the CPU 201 determines whether the job for analyzing the document to be previewed has been completed. If the CPU 201 determines that the job has not ended, in step S1704, the CPU 201 determines whether the page of the document to be previewed has ended. If the CPU 201 determines that the page is not finished, that is, if it is determined that the page is neither, the CPU 201 executes the layout conversion unit 112 and performs coordinate conversion in step S1705. Here, the CPU 201 performs matrix conversion according to the following formula as coordinate conversion processing.
画像表示領域の幅ピクセルWdisp、高さピクセルHdisp、ドキュメントデータの幅ピクセルWdoc、高さピクセルHdocとする場合において、
Hnum=Ceil(Pth/2)、Vnum=Pth/Hnum
M=(Wdisp/Hnum―Wdisp/10)/Wdoc
X'=X*M+Wdisp/Hnum*Pcnt+Wdisp/20
Y'=Y*M+Hdisp/Vnum*Floor(Pcnt/Hnum)+Hdisp/15
そして、S1706で、CPU201がDL生成部210を実行して解析したデータに対応するDL生成を行い、フレームバッファ206に格納(保持)して、S1702へ戻る。
In the case where the width pixel Wdisp of the image display area, the height pixel Hdisp, the width pixel Wdoc of the document data, and the height pixel Hdoc,
Hnum = Ceil (Pth / 2), Vnum = Pth / Hnum
M = (Wdisp / Hnum−Wdisp / 10) / Wdoc
X ′ = X * M + Wdisp / Hnum * Pcnt + Wdisp / 20
Y ′ = Y * M + Hdisp / Vnum * Floor (Pcnt / Hnum) + Hdisp / 15
In step S1706, the CPU 201 executes the
そして、S1704でページの終了またはS1703でジョブの終了とCPU201が判断するまで、S1702〜S1705を繰り返す。
一方、S1704で、プレビュー対象のデータのページが終了したとCPU201が判断した場合は、S1711で、CPU201は、RAM203に保持されるページカウントPcntをインクリメントする。そして、S1712で、CPU201は、ページカウントPcntとページサムネイル数Pthが一致しているかどうかを比較することにより判断する。
Then, S1702 to S1705 are repeated until the CPU 201 determines that the page is ended in S1704 or the job is ended in S1703.
On the other hand, if the CPU 201 determines in S1704 that the page of data to be previewed has ended, the CPU 201 increments the page count Pcnt held in the
ここで、CPU201はページカウントPcntとページサムネイル数Pthが同じになるかジョブが終了していると判断するまで、S1702からS1712までの処理を繰り返す。 Here, the CPU 201 repeats the processing from S1702 to S1712 until it is determined that the page count Pcnt and the page thumbnail number Pth are the same or the job is finished.
そして、S1702で、ページカウントPcntとページサムネイル数Pthが同じになるかジョブが終了したとCPU201が判断した場合、S1713へ進む。
そして、S1713で、CPU201が展開処理部211を実行してレンダリングを行い、ラスタメモリ207にビットマップを格納(保持)する。
そして、S1714で、CPU201は、ラスタメモリ207に格納されたビットマップをHDD213に格納(保持)して、本処理を終了する。
図15は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図7に示したレイアウト判定部111によるS1006のページサムネイル拡大表示の画像生成処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
If the CPU 201 determines in step S1702 that the page count Pcnt and the page thumbnail number Pth are the same or the job has ended, the process advances to step S1713.
In step S <b> 1713, the CPU 201 executes the
In step S <b> 1714, the CPU 201 stores (holds) the bitmap stored in the
FIG. 15 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is an example of image generation processing of the page thumbnail enlarged display in S1006 by the layout determination unit 111 illustrated in FIG. Each step is realized by the CPU 201 loading a control program into the
S1801で、CPU201が解析部209を実行して、プレビュー対象のドキュメントのデータの解析処理を行う。そして、S1802で、CPU201は、ページが終了しているかどうかを判断する。ここで、ページが終了していないとCPU201が判断した場合は、S1803で、CPU201は、左上の座標(Xth、Yth)、右下の座標(Xth+Widht−1、Yth+Height−1)の矩形領域内かを判断する。 In step S <b> 1801, the CPU 201 executes the analysis unit 209 to perform analysis processing on document data to be previewed. In step S1802, the CPU 201 determines whether the page is finished. If the CPU 201 determines that the page has not ended, in step S1803, the CPU 201 determines whether the upper left coordinates (Xth, Yth) and the lower right coordinates (Xth + Widht-1, Yth + Height-1) are within the rectangular area. Judging.
ここで、判定した結果矩形領域内であるとCPU201が判断した場合、S1804で、CPU201はレイアウト変換部112を実行して、以下の式に従う座標変換処理を実行する。本実施形態においては、座標変換は、以下の行列変換で行う。 If the CPU 201 determines that the result of the determination is within the rectangular area, in step S1804, the CPU 201 executes the layout conversion unit 112 and executes coordinate conversion processing according to the following expression. In the present embodiment, the coordinate transformation is performed by the following matrix transformation.
画像表示領域の幅ピクセルWdisp、高さピクセルHdispとする場合において、
M=(Wdisp―Wdisp/10)/Width
X'=X*M+Wdisp/20
Y'=Y*M+Hdisp/15
そして、S1805で、CPU201がDL生成部210を実行して、プレビュー対象のデータに対するDL生成を行い、フレームバッファ206に格納して、ページが終了しているとCPU201が判断するまで、S1801〜S1805を繰り返す。
In the case of the width pixel Wdisp and the height pixel Hdisp of the image display area,
M = (Wdisp−Wdisp / 10) / Width
X ′ = X * M + Wdisp / 20
Y ′ = Y * M + Hdisp / 15
In step S <b> 1805, the CPU 201 executes the
そして、S1802で、ページが終了しているとCPU201が判断した場合、S1810で、CPU201は展開処理部211を実行して、保持されるDLに対してレンダリングを行い、ラスタメモリ207にビットマップを格納する。
If the CPU 201 determines in step S1802 that the page is complete, in step S1810, the CPU 201 executes the
そして、S1811で、CPU201は、ラスタメモリ207に格納されたビットマップをHDD213に格納(保持)して、本処理を終了する。
図16は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、図7に示したレイアウト判定部111によるS1006のページサムネイル全体表示の画像生成処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
In step S1811, the CPU 201 stores (holds) the bitmap stored in the
FIG. 16 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is an example of image generation processing for displaying the entire page thumbnail in S1006 by the layout determination unit 111 illustrated in FIG. Each step is realized by the CPU 201 loading a control program into the
まず、S1901で、CPU201は解析部209を実行して、プレビュー対象のドキュメントのデータの解析処理を行う。そして、S1902で、CPU201は、ページが終了したか否かを判断する。ここで、ページが終了しているとCPU201が判断した場合は、S1903で、CPU201がレイアウト変換部112を実行して以下の式に従う座標変換処理を行う。本実施形態では、座標変換を以下の式に従い行列変換で行う。 First, in step S1901, the CPU 201 executes the analysis unit 209 to perform analysis processing of document data to be previewed. In step S1902, the CPU 201 determines whether the page is finished. If the CPU 201 determines that the page is complete, in step S1903, the CPU 201 executes the layout conversion unit 112 to perform coordinate conversion processing according to the following expression. In the present embodiment, coordinate transformation is performed by matrix transformation according to the following equation.
画像表示領域の幅ピクセルWdisp、高さピクセルHdispとする場合において、
ドキュメントデータの幅ピクセルWdoc、高さピクセルHdoc
M=(Wdisp−Wdisp/10)/Wdoc
X'=X*M+Wdisp/20
Y'=Y*M+Hdisp/15
次に、S1904で、CPU201がDL生成部210を実行して、ページサムネイル全体表示するため、プレビュー対象のデータのDL生成を行い、フレームバッファ206に格納する。そして、S1902で、ページが終了しているとCPU201が判断するまで、S1901〜S1904を繰り返す。
In the case of the width pixel Wdisp and the height pixel Hdisp of the image display area,
Document data width pixel Wdoc, height pixel Hdoc
M = (Wdisp-Wdisp / 10) / Wdoc
X ′ = X * M + Wdisp / 20
Y ′ = Y * M + Hdisp / 15
Next, in step S1904, the CPU 201 executes the
そして、S1902で、ページが終了しているとCPU201が判断した場合、S1910へ進む。そして、S1910で、CPU201が展開処理部211を実行して、DLに対してレンダリングを行い、ラスタメモリ207にビットマップを格納する。そして、S1911で、CPU201はラスタメモリ207に格納されたビットマップをHDD213に格納(保持)して、本処理を終了する。
If the CPU 201 determines in step S1902 that the page is complete, the process advances to step S1910. In step S <b> 1910, the CPU 201 executes the
図17は、図4に示した表示パネル102に表示するプレビューUIの一例を示す図である。本例は、CPU201がS1007で以下に示す表示方法ボタンを表示したときのプレビューUI上に表示した例である。
FIG. 17 is a diagram showing an example of a preview UI displayed on the
図17に示すサムネイル一覧において、PowerPointデータのA.pptのサムネイル701上には、S1102のプレゼンレイアウト判定処理により、表示方法ボタンとしてページサムネイルボタン801が表示される。
In the thumbnail list shown in FIG. On the
同様に、PDFデータのB.pdfのサムネイル702上には、S1104の文書レイアウト判定処理により、表示方法ボタンとしてページサムネイルボタン802が表示される。
Similarly, the B. On the
同様に、ExcelデータのC.xlsのサムネイル703上には、S1106の表レイアウト判定処理により、表示方法ボタンとして全体表示ボタン803が表示される。
同様に、TIFFデータのD.tifのサムネイル704上には、S1109の通常判定処理により、表示方法ボタンとして拡大表示ボタン804が表示される。
図18は、本実施形態を示す画像形成装置で生成される画像の一例を示す図である。本例は、CPU201がS1006の画像生成処理で生成した画像の一例である。
図18に示すように、CPU201は、PowerPointデータのA.pptに対しては、6ページのページサムネイル画像901を生成する。同様に、CPU201は、PDFデータのB.pdfに対しては、2ページのページサムネイル画像902を生成する。
Similarly, the C.I. An overall display button 803 is displayed as a display method button on the xls thumbnail 703 by the table layout determination processing in S1106.
Similarly, D. of TIFF data. On the
FIG. 18 is a diagram illustrating an example of an image generated by the image forming apparatus according to the present embodiment. This example is an example of an image generated by the CPU 201 in the image generation process of S1006.
As shown in FIG. 18, the CPU 201 executes A. For ppt, a
同様に、CPU201は、ExcelデータのC.xlsに対しては、全体画像903を生成する。同様に、CPU201は、TIFFデータのD.tifに対しては、拡大画像904を生成する。 Similarly, the CPU 201 determines the C.I. For xls, an entire image 903 is generated. Similarly, the CPU 201 determines the D.D. For the tif, an enlarged image 904 is generated.
図19は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、S1012の印刷処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
FIG. 19 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is a print processing example of S1012. Each step is realized by the CPU 201 loading a control program into the
S2001で、CPU201は、RAM203に保持されるページカウントPcntを「0」に初期化する。そして、S2002で、CPU201が解析部209を実行して、プレビュー対象のドキュメントデータの解析処理を行う。そして、S2003で、CPU201は解析するジョブが終了しているかどうかを判断する。ここで、解析するジョブが終了しているとCPU201が判断した場合は、本処理を終了する。
In step S2001, the CPU 201 initializes the page count Pcnt held in the
一方、S2003で、解析するジョブが終了していないとCPU201が判断した場合は、S2004で、CPU201は解析するジョブのページが終了しているかどうかを判断する。ここで、ページが終了していないとCPU201が判断した場合、すなわちどちらでもないと判断した場合は、S2005へ進む。 On the other hand, if the CPU 201 determines in S2003 that the job to be analyzed has not ended, the CPU 201 determines in S2004 whether or not the page of the job to be analyzed has ended. If the CPU 201 determines that the page is not finished, that is, if it is determined that the page is neither, the process proceeds to S2005.
そして、S2005で、CPU201はレイアウト変換部112を実行して、プレビュー態様のドキュメントデータの座標変換を行う。本実施形態において、座標変換は、以下の式に従い行列変換で行う。 In step S2005, the CPU 201 executes the layout conversion unit 112 to perform coordinate conversion of the document data in the preview mode. In the present embodiment, the coordinate transformation is performed by matrix transformation according to the following equation.
印刷用紙の幅ピクセルWp、印刷用紙の高さピクセルHpとする場合において、
ドキュメントデータの幅ピクセルWdoc、高さピクセルHdoc
Hnum=Ceil(Pth/2)、Vnum=Pth/Hnum
M=(Wp/Hnum―Wp/10)/Wdoc
X'=X*M+Wp/Hnum*Pcnt+Wp/20
Y'=Y*M+Hp/Vnum*Floor(Pcnt/Hnum)+Hp/15
次に、S2006で、CPU201はDL生成部210を実行して、ドキュメントデータに対するDL生成を行い、フレームバッファ206に格納(保持)する。そして、S2004でページが終了またはS2003でジョブが終了とCPU201が判断するまで、S2002〜S2006を繰り返す。
In the case of the width pixel Wp of the printing paper and the height pixel Hp of the printing paper,
Document data width pixel Wdoc, height pixel Hdoc
Hnum = Ceil (Pth / 2), Vnum = Pth / Hnum
M = (Wp / Hnum−Wp / 10) / Wdoc
X ′ = X * M + Wp / Hnum * Pcnt + Wp / 20
Y ′ = Y * M + Hp / Vnum * Floor (Pcnt / Hnum) + Hp / 15
In step S <b> 2006, the CPU 201 executes the
そして、S2004で、ページが終了しているとCPU201が判断した場合は、S2011で、CPU201は、RAM203上に保持されるページカウントPcntをインクリメントし、S2012へ進む。そして、S2012で、CPU201は、ページカウントPcntとページサムネイル数Pthとが一致するかどうかを比較して判断する。ここで、ページカウントPcntとページサムネイル数Pthが同じになるかジョブが終了しているとCPU201が判断するまで、S2002〜S2012まで繰り返す。
If the CPU 201 determines in step S2004 that the page is complete, in step S2011, the CPU 201 increments the page count Pcnt held in the
一方、S2012で、ページカウントPcntとページサムネイル数Pthが同じであるとCPU201が判断した場合は、S2013へ進む。そして、S2013で、CPU201は展開処理部211を実行して生成されたDLに対してレンダリングを行い、ラスタメモリ207にビットマップを格納(保持)する。
On the other hand, if the CPU 201 determines in step S2012 that the page count Pcnt and the page thumbnail number Pth are the same, the process advances to step S2013. In step S2013, the CPU 201 executes rendering on the DL generated by executing the
次に、S2014で、CPU201は、ラスタメモリ207に格納されたビットマップをエンジンI/F212を介して、プリンタエンジン106に出力し、印刷を行う。そして、S2015で、CPU201は、RAM203上に保持されるページカウントPcntを「0」に初期化して、本処理を終了する。
Next, in step S2014, the CPU 201 outputs the bitmap stored in the
本実施形態により、CPU201は、S1005のレイアウト判定処理により、ドキュメントデータに最適な表示方法を自動で判断することができる。さらに、先行して画像生成を行い、先行処理した表示方法のボタンをサムネイル上に表示することで、ユーザが所望するプレビュー表示を瞬時に行うことが可能となる。 According to the present embodiment, the CPU 201 can automatically determine the optimal display method for the document data by the layout determination processing in S1005. Furthermore, by performing image generation in advance and displaying the button of the display method that has been processed in advance on the thumbnail, it is possible to instantaneously perform a preview display desired by the user.
〔第2実施形態〕
第1実施形態では、プレビュー画像の画像生成を先行して行っているが、本実施形態においては、プレビュー画像に加え、印刷用のプレビュー画像を先行して処理する。また、本実施形態においては、ユーザの印刷制限に応じて、先行して生成する印刷用のプレビュー画像を切り替える。
[Second Embodiment]
In the first embodiment, the preview image is generated in advance, but in this embodiment, the print preview image is processed in advance in addition to the preview image. In the present embodiment, a preview image for printing that is generated in advance is switched in accordance with a user's printing restriction.
図20は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、レイアウト判定部111でのS1102のプレゼンレイアウト判定処理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
FIG. 20 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is a presentation layout determination processing example of S1102 in the layout determination unit 111. Each step is realized by the CPU 201 loading a control program into the
まず、S2201で、CPU201は、プレビュー対象となるドキュメントデータのページ数が複数かを判断する。ここで、ページ数が複数であるとCPU201が判断した場合は、さらに、S2202で、CPU201は、ページ数が5ページ以上かどうかを判断する。 First, in step S2201, the CPU 201 determines whether the number of pages of document data to be previewed is plural. If the CPU 201 determines that the number of pages is plural, in step S2202, the CPU 201 determines whether the number of pages is five or more.
ここで、ページ数が5ページ以上であるとCPU201が判断した場合は、S2203で、CPU201は、RAM203上に保持されるページサムネイル数Pthに「6」を設定する。そして、S2204で、CPU201は、表示方法をページサムネイルと決定してページサムネイルのプレビューを行い、さらに、S2205で、CPU201は、印刷プレビュー表示を行う。
If the CPU 201 determines that the number of pages is 5 or more, the CPU 201 sets “6” to the page thumbnail number Pth held on the
一方、S2202で、ページ数が5ページ以上でないとCPU201が判断した場合は、S2210で、CPU201は、RAM203上に保持されるページサムネイル数Pthに「2」を設定する。そして、S2211で、CPU201は、表示方法をページサムネイルと決定してプレビューを行い、本処理を終了する。
On the other hand, if the CPU 201 determines that the number of pages is not five or more in S2202, the CPU 201 sets “2” to the number of page thumbnails Pth held in the
一方、S2201で、ページ数が1ページであるとCPU201が判断した場合は、S2220で、CPU201は、通常判定処理を行い、本処理を終了する。
図21は、本実施形態を示す画像形成装置の制御手順を示すフローチャートである。本例は、S1006の印刷用プレビュー画像生成処理理例である。なお、各ステップは、CPU201がRAM203に制御プログラムをロードして実行することで実現される。
On the other hand, if the CPU 201 determines that the number of pages is 1 in S2201, the CPU 201 performs a normal determination process in S2220 and ends this process.
FIG. 21 is a flowchart illustrating a control procedure of the image forming apparatus according to the present exemplary embodiment. This example is an example of a printing preview image generation process in S1006. Each step is realized by the CPU 201 loading a control program into the
まず、S2101で、CPU201は、RAM203上に保持するページカウントPcntを「0」に初期化する。そして、S2102で、CPU201が解析部209を実行して、プレビュー対象のドキュメントのデータの解析処理を行う。そして、S2103で、CPU201はジョブが終了しているかどうかを判断する。ここで、ジョブが終了していると判断した場合は、S2111へ進み、ジョブが終了していないと判断した場合は、S2104で、解析すべきページが終了しているかどうかを判断する。ここで、ページが終了していないとCPU201が判断した場合、すなわち、どちらでもないと判断した場合は、S2105で、CPU201はレイアウト変換部112を実行して座標変換する。
First, in step S <b> 2101, the CPU 201 initializes a page count Pcnt held on the
次に、S2106で、CPU201は、モノクロ印刷制限があるかを判定する。ここで、モノクロ印刷制限があるとCPU201が判断した場合は、S2107で、CPU201はモノクロ変換を行う。 Next, in step S2106, the CPU 201 determines whether there is a monochrome printing restriction. If the CPU 201 determines that there is a monochrome printing restriction, the CPU 201 performs monochrome conversion in step S2107.
そして、S2108で、CPU201はDL生成部210を実行してDL生成を行い、フレームバッファ206に格納する。
そして、S2104でページが終了またはS2103でジョブが終了しているとCPU201が判断するまで、S2102〜S2109を繰り返す。
一方、S2104でページが終了しているとCPU201が判断した場合、S2109で、CPU201がRAM203上に保持されるページカウントPcntをインクリメントし、S2110へ進む。そして、S2110で、CPU201は、ページカウントPcntとページサムネイル数Pthが一致するかを比較して判断する。
In step S <b> 2108, the CPU 201 executes the
Then, S2102 to S2109 are repeated until the CPU 201 determines that the page is finished in S2104 or the job is finished in S2103.
On the other hand, if the CPU 201 determines that the page has ended in S2104, the CPU 201 increments the page count Pcnt held in the
ここで、ページカウントPcntとページサムネイル数Pthが同じでないと判断した場合、あるいはS2103でジョブが終了していないとCPU201が判断した場合は、S2102からS2110までを繰り返す。 Here, if it is determined that the page count Pcnt and the page thumbnail number Pth are not the same, or if the CPU 201 determines that the job has not ended in S2103, S2102 to S2110 are repeated.
一方、ページカウントPcntとページサムネイル数Pthが同じになるか、S2103でジョブ終了になったとCPU201が判断した場合は、S2111へ進む。
そして、S2111で、CPU201は展開処理部211を実行して、DLに対してレンダリングを行い、ラスタメモリ207にビットマップを格納する。そして、S2112で、CPU201はラスタメモリ207に格納されたビットマップをHDD213に格納して、本処理を終了する。
On the other hand, if the CPU 201 determines that the page count Pcnt and the page thumbnail number Pth are the same, or the job is ended in S2103, the process proceeds to S2111.
In step S <b> 2111, the CPU 201 executes the
図22は、図1に示した表示パネル102に表示される印刷用プレビューの一例を示す図である。
図22において、PowerPointデータのA.pptのサムネイル701に対し、モノクロ印刷制限がある場合は、CPU201は、モノクロのプレビュー画像1001を生成する。
FIG. 22 is a diagram showing an example of a print preview displayed on the
In FIG. 22, A. of PowerPoint data. If there is a monochrome printing restriction on the
一方、モノクロ印刷制限がない場合は、CPU201はカラーのプレビュー画像1001を生成する。
本実施形態においては、モノクロ制限のみに言及したが、他の印刷制限に応じて生成する画像を切り替えても良い。
1003、1004は、印刷レイアウトの制限によって生成する画像を切り替えるときの一例である。
本実施形態により、図7に示したS1005のレイアウト判定処理により、ドキュメントデータに最適な印刷用プレビュー画像を先行して生成し、ユーザが所望するプレビュー表示を瞬時に行うことが可能となる。また、印刷制限を反映した印刷用プレビューを表示することもできる。
On the other hand, when there is no monochrome printing restriction, the CPU 201 generates a
In the present embodiment, only the monochrome restriction is mentioned, but an image to be generated may be switched according to another printing restriction.
According to the present embodiment, it is possible to generate a print preview image optimal for document data in advance by the layout determination process of S1005 shown in FIG. 7, and to perform a preview display desired by the user instantaneously. It is also possible to display a print preview reflecting print restrictions.
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.
なお、本実施形態において説明した各図のフローチャートに示すいずれかのステップを適宜組み合わせて制御手順とする実施形態も、本発明の趣旨に含まれる。
本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。
An embodiment in which any of the steps shown in the flowcharts of the respective drawings described in the present embodiment is appropriately combined to form a control procedure is also included in the spirit of the present invention.
The present invention is not limited to the above embodiment, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not.
本発明の様々な例と実施形態を示して説明したが、当業者であれば、本発明の趣旨と範囲は、本明細書内の特定の説明に限定されるのではない。 Although various examples and embodiments of the present invention have been shown and described, those skilled in the art will not limit the spirit and scope of the present invention to the specific description in the present specification.
205 コントローラ部(制御部)
207 ROM
208 RAM
209 HDD
205 Controller part (control part)
207 ROM
208 RAM
209 HDD
Claims (6)
データ形式が異なるデータを記憶する記憶手段と、
前記記憶手段に記憶された前記データに対するプレビュー要求を受け付ける受付手段と、
前記受付手段が前記プレビュー要求を受け付けた場合、前記記憶手段に記憶された各データのデータ形式のフォーマットを判断する判断手段と、
前記判断手段により判断されたフォーマットに適応する表示データを生成して前記記憶手段に保持させる生成手段と、
前記生成手段により前記記憶手段に保持された前記表示データを表示手段にプレビューするプレビュー手段と、
を備えることを特徴とする画像形成装置。 An image forming apparatus,
Storage means for storing data having different data formats;
Receiving means for receiving a preview request for the data stored in the storage means;
A determination unit that determines a format of a data format of each data stored in the storage unit when the reception unit receives the preview request;
Generating means for generating display data adapted to the format determined by the determining means and holding the generated display data in the storage means;
Preview means for previewing the display data held in the storage means by the generating means on the display means;
An image forming apparatus comprising:
前記記憶手段に記憶された前記データに対するプレビュー要求を受け付ける受付工程と、
前記受付工程が前記プレビュー要求を受け付けた場合、前記記憶手段に記憶された各データのデータ形式のフォーマットを判断する判断工程と、
前記判断工程により判断されたフォーマットに適応する表示データを生成して前記記憶手段に保持させる生成工程と、
前記生成工程により前記記憶手段に保持された前記表示データを表示手段にプレビューするプレビュー工程と、
を備えることを特徴とする画像形成装置の制御方法。 A method for controlling an image forming apparatus including storage means for storing data having different data formats,
Receiving a preview request for the data stored in the storage unit;
A determination step of determining a format of a data format of each data stored in the storage means when the reception step receives the preview request;
A generation step of generating display data adapted to the format determined in the determination step and holding the display data in the storage unit;
A preview step of previewing the display data held in the storage means by the generation step on a display means;
An image forming apparatus control method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010200957A JP2012060368A (en) | 2010-09-08 | 2010-09-08 | Image formation apparatus, image formation apparatus control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010200957A JP2012060368A (en) | 2010-09-08 | 2010-09-08 | Image formation apparatus, image formation apparatus control method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012060368A true JP2012060368A (en) | 2012-03-22 |
Family
ID=46056940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010200957A Pending JP2012060368A (en) | 2010-09-08 | 2010-09-08 | Image formation apparatus, image formation apparatus control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012060368A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014128965A (en) * | 2012-11-27 | 2014-07-10 | Canon Marketing Japan Inc | Image formation device, method for controlling the same, and program |
JP2019008569A (en) * | 2017-06-26 | 2019-01-17 | コニカミノルタ株式会社 | Print control device, print control program, and print control method |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314954A (en) * | 1995-05-16 | 1996-11-29 | Canon Inc | Method and device for processing information |
JPH09218809A (en) * | 1996-02-08 | 1997-08-19 | Hitachi Inf Syst Ltd | File information confirmation device and method therefor |
JP2001134560A (en) * | 1999-11-02 | 2001-05-18 | Canon Inc | Method and device for print control |
JP2002304314A (en) * | 2001-04-06 | 2002-10-18 | Nec Corp | Application data file reference system |
JP2003054066A (en) * | 2001-05-22 | 2003-02-26 | Matsushita Electric Ind Co Ltd | Printer and method of estimating printing preview information |
JP2006092417A (en) * | 2004-09-27 | 2006-04-06 | Canon Inc | Browsing image output method, apparatus, program, and readable memory |
JP2006088470A (en) * | 2004-09-22 | 2006-04-06 | Fuji Xerox Co Ltd | Printer and its control method |
JP2006107439A (en) * | 2004-09-30 | 2006-04-20 | Microsoft Corp | Method, system, and device for providing document preview |
JP2007267362A (en) * | 2006-03-02 | 2007-10-11 | Ricoh Co Ltd | Printing device, printing method and program for printing |
JP2007265320A (en) * | 2006-03-30 | 2007-10-11 | Bunkeidou:Kk | Preview display system and preview display program |
JP2010062710A (en) * | 2008-09-02 | 2010-03-18 | Sharp Corp | Image processor and image processing method |
JP2010171597A (en) * | 2009-01-21 | 2010-08-05 | Canon Inc | Image processing apparatus |
-
2010
- 2010-09-08 JP JP2010200957A patent/JP2012060368A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314954A (en) * | 1995-05-16 | 1996-11-29 | Canon Inc | Method and device for processing information |
JPH09218809A (en) * | 1996-02-08 | 1997-08-19 | Hitachi Inf Syst Ltd | File information confirmation device and method therefor |
JP2001134560A (en) * | 1999-11-02 | 2001-05-18 | Canon Inc | Method and device for print control |
JP2002304314A (en) * | 2001-04-06 | 2002-10-18 | Nec Corp | Application data file reference system |
JP2003054066A (en) * | 2001-05-22 | 2003-02-26 | Matsushita Electric Ind Co Ltd | Printer and method of estimating printing preview information |
JP2006088470A (en) * | 2004-09-22 | 2006-04-06 | Fuji Xerox Co Ltd | Printer and its control method |
JP2006092417A (en) * | 2004-09-27 | 2006-04-06 | Canon Inc | Browsing image output method, apparatus, program, and readable memory |
JP2006107439A (en) * | 2004-09-30 | 2006-04-20 | Microsoft Corp | Method, system, and device for providing document preview |
JP2007267362A (en) * | 2006-03-02 | 2007-10-11 | Ricoh Co Ltd | Printing device, printing method and program for printing |
JP2007265320A (en) * | 2006-03-30 | 2007-10-11 | Bunkeidou:Kk | Preview display system and preview display program |
JP2010062710A (en) * | 2008-09-02 | 2010-03-18 | Sharp Corp | Image processor and image processing method |
JP2010171597A (en) * | 2009-01-21 | 2010-08-05 | Canon Inc | Image processing apparatus |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014128965A (en) * | 2012-11-27 | 2014-07-10 | Canon Marketing Japan Inc | Image formation device, method for controlling the same, and program |
JP2017109498A (en) * | 2012-11-27 | 2017-06-22 | キヤノンマーケティングジャパン株式会社 | Image forming device, method for controlling the same, and program |
JP2018099895A (en) * | 2012-11-27 | 2018-06-28 | キヤノンマーケティングジャパン株式会社 | Image forming device, method for controlling the same, and program |
JP2019008569A (en) * | 2017-06-26 | 2019-01-17 | コニカミノルタ株式会社 | Print control device, print control program, and print control method |
JP7009793B2 (en) | 2017-06-26 | 2022-01-26 | コニカミノルタ株式会社 | Print control device, print control program and print control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4194476B2 (en) | Document processing apparatus and document processing method | |
KR101383326B1 (en) | Method for viewing thumbnail, and image forming apparatus | |
JP3799346B2 (en) | Document processing method and apparatus | |
JP5614749B2 (en) | Thumbnail generation method and image forming apparatus | |
JP4959435B2 (en) | Image processing apparatus, image forming apparatus, output format setting method, and output format setting program | |
JP4902413B2 (en) | Print data processing apparatus, print data processing method and program | |
US20080201378A1 (en) | Image processor, preview image display method, and computer program product | |
JP7171218B2 (en) | PRINT CONTROL DEVICE, CONTROL METHOD AND PROGRAM | |
WO2011048771A1 (en) | Image processing apparatus, image processing method, and program | |
JP4095512B2 (en) | Document conversion method and apparatus | |
US10114527B2 (en) | Display control device, display device, printing apparatus, display control method and non-transitory computer readable medium storing program for displaying process of duplex print processing | |
JP2008203439A (en) | Image processor, preview image display method, and preview image display program | |
JP2015150707A (en) | Information processor, information processing method and program | |
US20110286034A1 (en) | Information processing apparatus and non-transitory computer-readable recording medium | |
EP2595050A2 (en) | Printing apparatus, method of changing layout, and storage medium | |
JP2012060368A (en) | Image formation apparatus, image formation apparatus control method, and program | |
JP6270455B2 (en) | Image forming apparatus, image forming apparatus control method, and program | |
JP5135362B2 (en) | Image forming apparatus and image processing program | |
US8484558B2 (en) | Document generation method and document generation apparatus | |
US20130021645A1 (en) | Image forming apparatus, printing control terminal apparatus, printing control method thereof | |
JP5264553B2 (en) | Image processing apparatus, control method therefor, and program | |
JP3903036B2 (en) | Document creation method and document creation apparatus | |
JP6727273B2 (en) | Image forming apparatus, control method thereof, and program | |
CN102804748B (en) | Image processing system, image processing method, and image forming apparatus and external apparatus constituting image processing system | |
JP4861254B2 (en) | Image forming apparatus and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130909 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140723 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140805 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141006 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141111 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150108 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20150210 |