JPH0424760A - Character processor - Google Patents

Character processor

Info

Publication number
JPH0424760A
JPH0424760A JP2125969A JP12596990A JPH0424760A JP H0424760 A JPH0424760 A JP H0424760A JP 2125969 A JP2125969 A JP 2125969A JP 12596990 A JP12596990 A JP 12596990A JP H0424760 A JPH0424760 A JP H0424760A
Authority
JP
Japan
Prior art keywords
rectangular area
character
characters
area
column direction
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
JP2125969A
Other languages
Japanese (ja)
Other versions
JP3084041B2 (en
Inventor
Yukihiro Shibata
幸弘 柴田
Masaaki Kurata
倉田 正明
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP02125969A priority Critical patent/JP3084041B2/en
Publication of JPH0424760A publication Critical patent/JPH0424760A/en
Application granted granted Critical
Publication of JP3084041B2 publication Critical patent/JP3084041B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To find out whether there is a character on the column direction frame of a designated rectangular area, and execute the rectangular processing quickly and efficiently by extracting the characters which is on the column direction frame of the area from a sentence storing means for character columns corresponding to the designated rectangular area, for the character columns corresponding to the column direction frame of the area. CONSTITUTION:When the rectangular area is designated within the display character column with plural rows displayed is designated by an area designating means 1, the character on the column direction frame of that rectangular area is extracted from a sentence storing means 3, and whether to fetch that character into the rectangular area or not will depend on the instruction of the operator. Next, when the operator executes an instruction to fetch it, the extracted character becomes effective, and when the operator executes an instruction not to fetch it, the extracted character becomes ineffective, and each are stored in a discriminating means 6. Thus, for the characters on the column direction frame of the rectangular area, just the effective characters can be included in the processing by referring to the discriminating means 6.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は文字処理装置に関し、詳しくは指定した矩形
領域内のデータにつし・て移動、複写等の矩形処理をし
うる文字処理装置に関する。
Detailed Description of the Invention (a) Industrial Application Field This invention relates to a character processing device, and more specifically, a character processing device that can perform rectangular processing such as moving or copying data within a specified rectangular area. Regarding.

(ロ)従来の技術 従来、この種の文字処理装置における矩形処理とは、指
定し几領域内の文字データを消去しγ二り、移動しfこ
すする処理を示し、その領域は、通常カーソルを用いて
矩形の左上端と右下端との2箇所を指定することにより
限定され、行方向枠は文字間に設定されている。まfこ
、矩形処理におけろ指定jよ、いわゆる領域指定のそれ
と対象を異にしている。すなわち、領域指定で)よ指定
した領域内について行すべての文字データが対象となる
が、矩形処理では指定した矩形領域内の文字データのみ
か対象となる。そしてこのような矩形枠によって限定さ
れた領域内の文字データは、各種編集処理に哄廿られる
7二め、バッファに取り込むことかできる。
(B) Conventional technology Conventionally, rectangular processing in this type of character processing device refers to a process of erasing character data within a specified area, moving it, and rubbing it. It is limited by specifying the upper left end and lower right end of the rectangle using , and the line direction frame is set between characters. In rectangle processing, the object is different from that of so-called area specification. In other words, character data of all lines within the specified area (area specification) is targeted, but in rectangular processing only character data within the specified rectangular area is targeted. The character data within the area limited by such a rectangular frame can be taken into a buffer for use in various editing processes.

(ハ)発明か解決しようとする課題 しかし上記し几文字処理装置における矩形処理では、処
理する文字の幅が半角、全角1倍角、4倍角などのよう
に複数種類存在することによって、矩形領域の列方向の
枠に文字が掛かる場合が生じていfこ。この場合従来の
矩形処理では、その枠に掛かる文字はすべて矩形領域外
とみなし受は付けないか、または矩形領域の指定それ自
体を無効として領域指定のし直しをオペレータに要求す
るかであっ1こ。
(c) Problems to be Solved by the Invention However, in the rectangular processing in the above-mentioned character processing device, there are multiple widths of characters to be processed, such as half-width, full-width single-width, quadruple-width, etc. There are cases where characters hang over the frame in the column direction. In this case, in conventional rectangle processing, all characters that hang in that frame are considered to be outside the rectangular area and are not marked, or the rectangular area specification itself is invalidated and the operator is requested to respecify the area. child.

しfこかって文章の必要とする箇所に矩形領域を指定す
る場合、オペレータはその作業に時間と手間を費やさな
ければならなかった。
However, when specifying a rectangular area where a text requires it, the operator has to spend time and effort on this task.

この発明は以上の事情を考慮してなされfこ乙ので、矩
形領域の列方向枠上に掛かる文字の取り込みまfこは取
り込み不要をオペレータが指定することのできろ文字処
理装置を提供する。
The present invention has been made in consideration of the above circumstances, and therefore provides a character processing device in which an operator can specify that characters overlapping the column direction frame of a rectangular area do not need to be imported.

(ニ)課題を解決するf二めの手段 第1図はこの発明の基本構成を明示するプロ・ツク図で
ある。同図においてこの発明は、人力手段かろ入力しf
二文字データを文字ま1こは文字列に変換して文章記憶
手段に記憶するととらに表示手段に可視出力する構成の
文字処理装置において、複数行表示されfこ文字列中に
、矩形領域を指定する領域指定手段[と、指定されfコ
矩形領域を記憶する矩形領域記憶手段2と、指定された
矩形領域内に対応する文字列について、該領域の列方向
枠上に掛かる文字を前記文章記憶手段3から抽出する抽
出手段4と、該抽出手段4によって抽出された文字に対
して、矩形領域内に取り込むか否かの指示を行う指示手
段5と、取り込み指示かなされた場合に前記抽出された
文字を有効とし、取り込み不要の指示がなされた場合に
前記抽出されf二文字を無効としてそれぞれ記憶する識
別手段6とを備えてなる文字処理装置である。
(d) Second Means for Solving the Problems FIG. 1 is a process diagram showing the basic structure of the present invention. In the same figure, the present invention can be inputted by human power means.
In a character processing device configured to convert two-character data into a character string, store it in a text storage means, and visually output it to a display means, a rectangular area is displayed in multiple lines and a character string is displayed. A rectangular area storage means 2 for storing a specified rectangular area [, a rectangular area storage unit 2 for storing a specified rectangular area, and a character string that hangs on the column direction frame of the area for a character string corresponding to the specified rectangular area. an extraction means 4 for extracting characters from the storage means 3; an instruction means 5 for instructing whether or not to import characters extracted by the extraction means 4 into a rectangular area; This is a character processing device comprising an identification means 6 which stores the extracted characters as valid, and stores the two extracted characters f as invalid when an instruction is given not to import them.

この発明における文字処理装置とは、具体的にはワート
プロセソサ、文字処理機能を有するコンピュータなどが
挙げられる。人力手段は通常キーボードで構成されてい
るか、マウスなとのポインティングデバイスでも構成で
きる。指示手段はキーボード上の例えばファンクション
キー、あるいは2つに文字キーの組み合わせ操作等によ
って実現できる。ま几、この発明における文¥列とは漢
字、かな文字、カタ力タ、アルファヘット、数字記号、
スペース等が含まれる。
Specifically, the character processing device in this invention includes a word processor, a computer having a character processing function, and the like. The human power means usually consists of a keyboard or can also consist of a pointing device such as a mouse. The instruction means can be realized by, for example, a function key on the keyboard or a combination of two character keys. In this invention, the sentence strings are kanji, kana characters, katakura ta, alphahet, numeric symbols,
Includes spaces, etc.

(ホ)作用 この発明に従えば、領域指定手段Iによって、複数行表
示された表示文字列中に矩形領域を指定すると、その矩
形領域の列方向枠上に掛かる文字か文章記憶手段から抽
出され、その文字を矩形領域内に取り込むか否かオペレ
ータからの指示待ちとなる。次いてオペレータか取り込
み指示を行うと、抽出された文字は有効とみなされ、オ
ペレータか取り込み不要の指示を行うと、抽出された文
字は無効とみなされてそれぞれ識別手段6に記憶されろ
よう作用する。これにより、矩形領域内の文字列か矩形
処理される場合、矩形領域の列方向枠ニ掛かる文字につ
いては識別手段6を参照することにより有効な文字のみ
か処理に供仕られる。
(E) Effect According to the present invention, when a rectangular area is specified in a display string displayed in multiple lines by the area specifying means I, the characters hanging on the column direction frame of the rectangular area are extracted from the text storage means. , it waits for an instruction from the operator as to whether or not to import that character into the rectangular area. Next, when the operator issues an instruction to import, the extracted characters are considered valid, and when the operator issues an instruction that does not require import, the extracted characters are considered invalid and are stored in the identification means 6. do. As a result, when a character string within a rectangular area is subjected to rectangular processing, only valid characters are provided for processing by referring to the identification means 6 for characters that fall within the column direction frame of the rectangular area.

(へ)実施例 以下図に示す実施例に基ついてこの発明を詳述する。ζ
お、これによってこの発明は限定されるちのではない。
(F) EXAMPLES The present invention will be described in detail below based on examples shown in the drawings. ζ
However, this invention is not limited by this.

第2図:よこの発明の一実施例の日本語ワートプロセソ
サのブロック図である。同図においてlOは装置本体て
あり、CPUII、かな漢字変換処理部12、かな漢字
変換辞側I3、矩形処理部14、出力制御部15とから
主として構成され、これらはパスライン16によって相
互に接続されている。まf二、CPUIIには外部にキ
ーボード17および文章データメモリ18か接続され、
ざらに出力別i11部15を介してCRT l 9か接
続されている。このよう声構成におし)で、入力手段領
域指定手段および指示手段としてのキーボード17には
、力・ζ文字まf瞑より\な文字列を入力するための文
字入カキ−1かな文字まfニはかな文字列を漢字らしく
は漢字まじり文に変換するための変換キーや無変換キー
などからする編集キーと、複数行表示されis文字列中
に矩形領域を指定する1こめのカーソル移動キー、実行
キーからなる領域指定キーと、矩形領域の列方向枠上に
掛かる文字をその矩形領域内に取り込むか否かの指示を
行うための切替キーと、指定した矩形領域内のデータを
複写、移動なとするための矩形処理キーとか配設されて
いる。
FIG. 2 is a block diagram of a Japanese language word processor according to an embodiment of the present invention. In the figure, IO is the main body of the device, which is mainly composed of a CPU II, a kana-kanji conversion processing section 12, a kana-kanji conversion section I3, a rectangle processing section 14, and an output control section 15, which are interconnected by a path line 16. There is. Second, a keyboard 17 and text data memory 18 are externally connected to the CPU II.
Roughly, the CRT 19 is connected via the output i11 section 15. With this voice configuration), the keyboard 17, which serves as an input means area designation means and an instruction means, is equipped with a character input key-1 for inputting character strings such as \ from \ and ζ characters. Editing keys such as the conversion key and non-conversion key to convert f-kana character strings into kanji-like sentences mixed with kanji, and single-shot cursor movement to specify a rectangular area in the is character string that is displayed in multiple lines. key, an area specification key consisting of an execution key, a switching key for instructing whether or not to import characters on the column direction frame of a rectangular area into that rectangular area, and copying data within the specified rectangular area. , rectangle processing keys are provided for movement.

キーボード17からキー信号によって入力されたかな文
字列は、符号化されてCPUIIに与えられ、CPUI
I内の入力バッファ(図示しない)に−時的に記憶され
る。
The kana character string inputted from the keyboard 17 by key signals is encoded and given to the CPU II.
- Temporarily stored in an input buffer (not shown) in I.

かな漢字変換処理部12は出力バッファ120を備え、
CPUIIと協働して前記人カバ・ソファに記憶されて
いる文字列を読み出し、かな漢字変換辞書部13を検索
することにより、変換候補に変換し、その変換候補を出
力バッファ120に蓄える。そして入力が確定すると、
確定した漢字または漢字まじり文は、その出力バッファ
120から文章記憶手段としての文章データメモリ【8
に転送されろ。なお、かな漢字変換辞書部13は例えば
ROMかみ構成され、主に50音頓のかな見出しデータ
と、このかな見出しデータに対応する、菓字表5己デー
タとを32憶している。
The kana-kanji conversion processing unit 12 includes an output buffer 120,
In cooperation with the CPU II, the character string stored in the human cover sofa is read out, and by searching the kana-kanji conversion dictionary section 13, it is converted into conversion candidates, and the conversion candidates are stored in the output buffer 120. And once the input is confirmed,
The confirmed kanji or kanji-mixed sentences are transferred from the output buffer 120 to the text data memory [8] as a text storage means.
be transferred to. The kana-kanji conversion dictionary section 13 is configured, for example, in a ROM, and mainly stores 32 kana header data of the 50 ontons and confectionery table 5-character data corresponding to this kana header data.

上記しf二かな漢字変換処理部L2およびかな漢字変換
辞書部13の構成は従来公知のワードプロセッサにおけ
る構成を利用することかできる。
The configurations of the kana-kanji conversion processing section L2 and the kana-kanji conversion dictionary section 13 described above can be the same as those in conventionally known word processors.

この発明の特徴をなす矩形処理部14は、矩形領域記憶
手段、抽出手段、識別手段として機能するものであり、
格納バッファ140を備え、キーボード17のカーソル
移動操作によって指定された矩形領域を記憶し、指定さ
れr二組形領域内に対応する文字列について、その領域
の列方向枠上(具体的には左側枠上および/まLは右側
枠上)に掛かる文字を文章データメモリ18から抽出す
る。
The rectangle processing unit 14, which is a feature of the present invention, functions as a rectangular area storage means, an extraction means, and an identification means.
The storage buffer 140 stores a rectangular area specified by a cursor movement operation on the keyboard 17, and stores a character string corresponding to the specified r-two-type area on the column direction frame of that area (specifically, on the left side). The characters on the frame and / or L on the right frame are extracted from the text data memory 18.

そして抽出した文字に対してオペレータから切替キーが
押されない場合、有効無効の識別フラグ(図示しない)
に予めセットされている設定“1”が保持され、抽出し
fこ文字は有効とみなされて矩形領域内に取り込まれる
。また、オペレータから切替キーか押されると、識別フ
ラグに“0”がセットされ、抽出しr二文字は無効とみ
なされる。tお、切替キーは押すたびに識別フラグの設
定を“l”−0″−ビとリンクして変更できるよう構成
されている。すなわち、識別フラグに“ビかセントされ
ている場合、列方向枠上に掛かる文字はすべて矩形領域
内に取り込まれ、識別フラグに“0”n・セットされて
いる場合、列方向枠上に掛かる文字はすべて無効として
処理されることになる。キーボード17の切替キーは、
矩形領域指定以後であり、複写、移動等の矩形処理前で
あればいっても機能する。そして矩形処理が行われる場
合には、指定された矩形領域内の文字列か一時的に格納
バッファ140に格納される。
If the operator does not press the switch key for the extracted character, a valid/invalid identification flag (not shown)
The preset setting "1" is maintained, and the extracted characters are considered valid and taken into the rectangular area. Furthermore, when the operator presses the switch key, the identification flag is set to "0" and the two extracted characters are considered invalid. The switching key is configured so that the setting of the identification flag can be changed by linking it with "l" - 0" - bi each time it is pressed. In other words, if the identification flag is marked with "bi", the setting of the identification flag can be changed in the column direction. All characters placed on the frame are taken into the rectangular area, and if the identification flag is set to "0"n, all characters placed on the column direction frame are treated as invalid. The switching key of the keyboard 17 is
It functions even if it is after specifying a rectangular area and before rectangular processing such as copying or moving. When rectangular processing is performed, character strings within the designated rectangular area are temporarily stored in the storage buffer 140.

出力制御部15に接続ざr−7=CRTI9!よ、表示
手段として機能し、キーボード17から入力されf二か
な文字列、すなわち、人力バッファ内の文字列を表示し
、変換キーの操作に応して変換候補を表示し、そして矩
形領域を指定し1ニ際には、矩形領域の左上端および右
下端にカーソルマークを固定表示する。
Connected to output control section 15 r-7=CRTI9! It functions as a display means, displays the f2 kana character string input from the keyboard 17, that is, the character string in the human buffer, displays conversion candidates in response to the operation of the conversion key, and specifies a rectangular area. At the first step, a cursor mark is fixedly displayed at the upper left end and lower right end of the rectangular area.

第3図は一実施例の矩形処理の動作を説明する1こめの
概略フローチャートであり、第4図〜第6図jよ第3図
に示す各処理の詳細フローチャートてめろ。第7図は一
実施例の矩形処理を説明するnめの説明図であり、ユは
文章作成モートにおいて人力されf二叉字列としての全
角文字、bは同しく半角文字、Fは矩形領域を限定する
枠、FU、FB、FR,FLはそれぞわ忰を構成する上
枠、下枠、布枠、左枠てめろ。上枠FUおよび下枠FB
は行の間に位置する。Cおよびd(ま説明のために付し
1ニ半角単位の仕切線および行仕切線である。
FIG. 3 is a schematic flowchart for explaining the operation of rectangular processing in one embodiment, and the detailed flowchart of each process shown in FIG. 3 is shown in FIGS. 4 to 6j. FIG. 7 is the nth explanatory diagram for explaining the rectangle processing of one embodiment, where yu is a full-width character manually inputted in the sentence creation mode as an f bifurcated character string, b is also a half-width character, and F is a rectangular area. The frames that limit this, FU, FB, FR, and FL, are the upper frame, lower frame, cloth frame, and left frame, respectively. Upper frame FU and lower frame FB
is located between the lines. C and d (for the sake of explanation, these are partition lines and row partition lines in 1-half-width units).

この例においては矩形領域を指定しf二際に文字“そ”
と“と”か布枠FRに掛乃\っている状態について説明
する。
In this example, specify a rectangular area and add the character “so” next to f.
I will explain the state where it hangs on the cloth frame FR.

第3図において、矩形処理;よ、まずオペレータからの
矩形領域の指定(ステップ30)に基ついて指定5れf
二組形領域の位置取込みを行い(ステップ31)、次い
て分割文字判定処理すなわち、矩形領域の列方向枠上に
掛かる文字か存在するかとうかの処理(ステップ32)
を行い、判断の結果(ステップ33)かYESの場合、
オペレータから分割文字を有効とするか否かの指示を待
ち(ステップ34)、オペレータか有効まf二は無効の
指示を行うと、その選択を記憶しておき(ステップ35
)、次いて矩形領域に関する複写、移動等の矩形編集(
ステップ36)に入るよう処理するものである。
In FIG. 3, rectangular processing is performed; first, a rectangular area is specified by the operator (step 30).
The position of the two-set area is captured (step 31), and then the divided character determination process is performed, that is, the process of determining whether there are any characters that hang on the column direction frame of the rectangular area (step 32).
and if the judgment result (step 33) is YES,
The system waits for an instruction from the operator as to whether or not to enable divided characters (step 34), and when the operator instructs whether to enable or disable split characters, the selection is memorized (step 35).
), then rectangular editing such as copying and moving the rectangular area (
Step 36) is processed.

以下、矩形処理の内容を詳細に説明する。なお、以後の
フローチャート内で使用される文字を次のように定義す
る。
The details of the rectangle processing will be explained below. Note that the characters used in the subsequent flowcharts are defined as follows.

YUKOMUKO、分割文字を有効とするかどうかを表
すフラグを示し、0は無効、■は有 効である。
YUKOMUKO indicates a flag indicating whether or not the divided character is valid, where 0 is invalid and ■ is valid.

5UNPTR:文章データを指すポインタCURSOR
X  カーソル半角位置(1〜)CURSORY :カ
ーソル行位置(1〜)KUK]CNT :矩形指定数カ
ウンタ(0〜2)KUKEIIX・矩形領域の左上を示
す半角位置KUKEIIY :矩形領域の左上を示す行
位置K[jKEI2X  矩形領域の右下を示す半角位
置KUKEI2Y :矩形領域の右下を示す行位置PT
RI :作業用ポインタ CNTl  作業用カウンタ1 CNT2・作業用カウンタ2 第4図は矩形領域の位置取込み処理(ステップ31)の
詳細である。同図において、まずイニシャルリセット時
に矩形領域の指定か正しく行われるかとうかがチエツク
される(ステップ40)。次いて矩形指定数が0のとき
(ステップ41)、矩形領域の一方の角にカーソルを位
置させ実行キーを押すと、現在のカーソルの位置を半角
幅単位の個数(以下半角位置と呼ぶ)で求め、矩形領域
の左上端を示す位置としてセットするとともに、そのカ
ーソル行位置を矩形領域の左上端を示す位置としてセッ
トする(ステップ42)。さらに矩形指定数カウンタに
1をセットする(ステップ43)。これにより矩形領域
における対角線上の一方の角位置か記憶されたことにな
る。
5UNPTR: Pointer CURSOR pointing to text data
X Cursor half-width position (1~) CURSORY: Cursor line position (1~) KUK] CNT: Rectangle specification number counter (0~2) KUKEIIX: Half-width position indicating the upper left of the rectangular area KUKEIIY: Line position indicating the upper left of the rectangular area K[jKEI2X Half-width position indicating the lower right of the rectangular area KUKEI2Y: Line position PT indicating the lower right of the rectangular area
RI: Working pointer CNTl Working counter 1 CNT2/Working counter 2 FIG. 4 shows details of the rectangular area position acquisition process (step 31). In the figure, first, at the time of initial reset, it is checked whether the rectangular area is specified correctly (step 40). Next, when the specified number of rectangles is 0 (step 41), position the cursor at one corner of the rectangular area and press the execution key. The cursor line position is determined and set as the position indicating the upper left end of the rectangular area, and the cursor line position is set as the position indicating the upper left end of the rectangular area (step 42). Further, a rectangle designation number counter is set to 1 (step 43). This means that one diagonal corner position of the rectangular area is memorized.

次に矩形領域の他方の角にカーソルを位置させ実行キー
を押すと、そのカーソル位置の半角位置か求められ、矩
形領域の右下端を示す位置としてセットされるとともに
、そのカーソル行位置が矩形領域の右下端を示す位置と
してセットされる(ステップ44)。これにより矩形領
域における対角線上の他方の角位置か記憶されfここと
になる。
Next, when you position the cursor at the other corner of the rectangular area and press the execute key, the half-width position of that cursor position is determined, and it is set as the position indicating the lower right edge of the rectangular area, and the cursor line position is set to the rectangular area. (step 44). As a result, the other corner position on the diagonal line in the rectangular area is stored and becomes f here.

次に矩形領域の右下を示す半角位置〉矩形領域の左上を
示す半角位置を判断しくステップ45)、Noの場合に
のみ矩形領域の左上を示す半角位置と、矩形領域の右下
を示す半角位置とを入れ替える(ステップ46)。続い
て矩形領域の右下を示す行位置〉矩形領域の左上を示す
行位置を判断しくステップ47)、Noの場合にのみ矩
形領域の左上を示す行位置と、矩形領域の右下を示す行
位置とを入れ替える(ステップ48)。上記処理により
、対角線上の両端の位置が正しく記憶され、それにより
矩形領域が限定される。
Next, determine the half-width position indicating the lower right of the rectangular area > the half-width position indicating the upper left of the rectangular area (step 45), and only if No, the half-width position indicating the upper left of the rectangular area, and the half-width position indicating the lower right of the rectangular area. (step 46). Next, determine the line position indicating the bottom right of the rectangular area > the line position indicating the top left of the rectangular area (Step 47), and only if No, the line position indicating the top left of the rectangular area and the line indicating the bottom right of the rectangular area are determined. (step 48). Through the above processing, the positions of both ends on the diagonal line are correctly stored, thereby limiting the rectangular area.

第5図は分割文字判定処理の詳細を示すフローチャート
である。同図において、矩形領域が指定されると、矩形
領域の左上を示す半角位置および行位置によって指示さ
れる文章データのアドレスか文章データポインタにセッ
トされる(ステップ50)。次いで矩形領域における行
数が作業用カウンタ2にセットされる(ステップ51)
。次いて文章データポインタのアドレスか作業用ポイン
タにセットされる(ステップ52)。ここで作業用ポイ
ンタの指示するアドレスか、矩形領域内における文字の
先頭であるかとうかを判断する(ステップ53)。文字
の先頭の判断:よ、具体的には、作業用ポインタか示す
アドレスは半角幅単位で示されるアドレスであり、実際
の文字かその半角幅にとのような配置されているか:よ
分かすないため、文章データメモリに記憶されている文
字データを行の先頭から順に割り付けて矩形領域の枠内
に収まるかとうかを調べることによって判断する。判断
の結果かNoであれば、1行目の左枠FLに文字が掛か
ると判断される。判断の結果がYESであれば(第7図
の場合であればYESと判断される)、次いて矩形領域
における1行分の長さが半角単位で求められ、作業用カ
ウンタlにセントされる(ステップ54)。次いで作業
用カウンタlから、作業用ポインタの指示する文字の半
角数を減算しくステップ55)、作業用ポインタlか次
の文字を指示するようアドレスを1インクリメントする
(ステップ56)。次いで作業用カウンタ1>Oのとき
は(ステップ57)ステップ55−+56の処理を繰り
返し、作業用カウンタlか0になれば(ステップ58)
、文章データポインタを矩形領域における2行目の左上
を示すように文章データポインタを移す(ステップ59
)。作業用カウンタlが0にならなければ布枠FRに掛
かる文字があると判断されろ(第7図の場合であれば文
字“そ”および“と“に該当する)。
FIG. 5 is a flowchart showing details of the divided character determination process. In the figure, when a rectangular area is designated, the address of text data indicated by the half-width position and line position indicating the upper left of the rectangular area is set in the text data pointer (step 50). Next, the number of lines in the rectangular area is set in the work counter 2 (step 51).
. Next, the address of the text data pointer or the work pointer is set (step 52). Here, it is determined whether it is the address indicated by the work pointer or the beginning of a character within the rectangular area (step 53). Determining the beginning of the character: Yo, specifically, the address that indicates the work pointer is an address that is indicated in half-width width units, and whether the actual character is arranged in the half-width width like this: Yowakasu Therefore, the determination is made by allocating the character data stored in the text data memory in order from the beginning of the line and checking whether it fits within the frame of the rectangular area. If the result of the determination is No, it is determined that the characters will be placed in the left frame FL of the first line. If the result of the determination is YES (in the case of Figure 7, it is determined to be YES), then the length of one line in the rectangular area is determined in half-width units, and is added to the work counter l. (Step 54). Next, the half-width number of the character pointed to by the work pointer is subtracted from the work counter l (step 55), and the address is incremented by 1 so that the work pointer l points to the next character (step 56). Next, when the work counter 1>O (step 57), the processing of steps 55-+56 is repeated, and when the work counter 1 becomes 0 (step 58)
, move the text data pointer so that it points to the upper left of the second line in the rectangular area (step 59
). If the work counter l does not become 0, it is determined that there are characters hanging on the cloth frame FR (in the case of FIG. 7, this corresponds to the characters "so" and "and").

次に文章データポインタが次ぎの行に移されると、作業
用カウンタ2が1デクリメントされ(ステップ60)、
その作業用カウンタ2か0になるまで(ステップ61)
上記処理を繰り返す。これにより布枠FRまたは主枠F
Lに掛かる文字を行単位ですべて調へ出すことができる
Next, when the text data pointer is moved to the next line, work counter 2 is decremented by 1 (step 60),
Until the work counter reaches 2 or 0 (step 61)
Repeat the above process. This allows the cloth frame FR or main frame F
All the letters that apply to L can be put into the key line by line.

第6図は有効無効処理の詳細を示すフローチャートであ
る。同図において列方向枠に掛かる文字か凋へられると
、オペレータからの指示待ちとなる。しf二かってオペ
レータはこの時点て、指定した矩形領域における列方向
枠上に文字が掛かつていることを知らされる。ここでオ
ペレータから切替キーか押されない場合、布枠FRおよ
び主枠FLに掛かる文字を有効とみなし、識別フラグに
“l”かセットされる(ステップ71)。切替キーか押
ぎわると布枠FRおよび主枠FLに掛かる文字を無効と
みなし、識別フラグに“0”かセットされる(ステップ
72)。このようにして列方向枠に掛かる文字を有効と
するか無効とするかの識別がなされると、以後、矩形編
集か行われる場合にはその識別フラグの内容に従って処
理が行われる。すなわち、矩形領域の列方向枠に掛かる
文字か存在する場合、識別フラグか“0”であればその
文字をスキップして処理対象から除き、まr二、識別フ
ラグか“l”であればその文字を処理対象として矩形領
域内に取り込むよう処理される。
FIG. 6 is a flowchart showing details of the validation/invalidation process. In the figure, when the characters in the column direction frame are erased, instructions from the operator are awaited. At this point, the operator is informed that a character is placed over the column direction frame in the specified rectangular area. If the operator does not press the switch key, the characters in the cloth frame FR and main frame FL are regarded as valid, and the identification flag is set to "l" (step 71). When the switching key is pressed, the characters in the cloth frame FR and main frame FL are regarded as invalid, and the identification flag is set to "0" (step 72). Once it is determined whether the characters in the column direction frame are valid or invalid in this manner, when rectangular editing is to be performed thereafter, processing is performed according to the contents of the identification flag. In other words, if there is a character that spans the column direction frame of a rectangular area, if the identification flag is "0", that character is skipped and excluded from the processing target, and secondly, if the identification flag is "l", that character is Characters are processed to be captured into a rectangular area.

なお、この実施例においては日本語ワードプロセッサを
例に取り説明したか、矩形処理の対象はこれに限らず日
本語以外の言語による文字データてあってちよく、また
文字データは記号データであってもよい。
Although this embodiment has been explained using a Japanese word processor as an example, the object of rectangular processing is not limited to this, and may be character data in a language other than Japanese, and the character data may be symbolic data. Good too.

まfコ、この実施例においては、矩形領域内の枠に掛か
る文字をすべて有効にするかまたはすへて無効にする一
括処理について説明したが、部分処理できるよう、具体
的には、布枠に掛かる文字のみを有効とじfこり、また
、主枠に掛かる文字のみを有効とし1こり、あるいは有
効、無効の指示を矩形領域の行単位で指示できるよう、
この実施例を変更することもてきる。
In this example, we have explained the batch process of validating all the characters in the frame in the rectangular area or completely disabling them. You can enable only the characters that span the main frame, or enable or disable only the characters that span the main frame, or enable or disable each line in a rectangular area.
Modifications to this embodiment may also be made.

(ト)発明の効果 この発明によれば、オペレータは、指定した矩形領域に
おける列方向枠上に文字か掛かつているかとうかを知る
ことかでき、かつそれらの文字を矩形領域内に取り込む
か否かの選択を、簡単なキー操作のみで行うことができ
るので、矩形処理を素早くかつ効率良く行うことかでき
る。
(G) Effects of the Invention According to this invention, an operator can know whether or not characters are placed on the column direction frame in a specified rectangular area, and can determine whether or not to import those characters into the rectangular area. Since this selection can be made with only simple key operations, rectangular processing can be performed quickly and efficiently.

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

第1図はこの発明の基本構成を明示するブロック図、第
2図はこの発明の一実施例の構成を示すブロック図、第
3図は一実施例の動作を説明する概略フローチャート、
第4図〜第6図は第3図に示す各処理の詳細を示す詳細
フローチャート、第7図:よ一実施例において表示され
ろ矩形領域および文字列である。 l ・ 領域指定手段、 2   矩形領域記憶手段、 3 ・  文章記憶手段、   4 ・  抽出手段、
5 ・ 指示手段、     6   識別手段。 第 図 第 図 B
FIG. 1 is a block diagram showing the basic configuration of the present invention, FIG. 2 is a block diagram showing the configuration of an embodiment of the invention, and FIG. 3 is a schematic flowchart explaining the operation of the embodiment.
4 to 6 are detailed flowcharts showing details of each process shown in FIG. 3, and FIG. 7 shows rectangular areas and character strings displayed in the embodiment. 1. Area specifying means, 2. Rectangular area storage means, 3. Text storage means, 4. Extraction means,
5. Indication means, 6. Identification means. Figure Figure B

Claims (1)

【特許請求の範囲】 1、入力手段から入力した文字データを文字または文字
列に変換して文章記憶手段に記憶するとともに表示手段
に可視出力する構成の文字処理装置において、 複数行表示された文字列中に、矩形領域を指定する領域
指定手段と、指定された矩形領域を記憶する矩形領域記
憶手段と、指定された矩形領域内に対応する文字列につ
いて、該領域の列方向枠上に掛かる文字を前記文章記憶
手段から抽出する抽出手段と、抽出手段によって抽出さ
れた文字に対して、矩形領域内に取り込むか否かの指示
を行う指示手段と、取り込み指示がなされた場合に前記
抽出された文字を有効とし、取り込み不要の指示がなさ
れた場合に前記抽出された文字を無効としてそれぞれ記
憶する識別手段とを備えてなる文字処理装置。
[Scope of Claims] 1. In a character processing device configured to convert character data input from an input means into characters or character strings, store the converted characters in a text storage means, and visually output the converted characters on a display means, the characters are displayed in multiple lines. An area specifying means for specifying a rectangular area in a column, a rectangular area storage means for storing the specified rectangular area, and a character string corresponding to the specified rectangular area that hangs on the column direction frame of the area. an extraction means for extracting characters from the text storage means; an instruction means for instructing whether or not to import the characters extracted by the extraction means into a rectangular area; A character processing device comprising: an identification means for storing the extracted characters as valid, and storing the extracted characters as invalid when an instruction not to import them is given.
JP02125969A 1990-05-15 1990-05-15 Character processor Expired - Fee Related JP3084041B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02125969A JP3084041B2 (en) 1990-05-15 1990-05-15 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02125969A JP3084041B2 (en) 1990-05-15 1990-05-15 Character processor

Publications (2)

Publication Number Publication Date
JPH0424760A true JPH0424760A (en) 1992-01-28
JP3084041B2 JP3084041B2 (en) 2000-09-04

Family

ID=14923466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02125969A Expired - Fee Related JP3084041B2 (en) 1990-05-15 1990-05-15 Character processor

Country Status (1)

Country Link
JP (1) JP3084041B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1062288C (en) * 1996-12-18 2001-02-21 閎邦实业股份有限公司 Single-liquid type epoxy infusion for insulation coating of capacitor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203127A (en) * 1981-06-09 1982-12-13 Nec Corp Selecting device of graphic data
JPS59195731A (en) * 1983-04-22 1984-11-06 Casio Comput Co Ltd Display system of information processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57203127A (en) * 1981-06-09 1982-12-13 Nec Corp Selecting device of graphic data
JPS59195731A (en) * 1983-04-22 1984-11-06 Casio Comput Co Ltd Display system of information processing system

Also Published As

Publication number Publication date
JP3084041B2 (en) 2000-09-04

Similar Documents

Publication Publication Date Title
JPH0541997B2 (en)
JPH0424760A (en) Character processor
JPH0464089B2 (en)
JPS6120902B2 (en)
JPH04148370A (en) Document processor
JP3577741B2 (en) Character input device
JP2821002B2 (en) Character processing device and character processing method
JP3634387B2 (en) Document processing method and apparatus
JPS58112128A (en) Word processor
JP2655900B2 (en) Character processor
JPS59116691A (en) Cursor control system
JPH0525115B2 (en)
JP2756186B2 (en) Document editing method and apparatus
JPH0314168A (en) Character processor
JPH07160692A (en) Document display device
JP2635602B2 (en) Document creation device
JPH053618B2 (en)
JPH031210A (en) Character processor
JPH03156564A (en) Document processor
JPH061470B2 (en) Text processor
JPH0569225B2 (en)
JPH03228174A (en) Character processor
JPH0567089A (en) Word processor
JPH03259373A (en) Document processor
JPH05181638A (en) Monitor provided with display output selecting function

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees