JP2553493B2 - Tabulation method - Google Patents

Tabulation method

Info

Publication number
JP2553493B2
JP2553493B2 JP60090136A JP9013685A JP2553493B2 JP 2553493 B2 JP2553493 B2 JP 2553493B2 JP 60090136 A JP60090136 A JP 60090136A JP 9013685 A JP9013685 A JP 9013685A JP 2553493 B2 JP2553493 B2 JP 2553493B2
Authority
JP
Japan
Prior art keywords
item
cursor
items
horizontal
vertical
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
JP60090136A
Other languages
Japanese (ja)
Other versions
JPS61249087A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP60090136A priority Critical patent/JP2553493B2/en
Priority to DE19863613740 priority patent/DE3613740A1/en
Publication of JPS61249087A publication Critical patent/JPS61249087A/en
Application granted granted Critical
Publication of JP2553493B2 publication Critical patent/JP2553493B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は表を簡易に設定することの可能な表設定装置
に関する。
The present invention relates to a table setting device capable of easily setting a table.

[従来の技術] 従来、ワードプロセッサ等において表を作成しようと
した場合、横罫線や縦罫線を適宜組合わせて表形式に組
み立てて作成していた。
[Prior Art] Conventionally, when attempting to create a table in a word processor or the like, horizontal ruled lines and vertical ruled lines are appropriately combined and assembled in a table format.

また、基本となる固定された表をまず表作成作業によ
り簡易に作成して表示させておき、この表に対して表編
集作業を行なうことによりその表に列を追加したり削除
したりできるものもあった。
In addition, a basic fixed table can be created and displayed easily by the table creation work, and a table can be added to or deleted from the table by editing the table. There was also.

[発明が解決しようとする課題] しかしながら、上記のように横罫線や縦罫線を組合わ
せて表を作成する方法にあっては、その作成作業が極め
て煩雑なものとなり、所望する形態の表を簡易に作成す
ることはできないという問題があった。
[Problems to be Solved by the Invention] However, in the method of creating a table by combining horizontal ruled lines and vertical ruled lines as described above, the creation work is extremely complicated, and a table of a desired form can be created. There was a problem that it could not be created easily.

また、上記のように基本となる表を作成した後に、こ
の表に対して列挿入や列削除などの表編集作業を行なう
ことで、その表の列数を変更するものにおいては、上記
表作成作業と上記表編集作業とが独立したものとなって
おり、上記表作成作業で簡易に作成できる表が、オペレ
ータの所望するものでないときには、その表を改めて指
定して列挿入操作や列削除操作等の煩雑な表編集作業を
行なう必要があり、新規な表を作成する時点において、
所望する表を簡易に作成することができなかった。
Also, after changing the number of columns in the table by performing table editing operations such as column insertion and column deletion after creating the basic table as described above, create the above table. The work and the table editing work are independent, and when the table that can be easily created by the table creating work is not the one desired by the operator, the table is newly designated and the column inserting operation or the column deleting operation is performed. It is necessary to perform complicated table editing work such as, at the time of creating a new table,
It was not possible to easily create the desired table.

本発明の課題は、新規な表を作成する時点において、
所望する表を簡易に、しかも直ちに作成できるようにす
ることである。
The problem of the present invention is that at the time of creating a new table,
It is to be able to easily and immediately create a desired table.

[課題を解決する為の手段] 本発明の手段は次の通りである。[Means for Solving the Problems] Means of the present invention are as follows.

表示画面上におけるカーソル位置の右方向への移動、
あるいは左方向への移動を指示するカーソル移動指示手
段と、表の新規設定を指示する指示手段と、上記指示手
段による表の新規設定が指示された際は、予め設定され
た項目数からなる基本表を表示し、この基本表が表示さ
れた後にあって、上記カーソル移動指示手段による右方
向への移動指示操作が行われた際は、その移動指示操作
量に応じて上記基本表の表項目数を1つづつ増加させ、
かつ、上記カーソル移動指示手段による左方向への移動
指示操作が行われた際は、上記基本表に対する表項目数
の増加が行われた表の表項目数を、その移動指示操作量
に応じて1つづつ減少させる表項目数増減手段と、上記
表項目数増減手段により上記基本表の表項目数の増減し
た後にあって、上記カーソル移動指示手段による右方向
への移動指示操作が行われた際は、上記基本表あるいは
その基本表の表項目数の増減された表の各表項目におけ
る項目横サイズを、その移動指示操作量に応じて逐次拡
大させ、かつ、上記カーソル移動指示手段による左方向
への移動指示操作が行われた際は、上記基本表あるいは
その基本表の表項目数の増減された表の各表項目におけ
る項目横サイズを、その移動指示操作量に応じて逐次縮
小させる表項目サイズ拡縮手段と、を具備したことを特
徴とする。
Move the cursor position to the right on the display screen,
Alternatively, a cursor movement instructing means for instructing a leftward movement, an instructing means for instructing a new setting of the table, and a basic number consisting of a preset number of items when the new setting of the table is instructed by the instructing means A table is displayed, and after this basic table is displayed, when a movement instruction operation to the right by the cursor movement instruction means is performed, table items of the basic table according to the movement instruction operation amount. Increase the number by one,
Further, when a movement instruction operation to the left by the cursor movement instruction means is performed, the number of table items of the table in which the number of table items is increased with respect to the basic table is changed according to the movement instruction operation amount. After the table item number increasing / decreasing means for decreasing by one and the table item number increasing / decreasing means for increasing / decreasing the number of table items of the basic table, the cursor moving instruction means performs a rightward moving instruction operation. In this case, the item horizontal size in each table item of the basic table or the table in which the number of table items in the basic table has been increased or decreased is sequentially increased according to the movement instruction operation amount, and the cursor movement instructing means moves the left side. When a movement instruction operation in a direction is performed, the item lateral size of each table item in the basic table or the table in which the number of table items in the basic table is increased or decreased is sequentially reduced according to the movement instruction operation amount. Table item Characterized by comprising a's scaling means.

[作用] 本発明の手段は次の通りである。[Operation] Means of the present invention are as follows.

指示手段による表の新規設定が指示された際は、予め
設定された項目数からなる基本表が表示され、この基本
表が表示された後にあってカーソル移動指示手段による
右方向への移動指示操作が行われた際は、その移動指示
操作量に応じて上記基本表の表項目数が1つづつ増加さ
れ、かつカーソル移動指示手段による左方向への移動指
示操作が行われた際は、上記基本表に対する表項目数の
増加が行われた表の表項目数がその移動指示操作量に応
じて1つづつ減少され、上記基本表の表項目数の増減し
た後にあって、上記カーソル移動指示手段による右方向
への移動指示操作が行われた際は、上記基本表あるいは
その基本表の表項目数の増減された表の各表項目におけ
る項目横サイズが、その移動指示操作量に応じて逐次拡
大され、かつ上記カーソル移動指示手段による左方向へ
の移動指示操作が行われた際は、上記基本表あるいはそ
の基本表の表項目数の増減された表の各表項目における
項目横サイズがその移動指示操作量に応じて逐次縮小さ
れる。
When a new setting of the table is instructed by the instructing means, a basic table consisting of a preset number of items is displayed, and after the basic table is displayed, a movement instruction operation to the right by the cursor movement instructing means is performed. When the movement instruction operation is performed, the number of table items in the basic table is increased by one according to the movement instruction operation amount, and when the movement instruction operation to the left by the cursor movement instruction means is performed, The number of table items in the table in which the number of table items is increased with respect to the basic table is decreased by one according to the operation amount of the movement instruction, and after the number of table items in the basic table is increased or decreased, the cursor movement instruction is issued. When a movement instruction operation to the right by the means is performed, the item lateral size in each table item of the above basic table or the table in which the number of table items in the basic table is increased or decreased according to the movement instruction operation amount. It will be expanded successively and the above When the movement instruction operation to the left by the sol movement instruction means is performed, the item lateral size of each table item of the above basic table or the table in which the number of table items of the basic table is increased or decreased becomes the movement instruction operation amount. It is reduced accordingly.

従って、表の新規設定時点において表示される基本表
に対して、カーソル移動指示操作により右方向あるいは
左方向への移動指示を行なう毎に、作成対象とする表の
表項目数を1つづつ増加あるいは減少させることがで
き、またこの後のカーソル移動指示操作により、上記基
本表あるいはその基本表の表項目数の増減された表の各
表項目における項目横サイズを、そのカーソル移動指示
操作量に応じて逐次拡大縮小することができる。
Therefore, the number of table items to be created is increased by one each time the basic table displayed at the time of newly setting the table is instructed to move to the right or left by the cursor move instruction operation. Or it can be decreased, and by the subsequent cursor movement instruction operation, the item horizontal size in each table item of the above basic table or the table in which the number of table items of the basic table is increased or decreased to the cursor movement instruction operation amount. It can be scaled up and down accordingly.

[実施例] 第1図はこの発明の一実施例を示すブロック図であ
り、ここではページレイアウト表示部をもつワードプロ
セッサを例にとり、上記表示部上にてキー入力操作によ
り作表作業を行なうものとする。第1図において、11は
キーボードであり、ここでは、作表モードを指定するた
めの特定のファンクションキーとして作表キーfkが設け
られ、この作表キーfkの操作による作表モード指定後、
後述する基本表パターンをもとに、作表のための入力作
業が行われるもので、この際の項目数、及び項目領域の
増加/減少等の指定入力にはカーソルキーcr,cl,cd,c
u、及び実行キーekが用いられる。
[Embodiment] FIG. 1 is a block diagram showing an embodiment of the present invention. Here, a word processor having a page layout display section is taken as an example, and tabulation work is performed by key input operation on the display section. And In FIG. 1, reference numeral 11 denotes a keyboard. Here, a table key fk is provided as a specific function key for specifying the table mode, and after the table mode is specified by operating this table key fk,
The input work for tabulation is performed based on the basic table pattern described later. At this time, the cursor keys cr, cl, cd, are used to specify the number of items and the increase / decrease of the item area. c
u and the execution key ek are used.

12は表示部であり、ここでは液晶表示体を用い、10桁
×2行の文字表示部DCと、44桁×30行のページレイアウ
ト表示部DLとからなるものとする。このページレイアウ
ト表示部DLは、通常、1文字を1ドットとしてレイアウ
ト表示を行ない、上記作表キーfkの操作による作表モー
ド時に於いて、表パターンの表示に用いられるもので、
項目数及び項目領域の指定に際しては後述する基本表パ
ターン(7×7ドットで3×3項目を表示)が特定の領
域に表示される。
Reference numeral 12 denotes a display unit, which uses a liquid crystal display body and is composed of a character display unit DC of 10 digits × 2 lines and a page layout display unit DL of 44 columns × 30 lines. The page layout display section DL normally performs layout display with one character as one dot, and is used to display a table pattern in the table mode by operating the table key fk.
When specifying the number of items and the item area, a basic table pattern (3 × 3 items are displayed with 7 × 7 dots), which will be described later, is displayed in a specific area.

13は印字部であり、入力され編集された文書、表等を
用紙上に印字出力する。
A printing unit 13 prints out an input and edited document, table, or the like on paper.

14は装置全体の制御、並びに後述する作表処理を含む
各種の文書処理を行なうCPUであり、上記キーボード11
からのキー入力情報を受けて文書の編集・校正・入出力
等の処理を実行するもので、上記作表キーfkの操作入力
に伴う作表モード時に於いては、後述するROM内の作表
処理プログラムに従い第3図に示すような作表処理を実
行する。
Reference numeral 14 denotes a CPU that controls the entire apparatus and performs various document processing including tabulation processing described later.
It executes the processing such as editing, proofreading, inputting / outputting of the document in response to the key input information from the table. In the table mode associated with the operation input of the table key fk, the table in the ROM described later According to the processing program, tabulation processing as shown in FIG. 3 is executed.

15乃至18はそれぞれCPU14のメモリバスにつながる記
憶部であり、それぞれCPU14によりアクセス制御され
る。このうち、15は文書情報を貯える文書メモリであ
り、ここでは44桁×60行でなる1桁分の記憶容量をもっ
て構成される。16は表情報を貯える表メモリであり、こ
こでは、項目各々の横方向の大きさを桁単位で表わす項
目横サイズ(c1,c2,…c20)、項目各々の縦方向の大き
さを行単位で表わす項目縦サイズ(l1,l2,…l30)、横
項目数(n)、縦項目数(m)等の情報が貯えられる。
17はCPU14の作業用RAMであり、作表処理に関しては、作
表モードフラグ(F)、表メモリアドレス(i)、カー
ソル位置(CXR,CYR)、作表開始位置(X0,Y0)、表示メ
モリ20のアドレス(x0,y0)、横罫の長さ(Lc)、縦罫
の長さ(Ll)等の各情報が貯えられる。ここでは、作表
モードフラグ(F)の格納部を作表モードフラグレジス
タと称し、表メモリアドレス(i)の格納部を表メモリ
アドレスレジスタと称し、カーソル位置(CXR,CYR)の
格納部をカーソル位置レジスタと称し、作表開始位置
(X0,Y0)の格納部を作表開始位置レジスタと称し、表
示メモリアドレス(x0,y0)の格納部を表示メモリアド
レスレジスタと称し、横罫長さ(Lc)及び縦罫長さ(L
l)の各格納部を罫線長レジスタと称す。
Storage units 15 to 18 are connected to the memory bus of the CPU 14, respectively, and are access-controlled by the CPU 14. Of these, 15 is a document memory for storing document information, and here, it has a storage capacity for one digit of 44 columns × 60 rows. Reference numeral 16 is a table memory for storing table information. Here, the item horizontal size (c 1 , c 2 , ... c 20 ) that represents the horizontal size of each item in units of digits, and the vertical size of each item. Information such as item vertical size (l 1 , l 2 , ... L 30 ), line item number (n), vertical item number (m), etc. is stored.
Reference numeral 17 is a work RAM of the CPU 14, and for the tabulation processing, a tabulation mode flag (F), a table memory address (i), a cursor position (CXR, CYR), a tabulation start position (X 0 , Y 0 ). Information such as the address (x 0 , y 0 ) of the display memory 20, the horizontal ruled line length (Lc), and the vertical ruled line length (Ll) is stored. Here, the storage section for the table mode flag (F) is referred to as the table mode flag register, the storage section for the table memory address (i) is referred to as the table memory address register, and the storage section for the cursor position (CXR, CYR) is It is called the cursor position register, the storage part of the table start position (X 0 , Y 0 ) is called the table start position register, the storage part of the display memory address (x 0 , y 0 ) is called the display memory address register, Horizontal ruled line length (Lc) and vertical ruled line length (L
Each storage unit in l) is called a ruled line length register.

18はROMであり、後述する作表処理を含めた文書の編
集・校正・入出力等の各種処理プログラム,キャラクタ
ジェネレータ,辞書等の記憶領域をもつ。
Reference numeral 18 denotes a ROM, which has various processing programs for editing, proofreading, and inputting / outputting documents including a tabulation process described later, a storage area for a character generator, a dictionary, and the like.

19はカーソルの点滅時間等を含む各種の計時カウント
を行なうタイマ、20は表示すべき文字情報を貯える表示
メモリ、21は表示メモリ20の内容をもとに表示部12の文
字表示部DCをドライブする表示ドライバ、22はCPU14の
制御の下に印字部13をドライブする印字制御部である。
19 is a timer that counts various clocks including the blinking time of the cursor, 20 is a display memory that stores character information to be displayed, 21 is a character display unit DC of the display unit 12 based on the contents of the display memory 20. A display driver 22 is a print control unit that drives the print unit 13 under the control of the CPU 14.

第2図は、上記作表モード字に於いて上記表示部12の
ページレイアウト表示部DL上に表示される基本表パター
ンを示したもので、斜線部はオン(ON)状態にあるドッ
トを示し、破線部はカーソル点滅状態にあるドットを示
している。ここでは横・縦の項目数を3×3、各項目の
大きさ即ち各項目領域をそれぞれ1キャラクタ領域とし
ている。この基本表パターンをもとに、カーソルキーc
r,cl,cd,cu、及び実行キーekを操作して項目数、及び項
目領域の増減が行なわれる。
FIG. 2 shows a basic table pattern displayed on the page layout display section DL of the display section 12 in the above-mentioned tabulation mode character, and a shaded area shows dots in an ON state. The broken line portion indicates the dot where the cursor is blinking. Here, the number of horizontal and vertical items is 3 × 3, and the size of each item, that is, each item area is one character area. Based on this basic table pattern, the cursor key c
By operating r, cl, cd, cu and the execution key ek, the number of items and the item area are increased or decreased.

第3図(A)乃至(E)はそれぞれ作表モード時に於
ける処理フローを示すフローチャートであり、第4図
(A)乃至(E)はそれぞれ上記第3図(A)乃至
(E)に対応する動作説明図である。
FIGS. 3 (A) to 3 (E) are flow charts showing the processing flow in the tabulation mode, and FIGS. 4 (A) to 4 (E) are respectively shown in FIGS. 3 (A) to 3 (E). It is a corresponding operation | movement explanatory drawing.

以下、第1図乃至第4図を参照して一実施例の作用を
説明する。
The operation of the embodiment will be described below with reference to FIGS. 1 to 4.

表入力時に於いては、キーボード11の作表キーfkを操
作して作表モードを指定した後、カーソルキーcr,cl,c
d,cu、及び実行キーekを操作することにより、表示部12
のページレイアウト表示部DLに表示される第2図に示す
ような基本表パターンをもとに項目数及び項目領域の増
減処理が開始されるもので、その具体的な処理動作を第
3図(A)乃至(E)、及び第4図(A)乃至(E)に
従い説明する。
At the time of table input, after operating the tabulation key fk of the keyboard 11 to specify the tabulation mode, the cursor keys cr, cl, c
By operating d, cu and the execution key ek, the display unit 12
Based on the basic table pattern as shown in FIG. 2 displayed on the page layout display section DL, the increase / decrease processing of the number of items and the item area is started, and its specific processing operation is shown in FIG. A description will be given according to A) to (E) and FIGS. 4 (A) to (E).

(1).基本表パターンの表示処理(第3図(A),第
4図(A)) 先ず、作表キーfkの操作に伴う作表モード指定時に於
けるカーソル処理について第3図(A−1)のフローを
参照して説明する。
(1). Basic table pattern display processing (FIGS. 3 (A) and 4 (A)) First, the cursor processing at the time of designating the tabulation mode associated with the operation of the tabulation key fk is shown in FIG. 3 (A-1). This will be described with reference to the flow.

作表キーfkの操作による作表モード指定後、キーボー
ド11上のカーソルキーcr,cl,cd,cuの何れかが操作され
ることにより、その操作されたカーソルキーに対応する
第3図(A−1)の処理が実行される。
After the tabulation mode is specified by operating the tabulation key fk, any one of the cursor keys cr, cl, cd, cu on the keyboard 11 is operated, so that the cursor key operated in FIG. The process of -1) is executed.

即ち、右(→)方向カーソルキーcrが操作された際
は、ステップA11Rで、実行キーekの操作回数に応じて変
化するRAM17内の作表モードフラグ(F)の内容が
「0」であるか否かが判断される。ここで、実行キーek
の操作回数が「0」であることが判断されると、ステッ
プA12Rで、RAM17内の横(X)方向カーソル位置レジス
タの内容(CXR)が右端桁位置(ここでは44桁目)に達
しているか否かが判断され、達していなければステップ
A13Rで、上記カーソル位置レジスタの内容(CXR)が更
新(+1)されて、カーソルが[+X]方向(右方向)
に一桁(1ドット)移動する。上記ステップA11Rで、実
行キーekの操作回数が「0」でないことが判断される
と、後述する第3図(B)に示すステップB11の処理に
入る。又、上記ステップA12Rで、横方向カーソル位置レ
ジスタの内容(CXR)が右端桁位置(44桁目)に達して
いることが判断されと、そのカーソル操作が無効とな
り、カーソル位置の移動が行なわれず、カーソルが右端
桁位置に止どまる。
That is, the right (→) when the direction cursor keys cr is operated, at step A11 R, the contents of the tabulation mode flag (F) in the RAM17 which varies depending on the number of operations performed key ek is "0" It is determined whether there is any. Where run key ek
When it is determined the number of operations is "0", in step A12 R, reaches the contents of the horizontal (X) direction cursor position register (CXR) is the rightmost digit position in the RAM 17 (44 digit here) If not, step
The content (CXR) of the cursor position register is updated (+1) with A13 R , and the cursor moves in the [+ X] direction (to the right).
Move one digit (1 dot) to. Above step A11 R, the number of operations performed key ek is determined to be not "0", starts the processing in step B11 shown in FIG. 3 to be described later (B). Further, in step A12 R, the contents of the lateral cursor position register (CXR) is determined that it has reached the rightmost digit position (44 digit), the cursor operation becomes invalid, made to move the cursor position Instead, the cursor stays at the rightmost digit position.

又、左(←)方向カーソルキーclが操作された際は、
ステップA11Lで、作表モードフラグ(F)の内容が
「0」であるか否かが判断され、実行キーekの操作回数
が「0」であることが判断されると、ステップA12Lで、
RAM17内の横(X)方向カーソル位置レジスタの内容(C
XR)が左端桁位置(第1桁目)に達しているか否かが判
断され、達していなければ、ステップA13Lで、上記カー
ソル位置レジスタの内容(CXR)が負方向に更新(−
1)されて、カーソルが[−X]方向(左方向)に一桁
(1ドット)移動する。上記ステップA11Lで、実行キー
ekの操作回数が「0」でないことが判断されると、後述
する第3図(B)に示すステップB21の処理に入る。
又、上記ステップA12Lで、横方向カーソル位置レジスタ
の内容(CXR)が左端桁位置(第1桁)に達しているこ
とが判断されと、そのカーソル操作が無効となり、カー
ソル位置の移動が行なわれず、カーソルが左端桁位置に
止どまる。
Also, when the left (←) direction cursor key cl is operated,
In step A11 L, tabulation mode content of the flag (F) is whether a "0" is determined, it is determined that the number of operations performed key ek is "0", in step A12 L ,
Contents of horizontal (X) direction cursor position register in RAM17 (C
XR) is determined whether reaches the leftmost digit position (first digit), if not reached, updated in step A13 L, the content of the cursor position register (CXR) is negative (-
1) Then, the cursor moves one digit (one dot) in the [-X] direction (left direction). In step A11 L above, press Enter
If it is determined that the number of ek operations is not "0", the process of step B21 shown in FIG.
Further, in step A12 L, the content of the lateral cursor position register (CXR) is determined that it has reached the left end digit position (first digit), the cursor operation becomes invalid, made to move the cursor position Instead, the cursor stays at the leftmost digit position.

又、下(↓)方向カーソルキーcdが操作された際は、
ステップA11Dで、作表モードフラグ(F)の内容が
「0」であるか否かが判断され、実行キーekの操作回数
が「0」であることが判断されると、ステップA12Dで、
RAM17内の縦(Y)方向カーソル位置レジスタの内容(C
YR)が最下行位置(ここでは60行)に達しているか否か
が判断され、達していなければステップA13Dで、上記カ
ーソル位置レジスタの内容(CYR)が更新(+1)され
て、カーソルが[+Y]方向(下方向)に一行(1ドッ
ト」移動する。上記ステップA11Dで、実行キーekの操作
回数が「0」でないことが判断されると、後述する第3
図(C)に示すステップC11の処理に入る。又、上記ス
テップA12Dで、縦方向カーソル位置レジスタの内容(CY
R)が最下行位置(60行)に達していることが判断され
と、そのカーソル操作が無効となり、カーソル位置の移
動が行なわれず、カーソルが最下行位置に止どまる。
Also, when the down (↓) direction cursor key cd is operated,
In step A11 D, tabulation mode content of the flag (F) is whether a "0" is determined, it is determined that the number of operations performed key ek is "0", in step A12 D ,
Contents of vertical (Y) direction cursor position register in RAM17 (C
Whether YR) has reached the bottom line position (where 60 lines) is determined, in reaching though unless step A13 D, the content of the cursor position register (CYR) is updated (+1), the cursor [+ Y] direction line (1 dot "move (downward direction). in step A11 D, the number of operations performed key ek is not" 0 "is determined, the third described later
The process of step C11 shown in FIG. Further, in step A12 D, contents of the longitudinal cursor position register (CY
When it is determined that (R) has reached the bottom line position (60th line), the cursor operation becomes invalid, the cursor position is not moved, and the cursor remains at the bottom line position.

又、上(↑)方向カーソルキーcuが操作された際は、
ステップA11Uで、作表モードフラグ(F)の内容が
「0」であるか否かが判断される。ここで、実行キーek
の操作回数が「0」であることが判断されると、ステッ
プA12Uで、RAM17内の縦(Y)方向カーソル位置レジス
タの内容(CYR)が最上行位置(第1行)に達している
か否かが判断され、達していなければステップA13Uで、
上記カーソル位置レジスタの内容(CYR)が負方向に更
新(−1)されて、カーソルが[−Y]方向(上方向)
に一行(1ドット)移動する。上記ステップA11Uで、実
行キーekの操作回数が「0」でないことが判断される
と、後述する第3図(C)に示すステップC21の処理に
入る。又、上記ステップA12Uで、縦方向カーソル位置レ
ジスタの内容(CYR)が最上行位置(第1行)に達して
いることが判断されと、そのカーソル操作が無効とな
り、カーソル位置の移動が行なわれず、カーソルが最上
行位置に止どまる。
Also, when the up (↑) direction cursor key cu is operated,
In step A11 U, the content of the tabulation mode flag (F) is whether a "0" is determined. Where run key ek
When it is determined the number of operations is "0", in step A12 U, or the contents of the vertical (Y) direction cursor position register in the RAM 17 (CYR) has reached the top line position (first row) It is judged whether or not, and if not reached, in step A13 U ,
The content (CYR) of the cursor position register is updated in the negative direction (-1), and the cursor is in the [-Y] direction (upward).
Move one line (1 dot) to. In step A11 U, the number of operations performed key ek is determined to be not "0", starts the processing in step C21 shown in FIG. 3 to be described later (C). Further, in step A12 U, the content of longitudinally cursor position register (CYR) is determined that it has reached the top line position (first row), the cursor operation becomes invalid, made to move the cursor position Instead, the cursor stays at the top line position.

つぎに、作表モード指定に伴う実行キーekの操作によ
り、表示部12のページレイアウト表示部DLに基本表パタ
ーンが表示されるまでの処理について第3図(A−2)
のフローを参照して説明する。
Next, the processing until the basic table pattern is displayed on the page layout display section DL of the display section 12 by the operation of the execution key ek accompanying the specification of the tabulation mode is shown in FIG. 3 (A-2).
This will be described with reference to the flow.

実行キーekが操作されると、ステップA21にて作表モ
ードであるか否かの判断が行なわれる。ここで作表モー
ドでないときは通常の文書作成処理による実行キーekの
操作入力判定がなされ、通常の文書作成処理フローに戻
る。又、作表モードの際は、ステップA22で、作表モー
ドフラグ(F)の内容が「0」であるか否かが調べら
れ、「0」以外である際は、第3図(B)のステップB3
1の処理に入る。又、作表モードフラグ(F)の内容が
「0」である際は、作表モードフラグメント(F)の内
容更新(0→1)に先立ち、ステップA23〜ステップA30
の処理が実行される。即ち、ステップA23で、RAM17内の
横項目数(n)を貯える横項目数レジスタに「3」が設
定され、ステップA24で、RAM17内の縦項目数(m)を貯
える縦項目数レジスタに「3」が設定され、ステップA2
5で、RAM17内の予め定められた3つの項目横サイズ
(c1,c2,c3)を貯える各項目横サイズレジスタに、それ
ぞれ横項目サイズが最小桁,即ち1桁であることを示す
「1」が設定され、ステップA26で、RAM17内の予め定め
られた3つの項目縦サイズ(l1,l2,l3)を貯える各項目
横サイズレジスタに、それぞれ縦項目サイズが最小行,
即ち1行であることを示す「1」が設定され、ステップ
A27で、RAM17内の残る項目横サイズ(c4,c5,…c20)を
貯える各項目横サイズレジスタをそれぞれクリアし、ス
テップA28で、RAM17内の残る縦目横サイズ(l4,l5,…l
30)を貯える各項目横サイズレジスタをそれぞれクリア
し、ステップA29で、RAM17内のカーソル位置(CXR,CY
R)を貯えるカーソル位置レジスタの内容を同RAM17内の
作表開始位置(X0,Y0)を貯える作表開始位置レジスタ
にセットし、ステップA30で、RAM17内のカーソル位置
(CXR)を貯えるカーソル位置レジスタの内容を「+
1」する。この後、ステップA31で、RAM17内の作表モー
ドフラグレジスタの内容が「+1」されて「F=1」と
なる。
When the execution key ek is operated, it is determined in step A21 whether or not the mode is the tabulation mode. If not in the tabulation mode, the operation input of the execution key ek is determined by the normal document creating process, and the process returns to the normal document creating process flow. Further, in the tabulation mode, it is checked in step A22 whether or not the content of the tabulation mode flag (F) is "0", and if it is other than "0", FIG. 3 (B). Step B3
Process 1 is entered. When the content of the tabulation mode flag (F) is “0”, the contents of the tabulation mode fragment (F) are updated (0 → 1), and the steps A23 to A30 are performed.
Is performed. That is, in step A23, "3" is set in the horizontal item number register for storing the horizontal item number (n) in the RAM 17, and in step A24, "3" is set in the vertical item number register for storing the vertical item number (m) in the RAM 17. 3 ”is set and step A2
In 5, it is shown that the horizontal item size is the minimum digit, that is, one digit, in each item horizontal size register that stores three predetermined horizontal item sizes (c 1 , c 2 , c 3 ) in the RAM 17. "1" is set, and in step A26, each item horizontal size register that stores three predetermined item vertical sizes (l 1 , l 2 , l 3 ) in RAM 17 has the minimum vertical item size row,
That is, "1" indicating that it is one line is set, and the step
In A27, the item horizontal size remaining within the RAM17 (c 4, c 5, ... c 20) , respectively clearing each item horizontal size register to store a in step A28, wales horizontal size remaining within the RAM 17 (l 4, l 5 , ... l
Each item horizontal size register that stores 30 ) is cleared, and at step A29, the cursor position (CXR, CY) in RAM17 is cleared.
The contents of the cursor position register that stores R) is set in the table creation start position register that stores the table creation start position (X 0 , Y 0 ) in RAM17, and the cursor position (CXR) in RAM17 is stored in step A30. Change the contents of the cursor position register to "+
1 ". After this, in step A31, the contents of the table mode flag register in the RAM 17 are incremented by "+1" to become "F = 1".

その後、ステップA32〜A44の処理により、上記ステッ
プA23〜A30で設定されたデータに従い、第4図(A)に
示されるような基本表パターンの表示処理が実行され
る。即ち、ステップA32で横罫の長さ(Lc)が求めら
れ、ステップA33で縦罫の長さ(Ll)が求められて、そ
の各値がRAM17内の対応するレジスタにセットされる。
ここでは、上記ステップA23,A24にて、RAM17内の横項目
数レジスタ及び縦項目数レジスタにそれぞれ「3」(n
=3,m=3)がセットされ、ステップA25〜A28にて、RAM
17内の各項目横サイズレジスタ及び項目縦サイズレジス
タのうち、項目横サイズ(c1,c2,c3)、及び項目縦サイ
ズ(l1,l2,l3)を貯えるレジスタのみにそれぞれ「1」
がセットされていることから、横罫・縦罫ともに「6」
ドット分の長さを示すデータ(Lc=6,Ll=6)がそれぞ
れRAM17内の対応する罫線長レジスタにセットされる。
Thereafter, by the processing of steps A32 to A44, the basic table pattern display processing as shown in FIG. 4A is executed according to the data set in the steps A23 to A30. That is, the length (Lc) of the horizontal ruled line is obtained in step A32, the length (Ll) of the vertical ruled line is obtained in step A33, and the respective values are set in the corresponding registers in the RAM 17.
Here, in the above steps A23 and A24, the horizontal item number register and the vertical item number register in the RAM 17 are respectively set to "3" (n
= 3, m = 3) is set, and RAM is set in steps A25 to A28.
Of each item horizontal size register and item vertical size register in 17, only the register that stores the item horizontal size (c 1 , c 2 , c 3 ) and the item vertical size (l 1 , l 2 , l 3 ) respectively. "1"
"6" for both horizontal and vertical rules because the
Data indicating the dot length (Lc = 6, Ll = 6) are set in the corresponding ruled line length registers in the RAM 17, respectively.

次にステップA34にて、RAM17内の作表開始位置レジス
タに貯えられた作表開始位置データ(X0,Y0)が表示メ
モリ20のアドレスデータ(x0,y0)として同RAM17内の表
示メモリアドレスレジスタにセットされる。更にステッ
プA35にて、RAM17内の表メモリアドレスレジスタの内容
(i)がクリアされ、「i=0」とした後、縦罫線・横
罫線のライン引き処理(罫線表示処理)に入る。
Next, in step A34, the table start position data (X 0 , Y 0 ) stored in the table start position register in the RAM 17 is stored in the RAM 17 as the address data (x 0 , y 0 ) of the display memory 20. Set in display memory address register. Further, in step A35, the content (i) of the table memory address register in the RAM 17 is cleared, and after "i = 0", the vertical ruled line / horizontal ruled line drawing processing (ruled line display processing) is started.

このライン引きの処理は、先ずステップA36で、RAM17
内の表メモリアドレスレジスタの表メモリアドレス
(i)が「+1」されて、最初は「i=1」となり、上
記アドレスレジスタが表メモリ16の項目縦横サイズ
(l1,c1)の格納番地を示すアドレス値となる。次にス
テップA37にて、上記アドレス値で指定された表メモリ1
6内の項目横サイズ(c1)の内容が「0」であるか否か
が調べられる。ここで、項目横サイズ(c1)の内容が
「0」である際は、ステップA40以降の横罫線のライン
引き処理に入り、又、「0」でなければ、ステップA38
で縦罫線のライン引き処理が実行される。ここでは、上
記表メモリ16内の項目横サイズ(c1)の内容が「1」で
あり、かつ縦罫線長レジスタの内容が「Ll=6」である
ことから、表示メモリ20上には、作業用RAM17内の表示
メモリアドレスレジスタで示されるアドレス(x0,y0
を表示開始位置として、そこから行方向(パターン展開
上では下方向)に6ドット移行した位置までの計7ドッ
トがドットオンとなる縦罫線の表示パターンが展開され
る。このパターン展開処理の後、ステップA39にて、作
業用RAM17内の表示メモリアドレスレジスタのX方向の
内容(x0)が更新され、上記表メモリ16内の項目横サイ
ズ(c1)の内容に「1」を加えた値が表示メモリ2の新
たなX方向のアドレス(x0)となる。この表示メモリア
ドレスの更新制御の後、再びステップA36に戻って、RAM
17内の表メモリアドレスレジスタの表メモリアドレス
(i)が「+1」され、「i=2」となって、ステップ
A37により上記アドレス値で指定された表メモリ16内の
項目横サイズ(c2)の内容が「0」であるか否かが調べ
られる。このような縦罫線のライン引き処理が繰返し実
行され、上記ステップA37にて、上記アドレス値で指定
された表メモリ16内の項目横サイズ(ci)の内容が
「0」であることが判定されると、縦罫線のライン引き
処理を終了し、ステップA40〜A44の横罫線の線引き処理
に入る。ここでは表示メモリ20上に於ける作表展開開始
位置の横方向(X方向)のアドレスをAx0とすると、Ax
0,Ax0+2,Ax0+4,Ax0+6の各アドレスをそれぞれ始点
として計4本の7ドットラインの縦罫線のライン引き処
理が行なわれ、その後には横罫線のライン引き処理に入
る。この横罫線のライン引き処理は、ステップ40で、RA
M17内の表メモリアドレスレジスタの内容(i)がクリ
アされ、「i=0」とした後、ステップA41で、RAM17内
の表メモリアドレスレジスタの表メモリアドレス(i)
が「+1」されて、最初は「i=1」となり、上記アド
レスレジスタが表メモリ16の項目縦横サイズ(l1,c1
の格納番地を示すアドレス値となる。次にステップA42
にて、上記アドレス値で指定された表メモリ16内の項目
縦サイズ(l1)の内容が「0」であるか否かが調べられ
る。ここで、項目縦サイズ(l1)の内容が「0」である
際は罫線処理を終了し、又、「0」でなければ、ステッ
プA43にて横罫線の線引き処理が実行される。ここで
は、上記表メモリ16内の項目縦サイズ(l1)の内容が
「1」であり、かつ罫線長レジスタの内容が「Lc=6」
であることから、表示メモリ20上には、作業用RAM17内
の表示メモリアドレスレジスタで示されるアドレス
(x0,y0)を表示開始位置として、そこから桁方向(パ
ターン展開上では右方向)に6ドット移行した位置まで
の計7ドットがドットオンとなる横罫線の表示パターン
が展開される。このパターン展開処理の後、ステップA4
4にて、作業用RAM17内の表示メモリアドレスレジスタの
Y方向の内容(y0)が更新され、上記表メモリ16内の項
目縦サイズ(l1)の内容に「1」を加えた値が新たなY
方向のアドレス(y0)となる。この表示メモリアドレス
の更新制御の後、再びステップA41に戻って、RAM17内の
表メモリアドレスレジスタの表メモリアドレス(i)が
「+1」され、「i=2」となって、ステップA42によ
り上記アドレス値で指定された表メモリ16内の項目縦サ
イズ(l2)の内容が「0」であるか否かが調べられる。
このような横罫線のライン引き処理が繰返し実行され、
上記ステップA42にて、上記アドレス値で指定された表
メモリ16内の項目縦サイズ(li)の内容が「0」である
ことが判定されると、罫線のライン引き処理を終了す
る。ここでは表示メモリ20上に於ける作表展開開始位置
の縦方向(Y方向)のアドレスをAy0とすると、Ay0,Ay0
+2,Ay0+4,Ay0+6の各アドレスをそれぞれ始点として
計4本の7ドットラインの横罫線のライン引き処理が行
なわれる。
In this line drawing process, first in step A36, the RAM 17
The table memory address (i) of the table memory address register in the inside is incremented by "+1" and initially becomes "i = 1", and the above address register is the storage address of the item vertical and horizontal size (l 1 , c 1 ) of the table memory 16. Is an address value indicating. Next, in step A37, the table memory 1 specified by the above address value
It is checked whether or not the content of the item horizontal size (c 1 ) in 6 is “0”. Here, when the content of the item horizontal size (c 1 ) is “0”, the horizontal ruled line drawing processing from step A40 is started, and when it is not “0”, step A38 is executed.
The vertical ruled line is drawn at. Here, since the content of the item horizontal size (c 1 ) in the table memory 16 is “1” and the content of the vertical ruled line length register is “Ll = 6”, the display memory 20 has Address (x 0 , y 0 ) indicated by the display memory address register in working RAM 17
As a display start position, a display pattern of vertical ruled lines in which a total of 7 dots are dot-on up to a position shifted by 6 dots in the row direction (downward in pattern development) is developed. After this pattern expansion processing, in step A39, the contents (x 0 ) of the display memory address register in the work RAM 17 in the X direction are updated to the contents of the item horizontal size (c 1 ) in the table memory 16 described above. The value to which “1” is added becomes the new address (x 0 ) of the display memory 2 in the X direction. After this display memory address update control, the process returns to step A36 and RAM
The table memory address (i) of the table memory address register in 17 is incremented by “+1” and becomes “i = 2”.
It is checked by A37 whether the content of the item horizontal size (c 2 ) in the table memory 16 designated by the above address value is "0". Such vertical ruled line drawing processing is repeatedly executed, and it is determined in step A37 that the content of the item horizontal size (c i ) in the table memory 16 specified by the address value is “0”. Then, the line drawing process for the vertical ruled lines is completed, and the horizontal ruled line drawing process in steps A40 to A44 is started. Assuming that the address in the horizontal direction (X direction) of the table development start position on the display memory 20 is Ax0, Ax
A line drawing process of vertical ruled lines of a total of four 7-dot lines is performed starting from each address of 0, Ax0 + 2, Ax0 + 4, Ax0 + 6, and then a line drawing process of horizontal ruled lines is performed. In step 40, this horizontal ruled line is drawn by RA.
After the content (i) of the table memory address register in M17 is cleared and "i = 0" is set, in step A41, the table memory address (i) of the table memory address register in RAM17 is set.
Is incremented by "+1" and initially "i = 1", and the above address register stores the items in the table memory 16 in the vertical and horizontal sizes (l 1 , c 1 ).
The address value indicates the storage address of. Then step A42
Then, it is checked whether or not the content of the item vertical size (l 1 ) in the table memory 16 designated by the above address value is "0". Here, when the content of the item vertical size (l 1 ) is “0”, the ruled line processing is ended, and when it is not “0”, the horizontal ruled line drawing processing is executed in step A43. Here, the content of the item vertical size (l 1 ) in the table memory 16 is “1” and the content of the ruled line length register is “Lc = 6”.
Therefore, on the display memory 20, the address (x 0 , y 0 ) indicated by the display memory address register in the working RAM 17 is used as the display start position, and from there, in the digit direction (to the right in the pattern expansion). A horizontal ruled line display pattern in which a total of 7 dots are turned on up to the position where 6 dots have been moved to is developed. After this pattern expansion processing, step A4
At 4, the contents of the display memory address register in the working RAM 17 in the Y direction (y 0 ) are updated, and the value obtained by adding “1” to the contents of the item vertical size (l 1 ) in the above table memory 16 becomes New Y
It becomes the address (y 0 ) of the direction. After this display memory address update control, the process returns to step A41 again, the table memory address (i) of the table memory address register in the RAM 17 is incremented by "+1", and "i = 2" is set. It is checked whether or not the content of the item vertical size (l 2 ) in the table memory 16 designated by the address value is “0”.
Such line drawing processing of horizontal ruled lines is repeatedly executed,
When it is determined in step A42 that the content of the item vertical size (l i ) in the table memory 16 designated by the address value is “0”, the ruled line drawing processing is ended. Here, if the address in the vertical direction (Y direction) of the table development start position on the display memory 20 is Ay0, Ay0, Ay0
Line drawing processing of a total of four 7-dot horizontal ruled lines is performed starting from the respective addresses +2, Ay0 + 4, Ay0 + 6.

このような縦罫線、横罫線のライン引き処理が行なわ
れることにより、表示部12のページレイアウト表示部DL
上には、カーソル指定位置を作表開始位置として、第2
図、及び第4図(A)に示す如く、縦・横の項目数を3
×3とし、各項目を1文字領域とした基本表パターンが
表示される。
By performing such line drawing processing of vertical ruled lines and horizontal ruled lines, the page layout display area DL of the display area 12 is displayed.
In the upper part, the second cursor
As shown in the figure and FIG. 4 (A), the number of vertical and horizontal items is 3
A basic table pattern in which each item is defined as one character area is displayed as x3.

尚、この基本表パターンの表示時に於いては、上記ス
テップA30に於いて、カーソル位置レジスタに貯えられ
たカーソル位置(CXR,CYR)のうち、X方向のアドレス
(CXR)が「+1」されていることから、表示画面上の
カーソル位置は、第4図(A)に示すように、作表開始
位置(X0,Y0)より1ドット右に移動した位置、即ち横
方向第1項目位置上となっている。
When the basic table pattern is displayed, in step A30, the X-direction address (CXR) of the cursor positions (CXR, CYR) stored in the cursor position register is incremented by "+1". Therefore, as shown in FIG. 4 (A), the cursor position on the display screen is moved to the right by one dot from the tabulation start position (X 0 , Y 0 ), that is, the horizontal first item position. It is on the top.

(2).横項目数の増加/減少処理(第3図(B),第
4図(B)) 次に、表示部12のページレイアウト表示部DL上に表示
された上記基本表パターンをもとに、カーソルキーcr,c
lを操作することにより、横項目数の増加/減少処理が
行なわれるもので、その具体的な処理動作を第3図
(B)のフローを参照して説明する。
(2). Increase / decrease processing of the number of horizontal items (FIGS. 3B and 4B) Next, based on the basic table pattern displayed on the page layout display section DL of the display section 12, a cursor is displayed. Key cr, c
The number of horizontal items is increased / decreased by operating l, and its specific processing operation will be described with reference to the flow of FIG. 3 (B).

上記基本表パターンの入力後、右(→)方向カーソル
キーcrが操作されると第4図(B)に示すような横項目
数の増加処理が行なわれる。
When the right (→) direction cursor key cr is operated after the input of the basic table pattern, the number of horizontal items is increased as shown in FIG. 4 (B).

即ち、右(→)方向カーソルキーcrが1回操作される
と、この際は既に作業用RAM17内の作表モードフラグ
(F)の内容が「0」でなく「1」となっていることか
ら、第3図(B)のステップB11以降の処理に入る。こ
の第3図(B)の処理は、先ずステップB11で、作業用R
AM17内の作表モードフラグ(F)の内容が「1」である
か否かが判断される。ここで、実行キーekの操作回数が
「1」であることが判断されると、ステップB12で、作
業用RAM17内の表メモリアドレスレジスタに、表メモリ1
6の項目縦横サイズ(l1,c1)の格納番地を示す表メモリ
アドレス(i=1)が設定され、ステップB13で、その
アドレスにより指定される表メモリ16内の項目横サイズ
(c1)の内容が調べられる。ここで上記項目横サイズ
(c1)の内容が「1」で既に項目登録がなされている際
は、ステップB14に於いてその項目数が最大項目数「2
0」を超えたか否かの判断がなされた後、ステップB15に
於いて、作業用RAM17内の表メモリアドレスレジスタの
表メモリアドレス(i)が「+1」され、上記ステップ
B13の処理に戻って次の項目横サイズ(c2)の内容が調
べられる。このステップB13の項目横サイズ(ci)の内
容判別時に於いて、表メモリアドレス(i)で指定され
る項目横サイズ(ci)の内容が「0」である(未登録)
ことが判断されると、ステップB16にて、横項目数の増
加が可能か否か(X0+(i×2)≦44)が判断される。
ここで横項目数の増加が可能であることが判断される
と、ステップB17にて、上記表メモリ16内の上記表メモ
リアドレス(i)で指定される項目横サイズ(ci)の記
憶領域に「1」がセットされ、更にステップB18で同メ
モリ16内の横項目数(n)が「+1」された後、上記第
3図(A)のステップA32以降の罫線表示処理に入る。
この際の横項目数の増加例を第4図(B)に示してい
る。
That is, when the right (→) direction cursor key cr is operated once, the contents of the tabulation mode flag (F) in the work RAM 17 have already become “1” instead of “0” at this time. Then, the process after step B11 in FIG. The process shown in FIG. 3 (B) starts with step B11 in which the work R
It is determined whether or not the content of the tabulation mode flag (F) in AM17 is "1". If it is determined that the number of operations of the execution key ek is “1”, the table memory 1 is stored in the table memory address register in the work RAM 17 in step B12.
The table memory address (i = 1) indicating the storage address of the item vertical and horizontal size (l 1 , c 1 ) of 6 is set, and in step B13, the item horizontal size (c 1 ) Contents are examined. If the item horizontal size (c 1 ) is "1" and the item has already been registered, the maximum number of items is "2" in step B14.
After it is judged whether or not it exceeds "0", in step B15, the table memory address (i) of the table memory address register in the working RAM 17 is incremented by "+1", and the above step is executed.
Returning to the processing of B13, the content of the next item horizontal size (c 2 ) is examined. In time content determination scores horizontal size of the step B13 (c i), the contents of the items lateral size that is specified in the table memory address (i) (c i) is "0" (not registered)
If it is determined, in step B16, it is determined whether or not the number of horizontal items can be increased (X 0 + (i × 2) ≦ 44).
If it is determined that the number of horizontal items can be increased, in step B17, the storage area of the item horizontal size (c i ) specified by the table memory address (i) in the table memory 16 is obtained. Is set to 1, and the number of horizontal items (n) in the memory 16 is incremented by 1 in step B18, and then the ruled line display processing from step A32 onward in FIG. 3A is started.
An example of increasing the number of horizontal items at this time is shown in FIG. 4 (B).

又、上記基本表パターンの入力後、又は上記横項目数
の増加処理後に於いて、左(←)方向カーソルキーclが
操作されると横項目数の減少処理が行なわれる。即ち、
左(←)方向カーソルキーclが1回操作されると、この
際も上記した横項目数の増加処理と同様に、既に作業用
RAM17内の作表モードフラグ(F)の内容が「0」でな
く「1」となっていることから、第3図(B)のステッ
プB21以降の処理に入る。この第3図(B)の処理は、
先ずステップB21で、作業用RAM17内の作表モードフラグ
(F)の内容が「1」であるか否かが判断される。ここ
で、実行キーekの操作回数が「1」であることが判断さ
れると、ステップB22で、作業用RAM17内の表メモリアド
レスレジスタに、表メモリ16の項目縦横サイズ(l20,c
20)の格納番地を示す表メモリアドレス(i=20)が設
定され、ステップB23で、そのアドレスにより指定され
る表メモリ16内の項目横サイズ(c20)の内容が調べら
れる。ここで上記項目横サイズ(c20)の内容が「0」
で、項目登録がされていないことを示している場合は、
ステップB24に於いてその項目数が最小項目数「1」に
達したか否かの判断がなされた後、ステップB25に於い
て、作業用RAM17内の表メモリアドレスレジスタの表メ
モリアドレス(i)が「−1」され、上記ステップB23
の処理に戻って次の(即ち1横項目手前の)項目横サイ
ズ(c19)の内容が調べられる。このステップB23の項目
横サイズ(ci)の内容判別時に於いて、表メモリアドレ
ス(i)で指定される項目横サイズ(ci)の内容が
「1」である(既登録である)ことが判断されると、ス
テップB26にて、上記表メモリ1内の上記表メモリアド
レス(i)で指定される項目横サイズ(ci)の記憶領域
が「0」に書き直され、更にステップB27で同メモリ16
内の横項目数(n)が「−1」された後、上記第3図
(A)のステップA32以降の罫線表示処理に入る。この
ようなステップB21〜B27の処理によりカーソルキーclの
操作に応じて横項目数が順次削減される。
When the left (←) direction cursor key cl is operated after the basic table pattern is input or the horizontal item number increasing process is performed, the horizontal item number decreasing process is performed. That is,
When the left (←) direction cursor key cl is operated once, the same operation as that for increasing the number of horizontal items is performed already at this time.
Since the content of the tabulation mode flag (F) in the RAM 17 is "1" instead of "0", the processing after step B21 in FIG. 3B is started. The process of FIG. 3 (B) is
First, in step B21, it is determined whether or not the content of the tabulation mode flag (F) in the work RAM 17 is "1". Here, if it is determined that the number of operations of the execution key ek is "1", then in step B22, the table memory address register in the work RAM 17 is set to the vertical and horizontal size (l 20 , c of the table memory 16).
The table memory address (i = 20) indicating the storage address of 20) is set, and in step B23, the contents of the item lateral size (c 20 ) in the table memory 16 specified by the address are examined. Here, the content of the item horizontal size (c 20 ) is “0”.
, Indicates that the item has not been registered,
After it is judged in step B24 whether or not the number of items has reached the minimum item number "1", in step B25, the table memory address (i) of the table memory address register in the working RAM 17 is stored. Is "-1", and the above step B23
Then, the process returns to the process (1) and the contents of the next item horizontal size (ie, the item before the next one horizontal item) (c 19 ) are examined. In time content determination scores horizontal size of the step B23 (c i), the contents of the items lateral size that is specified in the table memory address (i) (c i) is "1" (which is a registered) that If it is determined in step B26, the storage area of the item lateral size (c i ) specified by the table memory address (i) in the table memory 1 is rewritten to “0”, and further in step B27. Same memory 16
After the number (n) of horizontal items in the inside is set to "-1", the ruled line display processing after step A32 in FIG. 3 (A) is started. By the processes of steps B21 to B27, the number of horizontal items is sequentially reduced according to the operation of the cursor key cl.

以上の如くして、カーソルキーcr,clの操作に従い、
表示された基本表パターンをもとに横項目数の増加/減
少処理が行なわれる。
As described above, according to the operation of the cursor keys cr and cl,
The number of horizontal items is increased / decreased based on the displayed basic table pattern.

次に、再び実行キーekが操作(第2回目の操作)され
ると、第3図(B)のステップB31〜33に示すカーソル
位置の移動処理が行なわれ、その後、カーソルキーcd,c
uが操作されることにより、その操作に従う第3図
(C)に示すような縦項目数の増減処理が行なわれる。
Next, when the execution key ek is operated again (second operation), the cursor position moving process shown in steps B31 to 33 of FIG. 3B is performed, and then the cursor keys cd, c
When u is operated, the vertical item number increasing / decreasing process as shown in FIG. 3C is performed according to the operation.

即ち、横項目数の増加/減少処理の後、実行キーekが
操作されると、第3図(B)のステップB31に於いて、
作表モードフラグ(F)の内容が「1」であるか否か
(第2回目の実行キーek操作であるか否か)が判断され
る。ここで、作表モードフラグ(F)の内容が「1」以
外である際は第3図(C)のステップC31以降の処理に
入り、又、作表モードフラグ(F)の内容が「1」であ
る際は、ステップB32で、作表開始位置レジスタに貯え
られた作表開始位置(X0,Y0)のYアドレス(Y0)が
「+1」されて、その更新されたアドレス値がカーソル
位置レジスタにセットされ、カーソル位置(CXR,CYR)
が更新される。これにより表示画面上のカーソルは、第
4図(C)に示すように、作表開始位置(X0,Y0)より
1ドット下方に移動した位置、即ち縦方向第1項目位置
に表示される。このカーソル位置制御の後、ステップB3
3にて、作表モードフラグレジスタの作表モードフラグ
(F)が「1」から「2」に書き換えられ、その後、上
記第3図(A)のステップA32以降の罫線表示処理に入
る。
That is, when the execution key ek is operated after the horizontal item number increase / decrease process, in step B31 of FIG. 3 (B),
It is determined whether or not the content of the tabulation mode flag (F) is "1" (whether or not it is the second execution key ek operation). Here, when the content of the tabulation mode flag (F) is other than "1", the processing after step C31 in FIG. 3C is started, and the content of the tabulation mode flag (F) is "1". , The Y address (Y 0 ) of the tabulation start position (X 0 , Y 0 ) stored in the tabulation start position register is incremented by 1 in step B32, and the updated address value is obtained. Is set in the cursor position register and the cursor position (CXR, CYR)
Will be updated. As a result, the cursor on the display screen is displayed at a position one dot below the tabulation start position (X 0 , Y 0 ), that is, the first vertical item position, as shown in FIG. 4 (C). It After this cursor position control, step B3
At 3, the tabulation mode flag (F) of the tabulation mode flag register is rewritten from "1" to "2", and then the ruled line display processing from step A32 onward in FIG. 3A is started.

(3).縦項目数の増加/減少処理(第3図(C),第
4図(C)) 次に、表示部12のページレイアウト表示部DL上に表示
された上記基本表パターン、又は上記第3図(B)に於
いて横項目数の増減処理がなされた表パターンをもと
に、カーソルキーcd,cuを操作することにより、縦項目
数の増加/減少処理が行なわれるもので、その具体的な
処理動作を第3図(C)のフローを参照して説明する。
(3). Increase / decrease process of the number of vertical items (FIG. 3 (C), FIG. 4 (C)) Next, the basic table pattern displayed on the page layout display section DL of the display section 12 or the FIG. The vertical item number increase / decrease process is performed by operating the cursor keys cd and cu based on the table pattern in which the horizontal item number increase / decrease process is performed in (B). Such processing operation will be described with reference to the flow of FIG.

上記基本表パターンをもとに上記第3図(B)に於け
る横項目数の増減処理がなされ、上記した如く実行キー
ekが操作された後、下(↓)方向カーソルキーcdが操作
されると、縦項目数の増加処理が行なわれる。即ち、下
(↓)方向カーソルキーcdが1回操作されると、この際
は作業用RAM17内の作表モードフラグ(F)の内容が既
に上述した如く「2」となっていることから、第3図
(C)のステップC11以降の処理に入る。この第3図
(C)の処理は、先ずステップC11で、作業用RAM17内の
作表モードフラグ(F)の内容が「2」であるか否かが
判断される。ここで、実行キーekの操作回数が「2」で
あることが判断されると、ステップC12で、作業用RAM17
内の表メモリアドレスレジスタに、表メモリ16の項目縦
横サイズ(l1,c1)の格納番地を示す表メモリアドレス
(i=1)が設定され、ステップC13で、そのアドレス
により指定される表メモリ16内の項目縦サイズ(l1)の
内容が調べられる。ここで上記項目縦サイズ(l1)の内
容が「1」で既に項目登録がなされている際は、ステッ
プC14に於いて、その項目数が最大項目数「30」を超え
たか否かの判断がなされた後、ステップC15に於いて、
作業用RAM17内の表メモリアドレスレジスタの表メモリ
アドレス(i)が「+1」され、上記ステップC13の処
理に戻って次の項目縦サイズ(l2)の内容が調べられ
る。このステップC13の項目縦サイズ(l1)の内容判別
時に於いて、表メモリアドレス(i)で指定される項目
縦サイズ(l1)の内容が「0」である(未登録)ことが
判断されると、ステップC16にて、縦項目数の増加が可
能か否か(Y0+(i×2)≦60)が判断される。ここで
縦項目数の増加が可能であることが判断されると、ステ
ップC17にて、上記表メモリ16内の上記表メモリアドレ
ス(i)で指定される項目縦サイズ(li)の記憶領域に
「1」がセットされ、更にステップC18で同メモリ16内
の縦項目数(m)が「+1」された後、上記第3図
(A)のステップA32以降の罫線表示処理に入る。この
際の縦項目数の増加例を第4図(C)に示している。
Based on the basic table pattern, the horizontal item number increase / decrease process shown in FIG. 3 (B) is performed.
When the down (↓) direction cursor key cd is operated after ek is operated, the process of increasing the number of vertical items is performed. That is, when the down (↓) direction cursor key cd is operated once, the content of the tabulation mode flag (F) in the work RAM 17 is already “2” as described above at this time, The processing after step C11 in FIG. In the process of FIG. 3 (C), first, in step C11, it is determined whether or not the content of the tabulation mode flag (F) in the work RAM 17 is "2". If it is determined that the number of operations of the execution key ek is “2”, the work RAM 17 is determined in step C12.
A table memory address register (i = 1) indicating the storage address of the item vertical / horizontal size (l 1 , c 1 ) of the table memory 16 is set in the table memory address register in the table memory 16 and the table specified by the address is specified in step C13. The contents of the item vertical size (l 1 ) in memory 16 are examined. Here, when the content of the item vertical size (l 1 ) is "1" and the item has already been registered, it is determined in step C14 whether the number of items exceeds the maximum number "30". After that, in Step C15,
The table memory address (i) of the table memory address register in the work RAM 17 is incremented by "+1", and the process returns to the step C13 to check the contents of the next item vertical size (l 2 ). In time content determination scores vertical size of the step C13 (l 1), content of the item vertical size specified in the table memory address (i) (l 1) is "0" (not registered) is determined Then, in step C16, it is determined whether or not the number of vertical items can be increased (Y 0 + (i × 2) ≦ 60). If it is determined that the number of vertical items can be increased, then in step C17, the storage area of the item vertical size (l i ) specified by the table memory address (i) in the table memory 16 is displayed. Is set to "1", and the number of vertical items (m) in the memory 16 is further incremented by "+1" in step C18, and then the ruled line display process from step A32 onward in FIG. 3 (A) is started. An example of increasing the number of vertical items at this time is shown in FIG. 4 (C).

又、上(↑)方向カーソルキーcuが操作されると、縦
項目数の減少処理が行なわれる。即ち、上(↑)方向カ
ーソルキーcuが1回操作されると、この際も上記した縦
項目数の増加処理と同様に、既に作業用RAM17内の作表
モードフラグ(F)の内容が「2」となっていることか
ら、第3図(C)のステップC21以降の処理に入る。こ
の第3図(C)の処理は、先ずステップC21で、作業用R
MA17内の作表モードフラグ(F)の内容が「2」である
か否かが判断される。ここで、実行キーekの操作回数が
「2」であることが判断されると、ステップC22で、作
業用RAM17内の表メモリアドレスレジスタに、表メモリ1
6の項目縦サイズ(l30)の格納番地を示す表メモリアド
レス(i=30)が設定され、ステップC23で、そのアド
レスにより指定される表メモリ16内の項目縦サイズ(l
30)の内容が調べられる。ここで上記項目縦サイズ(l
30)の内容が「0」で、項目登録がされていないことを
示している場合は、ステップC24に於いてその項目数が
最小項目数「1」に達したか否かの判断がなされた後、
ステップC25に於いて、作業用RAM17内の表メモリアドレ
スレジスタの表メモリアドレス(i)が「−1」され、
更にその後、上記ステップC23の処理に戻って次の(即
ち1縦項目手前の)項目縦サイズ(l29)の内容が調べ
られる。このステップC23の項目縦サイズ(li)の内容
判別時に於いて、表メモリアドレス(i)で指定される
項目縦サイズ(li)の内容が「1」である(既登録であ
る)ことが判断されると、ステップC26にて、上記表メ
モリ16内の上記表メモリアドレス(i)で指定される項
目縦サイズ(li)の記憶領域が「0」に書き直され、更
にステップC27で同メモリ16内の縦項目数(m)が「−
1」された後、上記第3図(A)のステップA32以降の
罫線表示処理に入る。このようなステップC21〜C27の処
理によりカーソルキーcuの操作に応じて縦項目数が順次
削減される。
When the up (↑) direction cursor key cu is operated, the number of vertical items is reduced. That is, when the up (↑) direction cursor key cu is operated once, the contents of the table mode flag (F) in the work RAM 17 have already been changed to “L” as in the above-described vertical item number increasing process. Since it is "2", the processing after step C21 in FIG. The process shown in FIG. 3 (C) is a step R21, in which the working R
It is determined whether or not the content of the tabulation mode flag (F) in MA17 is "2". If it is determined that the number of operations of the execution key ek is “2”, the table memory 1 is stored in the table memory address register in the working RAM 17 in step C22.
The table memory address (i = 30) indicating the storage address of the item vertical size (l 30 ) of 6 is set, and in step C23, the item vertical size (l
30 ) is examined. Here, the item vertical size (l
If the content of 30 ) is "0", which indicates that the item has not been registered, it is determined in step C24 whether the number of items has reached the minimum item number "1". rear,
At step C25, the table memory address (i) of the table memory address register in the working RAM 17 is set to "-1",
After that, the procedure returns to the processing of step C23, and the contents of the next item vertical size (that is, one vertical item before) is checked (l 29 ). In time content determination scores vertical size of the step C23 (l i), contents of the item vertical size specified in the table memory address (i) (l i) is "1" (which is a registered) that If it is determined that in step C26, the storage area of the item vertical size (l i ) specified by the table memory address (i) in the table memory 16 is rewritten to “0”, and further in step C27. The number of vertical items (m) in the memory 16 is "-
After "1", the ruled line display process starts from step A32 in FIG. 3 (A). By the processing of steps C21 to C27, the number of vertical items is sequentially reduced according to the operation of the cursor key cu.

以上の如くして、カーソルキーcd,cuの操作に従い、
表示された表パターンをもとに縦項目数の増加/減少処
理が行なわれる。
As above, according to the operation of the cursor keys cd, cu,
The number of vertical items is increased / decreased based on the displayed table pattern.

次に、再び実行キーekが操作(第3回目の操作)され
ると、第3図(C)のステップC31〜34に示すカーソル
位置の移動処理が行なわれ、その後、カーソルキーcr,c
lが操作されることにより、その操作に従う第3図
(D)に示すような横項目領域の増減処理が行なわれ
る。
Next, when the execution key ek is operated again (third time operation), the cursor position moving process shown in steps C31 to 34 of FIG. 3C is performed, and then the cursor keys cr, c
When l is operated, the horizontal item area increasing / decreasing process as shown in FIG. 3D is performed according to the operation.

即ち、上述した項目数の増加/減少処理の後、実行キ
ーekが操作されると、第3図(C)のステップC31に於
いて、作表モードフラグ(F)の内容が「2」であるか
否か(第3回目の実行キーek操作であるか否か)が判断
される。ここで、作表モードフラグ(F)の内容が
「2」以外である際は第3図(D)のステップD31以降
の処理に入り、又、作表モードフラグ(F)の内容が
「2」である際は、ステップC32で、作表開始位置レジ
スタに貯えられた作表開始位置(X0,Y0)のXアドレス
(X0)が「+1」されて、その更新されたアドレス値が
カーソル位置レジスタにセットされ、カーソル位置(CX
R,CYR)が更新される。これにより表示画面上のカーソ
ルは、第4図(D)に示すように、作表開始位置(X0,Y
0)より1ドット右方に移動した位置、即ち横方向第1
項目位置上に表示される。このカーソル位置制御の後、
ステップC33にて、作表モードフラグレジスタの作表モ
ードフラグ(F)が「2」から「3」に書き換えられ、
ステップC34にて、表メモリ16の項目縦横サイズ(l1,
c1)の格納番地を示す表メモリアドレス(i=1)が設
定され、その後、上記第3図(A)のステップA32以降
の罫線表示処理に入る。
That is, when the execution key ek is operated after the above-described increase / decrease of the number of items, the content of the tabulation mode flag (F) is "2" in step C31 of FIG. 3 (C). It is determined whether or not there is any (whether or not it is the third execution key ek operation). Here, when the content of the tabulation mode flag (F) is other than "2", the processing after step D31 in FIG. 3D is started, and the content of the tabulation mode flag (F) is "2". , The X address (X 0 ) of the table start position (X 0 , Y 0 ) stored in the table start position register is incremented by “+1” in step C32, and the updated address value is obtained. Is set in the cursor position register and the cursor position (CX
R, CYR) is updated. This causes the cursor on the display screen to move to the tabulation start position (X 0 , Y) as shown in FIG.
0 ) to the right one dot, that is, the first horizontal position
It is displayed above the item position. After this cursor position control,
At step C33, the table mode flag (F) of the table mode flag register is rewritten from "2" to "3",
In step C34, the vertical and horizontal sizes of the items in the table memory 16 (l 1 ,
The table memory address (i = 1) indicating the storage address of c 1 ) is set, and thereafter, the ruled line display processing after step A32 in FIG. 3A is started.

(4).横項目領域の増加/減少処理(第3図(D),
第4図(D)) 上述の如くして、横項目数、縦項目数の増減処理がな
され、実行キーekが操作された後、カーソルキーcr,cl
が操作されることにより、横項目領域の増加/減少処理
が行なわれるもので、その具体的な処理動作を第3図
(D)のフローを参照して説明する。尚、この際、実行
キーekの操作により増減処理対象となる項目領域が指定
されるが、この処理動作については後に述べる。
(4). Increase / decrease horizontal item area (Fig. 3 (D),
FIG. 4 (D)) As described above, the number of horizontal items and the number of vertical items are increased / decreased, and after the execution key ek is operated, the cursor keys cr, cl
Is operated to increase / decrease the horizontal item area, and its specific processing operation will be described with reference to the flow of FIG. 3 (D). At this time, the item area to be increased / decreased is specified by the operation of the execution key ek. This processing operation will be described later.

上述の如くして項目数の増減処理がなされ、実行キー
ekが操作された後、右(→)方向カーソルキーcrが操作
されると第4図(D)に示すような横項目領域の増加処
理に入る。
The number of items is increased or decreased as described above, and the execution key
When the right (→) direction cursor key cr is operated after ek is operated, the horizontal item area increasing process as shown in FIG. 4 (D) is started.

即ち、カーソルが例えば第4図(B)に示すような横
方向第1項目位置上にある際に、右(→)方向カーソル
キーcrが1回操作されると、先ずステップD11で、作業
用RAM17内の作表モードフラグ(F)の内容が「3」で
あるか否かが判断される。ここで、実行キーekの操作回
数が「3」であることが判断されると、ステップD12に
於いて、表全体の横方向領域が最大表示桁(ここでは44
桁)内に収まっているか否かの判断がなされ、最大表示
桁を超えていなければ、ステップD13にて、表メモリア
ドレスレジスタに貯えられた表メモリアドレス(i)に
より指定される項目横サイズ(c1)の内容が「+1」さ
れた後、上記第3図(A)のステップA32以降の罫線表
示処理に入る。この際の横項目領域の増加例を第4図
(D)に示している。
That is, when the right (→) direction cursor key cr is operated once while the cursor is on the position of the first item in the horizontal direction as shown in FIG. It is determined whether or not the content of the tabulation mode flag (F) in the RAM 17 is "3". Here, if it is determined that the number of operations of the execution key ek is "3", the horizontal display area of the entire table is the maximum display digit (44 in this case) in step D12.
It is judged whether or not it is within the digit), and if it does not exceed the maximum display digit, in step D13, the item lateral size ((i) specified by the table memory address (i) stored in the table memory address register ( After the content of c 1 ) is incremented by "+1", the ruled line display processing is started from step A32 of FIG. 3 (A). An example of increasing the horizontal item area at this time is shown in FIG.

又、カーソルが例えば第4図(B)に示すような横方
向第1項目位置上にある際に、左(←)方向カーソルキ
ーclが1回操作されると、先ずステップD21で、作業用R
AM17内の作表モードフラグ(F)の内容が「3」である
か否かが判断される。ここで、実行キーekの操作回数が
「3」であることが判断されると、ステップD22に於い
て、表メモリアドレスレジスタに貯えられた表メモリア
ドレス(i=1)により指定される項目横サイズ(c1
の内容が「1」以上であるか否かが判断され、「1」以
上であれば、ステップD23にて、上記表メモリアドレス
(i=1)により指定される項目横サイズ(c1)の内容
が「−1」された後、上記第3図(A)のステップA32
以降の罫線表示処理に入る。このようなステップD21〜D
23の処理により横項目領域の削減処理が行なわれる。
If the left (←) direction cursor key cl is operated once while the cursor is on the position of the first item in the horizontal direction as shown in FIG. 4B, first, at step D21, the work R
It is determined whether or not the content of the tabulation mode flag (F) in AM17 is "3". Here, if it is determined that the number of operations of the execution key ek is "3", in step D22, the item width specified by the table memory address (i = 1) stored in the table memory address register is displayed. Size (c 1 )
Is determined to be "1" or more. If it is "1" or more, in step D23, the item horizontal size (c 1 ) specified by the table memory address (i = 1 ) is After the content is "-1", step A32 in FIG. 3 (A) above.
The subsequent ruled line display processing starts. Such steps D21 ~ D
By the processing of 23, the horizontal item area reduction processing is performed.

又、上記した横項目領域増減処理の際は、第3図
(D)に示すステップD31〜D37の処理により、増減処理
対象となる項目領域が指定されるもので、実行キーekを
任意回数操作して所望する領域増減対象項目位置上にカ
ーソルを移動させ、その後、カーソルキーcr,clを操作
することにより、上記したような指定項目の横方向領域
の増減処理がなされる。即ち、先ずステップD31で、作
業用RAM17内の作表モードフラグ(F)の内容が「3」
であるか否かが判断される。ここで、実行キーekの操作
回数が「3」であることが判断されると、ステップD32
に於いて、表メモリアドレス(i)が最終項目横サイズ
(c20)の格納位置を超えたか否かの判断がなされ、項
目横サイズ(c20)の格納位置を超えていなければ、ス
テップD33に於いて、表メモリアドレス(i)が「+
1」された後、ステップD34に於いて、その内容が
「1」以上であるか「登録項目があるか)否かが判断さ
れる。ここで上記表メモリアドレス(i)に従う項目横
サイズ(c1)が「1」以上であれば、ステップD35に於
いて、カーソル位置レジスタのカーソル位置(CXR,CY
R)が上記横項目位置上にアドレス更新された後、上記
第3図(A)のステップA32以降の罫線表示処理に入
る。又、上記ステップD32に於いて、表メモリアドレス
(i)が最終項目横サイズ(c20)の格納位置を超えた
場合、又はステップD34に於いて、項目横サイズ(c1
が「0」である(登録項目がない)場合は、ステップD3
6に於いて、実行キーekの操作が次の項目処理指定(こ
こでは縦項目領域の増減指定)であると判断し、作表モ
ードフラグ(F)を「3」から「4」に書替えた後、ス
テップD37に於いて、作表開始位置レジスタに貯えられ
た作表開始位置(X0,Y0)のY方向アドレス(Y0)が
「+1」されて、その更新されたアドレス値がカーソル
位置レジスタにセットされた後、上記第3図(A)のス
テップA32以降の罫線表示処理に入る。
In addition, in the horizontal item area increase / decrease processing described above, the item area to be increased / decreased is specified by the processing of steps D31 to D37 shown in FIG. 3D, and the execution key ek is operated any number of times. Then, the cursor is moved to the desired area increase / decrease target item position, and then the cursor keys cr and cl are operated to increase / decrease the horizontal area of the designated item as described above. That is, first, in step D31, the contents of the tabulation mode flag (F) in the work RAM 17 is "3".
Is determined. Here, if it is determined that the number of operations of the execution key ek is “3”, step D32
It is determined whether the table memory address (i) exceeds the storage position of the final item horizontal size (c 20 ). If it does not exceed the storage position of the item horizontal size (c 20 ), step D33. , The table memory address (i) is "+
After "1", it is determined in step D34 whether the content is "1" or more or "whether there is a registered item." Here, the item lateral size (according to the table memory address (i) above ( If c 1 ) is "1" or more, in step D35, the cursor position (CXR, CY) of the cursor position register
After the address of R) is updated on the horizontal item position, the ruled line display process after step A32 in FIG. Also, in step D32, if the table memory address (i) exceeds the storage position of the final item horizontal size (c 20 ), or in step D34, the item horizontal size (c 1 )
If is 0 (no registration item), step D3
In 6, it was judged that the operation of the execution key ek was the next item processing designation (here, the increase / decrease designation of the vertical item area), and the tabulation mode flag (F) was rewritten from "3" to "4". After that, in step D37, the Y-direction address (Y 0 ) of the tabulation start position (X 0 , Y 0 ) stored in the tabulation start position register is incremented by “+1”, and the updated address value is set. After being set in the cursor position register, the ruled line display processing after step A32 in FIG. 3 (A) is started.

以上の如くして、実行キーekとカーソルキーcr,clの
操作により、任意項目位置の横方向領域の増減処理が行
なわれる。
As described above, the operation of the execution key ek and the cursor keys cr and cl performs the increase / decrease processing of the horizontal area of the arbitrary item position.

(5).縦項目領域の増加/減少処理(第3図(E),
第4図(E)) 上述の如くして、横項目数、縦項目数の増減処理がな
され、又はその後の横項目領域の増減処理がなされて、
実行キーekが操作されることにより、以後、カーソルキ
ーcd,cuの操作に従い縦項目領域の増加/減少処理が行
なわれるもので、その具体的な処理動作を第3図(E)
のフローを参照して説明する。直、この際も実行キーek
の操作により増減処理対象となる項目領域が指定される
が、この処理動作については後に述べる。
(5). Increase / decrease vertical item area (Fig. 3 (E),
FIG. 4 (E)) As described above, the number of horizontal items and the number of vertical items are increased / decreased, or the horizontal item area is increased / decreased thereafter.
By operating the execution key ek, the vertical item area is increased / decreased in accordance with the operation of the cursor keys cd and cu, and its specific processing operation is shown in FIG. 3 (E).
This will be described with reference to the flow. Directly, in this case also execute key ek
The item area to be increased / decreased is specified by the operation of, and the processing operation will be described later.

実行キーekの操作後、下(↓)方向カーソルキーcdが
操作されると、第4図(E)に示すような縦項目領域の
増加処理に入る。
When the down (↓) direction cursor key cd is operated after the execution key ek is operated, the process of increasing the vertical item area as shown in FIG. 4 (E) is started.

即ち、カーソルが例えば第4図(C)に示すような縦
方向第1項目位置上にある際に、下(↓)方向カーソル
キーcdが1回操作されると、先ずステップE11で、作業
用RAM17内の作表モードフラグ(F)の内容が「4」で
あるか否かが判断される。ここで、実行キーekの操作回
数が「4」であることが判断されると、ステップE12に
於いて、表全体の縦方向領域が最大表示桁(ここでは60
桁)内に収まっているか否かの判断がなされ、最大表示
桁を超えていなければ、ステップE13にて、表メモリア
ドレスレジスタに貯えられた表メモリアドレス(i)に
より指定される項目縦サイズ(l1)の内容が「+1」さ
れた後、上記第3図(A)のステップA32以降の罫線表
示処理に入る。この際の縦項目領域の増加例を第4図
(E)に示している。
That is, when the down (↓) direction cursor key cd is operated once when the cursor is located on the vertical first item position as shown in FIG. It is determined whether or not the content of the tabulation mode flag (F) in the RAM 17 is "4". Here, if it is determined that the number of operations of the execution key ek is “4”, then in step E12, the vertical region of the entire table has the maximum display digit (60 in this case).
It is judged whether or not it is within the digit), and if it does not exceed the maximum display digit, in step E13, the item vertical size ((i) specified by the table memory address (i) stored in the table memory address register ( After the content of l 1 ) is incremented by "+1", the ruled line display processing is started from step A32 of FIG. 3 (A). An example of increasing the vertical item area at this time is shown in FIG.

又、カーソルが例えば第4図(C)に示すような縦方
向第1項目位置上にある際に、上(↑)方向カーソルキ
ーcuが1回操作されると、先ずステップE21で、作業用R
AM17内の作表モードフラグ(F)の内容が「4」である
か否かが判断される。ここで、実行キーekの操作回数が
「4」であることが判断されると、ステップE22に於い
て、表メモリアドレスレジスタに貯えられた表メモリア
ドレス(i=1)により指定される項目縦サイズ(l1
の内容が「1」以上であるか否かが判断され、「1」以
上であれば、ステップE23にて、上記表メモリアドレス
(i=1)により指定される項目縦サイズ(l1)の内容
が「−1」された後、上記第3図(A)のステップA32
以降の罫線表示処理に入る。このようなステップE21〜E
23の処理により縦項目領域の削減処理が行なわれる。
If the up (↑) direction cursor key cu is operated once while the cursor is located on the vertical first item position as shown in FIG. R
It is determined whether or not the content of the tabulation mode flag (F) in AM17 is "4". Here, when it is determined that the number of operations of the execution key ek is "4", in step E22, the item vertical specified by the table memory address (i = 1) stored in the table memory address register is set. Size (l 1 )
Is determined to be "1" or more, and if it is "1" or more, in step E23, the item vertical size (l 1 ) specified by the table memory address (i = 1) is specified. After the content is "-1", step A32 in FIG. 3 (A) above.
The subsequent ruled line display processing starts. Such steps E21-E
By the processing of 23, the vertical item area reduction processing is performed.

又、上記した縦項目領域増減処理の際は、第3図
(E)に示すステップE31〜E37の処理により、増減処理
対象となる項目領域が指定されるもので、実行キーekを
任意回数操作して所望する領域増減対象項目位置上にカ
ーソルを移動させ、その後、カーソルキーcd,cuを操作
することにより、上記したような指定項目の縦方向領域
の増減処理がなされる。即ち、先ずステップE31で、作
業用RAM17内の作表モードフラグ(F)の内容が「4」
であるか否かが判断される。ここで、実行キーekの操作
回数が「4」であることが判断されると、ステップE32
に於いて、表メモリアドレス(i)が最終項目縦サイズ
(l30)の格納位置を超えたか否かの判断がなされ、項
目縦サイズ(l30)の格納位置を超えていなければ、ス
テップE33に於いて、表メモリアドレス(i)が「+
1」された後、ステップE34に於いて、その内容が
「1」以上であるか(登録項目があるか)否かが判断さ
れる。ここで上記表メモリアドレス(i)に従う項目縦
サイズ(l1)が「1」以上であれば、ステップE35に於
いて、カーソル位置レジスタのカーソル位置(CXR,CY
R)が上記縦項目位置上にアドレス更新された後、上記
第3図(A)のステップA32以降の罫線表示処理に入
る。又、上記ステップE32に於いて、表メモリアドレス
(i)が最終項目縦サイズ(l30)の格納位置を超えた
場合、又はステップE34に於いて、項目縦サイズ(l1
が「0」である(登録項目がない)場合は、実行キーek
の操作が項目処理の終了指定であると判断し、ステップ
E36に於いて、作表開始位置レジスタに貯えられた作表
開始位置(X0,Y0)アドレスをカーソル位置レジスタに
セットし、更にステップE37にて、作表モードフラグ
(F)を「4」から「0」に書替えた後、上記第3図
(A)のステップA32以降の罫線表示処理に入る。
In the vertical item area increase / decrease processing described above, the item area to be increased / decreased is designated by the processing of steps E31 to E37 shown in FIG. 3E, and the execution key ek is operated any number of times. Then, the cursor is moved to the desired area increase / decrease target item position, and then the cursor keys cd and cu are operated to increase / decrease the vertical area of the designated item as described above. That is, first, at step E31, the contents of the table mode flag (F) in the work RAM 17 is "4".
Is determined. Here, if it is determined that the number of operations of the execution key ek is “4”, step E32
It is determined whether the table memory address (i) exceeds the storage position of the final item vertical size (l 30 ), and if it does not exceed the storage position of the item vertical size (l 30 ), step E33. , The table memory address (i) is "+
After "1", in step E34, it is determined whether or not the content is "1" or more (whether there is a registered item). If the item vertical size (l 1 ) according to the table memory address (i) above is "1" or more, the cursor position (CXR, CY) of the cursor position register is determined in step E35.
After the address of R) has been updated on the vertical item position, the ruled line display processing after step A32 in FIG. 3A is started. Further, in step E32, if the table memory address (i) exceeds the storage position of the final item vertical size (l 30 ), or in step E34, the item vertical size (l 1 ).
Is "0" (there is no registration item), the execution key ek
Operation is judged to be the end designation of item processing, and step
At E36, the table start position (X 0 , Y 0 ) address stored in the table start position register is set in the cursor position register, and the table mode flag (F) is set to "4" at step E37. After being rewritten from "" to "0", the ruled line display process is started from step A32 of FIG. 3 (A).

以上の如くして、実行キーekとカーソルキーcd,cuの
操作により、任意項目位置の縦方向領域の増減処理が行
なわれる。
As described above, the operation of the execution key ek and the cursor keys cd and cu performs the increase / decrease processing of the vertical area of the arbitrary item position.

上述したような作表処理手段により、簡単な操作入力
で任意フォーマットの表を容易かつ迅速に作成すること
ができる。
With the tabulation processing means as described above, it is possible to easily and quickly create a table in an arbitrary format with a simple operation input.

直、上記した実施例に於いては、表示部12のページレ
イアウト表示部DLに表パターンを表示する構成としてい
るが、これに限るものではなく、例えば文書表示に混在
させて表を表示させる構成としてもよい。
In the above-mentioned embodiment, the table layout is displayed on the page layout display section DL of the display section 12, but the invention is not limited to this. For example, the table is displayed mixedly in the document display. May be

又、上記実施例では、表情報として項目毎にその大き
さを数値データで表メモリ1に記憶したが、これに限ら
ず、例えば上記表情報を表示画面と一対一に対応したイ
メージ情報として記憶させてもよい。
Further, in the above embodiment, the size of each item as the table information is stored in the table memory 1 as numerical data, but the present invention is not limited to this, and the table information is stored as image information corresponding to the display screen one-to-one. You may let me.

又、上記実施例に於いては、LCD構造の表示部を用い
た文書処理装置を例に示したが、これに限るものではな
く、例えばCRTディスプレイ構成の文書処理装置であっ
てもよい。
Further, in the above embodiment, the document processing device using the display unit having the LCD structure is shown as an example, but the present invention is not limited to this, and may be a document processing device having a CRT display configuration, for example.

又、上記実施例に於いては、項目数、及び項目領域の
増減をカーソルキーによって指定する構成としている
が、これに限らず、例えば専用のキーを設けた構成、又
は他の特定キーを兼用して用いる構成、又はライトペン
により指定する構成等の何れであってもよい。
Further, in the above embodiment, the number of items and the increase / decrease of the item area are designated by the cursor keys, but the invention is not limited to this. For example, a dedicated key is provided, or another specific key is also used. It may be configured to be used as described above or designated by a light pen.

又、上記した実施例では基本表パターンを3×3項目
とし、かつ各項目領域を1文字領域としているが、これ
に限らず1項目・1文字領域以上の任意の項目数であれ
ばよい。
Further, in the above-mentioned embodiment, the basic table pattern has 3 × 3 items and each item area has one character area. However, the present invention is not limited to this, and any number of items of one item / one character area or more may be used.

又、上記実施例に於いては横項目、及び縦項目の表作
成処理について述べたが、これに限ることはなく、何れ
か一方のみの項目の表作成処理手段であってもよい。
Further, in the above embodiment, the table creation processing of the horizontal item and the vertical item has been described, but the invention is not limited to this, and the table creation processing means of only one of the items may be used.

[発明の効果] 本発明によれば、表の新規設定時点において表示され
る基本表に対して、カーソル移動指示操作により右方向
あるいは左方向への移動指示を行なう毎に、作成対象と
する表の表項目数を1つづつ増加あるいは減少させるこ
とができ、またこの後のカーソル移動指示操作により、
上記基本表あるいはその基本表の表項目数の増減された
表の各表項目における項目横サイズを、そのカーソル移
動指示操作量に応じて逐次拡大縮小することができる。
EFFECTS OF THE INVENTION According to the present invention, a table to be created each time a basic table displayed at the time of newly setting a table is instructed to move to the right or left by a cursor move instruction operation. It is possible to increase or decrease the number of table items by one by one, and by the subsequent cursor movement instruction operation,
The item lateral size in each table item of the basic table or the table in which the number of table items in the basic table is increased or decreased can be sequentially expanded or reduced according to the amount of operation for instructing cursor movement.

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

第1図は本発明の一実施例を示すブロック図、第2図は
上記実施例に於ける基本表パターンの表示例を示す図、
第3図(A)乃至(E)はそれぞれ上記実施例に於ける
処理フローを示すフローチャート、第4図(A)乃至
(E)は上記第3図(A)乃至(E)の処理フローに従
う動作説明図である。 11……キーボード11、12……表示部、13……印字部、14
……CPU、15……文書メモリ、16……表メモリ、17……
作業用RAM、18……ROM、19……タイマ、20……表示メモ
リ、21……表示ドライバ、22……印字制御部、DL……ペ
ージレイアウト表示部、cr,cl,cd,cu……カーソルキ
ー、ek……実行キー。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing a display example of a basic table pattern in the above embodiment,
FIGS. 3A to 3E are flowcharts showing the processing flow in the above embodiment, and FIGS. 4A to 4E follow the processing flow in FIGS. 3A to 3E. FIG. 11 …… Keyboard 11, 12 …… Display section, 13 …… Print section, 14
…… CPU, 15 …… Document memory, 16 …… Table memory, 17 ……
Work RAM, 18 ... ROM, 19 ... Timer, 20 ... Display memory, 21 ... Display driver, 22 ... Print control section, DL ... Page layout display section, cr, cl, cd, cu ... Cursor key, ek …… Enter key.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】表示画面上におけるカーソル位置の右方向
への移動、あるいは左方向への移動を指示するカーソル
移動指示手段と、 表の新規設定を指示する指示手段と、 上記指示手段による表の新規設定が指示された際は、予
め設定された項目数からなる基本表を表示し、この基本
表が表示された後にあって、上記カーソル移動指示手段
による右方向への移動指示操作が行われた際は、その移
動指示操作量に応じて上記基本表の表項目数を1つづつ
増加させ、かつ、上記カーソル移動指示手段による左方
向への移動指示操作が行われた際は、上記基本表に対す
る表項目数の増加が行われた表の表項目数を、その移動
指示操作量に応じて1つづつ減少させる表項目数増減手
段と、 上記表項目数増減手段により上記基本表の表項目数の増
減した後にあって、上記カーソル移動指示手段による右
方向への移動指示操作が行われた際は、上記基本表ある
いはその基本表の表項目数の増減された表の各表項目に
おける項目横サイズを、その移動指示操作量に応じて逐
次拡大させ、かつ、上記カーソル移動指示手段による左
方向への移動指示操作が行われた際は、上記基本表ある
いはその基本表の表項目数の増減された表の各表項目に
おける項目横サイズを、その移動指示操作量に応じて逐
次縮小させる表項目サイズ拡縮手段と、 を具備したことを特徴とする表設定装置。
1. A cursor movement instructing means for instructing to move the cursor position to the right or to the left on the display screen, an instructing means for instructing new setting of the table, and a table for moving the table by the instructing means. When a new setting is instructed, a basic table consisting of a preset number of items is displayed, and after this basic table is displayed, a movement instruction operation to the right by the cursor movement instruction means is performed. When the movement instruction operation is performed, the number of table items in the basic table is increased by one, and when the movement instruction operation to the left by the cursor movement instruction means is performed, The table item number increasing / decreasing means for decreasing the table item number of the table in which the number of table items is increased by one according to the movement instruction operation amount, and the table of the basic table by the table item number increasing / decreasing means. After increasing or decreasing the number of items Therefore, when a movement instruction operation to the right by the cursor movement instruction means is performed, the item lateral size in each table item of the basic table or the table in which the number of table items of the basic table is increased or decreased, When the leftward movement instruction operation is performed by the cursor movement instruction means and the cursor is sequentially enlarged according to the movement instruction operation amount, the basic table or a table in which the number of table items in the basic table is increased or decreased is displayed. A table setting device comprising: a table item size enlargement / reduction unit for sequentially reducing the item horizontal size of each table item according to the movement instruction operation amount.
JP60090136A 1985-04-26 1985-04-26 Tabulation method Expired - Lifetime JP2553493B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60090136A JP2553493B2 (en) 1985-04-26 1985-04-26 Tabulation method
DE19863613740 DE3613740A1 (en) 1985-04-26 1986-04-23 Method of generating a table to store a relatively large quantity of data areas, and device to implement this method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60090136A JP2553493B2 (en) 1985-04-26 1985-04-26 Tabulation method

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP6167603A Division JPH0749867A (en) 1994-07-20 1994-07-20 Table preparation device
JP6167604A Division JP2595196B2 (en) 1994-07-20 1994-07-20 Table setting method

Publications (2)

Publication Number Publication Date
JPS61249087A JPS61249087A (en) 1986-11-06
JP2553493B2 true JP2553493B2 (en) 1996-11-13

Family

ID=13990089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60090136A Expired - Lifetime JP2553493B2 (en) 1985-04-26 1985-04-26 Tabulation method

Country Status (1)

Country Link
JP (1) JP2553493B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
富士ゼロックス(株)、「JSStarリファレンスガイド」(1984.Nov)(P.12−19〜12−20.P12−24;P12−31〜12−32)

Also Published As

Publication number Publication date
JPS61249087A (en) 1986-11-06

Similar Documents

Publication Publication Date Title
JPH0677192B2 (en) Character data display method
JP2553493B2 (en) Tabulation method
JP3474961B2 (en) Document information processing device
JP2595196B2 (en) Table setting method
JPH03156668A (en) Document preparing device
JPH0749867A (en) Table preparation device
JP2606579B2 (en) Character display device
JP3404770B2 (en) Document processing device
JPH05189424A (en) Device and method for editing document
JPH07234868A (en) Document preparing device
JP2570544B2 (en) Image output control device
JP2564779B2 (en) Character output device
JPS6321174A (en) Printer
JPH0728790A (en) Method and device for document processing
JPH03161861A (en) Document processor with tabulating function
JPH02277667A (en) Registering method for character through operating panel of printer
JPS63163954A (en) Forme system
JPS63317818A (en) Intra-field document editing device
JPH05158924A (en) Device for editing document and method therefor
JPH0619443A (en) Information processor
JPH08305688A (en) Method and device for documentation
JPH05165810A (en) Document editor and document editing method
JPH0463785B2 (en)
JPH03276253A (en) Display processor
JPH1027170A (en) Document preparation and display device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term