JP5479132B2 - Information processing apparatus, information processing apparatus control method, and computer program - Google Patents

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

Info

Publication number
JP5479132B2
JP5479132B2 JP2010019091A JP2010019091A JP5479132B2 JP 5479132 B2 JP5479132 B2 JP 5479132B2 JP 2010019091 A JP2010019091 A JP 2010019091A JP 2010019091 A JP2010019091 A JP 2010019091A JP 5479132 B2 JP5479132 B2 JP 5479132B2
Authority
JP
Japan
Prior art keywords
block
information
document
blocks
position information
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
JP2010019091A
Other languages
Japanese (ja)
Other versions
JP2011159036A (en
Inventor
和成 山中嶋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010019091A priority Critical patent/JP5479132B2/en
Publication of JP2011159036A publication Critical patent/JP2011159036A/en
Application granted granted Critical
Publication of JP5479132B2 publication Critical patent/JP5479132B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、情報処理装置、情報処理装置の制御方法、及びコンピュータプログラムに関する。   The present invention relates to an information processing apparatus, a control method for the information processing apparatus, and a computer program.

近年、用紙の印刷効率を高めるために、間締め処理機能を備えた印刷装置が提案されている(例えば、特許文献1を参照)。間締め処理は、例えば、電子文書の空白部分を取り除き、文書を詰める処理である。印刷装置が間締め処理後の文書を印刷することによって、印刷用紙枚数を削減することができる。また、図形や表などを含む、より複雑な電子文書については、可読性やレイアウトを考慮して、文字列や図形、画像などの描画オブジェクトをブロック化し、ブロック単位で間締め処理を行う技術が提案されている。ブロック化とは、視覚的または内容的にまとまりのある所定の単位で描画オブジェクトをグループ化することである。   In recent years, in order to increase the printing efficiency of paper, a printing apparatus having a thinning function has been proposed (see, for example, Patent Document 1). The thinning process is, for example, a process of removing a blank part from an electronic document and filling the document. When the printing apparatus prints the document after the thinning process, the number of print sheets can be reduced. In addition, for more complex electronic documents including figures and tables, a technology is proposed that blocks drawing objects such as character strings, figures, and images, and performs block-thinning processing in units of blocks, taking into account readability and layout. Has been. Blocking is to group drawing objects in a predetermined unit that is visually or contentally organized.

特開2000−318230号公報JP 2000-318230 A

印刷対象の文書について間締め処理を行うと、間締め処理前後で文書のページにずれが発生する。具体的には、間締め処理前にブロックが、あるページに位置していた場合、間締め処理後には、このブロックは元のページとは異なるページに移動している。従って、印刷装置が間締め処理された文書を印刷(間締め印刷)した場合に、印刷出力された文書と元原稿との対応関係がとれなくなる。その結果、例えば、文書内にページ参照が記載されている場合などに、参照位置がわからなくなる等の問題がある。   When the thinning process is performed on a document to be printed, a page shift occurs before and after the thinning process. Specifically, if the block is located on a certain page before the thinning process, the block has moved to a page different from the original page after the thinning process. Therefore, when the printing apparatus prints a document that has undergone a margin reduction process (intermittent printing), the correspondence relationship between the printed document and the original document cannot be obtained. As a result, for example, when a page reference is described in a document, there is a problem that the reference position is not known.

本発明は、文書の間締め処理を実行する情報処理装置であって、印刷対象のページに含まれるブロックの、間締め処理前の文書における元の位置情報を表示する情報処理装置、情報処理装置の制御方法、及びそのコンピュータプログラムの提供を目的とする。   The present invention relates to an information processing apparatus that performs a document deadline process, and displays an original position information of a block included in a page to be printed in a document before the deadline process, and an information processing apparatus It is an object of the present invention to provide a control method and a computer program thereof.

本発明の一実施形態の情報処理装置は、文書に含まれるオブジェクトをブロック化して1又は複数のブロックを生成し、生成されたブロックの前記文書における位置情報を記憶する記憶手段と、前記文書についてブロック間の空白を詰める間締め処理を実行する間締め処理手段と、前記記憶手段に記憶された前記位置情報に基づいて、前記間締め処理された文書の出力時に前記文書に含まれるブロックに対応づけて、前記間締め処理が実行される前の文書における位置情報を出力する出力手段とを備える。前記出力手段は、前記間締め処理が実行された後の文書の同一ページに配置された複数のブロックの位置情報が同じである場合、前記複数のブロックにおける先頭のブロックに前記位置情報を表示し、前記複数のブロックにおけるその他のブロックに前記位置情報を表示しない。
An information processing apparatus according to an embodiment of the present invention includes: a storage unit configured to block an object included in a document to generate one or a plurality of blocks, and store position information of the generated block in the document; Corresponding to blocks included in the document when outputting the document subjected to the thinning process, based on the position information stored in the storage unit, and a thinning process unit for performing a thinning process for filling spaces between the blocks In addition, output means for outputting position information in the document before the thinning process is executed. The output means displays the position information on the first block of the plurality of blocks when the position information of the plurality of blocks arranged on the same page of the document after the deadline processing is the same. The position information is not displayed in other blocks of the plurality of blocks.

本発明の情報処理装置によれば、間締め処理された文書が出力された場合に、ページに含まれるブロックが元々どのページに配置されているのかを認識することができる。   According to the information processing apparatus of the present invention, it is possible to recognize on which page the block included in the page is originally arranged when the document subjected to the narrowing process is output.

情報処理装置のハードウェア構成、機能ブロック図の例を示す図である。It is a figure which shows the hardware constitutions of an information processing apparatus, and the example of a functional block diagram. 文書に含まれるオブジェクトを説明する図である。It is a figure explaining the object contained in a document. 位置管理情報のデータ構造の例を示す図である。It is a figure which shows the example of the data structure of position management information. 情報処理装置が実行するブロック化と間締め処理とを説明する図である。It is a figure explaining the blocking and the thinning process which an information processing apparatus performs. ブロック化部の処理を説明する図である。It is a figure explaining the process of a blocking part. 間締め処理とブロックの元ページ番号の表示を説明する図である。It is a figure explaining a thinning process and the display of the original page number of a block. 情報処理装置が実行する間締め処理フローの例を示す図である。It is a figure which shows the example of the thinning-out process flow which information processing apparatus performs. 表示対象とする元ページ番号の決定処理フローを示す図である。It is a figure which shows the decision processing flow of the original page number made into display object. 第2の実施形態を説明する図である。It is a figure explaining 2nd Embodiment. ブロックが位置する元ページの領域の決定処理フローの例である。It is an example of the determination processing flow of the area | region of the original page in which a block is located. 第3の実施形態を説明する図である。It is a figure explaining 3rd Embodiment. 印刷設定情報に基づく元ページ番号の決定処理フローの例である。It is an example of the original page number determination processing flow based on print setting information. 第4の実施形態を説明する図である。It is a figure explaining 4th Embodiment. 第5の実施形態を説明する図である。It is a figure explaining 5th Embodiment. 第6の実施形態を説明する図である。It is a figure explaining 6th Embodiment.

図1は、第1の実施形態の情報処理装置のハードウェア構成と、機能ブロック図の例を示す図である。図1(A)は、第1の実施形態の情報処理装置のハードウェア構成の例を示す。図1(A)に示す情報処理装置1は、オブジェクトを有する文書について間締め処理し、間締め処理後の文書を出力(印刷又は表示)する。本実施形態において、間締め処理は、文書中のオブジェクトをブロック化して1又は複数のブロックを生成し、生成されたブロック間の空白を詰める処理である。ブロック化は、オブジェクトをある単位でグループ化することである。また、情報処理装置1は、間締め処理された文書の出力時に、該文書に含まれるブロックに対応づけて、このブロックの間締め処理前の文書における位置情報を表示する。情報処理装置1は、例えば、PC(Personal Computer :パーソナルコンピュータ)、MFP(Multi Function Printer:複合印刷機)等である。情報処理装置1は、PC、MFPに限定されず、文書を間締め処理して出力することができる任意の処理装置であればよい。   FIG. 1 is a diagram illustrating an example of a hardware configuration and a functional block diagram of the information processing apparatus according to the first embodiment. FIG. 1A illustrates an example of a hardware configuration of the information processing apparatus according to the first embodiment. The information processing apparatus 1 illustrated in FIG. 1A performs a thinning process on a document having an object, and outputs (prints or displays) the document after the thinning process. In the present embodiment, the thinning process is a process of creating one or a plurality of blocks by blocking an object in a document and filling a space between the generated blocks. Blocking is the grouping of objects in a certain unit. The information processing apparatus 1 displays position information in the document before the block-squeezing process in association with the block included in the document at the time of outputting the document subjected to the squeeze-process. The information processing apparatus 1 is, for example, a PC (Personal Computer) or an MFP (Multi Function Printer). The information processing apparatus 1 is not limited to a PC and an MFP, and may be any processing apparatus that can perform a process of performing a thinning process on a document.

情報処理装置1は、CPU(Central Processing Unit )102、メモリ103、記憶装置104、ビデオインタフェース105を備える。また、情報処理装置1は、I/O(Input/Output)インタフェース106、通信インタフェース107を備える。上記各構成要素はシステムバス101に接続されている。また、情報処理装置1は、キーボード114、ポインティングデバイス115、ディスプレイ装置116を備える。   The information processing apparatus 1 includes a CPU (Central Processing Unit) 102, a memory 103, a storage device 104, and a video interface 105. The information processing apparatus 1 also includes an I / O (Input / Output) interface 106 and a communication interface 107. Each of the above components is connected to the system bus 101. Further, the information processing apparatus 1 includes a keyboard 114, a pointing device 115, and a display device 116.

CPU102は、情報処理装置全体を制御する。CPU102は、システムバス101を介して各構成要素を制御したり、データの計算や加工を行ったりする。メモリ103は、データやプログラムを記憶する記憶手段である。メモリ103は、例えばランダムアクセスメモリ(RAM)やリードオンリーメモリ(ROM)から構成される。記憶装置104は、記憶されたデータの書き込み/読み出しを行う。記憶装置104は、ハードディスクドライブ(Hard Disk Drive:HDD)111、FDD112、CD−ROMドライブ113を備える。FDDは、Floppy(登録商標)Disk Driveの略語である。記憶装置が、磁気テープドライブ、DVD−ROM等を備えるようにしてもよい。   The CPU 102 controls the entire information processing apparatus. The CPU 102 controls each component via the system bus 101 and performs calculation and processing of data. The memory 103 is a storage unit that stores data and programs. The memory 103 is composed of, for example, a random access memory (RAM) or a read only memory (ROM). The storage device 104 writes / reads stored data. The storage device 104 includes a hard disk drive (HDD) 111, an FDD 112, and a CD-ROM drive 113. FDD is an abbreviation for Floppy (registered trademark) Disk Drive. The storage device may include a magnetic tape drive, a DVD-ROM, or the like.

本実施形態の情報処理装置の制御方法を実現するコンピュータプログラムは、記憶装置104に記憶されている。CPU102が、このコンピュータプログラムを記憶装置104から読み込み、メモリ103に格納した上で実行する。すなわち、このコンピュータプログラムは、情報処理装置1の制御方法をコンピュータに実行させることを特徴とする。CPU102が、このコンピュータプログラムを通信インタフェース107及びLAN(Local Area Network)118を介して情報処理装置1の外部から読み込むようにしてもよい。   A computer program for realizing the control method of the information processing apparatus according to the present embodiment is stored in the storage device 104. The CPU 102 reads this computer program from the storage device 104, stores it in the memory 103, and executes it. That is, the computer program causes the computer to execute the control method of the information processing apparatus 1. The CPU 102 may read this computer program from the outside of the information processing apparatus 1 via the communication interface 107 and a LAN (Local Area Network) 118.

ビデオインタフェース105は、ディスプレイ装置116への表示出力を制御する。ディスプレイ装置116は、例えば、CRT(Cathode Ray Tube)や液晶等を備える。I/Oインタフェース106には、キーボード114やポインティングデバイス115等の入力装置が接続される。情報処理装置1のユーザは、キーボード114を操作することにより情報処理装置1に対する動作指令等を行う。ポインティングデバイス115は、ディスプレイ装置116上のカーソルを移動させてメニューやオブジェクトの選択や操作等を行う。通信インタフェース107は、ネットワーク(例えばLAN118)に接続して外部機器との通信を行う。通信インタフェース107の接続先のネットワークは、LAN118の他に、例えばWAN(Wide Area Network )やインターネットのような公衆回線等であってもよい。また、通信インタフェース107は、プリンタ117などの出力機器と通信する。   The video interface 105 controls display output to the display device 116. The display device 116 includes, for example, a CRT (Cathode Ray Tube) or a liquid crystal. Input devices such as a keyboard 114 and a pointing device 115 are connected to the I / O interface 106. A user of the information processing device 1 operates the keyboard 114 to give an operation command to the information processing device 1. The pointing device 115 moves a cursor on the display device 116 to select and operate menus and objects. The communication interface 107 is connected to a network (for example, LAN 118) and communicates with an external device. In addition to the LAN 118, the network to which the communication interface 107 is connected may be, for example, a public line such as a WAN (Wide Area Network) or the Internet. The communication interface 107 communicates with an output device such as the printer 117.

図1(B)は、第1の実施形態の情報処理装置の機能ブロック図の例を示す。なお、これらの機能はアプリケーションにより提供されても、プリンタドライバにより提供されても良い。図1(B)に示すように、情報処理装置1は、空白領域検出部11、ブロック化部12、間締め処理部13、出力設定取得部14、ページ番号設定部15、出力部16、ブロック編集部17を備える。空白領域検出部11は、印刷データに含まれる空白領域を検出して、該空白領域に関する情報を取得する。本実施形態では、印刷データは、オブジェクトを有する文書である。オブジェクトは、例えば、文字列や画像等である。空白領域検出部11は、記憶装置104に予め記憶された印刷データ、又はCPU102がLAN118及び通信インタフェース107を介して外部装置から受信した印刷データについて、空白領域の検出処理を実行する。空白領域検出部11は、例えば、文書に含まれる所定の大きさ以上の空白部分と、各々のオブジェクト間の余白の領域とを上記空白領域として検出する。   FIG. 1B illustrates an example of a functional block diagram of the information processing apparatus according to the first embodiment. Note that these functions may be provided by an application or a printer driver. As illustrated in FIG. 1B, the information processing apparatus 1 includes a blank area detection unit 11, a blocking unit 12, an interval processing unit 13, an output setting acquisition unit 14, a page number setting unit 15, an output unit 16, and a block. An editing unit 17 is provided. The blank area detection unit 11 detects a blank area included in the print data and acquires information regarding the blank area. In the present embodiment, the print data is a document having an object. The object is, for example, a character string or an image. The blank area detection unit 11 performs blank area detection processing on print data stored in advance in the storage device 104 or print data received by the CPU 102 from an external device via the LAN 118 and the communication interface 107. The blank area detection unit 11 detects, for example, a blank part having a predetermined size or more included in a document and a blank area between each object as the blank area.

ブロック化部12は、空白領域検出部11によって取得された空白領域に関する情報に基づいて、オブジェクトをブロック化して1又は複数のブロックを生成する。具体的には、ブロック化部12は、空白領域に関する情報に含まれる各々のオブジェクト間の余白の情報に基づいて、所定の基準を用いてオブジェクトをブロック化する。ブロック化部12は、例えば、余白の大きさが所定の大きさ以上の箇所でオブジェクトを区切ることによって、オブジェクトをブロック化する。また、ブロック化部12は、生成されたブロックの上記文書における位置情報を含む位置管理情報をメモリ103に記憶する。上記ブロックの文書における位置情報は、例えば、ブロックが元原稿(間締め処理前の文書)において配置されているページ(元ページ)を示すページ番号(以下、ブロックの元ページ番号と記述)である。すなわち、ブロック化部12及びメモリ103は、文書に含まれるオブジェクトをブロック化して1又は複数のブロックを生成し、生成されたブロックの上記文書における位置情報を記憶する記憶手段として機能する。   Based on the information regarding the blank area acquired by the blank area detection unit 11, the blocking unit 12 blocks the object to generate one or a plurality of blocks. Specifically, the blocking unit 12 blocks the object using a predetermined criterion based on the margin information between the objects included in the information regarding the blank area. For example, the blocking unit 12 blocks the object by dividing the object at a portion where the size of the margin is equal to or larger than a predetermined size. Further, the blocking unit 12 stores location management information including location information of the generated block in the document in the memory 103. The position information in the document of the block is, for example, a page number (hereinafter referred to as the original page number of the block) indicating the page (original page) in which the block is arranged in the original document (document before the thinning process). . That is, the block forming unit 12 and the memory 103 function as a storage unit that generates one or a plurality of blocks by blocking an object included in a document and stores position information of the generated block in the document.

間締め処理部13は、上記文書についてブロック間の空白を詰める間締め処理を実行する間締め処理手段として機能する。例えば、間締め処理部13は、空白領域検出部11が取得した空白領域に関する情報とブロックの大きさとに基づいて、ブロック間の空白を詰める。出力設定取得部14は、文書の出力設定に関する出力設定情報を取得する取得手段として機能する。出力設定取得部14は、例えば、文書の印刷設定情報を取得する。   The thinning processing unit 13 functions as a thinning processing unit that executes a thinning process for filling the space between blocks in the document. For example, the thinning processing unit 13 packs the spaces between the blocks based on the information regarding the blank region acquired by the blank region detection unit 11 and the size of the block. The output setting acquisition unit 14 functions as an acquisition unit that acquires output setting information related to document output settings. For example, the output setting acquisition unit 14 acquires print setting information of a document.

ページ番号設定部15は、位置管理情報に基づいて、間締め処理された文書の出力時に該文書に含まれるブロックに対応づけて表示される、該ブロックの間締め処理される前の文書における位置情報を決定する。具体的には、ページ番号設定部15は、ブロック毎に、該ブロックの元ページ番号をテキストオブジェクトとして印刷データに追加して、出力部16に渡す。   Based on the position management information, the page number setting unit 15 displays the position in the document before the block-squeezing process, which is displayed in association with the block included in the document when the document subjected to the slimming-down process is output. Determine information. Specifically, for each block, the page number setting unit 15 adds the original page number of the block as a text object to the print data and passes it to the output unit 16.

出力部16は、出力手段として機能し、ページ番号設定部15から渡された印刷データを出力設定取得部14によって取得された出力設定情報に従って出力(印刷又は表示)する。すなわち、ページ番号設定部15及び出力部16は、記憶手段に記憶された位置情報に基づいて、間締めされた文書の出力時に上記文書に含まれるブロックに対応づけて、上記間締め処理が実行される前の文書における位置情報を出力する出力手段として機能する。なお印刷時においては、出力部16は、図1(A)に示すプリンタ117に指示して、印刷データに基づく印刷ジョブを出力する。これにより、間締め処理された文書が出力される。出力部16は、間締め処理された文書の出力時に、該文書に含まれるブロックに対応づけて、ページ番号設定部15によって決定された位置情報(例えば、ブロックの元ページ番号)を表示する。ブロック編集部17は、ユーザの操作入力に従って、ブロックを編集するブロック編集手段として機能する。例えば、ブロック編集部17は、ブロックの編集によって複数のブロックを一つのブロックに結合する。また、例えば、ブロック編集部17は、ブロックの編集によってブロックを複数のブロックに分割する。   The output unit 16 functions as an output unit, and outputs (prints or displays) the print data transferred from the page number setting unit 15 according to the output setting information acquired by the output setting acquisition unit 14. That is, the page number setting unit 15 and the output unit 16 execute the above-described thinning process in association with the blocks included in the document when outputting the thinned document based on the position information stored in the storage unit. It functions as output means for outputting position information in the document before being processed. During printing, the output unit 16 instructs the printer 117 shown in FIG. 1A to output a print job based on the print data. As a result, the document subjected to the thinning process is output. The output unit 16 displays the positional information (for example, the original page number of the block) determined by the page number setting unit 15 in association with the block included in the document when the document subjected to the narrowing process is output. The block editing unit 17 functions as block editing means for editing a block in accordance with a user operation input. For example, the block editing unit 17 combines a plurality of blocks into one block by editing the blocks. Further, for example, the block editing unit 17 divides the block into a plurality of blocks by editing the block.

図1(B)に示す情報処理装置1が備える各処理部の機能は、情報処理装置1が備えるCPU102が、記憶装置104に記憶されたコンピュータプログラムを実行することによって実現される。また、後述する他の実施形態の情報処理装置のハードウェア構成、機能ブロック図は、それぞれ、図1(A)に示すハードウェア構成、図1(B)に示す機能ブロック図と同様である。   The functions of the processing units included in the information processing apparatus 1 illustrated in FIG. 1B are realized by the CPU 102 included in the information processing apparatus 1 executing a computer program stored in the storage device 104. A hardware configuration and a functional block diagram of an information processing apparatus according to another embodiment to be described later are the same as the hardware configuration illustrated in FIG. 1A and the functional block diagram illustrated in FIG.

図2は、文書に含まれるオブジェクトを説明する図である。図2(A)は、間締め処理の対象となる文書と、この文書に含まれるオブジェクトを示す。図2(A)には、テキストオブジェクト201、テキストオブジェクト201の矩形202が含まれる。オブジェクトの単位はドキュメントフォーマットによって様々である。本実施形態の情報処理装置1は、例えば、1行単位でオブジェクト化されるPortable Document Format(以下PDFと記述)の文書を間締め処理する。なお、オブジェクトの矩形に関しては、ドキュメントフォーマットによって扱い方が異なる。フォントの高さと幅を用いて矩形を表すものもあれば、文字を囲うものもある。また、図2(A)は、画像オブジェクト203、画像オブジェクト203の矩形204を含む。   FIG. 2 is a diagram for explaining the objects included in the document. FIG. 2A shows a document to be subjected to the thinning process and objects included in the document. FIG. 2A includes a text object 201 and a rectangle 202 of the text object 201. The unit of the object varies depending on the document format. The information processing apparatus 1 according to the present embodiment performs, for example, a thinning process on a Portable Document Format (hereinafter referred to as PDF) document that is converted into an object in units of lines. Note that the object rectangle is handled differently depending on the document format. Some use a font height and width to represent a rectangle, others enclose a character. Further, FIG. 2A includes an image object 203 and a rectangle 204 of the image object 203.

図2(B)は、文書上におけるオブジェクトの配置を示す。図2(B)は、文書のページ上の座標軸310と座標軸上に配置されたオブジェクト311を示す。図2(C)はオブジェクト311に関するオブジェクト情報320である。オブジェクト311は、左上座標323と右下座標324で位置が指定される。オブジェクト情報320はオブジェクトを一意に識別するID321、オブジェクトの種類322、オブジェクト固有の情報(固有情報)325を含む。オブジェクトの種類として、例えば、画像、テキスト、線、長方形、円等の図形がある。固有情報325は、オブジェクトの種類や個々のオブジェクトに応じて、異なった情報を保持することが可能である。   FIG. 2B shows the arrangement of objects on the document. FIG. 2B shows a coordinate axis 310 on the document page and an object 311 arranged on the coordinate axis. FIG. 2C shows object information 320 regarding the object 311. The position of the object 311 is designated by an upper left coordinate 323 and a lower right coordinate 324. The object information 320 includes an ID 321 that uniquely identifies the object, an object type 322, and object-specific information (unique information) 325. Examples of object types include graphics such as images, text, lines, rectangles, and circles. The unique information 325 can hold different information depending on the type of object and individual objects.

図3は、位置管理情報のデータ構造の例を示す図である。位置管理情報は、ブロック情報1100とオブジェクト情報1110とを含む。位置管理情報は、ブロック(のID)に対応付けられて記憶手段に記憶される。すなわち、位置管理情報は、ブロック毎に設けられる。ブロック情報1100は、文書に含まれるブロックに関する情報である。ブロック情報1100は、ElementList1101、Rect1102、元ページ情報1103を含む。ElementList1101は、ブロック情報1100に対応するブロックに含まれるオブジェクトの配列情報である。Rect1102は、ブロックの位置情報である。1103は、元ページ情報である。元ページ情報1103は、ブロックの間締め処理される前の文書における位置情報である。元ページ情報1103は、例えばブロックの元ページ番号を含む。   FIG. 3 is a diagram illustrating an example of a data structure of location management information. The location management information includes block information 1100 and object information 1110. The location management information is stored in the storage means in association with the block (ID). That is, the location management information is provided for each block. Block information 1100 is information relating to blocks included in the document. The block information 1100 includes ElementList 1101, Rect 1102, and original page information 1103. ElementList 1101 is array information of objects included in a block corresponding to the block information 1100. Rect 1102 is block position information. 1103 is original page information. The original page information 1103 is position information in the document before the block reduction process. The original page information 1103 includes, for example, the original page number of the block.

オブジェクト情報1110は、ブロック情報1100に対応するブロックに含まれるオブジェクトに関する情報である。オブジェクト情報1110は、UINTtype1111、Rect1112、元ページ情報1113を含む。UINTtype1111は、オブジェクト情報1110に対応するオブジェクトの種別である。UINTtype1111は、図2(C)中の種別322に対応する。Rect1112は、オブジェクトの位置情報であり、図2(C)中の左上座標323と右下座標324とに対応する。元ページ情報1113はオブジェクトの間締め処理される前の文書における位置情報である。元ページ情報113は、例えば、オブジェクトが元原稿(間締め処理前の文書)において配置されているページを示すページ番号(以下、オブジェクトの元ページ番号と記述)を含む。情報処理装置1が備えるブロック化部12は、オブジェクトをブロック化したときに、元ページ情報1103、1113に情報を設定する。   The object information 1110 is information related to the object included in the block corresponding to the block information 1100. The object information 1110 includes UINTtype 1111, Rect 1112, and original page information 1113. UINTtype 1111 is a type of an object corresponding to the object information 1110. UINTtype 1111 corresponds to the type 322 in FIG. Rect 1112 is object position information and corresponds to the upper left coordinate 323 and the lower right coordinate 324 in FIG. The original page information 1113 is position information in the document before the object is subjected to the process of slimming. The original page information 113 includes, for example, a page number (hereinafter referred to as the original page number of the object) indicating the page where the object is arranged in the original document (document before the thinning process). The blocking unit 12 included in the information processing apparatus 1 sets information in the original page information 1103 and 1113 when the object is blocked.

図4は、情報処理装置が実行するブロック化と間締め処理とを説明する図である。図4(A)は、情報処理装置1が備えるブロック化部12が実行するオブジェクトのブロック化を示す。図4(A)において、文書の任意のページ410に対してブロック化が実行されると、ページ410からページ420が生成される。ブロック化部12は、オブジェクト間の余白に関する情報や文書中の空白部分の大きさに基づいて、ページ410内のオブジェクトをブロック421、ブロック422、ブロック423という3つのブロックにブロック化する。なお、オブジェクトをブロック化するロジックには様々な方法が提案されており、ドキュメントフォーマットによっても異なる。   FIG. 4 is a diagram for explaining blocking and thinning processing executed by the information processing apparatus. FIG. 4A illustrates object blocking performed by the blocking unit 12 included in the information processing apparatus 1. In FIG. 4A, when blocking is performed on an arbitrary page 410 of the document, a page 420 is generated from the page 410. The blocking unit 12 blocks the objects in the page 410 into three blocks, a block 421, a block 422, and a block 423, based on the information about the margin between objects and the size of the blank portion in the document. Various methods have been proposed for logic to block an object, and differ depending on the document format.

図4(B)は、情報処理装置1が備える間締め処理部13が実行する間締め処理を示す。図4(B)は、文書がページ510と、ページ510の次ページであるページ520を含むことを示す。ページ510は、他のブロックを配置可能な空白領域511を含む。なお、ブロック間の間隔や用紙のマージン領域は予め決められているものとする。ページ520は、3つのブロック521、522、523を含む。矢印531、532は、間締め処理部13がブロック521を空白領域511へ配置しようとした場合の、ブロック521の上辺と底辺の位置を示す。   FIG. 4B shows a thinning process executed by the thinning processing unit 13 included in the information processing apparatus 1. FIG. 4B shows that the document includes a page 510 and a page 520 that is the next page of the page 510. The page 510 includes a blank area 511 in which other blocks can be arranged. It is assumed that the interval between blocks and the margin area of the paper are determined in advance. The page 520 includes three blocks 521, 522, and 523. Arrows 531 and 532 indicate the positions of the upper side and the lower side of the block 521 in a case where the thinning processing unit 13 attempts to place the block 521 in the blank area 511.

間締め処理部13が、空白領域511にブロック521を配置可能であると判断した場合、間締め処理部13が間締め処理を行う。これにより、ブロック521が空白領域511に移動する。また、ブロック522、523がページ520における上方に順次移動する。間締め処理部13が、空白領域511にブロック521を格納可能でないと判断した場合、間締め処理部13は間締め処理を行わない。   When the thinning processing unit 13 determines that the block 521 can be arranged in the blank area 511, the thinning processing unit 13 performs the thinning process. As a result, the block 521 moves to the blank area 511. Also, the blocks 522 and 523 move sequentially upward on the page 520. When the thinning process unit 13 determines that the block 521 cannot be stored in the blank area 511, the thinning process unit 13 does not perform the thinning process.

次に、図5及び図6を参照して、印刷対象の文書に含まれるブロックの元ページ番号の表示について説明する。図5は、ブロック化部の処理を説明する図である。図5(A)は、オブジェクトがブロック化される前の文書のページを示す。図5(A)中の700は間締め処理前の文書の7ページ目と8ページ目とを示す。図5(B)は、ブロック化部12が図5(A)に示す文書に含まれるオブジェクトのブロック化を行った後の状態を示す。図5(A)に示すページ700は、ブロック化によってブロック801乃至806の6ブロックに分割される。ブロック化部12は、ブロック化を行うとともに、ブロック化によって生成されたブロックに対応するブロック情報(図3を参照)に、このブロックの元ページ情報を設定する。図5(A)に示す各々のブロック内に記述された番号は、ブロックの元ページ情報を示す。例えば、ブロック801に対応するブロック情報に、7ページの1番目のブロックという元ページ情報が格納される。   Next, the display of the original page number of the block included in the document to be printed will be described with reference to FIGS. FIG. 5 is a diagram for explaining the processing of the blocking unit. FIG. 5A shows the page of the document before the object is blocked. Reference numeral 700 in FIG. 5A indicates the seventh and eighth pages of the document before the thinning process. FIG. 5B shows a state after the blocking unit 12 blocks objects included in the document shown in FIG. A page 700 shown in FIG. 5A is divided into six blocks 801 to 806 by blocking. The blocking unit 12 performs blocking, and sets the original page information of this block in block information (see FIG. 3) corresponding to the block generated by blocking. The number described in each block shown in FIG. 5A indicates the original page information of the block. For example, original page information of the first block of page 7 is stored in the block information corresponding to the block 801.

図6は、間締め処理とブロックの元ページ番号の表示を説明する図である。図6(A)は、間締め処理された後の文書のページの例を示す。この例では、間締め処理部13が図5(B)のページを含む文書に対して間締め処理を実行した場合を想定する。図6(A)は、間締め処理後の文書の3ページ目900と4ページ目とを示す。間締め処理前に文書の7ページ目と8ページ目にあったブロック802乃至806(図5(B)を参照)は、間締め処理された結果、図6(A)に示すように、3ページ目と4ページ目に移動している。ブロック801(図5(B)を参照)は3ページ目よりも前に移動した。また、ブロック901は、8ページ目より後のページから4ページ目に移動している。   FIG. 6 is a diagram for explaining the thinning process and the display of the original page number of the block. FIG. 6A shows an example of a document page after the thinning process. In this example, it is assumed that the thinning processing unit 13 performs the thinning process on a document including the page of FIG. FIG. 6A shows the third page 900 and the fourth page of the document after the thinning process. Blocks 802 to 806 (see FIG. 5B) on the 7th and 8th pages of the document before the thinning process are processed as shown in FIG. Moved to page 4 and page 4. Block 801 (see FIG. 5B) has moved before the third page. Also, the block 901 has moved from the page after the eighth page to the fourth page.

図6(B)はブロックの元ページ番号の表示例を示す。ページ番号設定部15は、例えば図6(A)に示す各々のブロックに対応するブロック情報を取得する。具体的には、ページ番号設定部15は、所定の記憶手段からブロックに対応する位置管理情報を抽出し、抽出した位置管理情報に含まれるブロック情報を取得する。ページ番号設定部15は、取得したブロック情報に含まれる元ページ情報に基づいて、ブロックに対応付けるブロックの元ページ番号を決定する。そして、出力部16が、文書の出力時に、ブロックに対応付けて、上記決定されたブロックの元ページ番号を表示する。図6(B)に示す例では、出力部16は、各々のブロックの右下にブロックの元ページ番号を表示する。なお、元ページ番号の表示位置は、ブロックの右下に限定されるものではなく、ブロックに対応付けられる任意の位置であればよい。   FIG. 6B shows a display example of the original page number of the block. For example, the page number setting unit 15 acquires block information corresponding to each block shown in FIG. Specifically, the page number setting unit 15 extracts position management information corresponding to a block from a predetermined storage unit, and acquires block information included in the extracted position management information. The page number setting unit 15 determines the original page number of the block associated with the block based on the original page information included in the acquired block information. Then, the output unit 16 displays the original page number of the determined block in association with the block when the document is output. In the example shown in FIG. 6B, the output unit 16 displays the original page number of the block at the lower right of each block. Note that the display position of the original page number is not limited to the lower right of the block, and may be any position associated with the block.

図7は、情報処理装置が実行する間締め処理フローの例を示す図である。ブロック化部12が、文書を1ページ目から順に参照して(ステップS1)、ページに含まれるオブジェクトのブロック化を行う(ステップS2)。また、ブロック化部12が、オブジェクトのブロック化を行った際に、ブロックを順に参照し(ステップS3)、ブロックに対応するブロック情報に元ページ情報を設定する(ステップS4)。続いて、ブロック化部12が、ブロックに含まれるオブジェクトを順に参照し(ステップS5)、このオブジェクトに対応するオブジェクト情報に元ページ情報を設定する(ステップS6)。なお、オブジェクト情報に予め元ページ情報が設定されている場合がある。その場合には、上記ステップS5及びS6の処理は行われない。ブロックの元ページ情報とオブジェクトの元ページ情報が設定された後、間締め処理部13がブロックの間締め処理を実行する(ステップS7)。   FIG. 7 is a diagram illustrating an example of a flow-off process flow executed by the information processing apparatus. The blocking unit 12 refers to the document in order from the first page (step S1), and blocks the objects included in the page (step S2). Further, when the blocking unit 12 blocks the object, the block is sequentially referred to (step S3), and the original page information is set in the block information corresponding to the block (step S4). Subsequently, the blocking unit 12 sequentially refers to the objects included in the block (step S5), and sets the original page information in the object information corresponding to this object (step S6). Note that original page information may be set in advance in the object information. In that case, the processes of steps S5 and S6 are not performed. After the original page information of the block and the original page information of the object are set, the thinning processing unit 13 executes the block thinning process (step S7).

図8は、表示対象とする元ページ番号の決定処理フローを示す図である。元ページ番号設定部15が、予め決められた元ページ番号の表示位置を示す情報(表示位置情報)を取得する(ステップS12)。例えば、ブロックの右下の位置を示す情報を元ページ番号の表示位置情報として取得する。続いて、元ページ番号設定部15が、ページとブロックを順に参照する(ステップS12、S13)。元ページ番号設定部15が、記憶手段から処理対象のブロックに対応する位置管理情報を抽出し、この位置管理情報に含まれるブロック情報に設定された元ページ情報を取得する(ステップS14)。そして、元ページ番号設定部15が、ページに含まれる各々のブロックに対応付けて表示される元ページ番号を決定する(ステップS15)。ステップS15においては、元ページ番号設定部15は、ブロック上の上記表示位置情報が示す表示位置に元ページ番号が設定されたテキストオブジェクトを印刷データに設定する。出力部16が、このテキストオブジェクトが設定された印刷データを出力することによって、例えば、ブロックの右下にこのブロックに対応する元ページ番号が表示される。本実施形態の情報処理装置は、文書の出力時にブロックの元ページ番号を表示するので、文書の間締め処理によってブロックが配置されるページが変わった場合にも、ブロックの元々のページ位置を確認することが可能となる。   FIG. 8 is a diagram showing a process flow for determining the original page number to be displayed. The original page number setting unit 15 acquires information (display position information) indicating a display position of a predetermined original page number (step S12). For example, information indicating the lower right position of the block is acquired as display position information of the original page number. Subsequently, the original page number setting unit 15 sequentially refers to the page and the block (steps S12 and S13). The original page number setting unit 15 extracts the position management information corresponding to the processing target block from the storage unit, and acquires the original page information set in the block information included in the position management information (step S14). Then, the original page number setting unit 15 determines the original page number displayed in association with each block included in the page (step S15). In step S15, the original page number setting unit 15 sets, in the print data, a text object in which the original page number is set at the display position indicated by the display position information on the block. When the output unit 16 outputs the print data in which the text object is set, for example, the original page number corresponding to the block is displayed at the lower right of the block. Since the information processing apparatus according to the present embodiment displays the original page number of the block when outputting the document, the original page position of the block can be confirmed even when the page on which the block is arranged is changed by the document deadline processing. It becomes possible to do.

図9は、第2の実施形態を説明する図である。第2の実施形態では、位置管理情報に含まれるブロック情報に設定された元ページ情報が、元ページにおいてブロックが配置された領域に関する情報も含む。そして、本実施形態の出力手段(ページ番号設定部15及び出力部16)が、上記元ページにおいてブロックが配置された領域に関する情報を、間締め処理された文書の出力時に該文書に含まれるブロックに対応づけて表示する。本実施形態における、元ページにおいてブロックが配置された領域に関する情報の表示処理は、他の実施形態に適用することができる。   FIG. 9 is a diagram for explaining the second embodiment. In the second embodiment, the original page information set in the block information included in the position management information also includes information regarding the area where the block is arranged on the original page. Then, the output unit (page number setting unit 15 and output unit 16) of the present embodiment uses the block included in the document at the time of outputting the information on the area where the block is arranged on the original page to which the thinned-out document is output. Display in association with. The information display processing related to the area where the block is arranged in the original page in the present embodiment can be applied to other embodiments.

具体的には、情報処理装置1のブロック化部12が、文書に含まれるオブジェクトをブロック化したときに、図9(A)、(B)に示すように、この文書のページを複数の領域(例えば上、中、下の3つの領域)に分割する。図9(A)、(B)に示す例では、ブロック化部12は、各々のページの領域からヘッダ部とフッタ部の領域を除外した領域を3つの領域に分割する。例えば、上の領域は、ページの分割によって得られる3つの領域のうち、最も上方に位置する領域である。下の領域は、最も下方に位置する領域である。中の領域は、上の領域と下の領域との間に位置する領域である。ブロック化部12が、ページに含まれるブロックが上、中、下のどの領域に位置していたかを判断し、判断結果を含む情報を元ページ情報としてブロック情報に設定する。   Specifically, when the blocking unit 12 of the information processing apparatus 1 blocks an object included in a document, a page of this document is divided into a plurality of areas as shown in FIGS. (For example, the upper, middle, and lower three regions). In the example shown in FIGS. 9A and 9B, the blocking unit 12 divides the area obtained by excluding the header and footer areas from the areas of each page into three areas. For example, the upper area is the uppermost area among the three areas obtained by dividing the page. The lower area is the area located at the lowest position. The middle region is a region located between the upper region and the lower region. The blocking unit 12 determines whether the block included in the page is located in the upper, middle, or lower region, and sets information including the determination result as the original page information in the block information.

図9(A)、(B)中に示すブロック1201、1301は、間締め処理前のページにおけるブロックを示す。ブロック1201、1301は、それぞれ8ページ目に配置されているものとする。ページはヘッダとフッタを除いて上、中、下に3分割されている。図9(A)に示すように、ブロック1201は全ての領域がページの上の領域に含まれている。従って、ブロック化部12は、ブロック1201のブロック情報内の元ページ情報として、ブロック1201がページの上の領域に位置することを示す情報(例えば、8上等)を設定する。   Blocks 1201 and 1301 shown in FIGS. 9A and 9B indicate blocks on the page before the thinning process. Assume that the blocks 1201 and 1301 are arranged on the eighth page. The page is divided into three parts, upper, middle, and lower, excluding the header and footer. As shown in FIG. 9A, all areas of the block 1201 are included in the area above the page. Therefore, the blocking unit 12 sets information (for example, 8 above) indicating that the block 1201 is located in the area above the page as the original page information in the block information of the block 1201.

一方、図9(B)を参照すると、ブロック1301は、ページの中の領域と下の領域にまたがって配置されている。ブロック化部12は、例えば、領域に含まれるブロック1301の高さが最も大きい領域を、ブロック1301が位置する領域と判断する。ブロックがまたがる2つの領域に含まれる高さが同じ場合は、ブロック化部12は、ブロックが2つの領域のうち、上側の領域に位置すると判断する。従って、図9(B)に示す例では、ブロック化部12は、ブロック1301がページの中の領域に位置すると判断する。そして、ブロック化部12は、ブロック1301に対応するブロック情報内の元ページ情報として、ブロック1301がページの中の領域に位置することを示す情報を設定する。例えば、ブロック化部12は、元ページ情報として、ブロック1301が8ページ目の中の領域に位置することを示す情報である「8中」等を設定する。なお、本実施形態では、ブロック化部12は、領域に含まれるブロックの高さに基づいてブロックが位置するページの領域を判断しているが、ブロック化部12が他の判断方法を用いてブロックが位置する元ページの領域を決定するようにしてもよい。例えば、ブロック化部12が、ブロックの先頭位置が含まれる領域をこのブロックが位置するページの領域と判断するようにしてもよい。   On the other hand, referring to FIG. 9B, the block 1301 is disposed across the area in the page and the area below. For example, the blocking unit 12 determines an area where the height of the block 1301 included in the area is the largest as an area where the block 1301 is located. When the heights included in the two regions spanning the block are the same, the blocking unit 12 determines that the block is located in the upper region of the two regions. Therefore, in the example shown in FIG. 9B, the blocking unit 12 determines that the block 1301 is located in an area in the page. Then, the blocking unit 12 sets information indicating that the block 1301 is located in an area in the page as the original page information in the block information corresponding to the block 1301. For example, the blocking unit 12 sets “middle 8”, which is information indicating that the block 1301 is located in the area in the eighth page, as the original page information. In this embodiment, the blocking unit 12 determines the area of the page where the block is located based on the height of the block included in the area. However, the blocking unit 12 uses another determination method. The area of the original page where the block is located may be determined. For example, the blocking unit 12 may determine that the area including the head position of the block is the area of the page where the block is located.

図9(C)は、第2の実施形態におけるブロックの元ページ情報の表示例を示す。第2の実施の形態では、ブロック情報の元ページ情報内に、ブロックが位置する元ページの領域を示す情報が含まれている。従って、ページ番号設定部15は、この元ページ情報内の、ブロックが位置する元ページの領域に関する情報を取得し、取得した情報を文書の出力時に該文書に含まれるブロックに対応づけて表示される位置情報として決定する。これにより、出力部16は、文書の出力時に、この文書のページに含まれる各々のブロックの元ページ情報を図9(C)に示すように表示する。図9(C)中のページ情報1401乃至1406が、各々のブロックに対応付けて表示される元ページ情報を示す。例えば、元ページ情報1401が示す「7上」は、この元ページ情報に対応するブロックが間締め処理が実行される前において7ページ目の上の領域に位置していたことを示す。元ページ情報1402、1403は、対応するブロックが、間締め処理が実行される前において8ページ目の上の領域に位置していたことを示す。同様に、元ページ情報1404、1405、1406は、対応するブロックがそれぞれ8ページ目の中の領域、8ページ目の下の領域、9ページ目の上の領域に位置していたことを示す。   FIG. 9C shows a display example of the original page information of the block in the second embodiment. In the second embodiment, information indicating the area of the original page where the block is located is included in the original page information of the block information. Accordingly, the page number setting unit 15 acquires information on the area of the original page where the block is located in the original page information, and displays the acquired information in association with the block included in the document when the document is output. Position information. As a result, the output unit 16 displays the original page information of each block included in the page of the document as shown in FIG. 9C when the document is output. Page information 1401 to 1406 in FIG. 9C indicate original page information displayed in association with each block. For example, “above 7” indicated by the original page information 1401 indicates that the block corresponding to the original page information is located in the upper area of the seventh page before the thinning process is executed. The original page information 1402 and 1403 indicate that the corresponding block is located in the area above the eighth page before the thinning process is executed. Similarly, the original page information 1404, 1405, and 1406 indicate that the corresponding blocks are located in the area in the eighth page, the area under the eighth page, and the area in the ninth page, respectively.

図10は、ブロックが位置する元ページの領域の決定処理フローの例を示す図である。まず、ブロック化部12が、ページの分割情報を取得する(ステップS21)。分割情報は、ページの領域をどのように分割するかを定義した情報であり、予め定められている。図9(A)、(B)に示す例では、分割情報は、ページを上、中、下という3つの領域に分割することを示す。ブロック化部12は、分割情報に従ってページを分割し、分割によって得られる各々の領域の位置情報を取得する。そして、ブロック化部12は、分割されるページの領域の数分、以下のステップS23乃至26の処理を繰り返す(ステップS22)。   FIG. 10 is a diagram showing an example of a process flow for determining the area of the original page where the block is located. First, the blocking unit 12 acquires page division information (step S21). The division information is information defining how to divide the page area and is determined in advance. In the example shown in FIGS. 9A and 9B, the division information indicates that the page is divided into three areas, that is, upper, middle, and lower. The blocking unit 12 divides the page according to the division information, and acquires position information of each area obtained by the division. Then, the blocking unit 12 repeats the following steps S23 to S26 for the number of page areas to be divided (step S22).

ブロック化部12が、処理対象の領域(対象領域)の位置情報とブロックの位置情報とを比較する(ステップS23)。ブロック化部12が、対象領域の位置情報とブロックの位置情報との比較結果に基づいて、ブロックの少なくとも一部が対象領域に含まれているかを判断する(ステップS24)。ステップS24においては、ブロック化部12は、更に、ブロックが対象領域に含まれている高さを算出する。ブロック化部12が、ブロックの少なくとも一部が対象領域に含まれていないと判断した場合は、このブロックの位置情報と次の対象領域の位置情報とを比較する。   The blocking unit 12 compares the position information of the area to be processed (target area) with the position information of the block (step S23). The blocking unit 12 determines whether at least a part of the block is included in the target area based on the comparison result between the position information of the target area and the position information of the block (step S24). In step S24, the blocking unit 12 further calculates the height at which the block is included in the target area. When the blocking unit 12 determines that at least a part of the block is not included in the target area, the block information is compared with the position information of the next target area.

ブロック化部12が、ブロックの少なくとも一部が対象領域に含まれていると判断した場合は、ステップS25に進む。ブロック化部12が、現在の対象領域(現対象領域)に含まれるブロックの高さが、所定のバッファ内に設定されたブロックの高さの最大値(バッファ設定値)より大きいかを判断する(ステップS25)。バッファ設定値は、現対象領域より前に比較対象となった対象領域に含まれるブロックの高さの最大値である。現対象領域に含まれるブロックの高さがバッファ設定値より大きくない場合は、ブロック化部12が、このブロックの位置情報と次の対象領域の位置情報とを比較する。現対象領域に含まれるブロックの高さがバッファ設定値より大きい場合は、ブロック化部12は、現対象領域に含まれるブロックの高さの値をバッファ設定値とし、現対象領域に対応づけてバッファに設定する(ステップS26)。これにより、バッファ内のバッファ設定値が更新される。対象領域の位置情報とブロックの位置情報との比較が終了した場合、ブロック化部12は、以下の処理を実行する。すなわち、ブロック化部12は、上記バッファ内のバッファ設定値に対応づけられた領域を確認する。この確認された領域が、処理対象のブロックが位置する元ページの領域である。そして、ブロック化部12は、処理対象のブロックに対応するブロック情報内の元ページ情報として、上記確認された領域に関する情報を設定する(ステップS27)。例えば、上記確認された領域が8ページ目の上の領域である場合、ブロック化部12は、元ページ情報として8ページ目の上の領域を示す情報を設定する。出力部16は、文書の出力時に、ブロック情報内の元ページ情報に設定された、ブロックが位置する元ページの領域に関する情報を含む情報を表示対象とする。従って、第2の実施形態によれば、出力される文書のページに含まれるブロックが元々どのページのどの領域に位置していたのかを表示することが可能となる。   When the blocking unit 12 determines that at least a part of the block is included in the target area, the process proceeds to step S25. The blocking unit 12 determines whether the height of a block included in the current target area (current target area) is larger than the maximum block height (buffer setting value) set in a predetermined buffer. (Step S25). The buffer setting value is the maximum value of the heights of the blocks included in the target area that has been compared before the current target area. When the height of the block included in the current target area is not larger than the buffer setting value, the blocking unit 12 compares the position information of this block with the position information of the next target area. When the height of the block included in the current target area is larger than the buffer setting value, the blocking unit 12 sets the block height value included in the current target area as the buffer setting value and associates it with the current target area. The buffer is set (step S26). Thereby, the buffer setting value in the buffer is updated. When the comparison between the position information of the target area and the position information of the block is completed, the blocking unit 12 executes the following processing. That is, the blocking unit 12 confirms an area associated with the buffer setting value in the buffer. This confirmed area is the area of the original page where the block to be processed is located. Then, the blocking unit 12 sets information regarding the confirmed area as original page information in the block information corresponding to the block to be processed (step S27). For example, when the confirmed area is an area above the eighth page, the blocking unit 12 sets information indicating the area above the eighth page as the original page information. The output unit 16 displays information including information on the area of the original page where the block is set, which is set in the original page information in the block information when the document is output. Therefore, according to the second embodiment, it is possible to display in which area of which page the block included in the page of the output document was originally located.

図11は、第3の実施形態を説明する図である。第3の実施形態では、ページ番号設定部15が、記憶手段(メモリ103)に記憶された位置管理情報に基づいて、間締め処理された文書に含まれるブロックの元ページ番号を取得する。そして、ページ番号設定部15が、印刷設定取得部14によって取得された出力設定情報である印刷設定情報に基づいて、取得された元ページ番号のうち、ブロックに対応づけて表示される元ページ番号を決定する。出力部16は、ページ番号設定部15が決定した元ページ番号を表示する。これにより、ページ番号設定部15が取得した元ページ番号のうち、ブロックに対応づけて表示される元ページ番号以外の元ページ番号については、その表示が省略される。   FIG. 11 is a diagram for explaining the third embodiment. In the third embodiment, the page number setting unit 15 acquires the original page number of the block included in the document subjected to the thinning process based on the position management information stored in the storage unit (memory 103). Then, based on the print setting information which is the output setting information acquired by the print setting acquisition unit 14, the page number setting unit 15 displays the original page number displayed in association with the block among the acquired original page numbers. To decide. The output unit 16 displays the original page number determined by the page number setting unit 15. As a result, among the original page numbers acquired by the page number setting unit 15, the display of the original page numbers other than the original page numbers displayed in association with the blocks is omitted.

図11(A)は、第3の実施形態におけるブロックの元ページ番号の表示例を示す。この例では、印刷設定取得部14が取得する印刷設定情報が、文書を1in1で印刷することを示すものとする。1in1で印刷することは1ページを1枚の用紙の面に印刷することである。ページ番号設定部15は、この印刷設定情報を印刷設定取得部14から受けとり、以下のように表示対象の元ページ番号を決定する。ページ番号設定部15が、位置管理情報に含まれるブロック情報に設定された元ページ情報を参照し、元ページ情報に含まれるブロックの元ページ番号を取得する。そして、ページ番号設定部15が、同じ元ページ番号に対応する複数のブロックが存在するかを判断し、同じ元ページ番号に対応する複数のブロックが存在する場合は、各々のページにおける最初(先頭)のブロックに対応する元ページ番号を表示対象とする。例えば、前述した図6(B)中に示す元ページ番号に対応するブロックの中に、元ページ番号「8」に対応する複数のブロックが存在する。従って、ページ番号設定部15は、図6(B)中の同一の元ページ番号1002乃至1005のうち、各々のページにおける先頭のブロックに対応する、元ページ番号1002、1005を表示対象とする。その結果、図11(A)に示すように、出力部16は、元ページ番号「8」については、ページ番号1002、1005にて表示し、図6(B)中の元ページ番号1003、1004を省略する。その結果、同一ページにおいて同じ元ページ番号の繰り返しが、防止される。   FIG. 11A shows a display example of the original page number of a block in the third embodiment. In this example, it is assumed that the print setting information acquired by the print setting acquisition unit 14 indicates that the document is printed in 1in1. Printing with 1 in 1 means printing one page on the surface of one sheet. The page number setting unit 15 receives the print setting information from the print setting acquisition unit 14 and determines the original page number to be displayed as follows. The page number setting unit 15 refers to the original page information set in the block information included in the position management information, and acquires the original page number of the block included in the original page information. Then, the page number setting unit 15 determines whether there are a plurality of blocks corresponding to the same original page number, and when there are a plurality of blocks corresponding to the same original page number, the first (first head) in each page The original page number corresponding to the block of) is to be displayed. For example, among the blocks corresponding to the original page number shown in FIG. 6B described above, there are a plurality of blocks corresponding to the original page number “8”. Therefore, the page number setting unit 15 displays the original page numbers 1002 and 1005 corresponding to the first block in each page among the same original page numbers 1002 to 1005 in FIG. 6B. As a result, as shown in FIG. 11A, the output unit 16 displays the original page number “8” as page numbers 1002 and 1005, and the original page numbers 1003 and 1004 in FIG. 6B. Is omitted. As a result, repetition of the same original page number in the same page is prevented.

