JP5569028B2 - Display control apparatus, display control method, and program - Google Patents
Display control apparatus, display control method, and program Download PDFInfo
- Publication number
- JP5569028B2 JP5569028B2 JP2010037721A JP2010037721A JP5569028B2 JP 5569028 B2 JP5569028 B2 JP 5569028B2 JP 2010037721 A JP2010037721 A JP 2010037721A JP 2010037721 A JP2010037721 A JP 2010037721A JP 5569028 B2 JP5569028 B2 JP 5569028B2
- Authority
- JP
- Japan
- Prior art keywords
- language used
- operating system
- resource
- program
- layout information
- 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
Links
Images
Description
本発明は、設定された言語の文字を使用してユーザーインターフェースを表示する表示制御装置、この表示制御方法、及び、プログラムに関する。 The present invention relates to a display control apparatus that displays a user interface using characters in a set language, a display control method thereof, and a program.
コンピューターのグラフィカルユーザーインターフェースとして、コマンドボタン等を配置したウインドウを表示する装置が一般によく知られている。コマンドボタンの配置や形状等は、予め定型化されて格納され、ウインドウが表示される際に読み出される(例えば、特許文献1参照)。また、ウインドウに表示される用語は、オペレーティングシステムに設定された言語で表示されることが一般的である。 As a computer graphical user interface, a device that displays a window in which command buttons and the like are arranged is generally well known. The arrangement, shape, and the like of the command buttons are pre-set and stored in advance, and are read when the window is displayed (see, for example, Patent Document 1). Further, the term displayed in the window is generally displayed in a language set in the operating system.
近年、コンピューターのオペレーティングシステムの進歩により、オペレーティングシステム上で様々な言語を容易に切り替えて使用できるようになった。しかしながら、使用する言語によって、コマンドボタンの機能、目的、操作方法等を示す文字を表示するために必要な表示領域の広さが異なるため、文字が表示領域に収まらず、一部の文字が表示されない等の問題を生じることがあった。
本発明は、上述した事情に鑑みてなされたものであり、文字の表示形態を崩さないように、様々な言語でグラフィカルユーザーインターフェースを表示することが可能な表示制御装置、表示制御方法、及び、プログラムを提供することを目的とする。
In recent years, advances in computer operating systems have made it possible to easily switch between various languages on the operating system. However, depending on the language used, the size of the display area required to display the characters indicating the function, purpose, operation method, etc. of the command button differs, so the characters do not fit in the display area and some characters are displayed. The problem that it was not done sometimes occurred.
The present invention has been made in view of the above-described circumstances, and a display control apparatus, a display control method, and a display control apparatus capable of displaying a graphical user interface in various languages so as not to destroy the display form of characters. The purpose is to provide a program.
上記課題を解決するため、本発明は、オペレーティングシステム上で動作するプログラムのユーザーインターフェースを表示画面に表示させる表示制御装置において、
前記ユーザーインターフェースに配置される、文字を含むオブジェクトのリソースと、前記ユーザーインターフェースの前記オブジェクトの配置を規定するレイアウト情報とを使用言語ごとに記憶する記憶部と、前記オペレーティングシステムの使用言語と前記プログラムの使用言語の設定に基づいて前記レイアウト情報を選択し、選択した前記レイアウト情報に従って前記オブジェクトを配置することによりユーザーインターフェースとしての画面を表示させる表示制御部と、を備え、前記記憶部は、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致する場合に対応する設定一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致しない場合に対応する設定不一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、を前記使用言語ごとに記憶し、前記表示制御部は、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致する場合は前記設定一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致しない場合は前記オペレーティングシステムの使用言語に対応する前記設定不一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置すること、を特徴とする。
本発明によれば、オペレーティングシステムの使用言語と、オペレーティングシステム上で動作するプログラムの使用言語とが同一の言語に設定された場合と、異なる言語に設定された場合とで、それぞれ専用のユーザーインターフェースのレイアウトが用意され、使用言語の設定状態に適したレイアウトに従ってオブジェクトが配置されたユーザーインターフェースが表示されるので、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
In order to solve the above problems, the present invention provides a display control apparatus for displaying a user interface of a program operating on an operating system on a display screen.
Wherein are arranged in the user interface, wherein the resource objects, including characters, a storage unit for the storing and layout information defining the placement of the object in the user interface for each language, and language of the operating system A display control unit that displays the screen as a user interface by selecting the layout information based on a setting of a language used by the program and arranging the objects according to the selected layout information, and the storage unit includes: wherein the resource and the layout information of the objects for setting matches corresponding to the case where the operating system language of the language of the program matches, use of the operating system language and the program Stores, and resources and the layout information of the objects for setting mismatch corresponds to the case where the language and do not match for each of the language, the display control unit, the use of the programs and language of the operating system If the languages match, the resource of the object is arranged according to the layout information for the setting match, and if the language used by the operating system does not match the language used by the program, it corresponds to the language used by the operating system. The resource of the object is arranged according to the layout information for the setting mismatch .
According to the present invention, a dedicated user interface is used when the language used by the operating system and the language used by the program operating on the operating system are set to the same language and when different languages are set. Are prepared, and a user interface in which objects are arranged according to a layout suitable for the setting state of the language used is displayed, so that a graphical user interface with excellent visibility can be displayed in various languages.
また、本発明は、上記の表示制御装置において、前記記憶部は、前記オペレーティングシステムに設定可能な各言語に対応する前記レイアウト情報を記憶し、前記表示制御部は、前記オペレーティングシステムの使用言語に対応し、かつ、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致するか否かに対応する前記レイアウト情報を選択することを特徴とする。
本発明によれば、オペレーティングシステムに設定され得る言語に対応したレイアウト情報が用意され、オペレーティングシステムの使用言語とオペレーティングシステム上で動作するプログラムの使用言語とが同一か否かに適合し、かつ、オペレーティングシステムに設定された言語に対応したレイアウト情報に従って、ユーザーインターフェースが表示されるので、文字等のオブジェクトの表示形態が崩れるといった事態を解消し、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
Further, according to the present invention, in the display control device, the storage unit stores the layout information corresponding to each language that can be set in the operating system, and the display control unit stores a language used in the operating system. The layout information corresponding to whether or not the language used by the operating system matches the language used by the program is selected.
According to the present invention, layout information corresponding to a language that can be set in the operating system is prepared, adapted to whether or not the language used by the operating system and the language used by the program operating on the operating system are the same, and Since the user interface is displayed according to the layout information corresponding to the language set in the operating system, the situation where the display form of characters and other objects is lost is eliminated, and a graphical user interface with excellent visibility is displayed in various languages. Can be displayed.
また、本発明は、上記の表示制御装置において、前記レイアウト情報は、前記ユーザーインターフェースとして表示されるダイアログボックスにおける文字表示領域のサイズを規定する情報を含むことを特徴とする。
本発明によれば、レイアウト情報によって、ユーザーインターフェースとして表示されるダイアログボックスにおける文字表示領域のサイズが規定されるので、このレイアウト情報に従ってユーザーインターフェースを表示することにより、どのような言語を用いる場合であっても、必要な文字表示領域のサイズを適切に確保することができ、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
In the display control apparatus according to the present invention, the layout information includes information defining a size of a character display area in a dialog box displayed as the user interface.
According to the present invention, since the layout information defines the size of the character display area in the dialog box displayed as the user interface, any language can be used by displaying the user interface according to the layout information. Even so, the size of the necessary character display area can be appropriately secured, and a graphical user interface with excellent visibility can be displayed in various languages.
また、本発明は、上記課題を解決するため、オペレーティングシステム上で動作するプログラムのユーザーインターフェースを表示画面に表示させる表示制御方法であって、予め、前記ユーザーインターフェースに配置される、文字を含むオブジェクトのリソース、及び、前記ユーザーインターフェースの前記オブジェクトの配置を規定するレイアウト情報が記憶され、前記オブジェクトのリソース及び前記レイアウト情報として、前記使用言語ごとに、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致する場合に対応する設定一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致しない場合に対応する設定不一致時用の前記オブジェクトのリソース及び前記レイアウト情報とが記憶された構成において、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致する場合は前記設定一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致しない場合は前記オペレーティングシステムの使用言語に対応する前記設定不一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置することによりユーザーインターフェースとしての画面を表示させること、を特徴とする。
本発明によれば、オペレーティングシステムの使用言語と、オペレーティングシステム上で動作するプログラムの使用言語とが同一の言語に設定された場合と、異なる言語に設定された場合とで、それぞれ専用のユーザーインターフェースのレイアウトが用意され、使用言語の設定状態に適したレイアウトに従ってオブジェクトが配置されたユーザーインターフェースが表示されるので、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
Further, the present invention is a display control method for displaying a user interface of a program operating on an operating system on a display screen in order to solve the above-described problem , and an object including characters arranged in advance in the user interface resources and, the layout information defining the placement of the objects of the user interface is stored, as a resource, and the layout information of the object, for each of the language, use of the programs and language of the operating system setting mismatch and language corresponds to the case do not match the the resource and the layout information of the object, the programs and language of the operating system for setting matches corresponding to the case where the language and match In the configuration and resources, and the layout information of the object of use is stored, the resource of the object in accordance with the layout information for the time the setting match if used languages Language and the program of the operating system matches If the language used by the operating system and the language used by the program do not match, the resource of the object is arranged according to the layout information for the setting mismatch corresponding to the language used by the operating system. The screen is displayed as a feature.
According to the present invention, a dedicated user interface is used when the language used by the operating system and the language used by the program operating on the operating system are set to the same language and when different languages are set. Are prepared, and a user interface in which objects are arranged according to a layout suitable for the setting state of the language used is displayed, so that a graphical user interface with excellent visibility can be displayed in various languages.
本発明は、上記課題を解決するため、オペレーティングシステム上で動作するプログラムのユーザーインターフェースを表示画面に表示させる表示制御装置を制御する制御部が実行するプログラムであって、予め、前記ユーザーインターフェースに配置される、文字を含むオブジェクトのリソース、及び、前記ユーザーインターフェースの前記オブジェクトの配置を規定するレイアウト情報が記憶され、前記オブジェクトのリソース及び前記レイアウト情報として、前記使用言語ごとに、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致する場合に対応する設定一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致しない場合に対応する設定不一致時用の前記オブジェクトのリソース及び前記レイアウト情報とが記憶された構成において、前記制御部が、前記オペレーティングシステムの使用言語と前記プログラムの使用言語の設定に基づいて前記レイアウト情報を選択し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致する場合は前記設定一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致しない場合は前記オペレーティングシステムの使用言語に対応する前記設定不一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置することによりユーザーインターフェースとしての画面を表示させること、を特徴とする。
本発明のプログラムを制御部が実行することにより、オペレーティングシステムの使用言語と、オペレーティングシステム上で動作するプログラムの使用言語とが同一の言語に設定された場合と、異なる言語に設定された場合とで、それぞれ専用のユーザーインターフェースのレイアウトが用意され、使用言語の設定状態に適したレイアウトに従ってオブジェクトが配置されたユーザーインターフェースが表示されるので、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
In order to solve the above problems, the present invention is a program executed by a control unit that controls a display control device that displays a user interface of a program operating on an operating system on a display screen, and is arranged in advance in the user interface . is the resource objects, including text, and layout information defining the placement of the objects of the user interface is stored, as a resource, and the layout information of the object, for each of the language, the operating system The object resource and the layout information for setting matching corresponding to the case where the language used matches the language used by the program, and the language used by the operating system and the language used by the program match. In the configuration and resources, and the layout information of the objects for setting mismatch corresponding to when there is no stored, the control unit, the layout based on the setting of the language of the operating system language and the program Information is selected, and if the language used by the operating system and the language used by the program match, the resource of the object is arranged according to the layout information when the settings match, and the language used by the operating system and the program this If language does not match for displaying a screen as a user interface by placing a resource of said object in accordance with the layout information for the time the setting mismatch corresponding to language of the operating system , Characterized by.
When the control unit executes the program of the present invention, the language used for the operating system and the language used for the program operating on the operating system are set to the same language, and different languages are set. In addition, each user interface layout is prepared, and the user interface with objects arranged according to the layout suitable for the language used is displayed, so a graphical user interface with excellent visibility is displayed in various languages. it can.
本発明によれば、使用言語の設定状態に適したレイアウトに従ってオブジェクトが配置されたユーザーインターフェースが表示されるので、文字の崩れ等を生じることなく、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。 According to the present invention, since a user interface in which objects are arranged according to a layout suitable for the setting state of the language used is displayed, a graphical user interface excellent in visibility can be displayed in various languages without causing character collapse or the like. Can be displayed.
以下、図面を参照して本発明の実施形態について説明する。
図1は、本発明を適用した実施形態に係るプリントシステム100の構成を示すブロック図である。
この図1に示すように、プリントシステム100は、ホストコンピューター1と、ホストコンピューター1に対して通信可能に接続されたプリンター4とを備える。
表示制御装置としてのホストコンピューター1は、各種プログラムを実行するCPU11、CPU11により実行される基本制御プログラム等を記憶したROM12、CPU11が実行するプログラムや処理対象のデータ等を一時的に記憶するワークエリアを形成するRAM13、プリンター4に対して有線または無線接続され、所定の通信プロトコルを実行してプリンター4との間で制御コマンド等を送受信するインターフェース14、マウスやキーボード等の入力デバイス(図示略)に接続され、これら入力デバイスの操作を検出して操作信号をCPU11に出力する入力部15、CPU11の制御に従ってディスプレイ17の表示画面に各種画像や文字等を表示する出力部16、及び、情報を不揮発的に記憶する磁気的または光学的記憶装置で構成され、プログラムやデータを記憶する記憶部2を備え、これらの各部はバス19を介して相互に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a
As shown in FIG. 1, the
A
記憶部2には、CPU11が実行するプログラムとして、各種プログラムが動作するプラットホームを構成するオペレーティングシステム21、オペレーティングシステム21上で動作するアプリケーションプログラム22、プリンター4を制御するためのプリンタードライバー23、プリンタードライバー23の機能設定等を行うためのユーザーインターフェースを表示するUI制御モジュール24、ユーザーインターフェースの表示要素やレイアウトを規定する情報を格納したUIリソース25、及び、プリンタードライバー23のユーザーインターフェースで使用される言語の設定を格納した設定ファイル26が記憶されている。
The
入力部15及び出力部16は、出力部16によってディスプレイ17の表示画面に操作用画面や設定用画面等を表示して、この表示に基づく操作を入力部15によって検出することにより、ユーザーがホストコンピューター1を操作するためのユーザーインターフェースを構成する。本実施形態では、出力部16がディスプレイ17に表示する画面を、ユーザーインターフェースとして説明する。
The
記録装置としてのプリンター4は、ホストコンピューター1の制御に従って、記録媒体としての所定の用紙に文字、画像、記号等を印刷する。プリンター4は、例えば、ロール状に巻かれた感熱記録紙である感熱ロール紙を、ローラー状のプラテン(図示略)により搬送し、この感熱ロール紙の記録面に、発熱素子を備えたラインサーマルヘッド(図示略)によって熱を与えることによりモノクロまたは多色で文字や画像を印刷(記録)するサーマルラインプリンターである。
プリンター4は、制御プログラムを実行することによりプリンター4の各部を制御するCPU40、フラッシュメモリー等の書換え可能な不揮発性メモリーで構成され、CPU40が実行する基本制御プログラム等を記憶する記憶部41、ホストコンピューター1に有線または無線接続され、所定の通信プロトコルを実行してホストコンピューター1との間で制御コマンド等を送受信するインターフェース42、プリンター4の動作状態等を表示するLED等を備えたディスプレイ(図示略)やプリンター4の動作に係る設定等を行うための操作部(図示略)を備えたコントロールパネル43、上述したラインサーマルヘッド及びプラテンを含む各部により感熱ロール紙への印刷を実行するプリントエンジン45、及び、CPU40から入力される文字や画像のデータに基づいて、プリントエンジン45を制御して文字や画像を印刷させるエンジンコントローラー44を備え、これらの各部はバス49により相互に接続されている。
The
The
ホストコンピューター1は、CPU11によりオペレーティングシステム21を実行してホストコンピューター1の各部を初期化するとともに、アプリケーションプログラム22のプラットホームを構成する。プラットホームとしてのオペレーティングシステム21上ではプリンタードライバー23がCPU11により実行され、インターフェース14を介して接続されたプリンター4を検出し、プリンター4との間の通信を初期化するとともに、プリンター4の動作の監視を行う。
ここで、入力部15が検出した操作によりアプリケーションプログラム22の実行が指示されると、CPU11によってアプリケーションプログラム22が読み出され、アプリケーションプログラム22による文書編集、画像編集等の各種機能が実現される。
The
Here, when the execution of the
アプリケーションプログラム22の機能により作成された文書や画像等の印刷が指示されると、印刷対象の文書あるいは画像のデータがアプリケーションプログラム22からプリンタードライバー23に出力され、プリンタードライバー23は、入力された印刷対象の文書あるいは画像のデータに基づいて、印刷用画像と印刷指示のコマンドとを含む印刷データを生成し、インターフェース14を介してプリンター4に送信する。
When printing of a document or image created by the function of the
図2は、プリンタードライバー23の機能設定を行うためのユーザーインターフェースとして表示される設定用画面3の具体的な構成例を示す図である。
図2に示す設定用画面3には、画面のタイトル32、複数のタブ33、各種のボタン34、案内表示用テキスト35等が配置されている。設定用画面3は、プリンタードライバー23の機能により、用紙サイズ、印刷方向、印刷時の縮小率等を設定するためのダイアログボックスである。ホストコンピューター1では、プリンタードライバー23の動作に関して使用する言語を複数の言語の中から選択して設定可能であり、例えば、日本語、英語、中国語、ドイツ語、フランス語等の24カ国語から一つの言語を選択して設定できる。設定用画面3は、プリンタードライバー23の使用言語として設定された言語で表示される。例えば、設定用画面3に配置されるタイトル32、タブ33の名称、ボタン34の名称、案内表示用テキスト35等は、使用言語として設定された言語で表示される。
FIG. 2 is a diagram illustrating a specific configuration example of the
On the
また、ホストコンピューター1においては、オペレーティングシステム21の使用言語も複数の言語の中から選択して設定可能であり、例えば、日本語、英語、中国語、ドイツ語、フランス語等の24カ国語から一つの言語を選択して設定できる。このため、オペレーティングシステム21の機能に係るウインドウ等のユーザーインターフェースは、オペレーティングシステム21の使用言語として設定された言語で、例えば図2に示したウインドウと同様に表示される。
In the
ところで、図2に示した設定用画面3のように、ウインドウ内に配置されるテキストの表示に必要な面積は、言語によって大きく異なる。例えば、タイ語で使用されるタイ文字は他の言語の文字に比べて縦方向に長いので、タイ文字の表示に必要な領域は他の言語に比べて縦長になる。また、例えば、漢字等の表意文字を使用する場合は欧米語に比べて狭い表示領域で多くの意味を表示できる。このため、設定用画面3においてテキストを配置する位置、及び、テキストの表示領域のサイズは、使用する言語に適した位置及びサイズにすることが望ましい。特に、設定用画面3のような設定用のダイアログボックスでは、設定項目に応じた数の、非常に多くの文字列が表示されるので、文字の表示に必要な面積を確保するためには文字列や画像の配置(レイアウト)の調整を必要とする場合もある。
By the way, as in the
しかし、設定用画面3のようなユーザーインターフェースは、オペレーティングシステム21の機能によって表示されることが多く、設定用画面3におけるテキストの表示領域は、オペレーティングシステム21の使用言語としての設定された言語に合わせた位置およびサイズとなる。このため、オペレーティングシステム21の使用言語として設定された言語と、プリンタードライバー23の使用言語とが一致しない場合、設定用画面3におけるテキストの表示領域に必要なテキストが収まらず、文字が表示しきれなかったり、余分なスペースが余ってしまったりすることがある。
本実施形態では、設定用画面3におけるテキストのレイアウトを規定する情報を、使用言語として設定可能な言語の数だけUIリソース25に含め、さらに、オペレーティングシステム21の使用言語とプリンタードライバー23の使用言語とが一致するか否かに対応して、テキストのレイアウトを規定する2種類の情報を用意し、記憶部2に記憶している。この構成により、どのような設定がなされても、ユーザーインターフェースにおいてテキストを美しく表示できる。
However, the user interface such as the
In the present embodiment, information that defines the text layout on the
図3は、UIリソース25の構成を模式的に示す図である。
この図3には、24言語に対応する場合のUIリソース25の構成を示す。すなわち、UIリソース25には、日本語、中国語(簡体字)、台湾後(繁体字中国語)、韓国語、(中略)、タイ語、ベトナム語の24言語のそれぞれに対応させて、テキスト等の配置を規定する情報であるコントロールリソースと、このコントロールリソースに従ってユーザーインターフェースに配置されるテキストである文字列リソースとが含まれている。
各言語に対応するコントロールリソースと文字列リソースは2組用意されており、一組はオペレーティングシステム21の使用言語とプリンタードライバー23の使用言語とが一致する場合に対応する「設定一致時使用リソース」であり、もう一組は、オペレーティングシステム21の使用言語とプリンタードライバー23の使用言語とが一致しない場合に対応する「設定不一致時使用リソース」である。
コントロールリソースは、ユーザーインターフェースとして表示される画面(設定用画面3等)における文字列や画像の配置位置、文字列を表示する領域のサイズ等を規定する情報を含む。このコントロールリソースを言語毎に設けることで、各々のコントロールリソースは、対応する言語で使用される文字のサイズや文字間マージンに適したサイズの表示領域と、このサイズの表示領域を確保できるようなオブジェクトの配置を規定する。
FIG. 3 is a diagram schematically illustrating the configuration of the
FIG. 3 shows the configuration of the
Two sets of control resources and character string resources corresponding to each language are prepared, and one set corresponds to a “use resource when setting matches” corresponding to the case where the language used by the
The control resource includes information that defines a character string, an arrangement position of an image, a size of an area for displaying the character string, and the like on a screen (such as the setting screen 3) displayed as a user interface. By providing this control resource for each language, each control resource can secure a display area of a size suitable for the size of characters and margins used in the corresponding language, and a display area of this size. Specifies the placement of objects.
また、各言語には一意のIDが付与されている。さらに、UIリソース25には、ユーザーインターフェースとして表示される画像オブジェクトであるイメージリソース、及び、ユーザーインターフェースに関するバイナリデータであるバイナリリソースが含まれる。図3に例示するように、UIリソース25には、全言語に共通の一組のイメージリソース及びバイナリリソースが含まれる。
Each language is given a unique ID. Further, the
図4は、ホストコンピューター1の動作を示すフローチャートであり、UIリソース25を用いてユーザーインターフェースとしての画面をディスプレイ17に表示する動作を示す。この図4に示す動作の実行時、CPU11は表示制御部として機能する。
CPU11がアプリケーションプログラム22を実行中に、入力デバイスの操作によってプリンタードライバー23の機能に関する設定が指示されると、アプリケーションプログラム22の機能によりプリンタードライバー23のユーザーインターフェースが呼び出される(ステップS1)。
この呼び出しに応じて、CPU11は、UI制御モジュール24を起動し(ステップS2)、まず、オペレーティングシステム21の使用言語として設定された言語を検出し、UIリソース25を参照して、オペレーティングシステム21の使用言語に対応するIDを取得する(ステップS3)。
FIG. 4 is a flowchart showing an operation of the
While the
In response to this call, the
次に、CPU11は、UI制御モジュール24の機能により、プリンタードライバー23の使用言語として設定された言語を検出し、UIリソース25を参照して、プリンタードライバー23の使用言語に対応するIDを取得する(ステップS4)。
そして、CPU11は、UI制御モジュール24の機能によって、取得した2つのID、すなわちオペレーティングシステム21の使用言語に対応するIDとプリンタードライバー23の使用言語に対応するIDを比較し(ステップS5)、一致するかどうかを判別する(ステップS6)。
Next, the
Then, the
ここで、オペレーティングシステム21の使用言語に対応するIDとプリンタードライバー23の使用言語に対応するIDとが一致する場合(ステップS6;Yes)、CPU11は、UIリソース25から、オペレーティングシステム21の使用言語として設定された言語に対応するコントロールリソース及び文字列リソースのうち、「設定一致時使用リソース」を取得し(ステップS7)、取得したコントロールリソースに従って、文字列リソース中のテキストやイメージリソース中の画像等をレイアウトして、ユーザーインターフェースとしての画面を表示する(ステップS8)。
一方、オペレーティングシステム21の使用言語に対応するIDとプリンタードライバー23の使用言語に対応するIDとが一致しない場合(ステップS6;No)、CPU11は、UIリソース25から、オペレーティングシステム21の使用言語として設定された言語に対応するコントロールリソース及び文字列リソースのうち、「設定不一致時使用リソース」を取得し(ステップS9)、取得したコントロールリソースに従って、文字列リソース中のテキストやイメージリソース中の画像等をレイアウトして、ユーザーインターフェースとしての画面を表示する(ステップS8)。
Here, when the ID corresponding to the language used by the
On the other hand, if the ID corresponding to the language used by the
その後、CPU11は、表示されたユーザーインターフェースとしての画面を用いてプリンタードライバー23に関する設定が変更されたか否かを判別し(ステップS10)、設定が変更された場合は(ステップS10;Yes)、変更後の設定内容に従って設定ファイル26を変更し、設定ファイル26に最新の設定内容を反映させて(ステップS11)、本処理を終了する。また、プリンタードライバー23に関する設定が変更されなかった場合は、そのまま本処理を終了する。
Thereafter, the
以上のように、本発明を適用した実施形態によれば、オペレーティングシステム21上で動作するプリンタードライバー23のユーザーインターフェースをディスプレイ17の画面に表示させるホストコンピューター1が、ユーザーインターフェースのレイアウトを規定するレイアウト情報と、レイアウトに従って配置される文字を含むオブジェクトとを含むUIリソース25を記憶する記憶部2を有し、CPU11が、オペレーティングシステム21の使用言語とプリンタードライバー23の使用言語との設定に基づいてUIリソース25に含まれるレイアウト情報としてのコントロールリソースを選択し、選択したコントロールリソースに従って文字列リソース及びイメージリソースのオブジェクトを配置することによりユーザーインターフェースとしての画面を表示させ、記憶部2に記憶されるUIリソース25には、オペレーティングシステム21の使用言語とプリンタードライバー23の使用言語とが一致する場合と、一致しない場合とのそれぞれに対応するコントロールリソース及び文字列リソースが含まれる。これにより、オペレーティングシステム21の使用言語とプリンタードライバー23の使用言語とが同一の言語に設定された場合と、異なる言語に設定された場合とで、それぞれ専用のユーザーインターフェースのレイアウトが用いられ、使用言語の設定状態に適したレイアウトに従ってオブジェクトが配置されたユーザーインターフェースが表示されるので、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
As described above, according to the embodiment to which the present invention is applied, the
また、記憶部2は、オペレーティングシステム21に設定可能な各言語に対応するコントロールリソース及び文字列リソースを含むUIリソース25を記憶し、CPU11は、オペレーティングシステム21の使用言語に対応し、かつ、オペレーティングシステム21の使用言語とプリンタードライバー23の使用言語とが一致するか否かに対応するコントロールリソース及び文字列リソースを、UIリソース25から選択するので、オペレーティングシステム21の使用言語とオペレーティングシステム21上で動作するプリンタードライバー23の使用言語とが同一か否かに適合し、かつ、オペレーティングシステム21に設定された言語に対応したレイアウトに従って、ユーザーインターフェースが表示されるので、文字等のオブジェクトの表示形態が崩れるといった事態を解消し、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
The
さらに、UIリソース25に含まれるコントロールリソースは、ユーザーインターフェースとして表示されるダイアログボックスにおける文字表示領域のサイズを規定する情報を含み、コントロールリソースによって、ユーザーインターフェースとして表示されるダイアログボックスにおける文字表示領域のサイズが規定されるので、このレイアウト情報に従ってユーザーインターフェースを表示することにより、どのような言語を用いる場合であっても、必要な文字表示領域のサイズを適切に確保することができ、視認性に優れたグラフィカルユーザーインターフェースを様々な言語で表示できる。
Further, the control resource included in the
なお、上記実施形態は本発明を適用した一具体例を示すものであり、本発明はこれに限定されるものではない。例えば、上記実施形態において、CPU11は、プリンタードライバー23の設定に係るダイアログボックスを表示する場合にUI制御モジュール24を起動し、UIリソース25から適切なコントロールリソース及び文字列リソースを選択するものとして説明したが、本発明はこれに限定されるものではなく、ユーザーインターフェースとして表示される画面であればダイアログボックス以外の画面についても適用可能であるし、アプリケーションプログラム22や、その他のプログラムに係るユーザーインターフェースの表示時に適用することも可能である。
また、上述した実施形態では、ホストコンピューター1が内蔵する記憶部2に、アプリケーションプログラム22、プリンタードライバー23、UI制御モジュール24及びUIリソース25を記憶した構成として説明したが、これらのプログラム及びデータは、ホストコンピューター1に外部接続された、或いはネットワークを介してホストコンピューター1により利用可能な別の記憶装置に記憶され、必要に応じてCPU11に提供されるものであってもよい。
また、上記実施形態では、プリンター4が、発熱素子を備えたラインサーマルヘッドにより感熱ロール紙に印刷するサーマルプリンターである場合を例に挙げて説明したが、本発明を適用可能な記録装置は、予め記憶した画像データを印刷できるプリンターであれば特に制限されず、ドットインパクトプリンターやインクジェット式プリンター、レーザープリンター等にも本発明を適用可能であり、他の装置に組み込まれるプリンターにも本発明を適用可能である。
In addition, the said embodiment shows one specific example to which this invention is applied, and this invention is not limited to this. For example, in the above embodiment, it is assumed that the
In the above-described embodiment, the
In the above-described embodiment, the case where the
1…ホストコンピューター(表示制御装置)、2…記憶部、4…プリンター、11…CPU(表示制御部)、17…ディスプレイ(表示画面)、21…オペレーティングシステム、22…アプリケーションプログラム、23…プリンタードライバー(プログラム)、24…UI制御モジュール、25…UIリソース(レイアウト情報、オブジェクト)、100…プリントシステム。
DESCRIPTION OF
Claims (4)
前記ユーザーインターフェースに配置される、文字を含むオブジェクトのリソースと、前記ユーザーインターフェースの前記オブジェクトの配置を規定するレイアウト情報とを使用言語ごとに記憶する記憶部と、
前記オペレーティングシステムの使用言語と前記プログラムの使用言語の設定に基づいて前記レイアウト情報を選択し、選択した前記レイアウト情報に従って前記オブジェクトを配置することによりユーザーインターフェースとしての画面を表示させる表示制御部と、を備え、
前記記憶部は、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致する場合に対応する設定一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致しない場合に対応する設定不一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、を前記使用言語ごとに記憶し、
前記表示制御部は、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致する場合は前記設定一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致しない場合は前記オペレーティングシステムの使用言語に対応する前記設定不一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置すること、
を特徴とする表示制御装置。 In a display control device for displaying a user interface of a program operating on an operating system on a display screen,
Wherein are arranged in the user interface, and resource objects, including characters, a storage unit for the storing and layout information defining the placement of the object in the user interface for each language,
A display control unit that displays the screen as a user interface by selecting the layout information based on a setting of a language used by the operating system and a language used by the program, and arranging the objects according to the selected layout information; With
The storage unit includes the resource and layout information of the object for setting matching corresponding to the case where the language used by the operating system and the language used by the program match, the language used by the operating system, and the program The resource of the object and the layout information for setting mismatch corresponding to the case where the language used does not match are stored for each language used ,
The display control unit, when the language used by the operating system and the language used by the program match, arranges the resource of the object according to the layout information for the setting match, and uses the language used by the operating system and the program If the language used does not match, the resource of the object is arranged according to the layout information for the setting mismatch corresponding to the language used by the operating system ,
A display control device.
を特徴とする請求項1記載の表示制御装置。 The layout information includes information defining a size of a character display area in a dialog box displayed as the user interface;
Claim 1 Symbol placement of a display control apparatus and said.
予め、前記ユーザーインターフェースに配置される、文字を含むオブジェクトのリソース、及び、前記ユーザーインターフェースの前記オブジェクトの配置を規定するレイアウト情報が記憶され、前記オブジェクトのリソース及び前記レイアウト情報として、前記使用言語ごとに、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致する場合に対応する設定一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致しない場合に対応する設定不一致時用の前記オブジェクトのリソース及び前記レイアウト情報とが記憶された構成において、
前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致する場合は前記設定一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致しない場合は前記オペレーティングシステムの使用言語に対応する前記設定不一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置することによりユーザーインターフェースとしての画面を表示させること、
を特徴とする表示制御方法。 A display control method for displaying a user interface of a program operating on an operating system on a display screen,
Previously, the are arranged in the user interface, the object containing the text resource, and the layout information defining the placement of the objects of the user interface is stored, as a resource, and the layout information of the object, the language For each, the resource and layout information of the object for setting matching corresponding to the case where the language used by the operating system and the language used by the program match, the language used by the operating system, and the language used by the program in the configuration Doo and the are stored resource and the layout information of the objects for setting mismatch corresponding to if there is no match,
If the language used by the operating system and the language used by the program match, the resource of the object is arranged according to the layout information when the settings match, and the language used by the operating system does not match the language used by the program Displaying a screen as a user interface by arranging resources of the object according to the layout information for the setting mismatch corresponding to the language used in the operating system .
A display control method characterized by the above.
予め、前記ユーザーインターフェースに配置される、文字を含むオブジェクトのリソース、及び、前記ユーザーインターフェースの前記オブジェクトの配置を規定するレイアウト情報が記憶され、前記オブジェクトのリソース及び前記レイアウト情報として、前記使用言語ごとに、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致する場合に対応する設定一致時用の前記オブジェクトのリソース及び前記レイアウト情報と、前記オペレーティングシステムの使用言語と前記プログラムの使用言語とが一致しない場合に対応する設定不一致時用の前記オブジェクトのリソース及び前記レイアウト情報とが記憶された構成において、
前記制御部が、前記オペレーティングシステムの使用言語と前記プログラムの使用言語の設定に基づいて前記レイアウト情報を選択し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致する場合は前記設定一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置し、前記オペレーティングシステムの使用言語と前記プログラムの使用言語が一致しない場合は前記オペレーティングシステムの使用言語に対応する前記設定不一致時用の前記レイアウト情報に従って前記オブジェクトのリソースを配置することによりユーザーインターフェースとしての画面を表示させること、
を特徴とするプログラム。 A program executed by a control unit that controls a display control device that displays a user interface of a program operating on an operating system on a display screen,
Previously, the are arranged in the user interface, the object containing the text resource, and the layout information defining the placement of the objects of the user interface is stored, as a resource, and the layout information of the object, the language For each, the resource and layout information of the object for setting matching corresponding to the case where the language used by the operating system and the language used by the program match, the language used by the operating system, and the language used by the program In the configuration in which the resource of the object and the layout information for the setting mismatch corresponding to
The control unit selects the layout information based on the setting of the language used for the operating system and the language used for the program. When the language used for the operating system and the language used for the program match, If the language used by the operating system and the language used by the program do not match, the resource of the object is arranged according to the layout information for use according to the layout information for the setting mismatch corresponding to the language used by the operating system. Displaying a screen as a user interface by arranging the resource of the object ;
A program characterized by
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010037721A JP5569028B2 (en) | 2010-02-23 | 2010-02-23 | Display control apparatus, display control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010037721A JP5569028B2 (en) | 2010-02-23 | 2010-02-23 | Display control apparatus, display control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011175371A JP2011175371A (en) | 2011-09-08 |
JP5569028B2 true JP5569028B2 (en) | 2014-08-13 |
Family
ID=44688179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010037721A Expired - Fee Related JP5569028B2 (en) | 2010-02-23 | 2010-02-23 | Display control apparatus, display control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5569028B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5294359B1 (en) | 2012-03-28 | 2013-09-18 | Necインフロンティア株式会社 | Image data generation method, image data generation device, and image data generation program |
JP6750642B2 (en) * | 2018-03-19 | 2020-09-02 | カシオ計算機株式会社 | Electronic device, display unit setting method, and display unit setting program |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10275071A (en) * | 1997-03-31 | 1998-10-13 | Brother Ind Ltd | Application system |
JP2001142600A (en) * | 1999-11-15 | 2001-05-25 | Canon Inc | Multi-language display switching device and its switching method |
JP2004302798A (en) * | 2003-03-31 | 2004-10-28 | Minolta Co Ltd | Method for setting control program of device of information processing system where host computer is communicably connected to device via communication means |
JP2009053943A (en) * | 2007-08-27 | 2009-03-12 | Victor Co Of Japan Ltd | Multi-language display corresponding menu picture creation support system, and multi-language display corresponding menu creation support program |
JP2009217428A (en) * | 2008-03-10 | 2009-09-24 | Seiko Epson Corp | Translation display, translation display method, and translation display program |
-
2010
- 2010-02-23 JP JP2010037721A patent/JP5569028B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011175371A (en) | 2011-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10752021B2 (en) | Print control device, printing device, and specifying print objects to determine an attribute for replacing the print objects with a different print object | |
EP2441017B1 (en) | Image processing apparatus, image processing method, and storage medium | |
JP2009059197A (en) | Display system, display method, and display program | |
JP6648958B2 (en) | Device control program, device control method, and device control device | |
JP2016045789A (en) | Printer driver, setting presentation method, and setting presentation device | |
JP5569028B2 (en) | Display control apparatus, display control method, and program | |
JP2012168877A5 (en) | ||
JP5387360B2 (en) | Information processing method, program thereof, and information processing apparatus | |
JP6379858B2 (en) | Printer driver, setting reception method and setting reception device | |
US20130176597A1 (en) | Information processing apparatus, information processing method, and storage medium storing a program thereof | |
JP6266421B2 (en) | Image forming apparatus | |
US20190212951A1 (en) | Non-transitory storage medium storing instructions readable by information processing apparatus, the information processing apparatus, and method of processing information in the information processing apparatus | |
CN107015770B (en) | Information processing apparatus and print data generation method | |
JP2012236282A (en) | Information processing apparatus, method for controlling the same, and control program | |
JP2012123704A (en) | Control apparatus, control method of control apparatus, and program | |
JP6409855B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP6515523B2 (en) | Sentence providing apparatus, program, sentence providing method and printed matter | |
JP6060774B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP5551532B2 (en) | Print setting device | |
JP5987389B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
JP6036485B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP6089885B2 (en) | Printing apparatus, printing apparatus control method, and program | |
US20140320879A1 (en) | Printer driver setting printing program and setting printing method | |
JP6032334B2 (en) | Control device and recording system | |
JP2001247253A (en) | Document printing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121105 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131031 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131105 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131225 |
|
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: 20140527 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140609 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5569028 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |