JPS623291A - Document generator - Google Patents

Document generator

Info

Publication number
JPS623291A
JPS623291A JP60142895A JP14289585A JPS623291A JP S623291 A JPS623291 A JP S623291A JP 60142895 A JP60142895 A JP 60142895A JP 14289585 A JP14289585 A JP 14289585A JP S623291 A JPS623291 A JP S623291A
Authority
JP
Japan
Prior art keywords
ruled line
code
ruled
character code
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60142895A
Other languages
Japanese (ja)
Inventor
裕司 白石
立花 隆良
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60142895A priority Critical patent/JPS623291A/en
Publication of JPS623291A publication Critical patent/JPS623291A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は文書作成装置に関し、特に罫線コードを生成す
る過程において、罫線の交点や分岐点に応じた最適な罫
線コードを生成する文書作成装置      。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a document creation device, and more particularly to a document creation device that generates an optimal ruled line code according to intersections and branching points of ruled lines in the process of generating a ruled line code.

に関する。                    
    7従来の技術 罫線コードを生成し、表示画面上に罫線パター    
  ;。
Regarding.
7 Conventional technology Generate a ruled line code and display the ruled line pattern on the display screen
;.

ンを表示するに当たっては、罫線の始点と終点と   
   、をカーソルで指定するか、座標値を数字で入力
す      。
When displaying the ruled line, the starting and ending points of the ruled line and
, by specifying it with the cursor or entering the coordinate value numerically.

す る方法、あるいはカーソルの移動に伴って罫線を   
   ・工゛・生成する方法等がある。しかしながら、
いずれの      ”J、。
or draw borders as you move the cursor.
・There are methods of engineering and generation. however,
Which “J,”.

; 方法でも当該位置の上方向位置の罫線コード、下   
   9、方向位置の罫線コード、左方向位置の罫線コ
ード、     ・:。
; Even in the method, the ruled line code at the upper position of the position, the lower
9. Ruled line code for direction position, ruled line code for left direction position, ・:.

および右方向位置の罫線コードを参照し判断した   
   15、後に、罫線の交差や分岐の態様に応じて、
当該位、” 置に罫線コードを生成する必要があった。      
    ′、、。
and the ruled line code of the right direction position.
15. Later, depending on the intersection and branching of the ruled lines,
It was necessary to generate a ruled line code at the corresponding position.
′,,.

1qiz″1”’)、!:t、Br、”JRA    
          、”;)このような従来の技術で
は、当該位置に隣接す      、。
1qiz″1″’),! :t,Br,”JRA
, ”;) In such conventional techniques, the , , adjacent to the position.

る上下左右4方向の罫線コードを判断した後に、   
    ′□2′・ 罫線の交差や分岐の態様に応じて、当該位置の罫   
   2、・線コードを決定しなければならず、罫線生
成が非      、、・常に煩雑なものになっている
。また、多線様の罫      、線(例えば、実線、
点線、太線等)を取り扱う文      ・′書作成装
置の場合には、罫線の交差や分岐の態様の他に、線種の
異なる罫線同士の接続の態様にも配慮する必要がある。
After determining the ruled line code in the four directions (top, bottom, left, and right),
'□2'・ Depending on how the ruled lines intersect or branch, the ruled line at the relevant position
2. The line code must be determined, making ruled line generation extremely complicated. In addition, multiline-like rules, lines (for example, solid lines,
In the case of a document creation device that handles dotted lines, thick lines, etc., it is necessary to consider not only the intersection and branching of ruled lines, but also the connection of ruled lines of different line types.

本発明は上記問題点に鑑み為されたものであり、容易に
多線種の罫線コードを生成できる文書作成装置を提供す
ることを目的としている。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a document creation device that can easily generate ruled line codes of multiple line types.

問題点を解決するための手段 本発明は上記問題点を解決するだめ、文字や罫線の入力
およびキー操作を行なうための入力部と、前記入力部よ
り入力された文字および罫線を格納する文字コードバッ
ファと、前記文字コードバッファの内容を表示する表示
部と、前記文字コードバッファ内のデータ構造として、
第一バイト目に当該位置のデータが罫線コードであるこ
とを示す特定コードと、第二バイト目に罫線を構成する
上下左右4方向の要素に対応した罫線ビットとを設ける
ことにより、当該位置に最適な罫線コードを生成する罫
線コード生成部とを備え、上下左右方向へのカーソル移
動および文字コードバフ7ア内に既に格納されたデータ
の内容、更には多線種の罫線の接続態様に従って容易に
罫線コードを生成し、表示画面上に表示し得るものであ
る。
Means for Solving the Problems In order to solve the above problems, the present invention provides an input section for inputting characters and ruled lines and key operations, and a character code for storing characters and ruled lines input from the input section. A buffer, a display unit that displays the contents of the character code buffer, and a data structure in the character code buffer,
By providing a specific code in the first byte to indicate that the data at the position is a ruled line code, and a ruling line bit corresponding to the elements in the four directions of the top, bottom, left, and right that make up the ruled line in the second byte, Equipped with a ruled line code generation unit that generates an optimal ruled line code, it is easy to move the cursor in the up, down, left and right directions, as well as the content of data already stored in the character code buff 7a, as well as the connection mode of ruled lines of multiple line types. A ruled line code can be generated and displayed on a display screen.

作用 本発明は上記した構成により、従来の文書作成装置で行
なっていたような当該位置に隣接する上下左右4方向の
罫線コードを判定し、しかる後°に当該位置の罫線コー
ドを決定する、といったような煩雑な処理を行なう必要
がなく、当該位置およびカーソル移動方向に隣接する位
置の罫線データ       5゜構造内の罫線ビット
を操作するだけで容易に罫線コードを生成できる。また
通常の文書作成装置のように多種類の線種の異なる罫線
同士の組み合わせによる多数の罫線パターンデータを持
つ必要はなく、必要最小限の罫線基本パターンの合成に
よって当該位置の罫線パターンを発生させるため、メモ
リ効率のよい処理を行なうことができる。
Effect of the present invention With the above-described configuration, the present invention determines the ruled line codes in four directions adjacent to the position in question, and then determines the ruled line code in the position, as was done in conventional document creation devices. There is no need to perform such complicated processing, and a ruled line code can be easily generated by simply manipulating the ruled line bits in the ruled line data 5° structure at the position and the position adjacent to the cursor movement direction. In addition, there is no need to have a large number of ruled line pattern data consisting of combinations of ruled lines of various line types, as is the case with ordinary document creation devices, and instead a ruled line pattern at the relevant position can be generated by synthesizing the minimum necessary basic ruled line patterns. Therefore, memory-efficient processing can be performed.

実施例 第1図は本発明の一実施例の構成を示すブロック図であ
る。入力装置11から入力されたキーコードは、入力キ
ー判定回路12でカーソルキーであるかANK (アル
ファニューメリック)キーであるかを判定される。入力
装置11から入力されたキーコードがANKキーの場合
、文字コード生成部4で文字コードに変換され文字コー
ドバッファポインタ6で指示される文字コードバックア
ロの当該位置に格納された後、文字パターン発生部8で
文字パターンに変換され、表示制御回路92を介して表
示装置91に表示される。
Embodiment FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. A key code input from the input device 11 is determined by an input key determination circuit 12 as to whether it is a cursor key or an ANK (alpha numeric) key. If the key code input from the input device 11 is an ANK key, the character code generation unit 4 converts it into a character code, stores it in the corresponding position of the character code back arrow indicated by the character code buffer pointer 6, and then creates the character pattern. It is converted into a character pattern by the generator 8 and displayed on the display device 91 via the display control circuit 92.

入力装置11から入力されたキーコードがカーソルキー
の場合には通常、カーソル制御部2で入力されたカーソ
ル移動キーの方向にカーソルを移動させる。罫線生成時
にはカーソル制御部2は罫線コード生成部3と連動し、
文字コードバッファポインタ5で指示てれる当該位置お
よび入力されたカーソルキーの移動方向に隣接する位置
の罫線ビットを操作して罫線コードを生成し、文字コー
ドバッファ6に格納する。この後、罫線コードは罫線基
本パターン部71の情報に従い、罫線パターン発生回路
72で罫線パターンに変換され、表示制御回路92を介
して表示部91に表示される。
When the key code input from the input device 11 is a cursor key, the cursor is normally moved in the direction of the cursor movement key input by the cursor control unit 2. When generating ruled lines, the cursor control unit 2 works in conjunction with the ruled line code generation unit 3,
A ruled line code is generated by manipulating the ruled line bit at the position indicated by the character code buffer pointer 5 and at a position adjacent in the moving direction of the input cursor key, and is stored in the character code buffer 6. Thereafter, the ruled line code is converted into a ruled line pattern by the ruled line pattern generation circuit 72 according to the information in the ruled line basic pattern section 71, and is displayed on the display section 91 via the display control circuit 92.

第2図(人)は文字コードバッファ内の罫線コードを表
現するデータ構造および罫線データ内の罫線ビットと罫
線パターンの上下左右4方向の構成要素との対応の一例
を示す図である。第2図(人)において■は罫線パター
ン構成要素の右方向に、■は上方向に、■は左方向に、
■は下方向にそれぞれ対応している。
FIG. 2 (person) is a diagram showing an example of the data structure expressing the ruled line code in the character code buffer and the correspondence between the ruled line bits in the ruled line data and the constituent elements of the ruled line pattern in four directions, top, bottom, left, and right. In Figure 2 (person), ■ is to the right of the ruled line pattern component, ■ is to the top, ■ is to the left,
■ corresponds to the downward direction.

第2図(B)は罫線種と罫線コード内の罫線ビットとの
対応の一例を示す図である。第2図(B)において例え
ば罫線が実線の場合(01)を、点線の場合(1o)を
、太線の場合(11)を、また罫線を消去する場合(0
0)を罫線コード内の所定の位置ヘセットする。
FIG. 2(B) is a diagram showing an example of the correspondence between ruled line types and ruled line bits in a ruled line code. In Fig. 2 (B), for example, when the ruled line is a solid line (01), when it is a dotted line (1o), when it is a thick line (11), and when the ruled line is deleted (0
0) to a predetermined position within the ruled line code.

第2図(C)はカーソル移動に伴う罫線生成の様子を示
す図である。上下左右のそれぞれの方向へのカーソル移
動に伴って、当該位置およびカーソル移動方向に隣接す
る位置のビット操作を行なう。
FIG. 2(C) is a diagram showing how ruled lines are generated as the cursor moves. As the cursor moves in the up, down, left, and right directions, bit operations are performed at the relevant position and at positions adjacent to the cursor movement direction.

第2図(D)は3線種の場合の罫線基本パターン12種
と罫線ビットとの対応を示す図で、に)内は罫線ビット
を表わしている。
FIG. 2(D) is a diagram showing the correspondence between the 12 basic ruled line patterns and the ruled line bits in the case of three line types, and the numbers in parentheses ( ) represent the ruled line bits.

第2図(E)は罫線パターン発生の様子を示す図である
。第2図(E)では罫線パターン構成要素の内、右方向
には点線、上方向と下方向には実線、左方向には太線の
要素を持つ罫線を生成している。
FIG. 2(E) is a diagram showing how a ruled line pattern is generated. In FIG. 2(E), among the ruled line pattern components, ruled lines are generated that have dotted line elements in the right direction, solid lines in the upper and lower directions, and thick line elements in the left direction.

第3図は罫線生成処理の概要を示すフローチャートであ
る。第3図において、ステップ101で入力部より受は
付けられた入カキ−はステップ102でλNKキーかカ
ーソルキーかを判定された後、ANKキーならば文字コ
ード生成プロセスへ分岐し、カーソルキーならばステッ
プ103で現在の罫線種を決定しステップ104でカー
ソルの移動方向を判定する。ステップ105および10
6で現在位置の罫線コードを生成し、現在位置の罫線ビ
ット構成より罫線パターンを発生し表示する。ステップ
107で入力されたカーソルキーの方向へカーソルを移
動し、ステップ108および109で現在位置に隣接す
る位置の罫線コードを生成し、現在位置に隣接する位置
の罫線ビット構成より罫線パターンを発生し表示する。
FIG. 3 is a flowchart showing an overview of ruled line generation processing. In FIG. 3, the input key accepted from the input unit in step 101 is determined in step 102 as to whether it is a λNK key or a cursor key, and if it is an ANK key, the process branches to the character code generation process; For example, in step 103, the current ruled line type is determined, and in step 104, the direction of movement of the cursor is determined. Steps 105 and 10
6, a ruled line code at the current position is generated, and a ruled line pattern is generated and displayed from the ruled line bit configuration at the current position. The cursor is moved in the direction of the input cursor key in step 107, and in steps 108 and 109, a ruled line code at a position adjacent to the current position is generated, and a ruled line pattern is generated from the ruled line bit configuration at the position adjacent to the current position. indicate.

発明の効果 以上の説明のように、本発明によれば罫線の交点や分岐
点において、線種の異なる罫線同士の接続の態様に応じ
て最適な罫線コードを容易に生成し、また必要最小限の
罫線基本パターンから効率よく罫線パターンを発生させ
ることができ、文書作成装置における罫線処理を行なう
際に極めて有用である。
Effects of the Invention As explained above, according to the present invention, an optimal ruled line code can be easily generated at the intersection or branching point of ruled lines according to the manner of connection between ruled lines of different line types, and the necessary minimum code can be easily generated. A ruled line pattern can be efficiently generated from a basic ruled line pattern, and is extremely useful when performing ruled line processing in a document creation device.

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

第1図は本発明の一実施例の文書作成装置を示すブロッ
ク図、第2図(A)は文字コードバッファ内の罫線コー
ドを表現するデータ構造および罫線データ内の罫線ビッ
トと罫線パターンの上下左右4方向の構成要素との対応
図、第2図(B)は罫線種と罫線コード内の罫線ビット
との対応図。 第2図(C)はカーソル移動に伴う罫線生成の様子を示
すパターン図、第2図(D)は3線種の場合の罫線基本
パターン12種と罫線ビットとの対応を示すパターン図
、第2図(K)は罫線パターン発生の様子を示すパター
ン図、第3図は罫線生成処理の概要を示すフローチャー
トである。 1・・・・・・入力部、2・・・・・・カーソル制御部
、3・・・・・・罫線コード生成部、4・・・・・・文
字コード生成部、5・・・・・・文字コードバッフ7ポ
インタ、6・・・・・・文字コードバッファ、7・・・
・・・罫線パターン発生部、8・・・・・・文字パター
ン発生部、9・・・・・・表示部。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 第2図 第2図 <C> ■現在刀−ソルのゐろ位置 第2図 C00OOOOOI)  C00000100)COO
OlooO(D  C0100OOOO)(00000
010)  <00001000)  <001000
00)  <10000000)<ooooooll)
  <ooOolloの (00110000ン Cl
100OOQの第3図
FIG. 1 is a block diagram showing a document creation device according to an embodiment of the present invention, and FIG. 2 (A) is a data structure expressing a ruled line code in a character code buffer, ruled line bits in ruled line data, and the upper and lower sides of a ruled line pattern. FIG. 2B is a diagram showing the correspondence between the constituent elements in the four left and right directions, and FIG. 2B is a diagram showing the correspondence between the ruled line types and the ruled line bits in the ruled line code. FIG. 2(C) is a pattern diagram showing how ruled lines are generated as the cursor moves; FIG. 2(D) is a pattern diagram showing the correspondence between 12 basic ruled line patterns and ruled line bits for three line types; FIG. 2(K) is a pattern diagram showing how a ruled line pattern is generated, and FIG. 3 is a flowchart showing an overview of ruled line generation processing. 1... Input section, 2... Cursor control section, 3... Ruled line code generation section, 4... Character code generation section, 5... ...Character code buffer 7 pointer, 6...Character code buffer, 7...
... ruled line pattern generation section, 8 ... character pattern generation section, 9 ... display section. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure 2 Figure 2 <C> ■ Current sword - Sol's location Figure 2 C00OOOOOOI) C00000100) COO
OlooO(D C0100OOOO)(00000
010) <00001000) <001000
00) <10000000) <ooooooll)
<ooOollo's (00110000n Cl
Figure 3 of 100OOQ

Claims (1)

【特許請求の範囲】[Claims] 文字や罫線の入力およびキー操作を行なうための入力部
と、前記入力部のキー操作によって現在の座標位置を制
御するカーソル制御部と、前記入力部より入力された文
字および罫線を格納する文字コードバッファと、前記文
字コードバッファの内容を表示する表示部と、前記文字
コードバッファの当該位置に罫線コードを生成し格納す
る罫線コード生成部とを備え、前記入力部のキー操作に
伴うカーソル移動および前記文字コードバッファ内に既
に格納された罫線コードの内容に相関して、前記文字コ
ードバッファに最適な罫線コードを生成することを特徴
とする文書作成装置。
an input section for inputting characters and ruled lines and key operations; a cursor control section for controlling the current coordinate position by key operations on the input section; and a character code for storing characters and ruled lines input from the input section. A buffer, a display section that displays the contents of the character code buffer, and a ruled line code generation section that generates and stores a ruled line code at the corresponding position of the character code buffer, A document creation device that generates an optimal ruled line code for the character code buffer in correlation with the contents of the ruled line code already stored in the character code buffer.
JP60142895A 1985-06-28 1985-06-28 Document generator Pending JPS623291A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60142895A JPS623291A (en) 1985-06-28 1985-06-28 Document generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60142895A JPS623291A (en) 1985-06-28 1985-06-28 Document generator

Publications (1)

Publication Number Publication Date
JPS623291A true JPS623291A (en) 1987-01-09

Family

ID=15326095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60142895A Pending JPS623291A (en) 1985-06-28 1985-06-28 Document generator

Country Status (1)

Country Link
JP (1) JPS623291A (en)

Similar Documents

Publication Publication Date Title
JPH07220109A (en) Information processing apparatus and method
JPS623291A (en) Document generator
JPH0525115B2 (en)
JP2560999B2 (en) String output method
JP2561000B2 (en) String output method
JPS61186994A (en) document creation device
JPS5962895A (en) Ruled line repetition control method for word processors, etc.
JPH07271548A (en) String output method
JPH0643836Y2 (en) Character output device
JP2860023B2 (en) Diagonal ruled line display switching method
JP2616427B2 (en) String display device
JPH01116816A (en) Cursor display method
JPS6295586A (en) Sentence processor with frame composition function
JP2613226B2 (en) How to edit formula input
JP2753015B2 (en) Attribute input method
JPH0334098B2 (en)
JPS6314194A (en) Editor/register for character pattern
JP2616426B2 (en) String display device
JPH0528434B2 (en)
JPH01134685A (en) System for inputting circuit block pattern
JPS60130792A (en) Automatic ruled line drawing method
JPH05289844A (en) Keyboard input direction control method
JPH0650088U (en) Character string output device
JPS6133567A (en) Display method of document processor
JPH0650086U (en) Character string output device