図11(B)は第3の実施形態におけるブロックの元ページ番号の他の表示例を示す。この例では、印刷設定取得部14が取得する印刷設定情報が、1枚の用紙の面に複数のページを配置することを示す情報を含む。例えば、印刷設定情報が、文書をNin1で印刷することを示すものとする。Nin1での印刷は、1枚の用紙の面にNページを印刷することである。   FIG. 11B shows another display example of the original page number of the block in the third embodiment. In this example, the print setting information acquired by the print setting acquisition unit 14 includes information indicating that a plurality of pages are arranged on the surface of one sheet. For example, it is assumed that the print setting information indicates that the document is printed with Nin1. Printing with Nin1 is printing N pages on the surface of one sheet.

この例では、ページ番号設定部15は、同じ元ページ番号に対応するブロックが複数存在する場合は、同一の紙面の先頭ブロックに対応する元ページ番号を表示対象とする。つまり、本実施形態の出力手段は、印刷設定情報に用紙の面に複数のページを配置することを示す情報が含まれ、かつ、間締め処理が実行された後の文書の印刷結果として同一用紙の面に配置された複数のブロックの位置情報が同じである場合、以下の処理を行う。出力手段は、複数のブロックにおいて先頭のブロックについて位置情報を表示し、上記複数のブロックにおけるその他のブロックについては位置情報を表示しない。例えば、ページ番号設定部15は、図6(B)中の同一の元ページ番号1002乃至1005のうち、図11(B)に示す1枚の用紙の面における先頭のブロックに対応する、元ページ番号1002を表示対象とする。その結果、図11(B)に示すように、出力部16は、元ページ番号「8」については、ページ番号1002を表示し、図6(B)中の元ページ番号1003乃至1005の表示を省略する。すなわち、出力手段として機能するページ番号設定部15及び出力部16は、間締め処理が実行された後の文書の同一ページに配置された複数のブロックの位置情報が同じである場合、上記複数のブロックにおいて先頭のブロックについて上記位置情報を表示する。出力手段は、複数のブロックにおけるその他のブロックについては位置情報を表示しない。その結果、印刷結果として同一用紙の面において同じ元ページ番号の繰返しが、防止される。   In this example, when there are a plurality of blocks corresponding to the same original page number, the page number setting unit 15 displays the original page number corresponding to the first block on the same sheet as the display target. That is, the output unit of the present embodiment includes information indicating that a plurality of pages are arranged on the surface of the sheet in the print setting information, and the same sheet as the print result of the document after the thinning process is executed. When the position information of the plurality of blocks arranged on the surface is the same, the following processing is performed. The output means displays position information for the first block in the plurality of blocks, and does not display position information for the other blocks in the plurality of blocks. For example, the page number setting unit 15 selects the original page corresponding to the first block on the surface of one sheet shown in FIG. 11B among the same original page numbers 1002 to 1005 in FIG. The number 1002 is the display target. As a result, as shown in FIG. 11B, the output unit 16 displays the page number 1002 for the original page number “8”, and displays the original page numbers 1003 to 1005 in FIG. 6B. Omitted. In other words, the page number setting unit 15 and the output unit 16 functioning as output means have the above plurality of pieces of information when the position information of the plurality of blocks arranged on the same page of the document after the thinning process is the same. The position information is displayed for the first block in the block. The output means does not display position information for other blocks in the plurality of blocks. As a result, repetition of the same original page number on the surface of the same sheet as a printing result is prevented.

図11(C)は第3の実施形態におけるブロックの元ページ番号の他の表示例を示す。この例では、ページ番号設定部15が、印刷設定出力部14が取得した印刷設定情報に基づいて、ブロックの元ページ番号すなわち間締め処理された文書に含まれるブロックの間締め処理される前の文書における位置情報の表示位置を決定する。そして、出力部16が、この元ページ番号を上記決定された表示位置に表示する。この例におけるブロックの位置情報の表示位置の表示処理は、他の実施形態に適用することができる。印刷設定取得部14が取得する印刷設定情報は、文書を見開き印刷することを示すものとする。以下では、見開き印刷の対象となるページを見開きページと記述する。見開きページでは、綴じ方によっては内側に元ページ番号があると見にくい場合がある。従って、この例においては、ページ番号設定部15は、見開きページに含まれる左側のページについては、ブロックの左下の位置を元ページ番号の表示位置として決定する。また、ページ番号設定部15は、見開きページに含まれる右側のページについては、ブロックの右下の位置を元ページ番号の表示位置として決定する。また、この例においては、ページ番号設定部15は、同じ元ページ番号に対応するブロックが複数存在する場合は、同一の紙面の先頭ブロックに対応する元ページ番号を表示対象として決定する。出力部16は、表示対象として決定された元ページ番号を対応する表示位置に表示する。その結果、図11(C)に示す元ページ番号1501、1502がブロックの左下の位置に表示され、元ページ番号1503がブロックの右下の位置に表示される。なお、出力部16が、元ページ番号の表示を省略することなく、印刷対象の文書に含まれるブロックの全ての元ページ番号を、対応する表示位置に表示してもよい。   FIG. 11C shows another display example of the original page number of the block in the third embodiment. In this example, the page number setting unit 15 is based on the print setting information acquired by the print setting output unit 14, and before the block-end process of the block included in the original page number of the block, that is, the block-processed document. The display position of the position information in the document is determined. Then, the output unit 16 displays the original page number at the determined display position. The display processing of the display position of the block position information in this example can be applied to other embodiments. The print setting information acquired by the print setting acquisition unit 14 indicates that the document is spread and printed. Hereinafter, a page to be subjected to spread printing is described as a spread page. In a spread page, depending on how to bind, it may be difficult to see if there is an original page number inside. Therefore, in this example, the page number setting unit 15 determines the lower left position of the block as the display position of the original page number for the left page included in the spread page. Further, the page number setting unit 15 determines the lower right position of the block as the display position of the original page number for the right page included in the spread page. In this example, when there are a plurality of blocks corresponding to the same original page number, the page number setting unit 15 determines the original page number corresponding to the first block on the same sheet as a display target. The output unit 16 displays the original page number determined as the display target at the corresponding display position. As a result, the original page numbers 1501 and 1502 shown in FIG. 11C are displayed at the lower left position of the block, and the original page number 1503 is displayed at the lower right position of the block. Note that the output unit 16 may display all the original page numbers of the blocks included in the document to be printed at the corresponding display position without omitting the display of the original page numbers.

図12は、印刷設定情報に基づく元ページ番号の決定処理フローの例を示す図である。まず、印刷開始時に、出力設定取得部14が印刷設定情報を取得し(ステップS31)、ページ番号設定部15に渡す。ページ番号設定部15が、ページとブロックとを順に参照し(ステップS32、S33)、以下の処理を実行する。ページ番号設定部15が、処理対象のブロック(現ブロック)の元ページ番号と、現ブロックの前に処理対象となったブロック(前ブロック)の元ページ番号とを比較して、現ブロックと前ブロックとが同じ元ページ番号であるかを判断する(ステップS34)。現ブロックと前ブロックとで元ページ番号が異なっている場合、ページ番号設定部15が、現ブロックに対応する元ページ番号を表示対象として決定する(ステップS38)。具体的には、ページ番号設定部15が、元ページ番号が入力されたテキストオブジェクトを印刷データに設定する。   FIG. 12 is a diagram illustrating an example of an original page number determination processing flow based on print setting information. First, at the start of printing, the output setting acquisition unit 14 acquires print setting information (step S31) and passes it to the page number setting unit 15. The page number setting unit 15 sequentially refers to the page and the block (steps S32 and S33), and executes the following processing. The page number setting unit 15 compares the original page number of the block to be processed (current block) with the original page number of the block to be processed before the current block (previous block). It is determined whether the block has the same original page number (step S34). When the original page number is different between the current block and the previous block, the page number setting unit 15 determines the original page number corresponding to the current block as a display target (step S38). Specifically, the page number setting unit 15 sets a text object in which the original page number is input as print data.

