JP2004252725A - Tree structure display method - Google Patents

Tree structure display method Download PDF

Info

Publication number
JP2004252725A
JP2004252725A JP2003042591A JP2003042591A JP2004252725A JP 2004252725 A JP2004252725 A JP 2004252725A JP 2003042591 A JP2003042591 A JP 2003042591A JP 2003042591 A JP2003042591 A JP 2003042591A JP 2004252725 A JP2004252725 A JP 2004252725A
Authority
JP
Japan
Prior art keywords
data
information
document
page
tree structure
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.)
Withdrawn
Application number
JP2003042591A
Other languages
Japanese (ja)
Inventor
Satoshi Tanaka
智 田中
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 JP2003042591A priority Critical patent/JP2004252725A/en
Publication of JP2004252725A publication Critical patent/JP2004252725A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a tree structure display method that displays a unit of document structures of different settings due to establishment of additional information, etc. with an icon different from that of a normal setting condition. <P>SOLUTION: Data information of a chapter constitutes document data that consist of a plurality of hierarchies, acquires data information of a page constituting respective data for the respective data belonging to the chapter, and determines whether or not additional information is provided to the respective data belonging to the page. Then kinds of icons are decided representing data of respective hierarchies when displaying document data in a tree structure, using data information of a chapter, data information of a page and the result of the determination, and the hierarchical structure of the document data is displayed in a tree structure using the icon which have been decided. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、パーソナルコンピュータ等において複数の章やページから成る文書データの構造を階層的に表現するツリー構造表示技術に関する。
【0002】
【従来の技術】
パーソナルコンピュータ等の情報処理装置において文書データの構造を表示する方法として、階層的に表現することが可能なツリー構造表示が一般的に使用されている。例えば、文書構造が章とページで構成されている場合、ルートである文書の直下に章を、そして各章の直下にページを並べるツリー方式を用いて当該文書構造を階層的に表現するとともに、文書、章及びページをそれぞれ別アイコンで表示することによって、階層構造の表現力を高めていた。また、文書構造が見出しとその説明の場合、見出しグループ単位でまとめて階層表現することによって、操作性を良くしていた。
【0003】
【発明が解決しようとする課題】
しかしながら、上述したような従来のツリー構造表示では、文書、章及びページといった文書構造の各階層の単位は、常に同じアイコンで表示されており、同じ階層に属する文章構造の単位において異なる設定がされた場合の表現方法までは考慮されていなかった。例えば、文書構造の各単位で行われる異なる設定としては、各ページに付加情報を付加するような設定がある。すなわち、文書構造の単位ごとに異なる付加情報の設定を行った場合、従来のツリー構造表示では、どの文書構造の単位に付加情報の設定が行われたのかを判断することができないといった問題があった。
【0004】
本発明は、このような事情を考慮してなされたものであり、付加情報の設定等により異なる設定がされた文書構造の単位を通常の設定状態とは異なるアイコンで表示することができるツリー構造表示方法を提供することを目的とする。
【0005】
【課題を解決するための手段】
上記課題を解決するために、本発明は、複数の階層から成る文書データの階層構造を、該文書データの各階層のデータをアイコン表示したツリー構造を用いて表示するツリー構造表示方法であって、
前記文書データを構成する第1の階層のデータ情報を取得する第1の取得工程と、
第1の階層に属するそれぞれのデータごとに、該それぞれのデータを構成する第2の階層のデータ情報を取得する第2の取得工程と、
前記第2の階層に属するそれぞれのデータに付加情報が付加されているか否かを判定する判定工程と、
前記第1の階層のデータ情報と前記第2の階層のデータ情報と前記判定工程による判定結果とを用いて前記文書データをツリー表示する際のそれぞれの階層のデータを示すアイコンの種類を決定する決定工程と、
決定されたアイコンを用いて前記文書データの階層構造をツリー構造で表示する表示工程と
を有することを特徴とする。
【0006】
【発明の実施の形態】
以下、図面を参照して、本発明の一実施形態に係るツリー構造表示技術について説明する。
【0007】
図1は、本発明の一実施形態に係るツリー構造表示可能なホストコンピュータ3000とプリンタ1500とから構成される情報処理システムの構成を示すブロック図である。尚、本発明に係るツリー構造表示機能を備える装置又はシステムとしては、ツリー構造表示が実行されるものであれば、単体の機器であっても、複数の機器からなるシステムであっても、或いは、LANやWAN等のネットワークを介して接続されたシステムであってもよい。
【0008】
図1において、ホストコンピュータ3000は、コンピュータ制御ユニット2000と、キーボード(KB)9とCRTディスプレイ(CRT)10と外部メモリ11とから構成されている。コンピュータ制御ユニット2000は、各種データを記憶するROM3と、ROM3のプログラム用ROM或いは外部メモリ11に記憶された文書処理プログラム等に基づいて図形、イメージ、文字、表(表計算等を含む。)等が混在した文書処理を実行するCPU1と、CPU1の主メモリやワークエリア等として機能するRAM2とを備え、システムバス4に接続される各デバイス(上記RAM2、ROM3や、後述するキーボードコントローラ5、CRTコントローラ6、ディスクコントローラ7、プリンタコントローラ8)をCPU1が総括的に制御する。
【0009】
また、このROM3のプログラム用ROM或いは外部メモリ11には、CPU1の制御プログラムであるオペレーティングシステムプログラム(以下、「OS」という。)等を記憶し、ROM3のフォント用ROM或いは外部メモリ11には上記文書処理の際に使用するフォントデータ等を記憶し、ROM3のデータ用ROM或いは外部メモリ11には上記文書処理等を行う際に使用する各種データを記憶する。
【0010】
キーボードコントローラ(KBC)5は、KB9や不図示のポインティングデバイスからのキー入力を制御する。CRTコントローラ(CRTC)6は、CRT10の表示を制御する。ディスクコントローラ(DKC)7は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、プリンタ制御コマンド生成プログラム(以下、「プリンタドライバ」という。)等を記憶するハードディスク(HD)、フレキシブルディスク(FD)等の外部メモリ11とのアクセスを制御する。プリンタコントローラ(PRTC)8は、双方向性インタフェース(インタフェース)21を介してプリンタ1500に接続されて、プリンタ1500との通信制御処理を実行する。
【0011】
尚、CPU1は、例えばRAM2上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYGを可能としている。また、CPU1は、CRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウィンドウを開き、種々のデータ処理を実行する。ユーザは印刷を実行する際、印刷の設定に関するウィンドウを開き、プリンタの設定や、印刷モードの選択を含むプリンタドライバに対する印刷処理方法の設定を行う。
【0012】
プリンタ1500は、プリンタ制御ユニット1000と、印刷部17と、操作部1501と、外部メモリ14とから構成され、プリンタ制御ユニット1000内のCPU12により制御される。プリンタCPU12は、ROM13のプログラム用ROMに記憶された制御プログラム等或いは外部メモリ14に記憶された制御プログラム等に基づいてシステムバス15に接続される印刷部(プリンタエンジン)17に出力情報としての画像信号を出力する。また、このROM13のプログラム用ROMには、CPU12の制御プログラム等を記憶する。ROM13のフォント用ROMには上記出力情報を生成する際に使用するフォントデータ等が記憶され、ROM13のデータ用ROMには、ハードディスク等の外部メモリ14がないプリンタの場合には、ホストコンピュータ3000上で利用される情報等が記憶されている。
【0013】
CPU12は入力部18を介してホストコンピュータ3000との通信処理が可能となっており、プリンタ1500内の情報等をホストコンピュータ3000に通知できる。RAM19は、CPU12の主メモリや、ワークエリア等として機能するRAMであり、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。尚、RAM19は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。前述したハードディスク(HD)、ICカード等で実現される外部メモリ14は、メモリコントローラ(MC)20によりアクセスが制御される。尚、外部メモリ14はオプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、操作部1501には、操作パネル等で操作するためのスイッチやLED表示器等が配されている。
【0014】
また、前述した外部メモリ14は1個に限らず、複数個備えることも可能であり、内蔵フォントに加えてオプションカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成してもよい。さらに、図示しないNVRAMを有し、操作パネル1501から設定されるプリンタモード設定情報を記憶するようにしてもよい。
【0015】
図2は、プリンタが直接又はネットワーク経由で接続されているホストコンピュータ3000における典型的な印刷処理のモジュールを示す概要図である。図2において、アプリケーション201、グラフィックエンジン202、プリンタドライバ203及びシステムスプーラ204は、外部メモリ11に保存されたファイルとして存在し、実行される場合にOSやそのモジュールを利用するモジュールによってRAM2にロードされ実行されるプログラムモジュールである。
【0016】
また、アプリケーション201及びプリンタドライバ203は、外部メモリ11であるFDや不図示のCD−ROM、或いは不図示のネットワークを経由して外部メモリ11であるHDに追加することが可能である。外部メモリ11に保存されているアプリケーション201はRAM2にロードされて実行されるが、このアプリケーション201からアプリケーションの文書ファイル205の内容をプリンタ1500へ印刷する際には、同様にRAM2にロードされ実行可能となっているグラフィックエンジン202を利用して出力(描画)される。
【0017】
グラフィックエンジン202は、プリンタ(印刷装置)ごとに用意されたプリンタドライバ203を同様に外部メモリ11からRAM2にロードし、アプリケーション201の出力をプリンタドライバ203に設定する。そして、アプリケーション201から受け取るGDI(Graphic Device Interface)関数からDDI(Device Driver Interface)関数に変換して、プリンタドライバ203へDDI関数を出力する。プリンタドライバ203は、グラフィックエンジン202から受け取ったDDI関数に基づいて、プリンタが認識可能な制御コマンド、例えばPDL(Page Description Language)に変換する。変換されたプリンタ制御コマンドは、OSによってRAM2にロードされたシステムスプーラ204を経て、例えばインタフェース21経由で、プリンタ1500へ印刷データとして出力される仕組みとなっている。
【0018】
図3は、ホストコンピュータ3000のCRT10上に表示されるアプリケーション201による操作画面の一例を示す図である。このアプリケーション201は、文書のページ順の入れ替えや複製、削除等の編集に加え、ステイプル、パンチ等の印刷装置の機能設定も行うことができ、指定した印刷装置に印刷することが可能である。
【0019】
図3の左側の領域31には、文書の構造を示すツリー構造が表示されている。本実施形態において、文書は章の集合で構成されており、各章は原稿ページの集合で構成されている。また、図3の右側の領域32には、各ページの印刷プレビューが表示されている。また、アプリケーション201は、ページに対する付加情報として、アノテーションデータ、バリアブルプリントデータ等を付加することができる。
【0020】
図4は、アプリケーション201から起動することができる「アノテーションエディタ」ウィンドウを説明するための図である。「アノテーションエディタ」ウィンドウは、ページにアノテーションデータを付加するためのウィンドウである。このウィンドウでは、図形、文字や画像などをページに付加するための様々な機能が提供されている。図4は、特定のページに対して図形41を付加している様子が示されている。本実施形態においては、図4に示すアノテーションエディタウィンドウは、図3のアプリケーション操作画面にあるツールメニューの「アノテーションエディタの起動」或いはツールバー上の「アノテーションエディタの起動」ボタン33を押下することにより起動される。
【0021】
図5は、アプリケーション201から起動することができる「バリアブルプリントエディタ」ウィンドウを説明するための図である。「バリアブルプリントエディタ」ウィンドウは、ページにバリアブルプリントデータを付加するためのウィンドウである。このウィンドウでは、ページにバリアブルプリントデータを付加するための様々な機能が提供されている。図5は、特定のページに対してバリアブルプリントデータをバリアブルフィールド51として付加している様子が示されている。また、バリアブルフィールドはデータベースとリンクさせることが可能であり、データベースと連結した可変なデータを付加することができる。本実施形態においては、図4に示す「バリアブルプリントエディタ」ウィンドウは、図3のアプリケーション操作画面にあるツールメニューの「バリアブルプリントエディタの起動」又はツールバー上の「バリアブルプリントエディタの起動」ボタン34の押下により起動される。
【0022】
図6は、全てのページにアノテーションデータやバリアブルプリントデータ等の付加情報の設定がされていない場合の文書構成のツリー構造表示例を示す図である。また、図7は、特定のページにアノテーションデータ又はバリアブルプリントデータ等の付加情報の設定がされている場合の文書構成のツリー構造表示例を示す図である。これらのツリー構造表示は、前述したように、図3の画面の左フレームに表示される。
【0023】
図6に示すように、アノテーションデータやバリアブルプリントデータ等が設定されていないページのアイコンには、一例として、ページを示すアイコン61が採用されている。また、アノテーションデータやバリアブルプリントデータが設定されているページは、図7の71や72で示すように、設定されていないページのアイコンに鉛筆マークを入れ、アノテーションデータやバリアブルプリントデータを含まないページと明確に区別することができるようにしている。
【0024】
図8は、アプリケーション201が扱う文書ファイル205の細部データ構造を示す図である。図8に示すように、本実施形態における文書ファイル205では、文書の構造情報、文書の詳細設定情報、章の詳細設定情報、ページの詳細設定情報、原稿情報、アノテーションデータ及びバリアブルプリントデータがそれぞれフィールド801〜807に記録されている。
【0025】
フィールド801の文書の構造情報は、図3に示したアプリケーション操作画面のツリー構造に表示する文書の構造に関する情報である。フィールド802の文書の詳細設定情報は、文書の詳細な設定情報である。フィールド803の章の詳細設定情報は、章の詳細な設定情報である。フィールド804のページの詳細設定情報は、ページごとに設定可能な詳細な設定情報であり、章の詳細設定で文書の詳細設定に対して変更が可能であるのと同様、ページの詳細設定では文書や章の詳細設定に対してページごとに変更可能な設定項目についての設定情報である。フィールド805の原稿情報は、各原稿ページの描画情報であり、図3の右側のプレビュー表示に使用するページ単位の情報である。文書ファイル205には、その他文書ごとに必要な情報が含まれているが、ここでは説明を省略する。尚、フィールド806には、付加情報であるアノテーションデータが記録されている。また、フィールド807には、付加情報であるバリアブルプリントデータが記録されている。
【0026】
図9は、図8のフィールド806にアノテーションデータが含まれていた場合を説明するための概略図である。アノテーションデータとしては、図形908、画像909、テキスト910を付加情報としてページに埋め込むことが可能である。その場合、図8のデータ構造中のアノテーションデータ用フィールド806にそれらのデータは記録されることになる。
【0027】
図10は、図8のフィールド807にバリアブルプリントデータが含まれていた場合を説明するための概略図である。バリアブルプリントデータは、フィールド1008のようにして格納されており、各バリアブルフィールド内にデータが記録されている。また、バリアブルフィールドはデータベースとの連結も可能であり、データベース1009と連結して、ページ内にデータベース内の可変な情報を埋め込むことも可能である。
【0028】
上述したように、本実施形態に係るホストコンピュータ3000では、複数の階層から成る文書データの階層構造を、当該文書データの各階層のデータをアイコン表示したツリー構造を用いて表示することができる。このため、まず、文書データを構成する第1の階層(例えば、章)のデータ情報を取得し、第1の階層に属するそれぞれのデータごとに、それぞれのデータを構成する第2の階層(例えば、ページ)のデータ情報を取得し、第2の階層に属するそれぞれのデータに付加情報が付加されているか否かを判定する。次いで、第1の階層のデータ情報と第2の階層のデータ情報と上記判定結果とを用いて文書データをツリー表示する際のそれぞれの階層のデータを示すアイコンの種類を決定する。そして、決定されたアイコンを用いて文書データの階層構造をツリー構造で表示する。
【0029】
図11は、アプリケーション201におけるツリー構造表示処理の詳細な手順を説明するためのフローチャートである。アプリケーション201は、まず、編集中の文書ファイル205に含まれる章の個数Nを取得する(ステップS1101)。尚、このとき、定数I,Jを0に初期化する。次に、取得した章の個数NがIと一致するか否かを判定する(ステップS1102)。その結果、一致しない場合(No)、定数Iをインクリメント(+1)する(ステップS1103)。次に、第I章のページ数Mを獲得する(ステップS1104)。
【0030】
次に、取得した第I章のページ数Mが定数Jと一致するか否かを判定する(ステップS1105)。その結果、一致しない場合(No)、定数Jをインクリメント(+1)する(ステップS1106)。そして、第I章のJページに付加情報が付加されている場合はF=1、付加されていない場合はF=0をセットする。すなわち、当該ページに、図9と図10で説明したアノテーションデータかバリアブルプリントデータを含んでいるか否かをチェックする。そして、それらのうち1個でも含んでいればフラグF=1を、1個も含まれていなければフラグF=0を当該ページのアイコン情報としてセットする(ステップS1107)。
【0031】
そして、ページの情報として、章番号、ページ番号、フラグのI,J,Fの値を保存し(ステップS1108)、ステップS1105に戻る。ここで、ページ番号が0の場合は、章の情報であることを意味する。そして、最終ページまでページ情報を作成し保存した後、ステップS1105の判断により、JがMと一致しない場合(Yes)は、ステップS1102に戻って次の章の情報を作成する。そして、最終章までこの手順を繰り返して、文書構造を作成するための情報を完成すれば(ステップS1102でYes)、表示処理を行う(ステップS1110)。
【0032】
ステップS1110の表示処理においては、章、ページ及びフラグの情報より、当該ページの使用すべきアイコンを決定する。例えば、ページ番号が0ならば、章の情報を意味するので章のアイコンを表示する。また、ページ番号が0以外であれば、ページの情報を意味するのでページのアイコンを表示する。さらに、ページのフラグが1であれば、付加情報を含んだページであるので、そのことを意味するアイコンを表示する。
【0033】
すなわち、本実施形態におけるツリー構造表示処理では、上記第1の階層(例えば、章)におけるデータ情報又は第2の階層(例えば、ページ)におけるデータ情報が、それぞれのデータの識別情報I,Jを示し、ステップS1107における判定結果が、付加情報が付加されているか否かを示すフラグ情報Fで示される場合、ステップS1110において、第1及び第2の階層における識別情報I,Jに基づくデータに関するフラグ情報Fを用いて、付加情報が付加されていないデータのアイコンを通常のアイコン(ノーマルアイコン)とし、前記付加情報が付加されているデータのアイコンを特別なアイコン(付加情報を格納するアイコン)とすることを特徴とする。
【0034】
尚、ステップS1107でページに付加情報がある場合、このフローチャートではフラグのON/OFFを使用しているが、どの付加情報が付加されているかを情報として保存する方法もある。例えば、ページ設定では、アノテーションデータとバリアブルプリントデータが、これをフラグの代わりに識別できる形式で保存する。そして、ステップS1110で保存されたデータの種類に対応するアイコンをすべてツリー構造で表示すれば、ツリー構造からどの付加情報がページに付加されているかを直ちに判断することができる。但し、この場合は、複数個のアイコンを表示する処理をステップS1110に入れる必要がある。
【0035】
また、付加データを表示する方法として、付加情報が付加されたページにマウスカーソル等を移動したときに、その付加情報をツールチップで通知するような方法もある。
【0036】
さらに、文書データに対して付加情報が付加された場合に、当該付加情報が付加されたデータのアイコンを特別なアイコンに切り替えるようにしてもよい。
【0037】
尚、本発明は、上述したように、複数の機器(例えば、ホストコンピュータ、インタフェース機器、リーダ、プリンタ等)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置等)に適用してもよい。
【0038】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体(または記憶媒体)を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記録媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0039】
さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0040】
本発明を上記記録媒体に適用する場合、その記録媒体には、先に説明したフローチャートに対応するプログラムコードが格納されることになる。
【0041】
【発明の効果】
以上説明したように、本発明によれば、付加情報の設定等により異なる設定がされた文書構造の単位を通常の設定状態とは異なるアイコンで表示することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態に係るツリー構造表示可能なホストコンピュータ3000とプリンタ1500とから構成される情報処理システムの構成を示すブロック図である。
【図2】プリンタが直接又はネットワーク経由で接続されているホストコンピュータ3000における典型的な印刷処理のモジュールを示す概要図である。
【図3】ホストコンピュータ3000のCRT10上に表示されるアプリケーション201による操作画面の一例を示す図である。
【図4】アプリケーション201から起動することができる「アノテーションエディタ」ウィンドウを説明するための図である。
【図5】アプリケーション201から起動することができる「バリアブルプリントエディタ」ウィンドウを説明するための図である。
【図6】全てのページにアノテーションデータやバリアブルプリントデータ等の付加情報の設定がされていない場合の文書構成のツリー構造表示例を示す図である。
【図7】特定のページにアノテーションデータ又はバリアブルプリントデータ等の付加情報の設定がされている場合の文書構成のツリー構造表示例を示す図である。
【図8】アプリケーション201が扱う文書ファイル205の細部データ構造を示す図である。
【図9】図8のフィールド806にアノテーションデータが含まれていた場合を説明するための概略図である。
【図10】図8のフィールド807にバリアブルプリントデータが含まれていた場合を説明するための概略図である。
【図11】アプリケーション201におけるツリー構造表示処理の詳細な手順を説明するためのフローチャートである。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a tree structure display technique for hierarchically expressing the structure of document data including a plurality of chapters and pages in a personal computer or the like.
[0002]
[Prior art]
As a method of displaying the structure of document data in an information processing apparatus such as a personal computer, a tree structure display that can be expressed hierarchically is generally used. For example, when the document structure is composed of chapters and pages, the document structure is hierarchically expressed by using a tree system in which chapters are arranged immediately below the root document and pages are arranged immediately below each chapter, By displaying documents, chapters, and pages with different icons, the expressive power of the hierarchical structure is enhanced. In addition, when the document structure is a heading and its description, the operability is improved by collectively expressing the heading in units of heading groups.
[0003]
[Problems to be solved by the invention]
However, in the conventional tree structure display as described above, the unit of each layer of the document structure such as a document, a chapter, and a page is always displayed with the same icon, and different settings are made in the unit of the document structure belonging to the same layer. The way of expression in the case of was not considered. For example, as a different setting performed in each unit of the document structure, there is a setting in which additional information is added to each page. That is, when different additional information is set for each unit of the document structure, the conventional tree structure display has a problem that it is not possible to determine which document structure unit the additional information is set to. Was.
[0004]
The present invention has been made in view of such circumstances, and has a tree structure in which a unit of a document structure having different settings due to setting of additional information or the like can be displayed with an icon different from a normal setting state. It is intended to provide a display method.
[0005]
[Means for Solving the Problems]
In order to solve the above-described problem, the present invention is a tree structure display method for displaying a hierarchical structure of document data having a plurality of layers using a tree structure in which data of each layer of the document data is displayed as icons. ,
A first acquisition step of acquiring data information of a first hierarchy constituting the document data;
A second acquisition step of acquiring, for each piece of data belonging to the first layer, data information of a second layer constituting the respective data;
A judging step of judging whether or not additional information is added to each data belonging to the second hierarchy;
Using the data information of the first hierarchy, the data information of the second hierarchy, and the determination result of the determination step, a type of an icon indicating data of each hierarchy when tree-displaying the document data is determined. A decision step;
Displaying a hierarchical structure of the document data in a tree structure using the determined icon.
[0006]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a tree structure display technique according to an embodiment of the present invention will be described with reference to the drawings.
[0007]
FIG. 1 is a block diagram illustrating a configuration of an information processing system including a host computer 3000 capable of displaying a tree structure and a printer 1500 according to an embodiment of the present invention. The device or system having the tree structure display function according to the present invention may be a single device, a system including a plurality of devices, or a device that performs tree structure display. , A system connected via a network such as a LAN or a WAN.
[0008]
In FIG. 1, a host computer 3000 includes a computer control unit 2000, a keyboard (KB) 9, a CRT display (CRT) 10, and an external memory 11. The computer control unit 2000 stores figures, images, characters, tables (including spreadsheets, etc.) based on the ROM 3 for storing various data, and a program processing ROM stored in the ROM 3 or a document processing program stored in the external memory 11. And a RAM 2 functioning as a main memory and a work area of the CPU 1. Each device connected to the system bus 4 (the RAM 2 and the ROM 3, the keyboard controller 5 described below, and the CRT The controller 1 generally controls the controller 6, the disk controller 7, and the printer controller 8).
[0009]
The program ROM of the ROM 3 or the external memory 11 stores an operating system program (hereinafter referred to as “OS”) as a control program of the CPU 1 and the like. Font data and the like used at the time of document processing are stored, and various data used at the time of performing the document processing and the like are stored in the data ROM of the ROM 3 or the external memory 11.
[0010]
A keyboard controller (KBC) 5 controls a key input from a KB 9 or a pointing device (not shown). A CRT controller (CRTC) 6 controls display on the CRT 10. The disk controller (DKC) 7 includes a hard disk (HD) storing a boot program, various applications, font data, a user file, an edit file, a printer control command generation program (hereinafter, referred to as a “printer driver”), a flexible disk. (FD) to control access to the external memory 11. The printer controller (PRTC) 8 is connected to the printer 1500 via the bidirectional interface (interface) 21 and executes a communication control process with the printer 1500.
[0011]
The CPU 1 executes, for example, a process of rasterizing an outline font in a display information RAM set on the RAM 2 to enable WYSIWYG on the CRT 10. Further, the CPU 1 opens various registered windows based on commands specified by a mouse cursor or the like (not shown) on the CRT 10 and executes various data processing. When performing printing, the user opens a window related to print settings, and sets a printer and a print processing method for a printer driver including selection of a print mode.
[0012]
The printer 1500 includes a printer control unit 1000, a printing unit 17, an operation unit 1501, and an external memory 14, and is controlled by the CPU 12 in the printer control unit 1000. The printer CPU 12 sends an image as output information to a printing unit (printer engine) 17 connected to the system bus 15 based on a control program or the like stored in a program ROM of the ROM 13 or a control program or the like stored in the external memory 14. Output a signal. The program ROM of the ROM 13 stores a control program of the CPU 12 and the like. The font ROM of the ROM 13 stores font data and the like used when generating the output information. The data ROM of the ROM 13 stores the font data on the host computer 3000 in the case of a printer having no external memory 14 such as a hard disk. Is stored.
[0013]
The CPU 12 can perform communication processing with the host computer 3000 via the input unit 18 and can notify the host computer 3000 of information in the printer 1500 and the like. The RAM 19 is a RAM that functions as a main memory of the CPU 12, a work area, and the like, and is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 19 is used for an output information development area, an environment data storage area, an NVRAM, and the like. The access to the external memory 14 realized by the above-described hard disk (HD), IC card, or the like is controlled by a memory controller (MC) 20. The external memory 14 is connected as an option and stores font data, emulation programs, form data, and the like. In addition, the operation unit 1501 is provided with switches, an LED display, and the like for operating with an operation panel or the like.
[0014]
The external memory 14 described above is not limited to one, and a plurality of external memories can be provided. In addition to the built-in fonts, an option card and a plurality of external memories storing programs for interpreting printer control languages of different languages are connected. You may comprise so that it can be performed. Further, an NVRAM (not shown) may be provided, and printer mode setting information set from the operation panel 1501 may be stored.
[0015]
FIG. 2 is a schematic diagram showing a typical print processing module in a host computer 3000 to which a printer is connected directly or via a network. 2, an application 201, a graphic engine 202, a printer driver 203, and a system spooler 204 exist as files stored in the external memory 11, and are loaded into the RAM 2 by an OS or a module using the module when executed. The program module to be executed.
[0016]
The application 201 and the printer driver 203 can be added to the FD or the CD-ROM (not shown) as the external memory 11 or the HD as the external memory 11 via a network (not shown). The application 201 stored in the external memory 11 is loaded into the RAM 2 and executed. When the content of the document file 205 of the application is printed from the application 201 to the printer 1500, the application 201 is similarly loaded into the RAM 2 and executed. Is output (drawn) using the graphic engine 202.
[0017]
The graphic engine 202 similarly loads a printer driver 203 prepared for each printer (printing device) from the external memory 11 to the RAM 2 and sets the output of the application 201 in the printer driver 203. Then, a GDI (Graphic Device Interface) function received from the application 201 is converted into a DDI (Device Driver Interface) function, and the DDI function is output to the printer driver 203. The printer driver 203 converts, based on the DDI function received from the graphic engine 202, a control command that can be recognized by the printer, for example, a PDL (Page Description Language). The converted printer control command is output as print data to the printer 1500 via the system spooler 204 loaded into the RAM 2 by the OS, for example, via the interface 21.
[0018]
FIG. 3 is a diagram illustrating an example of an operation screen of the application 201 displayed on the CRT 10 of the host computer 3000. The application 201 is capable of setting functions of the printing apparatus such as stapling and punching in addition to editing such as changing the page order of the document, duplicating and deleting, and printing on a designated printing apparatus.
[0019]
In the area 31 on the left side of FIG. 3, a tree structure indicating the structure of the document is displayed. In the present embodiment, a document is composed of a set of chapters, and each chapter is composed of a set of manuscript pages. Further, a print preview of each page is displayed in the area 32 on the right side of FIG. Further, the application 201 can add annotation data, variable print data, and the like as additional information to the page.
[0020]
FIG. 4 is a diagram for explaining an “annotation editor” window that can be started from the application 201. The “annotation editor” window is a window for adding annotation data to a page. This window provides various functions for adding graphics, characters, images, and the like to a page. FIG. 4 shows a state where the graphic 41 is added to a specific page. In the present embodiment, the annotation editor window shown in FIG. 4 is started by pressing the “start annotation editor” button 33 in the tool menu on the application operation screen of FIG. 3 or the “start annotation editor” button 33 on the toolbar. Is done.
[0021]
FIG. 5 is a diagram for explaining a “variable print editor” window that can be started from the application 201. The “variable print editor” window is a window for adding variable print data to a page. This window provides various functions for adding variable print data to a page. FIG. 5 shows a state where variable print data is added as a variable field 51 to a specific page. Further, the variable field can be linked to a database, and variable data linked to the database can be added. In the present embodiment, the “Variable Print Editor” window shown in FIG. 4 is a “Variable Print Editor Startup” button in the tool menu on the application operation screen of FIG. It is activated by pressing.
[0022]
FIG. 6 is a diagram showing an example of a tree structure display of a document structure in a case where additional information such as annotation data and variable print data has not been set for all pages. FIG. 7 is a diagram showing an example of a tree structure display of a document configuration when additional information such as annotation data or variable print data is set on a specific page. These tree structure displays are displayed in the left frame of the screen in FIG. 3, as described above.
[0023]
As illustrated in FIG. 6, as an example, an icon 61 indicating a page is adopted as an icon of a page in which annotation data, variable print data, and the like are not set. Also, as shown by reference numerals 71 and 72 in FIG. 7, a page to which annotation data and variable print data are set is marked with a pencil mark on an icon of a page that has not been set, and a page that does not include annotation data and variable print data. So that it can be clearly distinguished.
[0024]
FIG. 8 is a diagram showing a detailed data structure of the document file 205 handled by the application 201. As shown in FIG. 8, in the document file 205 in the present embodiment, the document structure information, the document detailed setting information, the chapter detailed setting information, the page detailed setting information, the document information, the annotation data, and the variable print data are respectively stored. It is recorded in fields 801-807.
[0025]
The document structure information in the field 801 is information on the structure of the document displayed in the tree structure of the application operation screen shown in FIG. The document detailed setting information in the field 802 is detailed document setting information. The detailed setting information of the chapter in the field 803 is detailed setting information of the chapter. The detailed setting information of the page in the field 804 is detailed setting information that can be set for each page. In the same manner as the detailed setting of the document can be changed in the detailed setting of the chapter, the detailed setting information of the page can be changed. This is setting information about setting items that can be changed for each page with respect to detailed settings of chapters and chapters. The document information in the field 805 is drawing information of each document page, and is page information used for preview display on the right side of FIG. The document file 205 contains other necessary information for each document, but the description is omitted here. The field 806 records annotation data as additional information. In a field 807, variable print data as additional information is recorded.
[0026]
FIG. 9 is a schematic diagram for explaining the case where the annotation data is included in the field 806 of FIG. As the annotation data, a figure 908, an image 909, and a text 910 can be embedded in the page as additional information. In that case, the data is recorded in the annotation data field 806 in the data structure of FIG.
[0027]
FIG. 10 is a schematic diagram for explaining a case where variable print data is included in the field 807 of FIG. The variable print data is stored as in a field 1008, and data is recorded in each variable field. Further, the variable field can be connected to a database, and can be connected to the database 1009 to embed variable information in the database in a page.
[0028]
As described above, the host computer 3000 according to the present embodiment can display the hierarchical structure of the document data including a plurality of layers using the tree structure in which the data of each layer of the document data is displayed as an icon. For this reason, first, the data information of the first layer (for example, chapter) constituting the document data is acquired, and the second layer (for example, chapter) which constitutes each data is obtained for each data belonging to the first layer. , Page), and determines whether or not additional information is added to each data belonging to the second hierarchy. Next, using the data information of the first hierarchy, the data information of the second hierarchy, and the determination result, the type of the icon indicating the data of each hierarchy when the document data is displayed as a tree is determined. Then, the hierarchical structure of the document data is displayed in a tree structure using the determined icon.
[0029]
FIG. 11 is a flowchart illustrating a detailed procedure of the tree structure display processing in the application 201. First, the application 201 acquires the number N of chapters included in the document file 205 being edited (step S1101). At this time, the constants I and J are initialized to 0. Next, it is determined whether or not the obtained number N of chapters matches I (step S1102). As a result, if they do not match (No), the constant I is incremented (+1) (step S1103). Next, the number of pages M of chapter I is obtained (step S1104).
[0030]
Next, it is determined whether or not the acquired page number M of the chapter I matches the constant J (step S1105). As a result, if they do not match (No), the constant J is incremented (+1) (step S1106). Then, if additional information is added to the J page of Chapter I, F = 1 is set, and if not, F = 0 is set. That is, it is checked whether the page contains the annotation data or the variable print data described with reference to FIGS. Then, if at least one of them is included, the flag F = 1 is set as the icon information of the page if no at least one is included (step S1107).
[0031]
Then, the chapter number, the page number, and the values of the flags I, J, and F are stored as page information (step S1108), and the process returns to step S1105. Here, if the page number is 0, it means chapter information. Then, after creating and storing the page information up to the last page, if J is not equal to M by the determination in step S1105 (Yes), the process returns to step S1102 to create the information of the next chapter. This procedure is repeated until the last chapter to complete the information for creating the document structure (Yes in step S1102), and display processing is performed (step S1110).
[0032]
In the display processing in step S1110, an icon to be used on the page is determined based on information on the chapter, page, and flag. For example, if the page number is 0, it means chapter information and the chapter icon is displayed. If the page number is other than 0, it means page information, and the page icon is displayed. Furthermore, if the page flag is 1, the page includes additional information, and an icon indicating that fact is displayed.
[0033]
That is, in the tree structure display processing in the present embodiment, the data information in the first hierarchy (for example, a chapter) or the data information in the second hierarchy (for example, a page) replaces the identification information I and J of each data. If the determination result in step S1107 is indicated by flag information F indicating whether or not additional information has been added, in step S1110, a flag relating to data based on the identification information I and J in the first and second layers is set. Using the information F, the icon of the data to which the additional information is not added is made a normal icon (normal icon), and the icon of the data to which the additional information is added is a special icon (an icon for storing the additional information). It is characterized by doing.
[0034]
Note that if there is additional information on the page in step S1107, the flowchart uses ON / OFF of the flag, but there is also a method of storing which additional information is added as information. For example, in the page setting, the annotation data and the variable print data are stored in a format that can be identified instead of the flag. If all the icons corresponding to the types of data stored in step S1110 are displayed in a tree structure, it is possible to immediately determine which additional information is added to the page from the tree structure. However, in this case, it is necessary to include a process of displaying a plurality of icons in step S1110.
[0035]
Further, as a method of displaying the additional data, there is a method of notifying the additional information by a tool tip when a mouse cursor or the like is moved to a page to which the additional information is added.
[0036]
Further, when additional information is added to the document data, the icon of the data to which the additional information has been added may be switched to a special icon.
[0037]
Note that, as described above, the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), but is not limited to a single device (for example, a copying machine). , Facsimile machines, etc.).
[0038]
Further, an object of the present invention is to supply a recording medium (or a storage medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and a computer (or a CPU or a CPU) of the system or the apparatus. Needless to say, the present invention can also be achieved by the MPU) reading and executing the program code stored in the recording medium. In this case, the program code itself read from the recording medium implements the functions of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention. When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0039]
Further, after the program code read from the recording medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0040]
When the present invention is applied to the recording medium, the recording medium stores program codes corresponding to the flowcharts described above.
[0041]
【The invention's effect】
As described above, according to the present invention, a unit of a document structure that is set differently by setting additional information or the like can be displayed with an icon different from a normal setting state.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of an information processing system including a host computer 3000 capable of displaying a tree structure and a printer 1500 according to an embodiment of the present invention.
FIG. 2 is a schematic diagram showing a typical print processing module in a host computer 3000 to which a printer is connected directly or via a network.
FIG. 3 is a diagram illustrating an example of an operation screen of an application 201 displayed on a CRT 10 of a host computer 3000.
FIG. 4 is a diagram for explaining an “annotation editor” window that can be started from an application 201;
FIG. 5 is a diagram for explaining a “variable print editor” window that can be started from the application 201.
FIG. 6 is a diagram showing an example of a tree structure display of a document structure when additional information such as annotation data and variable print data is not set for all pages.
FIG. 7 is a diagram showing an example of a tree structure display of a document structure when additional information such as annotation data or variable print data is set on a specific page.
FIG. 8 is a diagram showing a detailed data structure of a document file 205 handled by the application 201.
FIG. 9 is a schematic diagram for explaining a case where annotation data is included in a field 806 of FIG. 8;
FIG. 10 is a schematic diagram illustrating a case where variable print data is included in a field 807 of FIG. 8;
FIG. 11 is a flowchart illustrating a detailed procedure of a tree structure display process in an application 201.

Claims (1)

複数の階層から成る文書データの階層構造を、該文書データの各階層のデータをアイコン表示したツリー構造を用いて表示するツリー構造表示方法であって、
前記文書データを構成する第1の階層のデータ情報を取得する第1の取得工程と、
前記第1の階層に属するそれぞれのデータごとに、該それぞれのデータを構成する第2の階層のデータ情報を取得する第2の取得工程と、
前記第2の階層に属するそれぞれのデータに付加情報が付加されているか否かを判定する判定工程と、
前記第1の階層のデータ情報と前記第2の階層のデータ情報と前記判定工程による判定結果とを用いて前記文書データをツリー表示する際のそれぞれの階層のデータを示すアイコンの種類を決定する決定工程と、
決定されたアイコンを用いて前記文書データの階層構造をツリー構造で表示する表示工程と
を有することを特徴とするツリー構造表示方法。
A tree structure display method for displaying a hierarchical structure of document data including a plurality of layers using a tree structure in which data of each layer of the document data is displayed as an icon,
A first acquisition step of acquiring data information of a first hierarchy constituting the document data;
A second acquisition step of acquiring, for each data belonging to the first hierarchy, data information of a second hierarchy constituting the respective data;
A determining step of determining whether or not additional information is added to each data belonging to the second hierarchy;
Using the data information of the first hierarchy, the data information of the second hierarchy, and the determination result of the determination step, a type of an icon indicating data of each hierarchy when tree-displaying the document data is determined. A decision step;
Displaying the hierarchical structure of the document data in a tree structure using the determined icon.
JP2003042591A 2003-02-20 2003-02-20 Tree structure display method Withdrawn JP2004252725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003042591A JP2004252725A (en) 2003-02-20 2003-02-20 Tree structure display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003042591A JP2004252725A (en) 2003-02-20 2003-02-20 Tree structure display method

Publications (1)

Publication Number Publication Date
JP2004252725A true JP2004252725A (en) 2004-09-09

Family

ID=33025832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003042591A Withdrawn JP2004252725A (en) 2003-02-20 2003-02-20 Tree structure display method

Country Status (1)

Country Link
JP (1) JP2004252725A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7934157B2 (en) 2005-12-06 2011-04-26 Canon Kabushiki Kaisha Utilization of tree view for printing data
DE112021007828T5 (en) 2021-08-27 2024-03-28 Fanuc Corporation TEACHING DEVICE

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7934157B2 (en) 2005-12-06 2011-04-26 Canon Kabushiki Kaisha Utilization of tree view for printing data
DE112021007828T5 (en) 2021-08-27 2024-03-28 Fanuc Corporation TEACHING DEVICE

Similar Documents

Publication Publication Date Title
US7814417B2 (en) Document processing method and system therefor
US7606823B2 (en) Document processing apparatus and method
US8089653B2 (en) Document processing apparatus, method and program for variable printing with document file dividing
US7188311B2 (en) Document processing method and apparatus, and print control method and apparatus
JP5049515B2 (en) Information processing apparatus, information processing method, and information processing program
US20060072137A1 (en) Embedding function, information processing method therefor, and program and storage medium used therewith
US20050190405A1 (en) Document conversion method and apparatus
US20090204888A1 (en) Document processing apparatus, document processing method, and storage medium
JP3679678B2 (en) Printing control apparatus and control method therefor
JP2006293598A (en) Document processing system
US20100232910A1 (en) Information processing apparatus, information processing method, program, and storage medium
JP5084649B2 (en) Information processing apparatus, information processing method, and program
JP2005115683A (en) Print setting method and information processor
JP4439864B2 (en) Document processing apparatus, document processing method, and program
JP3884876B2 (en) Information processing apparatus, information processing method, and storage medium storing computer-readable program
JP3634680B2 (en) Information processing apparatus, control method therefor, and storage medium
JP2004252725A (en) Tree structure display method
JP4956259B2 (en) Information processing apparatus, control method therefor, and computer program
JP4100912B2 (en) Information processing apparatus, control method therefor, program, and storage medium
JP2006202025A (en) Document processing method, print control method, and its system
JP2013161459A (en) Document processing method
JP2004287907A (en) Disclosure document creation device
JP2008269260A (en) Data processor, data processing method and program
JP2009289121A (en) Information processor, output device, output processing method and program
JP4794812B2 (en) Preview display method and preview display device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060509