JPS61107466A - Word processor - Google Patents

Word processor

Info

Publication number
JPS61107466A
JPS61107466A JP59228534A JP22853484A JPS61107466A JP S61107466 A JPS61107466 A JP S61107466A JP 59228534 A JP59228534 A JP 59228534A JP 22853484 A JP22853484 A JP 22853484A JP S61107466 A JPS61107466 A JP S61107466A
Authority
JP
Japan
Prior art keywords
line type
line
registered
pattern
registration
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
JP59228534A
Other languages
Japanese (ja)
Inventor
Eri Yamashita
山下 恵里
Masakatsu Matsudou
松堂 政勝
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering Corp
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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP59228534A priority Critical patent/JPS61107466A/en
Publication of JPS61107466A publication Critical patent/JPS61107466A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To facilitate new registration or change of kind of line at a user side by providing several pattern tables of kind of line to be selected by a registration table of kind of line. CONSTITUTION:A first registration table of kind of line 21, which is indexed based on a registration number of kind of line according to the command input by a user, is provided in an RAM inside a main body. First addresses of several second tables (pattern table of kind of line 22) in which the pattern of the line of the corresponding registration number of kind of line is registered are stored in that table, and the corresponding pattern table of kind of line is accessed. Some iteration of a combination of the printing dot length and blank dot length of the pattern of kind of line is stored in that table, and it is accessed when printing.

Description

【発明の詳細な説明】 [発明の技術分野] 本発明は図形処理機能をもつワードプロセッサに関する
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a word processor with graphic processing functionality.

[発明の技術的背景とその問題点] 従来、図形処理機能を有してなる日本語ワードプロセッ
サに於いて、図形処理に於ける線種パターンは、内部の
特定テーブルへ基本ドツトパターンとして記憶しておき
、このドットパターンデー夕を繰返し読出すことによっ
て、線パターンを表示又は印字出力していた。
[Technical background of the invention and its problems] Conventionally, in Japanese word processors having graphic processing functions, line type patterns in graphic processing are stored as basic dot patterns in an internal specific table. By reading out the dot pattern data repeatedly, the line pattern was displayed or printed out.

しかしながら、このような従来の線パターン生成手段に
於いては、システム内で決められた線種しか使用できず
、線種の数も限定され、又、線種パターンの変更、増加
等が必要となった場合、その処理が容易に行なえないと
いう不都合が生じていた。
However, in such conventional line pattern generation means, only the line types determined within the system can be used, the number of line types is also limited, and it is necessary to change or increase the line type pattern. When this happens, there is an inconvenience that the process cannot be easily carried out.

[発明の目的] 本発明は上記実情に鑑みなされたもので、必要とする線
種パターンの登録が容易に行なえ、これによって線種の
増加、変更等がユーザレベルで容易に行なえるワードプ
ロセッサを提供することを目的とする。
[Object of the Invention] The present invention has been made in view of the above-mentioned circumstances, and provides a word processor in which necessary line type patterns can be easily registered, and thereby line types can be easily increased or changed at the user level. The purpose is to

[発明の概要] 本発明は、線種パターンの登録テーブルを持ち、該テー
ブルに所望の線種パターン情報を登録して、上記テーブ
ルの指定手段により指定したテーブルの読出しデータを
もとに線ドツトパターンを生成し出力する構成としたも
ので、これにより、ユーザが容易に任意の線種を容易に
登録でき、所望の線種による図形を表示又は印字出力で
きるとともに、線種の変更が極めて容易に行なえる。
[Summary of the Invention] The present invention has a line type pattern registration table, registers desired line type pattern information in the table, and executes line dot processing based on the read data of the table specified by the table specifying means. It has a configuration that generates and outputs patterns. This allows the user to easily register any line type, display or print out figures using the desired line type, and extremely easily change the line type. can be done.

[発明の実施例] 以下図面を参照して本発明の一実施例を説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例に於ける要部の構成を示すブ
ロック図である。図中、11は文書情報、更には線種の
登録要求等をインプットするためのキーボード(KB)
、第2は文書情報、更には図形の線種登録データ、線種
登録結果、線(例えば破線)パターン等を表示出力する
CRTディスプレイ装置、13はキーボード11より入
力されたコマンドの分析を行ない、線種パターン登録装
置14へ登録要求等を行なう演算装置、14は演算装置
13からの登録要求により線種パターンの登録処理を行
なう線種パターン登録装置、15は上記コマンドによる
線種パターンの印字ドツト長、空白ドツト長等  ・”
を記憶するRAMである。16は線パターンの展開処理
時に於けるRAM15に登録された線種パターンの印字
ドツト位置/空白ドツト位置を示すレジスタであり、例
えば登録された印字ドツト長を[6コとすると、現在ド
ツトを印字している位置が[1]〜[6コの何れのドツ
ト位置であるかを示している。17は登録された線種パ
ターン情報のうちの展開処理対象となる印字ドツト長/
空白ドツト長の情報格納位置を指定するレジスタであり
、RA M 15内に於ける現在処理中の線種登録テー
ブル内の印字ドツト長/空白ドツト長の格納位置く示し
ている。
FIG. 1 is a block diagram showing the configuration of essential parts in an embodiment of the present invention. In the figure, 11 is a keyboard (KB) for inputting document information, line type registration requests, etc.
, the second is a CRT display device that displays and outputs document information, as well as graphic line type registration data, line type registration results, line (for example, broken line) patterns, etc.; 13 analyzes commands input from the keyboard 11; A calculation device that makes a registration request to the line type pattern registration device 14, 14 a line type pattern registration device that registers a line type pattern in response to a registration request from the calculation device 13, and 15 a printing dot of the line type pattern according to the above command. length, blank dot length, etc. ・”
This is a RAM that stores . Reference numeral 16 is a register indicating the print dot position/blank dot position of the line type pattern registered in the RAM 15 during line pattern development processing.For example, if the registered print dot length is [6], the current dot is printed. This indicates which dot position from [1] to [6]. 17 is the print dot length to be developed among the registered line type pattern information/
This register specifies the storage position of blank dot length information, and indicates the storage position of print dot length/blank dot length in the line type registration table currently being processed in the RAM 15.

第2図は上記第1図に示すRAM15内に設けられた線
種登録テーブルの構成を示すもので、ここでは、外部か
らの登録番号によって索引される第1の線種登録テープ ル(以下1stテーブルと称す)21と、このIStテ
ーブル21によって選択される複数の第2の線種登録テ
ーブル(以下2ndテーブルと称す)22・・・とでな
り、上記1stテーブル21には前記各2ndテーブル
22・・・の先頭アドレスが登録され、前記2ndテー
ブル22・・・にはそれぞれ固有の線種パターン情報が
登録される。この各2ndテーブル22・・・に登録さ
れる線種パターン情報は、印字ドツト長と空白ドツト長
とを一組(ベア)とした登録データと、そのデータベア
数(nx2>を示す情報とからなる。
FIG. 2 shows the configuration of the line type registration table provided in the RAM 15 shown in FIG. ) 21, and a plurality of second line type registration tables (hereinafter referred to as 2nd tables) 22 selected by this ISt table 21. . . are registered, and unique line type pattern information is registered in the second table 22 . The line type pattern information registered in each of the 2nd tables 22... is based on registered data in which a print dot length and a blank dot length are set as a set (bare), and information indicating the number of data bears (nx2>). Become.

第3図は上記実施例に於ける登録処理フローを示すフロ
ーチャートであり、ここでは入力パラメータチェックの
チェック対象となる入力データとして、登録番号(0−
N>を指定するPl、登録データベア数(n/2)を示
すP2、登録データアドレスを示すP3等がある。
FIG. 3 is a flowchart showing the registration processing flow in the above embodiment. Here, the registration number (0-
There are Pl that specifies N>, P2 that indicates the number of registered data bears (n/2), P3 that indicates the registered data address, etc.

第4図は線パターン(ここでは破線パターン)の印字処
理フローを示すフローチャートであり、ここでは、線(
破線)パターンの印字スタート位置をXo 、 Vo 
、印字終了位置を)l 、Vxとしている。
FIG. 4 is a flowchart showing the printing process flow for a line pattern (here, a broken line pattern);
(Dotted line) Set the printing start position of the pattern as Xo, Vo.
, the print end position is )l and Vx.

第5図は上記レジスタ16.17の更新処理フローを示
すフローチャートである。
FIG. 5 is a flowchart showing the updating processing flow of the registers 16 and 17.

ここで第1図乃至第5図を参照して一実施例の動作を説
明する。先ず第1図乃至第3図を参照して線種登録処理
動作を説明する。線種パターン登録要求の入力データと
して、登録番号(0〜N)を指定するPl、登録データ
ベア数(n/2)を示すP2、登録データアドレスを示
すP3の各データがキーボード11より入力される。こ
の入力データは演算装置第2により正否のチェックがな
され、異常であれば処理を終了し、正常であれば、線種
パターン登録装置14に制御が移されて、上記P1デー
タにより、第2図に示すistテーブル21が索引され
、破線データを格納するための2ndテーブル22の先
頭アドレスが求められる。そして、その該当2ndテー
ブル22内のデータベア数格納エリア(nX2)に、P
2X2 (データベア数が1組であれば2)の値が記憶
され、更に、P3データで示されるアドレスからP2×
2の破線データ(印字ドツト長・空白ドツト長)が読出
されて、該データが上記2ndテーブル22の登録デー
タ格納エリアに記憶される。この際の登録処理フローを
第31′   図に示している。
The operation of one embodiment will now be described with reference to FIGS. 1 to 5. First, the line type registration processing operation will be explained with reference to FIGS. 1 to 3. As input data for the line type pattern registration request, the following data is input from the keyboard 11: Pl specifying the registration number (0 to N), P2 indicating the number of registered data bears (n/2), and P3 indicating the registered data address. Ru. This input data is checked for correctness by the second arithmetic unit, and if it is abnormal, the process is terminated, and if it is normal, control is transferred to the line type pattern registration device 14, and based on the P1 data, the processing shown in FIG. The ist table 21 shown in is indexed, and the start address of the second table 22 for storing the broken line data is determined. Then, in the data bear number storage area (nX2) in the corresponding 2nd table 22, P
The value of 2X2 (2 if the number of data bears is 1 set) is stored, and furthermore, from the address indicated by P3 data, P2
The second broken line data (print dot length/blank dot length) is read out and stored in the registered data storage area of the second table 22. The registration processing flow at this time is shown in FIG. 31'.

このようにして、必要とする種類の線種データが2nd
テーブル22・・・に登録される。 次に、上記線種登
録テーブル<1Sけ−プル21,2ndテーブル22)
を用いた線パターンの印字出力処理動作を第1図、第2
図、及び第4図を参照して説明する。
In this way, the required type of line type data is
It is registered in table 22... Next, the above line type registration table <1S key pull 21, 2nd table 22)
Figures 1 and 2 show the line pattern print output processing operation using
This will be explained with reference to FIG.

ここでは、印字スタート位置をXa 、 Vo 、印字
終了位置を×1.l+ とした破線パターンを例に取っ
て説明する。先ず破線印字処理要求があると、レジスタ
16.17の初期設定、及び印字スタート位置のセット
が行われ、その後、上記レジスタ16゜17の内容をも
とに指定位置(Xa 、 ya−+X!。
Here, the printing start position is Xa, Vo, and the printing end position is x1. This will be explained by taking a broken line pattern as l+ as an example. First, when there is a request for broken line printing, the registers 16 and 17 are initialized and the print start position is set, and then the specified position (Xa, ya-+X!, etc.) is set based on the contents of the registers 16 and 17.

yl)への破線パターンの展開処理が実行される。yl) is executed.

ここではレジスタ17の値が偶数値の場合はドツト印字
を行ない、奇数値の場合はドツト印字を行なわない。そ
して印字処理が終了したならば(現印“字位置Xが印字
終了位置×1となったとき)、その破線印字処理を終了
する。又、印字を続行するならば、次の印字位置(x、
y)の設定を行ない、レジスタ16.17の更新処理を
行ない、印字終了(X=Xt )になるまで上記処理を
繰返し実行す     ;1する。この際の印字処理フ
ローを第4図に示している。
Here, if the value of the register 17 is an even value, dot printing is performed, and if it is an odd value, no dot printing is performed. Then, when the printing process is completed (when the current print character position ,
y), update registers 16 and 17, and repeat the above process until printing is completed (X=Xt). The printing process flow at this time is shown in FIG.

ここで、上記レジスタ16.17の更新制御を第5図を
参照して説明する。ここでは、登録データベア数−1,
印字ドツト長−4,空白ドツト長=2とした場合の処理
を例にとる。コール(CALL)されてくる時のレジス
タ16.17の値は何れも「0」となっている。コール
されると、レジスタ16をカウントアツプし、レジスタ
17で示される2ndテーブル22の内容(この例では
4)と一致するまでレジスタ16の値がカウントアツプ
される。そして一致が取れると、レジスタ16の初期設
定を行ない、レジスタ17をカウントアツプする。これ
によりレジスタ17は次に空白ドツト長の位置を指定し
、その内容に従うドツト数だけ空白の印字処理が行われ
る。ここでは空白を2ドツト打ち、レジスタ16の値が
、レジスタ11で指定する2ndテーブル22の内容(
この例では2)と一致することによって、上記レジスタ
17がカウントアツプされる。この例では登録データベ
ア数が「1」、即ち、選択された2ndテーブル22に
格納された破線パターンのデータ長が二つであるため、
ここでレジスタ17の値を初期設定する。
Here, update control of the registers 16 and 17 will be explained with reference to FIG. Here, the number of registered data bears - 1,
Let us take as an example the processing when the print dot length is -4 and the blank dot length is set to 2. When a call is made, the values of registers 16 and 17 are both "0". When called, the value of the register 16 is counted up until it matches the contents of the second table 22 indicated by the register 17 (4 in this example). When a match is found, the register 16 is initialized and the register 17 is counted up. As a result, the register 17 then specifies the position of the blank dot length, and the blank printing process is performed for the number of dots according to the specified content. Here, double dot the blank, and the value of register 16 will be the content of 2nd table 22 specified by register 11 (
In this example, by matching 2), the register 17 is counted up. In this example, the number of registered data bears is "1", that is, the data length of the broken line pattern stored in the selected 2nd table 22 is two.
Here, the value of register 17 is initialized.

このようにして、コールされる度に、レジスタ16、1
7の更新処理が行なわれ、当該レジスタ16゜17の値
によって、破線パターンの印字/空白の展開処理が順次
実行される。
In this way, each time it is called, registers 16, 1
7 is performed, and the dashed line pattern printing/blank development processing is sequentially executed according to the values of the registers 16 and 17.

上述したような線種パターンの生成処理により、メモリ
容量を増やすことなく、必要とする複数種の線パターン
を印字又は表示出力できる。又、2ndテーブル22・
・・に複数種の線種パターン情報を登録しておき、所望
する線種に応じて2ndテーブル22を指定することに
より、所望の線パターンを容易に印字又は表示出力でき
、又、線種の変更が極めて簡単に行なえる。
By the line type pattern generation process as described above, it is possible to print or display a plurality of required line patterns without increasing the memory capacity. Also, 2nd table 22・
By registering multiple types of line type pattern information in . . . and specifying the 2nd table 22 according to the desired line type, the desired line pattern can be easily printed or displayed. Changes can be made very easily.

[発明の効果] 以上詳記したように本発明によれば、図形処理機能をも
つワードプロセッサに於いて、線種パターンの登録テー
ブルを持ち、該テーブルに所望の線種パターン情報を登
録して、上記テーブルの指定手段により指定したテーブ
ルの読出しデータをもとに線ドツトパターンを生成し出
力する構成としたことにより、ユーザが容易に任意の線
種を容易に登録でき、所望の線種による図形を表示又は
印字出力できるとともに、線種の変更を極めて容易に行
なうことができる。
[Effects of the Invention] As detailed above, according to the present invention, a word processor having a graphic processing function has a registration table for line type patterns, registers desired line type pattern information in the table, By creating a configuration in which a line dot pattern is generated and output based on the read data of the table specified by the above table specification means, the user can easily register any line type, and the desired line type can be used to create figures. can be displayed or printed out, and the line type can be changed extremely easily.

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

第1図は本発明の一実施例に於ける要部の構成を示すブ
ロック図、第2図は上記実施例に於ける線種登録テーブ
ルの構成を示す図、第3図、第4図、第5図はそれぞれ
上記実施例に於ける動作を説明するためのフローチャー
トである。 11・・・キーボード、第2・・・CRTディスプレイ
装置、13・・・演算装置、14・・・線種パターン登
録装置、15・・・RAM、 16.17・・・レジス
タ、21・・・第1の線種登録テーブル(1Stテーブ
ル)、22・・・第2の線種登録テーブル(2ndテー
ブル)。 出願人代理人 弁理士 鈴江武彦 第1図 M3図 第4図 (C)≧(デー7;Lうと、!11アル人中E)(E)
>J皮蛛チー7長 1′ 第5図
FIG. 1 is a block diagram showing the configuration of essential parts in an embodiment of the present invention, FIG. 2 is a diagram showing the structure of a line type registration table in the above embodiment, FIGS. 3, 4, FIG. 5 is a flow chart for explaining the operation in each of the above embodiments. DESCRIPTION OF SYMBOLS 11...Keyboard, 2nd...CRT display device, 13...Arithmetic unit, 14...Line type pattern registration device, 15...RAM, 16.17...Register, 21... A first line type registration table (1St table), 22... a second line type registration table (2nd table). Applicant's representative Patent attorney Takehiko Suzue Figure 1 M3 Figure 4 (C) ≧ (Day 7;
>J Hinahichi 7 length 1' Figure 5

Claims (3)

【特許請求の範囲】[Claims] (1)図形処理機能をもつワードプロセッサに於いて、
外部より指定される登録番号によって索引される第1の
線種登録テーブルと、この第1の線種登録テーブルによ
って選択される複数の第2のテーブルとをもち、前記第
1の線種登録テーブルには前記第2の線種登録テーブル
それぞれの先頭アドレスを登録し、前記第2の線種登録
テーブルにはそれぞれ固有の線種パターン情報を登録し
て、外部の線種指定に従い、前記第1の線種登録テーブ
ルを索引して前記第2の線種登録テーブルを選択し、該
テーブルに登録された線種パターン情報をもとに線パタ
ーンを印字出力することを特徴としたワードプロセッサ
(1) In a word processor with graphic processing functions,
The first line type registration table has a first line type registration table indexed by an externally specified registration number and a plurality of second tables selected by the first line type registration table. The first address of each of the second line type registration tables is registered in the second line type registration table, unique line type pattern information is registered in each of the second line type registration tables, and the first address is registered in the second line type registration table. 1. A word processor that indexes a line type registration table, selects the second line type registration table, and prints out a line pattern based on line type pattern information registered in the table.
(2)前記第2のテーブルには、印字ドット長と空白ド
ット長からなるデータが登録される特許請求の範囲第1
項記載のワードプロセッサ。
(2) In the second table, data consisting of print dot length and blank dot length is registered.
Word processor as described in section.
(3)図形処理機能をもつワードプロセッサに於いて、
印字ドット長と空白ドット長を対にした線種パターン情
報の登録手段と、印字出力される線パターンの印字ドッ
ト位置/空白ドット位置を示す第1のレジスタと、前記
登録された線種パターン情報のうち、展開処理対象とな
る印字ドット長/空白ドット長の情報格納位置を指定す
る第2のレジスタとを有し、前記第1、第2のレジスタ
を指定線種に従い更新制御して、その更新内容に従い順
次線ドットパターンを生成することを特徴としたワード
プロセッサ。
(3) In word processors with graphic processing functions,
A registration means for line type pattern information in which a print dot length and a blank dot length are paired; a first register indicating a print dot position/blank dot position of a line pattern to be printed; and the registered line type pattern information. Of these, it has a second register that specifies the storage position of information on print dot length/blank dot length to be expanded, and controls updating of the first and second registers according to the specified line type. A word processor characterized by sequentially generating line-dot patterns according to updated contents.
JP59228534A 1984-10-30 1984-10-30 Word processor Pending JPS61107466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59228534A JPS61107466A (en) 1984-10-30 1984-10-30 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59228534A JPS61107466A (en) 1984-10-30 1984-10-30 Word processor

Publications (1)

Publication Number Publication Date
JPS61107466A true JPS61107466A (en) 1986-05-26

Family

ID=16877908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59228534A Pending JPS61107466A (en) 1984-10-30 1984-10-30 Word processor

Country Status (1)

Country Link
JP (1) JPS61107466A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143596A (en) * 1991-11-20 1993-06-11 Sharp Corp Word processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143596A (en) * 1991-11-20 1993-06-11 Sharp Corp Word processor

Similar Documents

Publication Publication Date Title
JPS60107357A (en) Word-processor
JPH0568735B2 (en)
JPS6174063A (en) Data output system
JPH04306B2 (en)
JPS61107466A (en) Word processor
JPH0962175A (en) Word processor
JPH0522933B2 (en)
JPS6236252B2 (en)
JPH0615317Y2 (en) Document processor
JP2705690B2 (en) Display control device
JPH08305777A (en) Table data processor
JP3082940B2 (en) Character processing apparatus and method
JP2903516B2 (en) Document processing device
JPH03250360A (en) Sentence processor
JP2570070B2 (en) Electronic display
JP2698825B2 (en) Electronic display
JPS62118382A (en) Document format alteration system
JPH08185324A (en) System and method for processing information
JPH0554180A (en) Slop format defining system for optical character reader
JPS6012648B2 (en) Display control method
JPH053009B2 (en)
JPH0363758A (en) Document preparation supporting device
JPH03163659A (en) Interactive numerical expression input system
JPS635467A (en) Idiom registration device
JPH0424762A (en) Document processor with frame editing function