Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6657799B2 - Graphic processing apparatus, graphic processing method, and graphic processing program - Google Patents
[go: Go Back, main page]

JP6657799B2 - Graphic processing apparatus, graphic processing method, and graphic processing program - Google Patents

Graphic processing apparatus, graphic processing method, and graphic processing program Download PDF

Info

Publication number
JP6657799B2
JP6657799B2 JP2015215166A JP2015215166A JP6657799B2 JP 6657799 B2 JP6657799 B2 JP 6657799B2 JP 2015215166 A JP2015215166 A JP 2015215166A JP 2015215166 A JP2015215166 A JP 2015215166A JP 6657799 B2 JP6657799 B2 JP 6657799B2
Authority
JP
Japan
Prior art keywords
graphic
user
character string
character
replacement
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.)
Active
Application number
JP2015215166A
Other languages
Japanese (ja)
Other versions
JP2017084301A (en
Inventor
北原 順次
順次 北原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP2015215166A priority Critical patent/JP6657799B2/en
Publication of JP2017084301A publication Critical patent/JP2017084301A/en
Application granted granted Critical
Publication of JP6657799B2 publication Critical patent/JP6657799B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

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 technology has been used in which characters, symbols, and graphics described in documents and the like are captured as image data in a computer, and the image data is used on the computer. For example, an apparatus disclosed in Patent Document 1 (Japanese Patent Application Laid-Open No. 9-34903) automatically converts a pixel array included in a predetermined range of image data taken into a computer into character data, and It facilitates retrieval of character information contained in image data.

しかし、文字、記号および図形が記載された図面をラスター画像としてコンピュータに取り込んだ後、そのラスター画像をベクター画像に変換して利用する場合、図面に含まれる文字を、コンピュータに文字と判定させることは一般的に難しい。そのため、図面に含まれる文字が、対応する文字データに自動的に変換されずに、複数の図形要素から構成される複雑な図形に変換されるおそれがある。従って、図面をベクター画像に変換して利用する場合、ベクター画像に含まれる、文字を表す図形を、対応する文字データにユーザが手動で置き換えることが好ましい。   However, when a computer is used to convert a raster image into a vector image after importing a drawing on which characters, symbols, and graphics are described as a raster image, the computer must determine the characters included in the drawing as characters. 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 complicated graphic composed of a plurality of graphic elements. Therefore, when a drawing is converted into a vector image and used, it is preferable that a user manually replaces a figure representing a character included in the vector image with 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 device according to a first aspect of the present invention processes graphic data including a plurality of graphic elements. The graphic processing device includes a display unit, an area designation unit, a character string input unit, and a replacement unit. The display means displays graphic data , which is a vector image, on a display. The area designating means receives a first operation in which a user designates a replacement area including a pseudo-character graphic from a 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 receives a second operation of the user inputting a character string after the user specifies the replacement area by the first operation. The replacement means replaces the graphic element included in the replacement area specified by the user by the first operation with character data represented by a character code, which is a character string input by the user by the second operation.

この図形処理装置は、ユーザが置換領域を指定した後に文字列を入力することで、置換領域に含まれる図形要素を、入力された文字列に置き換える。従って、この図形処理装置は、文字を表す図形を文字データに効率的に置き換えることができる。   The 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 specifies the replacement area. Therefore, the graphic processing device can efficiently replace a graphic representing a character with character data.

本発明の第2観点に係る図形処理装置は、第1観点に係る図形処理装置であって、文字列入力手段は、ユーザが文字列を入力するための入力インターフェイスをディスプレイ上に表示する。   A graphic processing device according to a second aspect of the present invention is the graphic processing device according to the first aspect, wherein 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, the graphic processing apparatus can prompt the user to input a character string to be replaced with a graphic element included in the replacement area immediately after the replacement area is specified by the user.

本発明の第3観点に係る図形処理装置は、第1観点または第2観点に係る図形処理装置であって、仮置換手段をさらに備える。仮置換手段は、ユーザが第1操作によって指定した置換領域に含まれる図形要素を、ユーザが第2操作をしている間にユーザによって入力された文字列に置き換える。   A graphic processing device according to a third aspect of the present invention is the graphic processing device according to the first aspect or the second aspect, further comprising temporary replacement means. The temporary replacement unit replaces the graphic element included in the replacement area specified by the user with the first operation with a character string input by the user while the user performs the second operation.

この図形処理装置は、置換領域に含まれる図形要素と置き換える文字列をユーザが入力している間に、ユーザが入力した文字列を置換領域にリアルタイムで表示させる。従って、この図形処理装置は、置換領域に含まれる図形要素が文字列に置き換えられた状態を即時に確認することができる。   This graphic processing device displays a character string input by the user in the replacement area in real time while the user is inputting a character string to be replaced with a graphic element included in the replacement area. Therefore, the graphic processing device can immediately confirm that the graphic elements included in the replacement area have been replaced with the character strings.

本発明の第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 unit receives a third operation of excluding a graphic element other than the pseudo-character graphic included in the replacement area specified by the user through the first operation from the graphic element replaced by the character string by the replacement unit.

この図形処理装置は、置換領域に含まれる複数の図形要素のうち、文字列に置き換える対象とはしない図形要素をユーザに選択させることができる。従って、この図形処理装置は、文字を表す図形要素以外の図形要素を、文字列に置き換える対象から容易に除外でき、文字を表す図形を文字データに効率的に置き換えることができる。   This graphic processing device 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, the graphic processing device 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 device according to a fifth aspect of the present invention is the graphic processing device according to any one of the first to fourth aspects, further comprising a property setting unit. The property setting means receives a fourth operation for setting a property of a character string by the user.

この図形処理装置は、ユーザが入力した文字列の外観等をユーザに容易に設定させることができる。   This graphic processing device allows the user to easily set the appearance and the like of the character string input by the user.

本発明の第6観点に係る図形処理装置は、第5観点に係る図形処理装置であって、プロパティ設定手段は、ユーザがプロパティを設定するための設定インターフェイスをディスプレイ上に表示し、かつ、前回設定されたプロパティを設定インターフェイスにデフォルトで表示させる。   A graphic processing device according to a sixth aspect of the present invention is the graphic processing device according to the fifth aspect, wherein the property setting means displays a setting interface for the user to set a property on a display, and Display the set properties in the setting interface by default.

この図形処理装置は、ユーザが以前に入力した文字列の外観等の設定を、設定インターフェイスにデフォルト表示させる。従って、この図形処理装置は、ユーザが以前に入力した文字列の外観等をユーザに容易に設定させることができる。   This graphic processing device causes a setting interface to display default settings such as the appearance of a character string previously input by a user. Therefore, this graphic processing device allows the user to easily set the appearance and the like of the character string previously input by the user.

本発明の第7観点に係る図形処理方法は、コンピュータを用いて、複数の図形要素を含む図形データを処理する。図形処理方法は、表示ステップと、領域指定ステップと、文字列入力ステップと、置換ステップとを備える。表示ステップは、コンピュータが備える表示手段が、ベクター画像である図形データをディスプレイ上に表示するステップである。領域指定ステップは、コンピュータが備える領域指定手段が、擬似文字図形を含む置換領域を、ディスプレイ上からユーザが指定する第1操作を受け付けるステップである。擬似文字図形は、図形データに含まれる図形要素から構成される図形であって、文字を表す図形である。文字列入力ステップは、コンピュータが備える文字列入力手段が、ユーザが第1操作によって置換領域を指定した後に、ユーザが文字列を入力する第2操作を受け付けるステップである。置換ステップは、コンピュータが備える置換手段が、ユーザが第1操作によって指定した置換領域に含まれる図形要素を、ユーザが第2操作によって入力した文字列であって、文字コードで表される文字データに置き換えるステップである。 A graphic processing method according to a seventh aspect of the present invention uses a computer to process graphic data including a plurality of graphic elements. The graphic processing method includes a display step, a region 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 graphic data, which is a vector image, on a display. The area designating step is a step in which the area designating means provided in the computer receives a first operation in which a user designates a replacement area including the 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 receives a second operation in which the user inputs a character string after the user specifies the replacement area by the first operation. The replacing step is a step in which the replacing means provided in the computer converts the graphic element included in the replacement area specified by the user by the first operation into a character string input by the user through the second operation, the character data being represented by a character code. This is the step of replacing

本発明の第8観点に係る図形処理プログラムは、複数の図形要素を含む図形データを処理する手段としてコンピュータを機能させるためのプログラムである。図形処理プログラムは、表示手段、領域指定手段、文字列入力手段および置換手段としてコンピュータを機能させる。表示手段は、ベクター画像である図形データをディスプレイ上に表示する。領域指定手段は、擬似文字図形を含む置換領域を、ディスプレイ上からユーザが指定する第1操作を受け付ける。擬似文字図形は、図形データに含まれる図形要素から構成される図形であって、文字を表す図形である。文字列入力手段は、ユーザが第1操作によって置換領域を指定した後に、ユーザが文字列を入力する第2操作を受け付ける。置換手段は、ユーザが第1操作によって指定した置換領域に含まれる図形要素を、ユーザが第2操作によって入力した文字列であって、文字コードで表される文字データに置き換える。 A graphic processing program according to an 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 a computer to function as display means, area designation means, character string input means, and replacement means. The display means displays graphic data , which is a vector image, on a display. The area designating means receives a first operation in which a user designates a replacement area including a pseudo-character graphic from a 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 receives a second operation of the user inputting a character string after the user specifies the replacement area by the first operation. The replacement means replaces the graphic element included in the replacement area specified by the user by the first operation with character data represented by a character code, which is a character string input by the user by the second operation.

第1観点に係る図形処理装置は、文字を表す図形を文字データに効率的に置き換えることができる。   The graphic processing device 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 can prompt the user to input a character string to be replaced with a graphic element included in the replacement area immediately after the replacement area is specified by the user.

第3観点に係る図形処理装置は、置換領域に含まれる図形要素が文字列に置き換えられた状態を即時に確認することができる。   The graphic processing device according to the third aspect can immediately confirm the state where the graphic element included in the replacement area has been replaced with a character string.

第4観点に係る図形処理装置は、文字を表す図形要素以外の図形要素を、文字列に置き換える対象から容易に除外でき、文字を表す図形を文字データに効率的に置き換えることができる。   The graphic processing device 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 graphics representing characters with character data.

第5観点に係る図形処理装置は、ユーザが入力した文字列の外観等をユーザに容易に設定させることができる。   The graphic processing device according to the fifth aspect allows the user to easily set the appearance and the like 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 and the like 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 is a block diagram illustrating a configuration of a graphic processing device according to an embodiment. 図形処理装置の記憶部の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a storage unit of the graphic processing device. 領域指定手段の機能を説明するための図である。FIG. 7 is a diagram for explaining a function of an area designation unit. 擬似文字図形の一例を示す図である。It is a figure showing an example of a pseudo character figure. 入力インターフェイスの一例である。図5(a)は、横書きモードにおける入力インターフェイスを表す。図5(b)は、縦書きモードにおける入力インターフェイスを表す。It is an example of an input interface. FIG. 5A shows the input interface in the horizontal writing mode. FIG. 5B shows the input interface in the vertical writing mode. 置換手段の機能を説明するための図である。It is a figure for explaining the function of substitution means. 図6に示される擬似文字図形L1が、対応する文字列W1に置き換えられた状態を示す図である。FIG. 7 is a diagram showing a state where the pseudo-character graphic L1 shown in FIG. 6 has been replaced with a corresponding character string W1. 図6に示される擬似文字図形L1を、対応する置換文字列W1に置き換える処理を表すフローチャートである。7 is a flowchart illustrating a process of replacing the pseudo-character graphic L1 illustrated in FIG. 6 with a corresponding replacement character string W1. 図8のステップS14における入力インターフェイスを示す図である。FIG. 9 is a diagram showing an input interface in step S14 of FIG. 入力インターフェイスの文字列方向ボタン群の機能について具体的に説明するための図である。図10(a)〜(f)は、それぞれ、図5(a)および図5(b)に示されるボタン32c2〜32c7の効果を示す図である。FIG. 4 is a diagram for specifically explaining the function of a character string direction button group of the input interface. FIGS. 10A to 10F are diagrams showing the effects of the buttons 32c2 to 32c7 shown in FIGS. 5A and 5B, respectively. 変形例A〜Cに係る、図形処理装置の記憶部の構成を示すブロック図である。FIG. 14 is a block diagram illustrating a configuration of a storage unit of a graphic processing device according to modified examples A to C. 変形例Cに係る、設定インターフェイスの一例を示す図である。FIG. 14 is a diagram illustrating an example of a setting interface according to a modification example C.

(1)図形処理装置の全体構成
本発明の実施形態に係る図形処理装置について、図面を参照しながら説明する。図1は、本実施形態に係る図形処理装置100の構成を示すブロック図である。図形処理装置100は、設計および製図等をコンピュータで行うためのCADシステムである。図形処理装置100は、例えば、専用のソフトウェアが組み込まれている汎用のパーソナルコンピュータである。図形処理装置100のユーザは、図形処理装置100を用いて、図面等の図形データを作成することができる。図形処理装置100は、主として、入力部10と、処理部20と、表示部30と、通信部40と、記憶部50とから構成される。
(1) Overall Configuration of Graphic Processing Apparatus A graphic processing apparatus 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 graphic processing apparatus 100 according to the present embodiment. The graphic processing apparatus 100 is a CAD system for performing design, drafting, and the like using a computer. The graphic processing apparatus 100 is, for example, a general-purpose personal computer in which dedicated software is incorporated. The user of the graphic processing apparatus 100 can create graphic data such as drawings using the graphic processing apparatus 100. The graphics processing apparatus 100 mainly includes an input unit 10, a processing unit 20, a display unit 30, a communication unit 40, and a storage unit 50.

入力部10は、例えば、マウスおよびペンタブレット等のポインティングデバイス、および、キーボードである。入力部10は、ユーザによって入力される、座標および文字列等の種種のデータを受け取る。ユーザは、入力部10を操作して、ファイル処理、作図処理および編集処理等を行うことができる。ファイル処理は、図形データの検索、保存、削除および印刷等の処理である。作図処理は、線分、円および円弧等の図形要素、および、文字列を入力して図形データを作成する処理である。編集処理は、図形要素および文字列の移動、配置および変更等を行う処理である。   The input unit 10 is, for example, a pointing device such as a mouse and a pen tablet, and a keyboard. The input unit 10 receives various types of data, such as coordinates and character strings, input by the user. The user can operate the input unit 10 to perform file processing, drawing processing, editing processing, and the like. The file processing is processing such as searching, saving, deleting, and printing graphic data. The drawing processing is processing for inputting graphic elements such as line segments, circles and arcs, and character strings to generate graphic data. The editing process is a process for moving, arranging, and changing graphic elements and character strings.

処理部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 processing unit 20 mainly includes a CPU 21, a ROM 22, a RAM 23, a bus 24, and an input / output interface 25. In the processing unit 20, the CPU 21 executes various processes based on the program stored in the ROM 22 and the program loaded into the RAM 23 from the storage unit 50. The RAM 23 stores data necessary for the CPU 21 to execute the processing. The CPU 21, the ROM 22, and the RAM 23 are mutually connected via a bus 24. The input / output interface 25 is connected to the bus 24. The input / output interface 25 has an interface function between the input unit 10, the display unit 30, the communication unit 40, and the storage unit 50. The basic operation of the processing unit 20 is to process data input by the user using the input unit 10 and display the processing result on the display unit 30.

表示部30は、例えば、液晶ディスプレイ装置である。表示部30は、マウスポインタ、カーソル、文字列および図形要素等を画面上に表示する。表示部30は、ユーザによって作成された図形データを画面上に表示する。   The display unit 30 is, for example, a liquid crystal display device. The display unit 30 displays a mouse pointer, a cursor, a character string, a graphic element, and the like on a screen. The display unit 30 displays graphic data created by the user on a screen.

通信部40は、例えば、モデムおよびLANカードである。通信部40は、インターネットおよびLAN等のネットワークを介する通信処理を行う。通信部40は、ネットワークを介して接続されている他のコンピュータおよび記憶メディア等と、データおよびプログラムの送受信を行うことができる。   The communication unit 40 is, for example, a modem and a LAN card. The communication unit 40 performs a communication process via a network such as the Internet and a LAN. The communication unit 40 can transmit and receive data and programs to and from other computers and storage media connected via a network.

記憶部50は、例えば、種種のデータおよびプログラムを記憶するハードディスクである。しかし、記憶部50は、磁気ディスク、光ディスク、光磁気ディスクおよび半導体メモリ等のリムーバブルメディアであってもよい。図2は、記憶部50に記憶されているデータおよびプログラムを表すブロック図である。   The storage unit 50 is, for example, a hard disk that stores various data and programs. However, the storage unit 50 may be a removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory. FIG. 2 is a block diagram showing data and programs stored in the storage unit 50.

記憶部50は、図形要素データベース41、図形シンボルデータベース42および図面データベース43等をデータとして記憶する。記憶部50は、表示手段51、領域指定手段52、文字列入力手段53および置換手段54等をプログラムとして記憶する。処理部20は、記憶部50に記憶されているプログラムを実行して、記憶部50に記憶されているデータを処理する。   The storage unit 50 stores a graphic element database 41, a graphic symbol database 42, a drawing database 43, and the like as data. The storage unit 50 stores a display unit 51, an area designation unit 52, a character string input unit 53, a replacement unit 54, and the like as a program. The processing unit 20 executes a program stored in the storage unit 50, and processes data stored in the storage unit 50.

(2)記憶部の詳細な構成
次に、図形処理装置100の記憶部50に記憶されるデータおよびプログラムについて説明する。
(2) Detailed Configuration of Storage Unit Next, data and programs stored in the storage unit 50 of the graphic processing apparatus 100 will be described.

(2−1)図形要素データベース
図形要素データベース41は、図面等の図形データを作成するためにユーザが使用することができる種種の図形要素が記憶されているデータベースである。図形要素は、例えば、点、線分、長方形、円、円弧、楕円、楕円弧、スプライン、ポリライン、ベジェ曲線、および、他の一般作図図形である。
(2-1) Graphic Element Database The graphic element database 41 is a database that stores various graphic elements that can be used by a user to create graphic data such as drawings. Graphic elements are, for example, points, line segments, rectangles, circles, arcs, ellipses, elliptical arcs, splines, polylines, Bezier curves, and other general drawing figures.

(2−2)図形シンボルデータベース
図形シンボルデータベース42は、ユーザによって登録された図形シンボル、および、予め登録されている図形シンボルが記憶されているデータベースである。図形シンボルは、1つまたは複数の図形要素から構成されるデータである。図形シンボルは、例えば、電気設備等の具体的な物品を表す。ユーザは、図形シンボルデータベース42に登録されている図形シンボルを用いて、図形データを作成することができる。
(2-2) Graphic Symbol Database The graphic symbol database 42 is a database in which graphic symbols registered by the user and graphic symbols registered in advance are stored. A graphic symbol is data composed of one or more graphic elements. The graphic symbol represents a specific article such as an electric facility, for example. The user can create graphic data using the graphic symbols registered in the graphic symbol database 42.

(2−3)図面データベース
図面データベース43は、ユーザによって作成された図形データ、および、ユーザが作成している図形データが、図面として記憶されているデータベースである。図面データベース43は、各図形データに含まれている全ての図形要素、全ての図形シンボルおよび全ての文字列に関する情報等を記憶している。
(2-3) Drawing Database The drawing database 43 is a database in which graphic data created by the user and graphic data created by the user are stored as drawings. The drawing database 43 stores information on all graphic elements, all graphic symbols, all character strings, and the like included in each graphic data.

(2−4)表示手段
表示手段51は、表示部30に図形データ等を表示させるためのプログラムである。表示手段51は、領域指定手段52、文字列入力手段53および置換手段54が行う処理に応じて、表示部30の表示を変更する。
(2-4) Display Unit The display unit 51 is a program for causing the display unit 30 to display graphic data and the like. The display unit 51 changes the display on the display unit 30 according to the processing performed by the area specifying unit 52, the character string input unit 53, and the replacing unit 54.

(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 Means The area designation means 52 is a program for designating an area on the screen of the display unit 30. FIG. 3 is a diagram for explaining the function of the area specifying means 52. Here, an operation in which the user operates a mouse, which is one of the input units 10, to specify the rectangular area R1 on the graphic data display area 30a will be described. The graphic data display area 30a is at least a part of an area on the screen of the display unit 30, and is an area where graphic data to be processed by the area specifying means 52, the character string input means 53, and the replacing means 54 is displayed. is there. The area designating means 52 accepts an operation of designating the rectangular area R1 by the user. The rectangular area R1 specified by the user is an area to be processed by the replacing means 54, as described later. When detecting that the user has pressed a predetermined button displayed on the screen of the display unit 30, the processing unit 20 starts the processing of the area specifying unit 52. Here, the predetermined buttons are, for example, items included in a menu or a submenu and buttons included in a ribbon menu.

図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 an area start point P1, which is one point on the graphic data display area 30a. Specifically, the user moves the mouse pointer 12 to a desired position and clicks a mouse button. At this time, the point indicated by the pointer 12 when the mouse button is clicked is the area start point P1. Next, the user selects an area end point P2 which is one point on the graphic data display area 30a. Specifically, the user moves the mouse pointer 12 to a desired position and clicks a mouse button. At this time, the point indicated by the pointer 12 when the mouse button is clicked is the area end point P2. The rectangular region R1 is a rectangular region in which a line connecting the region start point P1 and the region end point P2 is a diagonal line. In FIG. 3, the trajectory of the pointer 12 is indicated by a chain line arrow. As described above, the user operates the mouse to specify the rectangular area R1 from the graphic data display area 30a. The operation of the user to specify the rectangular area R1 may be performed by a device other than the mouse. After the rectangular area R1 is specified from the graphic data display area 30a, the processing unit 20 starts the processing of the character string input unit 53.

また、ユーザは、領域開始点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 specified by the user using the area specifying means 52 is referred to as a replacement area R1 as necessary. The replacement area R1 is an area including a pseudo-character graphic. The pseudo-character graphic is a graphic composed of graphic elements included in graphic data, and is a graphic representing a character. The pseudo-character graphic is generated when graphic data including a character string is fetched into the graphic processing apparatus 100 as a raster image, and then the raster image is converted into a vector image and used. FIG. 4 is a diagram showing an example of the pseudo character figure L0 displayed on the figure data display area 30a. The pseudo character figure L0 shown in FIG. 4 is a figure generated by converting the character string “string” into a vector image. Generally, a character has a complicated shape as compared with basic graphic elements such as a straight line and a circle. Therefore, a character converted to a vector image is usually composed of a plurality of basic graphic elements. For example, the pseudo-character graphic L0 shown in FIG. 4 mainly includes straight lines and curves.

(2−6)文字列入力手段
文字列入力手段53は、領域指定手段52によってユーザが置換領域R1を指定した後に、ユーザが文字列を入力するためのプログラムである。文字列入力手段53は、ユーザが文字列を入力するための入力インターフェイス32を、表示部30の画面上に表示する。文字列入力手段53は、ユーザによって矩形領域R1が指定された直後に、入力インターフェイス32を、表示部30の画面上に表示する。
(2-6) Character string input means The character string input means 53 is a program for the user to input a character string after the user specifies the replacement area R1 by the area specifying means 52. The character string input unit 53 displays the input interface 32 for the user to input a character string on the screen of the display unit 30. The character string input unit 53 displays the input interface 32 on the screen of the display unit 30 immediately after the rectangular area R1 is specified by the user.

図5は、入力インターフェイス32の一例である。入力インターフェイス32は、表示部30の画面上に表示されるダイアログである。図5(a)は、横書きモードにおける入力インターフェイス32を表す。図5(b)は、縦書きモードにおける入力インターフェイス32を表す。   FIG. 5 is an example of the input interface 32. The input interface 32 is a dialog displayed on the screen of the display unit 30. FIG. 5A shows the input interface 32 in the horizontal writing mode. FIG. 5B shows the input interface 32 in the vertical writing mode.

入力インターフェイス32は、主として、文字列入力領域32aと、改行ボタン32bと、文字列方向ボタン群32cと、参照ボタン32dと、閉じるボタン32eとを含む。文字列方向ボタン群32cは、複数のボタンの集合である。図5(a)および図5(b)は、文字列方向ボタン群32cに含まれるボタンのみが互いに異なる。   The input interface 32 mainly includes a character string input area 32a, a line feed button 32b, a character string direction button group 32c, a reference button 32d, and a close button 32e. The character string direction button group 32c is a set of a plurality of buttons. 5A and 5B are different from each other only in the buttons included in the character string direction button group 32c.

図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 direction button group 32c includes a vertical / horizontal switching button 32c1, a rightward horizontal writing button 32c2, an upward horizontal writing button 32c3, and a downward horizontal writing button 32c4. "Horizontal" is displayed on the vertical / horizontal switching button 32c1. When the vertical / horizontal switching button 32c1 is pressed while the input interface 32 is in the state shown in FIG. 5A, the character string direction button group 32c switches to the state shown in FIG. 5B. One of the rightward horizontal writing button 32c2, the upward horizontal writing button 32c3, and the downward horizontal writing button 32c4 is always selected, and the selected button is displayed so as to be visually recognized. In FIG. 5A, the rightward horizontal writing button 32c2 is selected.

図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 direction button group 32c includes a vertical / horizontal switching button 32c1, a downward vertical writing button 32c5, a left vertical writing button 32c6, and a right vertical writing button 32c7. “Vertical” is displayed on the vertical / horizontal switching button 32c1. When the vertical / horizontal switching button 32c1 is pressed while the input interface 32 is in the state shown in FIG. 5B, the character string direction button group 32c switches to the state shown in FIG. 5A. One of the downward vertical writing button 32c5, the left vertical writing button 32c6, and the right vertical writing button 32c7 is always selected, and the selected button is displayed so as to be visually recognized. In FIG. 5B, the downward vertical writing button 32c5 is selected.

文字列入力領域32aは、ユーザによって入力された文字列が表示される領域である。ユーザは、入力部10の一つであるキーボードを操作して、文字列入力領域32aに所望の文字列を入力する。文字列入力手段53は、ユーザが文字列入力領域32aに文字列を入力する操作を受け付ける。文字列入力領域32aには、現在の入力位置であるカレット32a1が表示される。図5(a)および図5(b)では、例として、文字列入力領域32aには、「入力文字列」の文字列が表示されている。ユーザによって入力された文字列は、後述するように、置換領域R1に含まれる図形要素と置き換えられる対象となる文字列である。なお、ユーザが文字列入力領域32aに文字列を入力する操作は、キーボード以外のデバイスで行われてもよい。   The character string input area 32a is an area where a character string input by the user is displayed. The user operates a keyboard, which is one of the input units 10, to input a desired character string into the character string input area 32a. The character string input unit 53 accepts an operation of the user to input a character string in the character string input area 32a. A caret 32a1, which is the current input position, is displayed in the character string input area 32a. In FIGS. 5A and 5B, as an example, a character string of “input character string” is displayed in the character string input area 32a. The character string input by the user is a character string to be replaced with a graphic element included in the replacement region R1, as described later. The operation of the user to input a character string in the character string input area 32a may be performed by a device other than the keyboard.

改行ボタン32bは、文字列入力領域32aに入力される文字列の改行を行うためのボタンである。改行ボタン32bを押すと、文字列入力領域32aに表示されているカレット32a1の位置で改行が行われる。   The line feed button 32b is a button for performing a line feed of a character string input to the character string input area 32a. When the line feed button 32b is pressed, a line feed is performed at the position of the caret 32a1 displayed in the character string input area 32a.

文字列方向ボタン群32cは、後述するように、置換領域R1に含まれる図形要素を、文字列入力領域32aに入力された文字列で置き換える際に、文字列に含まれる個々の文字の向き、および、文字の並び方向を指定するためのボタンを含む。   As will be described later, the character string direction button group 32c, when replacing the graphic element included in the replacement area R1 with the character string input to the character string input area 32a, sets the orientation of each character included in the character string, And a button for designating the arrangement direction of the characters.

参照ボタン32dは、例えば、文字列入力領域32aに入力したい文字列を、図形データ表示領域30a上に既に表示されている文字列から取得するためのボタンである。例えば、参照ボタン32dを押すと、表示部30の画面は、図形データ表示領域30a上に既に表示されている文字列を参照できる参照モードになる。参照モードでは、マウスのポインタを任意の文字列に移動させてマウスをクリックする操作等によって、ユーザは、図形データ表示領域30a上に既に表示されている任意の文字列を選択することができる。ユーザが文字列を選択すると、選択された文字列が、文字列入力領域32aに自動的に表示される。   The reference button 32d is, for example, a button for acquiring a character string to be input to the character string input area 32a from a character string already displayed on the graphic data display area 30a. For example, when the reference button 32d is pressed, the screen of the display unit 30 enters a reference mode in which a character string already displayed on the graphic data display area 30a can be referred to. In the reference mode, the user can select an arbitrary character string already displayed in the graphic data display area 30a by an operation of moving the mouse pointer to an arbitrary character string and clicking the mouse. When the user selects a character string, the selected character string is automatically displayed in the character string input area 32a.

閉じるボタン32eは、入力インターフェイス32を閉じるためのボタンである。後述するように、閉じるボタン32eを押すと、ユーザが入力インターフェイス32に文字列を入力する操作が完了したことが処理部20に通知される。その後、処理部20は、置換手段54の処理を開始する。   The close button 32e is a button for closing the input interface 32. As will be described later, when the close button 32e is pressed, the processing unit 20 is notified that the user has completed the operation of inputting the character string to the input interface 32. After that, the processing unit 20 starts the processing of the replacement unit 54.

(2−7)置換手段
置換手段54は、領域指定手段52によってユーザが指定した置換領域R1に含まれる図形要素を、文字列入力手段53によってユーザが入力した文字列に、文字データとして置き換えるためのプログラムである。以下、置換手段54によって置き換えられる文字列を、必要に応じて、置換文字列と呼ぶ。
(2-7) Replacement Unit The replacement unit 54 replaces a graphic element included in the replacement region R1 specified by the user with the region specification unit 52 with a character string input by the user with the character string input unit 53 as character data. Program. Hereinafter, the character string replaced by the replacing means 54 will be referred to as a replacement character string as necessary.

図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 replacing means 54. FIG. 6 shows an example of graphic data that is a vector image. FIG. 6 shows non-character figures S1 to S3, pseudo-character figures 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 a circular arc. The non-character figure S3 represents a straight line. The pseudo character figures L1 to L3 are graphic elements representing a character string composed of a plurality of characters. The pseudo-character graphic L1 represents a character string “string01”. The pseudo-character graphic L2 represents a character string “string02”. The pseudo-character graphic L3 represents a character string “string03”. The replacement area R1 is an area specified by the user by the area specifying means 52. The replacement region R1 is shown as a dotted rectangle in FIG.

置換手段54は、置換領域R1に完全に含まれる図形要素のみを、置換文字列に置き換える。すなわち、図6に示される例では、置換領域R1に一部のみが含まれている図形要素である非文字図形S2は、置換文字列に置き換えられない。図6では、置換領域R1に完全に含まれている擬似文字図形L1のみが、置換文字列に置き換えられる。   The replacement means 54 replaces only graphic elements completely included in the replacement area R1 with a replacement character string. That is, in the example shown in FIG. 6, the non-character graphic S2, which is a graphic element in which only a part is included in the replacement area R1, is not replaced with the 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 based on 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 has been 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 figure L1 included in the replacement area R1 from the figure data display area 30a and displays the replacement character string W1 on the figure data display area 30a. By default, the center position of the displayed replacement character string W1 is the same as the center position P3 of the replacement area R1.

なお、置換領域R1に含まれる擬似文字図形から置換される置換文字列は、置換領域R1に完全に収まって表示される必要はなく、置換領域R1からはみ出して表示されてもよい。   The replacement character string replaced from the pseudo-character graphic included in the replacement area R1 does not need to be completely displayed in 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 Apparatus (3-1) Replacement Processing of Pseudo-Character Graphic Next, the graphic processing apparatus 100 converts the pseudo-character graphic included in the replacement area specified by the area specifying means 52 into a character string input means. A process of replacing the replacement character string input by 53 with the replacement means 54 will be described.

図8は、図形処理装置100のユーザが、図形処理装置100を用いて、図6に示される置換領域R1に含まれる擬似文字図形L1を、擬似文字図形L1に対応する置換文字列W1「string01」に置き換える処理を表すフローチャートである。図8に示されるフローチャートは、ステップS11〜S17から構成される。   FIG. 8 shows that the user of the graphic processing apparatus 100 uses the graphic processing apparatus 100 to replace the pseudo-character graphic L1 included in the replacement area R1 shown in FIG. 6 with the replacement character string W1 “string01” corresponding to the pseudo-character graphic L1. It is a flowchart showing the process of replacing with "." The flowchart shown in FIG. 8 includes steps S11 to S17.

ステップS11では、ユーザが、表示部30の画面上に表示される所定のボタンを押しって、領域指定手段52の処理を開始する。これにより、ユーザは、置換領域R1の領域開始点P1を指定できるようになる。次に、ステップS12に進む。   In step S <b> 11, the user presses a predetermined button displayed on the screen of the display unit 30 to start the processing of the area specifying unit 52. Thus, the user can specify the area start point P1 of the replacement area R1. Next, the process proceeds to step S12.

ステップS12では、ユーザが、置換領域R1の領域開始点P1を選択したか否かが処理部20によって判定される。ユーザが領域開始点P1を選択した場合、ステップS13に進む。ユーザが領域開始点P1を選択せずに、所定の操作を行って置換領域R1の指定をキャンセルする場合、処理が終了する。   In step S12, the processing unit 20 determines whether or not the user has selected the area start point P1 of the replacement area R1. When the user selects the area start point P1, the process proceeds to step S13. If the user performs a predetermined operation to cancel the designation of the replacement region R1 without selecting the region start point P1, the process ends.

ステップS13では、ユーザが、置換領域R1の領域終了点P2を選択したか否かが処理部20によって判定される。ユーザが領域終了点P2を選択した場合、置換領域R1の指定が完了し、ステップS14に進む。このとき、図6に示されるように、置換領域R1に完全に含まれる図形要素は、擬似文字図形L1のみであるとする。ユーザが領域終了点P2を選択せずに、所定の操作を行って領域開始点P1の選択をやり直す場合、ステップS12に戻る(図8の「NO1」のルート)。ユーザが領域終了点P2を選択せずに、所定の操作を行って置換領域R1の指定をキャンセルする場合、処理が終了する(図8の「NO2」のルート)。   In step S13, the processing unit 20 determines whether the user has selected the area end point P2 of the replacement area R1. When the user selects the region end point P2, the designation of the replacement region R1 is completed, and the process proceeds to step S14. At this time, as shown in FIG. 6, it is assumed that the graphic element completely included in the replacement region R1 is only the pseudo character graphic L1. When the user performs a predetermined operation to select the region start point P1 again without selecting the region end point P2, the process returns to step S12 (route “NO1” in FIG. 8). If the user cancels the designation of the replacement area R1 by performing a predetermined operation without selecting the area end point P2, the process ends (route “NO2” in FIG. 8).

ステップS14では、表示部30の画面上に入力インターフェイス32が表示される。そして、ユーザは、入力インターフェイス32の文字列入力領域32aに、任意の置換文字列を入力する。ここでは、ユーザは、置換領域R1に含まれる擬似文字図形L1に対応する文字列「string01」を、置換文字列W1として文字列入力領域32aに入力するとする。図9は、ステップS14における入力インターフェイス32を示す図である。図9では、文字列入力領域32aに置換文字列W1「string01」が入力され、文字列方向ボタン群32cの右向き横書きボタン32c2が押されている。次に、ステップS15に進む。   In step S14, the input interface 32 is displayed on the screen of the display unit 30. Then, the user inputs an arbitrary replacement character string in the character string input area 32a of the input interface 32. Here, it is assumed that the user inputs the character string “string01” corresponding to the pseudo-character graphic L1 included in the replacement area R1 as the replacement character string W1 in the character string input area 32a. FIG. 9 is a diagram showing the input interface 32 in step S14. In FIG. 9, the replacement character string W1 “string01” is input to the character string input area 32a, and the rightward horizontal writing button 32c2 of the character string direction button group 32c is pressed. Next, the process proceeds to step S15.

ステップS15では、ユーザが、入力インターフェイス32の閉じるボタン32eを押したか否かが処理部20によって判定される。ユーザが閉じるボタン32eを押した場合、置換文字列W1の入力が完了したと見なされ、ステップS16に進む。ユーザが閉じるボタン32eを押さずに、所定の操作を行って置換領域R1の指定をやり直す場合、ステップS12に戻る(図8の「NO1」のルート)。ユーザが閉じるボタン32eを押さずに、所定の操作を行って置換文字列W1の入力をキャンセルする場合、処理が終了する(図8の「NO2」のルート)。   In step S15, the processing unit 20 determines whether the user has pressed the close button 32e of the input interface 32. When the user presses the close button 32e, it is considered that the input of the replacement character string W1 has been completed, and the process proceeds to step S16. If the user does not press the close button 32e but performs a predetermined operation to specify the replacement area R1 again, the process returns to step S12 (the route of "NO1" in FIG. 8). When the user performs a predetermined operation to cancel the input of the replacement character string W1 without pressing the close button 32e, the process ends (route “NO2” in FIG. 8).

ステップ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 completely included in the replacement area R1 is deleted from the graphic data display area 30a. In FIG. 6, the replacement region R1 includes a part of the non-character figure S2. The non-character graphic S2 overlaps the pseudo-character graphic L1. However, since the non-character graphic S2 is not entirely included in the replacement region R1, it is not deleted in step S16.

ステップS17では、図形データ表示領域30aに含まれる置換領域R1の位置に、ステップS16で削除された擬似文字図形L1に対応する置換文字列W1「string01」が、文字データとして配置される。   In step S17, the replacement character string W1 "string01" corresponding to the pseudo character figure L1 deleted in step S16 is arranged as character data at the position of the replacement area R1 included in the figure data display area 30a.

なお、ステップS12,S13における置換領域R1の指定のキャンセル、および、ステップS15における置換文字列W1の入力のキャンセルは、例えば、入力インターフェイス32の右上の「×」ボタン、または、キーボードの「ESC」ボタンが押されることによって行われる。   The cancellation of the designation of the replacement area R1 in steps S12 and S13 and the cancellation of the input of the replacement character string W1 in step S15 are performed, for example, by pressing the “x” button on the upper right of the input interface 32 or the “ESC” key on the keyboard. This is performed by pressing a button.

(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 direction button group 32c of the input interface 32 will be specifically described. FIGS. 10A to 10F are diagrams showing the effects of the buttons 32c2 to 32c7 of the character string direction button group 32c shown in FIGS. 5A and 5B, respectively. FIGS. 10A to 10F show, as an example, a display mode of the replacement character string W1 “input character string” arranged at the position of the replacement area R1 included in the graphic data display area 30a in step S17. .

図10(a)は、図5(a)に示される右向き横書きボタン32c2が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。右向き横書きボタン32c2は、置換文字列W1を、右方向に向かって横書きに表示させるためのボタンである。   FIG. 10A shows a display mode 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 horizontally in the rightward 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 by rotating the replacement character string W1 in FIG. 10A counterclockwise by 90 °.

図10(c)は、図5(a)に示される下向き横書きボタン32c4が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。下向き横書きボタン32c4は、置換文字列W1を、下方向に向かって横書きに表示させるためのボタンである。図10(c)の置換文字列W1は、図10(a)の置換文字列W1を時計回りに90°回転させた状態で示されている。   FIG. 10C shows a display mode 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 horizontally displaying the replacement character string W1 downward. The replacement character string W1 in FIG. 10C is shown by rotating the replacement character string W1 in FIG. 10A clockwise by 90 °.

図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 vertically displaying the replacement character string W1 downward.

図10(e)は、図5(b)に示される左向き縦書きボタン32c6が押されている場合における、置換文字列W1「入力文字列」の表示態様を示す。左向き縦書きボタン32c6は、置換文字列W1を、左方向に向かって縦書きに表示させるためのボタンである。図10(e)の置換文字列W1は、図10(d)の置換文字列W1を時計回りに90°回転させた状態で示されている。   FIG. 10E shows a display mode of the replacement character string W1 "input character string" when the left vertical writing button 32c6 shown in FIG. 5B is pressed. The left vertical writing button 32c6 is a button for displaying the replacement character string W1 vertically in the left direction. The replacement character string W1 in FIG. 10E is shown in a state where the replacement character string W1 in FIG.

図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 vertically in the rightward direction. The replacement character string W1 in FIG. 10F is shown in a state where the replacement character string W1 in FIG. 10D is rotated 90 ° counterclockwise.

(4)特徴
本実施形態に係る図形処理装置100は、領域指定手段52によってユーザが指定した置換領域に含まれる擬似文字図形を、文字列入力手段53によってユーザが入力した置換文字列に、置換手段54によって置き換えることができる。図形処理装置100のユーザは、表示部30の画面上に表示されるベクター画像に含まれる、文字を表す図形である擬似文字図形を、それに対応する文字データに手動で置き換えることができる。
(4) Features The graphic processing apparatus 100 according to the present embodiment replaces the pseudo-character graphic included in the replacement area specified by the user with the area specifying means 52 with the replacement character string input by the user through the character string input means 53. It can be replaced by means 54. The user of the graphic processing apparatus 100 can manually replace the pseudo character graphic, which is a graphic representing a character, included in the vector image displayed on the screen of the display unit 30 with character data corresponding to the graphic.

図形データをラスター画像として図形処理装置100に取り込んだ後、そのラスター画像をベクター画像に変換して利用する場合、図形データに含まれる文字を、図形処理装置100等のコンピュータに文字と判定させることは一般的に難しい。そのため、図形データに含まれる文字が、対応する文字データに自動的に変換されずに、複数の図形要素から構成される複雑な擬似文字図形に変換されるおそれがある。   When the graphic data is imported into the graphic processing apparatus 100 as a raster image, and the raster image is converted into a vector image and used, a character included in the graphic data is determined by a computer such as the graphic processing apparatus 100 as a character. Is generally difficult. For this reason, characters included in the graphic data may not be automatically converted to the corresponding character data, but may be converted to a complex pseudo-character graphic composed of a plurality of graphic elements.

図形処理装置100では、図形データ表示領域30aに表示される擬似文字図形を含む矩形領域をユーザが選択するだけで、図5に示される入力インターフェイス32が表示部30の画面上に表示される。そのため、ユーザは、入力インターフェイス32の文字列入力領域32aに、擬似文字図形と置き換える置換文字列を迅速に入力することができる。これにより、図形処理装置100は、擬似文字図形を、それに対応する文字データにユーザ自身が置き換えることで、図形データに含まれる擬似文字図形を、正確かつ迅速に、対応する文字データに変換することができる。従って、図形処理装置100は、図形データに含まれる文字を表す図形を、対応する文字データに効率的に置き換えることができる。   In the graphic processing apparatus 100, the input interface 32 shown in FIG. 5 is displayed on the screen of the display unit 30 only by the user selecting a rectangular area including the pseudo-character graphic displayed in the graphic data display area 30a. Therefore, the user can quickly input the replacement character string to be replaced with the pseudo-character graphic in the character string input area 32a of the input interface 32. Thereby, the graphic processing apparatus 100 can accurately and quickly convert the pseudo character graphic included in the graphic data to the corresponding character data by replacing the pseudo character graphic with the corresponding character data by the user himself / herself. Can be. Therefore, the graphic processing device 100 can efficiently replace the graphic representing the character included in the graphic data with the corresponding character data.

(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 storage unit 50 of the graphic processing apparatus 100 according to Modifications A to C. Compared to the storage unit 50 of the embodiment shown in FIG. 2, the storage units 50 of the modified examples A to C further store the temporary replacement unit 55, the exclusion unit 56, and the property setting unit 57 as a program. The temporary replacement unit 55 relates to the modification A. The exclusion unit 56 relates to the modified example B. The property setting means 57 relates to the modification C. The storage unit 50 may store only a part of the temporary replacement unit 55, the exclusion unit 56, and the property setting unit 57.

実施形態に係る図形処理装置100は、図8のステップS15において、入力インターフェイス32の閉じるボタン32eをユーザが押した後に、ステップS16,S17において、置換領域R1に含まれる擬似文字図形L1を、対応する置換文字列W1に置き換える。しかし、図形処理装置100は、ステップS14において、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力している間に、置換領域R1に含まれる擬似文字図形L1を、対応する置換文字列W1にリアルタイムで置き換えてもよい。   After the user presses the close button 32e of the input interface 32 in step S15 in FIG. 8, the graphic processing apparatus 100 according to the embodiment converts the pseudo-character figure L1 included in the replacement area R1 in steps S16 and S17. Is replaced with the replacement character string W1. However, in step S14, while the user is inputting the replacement character string W1 in the character string input area 32a of the input interface 32, the graphic processing apparatus 100 corresponds to the pseudo character figure L1 included in the replacement area R1. The replacement character string W1 may be replaced in real time.

本変形例では、仮置換手段55は、置換領域R1に含まれる図形要素と置き換える置換文字列W1をユーザが入力している間、入力インターフェイス32を表示させたまま、ユーザが入力した置換文字列W1を、置換領域R1に含まれる図形要素の代わりに置換領域R1にリアルタイムで表示させる。従って、この図形処理装置100では、置換領域R1に含まれる図形要素が置換文字列W1に置き換えられた状態を、ユーザは即時に確認することができる。   In this modification, while the user is inputting the replacement character string W1 to be replaced with the graphic element included in the replacement area R1, the temporary replacement unit 55 displays the replacement character string input by the user while the input interface 32 is displayed. W1 is displayed in the replacement area R1 in real time instead of the graphic element included in the replacement area R1. Therefore, in the graphic processing device 100, the user can immediately confirm the state where the graphic element included in the replacement area R1 has been replaced with the replacement character string W1.

(5−2)変形例B
実施形態に係る図形処理装置100は、図8のステップS16,S17において、置換領域R1に含まれる全ての図形要素を、対応する置換文字列W1に置き換える。ユーザは、図形データ表示領域30aに表示される特定の擬似文字図形のみを、対応する置換文字列W1に置き換える場合、置き換え対象の擬似文字図形のみが完全に含まれるように置換領域R1を指定する。しかし、図形処理装置100は、ユーザが指定した置換領域R1に含まれる任意の図形要素を、ステップS16,S17において置換文字列W1に置き換えられる図形要素からユーザが除外する操作を受け付けてもよい。
(5-2) Modification B
The graphic processing apparatus 100 according to the embodiment replaces all graphic elements included in the replacement area R1 with the corresponding replacement character string W1 in steps S16 and S17 in FIG. When replacing only a specific pseudo-character graphic displayed in the graphic data display area 30a with the corresponding replacement character string W1, the user specifies the replacement area R1 such that only the pseudo-character graphic to be replaced is completely included. . However, the graphic processing device 100 may accept an operation in which the user excludes an arbitrary graphic element included in the replacement area R1 specified by the user from the graphic elements replaced with the replacement character string W1 in steps S16 and S17.

本変形例では、除外手段56は、例えばステップS14においてユーザが置換文字列W1を入力することができる間に、ユーザが指定した置換領域R1に含まれる擬似文字図形以外の図形要素を、置換文字列W1に置き換えられる対象である図形要素からユーザが除外することができる。除外手段56は、例えば、置換領域R1に含まれる任意の図形要素を図形データ表示領域30aからユーザに選択させて、選択された図形要素を、置換文字列W1に置き換えられる対象である図形要素から除外してもよい。従って、この図形処理装置は、擬似文字図形以外の図形要素を、置換文字列W1に置き換える対象から容易に除外でき、文字を表す図形を文字データに効率的に置き換えることができる。   In this modification, the exclusion unit 56 replaces the graphic element other than the pseudo-character graphic included in the replacement region R1 specified by the user with the replacement character while the user can input the replacement character string W1 in step S14, for example. The user can exclude a graphic element to be replaced with the column W1. For example, the exclusion unit 56 allows the user to select an arbitrary graphic element included in the replacement area R1 from the graphic data display area 30a, and replaces the selected graphic element with the replacement character string W1. May be excluded. Therefore, the graphic processing device can easily exclude graphic elements other than the pseudo-character graphic from objects to be replaced with the replacement character string W1, and can efficiently replace a graphic representing a character with character data.

また、本変形例では、図形処理装置100は、例えばステップS14においてユーザが置換文字列W1を入力することができる間に、ユーザが指定した任意の図形要素を、置換文字列W1に置き換えられる対象である図形要素としてユーザが指定する機能を備えてもよい。   Further, in this modification, the graphic processing apparatus 100 can replace an arbitrary graphic element specified by the user with the replacement character string W1 while the user can input the replacement character string W1 in step S14, for example. May be provided with a function designated by the user as a graphic element.

(5−3)変形例C
実施形態に係る図形処理装置100は、ステップS14において、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力することができる間に、ユーザは、文字列方向ボタン群32cによって、置換文字列W1に含まれる個々の文字の向き、および、文字の並び方向を指定することができる。しかし、図形処理装置100は、ユーザが置換文字列W1を入力することができる間に、置換文字列W1の種種のプロパティをユーザに設定させてもよい。プロパティは、置換文字列W1のフォント、フォントの色、スタイル、サイズ、下線、および、下線の色等である。
(5-3) Modification C
In step S14, the graphic processing device 100 according to the embodiment allows the user to input the replacement character string W1 into the character string input area 32a of the input interface 32 by using the character string direction button group 32c. The direction of each character included in the replacement character string W1 and the arrangement direction of the characters can be specified. However, the graphic processing apparatus 100 may allow the user to set various properties of the replacement character string W1 while the user can input the replacement character string W1. The properties include the font of the replacement character string W1, the font color, the style, the size, the underline, and the color of the underline.

プロパティ設定手段57は、ユーザが置換文字列W1のプロパティを設定する操作を受け付ける。プロパティ設定手段は、ユーザがプロパティを設定するための設定インターフェイス34をディスプレイ上に表示する。図12は、設定インターフェイス34の一例である。プロパティ設定手段57は、前回ユーザが設定したプロパティを設定インターフェイス34にデフォルトで表示させる機能を有する。   The property setting means 57 accepts an operation for setting the property of the replacement character string W1 by the user. The property setting means displays, on a display, a setting interface 34 for the user to set properties. FIG. 12 is an example of the setting interface 34. The property setting means 57 has a function of displaying the properties set by the user last time on the setting interface 34 by default.

本変形例では、プロパティ設定手段57は、文字列入力領域32aにユーザが入力した置換文字列W1の外観等を設定するための設定インターフェイス34を、表示部30の画面上に表示させる。設定インターフェイス34は、例えば、入力インターフェイス32に含まれる所定のボタン、および、メニューのアイテムの選択によって表示される。また、プロパティ設定手段57は、ユーザが以前に入力して設定したプロパティを、設定インターフェイス34にデフォルト表示させる。従って、この図形処理装置は、ユーザが入力した置換文字列W1の外観等をユーザに容易に設定させることができる。   In this modification, the property setting means 57 causes the setting interface 34 for setting the appearance and the like of the replacement character string W1 input by the user in the character string input area 32a to be displayed on the screen of the display unit 30. The setting interface 34 is displayed by, for example, a predetermined button included in the input interface 32 and selection of an item of a menu. In addition, the property setting means 57 causes the setting interface 34 to display by default the properties previously input and set by the user. Therefore, this graphic processing device allows the user to easily set the appearance and the like of the replacement character string W1 input by the user.

なお、本変形例では、図5に示される入力インターフェイス32のダイアログに、図12に示される設定インターフェイス34が含まれていてもよい。   In this modification, the dialog of the input interface 32 shown in FIG. 5 may include the setting interface 34 shown in FIG.

(5−4)変形例D
実施形態に係る図形処理装置100は、ステップS11〜S13において、ユーザに置換領域R1を指定させる。しかし、図形処理装置100は、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力することができる間に、既に指定された置換領域R1を変更できる機能を有してもよい。本変形例では、ユーザは、入力インターフェイス32が表示されている間に、既に指定された置換領域R1を操作して、置換領域R1を変更することができる。従って、この図形処理装置は、ユーザが入力した文字列に置き換える図形要素を含む置換領域を柔軟に変更することができる。
(5-4) Modification D
In steps S11 to S13, the graphic processing apparatus 100 according to the embodiment allows the user to specify the replacement area R1. However, the graphic processing device 100 may have a function of changing the replacement area R1 that has already been specified while the user can input the replacement character string W1 into the character string input area 32a of the input interface 32. . In the present modification, the user can change the replacement area R1 by operating the replacement area R1 already specified while the input interface 32 is displayed. Therefore, the graphic processing device can flexibly change the replacement area including the graphic element to be replaced with the character string input by the user.

(5−5)変形例E
実施形態に係る図形処理装置100では、置換手段54は、領域指定手段52によってユーザが指定した置換領域R1に含まれる図形要素を、文字列入力手段53によってユーザが入力した文字列に、文字データとして置き換える。しかし、置換手段54は、領域指定手段52によってユーザが指定した置換領域R1に含まれる図形シンボルも、文字列入力手段53によってユーザが入力した文字列に、文字データとして置き換えてもよい。
(5-5) Modification E
In the graphic processing apparatus 100 according to the embodiment, the replacement means 54 converts the graphic element included in the replacement area R1 specified by the user by the area specification means 52 into a character string input by the user through the character string input means 53, and converts the character data Replace as However, the replacement means 54 may replace the graphic symbol included in the replacement area R1 specified by the user by the area specification means 52 with the character string input by the user by the character string input means 53 as character data.

本発明に係る図形処理装置、図形処理方法および図形処理プログラムは、文字を表す図形を文字データに効率的に置き換えることができる。   A graphic processing device, a graphic processing method, and a 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 置換文字列(文字列)
REFERENCE SIGNS LIST 100 graphic processing device 51 display means 52 area designation means 53 character string input means 54 replacement means 55 temporary replacement means 56 exclusion means 57 property setting means R1 replacement area L1 pseudo character figure W1 replacement character string (character string)

特開平9−34903号公報JP-A-9-34903

Claims (8)

複数の図形要素を含む図形データを処理する図形処理装置(100)であって、
ベクター画像である前記図形データをディスプレイ上に表示する表示手段(51)と、
前記図形データに含まれる前記図形要素から構成される図形であって文字を表す擬似文字図形(L1)を含む置換領域(R1)を、前記ディスプレイ上からユーザが指定する第1操作を受け付ける領域指定手段(52)と、
前記ユーザが前記第1操作によって前記置換領域を指定した後に、前記ユーザが文字列(W1)を入力する第2操作を受け付ける文字列入力手段(53)と、
前記ユーザが前記第1操作によって指定した前記置換領域に含まれる前記図形要素を、前記ユーザが前記第2操作によって入力した前記文字列であって、文字コードで表される文字データに置き換える置換手段(54)と、
を備える図形処理装置。
A graphic processing apparatus (100) for processing graphic data including a plurality of graphic elements,
Display means (51) for displaying the graphic data, which is a vector image, on a display;
An area specification for receiving a first operation in which a user designates 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, on the display Means (52);
Character string input means (53) for receiving a second operation of the user for inputting a character string (W1) after the user specifies the replacement area by the first operation;
Replacement means for replacing the graphic element included in the replacement area specified by the user by the first operation with character data represented by a character code, which is the character string input by the user by the second operation (54)
A graphics processing device 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 device according to claim 1.
前記ユーザが前記第1操作によって指定した前記置換領域に含まれる前記図形要素を、前記ユーザが前記第2操作をしている間に前記ユーザによって入力された前記文字列に置き換える仮置換手段(55)をさらに備える、
請求項1または2に記載の図形処理装置。
A temporary replacement unit that replaces the graphic element included in the replacement area specified by the user with the first operation with the character string input by the user while the user performs the second operation; ),
The graphic processing device according to claim 1.
前記ユーザが前記第1操作によって指定した前記置換領域に含まれる前記擬似文字図形以外の前記図形要素を、前記置換手段によって前記文字列に置き換えられる前記図形要素から前記ユーザが除外する第3操作を受け付ける除外手段(56)をさらに備える、
請求項1から3のいずれか1項に記載の図形処理装置。
A third operation of excluding the graphic element other than the pseudo-character graphic included in the replacement area specified by the user by the first operation from the graphic element replaced by the character string by the replacement unit; Further comprising an accepting exclusion means (56);
The graphic processing device according to claim 1.
前記ユーザが前記文字列のプロパティを設定する第4操作を受け付けるプロパティ設定手段(57)をさらに備える、
請求項1から4のいずれか1項に記載の図形処理装置。
A property setting unit (57) for receiving a fourth operation by the user for setting the property of the character string;
The graphic processing device according to claim 1.
前記プロパティ設定手段は、前記ユーザが前記プロパティを設定するための設定インターフェイスを前記ディスプレイ上に表示し、かつ、前回設定された前記プロパティを前記設定インターフェイスにデフォルトで表示させる、
請求項5に記載の図形処理装置。
The property setting unit displays a setting interface for the user to set the property on the display, and causes the property interface set last time to be displayed by default on the setting interface.
The graphic processing device 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,
A display unit provided in the computer, a display step of displaying the graphic data as a vector image on a display,
An area designating means provided in the computer reads, from the display, a replacement area (R1) including a pseudo-character graphic (L1) which is a graphic composed of the graphic elements included in the graphic data and includes a character. An area specifying step for receiving a first operation to be specified;
A character string input step provided in the computer, the character string input step of receiving a second operation of inputting a character string (W1) by the user after the user specifies the replacement area by the first operation;
The replacement means included in the computer displays the graphic element included in the replacement area specified by the user by the first operation as the character string input by the user by the second operation, and is represented by a character code. Replacing the character data with
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 as a vector image on a display;
An area specification for receiving a first operation in which a user designates 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, on the display Means (52),
Character string input means (53) for receiving a second operation by the user for inputting a character string (W1) after the user specifies the replacement area by the first operation; and
Replacement means for replacing the graphic element included in the replacement area specified by the user by the first operation with character data represented by a character code, which is the character string input by the user by the second operation (54),
A graphic processing program for causing the computer to function.
JP2015215166A 2015-10-30 2015-10-30 Graphic processing apparatus, graphic processing method, and graphic processing program Active JP6657799B2 (en)

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 JP2017084301A (en) 2017-05-18
JP6657799B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6313503B1 (en) 2017-04-21 2018-04-18 東洋インキScホールディングス株式会社 Water-based inkjet ink and method for producing printed matter

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07104905B2 (en) * 1987-04-15 1995-11-13 日立精工株式会社 Character string extraction method
JPH0520495A (en) * 1991-07-11 1993-01-29 Canon Inc Image processing device
JPH064640A (en) * 1992-06-17 1994-01-14 Mutoh Ind Ltd Character and graphic processing method and apparatus
JPH06119487A (en) * 1992-10-05 1994-04-28 Meidensha Corp Character input method
JP2906202B2 (en) * 1993-03-31 1999-06-14 日立ソフトウエアエンジニアリング株式会社 Text and figure input method
JP3371307B2 (en) * 1994-09-28 2003-01-27 オムロン株式会社 Image processing apparatus and image processing method
JPH1031752A (en) * 1996-07-12 1998-02-03 Tokyo Electric Power Co Inc:The Recognition result correction device for drawing input device
JP4074602B2 (en) * 2004-05-07 2008-04-09 キヤノンマーケティングジャパン株式会社 Character string arranging device, character string arranging method, program, and recording medium
JP5256956B2 (en) * 2008-09-16 2013-08-07 富士ゼロックス株式会社 Image processing apparatus, image display system, and program

Also Published As

Publication number Publication date
JP2017084301A (en) 2017-05-18

Similar Documents

Publication Publication Date Title
US11842035B2 (en) Techniques for labeling, reviewing and correcting label predictions for PandIDS
CN104123078B (en) The method and apparatus of input information
US12236504B2 (en) Graphical user interface
US20130093782A1 (en) Color Selection and Chart Styles
JP2012053911A (en) Extraction of meta data from designated document area
JP2007304669A (en) Method and program for controlling electronic equipment
EP2405364A1 (en) Information processing device, information processing method, program, and information processing system
US20190095065A1 (en) Display control method of communication device, control method of server, and recording medium
US20110128291A1 (en) Program generation device, program generation method, and computer-readable storage medium
TWI320897B (en) Method and apparatus for the automatic completion of composite characters
JP2015158900A (en) Information processing device, information processing method and information processing program
US20170323007A1 (en) Identifier Based Glyph Search
CN113260970B (en) User interface system, electronic device and interaction method for image recognition
JP6099788B1 (en) Product data registration terminal, product data registration method, and product data registration program
JP6657799B2 (en) Graphic processing apparatus, graphic processing method, and graphic processing program
US20250123821A1 (en) Intelligent webpage screen capture
JP2020115260A (en) Information processing device and information processing program
US20190129581A1 (en) Document processing apparatus and non-transitory computer readable medium
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
JP2007323474A (en) Ocr system, ocr format parameter preparation method, its program and program recording medium
JP6002328B2 (en) Search system, search program, and search condition input method
JP5811435B2 (en) Display device and display control program
JP5945645B1 (en) Product data registration terminal, product data registration method, and product data registration program
EP4254293A1 (en) Program, information processing apparatus, method for processing information

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