現ブロックと前ブロックとが同じ元ページ番号である場合、ページ番号設定部15が、上記ステップS31において取得された印刷設定情報に基づいて、印刷設定を確認する(ステップS35)。印刷設定が1in1である場合、ページ番号設定部15が、現ブロックがページ内で先頭のブロックであるかを判断する(ステップS37)。現ブロックがページ内で先頭のブロックである場合は、ステップS38に進む。現ブロックがページ内で先頭のブロックでない場合は、次のブロックの処理に進む。すなわち、現ブロックがページ内で先頭のブロックでない場合は、現ブロックの元ページ番号は同じ紙面上の前ブロックの元ページ番号と同じであるので、現ブロックに対応する元ページ番号は表示対象とされない。これにより、現ブロックに対応する元ページ番号の表示が省略される。   If the current block and the previous block have the same original page number, the page number setting unit 15 confirms the print setting based on the print setting information acquired in step S31 (step S35). If the print setting is 1 in 1, the page number setting unit 15 determines whether the current block is the first block in the page (step S37). If the current block is the first block in the page, the process proceeds to step S38. If the current block is not the first block in the page, the process proceeds to the next block. That is, when the current block is not the first block in the page, the original page number of the current block is the same as the original page number of the previous block on the same sheet, so the original page number corresponding to the current block is the display target. Not. Thereby, the display of the original page number corresponding to the current block is omitted.

