Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3679640B2 - Image display apparatus and method, and storage medium storing computer-readable program - Google Patents
[go: Go Back, main page]

JP3679640B2 - Image display apparatus and method, and storage medium storing computer-readable program - Google Patents

Image display apparatus and method, and storage medium storing computer-readable program Download PDF

Info

Publication number
JP3679640B2
JP3679640B2 JP02294899A JP2294899A JP3679640B2 JP 3679640 B2 JP3679640 B2 JP 3679640B2 JP 02294899 A JP02294899 A JP 02294899A JP 2294899 A JP2294899 A JP 2294899A JP 3679640 B2 JP3679640 B2 JP 3679640B2
Authority
JP
Japan
Prior art keywords
display
page
component
tree
image
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
JP02294899A
Other languages
Japanese (ja)
Other versions
JP2000222402A (en
Inventor
敬一 高島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP02294899A priority Critical patent/JP3679640B2/en
Publication of JP2000222402A publication Critical patent/JP2000222402A/en
Application granted granted Critical
Publication of JP3679640B2 publication Critical patent/JP3679640B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えばベクター図形や文字、ドットイメージ等を含むレイヤからなる画像を編集する画像表示装置及び方法及びコンピュータ読取り可能なプログラムが格納された記憶媒体に関する。
【0002】
【従来の技術】
従来、ドローイングツールなど、画像を編集するためのソフトウェアにおいて、複数の部品画像を重ね合わせるなどしてまとめ、ひとまとまりの画像を形成する機能を有するものがある。この種のソフトウェアでは、画像の構成、すなわち部品画像のまとめ方の編集と、各部品画像の編集とは別々の画面を開いて行なわなければならなかった。
【0003】
【発明が解決しようとする課題】
このような方式では、各部品画像の編集は、一時にひとつしか表示させることができなかった。このため、ひとつひとつの部品画像を編集する際に、他の部品画像との関連や、画像全体との関連がわかりにくいという問題点があった。
【0004】
本発明は上記従来例に鑑みてなされたもので、画像全体を把握しやすいようにして部品画像を表示でき、またあるいは表示した部品画像を編集できる画像表示装置及び方法を提供することを目的とする。
【0005】
【課題を解決するための手段】
上記目的を達成するために、本発明の画像表示装置は次のような構成からなる。すなわち、画像の構造及び画像を構成する部品画像をすべて表示し、特に、選択されている部品画像を他の部品画像と識別可能に表示する。
【0006】
あるいは、本発明は次のような構成からなる。すなわち、複数の部品フォームをまとめて構成される複合フォームの編集を行う情報処理装置における画像表示方法であって、前記複数の部品フォームのそれぞれのファイルに対するフルパスおよびページ構成を記述した複合フォームを格納するフォームデータ格納手段から複合フォームを読み出し、複合フォームのページ構造を反映したツリーをツリー表示欄に表示するツリー表示工程と、前記ツリー表示工程で表示されるツリー表示欄に対する利用者により入力された操作が、部品フォームの表示の指示であるか判定する判定工程と、前記判定工程により部品フォームの表示の指示であると判定された場合に、指示された部品フォームを含むページにおいて、該ページ内の部品フォームを入手する入手工程と、前記入手工程で入手された当該ページ内の部品フォームの部品画像表示する第1の表示工程と、前記判定工程により判定された部品フォームを編集可能状態とし、利用者により入力される編集操作に応じた編集処理を施す編集工程とを備える。
【0007】
また好ましくは、前記第1の表示工程は、前記判定工程により判定された部品フォームを、選択されていない部品フォームと識別可能に表示する
【0013】
【発明の実施の形態】
以下、本発明を、印字データにオーバーレイされる画像であるフォームデータを編集するフォームエディタを実施例として説明する。
【0014】
[第1の実施の形態]
図1は、本実施例におけるフォーム作成機能を有するコンピュータのブロック図である。本フォーム作成機能は、基本入出力(I/O)プログラム、オペレーティングシステム(OS)、およびフォーム作成プログラムをCPU10が実行することにより動作する。基本I/OプログラムはROM11に書き込まれており、OSはハードディスク(HD)15に書き込まれている。そして本コンピュータの電源が投入されたときに、基本I/Oプログラム中のIPL(イニシヤルプログラムローディング)機能によりHD15からOSがRAM12に読み込まれ、OSの動作が開始される。フォーム作成プログラムの手順については後述する。フォーム作成プログラムおよび関連データはFD14中に記録されており、その記録されている内容の構成を図2に示す。
【0015】
FD14に記録されたフォーム編集プログラム及び関連データは、FDドライブ13を通じて本コンピュータシステムにロードすることができる。このFD14をFDドライブ13にセットすると、OSおよび基本I/Oプログラムの制御のもとにフォーム作成プログラムおよび関連データがFD14から読み出され、RAM12にロードされて動作可能となる。図16は、記憶媒体中のレイヤフォーム編集プログラムの構成を示す。
【0016】
図2は、フォーム編集プログラムがRAM12にロードされ実行可能となった状態のメモリマップを示す。
【0017】
本実施例では、FD14からフォーム編集プログラム及び関連データを直接RAM12にロードして実行させる例を示したが、この他にFD14からフォーム編集プログラム及び関連データをいったんHD15に格納(インストール)しておき、本フォーム編集プログラムを動作させる段にHD15からRAM12にロードするようにしても良い。また本フォーム編集プログラムを記録する媒体は、FD以外にCD−ROM、ICメモリカードなどであってもよい。
【0018】
フォーム編集プログラムによって作成されたフォームデータはHD15に格納され、オーバーレイ印刷を実現する他のアプリケーションプログラムにより、印字データと重ね合わされて、プリンタ18から出力される。
【0019】
<フォームオーバーレイ処理の概要>
本発明に係るフォーム編集機能について説明する前に、フォームオーバレイ処理全体についてそのあらましを述べる。図3は、フォーム作成プログラムを含む、オーバーレイ印刷全体についての処理の流れを示している。フォーム編集プログラム(以後フォームエディタと呼ぶこともある)311により作成されたフォームあるいは複合フォームは、HD15などに用意されたフォームデータ格納部312に格納される。フォームは、オーバーレイされる画像データで、図形や文字、あるいはドットイメージを含む。また複合フォームは、ページを単位として構成されるフォームで、各ページは部品となるフォームを重ね合わせて構成される。また、ページには両面や複写といった特殊なページも定義できる。各フォーム(複合フォームを含む)は、フォームそのものを表すフォームデータ312aと、フォームと合成される印字データについて、その位置や文字種等を表したフィールド属性データ312bとを含む。なお、これ以降、複合フォームデータをFCXデータ、複合されておらず、最小の単位となるフォームデータをFCPデータと呼ぶことがある。また、以下ではFCXデータを単に画像データ、FCPデータを部品画像データと呼ぶこともある。
【0020】
これらフォームデータは、所定のランタイムライブラリ315によってプリンタ32が解釈可能な形式のフォームプリントデータ316aに変換されて、HD15内に確保されたプリンタデータ格納部316に格納される。
【0021】
一方、フォームオーバーレイ印刷される印字データは、適当な業務ファイル313により生成され、テキストデータ格納部314に格納される。このデータはオーバーレイされる各フィールドを区分できる形式であればよく、例えばCSV形式と呼ばれる、一般的に利用されている形式を用いることができる。この印字データも、ランタイムライブラリ315によってプリンタ32が解釈できる形式の印字プリントデータ316bに変換され、プリントデータ格納部316に格納される。
【0022】
このようにして作成されたフォームプリントデータ及び印字プリントデータは、オペレーティングシステム317及びプリンタドライバ318によってプリンタ21に出力され、そこで合成されて印刷される。
【0023】
図4は、フォームデータ及び印字データそれぞれの例と、プリンタ32に渡される印刷コマンドのシーケンスの例を示す。図4(c)は、コマンドシーケンスの例である。まず、印刷ジョブを開始するためのコマンド列に続いてフォームデータの登録開始コマンド411があり、それに、図4(a)に示したようなフォームデータ412が続く。この例ではフォームは1ページだが、複合フォームでもよい。その後、フォームデータの登録終了コマンド413があり、それからオーバーレイ印刷開始コマンド414とオーバーレイ印刷終了コマンド417とに挟まれた印字データ415,416が続く。印字データの例を図4(b)に示す。図4(c)の例では、印字プリントデータは2ページ分あるため、フォームプリントデータも2ページ分の複合フォームである。
【0024】
このようなコマンドシーケンスがプリンタ32に送られると、プリンタでは、フォームプリントデータをいったんフォームキャッシュ321に格納し、印字データとフォームデータをそれぞれラスタライズしてページバッファ323上で合成する。このデータがプリントエンジン324から印刷出力されて、目的の印刷物が得られる。
【0025】
<フォームエディタの機能>
以上がフォームオーバーレイ印刷のあらましであるが、ここで図面を参照しながら、本実施形態のフォーム作成プログラム(フォームエディタ)について説明する。
【0026】
図5は、フォームエディタ起動後、フォームの新規作成を利用者が指定した場合の表示画面の例である。ウインドウ501の内部には、その上部にメニュー行が表示され、その下に新規作成するオブジェクトが何であるかを選択するウインドウ502が表示される。ここでは、フィールドデータ、フォーム、複合データの3種が選択できる。フィールドデータ欄403が選択されると、それ以降は、図3のフィールド属性ファイル312bを編集する手順に入る。フォーム欄404が選択されると、1ページの部品フォームデータを編集する手順に入る。部品フォームデータは、それ単独でも1ページ分のフォームデータとなり得る。
【0027】
複合フォーム欄405が指定されると、図6に示す複合フォームデータ編集画面に移る。複合フォームデータ編集画面では、編集対象となっている複合フォームデータの構造がツリー表示欄602に表示される。この画面上では、ポインティングデバイスを用いて、画面上の指定したオブジェクトを移動したり、消去したり、あるいは挿入したり、といった操作を行うことや、キーボードから、オブジェクトの名称を変更するなどといった操作ができる。すでにある複合フォームを編集する場合には、その複合フォームデータファイルの名を指定してフォームエディタを呼び出せばよい。それによりフォームデータ格納部312から複合フォームデータが読み出され、その構造を反映したツリーが表示される。また、複合フォーム表示欄(あるいはプレビュー欄)601には、複合フォーム中において、選択されているページの画像が表示される。この詳細については後述する。
【0028】
図7に、表示されるツリー(ツリービュー)の例を示す。各ツリーのルートは複合フォーム全体を表し、その下ノード802は、複合フォームを構成するページをあらわしている。ページは印刷される1ページを表しており、そのページ自体の構成により幾つか種類がある。例えば、単純に部品フォームを含むページ802a,802b,802cは、その下にある部品フォームを上から順番に重ねた複合フォームである。例えば、ページ802aは、部品01の上に部品02を重ねて構成される。このほか、その下にあるページが両面印刷されることを示す両面ノード802cがある。また、図示していないが、指定された枚数だけ繰返して出力されることを示す複写ノードなどもある。両面ページの場合、その下に更にページがあり、ツリービューの表示で配下に存在するページは、上位のページが表面、下位のページが裏面を意味する。
【0029】
また、各ページをサブツリーとしてつなぎ合わせているノード809は、「−」はそのサブツリーが表示されていることを表し、「+」がそのサブツリーが表示されていないことを表す。なお、以下ではオブジェクトを示すノードをアイテムと呼ぶこともある。また、各ノードはアイコンと呼ばれる画像オブジェクトとして表示され、アイコンを結ぶ線はその線の右側のノードが左側のノードに従属していることを表している。
【0030】
印刷はページ単位で行われ、各ページとも最低1つの部品フォームから構成されている。部品フォームが複数個存在するページの場合には、それぞれの部品フォームを重ねあわせたものが1ページとして印刷される。ツリービューでページ配下にある部品フォームの順序は、部品フォームを重ねた場合の重ねの順序をあらわし、ツリービューの表示で最上にあるものから順番に重ねられる。すなわちページを表示した場合には、ツリービューの最下にある部品フォームが最上になる。
【0031】
図8(a)は、複合フォームを表す複合フォームデータファイルの一例の構造を表す。図8では、複合フォームデータ「Test.fcx」は、「c:¥Program Files¥Fcpro¥FORMWORK」なるディレクトリに保存されている。その内容は、ページ数フィールド101が3であり、全部で3印刷ページを含むことが示される。ページ名102は、定義された印刷ページの名称であり「Nenkin01」である。繰返し回数は、そのページを繰り返す回数を表す。ページ種別フィールド104は標準ページとなっており、両面や複写などではない、通常のページであることを示している。ファイル名フィールドはフルパスで表示されており、その最後にファイル名「Nenkin01.fcp」が書き込まれている。すなわち、この印刷ページは、部品フォームとして「Nenkin01.fcp」だけを含むことがわかる。
【0032】
次の印刷ページNenkin02は、3つの部品フォーム「Nenkin02.fcp」「Nenkin03.fcp」「Nenkin04.fcp」を含む。
【0033】
図8(a)の複合フォームデータをツリーで表現した図が図8(b)である。ツリービューは、複合フォームデータの内容を正確に表現しており、その構造を直感的に理解しやすい形式で表現している。
【0034】
<複合フォームの編集>
次に、本実施形態におけるフォーム編集プログラムの処理手順の一部を、図9〜図15に示す。図9の手順は、編集プログラムを起動し、複合フォームが読み出された時点で操作者が何らかの入力を行った際に実行される手順である。
【0035】
まず、操作者により入力された操作が、部品フォームの選択であるか判定する(ステップS901)。部品フォームの選択は、例えば図7のツリービュー上で、操作者が所望の部品フォームアイコンをキーボード16や図示省略したポインティングデバイスにより選択することで実行される。部品フォームの選択であると判定された場合は、その部品フォームの選択ステータスをセットする(ステップS902)。部品フォームの選択でないと判定された場合には、部品フォームにおける表示の指示か判定する(ステップS903)。部品フォームにおける表示の指示は、部品フォームアイコンあるいはページアイコンをツリービュー上で選択し、表示のコマンドを入力するか、あるいはメニューから表示を選択することにより行われる。
【0036】
表示の指示であれば、選択されているフォーム、すなわち選択ステータスがセットされた部品フォームがあるか判定する(ステップS904)。あれば、選択された部品フォームデータの編集ステータスをセットして(ステップS905)、その部品フォームの属するページを表示する(ステップS906)。このとき、選択可能状態にある部品フォーム以外の部品フォームは、グレー表示され、編集可能状態にないことを操作者に対して識別可能に表示することになる。また、部品フォームでないと判定された場合には、そのまま部品フォームの属するページをプレビュー画面600に表示する。
【0037】
一方、入力が表示指示でなければ編集操作であるか判定し(ステップS907)、編集操作であれば編集ステータスがセットされた部品フォームデータや複合フォームデータについて、入力に応じた編集処理を施す(ステップS908)。この際、入力が所定の編集操作のシーケンスに即しているかなどのチェックが行われる。いずれの入力でもなければ、その入力に応じた処理を実行する(ステップS909)。
【0038】
図10に、ステップS906におけるページの表示処理の手順を示す。
【0039】
まず、選択されているページあるいは選択されている部品フォームを含むページにおいて、最初の部品フォームの入手を試みて(ステップS201)、部品フォームが存在するか判定し(ステップS202)、存在すればその部品フォームの画像を表示する(ステップS203)。そして、次の部品フォームを入手して(ステップS204)、ステップS202に戻り、部品フォームがなくなるまでページの表示処理を行う。ここで、部品フォームの順序は、図8(a)に示したように、ページに含まれる部品フォームファイルの並んだ順序でよい。
【0040】
図11にステップS203の部品フォーム表示処理を示す。まず、表示する部品フォームのステイタスを変数LSにセットする(ステップS301)。部品フォームのステイタスには編集ステータスと表示ステータスがあり、それぞれONまたはOFFの値をとる。
【0041】
次に、LSが表示ONかどうか判定し(ステップS202)、表示OFFならば処理を抜ける。表示ONならば、そのレイヤに属する最初の図形を入手し(ステップS303)、図形があるかどうか判定し(ステップS304)、図形がなければ処理を抜ける。図形があればその図形の表示を行う(ステップS30S)。図形表示処理が終われば、同じ部品フォームに属する次の図形を入手し(ステップS306)、ステップS304に戻り、同じ部品フォームに属する図形がなくなるまで図形表示処理を行う。
【0042】
図12はステップS305の図形表示処理を示す。まず、図形の種別を判定し(ステップS401)、ベクター図形ならベクター図形表示処理を行い(ステップS402)、文字なら文字表示処理を行い(ステップS403)、イメージならイメージ表示処理を行い(ステップS404)、処理を抜ける。
【0043】
図13はステップS402のベクター図形表示処理である。まず、線色と面色を入手してそれぞれ変数LC、FCにセットし(ステップS501)、部品フォームのステイタスLSが編集ONかどうか判定し(ステップS502)、編集ステータスがOFFならば、LC、FCそれぞれの明るさを一定値大きくする(ステップS503)。色の明るさの値を大きくすると、同じ色合いのまま薄くすることができる。次に、LC、FCを用いてベクター図形の描画を行う(ステップS504)。
【0044】
このようにすると、表示ステータスOFFの部品フォームに属するベクター図形は表示されず、表示ステータスONかつ編集ステータスONの部品フォームに属するベクター図形は通常の表示がされ、表示ステータスONかつ編集ステータスOFFの部品フォームに属するベクター図形は通常よりも薄い色で表示がされる。
【0045】
同様に、図14に示したステップS403の文字表示処理では、まず、文字色を入手して変数CCにセットし(ステップS601)、部品フォームのステイタスLSが編集ステータスONかどうか判定し(ステップS602)、編集ステータスOFFならば、CCの明るさを一定の値を大きくする(ステップS603)。次に、CCを用いて文字の描画を行う(ステップS604)。
【0046】
同様に、図15に示したステップS404のイメージ表示処理は、まず、最初のピクセルを入手し(ステップS701)、ピクセルがあるかどうか判定し(ステップS702)、ピクセルがなければ処理を抜ける。ピクセルがあれば、LSが編集ステータスONかどうか判定し(ステップS703)、編集ステータスOFFならば、ピクセルの明るさを一定の値を大きくする(ステップS704)。次に、ピクセルのドットを描画し(ステップS70S)、次のピクセルを入手し(ステップS706)、ステップS702に戻り、ピクセルがなくなるまでピクセル描画処理を行う。
【0047】
以上のようにして、ページあるいは部品フォームを選択して表示させると、部品フォームが選択されている場合には、その部品フォームを編集対象であるとして通常の色で表示して、選択された部品フォームと同じページに含まれる選択されていない部品フォームを薄く表示することができる。また、部品フォームが選択されていなければ、指定されたページに含まれる部品フォームをすべて通常通りに表示することができる。
【0048】
図20は、部品フォームが選択されている場合の表示例の図である。この場合、部品1は上部に丸型図形を持ち、部品2は中程に矩形を持ち、部品3は下部に三角形を持つ。ツリービューにおいて、部品2021が選択されると、その部品フォームが画像表示領域201において、画像2011のように通常通り表示され、その他は画像2010,2012のように薄く表示される。このようにして、部品フォームを編集する際には、編集対象の部品フォームのみならず選択されたページに含まれる部品フォームすべてを合成して表示する。さらに、選択された部品フォームを識別可能に表示するために、ツリービューにページの構成を表示し、合成されたページを表示することができる。また、このような表示を行いつつ、選択した部品フォームを識別できるために、合成されたページの画像上で部品フォームを編集することも可能となる。
【0049】
また、図20のように部品フォームを表示している際に、ツリービュー202において他の部品フォームのアイコンを選択することで、新たに選択された部品フォームを編集対象とし、選択されていない部品フォームを編集対象としないように、画像表示欄201内に再表示することもできる。このためには、図9のステップS901とS902との間において、選択された部品フォームが現在表示されているか判定し、表示されていれば、その部品フォームの選択ステータスをセットした後、ステップS904に分岐する。表示されていなければ、図9のステップS902に分岐する。なお、ある部品フォームを選択すると、他の部品フォームの選択は解除されるものとする。
【0050】
このようにすることで、選択したページの表示状態を、ツリービューの操作によって変更することができる。
【0051】
また、部品フォームが選択されていない場合には変数EFがクリアされた状態でページ表示を行っているため、設定された部品ファイルの重なりの順に表示される。
【0052】
[第1の実施の形態の変形例]
前述の実施例は、編集中の部品フォームの図形の表示は通常の表示で、非編集中の部品フォームの図形の表示は通常より薄い色で表示する実施例である。ここで図12におけるベクター図形表示処理ステップS402、文字表示処理ステップS403をそれぞれ、図17、図18に示すようなフローチャートの処理にし、ステップS1003及びステップS1103において、非編集中部品フォームのベクター図形・文字の表示は、あらかじめ設定によって決められた特定の線種・面種(色は実際の色)で表示することもできる。
【0053】
また、図12のイメージ表示処理ステップS404を、図19に示すようなフローチャートの処理にすれば、非編集中の部品フォームのイメージの表示は、イメージと同じ大きさで、あらかじめ設定によって決められた特定の線種・線色・面種・面色の矩形で表示することができる。
【0054】
このようにすることで、編集対象ではない画像は、その領域を示し詳細を表示しないため、画像が複雑であっても表示処理に時間を要することがなくなる。
【0055】
また、本実施例は、各部品フォームが各々1つのファイルになっており、各部品フォームのファイルが何であるかを設定している複合フォームデータが別に存在する。これに対して、すべての部品フォームのような画像が1つのファイル中に存在するようなデータであっても、本実施例と同様に表示することができる。
【0056】
[第2の実施の形態]
以下、本発明の第2の実施の形態を図面を参照して説明する。本実施の形態は、図9のステップS904〜S906の3ステップ分の処理を、図21に置き換えたものである。
【0057】
ユーザがツリービューのアイテムを選択し、その表示を指示すると、まず、アイテムの種別を判別し(ステップS1401)、種別が部品ファイルであれば部品選択表示を行い(ステップS1402)、種別がページであればページ選択表示を行う(ステップS1403)。
【0058】
ステップS1402の部品選択処理は図22に示す。まず、編集ファイル名を格納する変数EFに選択した部品フォームアイテムの名称をセットする(ステップS1501)。このアイテムの名称は、対応するファイルの名称と同じものとする。次に選択した部品フォームアイテムの親アイテムであるページを入手し(ステップS1502)、入手した親ページのページ表示処理を行う(ステップS1503)。変数EFは、プレビュー画面(図6の表示欄600に相当)における各種編集処理のときに参照され、変数EFの名称を持つ部品ファイルに含まれる内容以外を編集できないように制御している。
【0059】
ステップS1503のページ表示処理は図23に示す。図23において、まず、表示しようとしているページを構成する部品ファイルのうち一番下のレイヤとなる部品ファイルの入手を試み(ステップS1601)、それが存在するか判定し(ステップS1602)、存在すれば入手した部品ファイルの名称が変数EFの内容と同じか判定する(ステップS1603)。同じでなければその部品ファイルに含まれる図形をプレビュー画面に表示し(ステップS1604)、同じであれば表示しない。
【0060】
そして、同じページに含まれる次の部品ファイルの入手を試み(ステップS1605)、ステップS1602に戻り、部品ファイルがなくなるまで繰り返す。部品ファイルがなくなれば、変数EFにファイル名がセットされているか判定し(ステップS1606)、セットされていれば変数EFに格納された名称のファイルをプレビュー画面の一番上に表示する(ステップS1607)。なお、ステップS1604及びステップS1607における部品ファイルの図形の表示は、第1の実施形態における図12と同じ手順で実行される。こうすることにより、編集中の部品ファイルは一番上に表示されるので、他の部品ファイルの図形に隠れることなく、編集がしやすくなる。
【0061】
図25は、表示される部品フォームの一例を示す図である。ツリービュー252では「表紙」ページの「部品2」が選択されており、プレービュー画面252には、「表紙」ページに含まれる部品フォーム「部品1」「部品2」「部品3」が表示される。このうち、選択されている「部品2」が最も上に表示される。図25では、部品1には丸2510が、部品2には矩形2511が、部品3には三角形2512が含まれている。本例では、部品2が選択されているために、部品フォームの順序では部品3の三角形2512に隠されるはずの矩形2511が最上位に表示されている。
【0062】
図24に、図21のステップS1403のページ選択処理を示す。まず、変数EFをクリアし(ステップS1701)、選択されたページを入手し(ステップS1702)、入手したページのページ表示処理を行う(ステップS1703)。ステップS1703のページ表示処理は、図23に示したとおりの処理である。これにより、部品フォームが選択されず、ページが選択されて表示が指示された場合には、ページに含まれる部品フォームを順に表示する。この順序としては、例えば図8(a)に示したように、複合フォームデータ内で定義された、ページ内に含まれる部品フォームファイルの順序であっても良い。
【0063】
以上のように、部品フォームが選択されている場合には、その部品フォームが最も上になるように部品フォームを重ね合わせてページ全体を表示するために、選択された部品フォームが他の部品フォームによって隠されず、ページ全体の画像を見ながらその部品フォームを編集することが可能となる。
【0064】
[第3の実施の形態]
第2の実施の形態は、部品ファイルとページのアイテムから文書が構成される場合について説明したが、文書を構成するアイテムとして両面ページも設定可能である場合の実施も考えられる。
【0065】
両面ページは2つのページから構成される。例えば、図7のツリービューは、先頭から順番に「ページ01」「ページ02」「ページ00」「両面」という名前のページ及び両面ページから構成され、「両面」なる両面ページは、「ページ01」と「ページ02」のページで構成される。この場合、図21のフローチャートの代わりに、図26の処理が行われ、両面ページについての表示が行われる。
【0066】
図26は、アイテム種別として、部品選択表示、ページ選択表示のほかに、両面選択表示を含む、ツリービュー上で両面のアイコンが選択されてその表示が指示されると、ステップS2104が実行される。
【0067】
図27は、ステップS2104の詳細を示す。まず、変数EFをクリアして(ステップS2201)、プレビュー画面領域を表面及び裏面用に2つに分割し(ステップS2202)、選択した両面ページアイテムを構成する表面のページを入手する(ステップS2203)。ここで入手したページのページ表示処理を図23の手順で行って、分割したプレビュー画面領域の一方に表側のページを表示する(ステップS2204)。ただし、ここではプレービュー画面は横並びになるように分割され、表面ページは、分割したプレビュー画面領域の左側に表示する。
【0068】
次に裏面のページを入手し(ステップS2205)、入手したページのページ表示処理を行う(ステップS1206)。ここでは、裏面ページを表面ページを表示していない側の領域に表示する。ステップS2204とS2206は前述の図23の処理である。
【0069】
このようにすると、両面ページアイテムを選択したときに、図13のように、プレビュー画面を2分割して表示することができる。また、ページアイテムを選択した場合と同様に、変数EFがクリアされた状態でページ表示を行っているため、設定された部品ファイルの重なりの順に表示される。このため、両面アイテムについて、その表側と裏側とを同時に見ることができる。
【0070】
また、両面を構成するページの部品フォームが選択された場合には、その部品フォームがページを構成する部品フォームの最上位に表示されるために、他の部品フォームに隠されず、編集等の作業や内容の確認等が行いやすくなる。
【0071】
【発明の効果】
以上説明したように、本発明によれば、画像全体を把握しやすいようにして部品画像を表示でき、またあるいは表示した部品画像を編集できる。これにより、異なる部品画像を含めた図形同士の位置関係を見ながら、部品画像観察あるいは編集が出来るようになる。また、両面ページの表面の画像と裏面の画像を一度に表示することが出来るようになる。
【図面の簡単な説明】
【図1】本発明の一実施例である印刷方式が適用される情報処理システムのハードウェアの構成を示すブロック図である。
【図2】本発明の一実施例である画像編集プログラムが動作する時のメモリマップの図である。
【図3】フォームオーバレイ処理の概要を示す図である。
【図4】フォームデータ及び印字データの例と、オーバーレイ印刷時の命令シーケンスを示す図である。
【図5】フォームエディタの起動画面の例を示す図である。
【図6】複合フォームの編集画面の一例を示す図である。
【図7】複合フォーム編集字に表示されるツリービュー構成の詳細の一例を示す図である。
【図8】複合フォームデータの一例のツリー表示及びその内容を示す図である。
【図9】第1の実施形態における画像編集手順のフローチャートである。
【図10】複合フォーム中のページを表示する手順のフローチャートである。
【図11】部品フォームの表示処理の手順を示すフローチャートである。
【図12】図形表示処理の手順を示すフローチャートである。
【図13】ベクター図形表示処理の手順を示すフローチャートである。
【図14】文字表示処理の手順を示すフローチャートである。
【図15】イメージ表示処理の手順を示すフローチャートである。
【図16】記憶媒体中のフォーム編集プログラムの構成を示す図である。
【図17】ベクター図形表示処理の変形例の手順を示すフローチャートである。
【図18】文字表示処理の変形例の手順を示すフローチャートである。
【図19】イメージ表示処理の変形例の手順を示すフローチャートである。
【図20】第1の実施形態のフォームエディタによるページ表示例を示す図である。
【図21】第2の実施形態における複合フォーム中のページを表示する手順のフローチャートである。
【図22】第2の実施形態における部品選択表示の処理手順を示すフローチャートである。
【図23】第2の実施形態におけるページ表示処理の手順を示すフローチャートである。
【図24】第2の実施形態におけるページ選択表示の処理の手順を示すフローチャートである。
【図25】第2の実施形態のフォームエディタによるページ表示例を示す図である。
【図26】第3の実施形態のフォームエディタによるページ表示例を示す図である。
【図27】第3の実施形態における両面選択表示の処理手順を示すフローチャートである。
【図28】第3の実施形態における画面表示結果の一例を示す図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image display device and method for editing an image composed of layers including vector graphics, characters, dot images, and the like, and a storage medium storing a computer-readable program.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, some software for editing an image, such as a drawing tool, has a function of forming a single image by superimposing a plurality of component images. With this type of software, editing of the image configuration, that is, how to group component images, and editing of each component image must be performed by opening separate screens.
[0003]
[Problems to be solved by the invention]
In such a system, only one edit of each component image can be displayed at a time. Therefore, when editing each part image, there is a problem that it is difficult to understand the relation with other part images or the whole image.
[0004]
The present invention has been made in view of the above-described conventional example, and an object thereof is to provide an image display apparatus and method capable of displaying a component image so that the entire image can be easily grasped or editing the displayed component image. To do.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, the image display apparatus of the present invention has the following configuration. That is, the structure of the image and all the component images constituting the image are displayed, and in particular, the selected component image is displayed so as to be distinguishable from other component images.
[0006]
Or this invention consists of the following structures. That is, multiple parts The form Is composed of In an information processing device that edits complex forms An image display method, A tree display that reads a composite form from a form data storage unit that stores a composite form describing a full path and a page configuration for each file of the plurality of component forms, and displays a tree reflecting the page structure of the composite form in a tree display column. A determination step for determining whether the operation input by the user to the tree display field displayed in the tree display step is an instruction to display a component form, and an instruction to display the component form by the determination step If it is determined that there is a part form in the page including the instructed part form, an obtaining step of obtaining the part form in the page, and a part form in the page obtained in the obtaining step Parts image The A first display step of displaying; An editing process in which the part form determined in the determination process is made editable and an editing process is performed in accordance with an editing operation input by the user; Is provided.
[0007]
Also preferably, In the first display step, the part form determined in the determination step is displayed. , Not selected Parts form And identifiable Do .
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described by way of an example of a form editor that edits form data that is an image overlaid on print data.
[0014]
[First Embodiment]
FIG. 1 is a block diagram of a computer having a form creation function in this embodiment. This form creation function operates when the CPU 10 executes a basic input / output (I / O) program, an operating system (OS), and a form creation program. The basic I / O program is written in the ROM 11, and the OS is written in the hard disk (HD) 15. When the computer is turned on, the OS is read from the HD 15 into the RAM 12 by the IPL (Initial Program Loading) function in the basic I / O program, and the operation of the OS is started. The procedure of the form creation program will be described later. The form creation program and related data are recorded in the FD 14, and the configuration of the recorded contents is shown in FIG.
[0015]
The form editing program and related data recorded in the FD 14 can be loaded into the computer system through the FD drive 13. When the FD 14 is set in the FD drive 13, the form creation program and related data are read from the FD 14 under the control of the OS and the basic I / O program, and loaded into the RAM 12 to be operable. FIG. 16 shows the configuration of the layer form editing program in the storage medium.
[0016]
FIG. 2 shows a memory map in a state where the form editing program is loaded into the RAM 12 and can be executed.
[0017]
In this embodiment, the form editing program and related data are directly loaded into the RAM 12 from the FD 14 and executed. However, in addition to this, the form editing program and related data are temporarily stored (installed) in the HD 15 from the FD 14. The form may be loaded from the HD 15 to the RAM 12 when the form editing program is operated. The medium for recording the form editing program may be a CD-ROM, an IC memory card, or the like in addition to the FD.
[0018]
Form data created by the form editing program is stored in the HD 15, and is overlaid with print data by another application program that realizes overlay printing, and is output from the printer 18.
[0019]
<Overview of form overlay processing>
Before describing the form editing function according to the present invention, an overview of the entire form overlay processing will be described. FIG. 3 shows the flow of processing for the entire overlay printing including the form creation program. The form or composite form created by the form editing program (hereinafter also referred to as “form editor”) 311 is stored in the form data storage unit 312 prepared in the HD 15 or the like. The form is image data to be overlaid, and includes graphics, characters, or dot images. The composite form is a form configured in units of pages, and each page is configured by superimposing forms that are parts. You can also define special pages such as double-sided and copy. Each form (including a composite form) includes form data 312a representing the form itself and field attribute data 312b representing the position, character type, and the like of the print data combined with the form. Hereinafter, the composite form data may be referred to as FCX data, and the form data that is not combined and is the minimum unit may be referred to as FCP data. Hereinafter, the FCX data may be simply referred to as image data, and the FCP data may be referred to as component image data.
[0020]
These form data are converted into form print data 316a in a format interpretable by the printer 32 by a predetermined runtime library 315, and stored in a printer data storage unit 316 secured in the HD 15.
[0021]
On the other hand, print data for form overlay printing is generated by an appropriate business file 313 and stored in the text data storage unit 314. The data need only be in a format that can distinguish each field to be overlaid. For example, a commonly used format called CSV format can be used. This print data is also converted into print print data 316 b in a format that can be interpreted by the printer 32 by the runtime library 315 and stored in the print data storage unit 316.
[0022]
The form print data and print print data created in this way are output to the printer 21 by the operating system 317 and printer driver 318, where they are combined and printed.
[0023]
FIG. 4 shows an example of each of form data and print data, and an example of a sequence of print commands passed to the printer 32. FIG. 4C shows an example of a command sequence. First, there is a form data registration start command 411 following a command sequence for starting a print job, followed by form data 412 as shown in FIG. In this example, the form is one page, but it may be a composite form. Thereafter, there is a form data registration end command 413, followed by print data 415 and 416 sandwiched between an overlay print start command 414 and an overlay print end command 417. An example of print data is shown in FIG. In the example of FIG. 4C, since the print print data is for two pages, the form print data is also a composite form for two pages.
[0024]
When such a command sequence is sent to the printer 32, the printer temporarily stores the form print data in the form cache 321, rasterizes the print data and the form data, and combines them on the page buffer 323. This data is printed out from the print engine 324, and a target printed matter is obtained.
[0025]
<Function of form editor>
The above is an overview of form overlay printing. Here, the form creation program (form editor) of this embodiment will be described with reference to the drawings.
[0026]
FIG. 5 is an example of a display screen when the user designates creation of a new form after the form editor is activated. Inside the window 501, a menu line is displayed at the top thereof, and a window 502 for selecting what an object to be newly created is displayed below the menu row. Here, three types of field data, form, and composite data can be selected. When the field data field 403 is selected, the procedure for editing the field attribute file 312b in FIG. When the form field 404 is selected, a procedure for editing one-page component form data is entered. The component form data alone can be form data for one page.
[0027]
When the composite form field 405 is designated, the screen moves to a composite form data editing screen shown in FIG. On the composite form data editing screen, the structure of the composite form data to be edited is displayed in the tree display field 602. On this screen, you can use a pointing device to move, delete, or insert a specified object on the screen, or to change the name of an object from the keyboard. Can do. When editing an existing composite form, the form editor can be called by specifying the name of the composite form data file. Thereby, the composite form data is read from the form data storage unit 312 and a tree reflecting the structure is displayed. The composite form display field (or preview field) 601 displays an image of the selected page in the composite form. Details of this will be described later.
[0028]
FIG. 7 shows an example of a tree (tree view) to be displayed. The root of each tree represents the entire composite form, and its lower node 802 represents a page constituting the composite form. A page represents one page to be printed, and there are several types depending on the configuration of the page itself. For example, pages 802a, 802b, and 802c that simply include a component form are composite forms in which the component forms underneath are stacked in order from the top. For example, the page 802a is configured by overlapping the component 02 on the component 01. In addition, there is a double-sided node 802c indicating that the page under it is printed on both sides. In addition, although not shown, there is a copy node indicating that a specified number of copies are repeatedly output. In the case of a double-sided page, there are further pages underneath, and in the tree view display, the upper page means the front side and the lower page means the back side.
[0029]
A node 809 that links pages together as a subtree indicates that the subtree is displayed, and “+” indicates that the subtree is not displayed. Hereinafter, a node indicating an object may be referred to as an item. Each node is displayed as an image object called an icon, and a line connecting the icons indicates that the node on the right side of the line is subordinate to the node on the left side.
[0030]
Printing is performed in units of pages, and each page includes at least one component form. In the case of a page having a plurality of component forms, a superposition of the component forms is printed as one page. The order of the part forms under the page in the tree view represents the order of overlapping when the part forms are overlapped, and the parts are stacked in order from the top in the tree view display. In other words, when the page is displayed, the component form at the bottom of the tree view is at the top.
[0031]
FIG. 8A shows an exemplary structure of a composite form data file representing a composite form. In FIG. 8, the composite form data “Test.fcx” is stored in a directory “c: ¥ Program Files ¥ Fcpro ¥ FORMWORK”. The content indicates that the page number field 101 is 3, and includes 3 print pages in total. The page name 102 is the name of the defined print page and is “Nenkin01”. The number of repetitions represents the number of times that the page is repeated. The page type field 104 is a standard page and indicates a normal page that is not double-sided or copied. The file name field is displayed with a full path, and the file name “Nenkin01.fcp” is written at the end. That is, it can be seen that this print page includes only “Nenkin01.fcp” as the component form.
[0032]
The next print page Nenkin02 includes three part forms “Nenkin02.fcp”, “Nenkin03.fcp”, and “Nenkin04.fcp”.
[0033]
FIG. 8B is a diagram in which the composite form data in FIG. The tree view accurately expresses the contents of the composite form data, and expresses the structure in a format that is easy to understand intuitively.
[0034]
<Edit composite form>
Next, a part of the processing procedure of the form editing program in this embodiment is shown in FIGS. The procedure of FIG. 9 is a procedure that is executed when the operator makes some input when the editing program is activated and the composite form is read.
[0035]
First, it is determined whether the operation input by the operator is selection of a component form (step S901). The selection of the component form is executed when the operator selects a desired component form icon using the keyboard 16 or a pointing device (not shown) on the tree view of FIG. If it is determined that the part form is selected, the selection status of the part form is set (step S902). If it is determined that the component form is not selected, it is determined whether the instruction is a display instruction on the component form (step S903). The display instruction in the component form is performed by selecting a component form icon or a page icon on the tree view and inputting a display command or selecting display from a menu.
[0036]
If it is a display instruction, it is determined whether there is a selected form, that is, a component form in which the selection status is set (step S904). If there is, the editing status of the selected part form data is set (step S905), and the page to which the part form belongs is displayed (step S906). At this time, the component forms other than the component form in the selectable state are displayed in gray, and the fact that they are not in the editable state is displayed in an identifiable manner for the operator. If it is determined that the part form is not used, the page to which the part form belongs is displayed on the preview screen 600 as it is.
[0037]
On the other hand, if the input is not a display instruction, it is determined whether it is an editing operation (step S907). If the input is an editing operation, editing processing corresponding to the input is performed on the component form data and composite form data for which the editing status is set (step S907). Step S908). At this time, it is checked whether the input is in accordance with a predetermined sequence of editing operations. If it is not any input, processing corresponding to the input is executed (step S909).
[0038]
FIG. 10 shows the procedure of page display processing in step S906.
[0039]
First, in the selected page or the page including the selected part form, an attempt is made to obtain the first part form (step S201), and it is determined whether the part form exists (step S202). The part form image is displayed (step S203). Then, the next part form is obtained (step S204), the process returns to step S202, and page display processing is performed until there is no part form. Here, the order of the component forms may be the order in which the component form files included in the page are arranged, as shown in FIG.
[0040]
FIG. 11 shows the component form display process in step S203. First, the status of the component form to be displayed is set in the variable LS (step S301). The status of the part form includes an edit status and a display status, and each takes a value of ON or OFF.
[0041]
Next, it is determined whether or not the display of LS is ON (step S202). If the display is ON, the first graphic belonging to the layer is obtained (step S303), it is determined whether there is a graphic (step S304), and if there is no graphic, the process is exited. If there is a figure, the figure is displayed (step S30S). When the graphic display processing is completed, the next graphic belonging to the same component form is obtained (step S306), the process returns to step S304, and graphic display processing is performed until there is no graphic belonging to the same component form.
[0042]
FIG. 12 shows the graphic display process of step S305. First, the type of figure is determined (step S401). If it is a vector figure, vector figure display processing is performed (step S402). If it is a character, character display processing is performed (step S403). If it is an image, image display processing is performed (step S404). , Exit the process.
[0043]
FIG. 13 shows the vector graphic display process of step S402. First, the line color and the face color are obtained and set to the variables LC and FC, respectively (step S501), it is determined whether the status LS of the part form is edit ON (step S502), and if the edit status is OFF, LC, FC Each brightness is increased by a certain value (step S503). When the brightness value of the color is increased, it can be made light while maintaining the same hue. Next, a vector figure is drawn using LC and FC (step S504).
[0044]
In this way, the vector graphic belonging to the component form with the display status OFF is not displayed, the vector graphic belonging to the component form with the display status ON and the edit status ON is displayed normally, and the component with the display status ON and the edit status OFF is displayed. Vector graphics belonging to the form are displayed in a lighter color than usual.
[0045]
Similarly, in the character display process of step S403 shown in FIG. 14, first, the character color is obtained and set in the variable CC (step S601), and it is determined whether the status LS of the part form is the edit status ON (step S602). If the editing status is OFF, the brightness of CC is increased by a certain value (step S603). Next, a character is drawn using CC (step S604).
[0046]
Similarly, the image display process in step S404 shown in FIG. 15 first obtains the first pixel (step S701), determines whether there is a pixel (step S702), and exits the process if there is no pixel. If there is a pixel, it is determined whether the editing status is LS (step S703). If the editing status is OFF, the brightness of the pixel is increased by a certain value (step S704). Next, a pixel dot is drawn (step S70S), the next pixel is obtained (step S706), the process returns to step S702, and pixel drawing processing is performed until there are no more pixels.
[0047]
As described above, when a page or part form is selected and displayed, if the part form is selected, the part form is displayed in the normal color as being subject to editing, and the selected part is displayed. An unselected part form included in the same page as the form can be displayed in a thin color. If no part form is selected, all the part forms included in the designated page can be displayed as usual.
[0048]
FIG. 20 is a diagram of a display example when a component form is selected. In this case, the part 1 has a round figure at the top, the part 2 has a rectangle in the middle, and the part 3 has a triangle at the bottom. When a part 2021 is selected in the tree view, the part form is displayed as usual in an image display area 201 as an image 2011, and the others are displayed lightly as images 2010 and 2012. In this way, when editing a component form, not only the component form to be edited but also all the component forms included in the selected page are displayed. Further, in order to display the selected component form in an identifiable manner, the page configuration can be displayed in the tree view, and the synthesized page can be displayed. Further, since the selected component form can be identified while performing such display, the component form can be edited on the synthesized page image.
[0049]
In addition, when a component form is displayed as shown in FIG. 20, by selecting an icon of another component form in the tree view 202, the newly selected component form is set as an edit target, and the component that has not been selected. The form can be displayed again in the image display field 201 so as not to be edited. For this purpose, it is determined whether the selected component form is currently displayed between steps S901 and S902 in FIG. 9, and if it is displayed, the selection status of the component form is set, and then step S904 is performed. Branch to If not, the process branches to step S902 in FIG. When a certain part form is selected, selection of other part forms is cancelled.
[0050]
In this way, the display state of the selected page can be changed by operating the tree view.
[0051]
If no part form is selected, page display is performed with the variable EF cleared, and therefore, the parts are displayed in the order of overlapping parts files.
[0052]
[Modification of First Embodiment]
In the above-described embodiment, the display of the part form graphic being edited is a normal display, and the non-edited part form graphic is displayed in a lighter color than usual. Here, the vector graphic display processing step S402 and the character display processing step S403 in FIG. 12 are changed to the processes shown in the flowcharts of FIGS. 17 and 18, respectively. In steps S1003 and S1103, the vector graphic / Characters can be displayed in a specific line type / face type (color is an actual color) determined in advance.
[0053]
If the image display processing step S404 of FIG. 12 is changed to the processing of the flowchart shown in FIG. 19, the display of the image of the part form that is not being edited is the same size as the image and is determined in advance by setting. A specific line type, line color, surface type, or surface color can be displayed as a rectangle.
[0054]
In this way, an image that is not an editing target shows its area and does not display details, so that even if the image is complex, display processing does not take time.
[0055]
Also, in this embodiment, each component form is a single file, and there is separate composite form data that sets what the file of each component form is. In contrast, even data in which images such as all component forms are present in one file can be displayed in the same manner as in this embodiment.
[0056]
[Second Embodiment]
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. In the present embodiment, the processing for three steps of steps S904 to S906 in FIG. 9 is replaced with FIG.
[0057]
When the user selects an item in the tree view and instructs to display it, first, the type of the item is determined (step S1401). If the type is a part file, a part selection display is performed (step S1402). If there is, page selection display is performed (step S1403).
[0058]
The component selection process in step S1402 is shown in FIG. First, the name of the selected part form item is set in the variable EF for storing the edit file name (step S1501). The name of this item is the same as the name of the corresponding file. Next, a page that is a parent item of the selected component form item is obtained (step S1502), and page display processing of the obtained parent page is performed (step S1503). The variable EF is referred to during various editing processes on the preview screen (corresponding to the display field 600 in FIG. 6), and is controlled so that contents other than those included in the part file having the name of the variable EF cannot be edited.
[0059]
The page display process in step S1503 is shown in FIG. In FIG. 23, first, an attempt is made to obtain a part file which is the lowest layer among the part files constituting the page to be displayed (step S1601), and it is determined whether it exists (step S1602). Then, it is determined whether the name of the obtained component file is the same as the content of the variable EF (step S1603). If they are not the same, the graphic contained in the component file is displayed on the preview screen (step S1604), and if they are the same, they are not displayed.
[0060]
Then, an attempt is made to obtain the next part file included in the same page (step S1605), and the process returns to step S1602 and is repeated until there is no part file. If there is no part file, it is determined whether the file name is set in the variable EF (step S1606). If it is set, the file having the name stored in the variable EF is displayed at the top of the preview screen (step S1607). ). Note that the display of the part file graphic in step S1604 and step S1607 is executed in the same procedure as in FIG. 12 in the first embodiment. By doing so, the part file being edited is displayed at the top, so that it is easy to edit without being hidden by the figure of another part file.
[0061]
FIG. 25 is a diagram illustrating an example of a displayed component form. In the tree view 252, “Part 2” on the “Cover” page is selected, and the part form “Part 1”, “Part 2”, and “Part 3” included in the “Cover” page are displayed on the preview screen 252. The Among these, the selected “component 2” is displayed at the top. In FIG. 25, part 1 includes a circle 2510, part 2 includes a rectangle 2511, and part 3 includes a triangle 2512. In this example, since the component 2 is selected, the rectangle 2511 that should be hidden by the triangle 2512 of the component 3 is displayed at the top in the order of the component form.
[0062]
FIG. 24 shows the page selection process in step S1403 of FIG. First, the variable EF is cleared (step S1701), the selected page is obtained (step S1702), and page display processing of the obtained page is performed (step S1703). The page display process in step S1703 is the process shown in FIG. Thereby, when a part form is not selected but a page is selected and display is instructed, the part forms included in the page are sequentially displayed. As this order, for example, as shown in FIG. 8A, the order of the component form files included in the page defined in the composite form data may be used.
[0063]
As described above, when a component form is selected, the selected component form is displayed on the other component form in order to display the entire page so that the component form is overlaid. The part form can be edited while viewing the image of the entire page.
[0064]
[Third Embodiment]
In the second embodiment, the case where a document is composed of component files and page items has been described. However, it is also conceivable that a double-sided page can be set as an item constituting a document.
[0065]
The double-sided page is composed of two pages. For example, the tree view of FIG. 7 includes pages named “page 01”, “page 02”, “page 00”, “double-sided” and double-sided pages in order from the top. ”And“ Page 02 ”. In this case, the process of FIG. 26 is performed instead of the flowchart of FIG. 21, and the display for the double-sided page is performed.
[0066]
FIG. 26 shows that when a double-sided icon is selected and instructed to be displayed on the tree view, including item selection display and page selection display as well as double-sided selection display as the item type, step S2104 is executed. .
[0067]
FIG. 27 shows details of step S2104. First, the variable EF is cleared (step S2201), the preview screen area is divided into two parts for the front side and the back side (step S2202), and the front page constituting the selected double-sided page item is obtained (step S2203). . The page display process of the page obtained here is performed according to the procedure of FIG. 23, and the front page is displayed in one of the divided preview screen areas (step S2204). However, here, the play view screen is divided side by side, and the front page is displayed on the left side of the divided preview screen area.
[0068]
Next, the back page is obtained (step S2205), and page display processing of the obtained page is performed (step S1206). Here, the back page is displayed in the area on the side where the front page is not displayed. Steps S2204 and S2206 are the processing of FIG.
[0069]
In this way, when the double-sided page item is selected, the preview screen can be divided into two as shown in FIG. Similarly to the case where the page item is selected, the page display is performed in a state where the variable EF is cleared. For this reason, the front side and the back side of the double-sided item can be viewed simultaneously.
[0070]
In addition, when a part form for a page that constitutes both sides is selected, the part form is displayed at the top of the part form that constitutes a page. It becomes easy to check the contents.
[0071]
【The invention's effect】
As described above, according to the present invention, the component image can be displayed so that the entire image can be easily grasped, or the displayed component image can be edited. As a result, the component image can be observed or edited while viewing the positional relationship between figures including different component images. In addition, the front side image and the back side image of the double-sided page can be displayed at a time.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a hardware configuration of an information processing system to which a printing method according to an embodiment of the present invention is applied.
FIG. 2 is a diagram of a memory map when an image editing program according to an embodiment of the present invention operates.
FIG. 3 is a diagram showing an outline of form overlay processing;
FIG. 4 is a diagram illustrating an example of form data and print data, and a command sequence during overlay printing.
FIG. 5 is a diagram illustrating an example of a startup screen of a form editor.
FIG. 6 is a diagram illustrating an example of a composite form editing screen.
FIG. 7 is a diagram showing an example of details of a tree view configuration displayed in a composite form edit character.
FIG. 8 is a diagram showing a tree display of an example of composite form data and its contents.
FIG. 9 is a flowchart of an image editing procedure in the first embodiment.
FIG. 10 is a flowchart of a procedure for displaying a page in a composite form.
FIG. 11 is a flowchart illustrating a procedure of a component form display process.
FIG. 12 is a flowchart showing a procedure of graphic display processing.
FIG. 13 is a flowchart showing a procedure of vector graphic display processing.
FIG. 14 is a flowchart illustrating a procedure of character display processing.
FIG. 15 is a flowchart illustrating a procedure of image display processing.
FIG. 16 is a diagram showing a configuration of a form editing program in a storage medium.
FIG. 17 is a flowchart showing a procedure of a modified example of vector graphic display processing.
FIG. 18 is a flowchart illustrating a procedure of a modification of the character display process.
FIG. 19 is a flowchart illustrating a procedure of a modified example of image display processing.
FIG. 20 is a diagram illustrating a page display example by the form editor according to the first embodiment.
FIG. 21 is a flowchart of a procedure for displaying a page in a composite form in the second embodiment.
FIG. 22 is a flowchart showing a processing procedure of component selection display in the second embodiment.
FIG. 23 is a flowchart illustrating a procedure of page display processing according to the second embodiment.
FIG. 24 is a flowchart illustrating a procedure of page selection display processing according to the second embodiment.
FIG. 25 is a diagram illustrating a page display example by the form editor according to the second embodiment.
FIG. 26 is a diagram illustrating a page display example by the form editor according to the third embodiment.
FIG. 27 is a flowchart illustrating a processing procedure of double-sided selection display in the third embodiment.
FIG. 28 is a diagram illustrating an example of a screen display result in the third embodiment.

Claims (6)

複数の部品フォームをまとめて構成される複合フォームの編集を行う情報処理装置における画像表示方法であって、
前記複数の部品フォームのそれぞれのファイルに対するフルパスおよびページ構成を記述した複合フォームを格納するフォームデータ格納手段から複合フォームを読み出し、複合フォームのページ構造を反映したツリーをツリー表示欄に表示するツリー表示工程と、
前記ツリー表示工程で表示されるツリー表示欄に対する利用者により入力された操作が、部品フォームの表示の指示であるか判定する判定工程と、
前記判定工程により部品フォームの表示の指示であると判定された場合に、指示された部品フォームを含むページにおいて、該ページ内の部品フォームを入手する入手工程と、
前記入手工程で入手された当該ページ内の部品フォームの部品画像表示する第1の表示工程と
前記判定工程により判定された部品フォームを編集可能状態とし、利用者により入力される編集操作に応じた編集処理を施す編集工程と
を備えることを特徴とする画像表示方法。
An image display method in an information processing apparatus for editing a composite form composed of a plurality of component forms ,
A tree display that reads a composite form from a form data storage unit that stores a composite form describing a full path and a page configuration for each file of the plurality of component forms, and displays a tree reflecting the page structure of the composite form in a tree display column. Process,
A determination step of determining whether an operation input by a user for a tree display field displayed in the tree display step is an instruction to display a part form;
When it is determined by the determination step that it is an instruction to display a component form, in a page including the specified component form, an obtaining step of obtaining the component form in the page;
A first display step of displaying a part image of the part form in the page obtained in the obtaining step ;
An image display method comprising: an editing step in which the part form determined in the determination step is made editable and an editing process is performed in accordance with an editing operation input by a user .
前記第1の表示工程は、前記判定工程により判定された部品フォームを、選択されていない部品フォームと識別可能に表示することを特徴とする請求項1に記載の画像表示方法。 2. The image display method according to claim 1, wherein the first display step displays the component form determined in the determination step so as to be distinguishable from an unselected component form . 複数の部品フォームをまとめて構成される複合フォームの編集を行い、複合フォームの画像表示を行う情報処理装置であって、
前記複数の部品フォームのそれぞれのファイルに対するフルパスおよびページ構成を記述した複合フォームを格納するフォームデータ格納手段から複合フォームを読み出し、複合フォームのページ構造を反映したツリーをツリー表示欄に表示するツリー表示手段と、
前記ツリー表示手段で表示されるツリー表示欄に対する利用者により入力された操作が、部品フォームの表示の指示であるか判定する判定手段と、
前記判定手段により部品フォームの表示の指示であると判定された場合に、指示された部品フォームを含むページにおいて、該ページ内の部品フォームを入手する入手手段と、
前記入手手段で入手された当該ページ内の部品フォームの部品画像表示する第1の表示手段と
前記判定手段により判定された部品フォームを編集可能状態とし、利用者により入力される編集操作に応じた編集処理を施す編集手段と
を備えることを特徴とする画像表示装置。
An information processing apparatus that edits a composite form composed of a plurality of component forms and displays an image of the composite form ,
A tree display that reads a composite form from a form data storage unit that stores a composite form describing a full path and a page configuration for each file of the plurality of component forms, and displays a tree reflecting the page structure of the composite form in a tree display column. Means,
A determination unit that determines whether an operation input by a user with respect to a tree display field displayed by the tree display unit is an instruction to display a component form;
An obtaining means for obtaining a component form in the page in a page including the designated component form when the determination means determines that the instruction is to display a component form;
First display means for displaying a part image of a part form in the page obtained by the obtaining means ;
An image display apparatus comprising: an editing unit that sets the component form determined by the determination unit to an editable state and performs an editing process in accordance with an editing operation input by a user .
前記第1の表示手段は、前記判定手段により判定された部品フォームを、選択されていない部品フォームと識別可能に表示することを特徴とする請求項に記載の画像表示装置。The image display apparatus according to claim 3 , wherein the first display unit displays the component form determined by the determination unit so as to be distinguishable from an unselected component form . コンピュータを、複数の部品フォームをまとめて構成される複合フォームの編集を行い、複合フォームの画像表示を行う情報処理装置として機能させるためのプログラムを格納したコンピュータ可読記憶媒体であって、前記プログラムは、
前記複数の部品フォームのそれぞれのファイルに対するフルパスおよびページ構成を記述した複合フォームを格納するフォームデータ格納手段から複合フォームを読み出し、複合フォームのページ構造を反映したツリーをツリー表示欄に表示するツリー表示手段と、
前記ツリー表示手段で表示されるツリー表示欄に対する利用者により入力された操作が、部品フォームの表示の指示であるか判定する判定手段と、
前記判定手段により部品フォームの表示の指示であると判定された場合に、指示された部品フォームを含むページにおいて、該ページ内の部品フォームを入手する入手手段と、
前記入手手段で入手された当該ページ内の部品フォームの部品画像表示する第1の表示手段と
前記判定手段により判定された部品フォームを編集可能状態とし、利用者により入力される編集操作に応じた編集処理を施す編集手段と
してコンピュータを機能させるためのコンピュータプログラムを格納することを特徴とするコンピュータ可読記憶媒体。
A computer-readable storage medium storing a program for causing a computer to function as an information processing apparatus that edits a composite form composed of a plurality of component forms and displays an image of the composite form. ,
A tree display that reads a composite form from a form data storage unit that stores a composite form describing a full path and a page configuration for each file of the plurality of component forms, and displays a tree reflecting the page structure of the composite form in a tree display column. Means,
A determination unit that determines whether an operation input by a user with respect to a tree display field displayed by the tree display unit is an instruction to display a component form;
An obtaining means for obtaining a component form in the page in a page including the designated component form when the determination means determines that the instruction is to display a component form;
First display means for displaying a part image of a part form in the page obtained by the obtaining means ;
A computer program for causing a computer to function as an editing unit that puts the part form determined by the determination unit into an editable state and performs an editing process according to an editing operation input by a user is stored. A computer-readable storage medium.
前記第1の表示手段は、前記判定手段により判定された部品フォームを、選択されていない部品フォームと識別可能に表示することを特徴とする請求項に記載のコンピュータ可読記憶媒体。The computer-readable storage medium according to claim 5 , wherein the first display unit displays the component form determined by the determination unit so as to be distinguishable from an unselected component form .
JP02294899A 1999-01-29 1999-01-29 Image display apparatus and method, and storage medium storing computer-readable program Expired - Fee Related JP3679640B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02294899A JP3679640B2 (en) 1999-01-29 1999-01-29 Image display apparatus and method, and storage medium storing computer-readable program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02294899A JP3679640B2 (en) 1999-01-29 1999-01-29 Image display apparatus and method, and storage medium storing computer-readable program

Publications (2)

Publication Number Publication Date
JP2000222402A JP2000222402A (en) 2000-08-11
JP3679640B2 true JP3679640B2 (en) 2005-08-03

Family

ID=12096853

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02294899A Expired - Fee Related JP3679640B2 (en) 1999-01-29 1999-01-29 Image display apparatus and method, and storage medium storing computer-readable program

Country Status (1)

Country Link
JP (1) JP3679640B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9141587B2 (en) * 2008-05-19 2015-09-22 Canon Kabushiki Kaisha Print control method and print control apparatus for controlling printing of structured document

Also Published As

Publication number Publication date
JP2000222402A (en) 2000-08-11

Similar Documents

Publication Publication Date Title
US8773460B2 (en) Information processing apparatus, information processing method, and information processing program for displaying a plurality of objects on an operation screen based on a drawing order of the plurity of objects
JP3970137B2 (en) Document processing method and apparatus
KR100725195B1 (en) Recording medium recording an information processing apparatus, an information processing method and a print control program
US8089653B2 (en) Document processing apparatus, method and program for variable printing with document file dividing
JP3950657B2 (en) Information processing system, display method thereof, program, and recording medium
US6963672B1 (en) Image processing apparatus, image processing method and storage medium
JP4143566B2 (en) Document processing apparatus, control method therefor, and computer program
US7379950B2 (en) Document processing method, program and apparatus for processing a document file in pages
JP2004192248A (en) Document processing apparatus and method
JP4095512B2 (en) Document conversion method and apparatus
JP3997026B2 (en) Form editing method and apparatus, and storage medium storing computer-readable program
JP2009277193A (en) Content control apparatus, content control method, program and recording medium
JP2003091520A (en) Document processing apparatus and method
JP2003091521A (en) Document processing apparatus and method
JP2006107142A (en) Document processing apparatus and method
JP3754838B2 (en) COMPOSITE FORM EDITING DEVICE, COMPOSITE FORM EDITING METHOD, AND PROGRAM STORAGE MEDIUM
JP2003091526A (en) Information processing apparatus and method
JPH09174956A (en) Printer controller
JP3679640B2 (en) Image display apparatus and method, and storage medium storing computer-readable program
JP2010165201A (en) Layout device, layout method and layout program
JP4845287B2 (en) Form editing apparatus and method, and storage medium storing computer-readable program
JP4532872B2 (en) Document processing method and document processing apparatus
JP3612387B2 (en) Information processing apparatus and control method therefor
JP2003067373A (en) Program, document processing device and document processing method
JP3843204B2 (en) Information processing apparatus, editing operation method, and recording medium recording the program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040316

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040326

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040525

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050513

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100520

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100520

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110520

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120520

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120520

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130520

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140520

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees