JPH052264U - Document creation device - Google Patents

Document creation device

Info

Publication number
JPH052264U
JPH052264U JP046274U JP4627491U JPH052264U JP H052264 U JPH052264 U JP H052264U JP 046274 U JP046274 U JP 046274U JP 4627491 U JP4627491 U JP 4627491U JP H052264 U JPH052264 U JP H052264U
Authority
JP
Japan
Prior art keywords
data
text data
line feed
cursor
line
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
JP046274U
Other languages
Japanese (ja)
Other versions
JP2599433Y2 (en
Inventor
昌典 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP1991046274U priority Critical patent/JP2599433Y2/en
Publication of JPH052264U publication Critical patent/JPH052264U/en
Application granted granted Critical
Publication of JP2599433Y2 publication Critical patent/JP2599433Y2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 本考案は、操作性の良い段落分け機能を有す
る文書作成装置を提供することを目的としている。 【構成】本考案は、上記課題を解決すべく、作成中の文
書を表示する表示手段と、該表示手段の編集位置を指示
するカーソルと、改行を指示する改行指示手段と、該改
行指示手段で改行指示されたとき上記カーソルが示す位
置のテキストデータが文字データであるか否かを判定す
ると共に、斯るカーソル位置の1カラム前のテキストデ
ータが句点データであるか否かを判定する判定手段と、
該判定手段がカーソル位置のテキストデータが文字デー
タであり、かつ、1カラム前のテキストデータが句点で
あると判定した場合、テキストデータ格納領域の先頭に
ナルデータを埋め込んで改行処理する改行手段と、を備
えることを特徴とする。
(57) [Summary] [Object] An object of the present invention is to provide a document creation device having a paragraph dividing function with good operability. According to the present invention, in order to solve the above problems, a display means for displaying a document being created, a cursor for indicating an editing position of the display means, a line feed instruction means for indicating a line feed, and the line feed instruction means. It is determined whether or not the text data at the position indicated by the cursor is character data when the line feed is instructed with, and whether or not the text data one column before the cursor position is phrase data. Means and
When the determining means determines that the text data at the cursor position is character data and the text data one column before is a punctuation point, it embeds null data at the beginning of the text data storage area and performs line feed processing. , Are provided.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、作成中の文書に改行処理を行う文書作成装置に関する。 The present invention relates to a document creation device for performing line feed processing on a document being created.

【0002】[0002]

【従来の技術】[Prior Art]

文書を連続的に作成した後に、当該段落の文書が長いために、二つの段落に分 割する際、通常改行したい文書の先頭位置にカーソルを移動させ、改行を指示し 、然る後1字挿入をする方法が採られている(三洋電機株式会社製、日本語ワー ドプロセッサSWP−M91操作マニュアル)。 After creating documents continuously, the document of the paragraph is long, so when dividing into two paragraphs, normally move the cursor to the beginning position of the document where you want to break a line, instruct the line break, and then The insertion method is adopted (manufactured by Sanyo Electric Co., Ltd., Japanese word processor SWP-M91 operation manual).

【0003】 即ち、段落分けを行うには、改行の指示と、段落先頭特有の1字空けのための 1字挿入という少なくとも2つのキー操作が必要である。That is, in order to perform paragraph division, at least two key operations, that is, a line feed instruction and one character insertion for leaving one character peculiar to the beginning of the paragraph, are necessary.

【0004】[0004]

【考案が解決しようとする課題】[Problems to be solved by the device]

本考案は、斯る段落分けを行おうためにはキー操作数が多く、操作性が悪い点 を解決課題とする。即ち、本考案は、操作性の良い段落分け機能を有する文書作 成装置を提供することを目的としている。 The present invention solves the problem that the number of key operations is large and the operability is poor in order to perform such paragraph division. That is, an object of the present invention is to provide a document creating device having a paragraph dividing function with good operability.

【0005】[0005]

【課題を解決するための手段】[Means for Solving the Problems]

本考案は、上記課題を解決すべく、作成中の文書を表示する表示手段と、該表 示手段の編集位置を指示するカーソルと、改行を指示する改行指示手段と、該改 行指示手段で改行指示されたとき上記カーソルが示す位置のテキストデータが文 字データであるか否かを判定すると共に、斯るカーソル位置の1カラム前のテキ ストデータが句点データであるか否かを判定する判定手段と、該判定手段がカー ソル位置のテキストデータが文字データであり、かつ、1カラム前のテキストデ ータが句点であると判定した場合、テキストデータ格納領域の先頭にナルデータ を埋め込んで改行処理する改行手段と、を備えることを特徴とする。 In order to solve the above problems, the present invention provides a display means for displaying a document being created, a cursor for indicating an editing position of the display means, a line feed instruction means for indicating a line feed, and a line feed instruction means. When a line feed is instructed, it is determined whether or not the text data at the position indicated by the cursor is character data, and whether or not the text data one column before the cursor position is phrase data. When the determining means determines that the text data at the cursor position is character data and the text data one column before is a punctuation point, the null data is embedded at the beginning of the text data storage area. And a line feed means for performing line feed processing in.

【0006】[0006]

【作用】[Action]

上述の如く判定手段がカーソル位置のテキストデータが文字データであり、か つ、1カラム前のテキストデータが句点であると判定した場合、テキストデータ 格納領域の先頭にナルデータを埋め込んで改行処理することによって、1字空け が施された改行処理が簡単に行える。 As described above, when the determining means determines that the text data at the cursor position is character data and the text data one column before is a punctuation point, it embeds null data at the beginning of the text data storage area and performs line feed processing. This makes it easy to perform line break processing with a space left.

【0007】[0007]

【実施例】【Example】

以下、図面を参照しながら、本考案による文書作成装置の一実施例を詳述する 。 Hereinafter, an embodiment of a document creation apparatus according to the present invention will be described in detail with reference to the drawings.

【0008】 図1は、本発明の文書作成装置の一実施例構成を示すブロック図である。図2 乃至図7は、本発明の文書作成装置の処理画面例とテキストデータ格納領域の概 念図を示した説明図である。図8は、本発明の文書作成装置の処理内容を簡単に 示したフローチャートである。FIG. 1 is a block diagram showing the configuration of an embodiment of the document creation apparatus of the present invention. 2 to 7 are explanatory views showing an example of a processing screen of the document creating apparatus of the present invention and a conceptual diagram of a text data storage area. FIG. 8 is a flowchart briefly showing the processing contents of the document creating apparatus of the present invention.

【0009】 図1中、1はキーボードであり、改行処理指示キー1aや、図示していない文 字キー、カーソル移動キー、漢字変換指示キー及びその他のファンクションキー を有する、2はカーソルカウンタ、3は制御部、4はテキストバッファ、5は1 行データ読出し部、6は1行データ格納部、7はテキストデータ解析部、8は文 字データ格納部、9はテキストデータ格納領域、10は文字データ書込み部、1 1は1行データ書込み部、12は表示部である。In FIG. 1, reference numeral 1 denotes a keyboard, which has line feed processing instruction keys 1 a, character keys (not shown), cursor movement keys, Kanji conversion instruction keys and other function keys, 2 is a cursor counter, 3 Is a control unit, 4 is a text buffer, 5 is a one-line data reading unit, 6 is a one-line data storage unit, 7 is a text data analysis unit, 8 is a character data storage unit, 9 is a text data storage region, and 10 is a character. A data writing unit, 11 is a one-line data writing unit, and 12 is a display unit.

【0010】 図8のフローチャートを基に詳細なを説明する。但し、テキストデータ格納領 域9には、まだ何も格納されていないものとする。Details will be described based on the flowchart of FIG. However, it is assumed that nothing is stored in the text data storage area 9.

【0011】 まず、S1ステップで、キーボード1上で改行処理指示キー1aが押されたか どうかを判定する。指示キー1aが押されていたら、S2ステップで、文字デー タ格納部8の内部変数WP、文字データ書込み部10の内部変数RPに初期値0 をセットする。続くS3ステップでは、テキストデータ解析部7が、カーソル位 置が文字コードであるか否かをを判定し、文字コードでなければS6ステップに 進む。文字コードであれば、S4ステップで、カーソル位置の1カラム左のテキ ストデータが句点、即ち[。]データであるかを判定する。句点データでなけれ ばS6ステップに進む。句点データであれば、S6ステップで、テキストデータ 格納領域の先頭にナルコードを書き込み、書込位置変数WPの値を1カウントす る(処理1)。First, in step S1, it is determined whether the line feed processing instruction key 1a is pressed on the keyboard 1. If the instruction key 1a is pressed, the initial value 0 is set in the internal variable WP of the character data storage unit 8 and the internal variable RP of the character data writing unit 10 in step S2. In the subsequent step S3, the text data analysis unit 7 determines whether or not the cursor position is the character code. If not, the process proceeds to step S6. If it is a character code, in step S4, the text data one column to the left of the cursor position is a punctuation mark, that is, [. ] It is determined whether it is data. If it is not the phrase data, proceed to step S6. If it is phrase data, in step S6, a null code is written at the beginning of the text data storage area, and the value of the write position variable WP is counted by 1 (process 1).

【0012】 図2は、S1〜S6ステップの処理の画面例(同図A)と、テキストデータ格 納部9の内部構造概念図(同図B)を示している。尚、ここでは仮にナルデータ を0としている。FIG. 2 shows a screen example of the processing of steps S1 to S6 (A in the same figure) and a conceptual diagram of the internal structure of the text data storage unit 9 (B in the same figure). Here, the null data is temporarily set to 0.

【0013】 続くS6ステップでは、文字データ格納部8は、カーソル位置から右書式まで の1行データ格納部6のテキストデータを書込位置変数WPの位置から格納し、 文字数だけ書込位置変数WPの値をカウントし、テキスト格納領域内に格納した 、1行データ格納部6のテキストデータをナルデータに書き替える、処理2を実 行する。In the subsequent S6 step, the character data storage unit 8 stores the text data of the one-line data storage unit 6 from the cursor position to the right format from the position of the write position variable WP, and the write position variable WP by the number of characters. The value of is counted and stored in the text storage area. The text data in the one-line data storage unit 6 is rewritten to null data, and the processing 2 is executed.

【0014】 図3は斯る処理2の画面例(同図A)と、テキストデータ格納部9の内部構造 概念図(同図B)を示している。ナルデータ0の後からテキストデータが書き込 まれ書込位置変数WPは7に更新されている。FIG. 3 shows an example of the screen of the processing 2 (A in the same figure) and a conceptual diagram of the internal structure of the text data storage unit 9 (B in the same figure). Text data is written after null data 0, and the write position variable WP is updated to 7.

【0015】 次にカーソル行を次の行に移動する(S7ステップ)。Next, the cursor line is moved to the next line (step S7).

【0016】 ここで、カーソルの行移動の処理を説明する。カーソル位置行データ書込み部 11は、1行データ格納部6の行データをテキストバッファ4内の、カーソル行 の位置に書き込み、カーソルカウンタ2は、カーソル行を次の指定行にカウント する。そして、カーソル位置行データ読出し部5は、テキストバッファ4内のカ ーソル位置の行データを、一行データ格納部6に書き込む。カーソルが行移動す る時は、この処理がいつも行われているものとする。Here, a process of moving the cursor line will be described. The cursor position line data writing unit 11 writes the line data in the one-line data storage unit 6 to the position of the cursor line in the text buffer 4, and the cursor counter 2 counts the cursor line to the next designated line. Then, the cursor position line data reading unit 5 writes the line data at the cursor position in the text buffer 4 into the one line data storage unit 6. It is assumed that this process is always performed when the cursor moves the line.

【0017】 次の行への移動処理が完了すると、カーソル位置をカーソル行データの先頭に 移動し、S8ステップで、文字データ格納部8は、カーソル位置から右書式まで のテキストデータをテキスト格納領域内に、書込位置変数WPの位置から格納し 、文字数分書き込み位置変数WPの値をカウントし、テキスト格納領域内に格納 した、1行データ格納部6のテキストデータをナルデータに書き替える、処理3 を実行する。When the process of moving to the next line is completed, the cursor position is moved to the beginning of the cursor line data, and in step S8, the character data storage unit 8 stores the text data from the cursor position to the right format in the text storage area. , The position of the write position variable WP is stored, the value of the write position variable WP is counted by the number of characters, and the text data of the one-line data storage unit 6 stored in the text storage area is rewritten to null data. Process 3 is executed.

【0018】 図4は斯る処理3の画面例(同図A)と、テキストデータ格納部9の内部構造 概念図(同図B)を示している。書込位置変数WPは22に更新されている。FIG. 4 shows a screen example of the processing 3 (A in the same figure) and a conceptual diagram of the internal structure of the text data storage unit 9 (B in the same figure). The write position variable WP has been updated to 22.

【0019】 次に、文字データ書込部10は、S9ステップでテキスト格納領域内に格納さ れたテキストデータをデータ解放位置変数RPの位置から順に、一行データのカ ーソル位置から右書式までの領域に書き込み、書き込まれた文字数分データ解放 位置変数RPの値をカウントする。Next, the character data writing unit 10 sequentially writes the text data stored in the text storage area in step S9 from the position of the data release position variable RP to the cursor position of one line data to the right format. Data is written in the area and the number of written characters is released. The value of the position variable RP is counted.

【0020】 図5はこのS9ステップでの処理の画面例(同図A)と、テキストデータ格納 部9の内部構造概念図(同図B)を示している。テキストデータ格納領域9内の テキストデータが、1行データ格納部6に解放されたので、データ解放位置変数 RPの値は15に更新されている。FIG. 5 shows an example of the screen of the process in step S9 (A in the same figure) and a conceptual diagram of the internal structure of the text data storage unit 9 (B in the same figure). Since the text data in the text data storage area 9 is released to the one-line data storage unit 6, the value of the data release position variable RP is updated to 15.

【0021】 そして、S10ステップで書込位置変数WPが、データ解放位置変数RPより も大きいことを確認してS7ステップへ戻る。Then, in step S10, it is confirmed that the write position variable WP is larger than the data release position variable RP, and the process returns to step S7.

【0022】 このように、S7ステップからS10ステップ処理が繰り返され、図6、図7 の状態を経て、書込位置変数WPが、データ解放位置変数RPと同じになれば、 格納されたテキストデータが全て解放されたとして、すべての処理を終了する。In this way, if the write position variable WP becomes the same as the data release position variable RP after the processes of S7 to S10 are repeated and the states of FIG. 6 and FIG. All processes are terminated assuming that all are released.

【0023】 また、図6中の改行マークは、文字データ格納部8が、1行データ格納部6か らテキストデータ格納部9にデータを書き込む際、最後に読み込んだ文字データ から、右書式までの間が全てナルデータであったときに書き込まれる。Further, the line feed mark in FIG. 6 indicates that when the character data storage unit 8 writes data from the one-line data storage unit 6 to the text data storage unit 9, from the last read character data to the right format. It is written when all of the spaces are null data.

【0024】 また、文字データ書込部10は、テキストデータ格納部9のデータを1行デー タ格納部に書き込む際に改行マークが現れたら、書き込み位置から右書式迄をナ ルデータに置き換えるものとする。When a line feed mark appears when writing the data in the text data storage unit 9 into the one-line data storage unit, the character data writing unit 10 replaces the writing position to the right format with null data. To do.

【0025】[0025]

【考案の効果】[Effect of the device]

以上、説明したように、本考案の文書作成装置によれば、段落分けをすべく改 行処理を指示した場合、テキストの状態に応じて段落分けされた文字列の先頭が 自動的に一文字分空けられるので、編集操作が簡素化し処理スピードが向上する 。 As described above, according to the document creation device of the present invention, when a line-breaking process is instructed to break a paragraph, the beginning of the character string divided into paragraphs automatically corresponds to one character. Since it is left blank, the editing operation is simplified and the processing speed is improved.

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

【図1】本考案の文書作成装置の一実施例構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a document creation apparatus of the present invention.

【図2】本考案の文書作成装置の処理画面例とテキスト
データ格納領域の概念図を示した説明図である。
FIG. 2 is an explanatory diagram showing an example of a processing screen of the document creation device of the present invention and a conceptual diagram of a text data storage area.

【図3】本考案の文書作成装置の処理画面例とテキスト
データ格納領域の概念図を示した説明図である。
FIG. 3 is an explanatory diagram showing an example of a processing screen of the document creation apparatus of the present invention and a conceptual diagram of a text data storage area.

【図4】本考案の文書作成装置の処理画面例とテキスト
データ格納領域の概念図を示した説明図である。
FIG. 4 is an explanatory view showing an example of a processing screen of the document creating apparatus of the present invention and a conceptual view of a text data storage area.

【図5】本考案の文書作成装置の処理画面例とテキスト
データ格納領域の概念図を示した説明図である。
FIG. 5 is an explanatory diagram showing an example of a processing screen of the document creation device of the present invention and a conceptual diagram of a text data storage area.

【図6】本考案の文書作成装置の処理画面例とテキスト
データ格納領域の概念図を示した説明図である。
FIG. 6 is an explanatory diagram showing an example of a processing screen of the document creating apparatus of the present invention and a conceptual diagram of a text data storage area.

【図7】本考案の文書作成装置の処理画面例とテキスト
データ格納領域の概念図を示した説明図である。
FIG. 7 is an explanatory diagram showing an example of a processing screen of the document creating apparatus of the present invention and a conceptual diagram of a text data storage area.

【図8】本考案の文書作成装置の処理内容を簡単に示し
たフローチャートである。
FIG. 8 is a flow chart briefly showing the processing contents of the document creating apparatus of the present invention.

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

1 キーボード 1a 改行処理指示キー 3 制御部 4 テキストバッファ 5 1行データ読出し部 6 1行データ格納部 7 テキストデータ解析部 8 文字データ格納部 9 テキストデータ格納領域 10 文字データ書込み部 11 1行データ書込み部 12 表示部 1 keyboard 1a line feed processing instruction key 3 control unit 4 text buffer 5 1 line data reading unit 6 1 line data storage unit 7 text data analysis unit 8 character data storage unit 9 text data storage region 10 character data writing unit 11 1 line data writing Part 12 Display

Claims (1)

【実用新案登録請求の範囲】 【請求項1】 作成中の文書を表示する表示手段と、該
表示手段の編集位置を指示するカーソルと、改行を指示
する改行指示手段と、該改行指示手段で改行指示された
とき上記カーソルが示す位置のテキストデータが文字デ
ータであるか否かを判定すると共に、斯るカーソル位置
の1カラム前のテキストデータが句点データであるか否
かを判定する判定手段と、該判定手段がカーソル位置の
テキストデータが文字データであり、かつ、1カラム前
のテキストデータが句点であると判定した場合、テキス
トデータ格納領域の先頭にナルデータを埋め込んで改行
処理する改行手段と、を備えることを特徴とする文書作
成装置。
[Claims for utility model registration] [Claim 1] Display means for displaying a document being created, a cursor for instructing an editing position of the display means, a line feed instruction means for instructing a line feed, and a line feed instruction means A determination means for determining whether or not the text data at the position indicated by the cursor when the line feed is instructed is character data and determining whether or not the text data one column before the cursor position is the phrase data. When the determination means determines that the text data at the cursor position is character data and the text data one column before is a punctuation point, the null data is embedded at the beginning of the text data storage area and a line feed is performed. A document creation apparatus comprising: a means.
JP1991046274U 1991-06-19 1991-06-19 Memory protection device for each memory board in a multiprocessor system Expired - Lifetime JP2599433Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1991046274U JP2599433Y2 (en) 1991-06-19 1991-06-19 Memory protection device for each memory board in a multiprocessor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1991046274U JP2599433Y2 (en) 1991-06-19 1991-06-19 Memory protection device for each memory board in a multiprocessor system

Publications (2)

Publication Number Publication Date
JPH052264U true JPH052264U (en) 1993-01-14
JP2599433Y2 JP2599433Y2 (en) 1999-09-06

Family

ID=12742649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1991046274U Expired - Lifetime JP2599433Y2 (en) 1991-06-19 1991-06-19 Memory protection device for each memory board in a multiprocessor system

Country Status (1)

Country Link
JP (1) JP2599433Y2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150121481A (en) * 2014-04-21 2015-10-29 유종민 Laver gathering device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5990467U (en) * 1982-12-07 1984-06-19 三洋電機株式会社 electronic typewriter
JPS6269355A (en) * 1985-09-20 1987-03-30 Canon Inc character processing device
JPH03179553A (en) * 1989-12-08 1991-08-05 Casio Comput Co Ltd Japanese document creation device
JPH04105165A (en) * 1990-08-24 1992-04-07 Fujitsu Ltd Line feed method for document processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5990467U (en) * 1982-12-07 1984-06-19 三洋電機株式会社 electronic typewriter
JPS6269355A (en) * 1985-09-20 1987-03-30 Canon Inc character processing device
JPH03179553A (en) * 1989-12-08 1991-08-05 Casio Comput Co Ltd Japanese document creation device
JPH04105165A (en) * 1990-08-24 1992-04-07 Fujitsu Ltd Line feed method for document processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150121481A (en) * 2014-04-21 2015-10-29 유종민 Laver gathering device

Also Published As

Publication number Publication date
JP2599433Y2 (en) 1999-09-06

Similar Documents

Publication Publication Date Title
JPH0541997B2 (en)
JPS645344B2 (en)
JP3388451B2 (en) Handwriting input device
JP2599433Y2 (en) Memory protection device for each memory board in a multiprocessor system
JPH0464089B2 (en)
JPS60241156A (en) Word processor
JP2504471B2 (en) Text editing device
JPH06131143A (en) Document input / search device
JPH0793124A (en) Document creating apparatus and scrolling method
JP3020213B2 (en) Document processing device
JPS63197266A (en) document image editing device
JPH02151972A (en) Document retrieving system
JPH04148370A (en) document processing device
JPH02113386A (en) Handwritten character input system
JPH0749851A (en) Document shaping device
JP2657091B2 (en) Document creation device
JPS61151595A (en) Electronic appliance
JPH0261757A (en) Documentat preparing device
JPS59117621A (en) Document editing and proofreading system
JPS6411985B2 (en)
JPS59229684A (en) character processing device
JPH01287723A (en) Key input information display device
JPH0573548A (en) Document shaping device
JPH04282755A (en) Word processor
JPH02297268A (en) Document editing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term