JPS60183683A - Generator of summary table frame - Google Patents

Generator of summary table frame

Info

Publication number
JPS60183683A
JPS60183683A JP59041170A JP4117084A JPS60183683A JP S60183683 A JPS60183683 A JP S60183683A JP 59041170 A JP59041170 A JP 59041170A JP 4117084 A JP4117084 A JP 4117084A JP S60183683 A JPS60183683 A JP S60183683A
Authority
JP
Japan
Prior art keywords
table frame
ruled line
character
memory
code
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
JP59041170A
Other languages
Japanese (ja)
Other versions
JPH0253818B2 (en
Inventor
Kazuya Suda
須田 一也
Akira Shirata
白田 明
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.)
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Sanyo Denki 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 Tokyo Sanyo Electric Co Ltd, Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP59041170A priority Critical patent/JPS60183683A/en
Publication of JPS60183683A publication Critical patent/JPS60183683A/en
Publication of JPH0253818B2 publication Critical patent/JPH0253818B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To obtain a device capable of forming a table frame by simple operation by storing position data of a top line in a table frame, a position of a ruled line and numbers of items in the table frame and lines per item, and deciding a ruled line code in accordance with these data. CONSTITUTION:A text memory 3 stores character information of a document, etc., a pattern memory 4 stores a dot pattern corresponding to a character code and a video RAM5 is used for displaying. A memory 6 stores various types of information. An X pointer 7 and an Y pointer 8 show one character position in the text memory 3, and a processing part 9 converts a character code written in the text memory 3 into a corresponding dot pattern in the pattern memory 4. The dot pattern is written in the video RAM5, and its character is displayed on the scope of a CRT display device 2. The text memory has an area of four bits with respect to each character position, a character code is stored in the low- order two bits, and the upper-order attribute is stored.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、文書作成装置に係り、同装置において、簡易
に表枠を作成する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a document creation device, and more particularly to a device for easily creating a table frame in the document creation device.

(ロ)従来技術 従来、文書作成装置においては、文書中に表を作成する
機会が多いにもかかわらず5表枠を作成するモードがな
(、例えば、「ワードプロセッサ日本5WP−1000
オペレーシヨンマニユアル」に示されているように、カ
ーソル移動キーを操作し、罫線を1本1本引きながら、
表枠を作成したり、ある(・は、罫線の開始位置及び終
了位置を指定して、1本ずつ罫線を引き表枠を作成して
いた。
(b) Prior Art Conventionally, document creation devices do not have a mode for creating 5 table frames (for example, "Word Processor Japan 5WP-1000"), even though tables are often created in documents.
As shown in the "Operation Manual", operate the cursor movement keys and draw the ruled lines one by one.
Create a table frame, or create a table frame by specifying the start and end positions of the ruled lines and drawing the ruled lines one by one.

このため、表枠作成に要する時間が長くなるだけでなく
、その作業が面倒であった。
For this reason, not only does it take a long time to create the table frame, but the work is also troublesome.

(・→ 発明の目的 本発明は、非常に簡単な操作で表枠を作成することがで
きる簡易表枠作成装置を提供することを目的とするもの
である。
(・→ Purpose of the Invention The object of the present invention is to provide a simple table frame creation device that can create a table frame with a very simple operation.

に)発明の構成 本発明の表枠作成装置の構成は、作成しようとする表浩
ス先頭行を示す位置データ及び縦罫線位置を示す複数の
位置データを記憶する手段と、前に己表枠ψ項目数及び
1項目当りの行数を記憶する手段と、前記位置データと
項目数及び行数に応じて前記表枠を構成する各キャラク
タ位置における罫線コー ドを決定する手段と、該罫線
コードをトノhパターンに変換する変換手段と、該ドツ
トパターンを表示する表示装置とより成り、前記位置デ
ータと項目数及び行数を、入力装置から入力することに
より、自動的に所与ノの表枠を作成するようにしたもの
である。
B) Structure of the Invention The structure of the table frame creating device of the present invention includes means for storing position data indicating the first row of the table to be created and a plurality of position data indicating the positions of vertical ruled lines, and ψ means for storing the number of items and the number of lines per item; means for determining a ruled line code at each character position constituting the table frame according to the position data, the number of items and the number of lines; and the ruled line code. It consists of a conversion means that converts the dot pattern into a dot pattern, and a display device that displays the dot pattern.By inputting the position data, the number of items, and the number of lines from the input device, it automatically displays a given table. It is designed to create a frame.

匝)実施例 第1図は、本発明の一実施例を実現する文書゛作成装置
の構成を示すブロック図であり、(1)は入力装置とし
てのキーボード、(2)はCRT表示装置δ、(3)は
文t(シ等のキャラクタ情報を格納するテキストメモリ
、(4)はキ・トラクタコードに対応するドツトパター
ンを記1.はしたパターンメモリ、(5)は表示用のビ
デオRA M、(6)は各種情報を記憶するメモリ、(
7)及び(8)はテキストメモ1月3)の1つのキャラ
クタ位置を示すXポインタ及びXポインタ、(9)は処
理部であり、テキストメモ1月3)に書き込まれたキャ
ラクタコードは、パターンメモリ(4)で対応するドツ
トパターンに変換され、ビデオRAM+51に書き込ま
れて、そのキャラクタの表示がCRT表示装置(2)の
画面上に行なわれる。
匝) Embodiment FIG. 1 is a block diagram showing the configuration of a document creation device that implements an embodiment of the present invention, in which (1) shows a keyboard as an input device, (2) shows a CRT display device δ, (3) is a text memory that stores character information such as the sentence t (shi), (4) is a pattern memory that stores the dot pattern corresponding to the character code, and (5) is a video RAM for display. , (6) is a memory that stores various information, (
7) and (8) are an X pointer and an The character is converted into a corresponding dot pattern in the memory (4) and written into the video RAM+51, and the character is displayed on the screen of the CRT display device (2).

テキストメモリ(3)は、各キャラクタ位置に対して、
第2図に示すように4バイトの領域を備えており、下位
2バイトにはキャラクタコードCCが格納され、上位1
バイトにはアトリビーートAが格納され、又、上位2バ
イト目の前半4ビツトには、キャラクタコードが罫線コ
ードであるか否かを示す′115報りが格納されている
The text memory (3) stores, for each character position,
As shown in Figure 2, it has a 4-byte area, the lower 2 bytes store the character code CC, and the upper 1
Attribute beat A is stored in the byte, and a '115 report indicating whether or not the character code is a ruled line code is stored in the first four bits of the second most significant byte.

ところで、罫線パターンは、第3図(イ)に示すような
、上下左右4方向の成分により構成されており、各方向
成分の有無によりそのパターンが決まるっぞこで、テキ
ストメモリ(3)には、第2図に示すように、各キャラ
クタ位置の上位2バイト目の後半4ビツトに、第3図(
イ)に示す方向に対応する罫綴方向成分ビク)N、S、
E、Wを格納する領域を・刷り当てている、例えば、こ
の各罫線方向成分ビット(N、S、E、W)が(0,0
,1,1)のときは、左右方向成分しか存在しないので
、その罫線パターンは第3図(ロ)に対応し、以下、種
々の例を第3図(ハ)〜則に示す。
By the way, a ruled line pattern is made up of components in four directions (up, down, left, right) as shown in Figure 3 (a), and the pattern is determined by the presence or absence of components in each direction, so it is stored in the text memory (3). As shown in Figure 2, the last 4 bits of the upper 2nd byte of each character position are
B) N, S,
For example, each ruled line direction component bit (N, S, E, W) is (0,0
, 1, 1), since there is only a horizontal component, the ruled line pattern corresponds to FIG. 3(b), and various examples are shown in FIG. 3(c) to rule below.

このように、各1ビツトの罫線方向成分ビットN、S、
E、Wより4’ki成される4ビツトの罫線方向コード
N5EWは、罫線パターンと1対1に対応しており、第
1図の実施例では、罫線方間コードN S E ’Wと
罫線コー ドとの対応テーブル(10)を備えており、
テキストメモ1月3)の各キャラクタ位置に、T1腺方
向コードが与き込まれると、処理装置(9)は、対応テ
ーブル(10)を、tり照して、そのコードを罫線コー
ドに変換し、千位2バイトに:・−1き込む−尚、第1
図において、(11)及び(12)は、各々、項目数カ
ウンタK C及び行カウンタGC1tl:31はフラグ
1” Cxであり、その詳細は後に説明する。
In this way, each one-bit ruled line direction component bit N, S,
The 4-bit ruled line direction code N5EW formed by 4'ki from E and W has a one-to-one correspondence with the ruled line pattern, and in the embodiment shown in FIG. Equipped with a code correspondence table (10),
When a T1 direction code is input to each character position of the text memo (January 3), the processing device (9) looks up the correspondence table (10) and converts the code into a ruled line code. Then, in the 2nd byte of the 1000th place:・-1 write-in addition, the 1st
In the figure, (11) and (12) indicate that the item number counter KC and the line counter GC1tl:31 are flags 1''Cx, the details of which will be explained later.

次に、表枠作成の際の操作手順及びこれに伴なう画面の
状軒につ(・て、第・1図(イ)〜に)を参照しながら
説明する。
Next, the operating procedure for creating a table frame and the resulting screen shape will be explained with reference to FIGS.

文−ル作成中に、表枠を作成したい場合には、先ず、カ
ーソル移動キーを操作して、カーソルJ(を作成しよう
とする表枠の先頭行の左端に移動し、罫線キーを押す。
If you wish to create a table frame while creating a text rule, first operate the cursor movement keys to move the cursor J( to the left end of the first row of the table frame to be created, and press the ruled line key.

すると、表示画面には、第4図(イ)に示すように、下
端部に、゛′罫線(1:中内。
Then, on the display screen, as shown in FIG.

2:太線、3:二重線、4:破線、5:表)″というメ
/セージが表示され、罫線引きの際のeA 4!、it
の指定あるいは表枠作成の指定を促す、ここで、表枠を
作成し7たし・場合には、テンキーで音号5を指定する
。すると、表枠作成モードとなり、第・1図(ロ)に示
すように、表示画面のカーソルにの位(i;jに「+」
のマーカーが表示され、画面下端部には、“横項目指定
″とい5メツセージが表示される。
2: Thick line, 3: Double line, 4: Broken line, 5: Front)" message will be displayed, and when drawing ruled lines, eA 4!, it.
If you want to create a table frame and want to create a table frame, specify the sound number 5 using the numeric keypad. Then, the table frame creation mode is entered, and as shown in Figure 1 (b), the digit (i;
A marker is displayed, and five messages titled "Horizontal item specification" are displayed at the bottom of the screen.

そこで、次に、表枠の列方向に関する情報を入力するた
め、右カーソル移動キーを操作して、作成しようとする
表枠の縦罫線位置に、カーソルKを移動させ、罫線キー
を押すっすると、カーノル位置に「+」のマーカーが表
示され、以下、同4))(の操作を繰り返し、全ての縦
罫線位置に、第4図(・→に示すように、「」−」のマ
ーカーを表示さぜ、その後、実行キーを押す。実行キー
が押されると、第4図(・→に示すように、画面下端部
には、゛秩項目指定:1項目行数ΔΔ1項目数△/・″
と℃・5指定柵が表示され、作成しようとする表枠の屓
1+I +Mとx:+)jg当りの行数の入力を促す。
Next, in order to input information regarding the column direction of the table frame, use the right cursor movement key to move cursor K to the vertical ruled line position of the table frame you are trying to create, and press the ruled line key. , a ``+'' marker will be displayed at the kernel position, and hereafter, repeat the operation 4)) and place a ``-'' marker at all vertical ruled line positions as shown in Figure 4 (・→). After that, press the execution key. When the execution key is pressed, as shown in Figure 4 (・→), the bottom of the screen displays the following message: ``Item specification: 1 item number of lines ΔΔ 1 item number △/・″
and ℃・5 specified fence are displayed, prompting you to input the number of rows per 1+I+M and x:+)jg of the table frame you are trying to create.

即ち、表枠の行方向に関する情報の人力を促す。ここで
、項目数とは、表枠において横割りされた縦方向の項目
の数であり、1項目行数とは、1項目に記載可能な文1
行数をg’ 5゜そして、項目数及び行数を、キーボー
ド(1)から数値で入力し、実行キーを押せば、第4図
(に)に示すように、入力した情報に応じた表枠が自動
的に作成され表示される。尚、第4図に)は、項目数が
「2」で、1項目行数が「1」の場合の例である。とこ
ろで、カーソル位置に「+」のマーカーを表示させるに
は、表枠作成モードの指定を行なうだめのテンキーの抑
圧、及び、カーソル移す1υ後の罫線キーの押土に応じ
て、マーカーr −4−Jを示すキャラクタコードな、
テキストメモ1月3)のカーソル位1#?:に相当する
アドレスのメモリ領域に書き込むことにより行なわれる
In other words, the manual input of information regarding the row direction of the table frame is encouraged. Here, the number of items is the number of vertical items divided horizontally in the table frame, and the number of rows per item is the number of sentences that can be written in one item.
Enter the number of lines and the number of lines using the keyboard (1) numerically, and press the execution key. As shown in Figure 4 (2), a table corresponding to the input information will be displayed. A frame is automatically created and displayed. Note that FIG. 4) is an example in which the number of items is "2" and the number of lines per item is "1". By the way, in order to display the "+" marker at the cursor position, press the numeric keypad to specify the table frame creation mode, and press the ruled line key 1υ after moving the cursor to display the marker r -4. -Character code indicating J,
Text memo January 3) Cursor position 1#? This is done by writing to the memory area at the address corresponding to :.

次に、処flI!装置(9)の具体的な処理内容を、第
5図及び第6図のフローチャートを参J)0シながら説
明する。
Next, the place flI! The specific processing contents of the device (9) will be explained with reference to the flowcharts of FIGS. 5 and 6.

先ず、表枠作成指定のためテンキーが押圧されると、押
圧時のカーソルにのX位置即ち表枠の先頭行を示す行位
置データYSをメモ1月6)の領域(6a)に記憶する
。又、テンキー抑圧及び横項目指定の際の罫線キーの抑
圧に応じて、カーソル■ぐのX位置即ち縦罫線位置を示
す列位置データを、順次、配列XP(n)Cn:整数)
としてメモ1月に)ノ領域(6b)に記憶する。ここで
、例えば、罫線キーの抑圧により列位置データが順にX
。、 X、 、 X2と得られたとすれば、これらのデ
ータは、順次、X PfO) 、 X P(1) 、 
X P(2)としてメモリ(6)に格納される。又、縦
項目指定の際に入力されるI JAtq行数G及び項目
数には、メモリ(6)の各領域(6C)及び(6d)に
各々記憶される。そt2て、実行キーが押されると、記
憶した各情報に基づいて、テキストメモリ(3)上の各
キャラクタ位置における罫線方向コードN5EWが先ず
順次決定され、この罫線方向コードより各キャラクタ位
置の罫線コードが決定されて、表枠が自動的に表示され
ろう即ち、第6図のフローチャー1・に示すように、実
行キーが押されると、先ず、Xポインタ(7)及びXポ
インタ(8)には、各々、表枠の最上行左端位11↑の
データX。及びYSがセットされ、項U?1カウンタK
C,行カウンタQC,フラグFGはイニシャライズされ
る。。
First, when the numeric keypad is pressed to designate the creation of a table frame, line position data YS indicating the X position of the cursor at the time of the press, that is, the first row of the table frame, is stored in the area (6a) of the memo January 6). In addition, in accordance with the depression of the numeric keypad and the depression of the ruled line key when specifying a horizontal item, the column position data indicating the X position of the cursor, that is, the vertical ruled line position, is sequentially arranged in an array XP(n)Cn: integer)
memo (January)) is stored in the area (6b). Here, for example, by suppressing the ruled line key, the column position data is
. , X, , X2, these data are sequentially expressed as
It is stored in the memory (6) as XP(2). Further, the number of I JAtq lines G and the number of items inputted when specifying vertical items are stored in the areas (6C) and (6d) of the memory (6), respectively. Then, when the execution key is pressed, the ruled line direction code N5EW at each character position on the text memory (3) is first sequentially determined based on the stored information, and the ruled line at each character position is determined based on this ruled line direction code. When the code is determined and the table frame is automatically displayed, as shown in flowchart 1 of FIG. 6, when the execution key is pressed, the X pointer (7) and the , respectively, data X in the leftmost position 11↑ of the top row of the table frame. and YS are set, and the term U? 1 counter K
C, row counter QC, and flag FG are initialized. .

そ12て、Xポインタ(力の内容Xが配列XP(ル)内
の値と等しいか盃かの判断(ステップS i’ 1 )
と、Xポインタ(8)の内容Yが表枠の最下行あるいは
最下行の付備I11:データYSあるいはYEと等しい
が否かの判断(ステップST2及びステップS ’J”
 3 )とを行なうことにより、テキストメモリ(3)
のi”) J:4方向成分ピノ)S及びNを決定し、行
カウンタCiCの内容が「0」が否かノ’i’l &F
fj (ステップsT 4 )と、Xポインタ(力の内
’15 Xが表枠の左端あるいは右端の列位置データX
。あるいはX2と等しいが否かの判断(ステップST5
及びステップ5T6)とな行なうことにより、テキスト
メモリ(3)の罫線方向成分ピノ)・E及びWを決定し
ている。そして、このようにして得られた罫線方向コー
ドN5EWを、対応テーブル(101を参照することに
より罫線コードに変換し、テキストメモ1月3)の下位
2バイトにイ)き込んでいる。以上の処理は、Xポイン
タ(力及びXポインタ(8)の内容X及びYを順次イン
クリナンドすることにより、テキストメモ1月3)の表
枠に関連する各キャラクタ位置全てにおいて、同様に行
なわれる。尚、最下行の行位置データYEは、YSとG
及びKから計算によりめられろうここで、罫線方向コー
ドが決定される例を第6図のフローチャートに従って説
明する。
Then, the X pointer (determine whether the force content X is equal to the value in the array
and the content Y of the X pointer (8) is equal to the bottom row of the table frame or the appendix I11: data YS or YE of the bottom row (step ST2 and step S 'J')
3) By doing this, text memory (3)
J: Determine S and N, and check whether the content of the row counter CiC is "0" or not.
fj (step sT 4) and the X pointer (within '15').
. Alternatively, it is determined whether or not it is equal to X2 (step ST5
and step 5T6), the ruled line direction components Pino).E and W of the text memory (3) are determined. The ruled line direction code N5EW thus obtained is converted into a ruled line code by referring to the correspondence table (101), and is written into the lower two bytes of the text memo (January 3). The above processing is performed in the same way at all character positions related to the front frame of the X pointer (by sequentially incrementing the contents X and Y of the X pointer (8), text memo January 3). . In addition, the row position data YE of the bottom row is YS and G.
An example of how the ruled line direction code is determined will now be described with reference to the flowchart of FIG. 6.

例えば、Xポインタ(力及びXポインタ(8)の内容(
x 、y)が(XO,YS)であるときには、Y==M
Sなので罫線方向成分ビットSはセットされ(S=1 
)、Nはリセントされる(N二〇)。又、実行キーを押
された直後は行カウンタGCがイニシャライズされてお
り、X==Xoなので、罫線方向成分ビア)Eはセノ]
・され(E=1)、Wはりセントされる(W=O)。従
って、この場合、罫+1が方向コードN5EWはr−0
110Jとなり、第3図(・→の罫線パターンに対応す
る罫線コードがテキストメモ1月3)の(x、、ys)
の位11′(、即ち、表枠の最下行の左端に対する位1
tYに古き込まれることとなる。又、(X、Y)が(X
o−1−1,YS)で(、i C−二〇のとぎは、罫線
方向成分ビットS 、Nがリセットされ、E、Wが化ノ
ドされるので、罫線方向j−トN S E Wはl−0
011,Jとなり、第3図ILすの:1イF!1.Aバ
ター7に対応する罫線コ・−ドがテキストメモリ(3)
の(Xo+1 、 Y S )の位置に111き込まれ
る。
For example, the X pointer (force and the contents of the X pointer (8)
When x, y) are (XO, YS), Y==M
S, so the ruled line direction component bit S is set (S=1
), N is re-cented (N20). Also, immediately after the execution key is pressed, the line counter GC is initialized and X==Xo, so the ruled line direction component via) E is Seno]
・W is set (E=1) and W is set (W=O). Therefore, in this case, the rule +1 is the direction code N5EW is r-0
110J, and the ruled line code corresponding to the ruled line pattern in Figure 3 (・→ is (x,, ys) in Text Memo January 3).
digit 11' (i.e., digit 1 relative to the left edge of the bottom row of the table frame)
It will become obsolete in tY. Also, (X, Y) is (X
o-1-1, YS) (, i C-20, the ruled line direction component bits S and N are reset and E and W are inverted, so the ruled line direction j-t N S E W is l-0
011, J, Figure 3 IL Suno: 1 I F! 1. The ruled line code corresponding to A butter 7 is in text memory (3)
111 is inserted into the position (Xo+1, Y S ) of

ところで、第7図はテキストメ’te IJ (3)−
I:に模式的に表枠αを描いた説明図であるか、実行キ
ーによるイニシャラ、イズ後、Xポインタ(7)の内’
8 X txnからj1a′lにインクリメン]・シて
いけは、f;、lJ、1rblで示すYS行のlfl’
 腺コードは全て決定され、Xフr’>表の右端即ちX
2となると、Yはインクリメントされ、Xは表左端のX
。にセットされる。これと同時に、行カウンタGCもイ
ンクリメントされ、以後Y S +11行目、1゛鱒“
4コードの決定に入る。ここで、第7図の例では、入力
した1項目行数Gは「1」で、項g数I(は[2−1で
ある。Y S + 1行目のl4iF縁コードの決定が
終了すると、Y及び行カウンタGCはインクリメントさ
れ、XはX。にセットされるが、以上の処理で第1項目
の罫線コードの決定が終了したので、第2項目の処理に
移るため、行カウンタGCを再びリセットし、項目数カ
ウンタKCをインクリメントする。そして、M S −
1−2行1」とM S −1−3行目の罫線コードの決
定を行なう。YS+3行目の罫線コードが終了すると、
行カウンタGCをリセットし、項目数カウンタK Cを
インクリメントするため、KCO値はKと等しくなる。
By the way, Figure 7 shows the text message (3)-
This is an explanatory diagram schematically drawing a table frame α in I:, or after initialization with the execution key, the inside of the X pointer (7) is
8
All the gland codes are determined, and
When it becomes 2, Y is incremented and X is the X at the left end of the table.
. is set to At the same time, the row counter GC is also incremented, and from now on Y S +11th row, 1゛ Trout “
4. Enter the code decision. Here, in the example of FIG. 7, the input number G of rows for one item is "1", and the number I of rows G (is [2-1). Then, Y and line counter GC are incremented, and X is set to is reset again and the item number counter KC is incremented. Then, MS -
1-2 rows 1" and MS-1 to 3rd rows are determined. When the ruled line code on the YS+3rd line ends,
The KCO value is equal to K because the row counter GC is reset and the item number counter KC is incremented.

ところが、この状態では、未だ最下行であるYE行の罫
線コードが決定されていないので、フラグI” Gを1
として、ステップSTIかもST7までのループを実行
させる、そして、ステップ7でXが表右端即ちX2と4
降しくなると、この場合は、フラグ1” Gが「1」な
ので、処理は終了するっ 以上のように、テキストメモ1月3)上には、作成しよ
うとする表枠αを構成する全ての罫線コードがブトき込
まれる。従って、各罫線コードをパターンメモリ(4)
を参照して罫線パターンに変換し、ビデオRA M (
5iに書き込めば、所望の表枠がCI(、T表示装置(
2)の画面」二に表示される、ところで、本実施例では
、カーソル■(を右方向のみに移動して、縦罫線位置の
列位置データを、左から11■に、即ち、小さい値から
順に得るようにしたが、入力される列位置データを小さ
い値から順に並べ換えて、メモ1月6)の配列X P 
(rL)に記憶するノート手段を設ければ、カーソルK
による縦罫線位(1tの指定は、ランダムに行なうこと
が可能となる。又、テキストメモリ(3)のキャラクタ
位11を全てに、罫線方向成分ビア トN 、 S 、
 T’: 、 ’vVを格納する領域を設けたが、必ず
(2もその心安は7.’(: <、例えば、罫線方向成
分ピノ) N 、 S 、 、1; 、Wを一時記憶す
る1個のレジスタを用いるだけでも、同様の処理を行な
わせることが可能である。
However, in this state, the ruled line code for the bottom row YE has not yet been determined, so the flag I"G is set to 1.
, execute the loop up to step STI or ST7, and in step 7, X is at the right end of the table, that is, X2 and 4.
In this case, since the flag 1"G is "1", the process ends. The ruled line code is inserted. Therefore, each ruled line code is stored in the pattern memory (4).
Convert it to a ruled line pattern with reference to the video RAM (
5i, the desired table frame will be changed to CI (, T display device (
By the way, in this embodiment, by moving the cursor (■) only in the right direction, the column position data of the vertical ruled line position is changed to 11■ from the left, that is, from the smallest value. However, I rearranged the input column position data in order from the smallest value to the array X P of the memo January 6).
(rL), the cursor K
The vertical ruled line position (1t) can be specified randomly.Also, all the character position 11 of the text memory (3) is specified by the vertical ruled line direction component viat N, S,
T': , 'Although we have created an area to store vV, it is safe to use 7.' (: <, for example, the ruled line direction component Pino) N , S , , 1; It is possible to perform similar processing by simply using two registers.

四に、本実施例では、カーソルKを移動させ、[]−J
のマーカーを表示することにより、作成しようとする縦
罫線位fi/、1の位1i9..l、データを入力する
ようにl−たが、他の方法でもよく、例えば、数値で人
力してもよい。
Fourth, in this embodiment, move the cursor K and select []-J
By displaying the marker, the vertical ruled line position fi/, the ones digit 1i9. .. Although the data is inputted in the above example, other methods may be used, for example, numerical values may be entered manually.

V→ 効果 本発明による簡易表枠作成装置は、作成l〜3Lつとす
る表枠の先頭行の位+l′?データ及び縦罫線位置を示
す位置データと、表枠の項目数及び1項目当りの行数を
入力するだけで、自1助的に表枠を作成できるので、従
来のように、尺枠を構成する罫線を1本ずつ引く必要が
なく、操作が非常に簡単となる。
V→ Effect The simple table frame creation device according to the present invention creates 1 to 3L table frames in the first row position +l'? You can create a table frame on your own by simply entering position data indicating the data and vertical ruled line positions, the number of items in the table frame, and the number of rows per item. There is no need to draw each ruled line one by one, making the operation very simple.

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

第1図は本発明の一実施例を示す文4jF作成装置1′
tのIf4成を示すブロック図、第2図はテキストメモ
リの記1、ζ体系を示す説明図、第3図目)−ホ)は罫
線方向コードと罫線パターンとの対比説明図、第4図(
イ)〜自)は表示画面の状態を示す説明[ン1、第5図
及び第6図は処理内容を示すフローチーy −71・、
第7図はテキストメモリと表枠の関係を示すiy明図で
ある。 主な図番の説明 (1)−= キーホー1−”、 (2)−CIt i’
表示装置1゛t、 (3)・・・テキストメモリ、 (
4)・・・パターンメモリ、 (5)・・・ビデオRA
 M 、f6)・・・メモリ、 (7)・・・Xボイン
タ、 (8)・・・Yポインタ、 (9)・・・処理部
、 (101・・・対応f −プル、 (11)・・項
目カウンタ、 (12)・・川・行カウンタ。 出願人 ヨ洋電最株式会社 外1名 代j114人 弁理士 佐 町 静 夫痘2図 涌3図 (イ) (o) (ハ) (ニ) (鐵)第7図 貴¥IL1
FIG. 1 shows a sentence 4jF creation device 1' showing an embodiment of the present invention.
Figure 2 is a block diagram showing the If4 configuration of t, Figure 2 is an explanatory diagram showing text memory description 1, ζ system, Figure 3) - E) is an explanatory diagram of comparison between ruled line direction code and ruled line pattern, Figure 4 (
A) to AU) are explanations showing the state of the display screen.
FIG. 7 is a diagram showing the relationship between the text memory and the table frame. Explanation of main drawing numbers (1)-= Kehoe 1-", (2)-CIt i'
Display device 1゛t, (3)...Text memory, (
4)...Pattern memory, (5)...Video RA
M, f6)...memory, (7)...X pointer, (8)...Y pointer, (9)...processing unit, (101...corresponding f-pull, (11)...・Item counter, (12)... River/Line counter. Applicant: Yoyoden Sai Co., Ltd. and 1 representative J114 Patent attorney: Shizuka Sa Machi Fupo 2, Figure 3 (A) (O) (C) ( d) (Steel) Figure 7 Takashi ¥IL1

Claims (1)

【特許請求の範囲】[Claims] (1)作成しようとする表枠の先頭行を示す位置データ
及び縦罫線位置を示す複数の位置データを記憶する手段
と、前記表枠の項目数及び1項目当りの行数を記憶する
手段と、前記位置データと項目数及び行数に応じて前記
表枠を構成する各キャラクタ位置における罫線コードを
決定する手段と、該罫線コードをドツトパターンに変換
する変換手段と、該ドツトパターンを表示する表示装置
とを備え、前記位置データと項目数及び行数を、入力装
置から入力することにより、自動的に所望の表枠を作成
するようにしたことを特徴とする簡易表枠作成装置。
(1) means for storing positional data indicating the first row of the table frame to be created and a plurality of positional data indicating the positions of vertical ruled lines, and means for storing the number of items in the table frame and the number of lines per item; , means for determining a ruled line code at the position of each character forming the table frame according to the position data, the number of items, and the number of lines; converting means for converting the ruled line code into a dot pattern; and displaying the dot pattern. 1. A simple table frame creation device, comprising a display device, and automatically creates a desired table frame by inputting the position data, the number of items, and the number of lines from an input device.
JP59041170A 1984-03-02 1984-03-02 Generator of summary table frame Granted JPS60183683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59041170A JPS60183683A (en) 1984-03-02 1984-03-02 Generator of summary table frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59041170A JPS60183683A (en) 1984-03-02 1984-03-02 Generator of summary table frame

Publications (2)

Publication Number Publication Date
JPS60183683A true JPS60183683A (en) 1985-09-19
JPH0253818B2 JPH0253818B2 (en) 1990-11-19

Family

ID=12600946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59041170A Granted JPS60183683A (en) 1984-03-02 1984-03-02 Generator of summary table frame

Country Status (1)

Country Link
JP (1) JPS60183683A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH099441A (en) * 1995-06-21 1997-01-10 Yoshinari Denki Kogyosho:Kk Cable bender

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5126022A (en) * 1974-08-27 1976-03-03 Shaken Kk
JPS5643686A (en) * 1979-09-18 1981-04-22 Mitsubishi Electric Corp Tabulation system
JPS5850039A (en) * 1981-09-21 1983-03-24 Fujitsu Ltd List output method
JPS5937586A (en) * 1982-08-25 1984-03-01 松下電器産業株式会社 Handy rule generator

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5126022A (en) * 1974-08-27 1976-03-03 Shaken Kk
JPS5643686A (en) * 1979-09-18 1981-04-22 Mitsubishi Electric Corp Tabulation system
JPS5850039A (en) * 1981-09-21 1983-03-24 Fujitsu Ltd List output method
JPS5937586A (en) * 1982-08-25 1984-03-01 松下電器産業株式会社 Handy rule generator

Also Published As

Publication number Publication date
JPH0253818B2 (en) 1990-11-19

Similar Documents

Publication Publication Date Title
JPH031708B2 (en)
KR20030049443A (en) Apparatus for inputting Hangeul in terminal and method thereof
JPS60183683A (en) Generator of summary table frame
JPH0253817B2 (en)
GB2233800A (en) Text processing with framing
JPS6132676B2 (en)
JP2000123131A (en) Bar code generating method
KR20020028078A (en) Character input system and character panel of cellular phone
KR890001199B1 (en) Latter display system
JPS63159974A (en) Information processor
JP2001051991A (en) Japanese input method and portable terminal
JPS5870349A (en) Frame producing system for table of word processor
JPH06250720A (en) Generating method for nc data for character marking of automatic programming system for sheet metal working
JPS63280295A (en) Character pattern display device
JPS63201820A (en) Picture layout setting system for interactive computer system
JPH01251091A (en) Character font generating device
JPS62117063A (en) Kana conversion system for word processor
JPH0198018A (en) Character/symbol input device
JPH05233612A (en) Data processor
JPH02287813A (en) Character processor
JPH0222696A (en) Character processing device
JPS61279974A (en) Documentation device
JPH026994A (en) New character registration system
JPH01124057A (en) Method for storing ruled line picture
JPS6150317B2 (en)