JPH01124057A - Method for storing ruled line picture - Google Patents

Method for storing ruled line picture

Info

Publication number
JPH01124057A
JPH01124057A JP62282615A JP28261587A JPH01124057A JP H01124057 A JPH01124057 A JP H01124057A JP 62282615 A JP62282615 A JP 62282615A JP 28261587 A JP28261587 A JP 28261587A JP H01124057 A JPH01124057 A JP H01124057A
Authority
JP
Japan
Prior art keywords
ruled line
screen
code
line screen
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.)
Pending
Application number
JP62282615A
Other languages
Japanese (ja)
Inventor
Katsuaki Kobayashi
勝昭 小林
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62282615A priority Critical patent/JPH01124057A/en
Publication of JPH01124057A publication Critical patent/JPH01124057A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To reduce storage capacity by storing ruled line sequence data as the format of abbreviated codes. CONSTITUTION:When the kinds of patterns used in a ruled line picture is small, an abbreviated code is used instead of a hexadecimal two-digit code. For instance, the ruled line picture is decomposed into vertical ruled lines and horizontal ruled lines, the existence and inexistence of vertical ruled line character H are respectively expressed by abbreviated codes '1' and '0' and the existence and inexistence of a horizontal ruled line character B are respectively expressed by abbreviated codes '1' and '0', so that arrays shown in Fig.(c) and (d). In reading out the four bits in horizontal direction with a hexadecimal code, the abbreviated code sequence can be obtained as shown Fig(e). Consequently, a simple ruled line picture can be stored in the storage area of small capacity.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は罫線画面の記憶方法に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to a method for storing a ruled line screen.

[従来の技術] 罫線画面の作成とその記憶方法には色々な方法があるが
、この発明で問題とする罫線画面の作成記憶の方法は、
罫線キャラクタを使用する方法に限定する。
[Prior Art] There are various methods for creating and storing a ruled line screen, but the method for creating and storing a ruled line screen that is the subject of this invention is as follows.
Limit the method to using ruled line characters.

第5図は罫線キャラクタとこれに対応する罫線パターン
の一部を示す図であって、キー欄にはキーボード上のキ
ャラクタキーの種類、16進欄にはこのキーによって入
力される16進2桁のディジタル符号、パターン欄には
この16進2桁のテ゛イリタル符号が罫線パターンを表
すものであることが判っている場合のディジタル符号に
対応する罫線パターンを示す。罫線パターンに対応する
キーに表示されている文字とこのキーによって入力され
る符号を共に罫線キャラクタと言う。
FIG. 5 is a diagram showing a part of a ruled line character and a corresponding ruled line pattern, in which the key field shows the type of character key on the keyboard, and the hexadecimal field shows the two hexadecimal digits input by this key. The digital code and pattern column shows the ruled line pattern corresponding to the digital code when this two-digit hexadecimal code is known to represent a ruled line pattern. The character displayed on the key corresponding to the ruled line pattern and the code input by this key are both called a ruled line character.

罫線画面を表示する表示装置の表示画面は、たとえば、
24行80夕iの単位区画に分割されており、表示画面
上所望の区画へカーソルを移動してキーボードからキャ
ラクタキーを操作して入力を行えば表示画面上の当該単
位区画に罫線パターンが表示され、同時に当該単位区画
の位置を示すアドレスにそのパターンに対応する16進
2桁のディジタル符号が記憶される。
The display screen of a display device that displays a ruled line screen is, for example,
It is divided into unit sections of 24 rows and 80 units, and if you move the cursor to the desired section on the display screen and input by operating the character keys on the keyboard, a ruled line pattern will be displayed in the unit section on the display screen. At the same time, a two-digit hexadecimal code corresponding to the pattern is stored at the address indicating the position of the unit section.

罫線画面の作成は、作成者と計算機との間の対話形式で
行われ、計算機の動作は予め計算機に格納されているプ
ログラムによって制御され、作成者の作業はどのプログ
ラムを起動するがをファンクションキーで入力し、プロ
グラムの実行に必要なデータをキャラクタキーから入力
することである。
Creation of a ruled line screen is done in an interactive manner between the creator and the calculator, and the operation of the calculator is controlled by a program stored in the calculator in advance, and the creator's work is to select which program to start by pressing a function key. , and input the data necessary to run the program using the character keys.

第6図、第7図は従来の方法を示すフローチャートで、
(61)〜(70)及び(71)〜(73)は各ステッ
プを示す。ステップ(62)、(64)、(65)、(
66)、(68)の各ステップでは計算機から作成者に
質問を出しく画面に表示し)作成者の指示に従ってそれ
ぞれのプログラムを実行する。
Figures 6 and 7 are flowcharts showing the conventional method.
(61) to (70) and (71) to (73) indicate each step. Steps (62), (64), (65), (
In steps 66) and (68), the computer displays questions to the creator on a screen) and executes each program according to the creator's instructions.

罫線画面の作成、変更(63)だけでなく、移動、複写
(67)及び検査(6つ)を実行するプログラムをも備
えている。第8図は移動の場合の表示画面上の表示を示
し、第8図(’a >の罫線画面でS−Eの罫線をSを
Mまで移動するとき、作成者はファンクションキーによ
り移動のプログラムを呼び出してS、E、Mをそれぞれ
の位置に入力すると、計算機が必要な処理を行って第8
図(b)の罫線画面を表示する。
It is equipped with programs for not only creating and changing ruled line screens (63), but also moving, copying (67), and inspecting (6). Figure 8 shows the display on the display screen in the case of movement. When you call up and enter S, E, and M in their respective positions, the calculator performs the necessary processing and returns number 8.
The ruled line screen shown in Figure (b) is displayed.

罫線画面の記録(70)のステップでは単位区画のアド
レスに対応するアドレス位置に第5図のパターンに対応
する16進2桁の符号が記録され補助記憶装置(たとえ
ばフロッピディスク)に格納される。
In the step of recording the ruled line screen (70), a two-digit hexadecimal code corresponding to the pattern shown in FIG. 5 is recorded at the address position corresponding to the address of the unit section and stored in an auxiliary storage device (for example, a floppy disk).

罫線画面の登録番号を指定して表示画面に表示させると
きは、ステップ(73)でフロッピディスクから読み出
した16進2桁のディジタル符号の列(これを罫線シー
ケンスデータという)を罫線パターンに変換して表示画
面に表示する。
When specifying a registration number for a ruled line screen and displaying it on the display screen, convert the string of two-digit hexadecimal digital codes read from the floppy disk in step (73) (this is called ruled line sequence data) into a ruled line pattern. displayed on the display screen.

[発明が解決しようとする問題点1 以上述べたように従来の方法では、単位区画の罫線パタ
ーンを記憶するのに16進2桁のディジタル符号を必要
とし、比較的簡単な罫線画面の記憶に割合大きな容量の
記憶領域を必要とするという問題点があった。
[Problem to be Solved by the Invention 1] As mentioned above, in the conventional method, a 2-digit hexadecimal digital code is required to store the ruled line pattern of a unit area, and it is difficult to store a relatively simple ruled line screen. There was a problem that a relatively large capacity storage area was required.

この発明は従来のものにおける上述の問題点を解決する
ためになされたもので、簡単な罫線画面の記憶は小容量
の記憶領域に記憶できるようにした。
This invention was made to solve the above-mentioned problems in the conventional apparatus, and it is possible to store a simple ruled line screen in a small storage area.

[問題点を解決するための手段] この発明では、一つの罫線画面内で使われているパター
ンの種類が小数であるときは、16進2桁の符号を用い
るかわりに短縮コードを用いることにした。
[Means for solving the problem] In this invention, when the type of pattern used in one ruled line screen is a decimal number, an abbreviated code is used instead of using a 2-digit hexadecimal code. did.

[作用] 2種類のパターンだけで構成されている罫線画面では、
この2種類のパターンを1ビツトの短縮コードのrQ」
、rl、で表すことが出来る。
[Effect] On a ruled line screen that consists of only two types of patterns,
These two types of patterns are 1-bit shortened code rQ.
, rl.

[実施例コ 以下図面についてこの発明の詳細な説明する。[Example code] The present invention will be described in detail below with reference to the drawings.

第3図はこの発明の詳細な説明する図で、(イ)に示す
罫線画面は(ロ)に示す罫線キャラクタの配列(罫線シ
ーケンスデータ)によって記憶されるが、罫線キャラク
タの種類はAと@の2種類だけであり、Aを「1」、@
を[Ojとする1ビツトで表しても混同が起こらない。
FIG. 3 is a diagram illustrating the invention in detail. The ruled line screen shown in (a) is stored by the arrangement of ruled line characters (ruled line sequence data) shown in (b), and the types of ruled line characters are A and @. There are only two types, A is "1", @
Even if it is expressed by one bit as [Oj, confusion will not occur.

ただ「1」はAで「0」は@であるという対応表を記憶
しておけば、容易にもとの罫線キャラクタに変換するこ
とが出来る。このような短縮コードを使えば第3図に示
す例では符号の長さを1/8に圧縮することが出来る。
However, if you memorize the correspondence table in which "1" is A and "0" is @, you can easily convert it to the original ruled line character. If such a shortened code is used, the length of the code can be compressed to ⅛ in the example shown in FIG.

罫線画面に含まれている罫線キャラクタの種類が4種類
の場合は2ビツトの短縮コードで混同を生じない。
If there are four types of ruled line characters included in the ruled line screen, confusion will not occur with the 2-bit abbreviation code.

第4図はこの発明の他の実施例を説明する図で、(a)
は罫線画面、(b)はこの罫線画面に存在する罫線キャ
ラクタの種類、(C)、(d)はそれぞれ縦罫線と横罫
線に分解して、B、Hをそれぞれ「1」、ブランク(@
)を「0」で表した結果、(e)は短縮コードを示す。
FIG. 4 is a diagram illustrating another embodiment of the present invention, (a)
is a ruled line screen, (b) is the type of ruled line character that exists on this ruled line screen, (C) and (d) are separated into vertical ruled lines and horizontal ruled lines, respectively, and B and H are set to "1" and blank (@
) is represented by "0", and (e) indicates a shortened code.

第4図に示す罫線画面では、縦罫線と横罫線とに分解し
て考え、縦罫線では罫線キャラクタHの存在を「1」不
存在を「0」、横罫線では罫線キャラクタBの存在を「
1」不存在を「0」の短縮コードで表せば第4図(C)
、(d)の配列となり、横方向の4ビツトを16進で読
めば第4図(e)に示す短縮コードシーケンスが得られ
る。
The ruled line screen shown in Fig. 4 is divided into vertical ruled lines and horizontal ruled lines. For vertical ruled lines, the presence of ruled line character H is set to "1", and its absence is set to "0", and for horizontal ruled lines, the presence of ruled line character B is set to "0".
If the absence of ``1'' is represented by the abbreviated code ``0'', it is shown in Figure 4 (C).
, (d), and by reading the 4 horizontal bits in hexadecimal, the shortened code sequence shown in FIG. 4(e) is obtained.

第8図に示す罫線画面も第4図同様、縦罫線と横罫線に
分解して第4図と同様な短縮コードを作成できることは
明らかであり、このようにして、実用されている多くの
罫線画面を短縮コードによって記憶することが出来る。
It is clear that the ruled line screen shown in Figure 8 can be broken down into vertical ruled lines and horizontal ruled lines to create a shortened code similar to that shown in Figure 4, as in Figure 4. Screens can be memorized using abbreviated codes.

第1図及び第2図はこの発明の方法を示すフローチャー
トで、(11)〜(14)、(21)。
FIGS. 1 and 2 are flowcharts showing the method of the present invention, including (11) to (14) and (21).

(22)はそれぞれのステップを表す。ステップ(11
)〜(14)は第6図のステップ(70)に入り、ステ
ップ(21)、(22)は第7図のステップ(73)に
入る。すなわち、フロッピディスク等へ格納するに際し
て短縮コードに変換しておき、表示に際して罫線キャラ
クタに変換して該当するパターンを読み出す。
(22) represents each step. Step (11
) to (14) enter step (70) in FIG. 6, and steps (21) and (22) enter step (73) in FIG. That is, when storing on a floppy disk or the like, it is converted into an abbreviated code, and when displayed, it is converted into ruled line characters and the corresponding pattern is read out.

[発明の効果] 以上のようにこの発明によれば、罫線シーケンスデータ
を短縮コードの形で記憶するので、記憶容量を小さくす
ることが出来−るという効果がある。
[Effects of the Invention] As described above, according to the present invention, since the ruled line sequence data is stored in the form of a shortened code, there is an effect that the storage capacity can be reduced.

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

第1図、第′2図はこの発明の一実施例を示すフローチ
ャート、第3図、第4図はこの発明の詳細な説明する説
明図、第5図は罫線キャラクタとそのパターンとの対応
を示す図、第6図、第7図は従来の方法を示すフローチ
ャート、第8図は第6図のフローチャート内の一動作を
示す表示画面図。 (13)は短縮コードのシーケンスに変換するステップ
、(21)は罫線シーケンスデータに変換するステップ
Figures 1 and 2 are flowcharts showing an embodiment of the invention, Figures 3 and 4 are explanatory diagrams explaining the invention in detail, and Figure 5 shows the correspondence between ruled line characters and their patterns. 6 and 7 are flowcharts showing the conventional method, and FIG. 8 is a display screen diagram showing one operation in the flowchart of FIG. 6. (13) is a step of converting into a shortened code sequence, and (21) is a step of converting into ruled line sequence data.

Claims (2)

【特許請求の範囲】[Claims] (1)表示画面上単位区画内の罫線の形状に対応する罫
線キャラクタがそれぞれ定められていて、上記表示画面
上のカーソルの位置によって単位区画の位置を指定し、
キーボードのファンクションキーとキャラクタキーを使
用して罫線キャラクタのシーケンスで構成される罫線シ
ーケンスデータとこの罫線の属性を表す符号を入力し、
罫線作成者と計算機との対話型入力により罫線画面を作
成し、この作成した罫線画面を必要に応じて再表示でき
るように記憶する罫線画面の記憶方法において、 作成して検査を終了し画面上の表示によって罫線作成者
の確認を経た罫線画面について、当該画面の全域または
一部分の領域に含まれる罫線キャラクタの種類を調査す
る段階、 上記罫線キャラクタの種類数に応じ、それぞれの罫線キ
ャラクタに対応する短縮コードを決定する段階、 罫線画面の全域または上記一部分の領域について罫線キ
ャラクタのシーケンスである罫線シーケンスデータを短
縮コードのシーケンスに変換する段階、 上記罫線キャラクタと短縮コードの対応表と共に上記短
縮コードのシーケンスを罫線画面として登録番号を付し
て記憶する段階、 登録番号を指定して罫線画面の記憶を読み出す段階、 罫線画面に記憶されている短縮コードを罫線キャラクタ
と短縮コードとの対応表に従って罫線シーケンスデータ
に復元した上で罫線画面として表示する段階、 を備えたことを特徴とする罫線画面の記憶方法。
(1) Ruled line characters corresponding to the shapes of ruled lines within the unit section on the display screen are respectively determined, and the position of the unit section is specified by the position of the cursor on the display screen,
Use the function keys and character keys on your keyboard to enter the border sequence data consisting of a sequence of border characters and the code representing the attributes of this border.
A ruled line screen storage method in which a ruled line screen is created through interactive input between a ruled line creator and a computer, and the created ruled line screen is stored so that it can be redisplayed as necessary. A step of investigating the types of ruled line characters included in the entire area or a part of the screen for the ruled line screen that has been confirmed by the ruled line creator by displaying the screen, and corresponding to each ruled line character according to the number of types of ruled line characters. a step of determining a shortened code; a step of converting the ruled line sequence data, which is a sequence of ruled line characters, into a shortened code sequence for the entire area of the ruled line screen or the above-mentioned partial area; A step of storing the sequence as a ruled line screen with a registration number attached to it, a step of specifying the registration number and reading out the memory of the ruled line screen, and a step of reading out the memory of the ruled line screen by specifying the registration number. A method for storing a ruled line screen, comprising the steps of: restoring it to sequence data and displaying it as a ruled line screen.
(2)罫線シーケンスデータを短縮コードのシーケンス
に変換する段階は、 罫線キャラクタが横方向の罫線部分に対応する一種類の
罫線キャラクタと、縦方向の罫線部分に対応する一種類
の罫線キャラクタとによって構成されるときは、 罫線画面を横方向の罫線画面と縦方向の罫線画面に分解
し、この分解した各罫線画面について罫線キャラクタの
存在を「1」の短縮コード、ブランクの単位区画を「0
」の短縮コードにそれぞれ変換することを特徴とする特
許請求の範囲第1項記載の罫線画面の記憶方法。
(2) In the step of converting the ruled line sequence data into a sequence of shortened codes, the ruled line character is converted into one type of ruled line character corresponding to the horizontal ruled line part and one type of ruled line character corresponding to the vertical ruled line part. When configuring, the ruled line screen is decomposed into a horizontal ruled line screen and a vertical ruled line screen, and for each divided ruled line screen, the presence of a ruled line character is indicated by a short code of "1", and the blank unit section is assigned a "0" code.
2. A method for storing a ruled line screen according to claim 1, wherein each of the ruled line screens is converted into an abbreviated code.
JP62282615A 1987-11-09 1987-11-09 Method for storing ruled line picture Pending JPH01124057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62282615A JPH01124057A (en) 1987-11-09 1987-11-09 Method for storing ruled line picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62282615A JPH01124057A (en) 1987-11-09 1987-11-09 Method for storing ruled line picture

Publications (1)

Publication Number Publication Date
JPH01124057A true JPH01124057A (en) 1989-05-16

Family

ID=17654826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62282615A Pending JPH01124057A (en) 1987-11-09 1987-11-09 Method for storing ruled line picture

Country Status (1)

Country Link
JP (1) JPH01124057A (en)

Similar Documents

Publication Publication Date Title
JPH01124057A (en) Method for storing ruled line picture
JPS644189B2 (en)
JPH0253817B2 (en)
JPS6362005B2 (en)
JPH0247779B2 (en)
JP2585311B2 (en) How to create a program
JPS60118885A (en) Word processor
JP2598436B2 (en) Character output device
JPS6330931A (en) Document format stipulating system
JPH0565878B2 (en)
JP3162095B2 (en) Image display control device
JP2972916B2 (en) Document editing device with ruled line output function
JPS6132676B2 (en)
JPH0253818B2 (en)
JPS62254263A (en) Table preparation system
JPS63201820A (en) Picture layout setting system for interactive computer system
JPS5887586A (en) Character display
JPS62986A (en) Document processor
JPH02204825A (en) Character pattern forming system
JPS61186994A (en) Document generator
JPS61153775A (en) Displaying device
JPH096899A (en) Processor and method for image processing
JPS6017484A (en) Display
JPS5870349A (en) Frame producing system for table of word processor
JPH024026A (en) Document processing device