JP2017175367A - Information processing apparatus for performing data conversion, data conversion processing method and program - Google Patents
Information processing apparatus for performing data conversion, data conversion processing method and program Download PDFInfo
- Publication number
- JP2017175367A JP2017175367A JP2016058818A JP2016058818A JP2017175367A JP 2017175367 A JP2017175367 A JP 2017175367A JP 2016058818 A JP2016058818 A JP 2016058818A JP 2016058818 A JP2016058818 A JP 2016058818A JP 2017175367 A JP2017175367 A JP 2017175367A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- size
- data
- page
- conversion
- 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
Landscapes
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
Description
本発明は、画像データを、別の再編集可能なデータ形式に変換する技術に関する。 The present invention relates to a technique for converting image data into another re-editable data format.
従来より、スキャナで読み取った画像やFAX受信した画像の文字部分を光学文字認識(Optical character recognition:OCR)して、文字の検索や編集が可能なデータに変換することが行われている。この場合において、変換後のデータ形式を特定のアプリケーション(例えばMicrosoft社が提供するWord、POWER POINT、Excelなど。いずれも登録商標)に則ったものにすることも行われている。 Conventionally, a character portion of an image read by a scanner or an image received by FAX is subjected to optical character recognition (OCR) and converted into data that can be searched and edited. In this case, the data format after conversion is made to conform to a specific application (for example, Word, POWER POINT, Excel, etc. provided by Microsoft, all of which are registered trademarks).
ここで、変換前の元データが例えばFAX受信画像である場合には、送受信者情報などがその上端部等に付与されてページサイズが上下(高さ)方向に大きくなった結果、非定型サイズとなってしまうことがある。しかしながら、OCR等の処理を行った後のデータを上記Wordなどのアプリケーションで編集して再利用(例えば印刷出力)する際の便宜を考えると、変換後のデータの出力サイズは定型サイズであることが望ましい。さらに、定型サイズでありさえすれば良いというものではなく、ユーザ所望の定型サイズを指定したい場合や、装置側で自動で決定して欲しい場合など、変換対象となる画像データの種類や変換後のデータの用途に応じて柔軟な対応が求められる。この点、例えば特許文献1には、スキャナで読み取った画像データをユーザが入力した変倍率に従って変倍した上で余白を付加し、変倍後のサイズに近い定型サイズを自動で決定してパソコンに転送する技術が記載されている。この技術を上記変換処理に適用したとしても、変換前の画像のページサイズに近い定型サイズに自動決定されるのみで、ユーザが所望の定型サイズを指定したい場合には対応出来ない。また、そもそも特許文献1は、再編集可能な形式のデータに変換することは想定しておらず、当該自動決定した定型サイズにすることによる、変換処理に伴う例えば上述のOCR処理に与える影響などは一切考慮されていない。
Here, when the original data before conversion is, for example, a FAX received image, the sender / receiver information is given to the upper end of the page and the page size is increased in the vertical (height) direction, resulting in an atypical size. It may become. However, considering the convenience of editing and reusing the data after processing such as OCR with an application such as Word (for example, printout), the output size of the converted data is a standard size. Is desirable. Furthermore, it does not have to be a fixed size, but if you want to specify a fixed size desired by the user or if you want the device to determine it automatically, the type of image data to be converted and the post-conversion image data A flexible response is required according to the use of data. In this regard, for example,
本発明に係る情報処理装置は、画像データを、特定のアプリケーションの下で編集可能な形式のデータに変換する変換手段と、前記変換を実行する際、前記画像データのページサイズが非定型のサイズであるかどうかを判定する判定手段と、を備え、前記判定手段における判定の結果、前記画像データのページサイズが非定型のサイズであった場合、前記変換手段は、前記画像データについて印刷時のレイアウトに関する設定がなされているときは、当該設定において指定された定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換し、前記画像データについて印刷時のレイアウトに関する設定がなされていないときは、前記画像データのページサイズに近似する定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換する、ことを特徴とする。 An information processing apparatus according to the present invention includes: a conversion unit that converts image data into data in a format that can be edited under a specific application; and the page size of the image data is an atypical size when the conversion is executed. Determining means for determining whether or not the image data has a non-standard page size as a result of the determination by the determining means, the converting means is configured to print the image data at the time of printing. When the layout setting is made, the standard paper size specified in the setting is used as the output size, the image data is converted into the editable data, and the image data is set for the layout at the time of printing. Is not done, the standard paper size that approximates the page size of the image data is used as the output size. Converting the image data into data of the editable form, characterized in that.
本発明によれば、変換前の画像データのページサイズが非定型サイズであっても、その時々の状況に応じた適切な定型サイズにて、特定のアプリケーションの下で編集可能なデータ形式に変換することができる。 According to the present invention, even if the page size of the image data before conversion is an atypical size, it is converted into a data format that can be edited under a specific application with an appropriate standard size according to the situation at that time. can do.
以下、添付の図面を参照して、本発明を実施する形態について説明する。なお、以下の実施例において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. The configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations.
図1は、本実施例に係る情報処理システムの構成例を示す図である。図1において、情報処理システム100は、情報処理装置であるクライアント端末101と画像形成装置であるMFP102とで構成され、相互にネットワーク110を介して接続されている。クライアント端末101は、前述のWord、POWER POINT、Excelといった様々な特定アプリケーションを実行するための環境を有するコンピュータであり、例えば、デスクトップPC、ノートPC、タブレット端末、スマートフォンなどである。また、クライアント端末101はプリンタドライバを有し、MFP102に対し印刷ジョブを送信することで、上記特定アプリケーションによって作成された文書データ等の印刷をMFP102に実行させることができる。図1ではクライアント端末101は1台であるが、複数台接続されていても構わない。MFP102は、クライアント端末101からネットワーク110を介して受信した印刷ジョブを処理して出力する機能を有する。ネットワーク110は、例えば、LAN、WAN、電話回線、専用デジタル回線、又はこれらの組み合わせにより実現される。ネットワーク110は、データの送受信が可能であればよく、有線、無線どちらでも構わない。
FIG. 1 is a diagram illustrating a configuration example of an information processing system according to the present embodiment. In FIG. 1, an
図2は、クライアント端末101としてのデスクトップPCのハードウェア構成の一例を示す図である。デスクトップPCは、CPU201、RAM202、ROM203、HDD204、ディスプレイ205、キーボード206、外部インタフェース207及びNIC208で構成される。デスクトップPCのこれらの構成要素は、それぞれシステムバス209を介して互いに接続されている。CPU201は装置全体の制御を行うプロセッサであり、ROM203やHDD204に格納されているアプリケーションプログラムやOS等を実行する。RAM202は一時記憶手段であり、CPU201の主メモリ、ワークエリア等として機能し、プログラムの実行に必要な情報、ファイル等を一時的に格納する。ROM203は記憶手段であり、基本I/Oプログラム等の各種データを記憶する。HDD204は大容量記憶手段であり、様々なアプリケーションやWebブラウザ等のプログラム、OS、関連プログラム等を格納している。ディスプレイ205は表示手段であり、ユーザが各種指示を入力するための手段であるキーボード206から入力したコマンド等、各種情報の表示を行う。外部インタフェース207は、USB機器などの周辺機器を接続するインタフェースである。NIC208は、ネットワーク110を介して外部装置とのデータのやり取りを行うためのネットワークインタフェースカードである。システムバス209は、装置内の各部を接続してデータをやりとりするためのバスである。
FIG. 2 is a diagram illustrating an example of a hardware configuration of a desktop PC as the
図3は、MFP102のハードウェア構成の一例を示す図である。MFP102は、CPU301、RAM302、ROM303、通信インタフェース304、プリンタエンジン305、HDD306及び操作パネル307で構成される。MFP102のこれらの構成要素は、それぞれシステムバス308を介して互いに接続されている。CPU301は、RAM302をワークメモリとして、HDD306に格納されたソフトウェアを実行する。また、操作パネル307から入力されるユーザの指示に応じて、MFP102の動作を設定する。また、CPU301は、通信インタフェース304を介して、クライアント端末101から入力される印刷ジョブに含まれるPDLデータを解釈して印刷用の画像データを生成し、当該画像データをプリンタエンジン305に供給して印刷を行う。ROM303には、HDD306へのデータの入出力を制御する、いわゆるBIOS等が記憶される。
FIG. 3 is a diagram illustrating an example of the hardware configuration of the
図4は、クライアント端末101のソフトウェア構成を示すブロック図であり、画像データから編集可能な別のデータ形式へと変換する機能を備えた文書編集アプリケーション400と、MFP102に印刷を指示するためのプリンタドライバ410が示されている。文書編集アプリケーション400は、UIモジュール401、編集処理モジュール402、変換処理モジュール403、印刷処理モジュール404で構成される。
FIG. 4 is a block diagram illustrating a software configuration of the
UIモジュール401は、ユーザからの指示に従って各種処理の実行を管理する。例えば、図5に示すユーザ操作用UI画面の構築や、当該UI画面に対するユーザからの入力操作を受け付け、受け付けた内容に応じた処理を各モジュールに対して指示する。図5のUI画面の詳細については後述する。
The
編集処理モジュール402は、HDD205に格納された文書データのI/O処理や、オープンした文書に対する各種編集処理を行う。また、編集処理モジュール402は、文書データの形式をその必要に応じて、編集作業に適した形式(例えばPDF)に変換したり、後続の変換処理モジュール403が受付可能な形式(例えばTIFFやBMP)に変換したりする機能も有する。
The
変換処理モジュール403は、編集処理モジュール402で編集中の文書データ(画像データ)を、上述した特定アプリケーションの下で編集可能なデータ形式に変換する処理を行なう。以下では、Microsoft社の文書作成アプリケーションであるWordのデータ形式(以下、「Word形式」)に変換する場合を例に説明を行なうものとする。変換処理モジュール403は、TIFFやBMPといった形式の画像データを入力として受け付け、当該受け付けた画像データを解析(OCR処理)してWord形式に変換して出力する。なお、図4ではWord形式に変換するための1個の変換処理モジュールのみ示されている。実際には、文書編集アプリケーション400が有する変換機能の数だけ変換処理モジュールが存在することになる。例えば、表計算アプリであるExcelやプレゼンテーションアプリであるPower Pointのデータ形式に変換する機能を有する場合は(後述の図5を参照)、これらに対応する変換処理モジュールが存在することになる。もちろん、Microsoft社以外のベンダーから提供される同種機能の特定アプリケーションのデータ形式に変換するものであってもよい。
The conversion processing module 403 performs processing for converting the document data (image data) being edited by the
印刷処理モジュール404は、印刷対象となる文書データのプリンタドライバ410への送信の他、プリンタドライバ410にアクセスして印刷に必要な印刷設定情報の取得や設定を行う。プリンタドライバ410は、印刷処理モジュール404から受け取った文書データに基づいて印刷ジョブを生成し、MFP102に送信する。
The
続いて、本実施例の特徴である、文書編集アプリケーション400が有する、画像データを編集可能な別のデータ形式へと変換する機能について詳しく説明する。具体的な処理の流れを説明する前に、文書編集アプリケーション400におけるメインのUI画面(メイン画面)について、図5を参照して説明する。図5において、メイン画面500の印刷設定エリア510には、各設定項目に対応したボタン502〜506が並んでいる。サイズ設定ボタン511は、印刷出力時に使用する用紙サイズを指定するためのボタンである。向き設定ボタン512は、用紙の向きを指定するためのボタンである。N-Up設定ボタン513は、1枚の用紙面上に複数のページを配置する、いわゆるN-Up印刷(Nは用紙面上に配置するページ数を規定する自然数)を指定するためのボタンである。例えば“2up”は用紙面上に2ページ分をレイアウトすることを意味する。印刷面設定ボタン514は、片面印刷もしくは両面印刷を指定するためのボタンである。データ変換エリア520には、画像データをWord形式のデータに変換することを指定するための変換ボタン521が設けられている。さらに、潜在的に設け得る変換ボタンの一例として、Excelのデータに変換するための変換ボタン522、Power Pointのデータに変換するための変換ボタン523が破線で示されている。例えば、変換ボタン521がユーザによって選択・押下されると、後述の図6のフローが実行され、所定の定型サイズにてWord形式へと変換されたデータが生成されることになる。印刷処理エリア530には、出力先のプリンタを指定するためのリストボックス531と、印刷開始を指示するための印刷ボタン532が存在する。540は文書構造ツリーであり、編集中の文書の構造(章とページ)を示している。プレビューエリア550は、印刷プレビューを表示する領域であり、印刷設定エリア510内のボタン511〜514で設定された内容に従って印刷結果の出力イメージをプレビュー表示する。
Next, the function of the
続いて、文書編集アプリケーション400において、スキャナで読み取った画像やFAX受信した画像などの元データ(以下、「原稿データ」と呼ぶ)から、Word形式のデータを生成する際の処理の流れを説明する。図6は、本実施例に係る、画像データからWord形式のデータを生成する処理の流れを示すフローチャートである。
Next, the flow of processing when the
ステップ601では、ディスプレイ205に表示された前述のメイン画面500を介して、Word形式データへの変換指示が受け付けられる。具体的には、変換ボタン521がユーザによって押下されたことをUIモジュール401が検知することで、当該変換指示が認識される。
In
ステップ602では、受け付けた変換指示に係る原稿データのページサイズが取得される。具体的には、編集処理モジュール402が、文書編集アプリケーション400において現在処理中の原稿データの各ページの幅と高さの情報を取得し、RAM202に格納する。
In step 602, the page size of the document data related to the received conversion instruction is acquired. Specifically, the
ステップ603では、前述のメイン画面500上でレイアウト設定がなされているか否かが判定される。ここで、レイアウト設定とは、印刷ボタン532の押下によって開始する印刷で適用する、用紙サイズや向きなど印刷時のページレイアウトに関する設定を意味する。前述のサイズ設定ボタン511や向き設定ボタン512等を用いて指定されたレイアウト設定の内容は、印刷処理モジュール404で管理されている。編集処理モジュール402は、印刷処理モジュール404にアクセスして、設定中の用紙サイズや向きの情報を取得し、レイアウト設定が行われているか否かを判定する。この場合において、用紙サイズが「自動」に設定されていると、レイアウト設定が行われていない状態であると判定される。用紙サイズの設定値が「自動」の場合は、印刷時に使用する用紙のサイズを、原稿データのページサイズと同じサイズに自動で設定する機能が選択されていることを示す。「自動」ではなく、明示的に「A4」などが指定されている場合は、レイアウト設定が行われている状態であると判定される。レイアウト設定が行われていればステップ604に進み、レイアウト設定が行われていなければステップ608へ進む。
In step 603, it is determined whether or not the layout is set on the
ステップ604では、編集アプリケーション400にて設定中のレイアウト設定を、Word形式への変換処理時に反映するか否かが判定される。具体的には、まずUIモジュール401によって、図7(a)に示すようなサブ画面700がディスプレイ205に表示される。そして、ユーザに文書編集アプリケーション400上でなされているレイアウト設定の内容をWord形式への変換時に反映するかどうかの判断を促し、ユーザの判断結果を受け付ける。サブ画面700においてボタン701が押下され、レイアウト設定を反映する意思が確認できた場合はステップ605へ進む。一方、サブ画面700においてボタン702が押下され、レイアウト設定を反映しない意思が確認できた場合はステップ608へ進む。
In
ステップ605では、レイアウト設定を反映することで原稿のページが縮小されるか否かが判定される。この判定は、編集処理モジュール402において、ステップ602で取得したページサイズの情報と、ステップ603で取得したレイアウト設定の情報とに基づいて行なわれる。例えば、原稿データのページサイズがA3(297×420mm)で、適用されるレイアウト設定の用紙サイズ:A4(210×297mm)であったとする。この場合は、適用されるレイアウト設定で指定されたA4の1ページ内に原稿データのページが収まらないため、縮小(縮小率:70%)する必要がある。このように原稿データのページを縮小する必要がある場合は、その旨をユーザに通知して変換処理を続行するかどうかの意思を確認するべくステップ606へ進む。一方、縮小する必要がない場合は、ステップ612へ進む。
In step 605, it is determined whether the page of the document is reduced by reflecting the layout setting. This determination is made in the
ステップ606では、レイアウト設定を反映したWord形式への変換を続行するかどうかが判定される。続行しない場合は本処理を終了し、続行する場合は次のステップ607においてレイアウト設定を反映するかどうかが判定される。本実施例では、ステップ606と607における判定をまとめて行なっている。具体的には、まずUIモジュール401によって、図7(b)に示すようなサブ画面710がディスプレイ205に表示される。そして、レイアウト設定を反映させる変換処理を続行するか、レイアウト設定を反映させずに変換処理を行うか、或いは変換処理をキャンセルするかの判断を促し、ユーザの判断結果を受け付ける。このような確認を行なう理由は、後述のステップ613における変換処理では画像データの文字部分を解析して、文字列データとして抽出することから、ページが縮小されると文字の認識率が低下する可能性があるためである。サブ画面710においてボタン711が押下され、レイアウト設定を反映した変換処理を続ける場合はステップ612へ進む(S607でYes)。サブ画面710においてボタン712が押下され、変換処理を続けるがレイアウト設定を反映させない場合はステップ608へ進む(S607でNo)。一方、Word形式への変換処理をキャンセルする場合は、本フローを抜ける(S606でYes)。
In
ステップ608では、ステップ602で取得した原稿データのページサイズが定型サイズか否かが判定される。具体的には、編集処理モジュール402が、図8で示すような、プリンタドライバ410で使用可能な定型サイズを定義した用紙テーブルを参照し、原稿データのページサイズが当該用紙テーブルで定義されるいずれかの定型サイズと一致するか否かを判定する。ここで、用紙テーブルは、予め作成しHDD204等に保持しておいてもよいし、リストボックス531で指定したプリンタに対応するプリンタドライバが使用できる用紙サイズ情報を取得して動的に生成してもよい。原稿データのページサイズと一致する定型サイズが存在する場合は、原稿データのページサイズは定型サイズであると見做し、ステップ613に進む。この際、編集処理モジュール402は、原稿データを、変換処理モジュール403が受付可能な形式に必要に応じて変更した上で、変換処理モジュール403に送る。一方、原稿データのページサイズと一致する定型サイズが存在しない場合は、ステップ609に進む。
In step 608, it is determined whether or not the page size of the document data acquired in step 602 is a standard size. Specifically, the
ステップ609では、原稿データのページサイズに近似する定型サイズが存在するか否かが判定される。具体的には、編集処理モジュール402が、原稿データのページサイズに所定のマージンを持たせた値を閾値として設け、当該閾値の範囲内にその幅と高さが収まる定型サイズがあるかどうかを、用紙テーブルを参照して判定する。所定のマージンとしては、例えば幅と高さ各々にプラスマイナス10mmといった値が考えられる。上記閾値の範囲内に収まる定型サイズが見つかった場合はステップ610に進み、その定型サイズを、原稿データの各ページをレイアウトする用紙サイズとして決定し、その向きと併せて、適用するレイアウト設定として決定する。一方、上記閾値の範囲内に収まる定型サイズが見つからなかった場合はステップ611に進み、原稿データの各ページをレイアウトするのに最も小さい縮小率で済む定型サイズを用紙サイズとして決定し、その向きと併せて、適用するレイアウト設定として決定する。この場合において最小の縮小率を採用するのは、上述のステップ605の場合と同じ理由、すなわち、Word形式への変換処理時における文字認識率の低下を考慮したものである。
In
ステップ612では、変更処理モジュール402が、適用が決まったレイアウト設定に従って原稿データの各ページを配置(面付け)したページデータを生成する。この際、原稿データの各ページを定型サイズに合わせるための拡大/縮小率の情報やページ内の位置情報(用紙の中央など)を、レイアウト設定の一部としてページデータに持たせるように構成してもよい。生成されたページデータは、必要に応じてTIFFやBMPといった形式の画像データに変換された上で、Word形式への変換処理を行なう変換処理モジュール403に送られる。
In
ここで、ステップ608〜ステップ612かけての処理を、具体例を用いて説明する。例えば、原稿データの各ページがA4よりも高さ方向が僅かに大きいサイズ(210×305mm)であったとする。この場合、原稿データのページサイズはどの定型サイズとも一致しないものの(S608でNo)、続くステップ609の判定ではA4(210×297mm)に近似すると判定されることになる(S609でYes)。その結果、原稿データの各ページに適用するレイアウト設定として、用紙サイズ:A4、向き:縦が決定される(S610)。そして、高さ方向に幾分縮小されたA4サイズのページデータが、原稿データの各ページについて生成されることになる。
Here, the process from step 608 to step 612 will be described using a specific example. For example, it is assumed that each page of the document data has a size (210 × 305 mm) that is slightly larger in height than A4. In this case, although the page size of the document data does not match any fixed size (No in S608), it is determined in the subsequent determination of
ステップ613では、変換処理モジュール403が、編集処理モジュール402から受け取った注目ページの画像データを、Word形式に変換する処理を行なう。具体的には、まず入力された画像データを、文字・イメージ・グラフィックといった属性毎の領域に分離する。そして、文字属性の領域(文字領域)に対してOCR処理を行って、当該領域内の各文字に文字コードを割り当てた、Word形式のデータ(拡張子:docx)を生成する。このようにしてWord形式に変換されたデータは、編集処理モジュール402に返される。編集処理モジュール402は、受け取ったWord形式のデータを、予め決められた固定の場所に連番のファイル名で、或いは、ユーザに場所とファイル名を指定させて、HDD204に保存する。
In step 613, the conversion processing module 403 performs processing for converting the image data of the page of interest received from the
以上が、画像データからWord形式のデータを生成する処理の内容である。 The above is the content of the process of generating Word format data from the image data.
本実施例によれば、そのページサイズが非定型サイズの画像データからでも、その時々の状況に応じた適切な定型サイズを出力サイズとした、特定のアプリケーションで再編集・再利用可能な形式のデータに変換することが可能となる。 According to the present embodiment, even if the page size is an atypical size image data, the output size is an appropriate standard size according to the situation at the time, and the format can be re-edited and reused by a specific application. It can be converted into data.
次に、レイアウト設定でN-Up印刷の設定がなされている場合に、その内容も変換処理に反映し得る態様について、実施例2として説明する。なお、基本的なハードウェア及びソフトウェア構成は実施例1と共通するため、以下では実施例1との差異点を中心に説明するものとする。 Next, a mode in which the contents can be reflected in the conversion process when N-Up printing is set in the layout setting will be described as a second embodiment. Since the basic hardware and software configuration are the same as those in the first embodiment, the differences from the first embodiment will be mainly described below.
図9は、本実施例に係る、画像データからWord形式のデータを生成する処理の流れを示すフローチャートである。 FIG. 9 is a flowchart showing the flow of processing for generating Word format data from image data according to the present embodiment.
ステップ901〜904は、実施例1の図6のフローの601〜604にそれぞれ対応する。すなわち、Word形式への変換指示を受け付けると(S901)、当該変換指示に係る原稿データのページサイズが取得され(S902)、レイアウト設定がなされているか否かが判定される(S903)。本実施例のステップ903の場合、編集処理モジュール402は、用紙サイズとその向きに加え、N-Up印刷に関する情報(設定値)を取得して、レイアウト設定がなされているか否かを判定する。N-Up印刷を設定する場合は、特定の用紙サイズの1ページに対して印刷対象データの複数ページを配置したページデータを作成する必要があるため、用紙サイズの指定が「自動」というケースは存在しない。したがって、N-Up印刷の設定が行われている場合は、レイアウト設定がなされていると判定することになる。そして、レイアウト設定がなされていると判定されればステップ904に進み、レイアウト設定がなされていないと判定されればステップ911へ進む。
Steps 901 to 904 correspond to
ステップ904では、設定中のレイアウト設定をWord形式への変換処理時に反映するか否かが判定され、レイアウト設定を反映する意思が確認できた場合はステップ905へ進み、レイアウト設定を反映しない意思が確認できた場合はステップ911へ進む。
In
ステップ905では、Word形式への変換処理の際にN-Up印刷の設定を反映する設定がなされているか否かが判定される。ユーザは、N-Up印刷の設定をWord変換処理の際に反映するか否かを、文書編集アプリケーション400において予め設定できるものとする。図10(a)は、Word変換処理時にN-Up印刷の設定を反映することを予め設定するためのUI画面(メイン画面500のサブ画面)の一例を示している。図10(a)のサブ画面1000は、文書編集アプリケーション400のメイン画面500から表示可能に構成(図5では不図示)されているものとする。ユーザは、サブ画面1000におけるチェックボックス1001にチェックを入れ、OKボタン1002を押下することで、N-Up印刷の設定をWord形式への変換処理時に反映することを指定できる。図11は、文書編集アプリケーション400における設定データの一例を示す。上述のサブ画面1000で指定した内容は、このような設定データに格納されHDD204等で管理される。図11の設定データ1100において、項目1101“WordConvert_ApplyNup”がWord形式への変換処理の際にN-Up印刷の設定を反映するかどうかを示す設定箇所である。ここではその設定値1102が“ON”となっており、サブ画面1000でチェックボックス1001にチェックが入れられた場合の設定内容となっている。チェックボックス1001にチェックが入っていない状態(N-Up設定を反映しない)であれば、設定値1102は“OFF”となる。編集処理モジュール402は、上記設定データ1100にアクセスして、項目1101“WordConvert_ApplyNup”の設定値1102を取得し、N-Up印刷の設定を反映するか否かを判定する。判定の結果、設定値1102が“ON”の場合はステップ906へ進み、“OFF”の場合はステップ908へ進む。
In
ステップ906では、編集処理モジュール402が、N-Up印刷に関する設定情報を取得し、N-Up印刷におけるNの値が“2”以上(2up以上)か否かを判定する。判定の結果、Nの値が2以上であればステップ907へ進み、Nの値が1であればステップステップ908へ進む。N-Up印刷においてNの値が1であるということはN-Up印刷が設定されていないのと同義であるため、N-Up印刷の設定を反映させずにWord形式への変換処理を行なうべく、このような判定処理を行っている。
In
ステップ907では、N-Up印刷の設定をWord形式への変換処理に反映するか否かが再度判定される。具体的には、まずUIモジュール401によって、図10(b)に示すようなUI画面(メイン画面500のサブ画面)1010がディスプレイ205に表示される。そして、N-Up印刷の設定を反映させる変換処理を続行するかどうかの判断を促し、ユーザの判断結果を受け付ける。サブ画面1010においてボタン1011が押下され、N-Up印刷の設定を反映した変換処理を続ける選択がなされた場合はステップ915へ進む。一方、ボタン1012が押下され、N-Up印刷の設定を反映させずに変換処理を続ける選択がなされた場合はステップ908へ進む。なお、本ステップは、前述のステップ905でN-Up印刷の設定をWord形式への変換処理に反映する旨の設定がなされているときに実行される処理である。つまり、再確認のための処理となるため、本ステップは省略して、ステップ905で2Up以上と判定された段階で直ちに915へ進むように構成してもかまわない。
In
ステップ908〜916の各処理は、実施例1の図6のフローの606〜613にそれぞれ対応する。実施例1との差異は、ステップ915におけるページデータ生成処理において、N-Up印刷の設定が2up以上の場合に、N-Up印刷の設定を反映したページデータを生成する点である。例えば、ページサイズがA4相当の原稿データの各ページを、用紙サイズ:A4、向き:横にて2Up印刷用にレイアウトするケースを考える。このケースでは、原稿データの1ページ目をその左半分に2ページ目をその右半分にそれぞれ50%に縮小して配置したページデータが生成されることになる(ステップ916)。このようにN-Up印刷の設定を反映したページデータからは、いわゆる段組みにレイアウトされたWord形式のデータを得ることができる。
Steps 908 to 916 correspond to
以上が、本実施例に係る、画像データからWord形式のデータを生成する処理の内容である。 The above is the content of the processing for generating data in Word format from the image data according to the present embodiment.
本実施例によれば、レイアウト設定でN-Up印刷の設定がされている場合は、そのN-Up設定の内容を、特定アプリケーションの下で編集可能なデータ形式への変換処理時に反映させることができる。 According to this embodiment, when N-Up printing is set in the layout settings, the contents of the N-Up settings are reflected at the time of conversion processing to a data format that can be edited under a specific application. Can do.
<その他の実施例>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other examples>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
Claims (13)
前記変換を実行する際、前記画像データのページサイズが非定型のサイズであるかどうかを判定する判定手段と、
を備え、
前記判定手段における判定の結果、前記画像データのページサイズが非定型のサイズであった場合、前記変換手段は、
前記画像データについて印刷時のレイアウトに関する設定がなされているときは、当該設定において指定された定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換し、
前記画像データについて印刷時のレイアウトに関する設定がなされていないときは、前記画像データのページサイズに近似する定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換する、
ことを特徴とする情報処理装置。 Conversion means for converting image data into data in a format that can be edited under a specific application;
A determination means for determining whether or not a page size of the image data is an atypical size when performing the conversion;
With
When the page size of the image data is an atypical size as a result of the determination by the determination unit, the conversion unit
When the setting relating to the layout at the time of printing is made for the image data, the standard paper size specified in the setting is used as the output size, and the image data is converted into data in the editable format,
When the image data is not set with respect to the layout at the time of printing, the image data is converted into the editable format data with a standard paper size approximating the page size of the image data as an output size,
An information processing apparatus characterized by that.
前記受付手段にて、前記設定において指定された定型の用紙サイズを出力サイズとせずに前記変換を行なう旨の指示を受け付けた場合、前記変換手段は、前記画像データのページサイズに近似する定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換する、
ことを特徴とする請求項2に記載の情報処理装置。 In the case where the setting related to the layout at the time of printing is made for the image data, the image data further includes a receiving unit that receives from the user an instruction as to whether or not to perform the conversion using the standard paper size specified in the setting as an output size. ,
When the receiving unit receives an instruction to perform the conversion without using the standard paper size specified in the setting as an output size, the conversion unit receives a standard size that approximates the page size of the image data. Converting the image data into the editable data with the paper size as the output size;
The information processing apparatus according to claim 2.
前記変換では、前記画像データの解析を行い、前記画像データに含まれる文字領域に対してOCR処理を行って当該文字領域の各文字に文字コードを割り当てた、前記文書作成アプリケーションの下で編集可能なデータが生成されることを特徴とする請求項1乃至9のいずれか1項に記載の情報処理装置。 The specific application is a document creation application;
In the conversion, the image data is analyzed, the character area included in the image data is subjected to OCR processing, and a character code is assigned to each character in the character area, which can be edited under the document creation application. The information processing apparatus according to claim 1, wherein the data is generated.
前記変換を実行する際、前記画像データのページサイズが非定型のサイズであるかどうかを判定する判定ステップと、
を含み、
前記判定ステップでの判定の結果、前記画像データのページサイズが非定型のサイズであった場合、前記変換ステップでは、
前記画像データについて印刷時のレイアウトに関する設定がなされているときは、当該設定において指定された定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換し、
前記画像データについて印刷時のレイアウトに関する設定がなされていないときは、前記画像データのページサイズに近似する定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換する、
ことを特徴とするデータ変換処理方法。 A conversion step that converts the image data into data that can be edited under a specific application;
A determination step of determining whether or not a page size of the image data is an atypical size when performing the conversion;
Including
As a result of the determination in the determination step, when the page size of the image data is an atypical size, in the conversion step,
When the setting relating to the layout at the time of printing is made for the image data, the standard paper size specified in the setting is used as the output size, and the image data is converted into data in the editable format,
When the image data is not set with respect to the layout at the time of printing, the image data is converted into the editable format data with a standard paper size approximating the page size of the image data as an output size,
A data conversion processing method characterized by the above.
前記変換を実行する際、前記画像データのページサイズが非定型のサイズであるかどうかを判定し、当該判定の結果、前記画像データのページサイズが非定型のサイズであった場合において、
前記画像データについて印刷時のレイアウトに関する設定がなされているときは、当該設定において指定された定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換し、
前記画像データについて印刷時のレイアウトに関する設定がなされていないときは、前記画像データのページサイズに近似する定型の用紙サイズを出力サイズとして、前記画像データを前記編集可能な形式のデータに変換する、
ことを特徴とする文書編集アプリケーション。 A document editing application executed by the information processing apparatus, which has a function of converting image data into data in a format that can be edited under a specific application,
When performing the conversion, it is determined whether the page size of the image data is an atypical size, and as a result of the determination, when the page size of the image data is an atypical size,
When the setting relating to the layout at the time of printing is made for the image data, the standard paper size specified in the setting is used as the output size, and the image data is converted into data in the editable format,
When the image data is not set with respect to the layout at the time of printing, the image data is converted into the editable format data with a standard paper size approximating the page size of the image data as an output size,
Document editing application characterized by that.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016058818A JP2017175367A (en) | 2016-03-23 | 2016-03-23 | Information processing apparatus for performing data conversion, data conversion processing method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016058818A JP2017175367A (en) | 2016-03-23 | 2016-03-23 | Information processing apparatus for performing data conversion, data conversion processing method and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017175367A true JP2017175367A (en) | 2017-09-28 |
Family
ID=59973377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016058818A Pending JP2017175367A (en) | 2016-03-23 | 2016-03-23 | Information processing apparatus for performing data conversion, data conversion processing method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017175367A (en) |
-
2016
- 2016-03-23 JP JP2016058818A patent/JP2017175367A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10528679B2 (en) | System and method for real time translation | |
JP5763904B2 (en) | Printing system, printing method, print server, control method therefor, and program | |
JP6454213B2 (en) | Image output system, image processing apparatus, image output apparatus, method and program therefor | |
US10306085B2 (en) | Information processing apparatus, control method of information processing apparatus, and recording medium | |
US20180253561A1 (en) | Information processing apparatus, storage medium, and control method therefor | |
JP2015026134A (en) | Information processing terminal, control program of information processing terminal, control method of information processing terminal, and image processing system | |
US8941875B2 (en) | Image processing system, image processing method, and computer readable recording medium storing program thereof | |
JP2020032730A (en) | Image forming apparatus, control method for image forming apparatus, and program | |
US20140055813A1 (en) | Apparatus and method of forming an image, terminal and method of controlling printing, and computer-readable recording medium | |
JP2019036891A (en) | Image processing apparatus, control method thereof, and program | |
US20120092683A1 (en) | Image forming apparatus and document editing method | |
JP2017175367A (en) | Information processing apparatus for performing data conversion, data conversion processing method and program | |
JP6624918B2 (en) | Information processing apparatus, control method, and program | |
US20150124294A1 (en) | Image forming apparatus and method for producing e-book contents | |
US9430446B2 (en) | Information processing apparatus, method and storage medium including a function for establishing exceptions applied to print settings when specified conditions are met | |
JP2006190311A (en) | Document printing processing method | |
US9256814B2 (en) | Image processing apparatus, image processing method and computer-readable storage device | |
JP6112908B2 (en) | Information processing apparatus, control method thereof, and computer program | |
JP2014029633A (en) | Information processing device and printing system | |
US9864554B2 (en) | Information processing apparatus and data processing method for inserting image information into a document by converting a size of the image information into a size suitable for an output paper size of the document | |
JP6186926B2 (en) | Program and information processing apparatus | |
JP2013130988A (en) | Data processor | |
JP2018161761A (en) | Image forming device and image formation program | |
JP2013153290A (en) | Image processing system, image processing method, and image processing program | |
JP2015119222A (en) | Image formation device and control method thereof |