JP2017084301A - Graphic processor, graphic processing method, and graphic processing program - Google Patents
Graphic processor, graphic processing method, and graphic processing program Download PDFInfo
- Publication number
- JP2017084301A JP2017084301A JP2015215166A JP2015215166A JP2017084301A JP 2017084301 A JP2017084301 A JP 2017084301A JP 2015215166 A JP2015215166 A JP 2015215166A JP 2015215166 A JP2015215166 A JP 2015215166A JP 2017084301 A JP2017084301 A JP 2017084301A
- Authority
- JP
- Japan
- Prior art keywords
- graphic
- user
- character string
- replacement
- character
- 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.)
- Granted
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
本発明は、ディスプレイ上に表示される図形データを処理するための、図形処理装置、図形処理方法、および、図形処理プログラムに関する。 The present invention relates to a graphic processing device, a graphic processing method, and a graphic processing program for processing graphic data displayed on a display.
従来、書類等に記載された文字、記号および図形をイメージデータとしてコンピュータに取り込んで、そのイメージデータをコンピュータ上で利用する技術が用いられている。例えば、特許文献1(特開平9−34903号公報)に開示されている装置は、コンピュータに取り込まれたイメージデータの所定の範囲に含まれる画素配列を文字データに自動的に変換して、そのイメージデータに含まれる文字情報の検索を容易にする。 2. Description of the Related Art Conventionally, a technique has been used in which characters, symbols, and figures described in a document or the like are taken into a computer as image data and the image data is used on the computer. For example, an apparatus disclosed in Patent Document 1 (Japanese Patent Laid-Open No. 9-34903) automatically converts a pixel array included in a predetermined range of image data captured by a computer into character data, and It makes it easy to search for character information contained in image data.
しかし、文字、記号および図形が記載された図面をラスター画像としてコンピュータに取り込んだ後、そのラスター画像をベクター画像に変換して利用する場合、図面に含まれる文字を、コンピュータに文字と判定させることは一般的に難しい。そのため、図面に含まれる文字が、対応する文字データに自動的に変換されずに、複数の図形要素から構成される複雑な図形に変換されるおそれがある。従って、図面をベクター画像に変換して利用する場合、ベクター画像に含まれる、文字を表す図形を、対応する文字データにユーザが手動で置き換えることが好ましい。 However, when a drawing on which characters, symbols, and figures are written is taken as a raster image into a computer and then converted to a vector image, the character contained in the drawing is judged to be a character. Is generally difficult. For this reason, characters included in the drawing may not be automatically converted into corresponding character data, but may be converted into a complex graphic composed of a plurality of graphic elements. Therefore, when the drawing is converted into a vector image and used, it is preferable that the user manually replaces the graphic representing the character included in the vector image with the corresponding character data.
本発明の目的は、文字を表す図形を文字データに効率的に置き換えることができる図形処理装置、図形処理方法および図形処理プログラムを提供することである。 An object of the present invention is to provide a graphic processing device, a graphic processing method, and a graphic processing program that can efficiently replace a graphic representing a character with character data.
本発明の第1観点に係る図形処理装置は、複数の図形要素を含む図形データを処理する。図形処理装置は、表示手段と、領域指定手段と、文字列入力手段と、置換手段とを備える。表示手段は、図形データをディスプレイ上に表示する。領域指定手段は、擬似文字図形を含む置換領域を、ディスプレイ上からユーザが指定する第1操作を受け付ける。擬似文字図形は、図形データに含まれる図形要素から構成される図形であって、文字を表す図形である。文字列入力手段は、ユーザが第1操作によって置換領域を指定した後に、ユーザが文字列を入力する第2操作を受け付ける。置換手段は、ユーザが第1操作によって指定した置換領域に含まれる図形要素を、ユーザが第2操作によって入力した文字列に置き換える。 A graphic processing apparatus according to a first aspect of the present invention processes graphic data including a plurality of graphic elements. The graphic processing apparatus includes display means, area designation means, character string input means, and replacement means. The display means displays the graphic data on the display. The area designating unit accepts a first operation in which a user designates a replacement area including a pseudo-character graphic from the display. The pseudo character graphic is a graphic composed of graphic elements included in graphic data, and is a graphic representing a character. The character string input means accepts a second operation in which the user inputs a character string after the user designates the replacement area by the first operation. The replacement means replaces the graphic element included in the replacement area designated by the user through the first operation with the character string input by the user through the second operation.
この図形処理装置は、ユーザが置換領域を指定した後に文字列を入力することで、置換領域に含まれる図形要素を、入力された文字列に置き換える。従って、この図形処理装置は、文字を表す図形を文字データに効率的に置き換えることができる。 This graphic processing device replaces a graphic element included in the replacement area with the input character string by inputting a character string after the user designates the replacement area. Therefore, this graphic processing apparatus can efficiently replace a graphic representing a character with character data.
本発明の第2観点に係る図形処理装置は、第1観点に係る図形処理装置であって、文字列入力手段は、ユーザが文字列を入力するための入力インターフェイスをディスプレイ上に表示する。 A graphic processing apparatus according to a second aspect of the present invention is the graphic processing apparatus according to the first aspect, and the character string input means displays an input interface for a user to input a character string on a display.
この図形処理装置は、ユーザによって置換領域が指定されると、入力インターフェイスをディスプレイ上に表示する。従って、この図形処理装置は、ユーザによって置換領域が指定された直後に、置換領域に含まれる図形要素と置き換える文字列をユーザに入力させることができる。 This graphic processing device displays an input interface on a display when a replacement area is designated by a user. Therefore, immediately after the replacement area is designated by the user, the graphic processing apparatus can cause the user to input a character string to be replaced with the graphic element included in the replacement area.
本発明の第3観点に係る図形処理装置は、第1観点または第2観点に係る図形処理装置であって、仮置換手段をさらに備える。仮置換手段は、ユーザが第1操作によって指定した置換領域に含まれる図形要素を、ユーザが第2操作をしている間にユーザによって入力された文字列に置き換える。 The graphic processing device according to the third aspect of the present invention is the graphic processing device according to the first or second aspect, and further includes provisional replacement means. The temporary replacement unit replaces the graphic element included in the replacement area designated by the user through the first operation with a character string input by the user while the user performs the second operation.
この図形処理装置は、置換領域に含まれる図形要素と置き換える文字列をユーザが入力している間に、ユーザが入力した文字列を置換領域にリアルタイムで表示させる。従って、この図形処理装置は、置換領域に含まれる図形要素が文字列に置き換えられた状態を即時に確認することができる。 This graphic processing device displays the character string input by the user in the replacement area in real time while the user is inputting the character string to be replaced with the graphic element included in the replacement area. Therefore, the graphic processing apparatus can immediately confirm the state in which the graphic element included in the replacement area is replaced with the character string.
本発明の第4観点に係る図形処理装置は、第1観点乃至第3観点のいずれか1つに係る図形処理装置であって、除外手段をさらに備える。除外手段は、ユーザが第1操作によって指定した置換領域に含まれる擬似文字図形以外の図形要素を、置換手段によって文字列に置き換えられる図形要素からユーザが除外する第3操作を受け付ける。 A graphic processing device according to a fourth aspect of the present invention is the graphic processing device according to any one of the first to third aspects, and further includes an exclusion unit. The exclusion means accepts a third operation in which the user excludes graphic elements other than the pseudo-character graphic included in the replacement area designated by the user through the first operation from graphic elements that are replaced with character strings by the replacement means.
この図形処理装置は、置換領域に含まれる複数の図形要素のうち、文字列に置き換える対象とはしない図形要素をユーザに選択させることができる。従って、この図形処理装置は、文字を表す図形要素以外の図形要素を、文字列に置き換える対象から容易に除外でき、文字を表す図形を文字データに効率的に置き換えることができる。 This graphic processing apparatus can allow the user to select a graphic element that is not to be replaced with a character string from among a plurality of graphic elements included in the replacement area. Therefore, this graphic processing apparatus can easily exclude graphic elements other than graphic elements representing characters from objects to be replaced with character strings, and can efficiently replace graphics representing characters with character data.
本発明の第5観点に係る図形処理装置は、第1観点乃至第4観点のいずれか1つに係る図形処理装置であって、プロパティ設定手段をさらに備える。プロパティ設定手段は、ユーザが文字列のプロパティを設定する第4操作を受け付ける。 A graphic processing apparatus according to a fifth aspect of the present invention is the graphic processing apparatus according to any one of the first to fourth aspects, further comprising property setting means. The property setting means accepts a fourth operation in which the user sets a character string property.
この図形処理装置は、ユーザが入力した文字列の外観等をユーザに容易に設定させることができる。 This graphic processing device can make the user easily set the appearance of the character string input by the user.
本発明の第6観点に係る図形処理装置は、第5観点に係る図形処理装置であって、プロパティ設定手段は、ユーザがプロパティを設定するための設定インターフェイスをディスプレイ上に表示し、かつ、前回設定されたプロパティを設定インターフェイスにデフォルトで表示させる。 A graphic processing apparatus according to a sixth aspect of the present invention is the graphic processing apparatus according to the fifth aspect, wherein the property setting means displays a setting interface for the user to set properties on the display, and Show configured properties by default in the configuration interface.
この図形処理装置は、ユーザが以前に入力した文字列の外観等の設定を、設定インターフェイスにデフォルト表示させる。従って、この図形処理装置は、ユーザが以前に入力した文字列の外観等をユーザに容易に設定させることができる。 This graphic processing device displays settings such as the appearance of the character string previously input by the user on the setting interface by default. Therefore, this graphic processing apparatus can make the user easily set the appearance of the character string previously input by the user.
本発明の第7観点に係る図形処理方法は、コンピュータを用いて、複数の図形要素を含む図形データを処理する。図形処理方法は、表示ステップと、領域指定ステップと、文字列入力ステップと、置換ステップとを備える。表示ステップは、コンピュータが備える表示手段が、図形データをディスプレイ上に表示するステップである。領域指定ステップは、コンピュータが備える領域指定手段が、擬似文字図形を含む置換領域を、ディスプレイ上からユーザが指定する第1操作を受け付けるステップである。擬似文字図形は、図形データに含まれる図形要素から構成される図形であって、文字を表す図形である。文字列入力ステップは、コンピュータが備える文字列入力手段が、ユーザが第1操作によって置換領域を指定した後に、ユーザが文字列を入力する第2操作を受け付けるステップである。置換ステップは、コンピュータが備える置換手段が、ユーザが第1操作によって指定した置換領域に含まれる図形要素を、ユーザが第2操作によって入力した文字列に置き換えるステップである。 The graphic processing method according to the seventh aspect of the present invention processes graphic data including a plurality of graphic elements using a computer. The graphic processing method includes a display step, an area designation step, a character string input step, and a replacement step. The display step is a step in which the display means provided in the computer displays the graphic data on the display. The area designating step is a step in which an area designating unit provided in the computer receives a first operation in which a user designates a replacement area including a pseudo-character graphic from the display. The pseudo character graphic is a graphic composed of graphic elements included in graphic data, and is a graphic representing a character. The character string input step is a step in which the character string input means provided in the computer accepts a second operation in which the user inputs a character string after the user designates the replacement area by the first operation. The replacement step is a step in which the replacement means provided in the computer replaces the graphic element included in the replacement area designated by the user by the first operation with the character string input by the user by the second operation.
本発明の第8観点に係る図形処理プログラムは、複数の図形要素を含む図形データを処理する手段としてコンピュータを機能させるためのプログラムである。図形処理プログラムは、表示手段、領域指定手段、文字列入力手段および置換手段としてコンピュータを機能させる。表示手段は、図形データをディスプレイ上に表示する。領域指定手段は、擬似文字図形を含む置換領域を、ディスプレイ上からユーザが指定する第1操作を受け付ける。擬似文字図形は、図形データに含まれる図形要素から構成される図形であって、文字を表す図形である。文字列入力手段は、ユーザが第1操作によって置換領域を指定した後に、ユーザが文字列を入力する第2操作を受け付ける。置換手段は、ユーザが第1操作によって指定した置換領域に含まれる図形要素を、ユーザが第2操作によって入力した文字列に置き換える。 The graphic processing program according to the eighth aspect of the present invention is a program for causing a computer to function as means for processing graphic data including a plurality of graphic elements. The graphic processing program causes the computer to function as display means, area designation means, character string input means, and replacement means. The display means displays the graphic data on the display. The area designating unit accepts a first operation in which a user designates a replacement area including a pseudo-character graphic from the display. The pseudo character graphic is a graphic composed of graphic elements included in graphic data, and is a graphic representing a character. The character string input means accepts a second operation in which the user inputs a character string after the user designates the replacement area by the first operation. The replacement means replaces the graphic element included in the replacement area designated by the user through the first operation with the character string input by the user through the second operation.
第1観点に係る図形処理装置は、文字を表す図形を文字データに効率的に置き換えることができる。 The graphic processing apparatus according to the first aspect can efficiently replace a graphic representing a character with character data.
第2観点に係る図形処理装置は、ユーザによって置換領域が指定された直後に、置換領域に含まれる図形要素と置き換える文字列をユーザに入力させることができる。 The graphic processing device according to the second aspect allows the user to input a character string to be replaced with the graphic element included in the replacement area immediately after the replacement area is designated by the user.
第3観点に係る図形処理装置は、置換領域に含まれる図形要素が文字列に置き換えられた状態を即時に確認することができる。 The graphic processing apparatus according to the third aspect can immediately confirm the state in which the graphic element included in the replacement area is replaced with a character string.
第4観点に係る図形処理装置は、文字を表す図形要素以外の図形要素を、文字列に置き換える対象から容易に除外でき、文字を表す図形を文字データに効率的に置き換えることができる。 The graphic processing apparatus according to the fourth aspect can easily exclude graphic elements other than graphic elements representing characters from objects to be replaced with character strings, and can efficiently replace graphic representing characters with character data.
第5観点に係る図形処理装置は、ユーザが入力した文字列の外観等をユーザに容易に設定させることができる。 The graphic processing apparatus according to the fifth aspect allows the user to easily set the appearance of the character string input by the user.
第6観点に係る図形処理装置は、ユーザが以前に入力した文字列の外観等をユーザに容易に設定させることができる。 The graphic processing device according to the sixth aspect allows the user to easily set the appearance of the character string previously input by the user.
第7観点に係る図形処理方法は、文字を表す図形を文字データに効率的に置き換えることができる。 The graphic processing method according to the seventh aspect can efficiently replace a graphic representing a character with character data.
第8観点に係る図形処理プログラムは、文字を表す図形を文字データに効率的に置き換えることができる。 The graphic processing program according to the eighth aspect can efficiently replace a graphic representing a character with character data.
(1)図形処理装置の全体構成
本発明の実施形態に係る図形処理装置について、図面を参照しながら説明する。図1は、本実施形態に係る図形処理装置100の構成を示すブロック図である。図形処理装置100は、設計および製図等をコンピュータで行うためのCADシステムである。図形処理装置100は、例えば、専用のソフトウェアが組み込まれている汎用のパーソナルコンピュータである。図形処理装置100のユーザは、図形処理装置100を用いて、図面等の図形データを作成することができる。図形処理装置100は、主として、入力部10と、処理部20と、表示部30と、通信部40と、記憶部50とから構成される。
(1) Overall Configuration of Graphic Processing Device A graphic processing device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a
入力部10は、例えば、マウスおよびペンタブレット等のポインティングデバイス、および、キーボードである。入力部10は、ユーザによって入力される、座標および文字列等の種種のデータを受け取る。ユーザは、入力部10を操作して、ファイル処理、作図処理および編集処理等を行うことができる。ファイル処理は、図形データの検索、保存、削除および印刷等の処理である。作図処理は、線分、円および円弧等の図形要素、および、文字列を入力して図形データを作成する処理である。編集処理は、図形要素および文字列の移動、配置および変更等を行う処理である。
The
処理部20は、主として、CPU21、ROM22、RAM23、バス24および入出力インターフェイス25から構成される。処理部20では、ROM22に記憶されているプログラム、および、記憶部50からRAM23にロードされたプログラムに基づいて、CPU21が種種の処理を実行する。RAM23には、CPU21が処理を実行するために必要なデータが記憶されている。CPU21、ROM22およびRAM23は、バス24を介して相互に接続されている。入出力インターフェイス25は、バス24に接続されている。入出力インターフェイス25は、入力部10、表示部30、通信部40および記憶部50との間のインターフェイス機能を有する。処理部20の基本的な動作は、ユーザが入力部10を用いて入力したデータを処理して、処理結果を表示部30に表示することである。
The
表示部30は、例えば、液晶ディスプレイ装置である。表示部30は、マウスポインタ、カーソル、文字列および図形要素等を画面上に表示する。表示部30は、ユーザによって作成された図形データを画面上に表示する。
The
通信部40は、例えば、モデムおよびLANカードである。通信部40は、インターネットおよびLAN等のネットワークを介する通信処理を行う。通信部40は、ネットワークを介して接続されている他のコンピュータおよび記憶メディア等と、データおよびプログラムの送受信を行うことができる。
The
記憶部50は、例えば、種種のデータおよびプログラムを記憶するハードディスクである。しかし、記憶部50は、磁気ディスク、光ディスク、光磁気ディスクおよび半導体メモリ等のリムーバブルメディアであってもよい。図2は、記憶部50に記憶されているデータおよびプログラムを表すブロック図である。
The
記憶部50は、図形要素データベース41、図形シンボルデータベース42および図面データベース43等をデータとして記憶する。記憶部50は、表示手段51、領域指定手段52、文字列入力手段53および置換手段54等をプログラムとして記憶する。処理部20は、記憶部50に記憶されているプログラムを実行して、記憶部50に記憶されているデータを処理する。
The
(2)記憶部の詳細な構成
次に、図形処理装置100の記憶部50に記憶されるデータおよびプログラムについて説明する。
(2) Detailed Configuration of Storage Unit Next, data and programs stored in the
(2−1)図形要素データベース
図形要素データベース41は、図面等の図形データを作成するためにユーザが使用することができる種種の図形要素が記憶されているデータベースである。図形要素は、例えば、点、線分、長方形、円、円弧、楕円、楕円弧、スプライン、ポリライン、ベジェ曲線、および、他の一般作図図形である。
(2-1) Graphic Element Database The
(2−2)図形シンボルデータベース
図形シンボルデータベース42は、ユーザによって登録された図形シンボル、および、予め登録されている図形シンボルが記憶されているデータベースである。図形シンボルは、1つまたは複数の図形要素から構成されるデータである。図形シンボルは、例えば、電気設備等の具体的な物品を表す。ユーザは、図形シンボルデータベース42に登録されている図形シンボルを用いて、図形データを作成することができる。
(2-2) Graphic Symbol Database The
(2−3)図面データベース
図面データベース43は、ユーザによって作成された図形データ、および、ユーザが作成している図形データが、図面として記憶されているデータベースである。図面データベース43は、各図形データに含まれている全ての図形要素、全ての図形シンボルおよび全ての文字列に関する情報等を記憶している。
(2-3) Drawing Database The
(2−4)表示手段
表示手段51は、表示部30に図形データ等を表示させるためのプログラムである。表示手段51は、領域指定手段52、文字列入力手段53および置換手段54が行う処理に応じて、表示部30の表示を変更する。
(2-4) Display Unit The
(2−5)領域指定手段
領域指定手段52は、表示部30の画面上の領域を指定するためのプログラムである。図3は、領域指定手段52の機能を説明するための図である。ここでは、ユーザが、入力部10の一つであるマウスを操作して、図形データ表示領域30a上で矩形領域R1を指定する動作について説明する。図形データ表示領域30aは、表示部30の画面上の少なくとも一部の領域であって、領域指定手段52、文字列入力手段53および置換手段54の処理対象となる図形データが表示される領域である。領域指定手段52は、ユーザによる矩形領域R1を指定する操作を受け付ける。ユーザによって指定された矩形領域R1は、後述するように、置換手段54の処理対象となる領域である。処理部20は、表示部30の画面上に表示される所定のボタンをユーザが押したことを検知すると、領域指定手段52の処理を開始する。ここで、所定のボタンは、例えば、メニューまたはサブメニューに含まれるアイテム、および、リボンメニューに含まれるボタンである。
(2-5) Area Designation Unit The
図3において、最初に、ユーザは、図形データ表示領域30a上の一点である領域開始点P1を選択する。具体的には、ユーザは、マウスのポインタ12を所望の位置に移動させて、マウスのボタンをクリックする。このとき、マウスのボタンがクリックされた時にポインタ12が指す地点が、領域開始点P1となる。次に、ユーザは、図形データ表示領域30a上の一点である領域終了点P2を選択する。具体的には、ユーザは、マウスのポインタ12を所望の位置に移動させて、マウスのボタンをクリックする。このとき、マウスのボタンがクリックされた時にポインタ12が指す地点が、領域終了点P2となる。矩形領域R1は、領域開始点P1と領域終了点P2とを結ぶ線分が対角線となる長方形の領域である。図3には、ポインタ12の軌跡が鎖線の矢印で示されている。このように、ユーザは、マウスを操作することで、図形データ表示領域30a上から矩形領域R1を指定する。なお、ユーザが矩形領域R1を指定する操作は、マウス以外のデバイスで行われてもよい。図形データ表示領域30a上から矩形領域R1が指定された後、処理部20は、文字列入力手段53の処理を開始する。
In FIG. 3, first, the user selects a region start point P1, which is a point on the graphic
また、ユーザは、領域開始点P1を選択した後に、領域終了点P2の選択をしないことで、矩形領域R1の指定をキャンセルすることができる。例えば、領域開始点P1が選択された後に、「ESC」キーが押されること等によって、矩形領域R1の指定がキャンセルされてもよい。 Further, the user can cancel the designation of the rectangular region R1 by not selecting the region end point P2 after selecting the region start point P1. For example, the designation of the rectangular region R1 may be canceled by pressing the “ESC” key after the region start point P1 is selected.
以下、領域指定手段52を用いてユーザによって指定された矩形領域R1を、必要に応じて、置換領域R1と呼ぶ。置換領域R1は、擬似文字図形を含む領域である。擬似文字図形は、図形データに含まれる図形要素から構成される図形であって、文字を表す図形である。擬似文字図形は、文字列を含む図形データを、ラスター画像として図形処理装置100に取り込んだ後、そのラスター画像をベクター画像に変換して利用する場合に生成される。図4は、図形データ表示領域30a上に表示される擬似文字図形L0の一例を示す図である。図4に示される擬似文字図形L0は、文字列「string」がベクター画像に変換されて生成された図形である。一般的に、文字は、直線および円等の基本的な図形要素と比較して、複雑な形状を有している。そのため、ベクター画像に変換された文字は、通常、複数の基本的な図形要素から構成される。例えば、図4に示される擬似文字図形L0は、主に、直線および曲線から構成される。
Hereinafter, the rectangular area R1 designated by the user using the
(2−6)文字列入力手段
文字列入力手段53は、領域指定手段52によってユーザが置換領域R1を指定した後に、ユーザが文字列を入力するためのプログラムである。文字列入力手段53は、ユーザが文字列を入力するための入力インターフェイス32を、表示部30の画面上に表示する。文字列入力手段53は、ユーザによって矩形領域R1が指定された直後に、入力インターフェイス32を、表示部30の画面上に表示する。
(2-6) Character String Input Unit The character
図5は、入力インターフェイス32の一例である。入力インターフェイス32は、表示部30の画面上に表示されるダイアログである。図5(a)は、横書きモードにおける入力インターフェイス32を表す。図5(b)は、縦書きモードにおける入力インターフェイス32を表す。
FIG. 5 is an example of the
入力インターフェイス32は、主として、文字列入力領域32aと、改行ボタン32bと、文字列方向ボタン群32cと、参照ボタン32dと、閉じるボタン32eとを含む。文字列方向ボタン群32cは、複数のボタンの集合である。図5(a)および図5(b)は、文字列方向ボタン群32cに含まれるボタンのみが互いに異なる。
The
図5(a)では、文字列方向ボタン群32cは、縦・横切り替えボタン32c1と、右向き横書きボタン32c2と、上向き横書きボタン32c3と、下向き横書きボタン32c4とから構成される。縦・横切り替えボタン32c1には、「横」と表示されている。入力インターフェイス32が図5(a)に示される状態のとき、縦・横切り替えボタン32c1を押すと、文字列方向ボタン群32cは、図5(b)に示される状態に切り替わる。右向き横書きボタン32c2、上向き横書きボタン32c3および下向き横書きボタン32c4は、いずれか1つが常に選択されており、選択されているボタンが視認できるように表示されている。図5(a)では、右向き横書きボタン32c2が選択されている。
In FIG. 5A, the character string
図5(b)では、文字列方向ボタン群32cは、縦・横切り替えボタン32c1と、下向き縦書きボタン32c5と、左向き縦書きボタン32c6と、右向き縦書きボタン32c7とから構成される。縦・横切り替えボタン32c1には、「縦」と表示されている。入力インターフェイス32が図5(b)に示される状態のとき、縦・横切り替えボタン32c1を押すと、文字列方向ボタン群32cは、図5(a)に示される状態に切り替わる。下向き縦書きボタン32c5、左向き縦書きボタン32c6および右向き縦書きボタン32c7は、いずれか1つが常に選択されており、選択されているボタンが視認できるように表示されている。図5(b)では、下向き縦書きボタン32c5が選択されている。
In FIG. 5B, the character string
文字列入力領域32aは、ユーザによって入力された文字列が表示される領域である。ユーザは、入力部10の一つであるキーボードを操作して、文字列入力領域32aに所望の文字列を入力する。文字列入力手段53は、ユーザが文字列入力領域32aに文字列を入力する操作を受け付ける。文字列入力領域32aには、現在の入力位置であるカレット32a1が表示される。図5(a)および図5(b)では、例として、文字列入力領域32aには、「入力文字列」の文字列が表示されている。ユーザによって入力された文字列は、後述するように、置換領域R1に含まれる図形要素と置き換えられる対象となる文字列である。なお、ユーザが文字列入力領域32aに文字列を入力する操作は、キーボード以外のデバイスで行われてもよい。
The character
改行ボタン32bは、文字列入力領域32aに入力される文字列の改行を行うためのボタンである。改行ボタン32bを押すと、文字列入力領域32aに表示されているカレット32a1の位置で改行が行われる。
The
文字列方向ボタン群32cは、後述するように、置換領域R1に含まれる図形要素を、文字列入力領域32aに入力された文字列で置き換える際に、文字列に含まれる個々の文字の向き、および、文字の並び方向を指定するためのボタンを含む。
As will be described later, the character string
参照ボタン32dは、例えば、文字列入力領域32aに入力したい文字列を、図形データ表示領域30a上に既に表示されている文字列から取得するためのボタンである。例えば、参照ボタン32dを押すと、表示部30の画面は、図形データ表示領域30a上に既に表示されている文字列を参照できる参照モードになる。参照モードでは、マウスのポインタを任意の文字列に移動させてマウスをクリックする操作等によって、ユーザは、図形データ表示領域30a上に既に表示されている任意の文字列を選択することができる。ユーザが文字列を選択すると、選択された文字列が、文字列入力領域32aに自動的に表示される。
The
閉じるボタン32eは、入力インターフェイス32を閉じるためのボタンである。後述するように、閉じるボタン32eを押すと、ユーザが入力インターフェイス32に文字列を入力する操作が完了したことが処理部20に通知される。その後、処理部20は、置換手段54の処理を開始する。
The
(2−7)置換手段
置換手段54は、領域指定手段52によってユーザが指定した置換領域R1に含まれる図形要素を、文字列入力手段53によってユーザが入力した文字列に、文字データとして置き換えるためのプログラムである。以下、置換手段54によって置き換えられる文字列を、必要に応じて、置換文字列と呼ぶ。
(2-7) Substitution Unit The
図6は、置換手段54の機能を説明するための図である。図6には、ベクター画像である図形データの一例が示されている。図6には、非文字図形S1〜S3、擬似文字図形L1〜L3、および、置換領域R1が示されている。非文字図形S1〜S3は、擬似文字図形L1〜L3以外の図形要素である。非文字図形S1は、長方形を表す。非文字図形S2は、円弧を表す。非文字図形S3は、直線を表す。擬似文字図形L1〜L3は、複数の文字から構成される文字列を表す図形要素である。擬似文字図形L1は、文字列「string01」を表す。擬似文字図形L2は、文字列「string02」を表す。擬似文字図形L3は、文字列「string03」を表す。置換領域R1は、領域指定手段52によってユーザが指定した領域である。置換領域R1は、図6では、点線の矩形として示されている。
FIG. 6 is a diagram for explaining the function of the replacement means 54. FIG. 6 shows an example of graphic data that is a vector image. FIG. 6 shows non-character graphics S1 to S3, pseudo-character graphics L1 to L3, and a replacement area R1. The non-character figures S1 to S3 are graphic elements other than the pseudo-character figures L1 to L3. The non-character figure S1 represents a rectangle. The non-character figure S2 represents an arc. The non-character figure S3 represents a straight line. The pseudo character graphics L1 to L3 are graphic elements representing a character string composed of a plurality of characters. The pseudo character graphic L1 represents the character string “string01”. The pseudo character graphic L2 represents the character string “string02”. The pseudo character graphic L3 represents the character string “string03”. The replacement area R1 is an area specified by the user by the
置換手段54は、置換領域R1に完全に含まれる図形要素のみを、置換文字列に置き換える。すなわち、図6に示される例では、置換領域R1に一部のみが含まれている図形要素である非文字図形S2は、置換文字列に置き換えられない。図6では、置換領域R1に完全に含まれている擬似文字図形L1のみが、置換文字列に置き換えられる。 The replacement means 54 replaces only the graphic element completely included in the replacement area R1 with the replacement character string. That is, in the example shown in FIG. 6, the non-character graphic S2, which is a graphic element including only a part in the replacement area R1, is not replaced with a replacement character string. In FIG. 6, only the pseudo character graphic L1 completely included in the replacement area R1 is replaced with the replacement character string.
置換文字列は、置換領域R1の中心位置P3を基準にして、置換領域R1に含まれる図形要素と置き換えられる。中心位置P3は、置換領域R1を表す矩形の重心に位置する。図7は、図6に示される図形データに含まれる擬似文字図形L1が、対応する置換文字列W1「string01」に置き換えられた状態を示す図である。置換文字列W1は、Unicode等の文字コードで表される文字データである。 The replacement character string is replaced with a graphic element included in the replacement area R1 with reference to the center position P3 of the replacement area R1. The center position P3 is located at the center of gravity of the rectangle representing the replacement region R1. FIG. 7 is a diagram illustrating a state in which the pseudo character graphic L1 included in the graphic data illustrated in FIG. 6 is replaced with the corresponding replacement character string W1 “string01”. The replacement character string W1 is character data represented by a character code such as Unicode.
図7に示されるように、置換手段54は、置換領域R1に含まれる擬似文字図形L1を図形データ表示領域30a上から削除して、図形データ表示領域30a上に置換文字列W1を表示する。表示される置換文字列W1の中心位置は、デフォルトでは、置換領域R1の中心位置P3と同じである。
As shown in FIG. 7, the replacement means 54 deletes the pseudo character graphic L1 included in the replacement area R1 from the graphic
なお、置換領域R1に含まれる擬似文字図形から置換される置換文字列は、置換領域R1に完全に収まって表示される必要はなく、置換領域R1からはみ出して表示されてもよい。 Note that the replacement character string to be replaced from the pseudo-character graphic included in the replacement area R1 does not have to be displayed completely within the replacement area R1, and may be displayed outside the replacement area R1.
(3)図形処理装置の動作
(3−1)擬似文字図形の置換処理
次に、図形処理装置100が、領域指定手段52によって指定された置換領域に含まれる擬似文字図形を、文字列入力手段53によって入力された置換文字列に、置換手段54によって置き換える処理について説明する。
(3) Operation of Graphic Processing Device (3-1) Pseudo Character Graphic Replacement Processing Next, the
図8は、図形処理装置100のユーザが、図形処理装置100を用いて、図6に示される置換領域R1に含まれる擬似文字図形L1を、擬似文字図形L1に対応する置換文字列W1「string01」に置き換える処理を表すフローチャートである。図8に示されるフローチャートは、ステップS11〜S17から構成される。
8, the user of the
ステップS11では、ユーザが、表示部30の画面上に表示される所定のボタンを押しって、領域指定手段52の処理を開始する。これにより、ユーザは、置換領域R1の領域開始点P1を指定できるようになる。次に、ステップS12に進む。
In step S <b> 11, the user presses a predetermined button displayed on the screen of the
ステップS12では、ユーザが、置換領域R1の領域開始点P1を選択したか否かが処理部20によって判定される。ユーザが領域開始点P1を選択した場合、ステップS13に進む。ユーザが領域開始点P1を選択せずに、所定の操作を行って置換領域R1の指定をキャンセルする場合、処理が終了する。
In step S12, the
ステップS13では、ユーザが、置換領域R1の領域終了点P2を選択したか否かが処理部20によって判定される。ユーザが領域終了点P2を選択した場合、置換領域R1の指定が完了し、ステップS14に進む。このとき、図6に示されるように、置換領域R1に完全に含まれる図形要素は、擬似文字図形L1のみであるとする。ユーザが領域終了点P2を選択せずに、所定の操作を行って領域開始点P1の選択をやり直す場合、ステップS12に戻る(図8の「NO1」のルート)。ユーザが領域終了点P2を選択せずに、所定の操作を行って置換領域R1の指定をキャンセルする場合、処理が終了する(図8の「NO2」のルート)。
In step S13, the
ステップS14では、表示部30の画面上に入力インターフェイス32が表示される。そして、ユーザは、入力インターフェイス32の文字列入力領域32aに、任意の置換文字列を入力する。ここでは、ユーザは、置換領域R1に含まれる擬似文字図形L1に対応する文字列「string01」を、置換文字列W1として文字列入力領域32aに入力するとする。図9は、ステップS14における入力インターフェイス32を示す図である。図9では、文字列入力領域32aに置換文字列W1「string01」が入力され、文字列方向ボタン群32cの右向き横書きボタン32c2が押されている。次に、ステップS15に進む。
In step S <b> 14, the
ステップS15では、ユーザが、入力インターフェイス32の閉じるボタン32eを押したか否かが処理部20によって判定される。ユーザが閉じるボタン32eを押した場合、置換文字列W1の入力が完了したと見なされ、ステップS16に進む。ユーザが閉じるボタン32eを押さずに、所定の操作を行って置換領域R1の指定をやり直す場合、ステップS12に戻る(図8の「NO1」のルート)。ユーザが閉じるボタン32eを押さずに、所定の操作を行って置換文字列W1の入力をキャンセルする場合、処理が終了する(図8の「NO2」のルート)。
In step S <b> 15, the
ステップS16では、図形データ表示領域30aから、置換領域R1に完全に含まれる図形要素である擬似文字図形L1が削除される。図6では、置換領域R1に非文字図形S2の一部が含まれている。非文字図形S2は、擬似文字図形L1と重なっている。しかし、非文字図形S2は、全体が置換領域R1に含まれていないので、ステップS16において削除されない。
In step S16, the pseudo-character graphic L1, which is a graphic element that is completely included in the replacement area R1, is deleted from the graphic
ステップS17では、図形データ表示領域30aに含まれる置換領域R1の位置に、ステップS16で削除された擬似文字図形L1に対応する置換文字列W1「string01」が、文字データとして配置される。
In step S17, the replacement character string W1 “string01” corresponding to the pseudo character graphic L1 deleted in step S16 is arranged as character data at the position of the replacement region R1 included in the graphic
なお、ステップS12,S13における置換領域R1の指定のキャンセル、および、ステップS15における置換文字列W1の入力のキャンセルは、例えば、入力インターフェイス32の右上の「×」ボタン、または、キーボードの「ESC」ボタンが押されることによって行われる。
Note that the designation of the replacement area R1 in steps S12 and S13 and the input of the substitution character string W1 in step S15 are canceled by, for example, the “x” button on the upper right of the
(3−2)置換文字列の表示設定
次に、入力インターフェイス32の文字列方向ボタン群32cの機能について具体的に説明する。図10(a)〜(f)は、それぞれ、図5(a)および図5(b)に示される、文字列方向ボタン群32cのボタン32c2〜32c7の効果を示す図である。図10(a)〜(f)は、例として、ステップS17において図形データ表示領域30aに含まれる置換領域R1の位置に配置された置換文字列W1「入力文字列」の表示態様を示している。
(3-2) Display Setting of Replacement Character String Next, the function of the character string
図10(a)は、図5(a)に示される右向き横書きボタン32c2が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。右向き横書きボタン32c2は、置換文字列W1を、右方向に向かって横書きに表示させるためのボタンである。 FIG. 10A shows a display form of the replacement character string W1 “input character string” when the rightward horizontal writing button 32c2 shown in FIG. 5A is pressed. The rightward horizontal writing button 32c2 is a button for displaying the replacement character string W1 in horizontal writing in the right direction.
図10(b)は、図5(a)に示される上向き横書きボタン32c3が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。上向き横書きボタン32c3は、置換文字列W1を、上方向に向かって横書きに表示させるためのボタンである。図10(b)の置換文字列W1は、図10(a)の置換文字列W1を反時計回りに90°回転させた状態で示されている。 FIG. 10B shows a display mode of the replacement character string W1 “input character string” when the upward horizontal writing button 32c3 shown in FIG. 5A is pressed. The upward horizontal writing button 32c3 is a button for displaying the replacement character string W1 horizontally in the upward direction. The replacement character string W1 in FIG. 10B is shown in a state in which the replacement character string W1 in FIG. 10A is rotated 90 ° counterclockwise.
図10(c)は、図5(a)に示される下向き横書きボタン32c4が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。下向き横書きボタン32c4は、置換文字列W1を、下方向に向かって横書きに表示させるためのボタンである。図10(c)の置換文字列W1は、図10(a)の置換文字列W1を時計回りに90°回転させた状態で示されている。 FIG. 10C shows a display form of the replacement character string W1 “input character string” when the downward horizontal writing button 32c4 shown in FIG. 5A is pressed. The downward horizontal writing button 32c4 is a button for displaying the replacement character string W1 horizontally in the downward direction. The replacement character string W1 in FIG. 10C is shown in a state in which the replacement character string W1 in FIG. 10A is rotated 90 ° clockwise.
図10(d)は、図5(b)に示される下向き縦書きボタン32c5が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。下向き縦書きボタン32c5は、置換文字列W1を、下方向に向かって縦書きに表示させるためのボタンである。 FIG. 10D shows a display mode of the replacement character string W1 “input character string” when the downward vertical writing button 32c5 shown in FIG. 5B is pressed. The downward vertical writing button 32c5 is a button for displaying the replacement character string W1 vertically in the downward direction.
図10(e)は、図5(b)に示される左向き縦書きボタン32c6が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。左向き縦書きボタン32c6は、置換文字列W1を、左方向に向かって縦書きに表示させるためのボタンである。図10(e)の置換文字列W1は、図10(d)の置換文字列W1を時計回りに90°回転させた状態で示されている。 FIG. 10E shows a display form of the replacement character string W1 “input character string” when the leftward vertical writing button 32c6 shown in FIG. 5B is pressed. The leftward vertical writing button 32c6 is a button for displaying the replacement character string W1 vertically in the leftward direction. The replacement character string W1 in FIG. 10 (e) is shown in a state in which the replacement character string W1 in FIG. 10 (d) is rotated 90 ° clockwise.
図10(f)は、図5(b)に示される右向き縦書きボタン32c7が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。右向き縦書きボタン32c7は、置換文字列W1を、右方向に向かって縦書きに表示させるためのボタンである。図10(f)の置換文字列W1は、図10(d)の置換文字列W1を反時計回りに90°回転させた状態で示されている。 FIG. 10F shows a display mode of the replacement character string W1 “input character string” when the rightward vertical writing button 32c7 shown in FIG. 5B is pressed. The rightward vertical writing button 32c7 is a button for displaying the replacement character string W1 in vertical writing in the right direction. The replacement character string W1 in FIG. 10 (f) is shown in a state in which the replacement character string W1 in FIG. 10 (d) is rotated 90 ° counterclockwise.
(4)特徴
本実施形態に係る図形処理装置100は、領域指定手段52によってユーザが指定した置換領域に含まれる擬似文字図形を、文字列入力手段53によってユーザが入力した置換文字列に、置換手段54によって置き換えることができる。図形処理装置100のユーザは、表示部30の画面上に表示されるベクター画像に含まれる、文字を表す図形である擬似文字図形を、それに対応する文字データに手動で置き換えることができる。
(4) Features The
図形データをラスター画像として図形処理装置100に取り込んだ後、そのラスター画像をベクター画像に変換して利用する場合、図形データに含まれる文字を、図形処理装置100等のコンピュータに文字と判定させることは一般的に難しい。そのため、図形データに含まれる文字が、対応する文字データに自動的に変換されずに、複数の図形要素から構成される複雑な擬似文字図形に変換されるおそれがある。
When graphic data is taken into the
図形処理装置100では、図形データ表示領域30aに表示される擬似文字図形を含む矩形領域をユーザが選択するだけで、図5に示される入力インターフェイス32が表示部30の画面上に表示される。そのため、ユーザは、入力インターフェイス32の文字列入力領域32aに、擬似文字図形と置き換える置換文字列を迅速に入力することができる。これにより、図形処理装置100は、擬似文字図形を、それに対応する文字データにユーザ自身が置き換えることで、図形データに含まれる擬似文字図形を、正確かつ迅速に、対応する文字データに変換することができる。従って、図形処理装置100は、図形データに含まれる文字を表す図形を、対応する文字データに効率的に置き換えることができる。
In the
(5)変形例
本実施形態の具体的構成は、本発明の要旨を逸脱しない範囲内で変更可能である。以下、本実施形態に適用可能な変形例について説明する。
(5) Modifications The specific configuration of the present embodiment can be changed without departing from the gist of the present invention. Hereinafter, modified examples applicable to the present embodiment will be described.
(5−1)変形例A
図11は、変形例A〜Cに係る、図形処理装置100の記憶部50の構成を示すブロック図である。図2に示される実施形態の記憶部50と比較して、変形例A〜Cの記憶部50は、仮置換手段55と、除外手段56と、プロパティ設定手段57とをプログラムとしてさらに記憶する。仮置換手段55は、変形例Aに関する。除外手段56は、変形例Bに関する。プロパティ設定手段57は、変形例Cに関する。なお、記憶部50は、仮置換手段55、除外手段56およびプロパティ設定手段57の一部のみを記憶していてもよい。
(5-1) Modification A
FIG. 11 is a block diagram illustrating a configuration of the
実施形態に係る図形処理装置100は、図8のステップS15において、入力インターフェイス32の閉じるボタン32eをユーザが押した後に、ステップS16,S17において、置換領域R1に含まれる擬似文字図形L1を、対応する置換文字列W1に置き換える。しかし、図形処理装置100は、ステップS14において、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力している間に、置換領域R1に含まれる擬似文字図形L1を、対応する置換文字列W1にリアルタイムで置き換えてもよい。
The
本変形例では、仮置換手段55は、置換領域R1に含まれる図形要素と置き換える置換文字列W1をユーザが入力している間、入力インターフェイス32を表示させたまま、ユーザが入力した置換文字列W1を、置換領域R1に含まれる図形要素の代わりに置換領域R1にリアルタイムで表示させる。従って、この図形処理装置100では、置換領域R1に含まれる図形要素が置換文字列W1に置き換えられた状態を、ユーザは即時に確認することができる。
In this modification, the temporary replacement means 55 replaces the replacement character string input by the user while the
(5−2)変形例B
実施形態に係る図形処理装置100は、図8のステップS16,S17において、置換領域R1に含まれる全ての図形要素を、対応する置換文字列W1に置き換える。ユーザは、図形データ表示領域30aに表示される特定の擬似文字図形のみを、対応する置換文字列W1に置き換える場合、置き換え対象の擬似文字図形のみが完全に含まれるように置換領域R1を指定する。しかし、図形処理装置100は、ユーザが指定した置換領域R1に含まれる任意の図形要素を、ステップS16,S17において置換文字列W1に置き換えられる図形要素からユーザが除外する操作を受け付けてもよい。
(5-2) Modification B
The
本変形例では、除外手段56は、例えばステップS14においてユーザが置換文字列W1を入力することができる間に、ユーザが指定した置換領域R1に含まれる擬似文字図形以外の図形要素を、置換文字列W1に置き換えられる対象である図形要素からユーザが除外することができる。除外手段56は、例えば、置換領域R1に含まれる任意の図形要素を図形データ表示領域30aからユーザに選択させて、選択された図形要素を、置換文字列W1に置き換えられる対象である図形要素から除外してもよい。従って、この図形処理装置は、擬似文字図形以外の図形要素を、置換文字列W1に置き換える対象から容易に除外でき、文字を表す図形を文字データに効率的に置き換えることができる。
In this modification, the excluding
また、本変形例では、図形処理装置100は、例えばステップS14においてユーザが置換文字列W1を入力することができる間に、ユーザが指定した任意の図形要素を、置換文字列W1に置き換えられる対象である図形要素としてユーザが指定する機能を備えてもよい。
In the present modification, the
(5−3)変形例C
実施形態に係る図形処理装置100は、ステップS14において、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力することができる間に、ユーザは、文字列方向ボタン群32cによって、置換文字列W1に含まれる個々の文字の向き、および、文字の並び方向を指定することができる。しかし、図形処理装置100は、ユーザが置換文字列W1を入力することができる間に、置換文字列W1の種種のプロパティをユーザに設定させてもよい。プロパティは、置換文字列W1のフォント、フォントの色、スタイル、サイズ、下線、および、下線の色等である。
(5-3) Modification C
In step S14, the
プロパティ設定手段57は、ユーザが置換文字列W1のプロパティを設定する操作を受け付ける。プロパティ設定手段は、ユーザがプロパティを設定するための設定インターフェイス34をディスプレイ上に表示する。図12は、設定インターフェイス34の一例である。プロパティ設定手段57は、前回ユーザが設定したプロパティを設定インターフェイス34にデフォルトで表示させる機能を有する。
The
本変形例では、プロパティ設定手段57は、文字列入力領域32aにユーザが入力した置換文字列W1の外観等を設定するための設定インターフェイス34を、表示部30の画面上に表示させる。設定インターフェイス34は、例えば、入力インターフェイス32に含まれる所定のボタン、および、メニューのアイテムの選択によって表示される。また、プロパティ設定手段57は、ユーザが以前に入力して設定したプロパティを、設定インターフェイス34にデフォルト表示させる。従って、この図形処理装置は、ユーザが入力した置換文字列W1の外観等をユーザに容易に設定させることができる。
In this modification, the
なお、本変形例では、図5に示される入力インターフェイス32のダイアログに、図12に示される設定インターフェイス34が含まれていてもよい。
In this modification, the setting
(5−4)変形例D
実施形態に係る図形処理装置100は、ステップS11〜S13において、ユーザに置換領域R1を指定させる。しかし、図形処理装置100は、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力することができる間に、既に指定された置換領域R1を変更できる機能を有してもよい。本変形例では、ユーザは、入力インターフェイス32が表示されている間に、既に指定された置換領域R1を操作して、置換領域R1を変更することができる。従って、この図形処理装置は、ユーザが入力した文字列に置き換える図形要素を含む置換領域を柔軟に変更することができる。
(5-4) Modification D
The
(5−5)変形例E
実施形態に係る図形処理装置100では、置換手段54は、領域指定手段52によってユーザが指定した置換領域R1に含まれる図形要素を、文字列入力手段53によってユーザが入力した文字列に、文字データとして置き換える。しかし、置換手段54は、領域指定手段52によってユーザが指定した置換領域R1に含まれる図形シンボルも、文字列入力手段53によってユーザが入力した文字列に、文字データとして置き換えてもよい。
(5-5) Modification E
In the
本発明に係る図形処理装置、図形処理方法および図形処理プログラムは、文字を表す図形を文字データに効率的に置き換えることができる。 The graphic processing apparatus, graphic processing method, and graphic processing program according to the present invention can efficiently replace a graphic representing a character with character data.
100 図形処理装置
51 表示手段
52 領域指定手段
53 文字列入力手段
54 置換手段
55 仮置換手段
56 除外手段
57 プロパティ設定手段
R1 置換領域
L1 擬似文字図形
W1 置換文字列(文字列)
DESCRIPTION OF
Claims (8)
前記図形データをディスプレイ上に表示する表示手段(51)と、
前記図形データに含まれる前記図形要素から構成される図形であって文字を表す擬似文字図形(L1)を含む置換領域(R1)を、前記ディスプレイ上からユーザが指定する第1操作を受け付ける領域指定手段(52)と、
前記ユーザが前記第1操作によって前記置換領域を指定した後に、前記ユーザが文字列(W1)を入力する第2操作を受け付ける文字列入力手段(53)と、
前記ユーザが前記第1操作によって指定した前記置換領域に含まれる前記図形要素を、前記ユーザが前記第2操作によって入力した前記文字列に置き換える置換手段(54)と、
を備える図形処理装置。 A graphic processing device (100) for processing graphic data including a plurality of graphic elements,
Display means (51) for displaying the graphic data on a display;
An area designation for accepting a first operation for the user to designate a replacement area (R1) including a pseudo-character graphic (L1) representing a character, which is a graphic composed of the graphic elements included in the graphic data, from the display. Means (52);
A character string input means (53) for receiving a second operation in which the user inputs a character string (W1) after the user designates the replacement area by the first operation;
Replacement means (54) for replacing the graphic element included in the replacement area designated by the user by the first operation with the character string input by the user by the second operation;
A graphic processing apparatus comprising:
請求項1に記載の図形処理装置。 The character string input means displays an input interface for the user to input the character string on the display.
The graphic processing apparatus according to claim 1.
請求項1または2に記載の図形処理装置。 Temporary replacement means (55) for replacing the graphic element included in the replacement area designated by the user by the first operation with the character string input by the user while the user performs the second operation. )
The graphic processing apparatus according to claim 1.
請求項1から3のいずれか1項に記載の図形処理装置。 A third operation in which the user excludes the graphic element other than the pseudo-character graphic included in the replacement area designated by the user by the first operation from the graphic element replaced by the character string by the replacement unit; Further comprising an accepting means (56) for accepting,
The figure processing apparatus of any one of Claim 1 to 3.
請求項1から4のいずれか1項に記載の図形処理装置。 Property setting means (57) for accepting a fourth operation in which the user sets a property of the character string,
The graphic processing apparatus of any one of Claim 1 to 4.
請求項5に記載の図形処理装置。 The property setting means displays a setting interface for the user to set the property on the display, and causes the setting interface to display the property set last time by default.
The graphic processing apparatus according to claim 5.
前記コンピュータが備える表示手段が、前記図形データをディスプレイ上に表示する表示ステップと、
前記コンピュータが備える領域指定手段が、前記図形データに含まれる前記図形要素から構成される図形であって文字を表す擬似文字図形(L1)を含む置換領域(R1)を、前記ディスプレイ上からユーザが指定する第1操作を受け付ける領域指定ステップと、
前記コンピュータが備える文字列入力手段が、前記ユーザが前記第1操作によって前記置換領域を指定した後に、前記ユーザが文字列(W1)を入力する第2操作を受け付ける文字列入力ステップと、
前記コンピュータが備える置換手段が、前記ユーザが前記第1操作によって指定した前記置換領域に含まれる前記図形要素を、前記ユーザが前記第2操作によって入力した前記文字列に置き換える置換ステップと、
を備える図形処理方法。 A graphic processing method for processing graphic data including a plurality of graphic elements using a computer,
Display means provided in the computer, displaying the graphic data on a display; and
The area designating means provided in the computer allows a user to select a replacement area (R1) including a pseudo-character graphic (L1) representing a character, which is a graphic composed of the graphic elements included in the graphic data, from the display. An area specifying step for accepting a first operation to be specified;
A character string input step of accepting a second operation in which the user inputs a character string (W1) after the user specifies the replacement area by the first operation;
A replacement step of replacing the graphic element included in the replacement area specified by the user by the first operation with the character string input by the user by the second operation;
A graphic processing method comprising:
前記図形データをディスプレイ上に表示する表示手段(51)、
前記図形データに含まれる前記図形要素から構成される図形であって文字を表す擬似文字図形(L1)を含む置換領域(R1)を、前記ディスプレイ上からユーザが指定する第1操作を受け付ける領域指定手段(52)、
前記ユーザが前記第1操作によって前記置換領域を指定した後に、前記ユーザが文字列(W1)を入力する第2操作を受け付ける文字列入力手段(53)、および、
前記ユーザが前記第1操作によって指定した前記置換領域に含まれる前記図形要素を、前記ユーザが前記第2操作によって入力した前記文字列に置き換える置換手段(54)、
として前記コンピュータを機能させるための図形処理プログラム。 A graphic processing program for causing a computer to function as means for processing graphic data including a plurality of graphic elements,
Display means (51) for displaying the graphic data on a display;
An area designation for accepting a first operation for the user to designate a replacement area (R1) including a pseudo-character graphic (L1) representing a character, which is a graphic composed of the graphic elements included in the graphic data, from the display. Means (52),
A character string input means (53) for receiving a second operation in which the user inputs a character string (W1) after the user designates the replacement area by the first operation; and
Replacement means (54) for replacing the graphic element included in the replacement area designated by the user by the first operation with the character string input by the user by the second operation;
A graphics processing program for causing the computer to function as
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015215166A JP6657799B2 (en) | 2015-10-30 | 2015-10-30 | Graphic processing apparatus, graphic processing method, and graphic processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015215166A JP6657799B2 (en) | 2015-10-30 | 2015-10-30 | Graphic processing apparatus, graphic processing method, and graphic processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017084301A true JP2017084301A (en) | 2017-05-18 |
JP6657799B2 JP6657799B2 (en) | 2020-03-04 |
Family
ID=58710955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015215166A Active JP6657799B2 (en) | 2015-10-30 | 2015-10-30 | Graphic processing apparatus, graphic processing method, and graphic processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6657799B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018194057A1 (en) | 2017-04-21 | 2018-10-25 | 東洋インキScホールディングス株式会社 | Water-based ink-jet ink and method for producing printed matter |
-
2015
- 2015-10-30 JP JP2015215166A patent/JP6657799B2/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018194057A1 (en) | 2017-04-21 | 2018-10-25 | 東洋インキScホールディングス株式会社 | Water-based ink-jet ink and method for producing printed matter |
Also Published As
Publication number | Publication date |
---|---|
JP6657799B2 (en) | 2020-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5439454B2 (en) | Electronic comic editing apparatus, method and program | |
CN110300966B (en) | Enhanced pivot table creation and interaction | |
JP5439456B2 (en) | Electronic comic editing apparatus, method and program | |
EP3028188A1 (en) | Three dimensional conditional formatting | |
JP2007304669A (en) | Method and program for controlling electronic equipment | |
US20130093782A1 (en) | Color Selection and Chart Styles | |
JP2015158900A (en) | Information processing device, information processing method and information processing program | |
US20170323007A1 (en) | Identifier Based Glyph Search | |
JP2015135596A (en) | Information processing apparatus and information processing program | |
WO2017170632A1 (en) | Commodity data registration terminal, commodity data registration method, and commodity data registration program | |
US11842035B2 (en) | Techniques for labeling, reviewing and correcting label predictions for PandIDS | |
US8913076B1 (en) | Method and apparatus to improve the usability of thumbnails | |
US20210271380A1 (en) | Display device | |
JP6657799B2 (en) | Graphic processing apparatus, graphic processing method, and graphic processing program | |
US11157142B2 (en) | Document processing apparatus and non-transitory computer readable medium | |
JP2007323474A (en) | Ocr system, ocr format parameter preparation method, its program and program recording medium | |
JP2009187308A (en) | Display controller, display control method, program, and storage medium | |
JP2013020558A (en) | Content data display device, content data display method, and program | |
JP5330714B2 (en) | Search support device and search support program | |
JP2013182329A (en) | Information processing device, control method for information processing device, and program | |
US11074392B2 (en) | Information processing apparatus and non-transitory computer readable medium for switching between an attribute information mode and an image information mode | |
JP2018097548A (en) | Human interface data creating device | |
JP6002328B2 (en) | Search system, search program, and search condition input method | |
JP6624972B2 (en) | Method, apparatus, and program for controlling display | |
US20230386105A1 (en) | Graphical user interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180809 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190823 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190903 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191031 |
|
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: 20200107 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200120 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6657799 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |