JPS6026235B2 - How to protect diagram data - Google Patents
How to protect diagram dataInfo
- Publication number
- JPS6026235B2 JPS6026235B2 JP55115742A JP11574280A JPS6026235B2 JP S6026235 B2 JPS6026235 B2 JP S6026235B2 JP 55115742 A JP55115742 A JP 55115742A JP 11574280 A JP11574280 A JP 11574280A JP S6026235 B2 JPS6026235 B2 JP S6026235B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- characters
- diagram
- chart
- data
- 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.)
- Expired
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 本発明は、図表データの保護方法に関する。[Detailed description of the invention] The present invention relates to a method for protecting chart data.
更に詳しくは、作表機能を持つワードプロセッサの図表
データの保護方法に関する。CRT上の文字・記号また
は作画パターンと1対1に対応した表示用メモリを持つ
ワードプロセッサが知られている。More specifically, the present invention relates to a method for protecting diagram data of a word processor having a tabulation function. Word processors are known that have a display memory that corresponds one-to-one with characters, symbols, or drawing patterns on a CRT.
このようなワードプロセッサにおいては、表示用メモリ
の内容(コード)が常時スキャンされてコードに対応し
た文字・記号または作画パターンが内蔵のメモリ(キャ
ラクタジェネレー夕)から読み出され、CRT上に表示
されるようになっている。従って、表示内容を変えたい
場合は、表示用メモリの内容を変えればよい。更に、上
記ワードプロセッサに作表能力を持たせたいときは以下
のようにする。即ち、表またはグラフを構成するぬに必
要な基本パターンを決める。次に、これら基本パターン
を内蔵のメモリ(キャラクタジェネレー夕)に格納し、
文字デー夕と同様のコードを割り当てる。上記操作を行
うことにより、パターンデータを文字データと全く同様
に扱うことができるM則ち、文字データと作画パターン
のコードを表示用メモIJIこ書き込んでい〈ことによ
り、CRT上に所望の図表付き文章を作成することがで
きる。In such word processors, the contents (codes) of the display memory are constantly scanned, characters, symbols, or drawing patterns corresponding to the codes are read out from the built-in memory (character generator) and displayed on the CRT. It looks like this. Therefore, if you want to change the display content, you only need to change the content of the display memory. Furthermore, if you want to add tabulation ability to the word processor mentioned above, do the following. That is, the basic patterns necessary to construct a table or graph are determined. Next, store these basic patterns in the built-in memory (character generator),
Assign the same code as the character data. By performing the above operation, pattern data can be handled in exactly the same way as character data.In other words, by writing the character data and the code of the drawing pattern in the display memo IJI, the desired diagram can be displayed on the CRT. You can create attached sentences.
ところが、このようなワードプロセッサの場合、文字コ
ードとパターンコードが分離されていないので、途中の
文字を削除したり、或いは途中に文字を追加したりする
と、削除及び追加の影響が図表にも及び、図表の形がく
ずれてしまう。本発明は、このような点に鑑みてなされ
たもので、文字の削除及び追加をしても、図表データの
内容に影響を及ぼさない方法を実現したものである。However, in the case of such word processors, the character code and pattern code are not separated, so if you delete or add a character in the middle, the deletion and addition will affect the diagram as well. The shape of the chart is distorted. The present invention has been made in view of these points, and provides a method that does not affect the contents of chart data even when characters are deleted or added.
以下、図面を参照しながら本発明を詳細に説明する。第
1図aは、FRT上に文字と図表が表示された例を示す
図である。Hereinafter, the present invention will be explained in detail with reference to the drawings. FIG. 1a is a diagram showing an example of characters and charts displayed on the FRT.
同図において、1行目は表示単位a,〜a,2までの計
12個の単位で構成されている。これら表示単位のうち
、a・〜a3、all〜a・2には文字がa4〜a,o
には図表が表示されている。従って、表示用メモリにも
同図と対応した文字及び図表コードが書き込まれている
ことになる。今、この表示のうち、表示単位ものr同一
なる文字を削除するものとする。単に、対応する位置の
表示用メモリの内容を削除しただけでは、CRTの表示
は第1図のbに示すようなものとなる。文字コードとパ
ターンコードがそれぞれ独立していないため、表示単位
aを〆下が左に1ステップ移動してしまう。このため、
同図に示すように図表が壊れてしまう。このような不具
合を避けるためには以下のようにすればよい。In the figure, the first line is made up of a total of 12 units, including display units a, to a, and 2. Among these display units, characters a4-a, o are in a・~a3, all~a・2.
A chart is displayed. Therefore, characters and chart codes corresponding to the figure are also written in the display memory. Now, from this display, characters that are the same as the display unit r are deleted. If the contents of the display memory at the corresponding location are simply deleted, the display on the CRT will be as shown in FIG. 1b. Since the character code and pattern code are not independent, the bottom of the display unit a moves one step to the left. For this reason,
As shown in the figure, the chart is broken. In order to avoid such problems, you can do the following.
即ち、第1図aにおいて、先ず表示単位a2の内容を削
除し、図表の最前部から1ステップ手前の位置にある表
示単位a3の内容を左に1ステップ、シフトさせる。次
に空白になったものとa3の位置に図表の最後尾から1
字目の位置にある表示単位a,.の内容を書き込む。次
にa,2以下の内容を左に1ステップ、シフトさせる。
このような方法を用いることにより、図形コードa4〜
a,oの位置に与えずに文字の削除を行うことができる
。第1図cは文字削除後のCRT表示を示す図である。
次に、文字を追加する方法について説明する。That is, in FIG. 1a, first, the contents of display unit a2 are deleted, and the contents of display unit a3, which is located one step before the front of the chart, are shifted one step to the left. Next, add 1 from the end of the diagram to the blank space and place a3.
Display units a, . at the character positions. Write the contents of. Next, shift the contents of a, 2 and below one step to the left.
By using such a method, the graphic code a4~
It is possible to delete characters without assigning them to the a and o positions. FIG. 1c is a diagram showing the CRT display after character deletion.
Next, a method for adding characters will be explained.
第2図aは、第1図と同様CRT上に文字と図表が表示
された例を示す図である。今、表示単位d,とd2の間
に「河」なる文字を挿入するものとする。挿入手続きは
、以下のようにして行う。先ず、図表の最前部から1歩
手前の位置にある表示単位もの文字コードを、図表の最
後尾から1番目の位置に移動させる。図表の最後尾から
1番目の位置にあった表示単位d,.は右に1ステップ
、シフトする。d,2以下についても同様である。次に
、もとのもの位置にもをシフトさせる。もとのQの位置
に、新しく「河」なる文字を書き込む。以上の操作によ
り、図表の位置に影響を与えることなく文字の追加を行
なうことができる。第2図bは文字追加後のCRT表示
を示す。以上、文字の削除及び追加法について、図表が
1つの場合について説明したが、図表が1つの場合に限
る必要はなく複数個の場合についても同様に適用するこ
とがある。例えば3個の図表がある場合について考える
。第1番目の図表の前部の文字の削除及び変更は、第1
番目の図表のみなら第2、第3番目の図表についても本
方法を同時に適用する必要がある。一方、第2番目と第
3番目の図表の間に表示されている文字の削除及び追加
は、第3番目の図表に影響を与えるだけである。第3図
はこの様な方法を実施するためのワードプロセッサの一
実施例を示す要部構成図である。図において、1は文字
や情報を入力するための文字キーや機能キーを備えたキ
ーボードで、その入力情報はディジタル信号で出力され
、インターフェイス2を介しバス3を経由して中央処理
装置(以下CPUという)4に導かれる。5はプログラ
ムメモリで、文書作成に必要なプログラムが格納されて
いる。FIG. 2a is a diagram showing an example in which characters and charts are displayed on a CRT, similar to FIG. 1. Now, assume that the character "river" is inserted between display units d and d2. The insertion procedure is performed as follows. First, the character code of the display unit located one step before the front of the chart is moved to the first position from the end of the chart. The display unit d, which was in the first position from the end of the diagram. shifts one step to the right. The same applies to d,2 or less. Next, shift it to the original position. Write the new character ``River'' in the original Q position. By the above operations, characters can be added without affecting the position of the chart. FIG. 2b shows the CRT display after adding characters. The method for deleting and adding characters has been described above for the case where there is one figure or table, but the method need not be limited to the case where there is one figure or table, and may be similarly applied to the case where there are a plurality of figures or tables. For example, consider a case where there are three charts. Deleting or changing the text at the front of the first figure or table
If only the 1st chart is used, this method must be applied to the 2nd and 3rd charts at the same time. On the other hand, deleting or adding characters displayed between the second and third diagrams only affects the third diagram. FIG. 3 is a block diagram of essential parts of an embodiment of a word processor for carrying out such a method. In the figure, 1 is a keyboard equipped with character keys and function keys for inputting characters and information, and the input information is output as a digital signal and sent to the central processing unit (hereinafter referred to as CPU) via an interface 2 and a bus 3. ) 4. A program memory 5 stores programs necessary for document creation.
CPU4はこのプログラムを適宜議出し、実行すること
ができる。作成された文書(文字コードのみならず図表
コードも含まれる)いわゆるテキストはテーブルメモリ
6に格納される。表示しようとする文書はCPUの制御
下でIJフレッシュメモリに転送される。リフレツシュ
メモリ7の各コードはキャラクタジヱネレー夕8を介し
てドットパターンに変換して出力される。このキヤラク
タジェネレー夕8は文字パターンの他作画パターンも備
えている。表示装置は、インターフェイス9をとおして
、CPUからの制御信号とキャラクタジェネレー夕8か
らのドットパターンを受け、リフレツシュメモリ7の文
書(文字および図表等)をCRTIO上に表示する。The CPU 4 can appropriately propose and execute this program. The created document (including not only character codes but also diagram codes), so-called text, is stored in the table memory 6. The document to be displayed is transferred to the IJ fresh memory under the control of the CPU. Each code in the refresh memory 7 is converted into a dot pattern via a character generator 8 and output. This character generator 8 has drawing patterns in addition to character patterns. The display device receives a control signal from the CPU and a dot pattern from the character generator 8 through the interface 9, and displays the document (characters, diagrams, etc.) in the refresh memory 7 on the CRTIO.
この様な構成において、前述したような場合(文字と図
表が混在する場合)以外では従来と同様な動作により文
書作成が行われる。In such a configuration, document creation is performed in the same manner as in the past, except in the case described above (when characters and charts are mixed).
さて、キーボード1より情報を入力して第1図aのよう
な文字と図表が作成され、CRTに表示されているとす
る。Now, let us assume that characters and charts as shown in FIG. 1A are created by inputting information from the keyboard 1 and are displayed on the CRT.
表示単位a2の「同一なる文字を削除する場合について
説明すれば次のとおりである。キーボード1より削除機
能の実行をCPUに指示する。これによりCPUはプロ
グラムメモリ5に用意されている削除に関するプログラ
ムを実行する。削除は第4図に示すようなフローに従っ
て実行される。すなわち、キーボード1の操作により削
除モードを指定し、削除モードに移った後CRT上のカ
ーソルを移動するなどして削除しようとする文字(ここ
では表示単位a2の「河」)位置を指示する。これによ
りテキストのポインタ(文字コードの格納されている位
置)が指示される。■ この位置よりテキストのポイン
タを1つ進める。The case of deleting "identical characters" in the display unit a2 is as follows.The keyboard 1 instructs the CPU to execute the deletion function.The CPU then executes the deletion-related program prepared in the program memory 5. The deletion is executed according to the flow shown in Figure 4.In other words, specify the deletion mode by operating the keyboard 1, and after moving to the deletion mode, delete by moving the cursor on the CRT. Indicates the position of the character (in this case, "kawa" in display unit a2). This indicates the text pointer (the location where the character code is stored). ■ Advance the text pointer one position from this position.
■ 進んだ位置がテキストの終りか否かをチェックし、
終りのときは削除動作を無条件に終了し、テキストの終
りでないときはその位置が図表内かどうかをチェックす
る。■ Check whether the advanced position is the end of the text,
If it is the end, the deletion operation is terminated unconditionally, and if it is not the end of the text, it is checked whether the position is within the diagram.
■ 図表内でない場合は、テキストデータを1つ前へず
らし、その後■に復帰する。■ If it is not within the chart, shift the text data forward one position and then return to ■.
■ 図表内の場合は、図表の終りより1つ後のデータを
図表の始まりより1つ前に書込み、その後■へ復帰する
。■ If it is within a chart, write the data one after the end of the chart one data before the start of the chart, and then return to ■.
■ないし■の動作の繰返しがテキストの終りまで繰返し
実行される。The operations from ■ to ■ are repeated until the end of the text.
これにより前述したように、図表の位置はずらごなし、
で、第1図cのようにもの文字のみ削除しその文字以降
の文字を順次操上げることができる。文字を挿入する場
合は、削除の場合と同様な動作により挿入モードを指定
し、挿入文字位置を指定する。As mentioned above, this will cause the position of the chart to shift,
Then, as shown in Figure 1c, it is possible to delete just a character and then move up the characters after that character. When inserting a character, specify the insertion mode and specify the insertion character position using the same operations as when deleting.
CP山ま第5図に示すようなフローの挿入プログラムを
実行する。すなわち、■ この位置よりテキストのポィ
ンタを1つ進める。CP Yama executes the insertion program with the flow shown in FIG. That is, ■ Advance the text pointer by one position from this position.
■ 進んだ位置がテキストの終りか否かをチェックし、
終りのときは挿入動作を無条件に終了し、テキストの終
りでないときはその位置が図表内かどうかをチェックす
る。■ Check whether the advanced position is the end of the text,
If it is the end, the insertion operation is ended unconditionally, and if it is not the end of the text, it is checked whether the position is within the diagram.
■図表内でない場合は、テキストデータを1つ後へずら
し、その後■に復帰する。■If it is not within the diagram, shift the text data one position later, and then return to ■.
■ 図表内の場合は、図表の始まりより1つ前のデータ
を図表の終りより1つ後に書込み、その後■へ復帰する
。■ If it is within a chart, write the data one before the start of the chart one data after the end of the chart, and then return to ■.
■ないし■の動作の繰返しがテキストの終りまで繰返し
実行される。The operations from ■ to ■ are repeated until the end of the text.
これにより前述したように、図表の位置はずらさないで
、例えば第2図cのように平の位置に新たな文字を挿入
することができる。As a result, as described above, new characters can be inserted in the horizontal position, for example, as shown in Figure 2c, without shifting the position of the chart.
以上、詳細に説明したように、本発明によれば文字の削
除及び追加をしても図表データの内容に影響を及ぼさな
い、図表データの保護方法を実現することができる。As described in detail above, according to the present invention, it is possible to realize a method for protecting chart data in which the content of chart data is not affected even when characters are deleted or added.
第1図は、文字の削除法を示す図、第2図は文字の追加
法を示す図、第3図は本発明の方法を実施するためのワ
ードプロセッサの一実施例を示す構成図、第4図および
第5図は動作のフローを示す図である。
a,〜a位, d,〜d,2…表示単位、1…キーボ−
ド、2,9…インターフエイス、3…バス、4…CPU
、5・・・プログラムメモリ、6・・・テーブルメモリ
、7…リフレツシユメモリ、8…キヤラクタジエネレー
夕、10一CRT。
第1図
第1図
第2図
第3図
第4図
第5図1 is a diagram showing a method for deleting characters, FIG. 2 is a diagram showing a method for adding characters, FIG. 3 is a block diagram showing an embodiment of a word processor for implementing the method of the present invention, and FIG. 4 is a diagram showing a method for adding characters. FIG. 5 and FIG. 5 are diagrams showing the flow of operation. a, ~a position, d, ~d, 2...display unit, 1...keyboard
2, 9...interface, 3...bus, 4...CPU
, 5... program memory, 6... table memory, 7... refresh memory, 8... character generator, 101 CRT. Figure 1 Figure 1 Figure 2 Figure 3 Figure 4 Figure 5
Claims (1)
に対応した表示用メモリをもつワードプロセツサにおい
て、文字パターンの他に表たはグラフ等を構成するに必
要な幾つかの基本パターンを持ちコード指定で所定のパ
ターンを出力することができるように構成されたキヤラ
クタジエネレータと、削除や挿入機能を有するプログラ
ムが格納されたプログラムメモリと、作成された文書を
格納するためのテーブルメモリを具備し、文字と図表の
混在した文書を作成することができ、そのような文書に
対して、(イ) 文字を削除するときは、当該文字を削
除して当該文字以降の文字を1つずつ前に移動させると
共に、その移動の際図表の最後尾から1番目の位置にあ
る文字データは図表の最前部の1つ前の位置に飛越し移
動させ、(ロ) 文字を挿入するときは、当該文字以降
を1つずつ後ろに移動させると共に、その移動の際図表
の最前部の1つ前の位置にある文字データは図表の最後
尾から1番目の位置に飛越し移動させる、ようにして図
表の位置は変えないで文字のみ削除ないし挿入に関連し
て移動を行うようにしたことを特徴とする図表データの
保護方法。1 One-on-one with characters/symbols or drawing patterns on CRT
In addition to character patterns, word processors that have display memory compatible with It is equipped with a structured character generator, a program memory in which a program with deletion and insertion functions is stored, and a table memory for storing created documents, and can create documents containing a mixture of text and figures. (b) When deleting a character, delete the character and move the characters after that character forward one by one, and when moving, move the characters from the end of the diagram to the front. The character data in the first position is moved to the previous position at the front of the diagram. When moving, the character data in the previous position at the front of the diagram is skipped and moved to the first position from the end of the diagram, so that only the characters are deleted or inserted without changing the position of the diagram. A method for protecting chart data, characterized in that the chart data is moved by
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55115742A JPS6026235B2 (en) | 1980-08-21 | 1980-08-21 | How to protect diagram data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55115742A JPS6026235B2 (en) | 1980-08-21 | 1980-08-21 | How to protect diagram data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5740288A JPS5740288A (en) | 1982-03-05 |
| JPS6026235B2 true JPS6026235B2 (en) | 1985-06-22 |
Family
ID=14669933
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55115742A Expired JPS6026235B2 (en) | 1980-08-21 | 1980-08-21 | How to protect diagram data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6026235B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61291729A (en) * | 1985-06-19 | 1986-12-22 | Honda Motor Co Ltd | 2-step type supercharging device |
| JPS63129124A (en) * | 1986-11-19 | 1988-06-01 | Honda Motor Co Ltd | Two-stage supercharging device |
| JPS6435024A (en) * | 1987-07-30 | 1989-02-06 | Mazda Motor | Supercharger of engine |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS57178539A (en) * | 1981-04-28 | 1982-11-02 | Casio Comput Co Ltd | Data position fixing system |
| JPS62118381A (en) * | 1985-11-19 | 1987-05-29 | カシオ計算機株式会社 | document editing device |
| JP2834882B2 (en) * | 1990-10-25 | 1998-12-14 | 三洋電機株式会社 | Document creation device |
-
1980
- 1980-08-21 JP JP55115742A patent/JPS6026235B2/en not_active Expired
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61291729A (en) * | 1985-06-19 | 1986-12-22 | Honda Motor Co Ltd | 2-step type supercharging device |
| JPS63129124A (en) * | 1986-11-19 | 1988-06-01 | Honda Motor Co Ltd | Two-stage supercharging device |
| JPS6435024A (en) * | 1987-07-30 | 1989-02-06 | Mazda Motor | Supercharger of engine |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5740288A (en) | 1982-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0541997B2 (en) | ||
| US4663736A (en) | File deletion system in a file unit | |
| JPS6026235B2 (en) | How to protect diagram data | |
| JPH069045B2 (en) | Word processor | |
| JPS60241156A (en) | Word processor | |
| JPS6318780B2 (en) | ||
| JPS597992A (en) | Display display method using multi-window screen | |
| JP2561000B2 (en) | String output method | |
| JPH0325235Y2 (en) | ||
| JPH077404B2 (en) | Document processor | |
| Jacobs et al. | Tiler user's guide | |
| JPH0666065B2 (en) | Document processor with furigana addition function | |
| JP2921975B2 (en) | Handwritten document creation device | |
| Stallman | RFC0746: SUPDUP graphics extension | |
| JPH04282755A (en) | Word processor | |
| JPS63150726A (en) | Display screen controller | |
| Stallman | SUPDUP graphics extension | |
| JPH0448372A (en) | Japanese language input system by roman letter 1 kana conversion | |
| JPS6135558B2 (en) | ||
| JPH04268956A (en) | Document preparing device | |
| JPH061469B2 (en) | Word processor | |
| JPS61228576A (en) | catalog design system | |
| JPH04188268A (en) | Document processor | |
| JPH04337861A (en) | Document generation device | |
| JPH06236369A (en) | Word processor and replacing method for page |