JPH08249315A - Document editing device - Google Patents

Document editing device

Info

Publication number
JPH08249315A
JPH08249315A JP8070506A JP7050696A JPH08249315A JP H08249315 A JPH08249315 A JP H08249315A JP 8070506 A JP8070506 A JP 8070506A JP 7050696 A JP7050696 A JP 7050696A JP H08249315 A JPH08249315 A JP H08249315A
Authority
JP
Japan
Prior art keywords
line
instruction
data
instructed
ruled
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
JP8070506A
Other languages
Japanese (ja)
Other versions
JP2787021B2 (en
Inventor
Junichiro Kubota
順一郎 久保田
Masami Oshiro
正己 大城
Kimio Nagasawa
喜美男 長沢
Kouichirou Uchigata
浩一郎 内潟
Masahiro Ishiba
正大 石場
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 JP8070506A priority Critical patent/JP2787021B2/en
Publication of JPH08249315A publication Critical patent/JPH08249315A/en
Application granted granted Critical
Publication of JP2787021B2 publication Critical patent/JP2787021B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To eliminate the need for troublesome operation by inserting a blank line at an instructed line while a table is held continuous when an instruction to insert a line within the table is given. CONSTITUTION: This device consists of a keyboard 1, a control part 2, a text memory 3, a video RAM 4, and a CRT display 5, and the key board 1 includes a one-line insertion instructing means consisting of cursor keys 6 and a one- character insertion key 7 and a storage control part 15 includes the control part 2, text memory 3, and video RAM 4. When the instruction for line insertion is given in the table, the contents following the insertion-instructed line are moved down and displayed and the insertion-instructed line is retrieved, when an upward component is present on ruled-line data, longitudinal ruled lines only in the vertical direction are displayed on the inserted line continuously in the column direction, but when not, a blank is displayed at the column position of the inserted line. Namely, when the instruction of the line insertion is given in the table, the blank line is inserted at the instructed line while the table frame is held continuous.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、日本語ワードプロ
セッサ等の文書編集が可能な装置に係り、特に、行挿入
機能に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document editing device such as a Japanese word processor, and more particularly to a line insertion function.

【0002】[0002]

【従来の技術】三洋製ワードプロセッサ日本SWP−1
100のオペレーションマニュアルに開示されているよ
うに、従来の文書編集装置においては、1行挿入機能が
ある。即ち、表示画面で、1行挿入したい位置の左マー
ジンにカーソルを合わせ、1字挿入キーを押すと、カー
ソルを合わせた行に空白行が1行挿入され、カーソルを
合わせた行以降の内容が1行だけ繰り下げ表示される。
2. Description of the Related Art Sanyo word processor Japan SWP-1
As disclosed in 100 Operation Manual, the conventional document editing apparatus has a one-line insertion function. That is, on the display screen, move the cursor to the left margin where you want to insert a line, and press the 1-character insertion key. A blank line is inserted in the line where the cursor is placed, and the contents after the line where the cursor is placed are Only one line is displayed.

【0003】又、上記ワードプロセッサにおいては、ブ
ロック編集を実現するため、画面に境界を示すインデン
トマークを表示可能であり、更には、カーソルキーを用
いて縦,横,自由に罫線を引き、所望の表を作成するこ
とができる。
Further, in the above word processor, in order to realize block editing, an indentation mark indicating a boundary can be displayed on the screen, and further, a ruled line can be freely drawn by using the cursor key to draw a desired line. You can create a table.

【0004】[0004]

【発明が解決しようとする課題】従来の装置において
は、連続した罫線より成る表枠内で、1行挿入機能を実
行すると、文書が表示されている場合と同様に、挿入が
指示された挿入指示行に空白行が挿入されるので、図7
に示すように、表が途切れてしまい、後でカーソルキー
を操作して罫線をつなぐという、面倒な作業を行なわな
ければならなかった。
In the conventional apparatus, when the one-line insertion function is executed in the table frame composed of continuous ruled lines, the insertion for which insertion is instructed is performed as in the case where the document is displayed. Since a blank line is inserted in the instruction line,
As shown in, the table was cut off, and the troublesome work of operating the cursor keys and connecting the ruled lines later had to be done.

【0005】[0005]

【課題を解決するための手段】本発明の文書編集装置
は、行挿入を指示する指示手段を有する入力手段と、該
入力手段から入力された文書を記憶するテキストメモリ
と、該テキストメモリの内容を表示する表示手段とを備
え、前記指示手段からの指示に応答して、挿入が指示さ
れた挿入指示行以降の内容を繰り下げ表示すると共に、
前記挿入指示行に空白行を表示する文書編集装置におい
て、前記指示手段からの指示に応答して、前記挿入指示
行に対応する前記テキストメモリ上の各列のデータが罫
線データであるか判定する判定手段と、該判定手段で罫
線データと判定された場合、当該罫線データについて上
下左右の方向成分のうち上方向の方向成分が存在するか
否か判別する判別手段と、該判別手段により前記上方向
成分の存在が判別された場合、上下方向のみより成る縦
罫線データを前記挿入指示行の当該列位置に書き込み、
又、該判別手段により前記上方向成分の存在が判別され
ない場合、前記挿入指示行の当該列位置を空白にする行
挿入手段を備えた。
A document editing apparatus according to the present invention includes an input unit having an instruction unit for instructing line insertion, a text memory for storing a document input from the input unit, and contents of the text memory. And a display means for displaying, and in response to an instruction from the instruction means, display the contents after the insertion instruction line for which insertion is instructed forward, and
In a document editing device that displays a blank line in the insertion instruction line, in response to an instruction from the instruction means, it is determined whether the data of each column in the text memory corresponding to the insertion instruction line is ruled line data. Determination means, and if the determination means determines that it is ruled line data, it determines whether or not there is an upward directional component of the directional components of the upper, lower, left, and right directions of the ruled line data; When the presence of the direction component is determined, the vertical ruled line data consisting only of the vertical direction is written in the column position of the insertion instruction line,
Further, a row insertion unit is provided for making the column position of the insertion instruction line blank when the presence of the upward component is not determined by the determination unit.

【0006】これにより本発明では、表内で、行挿入を
指示すると、挿入指示行以降の内容が繰り下げ表示され
ると共に、挿入指示行が検索され、罫線データに上方向
成分が存在する場合には、列方向に連続するように上下
方向のみより成る縦罫線が挿入行に表示され、それ以外
の場合は、挿入行の列位置に空白が表示される。即ち、
表内で、行挿入を指示すると、表枠が連続したまま、指
示された行に空白行が行挿入される。
Thus, according to the present invention, when a row insertion is instructed in the table, the contents after the insertion instructing row are displayed backward, and the insertion instructing row is searched, and if the ruled line data has an upward component. Displays vertical ruled lines consisting of only the vertical direction so as to be continuous in the column direction in the inserted line, and in other cases, a blank is displayed in the column position of the inserted line. That is,
When a row insertion is designated in the table, a blank row is inserted in the designated row while the table frame is continuous.

【0007】[0007]

【実施の形態】本発明の実施例の構成は、図2のブロッ
ク図に示すように、キーボード(1)、制御部(2)、
テキストメモリ(3)、ビデオRAM(4)、CRTデ
ィスプレイ(5)より成り、キーボード(1)は、カー
ソルキー(6)及び1字挿入キー(7)にて構成される
1行挿入指示手段を含み、記憶制御部(15)は前記制
御部(2)、テキストメモリ(3)及びビデオRAM
(4)を含む。
BEST MODE FOR CARRYING OUT THE INVENTION As shown in the block diagram of FIG. 2, the configuration of an embodiment of the present invention is a keyboard (1), a control unit (2),
The keyboard (1) is composed of a text memory (3), a video RAM (4) and a CRT display (5). The keyboard (1) has a one-line insertion instruction means composed of a cursor key (6) and a one-character insertion key (7). The storage control unit (15) includes the control unit (2), the text memory (3) and the video RAM.
Including (4).

【0008】テキストメモリ(3)は、キーボードから
入力される文書を記憶するメモリであり、各データは図
3(イ)に示すように、アトリビュートATTと文字コ
ードCCより成り、アトリビュート部に、インデントコ
ード,罫線コード,マージンコード等が記憶されてい
る。そして、罫線コードの場合は、図3(ロ)に示すよ
うに、罫線パターンの上下左右の各成分を示す罫線方向
成分ビットN,S,E,Wが文字コード部に記憶されて
いる。尚、罫線方向成分ビットNSEWについては、先
に出願した特願昭59−41169号に詳しく開示して
いる。
The text memory (3) is a memory for storing a document input from the keyboard. Each data is composed of an attribute ATT and a character code CC as shown in FIG. Codes, ruled line codes, margin codes, etc. are stored. In the case of the ruled line code, as shown in FIG. 3B, ruled line direction component bits N, S, E, W indicating the respective components of the ruled line pattern are stored in the character code portion. The ruled line direction component bit NSEW is disclosed in detail in Japanese Patent Application No. 59-41169 filed earlier.

【0009】以下、図1のフローチャートを参照しなが
ら、具体的動作を説明する。
The specific operation will be described below with reference to the flowchart of FIG.

【0010】例えば、図4(イ)に示す如く、表(8)
が、CRTディスプレイ(5)の表示画面(9)の第1
行目〜第7行目までに表示されている状態で、第4行目
の左マージンにカーソル(10)を合わせ、1字挿入キ
ー(7)を押したとする。すると、先ず、テキストメモ
リ(3)において、カーソル(10)で指示された挿入
指示行以降のデータが全て、1行繰り下げられる。この
時点では、挿入指示行には元のデータが残っている。次
に、テキストメモリ(3)の挿入指示行の各列のデータ
が読出され、このデータがインデントデータあるいは罫
線データであるか検索される。これは、各データのアト
リビュート部をチェックすることにより行なわれる。そ
して、インデントデータであるときは、テキストメモリ
(3)の挿入行のその列のデータ内容は保持される。
For example, as shown in FIG.
Is the first on the display screen (9) of the CRT display (5).
It is assumed that the cursor (10) is aligned with the left margin of the fourth line and the 1-character insertion key (7) is pressed in the state where the lines are displayed from the 7th line to the 7th line. Then, first, in the text memory (3), all the data after the insertion instruction line indicated by the cursor (10) are moved down by one line. At this point, the original data remains in the insert instruction line. Next, the data in each column of the insertion instruction line of the text memory (3) is read out, and it is searched whether this data is indent data or ruled line data. This is done by checking the attribute part of each data. When it is indented data, the data content of the column of the inserted row of the text memory (3) is retained.

【0011】又、罫線データであるときは、罫線方向成
分ビットNSEWの上方成分Nが存在するか否か判定さ
れ、存在するときは、テキストメモリ(3)の挿入行の
同一列に、NSEWが「1100」である縦罫線データ
が書き込まれる。そして、検索した列のデータが文字や
記号のデータであって、インデントデータや上方成分を
有する罫線データでない場合は、従来と同様、その列に
はスペースコードが書き込まれる。
If it is ruled line data, it is determined whether or not the upper component N of the ruled line direction component bit NSEW exists. If it exists, NSEW is placed in the same column of the insertion line of the text memory (3). The vertical ruled line data of "1100" is written. If the retrieved column data is character or symbol data and is not indent data or ruled line data having an upper component, a space code is written in that column, as in the conventional case.

【0012】従って、図4(イ)の例では、1行挿入が
指示された第4行目の第1,第5,第9列目は、上方成
分Nを有するNSEWが「1100」の罫線データであ
るので、図4(ロ)に示すように、表示画面(9)の第
5行目〜第8行目に、図4(イ)の第4行目〜第7行目
までに表示されていた内容が繰り下げ表示され、挿入が
指示された第4行目には、前行と次行の罫線を接続する
縦罫線が、第1,第5,第9列目に表示され、他の列に
は空白が表示される。
Therefore, in the example of FIG. 4A, in the 1st, 5th and 9th columns of the 4th row where insertion of one row is instructed, the ruled line having NSEW having the upper component N is "1100". Since it is data, as shown in FIG. 4B, it is displayed on the 5th to 8th lines of the display screen (9) and on the 4th to 7th lines of FIG. 4A. The contents that have been displayed are displayed backward, and vertical ruled lines that connect the ruled lines of the previous line and the next line are displayed in the first, fifth, and ninth columns at the fourth line where insertion is instructed, and other A blank appears in the column.

【0013】つまり、表(8)は、表枠が連続したま
ま、挿入が指示された行に空白行が挿入されることとな
る。
That is, in the table (8), a blank line is inserted in the line instructed to be inserted while the table frames are continuous.

【0014】図6(イ)及び(ロ)に示すように、イン
デントマークの場合も同様、インデントマークが連続し
たまま、空白行が1行挿入される。
As shown in FIGS. 6A and 6B, in the case of indentation marks as well, one blank line is inserted while the indentation marks are continuous.

【0015】尚、図1のフローチャートにおいて、Cは
列を示す変数である。
In the flowchart of FIG. 1, C is a variable indicating a column.

【0016】図5は、罫線表示における1行挿入の他の
例を示すものであり、図1(イ)においては、挿入行で
ある第2行目の罫線(11)の方向成分NSEWが「1
010」であるので、縦罫線(12)が表示され、図5
(ロ)においては、挿入行である第1行目の罫線(1
3)の方向成分NSEWが「0110」であるので、ス
ペース(14)が表示される。
FIG. 5 shows another example of inserting one line in the ruled line display. In FIG. 1 (a), the direction component NSEW of the ruled line (11) of the second line which is the inserted line is " 1
010 ”, the vertical ruled line (12) is displayed, and as shown in FIG.
In (b), the ruled line (1
Since the direction component NSEW of 3) is “0110”, the space (14) is displayed.

【0017】[0017]

【発明の効果】本発明によれば、表内で、行挿入を指示
すると、挿入指示行以降の内容が繰り下げ表示されると
共に、挿入指示行が検索され、罫線データに上方向成分
が存在する場合には、列方向に連続するように上下方向
のみより成る縦罫線が挿入行に表示され、それ以外の場
合は、挿入行の列位置に空白が表示される。即ち、表内
で、行挿入を指示すると、表枠が連続したまま、指示さ
れた行に空白行が行挿入されるので、従来の如き煩しい
操作が不要となり、非常に便利になる。
According to the present invention, when a row insertion is instructed in the table, the contents after the insertion instructing row are displayed backward, the insertion instructing row is searched, and the upward direction component exists in the ruled line data. In this case, vertical ruled lines that are continuous only in the vertical direction and are formed only in the vertical direction are displayed in the inserted row, and in other cases, a blank is displayed in the column position of the inserted row. That is, when a row insertion is instructed in the table, a blank row is inserted in the instructed row while the table frame is continuous, which eliminates the need for the conventional troublesome operation and is very convenient.

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

【図1】本発明による実施例の処理内容を示すフローチ
ャートである。
FIG. 1 is a flowchart showing the processing contents of an embodiment according to the present invention.

【図2】実施例の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of an example.

【図3】テキストメモリのデータ構成を示す説明図であ
る。
FIG. 3 is an explanatory diagram showing a data structure of a text memory.

【図4】本実施例の表示例を示す図である。FIG. 4 is a diagram showing a display example of the present embodiment.

【図5】本実施例の他の表示例を示す図である。FIG. 5 is a diagram showing another display example of the present embodiment.

【図6】本実施例の更に他の表示例を示す図である。FIG. 6 is a diagram showing still another display example of the present embodiment.

【図7】従来の1行挿入時の表示例を示す図である。FIG. 7 is a diagram showing a display example when a conventional one line is inserted.

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

1 キーボード 2 制御部 3 テキストメモリ 4 ビデオRAM 5 CRTディスプレイ 6 カーソルキー 7 1字挿入キー 8 表 9 表示画面 10 カーソル 11 罫線 12 縦罫線 13 第1行目の罫線 15 記憶制御部 1 Keyboard 2 Control Section 3 Text Memory 4 Video RAM 5 CRT Display 6 Cursor Keys 7 1-Character Insertion Key 8 Table 9 Display Screen 10 Cursor 11 Ruled Lines 12 Vertical Ruled Lines 13 Ruled Lines on the First Line 15 Storage Control Section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 内潟 浩一郎 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (72)発明者 石場 正大 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Koichiro Uchigata 2-18 Keihan Hondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd. (72) Masahiro Ishiba 2-chome Keihan Hondori, Moriguchi-shi, Osaka Sanyo Electric Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】行挿入を指示する指示手段を有する入力手
段と、 該入力手段から入力された文書を記憶するテキストメモ
リと、 該テキストメモリの内容を表示する表示手段とを備え、 前記指示手段からの指示に応答して、挿入が指示された
挿入指示行以降の内容を繰り下げ表示すると共に、前記
挿入指示行に空白行を表示する文書編集装置において、 前記指示手段からの指示に応答して、前記挿入指示行に
対応する前記テキストメモリ上の各列のデータが罫線デ
ータであるか判定する判定手段と、 該判定手段で罫線データと判定された場合、当該罫線デ
ータについて上下左右の方向成分のうち上方向の方向成
分が存在するか否か判別する判別手段と、 該判別手段により前記上方向成分の存在が判別された場
合、上下方向のみより成る縦罫線データを前記挿入指示
行の当該列位置に書き込み、又、該判別手段により前記
上方向成分の存在が判別されない場合、前記挿入指示行
の当該列位置を空白にする行挿入手段を備えたことを特
徴とした文書編集装置。
1. An input unit having an instruction unit for instructing line insertion, a text memory for storing a document input from the input unit, and a display unit for displaying contents of the text memory, the instruction unit In response to the instruction from, the document editing device that displays the contents after the insertion instruction line for which insertion is instructed and displays a blank line in the insertion instruction line in response to the instruction from the instruction unit. Determining means for determining whether the data in each column in the text memory corresponding to the insertion instruction line is ruled line data, and when the determining means determines ruled line data, the vertical and horizontal direction components of the ruled line data And a vertical ruled line consisting of only the vertical direction when the presence of the upward component is determined by the determining means. Data is written in the column position of the insertion instruction line, and row insertion means for blanking the column position of the insertion instruction line when the presence of the upward component is not discriminated by the discrimination means. Document editing device characterized by.
JP8070506A 1996-03-26 1996-03-26 Document editing device Expired - Lifetime JP2787021B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8070506A JP2787021B2 (en) 1996-03-26 1996-03-26 Document editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8070506A JP2787021B2 (en) 1996-03-26 1996-03-26 Document editing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61113119A Division JPH0754509B2 (en) 1986-05-16 1986-05-16 Document editing device

Publications (2)

Publication Number Publication Date
JPH08249315A true JPH08249315A (en) 1996-09-27
JP2787021B2 JP2787021B2 (en) 1998-08-13

Family

ID=13433494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8070506A Expired - Lifetime JP2787021B2 (en) 1996-03-26 1996-03-26 Document editing device

Country Status (1)

Country Link
JP (1) JP2787021B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5846479A (en) * 1981-09-11 1983-03-17 Sharp Corp Document processor
JPS60178581A (en) * 1984-02-24 1985-09-12 Hitachi Ltd Ruled line editing system
JPS60183682A (en) * 1984-03-02 1985-09-19 Sanyo Electric Co Ltd Generating system of summary table frame in document generator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5846479A (en) * 1981-09-11 1983-03-17 Sharp Corp Document processor
JPS60178581A (en) * 1984-02-24 1985-09-12 Hitachi Ltd Ruled line editing system
JPS60183682A (en) * 1984-03-02 1985-09-19 Sanyo Electric Co Ltd Generating system of summary table frame in document generator

Also Published As

Publication number Publication date
JP2787021B2 (en) 1998-08-13

Similar Documents

Publication Publication Date Title
KR920010811B1 (en) Tv teletext apparatus
US4931987A (en) Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately
US5309380A (en) Computer display for input and display of improper and mixed fractions
US4728945A (en) Tabulating system
JPH11272690A (en) Data display device, method therefor and recording medium recorded with data displaying program
JPH08249315A (en) Document editing device
JPS644189B2 (en)
JPH0754509B2 (en) Document editing device
JP3975899B2 (en) Electronic device and program having sound reproduction function
JPS61123876A (en) Document processor
JPH08147301A (en) Display method for document processor
JPH03189724A (en) Document processor
JPH01118190A (en) Information processor
JP2714126B2 (en) Setting method of graphic data input mode of document processing system
US5630150A (en) Automatic editing device for an english letter
JP2771669B2 (en) Ruled line editing device
JPH09319537A (en) Information display device
JPH0616259B2 (en) Electronic typewriter
JP2708922B2 (en) Document creation device
JP2978178B2 (en) Document creation apparatus and control method thereof
JP2657091B2 (en) Document creation device
JPS58214979A (en) Sentence editing device
JPH04190291A (en) Document processing device
JPH06203025A (en) Document processor
JPH024026A (en) Document processing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term