JP3910048B2 - Database publishing method and apparatus - Google Patents

Database publishing method and apparatus Download PDF

Info

Publication number
JP3910048B2
JP3910048B2 JP2001362811A JP2001362811A JP3910048B2 JP 3910048 B2 JP3910048 B2 JP 3910048B2 JP 2001362811 A JP2001362811 A JP 2001362811A JP 2001362811 A JP2001362811 A JP 2001362811A JP 3910048 B2 JP3910048 B2 JP 3910048B2
Authority
JP
Japan
Prior art keywords
property
small
data
small group
database
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
JP2001362811A
Other languages
Japanese (ja)
Other versions
JP2003150581A (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.)
Kyodo Printing Co Ltd
Original Assignee
Kyodo 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 Kyodo Printing Co Ltd filed Critical Kyodo Printing Co Ltd
Priority to JP2001362811A priority Critical patent/JP3910048B2/en
Publication of JP2003150581A publication Critical patent/JP2003150581A/en
Application granted granted Critical
Publication of JP3910048B2 publication Critical patent/JP3910048B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、データベースに記録された物件データを紙に印刷したり画面に表示するための組版用電子文書を生成するためのデータベースパブリッシング方法及びその装置に関する。
【0002】
【従来の技術】
近年、HTML(HyperText Markup Language)電子文書に置き換わる電子文書としてXML(eXtensible Markup Language)電子文書が注目されている。XML電子文書は、テキスト形式で表現され、内容を成す文字列をタグ形式の予約語で挟み込む。また、XML電子文書は、電子文書の構造をDTD(Document Type Definition;文書型定義)という文書型定義文書にすることで、表現方法の指定や文章中の文字列に意味を付加するような独自のタグを拡張できる。更に、XML電子文書は、オブジェクト指向の階層構造、認証機能によるドキュメントのチェック機能、強力なハイパーリンク機能などを特徴とする。
【0003】
また近年、XML(eXtensible Markup Language)電子文書から組版用電子文書としてのXSL−FO(eXtensible Stylesheet Language-Formatting Object)電子文書を生成する方法として次に説明する方法が登場している。すなわち、この方法は、XML電子文書からXSL−FO電子文書を生成するための所定の規則を記述したXSLT(eXtensible Stylesheet Language Transformation)スタイルシートと呼ばれるXSLT電子文書の記述内容に従って、XSLTプロセッサがXML電子文書を基に組版用電子文書としてのXSL−FO電子文書を生成するものである。XSL−FOプロセッサは、生成されたXSL−FO電子文書を基に印刷や画面表示を行う。
【0004】
【発明が解決しようとする課題】
ところで、中古車情報誌、住宅情報誌、求人情報誌、旅行情報誌、チケット情報誌等の物件情報掲載誌においては、掲載する物件の数は数百乃至数千程度と膨大であるが、各物件を掲載するための小組の様式の種類は少ない。即ち、各物件情報掲載誌では、所定の数個から十数個程度の僅かな種類の小組様式しか用いられず、限られた種類の小組を組み合わせた組版に多数の物件の情報を割り当てている。
【0005】
また、物件情報掲載誌に掲載する物件の数は膨大であり、また、物件の追加、削除の頻度が高いので、このような物件のデータは、通常は、データベースに記録されている。
【0006】
本発明は、物件情報掲載誌を印刷又は表示するための組版用電子文書を物件情報掲載誌の特徴を考慮してデータベースを基に生成するデータベースパブリッシング方法及びその装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明の第1の観点によれば、構造化文書を画面表示又は紙面印刷のために利用する組版用文書に変換するための変換用文書生成方法において、コンピュータが、画面に表示され、又は、紙面に印刷される各ページ内に掲載する各物件を特定できる情報並びに該各物件を割り当てる各小組の種類及び位置を示した小組配置・物件割当データを入力手段により入力するステップと、コンピュータが、画面に表示され、又は、紙面に印刷される各種類の小組毎に用意され、各々が各種類の小組の様式並びに仮引数として記述された該小組にデータが挿入されるべき物件を特定できる情報、特定された物件の該小組に挿入されるべきデータ及び該小組の位置を記述した1又は2以上の小組テンプレートを演算手段を利用して生成する小組テンプレート生成ステップと、コンピュータが前記小組テンプレートを記憶手段に格納するステップと、コンピュータが、何れかの前記小組テンプレートを、指定された小組の種類に応じて選択し、選択された小組テンプレートに前記各物件を特定できる情報及び指定された小組テンプレートの位置を実引数として引き渡すための引数引渡文を演算手段を利用して生成し、前記記憶手段に格納するステップと、コンピュータが、各ページに掲載する各物件であって、画面に表示され、又は、紙面に印刷されるものについて、該各物件を特定できる情報並びに該各物件を割り当てる小組の種類及び位置を指定して前記引数引渡文を適用するための小組テンプレート呼出文を演算手段を利用して生成し、前記記憶手段に格納するステップと、コンピュータが、前記1又は2以上の小組テンプレート、前記引数引渡文及び前記小組テンプレート呼出文を前記記憶手段から読み出し、これらを含む変換用文書を演算手段を利用して生成し、前記記憶手段に格納するステップと、を有することを特徴とする変換用文書生成方法が提供される。
【0008】
本発明の第1の観点による変換用文書生成方法において前記小組テンプレート生成ステップは、コンピュータが、画面に表示され、又は、紙面に印刷される各小組についてのDTP(Desk Top Publishing)データを基に各小組についての小組スタイル情報を演算手段を利用して生成し、前記記憶手段に格納するステップと、コンピュータが、各小組についての前記小組スタイル情報を前記記憶手段から読み出し、該小組スタイル情報に含まれる実引数を仮引数に変換することにより、各小組についての前記小組テンプレートを演算手段を利用して生成するステップと、を有していてもよい。
【0009】
本発明の第2の観点によれば、本発明の第1の観点による変換用文書生成方法の各ステップと、コンピュータが、画面に表示され、又は、紙面に印刷される各ページ内に掲載する各物件のデータをデータベースから読み出すステップと、コンピュータが、画面に表示され、又は、紙面に印刷される各ページ内に掲載する各物件のデータを記述した構造化文書を演算手段を利用して生成する構造化文書生成ステップと、コンピュータが前記構造化文書を記憶手段に格納するステップと、を有することを特徴とするデータベースパブリッシング方法が提供される。
【0011】
本発明の第2の観点によるデータベースパブリッシング方法において、コンピュータが、前記小組配置・物件割当データを演算手段を利用して生成し、前記記憶手段に格納するステップを更に有し、コンピュータが、前記小組配置・物件割当データを演算手段を利用して生成し、前記記憶手段に格納するステップは、コンピュータが、各ページの各位置に何れかの種類の小組を配置する小組配置ステップと、コンピュータが、各ページに配置された各小組に各物件を割り当てる物件割当ステップと、を有していてもよい。
【0012】
本発明の第2の観点によるデータベースパブリッシング方法において、前記小組配置ステップは、コンピュータが、ページに所定の種類の小組が予め配置されているマスターレイアウトを呼び出すステップと、コンピュータが、前記マスターレイアウトを修正するステップと、を有していてもよい。
【0013】
本発明の第2の観点によるデータベースパブリッシング方法において、前記物件割当ステップは、コンピュータが、前記データベースから所定のフィルタにより絞り込まれた物件データを読み出すステップと、コンピュータが、前記データベースから読み出された前記物件データを所定の順序に従って各小組に割り当てるステップと、を有していてもよい。
【0014】
本発明の第2の観点によるデータベースパブリッシング方法において、前記所定の順序とは、物件の並べ替え順序及び/又はページ上の所定の配置順序に従った順序であってもよい。
【0015】
本発明の第2の観点によるデータベースパブリッシング方法において、コンピュータが、前記小組配置・物件割当データを演算手段を利用して生成し、前記記憶手段に格納するステップは、コンピュータが、物件データの指定された項目での改ページ又は改段を小組配置・物件割当データに施すステップを更に有していてもよい。
【0016】
本発明の第2の観点によるデータベースパブリッシング方法は、コンピュータが、前記構造化文書に前記変換用文書を適用して前記組版用文書を演算手段を利用して生成し、前記記憶手段に格納するステップを更に有していてもよい。
【0023】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態について詳細に説明する。
【0024】
本実施形態では、中古車情報誌の出版に係るデータベースパブリッシング方法及びその装置を例に取り説明するが、他の物件情報掲載誌にも本実施形態を適用することができる。
【0025】
図1〜3に本発明の実施形態によるデータベースパブリッシング装置の構成を示す。
【0026】
図1を参照すると、本発明の実施形態によるデータベースパブリッシング装置は、データベース作成手段101、DTP(Desk Top Publishing)手段102、小組スタイル情報生成手段103、小組テンプレート生成手段104及びマスターレイアウト生成手段105を備える。図2を参照すると、本発明の実施形態によるデータベースパブリッシング装置は、更に、小組配置・物件割当手段106、XSLT文書生成手段107を備える。図3を参照すると、本発明の実施形態によるデータベースパブリッシング装置は、更に、XSLTプロセッサ108、XSL−FOプロセッサ109、110を備える。
【0027】
なお、これらの手段及びプロセッサは、コンピュータがコンピュータプログラムを読み込んで実行することにより、コンピュータのハードウェア資源を用いて実現することができる。
【0028】
図1を参照すると、データベース作成手段101は、物件データベースを定義し、物件データを物件データベースに入れて、物件データが定義された構造で体系化された物件データベース121を出力する。DTP手段102は、各小組のレイアウトをオペレータの操作により作成し、小組のレイアウトのデータをDTPデータ122として出力する。小組スタイル情報生成手段103は、DTPデータの形式の小組のレイアウトのデータを基に、小組スタイル情報123を生成し、これを出力する。小組テンプレート生成手段104は、小組スタイル情報123を基に、小組テンプレート124を生成して、これを出力する。マスターレイアウト生成手段105は、小組テンプレートを基に、マスターレイアウト125を生成し、これを出力する。
【0029】
図2を参照すると、小組配置・物件割当手段106は、物件データベース121、小組テンプレート124、マスターレイアウト125及びフィルタ141を基に、XML文書126及び小組配置・物件割当データ127を生成し、これらを出力する。XSLT文書生成手段107は、小組配置・物件割当データ127を基に、XSLT文書128を生成し、これを出力する。
【0030】
図3を参照すると、XSLTプロセッサ108は、XML文書126及びXSLT文書127を基に、XSL−FO文書128を生成し、これを出力する。XSL−FOプロセッサ109は、XSL−FO文書128を基に、表示画面129を生成し、これを出力する。XSL−FOプロセッサ110は、XSL−FO文書128を基に、印刷物130を生成し、これを出力する。
【0031】
次に、本発明の実施形態によるデータベースパブリッシング装置の各部の動作及び各データについて説明する。
【0032】
まず、物件データを記録したデータベース121は、図4に示すような構造を有するリレーショナルデータベースである。図4を参照すると、このリレーショナルデータベースは、物件テーブル、複数の参照テーブル、繰り返し項目テーブルを有する。物件テーブルは、物件ID、物件名、価格、メーカID、車両ID等をフィールドとして有する。参照テーブルとしては、メーカ車両テーブル、メーカテーブル、エリアテーブル、販売店テーブル、オプションテーブルがある。メーカ車両テーブルは、メーカID、車両ID、車両名をフィールドとして有する。メーカテーブルはメーカID、メーカ名をフィールドとして有する。エリアテーブルはエリアID、エリア名をフィールドとして有する。販売店テーブルは販売店ID、販売店名等をフィールドとして有する。オプションテーブルは、オプションID、オプション名等をフィールドとして有する。繰り返し項目テーブルとしては、物件オプションテーブルがある。物件オプションテーブルは、物件ID、順番号等をフィールドとして有する。物件テーブルと物件オプションテーブルは、物件IDによりリレーションが付けられ、物件テーブルとメーカ車両テーブルは、メーカIDと車両IDによりリレーションが付けられ、物件テーブルとエリアテーブルはエリアIDによりリレーションが付けられ、物件テーブルと販売店テーブルは販売店IDによりリレーションが付けられ、物件オプションテーブルとオプションテーブルはオプションIDによりリレーションが付けられ、メーカ車両テーブルとメーカテーブルはメーカIDによりリレーションが付けられる。
【0033】
また、物件データベース121から物件データを抽出するためのフィルタ141としては、次に述べるものを作成する。すなわち、特定の販売店の物件データを抽出するフィルタ、特定の地域の特定の販売店の物件データを抽出するフィルタ、特定のメーカの特定の車種の物件データを抽出するフィルタ等である。このようなフィルタは、図5に示すようなツリーで管理できるようにしておく。図5に示すように、特定の販売店の物件データを抽出するフィルタは一階層で表現され、特定の地域の特定の販売店の物件データを抽出するフィルタ及び特定のメーカの特定の車種の物件データを抽出するフィルタは二階層で表現される。
【0034】
次に、DTP手段102、小組スタイル情報生成手段103及び小組テンプレート生成手段104により小組テンプレート124を生成する動作を説明する。
【0035】
小組テンプレート124は、DTP手段102で作成された小組のレイアウトのDTPデータ122を基に、小組スタイル情報123を経て作成される。また、小組テンプレート124は、XSL−FO文書形式により記述され、XSLTプロセッサ109、110に入力するXSL−FO文書に組み込まれる。
【0036】
小組のレイアウトは、例えば、デザイン会社等でデザイナがDTP手段102を用いて作成する。作成された小組のレイアウトのサンプルを図6に示す。図6を参照すると、この小組のサンプルは、画像ボックス”G1”、テキストボックス”T1”及びテキストボックス”T2”を有する。画像ボックス”G1”には、中古車の画像のサンプルが貼付され、テキストボックス”T1”には、中古車の名称のサンプル「スーパーカー」が記述され、テキストボックス”T2”には、中古車の価格のサンプル「100万円」が記述される。DTP手段102は、この小組のレイアウトのDTPデータ122を生成し、出力する。
【0037】
次に、小組スタイル情報生成手段103(実際には、DTPソフトウェアの本発明による小組スタイル情報生成用のアドオンソフトウェア)により、小組のDTPデータ122を基に小組スタイル情報123を生成する。小組スタイル情報123は、XSL−FO文書形式で作成される。図6に示す小組から生成される小組スタイル情報123を図7に示し、図7に示す小組スタイル情報123のツリー構造を図8に示す。
【0038】
図7を参照すると、枠211内の記述から明らかなように、小組の左上座標として仮の座標(0cm、0cm)が記述され、小組の高さ(height)として10cmが記述され、小組の幅(width)として10cmが記述され、その他背景色等(background-color, background-tint, border-style, border-color, border-width, border-tint)の値が記述されている。小組の高さ、幅その他背景色等の値は、DTPデータ122から読み取ったものである。
【0039】
また、枠212内の記述は、テキストボックス”T1”についてのものであるが、この記述から明らかなように、テキストボックス”T1”の高さとしては2.5cmが記述され、その幅としては10cmが記述され、その小組内での左上座標としては(0cm、5cm)が記述されている。これらの値もDTPデータ122から読み取ったものである。また、テキストボックス”T1”に記述されていた「スーパーカー」も記述されているが、これは小組テンプレート124に変換された後にはパラメータとなるデータである。
【0040】
同様に、枠213内の記述は、テキストボックス”T2”についてのものであるが、この記述から明らかなように、テキストボックス”T2”の高さとしては2.5cmが記述され、その幅としては10cmが記述され、その小組内での左上座標としては(0cm、7.5cm)が記述されている。これらの値もDTPデータ122から読み取ったものである。また、テキストボックス”T2”に記述されていた「100万円」も記述されているが、これは小組テンプレートに変換された後にはパラメータとなるデータである。
【0041】
枠214内の記述は、画像ボックス”G1”についてのものであるが、この記述から明らかなように、画像ボックス”G1”の高さとしては5cmが記述され、その幅としては10cmが記述され、その小組内での左上座標としては(0cm、0cm)が記述されている。これらの値もDTPデータ122から読み取ったものである。スケーリング(scaling)としてはnon-uniformが記述されている。また、画像ボックス”G1”に貼付されていた画像名「SuperCar.jpg」も記述されているが、これは小組テンプレートに変換された後にはパラメータとなるデータである。
【0042】
次に、小組スタイル情報生成手段103が、小組のDTPデータ122から小組スタイル情報123を生成する方法を図9〜11を参照して説明する。
【0043】
図9に示すように、まず、「kogumi_style_info」等の枠215(図7)の部分を出力する(ステップS251)。ここで、出力するとは、小組スタイル情報123のファイルに直接又はバッファを介して書き込むことである。
【0044】
次に、小組全体についての「fo:block-container開始タグ」(枠211の部分)を出力する(ステップS252)。
【0045】
次に、小組内の全てのボックスについてステップS254〜S257を繰り返す(ステップS253)。図7の例では、3つのボックスがあるので、これらのステップS254〜S257を3回繰り返すことになる。繰り返しの中では、まず、ボックスがテキストボックスであるか否かを判断する(ステップS254)。ボックスがテキストボックスであれば、テキストボックスの処理を行う(ステップS255)。この処理の詳細は後述する。また、ボックスがテキストボックスでなければ、ボックスが画像ボックスであるか否かを判断する(ステップS256)。ボックスが画像ボックスであれば、画像ボックスの処理を行う(ステップS257)。この処理の詳細は後述する。
【0046】
次に、小組の終了タグである「fo:block-container」の終了タグを出力する(ステップS258)。このステップで出力される部分は、符号216(図7)で示す部分である。
【0047】
最後に、「kogumi_style_info」の終了タグを出力する(ステップS259)。このステップで出力される部分は、符号217(図7)で示す部分である。
【0048】
次に、テキストボックスの処理(ステップS255)の詳細を図10を参照して説明する。この処理では、枠212又は枠213で示す部分を出力する。
【0049】
まず、テキストボックスについての「fo:block-container」開始タグを出力する(ステップS261)。次に、DTPデータ122からテキストボックスの属性を取得する(ステップS262)。この属性とは、テキストボックスの高さ、幅、左上座標等である。次に、ステップS262で取得したテキストボックスの属性を出力する(ステップS263)。次に、テキストボックスについての「fo:block」開始タグを出力する(ステップS264)。次に、テキストデータの処理を行う(ステップS265)。この処理の詳細は後述する。次に、テキストボックスについての「fo:block」終了タグを出力する(ステップS266)。最後に、テキストボックスについての「fo:block-container」終了タグを出力する(ステップS267)。
【0050】
テキストデータの処理(ステップS265)では、まず、「fo:inline」開始タグを出力する(ステップS271)。次に、DTPデータ122からテキストデータと文字属性を取得する(ステップS272)。次に、取得した文字属性が反映された「fo:inline」の属性(font-family, font-style, font-size等)を出力する(ステップS273)。次に、取得したテキストデータ(図7の例では、「スーパーカー」又は「100万円」)を出力する(ステップS274)。最後に、「fo:inline」終了タグを出力する(ステップS275)。
【0051】
次に、画像ボックスの処理(ステップS257)の詳細を図11を参照して説明する。この処理では、枠214で示す部分を出力する。
【0052】
まず、画像ボックスについての「fo:block-container」開始タグを出力する(ステップS281)。次に、DTPデータ122から画像ボックスの属性を取得する(ステップS282)。この属性とは、画像ボックスの高さ、幅、左上座標等である。次に、ステップS282で取得した画像ボックスの属性を出力する(ステップS283)。次に、画像ボックスについての「fo:block」開始タグを出力する(ステップS284)。次に、画像データの処理を行う(ステップS285)。この処理の詳細は後述する。次に、画像ボックスについての「fo:block」終了タグを出力する(ステップS286)。最後に、画像ボックスについての「fo:block-container」終了タグを出力する(ステップS287)。
【0053】
画像データの処理(ステップS285)では、まず、「fo:external-graphic」開始タグを出力する(ステップS291)。次に、DTPデータ122から画像データの画像名及び属性を取得する(ステップS292)。この属性とは、画像ボックスへDTPデータ122を貼付する方法であり、例えば、スケーリング方法等である。次に、「fo:external-graphic」の属性を出力する(ステップS293)。ここでいう属性には、画像データの画像名(図7の例では、「SuperCar.jpg」)も含まれる。最後に、「fo:external-graphic」終了タグを出力する(ステップS294)。
【0054】
以上の方法で、小組のDTPデータ122から小組スタイル情報123が生成され、小組スタイル情報123のファイルが記録媒体に記録される。
【0055】
次に、上記の方法で生成された小組スタイル情報123から小組テンプレート124を小組テンプレート生成手段104により生成する。小組テンプレート124も、XSL−FO文書形式で作成される。図7に示す小組スタイル情報123から生成される小組テンプレート124を図12に示す。
【0056】
図7と図12を比較すると明らかなように、小組テンプレートの大部分は小組スタイル情報と同一であるが、一部が次の点において異なる。
(1)枠215の記述が、枠301の記述に置き換わる。
(2)枠302、303で示すテンプレートの記述がある。
【0057】
(3)枠304で示す小組全体についての「fo:block-container」の記述において、小組の「ID」が付加され、パラメータ「content-id」が付加され、左上座標がパラメータ化され、小組の「name」が付加され、「absolute-position="absoulte"」が付加されている。
【0058】
(4)枠305で示す「inline」の記述において、文字列「スーパーカー」が変数「物件名」に変更されている。
【0059】
(5)枠306で示す「inline」の記述において、文字列「100万円」が変数「価格」に変更されている。
【0060】
(6)枠307で示す画像ボックスについての「fo:block」において、画像名「SuperCar.jpg」が変数「画像名」に変更されている。
【0061】
図12に示す小組テンプレート124に対応したXML文書のツリー構造を図13に示す。図13においては、1つの物件についてのツリーしか表示していないが、他の物件についても同様なツリーが構築されている。
【0062】
このように小組テンプレート124においては、物件データのID、物件データの各項目がパラメータ化されているので、XSL−FO文書にこの小組テンプレート124を挿入した場合に、XSL−FO文書の他の部分からこれらのパラメータを指定してこの小組テンプレート124を呼び出すことが可能となる。パラメータとして指定される値は、XML文書から読み出される。
【0063】
次に、本発明による小組テンプレート生成手段104が、小組スタイル情報123から小組テンプレート124を生成する方法を図14〜19を参照して説明する。
【0064】
図14を参照すると、まず、小組スタイル情報123をファイルから読み込む(ステップS351)。次に、読み込んだ小組スタイル情報123の図8に示すツリー構造をメモリ上に構築する(ステップS352)。次に、各テキストボックス又は各画像ボックスに代入するべきXML文書の項目をパラメータとして設定するための繰り返し動作に入る(ステップS353)。
【0065】
各繰り返しの最初においては、図16に示すように、小組スタイル情報123に従って、小組のレイアウトを表示する。表示されたレイアウト上でユーザがテキストボックスの項目を選択したならば(ステップS354においてYES)、テキストボックス項目の設定を行う(ステップS355)。テキストボックス項目の設定の動作は後述する。表示されたレイアウト上でユーザが画像ボックスの項目を選択したならば(ステップS356でYES)、画像ボックス項目の設定を行う(ステップS357)。画像ボックス項目の設定の動作は後述する。
【0066】
テキスト項目の設定においては、まず、図17に示す画面を表示する。ユーザが項目追加ボタン401を押したならば、図18に示す画面を表示する。図18の画面には小組テンプレート生成手段104を起動したときに表示されるログインのダイアログで選択された物件データベースのうちの物件テーブルの項目及び物件テーブルと関連付けられているテーブル(メーカ車両テーブル、メーカテーブル等)の項目が表示される。ただし、図18の例では、説明の簡単のために、物件テーブルの物件名、価格、画像名のみを表示している。物件テーブルと関連付けられているテーブルの項目の表示様式については、後述する。ユーザがある項目を選択し(図18の例ではハッチングの入った「物件名」)、「OK」ボタンを押すと、選択された項目名が図17の画面の流し込み項目の欄402に表示される。図17の画面で流し込み項目についての種々の設定をして(説明は省略する。)、ユーザが図17の画面の「OK」ボタンを押すと、図16の画面で選択されたテキストボックスに流し込む項目として図18の画面で選択された項目が設定される(ステップS361)。次に、メモリに構築されている図8に示すツリー構造において、項目を流し込むべきテキストボックスの先頭ノードfo:block-containerを検索する(ステップS362)。例えば、物件名を流し込むべきテキストボックスとして符号403(図16)で示すテキストボックスが選択されているとすれば、符号404(図8)で示すノードを検索する。次に、ステップS362で選択されたノードに下にある「fo:inline」のノード(例えば符号405(図8)で示すノードである。)の下に記述されているサンプルデータを、物件データベース121のうちの選択されたテーブルの選択された項目の、物件データベース121から生成されたXML文書におけるノード「bukken」(各物件のノードである。符号406(図13))からみた相対パス(XML文書におけるXPATH)をパラメータとして指定する記述に置き換える(ステップS363)。なお、物件データベースからXML文書を生成する方法については後述する。
【0067】
画像項目の設定においては、まず、図19に示す画面を表示する。ユーザが項目追加ボタン407を押したならば、テキスト項目の設定の場合と同様に、図18に示す画面を表示する。ユーザがある項目を選択し(この例では、図18にかかわらず「画像名」)、「OK」ボタンを押すと、選択された項目名が図19の画面の流し込み項目の欄408に表示される。図19の画面で流し込み項目についての種々の設定をして(説明は省略する。)、ユーザが図19の画面の「OK」ボタンを押すと、図16の画面で選択された画像ボックスに、流し込むべき画像の画像名が記述された項目として図18の画面で選択された項目が設定される(ステップS371)。次に、メモリに構築されている図8に示すツリー構造において、画像を流し込むべき画像ボックスの先頭ノードfo:block-containerを検索する(ステップS372)。例えば、画像を流し込むべき画像ボックスとして符号409(図16)で示す画像ボックスが選択されているとすれば、符号410(図8)で示すノードを検索する。次に、ステップS365で選択されたノードに下にある「fo:external-graphic」のノード(例えば符号411(図8)で示すノードである。)の下に記述されているサンプルデータを、物件データベース121のうちの選択されたテーブルの選択された項目の、物件データベース121から生成されたXML文書におけるノードbukken(各物件のノードである。符号406(図13))からみた相対パス(XML文書におけるXPATH)をパラメータとして指定する記述に置き換える(ステップS373)。
【0068】
テキストボックス項目の設定が完了したならば、すなわち、メモリ上に構築されたツリー構造における上記の置き換えが完了したならば、メモリ上で更新されたツリー構造を基に小組テンプレートを作成し、ファイルに書き込む(ステップS358)。
【0069】
小組テンプレート生成手段104が行う以上の方法により、小組スタイル情報123から小組テンプレート124が生成される。
【0070】
次に、マスターレイアウト生成手段105によるマスターレイアウト125を生成する方法について説明する。
【0071】
まず、ページの分割数の指定を入力する。図20の例では、縦方向の分割数は7であり、横方向の分割数は10である。次に、各升目に配置する小組の種類を指定する。図20の例では、第3〜7行各列に配置する小組の種類は、小組1である。
【0072】
次に、小組配置・物件割当手段106による各ページについてのXML文書126及び小組配置・物件割当データ127の生成方法について説明する。
まず、オペレータの操作により表示した図21に示す「物件データ一括割り付け」の画面の「フィルタ」の文字の右隣の「参照」ボタンがオペレータの操作により押されたならば、対象ページに割り付けるデータを抽出するためのフィルタを選択するための画面(図22)を表示する。図22の画面は、図5に示すツリー構造を基に生成される。図22の画面では、オペレータは既に作成してある何れかのフィルタを選択する。オペレータは、選択の際には、図22の画面内の上のコンボボックスでフィルタのカテゴリを選択した後で、図22の画面内の下のリストで目的のフィルタを選択する。こうすることにより、フィルタ141によりデータベース121から抽出された物件データが対象ページに割り当てられる。
【0073】
次に、図21の画面の「並べ替え」の文字の右隣の「参照」ボタンがオペレータの操作により押されたならば、フィルタにより抽出された物件データを並べ替える順序を指定するための画面(図23)を表示する。図23の画面では、オペレータは、並べ替えに使用する項目又は作成済みの複数項目の組み合わせ(例えば、ボディ形状とグレードの組み合わせ)を1又は2以上選択する。例えば、図23の画面の右枠に上から順にメーカー名及び車両名が入力されたならば、並べ替え順序は、「メーカー名・車両名」となる。
【0074】
次に、図21の画面のページ指定の区分のテキストボックスにオペレータにより入力された開始ページを受け付けることにより対象ページを決定する。なお、終了ページの入力がない場合には、フィルタ141により抽出された物件データが終了するまでページを作成する。一方、終了ページの入力がある場合には、フィルタ141による抽出された物件データが余っていても、入力された終了ページでページの作成を終了する。
【0075】
次に、図21の画面のレイアウト指定の区分のマスターレイアウトのコンボボックスを利用して、既に作成してあるマスターレイアウトからの対象ページに適用するマスターレイアウト125の選択をオペレータから受け付ける。
【0076】
次に、図21の画面の小組配置方向の区分にある何れかの図付きのボタン(単ページについての4種類のボタン又は見開きページについての6種類のボタンのうちの何れかのボタン)をオペレータが押すことで小組配置方向を選択することを受け付けることにより、抽出された物件データをどのような順序で小組に割り当てるかを決定する。
【0077】
次に、図21の画面の改ページ・改段の区分で、改ページ又は改段を行うか否かを決定するためのチェックボックスへのオペレータによる入力(チェック付け又はチェック外し)を受け付ける。改段とは、指定の階層の項目内容が変化した時に、項目に対応したヘッダを付ける操作のことである。すなわち、改段とは、例えば、販売店が「MAX川口」から「ケーツー商会」に変化したときに、「ケーツー商会」の店舗情報を表示するためのヘッダを付ける操作のことである。改ページ又は改段を行う場合には、改ページ又は改段を行うタイミングの指定のオペレータによる入力を受け付ける。このタイミングは、階層1、階層2、…階層Nといった階層の番号により指定できる。例えば、フィルタとして地域・販売店によるフィルタを指定した場合には、階層1を指定すると、地域が変化したときに改ページ又は改段を行い、階層2を指定すると、販売店が変化したときに改ページ又は改段を行う。また、改ページ又は改段を行う場合には、改ページを行うのか又は改段を行うのかの指定をラジオボタンを通してオペレータから入力し、改ページが指定された場合には、1つのカテゴリに割り当てるページ数の指定を入力し、改段が指定された場合には、1つのカテゴリに割り当てる段数の指定を入力する。ここで、カテゴリとは、指定されたフィルタの指定された階層の項目のことである。例えば、フィルタとして地域・販売店によるフィルタが指定され、タイミングとして階層2が指定され、1つのカテゴリに割り当てるページ数として2ページが指定された場合には、1つの販売店に2ページが割り当てられる。
【0078】
図21の画面で上記の設定が行われた後、図21の「OK」ボタンがオペレータにより押されることにより、対象ページにおいて、選択されたマスターレイアウト125に従って配置される小組に、選択されたフィルタ141に従って物件データベース121から抽出された物件データが、選択された順序に従って割り当てられる。なおここで、選択された順序とは、並べ替え順序及び小組配置方向により決定される順序である。但し、選択された順序は並べ替え順序又は小組配置方向のうちの一方だけであっても良い。
【0079】
次に、小組配置・物件割当手段106は、必要に応じて、図24に示すレイアウトビューを通して、マスターレイアウトに従った小組の配置の変更を入力しても良い。図24の例では、図20のマスターレイアウトを、第3行第1〜5列をブランクとし、第4〜5行第1〜3列に小組2を配置し、第6〜7行第1〜3列にも小組2を配置するように変更している。
【0080】
また、小組配置・物件割当手段106は、必要に応じて、図25に示すページプレビューで、各小組に割り当てる各物件の変更を入力しても良い。
【0081】
また、小組配置・物件割当手段106は、図24に示すレイアウトビューの代わりに、図26に示すデータシートビューで、マスターレイアウトに従った小組の配置の変更を受け付けても良く、図25に示すページプレビューの代わりに、図26に示すデータシートビューで、各小組に割り当てる各物件の変更を受け付けても良い。図26に示すデータビューシートで小組の配置又は各小組に割り当てる各物件を変更する際には、該当する欄のデータを変更する。また、データビューシートで小組を削除する際には、データシートビューで表示されるテーブルのレコードを削除し、データシートビューで小組を追加する際には、データシートビューで表示されるテーブルのレコードを追加する。
【0082】
以上のようにして、各ページに掲載する物件が決定され、各物件を割り当てる小組の種類と位置も決定される。これらのデータはXML文書126及び小組配置・物件割当データ127に記録される。すなわち、XML文書126には、物件データベース121にある物件データのうちの選択されたフィルタ141により抽出された物件データが記述され、小組配置・物件割当データ127には、各ページの各升目に配置する小組の種類の位置及び各小組に割り当てる物件が記述される。なお、ページの分割数により図26の「割り付け位置」の項目で示される小組の割り付け位置(例えば、「1−4」(第1列第4行を示す。)、「4−4」(第4列第4行を示す。)等)に対応したページ上での座標が異なるが、割り付け位置とページ上での座標との対応関係は、分割数により決定されるので、分割数を各ページについて小組配置・物件割当データ127に記録しておく。又は、各ページの各割り付け位置と該割り付け位置のページ上での座標との関係を算出して、その対応関係を小組配置・物件割当データ127に記録しても良い。
【0083】
XSLT文書生成手段107は、小組配置・物件割当データ127を基にXSLT文書128を生成する。
【0084】
実際に生成するXSLT電子文書128について説明する前に、本実施形態で生成するXSLT電子文書の様式を、図27、28に示す。
【0085】
図27、28を参照すると、ブロック(A)で示す記述は、ページの余白の大きさを指定するための記述である。ブロック(B)で示す記述は、各ページ毎の記述であり、図27では、1ページ分だけ記載しているが、実際には中古車情報誌の中古車情報を掲載する全てのページの数だけ繰り返す。ブロック(C)で示す記述は、各物件を各ページの各小組に割り当てるための記述であり、図27では、1物件分だけ掲載しているが、実際には各ページに掲載する物件の数だけ繰り返す。ブロック(E)で示す記述は、各種類毎の小組の様式の記述する小組テンプレート124であり、図27では、1種類の小組分だけ掲載しているが、中古車情報誌で使用する小組の種類の数だけ繰り返す。
【0086】
ブロック(C)を見ると、文(1)は、各ページに割り付ける物件を所定の順序で指定するための文であり、この文により実引数として指定された各物件にテンプレート2(ブロック(F)で示す)を適用する。文(2)は、文(1)で指定された物件のデータを割り当てるべき小組の名前(小組の名前は小組の種類を表す。)をテンプレート2に実引数として引き渡すための文であり、文(3)は、テンプレート2に小組の左側の辺のX座標を実引数として引き渡すための文であり、文(4)は、テンプレート2に小組の上側の辺のY座標を実引数として引き渡すための文である。
【0087】
テンプレート2を見ると、文(5)は、小組の名前である実引数を受け取るための仮引数が記述された文であり、文(6)は、小組の左側の辺のX座標である実引数を受け取るための仮引数が記述された文であり、文(7)は、小組の上側の辺のY座標である実引数を受け取るための仮引数が記述された文である。文(21)は、選択肢のある条件付き処理を行うことの宣言文であり、文(22)は、小組の名前(kogumi-type)が所定の文字(図28の例では'K1')であるときに、文(24)の前までの処理を行うための判定文である。文(23)は、各種類の小組の様式並びに仮引数として記述された該小組にデータが挿入されるべき物件を特定できる情報、特定された物件の該小組に挿入されるべきデータ及び該小組の位置を記述した文である。図28に示すXSLT文書の例では、文(23)の内容を省略して記載しているが、図29〜34に示すXSLT文書の例では文(23)の内容、つまり、各種類の小組の様式並びに仮引数として記述された該小組にデータが挿入されるべき物件を特定できる情報、特定された物件の該小組に挿入されるべきデータ及び該小組の位置を具体的に記載している。
【0088】
原データから各ページに掲載する全ての物件の識別子、それらの物件を割り当てる小組の種類及び座標を読み込んで、これらの読み込まれたデータを文(1)、(2)、(3)、(4)に当てはめて、ブロック(B)、(C)、(E)を必要な数だけ繰り返すことにより、XSLT電子文書を生成することができる。
【0089】
XML電子文書の生成方法については後述するが、本実施形態で生成するXML電子文書の簡単な例を図35に示す。図35を参照すると、このXML文書は、bukken_dataの下にbukkenがあり、bukkenの下に物件についての複数のitemがある階層構造を有する。このXML文書は、全ページ(この例では2ページ)に掲載する物件についてのbukken_dataの集合である。従って、フィルタ141を用いて物件データベース121から物件データを抽出して、抽出された物件データと所定のタグを組み合わせることにより、全ページについてのXML文書を生成することができる。
【0090】
図35に示すXML電子文書と同時に生成する具体的なXSLT電子文書の内容を図29〜34に示す。
【0091】
また、XSLT電子文書127及びXML電子文書126の構造及びそれらの関係を示す概念図を図36に示す。
【0092】
XSLTプロセッサ108は、上記の方法で生成したXML電子文書126及びXSLT電子文書127を入力して、XML電子文書126に記述されたデータを、XSLT電子文書127に記述された書式に従って、XSL−FO電子文書128を生成する。図35に示すXML電子文書と図29〜34に示すXSLT電子文書を基に、XSLTプロセッサ108が生成したXSL−FO電子文書128を図37〜41に示す。
【0093】
図35は説明の簡単にするための単純なXML文書であるが、小組配置・物件割当手段106により物件データベース121から生成される実際のXML文書の構造について説明する。なお、物件データベース121から所定のフィルタ141により抽出されたデータのみがXML文書126に記述されるが、ここでは、抽出については考慮せず、XML文書の構造のみに着目して説明する。なお、物件の並び替えは、XSLT文書での物件と小組との対応付け及び小組の配置位置により行うので、XML文書で物件の並び替えをしておく必要はない。
【0094】
図4に示す物件データベース121からそのまま単純にXML文書を作成すると、図42に示すように、各テーブルについてのサブツリーがルートの直下に並列に配置されるツリーが構成される。しかし、このような構成を用いた場合、例えば、ある物件レコードで参照されている車両名を知りたい場合、まず、物件テーブルのうちのその物件レコードに記述されているメーカID及び車両IDを読み込んでから、メーカ車両テーブルのうちのそのメーカID及び車両IDを有するレコードを検索し、そのレコードの車両名を検索しなければならないため、処理が複雑となり、時間も多く費やされることとなる。
【0095】
そこで、本発明では、物件データベース121から生成されるXML文書126を上記のような検索を不要とし、物件テーブルで参照されるデータを簡単なXPATHで表現することができる構造を有するものとする。本実施形態で生成するXML文書の構造を図43〜47に示す。なお、図面の都合上、1つのXML文書の構造を図43〜47に分割して記載している。
【0096】
図4、43〜47を参照すると、物件テーブルの各レコードに直接記述されているデータである物件名、価格等はXML文書においては、通常通り物件bukken501(図43)の下の項目item(2つの例として、項目(項目名:name_asc="BKN_NAME"、表示用項目名:name_jp="物件名")502(図43)及び項目(項目名:name_asc="KAKAKU"、表示用項目名:name_jp="価格")503(図43))の下に記述されている。
【0097】
物件テーブルの各レコードから1つの項目より成る単純インデックスで参照されているエリアテーブルのエリア名は、物件bukken501(図43)の下の項目item(項目名:name_asc="AREA_ID"、表示項目名:name_jp="エリアID")504(図45)の下の参照テーブル(エリアテーブル)ref_table(項目名:name_asc="AREA")505(図45)の下の項目item(項目名:name_asc="AREA_NAME"、表示用項目名:name_jp="エリア名")506(図47)の下に記述されている。
【0098】
物件テーブルの各レコードから2つの項目より成る複合インデックスで参照されているメーカ車両テーブルの車両名は、冗長となるが2つ重複して記述されている。2つ重複して記述されている理由は、複合インデックスが2つの項目より成ることである。1つの記述は、物件bukken501(図43)の下の項目ref_item(項目名:name_asc="MAKER_ID"、表示項目名:name_jp="メーカID")507(図43)の下の参照テーブルref_table(項目名:name_asc="MAKER_SHARYOU")508(図43)の下の項目item(項目名:name_asc="SHARYOU_NAME"、表示用項目名:name_jp="車両名")509(図44)の下の記述であり、他の記述は、物件bukken501(図43)の下の項目ref_item(項目名:name_asc="MAKER_ID"、表示項目名:name_jp="メーカID")510(図45)の下の参照テーブルref_table(項目名:name_asc="MAKER_SHARYOU")511(図45)の下の項目item(項目名:name_asc="SHARYOU_NAME"、表示用項目名:name_jp="車両名")512(図46)の下の記述である。
【0099】
物件テーブルのレコードから2つの項目より成る複合インデックスで参照されているメーカ車両テーブルより1つの項目メーカIDより成る単純インデックスで参照されているメーカテーブルのメーカ名も、冗長となるが2つ重複して記述されている。2つ重複して記述されている理由は、複合インデックスが2つの項目より成ることである。1つの記述は、物件bukken501(図43)の下の項目ref_item(項目名:name_asc="MAKER_ID"、表示項目名:name_jp="メーカID")507(図43)の下の参照テーブルref_table(項目名:name_asc="MAKER_SHARYOU")508(図43)の下の項目ref_item(項目名:name_asc="MAKER_ID"、表示用項目名:name_jp="メーカID")513(図44)の下の参照テーブルref_table(項目名:name_asc="MAKER)514(図44)の下の項目item(項目名:name_asc="MAKER_NAME"、表示項目名:name_jp="メーカ名")515(図44)の下の記述であり、他の記述は、物件bukken501(図43)の下の項目ref_item(項目名:name_asc="SHARYOU_ID"、表示項目名:name_jp="車両ID")510(図45)の下の参照テーブルref_table(項目名:name_asc="MAKER_SHARYOU")511(図45)の下の項目ref_item(項目名:name_asc="MAKER_ID"、表示用項目名:name_jp="メーカID")516(図46)の下の参照テーブルref_table(項目名:name_asc="MAKER)517(図46)の下の項目item(項目名:name_asc="MAKER_NAME"、表示項目名:name_jp="メーカ名")518(図46)の下の記述である。
【0100】
上述の通り、XML文書の各物件のブロック内では、車両ID、車両名、メーカID、メーカ名がそれぞれ2つ重複して記述されているので、車両ID、車両名、メーカID及びメーカ名のXPATHは2通りある。小組テンプレート124においては、車両ID、車両名、メーカID及びメーカ名のうちでは印刷項目である車両名及びメーカ名を仮引数として記述することとなるが、2通りのXPATHのうちのどちらのXPATHを用いて記述してもよい。どちらのXPATHを用いて記述されるかは、ユーザが流し込むべき項目を選択する図48の画面で選択した項目により決定される。なお、図48の画面が実際に用いられる画面であり、説明のために単純化した図18の画面は実際には図48の画面に置き換わる。メーカ名については、図48の符号521で示すメーカ名を選択したときには、項目515(図44)の下のメーカ名が選択され、このときのXPATHは、
ref_item[@name_asc='MAKER_ID']/ref_table[@name_asc='MAKER_SHARYOU']/ref_item[@name_asc='MAKER_ID']/ref_table[@name_asc='MAKER']/item[@name_asc='MAKER_NAME']
となるが、図48の符号522で示すメーカ名を選択したときには、項目518(図46)の下のメーカ名が選択され、このときにXPATHは、
ref_item[@name_asc='SHARYOU_ID']/ref_table[@name_asc='MAKER_SHARYOU']/ref_item[@name_asc='MAKER_ID']/ref_table[@name_asc='MAKER']/item[@name_asc='MAKER_NAME']
となる。このようなXPATHで指定された項目が小組テンプレート124で仮引数として記述される。そしてこのような小組テンプレート124がXSLTプロセッサ108にかけるXSLT文書127に組み込まれる。
【0101】
複合インデックスで参照される項目を図48の画面で1通りの方法のみで表示する場合には、XML文書では、その項目をその表示方法に対応した1つの方法で記述するのみでよいが、例えば2つの項目より成る複合インデックスで参照される項目を図48の画面で2通りの方法で表示する場合には、XML文書では、その項目をそれらの表示方法に対応した上述の2つの方法で記述する。図48の画面に表示される項目のツリー構造は、物件データベース121の物件テーブル等のテーブル及びこれらの間の関係の定義データから直接作成される。
【0102】
図4に示す物件データベース121を基に生成された図43〜図47に示す構造を有するXML文書126の1つの物件についての部分を図49〜図55に示す。
【0103】
【発明の効果】
以上説明したように本発明によれば以下の効果が奏される。
【0104】
従来、データベースを基にして生成したデータから印刷物を作成する場合、データベースからは単なるカンマ区切りのデータを抽出し、レイアウト等はDTPのプラグインとして開発したレイアウト作成プログラムにより作成して、そのプログラムに抽出したデータを流し込む方法が採られていた。
【0105】
最近は、インターネットの普及により、印刷物の出版より先にその内容をインターネットで公開する事例が増えてきているが、従来のようにDTPに依存したデータ形式でレイアウトされたデータを管理する方法では、このような事例に対応することができない。
【0106】
本発明では、レイアウト部分をDTPから切り離し、XSL−FOフォーマットという標準化されたフォーマットでレイアウト済みデータを持つようにすることにより、印刷物の印刷だけではなくインターネットで公開するホームページの画面表示にも対応することができるようになった。
【0107】
また、本発明によれば、物件情報掲載誌を印刷又は表示するための組版用電子文書を物件情報掲載誌の特徴を考慮してデータベースを基に生成することができる。
【0108】
本発明によれば、コンピュータ処理によりDTPデータから小組テンプレートを生成することができるので、デザイナがDTPで小組のデザインをするのみで小組テンプレートを生成することが可能となる。
【0109】
また、XSLT電子文書において、文(1)を仮に
<xsl:apply-template select="bukken">
に変更すると、XSL−FO電子文書に記載される物件の順序が、XML電子文書に記載されている順序により決定されてしまうが、本発明のように、文(1)を、
<xsl:apply-template select="bukken[@bkn_id='物件識別子']">
とすることにより、XSL−FO電子文書に記載される物件の順序を、XML電子文書に記載されている物件の順序とは異なった順序とすることができる。
【0110】
また、小組種類ごとに小組のレイアウトを記述したテンプレート2を設けて、テンプレート1から小組テンプレートであるテンプレート2を呼び出すようにしたことにより、物件毎に小組テンプレートを記述する必要が無くなる。物件情報掲載誌に掲載する物件の数は数百乃至数千個であるのに対し、小組の種類は数個から十数個であるので、物件毎に小組テンプレートを記述する場合に比べて、本発明によれば、XSLT電子文書の容量を大幅に削減することができ、また、XSLT電子文書を生成するための時間も削減することができる。
【0111】
また、上記のように、本発明によるXML文書は、物件テーブルで参照される参照テーブルの参照データを各物件データのツリー構造の内部で記述することにより、XML文書内で物件テーブルで参照される参照テーブルのデータをテーブルを跨って参照することが不要となり、物件テーブルで参照される参照テーブルの参照データを簡単なXPATHで表現することが可能となる。物件テーブルで参照される参照テーブルの参照データを簡単なXPATHで表現することが可能となることは、小組テンプレートにおいてこのような参照データを簡単なXPATHで表現することが可能となることを意味する。小組テンプレートで参照データを簡単なXPATHで表現すると、XSLTプロセッサは、容易にXML文書から参照データを検索することが可能となり、XSLTプロセッサに検索機能を付加する必要が無くなり、処理が高速化される。
【図面の簡単な説明】
【図1】本発明の実施形態によるデータベースパブリッシング装置の構成を示すブロック図(1/3)である。
【図2】本発明の実施形態によるデータベースパブリッシング装置の構成を示すブロック図(1/3)である。
【図3】本発明の実施形態によるデータベースパブリッシング装置の構成を示すブロック図(1/3)である。
【図4】本発明の実施形態による物件データベースの構造を示す図である。
【図5】本発明の実施形態による物件を抽出するためのフィルタを管理するツリーの構造を示す図である。
【図6】本発明の実施形態によるDTP手段が作成した小組レイアウトの例を示す図である。
【図7】本発明の実施形態による小組スタイル情報生成手段が図6の小組レイアウトの例を基に生成した小組スタイル情報を示す図である。
【図8】図7に示す小組スタイル情報の階層構造を示す図である。
【図9】本発明の実施形態による小組スタイル情報生成手段の動作を示すフローチャート(1/3)である。
【図10】本発明の実施形態による小組スタイル情報生成手段の動作を示すフローチャート(2/3)である。
【図11】本発明の実施形態による小組スタイル情報生成手段の動作を示すフローチャート(3/3)である。
【図12】本発明の実施形態による小組テンプレート生成手段が図7に示す小組スタイル情報を基に生成する小組テンプレートを示す図である。
【図13】本発明の実施形態による図12に示す小組テンプレートに対応したXML文書の構造を示す図である。
【図14】本発明の実施形態による小組テンプレート生成手段の動作を示すフローチャート(1/2)である。
【図15】本発明の実施形態による小組テンプレート生成手段の動作を示すフローチャート(2/2)である。
【図16】本発明の実施形態による小組テンプレート生成手段が表示する画面を示す図(1/4)である。
【図17】本発明の実施形態による小組テンプレート生成手段が表示する画面を示す図(2/4)である。
【図18】本発明の実施形態による小組テンプレート生成手段が表示する画面を示す図(3/4)である。
【図19】本発明の実施形態による小組テンプレート生成手段が表示する画面を示す図(4/4)である。
【図20】本発明の実施形態によるマスターレイアウトを作成するための画面を示す図である。
【図21】本発明の実施形態による原データを作成するための画面を示す図である。
【図22】本発明の実施形態による対象ページに割り当てる物件データを抽出するためのフィルタを選択するための画面を示す図である。
【図23】本発明の実施形態による対象ページに割り当てる物件データを並べ替える順序を決定するための画面を示す図である。
【図24】本発明の実施形態によるマスターレイアウトに従った小組の配置を変更するための画面を示す図である。
【図25】本発明の実施形態による各小組に割り当てる各物件を変更するための画面を示す図である。
【図26】本発明の実施形態による各ページにおいて各割り付け位置に割り付ける小組の種類と物件を表示し、変更するための画面を示す図である。
【図27】本発明の実施形態で生成するXSLT電子文書の第1の例を示す図(1/2)である。
【図28】本発明の実施形態で生成するXSLT電子文書の第1の例を示す図(2/2)である。
【図29】本発明の実施形態で図35に示すXML電子文書と同時に生成するXSLT電子文書の第2の例を示す図(1/6)である。
【図30】本発明の実施形態で図35に示すXML電子文書と同時に生成するXSLT電子文書の第2の例を示す図(2/6)である。
【図31】本発明の実施形態で図35に示すXML電子文書と同時に生成するXSLT電子文書の第2の例を示す図(3/6)である。
【図32】本発明の実施形態で図35に示すXML電子文書と同時に生成するXSLT電子文書の第2の例を示す図(4/6)である。
【図33】本発明の実施形態で図35に示すXML電子文書と同時に生成するXSLT電子文書の第2の例を示す図(5/6)である。
【図34】本発明の実施形態で図35に示すXML電子文書と同時に生成するXSLT電子文書の第2の例を示す図(6/6)である。
【図35】本発明の本実施形態で生成するXML電子文書の例を示す図である。
【図36】本発明の実施形態により生成されるXSLT電子文書とXML電子文書の構造及びそれらの関係を示す概念図である。
【図37】本発明の実施形態で図35に示すXML電子文書と図29〜34に示すXSLT電子文書から生成するXSLT電子文書を示す図(1/5)である。
【図38】本発明の実施形態で図35に示すXML電子文書と図29〜34に示すXSLT電子文書から生成するXSLT電子文書を示す図(2/5)である。
【図39】本発明の実施形態で図35に示すXML電子文書と図29〜34に示すXSLT電子文書から生成するXSLT電子文書を示す図(3/5)である。
【図40】本発明の実施形態で図35に示すXML電子文書と図29〜34に示すXSLT電子文書から生成するXSLT電子文書を示す図(4/5)である。
【図41】本発明の実施形態で図35に示すXML電子文書と図29〜34に示すXSLT電子文書から生成するXSLT電子文書を示す図(5/5)である。
【図42】物件データベースから単純に生成されたXML文書の構造を示す図である。
【図43】本発明の実施形態による小組テンプレート生成手段が生成する小組テンプレートに対応したXML文書の構造を示す図(1/5)である。
【図44】本発明の実施形態による小組テンプレート生成手段が生成する小組テンプレートに対応したXML文書の構造を示す図(2/5)である。
【図45】本発明の実施形態による小組テンプレート生成手段が生成する小組テンプレートに対応したXML文書の構造を示す図(3/5)である。
【図46】本発明の実施形態による小組テンプレート生成手段が生成する小組テンプレートに対応したXML文書の構造を示す図(4/5)である。
【図47】本発明の実施形態による小組テンプレート生成手段が生成する小組テンプレートに対応したXML文書の構造を示す図(5/5)である。
【図48】本発明の実施形態による小組テンプレート生成手段が表示する画面を示す図であって、図18に示す図に置き換わるものである。
【図49】本発明の実施形態による図43〜図47に示す構造を有するXML文書の1つの物件についての部分(1/7)を示す図である。
【図50】本発明の実施形態による図43〜図47に示す構造を有するXML文書の1つの物件についての部分(2/7)を示す図である。
【図51】本発明の実施形態による図43〜図47に示す構造を有するXML文書の1つの物件についての部分(3/7)を示す図である。
【図52】本発明の実施形態による図43〜図47に示す構造を有するXML文書の1つの物件についての部分(4/7)を示す図である。
【図53】本発明の実施形態による図43〜図47に示す構造を有するXML文書の1つの物件についての部分(5/7)を示す図である。
【図54】本発明の実施形態による図43〜図47に示す構造を有するXML文書の1つの物件についての部分(6/7)を示す図である。
【図55】本発明の実施形態による図43〜図47に示す構造を有するXML文書の1つの物件についての部分(7/7)を示す図である。
【符号の説明】
101 データベース作成手段
102 DTP手段
103 小組スタイル情報生成手段
104 小組テンプレート生成手段
105 マスターレイアウト生成手段
106 小組配置・物件割当手段
107 XSLT文書生成手段
108 XSLTプロセッサ
109、110 XSL−FOプロセッサ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a database publishing method and apparatus for generating a typesetting electronic document for printing property data recorded in a database on paper or displaying it on a screen.
[0002]
[Prior art]
In recent years, XML (eXtensible Markup Language) electronic documents have attracted attention as electronic documents that replace HTML (HyperText Markup Language) electronic documents. The XML electronic document is expressed in a text format, and a character string constituting the content is sandwiched between reserved words in a tag format. In addition, an XML electronic document is a unique document type definition document called DTD (Document Type Definition) that specifies the expression method and adds meaning to a character string in a sentence. You can extend the tag. Further, the XML electronic document is characterized by an object-oriented hierarchical structure, a document check function using an authentication function, a powerful hyperlink function, and the like.
[0003]
In recent years, the following method has appeared as a method for generating an XSL-FO (eXtensible Stylesheet Language-Formatting Object) electronic document as an electronic document for typesetting from an XML (eXtensible Markup Language) electronic document. That is, according to the description contents of an XSLT electronic document called an XSLT (eXtensible Stylesheet Language Transformation) style sheet in which a predetermined rule for generating an XSL-FO electronic document from an XML electronic document is described, the XSLT processor performs the XML electronic processing. An XSL-FO electronic document as a typesetting electronic document is generated based on the document. The XSL-FO processor performs printing and screen display based on the generated XSL-FO electronic document.
[0004]
[Problems to be solved by the invention]
By the way, in the property information publication magazines such as used car information magazines, housing information magazines, job information magazines, travel information magazines, ticket information magazines, etc., the number of properties to be posted is enormous, about hundreds to thousands, There are few types of small groups for listing properties. In other words, in each property information publication magazine, only a few types of small group styles of about a few to a dozen or so are used, and information on a large number of properties is assigned to a typesetting that combines limited types of small groups. .
[0005]
In addition, since the number of properties to be published in the property information publication magazine is enormous and the frequency of addition and deletion of properties is high, data on such properties is usually recorded in a database.
[0006]
It is an object of the present invention to provide a database publishing method and apparatus for generating a typesetting electronic document for printing or displaying a property information publication magazine based on a database in consideration of characteristics of the property information publication magazine. .
[0007]
[Means for Solving the Problems]
According to a first aspect of the present invention, in a conversion document generation method for converting a structured document into a typesetting document used for screen display or paper printing, the computer is displayed on the screen, or A step of inputting, by means of input means, information that can specify each property to be posted on each page printed on paper, and a small group arrangement / property allocation data indicating the type and position of each small group to which each property is allocated; Information that can be specified for each type of small group that is displayed on the screen or printed on paper, and that can identify the property into which the data is to be inserted into each type of small group that is described as a form and formal argument for each type , Using calculation means to generate one or more subgroup templates describing the data to be inserted into the subgroup of the specified property and the position of the subgroup A sub-set template generating step, and a computer The step of storing in the storage means, and the computer selects any one of the small group templates according to the type of the designated small group, and information that can specify each property in the selected small group template and the designated small group template Generating an argument passing sentence for passing the position of as an actual argument using an arithmetic means, storing it in the storage means, and a computer for each property posted on each page, displayed on the screen, Or, for the information printed on paper, use the computing means to call the small template call statement for applying the argument delivery sentence by specifying the information that can identify each property and the type and position of the small group to which each property is assigned. And storing in the storage means, the computer, the one or two or more small template, the argument delivery sentence and A conversion document generation method comprising: reading out the small template call statement from the storage unit, generating a conversion document including these using the calculation unit, and storing the conversion document in the storage unit. Provided.
[0008]
Conversion document generation method according to the first aspect of the present invention In , The small template generation step includes A computer generates small group style information for each small group based on DTP (Desk Top Publishing) data for each small group displayed on the screen or printed on the paper, using the calculation means, and stores it in the storage means A storing step; and the computer reads the small group style information for each small group from the storage means, and converts the actual argument included in the small group style information into a dummy argument, thereby calculating the small group template for each small group Generate using means Rusu You may have.
[0009]
According to the second aspect of the present invention, the conversion document generation method according to the first aspect of the present invention. Each step And a step of reading out data of each property posted on each page displayed on the screen or printed on paper from the database, and a computer displayed on the screen or printed on paper Generate structured documents that describe the data of each property listed on the page using computing means Generating a structured document, and the computer stores the structured document in a storage means There is provided a database publishing method characterized by comprising:
[0011]
In the database publishing method according to the second aspect of the present invention, Computer The small group placement / property allocation data Using computing means Generation And stored in the storage means Further comprising the steps of: Computer The small group placement / property allocation data Using computing means Generation And stored in the storage means The steps to do are Computer A small group arrangement step of arranging any kind of small group at each position of each page; Computer And a property allocation step of allocating each property to each small group arranged on each page.
[0012]
In the database publishing method according to the second aspect of the present invention, the small group placement step includes: Computer A certain type of sub-set is pre-arranged on the page Master layout And a step that calls Computer Said Master layout And a step of correcting.
[0013]
In the database publishing method according to the second aspect of the present invention, the property allocation step includes: Computer Reading property data narrowed down by a predetermined filter from the database; Computer And assigning the property data read from the database to each small group according to a predetermined order.
[0014]
In the database publishing method according to the second aspect of the present invention, the predetermined order may be an order according to a property rearrangement order and / or a predetermined arrangement order on a page.
[0015]
In the database publishing method according to the second aspect of the present invention, Computer The small group placement / property allocation data Using computing means Generation And stored in the storage means The steps to do are Computer The method may further include a step of applying a page break or page break in the specified item of the property data to the small group arrangement / property allocation data.
[0016]
A database publishing method according to a second aspect of the present invention includes: Computer Applying the conversion document to the structured document Said Typographic documents Using computing means Generation And stored in the storage means You may further have the step to do.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0024]
In the present embodiment, a database publishing method and apparatus for publishing a used car information magazine will be described as an example, but the present embodiment can also be applied to other property information publication magazines.
[0025]
1 to 3 show a configuration of a database publishing apparatus according to an embodiment of the present invention.
[0026]
Referring to FIG. 1, a database publishing apparatus according to an embodiment of the present invention includes a database creation unit 101, a DTP (Desk Top Publishing) unit 102, a small set. style An information generation unit 103, a small template generation unit 104, and a master layout generation unit 105 are provided. Referring to FIG. 2, the database publishing apparatus according to the embodiment of the present invention further includes a small group arrangement / property allocation unit 106 and an XSLT document generation unit 107. Referring to FIG. 3, the database publishing apparatus according to the embodiment of the present invention further includes an XSLT processor 108 and XSL-FO processors 109 and 110.
[0027]
Note that these means and processor can be realized by using computer hardware resources by causing a computer to read and execute a computer program.
[0028]
Referring to FIG. 1, the database creation unit 101 defines a property database, puts property data in the property database, and outputs a property database 121 organized in a structure in which the property data is defined. The DTP unit 102 creates a layout of each small set by an operator's operation, and outputs the data of the small set layout as the DTP data 122. The small group style information generation unit 103 generates small group style information 123 based on the small layout data in the DTP data format, and outputs this. The small template generation unit 104 generates a small template 124 based on the small group style information 123 and outputs it. The master layout generation means 105 generates a master layout 125 based on the small template and outputs it.
[0029]
Referring to FIG. 2, the small group arrangement / property allocation means 106 generates an XML document 126 and a small group arrangement / property allocation data 127 based on the property database 121, the small template 124, the master layout 125, and the filter 141. Output. The XSLT document generation means 107 generates an XSLT document 128 based on the small group arrangement / property assignment data 127 and outputs it.
[0030]
Referring to FIG. 3, the XSLT processor 108 generates an XSL-FO document 128 based on the XML document 126 and the XSLT document 127 and outputs it. The XSL-FO processor 109 generates a display screen 129 based on the XSL-FO document 128 and outputs it. The XSL-FO processor 110 generates a printed matter 130 based on the XSL-FO document 128 and outputs it.
[0031]
Next, operations and data of each unit of the database publishing apparatus according to the embodiment of the present invention will be described.
[0032]
First, the database 121 in which property data is recorded is a relational database having a structure as shown in FIG. Referring to FIG. 4, the relational database includes a property table, a plurality of reference tables, and a repetitive item table. The property table has property ID, property name, price, manufacturer ID, vehicle ID, and the like as fields. The reference table includes a manufacturer vehicle table, a manufacturer table, an area table, a store table, and an option table. The manufacturer vehicle table has a manufacturer ID, a vehicle ID, and a vehicle name as fields. The manufacturer table has a manufacturer ID and a manufacturer name as fields. The area table has an area ID and an area name as fields. The store table has a store ID, a store name, and the like as fields. The option table has an option ID, an option name, and the like as fields. As the repeated item table, there is a property option table. The property option table has property IDs, order numbers, and the like as fields. The property table and property option table are related by property ID, the property table and manufacturer vehicle table are related by manufacturer ID and vehicle ID, and the property table and area table are related by area ID. The table and the dealer table are related by the dealer ID, the property option table and the option table are related by the option ID, and the manufacturer vehicle table and the manufacturer table are related by the manufacturer ID.
[0033]
Further, as the filter 141 for extracting the property data from the property database 121, the following is created. That is, a filter that extracts property data of a specific store, a filter that extracts property data of a specific store in a specific region, a filter that extracts property data of a specific vehicle type of a specific manufacturer, and the like. Such a filter can be managed by a tree as shown in FIG. As shown in FIG. 5, the filter for extracting property data of a specific store is expressed in a single hierarchy, and the filter for extracting property data of a specific store in a specific region and a specific vehicle type of a specific manufacturer A filter for extracting data is expressed in two layers.
[0034]
Next, the operation of generating the small template 124 by the DTP unit 102, the small group style information generating unit 103, and the small group template generating unit 104 will be described.
[0035]
The small group template 124 is created through the small group style information 123 based on the DTP data 122 of the small group layout created by the DTP unit 102. The small template 124 is described in the XSL-FO document format, and is incorporated into the XSL-FO document input to the XSLT processors 109 and 110.
[0036]
The small layout is created by a designer using a DTP means 102 at a design company or the like, for example. A sample layout of the created small set is shown in FIG. Referring to FIG. 6, the small sample includes an image box “G1”, a text box “T1”, and a text box “T2”. A sample of a used car image is pasted in the image box “G1”, a sample “supercar” of a used car name is described in the text box “T1”, and a used car is written in the text box “T2”. A sample of “1 million yen” is described. The DTP unit 102 generates and outputs the DTP data 122 of the small layout.
[0037]
Next, the small set style information 123 is generated based on the small set DTP data 122 by the small set style information generation means 103 (actually, add-on software for generating small set style information according to the present invention of DTP software). The small group style information 123 is created in the XSL-FO document format. FIG. 7 shows the small group style information 123 generated from the small group shown in FIG. 6, and FIG. 8 shows the tree structure of the small group style information 123 shown in FIG.
[0038]
Referring to FIG. 7, as is clear from the description in the frame 211, provisional coordinates (0 cm, 0 cm) are described as the upper left coordinates of the small group, 10 cm is described as the height of the small group, and the width of the small group 10 cm is described as (width), and other values such as background color (background-color, background-tint, border-style, border-color, border-width, border-tint) are described. Values such as the height, width, and background color of the small set are read from the DTP data 122.
[0039]
The description in the frame 212 is for the text box “T1”. As is clear from this description, 2.5 cm is described as the height of the text box “T1”, and the width thereof is as follows. 10 cm is described, and (0 cm, 5 cm) is described as the upper left coordinates in the small set. These values are also read from the DTP data 122. In addition, “supercar” described in the text box “T1” is also described, but this is data that becomes a parameter after being converted into the small template 124.
[0040]
Similarly, the description in the frame 213 is for the text box “T2”. As is clear from this description, 2.5 cm is described as the height of the text box “T2”, and its width is 10 cm is described, and (0 cm, 7.5 cm) is described as the upper left coordinates in the small set. These values are also read from the DTP data 122. Further, “1 million yen” described in the text box “T2” is also described, which is data that becomes a parameter after being converted into the small template.
[0041]
The description in the frame 214 is for the image box “G1”. As is clear from this description, 5 cm is described as the height of the image box “G1”, and 10 cm is described as its width. , (0 cm, 0 cm) are described as the upper left coordinates in the small set. These values are also read from the DTP data 122. Non-uniform is described as scaling. In addition, although the image name “SuperCar.jpg” pasted in the image box “G1” is also described, this is data that becomes a parameter after being converted into a small template.
[0042]
Next, a method in which the small group style information generation unit 103 generates the small group style information 123 from the small group DTP data 122 will be described with reference to FIGS.
[0043]
As shown in FIG. 9, first, a portion of a frame 215 (FIG. 7) such as “kogumi_style_info” is output (step S251). Here, outputting means writing to the file of the small group style information 123 directly or via a buffer.
[0044]
Next, the “fo: block-container start tag” (portion 211) for the entire small group is output (step S252).
[0045]
Next, steps S254 to S257 are repeated for all boxes in the small set (step S253). Since there are three boxes in the example of FIG. 7, these steps S254 to S257 are repeated three times. In the repetition, first, it is determined whether or not the box is a text box (step S254). If the box is a text box, the text box is processed (step S255). Details of this processing will be described later. If the box is not a text box , Bo It is determined whether or not the box is an image box (step S256). If the box is an image box, the image box is processed (step S257). Details of this processing will be described later.
[0046]
Next, an end tag of “fo: block-container”, which is a small set end tag, is output (step S258). The portion output in this step is a portion indicated by reference numeral 216 (FIG. 7).
[0047]
Finally, an end tag of “kogumi_style_info” is output (step S259). The portion output in this step is a portion indicated by reference numeral 217 (FIG. 7).
[0048]
Next, details of the text box processing (step S255) will be described with reference to FIG. In this process, the portion indicated by the frame 212 or the frame 213 is output.
[0049]
First, the “fo: block-container” start tag for the text box is output (step S261). Next, the attribute of the text box is acquired from the DTP data 122 (step S262). This attribute is the height, width, upper left coordinate, etc. of the text box. Next, the text box attribute acquired in step S262 is output (step S263). Next, the “fo: block” start tag for the text box is output (step S264). Next, text data is processed (step S265). Details of this processing will be described later. Next, the “fo: block” end tag for the text box is output (step S266). Finally, the “fo: block-container” end tag for the text box is output (step S267).
[0050]
In the text data processing (step S265), first, a “fo: inline” start tag is output (step S271). Next, text data and character attributes are acquired from the DTP data 122 (step S272). Next, “fo: inline” attributes (font-family, font-style, font-size, etc.) reflecting the acquired character attributes are output (step S273). Next, the acquired text data ("supercar" or "1 million yen" in the example of FIG. 7) is output (step S274). Finally, an “fo: inline” end tag is output (step S275).
[0051]
Next, details of the image box processing (step S257) will be described with reference to FIG. In this process, the portion indicated by the frame 214 is output.
[0052]
First, the “fo: block-container” start tag for the image box is output (step S281). Next, the attribute of the image box is acquired from the DTP data 122 (step S282). This attribute is the height, width, upper left coordinate, etc. of the image box. Next, the attribute of the image box acquired in step S282 is output (step S283). Next, the “fo: block” start tag for the image box is output (step S284). Next, image data processing is performed (step S285). Details of this processing will be described later. Next, the “fo: block” end tag for the image box is output (step S286). Finally, the “fo: block-container” end tag for the image box is output (step S287).
[0053]
In the processing of image data (step S285), first, a “fo: external-graphic” start tag is output (step S291). Next, the image name and attribute of the image data are acquired from the DTP data 122 (step S292). This attribute is a method of attaching the DTP data 122 to the image box, and is, for example, a scaling method. Next, the attribute of “fo: external-graphic” is output (step S293). The attribute here includes the image name of the image data (“SuperCar.jpg” in the example of FIG. 7). Finally, an “fo: external-graphic” end tag is output (step S294).
[0054]
With the above method, the small group style information 123 is generated from the small group DTP data 122, and the file of the small group style information 123 is recorded on the recording medium.
[0055]
Next, the small group template 124 is generated by the small group template generation means 104 from the small group style information 123 generated by the above method. The small template 124 is also created in the XSL-FO document format. FIG. 12 shows a small group template 124 generated from the small group style information 123 shown in FIG.
[0056]
As is clear from a comparison between FIG. 7 and FIG. 12, most of the small template is the same as the small style information, but a part is different in the following points.
(1) The description of the frame 215 is replaced with the description of the frame 301.
(2) There is a description of the template indicated by frames 302 and 303.
[0057]
(3) In the description of “fo: block-container” for the entire small group indicated by the frame 304, the small group “ID” is added, the parameter “content-id” is added, the upper left coordinates are parameterized, and the small group "Name" is added and "absolute-position =" absoulte "" is added.
[0058]
(4) In the description of “inline” indicated by a frame 305, the character string “supercar” is changed to the variable “property name”.
[0059]
(5) In the description of “inline” indicated by a frame 306, the character string “1 million yen” is changed to the variable “price”.
[0060]
(6) In “fo: block” for the image box indicated by the frame 307, the image name “SuperCar.jpg” is changed to the variable “image name”.
[0061]
FIG. 13 shows a tree structure of an XML document corresponding to the small template 124 shown in FIG. In FIG. 13, only a tree for one property is displayed, but similar trees are constructed for other properties.
[0062]
As described above, in the small template 124, the property data ID and property data items are parameterized. Therefore, when the small template 124 is inserted into the XSL-FO document, the other part of the XSL-FO document. Thus, it is possible to call the small template 124 by specifying these parameters. The value specified as the parameter is read from the XML document.
[0063]
Next, a method in which the small template generation unit 104 according to the present invention generates the small template 124 from the small group style information 123 will be described with reference to FIGS.
[0064]
Referring to FIG. 14, first, the small group style information 123 is read from a file (step S351). Next, the tree structure shown in FIG. 8 of the read small style information 123 is constructed on the memory (step S352). Next, a repetitive operation for setting an XML document item to be assigned to each text box or each image box as a parameter is entered (step S353).
[0065]
At the beginning of each iteration, a small layout is displayed according to the small group style information 123, as shown in FIG. If the user selects a text box item on the displayed layout (YES in step S354), the text box item is set (step S355). The operation for setting the text box item will be described later. If the user selects an image box item on the displayed layout (YES in step S356), the image box item is set (step S357). The operation of setting the image box item will be described later.
[0066]
In setting the text item, first, the screen shown in FIG. 17 is displayed. If the user presses the item addition button 401, the screen shown in FIG. 18 is displayed. In the screen of FIG. 18, the property table item and the table associated with the property table of the property database selected in the login dialog displayed when the small template generation unit 104 is activated (the manufacturer vehicle table, the manufacturer). Items such as tables) are displayed. However, in the example of FIG. 18, only the property name, price, and image name of the property table are displayed for the sake of simplicity. The display format of the items in the table associated with the property table will be described later. When the user selects an item (“Property name” with hatching in the example of FIG. 18) and presses the “OK” button, the selected item name is displayed in the flow item column 402 of the screen of FIG. The When various settings are made for the flow items on the screen of FIG. 17 (the description is omitted) and the user presses the “OK” button on the screen of FIG. 17, the flow is poured into the text box selected on the screen of FIG. The item selected on the screen of FIG. 18 is set as the item (step S361). Next, in the tree structure shown in FIG. 8 built in the memory, the head node fo: block-container of the text box into which the item is to be inserted is searched (step S362). For example, if the text box indicated by reference numeral 403 (FIG. 16) is selected as the text box into which the property name is to be poured, the node indicated by reference numeral 404 (FIG. 8) is searched. Next, sample data described under the “fo: inline” node (for example, the node indicated by reference numeral 405 (FIG. 8)) below the node selected in step S362 is stored in the property database 121. Relative path (XML document) of the selected item of the selected table from the viewpoint of the node “bukken” (each property node, symbol 406 (FIG. 13)) in the XML document generated from the property database 121. (XPATH) in FIG. 6 is replaced with a description designating as a parameter (step S363). A method for generating an XML document from the property database will be described later.
[0067]
In setting the image item, first, the screen shown in FIG. 19 is displayed. If the user presses the item addition button 407, the screen shown in FIG. 18 is displayed as in the case of setting the text item. When the user selects an item (in this example, “image name” regardless of FIG. 18) and presses the “OK” button, the selected item name is displayed in the flow item column 408 of the screen of FIG. The When various settings are made for the flow items on the screen of FIG. 19 (the description is omitted) and the user presses the “OK” button on the screen of FIG. 19, the image box selected on the screen of FIG. The item selected on the screen of FIG. 18 is set as an item in which the image name of the image to be inserted is described (step S). 371 ). Next, in the tree structure shown in FIG. 8 built in the memory, the first node fo: block-container of the image box into which the image is to be inserted is searched (step S 372 ). For example, if an image box indicated by reference numeral 409 (FIG. 16) is selected as an image box into which an image is to be inserted, a node indicated by reference numeral 410 (FIG. 8) is searched. Next, sample data described under the “fo: external-graphic” node (for example, the node indicated by reference numeral 411 (FIG. 8)) below the node selected in step S365 The relative path (XML document) of the selected item of the selected table in the database 121 as seen from the node bukken (the node of each property. Reference numeral 406 (FIG. 13)) in the XML document generated from the property database 121. (XPATH) is replaced with a description that specifies the parameter (step S). 373 ).
[0068]
When the setting of the text box item is completed, that is, when the above replacement in the tree structure built in the memory is completed, a small template is created based on the tree structure updated in the memory, and the file is stored in the file. Writing is performed (step S358).
[0069]
The small template 124 is generated from the small group style information 123 by the above method performed by the small template generation unit 104.
[0070]
Next, a method for generating the master layout 125 by the master layout generation unit 105 will be described.
[0071]
First, the designation of the number of page divisions is input. In the example of FIG. 20, the number of divisions in the vertical direction is 7, and the number of divisions in the horizontal direction is 10. Next, the type of small group to be arranged in each cell is designated. In the example of FIG. 20, the type of the small group arranged in each column of the third to seventh rows is the small group 1.
[0072]
Next, a method for generating the XML document 126 and the small group arrangement / property allocation data 127 for each page by the small group arrangement / property allocation unit 106 will be described.
First, if the “reference” button to the right of the “filter” character on the “Property Data Batch Assignment” screen shown in FIG. 21 displayed by the operator's operation is pressed by the operator's operation, the data to be assigned to the target page A screen (FIG. 22) for selecting a filter for extracting. The screen of FIG. 22 is generated based on the tree structure shown in FIG. In the screen of FIG. 22, the operator selects one of the filters that have already been created. When selecting, the operator selects a filter category in the upper combo box in the screen of FIG. 22 and then selects a target filter in the lower list in the screen of FIG. By doing so, the property data extracted from the database 121 by the filter 141 is assigned to the target page.
[0073]
Next, if the “reference” button to the right of the “reorder” character on the screen of FIG. 21 is pressed by the operator's operation, a screen for designating the order in which the property data extracted by the filter is rearranged (FIG. 23) is displayed. In the screen of FIG. 23, the operator selects one or more items to be used for rearrangement or combinations of a plurality of created items (for example, combinations of body shape and grade). For example, if a manufacturer name and a vehicle name are input in order from the top in the right frame of the screen of FIG. 23, the rearrangement order is “manufacturer name / vehicle name”.
[0074]
Next, the target page is determined by receiving the start page input by the operator in the text box of the page designation section on the screen of FIG. If there is no end page input, pages are created until the property data extracted by the filter 141 is completed. On the other hand, when there is an input of the end page, the creation of the page is ended at the input end page even if the property data extracted by the filter 141 remains.
[0075]
Next, using the master layout combo box in the layout designation category of the screen in FIG. 21, selection of the master layout 125 to be applied to the target page from the already created master layout is received from the operator.
[0076]
Next, any button with a figure (any one of the four types of buttons for a single page or the six types of buttons for a spread page) in the segment arrangement direction section of the screen of FIG. By accepting the selection of the small group arrangement direction by pressing, it is determined in what order the extracted property data is allocated to the small group.
[0077]
Next, an input (checked or unchecked) by an operator to a check box for determining whether or not to perform a page break or page break is accepted in the page break / page break category of the screen of FIG. A line break is an operation of adding a header corresponding to an item when the item content of a specified hierarchy changes. In other words, the level change is, for example, an operation of adding a header for displaying store information of “K2 Shokai” when the store changes from “MAX Kawaguchi” to “K2 Shokai”. When performing a page break or page break, an input by an operator for designating the timing for page break or page break is accepted. This timing can be specified by a hierarchy number such as hierarchy 1, hierarchy 2,. For example, when a filter by region / dealer is specified as a filter, if level 1 is specified, page break or page break is performed when the region changes, and if level 2 is specified, when the store changes Perform page breaks or page breaks. In addition, when a page break or page break is to be performed, an operator specifies whether to perform a page break or to perform a page break through a radio button, and if a page break is designated, it is assigned to one category. When the number of pages is specified, and the number of page breaks is specified, the number of levels assigned to one category is input. Here, the category is an item in a specified hierarchy of a specified filter. For example, when a filter by a region / dealer is designated as a filter, hierarchy 2 is designated as a timing, and two pages are designated as the number of pages to be assigned to one category, two pages are assigned to one dealer. .
[0078]
After the above settings are made on the screen of FIG. 21, the “OK” button of FIG. 21 is pressed by the operator, so that the selected filter is arranged in the sub-group arranged according to the selected master layout 125 on the target page. The property data extracted from the property database 121 according to 141 is assigned according to the selected order. Here, the selected order is an order determined by the rearrangement order and the small group arrangement direction. However, the selected order may be only one of the rearrangement order or the small group arrangement direction.
[0079]
Next, the small group arrangement / property allocating unit 106 may input a change in the arrangement of the small groups according to the master layout through the layout view shown in FIG. 24 as necessary. In the example of FIG. 24, the master layout of FIG. 20 is set such that the third row and the first to fifth columns are blank, the small set 2 is arranged in the fourth to fifth rows and the first to third columns, and the sixth to seventh rows and the first to first rows. It changes so that the small group 2 may be arrange | positioned also to 3 rows.
[0080]
Further, the small group arrangement / property allocating means 106 may input the change of each property allocated to each small group in the page preview shown in FIG. 25 as necessary.
[0081]
Further, the small group arrangement / property allocating means 106 may accept the change of the arrangement of the small group according to the master layout in the data sheet view shown in FIG. 26 instead of the layout view shown in FIG. Instead of the page preview, a change of each property to be assigned to each small group may be received in the data sheet view shown in FIG. When changing the arrangement of a small group or each property assigned to each small group in the data view sheet shown in FIG. 26, the data in the corresponding column is changed. Also, when deleting a set in the data view sheet, delete the table record displayed in the data sheet view. When adding a set in the data sheet view, delete the table record displayed in the data sheet view. Add
[0082]
As described above, the property to be posted on each page is determined, and the type and position of the small group to which each property is allocated are also determined. These data are recorded in the XML document 126 and the small group arrangement / property allocation data 127. In other words, the XML document 126 describes the property data extracted by the selected filter 141 from the property data in the property database 121, and the small group placement / property assignment data 127 is placed in each square of each page. The position of the type of sub-group to be set and the property assigned to each sub-group are described. It should be noted that, depending on the number of page divisions, a small group allocation position (for example, “1-4” (first column, fourth row), “4-4” (first) The coordinates on the page corresponding to 4 columns and the 4th row are different), but the correspondence between the allocation position and the coordinates on the page is determined by the number of divisions. Is recorded in the small group arrangement / property allocation data 127. Alternatively, the relationship between each allocated position of each page and the coordinates of the allocated position on the page may be calculated, and the corresponding relationship may be recorded in the small group arrangement / property allocation data 127.
[0083]
XSL T sentence The document generation unit 107 generates the XSLT document 128 based on the small group arrangement / property allocation data 127.
[0084]
Before describing the XSLT electronic document 128 that is actually generated, the format of the XSLT electronic document generated in the present embodiment is shown in FIGS.
[0085]
Referring to FIGS. 27 and 28, the description indicated by the block (A) is a description for designating the size of the page margin. The description shown in the block (B) is a description for each page. In FIG. 27, only one page is described, but in actuality, the number of used pages in the used car information magazine is the number of all used pages. Just repeat. The description shown in the block (C) is a description for allocating each property to each sub-group on each page. In FIG. 27, only one property is listed, but the actual number of properties listed on each page. Just repeat. The description shown by the block (E) is a small template 124 describing the type of small group for each type. In FIG. 27, only one type of small group is listed. Repeat for the number of types.
[0086]
Looking at the block (C), the sentence (1) is a sentence for designating the property to be assigned to each page in a predetermined order, and the template 2 (block (F (F ) Is applied. Sentence (2) is a sentence for passing the name of the small group (the name of the small group represents the type of the small group) to which the property data specified in sentence (1) is assigned as an actual argument to template 2. (3) is a sentence for passing the X coordinate of the left side of the small set to the template 2 as an actual argument, and the sentence (4) is for passing the Y coordinate of the upper side of the small set to the template 2 as an actual argument. Is the sentence.
[0087]
Looking at template 2, sentence (5) is a sentence in which a dummy argument for receiving an actual argument that is the name of a small set is described, and sentence (6) is a real that is the X coordinate of the left side of the small set. The sentence (7) is a sentence in which a dummy argument for receiving an argument is described, and the sentence (7) is a sentence in which a dummy argument for receiving an actual argument that is the Y coordinate of the upper side of the small set is described. The statement (21) is a declaration statement for performing conditional processing with options, and the statement (22) is a small set name (kogumi-type) with a predetermined character ('K1' in the example of FIG. 28). In some cases, this is a determination sentence for performing processing up to the sentence (24). The sentence (23) includes information on the format of each type of sub-group, information that can specify a property into which data is to be inserted into the sub-group described as a dummy argument, data to be inserted into the sub-group of the specified property, and the sub-group. Is a sentence describing the position of In the example of the XSLT document shown in FIG. 28, the content of the sentence (23) is omitted, but in the example of the XSLT document shown in FIGS. 29 to 34, the contents of the sentence (23), that is, each type of small set The information which can specify the property into which the data is to be inserted into the small group described as the formal argument, the data to be inserted into the small group of the identified property, and the position of the small group are specifically described .
[0088]
Read the identifiers of all the properties to be posted on each page from the original data, the type and coordinates of the subgroups to which those properties are assigned, and read these data into sentences (1), (2), (3), (4 ) And repeating the blocks (B), (C), and (E) as many times as necessary, an XSLT electronic document can be generated.
[0089]
An XML electronic document generation method will be described later. FIG. 35 shows a simple example of an XML electronic document generated in this embodiment. Referring to FIG. 35, this XML document has a hierarchical structure in which bukken is under bukken_data and a plurality of items about the property are under bukken. This XML document is a set of bukken_data for properties to be posted on all pages (2 pages in this example). Therefore, by extracting property data from the property database 121 using the filter 141 and combining the extracted property data and a predetermined tag, XML documents for all pages can be generated.
[0090]
Specific contents of the XSLT electronic document generated simultaneously with the XML electronic document shown in FIG. 35 are shown in FIGS.
[0091]
FIG. 36 is a conceptual diagram showing the structures of the XSLT electronic document 127 and the XML electronic document 126 and their relationship.
[0092]
The XSLT processor 108 inputs the XML electronic document 126 and the XSLT electronic document 127 generated by the above method, and converts the data described in the XML electronic document 126 into the XSL-FO according to the format described in the XSLT electronic document 127. An electronic document 128 is generated. FIGS. 37 to 41 show the XSL-FO electronic document 128 generated by the XSLT processor 108 based on the XML electronic document shown in FIG. 35 and the XSLT electronic document shown in FIGS.
[0093]
FIG. 35 is a simple XML document for ease of explanation, but the structure of an actual XML document generated from the property database 121 by the small group arrangement / property allocating means 106 will be described. Note that only the data extracted from the property database 121 by the predetermined filter 141 is described in the XML document 126. Here, the extraction is not considered, and only the structure of the XML document will be described. Note that the rearrangement of the properties is performed based on the correspondence between the properties and the small groups in the XSLT document and the arrangement positions of the small groups, so it is not necessary to rearrange the properties in the XML document.
[0094]
If an XML document is simply created from the property database 121 shown in FIG. 4, as shown in FIG. 42, a tree is constructed in which subtrees for each table are arranged in parallel immediately below the root. However, when such a configuration is used, for example, when it is desired to know the name of a vehicle referenced in a certain property record, first, the manufacturer ID and vehicle ID described in the property record in the property table are read. Therefore, since it is necessary to search for a record having the manufacturer ID and vehicle ID in the manufacturer vehicle table and search for the vehicle name of the record, the processing becomes complicated and much time is consumed.
[0095]
Therefore, in the present invention, the XML document 126 generated from the property database 121 does not need to be searched as described above, and has a structure in which data referred to in the property table can be expressed by simple XPATH. The structure of the XML document generated in this embodiment is shown in FIGS. For convenience of drawing, the structure of one XML document is divided into FIGS.
[0096]
Referring to FIGS. 4 and 43 to 47, the property name, the price, etc., which are data directly described in each record of the property table, are the item item (2) under the property bukken 501 (FIG. 43) as usual in the XML document. As an example, item (item name: name_asc = "BKN_NAME", display item name: name_jp = "property name") 502 (Fig. 43) and item (item name: name_asc = "KAKAKU", display item name: name_jp = "Price") 503 (FIG. 43)).
[0097]
The area name of the area table referenced by a simple index consisting of one item from each record of the property table is the item item (item name: name_asc = "AREA_ID" under the property bukken 501 (FIG. 43), display item name: name_jp = "area ID") Reference table (area table) under 504 (Fig. 45) ref_table (item name: name_asc = "AREA") Item item (item name: name_asc = "AREA_NAME" under 505 (Fig. 45) “, Display item name: name_jp =“ area name ”) 506 (FIG. 47).
[0098]
The vehicle names in the manufacturer vehicle table referenced by the composite index composed of two items from each record in the property table are redundant but are described twice. The reason why two are described in duplicate is that the composite index consists of two items. One description is the reference table ref_table (item) under the item ref_item (item name: name_asc = "MAKER_ID", display item name: name_jp = "maker ID") 507 (Fig. 43) under the property bukken 501 (Fig. 43). Name: name_asc = "MAKER_SHARYOU") 508 (Fig. 43) under item item (item name: name_asc = "SHARYOU_NAME", display item name: name_jp = "vehicle name") 509 (Fig. 44) Yes, the other description is the reference table ref_table under the item ref_item (item name: name_asc = "MAKER_ID", display item name: name_jp = "maker ID") 510 (Fig. 45) under the property bukken 501 (Fig. 43). (Item name: name_asc = "MAKER_SHARYOU") 511 (Fig. 45) under item item (item name: name_asc = "SHARYOU_NAME", display item name: name_jp = "vehicle name") 512 (Fig. 46) It is a description.
[0099]
The manufacturer name of the manufacturer table referenced by the simple index consisting of one item manufacturer ID from the manufacturer vehicle table referenced by the composite index consisting of two items from the record of the property table is also redundant but duplicated. Is described. The reason why two are described in duplicate is that the composite index consists of two items. One description is a reference table ref_table (item) under the item ref_item (item name: name_asc = "MAKER_ID", display item name: name_jp = "maker ID") 507 (Fig. 43) under the property bukken 501 (Fig. 43). Name: name_asc = "MAKER_SHARYOU") Reference table under item ref_item (item name: name_asc = "MAKER_ID", item name for display: name_jp = "maker ID") 513 (Fig. 44) under 508 (Fig. 43) Description under the item item (item name: name_asc = "MAKER_NAME", display item name: name_jp = "maker name") 515 (Fig. 44) under the ref_table (item name: name_asc = "MAKER) 514 (Fig. 44) The other description is the reference table under the item ref_item (item name: name_asc = "SHARYOU_ID", display item name: name_jp = "vehicle ID") 510 (Fig. 45) under the property bukken 501 (Fig. 43). Item ref_item (item name: name_asc = "MAKER_ID", display item under ref_table (item name: name_asc = "MAKER_SHARYOU") 511 (Fig. 45) Name: name_jp = "maker ID") Reference item ref_table (item name: name_asc = "MAKER) 516 (Fig. 46) under item item (item name: name_asc =" MAKER_NAME ") under 517 (Fig. 46), Display item name: name_jp = “maker name”) 518 (FIG. 46).
[0100]
As described above, since two vehicle IDs, vehicle names, manufacturer IDs, and manufacturer names are described in duplicate in each property block of the XML document, the vehicle ID, vehicle name, manufacturer ID, and manufacturer name are duplicated. There are two types of XPATH. In the small template 124, the vehicle name and manufacturer name, which are print items among the vehicle ID, the vehicle name, the manufacturer ID, and the manufacturer name, are described as formal arguments, but whichever XPATH is one of the two types of XPATH. May be used to describe. Which XPATH is used for the description is determined by the item selected on the screen of FIG. 48 for selecting an item to be poured by the user. The screen shown in FIG. 48 is actually used, and the screen shown in FIG. 18 simplified for explanation is actually replaced with the screen shown in FIG. For the manufacturer name, when the manufacturer name indicated by reference numeral 521 in FIG. 48 is selected, the manufacturer name under the item 515 (FIG. 44) is selected.
ref_item [@ name_asc = 'MAKER_ID'] / ref_table [@ name_asc = 'MAKER_SHARYOU'] / ref_item [@ name_asc = 'MAKER_ID'] / ref_table [@ name_asc = 'MAKER'] / item [@ name_asc = 'MAKER_NAME']
However, when the manufacturer name indicated by the reference numeral 522 in FIG. 48 is selected, the manufacturer name under the item 518 (FIG. 46) is selected.
ref_item [@ name_asc = 'SHARYOU_ID'] / ref_table [@ name_asc = 'MAKER_SHARYOU'] / ref_item [@ name_asc = 'MAKER_ID'] / ref_table [@ name_asc = 'MAKER'] / item [@ name_asc = 'MAKER_NAME']
It becomes. Such items designated by XPATH are described as temporary arguments in the small template 124. Then, such a small template 124 is incorporated into the XSLT document 127 to be applied to the XSLT processor 108.
[0101]
When the item referred to by the composite index is displayed by only one method on the screen of FIG. 48, the XML document only needs to be described by one method corresponding to the display method. When an item referenced by a composite index composed of two items is displayed in two ways on the screen of FIG. 48, the XML document describes the item by the two methods described above corresponding to those display methods. To do. The tree structure of the items displayed on the screen in FIG. 48 is directly created from a table such as a property table in the property database 121 and definition data of the relationship between them.
[0102]
The part about one property of the XML document 126 having the structure shown in FIGS. 43 to 47 generated based on the property database 121 shown in FIG. 4 is shown in FIGS. 49 to 55.
[0103]
【The invention's effect】
As described above, according to the present invention, the following effects can be obtained.
[0104]
Conventionally, when creating a print from data generated based on a database, simple comma-delimited data is extracted from the database, and the layout is created by a layout creation program developed as a DTP plug-in. The method of pouring the extracted data was adopted.
[0105]
Recently, due to the spread of the Internet, there are an increasing number of cases where the contents are published on the Internet prior to the publication of the printed matter. Such cases cannot be handled.
[0106]
In the present invention, the layout portion is separated from the DTP, and the layout data is provided in a standardized format called the XSL-FO format, thereby supporting not only the printing of printed matter but also the screen display of a homepage published on the Internet. I was able to do it.
[0107]
Further, according to the present invention, an electronic document for typesetting for printing or displaying the property information publication magazine can be generated based on the database in consideration of the characteristics of the property information publication magazine.
[0108]
According to the present invention, since a small template can be generated from DTP data by computer processing, it becomes possible for a designer to generate a small template only by designing a small template with DTP.
[0109]
In the XSLT electronic document, sentence (1) is temporarily
<xsl: apply-template select = "bukken">
The order of the properties described in the XSL-FO electronic document is determined by the order described in the XML electronic document. As in the present invention, the sentence (1)
<xsl: apply-template select = "bukken [@ bkn_id = 'Property identifier']">
By doing so, the order of the properties described in the XSL-FO electronic document can be different from the order of the properties described in the XML electronic document.
[0110]
Further, by providing the template 2 describing the layout of the small group for each small group type and calling the template 2 as the small group template from the template 1, it is not necessary to describe the small group template for each property. The number of properties to be listed in the property information publication magazine is several hundred to several thousand, whereas the number of small sets is from several to a dozen, so compared to writing a small template for each property, According to the present invention, the capacity of the XSLT electronic document can be greatly reduced, and the time for generating the XSLT electronic document can also be reduced.
[0111]
In addition, as described above, the XML document according to the present invention is referred to in the property table in the XML document by describing the reference data in the reference table referenced in the property table within the tree structure of each property data. It becomes unnecessary to refer to the data of the reference table across the tables, and the reference data of the reference table referred to in the property table can be expressed by simple XPATH. Being able to express the reference data of the reference table referenced in the property table with simple XPATH means that such reference data can be expressed with simple XPATH in the small template. . If the reference data is expressed by a simple XPATH in the small template, the XSLT processor can easily search the reference data from the XML document, and it is not necessary to add a search function to the XSLT processor, thereby speeding up the processing. .
[Brief description of the drawings]
FIG. 1 is a block diagram (1/3) showing a configuration of a database publishing apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram (1/3) showing a configuration of a database publishing apparatus according to an embodiment of the present invention;
FIG. 3 is a block diagram (1/3) showing the configuration of the database publishing apparatus according to the embodiment of the present invention;
FIG. 4 is a diagram illustrating a structure of a property database according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating a tree structure for managing a filter for extracting a property according to an embodiment of the present invention.
FIG. 6 is a diagram showing an example of a small layout created by the DTP unit according to the embodiment of the present invention.
7 is a diagram showing small group style information generated by the small group style information generating unit according to the embodiment of the present invention based on the small group layout example of FIG. 6; FIG.
FIG. 8 is a diagram showing a hierarchical structure of the small group style information shown in FIG. 7;
FIG. 9 is a flowchart (1/3) showing the operation of the small set style information generating means according to the embodiment of the present invention.
FIG. 10 is a flowchart (2/3) showing the operation of the small group style information generating unit according to the embodiment of the present invention.
FIG. 11 is a flowchart (3/3) showing the operation of the small set style information generating unit according to the embodiment of the present invention.
12 is a diagram showing a small template generated by the small template generation unit according to the embodiment of the present invention based on the small set style information shown in FIG. 7; FIG.
13 is a diagram showing the structure of an XML document corresponding to the small template shown in FIG. 12 according to the embodiment of the present invention.
FIG. 14 is a flowchart (1/2) showing the operation of the small template generation unit according to the embodiment of the present invention.
FIG. 15 is a flowchart (2/2) showing the operation of the small template generation unit according to the embodiment of the present invention.
FIG. 16 is a diagram (1/4) showing a screen displayed by the small template generation unit according to the embodiment of the present invention;
FIG. 17 is a diagram (2/4) illustrating a screen displayed by the small template generation unit according to the embodiment of the present invention;
FIG. 18 is a diagram (3/4) illustrating a screen displayed by the small template generation unit according to the embodiment of the present invention;
FIG. 19 is a diagram (4/4) showing a screen displayed by the small template generation unit according to the embodiment of the present invention;
FIG. 20 is a diagram showing a screen for creating a master layout according to an embodiment of the present invention.
FIG. 21 is a diagram showing a screen for creating original data according to an embodiment of the present invention.
FIG. 22 is a diagram showing a screen for selecting a filter for extracting property data to be allocated to a target page according to the embodiment of the present invention.
FIG. 23 is a diagram showing a screen for determining the order in which the property data to be allocated to the target page according to the embodiment of the present invention is rearranged.
FIG. 24 is a diagram showing a screen for changing the arrangement of small sets according to the master layout according to the embodiment of the present invention;
FIG. 25 is a diagram showing a screen for changing each property assigned to each small group according to the embodiment of the present invention.
FIG. 26 is a diagram showing a screen for displaying and changing the type and property of a small group to be allocated to each allocation position in each page according to the embodiment of the present invention.
FIG. 27 is a diagram (1/2) illustrating a first example of the XSLT electronic document generated in the embodiment of the present invention;
FIG. 28 is a diagram (2/2) illustrating a first example of an XSLT electronic document generated according to an embodiment of the present invention.
29 is a diagram (1/6) illustrating a second example of the XSLT electronic document generated simultaneously with the XML electronic document illustrated in FIG. 35 according to the embodiment of the present invention.
30 is a diagram (2/6) illustrating a second example of the XSLT electronic document generated simultaneously with the XML electronic document illustrated in FIG. 35 according to the embodiment of the present invention.
FIG. 31 is a diagram (3/6) illustrating a second example of the XSLT electronic document generated simultaneously with the XML electronic document illustrated in FIG. 35 according to the embodiment of the present invention.
32 is a diagram (4/6) showing a second example of the XSLT electronic document generated simultaneously with the XML electronic document shown in FIG. 35 in the embodiment of the present invention. FIG.
FIG. 33 is a diagram (5/6) illustrating a second example of the XSLT electronic document generated simultaneously with the XML electronic document shown in FIG. 35 according to the embodiment of the present invention.
34 is a diagram (6/6) illustrating a second example of the XSLT electronic document generated simultaneously with the XML electronic document shown in FIG. 35 according to the embodiment of the present invention. FIG.
FIG. 35 is a diagram showing an example of an XML electronic document generated in the embodiment of the present invention.
FIG. 36 is a conceptual diagram showing the structure of XSLT electronic document and XML electronic document generated according to the embodiment of the present invention and their relationship.
37 is a diagram (1/5) showing an XSLT electronic document generated from the XML electronic document shown in FIG. 35 and the XSLT electronic document shown in FIGS. 29 to 34 in the embodiment of the present invention. FIG.
38 is a diagram (2/5) showing the XSLT electronic document generated from the XML electronic document shown in FIG. 35 and the XSLT electronic document shown in FIGS. 29 to 34 in the embodiment of the present invention. FIG.
FIG. 39 is a diagram (3/5) showing the XSLT electronic document generated from the XML electronic document shown in FIG. 35 and the XSLT electronic document shown in FIGS. 29 to 34 in the embodiment of the present invention.
40 is a diagram (4/5) showing the XSLT electronic document generated from the XML electronic document shown in FIG. 35 and the XSLT electronic document shown in FIGS. 29 to 34 in the embodiment of the present invention. FIG.
41 is a diagram (5/5) showing the XSLT electronic document generated from the XML electronic document shown in FIG. 35 and the XSLT electronic document shown in FIGS. 29 to 34 in the embodiment of the present invention. FIG.
FIG. 42 is a diagram showing the structure of an XML document simply generated from a property database.
FIG. 43 is a diagram (1/5) showing the structure of an XML document corresponding to a small template generated by the small template generation unit according to the embodiment of the present invention;
44 is a diagram (2/5) showing the structure of an XML document corresponding to a small template generated by the small template generation unit according to the embodiment of the present invention; FIG.
FIG. 45 is a diagram (3/5) showing the structure of an XML document corresponding to the small template generated by the small template generation unit according to the embodiment of the present invention;
FIG. 46 is a diagram (4/5) showing the structure of an XML document corresponding to the small template generated by the small template generation unit according to the embodiment of the present invention;
FIG. 47 is a diagram (5/5) showing the structure of an XML document corresponding to the small template generated by the small template generation unit according to the embodiment of the present invention;
48 is a diagram showing a screen displayed by the small template generation unit according to the embodiment of the present invention, which replaces the diagram shown in FIG.
49 is a diagram showing a part (1/7) of one property of the XML document having the structure shown in FIGS. 43 to 47 according to the embodiment of the present invention. FIG.
FIG. 50 is a diagram showing a part (2/7) of one property of the XML document having the structure shown in FIGS. 43 to 47 according to the embodiment of the present invention;
FIG. 51 is a diagram showing a part (3/7) of one property of the XML document having the structure shown in FIGS. 43 to 47 according to the embodiment of the present invention;
FIG. 52 is a diagram showing a part (4/7) of one property of the XML document having the structure shown in FIGS. 43 to 47 according to the embodiment of the present invention;
FIG. 53 is a diagram showing a part (5/7) of one property of the XML document having the structure shown in FIGS. 43 to 47 according to the embodiment of the present invention;
FIG. 54 is a diagram showing a part (6/7) of one property of the XML document having the structure shown in FIGS. 43 to 47 according to the embodiment of the present invention;
FIG. 55 is a diagram showing a part (7/7) of one property of the XML document having the structure shown in FIGS. 43 to 47 according to the embodiment of the present invention;
[Explanation of symbols]
101 Database creation means
102 DTP means
103 Small group style information generation means
104 Small template generation means
105 Master layout generation means
106 Small group placement / property allocation means
107 XSLT document generation means
108 XSLT processor
109, 110 XSL-FO processor

Claims (19)

構造化文書を画面表示又は紙面印刷のために利用する組版用文書に変換するための変換用文書生成方法において、
コンピュータが、画面に表示され、又は、紙面に印刷される各ページ内に掲載する各物件を特定できる情報並びに該各物件を割り当てる各小組の種類及び位置を示した小組配置・物件割当データを入力手段により入力するステップと、
コンピュータが、画面に表示され、又は、紙面に印刷される各種類の小組毎に用意され、各々が各種類の小組の様式並びに仮引数として記述された該小組にデータが挿入されるべき物件を特定できる情報、特定された物件の該小組に挿入されるべきデータ及び該小組の位置を記述した1又は2以上の小組テンプレートを演算手段を利用して生成する小組テンプレート生成ステップと
コンピュータが前記小組テンプレートを記憶手段に格納するステップと、
コンピュータが、何れかの前記小組テンプレートを、指定された小組の種類に応じて選択し、選択された小組テンプレートに前記各物件を特定できる情報及び指定された小組テンプレートの位置を実引数として引き渡すための引数引渡文を演算手段を利用して生成し、前記記憶手段に格納するステップと、
コンピュータが、各ページに掲載する各物件であって、画面に表示され、又は、紙面に印刷されるものについて、該各物件を特定できる情報並びに該各物件を割り当てる小組の種類及び位置を指定して前記引数引渡文を適用するための小組テンプレート呼出文を演算手段を利用して生成し、前記記憶手段に格納するステップと、
コンピュータが、前記1又は2以上の小組テンプレート、前記引数引渡文及び前記小組テンプレート呼出文を前記記憶手段から読み出し、これらを含む変換用文書を演算手段を利用して生成し、前記記憶手段に格納するステップと、
を有することを特徴とする変換用文書生成方法。
In a conversion document generation method for converting a structured document into a typesetting document used for screen display or paper printing,
The computer inputs information that can identify each property listed on each page that is displayed on the screen or printed on paper, and subgroup placement / property allocation data that indicates the type and position of each subgroup to which each property is allocated. Inputting by means;
A computer is prepared for each type of small set displayed on the screen or printed on the paper, and each of the types of the small set format and the property in which the data is to be inserted into the small set described as a dummy argument. A sub-set template generation step for generating one or more sub-set templates describing information that can be specified, data to be inserted into the sub-set of the specified property, and the position of the sub-set using an arithmetic means;
A computer storing the sub-set template in a storage means;
In order for the computer to select one of the small group templates according to the type of the designated small group, and to pass the information that can identify each property to the selected small group template and the position of the designated small group template as actual arguments Generating an argument passing sentence of using the arithmetic means, and storing in the storage means;
For each property listed on each page that is displayed on the screen or printed on paper, the computer specifies information that can identify each property and the type and location of the subgroup to which each property is assigned. Generating a small template call statement for applying the argument passing statement using an operation means, and storing it in the storage means;
The computer reads the one or more small template templates, the argument passing statement, and the small template call statement from the storage unit, generates a conversion document including these using the calculation unit, and stores it in the storage unit And steps to
A conversion document generation method characterized by comprising:
請求項1に記載の変換用文書生成方法において、
前記小組テンプレート生成ステップは、
コンピュータが、画面に表示され、又は、紙面に印刷される各小組についてのDTP(Desk Top Publishing)データを基に各小組についての小組スタイル情報を演算手段を利用して生成し、前記記憶手段に格納するステップと、
コンピュータが、各小組についての前記小組スタイル情報を前記記憶手段から読み出し、該小組スタイル情報に含まれる実引数を仮引数に変換することにより、各小組についての前記小組テンプレートを演算手段を利用して生成するステップと、
を有することを特徴とする変換用文書生成方法。
The conversion document generation method according to claim 1,
The small template generation step includes
A computer generates small group style information for each small group based on DTP (Desk Top Publishing) data for each small group displayed on the screen or printed on the paper, using the calculation means, and stores it in the storage means Storing, and
The computer reads the small group style information for each small group from the storage unit, and converts the actual argument included in the small group style information into a dummy argument, thereby using the calculation unit for the small group template for each small group. and generating Sources step,
A conversion document generation method characterized by comprising:
請求項1又は2に記載の変換用文書生成方法の各ステップと、
コンピュータが、画面に表示され、又は、紙面に印刷される各ページ内に掲載する各物件のデータをデータベースから読み出すステップと、
コンピュータが、画面に表示され、又は、紙面に印刷される各ページ内に掲載する各物件のデータを記述した構造化文書を演算手段を利用して生成する構造化文書生成ステップと、
コンピュータが前記構造化文書を記憶手段に格納するステップと、
を有することを特徴とするデータベースパブリッシング方法。
Each step of the conversion document generation method according to claim 1 or 2,
A computer reading data from the database for each property listed on each page displayed on the screen or printed on paper;
A structured document generating step in which a computer generates a structured document that describes data of each property to be displayed in each page displayed on a screen or printed on a paper, using an arithmetic means;
A computer storing the structured document in a storage means;
A database publishing method comprising:
請求項3に記載のデータベースパブリッシング方法において、
コンピュータが、前記小組配置・物件割当データを演算手段を利用して生成し、前記記憶手段に格納するステップを更に有し、
コンピュータが、前記小組配置・物件割当データを演算手段を利用して生成し、前記記憶手段に格納するステップは、
コンピュータが、各ページの各位置に何れかの種類の小組を配置する小組配置ステップと、
コンピュータが、各ページに配置された各小組に各物件を割り当てる物件割当ステップと、
を有することを特徴とするデータベースパブリッシング方法。
The database publishing method according to claim 3,
The computer further includes a step of generating the small group arrangement / property allocation data using a calculation unit and storing the data in the storage unit,
The computer generates the small group arrangement / property allocation data using a calculation means and stores the data in the storage means.
A small piece placement step in which the computer places any kind of small piece at each position on each page;
A property assignment step in which the computer assigns each property to each sub-group arranged on each page;
A database publishing method comprising:
請求項に記載のデータベースパブリッシング方法において、
前記小組配置ステップは、
コンピュータが、ページに所定の種類の小組が予め配置されているマスターレイアウトを呼び出すステップと、
コンピュータが、前記マスターレイアウトを修正するステップと、
を有することを特徴とするデータベースパブリッシング方法。
The database publishing method according to claim 4 .
The sub-assembly placement step includes:
A computer invoking a master layout in which a predetermined type of sub-set is pre-arranged on the page;
A computer modifying the master layout;
A database publishing method comprising:
請求項又はに記載のデータベースパブリッシング方法において、
前記物件割当ステップは、
コンピュータが、前記データベースから所定のフィルタにより絞り込まれた物件データを読み出すステップと、
コンピュータが、前記データベースから読み出された前記物件データを所定の順序に従って各小組に割り当てるステップと、
を有することを特徴とするデータベースパブリッシング方法。
The database publishing method according to claim 4 or 5 ,
The property allocation step includes:
A computer reading property data narrowed down by a predetermined filter from the database;
A computer assigning the property data read from the database to each subgroup according to a predetermined order;
A database publishing method comprising:
請求項に記載のデータベースパブリッシング方法において、
前記所定の順序とは、物件の並べ替え順序及び/又はページ上の所定の配置順序に従った順序であることを特徴とするデータベースパブリッシング方法。
In database publishing method according to claim 6,
The database publishing method characterized in that the predetermined order is an order according to a rearrangement order of properties and / or a predetermined arrangement order on a page.
請求項乃至の何れか1項に記載のデータベースパブリッシング方法において、
コンピュータが、前記小組配置・物件割当データを演算手段を利用して生成し、前記記憶手段に格納するステップは、
コンピュータが、物件データの指定された項目での改ページ又は改段を小組配置・物件割当データに施すステップを更に有することを特徴とするデータベースパブリッシング方法。
The database publishing method according to any one of claims 4 to 7 ,
The computer generates the small group arrangement / property allocation data using a calculation means and stores the data in the storage means.
A database publishing method, further comprising: a step of applying a page break or page break in a specified item of property data to the small group arrangement / property allocation data.
請求項3乃至の何れか1項に記載のデータベースパブリッシング方法において、
コンピュータが、前記構造化文書に前記変換用文書を適用して前記組版用文書を演算手段を利用して生成し、前記記憶手段に格納するステップを更に有することを特徴とするデータベースパブリッシング方法。
The database publishing method according to any one of claims 3 to 8 ,
A database publishing method, further comprising: a step of applying the conversion document to the structured document, generating the typesetting document using an operation unit, and storing the document in the storage unit.
構造化文書を画面表示又は紙面印刷のために利用する組版用文書に変換するための変換用文書生成装置において、
各ページ内に掲載する各物件を特定できる情報並びに該各物件を割り当てる各小組の種類及び位置を示した小組配置・物件割当データを入力する手段と、
各種類の小組毎に用意され、各々が各種類の小組の様式並びに仮引数として記述された該小組にデータが挿入されるべき物件を特定できる情報、特定された物件の該小組に挿入されるべきデータ及び該小組の位置を記述した1又は2以上の小組テンプレートを生成する小組テンプレート生成手段と、
何れかの前記小組テンプレートを、指定された小組の種類に応じて選択し、選択された小組に前記各物件を特定できる情報及び指定された小組の位置を実引数として引き渡すための引数引渡文を生成する手段と、
各ページに掲載する各物件について、該各物件を特定できる情報並びに該各物件を割り当てる小組の種類及び位置を指定して前記引数引渡文を適用するための小組テンプレート呼出文を生成する手段と、
前記1又は2以上の小組テンプレート、前記引数引渡文及び前記小組テンプレート呼出文を含む変換用文書を生成する手段と、
を備えることを特徴とする変換用文書生成装置。
In a conversion document generation device for converting a structured document into a composition document used for screen display or paper printing,
Means for inputting information that can identify each property to be posted on each page, and subgroup arrangement / property allocation data indicating the type and position of each subgroup to which each property is allocated;
Prepared for each type of sub-group, each of which describes the type of sub-type of each type and information that can specify the property into which data should be inserted into the sub-group described as a dummy argument, inserted into the sub-group of the specified property and small group template generating means for generating one or more small set template that describes the data should and the small set of locations,
Select any one of the sub-group templates according to the type of the sub-group specified, and provide an argument passing statement for delivering the information that can identify each property to the selected sub-group and the position of the specified sub-group as an actual argument. Means for generating;
For each property to be posted on each page, means for generating a small template call statement for applying the argument delivery statement by specifying information that can identify each property and the type and position of the small group to which each property is assigned;
Means for generating a conversion document including the one or more small template, the argument passing statement, and the small template call statement;
A document generation apparatus for conversion, comprising:
請求項10に記載の変換用文書生成装置において、
前記小組テンプレート生成手段は、
各小組についてのDTP(Desk Top Publishing)データを基に各小組についての小組スタイル情報を生成する手段と、
各小組についての前記小組スタイル情報を基に各小組についての前記小組テンプレートを生成する手段と、
を備えることを特徴とする変換用文書生成装置。
The conversion document generation device according to claim 10 ,
The small set template generation means includes:
Means for generating small group style information for each small group based on DTP (Desk Top Publishing) data for each small group;
Means for generating the set template for each set based on the set style information for each set;
A document generation apparatus for conversion, comprising:
請求項10又は11に記載の変換用文書生成装置と、
各ページ内に掲載する各物件のデータをデータベースから読み出す手段と、
各ページ内に掲載する各物件のデータを記述した構造化文書を生成する手段と、
を備えることを特徴とするデータベースパブリッシング装置。
The conversion document generation device according to claim 10 or 11 ,
Means for reading out the data of each property posted on each page from the database;
A means of generating a structured document describing the data of each property posted on each page;
A database publishing apparatus comprising:
請求項12に記載のデータベースパブリッシング装置において、
前記小組配置・物件割当データを生成する手段を更に有し、
前記小組配置・物件割当データを生成する手段は、
各ページの各位置に何れかの種類の小組を配置する小組配置手段と、
各ページに配置された各小組に各物件を割り当てる物件割当手段と、
を備えることを特徴とするデータベースパブリッシング装置。
The database publishing apparatus according to claim 12 ,
And further comprising means for generating the small group arrangement / property allocation data,
The means for generating the small group arrangement / property allocation data includes:
A small group arrangement means for arranging any kind of small group at each position of each page;
Property assignment means for assigning each property to each sub-group placed on each page;
A database publishing apparatus comprising:
請求項13に記載のデータベースパブリッシング装置において、
前記小組配置手段は、
ページに所定の種類の小組が予め配置されているマスターレイアウトを呼び出す手段と、
前記マスターレイアウトを修正する手段と、
を備えることを特徴とするデータベースパブリッシング装置。
The database publishing apparatus according to claim 13 .
The small assembly arrangement means includes:
Means for calling a master layout in which a predetermined type of sub-set is pre-arranged on the page;
Means for modifying the master layout;
A database publishing apparatus comprising:
請求項13又は14に記載のデータベースパブリッシング装置において、
前記物件割当手段は、
前記データベースから所定のフィルタにより絞り込まれた物件データを読み出す手段と、
前記データベースから読み出された前記物件データを物件の並べ替え順序及びページ上の所定の配置順序に従って各小組に割り当てる手段と、
を備えることを特徴とするデータベースパブリッシング装置。
The database publishing apparatus according to claim 13 or 14 ,
The property allocating means is
Means for reading property data narrowed down by a predetermined filter from the database;
Means for assigning the property data read from the database to each subgroup according to a property rearrangement order and a predetermined arrangement order on the page;
A database publishing apparatus comprising:
請求項15に記載のデータベースパブリッシング装置において、
前記所定の順序とは、物件の並べ替え順序及び/又はページ上の所定の配置に従った順序であることを特徴とするデータベースパブリッシング装置。
In database publishing system according to claim 15,
The database publishing apparatus, wherein the predetermined order is an order according to a rearrangement order of properties and / or a predetermined arrangement on a page.
請求項13乃至16の何れか1項に記載のデータベースパブリッシング装置において、
前記小組配置・物件割当データを生成する手段は、
物件データの指定された項目での改ページ又は改段を小組配置・物件割当データに施す手段を更に備えることを特徴とするデータベースパブリッシング装置。
The database publishing apparatus according to any one of claims 13 to 16 ,
The means for generating the small group arrangement / property allocation data includes:
A database publishing apparatus, further comprising means for applying a page break or page break in a specified item of property data to the small group arrangement / property allocation data.
請求項12乃至17の何れか1項に記載のデータベースパブリッシング装置において、
前記構造化文書に前記変換用文書を適用して組版用文書を生成する手段を更に備えることを特徴とするデータベースパブリッシング装置。
The database publishing apparatus according to any one of claims 12 to 17 ,
A database publishing apparatus, further comprising means for generating a typesetting document by applying the conversion document to the structured document.
請求項1乃至の何れか1項に記載の方法をコンピュータに実行させるためのプログラム。Program for executing the method according to the computer in any one of claims 1 to 9.
JP2001362811A 2001-08-27 2001-11-28 Database publishing method and apparatus Expired - Fee Related JP3910048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001362811A JP3910048B2 (en) 2001-08-27 2001-11-28 Database publishing method and apparatus

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-256378 2001-08-27
JP2001256378 2001-08-27
JP2001362811A JP3910048B2 (en) 2001-08-27 2001-11-28 Database publishing method and apparatus

Publications (2)

Publication Number Publication Date
JP2003150581A JP2003150581A (en) 2003-05-23
JP3910048B2 true JP3910048B2 (en) 2007-04-25

Family

ID=26621040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001362811A Expired - Fee Related JP3910048B2 (en) 2001-08-27 2001-11-28 Database publishing method and apparatus

Country Status (1)

Country Link
JP (1) JP3910048B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252257A (en) * 2005-03-11 2006-09-21 Dainippon Printing Co Ltd Data base text output system, text output server, program and recording medium
JP2006323837A (en) * 2005-04-22 2006-11-30 Kyodo Printing Co Ltd Dtp data generation method, dtp data generation device and dtp data generation program

Also Published As

Publication number Publication date
JP2003150581A (en) 2003-05-23

Similar Documents

Publication Publication Date Title
US8117552B2 (en) Incrementally designing electronic forms and hierarchical schemas
JPH04503881A (en) Document management and creation system
JP4393404B2 (en) Database management apparatus and database management method
US20020184261A1 (en) Process of inputting and outputting a display table derived from a worksheet and data storage media programmed to perform the same
JP3910048B2 (en) Database publishing method and apparatus
JP4627962B2 (en) Database publishing method and apparatus
JP2001125855A (en) Dynamic web page generation program
JP2008112473A (en) Database publishing method and device therefor
JP2003345782A (en) Method and device for publishing database
JP2004213636A (en) Medium production information system
JP2008112472A (en) Database publishing method and device therefor
JP6531855B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, AND PROGRAM
JPH06176085A (en) Drawing/parts list generation/control device
JP3395347B2 (en) Document processing device
JP2008217170A (en) Information processor and program
JP2997666B1 (en) Data printing program generation method
JP4737659B2 (en) Table set database system and table set data creation device
JP3677852B2 (en) Document processing method and apparatus
JP2001222536A (en) System and method for preparing patent map and recording medium
JPH07175870A (en) Slip preparing method
JPH05298378A (en) Method for managing design drawing
JPH1055395A (en) Generating method for data base
JP2004199710A (en) System and method for creating database
JPH11249775A (en) Slip generation system
JP4034377B2 (en) Database design device and database control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041013

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070123

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100202

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110202

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120202

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120202

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130202

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140202

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees