JP2009053973A - Typesetting device, typesetting method, and typesetting processing program - Google Patents

Typesetting device, typesetting method, and typesetting processing program Download PDF

Info

Publication number
JP2009053973A
JP2009053973A JP2007220546A JP2007220546A JP2009053973A JP 2009053973 A JP2009053973 A JP 2009053973A JP 2007220546 A JP2007220546 A JP 2007220546A JP 2007220546 A JP2007220546 A JP 2007220546A JP 2009053973 A JP2009053973 A JP 2009053973A
Authority
JP
Japan
Prior art keywords
layout
image data
data
typesetting
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007220546A
Other languages
Japanese (ja)
Inventor
Takeshi Moriya
武司 森谷
Mikio Tano
幹雄 田野
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2007220546A priority Critical patent/JP2009053973A/en
Publication of JP2009053973A publication Critical patent/JP2009053973A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing system which automatically executes layout processing to eliminate handwork after automatic typesetting, and saves labor for layout processing. <P>SOLUTION: A typesetting device is provided with; a data acquisition processing means which acquires image data necessary for typesetting processing and layout data which indicates the size and position of a layout frame; and an automatic editing means which determines a variable magnification, on the basis of the layout data acquired by the data acquisition processing means, so that the image data may not deviate from the layout frame under the condition that the aspect ratio of the image data is kept, and adjusts a spacing between the layout frame and the image data for layout. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、データベース上のデータに基づき、DTP(Desk Top Publishing)データの作成及び編集を行う組版装置、組版方法、及び組版処理プログラムの技術分野に関する。   The present invention relates to a technical field of a typesetting apparatus, a typesetting method, and a typesetting processing program for creating and editing DTP (Desk Top Publishing) data based on data on a database.

一般に、自動組版において画像をDTPデータ上に自動でレイアウトする場合は、必ずしも画像のサイズとレイアウト枠のサイズとが一致するとは限らないため、画像のサイズの調整を行うことやレイアウト枠内のどの位置に画像をレイアウトするかを指定することが多い。   In general, when an image is automatically laid out on DTP data in automatic composition, the image size does not always match the layout frame size. It is often specified whether to lay out an image at a position.

例えば、特許文献1には、画像のサイズをレイアウト枠に合わせて調整を行い、且つ画像データの中心点とレイアウト枠の中心点を一致させるようにレイアウト位置を決定することが開示されている。
特許2687755号
For example, Patent Document 1 discloses that the size of an image is adjusted according to a layout frame, and the layout position is determined so that the center point of the image data matches the center point of the layout frame.
Japanese Patent No. 2687755

しかしながら、上記従来技術では、レイアウト枠の中心にレイアウトしたい対象物が画像データの中心にあるとは限らないため、自動で中心点を一致させるように配置した場合においても、最終的には手作業で微調整をしなければならないといった問題点があった。更に、画像データのサイズの調整のみ、或いは画像データの位置の調整のみの指定をするということができないという問題点もあった。また、レイアウト枠から画像データまでの余白(間隔)を全ての画像データで統一した場合等にも手作業する必要性が発生してしまうという問題点もあった。   However, in the above prior art, the object to be laid out at the center of the layout frame is not always at the center of the image data. Therefore, even when the center points are automatically arranged to coincide with each other, the manual operation is finally performed. There was a problem that fine adjustments had to be made. Furthermore, there is a problem that it is impossible to designate only the adjustment of the size of the image data or only the adjustment of the position of the image data. In addition, there is a problem that it is necessary to perform manual work even when the margin (interval) from the layout frame to the image data is unified for all the image data.

そこで、本発明は、上記問題点に鑑みて為されたもので、その目的の一例は、自動組版後に手作業が発生しないようにレイアウト作業を自動的に行い、レイアウト作業の省力化が可能な組版装置、組版方法、及び組版処理プログラムを提供することである。   Therefore, the present invention has been made in view of the above problems, and an example of the purpose thereof is to automatically perform layout work so that manual work does not occur after automatic composition, and to save labor in layout work. A typesetting device, a typesetting method, and a typesetting processing program are provided.

上記課題を解決するために、請求項1に記載の発明は、組版処理をするのに必要な画像データと、レイアウト枠の大きさと位置とを示すレイアウトデータとを取得するデータ取得処理手段と、前記データ取得処理手段により入力されたレイアウトデータに基づいて、前記画像データの縦横比を保持した状態で前記レイアウト枠から前記画像データが逸脱しないように変倍率を決定し、前記レイアウト枠と前記画像データとの間隔を調整することによりレイアウトを行う自動編集手段と、を備えることを特徴とする。   In order to solve the above-described problem, the invention described in claim 1 is a data acquisition processing unit that acquires image data necessary for the composition processing, and layout data indicating the size and position of the layout frame; Based on the layout data input by the data acquisition processing means, a scaling factor is determined so that the image data does not deviate from the layout frame while maintaining the aspect ratio of the image data, and the layout frame and the image Automatic editing means for performing layout by adjusting an interval between the data and data.

また、請求項2に記載の発明は、請求項1に記載の組版装置において、前記自動編集手段は、予め設定された上、下、左、及び右のうち少なくとも何れか一つの間隔を示す情報に基づいて、前記画像データと前記レイアウト枠との間隔を調整することを特徴とする。   According to a second aspect of the present invention, in the typesetting apparatus according to the first aspect, the automatic editing means is information indicating at least one of preset upper, lower, left, and right intervals. Based on the above, an interval between the image data and the layout frame is adjusted.

また、請求項3に記載の発明は、請求項1又は2に記載の組版装置において、前記自動編集手段は、前記画像データに含まれる表示対象物が前記レイアウト枠の中央に位置するように調整することを特徴とする。   According to a third aspect of the present invention, in the typesetting apparatus according to the first or second aspect, the automatic editing means adjusts so that the display object included in the image data is positioned at the center of the layout frame. It is characterized by doing.

また、請求項4に記載の発明は、組版処理をするのに必要な画像データと、レイアウト枠の大きさと位置とを示すレイアウトデータとを取得するデータ取得処理工程と、前記データ取得処理工程により取得されたレイアウトデータに基づいて、前記画像データの縦横比を保持した状態で前記レイアウト枠から前記画像データが逸脱しないように変倍率を決定し、前記レイアウト枠と前記画像データとの間隔を調整することによりレイアウトを行う自動編集工程と、を備えることを特徴とする。   According to a fourth aspect of the present invention, there is provided a data acquisition processing step of acquiring image data necessary for the composition processing and layout data indicating the size and position of the layout frame, and the data acquisition processing step. Based on the acquired layout data, a scaling factor is determined so that the image data does not deviate from the layout frame while maintaining an aspect ratio of the image data, and an interval between the layout frame and the image data is adjusted. And an automatic editing step for performing a layout.

また、請求項5に記載の発明は、コンピュータを、組版処理をするのに必要な画像データと、レイアウト枠の大きさと位置とを示すレイアウトデータとを取得するデータ取得処理手段、前記データ取得処理手段により取得されたレイアウトデータに基づいて、前記画像データの縦横比を保持した状態で前記レイアウト枠から前記画像データが逸脱しないように変倍率を決定し、前記レイアウト枠と前記画像データとの間隔を調整することによりレイアウトを行う自動編集手段、として機能させることを特徴とする。   According to a fifth aspect of the present invention, there is provided a data acquisition processing means for acquiring image data necessary for performing a typesetting process and layout data indicating the size and position of a layout frame. Based on the layout data acquired by the means, a scaling factor is determined so that the image data does not deviate from the layout frame while maintaining an aspect ratio of the image data, and an interval between the layout frame and the image data It is characterized by functioning as an automatic editing means for performing layout by adjusting.

以上説明したように、本発明によれば、自動組版後に手作業が発生しないようにレイアウト作業を自動的に行い、レイアウト作業の省力化を図ることができる。   As described above, according to the present invention, layout work can be automatically performed so that manual work does not occur after automatic typesetting, and labor saving of the layout work can be achieved.

以下、本発明を実施するための最良の実施形態について、図面に基づいて説明する。なお、以下に説明する実施の形態は、DTP編集システムに対して本発明を適用した場合の実施の形態である。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, the best mode for carrying out the invention will be described with reference to the drawings. The embodiment described below is an embodiment when the present invention is applied to a DTP editing system.

先ず、本実施形態に係るDTP編集システムの構成及び機能について、図1乃至3を参照して説明する。   First, the configuration and function of the DTP editing system according to the present embodiment will be described with reference to FIGS.

図1は、本実施形態に係るDTP編集システムの概要構成の一例を示す図であり、図2は、テキストデータベースに登録された情報の一例を示す図であり、図3は、組版端末の概要構成の一例を示す図である。   FIG. 1 is a diagram illustrating an example of a schematic configuration of the DTP editing system according to the present embodiment, FIG. 2 is a diagram illustrating an example of information registered in a text database, and FIG. 3 is an overview of a typesetting terminal. It is a figure which shows an example of a structure.

図1に示すように、DTP編集システムSは、データベースサーバ1と、組版装置の一例としての組版端末2とを備えて構成されており、データベースサーバ1と組版端末2とはLAN(Local Area Network)等のネットワーク3を介して接続されている。   As shown in FIG. 1, the DTP editing system S includes a database server 1 and a typesetting terminal 2 as an example of a typesetting device. The database server 1 and the typesetting terminal 2 are connected to a LAN (Local Area Network). ) Or the like.

データベースサーバ1は、例えばサーバコンピュータからなり、記憶部(例えばハードディスクドライブ等からなる)には、カタログ、チラシ、又は雑誌等のDTPデータの基になる商品(カタログ等の紙面上に掲載される商品)に関する情報を登録するためのデータベースが構築されている。当該データベースとしては、テキストデータベース11、画像データベース12、及び組み込み体裁データベース13がある。   The database server 1 is composed of, for example, a server computer, and a storage unit (for example, composed of a hard disk drive or the like) has a product (a product published on paper such as a catalog) as a basis of DTP data such as a catalog, a flyer, or a magazine. ) A database for registering information on) has been established. The database includes a text database 11, an image database 12, and a built-in appearance database 13.

テキストデータベース11には、図2に示すように、商品毎に固有に付与された商品番号に対応付けられて、各商品の商品名、商品の価格、画像ファイル名、及び余白(間隔)の指定値が登録されている。なお、余白(間隔)の指定値は、例えば図2に示すように、上余白、下余白、左余白、及び右余白を示す情報である。当該余白(間隔)の指定値は、画像データに含まれる表示対象物(例えば、後述する図6(B)に示す「○」、「△」、及び「☆」)がレイアウト枠の中央に位置するように予め設定されている。   As shown in FIG. 2, the text database 11 is associated with the product number uniquely assigned to each product, and specifies the product name, product price, image file name, and margin (interval) for each product. A value is registered. The specified value of the margin (interval) is information indicating an upper margin, a lower margin, a left margin, and a right margin, for example, as shown in FIG. The designated value of the margin (interval) is that the display object included in the image data (for example, “◯”, “Δ”, and “☆” shown in FIG. 6B described later) is positioned at the center of the layout frame. Is set in advance.

画像データベース12には、商品番号に対応付けられて各商品の画像データが登録されている。   In the image database 12, image data of each product is registered in association with the product number.

組み込み体裁データベース13には、例えばカタログ等の紙面に掲載すべき各商品のテキスト及び画像の組み込み体裁(言い換えれば、レイアウト)を示すデータ(レイアウト枠の大きさと位置とを示すレイアウトデータが含まれる)(例えばXML(eXtensible Markup Language)及びXSLT(eXtensible Stylesheet Language Transformation)形式で記述)が登録されている。   The built-in appearance database 13 includes, for example, data indicating the built-in appearance (in other words, layout) of texts and images of products to be published on a paper such as a catalog (including layout data indicating the size and position of the layout frame). (For example, XML (eXtensible Markup Language) and XSLT (eXtensible Stylesheet Language Transformation) are described).

そして、データベースサーバ1は、組版端末2からの要求に応じてテキストデータベース11、画像データベース12、及び組み込み体裁データベース13に登録されたデータを取得し、ネットワーク3を介して組版端末2に送信するようになっている。   The database server 1 acquires data registered in the text database 11, the image database 12, and the built-in appearance database 13 in response to a request from the typesetting terminal 2, and transmits the data to the typesetting terminal 2 via the network 3. It has become.

組版端末2は、図3に示すように、CPU,RAM,データ及びプログラムを記憶するROM等を備える処理部21、ハードディスクドライブ等を備える記憶部22、液晶ディスプレイ等を備える表示部23、マウス及びキーボードを備える操作部24、及びネットワーク3を介してデータベースサーバ1と通信を行うための通信部25を備えて構成されている。   As shown in FIG. 3, the typesetting terminal 2 includes a processing unit 21 having a CPU, RAM, ROM for storing data and programs, a storage unit 22 having a hard disk drive, a display unit 23 having a liquid crystal display, a mouse, An operation unit 24 including a keyboard and a communication unit 25 for communicating with the database server 1 via the network 3 are configured.

そして、処理部21は、CPUが例えば記憶部22に記憶されているDTP編集アプリケーションプログラム(本発明の組版処理プログラムを含む)を読み出し実行することにより、本発明のデータ取得処理手段、及び自動編集手段等として機能し、後述する処理を行うようになっている。   Then, the processing unit 21 reads and executes the DTP editing application program (including the composition processing program of the present invention) stored in the storage unit 22, for example, so that the data acquisition processing unit and the automatic editing of the present invention are executed. It functions as a means or the like, and performs processing described later.

具体的には、処理部21は、オペレータからの指示(操作部24の操作による)に従って、DTPデータの基になる商品に関する情報をデータベースサーバ1及びネットワーク3を介して、テキストデータベース11、画像データベース12、及び組み込み体裁データベース13から取得し、取得した商品に関する情報(テキストデータ、画像データ、及び組み込み体裁(レイアウト)を示すデータ)をRAMにおいて予め設定されたDTPデータの表示領域に格納する。   Specifically, in accordance with an instruction from the operator (by the operation of the operation unit 24), the processing unit 21 sends information related to the product that is the basis of the DTP data via the database server 1 and the network 3 to the text database 11 and the image database. 12 and the information (text data, image data, and data indicating the embedded appearance (layout)) acquired from the embedded appearance database 13 and stored in the display area of the DTP data set in advance in the RAM.

そして、処理部21は、上記取得したテキストデータと、画像データと、組み込み体裁を示すデータとに基づいて、組版処理を行い、組版処理により得られたDTPデータを表示部23におけるディスプレイ(表示画面)上に表示させる。   Then, the processing unit 21 performs a typesetting process based on the acquired text data, image data, and data indicating an embedding style, and displays the DTP data obtained by the typesetting process on a display (display screen) in the display unit 23. ) Display on top.

このとき、処理部21は、上記レイアウトデータに基づいて、画像データの縦横比を保持した状態で当該画像データが上記レイアウト枠から逸脱しないように変倍率を決定し、上記画像データと上記レイアウト枠との間隔を調整することによりレイアウトを行うようになっている。   At this time, based on the layout data, the processing unit 21 determines a scaling factor so that the image data does not deviate from the layout frame while maintaining the aspect ratio of the image data, and the image data and the layout frame are determined. The layout is performed by adjusting the interval between and.

次に、本実施形態に係るDTP編集システムSの動作について、図5を用いて説明する。   Next, the operation of the DTP editing system S according to the present embodiment will be described with reference to FIG.

なお、当該動作の前提として、DTPデータの基になる商品に関する情報が通信部25及びネットワーク3を介して当該データベースサーバ1から取得されているものとする。   Note that, as a premise of the operation, it is assumed that information related to the product that is the basis of the DTP data is acquired from the database server 1 via the communication unit 25 and the network 3.

先ず、処理部21は、データベースサーバ1から取得したレイアウトデータ及び画像データに基づいて、組版データの1頁内の必要な位置に必要な大きさで、画像データをレイアウト(割り付け)処理する(ステップS11)。   First, based on the layout data and image data acquired from the database server 1, the processing unit 21 performs layout (allocation) processing of image data at a required size within one page of the formatted data (step). S11).

次に、処理部21は、当該レイアウトされた画像データのサイズを調整するか否かを判定し(ステップS12)、当該画像データのサイズを調整しない場合には(ステップS12;NO)、ステップS15に移行する。一方、当該画像データのサイズを調整する場合には(ステップS12;YES)、ステップS13に移行する。   Next, the processing unit 21 determines whether or not the size of the laid out image data is to be adjusted (step S12). If the size of the image data is not to be adjusted (step S12; NO), step S15 is performed. Migrate to On the other hand, when adjusting the size of the image data (step S12; YES), the process proceeds to step S13.

次に、処理部21は、画像データの角部とレイアウト枠の角部とを一致させる(ステップS13)。これにより、例えば、図4(A)に示す状態から(B)に示す状態のように、画像データ51の角部51aと、レイアウト枠52の角部52aとが一致される。なお、画像データ51の角部51aとレイアウト枠52の角部52aとを一致させるとは、当該画像データ51の輪郭を構成する二辺51b及び51cと、当該レイアウト枠52の二辺52b及び52cとを合わせることである。また、各角部を一致させずに、当該画像データの輪郭を構成する一辺(例えば51b又は51c)と当該レイアウト枠の一辺(例えば52b又は52c)とを合わせても良い。   Next, the processing unit 21 matches the corners of the image data with the corners of the layout frame (step S13). As a result, for example, as shown in FIG. 4A to the state shown in FIG. 4B, the corner 51a of the image data 51 and the corner 52a of the layout frame 52 are matched. Note that matching the corners 51 a of the image data 51 with the corners 52 a of the layout frame 52 means that the two sides 51 b and 51 c that constitute the contour of the image data 51 and the two sides 52 b and 52 c of the layout frame 52. Together. Further, one side (for example, 51b or 51c) constituting the contour of the image data may be matched with one side (for example, 52b or 52c) of the layout frame without matching each corner.

次に、処理部21は、当該画像データの縦横比を保持した状態で、画像データが当該レイアウト枠を逸脱しないように変倍率を決定する(ステップS14)。即ち、当該画像データのサイズを当該レイアウト枠の縦方向又は横方向の一方の辺に一致するように縦横比を保持したまま調整し、或いは当該レイアウト枠に完全に一致するように縦横比を保持したまま当該画像データのサイズを調整する。そして、縦方向に一致した場合には横方向に余白(間隔)が存在したとしても当該画像データのサイズ調整処理を終了し、逆に横方向に一致した場合には縦方向に余白(間隔)が存在したとしても当該画像データのサイズ調整処理を終了する。   Next, the processing unit 21 determines a scaling factor so that the image data does not deviate from the layout frame while maintaining the aspect ratio of the image data (step S14). That is, the size of the image data is adjusted while maintaining the aspect ratio so as to match one of the vertical and horizontal sides of the layout frame, or the aspect ratio is maintained so as to completely match the layout frame. The size of the image data is adjusted as it is. Then, if there is a margin (interval) in the horizontal direction if it matches in the vertical direction, the size adjustment processing of the image data is ended. Conversely, if it matches in the horizontal direction, the margin (interval) in the vertical direction Even if exists, the size adjustment processing of the image data ends.

次いで、処理部21は、当該画像データのレイアウト位置を調整するか否かを判定し(ステップS15)、図2(A)に示すテキストデータを参照して、当該レイアウト位置を調整しない場合には(ステップS15;NO)、当該処理を終了する。   Next, the processing unit 21 determines whether or not to adjust the layout position of the image data (step S15). When the layout position is not adjusted with reference to the text data shown in FIG. (Step S15; NO), the process ends.

一方、図2(A)に示すテキストデータを参照して、当該レイアウト位置を調整する場合には(ステップS15;YES)、ステップS16に移行する。   On the other hand, when the layout position is adjusted with reference to the text data shown in FIG. 2A (step S15; YES), the process proceeds to step S16.

次に、処理部21は、当該レイアウト枠と当該画像データとの間隔を計測する(ステップS16)。   Next, the processing unit 21 measures the interval between the layout frame and the image data (step S16).

次いで、処理部21は、当該計測した間隔の値を、例えば図2に示すようなテキストデータに記憶させるか、又は後述する図6(A)に示すような1商品毎のレイアウトに関する情報を有するテンプレートファイルに記憶させる(ステップS17)。尚、当該計測した間隔の値は組版端末2のRAM上に一時的に記憶していても良い。   Next, the processing unit 21 stores the measured interval value in, for example, text data as shown in FIG. 2, or has information on the layout for each product as shown in FIG. It is stored in the template file (step S17). Note that the measured interval value may be temporarily stored in the RAM of the typesetting terminal 2.

なお、当該余白(間隔)の指定値は、mm等の長さを表す単位又はレイアウト枠に対する画像データの座標で指定する。また当該余白(間隔)の指定値は、自動組版するテキストデータとは別のテキストデータに記載しても良い。更に、1商品毎のレイアウトに関する情報を有するテンプレートファイルに記憶しても良い。   The specified value of the margin (interval) is specified by the unit of the length such as mm or the coordinates of the image data with respect to the layout frame. The specified value of the margin (interval) may be described in text data different from the text data to be automatically formatted. Further, it may be stored in a template file having information on the layout for each product.

次いで、処理部21は、当該テキストデータ又はテンプレートファイルに記憶された当該レイアウト枠と当該画像データとの間隔の値に基づいて、当該画像データの位置を調整する(ステップS18)。   Next, the processing unit 21 adjusts the position of the image data based on the interval value between the layout frame and the image data stored in the text data or template file (step S18).

そして処理部21は、レイアウトされたデータを記憶部22に記憶する。ここで、図6(A)は、組版処理するためのテンプレートの一例を示す図であり、図6(B)は、自動組版結果の表示の一例を示す図である。   Then, the processing unit 21 stores the laid out data in the storage unit 22. Here, FIG. 6A is a diagram illustrating an example of a template for performing the typesetting process, and FIG. 6B is a diagram illustrating an example of display of an automatic typesetting result.

図6(A)に示すように、DTPデータ上には、テキストデータ及び画像データが予め設定された位置(フレーム)に配置されている。また、図6(B)の例では、商品名、商品価格、及び画像レイアウト枠が、「丸、10円、○」の場合、「三角、20円、△」の場合、及び「星、30円、☆」の場合に夫々設定され、画像データのサイズ調整と余白(間隔)調整を行ったときの自動組版結果の一例を示している。   As shown in FIG. 6A, text data and image data are arranged on the DTP data at preset positions (frames). In the example of FIG. 6B, the product name, product price, and image layout frame are “circle, 10 yen, ○”, “triangle, 20 yen, Δ”, and “star, 30”. An example of an automatic composition result when image data size adjustment and margin (interval) adjustment are performed is set for each of “circle” and “☆”.

例えば、図2(A)に示すように、商品番号1に対応付けられた画像ファイル名maru.epsの場合、上下の余白(間隔)指定値はなく、左余白(間隔)指定値が3mmに指定されているため、図6(B)左上図のように画像データがレイアウトされ、その結果、表示対象物である○は、レイアウト枠の中心に配置されることになる。   For example, as shown in FIG. 2A, in the case of the image file name maru.eps associated with the product number 1, there is no upper and lower margin (interval) designation value, and the left margin (interval) designation value is 3 mm. Since it is designated, the image data is laid out as shown in the upper left diagram of FIG. 6B, and as a result, the display object ○ is arranged at the center of the layout frame.

なお、余白(間隔)を指定する場合は、レイアウト枠と画像データのどの位置を基準としても良く、上下左右全ての間隔に対して指定することができるようにしても良い。   When the margin (interval) is designated, any position in the layout frame and the image data may be used as a reference, and it may be designated for all the top, bottom, left, and right intervals.

更に、上下や左右の間隔が夫々均等になるように自動配置することもできるようにしても良い。例えば、図2(A)に示すように、商品番号3に対応付けられた画像ファイル名hosi.epsの場合、上下の余白(間隔)の指定値は無く、左右の余白(間隔)指定値がXmmに指定されているため、図6(B)左下図のように画像データがレイアウトされ、その結果、表示対象物である☆は、レイアウト枠の中心に配置されることになる。   Furthermore, automatic arrangement may be made so that the vertical and horizontal intervals are equal. For example, as shown in FIG. 2A, in the case of the image file name hosi.eps associated with the product number 3, there is no specified value for the upper and lower margins (intervals), and the specified values for the left and right margins (intervals) Since Xmm is designated, the image data is laid out as shown in the lower left diagram of FIG. 6B. As a result, the display object “☆” is arranged at the center of the layout frame.

なお、画像データのサイズ調整を行わずに余白(間隔)の調整のみを行ったときの自動組版結果の一例を図7(A)及び(B)に示す。   FIGS. 7A and 7B show an example of the result of automatic composition when only the margin (interval) is adjusted without adjusting the size of the image data.

具体的には、先ず、処理部21は、データベースサーバ1から取得したレイアウトデータ及び画像データに基づいて、組版データの1頁内の必要な位置に必要な大きさで、画像データをレイアウト(割り付け)処理する(ステップS11)。   Specifically, first, the processing unit 21 lays out (allocates) image data in a required size at a required position in one page of the formatted data based on the layout data and image data acquired from the database server 1. ) Process (step S11).

次に、処理部21は、当該レイアウトされた画像データのサイズを調整しない(ステップS12;NO)ので、ステップS15に移行する。   Next, since the processing unit 21 does not adjust the size of the laid out image data (step S12; NO), the processing unit 21 proceeds to step S15.

そして、処理部21は、当該画像データのレイアウト位置を調整するか否かを判定し(ステップS15)、図2(B)に示すテキストデータを参照して、当該レイアウト位置を調整し(ステップS15;YES)、ステップS16に移行する。   Then, the processing unit 21 determines whether or not to adjust the layout position of the image data (step S15), and adjusts the layout position with reference to the text data shown in FIG. 2B (step S15). YES), the process proceeds to step S16.

次に、処理部21は、当該レイアウト枠と当該画像データとの間隔を計測する(ステップS16)。   Next, the processing unit 21 measures the interval between the layout frame and the image data (step S16).

次いで、処理部21は、当該計測した間隔の値を、例えば図2(B)に示すようなテキストデータに記憶させるか、又は後述する図7(A)に示すような1商品毎のレイアウトに関する情報を有するテンプレートファイルに記憶させる(ステップS17)。   Next, the processing unit 21 stores the measured interval value in, for example, text data as shown in FIG. 2B, or relates to a layout for each product as shown in FIG. The information is stored in a template file having information (step S17).

次いで、処理部21は当該テキストデータ又はテンプレートファイルに記憶された当該レイアウト枠と当該画像データとの間隔の値に基づいて、当該画像データの位置を調整する(ステップS18)。   Next, the processing unit 21 adjusts the position of the image data based on the value of the interval between the layout frame and the image data stored in the text data or template file (step S18).

例えば、図2(B)に示すように、商品番号1に対応付けられた画像ファイル名maru.epsの場合、上余白(間隔)及び左余白(間隔)指定値が3mmに指定されているため、図7(B)左上図のように画像データがレイアウトされ、その結果、表示対象物である○は、レイアウト枠の中心に配置されることになる。   For example, as shown in FIG. 2B, in the case of the image file name maru.eps associated with the product number 1, the upper margin (interval) and left margin (interval) designation values are designated as 3 mm. The image data is laid out as shown in the upper left diagram of FIG. 7B. As a result, the display object ○ is arranged at the center of the layout frame.

更に、上下や左右の間隔が夫々均等になるように自動配置することもできるようにしても良い。例えば、図2(B)に示すように、商品番号3に対応付けられた画像ファイル名hosi.epsの場合、上下の余白(間隔)の指定値はYmm、及び左右の余白(間隔)指定値がXmmに指定されているため、図7(B)左下図のように画像データがレイアウトされ、その結果、表示対象物である☆は、レイアウト枠の中心に配置されることになる。   Furthermore, automatic arrangement may be made so that the vertical and horizontal intervals are equal. For example, as shown in FIG. 2B, in the case of the image file name hosi.eps associated with the product number 3, the specified values for the upper and lower margins (intervals) are Ymm and the specified values for the left and right margins (intervals). Is designated as Xmm, the image data is laid out as shown in the lower left diagram of FIG. 7B. As a result, the display object “☆” is arranged at the center of the layout frame.

また、余白(間隔)の調整を行わずに画像データのサイズ調整のみを行ったときの自動組版結果の一例を、図8(A)及び(B)に示す。   FIGS. 8A and 8B show an example of an automatic composition result when only the size adjustment of image data is performed without adjusting the margin (interval).

具体的には、先ず、処理部21は、データベースサーバ1から取得したレイアウトデータ及び画像データに基づいて、組版データの1頁内の必要な位置に必要な大きさで、画像データをレイアウト(割り付け)処理する(ステップS11)。   Specifically, first, the processing unit 21 lays out (allocates) image data in a required size at a required position in one page of the formatted data based on the layout data and image data acquired from the database server 1. ) Process (step S11).

次に、処理部21は、当該レイアウトされた画像データのサイズを調整して(ステップS12;YES)、ステップS13に移行する。   Next, the processing unit 21 adjusts the size of the laid out image data (step S12; YES), and proceeds to step S13.

次に、処理部21は、画像データの角部とレイアウト枠の角部とを一致させる(ステップS13)。   Next, the processing unit 21 matches the corners of the image data with the corners of the layout frame (step S13).

次に、処理部21は、当該画像データの縦横比を保持した状態で、画像データが当該レイアウト枠を逸脱しないように変倍率を決定する(ステップS14)。   Next, the processing unit 21 determines a scaling factor so that the image data does not deviate from the layout frame while maintaining the aspect ratio of the image data (step S14).

そして、処理部21は、当該画像データのレイアウト位置を調整せず(ステップS15;NO)、当該処理を終了する。   Then, the processing unit 21 ends the processing without adjusting the layout position of the image data (step S15; NO).

なお、本実施形態において、画像データの位置調整と画像データのサイズ調整とを同時に指定したが、夫々単独で画像データの位置調整と画像データのサイズ調整とを指定しても良い。   In the present embodiment, the position adjustment of the image data and the size adjustment of the image data are simultaneously specified, but the position adjustment of the image data and the size adjustment of the image data may be specified independently.

以上説明したように、本実施形態によれば、組版処理をするのに必要な画像データ51と、レイアウト枠52の大きさと位置とを示すレイアウトデータとを取得し、取得されたレイアウトデータに基づいて、画像データ51の縦横比を保持した状態で画像データ51がレイアウト枠52から逸脱しないように変倍率を決定し、画像データ51とレイアウト枠52との余白(間隔)を調整することによりレイアウトを行う構成にしたので、自動組版後に手作業が発生しないようにすることができる。   As described above, according to the present embodiment, the image data 51 necessary for the typesetting process and the layout data indicating the size and position of the layout frame 52 are acquired, and based on the acquired layout data. Thus, the magnification ratio is determined so that the image data 51 does not deviate from the layout frame 52 while maintaining the aspect ratio of the image data 51, and the layout is adjusted by adjusting the margin (interval) between the image data 51 and the layout frame 52. Therefore, it is possible to prevent manual operations from occurring after automatic composition.

また、予め設定された上、下、左、及び右のうち少なくとも何れか一つの余白(間隔)を示す情報に基づいて、画像データ51とレイアウト枠52との余白(間隔)を調整し、画像データ51に含まれる表示対象物○、△、及び☆がレイアウト枠52の中央に位置するように調整する構成にしたので、表示対象物○、△、及び☆がレイアウト枠52の中央に位置することができる。   Also, the margin (interval) between the image data 51 and the layout frame 52 is adjusted based on information indicating at least one of the preset upper, lower, left, and right margins (interval), and the image Since the display objects ○, Δ, and ☆ included in the data 51 are adjusted so as to be positioned at the center of the layout frame 52, the display objects ○, Δ, and ☆ are positioned at the center of the layout frame 52. be able to.

よって、自動組版後に手作業が発生しないようにレイアウト作業を自動的に行い、レイアウト作業の省力化を図ることができる。   Therefore, layout work can be automatically performed so that manual work does not occur after automatic composition, and labor saving of the layout work can be achieved.

本実施形態に係るDTP編集システムSの概要構成の一例を示す図である。It is a figure which shows an example of schematic structure of DTP editing system S which concerns on this embodiment. テキストデータベース11に登録された情報の一例を示す図である。It is a figure which shows an example of the information registered into the text database. 組版端末2の概要構成の一例を示す図である。It is a figure which shows an example of schematic structure of the typesetting terminal. 本実施形態に係る画像データのレイアウトの処理を説明するための図である。It is a figure for demonstrating the layout process of the image data which concerns on this embodiment. 本実施形態に係るDTP編集システムSの動作の一例を示すフローチャートである。It is a flowchart which shows an example of operation | movement of DTP editing system S which concerns on this embodiment. (A)は、組版処理するためのテンプレートの一例を示す図であり、(B)は、自動組版結果の表示の一例を示す図である。(A) is a figure which shows an example of the template for a typesetting process, (B) is a figure which shows an example of a display of an automatic typesetting result. (A)は、組版処理するためのテンプレートの一例を示す図であり、(B)は、自動組版結果の表示の一例を示す図である。(A) is a figure which shows an example of the template for a typesetting process, (B) is a figure which shows an example of a display of an automatic typesetting result. (A)は、組版処理するためのテンプレートの一例を示す図であり、(B)は、自動組版結果の表示の一例を示す図である。(A) is a figure which shows an example of the template for a typesetting process, (B) is a figure which shows an example of a display of an automatic typesetting result.

符号の説明Explanation of symbols

1 データベースサーバ
2 組版端末
3 ネットワーク
11 テキストデータベース
12 画像データベース
13 組み込み体裁データベース
21 処理部
22 記憶部
23 表示部
24 操作部
25 通信部
S DTP編集システム
DESCRIPTION OF SYMBOLS 1 Database server 2 Formatting terminal 3 Network 11 Text database 12 Image database 13 Built-in appearance database 21 Processing part 22 Storage part 23 Display part 24 Operation part 25 Communication part S DTP editing system

Claims (5)

組版処理をするのに必要な画像データと、レイアウト枠の大きさと位置とを示すレイアウトデータとを取得するデータ取得処理手段と、
前記データ取得処理手段により取得されたレイアウトデータに基づいて、前記画像データの縦横比を保持した状態で前記画像データが前記レイアウト枠から逸脱しないように変倍率を決定し、前記画像データと前記レイアウト枠との間隔を調整することによりレイアウトを行う自動編集手段と、
を備えることを特徴とする組版装置。
Data acquisition processing means for acquiring image data necessary for the composition processing and layout data indicating the size and position of the layout frame;
Based on the layout data acquired by the data acquisition processing means, a scaling factor is determined so that the image data does not deviate from the layout frame while maintaining the aspect ratio of the image data, and the image data and the layout Automatic editing means for performing layout by adjusting the distance from the frame;
A typesetting device comprising:
請求項1に記載の組版装置において、
前記自動編集手段は、予め設定された上、下、左、及び右のうち少なくとも何れか一つの間隔を示す情報に基づいて、前記画像データと前記レイアウト枠との間隔を調整することを特徴とする組版装置。
In the typesetting device according to claim 1,
The automatic editing means adjusts the interval between the image data and the layout frame based on information indicating at least one interval among upper, lower, left, and right set in advance. Typesetting equipment.
請求項1又は2に記載の組版装置において、
前記自動編集手段は、前記画像データに含まれる表示対象物が前記レイアウト枠の中央に位置するように調整することを特徴とする組版装置。
In the typesetting device according to claim 1 or 2,
The typesetting apparatus, wherein the automatic editing unit adjusts a display object included in the image data so as to be positioned at a center of the layout frame.
組版処理をするのに必要な画像データと、レイアウト枠の大きさと位置とを示すレイアウトデータとを取得するデータ取得処理工程と、
前記データ取得処理工程により取得されたレイアウトデータに基づいて、前記画像データの縦横比を保持した状態で前記画像データが前記レイアウト枠から逸脱しないように変倍率を決定し、前記画像データと前記レイアウト枠との間隔を調整することによりレイアウトを行う自動編集工程と、
を備えることを特徴とする組版方法。
A data acquisition processing step for acquiring image data necessary for the composition processing and layout data indicating the size and position of the layout frame;
Based on the layout data acquired by the data acquisition processing step, a scaling factor is determined so that the image data does not deviate from the layout frame while maintaining the aspect ratio of the image data, and the image data and the layout are determined. An automatic editing process for laying out by adjusting the distance between the frame,
A typesetting method comprising:
コンピュータを、
組版処理をするのに必要な画像データと、レイアウト枠の大きさと位置とを示すレイアウトデータとを取得するデータ取得処理手段、
前記データ取得処理手段により取得されたレイアウトデータに基づいて、前記画像データの縦横比を保持した状態で前記画像データが前記レイアウト枠から逸脱しないように変倍率を決定し、前記画像データと前記レイアウト枠との間隔を調整することによりレイアウトを行う自動編集手段、
として機能させることを特徴とする組版処理プログラム。
Computer
Data acquisition processing means for acquiring image data necessary for the composition processing and layout data indicating the size and position of the layout frame;
Based on the layout data acquired by the data acquisition processing means, a scaling factor is determined so that the image data does not deviate from the layout frame while maintaining the aspect ratio of the image data, and the image data and the layout Automatic editing means to perform layout by adjusting the distance from the frame,
A typesetting processing program characterized by functioning as
JP2007220546A 2007-08-28 2007-08-28 Typesetting device, typesetting method, and typesetting processing program Pending JP2009053973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007220546A JP2009053973A (en) 2007-08-28 2007-08-28 Typesetting device, typesetting method, and typesetting processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007220546A JP2009053973A (en) 2007-08-28 2007-08-28 Typesetting device, typesetting method, and typesetting processing program

Publications (1)

Publication Number Publication Date
JP2009053973A true JP2009053973A (en) 2009-03-12

Family

ID=40504991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007220546A Pending JP2009053973A (en) 2007-08-28 2007-08-28 Typesetting device, typesetting method, and typesetting processing program

Country Status (1)

Country Link
JP (1) JP2009053973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462280A (en) * 2019-01-22 2020-07-28 北京嘀嘀无限科技发展有限公司 Picture generation method and device, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168835A (en) * 1993-12-16 1995-07-04 Sharp Corp Document processing system
JPH07319943A (en) * 1994-05-23 1995-12-08 Toppan Printing Co Ltd Layout device
JPH0869465A (en) * 1994-08-31 1996-03-12 Fujitsu Ltd Generating device for control information for block copy generation
JP2006197210A (en) * 2005-01-13 2006-07-27 Canon Inc Information processing device, printing system, printing operation assisting method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168835A (en) * 1993-12-16 1995-07-04 Sharp Corp Document processing system
JPH07319943A (en) * 1994-05-23 1995-12-08 Toppan Printing Co Ltd Layout device
JPH0869465A (en) * 1994-08-31 1996-03-12 Fujitsu Ltd Generating device for control information for block copy generation
JP2006197210A (en) * 2005-01-13 2006-07-27 Canon Inc Information processing device, printing system, printing operation assisting method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111462280A (en) * 2019-01-22 2020-07-28 北京嘀嘀无限科技发展有限公司 Picture generation method and device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US8819543B2 (en) Image processing apparatus, image processing method, and storage medium
US20130063736A1 (en) Information processing apparatus, method, and program
US8687228B2 (en) Application function extension method, system, and program
US20110242601A1 (en) Control device of image formation system and recording medium storing image formation control program
CN106560805A (en) Page layout method of WYSIWYG document editor based on HTML standard
US20090190162A1 (en) Print control device, information display method for print control device, and information display program for print control device
JP6012382B2 (en) Information processing apparatus, information processing method, and program
JP2009053973A (en) Typesetting device, typesetting method, and typesetting processing program
WO2011001945A1 (en) Image processing device, image processing method, and storage medium
JP2009218702A (en) Typesetting device, typesetting method and typesetting processing program
JP2014017661A (en) Image processing device, image processing method, and program
JP2014089597A (en) Information processing apparatus, information processing method, and program
JP5007695B2 (en) Typesetting device, typesetting method, and typesetting processing program
KR101508075B1 (en) Information processing apparatus, web browser control method, and storage medium storing program thereof
JP2008262361A (en) Composition device, composition method, and composition process program
JP5303967B2 (en) Typesetting device, typesetting method, and typesetting processing program
CN105824485B (en) A kind of method for displaying textbox and device
WO2017036152A1 (en) Method and device for generating product document
JP6844567B2 (en) Editing method, editing program and editing device
JP2008269039A (en) Typesetting apparatus, typesetting method, and typesetting processing program
JP6551846B2 (en) Page processing apparatus, page processing method, and program
JP6341259B2 (en) Typesetting device, typesetting program and typesetting method
JP5573433B2 (en) Drawing creation support device
JP5723428B2 (en) Content display system, web page generation device, and display terminal
JP5218256B2 (en) Typesetting method and typesetting device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100426

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120705

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120717

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120913

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130305