印刷設定が1in1でなく、Nin1である場合、ページ番号設定部15が、現ブロックが用紙の面において先頭のブロックであるかを判断する(ステップS36)。現ブロックが用紙の面において先頭のブロックである場合は、ステップS38に進む。現ブロックが用紙の面において先頭のブロックでない場合は、次のブロックの処理に進む。すなわち、現ブロックが用紙の面において先頭のブロックでない場合は、現ブロックの元ページ番号は同じ用紙の面における前ブロックの元ページ番号と同じであるので、現ブロックに対応する元ページ番号は表示対象とされない。第3の実施形態によれば、ブロック情報に含まれるブロックの元ページ番号のうち、印刷設定情報に基づいて表示対象として決定された元ページ番号以外の元ページ番号の表示を省略することができる。   If the print setting is not 1in1 but Nin1, the page number setting unit 15 determines whether the current block is the first block on the paper surface (step S36). If the current block is the first block on the paper surface, the process proceeds to step S38. If the current block is not the first block on the paper surface, the process proceeds to the next block. That is, if the current block is not the first block on the paper side, the original page number of the current block is the same as the original page number of the previous block on the same paper side, so the original page number corresponding to the current block is displayed. Not targeted. According to the third embodiment, the display of the original page numbers other than the original page number determined as the display target based on the print setting information among the original page numbers of the blocks included in the block information can be omitted. .

図13は、第4の実施形態を説明する図である。第4の実施形態では、出力手段がブロック編集部17を含む。このブロック編集部17が、ユーザの操作に従って、ブロックを編集する。例えば、ブロックを編集することによって複数のブロックが結合された場合、ブロック編集部17は、結合された各々のブロックの結合前における元ページ番号に基づいて、結合後のブロックに対応する位置管理情報を生成して記憶手段に記憶する。具体的には、ブロック編集部17が、結合された複数のブロックの元ページ番号を確認する。結合された複数のブロックの元ページ番号が同じである場合、ブロック編集部17は、結合後の新たなブロックに対応する位置管理情報を生成するとともに、この位置管理情報に含まれるブロック情報の元ページ情報に結合前のブロックの元ページ番号を格納する。これにより、ブロックの結合後も、結合後のブロックと元ページ番号とを対応づけることができる。また、ブロック編集部17は、新たなブロックに含まれるオブジェクトに対応するオブジェクト情報を生成する。ブロック編集部17は、このオブジェクト情報に含まれる元ページ情報に、結合前のブロックに含まれるオブジェクトのオブジェクト情報に格納されていた、オブジェクトの元ページ番号を格納する。   FIG. 13 is a diagram for explaining the fourth embodiment. In the fourth embodiment, the output means includes a block editing unit 17. The block editing unit 17 edits a block in accordance with a user operation. For example, when a plurality of blocks are combined by editing a block, the block editing unit 17 determines the position management information corresponding to the combined block based on the original page number before combining the combined blocks. Is stored in the storage means. Specifically, the block editing unit 17 confirms the original page numbers of the combined blocks. When the original page numbers of the plurality of combined blocks are the same, the block editing unit 17 generates position management information corresponding to the new block after combining, and the source of the block information included in the position management information The original page number of the block before combination is stored in the page information. As a result, even after the blocks are combined, the combined block and the original page number can be associated with each other. Further, the block editing unit 17 generates object information corresponding to the objects included in the new block. The block editing unit 17 stores the original page number of the object stored in the object information of the object included in the block before combining in the original page information included in the object information.

結合された複数のブロックの元ページ番号が同じでない場合、つまり、間締め処理が実行される前において異なるページに配置されていた複数のブロックが結合された場合に、本実施形態の出力手段は以下の処理を行う。すなわち、ブロック編集部17が、結合後の新たなブロックに対応する位置管理情報を生成する。ブロック編集部17が、位置管理情報が含むブロック情報の元ページ情報に、結合後のブロックが、元ページ番号が異なるブロックを結合することにより生成されたブロックであることを示す情報を格納する。また、ブロック編集部17は、新たなブロックに含まれるオブジェクトに対応するオブジェクト情報を生成する。ブロック編集部17は、上記オブジェクト情報に含まれる元ページ情報に、結合前のブロックに含まれる各々のオブジェクトのオブジェクト情報に格納されていた、オブジェクトの元ページ番号を格納する。   When the original page numbers of a plurality of combined blocks are not the same, that is, when a plurality of blocks arranged on different pages before the thinning process is combined, the output unit of the present embodiment The following processing is performed. That is, the block editing unit 17 generates location management information corresponding to the new block after combination. The block editing unit 17 stores, in the original page information of the block information included in the position management information, information indicating that the combined block is a block generated by combining blocks having different original page numbers. Further, the block editing unit 17 generates object information corresponding to the objects included in the new block. The block editing unit 17 stores the original page number of the object stored in the object information of each object included in the block before combination in the original page information included in the object information.

図13は、ブロックが結合された場合の元ページ番号の表示例を示す。図13中のブロック1601は、元ページ番号が同じである複数のブロックを結合することにより生成されたブロックである。ブロック1602は、元ページ番号が異なる複数のブロックを結合することにより生成されたブロックである。ページ番号設定部15は、ブロック1601に対応するブロック情報に格納された元ページ情報を参照して、このブロック1601の元ページ番号が7ページ目を示すことを確認する。従って、ページ番号設定部15は、この元ページ番号「7」を表示対象として決定する。出力部16は、ブロック1601に対応付けて、この元ページ番号「7」を表示する。   FIG. 13 shows a display example of the original page number when the blocks are combined. A block 1601 in FIG. 13 is a block generated by combining a plurality of blocks having the same original page number. A block 1602 is a block generated by combining a plurality of blocks having different original page numbers. The page number setting unit 15 refers to the original page information stored in the block information corresponding to the block 1601 and confirms that the original page number of the block 1601 indicates the seventh page. Accordingly, the page number setting unit 15 determines the original page number “7” as a display target. The output unit 16 displays this original page number “7” in association with the block 1601.

また、ページ番号設定部15は、ブロック1602に対応するブロック情報に格納された元ページ情報を参照して、ブロック1602が、元ページ番号が異なるブロックが結合されたブロックであることを確認する。ページ番号設定部15は、異なるページに配置されていた複数のブロックが結合されたことを示す文字情報である「合」を表示対象として決定する。出力部16は、ブロック1602に対応付けて、この文字情報「合」を表示する。これにより、文書が出力された時に、ブロック1602が、元ページ番号が異なるブロックが結合されたブロックであることがわかる。なお、出力部16が、結合された新たなブロックに対応する結合前の各々のブロックに対応する元ページ番号を新たなブロックに対応付け、列挙して表示するようにしてもよい。なお、元ページ番号が異なる複数のブロックが結合されたことが認識できる表示であれば、どのような表示でも良い。本実施形態における、異なるページに配置されていた複数のブロックが結合されたことを示す情報の表示処理は、他の実施形態に適用することができる。   Also, the page number setting unit 15 refers to the original page information stored in the block information corresponding to the block 1602 and confirms that the block 1602 is a block in which blocks having different original page numbers are combined. The page number setting unit 15 determines “go”, which is character information indicating that a plurality of blocks arranged on different pages are combined, as a display target. The output unit 16 displays this character information “go” in association with the block 1602. Thus, when the document is output, it can be seen that the block 1602 is a block in which blocks having different original page numbers are combined. Note that the output unit 16 may associate and display the original page number corresponding to each block before combining corresponding to the new block combined with the new block. Any display may be used as long as it can be recognized that a plurality of blocks having different original page numbers are combined. The display process of information indicating that a plurality of blocks arranged on different pages in the present embodiment are combined can be applied to other embodiments.

ブロックの編集によって該ブロックが複数のブロックに分割された場合には、ブロック編集部17は、以下の処理を行う。ブロック編集部17は、分割元のブロックに対応する位置管理情報内のオブジェクト情報を参照して、分割元のブロックに含まれる各々のオブジェクトに対応する元ページ番号を取得する。そして、ブロック編集部17は、取得した元ページ番号に基づいて、分割後の各々のブロックに対応する位置管理情報を生成して記憶手段に記憶する。具体的には、ブロック編集部17は、上記取得した各々のオブジェクトに対応する元ページ番号に基づいて、分割後のブロックに含まれるオブジェクトの元ページ番号を決定する。ブロック編集部17は、決定したオブジェクトの元ページ番号が全て同じであるかを判断する。決定したオブジェクトの元ページ番号が全て同じである場合には、ブロック編集部17は、分割後のブロックに対応するブロック情報に、上記決定したオブジェクトの元ページ番号を格納する。これにより、ブロックの分割後も、分割後のブロックと元ページ番号とを対応づけることができる。また、ブロック編集部17は、分割後のブロックに含まれるオブジェクトに対応するオブジェクト情報に、上記決定したオブジェクトの元ページ番号を格納する。そして、出力部16は、文書の出力時に、この元ページ番号を分割後のブロックに対応付けて表示する。   When the block is divided into a plurality of blocks by editing the block, the block editing unit 17 performs the following processing. The block editing unit 17 refers to the object information in the position management information corresponding to the division source block, and acquires the original page number corresponding to each object included in the division source block. Then, the block editing unit 17 generates position management information corresponding to each divided block based on the acquired original page number and stores it in the storage unit. Specifically, the block editing unit 17 determines the original page number of the object included in the divided block based on the acquired original page number corresponding to each object. The block editing unit 17 determines whether all the original page numbers of the determined objects are the same. When all the determined original page numbers of the objects are the same, the block editing unit 17 stores the determined original page numbers of the objects in the block information corresponding to the divided blocks. As a result, the divided block can be associated with the original page number even after the block is divided. Further, the block editing unit 17 stores the original page number of the determined object in the object information corresponding to the object included in the divided block. Then, the output unit 16 displays the original page number in association with the divided block when outputting the document.

上記決定したオブジェクトの元ページ番号の中に、互いに異なる元ページ番号が含まれている場合、ブロック編集部17は、以下の処理を実行する。ブロック編集部17は、分割後のブロックに対応するブロック情報に、この分割後のブロックが、元ページ番号が異なる複数のオブジェクトを含むことを示す情報を格納する。また、ブロック編集部17は、分割後のブロックに含まれるオブジェクトに対応するオブジェクト情報に、上記決定したオブジェクトの元ページ番号を格納する。そして、出力部16は、文書の出力時に、分割後のブロックに対応付けて、この分割後のブロックが、元ページ番号が異なる複数のオブジェクトを含むことを示す情報を表示する。これにより、文書が出力された時に、分割後のブロックが、元ページ番号が異なる複数のオブジェクトを含むことがわかる。   If the original page numbers of the determined objects include different original page numbers, the block editing unit 17 executes the following processing. The block editing unit 17 stores information indicating that the divided block includes a plurality of objects having different original page numbers in the block information corresponding to the divided block. Further, the block editing unit 17 stores the original page number of the determined object in the object information corresponding to the object included in the divided block. The output unit 16 displays information indicating that the divided block includes a plurality of objects having different original page numbers in association with the divided block when the document is output. As a result, when the document is output, it can be seen that the divided block includes a plurality of objects having different original page numbers.

図14は、第5の実施形態を説明する図である。第5の実施形態においては、ページ番号設定部15が、予め決められたブロックの元ページ番号の表示形式に関する情報(以下、元ページ番号の書式定義情報と記述)に基づいて、ブロックに対応づけて表示される元ページ番号の表示形式を決定する。そして、出力部16が、ブロックに対応付けて、表示対象の元ページ番号を上記決定された表示形式で表示する。本実施形態における元ページ番号の表示形式の決定処理と決定された表示形式での元ページ番号の表示処理は、他の実施形態に適用することができる。   FIG. 14 is a diagram for explaining the fifth embodiment. In the fifth embodiment, the page number setting unit 15 associates a block with a block based on information related to a display format of the original page number of the block (hereinafter referred to as format definition information of the original page number). The display format of the original page number displayed is determined. Then, the output unit 16 displays the original page number to be displayed in the determined display format in association with the block. The process of determining the display format of the original page number and the process of displaying the original page number in the determined display format in the present embodiment can be applied to other embodiments.

図14(A)は、元ページ番号の書式定義情報が示す元ページ番号の書式形式の例を説明する図である。この例では、書式は2段階で定義されている。書式1701は、現在のページと元ページとの関係を定義する。書式1702、1703は、元ページを定義する。書式1701における“Page”は、現在のページ番号を設定する部分である。“OrgPage”は、元ページ番号を設定する部分である。“OrgPage”には、書式1702又は1703に従った形式で元ページ番号が設定される。“OrgPage”には、書式1701に従って、元ページ番号が括弧で囲われて設定される。書式1702は、現在のページに含まれるブロックに対応する元ページ番号の最小値と最大値とをハイフンで結んで設定することを定義している。書式1703は、各ブロックの元ページ番号を小さい順に列挙して表示することを定義している。なお、書式1703の類似書式として、例えば、ブロック順に元ページ番号を列挙して表示することを定義する書式や、複数のブロックが同じページ番号を有する場合には、所定のページ番号の表示を省略することを定義する書式を用いることもできる。図14(A)に示す元ページ番号の書式定義情報に従うと、元ページ番号が、現在のページ番号と併記されるように表示される。   FIG. 14A is a diagram for explaining an example of the format format of the original page number indicated by the format definition information of the original page number. In this example, the format is defined in two stages. A format 1701 defines the relationship between the current page and the original page. Forms 1702 and 1703 define the original page. “Page” in the format 1701 is a part for setting the current page number. “OrgPage” is a part for setting the original page number. In “OrgPage”, the original page number is set in a format according to the format 1702 or 1703. In “OrgPage”, the original page number is set in parentheses according to the format 1701. The format 1702 defines that the minimum value and the maximum value of the original page number corresponding to the block included in the current page are set by connecting with a hyphen. Format 1703 defines that the original page numbers of each block are listed and displayed in ascending order. Note that as a similar format to the format 1703, for example, a format that defines that the original page numbers are listed and displayed in block order, or when a plurality of blocks have the same page number, the display of a predetermined page number is omitted. You can also use a format that defines what to do. When the format definition information of the original page number shown in FIG. 14A is followed, the original page number is displayed along with the current page number.

図14(B)は、図14(A)に示す元ページ番号の書式定義情報に従う元ページ番号の表示例を示す。ページ番号設定部15は、図14(A)に示す元ページ番号の書式定義情報に基づいて、現在のページ番号と現在のページに含まれるブロックの元ページ番号の最小値及び最大値とが併記して表示される表示形式を元ページ番号の表示形式として決定する。出力部16が、表示対象の元ページ番号を上記決定された表示形式で表示する。これにより、図14(B)に示すように、現在のページ番号「4」と、元ページ番号の最小値及び最大値(8及び9)とが併記して表示される。第5の実施形態によれば、予め決められた元ページ番号の書式定義情報に従った表示形式で元ページ番号を表示することができる。   FIG. 14B shows a display example of the original page number according to the format definition information of the original page number shown in FIG. Based on the format definition information of the original page number shown in FIG. 14A, the page number setting unit 15 writes the current page number and the minimum and maximum values of the original page numbers of the blocks included in the current page. The display format to be displayed is determined as the display format of the original page number. The output unit 16 displays the original page number to be displayed in the determined display format. Thereby, as shown in FIG. 14B, the current page number “4” and the minimum and maximum values (8 and 9) of the original page number are displayed together. According to the fifth embodiment, the original page number can be displayed in a display format according to the format definition information of the original page number determined in advance.

図15は、第6の実施形態を説明する図である。第6の実施形態においては、出力部16が、ページ番号設定部15によって表示対象として決定された元ページ番号に対応する枠線(ページ枠)を表示する。元ページ番号が同じであるブロックが、連続する2つの印刷対象のページに跨がる形で含まれる場合には、出力部16は、以下の処理を行う。出力部16は、ページの先頭に配置されるブロックの元ページ番号に対応するページ枠として、上辺がないページ枠を表示する。上辺がないページ枠は、このページ枠が示す元ページ番号に対応するブロックが、現在のページの前のページにも含まれていることを示す。また、出力部16は、ページの最後に配置されるブロックの元ページ番号に対応するページ枠として、底辺がないページ枠を表示する。底辺がないページ枠は、このページ枠が示す元ページ番号に対応するブロックが現在のページの次のページにも含まれていることを示す。本実施形態における、元ページ番号に対応する枠線の表示処理は、他の実施形態に適用することができる。   FIG. 15 is a diagram for explaining the sixth embodiment. In the sixth embodiment, the output unit 16 displays a frame line (page frame) corresponding to the original page number determined as a display target by the page number setting unit 15. When blocks having the same original page number are included across two consecutive pages to be printed, the output unit 16 performs the following processing. The output unit 16 displays a page frame having no upper side as the page frame corresponding to the original page number of the block arranged at the top of the page. A page frame without an upper side indicates that a block corresponding to the original page number indicated by the page frame is also included in the page before the current page. Further, the output unit 16 displays a page frame having no bottom as a page frame corresponding to the original page number of the block arranged at the end of the page. A page frame having no bottom indicates that a block corresponding to the original page number indicated by the page frame is also included in the next page of the current page. The display processing of the frame line corresponding to the original page number in the present embodiment can be applied to other embodiments.

図15中の2101は、元ページ番号「7」に対応するページ枠を示す。2102と2103は、元ページ番号「8」に対応するページ枠を示す。2104は、元ページ番号「9」に対応するページ枠を示す。3ページ目に表示されているページ枠2101には上辺がない。従って、元ページ番号「7」に対応するブロックが2ページ目にも含まれていることがわかる。また、ページ枠2102には底辺がない。従って、元ページ番号「8」に対応するブロックが4ページ目にも含まれていることがわかる。第6の実施形態によれば、元ページ番号に対応するブロックの範囲を識別し易くすることができる。また、元ページ番号が同じであるブロックが前ページから続いている、あるいは、次のページへ続くかどうかも識別できるようになる。   Reference numeral 2101 in FIG. 15 denotes a page frame corresponding to the original page number “7”. Reference numerals 2102 and 2103 denote page frames corresponding to the original page number “8”. Reference numeral 2104 denotes a page frame corresponding to the original page number “9”. The page frame 2101 displayed on the third page has no upper side. Therefore, it can be seen that the block corresponding to the original page number “7” is also included in the second page. Further, the page frame 2102 has no bottom side. Therefore, it can be seen that the block corresponding to the original page number “8” is also included in the fourth page. According to the sixth embodiment, the block range corresponding to the original page number can be easily identified. It is also possible to identify whether a block having the same original page number continues from the previous page or continues to the next page.

(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other examples)
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. In this case, the program and the storage medium storing the program constitute the present invention.

1 情報処理装置
11 空白領域検出部
12 ブロック化部
DESCRIPTION OF SYMBOLS 1 Information processing apparatus 11 Blank area detection part 12 Blocking part

Claims (10)

文書に含まれるオブジェクトをブロック化して1又は複数のブロックを生成し、生成されたブロックの前記文書における位置情報を記憶する記憶手段と、
前記文書についてブロック間の空白を詰める間締め処理を実行する間締め処理手段と、
前記記憶手段に記憶された前記位置情報に基づいて、前記間締め処理された文書の出力時に前記文書に含まれるブロックに対応づけて、前記間締め処理が実行される前の文書における位置情報を出力する出力手段とを備え
前記出力手段は、前記間締め処理が実行された後の文書の同一ページに配置された複数のブロックの位置情報が同じである場合、前記複数のブロックにおける先頭のブロックに前記位置情報を表示し、前記複数のブロックにおけるその他のブロックに前記位置情報を表示しないことを特徴とする情報処理装置。
Storage means for generating one or a plurality of blocks by blocking an object included in the document, and storing position information of the generated block in the document;
A thinning processing means for executing a thinning process for filling spaces between blocks for the document;
Based on the position information stored in the storage means, the position information in the document before the deadline process is executed in association with the block included in the document when the deadlined document is output. Output means for outputting ,
The output means displays the position information on the first block of the plurality of blocks when the position information of the plurality of blocks arranged on the same page of the document after the deadline processing is the same. The information processing apparatus does not display the position information in other blocks of the plurality of blocks .
前記文書の出力設定に関する出力設定情報を取得する取得手段を備え、
前記出力手段は、前記記憶手段に記憶された位置情報に基づいて、前記間締め処理された文書に含まれるブロックの前記間締め処理される前の文書における位置情報を取得し、前記取得手段によって取得された出力設定情報に基づいて、前記取得された位置情報のうち、前記ブロックに対応づけて表示される位置情報を決定する
ことを特徴とする請求項1に記載の情報処理装置。
Obtaining means for obtaining output setting information relating to the output setting of the document;
The output means acquires position information in the document before the thinning process of a block included in the thinned document based on the position information stored in the storage means, and the acquisition means The information processing apparatus according to claim 1, wherein position information to be displayed in association with the block is determined from the acquired position information based on the acquired output setting information.
前記出力手段は、前記取得手段により取得された出力設定情報に用紙の面に複数のページを配置することを示す情報が含まれ、かつ、前記間締め処理が実行された後の文書の印刷結果として同一用紙の面に配置された複数のブロックの位置情報が同じである場合、前記複数のブロックにおいて先頭のブロックについて前記位置情報を表示し、前記複数のブロックにおけるその他のブロックについては前記位置情報を表示しない
ことを特徴とする請求項2に記載の情報処理装置。
The output unit includes information indicating that a plurality of pages are arranged on the surface of the sheet in the output setting information acquired by the acquisition unit, and the print result of the document after the thinning process is executed When the position information of a plurality of blocks arranged on the same sheet surface is the same, the position information is displayed for the first block in the plurality of blocks, and the position information is displayed for the other blocks in the plurality of blocks. The information processing apparatus according to claim 2, wherein no information is displayed.
前記出力手段は、前記取得された出力設定情報に基づいて、前記間締め処理された文書に含まれるブロックの前記間締め処理される前の文書における位置情報の表示位置を決定する
ことを特徴とする請求項2または請求項3に記載の情報処理装置。
The output means determines, based on the acquired output setting information, a display position of position information in a document before the deadline process of a block included in the deadlined document. The information processing apparatus according to claim 2 or 3 .
前記出力手段は、予め決められた前記ブロックの前記間締め処理される前の文書における位置情報の表示形式に関する情報に基づいて、前記ブロックに対応づけて表示される前記位置情報の表示形式を決定する
ことを特徴とする請求項1乃至のいずれか1項に記載の情報処理装置。
The output means determines a display format of the position information displayed in association with the block based on information on a display format of the position information in the document before the deadline processing of the block determined in advance. the information processing apparatus according to any one of claims 1 to 4, characterized in that.
前記ブロックの前記文書における位置情報は、前記文書のページにおいて前記ブロックが配置された領域に関する情報を含み、
前記出力手段は、前記文書のページにおいて前記ブロックが配置された領域に関する情報を、前記間締め処理された文書の出力時に前記文書に含まれるブロックに対応づけて表示する
ことを特徴とする請求項1乃至のいずれか1項に記載の情報処理装置。
The position information of the block in the document includes information on an area where the block is arranged on the page of the document,
The output means displays information related to an area where the block is arranged on a page of the document in association with a block included in the document when the document subjected to the thinning process is output. The information processing apparatus according to any one of 1 to 5 .
前記ブロックを編集することによって前記間締め処理が実行される前において異なるページに配置されていた複数のブロックが結合された場合に、前記出力手段は、異なるページに配置されていた複数のブロックが結合されたことを示す情報を表示する
ことを特徴とする請求項1乃至のいずれか1項に記載の情報処理装置。
When a plurality of blocks arranged on different pages are combined by editing the block before the deadline processing is performed, the output unit includes a plurality of blocks arranged on different pages. The information processing apparatus according to any one of claims 1 to 6 , wherein information indicating that they are combined is displayed.
前記出力手段は、更に、前記位置情報に対応する枠線を表示する
ことを特徴とする請求項1乃至のいずれか1項に記載の情報処理装置。
It said output means further apparatus according to any one of claims 1 to 7, wherein the displaying the frame lines corresponding to the position information.
文書に含まれるオブジェクトをブロック化して1又は複数のブロックを生成し、生成されたブロックの前記文書における位置情報を記憶手段に記憶する記憶工程と、
前記文書についてブロック間の空白を詰める間締め処理を実行する実行工程と、
前記記憶手段に記憶された前記位置情報に基づいて、前記間締め処理された文書の出力時に前記文書に含まれるブロックに対応づけて、前記間締め処理が実行される前の文書における位置情報を出力する出力工程とを有し、
前記出力工程では、前記間締め処理が実行された後の文書の同一ページに配置された複数のブロックの位置情報が同じである場合、前記複数のブロックにおける先頭のブロックに前記位置情報を表示し、前記複数のブロックにおけるその他のブロックに前記位置情報を表示しない
ことを特徴とする情報処理装置の制御方法。
A storage step of generating one or a plurality of blocks by blocking an object included in the document, and storing position information of the generated block in the document in a storage unit;
An execution step of performing a thinning process for filling spaces between blocks for the document;
Based on the position information stored in the storage means, the position information in the document before the deadline process is executed in association with the block included in the document when the deadlined document is output. possess and an output step of outputting,
In the output step, when the position information of a plurality of blocks arranged on the same page of the document after the thinning process is executed is the same, the position information is displayed on the first block in the plurality of blocks. A method for controlling an information processing apparatus , wherein the position information is not displayed in other blocks of the plurality of blocks .
請求項に記載の情報処理装置の制御方法をコンピュータに実行させることを特徴とするコンピュータプログラム。 A computer program for causing a computer to execute the control method of the information processing apparatus according to claim 9 .
JP2010019091A 2010-01-29 2010-01-29 Information processing apparatus, information processing apparatus control method, and computer program Expired - Fee Related JP5479132B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010019091A JP5479132B2 (en) 2010-01-29 2010-01-29 Information processing apparatus, information processing apparatus control method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010019091A JP5479132B2 (en) 2010-01-29 2010-01-29 Information processing apparatus, information processing apparatus control method, and computer program

Publications (2)

Publication Number Publication Date
JP2011159036A JP2011159036A (en) 2011-08-18
JP5479132B2 true JP5479132B2 (en) 2014-04-23

Family

ID=44590951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010019091A Expired - Fee Related JP5479132B2 (en) 2010-01-29 2010-01-29 Information processing apparatus, information processing apparatus control method, and computer program

Country Status (1)

Country Link
JP (1) JP5479132B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013082135A (en) * 2011-10-11 2013-05-09 Ricoh Co Ltd Image forming apparatus, printing method and printing program
JP6631035B2 (en) * 2014-05-12 2020-01-15 日本精工株式会社 Document masking system, document masking method and document masking program
JP2016062284A (en) * 2014-09-18 2016-04-25 日本精工株式会社 Document masking system, document masking method, and document masking program
JP6604007B2 (en) * 2015-02-27 2019-11-13 日本精工株式会社 Document masking system, document masking method, document masking program, and document browsing system
JP6604006B2 (en) * 2015-02-27 2019-11-13 日本精工株式会社 Document management system, document management method, and document management program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4101052B2 (en) * 2002-12-27 2008-06-11 キヤノン株式会社 Document management apparatus, document management apparatus control method, and computer program
JP4576346B2 (en) * 2006-02-23 2010-11-04 京セラミタ株式会社 A grouped sheet with an index for instructing page feeding, an image forming apparatus for printing the index,

Also Published As

Publication number Publication date
JP2011159036A (en) 2011-08-18

Similar Documents

Publication Publication Date Title
US8225211B2 (en) Display control apparatus, display control method, and computer-readable recording medium storing display control program
JP5534078B2 (en) Control device and program
JP5479132B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
JP4595789B2 (en) Image processing apparatus, image processing method, and image processing program
US8018618B2 (en) Information processing apparatus that outputs images having same size to single page of recording sheet and computer readable medium
US9213507B2 (en) Apparatus, control method, and storage medium
JP2005044279A (en) Method, program and apparatus for business form processing
US20140204418A1 (en) Print data generating apparatus and image recording system
US20120229860A1 (en) Information processing apparatus, method for controlling same, and storage medium on which computer program has been recorded
JP4446447B2 (en) Image forming apparatus
JP5590960B2 (en) Image forming apparatus, image forming method, and program
JP5612882B2 (en) Printing control apparatus, printing program, and image forming apparatus
JP6904717B2 (en) Image processing equipment, its control method, and programs
JP2019098580A (en) Image forming apparatus
JP2014079942A (en) Image formation device and program
JP2009269179A (en) Printer, program and recording medium
JP4715563B2 (en) Print data generation apparatus and printer driver program
JP2002373068A (en) Printing system
JP2006019931A (en) Apparatus and method for image processing, computer program, and storage medium
JP2008245184A (en) Image forming apparatus
JP6398945B2 (en) Information-added document generator, program
JP6455676B2 (en) Electronic device and font image output program
JP6468088B2 (en) Information processing apparatus, control method thereof, and program
JP2013131874A (en) Margin-reducing program
JP2021081792A (en) Information processing device, information 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: 20130123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131217

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140212

LAPS Cancellation because of no payment of annual fees