JPH06274482A - Character processing method and device - Google Patents

Character processing method and device

Info

Publication number
JPH06274482A
JPH06274482A JP5083777A JP8377793A JPH06274482A JP H06274482 A JPH06274482 A JP H06274482A JP 5083777 A JP5083777 A JP 5083777A JP 8377793 A JP8377793 A JP 8377793A JP H06274482 A JPH06274482 A JP H06274482A
Authority
JP
Japan
Prior art keywords
character
character string
output
rule
enclosing
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.)
Pending
Application number
JP5083777A
Other languages
Japanese (ja)
Inventor
Satoshi Iketa
敏 井桁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP5083777A priority Critical patent/JPH06274482A/en
Publication of JPH06274482A publication Critical patent/JPH06274482A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve visibility by controlling output based on the derived output position of surrounding line-designated characters or character strings, and the adjacent characters or character strings. CONSTITUTION:A CPU 2 judges whether or not information related with lines is present in the characters or character strings to be outputted, and discriminates whether or not the lines are the surrounding lines when the information related with the lines is present, When the characters or character strings have the surrounding lines, the CPU 2 obtains set space information from a program memory(PMEM) 3, and calculates the output position of the characters or character strings from the obtained space information. Next, the characters or character stings are converted into a necessary format based on the calculated output position, and outputted to a display output control part 12 or a picture input and output control part 6. Moreover, a CRT 13 or a printer 7 outputs the modified characters or character strings except modification related with the lines having the space set at the adjacent characters or character strings.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、入力された文字列中の
所望の文字または文字列に囲み罫を施して強調出力する
文字処理方法およびその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing method and apparatus for enclosing a desired character or character string in an input character string by enclosing it and emphasizing it.

【0002】[0002]

【従来の技術】この種の装置において、囲み罫は、下線
や打ち消しと同じく、文字又は文字列の修飾方法の一種
であり、修飾対象の文字列に合わせて決定した位置と大
きさに基づいて線でその修飾対象文字又は文字列を囲む
ものである。なお、ここでの文字は、文字処理装置にお
いて、文字と同じように扱うことができる枠等のデータ
であり、文字列は、連続したデータを意味する。また、
従来このような囲み罫の角度は90度に固定されてい
る。
2. Description of the Related Art In this type of device, a box rule is a type of character or character string modification method, like underlining and erasing, and is based on the position and size determined according to the character string to be modified. A line surrounds the character or character string to be modified. In addition, the character here is data such as a frame that can be treated in the same manner as the character in the character processing device, and the character string means continuous data. Also,
Conventionally, the angle of such a ruled line is fixed at 90 degrees.

【0003】このような文字修飾処理を行う場合、従来
の囲み罫の出力位置は、囲み罫と接する上下左右の文字
または文字列との余白の中間または固定された余白比率
で決定されていた。
In the case of performing such character modification processing, the output position of the conventional enclosing ruled line is determined by the middle or fixed margin ratio of the margins of the characters and character strings on the left, right, top and bottom in contact with the enclosing ruled line.

【0004】[0004]

【発明が解決しようとする課題】このため、従来の文字
処理装置では、囲み罫と接する上下左右の文字または文
字列のいずれかと余白がないような文字出力となる場
合、図15に示すように、囲み罫が施された文字又は文
字列と、該囲み罫された文字又は文字列に隣接する文字
又は文字列とが余白のない状態で出力されてしまう場合
が発生する。これにより、文字修飾機能の効果が半減す
るばかりか、印字品位も低下してしまう問題点があっ
た。
Therefore, in the conventional character processing device, when the character output is such that there is no margin between any of the upper, lower, left, and right characters or the character string in contact with the enclosing rule, as shown in FIG. In some cases, a character or character string subjected to the enclosing rule and a character or character string adjacent to the character or the character string subjected to the enclosing rule are output without a blank space. As a result, not only the effect of the character modification function is halved, but also the printing quality is degraded.

【0005】また、従来の囲み罫出力種別が図16に示
すように固定されているため、囲み罫による強調出力表
現が乏しいという問題点があった。
Further, since the conventional enclosed ruled output type is fixed as shown in FIG. 16, there is a problem that the emphasized output expression by the enclosed ruled is poor.

【0006】本発明は、上記の問題点を解決するために
なされたもので、入力された余白量又は面取り量に基づ
いて入力された文字又は文字列との囲み罫出力を制御す
ることにより、囲み罫指定された文字又は文字列を他の
文字又は文字列とを支障なく識別出力できるとともに、
囲み罫修飾表現を多彩に行える文字処理方法および文字
処理装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and controls the surrounding ruled line output with an input character or character string based on the input margin amount or chamfer amount, Enclosed ruled characters or character strings can be output without discrimination from other characters or character strings,
An object of the present invention is to provide a character processing method and a character processing device capable of variously enclosing box ruled expressions.

【0007】[0007]

【課題を解決するための手段】本発明に係る第1の文字
処理方法は、囲み罫指定された文字又は文字列と隣接す
る文字又は文字列との余白量を入力し、該入力された余
白量に基づいて囲み罫指定された文字又は文字列と隣接
する文字又は文字列との出力位置を導出し、該導出され
た出力位置に基づいて囲み罫指定された文字又は文字列
と隣接する文字又は文字列との出力を制御する。
According to a first character processing method of the present invention, a margin amount between a character or a character string designated by a surrounding rule and an adjacent character or a character string is inputted, and the inputted margin is inputted. Based on the amount, the output position of the character or character string specified by the enclosing rule and the adjacent character or character string is derived, and the character adjacent to the character or character string specified by the enclosing rule based on the derived output position Or control the output with a character string.

【0008】本発明に係る第1の文字処理装置は、囲み
罫指定された文字又は文字列と隣接する文字又は文字列
との余白量を入力する入力手段と、この入力手段により
入力された余白量に基づいて囲み罫指定された文字又は
文字列と隣接する文字又は文字列との出力位置を導出す
る導出手段と、この導出手段により導出された出力位置
に基づいて囲み罫指定された文字又は文字列と隣接する
文字又は文字列との出力を制御する制御手段とを有する
ものである。
A first character processing device according to the present invention is an input unit for inputting a margin amount between a character or a character string designated by a surrounding rule and an adjacent character or a character string, and a margin input by this input unit. Derivation means for deriving the output position of the character or character string specified by the enclosing rule based on the amount and the adjacent character or character string, and the character or the character specified by the enclosing rule based on the output position derived by the deriving means. And a control means for controlling the output of the character string and the adjacent character or character string.

【0009】本発明に係る第2の文字処理方法は、囲み
罫指定された文字又は文字列の出力領域から囲み罫出力
位置までの余白量を入力し、該入力された余白量に基づ
いて囲み罫指定された文字又は文字列と囲み罫の出力位
置をそれぞれ導出し、該導出された各出力位置に基づい
て囲み罫指定された文字又は文字列と囲み罫の出力を制
御する。
A second character processing method according to the present invention inputs a margin amount from an output area of a character or a character string for which enclosing rule is designated to an enclosing rule output position, and encloses a margin based on the input margin amount. The output of the ruled character or character string and the enclosing rule is derived, and the output of the character or character string and the enclosing rule specified for the enclosing rule is controlled based on each derived output position.

【0010】本発明に係る第2の文字処理装置は、囲み
罫指定された文字又は文字列の出力領域から囲み罫出力
位置までの余白量を入力する入力手段と、この入力手段
により入力された余白量に基づいて囲み罫指定された文
字又は文字列と囲み罫の出力位置をそれぞれ導出する導
出手段と、この導出手段により導出された各出力位置に
基づいて囲み罫指定された文字又は文字列と囲み罫の出
力を制御する制御手段とを有するものである。
The second character processing apparatus according to the present invention is provided with an input means for inputting a margin amount from the output area of the character or character string for which the enclosing rule is designated to the enclosing rule output position, and the input means. Derivation means for deriving the character or character string specified by the enclosing rule and the output position of the enclosing rule based on the margin amount, and the character or character string specified by the enclosing rule based on each output position derived by this deriving means And a control means for controlling the output of the enclosing ruled line.

【0011】本発明に係る第3の文字処理方法は、入力
された文字又は文字列を修飾する囲み罫の4角の面取り
径を入力し、該入力された面取り径に基づいて面取り囲
み罫指定された文字又は文字列と面取り囲み罫の出力位
置をそれぞれ導出し、該導出された各出力位置に基づい
て面取り囲み罫指定された文字又は文字列と面取り囲み
罫の出力を制御する。
According to a third character processing method of the present invention, four corner chamfered diameters of an enclosing rule that modifies an input character or character string are input, and a chamfering enclosing rule is specified based on the input chamfered diameter. The output positions of the generated character or character string and the chamfered ruled line are respectively derived, and the output of the character or character string and the chamfered ruled line designated by the chamfered ruled line is controlled based on the derived output positions.

【0012】本発明に係る第3の文字処理装置は、入力
された文字又は文字列を修飾する囲み罫の4角の面取り
径を入力する入力手段と、この入力手段により入力され
た面取り径に基づいて面取り囲み罫指定された文字又は
文字列と面取り囲み罫の出力位置をそれぞれ導出する導
出手段と、この導出手段により導出された各出力位置に
基づいて面取り囲み罫指定された文字又は文字列と面取
り囲み罫の出力を制御する制御手段とを有するものであ
る。
A third character processing apparatus according to the present invention has an input means for inputting the chamfered diameters of the four corners of the enclosing rule for modifying the input character or character string, and the chamfered diameter input by this input means. A derivation means for deriving the character or character string specified by the chamfering ruled line and the output position of the chamfering ruled line, respectively, and the character or character string specified by the chamfering ruled line based on each output position derived by the derivation means And a control means for controlling the output of the chamfered ruled line.

【0013】[0013]

【作用】第1の文字処理方法においては、囲み罫指定さ
れた文字又は文字列と隣接する文字又は文字列との余白
量を入力し、該入力された余白量に基づいて囲み罫指定
された文字又は文字列と隣接する文字又は文字列との出
力位置を導出し、該導出された出力位置に基づいて囲み
罫指定された文字又は文字列と隣接する文字又は文字列
との出力を制御するので、囲み罫指定された文字又は文
字列と隣接する文字又は文字列とを離隔して視認性よく
出力することが可能となる。
In the first character processing method, the margin amount between the character or character string for which the enclosing rule is specified and the adjacent character or character string is input, and the enclosing rule is specified based on the input margin amount. An output position of a character or a character string and an adjacent character or a character string is derived, and based on the derived output position, the output of the character or the character string specified by the enclosing rule and the adjacent character or the character string is controlled. Therefore, it is possible to separate the character or character string designated by the enclosing rule and the adjacent character or character string and output them with good visibility.

【0014】本発明に係る第1の文字処理装置において
は、入力手段により入力された余白量に基づいて導出手
段が囲み罫指定された文字又は文字列と隣接する文字又
は文字列との出力位置を導出し、該導出された出力位置
に基づいて制御手段が囲み罫指定された文字又は文字列
と隣接する文字又は文字列との出力を制御するので、囲
み罫指定された文字又は文字列と隣接する文字又は文字
列とを離隔して視認性よく出力することが可能となる。
In the first character processing apparatus according to the present invention, the output position of the character or the character string adjacent to the character or the character string designated by the enclosing rule by the derivation means based on the amount of the blank space input by the input means. And the control means controls the output of the character or character string specified by the enclosing rule and the adjacent character or character string based on the derived output position. It becomes possible to separate adjacent characters or character strings and output them with good visibility.

【0015】本発明に係る第2の文字処理方法は、囲み
罫指定された文字又は文字列の出力領域から囲み罫出力
位置までの余白量を入力し、該入力された余白量に基づ
いて囲み罫指定された文字又は文字列と囲み罫の出力位
置をそれぞれ導出し、該導出された各出力位置に基づい
て囲み罫指定された文字又は文字列と囲み罫の出力を制
御するので、囲み罫指定された文字又は文字列の文字形
状に左右されずに所定の余白を持った囲み罫で文字又は
文字列を修飾出力することが可能となる。
A second character processing method according to the present invention inputs a margin amount from an output area of a character or a character string for which enclosing rule is specified to an enclosing rule output position, and encloses the character based on the input margin amount. The output position of the specified character or character string and the surrounding ruled line is respectively derived, and the output of the specified character or character string and the surrounded ruled line is controlled based on each derived output position. It is possible to modify and output a character or a character string by a box rule having a predetermined margin regardless of the character shape of the specified character or character string.

【0016】本発明に係る第2の文字処理装置は、入力
手段により入力された余白量に基づいて導出手段が囲み
罫指定された文字又は文字列と囲み罫の出力位置をそれ
ぞれ導出し、該導出された各出力位置に基づいて制御手
段が囲み罫指定された文字又は文字列と囲み罫の出力を
制御するので、囲み罫指定された文字又は文字列の文字
形状に左右されずに所定の余白を持った囲み罫で文字又
は文字列を修飾出力することが可能となる。
In the second character processing device according to the present invention, the derivation unit derives the character or character string designated by the enclosing rule and the output position of the enclosing rule based on the margin amount input by the input unit, Since the control means controls the output of the character or character string specified by the enclosing rule and the enclosing rule based on each derived output position, a predetermined value is not affected by the character shape of the character or character string specified by the enclosing rule. Characters or character strings can be modified and output with a box rule having a margin.

【0017】本発明に係る第3の文字処理方法は、入力
された文字又は文字列を修飾する囲み罫の4角の面取り
径を入力し、該入力された面取り径に基づいて面取り囲
み罫指定された文字又は文字列と面取り囲み罫の出力位
置をそれぞれ導出し、該導出された各出力位置に基づい
て面取り囲み罫指定された文字又は文字列と面取り囲み
罫の出力を制御するので、通常の囲み罫と面取り囲み罫
により文字又は文字列を自在に修飾出力することが可能
となる。
According to a third character processing method of the present invention, the chamfered diameters of the four corners of an enclosing rule for modifying an input character or character string are input, and the chamfered encircling rule is specified based on the input chamfered diameter. Since the output positions of the specified characters or character strings and the chamfered ruled lines are respectively derived, and the output of the specified characters or character strings and the chamfered ruled lines is controlled based on the derived output positions, It is possible to freely modify and output a character or a character string by the enclosing rule and the chamfer enclosing rule.

【0018】本発明に係る第3の文字処理装置は、入力
手段により入力された面取り径に基づいて導出手段が面
取り囲み罫指定された文字又は文字列と面取り囲み罫の
出力位置をそれぞれ導出し、該導出手段により導出され
た各出力位置に基づいて制御手段が面取り囲み罫指定さ
れた文字又は文字列と面取り囲み罫の出力を制御するの
で、通常の囲み罫と面取り囲み罫により文字又は文字列
を自在に修飾出力することが可能となる。
In the third character processing apparatus according to the present invention, the derivation means derives the character or character string designated by the chamfering rule and the output position of the chamfering rule based on the chamfer diameter input by the input means. Since the control means controls the output of the character or character string designated by the chamfering enclosing rule and the chamfering enclosing rule based on each output position derived by the deriving means, the character or the character is generated by the normal enclosing rule and the chamfer enclosing rule. It becomes possible to freely modify and output columns.

【0019】[0019]

【実施例】図1は本発明の第1〜第3の文字処理装置の
構成の一例を説明するブロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram for explaining an example of the configuration of the first to third character processing devices of the present invention.

【0020】図において、1はシステムバスであり、こ
れから説明する各構成ブロックはこのシステムバス1に
接続されている。2はCPUで、プログラムメモリ(P
MEM)3に記憶された種々の文字処理プログラム(以
下、フローチャートで説明する制御手順を含む)に従っ
てシステムバス1に接続される各デバイスとのアクセス
を総括的に制御する。なお、プログラムメモリ3にはI
PL時にハードディスク15から読み出されるシステム
プログラムと機能処理実行にともなってハードディスク
15から読み出される機能処理プログラムが常駐する。
また、プログラムメモリ3には、キーボード9から入力
されたテキストデータもコード化されて格納される。4
はイメージメモリ(IMEM)で、イメージスキャナ5
等から読み込まれた画像情報のビットイメージが記憶さ
れている。6は画像入出力制御部で、イメージスキャナ
5からの画像入力と、イメージメモリ4にビットマップ
イメージに展開された印刷イメージのプリンタ7への出
力を制御する。8は入力制御部で、キーボード9,ポイ
ンティングデバイス(PD)10等の入力装置が接続さ
れている。
In FIG. 1, reference numeral 1 is a system bus, and each constituent block to be described below is connected to the system bus 1. 2 is a CPU, which is a program memory (P
Access to each device connected to the system bus 1 is comprehensively controlled according to various character processing programs stored in the MEM 3 (including a control procedure described below in the flowchart). The program memory 3 has I
At the time of PL, the system program read from the hard disk 15 and the function processing program read from the hard disk 15 as the function processing is executed are resident.
Further, the text data input from the keyboard 9 is also encoded and stored in the program memory 3. Four
Is an image memory (IMEM), and the image scanner 5
The bit image of the image information read from the above is stored. An image input / output control unit 6 controls image input from the image scanner 5 and output to the printer 7 of a print image developed into a bitmap image in the image memory 4. An input control unit 8 is connected with an input device such as a keyboard 9 and a pointing device (PD) 10.

【0021】操作者は、このキーボード9を操作するこ
とにより、システムの動作指令等を行う。また、ポイン
ティングデバイス10はCRT表示装置(CRT)13
上で画像情報を選択,加工指示するためのもので、本実
施例ではマウスを採用している。これにより、CRT1
3上のマウスカーソルをX,Y方向に対して任意に移動
して、メニューの選択および文字データ,図形データ,
画像データ等の選択/編集を行う。11はビデオイメー
ジメモリ(VRAM)で、VRAM11に展開された表
示データを表示出力制御部12が読み出してCRT13
の画面上に表示する。なお、表示するデータが文字デー
タであれば、その位置,属性情報に対応したフォントパ
ターンがVRAM11上にイメージとして展開されてお
り、またソフト制御によりVRAM11の表示上にイメ
ージとして展開されており、また、ソフト制御によりV
RAM11の表示エリアに直接カーソルが発生表示が可
能である。14は外部記憶装置制御部で、データファイ
ル用のディスクとなるハードディスク15、フロッピー
ディスク16とのアクセスを制御している。なお、CR
T13は文字画像等をカラー表示することができる。
The operator operates the keyboard 9 to issue operation commands for the system. In addition, the pointing device 10 is a CRT display device (CRT) 13
This is for selecting image information and instructing processing, and a mouse is used in this embodiment. This allows CRT1
Move the mouse cursor on 3 in the X and Y directions arbitrarily to select menus and character data, graphic data,
Select / edit image data. Reference numeral 11 is a video image memory (VRAM), and the display output control unit 12 reads the display data expanded in the VRAM 11 and the CRT 13
Displayed on the screen of. If the data to be displayed is character data, the font pattern corresponding to its position and attribute information is developed as an image on the VRAM 11, and is also developed as an image on the display of the VRAM 11 by software control. , V by software control
The cursor can be directly generated and displayed in the display area of the RAM 11. An external storage device control unit 14 controls access to a hard disk 15 and a floppy disk 16 which are disks for data files. In addition, CR
In T13, a character image or the like can be displayed in color.

【0022】このように構成された第1の文字処理装置
において、入力手段(本実施例ではキーボード9によ
る)により入力された余白量に基づいて導出手段(本実
施例ではCPU2による)が囲み罫指定された文字又は
文字列と隣接する文字又は文字列との出力位置を導出
し、該導出された出力位置に基づいて制御手段(本実施
例では画像入出力制御部6,表示出力制御部12によ
る)が囲み罫指定された文字又は文字列と隣接する文字
又は文字列との出力を制御するので、囲み罫指定された
文字又は文字列と隣接する文字又は文字列とを離隔して
視認性よく出力することが可能となる。
In the first character processing apparatus having the above-mentioned structure, the derivation means (by the CPU 2 in this embodiment) draws an enclosing rule based on the margin amount input by the input means (by the keyboard 9 in this embodiment). The output position of the designated character or character string and the adjacent character or character string is derived, and the control means (in this embodiment, the image input / output control unit 6, the display output control unit 12 is derived based on the derived output position. Control the output of the character or character string specified by the enclosing rule and the adjacent character or character string, so that the character or character string specified by the enclosing rule and the adjacent character or character string are separated. It is possible to output well.

【0023】第2の文字処理装置において、入力手段
(本実施例ではキーボード9)により入力された余白量
に基づいて導出手段(本実施例ではCPU2による)が
囲み罫指定された文字又は文字列と囲み罫の出力位置を
それぞれ導出し、該導出された各出力位置に基づいて制
御手段(本実施例では画像入出力制御部6,表示出力制
御部12による)が囲み罫指定された文字又は文字列と
囲み罫の出力を制御するので、囲み罫指定された文字又
は文字列の文字形状に左右されずに所定の余白を持った
囲み罫で文字又は文字列を修飾出力することが可能とな
る。
In the second character processing device, the derivation means (by the CPU 2 in this embodiment) encloses the ruled character or character string on the basis of the amount of blank space input by the input means (keyboard 9 in this embodiment). And output positions of the enclosing ruled lines are respectively derived, and the control means (in this embodiment, the image input / output control unit 6 and the display output control unit 12) derives the output position of the enclosing ruled characters or Since the output of character strings and enclosing rules is controlled, it is possible to modify and output characters or character strings with enclosing rules that have a certain margin regardless of the character shape of the enclosing rule specified or the character shape of the character string. Become.

【0024】第3の文字処理装置において、入力手段
(本実施例ではキーボード9による)により入力された
面取り径に基づいて導出手段(本実施例ではCPU2に
よる)が面取り囲み罫指定された文字又は文字列と面取
り囲み罫の出力位置をそれぞれ導出し、該導出手段によ
り導出された各出力位置に基づいて制御手段(本実施例
では画像入出力制御部6,表示出力制御部12による)
が面取り囲み罫指定された文字又は文字列と面取り囲み
罫の出力を制御するので、通常の囲み罫と面取り囲み罫
により文字又は文字列を自在に修飾出力することが可能
となる。
In the third character processing apparatus, the derivation means (by the CPU 2 in this embodiment) designates the chamfered ruled characters or characters by the derivation means (by the CPU 2 in this embodiment) based on the chamfer diameter input by the input means (by the keyboard 9 in this embodiment). The output positions of the character string and the chamfered ruled line are respectively derived, and the control unit (in this embodiment, the image input / output control unit 6 and the display output control unit 12) is based on each output position derived by the derivation unit.
Controls the output of the character or character string designated by the chamfering enclosing rule and the chamfering enclosing rule, so that the character or the character string can be freely modified and output by the normal enclosing rule and the chamfering enclosing rule.

【0025】以下、図2〜図4を参照しながら本発明に
係る第1の文字処理法における第1の囲み罫出力制御動
作ついて説明する。
The first enclosing ruled line output control operation in the first character processing method according to the present invention will be described below with reference to FIGS.

【0026】図2は本発明の第1の文字処理方法におけ
る第1の囲み罫設定処理手順を説明するフローチャート
である。なお、(1),(2)は各ステップを示す。
FIG. 2 is a flow chart for explaining a first enclosing rule setting process procedure in the first character processing method of the present invention. Note that (1) and (2) indicate each step.

【0027】ユーザが処理対象とする文字または文字列
をキーボード9またはポインティングデバイス10を用
いて指定した後、囲み罫の設定処理が開始され、図3に
示す様な余白設定ウインドウを表示し、余白情報の入力
をユーザに催促し、例えば上下余白および左右余白(上
下または左右同一量の余白)を数値入力、本実施例では
何れの余白も0.1mmする(1)。次いで、CPU2
は、設定された余白量を、PMEM3にユーザが処理対
象として選択した文字または文字列の修飾情報として保
存して(2)、囲み罫設定処理を終了する。なお、本実
施例では、ユーザが処理対象とする文字または文字列を
選択していない状態で、囲み罫の設定を行うこともでき
る。この場合は、ステップ(2)において、設定された
余白量は、CPU2により、PMEM3にユーザが新た
な処理対象を選択するか、文字または文字列の入力位置
を変更するまで一時記憶され、次に入力する文字または
文字列にCPU2より修飾情報を付加する。
After the user designates a character or character string to be processed by using the keyboard 9 or the pointing device 10, the surrounding rule setting process is started, and the margin setting window as shown in FIG. 3 is displayed to display the margin. The user is prompted to input information, and for example, the upper and lower margins and the left and right margins (margins having the same amount in the upper and lower sides or the left and right sides) are numerically input. Then CPU2
Saves the set margin amount in the PMEM 3 as modification information of the character or character string selected by the user as the processing target (2), and ends the enclosing rule setting process. It should be noted that in the present embodiment, it is possible to set the enclosing rule while the user has not selected the character or character string to be processed. In this case, in step (2), the set margin amount is temporarily stored by the CPU 2 until the user selects a new processing target in the PMEM 3 or changes the input position of the character or character string. The CPU 2 adds decoration information to the input character or character string.

【0028】図4は本発明の第1の文字処理方法におけ
る第1の囲み罫出力処理手順を説明するフローチャート
である。なお、(1)〜(12)は各ステップを示す。
FIG. 4 is a flow chart for explaining the first enclosed ruled line output processing procedure in the first character processing method of the present invention. Note that (1) to (12) indicate each step.

【0029】ユーザからの操作により文字出力要求され
ると、CPU2は出力を行う文字または文字列に線に関
する情報があるかどうかを判断し(1)、線に関する情
報がある場合には、該線が囲み罫かどうかを判定し
(2)、文字または文字列が囲み罫を持っていた場合
は、CPU2は、PMEM3から設定された余白情報を
取得し(3)、文字または文字列の出力位置を取得した
余白情報を加味して算出する(4)。次いで、CPU2
は、算出された出力位置に基づいて文字または文字列
を、必要に応じた形式にして表示出力制御部12または
画像入出力制御部6に出力する(6)。CRT13又は
プリンタ7は隣接した文字または文字列に設定した余白
を持った線に関する修飾以外の修飾された文字または文
字列を出力する。
When a character output request is made by an operation by the user, the CPU 2 determines whether or not the character or character string to be output has information regarding a line (1). Is a surrounding ruled line (2), and if the character or character string has a surrounding ruled line, the CPU 2 acquires the margin information set from the PMEM 3 (3), and outputs the character or character string output position. Is calculated by taking into account the acquired margin information (4). Then CPU2
Outputs a character or a character string to the display output control unit 12 or the image input / output control unit 6 in a format as needed based on the calculated output position (6). The CRT 13 or the printer 7 outputs a modified character or character string other than the decoration related to a line having a margin set for an adjacent character or character string.

【0030】一方、ステップ(1),(2)の判定でN
Oの場合は、修飾なしの文字データに対するデータ出力
位置を算出し(5)、ステップ(6)以降に進む。
On the other hand, N is determined by the judgment in steps (1) and (2).
In the case of O, the data output position for the unmodified character data is calculated (5), and the process proceeds to step (6) and thereafter.

【0031】次いで、CPU2は、再度、出力を行う文
字または文字列に線に関する情報があるかどうかを判定
し(7)、さらに線に関する情報がある場合には、該線
が囲み罫かどうかを判定し(8)、文字または文字列が
囲み罫を持っていた場合は、CPU2は、PMEM3か
ら設定された余白情報を取得し(9)、線の出力位置を
取得した余白情報を加味して算出する(10)。次い
で、CPU2は、算出された出力位置に基づいて線を必
要に応じた形式にして表示出力制御部12または画像入
出力制御部6に出力する(12)、CRT13又はプリ
ンタ7は隣接した文字に設定した余白を持った状態の囲
み罫または囲み罫でない線の修飾を出力する。
Next, the CPU 2 again judges whether or not the character or character string to be output has information regarding a line (7), and if there is further information regarding the line, determines whether or not the line is an enclosing rule. When it is determined (8) and the character or the character string has the enclosing rule, the CPU 2 acquires the margin information set from the PMEM 3 (9), and adds the margin information acquired from the line output position to the margin information. Calculate (10). Then, the CPU 2 outputs the line to the display output control unit 12 or the image input / output control unit 6 in a format as necessary based on the calculated output position (12), and the CRT 13 or the printer 7 converts the adjacent characters into adjacent characters. Outputs a box rule with a set margin or a line decoration that is not a box rule.

【0032】一方、ステップ(8)の判定でNOの場合
は、文字または文字列に対する線の出力位置を算出し
(11)、ステップ(12)以降に進む。また、ステッ
プ(7)の判定でNOの場合は、なにもしない。
On the other hand, if the determination in step (8) is NO, the output position of the line for the character or character string is calculated (11), and the process proceeds to step (12) and thereafter. If the determination in step (7) is NO, nothing is done.

【0033】このように、第1の文字処理方法によれ
ば、、囲み罫指定された文字又は文字列と隣接する文字
又は文字列との余白量を入力し、該入力された余白量に
基づいて囲み罫指定された文字又は文字列と隣接する文
字又は文字列との出力位置を導出し、該導出された出力
位置に基づいて囲み罫指定された文字又は文字列と隣接
する文字又は文字列との出力を制御するので、囲み罫指
定された文字又は文字列と隣接する文字又は文字列とを
離隔して視認性よく出力することが可能となる。これに
より、図5に示すように、囲み罫で修飾される文字列、
例えば「あああ」に隣接する上下、左右の文字列に対し
て、図2に示したフローチャートで設定入力された余白
量に基づいて各文字の出力位置が決定されて出力される
ため、囲み罫指定された文字列「あああ」と上下,左右
に隣接する文字列とを明確に識別可能に出力することが
可能となった。
As described above, according to the first character processing method, the margin amount between the character or character string designated by the enclosing rule and the adjacent character or character string is input, and based on the input margin amount. A character or character string adjacent to the character or character string specified by the enclosing rule is derived based on the derived output position of the character or character string specified by the enclosing rule or an adjacent character or character string. Is controlled, it is possible to separate the character or character string designated by the enclosing rule and the adjacent character or character string and output them with good visibility. As a result, as shown in FIG. 5, the character string that is modified by the surrounding rule,
For example, for the upper, lower, left, and right character strings adjacent to "Ah", the output position of each character is determined and output based on the margin amount set and input in the flowchart shown in FIG. It is now possible to clearly distinguish between the character string “Ah” and the character strings adjacent to each other vertically and horizontally.

【0034】なお、上記実施例では、隣接する文字又は
文字列との余白量を上下又は左右とも均等に設定する場
合について説明したが、図6に示すように、上下左右そ
れぞれ独立した所望の余白量を設定可能に構成してもよ
く、さらに、書式設定された文字サイズ等に応じて最適
な所定の余白量を自動設定するように構成してもよい。
In the above embodiment, the case has been described in which the margin amounts for adjacent characters or character strings are set to be equal to each other vertically or horizontally, but as shown in FIG. The amount may be settable, and further, the optimum predetermined margin amount may be automatically set according to the formatted character size and the like.

【0035】また、上記実施例では、余白を囲み罫設定
時に、その都度設定する場合について説明したが、例え
ばメニュー等で別に初期設定し、初期設定された余白量
をそれ以降に設定された囲み罫の余白とするように制御
すれば、囲み罫設定操作負担を軽減できる。
In the above embodiment, the margin is set each time when the surrounding rule is set. However, for example, the initial setting is made separately in a menu or the like, and the initially set margin amount is set after the margin. If the margins of the ruled lines are controlled, the burden of the surrounding ruled line setting operation can be reduced.

【0036】なお、上記実施例では、囲み罫で修飾され
る文字又は文字列と隣接する文字又は文字列との余白量
を指定して、該指定された余白量に従って算出された文
字出力位置に基づいて囲み罫で修飾される文字又は文字
列と隣接する文字又は文字列を表示または印刷する場合
について説明したが、囲み罫で修飾される文字又は文字
列の位置と該囲み罫の出力位置との余白量を指定して、
囲み罫される文字または文字列の領域と囲み罫出力位置
との間に余白を形成するように制御してもよい。
In the above embodiment, the margin amount between the character or character string that is modified by the enclosing rule and the adjacent character or character string is specified, and the character output position is calculated according to the specified margin amount. The explanation was given on the case of displaying or printing the character or character string adjacent to the character or character string modified by the enclosing rule based on the above.The position of the character or character string modified by the enclosing rule and the output position of the enclosing rule Specify the margin amount of
Control may be performed so that a margin is formed between the area of the character or character string to be enclosed and the enclosed ruled output position.

【0037】以下、図7〜図9を参照しながら本発明の
第2の文字処理装置方法における囲み罫出力制御動作に
ついて説明する。
The surrounding ruled line output control operation in the second character processing device method of the present invention will be described below with reference to FIGS. 7 to 9.

【0038】図7は本発明の第2の文字処理方法におけ
る囲み罫設定処理手順を説明するフローチャートであ
る。なお、(1),(2)は各ステップを示す。
FIG. 7 is a flow chart for explaining the enclosing rule setting processing procedure in the second character processing method of the present invention. Note that (1) and (2) indicate each step.

【0039】ユーザが処理対象とする文字または文字列
をキーボード9またはポインティングデバイス10を用
いて指定した後、囲み罫の設定処理が開始され、図3に
示す様な余白設定ウインドウを表示し、余白情報の入力
をユーザに催促し、例えば上下余白および左右余白(上
下または左右同一量の余白)を数値入力、本実施例では
何れの余白も0.1mmする(1)。なお、本実施例に
おける余白量とは、囲み罫と該囲み罫で修飾される文字
または文字列の出力領域との余白量である。
After the user designates a character or character string to be processed by using the keyboard 9 or the pointing device 10, the surrounding rule setting process is started and the margin setting window as shown in FIG. 3 is displayed to display the margin. The user is prompted to input information, and for example, the upper and lower margins and the left and right margins (margins having the same amount in the upper and lower sides or the left and right sides) are numerically input. The margin amount in this embodiment is the margin amount between the enclosing rule and the output area of the character or character string modified by the enclosing rule.

【0040】次いで、CPU2は、設定された余白量
を、PMEM3にユーザが処理対象として選択した文字
または文字列の修飾情報として保存して(2)、囲み罫
設定処理を終了する。なお、本実施例では、ユーザが処
理対象とする文字または文字列を選択していない状態
で、囲み罫の設定を行うこともできる。この場合は、ス
テップ(2)において、設定された余白量は、CPU2
により、PMEM3にユーザが新たな処理対象を選択す
るか、文字または文字列入力位置を変更するまで一時記
憶され、次に入力する文字または文字列にCPU2より
修飾情報を付加する。
Next, the CPU 2 stores the set margin amount in the PMEM 3 as modification information of the character or character string selected by the user as the processing target (2), and ends the enclosing rule setting process. It should be noted that in the present embodiment, it is possible to set the enclosing rule while the user has not selected the character or character string to be processed. In this case, the margin amount set in step (2) is
Thus, it is temporarily stored in the PMEM 3 until the user selects a new processing target or changes the character or character string input position, and the CPU 2 adds modification information to the character or character string to be input next.

【0041】図8は本発明の第2の文字処理方法におけ
る囲み罫出力処理手順を説明するフローチャートであ
る。なお、(1)〜(12)は各ステップを示す。
FIG. 8 is a flow chart for explaining the enclosed ruled output processing procedure in the second character processing method of the present invention. Note that (1) to (12) indicate each step.

【0042】ユーザからの操作により文字出力要求され
ると、CPU2は出力を行う文字または文字列に線に関
する情報があるかどうかを判断し(1)、線に関する情
報がある場合には、該線が囲み罫かどうかを判定し
(2)、文字または文字列が囲み罫を持っていた場合
は、CPU2は、PMEM3から設定された余白情報を
取得し(3)、文字または文字列の出力位置および囲み
罫の出力位置を取得した余白情報を加味して算出する
(4)。次いで、CPU2は、算出された文字および該
文字の囲み罫の出力位置に基づいて文字または文字列を
必要に応じた形式にして表示出力制御部12または画像
入出力制御部6に出力する(6)。CRT13又はプリ
ンタ7は囲み罫出力位置と該囲み罫で修飾される文字ま
たは文字列に設定した余白を持った線に関する修飾以外
の修飾された文字又は文字列を出力する。一方、ステッ
プ(1),(2)の判定でNOの場合は、囲み罫がない
場合の文字または文字列の出力位置を算出し(5)、ス
テップ(6)以降に進む。
When a character output request is made by a user operation, the CPU 2 determines whether or not the character or character string to be output has information about a line (1). Is a surrounding ruled line (2), and if the character or character string has a surrounding ruled line, the CPU 2 acquires the margin information set from the PMEM 3 (3), and outputs the character or character string output position. And the output position of the enclosing ruled line is calculated in consideration of the acquired margin information (4). Next, the CPU 2 outputs the character or the character string to the display output control unit 12 or the image input / output control unit 6 in a format as needed based on the calculated character and the output position of the enclosing rule of the character (6 ). The CRT 13 or the printer 7 outputs a modified character or character string other than the modification relating to the surrounding ruled line output position and the line having a margin set in the character or character string modified by the surrounding ruled line. On the other hand, if the determinations in steps (1) and (2) are NO, the output position of the character or character string when there is no surrounding rule is calculated (5), and the process proceeds to step (6) and subsequent steps.

【0043】次いで、CPU2は、再度、出力を行う文
字または文字列に線に関する情報があるかどうかを判定
し(7)、さらに線に関する情報がある場合には、該線
が囲み罫かどうかを判定し(8)、文字または文字列が
囲み罫を持っていた場合は、CPU2は、PMEM3か
ら設定された余白情報を取得し(9)、線の出力位置を
取得した余白情報を加味して算出する(10)。次い
で、CPU2は、算出された出力位置に基づいて線を必
要に応じた形式にして表示出力制御部12または画像入
出力制御部6に出力する(12)、CRT13又はプリ
ンタ7は囲み罫で修飾される文字または文字列出力領域
との間に余白を持った状態の囲み罫でない線の修飾を出
力する。
Next, the CPU 2 again determines whether or not the character or character string to be output has information regarding a line (7). If there is further information regarding the line, it is determined whether the line is an enclosing rule. When it is determined (8) and the character or the character string has the enclosing rule, the CPU 2 acquires the margin information set from the PMEM 3 (9), and adds the margin information acquired from the line output position to the margin information. Calculate (10). Next, the CPU 2 outputs the line to the display output control unit 12 or the image input / output control unit 6 in a format as necessary based on the calculated output position (12), and the CRT 13 or the printer 7 is modified with a surrounding ruled line. Output a line decoration that is not an enclosing rule with a space between it and the specified character or character string output area.

【0044】一方、ステップ(8)の判定でNOの場合
は、文字または文字列に対する線の出力位置を算出し
(11)、ステップ(12)以降に進む。また、ステッ
プ(7)の判定でNOの場合はなにもしない。
On the other hand, if the judgment in step (8) is NO, the output position of the line for the character or character string is calculated (11), and the process proceeds to step (12) and thereafter. If the determination in step (7) is NO, nothing is done.

【0045】このように、本発明に係る第2の文字処理
方法によれば、囲み罫指定された文字又は文字列の出力
領域から囲み罫出力位置までの余白量を入力し、該入力
された余白量に基づいて囲み罫指定された文字又は文字
列と囲み罫の出力位置をそれぞれ導出し、該導出された
各出力位置に基づいて囲み罫指定された文字又は文字列
と囲み罫の出力を制御するので、囲み罫指定された文字
又は文字列の文字形状に左右されずに所定の余白を持っ
た囲み罫で文字又は文字列を修飾出力することが可能と
なる。
As described above, according to the second character processing method of the present invention, the margin amount from the output area of the character or character string for which the enclosing rule is designated to the enclosing rule output position is input, and is input. Based on the amount of blank space, the character or character string specified by the enclosing rule and the output position of the enclosing rule are respectively derived, and the character or character string specified by the enclosing rule and the output of the enclosing rule are output based on each derived output position. Since the control is performed, the character or character string can be modified and output by the surrounding rule having a predetermined margin without being influenced by the character shape of the character or the character string designated by the surrounding rule.

【0046】これにより、図9に示すように、囲み罫で
修飾される文字列、例えば「国凹円」に隣接する上下、
左右の文字列に対して、図7に示したフローチャートで
設定入力された余白量に基づいて各文字の出力位置,囲
み罫出力位置が決定されて出力されるため、囲み罫指定
された文字列「国凹円」と囲み罫とが所望の量分離隔さ
れた状態で出力することが可能となった。
As a result, as shown in FIG. 9, the character string modified by the enclosing rule, for example, the upper and lower parts adjacent to the "national concave circle",
For the left and right character strings, the output position of each character and the surrounding ruled line output position are determined and output based on the margin amount set and input in the flowchart shown in FIG. It has become possible to output in a state where the "country concave circle" and the surrounding ruled lines are separated by a desired amount.

【0047】また、上記実施例では、囲み罫で修飾され
る文字又は文字列の出力位置から囲み罫出力位置までの
余白量を上下又は左右とも均等に設定する場合について
説明したが、図10に示すように、上下左右それぞれ独
立した所望の余白量を設定可能に構成してもよく、さら
に、書式設定された文字サイズ等に応じて最適な所定の
余白量を自動設定するように構成してもよい。
In the above embodiment, the case where the margin amount from the output position of the character or character string modified by the enclosing rule to the enclosing rule output position is set up and down or left and right is the same. As shown, it may be configured such that a desired margin amount can be set independently for each of the upper, lower, left, and right sides, and further, it is configured to automatically set an optimum predetermined margin amount according to the formatted character size and the like. Good.

【0048】また、上記実施例では、余白を囲み罫設定
時に、その都度設定する場合について説明したが、例え
ばメニュー等で別に初期設定し、初期設定された余白量
をそれ以降に設定された囲み罫の余白とするように制御
すれば、囲み罫設定操作負担を軽減できる。
In the above embodiment, the margin is set each time when the surrounding rule is set. However, for example, the margin is initially set separately in the menu or the like, and the initially set margin amount is set after that. If the margins of the ruled lines are controlled, the burden of the surrounding ruled line setting operation can be reduced.

【0049】なお、上記実施例では、囲み罫種別が文字
出力可能領域に対して矩形となるように囲み罫を出力す
る場合について説明したが、後述するように入力される
囲み罫の面取り量に基づいて面取りされた囲み罫を指定
された文字又は文字列に付加して出力するように制御し
てよい。
In the above embodiment, the case where the surrounding ruled line is output so that the surrounding ruled type is a rectangle with respect to the character outputable area has been described, but the chamfering amount of the entered surrounding ruled line will be described later. The chamfered enclosing rule may be added to the designated character or character string and output.

【0050】以下、図11〜図14を参照しながら、本
発明に係る第3の文字処理方法における囲み罫出力制御
動作について詳述する。
The surrounding ruled line output control operation in the third character processing method according to the present invention will be described in detail below with reference to FIGS. 11 to 14.

【0051】図11は本発明の第3の示す文字処理方法
における囲み罫設定処理手順を説明するフローチャート
である。なお、(1),(2)は各ステップを示す。
FIG. 11 is a flow chart for explaining the enclosing rule setting processing procedure in the character processing method according to the third embodiment of the present invention. Note that (1) and (2) indicate each step.

【0052】ユーザが処理対象とする文字または文字列
をキーボード9またはポインティングデバイス10を用
いて指定した後、囲み罫の設定処理が開始され、図12
に示す様な面取り設定ウインドウを表示し、面取り情報
の入力をユーザに催促し、例えば四方の面取り径量を数
値入力、本実施例では0.2mmを入力する(1)。次
いで、CPU2は、設定された面取り径量を、PMEM
3にユーザが処理対象として選択した文字または文字列
の修飾情報として保存して(2)、面取り径量設定処理
を終了する。なお、本実施例では、ユーザが処理対象と
する文字または文字列を選択していない状態で、囲み罫
の設定を行うこともできる。この場合は、ステップ
(2)において、設定された余白量は、CPU2によ
り、PMEM3にユーザが新たな処理対象を選択する
か、文字または文字列入力位置を変更するまで一時記憶
され、次に入力する文字または文字列にCPU2より修
飾情報を付加する。
After the user designates a character or character string to be processed by using the keyboard 9 or the pointing device 10, the enclosing rule setting process is started, and FIG.
A chamfer setting window as shown in (3) is displayed, and the user is prompted to input chamfer information. For example, a chamfer diameter amount of four sides is numerically input, and 0.2 mm is input in this embodiment (1). Next, the CPU 2 sets the chamfered diameter amount that has been set to PMEM.
The chamfering diameter amount setting process is terminated by storing the character or the character string selected by the user as the processing target in 3 as modification information (2). It should be noted that in the present embodiment, it is possible to set the enclosing rule while the user has not selected the character or character string to be processed. In this case, in step (2), the set margin amount is temporarily stored by the CPU 2 until the user selects a new processing target in the PMEM 3 or changes the character or character string input position, and is input next. The modifying information is added by the CPU 2 to the character or character string to be edited.

【0053】図13は本発明の第3の文字処理方法にお
ける囲み罫出力処理手順を説明するフローチャートであ
る。なお、(1)〜(9)は各ステップを示す。
FIG. 13 is a flow chart for explaining the enclosed ruled line output processing procedure in the third character processing method of the present invention. Note that (1) to (9) indicate each step.

【0054】ユーザの操作により文字等の出力が必要に
なった場合、CPU2は出力を行う文字または文字列と
修飾情報等をPMEM3から読み出し、各種の出力装置
に対応した形式に変換して表示出力制御部12または画
像入出力制御部6に出力する(1)。次いで、読み出し
た文字または文字列に線情報が含まれているかどうかを
判定し(2)、NOならば処理を終了し、YESならば
それが囲み罫であるかどうかを判定し(3)、NOなら
ばステップ(9)以降に進み、YESならば囲み罫の角
の部分であるかどうかを判定し(4)、NOならばステ
ップ(8)以降に進み、YESならば図11に示した面
取り径設定等により面取りが設定されているかどうかを
判定し(5)、NOならばステップ(8)以降に進み、
YESならばPMEM3から設定された面取り径データ
を取得し(6)、該面取り径データに従う曲率半径rを
表示出力制御部12または画像入出力制御部6に出力す
る(7)。
When a character or the like is required to be output by the user's operation, the CPU 2 reads out the character or character string to be output and the modification information from the PMEM 3, converts it into a format compatible with various output devices, and outputs it. It is output to the control unit 12 or the image input / output control unit 6 (1). Then, it is determined whether or not the read character or character string includes line information (2), if NO, the process is terminated, and if YES, it is determined whether or not it is an enclosing rule (3). If NO, the process proceeds to step (9) and subsequent steps, and if YES, it is determined whether it is a corner portion of the enclosing ruled line (4). If NO, the process proceeds to step (8) and subsequent steps, and if YES, it is shown in FIG. Whether chamfering is set or not is determined by setting the chamfer diameter (5). If NO, proceed to step (8) and thereafter.
If YES, the set chamfering diameter data is acquired from the PMEM 3 (6), and the curvature radius r according to the chamfering diameter data is output to the display output control unit 12 or the image input / output control unit 6 (7).

【0055】次いで、CPU2は囲み罫の残りの部分、
すなわち囲み罫に必要な横線/縦線を表示出力制御部1
2または画像入出力制御部6に出力し(8)、種々に修
飾された線を出力し(9)、処理を終了する。
Then, the CPU 2 causes the remaining portion of the enclosing rule,
That is, the horizontal / vertical lines required for the ruled lines are displayed on the output control unit 1.
2 or output to the image input / output control unit 6 (8), variously modified lines are output (9), and the process ends.

【0056】このように、本発明に係る第3の文字処理
方法によれば、入力された文字又は文字列を修飾する囲
み罫の4角の面取り径を入力し、該入力された面取り径
に基づいて面取り囲み罫指定された文字又は文字列と面
取り囲み罫の出力位置をそれぞれ導出し、該導出された
各出力位置に基づいて面取り囲み罫指定された文字又は
文字列と面取り囲み罫の出力を制御するので、通常の囲
み罫と面取り囲み罫により文字又は文字列を自在に修飾
出力することが可能となる。
As described above, according to the third character processing method of the present invention, the chamfered diameters of the four corners of the enclosing rule that modifies the input character or character string are input, and the input chamfered diameter is entered. A character or character string designated by the chamfering ruled line and an output position of the chamfering ruled line are respectively derived based on the output, and the character or character string and the chamfered ruled line designated by the chamfering ruled line are output based on the derived output positions. Is controlled, it is possible to freely modify and output a character or a character string by the normal enclosing rule and the chamfer enclosing rule.

【0057】これにより、図14に示すように、複数の
囲み罫K1(通常の囲み罫による修飾状態),K2(本
実施例による面取りされた囲み罫による修飾で、例えば
文字列「修飾の為の線の一種」に囲み罫修飾状態)を同
時に出力することでき、囲み罫による文字修飾表現をユ
ーザが自在に選択することが可能となった。
As a result, as shown in FIG. 14, a plurality of enclosing ruled lines K1 (a modified state by a normal enclosing ruled line), K2 (a modification by a chamfered enclosing ruled line according to the present embodiment, for example, a character string "for modification. It is possible for the user to freely select the character modification expression based on the enclosing rule, as it is possible to simultaneously output the enclosing rule modification state) to "a type of line".

【0058】なお、本実施例では、囲み罫で面取りされ
る際の曲率半径rをすべて等しいものとして面取りする
場合について説明したが、例えば囲み罫の4角(右上,
右下,左上,左下)のそれぞれについて所望の面取り径
を設定できるようにすることにより、それぞれの角の面
取り量が異なる面取り処理を行うように構成してもよ
い。
In the present embodiment, the chamfering is performed assuming that all the radii of curvature r when chamfering with the enclosing ruled lines are the same, but, for example, four corners of the encircled ruled lines (upper right,
By setting a desired chamfering diameter for each of the lower right, upper left, and lower left), chamfering processing may be performed with different chamfering amounts at the respective corners.

【0059】また、上記実施例では、面取りを囲み罫設
定時に、その都度設定する場合について説明したが、例
えばメニュー等で別に初期設定し、初期設定された面取
り量をそれ以降に設定された囲み罫の面取り量とするよ
うに制御すれば、面取り囲み罫設定操作負担を軽減でき
る。
In the above embodiment, the chamfer is set each time when setting the enclosing rule. However, for example, the chamfer is separately initialized by a menu or the like, and the initially set chamfer amount is set after that. If the chamfering amount of the ruled line is controlled, the chamfering and surrounding ruled line setting operation load can be reduced.

【0060】[0060]

【発明の効果】以上説明したように、第1の文字処理方
法によれば、囲み罫指定された文字又は文字列と隣接す
る文字又は文字列との余白量を入力し、該入力された余
白量に基づいて囲み罫指定された文字又は文字列と隣接
する文字又は文字列との出力位置を導出し、該導出され
た出力位置に基づいて囲み罫指定された文字又は文字列
と隣接する文字又は文字列との出力を制御するので、囲
み罫指定された文字又は文字列と隣接する文字又は文字
列とを離隔して視認性よく出力することができる。
As described above, according to the first character processing method, the margin amount between the character or character string designated by the enclosing rule and the adjacent character or character string is input, and the input margin is input. Based on the amount, the output position of the character or character string specified by the enclosing rule and the adjacent character or character string is derived, and the character adjacent to the character or character string specified by the enclosing rule based on the derived output position Alternatively, since the output with respect to the character string is controlled, it is possible to output the character or character string designated by the enclosing rule and the adjacent character or character string with good visibility.

【0061】本発明に係る第1の文字処理装置によれ
ば、入力手段により入力された余白量に基づいて導出手
段が囲み罫指定された文字又は文字列と隣接する文字又
は文字列との出力位置を導出し、該導出された出力位置
に基づいて制御手段が囲み罫指定された文字又は文字列
と隣接する文字又は文字列との出力を制御するので、囲
み罫指定された文字又は文字列と隣接する文字又は文字
列とを離隔して視認性よく出力することができる。
According to the first character processing device of the present invention, the derivation means outputs the character or the character string designated by the enclosing rule and the adjacent character or the character string on the basis of the margin amount input by the input means. Since the position is derived and the control means controls the output of the character or character string specified by the enclosing rule and the adjacent character or character string based on the derived output position, the character or character string specified by the enclosing rule is specified. And the adjacent character or character string can be separated and output with good visibility.

【0062】本発明に係る第2の文字処理方法によれ
ば、囲み罫指定された文字又は文字列の出力領域から囲
み罫出力位置までの余白量を入力し、該入力された余白
量に基づいて囲み罫指定された文字又は文字列と囲み罫
の出力位置をそれぞれ導出し、該導出された各出力位置
に基づいて囲み罫指定された文字又は文字列と囲み罫の
出力を制御するので、囲み罫指定された文字又は文字列
の文字形状に左右されずに所定の余白を持った囲み罫で
文字又は文字列を修飾出力することができる。
According to the second character processing method of the present invention, the margin amount from the output area of the character or character string for which the enclosing rule is specified to the enclosing rule output position is input, and based on the input margin amount. Since the output of the character or character string and the enclosing rule specified by the enclosing rule is derived, and the output of the character or character string and the enclosing rule specified by the enclosing rule is controlled based on each derived output position, Enclosing rule A character or character string can be modified and output by an enclosing rule having a predetermined margin regardless of the character shape of the specified character or character string.

【0063】本発明に係る第2の文字処理装置によれ
ば、入力手段により入力された余白量に基づいて導出手
段が囲み罫指定された文字又は文字列と囲み罫の出力位
置をそれぞれ導出し、該導出された各出力位置に基づい
て制御手段が囲み罫指定された文字又は文字列と囲み罫
の出力を制御するので、囲み罫指定された文字又は文字
列の文字形状に左右されずに所定の余白を持った囲み罫
で文字又は文字列を修飾出力することができる。
According to the second character processing apparatus of the present invention, the derivation unit derives the character or character string designated by the enclosing rule and the output position of the enclosing rule based on the margin amount input by the input unit. Since the control means controls the output of the character or character string specified by the enclosing rule and the enclosing rule based on each derived output position, it is not affected by the character shape of the character or character string specified by the enclosing rule. Characters or character strings can be modified and output by a box rule having a predetermined margin.

【0064】本発明に係る第3の文字処理方法によれ
ば、入力された文字又は文字列を修飾する囲み罫の4角
の面取り径を入力し、該入力された面取り径に基づいて
面取り囲み罫指定された文字又は文字列と面取り囲み罫
の出力位置をそれぞれ導出し、該導出された各出力位置
に基づいて面取り囲み罫指定された文字又は文字列と面
取り囲み罫の出力を制御するので、通常の囲み罫と面取
り囲み罫により文字又は文字列を自在に修飾出力するこ
とができる。
According to the third character processing method of the present invention, the chamfered diameters of the four corners of the enclosing rule for modifying the input character or character string are input, and the chamfered surroundings are input based on the input chamfered diameter. Since the output positions of the specified character or character string and the chamfering ruled line are respectively derived, and the output of the character or character string specified as the chamfered ruled line and the chamfered ruled line is controlled based on each of the derived output positions. Characters or character strings can be freely modified and output by the normal enclosing rule and the chamfer enclosing rule.

【0065】本発明に係る第3の文字処理装置によれ
ば、入力手段により入力された面取り径に基づいて導出
手段が面取り囲み罫指定された文字又は文字列と面取り
囲み罫の出力位置をそれぞれ導出し、該導出手段により
導出された各出力位置に基づいて制御手段が面取り囲み
罫指定された文字又は文字列と面取り囲み罫の出力を制
御するので、通常の囲み罫と面取り囲み罫により文字又
は文字列を自在に修飾出力することができる。
According to the third character processing device of the present invention, the derivation means outputs the character or character string designated by the chamfering rule and the output position of the chamfering rule based on the chamfer diameter input by the inputting means. Since the control means controls the output of the character or character string designated by the chamfering enclosing rule and the chamfering enclosing rule based on each output position derived by the derivation means, the character is generated by the normal enclosing rule and the chamfer enclosing rule. Alternatively, the character string can be freely modified and output.

【0066】従って、囲み罫指定された文字又は文字列
を他の文字又は文字列とを支障なく識別出力できるとと
もに、囲み罫修飾表現を多彩に行える等の優れた効果を
奏する。
Therefore, the character or character string designated by the enclosing rule can be discriminated and output from other characters or character strings without any trouble, and various enclosing rule modifying expressions can be obtained.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1〜第3の文字処理装置の構成を説
明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of first to third character processing devices of the present invention.

【図2】本発明の第1の文字処理方法における囲み罫設
定処理手順を説明するフローチャートである。
FIG. 2 is a flowchart illustrating a surrounding rule setting process procedure in the first character processing method of the present invention.

【図3】本発明に係る文字処理装置における余白量設定
ウインドウの一例を示す図である。
FIG. 3 is a diagram showing an example of a margin amount setting window in the character processing device according to the present invention.

【図4】本発明の第1の文字処理方法における囲み罫出
力処理手順を説明するフローチャートである。
FIG. 4 is a flowchart illustrating a boxed rule output processing procedure in the first character processing method of the present invention.

【図5】本発明に係る文字処理方法における第1の囲み
罫出力例を示す図である。
FIG. 5 is a diagram showing a first enclosing ruled output example in the character processing method according to the present invention.

【図6】本発明に係る文字処理装置における他の余白量
設定ウインドウの一例を示す図である。
FIG. 6 is a diagram showing an example of another margin amount setting window in the character processing device according to the present invention.

【図7】本発明の第2の文字処理方法における囲み罫設
定処理手順を説明するフローチャートである。
FIG. 7 is a flowchart illustrating a surrounding ruled line setting processing procedure in the second character processing method of the present invention.

【図8】本発明の第2の文字処理方法における囲み罫出
力処理手順を説明するフローチャートである。
FIG. 8 is a flowchart illustrating a boxed rule output processing procedure in the second character processing method of the present invention.

【図9】本発明に係る文字処理方法における第2の囲み
罫出力例を示す図である。
FIG. 9 is a diagram showing a second enclosed ruled output example in the character processing method according to the present invention.

【図10】本発明に係る文字処理装置における他の余白
量設定ウインドウの一例を示す図である。
FIG. 10 is a diagram showing an example of another margin amount setting window in the character processing device according to the present invention.

【図11】本発明に係る文字処理装置における面取り量
設定ウインドウの一例を示す図である。
FIG. 11 is a diagram showing an example of a chamfering amount setting window in the character processing device according to the present invention.

【図12】本発明に係る文字処理装置における面取り量
設定ウインドウの一例を示す図である。
FIG. 12 is a diagram showing an example of a chamfering amount setting window in the character processing device according to the present invention.

【図13】本発明の第3の文字処理方法における囲み罫
出力処理手順を説明するフローチャートである。
FIG. 13 is a flowchart illustrating a boxed ruled output processing procedure in the third character processing method of the present invention.

【図14】本発明に係る文字処理方法における第3の囲
み罫出力例を示す図である。
FIG. 14 is a diagram showing a third box-shaped ruled output example in the character processing method according to the present invention.

【図15】従来の文字処理装置における囲み罫出力例を
示す図である。
FIG. 15 is a diagram showing an example of enclosing ruled lines output in a conventional character processing device.

【図16】従来の文字処理装置における他の囲み罫出力
例を示す図である。
FIG. 16 is a diagram showing another example of surrounding ruled line output in the conventional character processing device.

【符号の説明】[Explanation of symbols]

2 CPU 3 PMEM 6 画像入出力制御部 7 プリンタ 9 キーボード 12 表示出力制御部 13 CRT 2 CPU 3 PMEM 6 Image input / output control unit 7 Printer 9 Keyboard 12 Display output control unit 13 CRT

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 入力された文字又は文字列を囲み罫によ
り修飾して出力する文字処理方法において、囲み罫指定
された文字又は文字列と隣接する文字又は文字列との余
白量を入力し、該入力された余白量に基づいて囲み罫指
定された文字又は文字列と隣接する文字又は文字列との
出力位置を導出し、該導出された出力位置に基づいて囲
み罫指定された文字又は文字列と隣接する文字又は文字
列との出力を制御することを特徴とする文字処理方法。
1. A character processing method for modifying an input character or character string by a surrounding rule and outputting the character, by inputting a margin amount between the character or character string designated as the surrounding rule and an adjacent character or character string, Based on the input margin amount, the output position of the character or character string specified with the enclosing rule and the adjacent character or character string is derived, and the character or character specified with the enclosing rule based on the derived output position A character processing method comprising controlling the output of a character adjacent to a string or a character string.
【請求項2】 入力された文字又は文字列を囲み罫によ
り修飾して出力する文字処理装置において、囲み罫指定
された文字又は文字列と隣接する文字又は文字列との余
白量を入力する入力手段と、この入力手段により入力さ
れた余白量に基づいて囲み罫指定された文字又は文字列
と隣接する文字又は文字列との出力位置を導出する導出
手段と、この導出手段により導出された出力位置に基づ
いて囲み罫指定された文字又は文字列と隣接する文字又
は文字列との出力を制御する制御手段とを具備したこと
を特徴とする文字処理装置。
2. A character processing device for modifying an input character or character string by a surrounding rule and outputting the input character, and inputting a margin amount between the character or character string designated for the surrounding rule and an adjacent character or character string. Means, a derivation means for deriving an output position of the character or character string designated by the enclosing rule based on the margin amount input by the input means, and an adjacent character or character string, and an output derived by the derivation means. A character processing device, comprising: a control unit that controls the output of a character or character string that is designated by a box rule based on a position and an adjacent character or character string.
【請求項3】 入力された文字又は文字列を囲み罫によ
り修飾して出力する文字処理方法において、囲み罫指定
された文字又は文字列の出力領域から囲み罫出力位置ま
での余白量を入力し、該入力された余白量に基づいて囲
み罫指定された文字又は文字列と囲み罫の出力位置をそ
れぞれ導出し、該導出された各出力位置に基づいて囲み
罫指定された文字又は文字列と囲み罫の出力を制御する
ことを特徴とする文字処理方法。
3. A character processing method for modifying an input character or character string with a surrounding rule to output the character or character string, by inputting a margin amount from the output area of the character or character string specified for the surrounding rule to the surrounding ruled line output position. , A character or a character string designated by the enclosing rule based on the input margin amount and an output position of the enclosing rule, respectively, and a character or a character string designated by the enclosing rule based on each derived output position. A character processing method characterized by controlling the output of enclosing ruled lines.
【請求項4】 入力された文字又は文字列を囲み罫によ
り修飾して出力する文字処理装置において、囲み罫指定
された文字又は文字列の出力領域から囲み罫出力位置ま
での余白量を入力する入力手段と、この入力手段により
入力された余白量に基づいて囲み罫指定された文字又は
文字列と囲み罫の出力位置をそれぞれ導出する導出手段
と、この導出手段により導出された各出力位置に基づい
て囲み罫指定された文字又は文字列と囲み罫の出力を制
御する制御手段とを具備したことを特徴とする文字処理
装置。
4. A character processing device that modifies and outputs an input character or character string by enclosing ruled lines, and inputs a margin amount from the output area of the character or character string specified for enclosing ruled lines to the enclosing ruled line output position. Input means, derivation means for deriving the output position of the character or character string and the enclosing rule designated by the enclosing rule based on the margin amount input by this input means, and the output position derived by this deriving unit. A character processing device comprising: a character or character string designated based on the enclosing rule based on the above; and control means for controlling the output of the enclosing rule.
【請求項5】 入力された文字又は文字列を囲み罫によ
り修飾して出力する文字処理方法において、入力された
文字又は文字列を修飾する囲み罫の4角の面取り径を入
力し、該入力された面取り径に基づいて面取り囲み罫指
定された文字又は文字列と面取り囲み罫の出力位置をそ
れぞれ導出し、該導出された各出力位置に基づいて面取
り囲み罫指定された文字又は文字列と面取り囲み罫の出
力を制御することを特徴とする文字処理方法。
5. A character processing method for modifying an input character or character string with a surrounding rule and outputting the modified character, by inputting the chamfered diameters of the four corners of the surrounding rule modifying the entered character or character string, and inputting the entered chamfered diameter. A chamfering ruled character or character string based on the chamfered diameter and an output position of the chamfering ruled line, respectively, and a character or character string specified by the chamfering ruled line based on the derived output positions. A character processing method characterized by controlling the output of chamfered ruled lines.
【請求項6】 入力された文字又は文字列を囲み罫によ
り修飾して出力する文字処理装置において、入力された
文字又は文字列を修飾する囲み罫の4角の面取り径を入
力する入力手段と、この入力手段により入力された面取
り径に基づいて面取り囲み罫指定された文字又は文字列
と面取り囲み罫の出力位置をそれぞれ導出する導出手段
と、この導出手段により導出された各出力位置に基づい
て面取り囲み罫指定された文字又は文字列と面取り囲み
罫の出力を制御する制御手段とを具備したことを特徴と
する文字処理装置。
6. A character processing device for modifying an input character or character string by a surrounding rule and outputting the input character or character string, and inputting means for inputting the chamfered diameters of the four corners of the surrounding rule for modifying the entered character or character string. , Derivation means for deriving the output position of the character or character string designated by the chamfering ruled line and the chamfering ruled line based on the chamfering diameter input by the input means, and the output position derived by the derivation means. A character processing device comprising: a character or a character string designated by a chamfering ruled line and a control means for controlling the output of the chamfering ruled line.
JP5083777A 1993-03-19 1993-03-19 Character processing method and device Pending JPH06274482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5083777A JPH06274482A (en) 1993-03-19 1993-03-19 Character processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5083777A JPH06274482A (en) 1993-03-19 1993-03-19 Character processing method and device

Publications (1)

Publication Number Publication Date
JPH06274482A true JPH06274482A (en) 1994-09-30

Family

ID=13812049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5083777A Pending JPH06274482A (en) 1993-03-19 1993-03-19 Character processing method and device

Country Status (1)

Country Link
JP (1) JPH06274482A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08128713A (en) * 1994-10-31 1996-05-21 Matsushita Electric Ind Co Ltd State display device of air conditioner
JP2015510609A (en) * 2012-01-09 2015-04-09 ジュンハ リュウ Character image editing method in character image editing apparatus and recording medium on which program for executing the method is recorded

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08128713A (en) * 1994-10-31 1996-05-21 Matsushita Electric Ind Co Ltd State display device of air conditioner
JP2015510609A (en) * 2012-01-09 2015-04-09 ジュンハ リュウ Character image editing method in character image editing apparatus and recording medium on which program for executing the method is recorded

Similar Documents

Publication Publication Date Title
JPH0723994B2 (en) Document creation method
JPH06274482A (en) Character processing method and device
JP3176080B2 (en) Document processing method and apparatus
JPH08202856A (en) Picture processing method
JPH103516A (en) Method and device for processing information
JPH0683553A (en) Tabulation device
JPH04263357A (en) Information processor
JP3072949B2 (en) Document editing system
JP3260390B2 (en) Document editing device
JPH01129351A (en) Document processor
JPH0959360A (en) Document processing apparatus and disposition of modification information on character string
JPH0612413A (en) Method and device for processing document
JPH0340410B2 (en)
JPH0721402A (en) Method and device for processing document
JPH05135034A (en) Document processing method
JPH08137858A (en) Character editing device
JPS62197873A (en) Image processor
JPH03161861A (en) Document processor with tabulating function
JPH05197715A (en) Document preparing device
JPS60241175A (en) Graphic processor
JPH03176767A (en) Document processor
JPH05119762A (en) Text input system
JPH09204428A (en) Device and method for processing character
JPH01129354A (en) Document processor
JPH0844712A (en) Device and method for document preparation