Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH087744B2 - Document creation device - Google Patents
[go: Go Back, main page]

JPH087744B2 - Document creation device - Google Patents

Document creation device

Info

Publication number
JPH087744B2
JPH087744B2 JP60028643A JP2864385A JPH087744B2 JP H087744 B2 JPH087744 B2 JP H087744B2 JP 60028643 A JP60028643 A JP 60028643A JP 2864385 A JP2864385 A JP 2864385A JP H087744 B2 JPH087744 B2 JP H087744B2
Authority
JP
Japan
Prior art keywords
ruled line
cursor
code
input
coordinate position
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
JP60028643A
Other languages
Japanese (ja)
Other versions
JPS61186994A (en
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 JP60028643A priority Critical patent/JPH087744B2/en
Publication of JPS61186994A publication Critical patent/JPS61186994A/en
Publication of JPH087744B2 publication Critical patent/JPH087744B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 産業上の利用分野 本発明は文書作成装置に関し、特に罫線コードを生成
する過程において、罫線の交点や分岐点に応じて最適な
罫線コード生成を行なうようにした文書作成装置に関す
るものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document creating apparatus, and more particularly, to creating an optimum ruled line code according to an intersection or a branch point of a ruled line in a process of creating a ruled line code. It relates to the device.

従来の技術 罫線コードを生成し表示画面上に表示するに当たって
は、罫線の始点と終点とをカーソルの位置で指定する
か、または、座標値を数字で入力する方法、あるいはカ
ーソルの移動に伴って罫線を生成する方法等がある。し
かしながら、いずれの方法でも当該位置の上方位置の文
字コード、下方位置の文字コード、左方位置の文字コー
ド、および右方位置の文字コードを参照し文字コードが
罫線であるかどうかを判断した後に、罫線接続の態様に
応じて当該位置に罫線コードを生成する必要があった
(例えば、特開昭58−14239号公報)。
Conventional technology When generating a ruled line code and displaying it on the display screen, specify the start and end points of the ruled line with the cursor position, or enter the coordinate values with numbers, or move the cursor. There is a method of generating ruled lines. However, in either method, after determining whether the character code is a ruled line by referring to the character code at the upper position of the position, the character code at the lower position, the character code at the left position, and the character code at the right position. It is necessary to generate a ruled line code at the position according to the mode of ruled line connection (for example, Japanese Patent Laid-Open No. 58-14239).

発明が解決しようとする問題点 このような従来の技術では、当該位置に隣接する上下
左右4方向の罫線コードを判断した後に当該位置の罫線
コードを決定しなければならず、罫線生成が非常に煩雑
なものになっている。本発明は上記問題点に鑑み、容易
に罫線を生成できる文書作成装置を提供することを目的
としている。
Problems to be Solved by the Invention In such a conventional technique, the ruled line code of the position must be determined after determining the ruled line codes in the four directions of up, down, left, and right that are adjacent to the position. It's complicated. 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 apparatus that can easily generate ruled lines.

問題点を解決するための手段 本発明は上記問題点を解決するため、文字キー及びカ
ーソル移動キーを含む入力部と、上記入力部の操作に応
じてカーソルのある入力座標位置を移動制御するカーソ
ル制御部と、上記入力部から入力された上記カーソル移
動キーの方向に従って、カーソル移動前後の隣接する2
つの入力座標位置に罫線コードを生成する罫線コード生
成部と、上記入力部から入力された文字及び上記罫線コ
ードを格納する文字コードバッファと、上記文字コード
バッファの内容を表示する表示部から構成されるととも
に、上記罫線コードのデータ構造が、罫線であることを
特定するコードと、罫線を構成する上下左右4方向の各
々の構成要素の有無に対応した罫線構成ビットからな
り、罫線を生成する場合、カーソル移動と同時にカーソ
ル移動前後の隣接する2つの入力座標位置にカーソル移
動の方向に応じた上記罫線構成ビットをオン又はオフす
ることにより、入力座標位置以外の上記罫線構成ビット
又は罫線パターンを識別することなく、上記文字コード
バッファ内に上記罫線コードを生成させるものである。
Means for Solving the Problems In order to solve the above problems, the present invention provides an input unit including a character key and a cursor moving key, and a cursor for moving and controlling an input coordinate position of the cursor according to an operation of the input unit. Adjacent two before and after the cursor movement according to the direction of the cursor movement key input from the control unit and the input unit.
It is composed of a ruled line code generation unit that generates a ruled line code at one input coordinate position, a character code buffer that stores the characters input from the input unit and the ruled line code, and a display unit that displays the contents of the character code buffer. In addition, when the ruled line is generated, the data structure of the ruled line code is composed of a code for specifying that it is a ruled line and a ruled line configuration bit corresponding to the presence / absence of each of the constituent elements of the ruled line in the four directions of up, down, left and right. , The ruled line configuration bit or ruled line pattern other than the input coordinate position is identified by turning on or off the ruled line configuration bit corresponding to the direction of cursor movement at two adjacent input coordinate positions before and after the cursor movement. Without doing so, the ruled line code is generated in the character code buffer.

作用 本発明は上記構成により、罫線コード生成部ではカー
ソル位置および入力部のカーソル移動キーで指示された
方向に隣接する位置に対応する文字コードバッファ内の
実アドレスを算出し、カーソル位置の罫線構成ビットの
うち移動方向に対応するビットおよび移動方向に隣接す
る位置の罫線構成ビットのうち移動してくる方向に対応
するビットをセットすることにより、上下左右方向の罫
線コードを判断する必要なく、当該位置およびカーソル
移動方向に隣接する位置に最適な罫線コードを生成で
き、また、この罫線コードに応じた罫線パターンを表示
部に表示できる。
According to the present invention, with the above configuration, the ruled line code generation unit calculates the real address in the character code buffer corresponding to the cursor position and the position adjacent to the direction designated by the cursor movement key of the input unit, and the ruled line configuration of the cursor position is calculated. By setting the bit corresponding to the moving direction among the bits corresponding to the moving direction and the ruled line composing bit at the position adjacent to the moving direction, it is not necessary to judge the ruled line code in the up, down, left, and right directions. An optimum ruled line code can be generated at a position adjacent to the position and the cursor movement direction, and a ruled line pattern corresponding to this ruled line code can be displayed on the display unit.

実 施 例 第1図Aは文字コードバッファ内の罫線コードを表現
するデータ構造および罫線データ構造内の罫線構成ビッ
トと罫線パターンの上下左右4方向の構成要素との対応
を示す図である。第1図Aにおいて、1は罫線パターン
構成要素の右方向に、2は上方向に、3は左方向に、4
は下方向にそれぞれ対応している。
Practical Example FIG. 1A is a diagram showing the correspondence between the data structure expressing the ruled line code in the character code buffer, the ruled line configuration bits in the ruled line data structure, and the components of the ruled line pattern in the four directions of up, down, left and right. In FIG. 1A, 1 is to the right of the ruled line pattern component, 2 is upward, 3 is left, and 4
Corresponds to the downward direction.

第1図Bは入力部のカーソル移動キーが押下された場
合の罫線生成の様子を示す図である。第1図Bにおい
て、それぞれaは右方向へのカーソル移動キーが、bは
左方向へのカーソル移動キーが、cは上方向へのカーソ
ル移動キーが、dは下方向へのカーソル移動キーが押下
された場合のカーソル位置およびカーソル移動方向に隣
接する位置の罫線生成の様子を示している。
FIG. 1B is a diagram showing how ruled lines are generated when the cursor movement key of the input unit is pressed. In FIG. 1B, a is a cursor movement key to the right, b is a cursor movement key to the left, c is an upward cursor movement key, and d is a downward cursor movement key. It shows how ruled lines are generated at a position adjacent to the cursor position and the cursor movement direction when pressed.

第1図Cは15種類の罫線パターンと罫線構成ビットと
の対応を示す図である。
FIG. 1C is a diagram showing correspondence between 15 types of ruled line patterns and ruled line configuration bits.

第2図は本発明の実施構成例を示す図である。入力部
キーボード1より入力された文字キーは、文字コード生
成部4で所定の手続きに従って文字コードに変換された
文字コードバッファ6に格納される。通常、表示画面上
のカーソルは表示部上での現在入力可能な位置を指示す
るために用いられており、カーソル制御部3では入力さ
れたカーソル移動キーの方向にカーソル位置を移動させ
る。入力部1より罫線作成が指示された後は、カーソル
移動キーは罫線コードを作成するために用いられる。罫
線コード生成部5では、当該位置および入力されたカー
ソル移動キーの方向に隣接する位置に最適な罫線コード
を生成し、文字コードバッファ6に格納する。画面制御
部8は文字コードバッファ6に格納された文字コードを
文字パターンに変換して表示するとともに、罫線パター
ン作成部7で作成された罫線パターンを表示部9に表示
する。
FIG. 2 is a diagram showing an example of an embodiment configuration of the present invention. The character key input from the input section keyboard 1 is stored in the character code buffer 6 which is converted into a character code by the character code generation section 4 according to a predetermined procedure. Normally, the cursor on the display screen is used to indicate the currently inputable position on the display unit, and the cursor control unit 3 moves the cursor position in the direction of the input cursor movement key. After the ruled line creation is instructed from the input unit 1, the cursor movement key is used to create the ruled line code. The ruled line code generation unit 5 generates a ruled line code optimum for the position and a position adjacent in the direction of the input cursor movement key and stores it in the character code buffer 6. The screen control unit 8 converts the character code stored in the character code buffer 6 into a character pattern and displays the character pattern, and displays the ruled line pattern created by the ruled line pattern creating unit 7 on the display unit 9.

第3図のような罫線を作成する場合を例にとって、罫
線生成の手順を説明する。第3図で罫線生成が指示され
た時、カーソルがX=2,Y=2の座標位置にあったとす
る。右方向移動キーを入力するとX=2,Y=2の座標位
置の右方向ビットおよびX=3,Y=2の座標位置の左方
向ビットがセットされ、それぞれ「 −」「− 」罫線
コードが生成される。続けて右方向移動キーを入力する
とX=3,Y=2の座標位置の右方向ビットがセットさ
れ、この位置の罫線構成ビットは左方向および右方向ビ
ットがセットされたことになり罫線コードは「−」に変
わる。同様にして罫線コードを生成しながら、X=8,Y
=2の座標位置までカーソル移動した後、下方向移動キ
ーを入力するとX=8,Y=2の座標位置の下方向ビット
がセットされ、この位置の罫線構成ビットは左方向およ
び下方向ビットがセットされたことになり、 の罫線コードが生成されるとともにX=8,Y=3の座標
位置の上方向ビットがセットされる。続けて下方向移動
キーを入力していくと、X=8,Y=4の座標位置には
「|」の罫線コードが生成される。このX=8,Y=4の
座標位置に注目してみると、「|」の罫線コードが生成
されている状態で、X=7,Y=4からこのX=8,Y=4の
座標位置へカーソルが移動してくると当該位置の左方向
ビットがセットされ の罫線コードが生成され、更に右方向移動キーを入力す
ると右方向ビットがセットされ の罫線コードが生成される。
The procedure for creating a ruled line will be described by taking the case of creating a ruled line as shown in FIG. 3 as an example. It is assumed that the cursor is located at the coordinate position of X = 2 and Y = 2 when the ruled line generation is instructed in FIG. When the right move key is entered, the right bit at the coordinate position of X = 2, Y = 2 and the left bit at the coordinate position of X = 3, Y = 2 are set, and the "-" and "-" ruled line codes are respectively set. Is generated. When the rightward movement key is subsequently input, the rightward bit at the coordinate position of X = 3, Y = 2 is set, and the ruled line configuration bit at this position is set to the leftward and rightward bits. It changes to "-". Similarly, while generating ruled line code, X = 8, Y
After moving the cursor to the coordinate position of = 2, if you press the downward movement key, the downward bit of the coordinate position of X = 8, Y = 2 is set, and the ruled line configuration bit at this position is the leftward and downward bits. It has been set, The ruled line code is generated and the upper bit of the coordinate position of X = 8, Y = 3 is set. When the downward movement key is continuously input, a ruled line code "|" is generated at the coordinate position of X = 8, Y = 4. Focusing on the coordinate position of X = 8, Y = 4, when the ruled line code of "|" is generated, the coordinates of X = 8, Y = 4 are changed from X = 7, Y = 4. When the cursor moves to a position, the bit to the left of that position is set. The ruled line code of is generated, and when the rightward movement key is input, the rightward bit is set. The ruled line code of is generated.

X=3,Y=2の座標位置についても同様のことがいえ
る。この位置には既に「−」の罫線コードが生成されて
いるが、X=3,Y=3の座標位置から上方向移動キーに
よりX=3,Y=2の座標位置へカーソルが移動すると、
当該位置の下方向ビットがセットされ、 の罫線コードが生成される。
The same applies to the coordinate positions of X = 3 and Y = 2. A ruled line code of "-" is already generated at this position, but when the cursor is moved from the coordinate position of X = 3, Y = 3 to the coordinate position of X = 3, Y = 2 by the upward movement key,
The down bit for that position is set, The ruled line code of is generated.

発明の効果 以上の説明のように、本発明によれば罫線の交点や分
岐点に応じて最適な罫線コードを極めて容易に生成する
ことができる。また、罫線を消去する場合にもカーソル
位置およびカーソル移動方向に隣接する位置の罫線構成
ビットをリセットすることで、罫線生成と全く同様に、
極めて容易に罫線消去を行なうことが可能となり、文書
作成装置における罫線の生成および消去を行なう際に極
めて有用である。
EFFECTS OF THE INVENTION As described above, according to the present invention, it is possible to extremely easily generate an optimum ruled line code according to an intersection or a branch point of a ruled line. Further, even when the ruled line is erased, by resetting the ruled line configuration bits at the position adjacent to the cursor position and the cursor moving direction, exactly the same as the ruled line generation,
The ruled lines can be erased very easily, which is extremely useful for generating and deleting the ruled lines in the document creating apparatus.

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

第1図Aは本発明の文書作成装置を説明するための罫線
コードのデータ構造および罫線構成ビットと罫線パター
ンの構成要素との対応を示すパターン図、第1図Bは同
カーソル移動キーの押下に伴う罫線生成の様子を示すパ
ターン図、第1図Cは同15種類の罫線パターンと罫線構
成ビットとの対応を示すパターン図、第2図は本発明の
一実施例における文書作成装置のブロック図、第3図は
同装置説明のための罫線の作成例を示すパターン図であ
る。 1……キーボード、2……キーボード制御部、3……カ
ーソル制御部、4……文字コード生成部、5……罫線コ
ード生成部、6……文字コードバッファ、7……罫線パ
ターン作成部、8……画面制御部、9……表示部。
FIG. 1A is a pattern diagram showing a data structure of a ruled line code and correspondence between ruled line configuration bits and components of a ruled line pattern for explaining the document creating apparatus of the present invention, and FIG. 1B is a press of the cursor movement key. FIG. 1C is a pattern diagram showing how ruled lines are generated according to FIG. 1, FIG. 1C is a pattern diagram showing the correspondence between the same 15 types of ruled line patterns and ruled line composing bits, and FIG. 2 is a block of the document creation device in one embodiment of the present invention. FIG. 3 and FIG. 3 are pattern diagrams showing an example of creating ruled lines for explaining the apparatus. 1 ... Keyboard, 2 ... Keyboard control unit, 3 ... Cursor control unit, 4 ... Character code generation unit, 5 ... Ruled line code generation unit, 6 ... Character code buffer, 7 ... Ruled line pattern generation unit, 8 ... Screen control unit, 9 ... Display unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文字キーおよびカーソル移動キーを含む入
力部と、前記入力部の操作に応じてカーソルのある入力
座標位置を移動制御するカーソル制御部と、前記入力部
から入力された前記カーソル移動キーの方向に従って、
カーソル移動前後の隣接する2つの入力座標位置に罫線
コードを生成する罫線コード生成部と、前記入力部から
入力された文字および前記罫線コードを格納する文字コ
ードバッファと、前記文字コードバッファの内容を表示
する表示部を有し、前記罫線コードのデータ構造が、罫
線であることを特定するコードと、罫線を構成する上下
左右4方向の各々の構成要素の有無に対応した罫線構成
ビットからなり、罫線を生成する場合、カーソル移動と
同時にカーソル移動前後の隣接する2つの入力座標位置
にカーソル移動の方向に応じ、カーソルが左から右へ移
動する場合にはカーソル移動前の座標位置の前記罫線構
成ビット右要素とカーソル移動後の座標位置の前記罫線
構成ビット左要素を、また、カーソルが上から下へと移
動する場合にはカーソル移動前の座標位置の前記罫線構
成ビット下要素とカーソル移動後の座標位置の前記罫線
構成ビット上要素を、というように各座標位置の前記罫
線構成ビット上下左右4方向のうちの対応する各一つを
それぞれオンまたはオフすることにより、入力座標位置
に隣接する座標位置の罫線構成ビット又は罫線コードを
識別することなく、前記文字コードバッファ内に前記罫
線コードを発生させ前記表示部に表示させることを特徴
とする文書作成装置。
1. An input unit including a character key and a cursor movement key, a cursor control unit for controlling movement of an input coordinate position where a cursor is located in response to an operation of the input unit, and the cursor movement input from the input unit. According to the direction of the key,
A ruled line code generation unit that generates a ruled line code at two adjacent input coordinate positions before and after the cursor movement, a character code buffer that stores the characters input from the input unit and the ruled line code, and contents of the character code buffer are stored. And a display unit for displaying, wherein the data structure of the ruled line code is composed of a code for specifying that it is a ruled line and a ruled line configuration bit corresponding to the presence or absence of each constituent element in four directions of up, down, left and right, which configures the ruled line, When a ruled line is generated, the ruled line configuration of the coordinate position before the cursor is moved when the cursor moves from left to right according to the direction of the cursor moving to two adjacent input coordinate positions before and after the cursor moves at the same time as the cursor moves. The bit right element and the ruled line configuration bit left element at the coordinate position after cursor movement, or when the cursor moves from top to bottom The ruled line composing bit lower element at the coordinate position before the sol movement and the ruled line composing bit upper element at the coordinate position after the cursor are moved, and so on. By turning each one on or off, the ruled line code is generated in the character code buffer and displayed on the display unit without identifying the ruled line configuration bits or the ruled line code at the coordinate position adjacent to the input coordinate position. A document creation device characterized by the above.
JP60028643A 1985-02-15 1985-02-15 Document creation device Expired - Lifetime JPH087744B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60028643A JPH087744B2 (en) 1985-02-15 1985-02-15 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60028643A JPH087744B2 (en) 1985-02-15 1985-02-15 Document creation device

Publications (2)

Publication Number Publication Date
JPS61186994A JPS61186994A (en) 1986-08-20
JPH087744B2 true JPH087744B2 (en) 1996-01-29

Family

ID=12254196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60028643A Expired - Lifetime JPH087744B2 (en) 1985-02-15 1985-02-15 Document creation device

Country Status (1)

Country Link
JP (1) JPH087744B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2751197B2 (en) * 1988-04-06 1998-05-18 富士ゼロックス株式会社 Image processing device
JP2755833B2 (en) * 1991-02-22 1998-05-25 三洋電機株式会社 Ruled line creation device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57153392A (en) * 1981-03-19 1982-09-21 Sharp Corp Ruled line processing system
JPS58195944A (en) * 1982-05-11 1983-11-15 Sanyo Electric Co Ltd Word processor

Also Published As

Publication number Publication date
JPS61186994A (en) 1986-08-20

Similar Documents

Publication Publication Date Title
US5159664A (en) Graphic display apparatus
KR890003033B1 (en) Method
JPH087744B2 (en) Document creation device
JPH07220109A (en) Information processing apparatus and method
JPH07104756B2 (en) Information processing method
JP2692063B2 (en) Document processing device
JP2584782B2 (en) Image processing method
JPH0320857A (en) document processing device
JPS6349883A (en) Graphic processor
JP2753992B2 (en) Ruled line creation device
JPH0574090B2 (en)
JP2657091B2 (en) Document creation device
JP2753015B2 (en) Attribute input method
JP2755833B2 (en) Ruled line creation device
JPS623291A (en) Document generator
JPS6385978A (en) Graphic editing device
JPH01116816A (en) Cursor display method
JPS63292226A (en) Window movement control system
JPS60130792A (en) Automatic ruled line drawing method
JPH01159690A (en) Picture editing apparatus
JPH0628350A (en) Document editing device
JPH02204825A (en) Character pattern forming system
JPH05303478A (en) Character expanding/contracting system
JPH01216455A (en) Terminal computer
JPS62128371A (en) Multi-window controller

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term