JP4844364B2 - Image processing apparatus and program - Google Patents

Image processing apparatus and program Download PDF

Info

Publication number
JP4844364B2
JP4844364B2 JP2006320309A JP2006320309A JP4844364B2 JP 4844364 B2 JP4844364 B2 JP 4844364B2 JP 2006320309 A JP2006320309 A JP 2006320309A JP 2006320309 A JP2006320309 A JP 2006320309A JP 4844364 B2 JP4844364 B2 JP 4844364B2
Authority
JP
Japan
Prior art keywords
information
image
component
shape
layout
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
JP2006320309A
Other languages
Japanese (ja)
Other versions
JP2008134814A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2006320309A priority Critical patent/JP4844364B2/en
Publication of JP2008134814A publication Critical patent/JP2008134814A/en
Application granted granted Critical
Publication of JP4844364B2 publication Critical patent/JP4844364B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像処理装置及びプログラムに関する。   The present invention relates to an image processing apparatus and a program.

例えばデスクトップパブリッシング(DTP)の分野では、編集者が、予めテキストや図版といった画像部分を形成する範囲(レイアウト枠)を規定する。またこのレイアウト枠を配列して、ページごとのレイアウトを定める。   For example, in the field of desktop publishing (DTP), an editor predefines a range (layout frame) for forming an image portion such as text or a picture. The layout frames are arranged to determine the layout for each page.

そして編集者は、複数の著者が作成した原稿やデザイナの作成した図版などを、対応するレイアウト枠の位置に配置する。このとき原稿の文字列をレイアウト枠内に合わせて禁則処理などを施したり、形状を整えたりする作業(流し込み作業)が行われる。この流し込み作業の過程で、文字列がレイアウト枠から溢れる場合があることに配慮し、溢れた文字列の量を演算して表示する技術が特許文献1に開示されている。
特開平10−187714号公報
Then, the editor places a manuscript created by a plurality of authors or a picture created by the designer at the position of the corresponding layout frame. At this time, an operation (pouring operation) is performed in which the character string of the document is adjusted within the layout frame to perform a prohibition process or to adjust the shape. In consideration of the fact that a character string may overflow from the layout frame in the process of pouring, a technique for calculating and displaying the amount of the overflowing character string is disclosed in Patent Document 1.
JP-A-10-187714

このようにレイアウト枠から文字列が溢れた場合などにおいて、編集者がその文字列の一部を削除するとすれば、編集者にとっては手間であるし、文字列の原著者にとっては意図しない修正が為される可能性がある。原著者によって修正が行われるのであればそれが好ましいが、原著者が必ずしも編集の現場に立ちあっているものでもない。すなわち、原著者の意図する修正が、編集者の定めたレイアウト枠のサイズに応じて行われるものであれば便宜である。こうした実情の下、形成範囲の形状に対し、その内部に形成されるべき画像の修正を支援する装置が要望されている。   In this way, when the text string overflows from the layout frame, etc., if the editor deletes a part of the text string, it is troublesome for the editor and unintended correction for the original author of the text string. It may be done. It is preferable if the correction is made by the original author, but the original author is not necessarily at the editing site. In other words, it is convenient if the correction intended by the original author is made according to the size of the layout frame determined by the editor. Under such circumstances, there is a demand for an apparatus that supports correction of an image to be formed inside the shape of the formation range.

本発明は上記実情に鑑みて為されたもので、形成範囲の形状に対し、その内部に形成されるべき画像の修正を支援できる画像処理装置を提供することを、その目的の一つとする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide an image processing apparatus capable of supporting correction of an image to be formed inside the shape of the formation range.

本発明の一態様に係る画像処理装置は、ページごとの画像に含める少なくとも一つの構成要素の形状と、当該構成要素の各々の配列とを規定する配置規定情報を保持する手段と、前記構成要素の少なくとも一つを特定する構成要素特定情報と、当該構成要素特定情報で特定される構成要素内部に形成されるべき画像部分の複数の候補として、互いに異なる面積の複数部分画像候補を記述した部分画像記述情報とを受け入れる手段と、前記構成要素特定情報と前記配置規定情報とに基づいて、規定される構成要素の形状を特定し、当該特定した構成要素の形状に基づいて、前記受け入れた部分画像記述情報に含まれる複数の部分画像記述情報候補のうち一つに基づいて、前記特定した構成要素の形状に従って形成されるべき画像部分を生成する手段と、前記構成要素ごとに生成された画像部分を、前記配置規定情報に基づいて配列し、ページごとの画像を生成する手段と、前記生成したページごとの画像を出力する手段と、を含むことを特徴としている。   An image processing apparatus according to an aspect of the present invention includes means for holding arrangement definition information that defines the shape of at least one component included in an image for each page and the arrangement of each component, and the component A part in which multiple part image candidates having different areas are described as a plurality of candidates for image elements to be formed inside the component specified by the component element specifying information and the component element specifying information for specifying at least one of Based on the means for receiving the image description information, the component specifying information and the arrangement specifying information, the shape of the specified component is specified, and the received part is determined based on the specified shape of the component Based on one of a plurality of partial image description information candidates included in the image description information, an image portion to be formed according to the shape of the specified component is generated. And a means for arranging the image portions generated for each of the components based on the arrangement definition information, generating an image for each page, and a means for outputting the generated image for each page. It is characterized by that.

また、本発明の別の態様に係る画像処理装置は、ページごとの画像に含める少なくとも一つの構成要素の形状と、当該構成要素の各々の配列とを規定する配置規定情報を保持する手段と、前記構成要素を識別する情報と、構成要素の内部に形成されるべき画像の大きさの下限値とを関連づけて保持する手段と、前記構成要素の少なくとも一つを特定する構成要素特定情報と、当該構成要素特定情報で特定される構成要素内部に形成されるべき画像部分を記述した部分画像記述情報とを受け入れる手段と、前記構成要素特定情報と前記配置規定情報とに基づいて、規定される構成要素の形状を特定し、前記受け入れた部分画像記述情報に基づいて、前記特定した構成要素の形状に従って形成されるべき画像部分を生成する手段と、前記受け入れた部分画像記述情報により生成されるべき画像の大きさが、前記特定した構成要素を識別する情報に関連づけられた下限値より小さい場合に、その旨を警告する情報を出力する手段と、前記構成要素ごとに生成された画像部分を、前記配置規定情報に基づいて配列し、ページごとの画像を生成する手段と、前記生成したページごとの画像を出力する手段と、を含むことを特徴としている。   Further, an image processing apparatus according to another aspect of the present invention includes means for holding arrangement definition information that defines the shape of at least one component to be included in an image for each page and the arrangement of each component. Means for associating and identifying information for identifying the component, a lower limit value of the size of an image to be formed inside the component, component component specifying information for identifying at least one of the components, Specified based on means for receiving partial image description information describing an image portion to be formed inside the component specified by the component specifying information, and the component specifying information and the arrangement specifying information Means for identifying a shape of a component and generating an image portion to be formed according to the shape of the identified component based on the received partial image description information; Means for outputting information to warn when the size of an image to be generated by partial image description information is smaller than a lower limit value associated with information for identifying the specified component; The image portion generated for each page is arranged based on the arrangement defining information, and includes means for generating an image for each page and means for outputting the image for each generated page.

さらに本発明の別の態様に係るプログラムは、ページごとの画像に含める少なくとも一つの構成要素の形状と、当該構成要素の各々の配列とを規定する配置規定情報を保持するコンピュータに、前記構成要素の少なくとも一つを特定する構成要素特定情報と、当該構成要素特定情報で特定される構成要素内部に形成されるべき画像部分の複数の候補として、互いに異なる面積の複数部分画像候補を記述した部分画像記述情報とを受け入れる手順と、前記構成要素特定情報と前記配置規定情報とに基づいて、規定される構成要素の形状を特定し、当該特定した構成要素の形状に基づいて、前記受け入れた部分画像記述情報に含まれる複数の部分画像記述情報候補のうち一つに基づいて、前記特定した構成要素の形状に従って形成されるべき画像部分を生成する手順と、前記構成要素ごとに生成された画像部分を、前記配置規定情報に基づいて配列し、ページごとの画像を生成する手順と、前記生成したページごとの画像を出力する手順と、を実行させることを特徴としている。   Furthermore, the program according to another aspect of the present invention provides a computer that stores arrangement definition information that defines the shape of at least one component included in an image for each page and the arrangement of each component. A part in which multiple part image candidates having different areas are described as a plurality of candidates for image elements to be formed inside the component specified by the component element specifying information and the component element specifying information for specifying at least one of Based on the procedure for receiving the image description information, the component specifying information and the arrangement specifying information, the shape of the specified component is specified, and the received part is determined based on the shape of the specified component An image to be formed according to the shape of the identified component based on one of a plurality of partial image description information candidates included in the image description information A procedure for generating an image, a procedure for arranging image portions generated for each of the components based on the arrangement defining information, generating an image for each page, and a procedure for outputting the generated image for each page And is executed.

