JP4075999B2 - Form output device - Google Patents

Form output device Download PDF

Info

Publication number
JP4075999B2
JP4075999B2 JP11090396A JP11090396A JP4075999B2 JP 4075999 B2 JP4075999 B2 JP 4075999B2 JP 11090396 A JP11090396 A JP 11090396A JP 11090396 A JP11090396 A JP 11090396A JP 4075999 B2 JP4075999 B2 JP 4075999B2
Authority
JP
Japan
Prior art keywords
color
dictionary
cell
information
evaluation
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 - Lifetime
Application number
JP11090396A
Other languages
Japanese (ja)
Other versions
JPH09297674A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP11090396A priority Critical patent/JP4075999B2/en
Priority to TW086105740A priority patent/TW343317B/en
Priority to MYPI97001888A priority patent/MY123789A/en
Priority to DE69723526T priority patent/DE69723526T2/en
Priority to PCT/JP1997/001495 priority patent/WO1997041523A1/en
Priority to EP97918347A priority patent/EP0838064B1/en
Priority to CN97190431A priority patent/CN1127697C/en
Priority to US08/981,443 priority patent/US6349315B1/en
Priority to KR1019970709992A priority patent/KR100318285B1/en
Publication of JPH09297674A publication Critical patent/JPH09297674A/en
Priority to HK99100462A priority patent/HK1015484A1/en
Application granted granted Critical
Publication of JP4075999B2 publication Critical patent/JP4075999B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、データが設定されている複数のセルを出力する帳票出力装置に関する。
【0002】
【従来の技術】
近年、例えば、事務処理を主とするオフィスコンピュータや汎用コンピュータ等においては、表計算やデータベース等の各種アプリケーションプログラムが利用されており、集計した表データを各種形式の帳票で出力可能とする帳票出力機能を備えている。
【0003】
また、帳票を出力させるためには、その形式や出力形態等の定義内容を設定する必要があり、例えば、アプリケーションプログラムに内蔵された帳票定義機能を利用して行われており、まず、帳票形式を設定し、この帳票内に出力する項目及び項目定義内容を設定し、さらに設定項目に出力するデータが展開されたレコードファイル名(表ファイル名)を設定し、出力形態を設計画面上で設定するといった手順で行われている。
【0004】
このような手順で設定された帳票が画面上に表示された状態で、その帳票内に展開されるセル毎に出力されるデータの種類としては、文字、数値、複数の項目から算出される計算結果等がある。さらに、従来の帳票定義機能としては、セル単位で出力するデータの出力形態を、セル単位で定義する機能も備えられており、この定義機能を利用して、例えば、セル単位でデータの出力色を指定することも可能である。
【0005】
【発明が解決しようとする課題】
しかしながら、このような従来の表計算やデータベース等の各種アプリケーションプログラムに内蔵された帳票定義機能のうちのセルデータの出力形態定義機能にあっては、セル単位で出力するデータの出力形態を、セル単位で定義する機能を利用する場合は、セル単位で定義内容を設定する必要があったため、その出力形態の定義内容を設定する際の手間が煩雑で、そのセルデータの出力形態定義機能を有効利用することが難しいという問題があった。
【0006】
また、画面上に表示された帳票内に展開された所望セルの出力形態を変更するような場合にも、同様にその出力形態の定義内容を設定する際の手間が煩雑であるため、セルデータの出力形態定義機能が利用し難い。
【0007】
本発明の課題は、帳票定義機能においてセルデータのカラー出力定義機能の操作を容易にし、そのカラー出力定義機能の利用を容易にすることである。
【0008】
【課題を解決するための手段】
請求項1記載の発明は、複数セルから構成される帳票の該セル毎に設定される定義対象項目の内容により、その定義対象項目が設定されるセルの背景色あるいはデータ色等の描画色を予め決められた評価条件により定義し、該定義対象項目内容と描画色との対応関係により定義対象項目が設定されるセルの背景色あるいはデータ色を変更して出力する帳票出力装置であって、前記定義対象項目の名称と、該定義対象項目の名称に対応する評価条件と、該評価条件に対応する色情報とを対応付けて設定したカラー辞書を複数記憶するカラー辞書記憶手段と、前記評価条件によりデータ値が評価されるセル情報を設定した評価対象セル情報と、この評価対象セル情報に対応付けられてカラー化されるセル情報を設定したカラー化対象セル情報と、前記カラー辞書を指定する情報を設定したカラー辞書指定情報とを対応付けて記憶するカラー情報記憶手段と、前記複数のカラー辞書に対応する複数の辞書名称を表示画面に表示し、表示された複数の辞書名称からユーザ操作に応じて1つの辞書名称を指定し、前記複数のカラー辞書の中から1つのカラー辞書を指定する辞書指定手段と、前記指定されたカラー辞書を検索し、前記カラー情報記憶手段に記憶された評価対象セル情報に対応するセルに設定されたデータに対応する色情報を取得する検索手段と、前記検索手段により取得された色情報に基づく色で前記カラー情報記憶手段に記憶されたカラー化対象セル情報に対応するセルを描画して前記複数のセルを出力する出力手段と、前記辞書指定手段により辞書名称が指定されて他のカラー辞書が指定されたことに応じて、前記カラー辞書を新たに指定されたカラー辞書に変更する辞書変更手段と、前記変更されたカラー辞書を前記検索手段により検索して前記カラー情報記憶手段に記憶された評価対象セル情報に対応するセルに設定されたデータに対応する色情報を取得し、取得した色情報に基づく色で前記カラー情報記憶手段に記憶されたカラー化対象セル情報に対応するセルを前記出力手段により再描画して前記複数のセルを再出力させる制御手段と、を具備したことを特徴とする。
【0018】
【発明の実施の形態】
以下、図を参照して本発明の実施の形態を詳細に説明する。
【0019】
図1〜図9は、本発明の帳票出力方法を適用したコンピュータシステムの一実施の形態を示す図である。
【0020】
まず、構成を説明する。
【0021】
図1は、本実施の形態のコンピュータシステム1の要部構成を示すブロック図である。
【0022】
図1において、コンピュータシステム1は、CPU2、入力部3、RAM4、記憶媒体制御部5、記憶装置6、カラー印字部7及びカラー表示部8により構成されており、各部はバス9により接続されている。
【0023】
CPU(Central Processing Unit )2は、記憶装置6に記憶されているGUIとしてのウインドウシステムプログラム及び当該ウインドウシステムに対応する各種アプリケーションプログラムの中から指定されたアプリケーションプログラム、入力部3から入力される各種指示あるいはデータをRAM4内のワークメモリ4aに格納し、この入力指示及び入力データに応じてRAM4内に格納したアプリケーションプログラムに従って各種処理を実行し、その処理結果をRAM4内のワークメモリ4aに格納するとともに、カラー表示部8に表示する。そして、ワークメモリ4aに格納した処理結果を入力部3から入力指示される記憶装置6内の保存先に保存する。
【0024】
また、CPU2は、RAM4内の帳票データメモリ4bに記憶される帳票データの出力処理として後述する帳票印刷処理において、その印刷対象の帳票内の各セルデータに対応するカラー情報を定義する辞書指定情報をRAM4内のカラー情報メモリ4d内のカラー情報テーブルから取得し、この辞書指定情報に基づいてRAM4内のカラー辞書メモリ4eからカラー辞書テーブルを読み込む。そして、CPU2は、読み込んだカラー辞書テーブルにおいて評価条件に基づいて設定されている色情報に従って指定セルデータを指定色でカラー印字部7によりカラー印刷出力させる。
【0025】
入力部3は、カーソルキー、数字入力キー及び各種機能キー等を備えたキーボードと、ポインティングデバイスであるマウスと、を備え、キーボードで押下されたキーの押下信号をCPU2に出力するとともに、マウスによる操作信号をCPU2に出力する。
【0026】
RAM(Random Accesss Memory )4は、指定されたアプリケーションプログラム、入力指示、入力データ及び処理結果等を格納するワークメモリ4aと、帳票データを格納する帳票データメモリ4bと、帳票のレイアウト情報を格納する帳票レイアウト情報メモリ4cと、帳票内のセルデータ毎にカラー情報を定義する定義情報と辞書指定情報とが設定されたカラー情報テーブルを格納するカラー情報メモリ4dと、カラー情報テーブルに設定された辞書指定情報に対応する各種カラー辞書テーブルを格納するカラー辞書メモリ4eと、を有する。
【0027】
記憶媒体制御部5は、図中に示す記憶媒体10(例えば、フロッピーディスク)を駆動制御する記憶媒体駆動装置としての機能を有し、CPU2からの指示により記憶媒体10を駆動して、書き込み指示が入力された場合は指定されたデータを記憶媒体10内の指定された記憶領域に書き込み、読み出し指示が入力された場合は指定されたデータを記憶媒体10から読み出し、RAM4あるいは記憶装置6内の指定された記憶領域に書き込む。
【0028】
記憶装置6は、プログラムやデータ等か予め記憶されている記憶媒体を有しており、この記憶媒体は磁気的、光学的記録媒体、若しくは半導体メモリで構成されている。この記憶媒体は記憶装置6に固定的に設けたもの、若しくは着脱自在に装着するものであり、この記憶媒体には上記GUIとしてのウインドウシステムプログラム及び当該ウインドウシステムに対応する各種アプリケーションプログラム、印刷処理プログラム及び各処理プログラムで処理されたデータ等を記憶する。
【0029】
また、この記憶媒体に記憶するプログラム、データ等は、通信回線等を介して接続された他の機器から受信して記憶する構成にしてもよく、更に、通信回線等を介して接続された他の機器側に上記記憶媒体を備えた記憶装置を設け、この記憶媒体に記憶されているプログラム、データを通信回線を介して使用する構成にしてもよい。
【0030】
カラー印字部7は、CPU2から入力される印字データ(帳票データ等)を指定された色で印刷出力する。
【0031】
カラー表示部8は、CRT(Cathode Ray Tube)等により構成され、CPU2から入力される表示データを指定色で表示する。
【0032】
次に、本実施の形態の動作を説明する。
【0033】
まず、上記RAM4内のカラー情報メモリ4dに格納されるカラー情報テーブルの一例を図2に示して説明する。
【0034】
本実施の形態のカラー情報テーブルにおいては、図2に示すように、1番上の行のカラー辞書指定欄には辞書指定情報(カラー辞書指定情報)を設定し、セル欄には注目するセル番号(評価対象セル情報)を設定し、色欄にはセル毎の出力色を設定し、項目色名称欄(カラー化対象セル情報)には注目するセルの項目色名称を設定し、対象項目欄には実際に指定色で色付けして印刷出力するセル項目位置を設定する。
【0035】
この図2のカラー情報テーブルでは、辞書指定欄には“本年度目標基準”が設定され、項目色名称欄には“売上評価色”、“月度計評価色”、“半期計評価色”が設定され、セル欄と対象項目欄には同一のセル位置が設定された場合を示している。このようにセル欄と対象項目欄に同一のセル位置を設定した場合は、評価対象とするセルと指定色で出力するカラー化対象セルを同一にすることができ、また、異なるセル位置を設定した場合は、評価対象とするセルと指定色で出力するカラー化対象セルを別々に設定することができる。
【0036】
また、辞書指定欄に設定された辞書指定情報によりRAM4内のカラー辞書メモリ4eに格納されている複数のカラー辞書テーブルのうちの一つが指定される。
【0037】
次いで、このカラー辞書メモリ4eに格納されているカラー辞書テーブルの一例を図3及び図4に示して説明する。
【0038】
本実施の形態のカラー辞書テーブルにおいては、図3(a)、(b)及び図4(c)〜(e)に示すような各種カラー辞書テーブルがある。これらのカラー辞書テーブルにおいては、辞書名称欄には当該辞書名称を設定し、項目カラー名称欄(定義対象項目名称)にはカラー化するセルの項目色名称を設定し、評価条件欄には項目色名称に該当する否かを判別する数値条件(評価条件)を設定し、色欄には、評価条件欄に設定された数値条件毎に出力階調色(色情報)を設定する。
【0039】
図3(a)に示すカラー辞書テーブルは、辞書名称“前年度平均基準”のカラー辞書テーブルであり、項目カラー名称欄には“月度評価色”、“売上評価色”、“半期計評価色”が設定され、評価条件欄には“月度評価色”に対応する数値条件として“>18,000”、“>13,000”、“>11,000”、“>3,000”が設定され、“売上評価色”に対応する数値条件として“>2,500”、“>1,500”、“>500”が設定され、“半期計評価色”に対応する数値条件として“>12,000”が設定され、色欄には“月度評価色”の各数値条件に対応する出力階調色として赤(R)の階調数が“255”、“200”、“100”、“50”に設定され、“売上評価色”の各数値条件に対応する出力階調色として青(B)の階調数が“255”、“120”、“60”に設定され、“半期計評価色”に対応する出力階調色として緑(G)の階調数が“255”に設定されている。
【0040】
また、図3(b)に示すカラー辞書テーブルは、辞書名称“本年度目標基準”のカラー辞書テーブルであり、項目カラー名称欄には“月度評価色”、“売上評価色”、“半期計評価色”が設定され、評価条件欄には“月度評価色”に対応する数値条件として“>20,000”、“>15,000”、“>10,000”、“>5,000”が設定され、“売上評価色”に対応する数値条件として“>3,000”、“>2,000”、“>1,000”が設定され、“半期計評価色”に対応する数値条件として“>15,000”が設定され、色欄には“月度評価色”の各数値条件に対応する出力階調色として赤(R)の階調数が“255”、“200”、“100”、“50”に設定され、“売上評価色”の各数値条件に対応する出力階調色として青(B)の階調数が“255”、“120”、“60”に設定され、“半期計評価色”に対応する出力階調色として緑(G)の階調数が“255”に設定されている。
【0041】
また、図4(a)に示すカラー辞書テーブルは、辞書名称“月度別売上評価”のカラー辞書テーブルであり、項目カラー名称欄には“月度評価色”が設定され、評価条件欄には“月度評価色”に対応する数値条件として“>20,000”、“>15,000”、“>10,000”、“>5,000”が設定され、“月度評価色”の各数値条件に対応する出力階調色として赤(R)の階調数が“255”、“200”、“100”、“50”に設定されている。
【0042】
また、図4(b)に示すカラー辞書テーブルは、辞書名称“商品別売上評価”のカラー辞書テーブルであり、項目カラー名称欄には“売上評価色”が設定され、“売上評価色”の各数値条件に対応する出力階調色として青(B)の階調数が“255”、“120”、“60”に設定されている。
【0043】
また、図4(c)に示すカラー辞書テーブルは、辞書名称“保存用”のカラー辞書テーブルであるため、項目カラー名称欄、評価条件欄及び色欄にデータは設定されていない。したがって、“保存用”のカラー辞書テーブルを選択すると、色付けのないモノクロの帳票が印刷される。
【0044】
なお、これらのカラー辞書テーブルに限らず、その他の辞書名称、項目カラー名称、評価条件及び色情報を設定したカラー辞書テーブルを設けても良いことは勿論である。
【0045】
以上の図2に示したカラー情報テーブル及び図3、図4に示したカラー辞書テーブルの各カラー情報定義内容により後述する帳票印刷処理において、指定された印刷対象帳票内のセルデータに対するカラー印刷処理が実行される。
【0046】
次に、上記図2に示したカラー情報テーブル及び図3、図4に示したカラー辞書テーブルに示した各定義内容を帳票に対して適用するために、帳票設計上で必要となる操作について図5及び図6に示す帳票設計時の画面表示例を参照して説明する。
【0047】
図5の帳票設計の表示画面では、ある指定された帳票のレイアウト情報が、RAM4内の帳票レイアウト情報メモリ4cから読み出されてカラー表示部8に表示され、この帳票上の指定セル領域毎に上記各カラー情報の定義内容を設定操作する場合の状態を示している。そして、図5の帳票設計の表示画面では、図中のA〜J列及び1〜9行で示す帳票表示枠内に指定された帳票のレイアウトが表示され、この帳票表示枠の上部行に“ファイル,編集,セル背景色,カラー辞書”の各操作項目が表示されている。
【0048】
カラー情報の定義に関する操作手順としては、その操作項目の“セル背景色”を指示操作すると、図中に示すように、そのプルダウンメニューが表示され、このメニュー内で色の指定操作を行い、次いで、“カラー辞書”を指示操作すると、図中に示すように、そのプルダウンメニューが表示され、このメニュー内でカラー辞書の指定操作を行う。
【0049】
次いで、帳票セル領域B2〜I9において、カラー情報の定義対象のセル領域の指定操作と項目色の指定操作を行う。例えば、図中の矢印▲1▼で示すセルC9〜H9の月度計領域に対するセル領域の指定操作が行われると、図6に▲1▼で示すサブメニュー画面が表示され、指定されたセル領域がセル項目として“C9;H9”が設定され、このサブメニュー画面内に表示された項目色名称の一覧内で指定された“月度計評価色”が網かけにより識別表示される。
【0050】
また、例えば、図中の矢印▲2▼で示すセルI3〜I8の半期計領域に対するセル領域の指定操作が行われると、図6に▲2▼で示すサブメニュー画面が表示され、指定されたセル領域がセル項目として“I3;I8”が設定され、このサブメニュー画面内に表示された項目色名称の一覧内で指定された“半期計評価色”が網かけにより識別表示される。
【0051】
また、例えば、図中の矢印▲3▼で示すセルC3〜H8の売上評価領域に対するセル領域の指定操作が行われると、図6に▲3▼で示すサブメニュー画面が表示され、指定されたセル領域がセル項目として“C3;H8”が設定され、このサブメニュー画面内に表示された項目色名称の一覧内で指定された“売上評価色”が網かけにより識別表示される。
【0052】
以上の操作手順によりカラー情報の定義設定が行われると、図2に示したようなカラー辞書指定に対応するカラー情報テーブルが設定されてRAM4内のカラー情報メモリ4dに格納される。
【0053】
次に、上記CPU2により実行される帳票印刷処理について図7に示すフローチャートに基づいて説明する。
【0054】
まず、図5に示したような画面構成において、操作項目“印刷”が指示され、印刷対象の帳票が指定されると、その帳票データをカラー印刷するために設定されている辞書指定情報を、RAM4内のカラー情報メモリ4dに設定されているカラー情報テーブルのカラー辞書指定欄に設定されているカラー辞書情報により取得し(ステップS1)、その指定されたカラー辞書テーブルをRAM4内のカラー辞書メモリ4eから読み込んでワークメモリ4aに展開する(ステップS2)。
【0055】
次いで、指定された印刷対象帳票のレイアウト情報を帳票レイアウト情報メモリ4bから読み出し、このレイアウト情報に従って当該帳票データ内の先頭セルの描画処理を行ってRAM4内のワークメモリ4aに展開し(ステップS3)、ステップS2で読み込んだカラー辞書テーブル内を検索して(ステップS4)、その描画したセル項目に対応する色評価情報を取得し(ステップS5)、この色評価情報に基づいて指定セルを指定色で描画処理を行う(ステップS6)。
【0056】
すなわち、図2に示したカラー情報テーブル内の指定セル位置に対応して項目色名称欄に設定されている項目色名称と、この項目色名称に対応して図3あるいは図4のカラー辞書テーブルの項目カラー名称欄に設定されている同一の項目カラー名称の評価条件に基づいて、当該指定セル位置に設定されている数値データが該当する評価条件を判別し、この評価条件に対応して色欄に設定されている色及び階調データに従って当該指定セルに指定色を描画する。
【0057】
次いで、当該指定セルに設定されているセルデータ(数値データ)の当該指定セルへの描画処理を行い(ステップS7)、全セルの描画処理が終了したか否かを判別し(ステップS8)、全セルの描画処理が終了していない場合は、ステップS3に戻って、次のセルの描画処理を行い、以後、前記ステップS4〜ステップS7の辞書情報検索処理、色情報検索処理、色描画処理及びセルデータ描画処理を繰り返し実行して、全セルの描画処理を行う。また、全セルの描画処理が終了している場合は、その描画処理が終了したセルから構成された帳票をカラー表示部8にカラー表示する(ステップS9)。
【0058】
この描画処理が終了したセルから構成された帳票のカラー表示部8へのカラー表示された例を図8に帳票プレビュー画面として示す。
【0059】
この図8の帳票プレビュー画面に示す帳票は“売上実績”に関するものであり、この帳票内のセル構成のうち“4月度売上実績(C3〜C8)”、“5月度売上実績(D3〜D8)”、“6月度売上実績(E3〜E8)”の各セル領域が、図3(b)の“本年度目標基準”カラー辞書テーブル内の項目カラー名称“月度評価色”の評価条件に従って、各月度売上セル領域が色付け表示された例を示している。
【0060】
例えば、セル位置C3〜C6の各数値データ“1,565、1,474、1,313、1,254、1,126、1,045”は、評価条件“>3,000”に該当するため、その各セルは指定色“R(赤)かつ階調50”で色付け表示され、セル位置E3〜E8の各数値データ“3,343、3,252、3,135、3,032、3,548、3,376”は、評価条件“>11,000”に該当するため、その各セルは指定色“R(赤)かつ階調100”で色付け表示される。
【0061】
この図8中のサブウインドウ図面は、その帳票表示枠の上部行の“カラー辞書”操作項目が操作された場合に表示されるものであり、以下の項目操作処理に継続される。
【0062】
すなわち、図8の帳票をカラー表示部8にカラー表示した状態で、ユーザーによる入力部3のマウスによる指示操作を待機し(ステップS10)、すなわち、図8に示した帳票表示枠の上部行に表示された“ファイル,前頁,次頁,印刷,カラー辞書変更”の各操作項目の操作を待機する。そして、この項目操作内容が“印刷”あるいは“カラー辞書変更”かを判別する(ステップS11)。
【0063】
項目操作内容が“印刷”である場合は、図8に表示した帳票データをカラー印刷部8により所定の印刷用紙にカラー印刷出力させて(ステップS12)、本処理を終了する。また、“カラー辞書変更”である場合は、図8に示すカラー辞書のサブウインドウを表示し、そのカラー辞書サブウインドウ内でカラー辞書名称の指定を促す(ステップS13)。図8に示すカラー辞書サブウインドウ内では、使用中の“本年度目標基準”が指定された状態を示している。そして、マウス操作により他の辞書名称が指定された状態を図9に示す。
【0064】
図9に示すカラー辞書サブウインドウ内では、マウス操作により“月度別売上評価”というカラー辞書名が指定された状態を示している。次いで、この指定された“月度別売上評価”というカラー辞書名に対応するカラー辞書テーブルをRAM4内のカラー辞書メモリ4dから読み出すため、上記ステップS2の処理に戻る。そして、“月度別売上評価”のカラー辞書テーブルを読み出した後、ステップS3において、当該帳票の先頭セルから再度描画処理を行い、以後、上記ステップS4〜ステップS7の辞書情報検索処理、色情報検索処理、色描画処理及びセルデータ描画処理を繰り返し実行して、全セルの再描画処理を行う。
【0065】
その結果、帳票内の各月度売上セル領域の各データが、変更指定された“月度別売上評価”というカラー辞書テーブルに設定された項目カラー名称の評価条件に基づく色指定に従って、図9において、図8で説明したように各セルが再度指定色でカラー表示部8に色付け表示される。
【0066】
そして、この再度カラー表示された図9の帳票表示枠の上部行に表示された“ファイル,前頁,次頁,印刷,カラー辞書変更”の各操作項目の“印刷”をマウスで操作することにより、図9に表示した帳票データがカラー印字部7により所定の印刷用紙にカラー印刷出力される。また、再度“カラー辞書変更”を操作して、カラー辞書名を指定することにより、帳票内のセルの色付け状態を変更することができる。
【0067】
以上のように、本実施の形態のコンピュータシステム1では、帳票に関する定義ファイルとして、RAM4内に帳票内のセルデータ毎にカラー情報を定義する定義情報と辞書指定情報とが設定されたカラー情報テーブルを格納するカラー情報メモリ4dと、カラー情報テーブルに設定された辞書指定情報に対応する各種カラー辞書テーブルを格納するカラー辞書メモリ4eと、を設け、カラー情報テーブルには、評価対象とするセル位置と、その項目色名称と、カラー化対象とするセル位置とを任意に設定可能とし、カラー辞書テーブルには、項目色名称毎に評価条件と、その評価条件に基づく色情報(色及び階調数)を予め設定したため、帳票毎にカラー情報テーブルとカラー辞書テーブルを設定する必要がなく、カラー情報を定義する手間を軽減することができる。
【0068】
また、帳票印刷処理においては、このカラー情報テーブル及びカラー辞書テーブルに従って、印刷対象帳票内の色付け対象項目が設定されたセル、あるいは、色付け対象セル領域のセル領域が、カラー表示されてカラー印刷出力されるとともに、カラー辞書テーブルの変更を可能として、その印刷対象帳票内の色付け対象項目及び色付け対象セル領域の色を変更可能としたため、帳票を印刷する際のセル単位及びセル領域毎の評価条件に基づく色識別出力を容易に行うことができる。
【0069】
その結果、帳票データを利用するデータ分析方法において、その分析結果を色別に出力させるとことを容易にでき、帳票データの作成機能を備えるアプリケーションプログラムに適用することにより、そのデータ出力機能の向上を図ることができる。
【0070】
なお、上記実施の形態の帳票印刷処理では、カラー化対象セルのセル背景色を、その評価対象セルのデータ値の該当する評価条件に応じて変更するようにした場合を説明したが、データ色を変更するようにしてもよい。
【0071】
また、上記実施の形態のカラー情報テーブルでは、各設定項目を任意に設定可能としたが、上記カラー辞書テーブルの各設定項目を任意に設定可能としてもよく、この場合、評価対象セルの評価条件を任意に設定でき、カラー表示あるいはカラー印刷出力される帳票のカラー出力形態の多様化を容易にすることができ、より詳細にセルデータのカラー分析を行うことができる。
【0072】
【発明の効果】
請求項1記載の発明によれば、データが設定されている複数のセルを出力する際に、表示された複数の辞書名称から1つの辞書名称を指定するだけで他のカラー辞書が指定され、新たに指定されたカラー辞書に変更され、評価対象セルを評価する評価条件が別の評価条件に変更され、変更された別の評価条件に基づいて評価対象セルを再評価し、再評価結果に応じた色でカラー化対象セルを出力させることができるので、評価条件を変更するユーザ操作が簡単になり、例えば、同じデータが設定されている評価対象セルを様々な評価基準により分析評価し、その評価結果をカラー化対象セルの描画色によって簡単に確認することができる。
【図面の簡単な説明】
【図1】本発明の帳票出力方法を適用した一実施の形態のコンピュータシステムの要部構成を示すブロック図。
【図2】図1のRAM内のカラー情報メモリに格納されるカラー情報の一例を示す図。
【図3】図1のRAM内のカラー辞書メモリに格納されるカラー辞書の一例を示す図。
【図4】図1のRAM内のカラー辞書メモリに格納されるカラー辞書の一例を示す図。
【図5】図2〜図3の各カラー情報定義内容を帳票設計時に設定する際の画面表示例を示す図。
【図6】図5の帳票設計の画面表示において指定セル領域毎にカラー情報の定義内容を設定する際に表示されるサブウインドウの表示例を示す図。
【図7】図1のCPUにより実行される帳票印刷処理のフローチャート。
【図8】図7の帳票印刷処理において印刷対象の帳票データが帳票プレビュー画面としてカラー表示される画面の一例を示す図。
【図9】図8の帳票プレビュー画面においてカラー辞書名を変更操作して印刷対象の帳票データが異なる色付けでカラー表示される画面の一例を示す図。
【符号の説明】
1 コンピュータシステム
2 CPU
3 入力部
4 RAM
4a ワークメモリ
4b 帳票データメモリ
4c 帳票レイアウト情報メモリ
4d カラー情報メモリ
4e カラー辞書メモリ
5 記憶媒体制御部
6 記憶装置
7 カラー印字部
8 カラー表示部
9 バス
10 記憶媒体
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a form output device that outputs a plurality of cells in which data is set.
[0002]
[Prior art]
In recent years, for example, office computers and general-purpose computers that mainly handle office work use various application programs such as spreadsheets and databases, and form output that enables tabulated data to be output in various forms. It has a function.
[0003]
In addition, in order to output a form, it is necessary to set the definition contents such as the format and output form. For example, the form definition function built in the application program is used. Set the items to be output in this form and the contents of the item definition, set the record file name (table file name) in which the data to be output is expanded, and set the output form on the design screen It is performed by the procedure of doing.
[0004]
When the form set in such a procedure is displayed on the screen, the type of data output for each cell expanded in the form is a calculation calculated from characters, numerical values, and multiple items. There are results. Furthermore, as a conventional form definition function, there is also a function for defining the output form of data to be output in cell units in cell units. By using this definition function, for example, the output color of data in cell units is provided. Can also be specified.
[0005]
[Problems to be solved by the invention]
However, in the cell data output form definition function among the form definition functions built in various application programs such as the conventional spreadsheet and database, the output form of the data to be output in units of cells When using the function defined in units, it is necessary to set the definition contents in cell units. Therefore, it is troublesome to set the definition contents of the output form, and the output form definition function for the cell data is effective. There was a problem that it was difficult to use.
[0006]
In addition, when changing the output form of the desired cell expanded in the form displayed on the screen, it is also troublesome to set the definition contents of the output form. The output form definition function is difficult to use.
[0007]
An object of the present invention is to facilitate the operation of the color output definition function for cell data in the form definition function and to facilitate the use of the color output definition function.
[0008]
[Means for Solving the Problems]
The invention according to claim 1 Define the drawing color such as the background color or data color of the cell in which the definition target item is set according to the contents of the definition target item set for each cell of the form composed of multiple cells. Then, change the background color or data color of the cell where the definition target item is set according to the correspondence between the definition target item content and the drawing color. A form output device for outputting, The name of the definition target item, the evaluation condition corresponding to the name of the definition target item, and the color information corresponding to the evaluation condition are set in association with each other Color dictionary storage means for storing a plurality of color dictionaries; Evaluation target cell information in which cell information whose data value is evaluated according to the evaluation condition is set, color target cell information in which cell information to be colored in association with the evaluation target cell information is set, and the color dictionary Color information storage means for storing color dictionary designation information in which information for designating is set in association with each other; A plurality of dictionary names corresponding to the plurality of color dictionaries are displayed on a display screen, one dictionary name is designated in accordance with a user operation from the displayed plurality of dictionary names, and one of the plurality of color dictionaries is designated. A dictionary specifying means for specifying a color dictionary, and searching for the specified color dictionary; Corresponds to the evaluation target cell information stored in the color information storage means. Search means for acquiring color information corresponding to data set in the cell, and a color based on the color information acquired by the search means; Corresponds to color object cell information stored in the color information storage means. An output unit that draws a cell and outputs the plurality of cells; and a color name that is newly specified in response to a dictionary name being specified by the dictionary specifying unit and another color dictionary being specified A dictionary changing means for changing to a dictionary, and searching for the changed color dictionary by the searching means. Corresponds to the evaluation target cell information stored in the color information storage means. Acquires color information corresponding to the data set in the cell, and uses colors based on the acquired color information. Corresponds to color object cell information stored in the color information storage means. Control means for redrawing the cells by the output means to re-output the plurality of cells.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0019]
1 to 9 are diagrams showing an embodiment of a computer system to which a form output method of the present invention is applied.
[0020]
First, the configuration will be described.
[0021]
FIG. 1 is a block diagram showing a main configuration of a computer system 1 according to the present embodiment.
[0022]
In FIG. 1, a computer system 1 includes a CPU 2, an input unit 3, a RAM 4, a storage medium control unit 5, a storage device 6, a color printing unit 7, and a color display unit 8, and these units are connected by a bus 9. Yes.
[0023]
A CPU (Central Processing Unit) 2 includes a window system program as a GUI stored in the storage device 6, an application program designated from various application programs corresponding to the window system, and various inputs input from the input unit 3. Instructions or data are stored in the work memory 4 a in the RAM 4, various processes are executed in accordance with the application program stored in the RAM 4 in accordance with the input instructions and input data, and the processing results are stored in the work memory 4 a in the RAM 4. At the same time, it is displayed on the color display unit 8. Then, the processing result stored in the work memory 4a is stored in a storage destination in the storage device 6 instructed to be input from the input unit 3.
[0024]
In addition, in the form printing process to be described later as an output process of form data stored in the form data memory 4b in the RAM 4, the CPU 2 uses dictionary designation information that defines color information corresponding to each cell data in the form to be printed. Is obtained from the color information table in the color information memory 4d in the RAM 4, and the color dictionary table is read from the color dictionary memory 4e in the RAM 4 based on the dictionary designation information. Then, the CPU 2 causes the color printing unit 7 to print out the specified cell data in the specified color according to the color information set based on the evaluation condition in the read color dictionary table.
[0025]
The input unit 3 includes a keyboard having cursor keys, numeric input keys, various function keys, and the like, and a mouse that is a pointing device. The input unit 3 outputs a pressing signal of a key pressed by the keyboard to the CPU 2 and uses the mouse. An operation signal is output to CPU2.
[0026]
A RAM (Random Access Memory) 4 stores a work memory 4a for storing a specified application program, input instructions, input data, processing results, and the like, a form data memory 4b for storing form data, and a layout information of the form. A form layout information memory 4c, a color information memory 4d for storing a color information table in which definition information and dictionary designation information for defining color information for each cell data in the form are set, and a dictionary set in the color information table A color dictionary memory 4e for storing various color dictionary tables corresponding to the designation information.
[0027]
The storage medium control unit 5 has a function as a storage medium drive device that drives and controls the storage medium 10 (for example, a floppy disk) shown in the figure, and drives the storage medium 10 according to an instruction from the CPU 2 to write instructions. Is input, the specified data is written to the specified storage area in the storage medium 10, and when a read instruction is input, the specified data is read from the storage medium 10 and stored in the RAM 4 or the storage device 6. Write to the specified storage area.
[0028]
The storage device 6 has a storage medium in which programs, data, and the like are stored in advance, and this storage medium is constituted by a magnetic or optical recording medium or a semiconductor memory. This storage medium is fixedly attached to the storage device 6 or is detachably mounted. The storage medium includes a window system program as the GUI, various application programs corresponding to the window system, and print processing. A program and data processed by each processing program are stored.
[0029]
Further, the program, data, etc. stored in the storage medium may be received and stored from other devices connected via a communication line, etc. In addition, other programs connected via the communication line, etc. A storage device provided with the storage medium may be provided on the device side, and a program and data stored in the storage medium may be used via a communication line.
[0030]
The color printing unit 7 prints out print data (form data etc.) input from the CPU 2 in a designated color.
[0031]
The color display unit 8 is configured by a CRT (Cathode Ray Tube) or the like, and displays display data input from the CPU 2 in a specified color.
[0032]
Next, the operation of the present embodiment will be described.
[0033]
First, an example of the color information table stored in the color information memory 4d in the RAM 4 will be described with reference to FIG.
[0034]
In the color information table of this embodiment, as shown in FIG. 2, dictionary designation information (color dictionary designation information) is set in the color dictionary designation column in the top row, and the cell of interest is set in the cell column. Set the number (evaluation target cell information), set the output color for each cell in the color column, set the item color name of the cell of interest in the item color name column (colorization target cell information), and select the target item In the column, the cell item position to be printed with the specified color is set.
[0035]
In the color information table of FIG. 2, “target target year” is set in the dictionary designation field, and “sales evaluation color”, “monthly meter evaluation color”, and “half-year meter evaluation color” are set in the item color name field. In the cell column and the target item column, the same cell position is set. In this way, when the same cell position is set in the cell column and the target item column, the cell to be evaluated and the color target cell to be output in the specified color can be made the same, and different cell positions can be set. In this case, the cell to be evaluated and the color object cell to be output in the designated color can be set separately.
[0036]
One of a plurality of color dictionary tables stored in the color dictionary memory 4e in the RAM 4 is designated by the dictionary designation information set in the dictionary designation column.
[0037]
Next, an example of the color dictionary table stored in the color dictionary memory 4e will be described with reference to FIGS.
[0038]
In the color dictionary table of the present embodiment, there are various color dictionary tables as shown in FIGS. 3A and 3B and FIGS. 4C to 4E. In these color dictionary tables, the dictionary name is set in the dictionary name column, the item color name of the cell to be colored is set in the item color name column (definition target item name), and the item in the evaluation condition column. A numerical condition (evaluation condition) for determining whether or not it corresponds to a color name is set, and an output gradation color (color information) is set for each numerical condition set in the evaluation condition field in the color field.
[0039]
The color dictionary table shown in FIG. 3A is a color dictionary table having a dictionary name “previous year average standard”, and the item color name column includes “monthly evaluation color”, “sales evaluation color”, and “half-year total evaluation color”. ">" Is set, and ">18,000",">13,000",">11,000",">3,000" are set as numerical conditions corresponding to "monthly evaluation color" in the evaluation condition column Then, “> 2,500”, “> 1,500”, and “> 500” are set as numerical conditions corresponding to “sales evaluation color”, and “> 12 as numerical conditions corresponding to“ half-year total evaluation color ”. , 000 ”is set, and the number of gradations of red (R) is“ 255 ”,“ 200 ”,“ 100 ”,“ 100 ”as an output gradation color corresponding to each numerical condition of“ monthly evaluation color ”. As an output gradation color corresponding to each numerical condition of “sales evaluation color” The gradation number of (B) is set to “255”, “120”, “60”, and the gradation number of green (G) is set to “255” as the output gradation color corresponding to “half-term meter evaluation color”. Is set.
[0040]
The color dictionary table shown in FIG. 3B is a color dictionary table having the dictionary name “current year target standard”, and the item color name column includes “monthly evaluation color”, “sales evaluation color”, and “half-year total evaluation”. “Color” is set, and “> 20,000”, “> 15,000”, “> 10,000”, “> 5,000” are set as numerical conditions corresponding to “monthly evaluation color” in the evaluation condition column. “> 3,000”, “> 2,000”, “> 1,000” are set as numerical conditions corresponding to “sales evaluation color”, and numerical conditions corresponding to “half-year total evaluation color” are set. “> 15,000” is set, and the number of gradations of red (R) is “255”, “200”, “100” as an output gradation color corresponding to each numerical condition of “monthly evaluation color” in the color column. ”,“ 50 ”, and the output floor corresponding to each numerical condition of“ sales evaluation color ” The number of gradations of blue (B) is set to “255”, “120”, “60” as the color, and the number of gradations of green (G) is set as the output gradation color corresponding to “half-term meter evaluation color”. 255 ".
[0041]
The color dictionary table shown in FIG. 4A is a color dictionary table having a dictionary name “sales evaluation by month”, “monthly evaluation color” is set in the item color name column, and “evaluation column” is “ As numerical conditions corresponding to “monthly evaluation color”, “> 20,000”, “> 15,000”, “> 10,000”, “> 5,000” are set, and each numerical condition of “monthly evaluation color” As the output gradation color corresponding to, the number of gradations of red (R) is set to “255”, “200”, “100”, “50”.
[0042]
The color dictionary table shown in FIG. 4B is a color dictionary table having a dictionary name “sales evaluation by product”, “sales evaluation color” is set in the item color name column, and “sales evaluation color” is displayed. As the output gradation color corresponding to each numerical condition, the gradation number of blue (B) is set to “255”, “120”, and “60”.
[0043]
Further, the color dictionary table shown in FIG. 4C is a color dictionary table having a dictionary name “for saving”, and therefore no data is set in the item color name column, the evaluation condition column, and the color column. Accordingly, when the “storage” color dictionary table is selected, a monochrome form without coloring is printed.
[0044]
In addition to these color dictionary tables, it is needless to say that a color dictionary table in which other dictionary names, item color names, evaluation conditions, and color information are set may be provided.
[0045]
In the form printing process described later by the color information table shown in FIG. 2 and the color information definition contents of the color dictionary table shown in FIGS. 3 and 4, the color printing process for the cell data in the designated printing target form Is executed.
[0046]
Next, in order to apply the definition contents shown in the color information table shown in FIG. 2 and the color dictionary table shown in FIGS. 3 and 4 to the form, the operations required in the form design are shown. This will be described with reference to screen display examples at the time of form design shown in FIGS.
[0047]
In the form design display screen of FIG. 5, the layout information of a specified form is read from the form layout information memory 4 c in the RAM 4 and displayed on the color display unit 8, for each specified cell area on the form. The state in the case of setting operation of the definition contents of each color information is shown. Then, on the form design display screen of FIG. 5, the layout of the designated form is displayed in the form display frame indicated by columns A to J and lines 1 to 9 in the figure. Each operation item of “File, Edit, Cell Background Color, Color Dictionary” is displayed.
[0048]
As an operation procedure related to the definition of color information, when the “cell background color” of the operation item is instructed, its pull-down menu is displayed as shown in the figure. When the “color dictionary” is instructed, the pull-down menu is displayed as shown in the figure, and the color dictionary is designated in this menu.
[0049]
Next, in the form cell regions B2 to I9, a cell region for which color information is to be defined and an item color are specified. For example, when a cell area designation operation is performed for the monthly meter area of the cells C9 to H9 indicated by the arrow (1) in the figure, a submenu screen indicated by (1) in FIG. 6 is displayed, and the designated cell area is displayed. “C9; H9” is set as the cell item, and “monthly meter evaluation color” designated in the list of item color names displayed in this submenu screen is identified and displayed by shading.
[0050]
Also, for example, when a cell area designation operation is performed for the semi-annual area of cells I3 to I8 indicated by arrow (2) in the figure, a submenu screen indicated by (2) in FIG. 6 is displayed and designated. “I3; I8” is set as the cell item in the cell area, and “half-term total evaluation color” designated in the list of item color names displayed in this submenu screen is identified and displayed by shading.
[0051]
Also, for example, when the cell area designation operation is performed for the sales evaluation areas of the cells C3 to H8 indicated by the arrow (3) in the figure, the submenu screen indicated by (3) in FIG. 6 is displayed and designated. “C3; H8” is set as a cell item in the cell area, and “sales evaluation color” designated in the list of item color names displayed in this submenu screen is identified and displayed by shading.
[0052]
When the color information definition is set by the above operation procedure, a color information table corresponding to the color dictionary designation as shown in FIG. 2 is set and stored in the color information memory 4d in the RAM 4.
[0053]
Next, the form printing process executed by the CPU 2 will be described based on the flowchart shown in FIG.
[0054]
First, in the screen configuration as shown in FIG. 5, when the operation item “print” is instructed and a form to be printed is designated, the dictionary designation information set for color printing the form data is The color dictionary information set in the color dictionary specification column of the color information table set in the color information memory 4d in the RAM 4 is acquired (step S1), and the specified color dictionary table is stored in the color dictionary memory in the RAM 4. 4e is read and expanded in the work memory 4a (step S2).
[0055]
Next, the layout information of the designated print target form is read from the form layout information memory 4b, the drawing process of the first cell in the form data is performed according to the layout information, and is expanded in the work memory 4a in the RAM 4 (step S3). The color dictionary table read in step S2 is searched (step S4), the color evaluation information corresponding to the drawn cell item is acquired (step S5), and the specified cell is designated as the specified color based on this color evaluation information. The drawing process is performed (step S6).
[0056]
That is, the item color name set in the item color name column corresponding to the designated cell position in the color information table shown in FIG. 2, and the color dictionary table shown in FIG. 3 or 4 corresponding to the item color name. Based on the evaluation condition of the same item color name set in the item color name field, the numerical data set at the specified cell position determines the corresponding evaluation condition, and the color corresponding to this evaluation condition The designated color is drawn in the designated cell according to the color and gradation data set in the column.
[0057]
Next, drawing processing of the cell data (numerical data) set in the designated cell to the designated cell is performed (step S7), and it is determined whether or not drawing processing of all the cells is completed (step S8). If the drawing process for all the cells has not been completed, the process returns to step S3 to perform the drawing process for the next cell. Thereafter, the dictionary information search process, the color information search process, and the color drawing process in steps S4 through S7 And the cell data drawing process is repeatedly executed to perform the drawing process for all the cells. If the drawing process for all the cells has been completed, the form composed of the cells for which the drawing process has been completed is displayed in color on the color display unit 8 (step S9).
[0058]
An example of a color display on the color display unit 8 of a form composed of cells for which the drawing process has been completed is shown as a form preview screen in FIG.
[0059]
The form shown in the form preview screen of FIG. 8 relates to “sales results”, and “April sales results (C3 to C8)” and “May sales results (D3 to D8) among the cell configurations in this form. "," June sales results (E3 to E8) "cell areas are displayed in accordance with the evaluation condition of the item color name" monthly evaluation color "in the" current year target standard "color dictionary table of FIG. An example in which the sales cell area is displayed in color is shown.
[0060]
For example, each numerical data “1,565, 1,474, 1,313, 1,254, 1,126, 1,045” of the cell positions C3 to C6 corresponds to the evaluation condition “> 3,000”. Each of the cells is colored and displayed with the designated color “R (red) and gradation 50”, and the numerical data “3,343, 3,252, 3,135, 3,032,3, at the cell positions E3 to E8. Since 548, 3,376 "corresponds to the evaluation condition"> 11,000 ", each cell is colored and displayed with the designated color" R (red) and gradation 100 ".
[0061]
The sub-window drawing in FIG. 8 is displayed when the “color dictionary” operation item in the upper row of the form display frame is operated, and continues to the following item operation processing.
[0062]
That is, while the form of FIG. 8 is displayed in color on the color display unit 8, the user waits for an instruction operation by the mouse of the input unit 3 (step S10), that is, in the upper line of the form display frame shown in FIG. The operation of each operation item of “file, previous page, next page, printing, color dictionary change” displayed is awaited. Then, it is determined whether this item operation content is “print” or “color dictionary change” (step S11).
[0063]
If the item operation content is “print”, the form data displayed in FIG. 8 is printed in color on a predetermined printing paper by the color printing unit 8 (step S12), and this process is terminated. If “change color dictionary” is selected, a color dictionary subwindow shown in FIG. 8 is displayed, and the user is prompted to specify a color dictionary name in the color dictionary subwindow (step S13). In the color dictionary sub-window shown in FIG. 8, the “current year target standard” being used is designated. FIG. 9 shows a state in which another dictionary name is designated by a mouse operation.
[0064]
In the color dictionary sub-window shown in FIG. 9, a color dictionary name “sales evaluation by month” is designated by the mouse operation. Next, in order to read out the color dictionary table corresponding to the designated color dictionary name “sales evaluation by month” from the color dictionary memory 4d in the RAM 4, the process returns to the above-described step S2. Then, after reading the color dictionary table of “Evaluation by Month”, in step S 3, the drawing process is performed again from the first cell of the form. The process, the color drawing process, and the cell data drawing process are repeatedly executed to redraw all the cells.
[0065]
As a result, according to the color designation based on the evaluation condition of the item color name set in the color dictionary table called “sales evaluation by month”, which is designated to be changed, in the monthly sales cell area in the form in FIG. As described with reference to FIG. 8, each cell is again displayed in the color display unit 8 with the designated color.
[0066]
Then, operate “print” of the operation items “file, previous page, next page, print, color dictionary change” displayed in the upper row of the form display frame of FIG. 9 displayed in color again with the mouse. As a result, the form data displayed in FIG. 9 is printed out in color on a predetermined printing sheet by the color printing unit 7. Further, by operating the “change color dictionary” again and specifying the color dictionary name, the coloring state of the cells in the form can be changed.
[0067]
As described above, in the computer system 1 of the present embodiment, the color information table in which the definition information for defining the color information for each cell data in the form and the dictionary designation information are set in the RAM 4 as the definition file for the form. And a color dictionary memory 4e for storing various color dictionary tables corresponding to the dictionary designation information set in the color information table. The color information table includes a cell position to be evaluated. And the item color name and the cell position to be colored can be arbitrarily set, and the color dictionary table includes an evaluation condition for each item color name and color information (color and gradation) based on the evaluation condition. Number) is set in advance, so there is no need to set a color information table and a color dictionary table for each form. It is possible to reduce the.
[0068]
Further, in the form printing process, according to the color information table and the color dictionary table, the cell in which the coloring target item is set in the printing target form or the cell area of the coloring target cell area is displayed in color and is printed in color. In addition, the color dictionary table can be changed, and the coloration target item and the color of the coloration target cell area in the print target form can be changed. Therefore, the evaluation condition for each cell and cell area when printing the form Color identification output based on can be easily performed.
[0069]
As a result, in the data analysis method using form data, it is easy to output the analysis results by color, and the data output function can be improved by applying it to an application program having a form data creation function. Can be planned.
[0070]
In the form printing process of the above embodiment, the case where the cell background color of the coloration target cell is changed according to the corresponding evaluation condition of the data value of the evaluation target cell has been described. May be changed.
[0071]
In the color information table of the above embodiment, each setting item can be arbitrarily set. However, each setting item in the color dictionary table may be arbitrarily set. In this case, the evaluation condition of the evaluation target cell Can be set arbitrarily, and the color output form of the form to be displayed in color or printed in color can be easily diversified, and the color analysis of the cell data can be performed in more detail.
[0072]
【The invention's effect】
According to the first aspect of the present invention, when outputting a plurality of cells in which data is set, another color dictionary is specified simply by specifying one dictionary name from the plurality of displayed dictionary names, It is changed to the newly specified color dictionary, the evaluation condition for evaluating the evaluation target cell is changed to another evaluation condition, the evaluation target cell is re-evaluated based on the changed another evaluation condition, and the re-evaluation result is displayed. Since the cell to be colored can be output with the corresponding color, the user operation to change the evaluation condition is simplified, for example, the evaluation target cell in which the same data is set is analyzed and evaluated according to various evaluation criteria, The evaluation result can be easily confirmed by the drawing color of the cell to be colored.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a main configuration of a computer system according to an embodiment to which a form output method of the present invention is applied.
2 is a view showing an example of color information stored in a color information memory in the RAM of FIG. 1;
FIG. 3 is a view showing an example of a color dictionary stored in a color dictionary memory in the RAM of FIG. 1;
4 is a diagram showing an example of a color dictionary stored in a color dictionary memory in the RAM of FIG.
FIG. 5 is a diagram showing a screen display example when setting each color information definition content in FIGS. 2 to 3 when designing a form.
6 is a view showing a display example of a subwindow displayed when setting the definition contents of color information for each designated cell area in the screen display of the form design in FIG. 5;
7 is a flowchart of a form printing process executed by the CPU of FIG.
8 is a diagram showing an example of a screen on which form data to be printed is displayed in color as a form preview screen in the form printing process of FIG. 7;
9 is a diagram showing an example of a screen on which a color dictionary name is changed on the form preview screen of FIG. 8 and the form data to be printed is displayed in different colors. FIG.
[Explanation of symbols]
1 Computer system
2 CPU
3 Input section
4 RAM
4a Work memory
4b Form data memory
4c Form layout information memory
4d color information memory
4e Color dictionary memory
5 Storage media controller
6 Storage device
7 Color printing part
8 Color display
9 Bus
10 storage media

Claims (1)

複数セルから構成される帳票の該セル毎に設定される定義対象項目の内容により、その定義対象項目が設定されるセルの背景色あるいはデータ色等の描画色を予め決められた評価条件により定義し、該定義対象項目内容と描画色との対応関係により定義対象項目が設定されるセルの背景色あるいはデータ色を変更して出力する帳票出力装置であって、
前記定義対象項目の名称と、該定義対象項目の名称に対応する評価条件と、該評価条件に対応する色情報とを対応付けて設定したカラー辞書を複数記憶するカラー辞書記憶手段と、
前記評価条件によりデータ値が評価されるセル情報を設定した評価対象セル情報と、この評価対象セル情報に対応付けられてカラー化されるセル情報を設定したカラー化対象セル情報と、前記カラー辞書を指定する情報を設定したカラー辞書指定情報とを対応付けて記憶するカラー情報記憶手段と、
前記複数のカラー辞書に対応する複数の辞書名称を表示画面に表示し、表示された複数の辞書名称からユーザ操作に応じて1つの辞書名称を指定し、前記複数のカラー辞書の中から1つのカラー辞書を指定する辞書指定手段と、
前記指定されたカラー辞書を検索し、前記カラー情報記憶手段に記憶された評価対象セル情報に対応するセルに設定されたデータに対応する色情報を取得する検索手段と、
前記検索手段により取得された色情報に基づく色で前記カラー情報記憶手段に記憶されたカラー化対象セル情報に対応するセルを描画して前記複数のセルを出力する出力手段と、
前記辞書指定手段により辞書名称が指定されて他のカラー辞書が指定されたことに応じて、前記カラー辞書を新たに指定されたカラー辞書に変更する辞書変更手段と、
前記変更されたカラー辞書を前記検索手段により検索して前記カラー情報記憶手段に記憶された評価対象セル情報に対応するセルに設定されたデータに対応する色情報を取得し、取得した色情報に基づく色で前記カラー情報記憶手段に記憶されたカラー化対象セル情報に対応するセルを前記出力手段により再描画して前記複数のセルを再出力させる制御手段と、
を具備したことを特徴とする帳票出力装置。
Define the drawing color such as the background color or data color of the cell in which the definition target item is set according to the contents of the definition target item set for each cell of the form composed of multiple cells. A form output device for changing and outputting the background color or data color of the cell in which the definition target item is set according to the correspondence between the definition target item content and the drawing color ,
A color dictionary storage means for storing a plurality of color dictionaries in which a name of the definition target item, an evaluation condition corresponding to the name of the definition target item, and color information corresponding to the evaluation condition are set in association with each other ;
Evaluation target cell information in which cell information whose data value is evaluated according to the evaluation condition is set, color target cell information in which cell information to be colored in association with the evaluation target cell information is set, and the color dictionary Color information storage means for storing color dictionary designation information in which information for designating is set in association with each other;
A plurality of dictionary names corresponding to the plurality of color dictionaries are displayed on a display screen, one dictionary name is designated according to a user operation from the displayed plurality of dictionary names, and one of the plurality of color dictionaries is designated. A dictionary specifying means for specifying a color dictionary;
Search means for searching the designated color dictionary and obtaining color information corresponding to data set in a cell corresponding to evaluation target cell information stored in the color information storage means ;
An output means for drawing a cell corresponding to the color object cell information stored in the color information storage means with a color based on the color information acquired by the search means and outputting the plurality of cells;
A dictionary changing means for changing the color dictionary to a newly specified color dictionary in response to a dictionary name being specified by the dictionary specifying means and another color dictionary being specified;
The color information corresponding to the data set in the cell corresponding to the evaluation target cell information stored in the color information storage means by searching the changed color dictionary by the search means is acquired, and the acquired color information Control means for re-drawing the plurality of cells by redrawing a cell corresponding to the coloration target cell information stored in the color information storage means with a color based on the output means;
A form output device characterized by comprising:
JP11090396A 1996-05-01 1996-05-01 Form output device Expired - Lifetime JP4075999B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP11090396A JP4075999B2 (en) 1996-05-01 1996-05-01 Form output device
MYPI97001888A MY123789A (en) 1996-05-01 1997-04-30 Document output apparatus
TW086105740A TW343317B (en) 1996-05-01 1997-04-30 Document output apparatus
PCT/JP1997/001495 WO1997041523A1 (en) 1996-05-01 1997-05-01 Document output apparatus
EP97918347A EP0838064B1 (en) 1996-05-01 1997-05-01 Document output apparatus
CN97190431A CN1127697C (en) 1996-05-01 1997-05-01 Document output appts.
DE69723526T DE69723526T2 (en) 1996-05-01 1997-05-01 DOCUMENT OUTPUT DEVICE
US08/981,443 US6349315B1 (en) 1996-05-01 1997-05-01 Document output apparatus
KR1019970709992A KR100318285B1 (en) 1996-05-01 1997-05-01 Document output device
HK99100462A HK1015484A1 (en) 1996-05-01 1999-02-03 Document output apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11090396A JP4075999B2 (en) 1996-05-01 1996-05-01 Form output device

Publications (2)

Publication Number Publication Date
JPH09297674A JPH09297674A (en) 1997-11-18
JP4075999B2 true JP4075999B2 (en) 2008-04-16

Family

ID=14547597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11090396A Expired - Lifetime JP4075999B2 (en) 1996-05-01 1996-05-01 Form output device

Country Status (1)

Country Link
JP (1) JP4075999B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7933862B2 (en) * 2004-09-27 2011-04-26 Microsoft Corporation One click conditional formatting method and system for software programs
JP2013250615A (en) * 2012-05-30 2013-12-12 Digi Japan Inc Display control system

Also Published As

Publication number Publication date
JPH09297674A (en) 1997-11-18

Similar Documents

Publication Publication Date Title
EP0838064B1 (en) Document output apparatus
US5572650A (en) Method and apparatus for displaying structures and relationships of a relational database
US20050195436A1 (en) Print data editing apparatus and print data editing program
JPH0969107A (en) Method for retrieving and extracting record and record extracting device
JPH0689324A (en) Tool kit and method for establishing form
JP4075999B2 (en) Form output device
JP3189182B2 (en) Information processing device
US6298359B1 (en) Document output device
JP3986102B2 (en) Form printing device
JPH1031572A (en) Character color setting method
US5381555A (en) Method for designation of data in a data bank and extraction of data for use in a computer program
JPH10198741A (en) Table data processor and its program recording medium
US5539904A (en) Method for designation of data in a data bank and extraction
JPH07182214A (en) Method for displaying list of file and data processor
JP3910680B2 (en) Material allocation device prepared as digital data
JPH09305371A (en) Numeral output method
JP3407537B2 (en) Report output method
JPH09198375A (en) Mathematical expression/chemical formula inputting and editing system
JP2969920B2 (en) Document processing device
JPH09305681A (en) Slip output method
JPH10307817A (en) Character string transforming device
JPH06266487A (en) Information processor and help information presenting method
JP2000020519A (en) Document editing device and recording medium
JPH0635656A (en) Plotting attribute registering method
JPH08272874A (en) Form designing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050222

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050420

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050517

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071207

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080123

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 6

EXPY Cancellation because of completion of term