JPH0253818B2 - - Google Patents

Info

Publication number
JPH0253818B2
JPH0253818B2 JP59041170A JP4117084A JPH0253818B2 JP H0253818 B2 JPH0253818 B2 JP H0253818B2 JP 59041170 A JP59041170 A JP 59041170A JP 4117084 A JP4117084 A JP 4117084A JP H0253818 B2 JPH0253818 B2 JP H0253818B2
Authority
JP
Japan
Prior art keywords
ruled line
table frame
code
position data
lines
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 - Lifetime
Application number
JP59041170A
Other languages
Japanese (ja)
Other versions
JPS60183683A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to 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)

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.

(ロ) 従来技術 従来、文書作成装置においては、文書中に表を
作成する機会が多いにもかかわらず、表枠を作成
するモードがなく、例えば、「ワードプロセツサ
日本SWP−1000オペレーシヨンマニユアル」に
示されているように、カーソル移動キーを操作
し、罫線を1本1本引きながら、表枠を作成した
り、あるいは、罫線の開始位置及び終了位置を指
定して、1本ずつ罫線を引き表枠を作成してい
た。このため、表枠作成に要する時間が長くなる
だけでなく、その作業が面倒であつた。
(b) Prior Art Conventionally, document creation devices do not have a mode for creating table frames, even though there are many opportunities to create tables in documents. '', you can use the cursor movement keys to create a table frame by drawing ruled lines one by one, or specify the start and end positions of the ruled lines and draw the ruled lines one by one. was used to create a table frame. For this reason, not only did it take a long time to create the table frame, but the work was also troublesome.

(ハ) 発明の目的 本発明は、非常に簡単な操作で表枠を作成する
ことができる簡易表枠作成装置を提供することを
目的とするものである。
(C) Object 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項目当りの行数を記憶する
手段と、前記位置データと項目数及び行数に応じ
て前記表枠を構成する罫線パターンを決定する手
段と、該決定された罫線パターンを表示する表示
装置とより成り、前記位置データと項目数及び行
数を、入力装置から入力することにより、自動的
に所望の表枠を作成するようにしたものである。
(d) Structure of the Invention The structure of the table frame creation device of the present invention includes means for storing position data indicating the first row of the table frame to be created and a plurality of position data indicating the positions of vertical ruled lines; means for storing the number of items and the number of lines per item; means for determining a ruled line pattern constituting the table frame according to the position data, the number of items and the number of lines; and displaying the determined ruled line pattern. The display device is configured to automatically create a desired table frame by inputting the position data, the number of items, and the number of lines from the input device.

(ホ) 実施例 第1図は、本発明の一実施例を実現する文書作
成装置の構成を示すブロツク図であり、1は入力
装置としてのキーボード、2はCRT表示装置、
3は文書等のキヤラクタ情報を格納するテキスト
メモリ、4はキラクタコードに対応するドツトパ
ターンを記憶したパターンメモリ、5は表示用の
ビデオRAM、6は各種情報を記憶するメモリ、
7及び8はテキストメモリ3の1つのキヤラクタ
位置を示すXポインタ及びYポインタ、9は処理
部であり、テキストメモリ3に書き込まれたキヤ
ラクタコードは、パターンメモリは、パターンメ
モリ4で対応するドツトパターンに変換され、ビ
デオRAM5に書き込まれて、そのキヤラクタの
表示がCRT表示装置2の画面上に行なわれる。
(E) 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 is a keyboard as an input device, 2 is a CRT display device,
3 is a text memory for storing character information of documents, etc.; 4 is a pattern memory for storing dot patterns corresponding to character codes; 5 is a video RAM for display; 6 is a memory for storing various information;
7 and 8 are X pointers and Y pointers that indicate the position of one character in the text memory 3; 9 is a processing unit; the character code written in the text memory 3 is processed by the pattern memory; It is converted into a pattern and written into the video RAM 5, and the character is displayed on the screen of the CRT display device 2.

テキストメモリ3は、各キヤラクタ位置に対し
て、第2図に示すように4バイトの領域を備えて
おり、下位2バイトにはキヤラクタコードCCが
格納され、上位1バイトにはアトリビユートAが
格納され、又、上位2バイト目の前半4ビツトに
は、キヤラクタコードが罫線コードであるか否か
を示す情報Dが格納されている。
The text memory 3 has a 4-byte area for each character position as shown in Figure 2, the lower 2 bytes store the character code CC, and the upper 1 byte stores the attribute A. Furthermore, information D indicating whether 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, the ruled line pattern is composed of components in four directions (up, down, left and right) as shown in FIG. 3A, and the pattern is determined by the presence or absence of each direction component. Therefore, in the text memory 3, as shown in FIG. 2, the last 4 bits of the upper 2nd byte of each character position are filled with the ruled line direction component bits N, S, E, which correspond to the direction shown in FIG. Allocates an area to store W. For example, each ruled line direction component bit (N, S, E, W) is (0, 0, 1, 1)
In this case, only left and right components exist, so the ruled line pattern corresponds to FIG. 3B, and various examples are shown in FIGS.

このように、各1ビツトの罫線方向成分ビツト
N,S,E,Wより構成される4ビツトの罫線方
向コードNSEWは、罫線パターンと1対1に対
応しており、第1図の実施例では、罫線方向コー
ドNSEWと罫線コードとの対応テーブル10を
備えており、テキストメモリ3の各キヤラクタ位
置に、罫線方向コードが書き込まれると、処理装
置9は、対応テーブル10を参照して、そのコー
ドを罫線コードに変換し、下位2バイトに書き込
む。
In this way, the 4-bit ruled line direction code NSEW, which is composed of 1-bit ruled line direction component bits N, S, E, and W, has a one-to-one correspondence with the ruled line pattern. , a correspondence table 10 between the ruled line direction code NSEW and the ruled line code is provided, and when the ruled line direction code is written to each character position of the text memory 3, the processing device 9 refers to the correspondence table 10 and writes the corresponding ruled line direction code to the character position of the text memory 3. Convert the code to a ruled line code and write it to the lower 2 bytes.

尚、第1図において、11及び12は、項目数
カウンタKC及び行カウンタGC、13はフラグ
FGであり、その詳細は後に説明する。
In Fig. 1, 11 and 12 are item number counter KC and line counter GC, and 13 is a flag.
This is FG, the details of which will be explained later.

次に、表枠作成の際の操作手順及びこれに伴な
う画面の状態について、第4図イ〜ニを参照しな
がら説明する。
Next, the operating procedure for creating a table frame and the accompanying screen state will be explained with reference to FIGS. 4A to 4D.

文書作成中に、表枠を作成したい場合には、先
ず、カソール移動キーを操作してカーソルKを作
成しようとする表枠の先頭行の左端に移動し、罫
線キーを押す。すると、表示画面には、第4図イ
に示すように、下端部に、“罫線(1:中線、
2:太線、3:二重線、4:破線、5:表)”と
いうメツセージが表示され、罫線引きの際の線種
の指定あるいは表枠作成の指定を促す。ここで、
表枠を作成したい場合には、テンキーで番号5を
指定する。すると、表枠作成モードとなり、第4
図ロに示すように、表示画面のカーソルKの位置
に「+」のマーカーが表示され、画面下端部に
は、“横項目指定”というメツセージが表示され
る。そこで、次に表枠の列方向に関する情報を入
力するため、右カーソル移動キーを操作して、作
成しようとする表枠の縦罫線位置に、カーソルK
を移動させ、罫線キーを押す。すると、カーソル
位置に「+」のマーカーが表示され、以下、同様
の操作を繰り返し、全ての縦罫線位置に、第4図
ハに示すように、「+」のマーカーを表示させ、
その後、実行キーを押す。実行キーが押される
と、第4図ハに示すように、画面下端部には“縦
項目指定:1項目行数△△、項目数△△”という
指定欄が表示され、作成しようとする表枠の項目
数と1項目当りの行数が入力を促す。即ち、表枠
の行方向に関する情報の入力を促す。ここで、項
目数とは、表枠において横割りされた縦方向の項
目の数であり、1項目行数とは、1項目に記載可
能な文書行数を言う。そして、項目数及び行数
を、キーボード1から数値で入力し、実行キーを
押せば、第4図ニに示すように、入力した情報に
応じた表枠が自動的に作成され表示される。尚、
第4図ニは、項目数が「2」で1項目行数が
「1」の場合の例である。ところで、カーソル位
置に「+」のマーカーを表示させるには、表枠作
成モードの指定を行なうためのテンキーの押圧、
及び、カーソル移動後の罫線キーの押圧に応じ
て、マーカー「+」を示すキヤラクタコードを、
テキストメモリ3のカーソル位置に相当するアド
レスのメモリ領域に書き込むことにより行なわれ
る。
When creating a table frame while creating a document, first operate the cursor movement key to move the cursor K to the left end of the first row of the table frame to be created, and press the ruled line key. Then, on the display screen, as shown in Figure 4 A, "ruled lines (1: middle line,
2: Thick line, 3: Double line, 4: Broken line, 5: Table)" message will be displayed, prompting you to specify the line type when drawing ruled lines or to create a table frame.Here,
If you want to create a table frame, specify number 5 using the numeric keypad. Then, the mode becomes table frame creation mode, and the fourth
As shown in Figure B, a "+" marker is displayed at the position of the cursor K on the display screen, and a message "Horizontal item specification" is displayed at the bottom of the screen. Next, in order to input information about the column direction of the table frame, use the right cursor movement key to move the cursor K to the vertical ruled line position of the table frame you want to create.
, and press the border key. Then, a "+" marker will be displayed at the cursor position, and the same operation will be repeated to display "+" markers at all vertical ruled line positions as shown in Figure 4 C.
Then press the execute key. When the execution key is pressed, as shown in FIG. The number of items in the frame and the number of lines per item prompt you to input. That is, the user is prompted to input information regarding the row direction of the table frame. Here, the number of items is the number of horizontally divided items in the table frame in the vertical direction, and the number of lines for one item is the number of document lines that can be written in one item. Then, by inputting the number of items and the number of lines numerically from the keyboard 1 and pressing the execution key, a table frame corresponding to the input information is automatically created and displayed as shown in FIG. 4D. still,
FIG. 4D is an example in which the number of items is "2" and the number of rows per item is "1". By the way, to display the "+" marker at the cursor position, press the numeric keypad to specify the table frame creation mode,
And, in response to pressing the ruled line key after moving the cursor, a character code indicating the marker "+" is displayed.
This is done by writing to the memory area of the text memory 3 at the address corresponding to the cursor position.

次に、処理装置9の具体的な処理内容を、第5
図及び第6図のフローチヤートを参照しながら説
明する。
Next, the specific processing contents of the processing device 9 will be described in the fifth section.
This will be explained with reference to the drawings and the flowchart of FIG.

先ず、表枠作成指定のためテンキーが押圧され
ると、押圧時のカーソルKのY位置即ち表枠の先
頭行を示す行位置データYSをメモリ6の領域6
aに記憶する。又、テンキー押圧及び横項目指定
の際の罫線キーの押圧に応じて、カーソルKのX
位置即ち縦罫線位置を示す列位置データを、順
次、配列XP(n)(n:整数)としてメモリ6の
領域6bに記憶する。ここで、例えば、罫線キー
の押圧により列位置データが順にX0,X1,X2
得られたとすれば、これらのデータは、順次、
XP0,XP1,XP2としてメモリ6に格納され
る。又、縦項目指定の際に入力される1項目行数
G及び項目数Kは、メモリ6の各領域6c及び6
dに各々記憶される。そして、実行キーが押され
ると、記憶した各情報に基づいて、テキストメモ
リ3上の各キヤラクタ位置における罫線方向コー
ドNSEWが先ず順次決定され、この罫線方向コ
ードより各キヤラクタ位置の罫線コードが決定さ
れて、表枠が自動的に表示される。
First, when the numeric keypad is pressed to specify the creation of a table frame, the row position data YS indicating the Y position of the cursor K at the time of the press, that is, the first row of the table frame, is stored in the area 6 of the memory 6.
Store in a. Also, in response to pressing the numeric keypad and pressing the ruled line key when specifying horizontal items, the X of cursor K
Column position data indicating the position, that is, the vertical ruled line position, is sequentially stored in the area 6b of the memory 6 as an array XP(n) (n: integer). Here, for example, if column position data is obtained as X 0 , X 1 , and X 2 in order by pressing the ruled line key, these data will be sequentially obtained as
They are stored in the memory 6 as XP0, XP1, and XP2. In addition, the number of rows per item G and the number of items K input when specifying vertical items are stored in each area 6c and 6 of the memory 6.
d respectively. When the execution key is pressed, the ruled line direction code NSEW at each character position on the text memory 3 is first sequentially determined based on each stored information, and the ruled line code at each character position is determined from this ruled line direction code. The table frame will be displayed automatically.

即ち、第6図のフローチヤートに示すように、
実行キーが押されると、先ず、Xポインタ7及び
Yポインタ8には、各々、表枠の最上行左端位置
のデータX0及びYSがセツトされ、項目数カウン
タKC、行カウンタGC、フラグFGはイニシヤラ
イズされる。
That is, as shown in the flowchart of FIG.
When the execution key is pressed, first, the X pointer 7 and Y pointer 8 are set to the data X0 and YS at the left end position of the top row of the table frame, respectively, and the item number counter KC, row counter GC, and flag FG are set. Initialized.

そして、Xポインタ7の内容Xが配列XP(n)
内の値と等しいか否かの判断(ステツプST1)
と、Yポインタ8の内容Yが表枠の最上行あるい
は最下行の行位置データYSあるいはYEと等しい
か否かの判断(ステツプST2及びステツプST
3)とを行なうことにより、テキストメモリ3の
罫線方向成分ビツトS及びNを決定し、行カウン
タGCの内容が「0」が否かの判断(ステツプST
4)と、Xポインタ7の内容Xが表枠の左端ある
いは右端の列位置データX0あるいはX2と等しい
か否かの判断(ステツプST5及びステツプST
6)とを行なうことにより、テキストメモリ3の
罫線方向成分ビツトE及びWを決定している。そ
して、このようにして得られた罫線方向コード
NSEWを、対応テーブル10を参照することに
より罫線コードに変換し、テキストメモリ3の下
位2バイトに書き込んでいる。以上の処理は、X
ポインタ7及びYポインタ8の内容X及びYを順
次インクリメントすることにより、テキストメモ
リ3の表枠に関連する各キヤラクタ位置全てにお
いて、同様に行なわれる。尚、最下行の行位置デ
ータYEは、YSとG及びKから計算により求めら
れる。
Then, the content X of X pointer 7 is the array XP(n)
Judgment whether the value in (step ST1) is equal to the value in (step ST1)
Then, it is determined whether the content Y of the Y pointer 8 is equal to the row position data YS or YE of the top row or bottom row of the table frame (step ST2 and step ST
3), the ruled line direction component bits S and N of the text memory 3 are determined, and it is determined whether the content of the line counter GC is "0" (step ST
4) and determine whether the content X of the X pointer 7 is equal to the column position data X0 or X2 at the left or right end of the table frame (step ST5 and
6), the ruled line direction component bits E and W of the text memory 3 are determined. And the ruled line direction code obtained in this way
NSEW is converted into a ruled line code by referring to the correspondence table 10 and written into the lower two bytes of the text memory 3. The above processing is
This is done in the same way at all character positions associated with the table frame of the text memory 3 by sequentially incrementing the contents X and Y of the pointers 7 and Y pointers 8. Note that the row position data YE of the bottom row is calculated from YS, G, and K.

ここで、罫線方向コードが決定される例を第6
図のフローチヤートに従つて説明す。
Here, an example in which the ruled line direction code is determined is shown in the sixth example.
This will be explained according to the flowchart shown in the figure.

例えば、Xポインタ7及びYポインタ8の内容
(X,Y)が(X0,YS)であるときには、Y=
YSなので罫線方向成分ビツトSはセツトされ
(S=1)、Nはリセツトされる(N=0)。又、
実行キーを押された直後は行カウンタGCがイニ
シヤライズされており、X=X0なので、罫線方
向成分ビツトEはセツトされ(E=1)、Wはリ
セツトされる(W=0)。従つて、この場合、罫
線方向コードNSEWは「0110」となり、第3図
ハの罫線パターンに対応する罫線コードがテキス
トメモリ3の(X0,YS)の位置、即ち、表枠の
最上行の左端に対する位置に書き込まれることと
なる。又、(X,Y)が(X0+1,YS)でGC=
0のときは、罫線方向成分ビツトS,Nがリセツ
トされ、E,Wがセツトされるので、罫線方向コ
ードNSEWは「0011」となり、第3図ロの罫線
パターンに対応する罫線コードがテキストメモリ
3の(X0+1,YS)の位置に書き込まれる。
For example, when the contents (X, Y) of X pointer 7 and Y pointer 8 are (X 0 , YS), Y=
Since it is YS, the ruled line direction component bit S is set (S=1) and N is reset (N=0). or,
Immediately after the execution key is pressed, the line counter GC is initialized and X= X0 , so the ruled line direction component bit E is set (E=1) and W is reset (W=0). Therefore, in this case, the ruled line direction code NSEW is " 0110 ", and the ruled line code corresponding to the ruled line pattern in FIG. It will be written in a position relative to the left edge. Also, (X, Y) is (X 0 +1, YS) and GC=
When it is 0, the ruled line direction component bits S and N are reset and E and W are set, so the ruled line direction code NSEW becomes "0011", and the ruled line code corresponding to the ruled line pattern in Figure 3 B is stored in the text memory. It is written to the position (X 0 +1, YS) of 3.

ところで、第7図はテキストメモリ3上に模式
的に表枠αを描いた説明図であるが、実行キーに
よるイニシヤライズ後、Xポインタ7の内容Xを
X0から順にインクリメントしていけば、破線で
示すYS行の罫線コードは全て決定され、Xが表
の右端即ちX2となると、Yはインクリメントさ
れ、Xは表左端のX0にセツトされる。これと同
時に、行カウンタGCもインクリメントされ、以
後YS+1行目の罫線コードの決定に入る。ここ
で、第7図の例では、入力した1項目行数Gは
「1」で、項目数Kは「2」である。YS+1行目
の罫線コードの決定が終了すると、Y及び行カウ
ンタGCはインクリメントされ、はX0にセツトさ
れるが、以上の処理で第1項目の罫線コードの決
定が終了したので、第2項目の処理に移るため、
行カウンタGCを再びリセツトし、項目数カウン
タKCをインクリメントする。そして、YS+2行
目とYS+3行目の罫線コードの決定を行なう。
YS+3行目の罫線コードが終了すると、行カウ
ンタGCをリセツトし、項目数カウンタKCをイン
クリメントするため、KCの値はKと等しくなる。
ところが、この状態では、未だ最下行であるYE
行の罫線コードが決定されていないので、フラグ
FGを1として、ステツプST1からST7までの
ループを実行させる。そして、ステツプ7でXが
表右端即ちX2と等しくなると、この場合は、フ
ラグFGが「1」なので、処理は終了する。
By the way, FIG. 7 is an explanatory diagram schematically drawing a table frame α on the text memory 3. After initialization by pressing the execution key, the content X of the X pointer 7 is
By sequentially incrementing from X 0 , all the ruled line codes in the YS row shown by the broken line are determined, and when X reaches the right end of the table, that is, X 2 , Y is incremented and X is set to X 0 at the left end of the table. . At the same time, the line counter GC is also incremented, and from then on, the ruled line code for the YS+1st line is determined. Here, in the example of FIG. 7, the input number G of rows per item is "1" and the number K of input items is "2". When the determination of the ruled line code for the YS+1st line is completed, Y and the line counter GC are incremented, and X is set to 0. However, since the determination of the ruled line code for the first item has been completed with the above processing, the second item In order to move on to the processing of
Reset the row counter GC again and increment the item number counter KC. Then, the ruled line codes for the YS+2nd line and the YS+3rd line are determined.
When the ruled line code on the YS+3rd line is completed, the line counter GC is reset and the item number counter KC is incremented, so that the value of KC becomes equal to K.
However, in this state, YE, which is still in the bottom row,
Since the line border code has not been determined, the flag
Set FG to 1 and execute a loop from steps ST1 to ST7. Then, in step 7, when X becomes equal to the right end of the table, that is, X2 , in this case, the flag FG is "1", so the process ends.

以上のように、テキストメモリ3上には、作成
しようとする表枠αを構成する全ての罫線コード
が書き込まれる。従つて、各罫線コードをパター
ンメモリ4を参照して罫線パターンに変換し、ビ
デオRAM5に書き込めば、所望の表枠がCRT表
示装置2の画面上に表示される。
As described above, all the ruled line codes constituting the table frame α to be created are written on the text memory 3. Therefore, by converting each ruled line code into a ruled line pattern with reference to the pattern memory 4 and writing it into the video RAM 5, a desired table frame is displayed on the screen of the CRT display device 2.

ところで、本実施例では、カーソルKを右方向
のみに移動して、縦罫線位置の列位置データを、
左から順に、即ち、小さい値から順に得るように
したがつて、入力される列位置データを小さい値
から順に並べて換えて、メモリ6の配列XP(n)
に記憶するソート手段を設ければ、カーソルKに
よる縦罫線位置の指定は、ランダムに行なうこと
が可能となる。又、テキストメモリ3のキヤラク
タ位置全てに、罫線方向成分ビツトN,S,E,
Wを格納する領域を設けたが、必ずしもその必要
はなく、例えば、罫線方向成分ビツトN,S,
E,Wを一時記憶する1個のレジスタを用いるだ
けでも、同様の処理を行なわせることが可能であ
る。
By the way, in this embodiment, by moving the cursor K only in the right direction, the column position data of the vertical ruled line position is
Arrange the input column position data in order from the smallest value so that it is obtained in order from the left, that is, in order from the smallest value to the array XP(n) in the memory 6.
If a sorting means is provided for storing the vertical ruled line positions, the vertical ruled line positions can be specified at random using the cursor K. In addition, the ruled line direction component bits N, S, E,
Although an area is provided to store W, it is not necessary; for example, the area for storing the ruled line direction component bits N, S,
Similar processing can be performed by simply using one register for temporarily storing E and W.

更に、本実施例では、カソールKを移動させ、
「+」のマーカを表示することにより、作成しよ
うとする縦罫線位置の位置データを入力するよう
にしたが、他の方法でもよく、例えば、数値で入
力してもよい。
Furthermore, in this embodiment, the cassole K is moved,
Although the position data of the vertical ruled line position to be created is entered by displaying a "+" marker, other methods may be used, for example, numerical values may be entered.

(ヘ) 効果 本発明による簡易表枠作成装置は、作成しよう
とする表枠の先頭行の位置データ縦罫線位置を示
す位置データと、表枠の項目数及び1項目当りの
行数を入力するだけで、自動的に表枠を作成でき
るので、従来のように、表枠を構成する罫線を1
本ずつ引く必要がなく、操作が非常に簡単とな
る。
(F) Effect The simple table frame creation device according to the present invention inputs the position data of the first row of the table frame to be created, the position data indicating the vertical ruled line position, the number of items in the table frame, and the number of lines per item. Since you can automatically create a table frame by simply
There is no need to pull out the books one by one, making the operation very easy.

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

第1図は本発明の一実施例を示す文書作成装置
の構成を示すブロツク図、第2図はテキストメモ
リの記憶体系を示す説明図、第3図イ〜ホは罫線
方向コードと罫線パターンとの対比説明図、第4
図イ〜ニは表示画面の状態を示す説明図、第5図
及び第6図は処理内容を示すフローチヤート、第
7図はテキストメモリと表枠の関係を示す説明図
である。 主な図番の説明、1……キーボード、2……
CRT表示装置、3……テキストメモリ、4……
パターンメモリ、5……ビデオRAM、6……メ
モリ、7……Xポインタ、8……Yポインタ、9
……処理部、10……対応テーブル、11……項
目カウンタ、12……行カウンタ。
FIG. 1 is a block diagram showing the configuration of a document creation device showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a storage system of a text memory, and FIGS. Comparison diagram, 4th
FIGS. 1 to 2 are explanatory diagrams showing the state of the display screen, FIGS. 5 and 6 are flowcharts showing the processing contents, and FIG. 7 is an explanatory diagram showing the relationship between the text memory and the table frame. Explanation of main figure numbers, 1...Keyboard, 2...
CRT display device, 3...Text memory, 4...
Pattern memory, 5...Video RAM, 6...Memory, 7...X pointer, 8...Y pointer, 9
...Processing unit, 10...Correspondence table, 11...Item counter, 12...Line counter.

Claims (1)

【特許請求の範囲】[Claims] 1 作成しようとする表枠の先頭行を示す位置デ
ータ及び縦罫線位置を示す複数の位置データを記
憶する手段と、前記表枠の項目数及び1項目当り
の行数を記憶する手段と、前記位置データと項目
数及び行数に応じて前記表枠を構成する罫線パタ
ーンを決定する手段と、該決定された罫線パター
ンを表示する表示装置とを備え、前記位置データ
と項目数及び行数を、入力装置から入力すること
により、自動的に所望の表枠を作成するようにし
たことを特徴とする簡易表枠作成装置。
1. means for storing position data indicating the first row of the table frame to be created and a plurality of position data indicating the positions of vertical ruled lines; means for storing the number of items in the table frame and the number of lines per item; means for determining a ruled line pattern constituting the table frame according to the position data, the number of items, and the number of lines; and a display device for displaying the determined ruled line pattern; A simple table frame creation device characterized in that a desired table frame is automatically created by inputting 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 JPS60183683A (en) 1985-09-19
JPH0253818B2 true 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
JPS60183683A (en) 1985-09-19

Similar Documents

Publication Publication Date Title
KR0163178B1 (en) Method and apparatus for encoding and decoding chinese characters
EP0803107B1 (en) Method and apparatus for processing a table
JPS6190261A (en) Color document editing device
JPS6119070B2 (en)
JPH0253817B2 (en)
JPS60251473A (en) Tabulation system
JPH0253818B2 (en)
JPH0247779B2 (en)
JPS63233465A (en) Input display system for numerical format code
JPH0228154B2 (en)
JP2560999B2 (en) String output method
JPS6132676B2 (en)
JPH01290065A (en) Document processor
JP2572039B2 (en) Character processor
JPH054045Y2 (en)
JP3029123B2 (en) Character processing apparatus and method
JPS59228292A (en) Character pattern registration processing system
JPH01124057A (en) Method for storing ruled line picture
JPS61186994A (en) Document generator
JP2972916B2 (en) Document editing device with ruled line output function
JPH08137926A (en) Method for preparing cad drawing
JPH03105556A (en) Document processor
JPS60238969A (en) Computation control system by card page change
JPS62269192A (en) Rule generator/eraser
JPH0833793B2 (en) Input item storage / display input method using keyboard of information processing device