本発明によると、構成要素の形成範囲の形状に対し、その内部に形成されるべき画像の修正を支援できる。   ADVANTAGE OF THE INVENTION According to this invention, correction | amendment of the image which should be formed in the inside can be supported with respect to the shape of the formation range of a component.

本発明の実施の形態について図面を参照しながら説明する。本発明の実施の形態に係る画像処理装置は、例えばプリンタサーバとして実現される。本実施の形態の画像処理装置1は、図1に示すように、制御部11と、記憶部12と、ストレージ部13と、通信部14とを含み、少なくとも一つのクライアント装置2、及びプリンタ装置3に接続されている。   Embodiments of the present invention will be described with reference to the drawings. The image processing apparatus according to the embodiment of the present invention is realized as a printer server, for example. As illustrated in FIG. 1, the image processing apparatus 1 according to the present embodiment includes a control unit 11, a storage unit 12, a storage unit 13, and a communication unit 14, and includes at least one client device 2 and a printer device. 3 is connected.

制御部11は、CPUなどのプログラム制御デバイスであり、記憶部12に格納されたプログラムに従って動作する。本実施の形態では、この制御部11は、編集者のクライアント装置2から、画像要素の各々の配置範囲を規定するレイアウト規定情報を受信して記憶する。また、この制御部11は各著作者のクライアント装置2から文字列や図版などの画像要素を形成するための画像形成指示をそれぞれ受信する。制御部11は、それぞれの画像形成指示に基づいて、ラスタライズ(RIP:Raster Image Process)の処理を行ってビットマップデータを生成し、さらにレイアウト規定情報に従って各ビットマップデータを、指定された配置範囲に配置して印刷用のデータを生成し、プリンタ装置3へ出力する。またこの制御部11は、各配置範囲内に形成するべき画像の大きさと、配置範囲の大きさとの比較に基づき、所定の処理を実行する。この制御部11の処理の内容については後に述べる。   The control unit 11 is a program control device such as a CPU, and operates according to a program stored in the storage unit 12. In the present embodiment, the control unit 11 receives and stores layout definition information that defines the arrangement range of each image element from the client device 2 of the editor. The control unit 11 also receives an image formation instruction for forming an image element such as a character string or a picture from the client device 2 of each author. Based on each image formation instruction, the control unit 11 performs rasterization (RIP: Raster Image Process) processing to generate bitmap data, and further, each bitmap data is assigned to the designated arrangement range according to the layout definition information. The data for printing is generated and output to the printer apparatus 3. In addition, the control unit 11 executes a predetermined process based on a comparison between the size of an image to be formed in each arrangement range and the size of the arrangement range. Details of the processing of the control unit 11 will be described later.

記憶部12は、RAM(Random Access Memory)等の記憶素子を含んで構成され、制御部11によって実行されるプログラムを保持する。また、この記憶部12は制御部11のワークメモリとしても動作する。   The storage unit 12 includes a storage element such as a RAM (Random Access Memory), and holds a program executed by the control unit 11. The storage unit 12 also operates as a work memory for the control unit 11.

ストレージ部13は、例えばハードディスク等であり、レイアウトを規定する情報や、当該レイアウトの情報に従って配列するべき画像のデータ(RIP済みのビットマップデータ等)を格納して保持する。具体的にレイアウトを規定するレイアウト規定情報は、図2に示すように、レイアウトの対象となる構成要素の識別子(ID)と、当該構成要素に含められるべき文字列や図版の画像を形成する際に必要となる形成パラメータ(P)と、構成要素の形状を規定する形状規定情報(F)とを含む。ここで形状規定情報(F)は、構成要素の形状に応じて、ページ内の座標を特定する情報を少なくとも一つ含む。具体的な例として、構成要素の外接枠が矩形状をなす場合、当該矩形の対角線上の2つの頂点の座標を指定する情報があれば構成要素の形状が画定される。また、構成要素が矩形外の多角形である場合は、各頂点の座標を指定する情報があれば構成要素の形状が画定される。さらに構成要素が円形(正円ないし楕円)である場合は、中心座標と半径(楕円の場合は長径及び短径)とが指定されれば構成要素の形状が画定される。   The storage unit 13 is, for example, a hard disk or the like, and stores and holds information defining a layout and image data (RIP-completed bitmap data, etc.) to be arranged according to the layout information. As shown in FIG. 2, the layout definition information that specifically defines the layout is used when forming an identifier (ID) of a component to be laid out and a character string or graphic image to be included in the component. Including formation parameters (P) necessary for the shape and shape defining information (F) for defining the shapes of the constituent elements. Here, the shape defining information (F) includes at least one piece of information for specifying coordinates in the page according to the shape of the component. As a specific example, when the circumscribing frame of a component is rectangular, the shape of the component is defined if there is information specifying the coordinates of two vertices on the diagonal of the rectangle. When the component is a polygon other than a rectangle, the shape of the component is defined if there is information specifying the coordinates of each vertex. Further, when the component is circular (perfect circle or ellipse), the shape of the component is defined if the center coordinates and the radius (major axis and minor axis in the case of an ellipse) are designated.

また、形成パラメータ(P)は、例えば内部に形成される画像が文字列の画像であれば、フォントを特定する情報、文字列の配列方向(縦書き、横書きなど)、字送り幅、行送り幅などを指定する情報を含む。   For example, if the image formed inside is a character string image, the formation parameter (P) is information specifying the font, the arrangement direction of the character string (vertical writing, horizontal writing, etc.), character feed width, line feed, etc. Contains information to specify width etc.

ストレージ部13は、また、制御部11が生成したRIP済みのビットマップデータを、当該ビットマップデータを割り付けるべき構成要素の識別子に関連づけて保持する。   The storage unit 13 also holds the RIP-completed bitmap data generated by the control unit 11 in association with the identifier of the component to which the bitmap data is to be allocated.

通信部14は、例えばネットワークインタフェースであり、ネットワークを介し、クライアント装置2やプリンタ装置3と、画像処理装置1との間で種々のデータを送受する。   The communication unit 14 is, for example, a network interface, and transmits and receives various data between the client apparatus 2 and the printer apparatus 3 and the image processing apparatus 1 via the network.

クライアント装置2は、パーソナルコンピュータなどであり、例えば、図3に示すように制御部21、記憶部22、操作部23、表示部24及び、通信部25を含んで構成される。   The client device 2 is a personal computer or the like, and includes, for example, a control unit 21, a storage unit 22, an operation unit 23, a display unit 24, and a communication unit 25 as shown in FIG.

ここに制御部21は、CPUなどのプログラム制御デバイスであり、記憶部22に格納されたプログラムに従って動作する。本実施の形態では、クライアント装置2は、レイアウトを規定する編集者等の側に設置される場合と、画像要素の元となる文字列等を記述する著者等の側に設置される場合とで処理が異なる。すなわち、編集者等の側に設置されるクライアント装置2では、利用者(編集者等)の操作に応じてレイアウトを規定するレイアウト規定情報を生成し、画像処理装置1へ送信する処理を行う。   Here, the control unit 21 is a program control device such as a CPU, and operates according to a program stored in the storage unit 22. In the present embodiment, the client device 2 is installed on the side of an editor or the like that defines the layout, and on the side of an author or the like that describes a character string or the like that is the source of an image element. Processing is different. In other words, the client device 2 installed on the editor side or the like performs processing for generating layout specification information for specifying the layout in accordance with the operation of the user (editor or the like) and transmitting it to the image processing device 1.

また、著者等の側に設置されるクライアント装置2では、レイアウトに従って配置される画像要素の元となる文字列等を作成するための処理が行われる。本実施の形態では、文字列を記述した情報を生成する際に、画像処理装置1側で文字数を調整可能とするための情報を含ませる処理を、制御部21が実行する。これら、制御部21の処理の内容については、後に詳しく説明する。   Further, in the client device 2 installed on the author's side or the like, processing for creating a character string or the like that is the basis of the image element arranged according to the layout is performed. In the present embodiment, when generating information describing a character string, the control unit 21 executes a process of including information for enabling the number of characters to be adjusted on the image processing apparatus 1 side. The contents of the processing of the control unit 21 will be described in detail later.

記憶部22は、RAM(Random Access Memory)や、ROM(Read Only Memory)、ハードディスク装置などを含んで構成される。この記憶部22には制御部21によって実行されるプログラムが格納される。またこの記憶部22は、制御部21のワークメモリとしても動作する。   The storage unit 22 includes a RAM (Random Access Memory), a ROM (Read Only Memory), a hard disk device, and the like. The storage unit 22 stores a program executed by the control unit 21. The storage unit 22 also operates as a work memory for the control unit 21.

操作部23は、キーボードやマウスなどを含み、利用者の操作を受け入れて、当該操作の内容を制御部21に出力する。表示部24は、ディスプレイなどであり、制御部21から入力される、利用者に提示するべき情報を、表示出力する。   The operation unit 23 includes a keyboard, a mouse, and the like, accepts a user operation, and outputs the content of the operation to the control unit 21. The display unit 24 is a display or the like, and displays and outputs information to be presented to the user, which is input from the control unit 21.

通信部25は、ネットワークインタフェースなどであり、制御部21と、ネットワークを介して接続された画像処理装置1等との間で種々のデータを送受する。   The communication unit 25 is a network interface or the like, and transmits and receives various data between the control unit 21 and the image processing apparatus 1 or the like connected via the network.

プリンタ装置3は、画像処理装置1から入力されるビットマップデータを用紙などの媒体上に形成して出力する。   The printer device 3 forms bitmap data input from the image processing device 1 on a medium such as paper and outputs it.

ここで、クライアント装置2における制御部21の動作について説明する。以下では、著者等の側に配置されるクライアント装置2と、編集者等の側に配置されるクライアント装置2とに分けて説明を行う。   Here, the operation of the control unit 21 in the client device 2 will be described. In the following description, the client device 2 arranged on the author's side and the client device 2 arranged on the editor's side will be described separately.

[著者等の側でのクライアント装置の動作]
まず、著者等、構成要素内に形成されるべき画像の元となる情報を作成する側に設置されたクライアント装置2の制御部21では、次のような処理が行われる。例えば文字列の情報を生成する場合、制御部21は、構成要素内に形成されるべき画像データの候補として、形成時の面積が互いに異なる複数の文字列情報を生成可能な文字列情報源(ソース)を生成する。
[Operation of client device on author's side]
First, the following processing is performed in the control unit 21 of the client apparatus 2 installed on the side that creates information that is the basis of an image to be formed in a component, such as the author. For example, when generating character string information, the control unit 21 can generate, as a candidate for image data to be formed in a component, a character string information source that can generate a plurality of character string information having different areas at the time of formation ( Source).

例えば、このソースは、(1)互いに異なる長さの複数の文字列情報を含む文字列情報の集合(文字列情報セット)としてもよい。また、(2)一つの文字列情報と、当該文字列情報のうち一部を抽出対象部分として指定する抽出位置指定情報とを含む情報としてもよい。   For example, this source may be (1) a set of character string information (character string information set) including a plurality of pieces of character string information having different lengths. Moreover, it is good also as information containing (2) one character string information and extraction position designation | designated information which designates a part of said character string information as an extraction object part.

(1)の例のソースは、著者となる利用者から、互いに長さの異なる複数の文字列情報を受け入れて生成される。例えば著者となる利用者は、記事を作成するにあたり、800字の記事と、当該記事と同じ趣旨の600字の記事と、400字の記事とを作成し、クライアント装置2に入力する。クライアント装置2の制御部21は、図4に示すように、これら800字、600字、400字の3種類の長さの文字列情報(T1,T2,T3)に対して、それぞれの文字列長を表す情報(L1,L2,L3)を関連づけ、各文字列情報を含むソースを生成する。   The source in the example of (1) is generated by accepting a plurality of pieces of character string information having different lengths from a user who is an author. For example, when creating an article, an author user creates an 800-character article, a 600-character article having the same purpose as the article, and a 400-character article, and inputs them to the client device 2. As shown in FIG. 4, the control unit 21 of the client device 2 performs character string information (T1, T2, T3) of three types of lengths of 800 characters, 600 characters, and 400 characters. Information indicating the length (L1, L2, L3) is associated, and a source including each character string information is generated.

また、(2)の例のソースは、著者となる利用者から、原文となる文字列情報と、当該原文となる文字列情報の一部を抽出の対象として指定する抽出位置指定情報とを受け入れて生成される。例えば著者となる利用者は、800字の記事を原文として作成した後、その一部、600字分を抽出の対象として指定する抽出位置指定情報を作成する。また、さらに別の抽出位置指定情報として、原文から400字分を抽出の対象として指定する抽出位置指定情報を作成してもよい。利用者は、これら原文と、当該原文に関連する少なくとも一つの抽出位置指定情報とをクライアント装置2に入力する。クライアント装置2の制御部21は、これらの情報に基づいて、図5に示すように、原文の情報(T)と、当該原文からの抽出位置指定情報(P1,P2…)とを含むソースを生成する。ここで抽出位置情報には文字列長の情報と、抽出範囲を表す情報とを含む。こうして例えば文字列長「400字」の抽出位置指定情報に含まれる抽出範囲を、原文から抽出して連結すれば、400字の文字列が生成されるようにしておく。   In addition, the source in the example of (2) accepts the character string information as the original sentence and the extraction position designation information that designates a part of the character string information as the original sentence as the extraction target from the user as the author. Generated. For example, a user who is an author creates an article of 800 characters as an original text, and then creates extraction position designation information that designates a part of the article as an extraction target. Further, as another extraction position designation information, extraction position designation information that designates 400 characters from the original text as an extraction target may be created. The user inputs the original text and at least one extraction position designation information related to the original text to the client device 2. Based on these pieces of information, the control unit 21 of the client device 2 includes a source including original text information (T) and extracted position designation information (P1, P2...) From the original text, as shown in FIG. Generate. Here, the extracted position information includes character string length information and information indicating the extraction range. Thus, for example, if the extraction range included in the extraction position designation information having a character string length of “400 characters” is extracted from the original text and connected, a 400 character string is generated.

なお、文字列以外の情報である場合、例えば画像データであれば、サイズが互いに異なる複数の画像データを含む情報をソースとして生成すればよい。   In the case of information other than character strings, for example, image data, information including a plurality of image data having different sizes may be generated as a source.

著者等の側に配置されたクライアント装置2の制御部21は、また、この生成したソースを、利用者の指示により画像処理装置1へ送信する。   The control unit 21 of the client device 2 arranged on the author's side also transmits the generated source to the image processing device 1 in accordance with a user instruction.

画像処理装置1では、クライアント装置2からソースとなる情報を受信すると、固有の識別子(ソース識別子)を発行し、当該固有のソース識別子と、受信したソースとを関連づけて、ストレージ部13に、原稿情報として格納する。   When receiving the source information from the client apparatus 2, the image processing apparatus 1 issues a unique identifier (source identifier), associates the unique source identifier with the received source, and stores the document in the storage unit 13. Store as information.

[編集者等の側でのクライアント装置の動作]
編集者等、レイアウトを設定する利用者側に設置されたクライアント装置2の制御部21は、レイアウト規定情報(配置を規定する配置規定情報)として、レイアウトに含める構成要素の形状を規定する形状規定情報(F)を受け入れる。この形状規定情報は、ページのイメージ画像に対して、多角形などの図形要素を描画させることで入力させることとすればよい。制御部21は、形状規定情報が入力されるごとに、固有の識別子を発行し、当該識別子と、形状規定情報とを関連づけて記憶する。
[Operation of client device on the editor side]
The control unit 21 of the client apparatus 2 installed on the user side who sets the layout, such as an editor, defines the shape of the component to be included in the layout as the layout definition information (placement definition information for specifying the layout). Accept information (F). The shape defining information may be input by drawing a graphic element such as a polygon on the image image of the page. Each time the shape defining information is input, the control unit 21 issues a unique identifier and stores the identifier and the shape defining information in association with each other.

また制御部21は、入力された形状規定情報でその形状が規定される構成要素のいずれかに対し、当該構成要素に含められるべき文字列や図版の画像を形成する際に必要となる形成パラメータの入力を受けると、当該形成パラメータの情報を当該構成要素に関係する識別子に関連づけて記憶する。そして制御部21は、利用者からレイアウト規定情報の編集を終了する旨の指示を受けると、図2に示したような、各構成要素の識別子(ID)と、形成パラメータの情報(P)と、形状規定情報(F)とをそれぞれ関連づけた情報を含むレイアウト規定情報を、画像処理装置1へ送信する。   Further, the control unit 21 forms parameters necessary for forming a character string or a graphic image to be included in any of the components whose shapes are defined by the input shape definition information. Is received, the information on the formation parameter is stored in association with the identifier related to the component. When the control unit 21 receives an instruction from the user to end the editing of the layout definition information, the identifier (ID) of each component, the formation parameter information (P), as shown in FIG. Then, layout definition information including information associated with the shape definition information (F) is transmitted to the image processing apparatus 1.

また、レイアウトを設定する利用者側に設置されたクライアント装置2の制御部21は、画像処理装置1のストレージ部13に格納されたレイアウト規定情報を編集するべき旨の指示を受けると、当該指示の対象となるレイアウト規定情報を画像処理装置1から取得し、構成要素の形状変更や、構成要素の追加、削除などの指示を受けて、各指示に従って、レイアウト規定情報を編集する。そしてレイアウト規定情報の編集が終了した旨の指示を受けると、編集後のレイアウト規定情報を画像処理装置1へ送信し、編集前のレイアウト規定情報に上書きして記録させる。   When the control unit 21 of the client apparatus 2 installed on the user side who sets the layout receives an instruction to edit the layout definition information stored in the storage unit 13 of the image processing apparatus 1, Is obtained from the image processing apparatus 1 and receives instructions for changing the shape of a component, adding or deleting a component, and the layout definition information is edited according to each instruction. When an instruction to the effect that the editing of the layout definition information has been completed is received, the edited layout definition information is transmitted to the image processing apparatus 1 and overwritten and recorded on the layout definition information before editing.

すなわち、本実施の形態では、レイアウト規定情報を一度作成した後で、当該レイアウト規定情報において規定されている構成要素の形状(形状そのものやサイズ、比率など)を変更可能としている。また、構成要素の追加指示があったときには、新たな識別子を発行し、当該追加される構成要素の形状を規定する形状規定情報、及び当該追加された構成要素内に画像を形成するための形成パラメータなどの情報の入力を受け、これら入力された情報を相互に関連づけて、レイアウト規定情報に追記する。さらに構成要素の削除指示があったときには、当該削除の対象となった構成要素に関する識別子、形成パラメータ、形状規定情報をレイアウト規定情報から削除する。   That is, in the present embodiment, after the layout defining information is created once, the shape (shape itself, size, ratio, etc.) of the component defined in the layout defining information can be changed. Also, when there is an instruction to add a component, a new identifier is issued, shape defining information that defines the shape of the added component, and formation for forming an image in the added component In response to the input of information such as parameters, the input information is correlated with each other and added to the layout defining information. Further, when there is an instruction to delete the constituent element, the identifier, the formation parameter, and the shape defining information regarding the constituent element to be deleted are deleted from the layout defining information.

さらに編集者等の側に配置されるクライアント装置2では、レイアウトに含まれる構成要素ごとに、当該構成要素内に含めるべき画像(画像部分)の元となる部分画像記述情報(以下、ソースと呼ぶ)を指定する指示を受け入れて、当該受け入れた情報に基づいて、構成要素の識別子(ID)と、ソース識別子とを関連づけた情報を生成して画像処理装置1へ送信する。   Further, in the client device 2 arranged on the editor side or the like, for each component included in the layout, partial image description information (hereinafter referred to as a source) that is a source of an image (image portion) to be included in the component. ) Is specified, and based on the received information, information that associates the identifier (ID) of the component with the source identifier is generated and transmitted to the image processing apparatus 1.

[レイアウトへの配置]
画像処理装置1は、以上のように、著者等の側に配置されたクライアント装置2からは、原稿情報として、ドキュメントに含めるべき画像部分の元となる情報を受信して保持する。また、編集者等の側に配置されるクライアント装置2からは、レイアウトを規定する情報を受信し、レイアウト規定情報を特定するレイアウト識別子に関連づけて保持する。
[Layout]
As described above, the image processing apparatus 1 receives and holds the original information of the image portion to be included in the document as the original information from the client apparatus 2 arranged on the author's side or the like. In addition, from the client device 2 arranged on the editor's side or the like, information defining the layout is received and stored in association with the layout identifier that specifies the layout defining information.

画像処理装置1は、編集者等の側に配置されるクライアント装置2からはさらに、レイアウトを特定するレイアウト識別子とともに、当該特定されたレイアウトに含まれる構成要素ごとに、構成要素内に形成されるべき画像部分の元となる原稿情報を特定する情報(構成要素の識別子と、ソース識別子とを関連づけた情報)を受信する。画像処理装置1の制御部11は固有の識別子を発行し、この受信したレイアウト識別子と、当該レイアウト識別子によって特定されるレイアウト内に配置するべき原稿情報を特定する情報とを紙面規定情報として、図6に示すように、発行した識別子に関連づけてストレージ部13に保持する。なお、この紙面規定情報には、さらに利用者側から指定された名称や、受信の日時、更新のあった日時、利用者を特定する情報(利用者名など)を関連づけて保持してもよい。そして制御部11は、クライアント装置2からの要求により紙面規定情報の一覧を、これら識別子や、名称などの情報と共に、要求元のクライアント装置2に提示するようにしてもよい。また制御部11は、この一覧から、紙面規定情報を特定する情報(識別子)の特定を受け、当該特定された識別子とともに、変更や画像形成の指示を受け入れるようにしてもよい。   The image processing apparatus 1 is further formed in the constituent element for each constituent element included in the specified layout together with the layout identifier for specifying the layout from the client apparatus 2 arranged on the editor side or the like. Information specifying original document information that is a source of an image portion to be processed (information that associates a component identifier with a source identifier) is received. The control unit 11 of the image processing apparatus 1 issues a unique identifier, and uses the received layout identifier and information for specifying the document information to be placed in the layout specified by the layout identifier as paper page definition information. As shown in FIG. 6, it is stored in the storage unit 13 in association with the issued identifier. In addition, in this page regulation information, a name specified by the user, a reception date / time, an updated date / time, and information (user name, etc.) specifying the user may be held in association with each other. . Then, the control unit 11 may present a list of the sheet regulation information to the requesting client device 2 together with information such as identifiers and names in response to a request from the client device 2. In addition, the control unit 11 may receive specification of information (identifier) for specifying the page regulation information from this list, and may receive a change or image formation instruction together with the specified identifier.

[ラスタライズ]
画像処理装置1の制御部11は、ここで新たに受信した紙面規定情報(新規紙面規定情報と呼ぶ)に含まれているレイアウト識別子で特定されるレイアウト規定情報を読み出す。そして当該読み出したレイアウト規定情報で規定されるレイアウトに含まれている、各構成要素内に形成するべき画像部分の元となるソースとに基づき、画像データを生成する。この画像データの生成処理について次に述べる。
[Rasterize]
The control unit 11 of the image processing apparatus 1 reads the layout defining information specified by the layout identifier included in the newly received sheet defining information (referred to as new sheet defining information). Then, image data is generated based on the source that is the source of the image portion to be formed in each component included in the layout specified by the read layout definition information. This image data generation process will be described next.

具体的な処理例として、画像処理装置1の制御部11は、図6に例示した紙面規定情報を用いて、図7に示す処理を開始し、紙面規定情報に含まれる構成要素の識別子を一つ(未だ注目識別子として選択されていないもの)を注目識別子として選択する(S1)。   As a specific processing example, the control unit 11 of the image processing apparatus 1 starts the processing illustrated in FIG. 7 using the paper surface definition information illustrated in FIG. 6 and sets the identifiers of the constituent elements included in the paper surface definition information. Are selected as attention identifiers (S1).

そして制御部11は、レイアウト規定情報を参照し、選択した注目識別子に関連づけられている構成要素の形成パラメータ情報(P)と形状規定情報(F)とを読み出す(S2)。制御部11は、また選択した注目識別子に関連づけられたソース識別子を参照し、このソース識別子に関連づけられたソースを読み出す(S3)。   Then, the control unit 11 refers to the layout definition information, and reads the formation parameter information (P) and the shape definition information (F) of the component associated with the selected attention identifier (S2). The control unit 11 refers to the source identifier associated with the selected attention identifier, and reads the source associated with the source identifier (S3).

制御部11は、読み出したソースから形成時の面積が最大となる情報(例えば文字列であれば最長、画像データであればサイズが最大のものを記述するページ記述言語での記述情報など、図では「原稿」と呼ぶ)を生成し(S4)、当該生成した情報を、処理S2で読み出した形成パラメータ情報(P)に従い、処理S2で読み出した形状規定情報(F)によって表される形状の領域内(構成要素内)に形成するビットマップデータを生成する(S5)。   The control unit 11 displays information that maximizes the area at the time of formation from the read source (for example, description information in a page description language that describes the longest size for character strings and the largest size for image data). (Referred to as “original”) (S4), and the generated information is in accordance with the formation parameter information (P) read in process S2 and the shape represented by the shape defining information (F) read in process S2. Bitmap data to be formed in the area (in the component) is generated (S5).

制御部11は、ここでソースから得られた情報に基づいて生成したビットマップデータが、形状規定情報(F)で表される領域内に形成できたか否か(ビットマップデータの面積が形状規定情報(F)で表される領域内に配置可能か否か)を調べる(S6)。そしてビットマップデータが形状規定情報(F)で表される領域内に形成できたと判断される場合は、注目識別子と、処理S5で生成したビットマップデータとを関連づけてストレージ部13に格納する(S7)。   The control unit 11 determines whether or not the bitmap data generated based on the information obtained from the source can be formed in the region represented by the shape defining information (F) (the area of the bitmap data is the shape defining). It is checked whether or not it can be arranged in the area represented by the information (F) (S6). When it is determined that the bitmap data can be formed in the area represented by the shape defining information (F), the identifier of interest and the bitmap data generated in the process S5 are associated with each other and stored in the storage unit 13 ( S7).

そして制御部11は、未だ注目識別子として選択されていない構成要素の識別子が、紙面規定情報に含まれているか否かを調べ(S8)、選択されていない識別子があれば、処理S1に戻って処理を続ける。また、処理S8において選択されていない識別子がなければ(つまり、紙面規定情報に含まれているすべての構成要素の識別子について処理を終了したならば)、この処理において、各構成要素に対応して生成されたビットマップデータを、対応する構成要素の識別子に関連づけた紙面データベース(D)を生成する。そして図8に示すように、この紙面データベース(D)に、新規対象紙面規定情報に関連して発行した識別子と、当該新規対象紙面規定情報に含まれるレイアウト識別子とを関連づけて、紙面画像情報としてストレージ部13に格納して処理を終了する。   Then, the control unit 11 checks whether or not the identifier of the component that has not yet been selected as the attention identifier is included in the page specification information (S8), and if there is an identifier that has not been selected, returns to the processing S1. Continue processing. If there is no identifier that has not been selected in the process S8 (that is, if the process has been completed for the identifiers of all the components included in the page specification information), this process corresponds to each component. A paper database (D) in which the generated bitmap data is associated with the identifier of the corresponding component is generated. As shown in FIG. 8, the paper database (D) associates an identifier issued in association with the new target paper page definition information with the layout identifier included in the new target paper page specification information, and provides the page image information. After storing in the storage unit 13, the process is terminated.

また、制御部11は、処理S6において、ビットマップデータが形状規定情報(F)で表される領域内に形成できなかったと判断された場合は、処理S3で読み出したソースから、先に生成したビットマップデータよりもその面積(形成時の面積)が小さくなる情報を生成し(S9)、処理S5に戻って処理を続ける。   In addition, when it is determined in step S6 that the bitmap data could not be formed in the region represented by the shape defining information (F), the control unit 11 generates the first from the source read in step S3. Information whose area (area at the time of formation) is smaller than that of the bitmap data is generated (S9), and the process returns to the process S5 to continue the process.

すなわち制御部11は、例えばソースから生成される情報が、800字の記事を表す文字列情報と、600字の記事を表す文字列情報と、400字の記事を表す文字列情報とのいずれかである場合に、当初の処理S4においては、形成時の面積が最大となる(つまり字数のより多い)、800字の記事を表す文字列情報を生成する。そして、この800字の記事に含まれる文字に基づき、形成パラメータ情報(P)が表す字形、サイズ等にてビットマップデータ(処理S5で生成するものと区別するため文字ビットマップと呼ぶ)を生成し、形状規定情報(F)で規定される領域に配列していく。その結果、例えば形状規定情報で規定される領域内にすべての文字ビットマップが配列できなかったときには、処理S6の判断において、ビットマップデータが形状規定情報(F)で表される領域内に形成できなかったと判断する。そして処理S9において形成時の面積が、次に大きくなる、600字の記事を表す文字列情報を生成する。そして、この600字の記事に含まれる各文字に基づき、形成パラメータ情報(P)が表す字形、サイズ等の文字ビットマップを生成し、形状規定情報(F)で規定される領域に配列していく。   That is, for example, the information generated from the source of the control unit 11 is any one of character string information representing an article of 800 characters, character string information representing an article of 600 characters, and character string information representing an article of 400 characters. In the initial process S4, character string information representing an article of 800 characters with the largest area at the time of formation (that is, having a larger number of characters) is generated. Based on the characters included in the 800-character article, bitmap data (referred to as a character bitmap to distinguish it from that generated in step S5) is generated with the shape, size, etc. represented by the formation parameter information (P). Then, they are arranged in an area defined by the shape defining information (F). As a result, for example, when all the character bitmaps cannot be arranged in the region defined by the shape defining information, the bitmap data is formed in the region represented by the shape defining information (F) in the determination of step S6. Judge that it was not possible. In step S9, character string information representing an article of 600 characters that has the next largest area at the time of formation is generated. Then, based on each character included in the 600-character article, a character bitmap such as a character shape and size represented by the formation parameter information (P) is generated and arranged in an area defined by the shape defining information (F). Go.

この結果、例えば形状規定情報で規定される領域内にすべての文字ビットマップが配列できなかったときには、さらに400字の記事の文字列情報に基づいてビットマップデータの生成を試行することとなる。   As a result, for example, when all the character bitmaps cannot be arranged in the area defined by the shape defining information, generation of bitmap data is further attempted based on the character string information of the 400-character article.

なお、ソースが画像データであれば、当該画像データに基づいて形成されるビットマップデータが、形状規定情報(F)で表される領域内に内包可能か否かによって、ビットマップデータが形状規定情報(F)で表される領域内に形成できたか否かを判断することができる(内包可能である場合に形成できると判断する)。   If the source is image data, the bitmap data is defined by whether the bitmap data formed based on the image data can be included in the area represented by the shape definition information (F). It can be determined whether or not it can be formed in the area represented by the information (F) (determined that it can be formed if it can be included).

この処理によって、各構成要素内に含め得る最大の面積のビットマップデータが、各ソースに基づいて生成される。   By this process, bitmap data of the maximum area that can be included in each component is generated based on each source.

[レイアウト規定情報の変更]
さらに画像処理装置1は、編集者等の側に配置されるクライアント装置2等から紙面規定情報を特定する識別子とともに、当該紙面規定情報に含まれるレイアウト識別子で特定されるレイアウト規定情報の変更指示を受信すると、受信した識別子で特定される紙面規定情報(以下、対象紙面規定情報と呼ぶ)を読み出して、当該対象紙面規定情報に含まれるレイアウト識別子を参照する。そして当該レイアウト識別子で特定されるレイアウト規定情報を、ストレージ部13から読み出し、変更指示の送信元のクライアント装置2へ送出する。
[Change layout rule information]
Further, the image processing apparatus 1 issues an instruction to change the layout specification information specified by the layout identifier included in the page specification information together with the identifier specifying the page specification information from the client device 2 or the like arranged on the editor side. When received, the page specification information specified by the received identifier (hereinafter referred to as target page specification information) is read, and the layout identifier included in the target page specification information is referred to. Then, the layout definition information specified by the layout identifier is read from the storage unit 13 and sent to the client apparatus 2 that is the source of the change instruction.

クライアント装置2側では、利用者の指示に応じて、レイアウト規定情報に含まれる形成パラメータ情報(P)や形状規定情報(F)を変更し、変更が完了した旨の指示を受けて、当該変更後のレイアウト規定情報と、当該レイアウト規定情報を特定するレイアウト識別子とを画像処理装置1へ送信する。   The client device 2 changes the formation parameter information (P) and the shape definition information (F) included in the layout definition information according to the user's instruction, and receives the instruction that the change has been completed. The subsequent layout definition information and a layout identifier for specifying the layout definition information are transmitted to the image processing apparatus 1.

画像処理装置1では、変更後のレイアウト規定情報と、そのレイアウト識別子とを受信すると、図9に示す処理を開始し、受信したレイアウト識別子に関連づけて保持されている、変更前のレイアウト規定情報と、受信した変更後のレイアウト規定情報とを比較し、形成パラメータ情報(P)と形状規定情報(F)との少なくとも一方が変更されている構成要素を抽出する(S11)。   When the image processing apparatus 1 receives the layout definition information after the change and the layout identifier thereof, the process shown in FIG. 9 is started, and the layout specification information before the change held in association with the received layout identifier Then, the received layout definition information after the change is compared, and a component in which at least one of the formation parameter information (P) and the shape definition information (F) is changed is extracted (S11).

そして当該抽出した各構成要素の識別子のうち、未だ注目識別子として選択されていない識別子の一つを注目識別子として選択する(S12)。制御部11は、当初受信した変更指示に含まれている識別子で特定される対象紙面規定情報を参照し、この注目識別子に関連づけられているソース識別子を取り出す(S13)。そして、取り出したソース識別子に関連づけられたソースを読み出し、読み出したソースから形成時の面積が最大となる情報を生成する(S14)。そして当該生成した情報を、変更後のレイアウト規定情報に含まれる形成パラメータ情報(P)に従い、変更後のレイアウト規定情報に含まれる形状規定情報(F)によって表される形状の領域内(構成要素内)に形成するビットマップデータを生成する(S15)。   Then, one of the extracted identifiers of the constituent elements that has not yet been selected as the attention identifier is selected as the attention identifier (S12). The control unit 11 refers to the target sheet regulation information specified by the identifier included in the change instruction initially received, and takes out the source identifier associated with this attention identifier (S13). Then, the source associated with the extracted source identifier is read out, and information that maximizes the area at the time of formation is generated from the read source (S14). Then, in accordance with the formation parameter information (P) included in the layout definition information after the change, the generated information is stored in the region of the shape represented by the shape definition information (F) included in the layout definition information after the change (components Bitmap data to be formed in (inside) is generated (S15).

制御部11は、ここでソースから得られた情報に基づいて生成したビットマップデータが、変更後のレイアウト規定情報に含まれる形状規定情報(F)で表される領域内に形成できたか否か(ビットマップデータの面積が形状規定情報(F)で表される領域の面積内であったか否か)を調べる(S16)。そしてビットマップデータが形状規定情報(F)で表される領域内に形成できたと判断される場合は、対象紙面規定情報を特定する識別子に関連づけられた紙面画像情報に含まれている、注目識別子に関連づけられたビットマップデータを、ここで生成したビットマップデータによって上書きし、ストレージ部13に格納する(S17)。そしてさらに、処理S11において抽出した識別子のうち、未だ注目識別子として選択されていない識別子があるか否かを調べ(S18)、未だ注目識別子として選択されていない識別子があれば、処理S12に戻って処理を続ける。   The control unit 11 determines whether or not the bitmap data generated based on the information obtained from the source here can be formed in the region represented by the shape definition information (F) included in the layout definition information after the change. Whether or not the area of the bitmap data is within the area of the region represented by the shape defining information (F) is checked (S16). When it is determined that the bitmap data can be formed in the area represented by the shape defining information (F), the attention identifier included in the sheet image information associated with the identifier that identifies the target sheet defining information The bitmap data associated with is overwritten with the bitmap data generated here and stored in the storage unit 13 (S17). Further, it is checked whether or not there is an identifier that has not yet been selected as the attention identifier among the identifiers extracted in step S11 (S18). If there is an identifier that has not yet been selected as the attention identifier, the process returns to step S12. Continue processing.

一方、処理S18において、未だ注目識別子として選択されていない識別子がなければ(形状や形成パラメータが変更された構成要素の各々についてのビットマップデータの生成が完了したならば)、処理を終了する。   On the other hand, if there is no identifier that has not yet been selected as the target identifier in step S18 (if the generation of bitmap data for each component whose shape and formation parameters have been changed has been completed), the processing ends.

また処理S16において生成したビットマップデータが、変更後のレイアウト規定情報に含まれる形状規定情報(F)で表される領域内に形成できなかったと判断された場合、制御部11は、読み出したソースから、先に生成したビットマップデータよりもその面積(形成時の面積)が小さくなる情報を生成し(S19)、当該生成した情報に基づくビットマップデータを生成する処理S15に戻って処理を続ける。   If it is determined that the bitmap data generated in the process S16 could not be formed in the region represented by the shape definition information (F) included in the layout definition information after the change, the control unit 11 reads the source Then, information whose area (area at the time of formation) is smaller than that of the previously generated bitmap data is generated (S19), and the process returns to the processing S15 for generating bitmap data based on the generated information and the processing is continued. .

この処理により、例えばレイアウトに含まれる構成要素の一つについて、その面積が変化する修正が行われたか、または形成される画像の面積が変更される修正が行われたとき、当該構成要素について、関連づけられているソースを読み出し、当該構成要素内に含め得る最大の面積のビットマップデータを生成しなおす。具体的な例として、ソースから800字、600字、400字の各文字列情報が生成可能である上述の例を用いると、例えば800字の記事を表す文字列情報に基づくビットマップデータが形成されていた構成要素について、その面積を減少し、また、内部に含める文字列のサイズを大きくする修正が行われた結果、当該構成要素内に、800字の記事のビットマップデータが形成できなくなった場合、形成時の面積が次に大きくなる、600字の記事を表す文字列情報を生成する。そして、この600字の記事に含まれる各文字に基づき、変更後の形成パラメータ情報(P)が表す字形、サイズ等の文字ビットマップを生成し、変更後形状規定情報(F)で規定される領域に配列していく。   With this process, for example, when one of the components included in the layout is corrected to change its area, or when the correction of changing the area of the image to be formed is performed, Read the associated source and re-generate bitmap data of the largest area that can be included in the component. As a specific example, using the above-described example in which each character string information of 800 characters, 600 characters, and 400 characters can be generated from a source, for example, bitmap data based on character string information representing an article of 800 characters is formed. As a result of reducing the area of the existing component and increasing the size of the character string included in the component, the bitmap data of the 800-character article cannot be formed in the component. If so, character string information representing an article of 600 characters that generates the next largest area is generated. Then, based on each character included in the 600-character article, a character bitmap such as a character shape and size represented by the changed formation parameter information (P) is generated, and is defined by the changed shape defining information (F). Arrange in the area.

この結果、例えば形状規定情報で規定される領域内にすべての文字ビットマップが配列できたならば、600字の記事が当該構成要素内に形成されることとなる。   As a result, for example, if all the character bitmaps can be arranged in the area defined by the shape defining information, an article of 600 characters is formed in the component.

[画像形成の指示]
制御部11は、さらに、クライアント装置2から、紙面規定情報を特定する識別子とともに、画像を形成するべき旨の指示を受けて次の処理を行う。すなわち制御部11は、指示された紙面規定情報の識別子を含む紙面画像情報をストレージ部13から読み出す。また、この紙面画像情報に含まれるレイアウト識別子を読み出す。
[Image formation instructions]
Further, the control unit 11 performs the following process in response to an instruction to form an image together with an identifier for specifying the paper surface definition information from the client device 2. That is, the control unit 11 reads out the page image information including the instructed identifier of the page specification information from the storage unit 13. Further, the layout identifier included in the page image information is read out.

制御部11は、記憶部12内に、1ページ分のビットマップ画像を形成するための領域を確保し、読み出した紙面画像情報の紙面データベース(D)に含まれている構成要素の識別子を所定の順序で選択する。そして、レイアウト識別子に関連づけられているレイアウト規定情報を参照し、選択した識別子に関連づけられている形状規定情報(F)によって規定されるページ内の領域に、選択した識別子に関連づけられたビットマップデータを転写する。   The control unit 11 secures an area for forming a bitmap image for one page in the storage unit 12, and assigns the identifiers of the constituent elements included in the page database (D) of the read page image information to a predetermined value. Select in order. Then, with reference to the layout definition information associated with the layout identifier, bitmap data associated with the selected identifier is displayed in the area within the page defined by the shape definition information (F) associated with the selected identifier. Transcript.

制御部11は、こうして各構成要素の領域内に、対応して生成したビットマップを転写して、1ページ分のビットマップ画像を生成し、当該生成したビットマップ画像の情報をプリンタ装置3へ送出する。   The control unit 11 transcribes the correspondingly generated bitmap in the region of each component in this way, generates a bitmap image for one page, and sends information about the generated bitmap image to the printer device 3. Send it out.

以上の構成によって、互いに形成時の面積が異なるような複数の部分画像候補を記述した部分画像記述情報としてのソースから、レイアウトによって規定されたサイズに適合した画像部分を生成することとなる。   With the above-described configuration, an image portion conforming to the size defined by the layout is generated from a source as partial image description information describing a plurality of partial image candidates having different areas at the time of formation.

なお、ここまでの説明では、構成要素の領域に対して、当該構成要素に含めるべきビットマップ画像が収まらない場合に、当該ビットマップ画像の元となったソースを参照して、より小さいビットマップ画像を生成する動作について説明したが、構成要素の領域に対し、当該構成要素に対応して生成されたビットマップ画像を配置したときに、構成要素の面積とビットマップ画像との面積の差により生じる余白が、あるしきい値以上であるような場合など、余白が大きすぎることもある。   In the description so far, when the bitmap image to be included in the component does not fit in the component area, the smaller bitmap is referred to by referring to the source that is the source of the bitmap image. Although the operation for generating an image has been described, when the bitmap image generated corresponding to the component is arranged in the component area, the difference between the area of the component and the area of the bitmap image is caused. The margin may be too large, such as when the margin is greater than a certain threshold.

[下限値の設定]
そこで本実施の形態では、さらに、各構成要素に対して、当該構成要素に含める画像部分のサイズの下限値を表す情報を関連づけて記憶しておき、形成したビットマップデータのサイズが当該下限値より小さい場合に、その旨を警告する情報を出力することとしてもよい。
[Lower limit setting]
Therefore, in the present embodiment, information indicating the lower limit value of the size of the image portion included in the component element is stored in association with each component element, and the size of the formed bitmap data is set to the lower limit value. When it is smaller, information that warns that may be output.

この場合は、レイアウト規定情報において、構成要素の識別子に対して、さらに下限値(例えば構成要素内に含まれるビットマップデータの面積の下限値)の情報を関連づけて保持させておく。   In this case, in the layout defining information, information on the lower limit value (for example, the lower limit value of the area of the bitmap data included in the component element) is further stored in association with the identifier of the component element.

そして画像処理装置1の制御部11は、例えば図7や図9に示した処理S6や処理S16において、生成したビットマップデータが、対応する構成要素の形状規定情報(F)で表される領域内に形成できた(ビットマップデータの面積が形状規定情報(F)で表される領域の面積内であった)と判断される場合に、さらに、当該生成したビットマップデータのサイズ(例えば当該生成したビットマップデータの面積)を算出し、それが対応する構成要素に関連づけてレイアウト規定情報に記録されている下限値と比較し、下限値より大きい(または以上である)か否かを調べる。ここで下限値よりも大きい場合は、既に説明したように処理を続けて、紙面データベース(D)に当該ビットマップデータを格納する処理を行う。   Then, the control unit 11 of the image processing apparatus 1 uses, for example, the region in which the generated bitmap data is represented by the shape defining information (F) of the corresponding component in the processes S6 and S16 illustrated in FIGS. If the size of the generated bitmap data is determined (for example, the area of the bitmap data is within the area of the region represented by the shape defining information (F)) The area of the generated bitmap data) is calculated and compared with the lower limit value recorded in the layout definition information in association with the corresponding component, and it is checked whether it is greater than (or greater than) the lower limit value. . If the value is larger than the lower limit value, the process is continued as described above, and the process of storing the bitmap data in the paper database (D) is performed.

また、ここで対応する構成要素に関連づけてレイアウト規定情報に記録されている下限値以下(または未満)である場合など、下限値によって定められた面積の条件を満足しないときには、紙面規定情報を生成した利用者に対して、その旨を表す警告のメッセージを送信する。このメッセージは、例えば電子メールなどで送信すればよい。   Also, when the area condition defined by the lower limit value is not satisfied, such as when it is less than (or less than) the lower limit value recorded in the layout specification information in association with the corresponding component here, the paper page definition information is generated. A warning message to that effect is sent to the user. This message may be transmitted by e-mail, for example.

さらに、図7や図9における処理S9やS19において、構成要素に含められないと判断されたビットマップデータよりも小さいビットマップデータを、対応するソースから生成できない場合は、紙面規定情報を生成した利用者に対して、その旨を表す警告のメッセージを送信してもよい。   Furthermore, in the processes S9 and S19 in FIG. 7 and FIG. 9, if the bitmap data smaller than the bitmap data determined not to be included in the constituent elements cannot be generated from the corresponding source, the page specification information is generated. A warning message indicating that may be sent to the user.

[動作]
本実施の形態によると、例えば原稿の作成者は、同じ趣旨の記事について、複数の長さの原稿を作成しておき、画像処理装置1に登録しておく。
[Operation]
According to the present embodiment, for example, a document creator creates a document having a plurality of lengths for an article having the same purpose and registers it in the image processing apparatus 1.

また、編集者等は、レイアウトを規定する情報として、各原稿の配置領域を特定する情報や、当該配置領域内に配置する原稿の形成態様(フォントを指定する情報など)を定めるとともに、各配置領域に含めるべき原稿を特定する。   In addition, as information defining the layout, editors and the like define information for specifying the placement area of each document, and the formation mode of the document placed in the placement area (information for specifying fonts, etc.) Identify the manuscripts that should be included in the area.

画像処理装置では、各配置領域に含めるべき原稿として特定された情報に基づき、当該配置領域に含めることのできる最大の長さの原稿の画像を選択的に、当該配置領域内に形成する。編集者等が配置領域の形状や、形成態様を変更した場合には、当該変更が為された配置領域について再度、当該配置領域に含めるべき原稿として特定された情報に基づき、当該配置領域に含めることのできる最大の長さの原稿の画像を選択的に、当該配置領域内に形成する。   In the image processing apparatus, based on information specified as a document to be included in each placement area, an image of a document having the maximum length that can be included in the placement area is selectively formed in the placement area. When an editor or the like changes the shape or form of the arrangement area, the arrangement area that has been changed is included in the arrangement area again based on information specified as a document to be included in the arrangement area. An image of a document having the maximum length that can be formed is selectively formed in the arrangement area.

また形成した原稿の画像の面積が、配置領域ごとに予め定めた下限値の面積よりも小さい場合など、配置領域内の余白が予め定めれた基準よりも大きくなる場合に、その旨を警告するメッセージを出力する。   In addition, when the margin of the image in the arrangement area is larger than a predetermined reference, such as when the area of the image of the formed document is smaller than the area of the lower limit value predetermined for each arrangement area, a warning to that effect is given. Output a message.

[変形例]
ここまでの説明では、図7や図9における処理S6やS16において、形成したビットマップデータと、構成要素の形状とを比較しているが、これに代えて、例えば構成要素内に含める画像が文字列の情報である場合、構成要素ごとに文字数の許容範囲として、下限値と上限値とを設定しておき、構成要素に関連づけられたソースから、当該許容範囲に属する文字数の原稿を生成してもよい。
[Modification]
In the description so far, the formed bitmap data is compared with the shape of the component in the processes S6 and S16 in FIGS. 7 and 9, but instead of this, for example, an image included in the component is included. In the case of character string information, a lower limit value and an upper limit value are set as the allowable range of the number of characters for each component, and a document having the number of characters belonging to the allowable range is generated from the source associated with the component. May be.

また、紙面全体における文字数の最大値を設定しておき、レイアウトに含まれる各構成要素に含める文字数の合計が当該紙面全体における文字数の最大値を超えたときに、いずれかの構成要素に関連づけられたソースからより少ない文字数の原稿を生成し直してもよい。   In addition, a maximum value of the number of characters in the entire page is set, and when the total number of characters included in each component included in the layout exceeds the maximum number of characters in the entire page, the maximum number of characters is associated with one of the components. A document having a smaller number of characters may be regenerated from the source.

さらに各構成要素に関連づける文字数の許容範囲の上限値を、紙面全体における文字数の最大値と、各構成要素の面積比とに基づき、例えば、i番目の構成要素の面積Aiと、紙面全体における文字数の最大値Pとを用いて、n番目の構成要素に係る許容範囲の上限値Xnを、
Xn=P×An/ΣAi+α
と定めてもよい。ここで、ΣAiは、レイアウトに含まれるすべての構成要素の面積の合計値を意味し、αは、任意の定数値とする。
Furthermore, based on the maximum value of the number of characters in the entire sheet and the area ratio of each component, for example, the area Ai of the i-th component and the number of characters in the entire sheet And the upper limit value Xn of the allowable range relating to the nth component,
Xn = P × An / ΣAi + α
May be defined. Here, ΣAi means the total value of the areas of all the components included in the layout, and α is an arbitrary constant value.

さらに構成要素に含める画像内の文字数をカウントする際には、原稿の情報(ページ記述言語で記述されたコード)に基づいてカウントしてもよい。   Furthermore, when counting the number of characters in the image included in the component, the count may be based on document information (code described in the page description language).

[警告の変形例]
また、ここまでの説明では、電子メールなどにて警告メッセージを送信する例について述べたが、例えば文字数が上限を超えていたり、下限値を下回っている構成要素の外接枠を、予め定めた色で描画したり、かかる構成要素の領域をハッチングや所定の色で描画したり、エラーである旨の文字列を描画するなどした警告画像を生成して、プリンタ装置3に印刷出力させてもよい。
[Variation of warning]
In the above description, an example in which a warning message is transmitted by e-mail or the like has been described. For example, a circumscribed frame of a component whose number of characters exceeds the upper limit or falls below the lower limit is set to a predetermined color. A warning image may be generated and printed out by the printer device 3 by drawing the image, drawing the area of the component element with hatching or a predetermined color, or drawing a character string indicating an error. .

また画像形成の指示があったときに、ソースが関連づけられていない構成要素があった場合、当該構成要素については、「未入稿」である旨の文字列を合成した画像を生成し、プリンタ装置3に印刷出力させてもよい。   If there is a component that is not associated with a source when an image formation instruction is given, an image is generated by combining the character strings that indicate “not submitted” for the component, and the printer The apparatus 3 may be printed out.

また、プリンタ装置3で印刷出力させる代わりに、例えばクライアント装置2の画面で表示可能な画像として、クライアント装置2へ送信してもよい。これにより、例えば図10に示すような画像が表示ないし印刷されることとなる。   Further, instead of printing out by the printer device 3, it may be transmitted to the client device 2 as an image that can be displayed on the screen of the client device 2, for example. Thereby, for example, an image as shown in FIG. 10 is displayed or printed.

このことで配置領域としての構成要素の形状に対し、その内部に形成されるべき画像の修正を支援できる。   As a result, it is possible to support the correction of the image to be formed inside the shape of the component as the arrangement area.

本発明の実施の形態に係る画像処理装置及びその接続例を表す構成ブロック図である。1 is a configuration block diagram illustrating an image processing apparatus according to an embodiment of the present invention and a connection example thereof. 本発明の実施の形態に係る画像処理装置が保持するレイアウト規定情報の例を表す説明図である。It is explanatory drawing showing the example of the layout regulation information which the image processing apparatus which concerns on embodiment of this invention hold | maintains. 本発明の実施の形態に係るクライアント装置の例を表す構成ブロック図である。It is a block diagram showing an example of a client device according to an embodiment of the present invention. 本発明の実施の形態に係る画像処理装置で保持するソースの情報の例を表す説明図である。It is explanatory drawing showing the example of the information of the source hold | maintained with the image processing apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る画像処理装置が保持するソースの情報の別の例を表す説明図である。It is explanatory drawing showing another example of the information of the source | sauce which the image processing apparatus which concerns on embodiment of this invention hold | maintains. 本発明の実施の形態に係る画像処理装置が用いる紙面規定情報の例を表す説明図である。It is explanatory drawing showing the example of the paper surface prescription | regulation information which the image processing apparatus which concerns on embodiment of this invention uses. 本発明の実施の形態に係る画像処理装置の動作例を表すフローチャート図である。It is a flowchart figure showing the example of operation of the image processing device concerning an embodiment of the invention. 本発明の実施の形態に係る画像処理装置が生成する紙面画像情報の例を表す説明図である。It is explanatory drawing showing the example of the paper surface image information which the image processing apparatus which concerns on embodiment of this invention produces | generates. 本発明の実施の形態に係る画像処理装置でのレイアウトが変更された際の動作例を表すフローチャート図である。It is a flowchart figure showing the example of operation when the layout in the image processing device concerning an embodiment of the invention is changed. 本発明の実施の形態に係る画像処理装置が出力する警告画像の例を表す説明図である。It is explanatory drawing showing the example of the warning image which the image processing apparatus which concerns on embodiment of this invention outputs.

符号の説明Explanation of symbols

1 画像処理装置、2 クライアント装置、3 プリンタ装置、11,21 制御部、12,22 記憶部、13 ストレージ部、14,25 通信部、23 操作部、24 表示部。   DESCRIPTION OF SYMBOLS 1 Image processing apparatus, 2 Client apparatus, 3 Printer apparatus, 11, 21 Control part, 12, 22 Storage part, 13 Storage part, 14, 25 Communication part, 23 Operation part, 24 Display part.

Claims (2)

ページごとの画像に含める構成要素の形状と、当該構成要素の各々の配列とを規定する配置規定情報を保持する手段と、
前記構成要素を特定する構成要素特定情報と、前記配置規定情報で特定される形状の領域に形成されるべき画像部分の候補として、互いに異なる面積の画像候補を記述した部分画像記述情報とを受け入れる手段と、
前記構成要素特定情報と前記配置規定情報とに基づいて、規定される構成要素の形状を特定し、当該特定した構成要素の形状に基づいて、前記受け入れた部分画像記述情報に含まれる複数の部分画像記述情報候補のうち前記配置規定情報に規定される領域内に形成されるべき一つを選択し、前記特定した構成要素の形状に従って形成されるべき画像部分を生成する手段と、
前記構成要素ごとに生成された画像部分を、前記配置規定情報に基づいて配列し、ページごとの画像を生成する手段と、
前記配置規定情報に規定される領域内に形成されるべき一つに選択された画像の大きさが、前記配置規定情報に規定される領域の大きさとの差により生じる余白があらかじめ定められた値以上となる大きさに対応した下限値より小さい場合に、その旨を警告する情報を出力する手段と、
を含むことを特徴とする画像処理装置。
Means for holding arrangement definition information that defines the shape of the component to be included in the image for each page and the arrangement of each component;
Accepting component element specifying information for specifying the component element and partial image description information describing image candidates having different areas as image portion candidates to be formed in the region having the shape specified by the arrangement defining information. Means,
Based on the component specifying information and the arrangement specifying information, a shape of the specified component is specified, and a plurality of parts included in the received partial image description information based on the specified shape of the component Means for selecting one of the image description information candidates to be formed in an area defined by the arrangement definition information, and generating an image portion to be formed according to the shape of the specified component;
Means for arranging image portions generated for each of the components based on the arrangement defining information, and generating an image for each page;
A value in which a margin generated by the difference between the size of the image selected as one to be formed in the area defined by the layout definition information and the size of the area defined by the layout definition information is predetermined. A means for outputting information to warn that if it is smaller than the lower limit corresponding to the magnitude,
An image processing apparatus comprising:
コンピュータを、
ページごとの画像に含める構成要素の形状と、当該構成要素の各々の配列とを規定する配置規定情報を保持する手段と
前記構成要素を特定する構成要素特定情報と、前記配置規定情報で特定される形状の領域に形成されるべき画像部分の候補として、互いに異なる面積の画像候補を記述した部分画像記述情報とを受け入れる手段と、
前記構成要素特定情報と前記配置規定情報とに基づいて、規定される構成要素の形状を特定し、当該特定した構成要素の形状に基づいて、前記受け入れた部分画像記述情報に含まれる複数の部分画像記述情報候補のうち前記配置規定情報に規定される領域内に形成されるべき一つを選択し、前記特定した構成要素の形状に従って形成されるべき画像部分を生成する手段と、
前記構成要素ごとに生成された画像部分を、前記配置規定情報に基づいて配列し、ページごとの画像を生成する手段と、
前記配置規定情報に規定される領域内に形成されるべき一つに選択された画像の大きさが、前記配置規定情報に規定される領域の大きさとの差により生じる余白があらかじめ定められた値以上となる大きさに対応した下限値より小さい場合に、その旨を警告する情報を出力する手段と、
として機能させるプログラム。
Computer
Means for holding arrangement definition information that defines the shape of the component to be included in the image for each page and the arrangement of each component;
Accepting component element specifying information for specifying the component element and partial image description information describing image candidates having different areas as image portion candidates to be formed in the region having the shape specified by the arrangement defining information. Means ,
Based on the component specifying information and the arrangement specifying information, a shape of the specified component is specified, and a plurality of parts included in the received partial image description information based on the specified shape of the component Means for selecting one of the image description information candidates to be formed in an area defined by the arrangement definition information, and generating an image portion to be formed according to the shape of the specified component;
Means for arranging image portions generated for each of the components based on the arrangement defining information, and generating an image for each page;
A value in which a margin generated by the difference between the size of the image selected as one to be formed in the area defined by the layout definition information and the size of the area defined by the layout definition information is predetermined. A means for outputting information to warn that if it is smaller than the lower limit corresponding to the magnitude,
Program to function as .
JP2006320309A 2006-11-28 2006-11-28 Image processing apparatus and program Expired - Fee Related JP4844364B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006320309A JP4844364B2 (en) 2006-11-28 2006-11-28 Image processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006320309A JP4844364B2 (en) 2006-11-28 2006-11-28 Image processing apparatus and program

Publications (2)

Publication Number Publication Date
JP2008134814A JP2008134814A (en) 2008-06-12
JP4844364B2 true JP4844364B2 (en) 2011-12-28

Family

ID=39559635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006320309A Expired - Fee Related JP4844364B2 (en) 2006-11-28 2006-11-28 Image processing apparatus and program

Country Status (1)

Country Link
JP (1) JP4844364B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04304555A (en) * 1991-04-01 1992-10-27 Sumitomo Metal Ind Ltd Document processor
JPH10187714A (en) * 1996-12-26 1998-07-21 Matsushita Electric Ind Co Ltd Device and method for document preparation

Also Published As

Publication number Publication date
JP2008134814A (en) 2008-06-12

Similar Documents

Publication Publication Date Title
JP5189497B2 (en) Form creation system, network system using the same, and form creation method.
US20150082154A1 (en) Method and system for dynamic flowing data to an arbitrary path defined by a page description language
JPH11282829A (en) Font sharing system and method, and storage medium storing program to execute the sharing method
JP2006506713A (en) Iterative method for assigning elements and apparatus for assigning elements
JPH05101052A (en) Document preparation supporting device
JP4864786B2 (en) Image processing device
JP4844364B2 (en) Image processing apparatus and program
JP4179977B2 (en) Stamp processing apparatus, electronic approval system, program, and recording medium
JP2008134859A (en) Output document preparation device, output document preparation program, output document preparation server, and output document preparation method
JP4686339B2 (en) General-purpose variable print multi-page layout editing method and device
JPH06168310A (en) Document processor
JP4334987B2 (en) DTP editing apparatus having area designation function and data cutout function
JP2010009146A (en) Document processing method and document processor
JP2008186165A (en) Embedded font removal method
JP2005136808A (en) Stamp processing apparatus, electronic authorization system, program and recording medium
JP2001282776A (en) Device and method for processing document, and storage medium
JP2973548B2 (en) Printing control device
JP2007058464A (en) Document processor
JP3437293B2 (en) Character output method and character processing device
JP2001251493A (en) Apparatus, method and system for image processing and recording medium
JP2009230423A (en) Template output control device and program
JPH08293033A (en) Information processor
JP2005004738A (en) Editing system, editing method, and program
JPH1027256A (en) Character input device
JP2007011516A (en) Print system, control method of print system and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110728

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110926

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

Free format text: PAYMENT UNTIL: 20141021

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees