JPH0962679A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0962679A
JPH0962679A JP7222070A JP22207095A JPH0962679A JP H0962679 A JPH0962679 A JP H0962679A JP 7222070 A JP7222070 A JP 7222070A JP 22207095 A JP22207095 A JP 22207095A JP H0962679 A JPH0962679 A JP H0962679A
Authority
JP
Japan
Prior art keywords
character string
line
blank
continuous
processing
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
JP7222070A
Other languages
Japanese (ja)
Inventor
Takayuki Kowada
孝之 古和田
Kimio Nagasawa
喜美男 長沢
Isanori Nagase
功典 長瀬
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP7222070A priority Critical patent/JPH0962679A/en
Publication of JPH0962679A publication Critical patent/JPH0962679A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform an operation matched with the sense of a user even when the post feed processing of a character string is performed by judging whether or not the text character string continues over rows from information relating to the blank of the head parts of the respective rows of the text character strings over the plural rows. SOLUTION: A character string continuity judgement means 5 judges the continuity of the character string of the two continuous rows (a preceding row and a succeeding row.) When the flocks of the preceding row and the succeeding row are the same, in the case of a normal editing mode, continuation is defined and a continuous character position in the succeeding row is defined as the head position of the succeeding row. On the other hand, in the case of a paragraph editing mode, continuation/ noncontinuation are judged by using a prescribed judgement standard and further, when the preceding row and the succeeding row are continuous, a row head position in the succeeding row is decided corresponding to a prescribed rule. That is, the character string continuity judgement part 5 handles the blank generated by a character string send-back processing the same as a general character and the operation matched with the sense of the user is performed even when the post feed processing of the character string (a blank insertion processing) is performed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文書処理装置に関
する。特に、日本語ワードプロセッサ(以下ワープロと
略する)に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device. In particular, it relates to a Japanese word processor (hereinafter abbreviated as word processor).

【0002】[0002]

【従来の技術】ワープロは、通常、連続した文字列の入
力や削除、挿入等を行う編集機能を備えているが、従来
のワープロでは、文字列の連続性を保つためにインデン
ト処理等を用いたブロック編集機能を必要としていた。
しかし、このブロック編集機能では、文字列を連続とし
て扱うブロックをあらかじめ意識した上で、使用者が自
ら手作業でインデントを入力する必要があり、操作が厄
介である。
2. Description of the Related Art A word processor usually has an editing function for inputting, deleting, and inserting a continuous character string. However, a conventional word processor uses an indenting process or the like to maintain the continuity of the character string. I needed the block editing feature.
However, with this block editing function, the user needs to manually enter the indentation by paying attention to the blocks that handle character strings as continuous, and the operation is troublesome.

【0003】つまり、ワープロの表示画面に図1(a)
に示すような文が表示されていたとする。尚、黒四角K
はカーソルの表示であり、文字入力位置である。このあ
と、この文に、「お婆さんもいました。」を追加入力し
た場合、図1(b)に示すようになる。このように、イ
ンデント等の設定入力操作をしないと、同一段落中の行
頭が不揃いとなる。そこで、インデント等の入力操作を
必要とせずに、改行時に自動的に行頭位置にカーソル位
置がシフトすることにより、行頭位置をそろえる機能を
持つワープロが提案されている。
That is, the display screen of the word processor is shown in FIG.
Suppose that the sentence shown in is displayed. The black square K
Is a cursor display and a character input position. After that, when "Additional grandmother" was added to this sentence, it becomes as shown in Fig. 1 (b). In this way, if the setting input operation such as indentation is not performed, the line heads in the same paragraph are not aligned. Therefore, there has been proposed a word processor having a function of aligning the line head positions by automatically shifting the cursor position to the line head position at the time of line feed without requiring input operation such as indent.

【0004】この機能によるモードを仮に「段落編集モ
ード」とする。また、従来のモードを「通常編集モー
ド」とする。つまり、図2(a)の文に、「お婆さんも
いました。」を追加入力した場合、図2(b)に示すよ
うになる。尚、このようなことは、特開平5-46605号公
報(G06F15/20),特開平4-191964号公報(G06F15/20),特開
平2-100759号公報(G06F15/20)等に紹介されている ところで、前述の特開平5-46605号公報(G06F15/20)に示
されるように、削除処理を行った場合は、図3の如くな
る。つまり、削除処理により、次行から不足分の文字を
補充する場合には、行頭の空白を無視する。
The mode based on this function is tentatively referred to as "paragraph editing mode". Further, the conventional mode is referred to as a "normal edit mode". In other words, when the sentence "Fig. 2 (a)" is additionally input, "I also had a grandmother.", It becomes as shown in Fig. 2 (b). Incidentally, such a thing is introduced in JP-A-5-46605 (G06F15 / 20), JP-A-4-119964 (G06F15 / 20), JP-A-2-100759 (G06F15 / 20) and the like. Meanwhile, as shown in the above-mentioned Japanese Patent Laid-Open No. 5-46605 (G06F15 / 20), when the deletion processing is performed, the result is as shown in FIG. That is, when the deletion process supplements the missing characters from the next line, the white space at the beginning of the line is ignored.

【0005】このワープロで、図4(a)の場合に同様
の削除処理を行うと、同様に、不足分の文字を次行以降
から順次補充してしまう。
If the same deletion process is performed in the case of FIG. 4A in this word processor, similarly, the deficient characters are sequentially replenished from the next line onward.

【0006】[0006]

【発明が解決しようとする課題】本発明は、使用者の感
覚に合った動作を行う文書処理装置を提案するものであ
る。更に、本発明は、文字列の後送り処理(空白挿入処
理)を行っても、使用者の感覚に合った動作を行う文書
処理装置を提案するものである。
DISCLOSURE OF THE INVENTION The present invention proposes a document processing apparatus which operates in accordance with the sense of the user. Further, the present invention proposes a document processing apparatus that performs an operation suitable for the user's sense even if the character string is post-fed (blank insertion processing).

【0007】[0007]

【課題を解決するための手段】本発明では、文字入力及
び編集指示を行う入力部(2)と、この入力に従ってテキ
スト文字列を編集すると共に複数行に渡るテキスト文字
列の先頭部分の空白を無視して連続したテキスト文字列
として編集処理を行う文字列編集部(4)とを備える文書
処理装置において、複数行に渡るテキスト文字列の各行
の少なくても先頭部分の空白に関する情報から、このテ
キスト文字列が行をまたがって連続しているか否かの判
定を行う文字列連続性判定部(5)を備えることを特徴と
する。
In the present invention, an input section (2) for inputting characters and instructing editing, a text character string is edited in accordance with this input, and blanks at the beginning of a text character string extending over a plurality of lines are removed. In a document processing device that includes a character string editing unit (4) that ignores and performs editing processing as a continuous text character string, from the information about at least the leading white space of each line of a text character string that spans multiple lines, It is characterized by comprising a character string continuity judgment unit (5) for judging whether or not a text character string is continuous across lines.

【0008】また、本発明では、複数行に渡るテキスト
の各行の先頭部分の空白に関する個数や大きさ等の情報
から、文字列が行をまたがって連続しているか否かの判
定と連続している場合の連続位置の判定を行う文字列連
続性判定部と、少なくとも文字列後送り処理を含む連続
した文字列の編集処理を行う文字列編集部とを有し、文
字列後送り処理を行う際に生じる空白を通常の空白とは
異なる形式で扱い、文字列連続性判定部では文字列後送
り処理で生じた空白を一般文字と同じ扱いにする。
Further, according to the present invention, it is continuously determined whether or not a character string is continuous over a line from information such as the number and size of blanks at the beginning of each line of a text that extends over a plurality of lines. If there is a character string continuity determination unit for determining the continuous position, and a character string editing unit for performing a continuous character string editing process including at least the character string post-advance processing, the character string post-advance processing is performed. The white space generated at this time is treated in a format different from that of a normal white space, and the character string continuity determination unit treats the white space generated in the character string backward processing as the same as a general character.

【0009】[作用]本発明では、複数行に渡るテキス
トの各行の先頭部分の空白に関する個数や大きさ等の情
報から、文字列が行をまたがって連続しているか否かの
判定を行うので、テキスト文字列の連続性の有無に応じ
た編集処理を行うことが出来る。また、文字列後送り処
理を行う際に生じる空白を通常の空白とは異なる形式で
扱い、文字列連続性判定部では文字列後送り処理で生じ
た空白を一般文字と同じ扱いしている。
[Operation] According to the present invention, it is determined whether or not a character string is continuous across lines, based on information such as the number and size of blanks at the beginning of each line of text that extends over a plurality of lines. , It is possible to perform an editing process depending on the presence or absence of continuity of the text character string. In addition, the white space generated when performing the character string post-sending process is treated in a format different from the normal space, and the character string continuity determining unit treats the white space generated in the character string post-sending process as the same as general characters.

【0010】[0010]

【実施の形態】本発明をワープロに採用した第1実施例
を示す。図5は、このワープロの構成を示す概略ブロッ
ク図である。図5において、1は、CPUからなる制御
部である。2は、入力部である。入力部2は、キーボー
ド及びマウス等からなり、文字入力及び編集指示を行
う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment in which the present invention is applied to a word processor will be shown. FIG. 5 is a schematic block diagram showing the configuration of this word processor. In FIG. 5, reference numeral 1 is a control unit including a CPU. 2 is an input unit. The input unit 2 is composed of a keyboard, a mouse and the like, and performs character input and editing instructions.

【0011】3は、CRTまたはLCDよりなる表示部
である。4は、文字列の編集を行う編集機能を有する文
字列編集部である。5は、行をまたがる文字列の連続性
の判定と、連続している場合にこの連続している次行の
行頭位置の判定とを行う文字列連続性判定部である。こ
の文字列の連続性の判定の基準の一例を図6に示す。こ
こで、個条書き行とは、行頭に、「(A)」「(B)」
「(1)」「(2)」「・」「A.」「B.」等が存在
する行である。
Reference numeral 3 is a display unit composed of a CRT or LCD. Reference numeral 4 is a character string editing unit having an editing function of editing a character string. Reference numeral 5 denotes a character string continuity determination unit that determines the continuity of a character string across lines and, when continuous, determines the start position of the next continuous line. FIG. 6 shows an example of criteria for determining the continuity of the character string. Here, the individual writing line means "(A)""(B)" at the beginning of the line.
This is a line in which "(1)", "(2)", ".", "A.", "B.", etc. are present.

【0012】また、連続している場合の連続文字位置の
判定の基準の一例を図7に示す。この図6と図7の説明
は、表示されたサンプル文(図9〜図16)を参照に、
後に改めて記載する。このワープロについて説明する。
このワープロでは、メニュー等による使用者からの指示
もしくは編集機能が使用されている状況に応じて、通常
編集モードと段落編集モードの切り替えを行い、編集モ
ードを管理する。
Further, FIG. 7 shows an example of criteria for determining continuous character positions when they are continuous. For the explanation of FIGS. 6 and 7, referring to the displayed sample sentences (FIGS. 9 to 16),
I will write it later. This word processor will be described.
In this word processor, the editing mode is managed by switching between the normal editing mode and the paragraph editing mode according to the instruction from the user through a menu or the like or the situation where the editing function is used.

【0013】文字列編集部4では、文字入力処理のほ
か、連続した文字列に対する削除処理、挿入処理(文字
列後送り処理)、文字修飾処理、サーチ処理、置換処
理、複写処理、移動処理、改行処理、サイズ変更処理、
範囲指定処理、カーソル移動処理などの編集処理を行
う。文字列編集部4の挿入処理の一つである一字挿入処
理では、図13に示すように、通常編集モードの場合に
は、カーソル位置に通常の空白(「 」,空白1)を1
文字分挿入し、カーソル位置以降の連続した文字列を1
文字分ずつ後方へ送る。段落編集モードの場合には、カ
ーソル位置に通常の空白とは異なる空白(「_」,空白
2)を1文字分挿入し、カーソル位置以降の連続した文
字列を1文字分ずつ後方へ送る。
In the character string editing unit 4, in addition to character input processing, deletion processing, insertion processing (character string post feed processing), character modification processing, search processing, replacement processing, copy processing, movement processing, Line feed processing, size change processing,
Edit processing such as range specification processing and cursor movement processing is performed. In the one-character insertion process which is one of the insertion processes of the character string editing unit 4, as shown in FIG. 13, in the normal editing mode, a normal blank ("", blank 1) is set to 1 at the cursor position.
Insert one character and set the continuous character string after the cursor to 1
Send backwards character by character. In the paragraph edit mode, a blank (“_”, blank 2) different from the normal blank is inserted at the cursor position by one character, and the continuous character string after the cursor position is sent backward by one character.

【0014】ここで空白2は、編集時の表示において可
視的であることと、次に述べる文字列連続性判定部5で
の判定において通常の文字と同じ扱いをすることの2点
を除いて、通常の空白(空白1)と同じ性質を有してい
てよい。文字列連続性判定部5では、連続する2つの行
(先行,後行)の文字列の連続性を判定する。先行と後
行のブロックが異なる場合は非連続とする。先行と後行
のブロックが同一の場合、通常編集モードならば連続と
し、後行における連続文字位置は後行の先頭位置とす
る。一方、段落編集モードならば図6に示す判定基準を
用いて連続/非連続を判定し、さらに先行と後行が連続
の場合は図7に示す規則に従って後行における行頭位置
を決定する。
Here, except that the blank 2 is visible in the display at the time of editing and that it is treated as a normal character in the judgment by the character string continuity judgment unit 5 described below, , May have the same properties as a normal blank (blank 1). The character string continuity determination unit 5 determines the continuity of the character strings of two consecutive lines (leading line and subsequent line). If the preceding and following blocks are different, they are discontinuous. If the blocks of the preceding and succeeding lines are the same, in the normal edit mode, they are continuous, and the continuous character position in the succeeding line is the beginning position of the succeeding line. On the other hand, in the paragraph edit mode, the judgment criterion shown in FIG. 6 is used to judge continuity / discontinuity, and when the preceding and succeeding lines are continuous, the line head position in the succeeding line is determined according to the rule shown in FIG.

【0015】文字列連続性判定部5では、空白2は通常
の文字と同じ扱いをする。例えば、図16では、1行目
をノーマル行として扱い、各行の先頭文字位置はそれぞ
れ網かけを施した位置となる。図8にこのワープロの編
集処理動作のフローを示す。ワープロは、入力部2から
の操作に従って、編集処理が行われる。
In the character string continuity determination unit 5, the blank 2 is treated in the same manner as a normal character. For example, in FIG. 16, the first line is treated as a normal line, and the first character position of each line is a shaded position. FIG. 8 shows a flow of the editing processing operation of this word processor. The word processor is edited according to the operation from the input unit 2.

【0016】まず、ステップS1で入力部2からの操作
が入力される。ステップS2でこの時の編集モードが、
「通常編集モード」か「段落編集モード」かを判定す
る。「通常編集モード」であれば、通常の編集処理をス
テップS3で行う。また、「段落編集モード」であれ
ば、ステップS4でこの編集が次行に影響するものか否
かを判定する。
First, in step S1, an operation from the input unit 2 is input. In step S2, the edit mode at this time is
It is determined whether the "normal edit mode" or the "paragraph edit mode". If it is the "normal edit mode", normal edit processing is performed in step S3. If it is the "paragraph edit mode", it is determined in step S4 whether this edit affects the next line.

【0017】次行に影響しないものであれば、編集処理
をステップS3で行う。次行に影響するものであれば、
ステップS5で次行との連続性の判定、及び、連続する
場合の行頭位置の判定を行う。そして、この連続性の判
定に従って、編集処理をステップS6で行う。図9〜図
15のサンプル文を参考にこのワープロの編集処理の動
作を説明する。
If it does not affect the next line, edit processing is performed in step S3. If it affects the next line,
In step S5, the continuity with the next line and the line head position in the case of continuation are determined. Then, according to the determination of the continuity, the editing process is performed in step S6. The operation of this word processor editing process will be described with reference to the sample sentences of FIGS.

【0018】ここでは、段落編集モードと通常編集モー
ドとの動作を対比して表している。図9は、入力処理の
一例である。A1において、1行目(先行)と2行目
(後行)について文字列連続性判定部5で判定を行う。
1行目(先行)が箇条書き行、2行目(後行)が空白行
であるので、図6より2つの行は連続となり、図7より
2行目における連続文字位置は1行目の先頭文字位置a
1よりも少し後方のa2の位置となる。A1の状態から
1文字「で」を入力すると、カーソルKはA4に示すよ
うにa2の位置に移動し、以降a2の位置から順に文字
入力がなされる。
Here, the operation in the paragraph edit mode and the operation in the normal edit mode are shown in contrast. FIG. 9 is an example of the input process. In A1, the character string continuity determination unit 5 determines the first line (preceding) and the second line (backward).
Since the first line (preceding) is a bullet line and the second line (subsequent line) is a blank line, the two lines are continuous from FIG. 6, and the continuous character position on the second line from FIG. 7 is the first line. First character position a
The position is a2, which is slightly rearward of 1. When one character “de” is input from the state of A1, the cursor K moves to the position of a2 as shown in A4, and thereafter, characters are sequentially input from the position of a2.

【0019】図10は、入力処理の他の例である。B1
において、2行目(先行)と3行目(後行)について文
字列連続性判定部5で判定を行う。2行目(先行)がノ
ーマル行、3行目(後行)がノーマル行で、3行目(後
行)の先頭文字位置b2が2行目の先頭文字位置b1よ
り後方にあるので、図6より2つの行は不連続と判定さ
れる。
FIG. 10 shows another example of the input processing. B1
In, the character string continuity determination unit 5 determines the second line (preceding) and the third line (backward). Since the second line (preceding) is the normal line, the third line (subsequent line) is the normal line, and the first character position b2 of the third line (subsequent line) is behind the first character position b1 of the second line, According to 6, two rows are judged to be discontinuous.

【0020】この例のように二つの行が不連続の場合に
1行を越えて文字入力を行うと、B4に示すように2行
目と3行目の間に新たに空白行が挿入される。従って、
2行目(先行)と新たに挿入された空白行(後行)が連
続行と判定され、連続文字位置はB4のb3の位置とな
る。以降b3の位置から順に文字入力がなされる。図1
1は、削除処理の例である。
When two lines are discontinuous as in this example and characters are input over one line, a new blank line is inserted between the second and third lines as shown in B4. It Therefore,
The second line (leading line) and the newly inserted blank line (backward line) are determined to be continuous lines, and the continuous character position is the position b3 of B4. Thereafter, characters are sequentially input from the position of b3. FIG.
1 is an example of the deletion process.

【0021】C1において、1行目(先行)と2行目
(後行)について文字列連続性判定部5で判定を行う。
1行目がノーマル行(先行)、2行目がノーマル行(後
行)で、1行目(先行)の先頭文字位置と2行目の先頭
文字位置(先行)が等しいので、図6より2つの行は連
続となる。C1の状態から一字削除を繰り返すと、C
4、C5のように順次文字が削除されて2行目の文字が
1行目に繰り上げられる。
In C1, the character string continuity determining unit 5 determines the first line (leading line) and the second line (backward line).
Since the first line is the normal line (preceding) and the second line is the normal line (following) and the first character position of the first line (preceding) and the first character position of the second line (preceding) are the same, from FIG. The two lines are continuous. If one character is repeatedly deleted from the state of C1, C
Characters are sequentially deleted like C4 and C5, and the character on the second line is moved up to the first line.

【0022】図12は、範囲指定処理の例である。E1
において、1行目(先行)と2行目(後行)について文
字列連続性判定部5で判定を行う。1行目がノーマル行
(先行)、2行目がノーマル行(後行)で、1行目の先
頭文字位置と2行目の先頭文字位置が等しいのでので、
図6より2つの行は連続となり、2行目の連続文字位置
はe1の位置となる。E1の状態で範囲指定を開始しカ
ーソル移動を行って1行目を指定した後は、カーソルは
E4の如く、2行目の連続文字位置e1の位置に移動す
る。そして、E5の如く、範囲指定処理を引き続き行
う。
FIG. 12 shows an example of range designation processing. E1
In, the character string continuity determination unit 5 determines the first line (preceding) and the second line (backward). The first line is the normal line (preceding), the second line is the normal line (backward), and the first character position of the first line is the same as the first character position of the second line.
From FIG. 6, two lines are continuous, and the continuous character position on the second line is the position e1. After the range designation is started in the state of E1 and the cursor is moved to designate the first line, the cursor moves to the position of the continuous character position e1 on the second line as indicated by E4. Then, as in E5, the range designation processing is continued.

【0023】図13は、挿入処理(文字列後送り処理)
の例である。D1において1行目(先行)と2行目(後
行)について文字列連続性判定部5で判定を行う。1行
目がノーマル行(先行)、2行目がノーマル行(先行)
で、1行目の先頭文字位置と2行目の先頭文字位置が等
しいのでので、図6より2つの行は連続となる。
FIG. 13 shows the insertion process (post-character string advance process).
This is an example. In D1, the character string continuity determination unit 5 determines the first line (leading line) and the second line (backward line). The first line is the normal line (preceding), the second line is the normal line (preceding)
Since the first character position of the first line and the first character position of the second line are the same, the two lines are continuous as shown in FIG.

【0024】D1の状態で一字挿入を行うとカーソル位
置には、空白2が挿入され、D4の如く、カーソル位置
以降の連続した文字列は1文字分ずつ後方へ送られる。
一字挿入を繰り返すとD5の状態になるが、文字列連続
性判定部5では空白2は通常の文字と同じ扱いをするた
め、1行目と2行目は引き続き連続とみなされる。図1
4は、この2種類の空白に対する編集処理の動作を示す
図である。
When one character is inserted in the state of D1, a blank 2 is inserted at the cursor position, and a continuous character string after the cursor position is sent backward one character by one character as in D4.
When one character is repeatedly inserted, the state becomes D5. However, since the character string continuity determination unit 5 treats the blank 2 as a normal character, the first and second lines are considered to be continuous. FIG.
FIG. 4 is a diagram showing the operation of the editing process for these two types of blanks.

【0025】空白1と空白2に対する文字入力処理の違
いを示している。図14(a)は空白1の例で、1行目
と2行目が不連続のため、図10で示した入力処理と同
様、1行目と2行目の間に新たに空白行を挿入して文字
入力を続ける。図14(b)は空白2の例で、1行目と
2行目が連続となり、新たな空白行を作ることなく、空
白2を含む連続した文字列に上書きする形で入力が進
む。
The difference in character input processing for the blank 1 and the blank 2 is shown. FIG. 14A shows an example of the blank 1, and since the first and second lines are discontinuous, a blank line is newly added between the first and second lines as in the input process shown in FIG. Insert and continue entering characters. FIG. 14B shows an example of blank 2, and the first and second lines are continuous, and input proceeds in a form of overwriting a continuous character string including blank 2 without creating a new blank line.

【0026】図15は、文字列後送り処理を行うときに
生じる空白に関する動作を示す図である。図16は、こ
の2種類の空白に対する文字列連続性判定部5での先頭
文字位置の認識の違いを示す図である。図17,図18
は、文字列後送り処理を行うときに生じる空白に関する
別の実施例を示す図である。
FIG. 15 is a diagram showing an operation related to a blank that occurs when the character string post feed processing is performed. FIG. 16 is a diagram showing the difference in recognition of the leading character position by the character string continuity determination unit 5 for these two types of blanks. 17 and 18
[Fig. 8] is a diagram showing another example of white space that occurs when a character string post feed process is performed.

【0027】つまり、図17と図18は、文字列編集部
4の挿入処理の一つである一字挿入処理(文字列後送り
処理)のそれぞれ別の形態を示すものである。ここで
は、図17に示すように、文字列後送り処理を行った行
で生じる空白に対しては、空白1をテキストに書き込
み、それ以降の行で生じる空白に対しては空白2をテキ
ストに書き込む。
That is, FIG. 17 and FIG. 18 show different forms of one-character insertion processing (character string post-feed processing) which is one of the insertion processing of the character string editing unit 4. Here, as shown in FIG. 17, the blank 1 is written in the text for the blank generated in the line where the character string backward processing is performed, and the blank 2 is written in the text for the blank generated in the subsequent lines. Write.

【0028】これにより、少ない文字数の後送り処理で
は通常の空白(空白1)のみがテキストに書き込まれる
ため、表示上の繁雑さを軽減することができる。尚、本
願では、図6の如く、行頭位置で文字列の連続性を判定
しているので、この図17の如く動作させても不都合は
生じない。つまり、行末も考慮して文字列の連続性を判
定する場合には、考察が必要となる。
As a result, since only a normal blank (blank 1) is written in the text in the backward feeding process with a small number of characters, the complexity of the display can be reduced. In the present application, as shown in FIG. 6, the continuity of the character string is determined at the line head position, so that the operation as shown in FIG. 17 does not cause any inconvenience. In other words, consideration is required when determining the continuity of a character string in consideration of the end of line.

【0029】また、図18に示すように、連続した文字
列の先頭を含む全体を後送りする場合に生じる空白に対
しては、空白1をテキストに書き込む(連続した文字列
の途中から後送りする場合に生じる空白に対しては、空
白2をテキストに書き込む)。この字下げにより段落切
りを行うことが出来る。これにより、段落間の文字列を
非連続に扱うことができる。
Further, as shown in FIG. 18, blank 1 is written in the text for a blank generated when the entire character string including the head of the continuous character string is fed backward. If it does, write blank 2 into the text). This indentation allows paragraph breaks. This makes it possible to handle character strings between paragraphs discontinuously.

【0030】[0030]

【発明の効果】本発明により、テキスト文字列の連続性
の有無に応じた編集処理を行うことが出来る。また、段
落編集モードでは、テキストの各行の先頭部分の空白に
関する個数や大きさ等の情報を利用して、文字列が行を
またがって連続しているか否かの判定と連続している場
合の連続位置の判定を行い、文字列の連続性を考慮した
文字列編集処理を行うことにより、使用者が自ら手作業
でインデントを入力することなく、自然な感覚でブロッ
ク編集が行える編集機能が実現でき、使用者の労力を軽
減することができる。
According to the present invention, it is possible to perform an editing process depending on the presence / absence of continuity of a text character string. In the paragraph edit mode, information such as the number and size of white spaces at the beginning of each line of text is used to determine whether or not a character string is continuous across lines. By performing continuous position determination and performing character string editing processing that considers the continuity of character strings, an editing function that allows users to perform block editing with a natural feeling without manually entering indents Therefore, the labor of the user can be reduced.

【0031】特に、文字列の後送り処理において、通常
の空白(空白1)と特殊な空白(空白2)を区別するこ
とにより、使用者の感覚に合った動作を行う編集機能が
実現できる。つまり、インデントの入力を必要しない
で、自然な感覚でのブロック編集(段落編集)が行え
る。
In particular, by distinguishing a normal blank (blank 1) from a special blank (blank 2) in the post feed processing of a character string, an editing function for performing an operation that matches the user's feeling can be realized. In other words, it is possible to perform block editing (paragraph editing) with a natural feeling without inputting indents.

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

【図1】従来のワープロの編集処理の動作の例を示す図
である。
FIG. 1 is a diagram showing an example of an operation of a conventional word processing editing process.

【図2】従来のワープロの編集処理の動作の例を示す図
である。
FIG. 2 is a diagram showing an example of an operation of a conventional word processing editing process.

【図3】従来のワープロの編集処理の動作の例を示す図
である。
FIG. 3 is a diagram showing an example of an operation of a conventional word processing editing process.

【図4】従来のワープロの編集処理の動作の例を示す図
である。
FIG. 4 is a diagram illustrating an example of an operation of a conventional word processing editing process.

【図5】本発明の1実施例の概略ブロック図である。FIG. 5 is a schematic block diagram of an embodiment of the present invention.

【図6】この実施例での文字列の連続性判定基準の例を
示す図である。
FIG. 6 is a diagram showing an example of character string continuity determination criteria in this embodiment.

【図7】この実施例での連続文字位置の判定基準の例を
示す図である。
FIG. 7 is a diagram showing an example of criteria for determining consecutive character positions in this embodiment.

【図8】この実施例での動作野フローを説明するための
図である。
FIG. 8 is a diagram for explaining a motion field flow in this embodiment.

【図9】この実施例での編集処理の動作の例を示す図で
ある。
FIG. 9 is a diagram showing an example of an operation of an editing process in this embodiment.

【図10】この実施例での編集処理の動作の例を示す図
である。
FIG. 10 is a diagram showing an example of an operation of an editing process in this embodiment.

【図11】この実施例での編集処理の動作の例を示す図
である。
FIG. 11 is a diagram showing an example of an operation of an editing process in this embodiment.

【図12】この実施例での編集処理の動作の例を示す図
である。
FIG. 12 is a diagram showing an example of an operation of an editing process in this embodiment.

【図13】この実施例での編集処理の動作の例を示す図
である。
FIG. 13 is a diagram showing an example of an operation of an editing process in this embodiment.

【図14】この実施例での2種類の空白に対する編集処
理の動作を示す図である。
FIG. 14 is a diagram showing an operation of an editing process for two types of blanks in this embodiment.

【図15】この実施例での文字列後送り処理を行うとき
に生じる空白に関する動作を示す図である。
FIG. 15 is a diagram showing an operation related to a blank that occurs when performing a character string back-advance process in this embodiment.

【図16】この実施例での2種類の空白に対する文字列
連続性判定部の処理の違いを示す図である。
FIG. 16 is a diagram showing a difference in processing of a character string continuity determination unit for two types of blanks in this embodiment.

【図17】文字列後送り処理を行うときに生じる空白に
関する動作の別の実施例を示す図である。
FIG. 17 is a diagram showing another example of the operation related to the blank that occurs when the character string post-feed processing is performed.

【図18】文字列後送り処理を行うときに生じる空白に
関する動作の別の実施例を示す図である。
FIG. 18 is a diagram showing another example of the operation related to the blank that occurs when the character string post-feed processing is performed.

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

(2)・・・・・入力部、 (3)・・・・・表示部、 (4)・・・・・文字列編集部、 (5)・・・・・文字列連続性判定部。 (2) ・ ・ ・ ・ ・ Input section, (3) ・ ・ ・ ・ ・ Display section, (4) ・ ・ ・ ・ ・ Character string editing section, (5) ・ ・ ・ ・ ・ Character string continuity judgment section.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 文字入力及び編集指示を行う入力部(2)
と、この入力に従ってテキスト文字列を編集すると共に
複数行に渡るテキスト文字列の先頭部分の空白を無視し
て連続したテキスト文字列として編集処理を行う文字列
編集部(4)とを備える文書処理装置において、 複数行に渡るテキスト文字列の各行の少なくても先頭部
分の空白に関する情報から、このテキスト文字列が行を
またがって連続しているか否かの判定を行う文字列連続
性判定部(5)を備えることを特徴とする文書処理装置。
1. An input unit (2) for inputting characters and instructing editing
And a character string editing unit (4) that edits the text character string according to this input and ignores the leading blanks of the text character string that spans multiple lines and performs edit processing as a continuous text character string In the device, a character string continuity determination unit that determines whether or not this text character string is continuous across lines based on information about at least the leading white space of each line of a text character string that spans multiple lines ( 5) A document processing apparatus comprising:
【請求項2】 少なくとも文字列後送り処理を含む連続
した文字列の編集処理を行うと共に、この文字列後送り
処理を行う際に生じる空白を通常の空白とは異なる形式
で扱う文字列編集部(4)と、 複数行に渡るテキストの各行の先頭部分の空白に関する
情報から、文字列が行をまたがって連続しているか否か
の判定と、連続している場合の連続位置の判定とを行う
と共に、この判定時に前記文字列後送り処理で生じた前
記空白は一般文字と同じ扱いとする文字列連続性判定部
(5)とを備えることを特徴とする文書処理装置。
2. A character string editing unit that performs a continuous character string editing process including at least a character string backward moving process, and handles a blank generated when performing the character string backward moving process in a format different from a normal blank. (4) and from the information about the white space at the beginning of each line of text that spans multiple lines, determine whether the character string is continuous across lines and determine the continuous position when it is continuous. The character string continuity determination unit that treats the blanks generated in the character string backward processing at the time of this determination as the same as general characters
(5) A document processing device comprising:
【請求項3】 文字列の途中で行う文字列後送り処理で
生じる空白に限って通常の空白とは異なる形式で扱うこ
とを特徴とする請求項2の文書処理装置。
3. The document processing apparatus according to claim 2, wherein only a blank generated in the character string post-feed processing performed in the middle of the character string is handled in a format different from a normal blank.
【請求項4】 文字列後送り編集で生じる空白のうち、
文字列後送り処理を行った行に生じる空白を通常の空白
とし、文字列後送り処理により次行に繰り下げられた空
白に限って通常の空白とは異なる形式で扱うことを特徴
とする請求項2又は3の文書処理装置。
4. Among blanks generated in the character string post-editing,
A white space generated in a line on which the character string post-feed processing is performed is regarded as a normal blank, and only a space moved down to the next line by the character string post-advance processing is treated in a format different from the normal space. Two or three document processing devices.
【請求項5】 前記文字列後送り処理で生じる空白を通
常の空白とは異なる形態で前記テキスト文字列を表示す
る表示部(3)において表示することを特徴とする請求項
2〜4のいずれかに記載の文書処理装置。
5. The display unit (3) for displaying the text character string displays a blank generated in the character string post-feed processing in a form different from a normal blank, according to any one of claims 2 to 4. The document processing device according to claim 1.
JP7222070A 1995-08-30 1995-08-30 Document processor Pending JPH0962679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7222070A JPH0962679A (en) 1995-08-30 1995-08-30 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7222070A JPH0962679A (en) 1995-08-30 1995-08-30 Document processor

Publications (1)

Publication Number Publication Date
JPH0962679A true JPH0962679A (en) 1997-03-07

Family

ID=16776652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7222070A Pending JPH0962679A (en) 1995-08-30 1995-08-30 Document processor

Country Status (1)

Country Link
JP (1) JPH0962679A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389386B1 (en) 1998-12-15 2002-05-14 International Business Machines Corporation Method, system and computer program product for sorting text strings
US6460015B1 (en) 1998-12-15 2002-10-01 International Business Machines Corporation Method, system and computer program product for automatic character transliteration in a text string object
US7099876B1 (en) 1998-12-15 2006-08-29 International Business Machines Corporation Method, system and computer program product for storing transliteration and/or phonetic spelling information in a text string class

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389386B1 (en) 1998-12-15 2002-05-14 International Business Machines Corporation Method, system and computer program product for sorting text strings
US6460015B1 (en) 1998-12-15 2002-10-01 International Business Machines Corporation Method, system and computer program product for automatic character transliteration in a text string object
US7099876B1 (en) 1998-12-15 2006-08-29 International Business Machines Corporation Method, system and computer program product for storing transliteration and/or phonetic spelling information in a text string class

Similar Documents

Publication Publication Date Title
US8091020B2 (en) System and method for updating a table-of-contents in a frameset
US9275025B2 (en) Interactive special paste
CN1127696C (en) Automatically converting preformatted text into reflowable text for TV viewing
US7432938B1 (en) System and method for annotating electronic documents
US20040177343A1 (en) Method and apparatus for understanding and resolving conflicts in a merge
EP0278722A2 (en) Document composition system using named formats and named fonts
JPH08212197A (en) Document editing device
EP0950964A2 (en) A method and apparatus for displaying references to a user's document browsing history within the context of a new document
JPH1013780A (en) Script edit device
JPH0962679A (en) Document processor
JP2697646B2 (en) Multimedia editing device
JP3155125B2 (en) Data processing apparatus having page turning function and data page turning method
JP2002304388A (en) Method for determining rubies
JPH0764997A (en) Document edition device and document display method for the same
JP2008210500A (en) Data editing device and program
JP3970949B2 (en) Information processing device with display device
JP3737629B2 (en) Document editing system, method, and recording medium
JPH0535837A (en) Cut data editing system for window system with cut-and-paste function
JPH08194831A (en) Method and device for processing picture
JPH0736913A (en) Linguistic analytic system
JPH06348694A (en) Document editing method
JPH10162004A (en) Character string display device
JPH11265376A (en) Hypertext device
JPH04348460A (en) Method and device for production of document
JPH11232270A (en) Variable document preparation system, variable document output device and variable original preparing device