JPS636657A - Ruled line creation device - Google Patents
Ruled line creation deviceInfo
- Publication number
- JPS636657A JPS636657A JP61149803A JP14980386A JPS636657A JP S636657 A JPS636657 A JP S636657A JP 61149803 A JP61149803 A JP 61149803A JP 14980386 A JP14980386 A JP 14980386A JP S636657 A JPS636657 A JP S636657A
- Authority
- JP
- Japan
- Prior art keywords
- ruled line
- pattern
- ruled
- code
- user
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、所望の線種による罫線を引いて表などを作成
するための罫線作成装置に関し、ワードプロセッサ等の
文書作成tataを有する情報処理装置に利用されるも
のである。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a ruled line creation device for creating a table or the like by drawing ruled lines of a desired line type, and relates to an information processing device having a document creation device such as a word processor. It is used for.
[発明のJ!E要]
本発明は罫線作成装置に関するもので、ユーザの所望の
線種を例えば1つ設定し登録すれば罫線作成に必要な各
罫線パターンを前記線種に基づいて加工作成することに
より前記ユーザの所望の線種による前記各罫線パターン
が生成されるので前記ユーザ所望の線種による罫線作成
が容易に且つスピーデイに行なえ、また各線種ごとに罫
線パターンを記憶しておく必要がなくなり記憶容量を簡
約できるようにしたものである。[J of invention! [Required] The present invention relates to a ruled line creation device, in which once a user sets and registers one desired line type, the user can process and create each ruled line pattern necessary for creating ruled lines based on the line type. Since each ruled line pattern is generated using the desired line type, the user can easily and quickly create ruled lines using the desired line type, and there is no need to store ruled line patterns for each line type, which saves storage capacity. It is designed to be simplified.
[従来の技術]
文書中で各種の表を作成したり、線を引く場合に使用さ
れる罫線は、−般に、罫線自体が1つの文字として処理
されており、従来のワードプロセッサ等においては、予
め所定の線種に対応する6種の罫線作成に必要な罫線パ
ターンが登録されている。[Prior Art] Ruled lines used to create various tables or draw lines in a document are generally processed as one character, and in conventional word processors, etc. Six types of ruled line patterns necessary for creating ruled lines corresponding to predetermined line types are registered in advance.
[発明が解決しようとする問題点]
ところで、予め登録されている線種以外の線種による′
E線を引いて表などを作成したい場合があるが、従来技
術ではこれに対処することができなかった。また、上述
のように、罫線自体が1つの文字と見なされるため、外
字登Qafiを有するワードプロセッサ等においては、
使用者が任意の罫線パターンを外字として登録し、それ
を使用することにより任意の線種により表などを作成す
る際には、1つの線種に対応する各種の罫線作成に必要
な罫線パターン、例えば「形罫線パターン、L形罫線パ
ターン、T形罫線パターン等をそれぞれ個別に登録する
必要があり、新規の罫線パターンの登録が面倒であった
。[Problems to be solved by the invention] By the way, when line types other than pre-registered line types are used,
There are cases where it is desired to draw an E line to create a table, etc., but the conventional technology has not been able to deal with this. In addition, as mentioned above, since the ruled line itself is considered as one character, in word processors etc. that have external character registration Qafi,
When a user registers an arbitrary ruled line pattern as a custom character and uses it to create a table or the like using an arbitrary line type, the ruled line pattern required to create various ruled lines corresponding to one line type, For example, it was necessary to register each of the shaped ruled line patterns, L-shaped ruled line patterns, T-shaped ruled line patterns, etc. individually, and it was troublesome to register new ruled line patterns.
本発明は、上述のような事情のもとに成されたもので、
その目的とするところは、メーカーで予め登録されてい
る線種以外の線種による罫線で容易に表などを作成でき
るとともに記憶容量をも節約できる罫線作成装置を提供
することにある。The present invention was made under the above circumstances, and
The purpose is to provide a ruled line creation device that can easily create tables, etc. using ruled lines of line types other than those registered in advance by the manufacturer, and can also save storage capacity.
[問題点を解決するための手段]
第1図は木発【!1のW成を示す機能ブロック図であり
、Aはユーザが所望する線種を設定し登録する線種設定
登録手段であり、Bは罫線作成に必要な各罫線パターン
を例えば前記線種に基づいて加工作Jji、等すること
で前記ユーザの所望する線種による前記罫線作成に必要
な各1線パターンを生成する″J4線パターン生成手段
である。[Means to solve the problem] Figure 1 shows the tree [! FIG. 1 is a functional block diagram showing the W configuration of No. 1, in which A is a line type setting registration means for setting and registering a line type desired by the user, and B is a line type setting registration means for setting and registering a line type desired by the user, and B is a function block diagram for setting and registering each ruled line pattern necessary for creating ruled lines, for example, based on the line type. This is a "J4 line pattern generation means" that generates each one-line pattern necessary for creating the ruled line according to the line type desired by the user by performing processing operations Jji, etc.
[作 用]
本発明の作用について説明すると、線M設定登録手段A
によって、例えば波線や破線などのユーザの所望する線
種が例えば外字作成のようにあるいは線種メニューを選
択する等して設定登録されると、゛罫線パターン生成手
段Bは「形やL形や丁形などの罫線作成に必要な各罫線
パターンを前記線種に基づいて加工作成することによっ
て前記ユーザの所望する線種による各罫線パターンを生
成する。[Function] To explain the function of the present invention, the line M setting registration means A
When the line type desired by the user, such as a wavy line or a broken line, is set and registered by, for example, creating external characters or selecting the line type menu, the ``ruled line pattern generation means B'' By processing and creating each ruled line pattern necessary for creating a ruled line such as a T-shape based on the line type, each ruled line pattern according to the line type desired by the user is generated.
[実施例]
以下、本発明の一実施例を図面に基づいて詳細に説明す
る。[Example] Hereinafter, an example of the present invention will be described in detail based on the drawings.
萩−虞
第2図は本発明の一実施例による罫線作成装置の構成図
であり1本実施例はワードプロセッサに適用した例であ
る。FIG. 2 is a block diagram of a ruled line creation device according to an embodiment of the present invention, and this embodiment is an example applied to a word processor.
入力部lは所定の情報に対応づけられたキースイッチを
備え、具体的には1M罫線−ドを設定するための罫線キ
ーIA、各種の機ILを選択するためのJa flキー
IB、1個のキーに複数の情報が対応づけられていると
き、その中からいずれか1つを選択するためのシフトキ
ーIC1表示画面上のカーソルをそれぞれ左、右、上、
下方向に移動させるための左カーソルキーlL、右カー
ソルキーIR1上カーソルキーIU、下カーソルキーl
D 数値情報を入力するための置数キーIN、 メニュ
ーの中から1つを選択して実行するための実行キーIE
、既人力情報の有効性を解除するための解除キーIF、
次の選択候補を表示させるための次蚊補キーIG等を有
している。CPU(中央演算処理装置)2は、入力部l
から入力された各種の情報を所定のプログラムに従って
処理し、本装置全体の動作を制御する0M線登録部3は
、入力部1の操作により、登録番号を指定して、使用者
の所望する線種にて罫線パターンのパターン情報が入力
されたとき、そのパターン情報を解読してユーザ罫線パ
ターンメモリ4の登録番号に対応する領域に登録する。The input unit l is equipped with key switches associated with predetermined information, specifically one ruled line key IA for setting a 1M ruled line code, and one Ja fl key IB for selecting various machine ILs. When multiple pieces of information are associated with a key, shift key is used to select one of them. Move the cursor on the IC1 display screen to the left, right, top, or
Left cursor key lL, right cursor key IR1, up cursor key IU, down cursor key l for moving downward
D Numerical key IN for inputting numerical information, Execution key IE for selecting and executing one item from the menu
, a release key IF for canceling the validity of existing human power information;
It has a next key IG for displaying the next selection candidate. The CPU (central processing unit) 2 has an input section l.
The 0M line registration unit 3 processes various information input from the input unit according to a predetermined program and controls the operation of the entire device. When pattern information of a ruled line pattern is input in the seed, the pattern information is decoded and registered in the area corresponding to the registration number of the user ruled line pattern memory 4.
このユーザ罫線パターンメモリ4の領域は、1個のキャ
ラクタデータを構成する所定のドツト数を単位として区
分されている。The area of the user ruled line pattern memory 4 is divided into units of a predetermined number of dots constituting one character data.
罫線コードメモリ5は、各種の罫線作成に必要な罫線パ
ターンに対応する罫線コードを、ユーザ罫線パターンメ
モリ4の各領域対応に記憶している。ここで言う罫線作
成に必要な罫線パターンとは、パターン自体のことであ
り、線種を考慮したものではない、罫線作成に必要な罫
線パターンの種類としては“−”、“ 1 ”、“「”
。The ruled line code memory 5 stores ruled line codes corresponding to ruled line patterns necessary for creating various ruled lines, corresponding to each area of the user ruled line pattern memory 4. The ruled line pattern necessary for creating ruled lines here refers to the pattern itself, and does not take into account the line type.The types of ruled line patterns necessary for creating ruled lines include "-", "1", and "". ”
.
“ ]” 、 ” L ” 、 “ 」 ” 、 “
T” 、“土”、”ド、′」”、“十”があり2これら
に対してはそれぞれ16aaのコード″oo”、“01
″、 °402″、 ”03″、 “04″′、“05
″”、 ”06”、 “07”、”08−1“09”
、“OA”が割当てられている。そして、さらに、これ
ら各コードに対してそれぞれユーザ罫線パターンメモリ
4の領域対応の識別情報が上位バイトとして付されて罫
線コードが形成されている。この識別情報は、具体的に
は上記登録番号で示され、この登録番号に対しても16
進数のコードが割当てられている0例えば、登録番号“
1″、“2″、“3”、4”、・・・・・・に対して、
それぞれ1′O1″、′02″、”03″、04″、・
・・・・・が割ちてられている。したがって、例えばユ
ーザ罫線パターンメモリ4の登録番号“2”に対応する
領域に登録されたユーザ罫線パターンを構成する線種対
応の罫線パターン“]”を示す罫線コードは、“020
3”となる、このように、罫線コードメモリ5は、ユー
ザ罫線パターンメモリ4の各領域対応にそれぞれ11種
類の罫線コード〜を記憶しており、そのコード総数は、
例えば、ユーザ罫線パターンメモリ4が4つの領域で構
成されているときは44個となる。“ ]”, “L”, “””, “
``T'', ``earth'', ``do,''''', and ``ten''2.For these, there are 16aa codes ``oo'' and ``01'' respectively.
", °402", "03", "04"', "05"
"", "06", "07", "08-1"09"
, "OA" is assigned. Further, identification information corresponding to the area of the user ruled line pattern memory 4 is attached to each of these codes as an upper byte to form a ruled line code. This identification information is specifically indicated by the above registration number, and this registration number is also 16
A hexadecimal code is assigned to 0, for example, the registration number “
For 1", "2", "3", 4",...
1'O1'', '02'', ``03'', 04'', respectively.
...is divided. Therefore, for example, the ruled line code indicating the ruled line pattern "]" corresponding to the line type constituting the user ruled line pattern registered in the area corresponding to the registration number "2" of the user ruled line pattern memory 4 is "020".
In this way, the ruled line code memory 5 stores 11 types of ruled line codes for each area of the user ruled line pattern memory 4, and the total number of codes is as follows.
For example, when the user ruled line pattern memory 4 is composed of four areas, there are 44 areas.
罫線コード割当部6は、ユーザ5I線パターンメモリ4
に登録されたユーザ罫線パターンが、登録番号により線
種状態として選択され1選択されたユーザ罫線パターン
の線種で罫線引きが行われた際、罫線引きの状態および
線種により対応するコードを自動的に割当て、その割当
結果を文書メモリ7に書込む0例えば、登録番号“2”
が指定されている状態で、文書メモリ7の未書込領域で
右方向の罫線引き信号の直後に下方向の罫線引き信号が
入力されたときは、罫線コード割当部6は、コード″0
203″を自動的に割当てる。The ruled line code assigning unit 6 includes the user 5I line pattern memory 4.
When a registered user ruled line pattern is selected as a line type status based on the registration number and a ruled line is drawn using the line type of the selected user ruled line pattern, the corresponding code is automatically generated depending on the ruled line drawing status and line type. For example, registration number “2”
is specified, and when a downward ruling signal is input immediately after a rightward ruling signal in an unwritten area of the document memory 7, the ruling line code assignment unit 6 assigns the code "0".
203″ will be automatically assigned.
文書メモリ7には、入力部lから入力された文書情報が
コード化されて記憶されており、その内容は、コード対
応のキャラクタデータがキャラクタジェネレータ8から
読み出されることにより表示部10、印字部11に表示
または印字される。The document memory 7 stores the document information input from the input section 1 in a coded manner, and the contents are stored in the display section 10 and the printing section 11 by reading character data corresponding to the code from the character generator 8. displayed or printed on.
また、文書メモリ7に書込まれたコードに対応するキャ
ラクタデータがキャラクタジェネレータ8に存在しない
場合、すなわち、ユーザが登録したユーザ罫線パターン
(基本パターン)、またはその変形パターン(基本パタ
ーンを形成する線種を用いた他の罫線作成に必要な罫線
パターン)を出力する場合には、罫線パターン生成部9
は、CPU2の制御のもとに、コードを形成する上位バ
イトのデータ、すなわち登録番号を指標としてユーザ罫
線パターンメモリ4からユーザ罫線パターンを取得する
。そして、罫線パターン生成部9は、コードを形成する
下位バイトのデータ、すなわち罫線作成に必要な罫線パ
ターンに応じて、ユーザ罫線パターンメモリ4から取得
したユーザ罫線パターンを変形させ、その変形パターン
をキャラクタデータとして出力する。Furthermore, if the character data corresponding to the code written in the document memory 7 does not exist in the character generator 8, that is, the user ruled line pattern (basic pattern) registered by the user or its modified pattern (the lines forming the basic pattern) When outputting a ruled line pattern (necessary for creating other ruled lines using seeds), the ruled line pattern generation unit 9
Under the control of the CPU 2, a user ruled line pattern is acquired from the user ruled line pattern memory 4 using the upper byte data forming the code, that is, the registration number, as an index. Then, the ruled line pattern generation unit 9 transforms the user ruled line pattern acquired from the user ruled line pattern memory 4 according to the lower byte data forming the code, that is, the ruled line pattern necessary for creating ruled lines, and converts the modified pattern into a character. Output as data.
表示部10、印字部11は、キャラクタジェネレータ8
または罫線パターン生成部9から出力されたキャラクタ
データに基づいてそれぞれビデオ信号、または印字信号
を発生させ、キャラクタデータの内容を表示または印字
する。The display section 10 and the printing section 11 are constructed by a character generator 8.
Alternatively, a video signal or a print signal is generated based on the character data output from the ruled line pattern generation section 9, and the content of the character data is displayed or printed.
動 作 次に、本実施例の動作を説明する。motion Next, the operation of this embodiment will be explained.
くユーザ罫線パターン登録〉
ユーザ罫線パターンを登録する際は、まず最初に、Ia
flキー1Bを押下した状態で罫線キーIAを押下する
。この操作により、表示部10の表示画面上には「罫線
パターン登録jと「″M罫線作成とがメニュー表示され
る。今は、ユーザM線パターン登録を意図しているので
、アンダーラインの付された「M線パターン登録」を選
択すべく、そのままの状態で実行キーIEを押下する。User ruled line pattern registration> When registering a user ruled line pattern, first
While pressing down the fl key 1B, press the ruled line key IA. By this operation, menus ``Register ruled line pattern j'' and ``Create ``M ruled line'' are displayed on the display screen of the display unit 10. Since the intention is now to register a user M-line pattern, the user presses the execution key IE in order to select the underlined "M-line pattern registration."
この操作により、CPU2は罫線パターン登録プログラ
ムに貰って入力部lからの入力情報を処理し、まず、登
録番号の候補群とユーザにより既に登録されたユーザπ
線パターンが有れば、そのパターンとを表示させる(第
3図ステップ331)、仮りに、今、登録番号“1”に
対しては既に“・・・・・・”というユーザ罫線パター
ンが登録されており、登録番号“2”に対しては未登録
であるとすれば、ユーザは211¥キーINの中の2キ
ーを押下して登録番号を選択する(ステップ532)、
そうすると、これ以後の入力部lの操作により登録され
るユーザ罫線パターンは、選択された登録番号“2”に
対応するユーザ罫線パターンメモリ4の領域に格納され
ることとなる。なお、登録番号は未登録領域に対応する
ものであれば任意に選択することができ、必ずしも、番
号にしたがって順次選択する必要はない、また、全ての
登録番号が選択されているときは1選択済みの登録番号
を再び選択すれば良い、ただし、この時は、その登録番
号に対応する領域に登録されていたニーfl[lパター
ンは、新たなユーザ罫線パターンが登録されることによ
り消滅する。Through this operation, the CPU 2 processes the input information received from the input section 1 by the ruled line pattern registration program, and first processes the registration number candidate group and the user π already registered by the user.
If there is a line pattern, that pattern will be displayed (Step 331 in Figure 3).Suppose now that a user ruled line pattern "..." has already been registered for registration number "1". If the registration number "2" is unregistered, the user presses the 2 key of the 211\ key IN to select the registration number (step 532).
Then, the user ruled line pattern registered by the subsequent operation of the input unit 1 will be stored in the area of the user ruled line pattern memory 4 corresponding to the selected registration number "2". Note that the registration number can be arbitrarily selected as long as it corresponds to an unregistered area, and it is not necessarily necessary to select it sequentially according to the number.Also, if all the registration numbers are selected, select one. All you have to do is select the already registered registration number again. However, in this case, the knee fl[l pattern registered in the area corresponding to that registration number will disappear as a new user ruled line pattern is registered.
ユーザ罫線パターンの作成は、通常の外字作成と同様の
方法で行う、すなわち、1文字に対応する各ドー2トに
対し、”HIGH”またはLOW”レベルの信号がij
−えられると、罫線登録部3はその信号に基づいてユー
ザ罫線パターンを作成する(ステップ533)、ユーザ
罫線パターンの作成が完了した時点で実行キーIEが操
作されると、作成されたユーザ罫線パターンがユーザ罫
線パターンメモリ4の登録番号“2”に対応する領域に
登録され(ステップ334)、その内容はCPU2の制
御のもとに1表示画面上に登録番号とともに表示される
。Creation of a user ruled line pattern is done in the same way as normal character creation. That is, for each dot corresponding to one character, a "HIGH" or LOW" level signal is
- If the user ruled line pattern is created, the ruled line registration unit 3 creates a user ruled line pattern based on the signal (step 533). When the execution key IE is operated when the creation of the user ruled line pattern is completed, the created user ruled line The pattern is registered in the area corresponding to the registration number "2" of the user ruled line pattern memory 4 (step 334), and its contents are displayed together with the registration number on one display screen under the control of the CPU 2.
なお1本実施例では、ユーザ罫線パターンは原則として
、左側に片寄った半角の水平方向のパターンで入力する
こととした。これ以降、このパターンのことを、基本パ
ターンと呼ぶこととする。In this embodiment, the user's ruled line pattern is, in principle, input as a half-width horizontal pattern offset to the left. From now on, this pattern will be referred to as the basic pattern.
この基本パターンは、π線の線種情報と、罫線作成に必
要なπ線パターン情報との2つの意味を有している。This basic pattern has two meanings: π-line line type information and π-line pattern information necessary for creating ruled lines.
く罫線作成〉 次に、罫線の作成動作について説明する。Create ruled lines> Next, the operation of creating ruled lines will be explained.
上述のようにして、所望する線種の基本パターンを登録
した後、これを用いて罫線を作Iti、(線引さ)する
ときは、まず、41老キーIBを押下しつつ罫線キーI
Aを押下して表示部10の表示画面りに「M線パターン
登録」と「罫線作成」とをメニュー表示させ、カーソル
により「罫線作成」を指定して実行キーIEを押下する
。この操作により、CPU2は罫線作成プログラムに移
行し、まず、メーカー側での登録により予め内蔵されて
いる罫線パターンの線種情報と、その選択番号とがメニ
ュー表示される。今は、ユーザ罫線パターンの使用を2
α図しているので、この段階で次候補キーIGを押下す
ると、登録番号の候補群と、ユーザにより登録されたユ
ーザ罫線パターンとがメニュー表示される。なお、この
メニュー表示は、線種を選択させるために行われるもの
であるから。After registering the basic pattern of the desired line type as described above, to draw a ruled line using this pattern, first press and hold the 41 key IB while pressing the ruled line key I.
Press A to display menus ``M-line pattern registration'' and ``creation of ruled lines'' on the display screen of the display unit 10, specify ``create ruled line'' with the cursor, and press the execution key IE. By this operation, the CPU 2 shifts to the ruled line creation program, and first, line type information of ruled line patterns that are registered in advance on the manufacturer's side and their selection numbers are displayed in a menu. Now, the use of user border pattern is 2
If the next candidate key IG is pressed at this stage, a menu of registration number candidates and user ruled line patterns registered by the user is displayed. Note that this menu display is performed to allow the user to select the line type.
半角の基本パターンそのものを表示するよりは、全角の
パターンを表示させた方が良い、今、登録番号“2″に
対応して“〜”なるパターンがメニュー表示されており
、置数キーINの“2”キーに対応する操作信号が入力
されたと仮定すると。It is better to display a full-width pattern rather than displaying the half-width basic pattern itself.Currently, a pattern "~" corresponding to the registration number "2" is displayed in the menu, and the number key IN is displayed. Assuming that an operation signal corresponding to the "2" key is input.
CPU2は、これ以降入力される罫線の線引き信号に対
して、“〜7という線種が指定されたものとして各種の
処理を実行する(第4図ステップ541)0次に、ユー
ザは、シフトキーlCとカーソルキー(左カーソルキー
IL、右カーソルキーIR,上カーソルレキ−IU、下
カーソルキーID)を使用して罫線による線引きを行う
、すなわち、この段階ではプログラムはステップ声42
に進んでおり、CPU2はキー操作信号の入力の有無を
判断し、キー操作信号が入力されたときは、ステップ3
43にて、罫線作成用のキーコードであるか否か、すな
わちシフトキーIC対応のキーコードとともにカーソル
キー対応のキーコードが入力されたか否かを判断する。The CPU 2 executes various processes on the ruled line drawing signal that will be input from now on, assuming that the line type "~7" has been specified (step 541 in FIG. 4).Next, the user presses the shift key lC. and the cursor keys (left cursor key IL, right cursor key IR, up cursor key IU, down cursor key ID) to draw ruled lines.In other words, at this stage, the program is in step voice 42.
The CPU 2 determines whether or not a key operation signal is input, and if a key operation signal is input, the process proceeds to step 3.
At step 43, it is determined whether the key code is for creating a ruled line, that is, whether a key code corresponding to the cursor key has been input together with a key code corresponding to the shift key IC.
その結果、罫線作成用のキーコードである場合には、罫
線コード割ち部6は、そのキーコードに対して次のよう
にして3′4線コードメモリ5の罫線コードを割当てる
(ステップ344)。As a result, if the key code is for creating a ruled line, the ruled line code allocation unit 6 allocates the ruled line code of the 3'4 line code memory 5 to the key code as follows (step 344). .
すなわち、今は登録番号“2”が選択された状態なので
、罫線コード割当部6は罫線コードの上位1バイトを“
02”に決定する。下位1バイトはカーソルの移動状慝
等を考慮して決定する。すなわち、現在のカーソル位置
が未登録であるときは、今回入力された罫線作成用キー
コードとその直前に入力されたπ繰作成用キーコードと
を考慮して下位1バイトを決定する0例えば、右カーソ
ルキーIHの次に下カーソルキーIDに対応する罫線作
成用キーコードが入力されたときは、罫線コード割当部
6は、上位1バイトの決定コード“02”を指標として
罫線コードメモリ5を検索し、罫線パターン“]”に対
応する下位1バイト(“03”)を探索することにより
、罫線コード“0203”を割当てる。また、現在のカ
ーソル位置が登録済であるときは、その登録済の罫線コ
ードと今回入力された罫線作成用キーコードとを考慮し
て下位1バイトを決定する0例えば、罫線パターン“−
”が入力されている位置に下カーソルキーlDに対応す
る罫線作成用キーコードが入力されたときは、罫線コー
ド割当部6は、上位1バイトの決定コード″02”を指
標として罫線コードメモリ5を検索し、罫線パターン“
T”に対応する下位1バイト(′″06”)を探索する
ことにより、罫線コード“0206”を割当てる。That is, since the registration number "2" is currently selected, the ruled line code assignment unit 6 assigns the upper 1 byte of the ruled line code to "
02". The lower 1 byte is determined by taking into consideration the movement of the cursor. In other words, if the current cursor position is unregistered, the key code for creating the ruled line entered this time and the key code immediately before it are determined. Determine the lower 1 byte in consideration of the input π repetition creation key code 0 For example, when the ruled line creation key code corresponding to the down cursor key ID is input next to the right cursor key IH, the ruled line The code allocation unit 6 searches the ruled line code memory 5 using the determination code "02" of the upper 1 byte as an index, and searches for the lower 1 byte ("03") corresponding to the ruled line pattern "]" to determine the ruled line code. Assign "0203".Also, if the current cursor position has been registered, the lower 1 byte is determined by considering the registered ruled line code and the ruled line creation key code input this time.0For example, Ruled line pattern “−
When the key code for creating a ruled line corresponding to the down cursor key ID is input at the position where " is input, the ruled line code allocation unit 6 uses the determination code "02" of the upper 1 byte as an index to assign the ruled line code to the ruled line code memory 5. Search for “Border pattern”
A ruled line code "0206" is assigned by searching the lower 1 byte ('"06") corresponding to "T".
このようにして罫線コード割当FA6により、1九てら
れた)[コードは、文書メモリ7に登録される(ステッ
プ345)、このとき、カーソル位置が未登録であれば
、割当てられた罫線コードがそのまま登録されるが、カ
ーソル位置が登録済のときは、新たに割当てられた罫線
コードが登録済の罫線コードの上に上害きされ、登録済
の罫線コードは消去されてしまう、なお、ステップS4
3の判断の結果、罫線作成用キーコードでない場合は、
ステップ347にて解除キーのコードであるか否かを判
定し、解除キーのコードであるときは主プログラムに戻
り、そうでない場合は何らかのエラー警告を出して再び
ステップS42に戻り、キーコードの入力を待つ、ステ
ップS45にて罫線コードが文書メモリ7に登録される
と、ステップ346に進んでステップS42で入力され
た罫線作成用のキーコードに基づいてカーソルを移動さ
せ、その後、ステップS47に進んで、移動前のカーソ
ル位lに文書メモリ7に登録された罫線コードの内容を
表示する。In this way, the code assigned by the ruled line code assignment FA6 is registered in the document memory 7 (step 345). At this time, if the cursor position is not registered, the assigned ruled line code is It will be registered as is, but if the cursor position is already registered, the newly assigned ruled line code will be overwritten on top of the registered ruled line code, and the registered ruled line code will be deleted. S4
As a result of the judgment in step 3, if the key code is not for creating ruled lines,
In step 347, it is determined whether or not the code is a release key code. If it is a release key code, the process returns to the main program. If not, an error warning is issued and the process returns to step S42, where the key code is input. When the ruled line code is registered in the document memory 7 in step S45, the process advances to step 346 to move the cursor based on the ruled line creation key code input in step S42, and then advances to step S47. Then, the content of the ruled line code registered in the document memory 7 is displayed at the cursor position l before movement.
く罫線表示〉
この表示は第5図に示す表示すブルーチンにより処理さ
れる。すなわち、CPU2はステップS51にて、表示
用コードが有るか否かを判断し、表示用コードが有れば
、ステップ352にてそれがユーザ罫線パターンに対応
する罫線コードであるか否かを判断する。この判断は、
コードの上位1バイトにより判断する。すなわち、コー
ドの上位1バイトが登録番号に対応する“01”、“0
2″、“03”、“04”に対応しているときはユーザ
罫線パターンに対応する罫線コードであると判断し、そ
れ以外であるときはメーカー側で予め登録された内蔵五
線パターンに対応する罫線コードであるとI断する。そ
の結果、ユーザ罫線パターンに対応する罫線コードであ
るときは、そのコードに対応するキャラクタデータ(罫
線パターンデータ)はキャラクタジェネレータ8に存在
しないので、ステップS53にて次のようにしてキャラ
クタデータを作成する。Ruled line display> This display is processed by the display routine shown in FIG. That is, in step S51, the CPU 2 determines whether or not there is a display code, and if there is a display code, in step S352, the CPU 2 determines whether or not it is a ruled line code corresponding to the user's ruled line pattern. do. This judgment is
Judgment is made based on the upper 1 byte of the code. In other words, the upper 1 byte of the code is "01", "0" corresponding to the registration number.
2", "03", and "04", it is determined that the ruled line code corresponds to the user's ruled line pattern; otherwise, it corresponds to the built-in staff pattern registered in advance by the manufacturer. As a result, if it is a ruled line code corresponding to the user ruled line pattern, character data (ruled line pattern data) corresponding to that code does not exist in the character generator 8, so the process proceeds to step S53. Create character data as follows.
すなわち、CPU2はユーザπ線パターン対応の罫線コ
ードを罫線パターン生成部9に出力する。そうすると、
罫線パターン生成部9はそのコードの上位1バイトを指
標としてユーザ罫線パターンメモリ4を検索し、対応す
る基本パターンを抽出して取得する。そして罫線パター
ン生成部9は、その基本パターンに基づいて罫線コード
対応のキャラクタデータを作成する0例えば、コードが
“0207”である場合は、罫線パターン生成部9はそ
の上位1バイトの内容“02″′に基づいて、第6図(
a)に示した“〜”型の基本パターン(キャラクタデー
タ)を取得し、また、下位バイトの内容“07”から罫
線パターンが−1”である旨を認識する。そして、′M
罫線パターン生成部9、その認識結果に基づいて、まず
、罫線パターン“上”の要素である“1”部分の要素バ
ターンと、右側の−”部分の要素パターンを作成する。That is, the CPU 2 outputs the ruled line code corresponding to the user's π-line pattern to the ruled line pattern generation section 9. Then,
The ruled line pattern generation unit 9 searches the user ruled line pattern memory 4 using the upper byte of the code as an index, and extracts and obtains the corresponding basic pattern. Then, the ruled line pattern generation unit 9 creates character data corresponding to the ruled line code based on the basic pattern. Based on ``'', Figure 6 (
Obtain the basic pattern (character data) of the “~” type shown in a), and recognize that the ruled line pattern is “-1” from the content “07” of the lower byte. Then, 'M
Based on the recognition results, the ruled line pattern generation unit 9 first creates an element pattern for the "1" portion, which is the "top" element of the ruled line pattern, and an element pattern for the "-" portion on the right side.
“1パ部分の品、にパターンは、第6図(a)の基本パ
ターンを右方向に90’回転させることにより作成され
、第6図(b)に示すような要素パターンとなる。また
、右側の“−“部分の要素パターンは、第6図(a)の
基本パターンを180°回転させることにより作成され
、第6図(C)に示すような要素パターンとなる6次に
、罫線パターン生成部9は、第6図(a)の基本パター
ンと、第6図(b)、(c)の要素パターンとの論理和
を算出することによりこれらを合成し、第6図(d)に
示したような、線種が波状である“土”型の罫線パター
ンを作成する。The pattern for the "1 part part" is created by rotating the basic pattern in FIG. 6(a) by 90' to the right, resulting in an element pattern as shown in FIG. 6(b). The element pattern of the "-" part on the right side is created by rotating the basic pattern of FIG. 6(a) by 180 degrees, and the element pattern as shown in FIG. 6(C) is created by creating a ruled line pattern. The generation unit 9 synthesizes the basic pattern in FIG. 6(a) and the element patterns in FIG. 6(b) and (c) by calculating the logical sum of the basic pattern and the element patterns in FIG. 6(d). Create a “earth” type ruled line pattern with wavy line types as shown.
このように、2Jli本パターンの登録のみで、その基
本パターンの線種を用いた他の罫線パターンが自動的に
作成されるので、内蔵罫線パターン以外の任意の&!i
l!!による罫線で容易に罫線引きを行うことが可能と
なる。In this way, by simply registering the 2Jli main pattern, other ruled line patterns using the line type of the basic pattern are automatically created, so any &! i
l! ! It is possible to easily draw ruled lines using the ruled lines.
一方、ステップS52での判断の結果、内蔵罫線パター
ンに対応するコードであると判断されたときは、そのコ
ードに対応するキャラクタデータはキャラクタジェネレ
ータ8に存在するので、そのコード対応のキャラクタデ
ータをキャラクタジェネレータ8から読み出す(ステッ
プ554)。On the other hand, as a result of the determination in step S52, when it is determined that the code corresponds to the built-in ruled line pattern, character data corresponding to that code exists in the character generator 8, so the character data corresponding to that code is converted into a character. Read from generator 8 (step 554).
このようにして得られたキャラクタデータは。The character data obtained in this way.
表示部10に出力されて表示信号に変換され、表示部1
0の表示画面上にその内容が表示される(ステップ35
5)。It is output to the display section 10, converted into a display signal, and displayed on the display section 1.
The contents are displayed on the display screen of 0 (step 35
5).
なお、本発明は1述の実施例に限定されることなく、例
えば、基本パターンの罫線パターンとしては、右方向に
片寄った半角の“−型、上方向または下方向に片寄った
半角の“1″型等を採用することも可能である。また上
述の実施例においては、基本パターンとしてはユーザの
作成した罫線パターンとしているが、例えばあらかじめ
設定(記憶)されている各種の線種からユーザが選択す
るようにしてもよい。Note that the present invention is not limited to the first embodiment, and for example, the ruled line pattern of the basic pattern may be a half-width "-" shape offset to the right, a half-width "1" shape offset upward or downward, etc. In addition, in the above embodiment, the basic pattern is a ruled line pattern created by the user, but for example, the user can choose from various preset (memorized) line types. You may choose.
〔発明の効果]
以上詳細に説明したように1本発明によれば、ユーザ所
望の線種を例えば1つ設定し登録すれば罫線作成に必要
な各罫線パターンを前記線種に基づいて加工作成等する
ことにより前記ユーザの所望の線種による各罫線パター
ンが生成されるためユーザ所望の&!a種による罫線作
成が容易に且つスピーデイに行なえ、また各線種ごとに
罫線パターンを記憶しておく必要がなくなり記憶容量を
節約することのできる罫線作成装置が実現できる。[Effects of the Invention] As described in detail above, according to the present invention, if a user sets and registers, for example, one line type desired by the user, each ruled line pattern necessary for creating ruled lines can be processed and created based on the line type. By doing this, each ruled line pattern according to the line type desired by the user is generated, so that the &! It is possible to realize a ruled line creation device that can easily and speedily create ruled lines of type A, and that saves storage capacity by eliminating the need to store ruled line patterns for each line type.
第1図は本発明の構成を示す機tmmブロク図。
第2図は本発明の一実施例による罫線作成装置の構成図
、第3UA−第5図は第2図の動作を示すフローチャー
ト、第6図は第2図の罫線パターン生成部の動作を説明
するための図である。
2・・・・・・CPU、3・・・・・・罫線登録部、4
・・・・・・ユーザ罫線パターンメモリ、5・・・・・
・罫線コードメモリ、6・・・・・・1′?線コ一ド割
当部、9・・・・・・罫線パターン生成部。
第1図
第3図
第4図
第5図
(b)
第6図FIG. 1 is a machine block diagram showing the configuration of the present invention. FIG. 2 is a block diagram of a ruled line creation device according to an embodiment of the present invention, FIG. This is a diagram for 2... CPU, 3... Ruled line registration section, 4
...User ruled line pattern memory, 5...
- Ruled line code memory, 6...1'? Line code assignment section, 9... Ruled line pattern generation section. Figure 1 Figure 3 Figure 4 Figure 5 (b) Figure 6
Claims (1)
の線種設定登録手段により設定登録された線種に基づき
罫線作成に必要な罫線パターンを生成する罫線パターン
生成手段とを有することを特徴とする罫線作成装置。The line type setting registration means sets and registers a desired line type, and the ruled line pattern generation means generates a ruled line pattern necessary for creating ruled lines based on the line type set and registered by the line type setting registration means. A ruled line creation device featuring:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61149803A JPS636657A (en) | 1986-06-27 | 1986-06-27 | Ruled line creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61149803A JPS636657A (en) | 1986-06-27 | 1986-06-27 | Ruled line creation device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS636657A true JPS636657A (en) | 1988-01-12 |
Family
ID=15483055
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61149803A Pending JPS636657A (en) | 1986-06-27 | 1986-06-27 | Ruled line creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS636657A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01217543A (en) * | 1988-02-25 | 1989-08-31 | Toshiba Corp | Document preparing device |
| JPH0469485U (en) * | 1990-10-19 | 1992-06-19 | ||
| JPH04343165A (en) * | 1991-05-20 | 1992-11-30 | Sharp Corp | Document processor |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5814249A (en) * | 1981-07-20 | 1983-01-27 | Fujitsu Ltd | Display control system for ruled line |
| JPS5848132A (en) * | 1981-09-16 | 1983-03-22 | Fujitsu Ltd | Ruled-line input and output control system |
| JPS6051976A (en) * | 1983-08-31 | 1985-03-23 | Seiko Epson Corp | Method and apparatus for preparing ruled line |
-
1986
- 1986-06-27 JP JP61149803A patent/JPS636657A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5814249A (en) * | 1981-07-20 | 1983-01-27 | Fujitsu Ltd | Display control system for ruled line |
| JPS5848132A (en) * | 1981-09-16 | 1983-03-22 | Fujitsu Ltd | Ruled-line input and output control system |
| JPS6051976A (en) * | 1983-08-31 | 1985-03-23 | Seiko Epson Corp | Method and apparatus for preparing ruled line |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH01217543A (en) * | 1988-02-25 | 1989-08-31 | Toshiba Corp | Document preparing device |
| JPH0469485U (en) * | 1990-10-19 | 1992-06-19 | ||
| JPH04343165A (en) * | 1991-05-20 | 1992-11-30 | Sharp Corp | Document processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5513278A (en) | Handwritten character size determination apparatus based on character entry area | |
| JPH03175593A (en) | On-line character recognizing device | |
| JPS636657A (en) | Ruled line creation device | |
| KR19980033033A (en) | Character input device | |
| JPH05257670A (en) | Screen preparing method and device therefor | |
| JPH1091701A (en) | Form document system | |
| JPS62243021A (en) | Special character input method | |
| JP2902182B2 (en) | Online handwritten character recognition device | |
| JP3130346B2 (en) | Input device | |
| JPH0470962A (en) | Data processor | |
| KR100741268B1 (en) | Data input method using input selection window | |
| JPS6140665A (en) | External character registering device | |
| JPS6128166A (en) | Electronic device | |
| JPH0610423Y2 (en) | Computer input device | |
| JPH05165567A (en) | Character input system in pen operating computer | |
| JPH036669A (en) | Document retrieving device | |
| JPH05204536A (en) | Data input device | |
| JPS6338737B2 (en) | ||
| JPH06266768A (en) | Retrieval system in electronic book and electronic book player | |
| JPH04281551A (en) | Inputting device | |
| JPS63128424A (en) | Data processing method | |
| JPS6381587A (en) | On-line handwritten character recognition device | |
| JPH11184614A (en) | Data input device | |
| JPH04112357A (en) | Document processor | |
| JPS62214423A (en) | Document editing device |