JP2017084301A - Graphic processor, graphic processing method, and graphic processing program - Google Patents

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

Info

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
Application number
JP2015215166A
Other languages
Japanese (ja)
Other versions
JP6657799B2 (en
Inventor
北原 順次
Junji Kitahara
順次 北原
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)

Abstract

PROBLEM TO BE SOLVED: To provide a graphic processor, a graphic processing method, and a graphic processing program capable of efficiently converting a graphic indicating characters into character data.SOLUTION: A graphic processor 100 processes graphic data including a plurality of graphic elements. The graphic processor comprises: display means 51; area designation means 52; character string input means 53; and replacement means 54. The display means displays graphic data on a display. The area designation means receives a user's operation to designate a replacement area R1 including a pseudo character graphic L1 from a display. The pseudo character graphic is constituted of graphic elements included in the graphic data as a graphic expressing a character. The character string input means receives the user's operation to input a replacement character string W1 after designating the replacement area. The replacement means replaces the graphic elements included in the replacement area designated by the user with the replacement character string input by the user.SELECTED DRAWING: Figure 6

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.

実施形態に係る図形処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the graphics processing apparatus which concerns on embodiment. 図形処理装置の記憶部の構成を示すブロック図である。It is a block diagram which shows the structure of the memory | storage part of a figure processing apparatus. 領域指定手段の機能を説明するための図である。It is a figure for demonstrating the function of an area | region designation | designated means. 擬似文字図形の一例を示す図である。It is a figure which shows an example of a pseudo character figure. 入力インターフェイスの一例である。図5(a)は、横書きモードにおける入力インターフェイスを表す。図5(b)は、縦書きモードにおける入力インターフェイスを表す。It is an example of an input interface. FIG. 5A shows an input interface in the horizontal writing mode. FIG. 5B shows the input interface in the vertical writing mode. 置換手段の機能を説明するための図である。It is a figure for demonstrating the function of a replacement means. 図6に示される擬似文字図形L1が、対応する文字列W1に置き換えられた状態を示す図である。It is a figure which shows the state by which the pseudo character figure L1 shown by FIG. 6 was replaced by the corresponding character string W1. 図6に示される擬似文字図形L1を、対応する置換文字列W1に置き換える処理を表すフローチャートである。It is a flowchart showing the process which replaces the pseudo character figure L1 shown by FIG. 6 by the corresponding replacement character string W1. 図8のステップS14における入力インターフェイスを示す図である。It is a figure which shows the input interface in step S14 of FIG. 入力インターフェイスの文字列方向ボタン群の機能について具体的に説明するための図である。図10(a)〜(f)は、それぞれ、図5(a)および図5(b)に示されるボタン32c2〜32c7の効果を示す図である。It is a figure for demonstrating concretely the function of the character string direction button group of an 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に係る、図形処理装置の記憶部の構成を示すブロック図である。It is a block diagram which shows the structure of the memory | storage part of the graphics processing apparatus based on modification AC. 変形例Cに係る、設定インターフェイスの一例を示す図である。It is a figure which shows an example of the setting interface based on the modification C.

(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 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 with a computer. The graphic processing apparatus 100 is, for example, a general-purpose personal computer in which dedicated software is incorporated. A user of the graphic processing apparatus 100 can create graphic data such as a drawing using the graphic processing apparatus 100. The graphic 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 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. File processing is processing such as retrieval, storage, deletion and printing of graphic data. The drawing process is a process for creating graphic data by inputting graphic elements such as line segments, circles and arcs, and character strings. 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 types of processing based on programs stored in the ROM 22 and programs loaded from the storage unit 50 to the RAM 23. The RAM 23 stores data necessary for the CPU 21 to execute processing. The CPU 21, ROM 22, and RAM 23 are connected to each other via a bus 24. The input / output interface 25 is connected to the bus 24. The input / output interface 25 has an interface function among 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, cursor, character string, graphic element, and the like on the screen. The display unit 30 displays graphic data created by the user on the screen.

通信部40は、例えば、モデムおよびLANカードである。通信部40は、インターネットおよびLAN等のネットワークを介する通信処理を行う。通信部40は、ネットワークを介して接続されている他のコンピュータおよび記憶メディア等と、データおよびプログラムの送受信を行うことができる。   The communication unit 40 is, for example, a modem and a LAN card. The communication unit 40 performs communication processing via a network such as the Internet and a LAN. The communication unit 40 can exchange data and programs with 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 the display unit 51, the region specifying unit 52, the character string input unit 53, the replacement unit 54, and the like as programs. 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 in which various graphic elements that can be used by the user to create graphic data such as drawings are stored. The graphic elements are, for example, points, line segments, rectangles, circles, arcs, ellipses, elliptical arcs, splines, polylines, Bezier curves, and other general drawing graphics.

(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, for example, a specific article such as an electric facility. 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, and all character strings 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 in accordance with the processing performed by the region designation unit 52, the character string input unit 53, and the replacement 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 Unit The area designation unit 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 the mouse that 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 partial area on the screen of the display unit 30 and is an area in which graphic data to be processed by the area designating unit 52, the character string input unit 53, and the replacing unit 54 is displayed. is there. The area designating unit 52 receives an operation for designating the rectangular area R1 by the user. The rectangular area R1 designated by the user is an area to be processed by the replacement unit 54, as will be described later. When the processing unit 20 detects 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 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 a region start point P1, which is a point on the graphic data display region 30a. Specifically, the user moves the mouse pointer 12 to a desired position and clicks the mouse button. At this time, the point indicated by the pointer 12 when the mouse button is clicked is the region start point P1. Next, the user selects a region end point P2, which is one point on the graphic data display region 30a. Specifically, the user moves the mouse pointer 12 to a desired position and clicks the mouse button. At this time, the point indicated by the pointer 12 when the mouse button is clicked is the region end point P2. The rectangular region R1 is a rectangular region in which a line segment connecting the region start point P1 and the region end point P2 is a diagonal line. In FIG. 3, the locus of the pointer 12 is indicated by a chain line arrow. Thus, the user designates the rectangular area R1 from the top of the graphic data display area 30a by operating the mouse. Note that the user's operation of designating the rectangular area R1 may be performed by a device other than the mouse. After the rectangular area R1 is designated from the graphic data display area 30a, the processing unit 20 starts processing of the character string input means 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 designated by the user using the area designating unit 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 taken into the graphic processing apparatus 100 as a raster image, and then the raster image is converted into a vector image for use. FIG. 4 is a diagram showing an example of the pseudo character graphic L0 displayed on the graphic data display area 30a. The pseudo character graphic L0 shown in FIG. 4 is a graphic generated by converting the character string “string” into a vector image. In general, characters have a complicated shape as compared with basic graphic elements such as straight lines and circles. Therefore, the character converted into the vector image is usually composed of a plurality of basic graphic elements. For example, the pseudo character graphic L0 shown in FIG. 4 is mainly composed of straight lines and curves.

(2−6)文字列入力手段
文字列入力手段53は、領域指定手段52によってユーザが置換領域R1を指定した後に、ユーザが文字列を入力するためのプログラムである。文字列入力手段53は、ユーザが文字列を入力するための入力インターフェイス32を、表示部30の画面上に表示する。文字列入力手段53は、ユーザによって矩形領域R1が指定された直後に、入力インターフェイス32を、表示部30の画面上に表示する。
(2-6) Character String Input Unit The character string input unit 53 is a program for the user to input a character string after the user specifies the replacement area R1 by the area specifying unit 52. The character string input means 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 means 53 displays the input interface 32 on the screen of the display unit 30 immediately after the rectangular area R1 is designated 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 right horizontal writing button 32c2, an upward horizontal writing button 32c3, and a downward horizontal writing button 32c4. “Vertical” is displayed on the vertical / horizontal switching button 32c1. When the input interface 32 is in the state shown in FIG. 5A, when the vertical / horizontal switching button 32c1 is pressed, the character string direction button group 32c is switched to the state shown in FIG. 5B. Any 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 is displayed so that the selected button can 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 input interface 32 is in the state shown in FIG. 5B, when the vertical / horizontal switching button 32c1 is pressed, the character string direction button group 32c is switched to the state shown in FIG. Any one of the downward vertical writing button 32c5, the leftward vertical writing button 32c6, and the rightward vertical writing button 32c7 is always selected, and is displayed so that the selected button can 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 that is one of the input units 10 to input a desired character string in the character string input area 32a. The character string input means 53 accepts an operation in which the user inputs a character string in the character string input area 32a. In the character string input area 32a, a cullet 32a1, which is the current input position, is displayed. In FIG. 5A and FIG. 5B, as an example, a character string “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 area R1, as will be described later. Note that the operation of the user inputting 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 the 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 in the character string input area 32a, And a button for designating the direction of character alignment.

参照ボタン32dは、例えば、文字列入力領域32aに入力したい文字列を、図形データ表示領域30a上に既に表示されている文字列から取得するためのボタンである。例えば、参照ボタン32dを押すと、表示部30の画面は、図形データ表示領域30a上に既に表示されている文字列を参照できる参照モードになる。参照モードでは、マウスのポインタを任意の文字列に移動させてマウスをクリックする操作等によって、ユーザは、図形データ表示領域30a上に既に表示されている任意の文字列を選択することができる。ユーザが文字列を選択すると、選択された文字列が、文字列入力領域32aに自動的に表示される。   The reference button 32d is a button for acquiring, for example, a character string desired 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 on 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 an operation of inputting a character string into the input interface 32. Thereafter, the processing unit 20 starts the processing of the replacing unit 54.

(2−7)置換手段
置換手段54は、領域指定手段52によってユーザが指定した置換領域R1に含まれる図形要素を、文字列入力手段53によってユーザが入力した文字列に、文字データとして置き換えるためのプログラムである。以下、置換手段54によって置き換えられる文字列を、必要に応じて、置換文字列と呼ぶ。
(2-7) Substitution Unit The substitution unit 54 replaces the graphic element included in the replacement area R1 designated by the user with the area designation unit 52 with the character string input by the user with the character string input unit 53 as character data. It is a program. Hereinafter, the character string replaced by the replacement unit 54 is 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 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 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 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 data display area 30a and displays the replacement character string W1 on the graphic data display area 30a. The center position of the displayed replacement character string W1 is the same as the center position P3 of the replacement area R1 by default.

なお、置換領域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 graphic processing device 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 for 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から構成される。   8, the user of the graphic processing device 100 uses the graphic processing device 100 to replace the pseudo character graphic L1 included in the replacement area R1 shown in FIG. 6 with a replacement character string W1 “string01” corresponding to the pseudo character graphic L1. It is a flowchart showing the process replaced 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 process of the area specifying unit 52. As a result, 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 the user has selected the region start point P1 of the replacement region R1. When the user selects the area start point P1, the process proceeds to step S13. When the user cancels the designation of the replacement region R1 by performing a predetermined operation 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 region end point P2 of the replacement region 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 area R1 is only the pseudo-character graphic L1. If the user performs a predetermined operation and reselects the region start point P1 without selecting the region end point P2, the process returns to step S12 (route “NO1” in FIG. 8). When 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 (the route of “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 S <b> 14, the input interface 32 is displayed on the screen of the display unit 30. Then, the user inputs an arbitrary replacement character string into the character string input area 32 a 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 into the character string input area 32a as the replacement character string W1. 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 S <b> 15, the processing unit 20 determines whether the user has pressed the close button 32 e of the input interface 32. When the user presses the close button 32e, it is considered that the replacement character string W1 has been input, and the process proceeds to step S16. When the user performs a predetermined operation and re-specifies the replacement area R1 without pressing the close button 32e, the process returns to step S12 (route “NO1” in FIG. 8). When the user cancels the input of the replacement character string W1 by performing a predetermined operation without pressing the close button 32e, the process ends (the route of “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 that is completely included in the replacement area R1, is deleted from the graphic data display area 30a. In FIG. 6, a part of the non-character graphic S2 is included in the replacement area R1. The non-character graphic S2 overlaps the pseudo character graphic L1. However, since the non-character figure S2 is not entirely included in the replacement area 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 graphic L1 deleted in step S16 is arranged as character data at the position of the replacement region R1 included in the graphic data display region 30a.

なお、ステップ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 input interface 32 or the “ESC” on the keyboard. This is done 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 views 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, for example, display modes 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 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 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 unit 52 with the replacement character string input by the user with the character string input unit 53. It can be replaced by means 54. The user of the graphic processing apparatus 100 can manually replace a 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 the corresponding character data.

図形データをラスター画像として図形処理装置100に取り込んだ後、そのラスター画像をベクター画像に変換して利用する場合、図形データに含まれる文字を、図形処理装置100等のコンピュータに文字と判定させることは一般的に難しい。そのため、図形データに含まれる文字が、対応する文字データに自動的に変換されずに、複数の図形要素から構成される複雑な擬似文字図形に変換されるおそれがある。   When graphic data is taken into the graphic processing apparatus 100 as a raster image and then used by converting the raster image into a vector image, a character such as the graphic processing apparatus 100 determines that the character included in the graphic data is a character. Is generally difficult. Therefore, characters included in the graphic data may not be automatically converted into corresponding character data, but may be converted into complex pseudo-character graphics 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 30 a. Therefore, the user can quickly input a replacement character string to be replaced with a pseudo character graphic into the character string input area 32a of the input interface 32. As a result, the graphic processing apparatus 100 converts the pseudo-character graphic included in the graphic data into the corresponding character data accurately and quickly by replacing the pseudo-character graphic with the corresponding character data by the user himself / herself. Can do. Therefore, the graphic processing apparatus 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 device 100 according to the modifications A to C. Compared with the storage unit 50 of the embodiment shown in FIG. 2, the storage units 50 of Modifications A to C further store temporary replacement means 55, exclusion means 56, and property setting means 57 as programs. The temporary replacement means 55 relates to the modified example A. The excluding unit 56 relates to the modified example B. The property setting unit 57 relates to the modification example C. Note that 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にリアルタイムで置き換えてもよい。   The graphic processing apparatus 100 according to the embodiment corresponds to the pseudo character graphic L1 included in the replacement area R1 in steps S16 and S17 after the user presses the close button 32e of the input interface 32 in step S15 of FIG. Replace with the replacement character string W1. However, the graphic processing apparatus 100 corresponds to the pseudo character graphic L1 included in the replacement area R1 while the user is inputting the replacement character string W1 in the character string input area 32a of the input interface 32 in step S14. The replacement character string W1 may be replaced in real time.

本変形例では、仮置換手段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 input interface 32 is displayed while the user inputs the replacement character string W1 to be replaced with the graphic element included in the replacement area R1. W1 is displayed in real time in the replacement area R1 instead of the graphic element included in the replacement area R1. Therefore, in this graphic processing apparatus 100, the user can immediately confirm that 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 of 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 designates the replacement area R1 so that only the pseudo-character graphic to be replaced is completely included. . However, the graphic processing apparatus 100 may accept an operation in which the user excludes any graphic element included in the replacement area R1 designated by the user from the graphic elements that are 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 excluding unit 56 replaces the graphic elements other than the pseudo character graphic included in the replacement area R1 designated 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 that is a target to be replaced with the column W1. For example, the excluding unit 56 causes the user to select an arbitrary graphic element included in the replacement area R1 from the graphic data display area 30a, and selects the selected graphic element from the graphic element to be replaced with the replacement character string W1. It may be excluded. Therefore, this graphic processing apparatus can easily exclude graphic elements other than the pseudo-character graphic from the object to be replaced with the replacement character string W1, and can efficiently replace the graphic representing the character with the character data.

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

(5−3)変形例C
実施形態に係る図形処理装置100は、ステップS14において、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力することができる間に、ユーザは、文字列方向ボタン群32cによって、置換文字列W1に含まれる個々の文字の向き、および、文字の並び方向を指定することができる。しかし、図形処理装置100は、ユーザが置換文字列W1を入力することができる間に、置換文字列W1の種種のプロパティをユーザに設定させてもよい。プロパティは、置換文字列W1のフォント、フォントの色、スタイル、サイズ、下線、および、下線の色等である。
(5-3) Modification C
In step S14, the graphic processing apparatus 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 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 designated. 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, font color, style, size, underline, and underline color of the replacement character string W1.

プロパティ設定手段57は、ユーザが置換文字列W1のプロパティを設定する操作を受け付ける。プロパティ設定手段は、ユーザがプロパティを設定するための設定インターフェイス34をディスプレイ上に表示する。図12は、設定インターフェイス34の一例である。プロパティ設定手段57は、前回ユーザが設定したプロパティを設定インターフェイス34にデフォルトで表示させる機能を有する。   The property setting unit 57 receives an operation in which the user sets the property of the replacement character string W1. The property setting means displays on the 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 property 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 unit 57 displays on the screen of the display unit 30 a 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. The setting interface 34 is displayed, for example, by selecting a predetermined button and menu item included in the input interface 32. Further, the property setting means 57 displays the properties previously input and set by the user on the setting interface 34 by default. Therefore, this graphic processing apparatus can make the user 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 setting interface 34 shown in FIG. 12 may be included in the dialog of the input interface 32 shown in FIG.

(5−4)変形例D
実施形態に係る図形処理装置100は、ステップS11〜S13において、ユーザに置換領域R1を指定させる。しかし、図形処理装置100は、入力インターフェイス32の文字列入力領域32aにユーザが置換文字列W1を入力することができる間に、既に指定された置換領域R1を変更できる機能を有してもよい。本変形例では、ユーザは、入力インターフェイス32が表示されている間に、既に指定された置換領域R1を操作して、置換領域R1を変更することができる。従って、この図形処理装置は、ユーザが入力した文字列に置き換える図形要素を含む置換領域を柔軟に変更することができる。
(5-4) Modification D
The graphics processing apparatus 100 according to the embodiment causes the user to designate a replacement area R1 in steps S11 to S13. However, the graphic processing apparatus 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 this modification, the user can change the replacement area R1 by operating the replacement area R1 that has already been specified while the input interface 32 is displayed. Therefore, the graphic processing apparatus 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 replacing unit 54 converts the graphic element included in the replacement area R1 specified by the user by the area specifying unit 52 into the character string input by the user by the character string input unit 53 and character data. Replace as. However, the replacing unit 54 may replace the graphic symbol included in the replacement area R1 specified by the user with the area specifying unit 52 with the character string input by the user with the character string input unit 53 as character data.

本発明に係る図形処理装置、図形処理方法および図形処理プログラムは、文字を表す図形を文字データに効率的に置き換えることができる。   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 SYMBOLS 100 Graphic processing apparatus 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 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操作をしている間に前記ユーザによって入力された前記文字列に置き換える仮置換手段(55)をさらに備える、
請求項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操作を受け付ける除外手段(56)をさらに備える、
請求項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.
前記ユーザが前記文字列のプロパティを設定する第4操作を受け付けるプロパティ設定手段(57)をさらに備える、
請求項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
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 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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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