JPH0749867A - Table preparation device - Google Patents

Table preparation device

Info

Publication number
JPH0749867A
JPH0749867A JP6167603A JP16760394A JPH0749867A JP H0749867 A JPH0749867 A JP H0749867A JP 6167603 A JP6167603 A JP 6167603A JP 16760394 A JP16760394 A JP 16760394A JP H0749867 A JPH0749867 A JP H0749867A
Authority
JP
Japan
Prior art keywords
item
horizontal
vertical
cursor
items
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
JP6167603A
Other languages
Japanese (ja)
Inventor
Shigeo Kurakake
重雄 倉掛
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 JP6167603A priority Critical patent/JPH0749867A/en
Publication of JPH0749867A publication Critical patent/JPH0749867A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily and immediately prepare a desired table when the new table is prepared. CONSTITUTION:A tabulation mode is entered by operating a tabulation key fk on a keyboard 11 and a display position is specified by operating cursor movement keys at this time. A basic table is displayed with an execution key ek and the number of lateral table items, the number of longitudinal table items, and the lateral and longitudinal sizes of the respective table items are specified in order with the cursor movement keys and execution keys, so that the desired table is displayed at a display part 12.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、所望する表を任意に作
成できる表作成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a table creating apparatus capable of creating a desired table arbitrarily.

【0002】[0002]

【従来の技術】従来、ワードプロセッサ等において表を
作成しようとした場合、横罫線や縦罫線を適宜組合せて
表形式に組み立てて作成していた。
2. Description of the Related 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.

【0003】また、予めその形態が決められていた固定
表をまず表作成作業により簡易に読み出して表を自動的
に設定し、この後、必要に応じてこの表に対して表編集
作業を行なうことによりその表に列を追加したり、行を
追加したりできるものもあった。
Further, a fixed table whose form has been determined in advance is first simply read by a table creating operation to automatically set the table, and then a table editing operation is performed on this table as needed. Some could even add columns or rows to the table.

【0004】[0004]

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

【0005】また、上記のように基本となる表に対して
表編集作業を行なうことで、その表の形態を変更するも
のにおいては、上記表作成作業と上記表編集作業とが独
立したものとなっており、上記表作成作業では予め決め
られた形態の表は簡易に作成できるものの、この表がオ
ペレータの所望するものでないときには、新たに表編集
作業を指定して上記表に対して煩雑な表編集作業を行な
う必要があり、新規な表を作成する時点において、所望
する表を、簡易にしかも直ちに作成することができない
という問題があった。
Further, in the case of changing the form of the table by performing the table editing work on the basic table as described above, the table creating work and the table editing work are independent. In the above table creation work, a table of a predetermined form can be easily created, but when this table is not what the operator desires, a new table editing work is designated and the table is complicated. There is a problem that it is necessary to perform table editing work, and at the time of creating a new table, a desired table cannot be created easily and immediately.

【0006】本発明の課題は、新規な表を作成する時点
において、所望する表を簡易に、しかも直ちに作成でき
るようにすることである。
An object of the present invention is to make it possible to easily and immediately create a desired table at the time of creating a new table.

【0007】[0007]

【課題を解決するための手段】本発明の手段は次の通り
である。表の新たな作成を示す表作成モードを任意に指
定するモード指定手段と、このモード指定手段での指定
がなされた時点において、表の新たな作成を示す上記表
作成モードになり、この表作成モード下において、表の
横方向及び縦方向における初期の表項目数として予め決
められていた所定数を、上記表の横方向及び縦方向にお
ける表項目数として指定し、更にこの後の上記横方向及
び縦方向における各表項目数の任意の変更指定操作によ
り、上記表の横方向及び縦方向における上記初期の表項
目数を変更して所望する表項目数を指定する表項目数指
定手段と、上記表作成モード下にある状態での上記表項
目数指定手段による指定に応じて、横方向及び縦方向の
表項目数が上記表項目数指定手段により指定された上記
横方向及び縦方向の表項目数で決まる表を作成する表作
成手段と、上記表作成モード下において上記表作成手段
により新規に作成された表の表イメージを、上記表作成
モード下におけるカーソルによる位置指定操作で指定さ
れた表示位置に表示する表示手段と、を有する。
The means of the present invention are as follows. A mode designating means for arbitrarily designating a table creation mode indicating a new creation of a table, and at the time when the designation is made by this mode designating means, the above table creation mode indicating a new creation of the table is entered, and this table creation In the mode, a predetermined number that was previously determined as the initial number of table items in the horizontal and vertical directions of the table is specified as the number of table items in the horizontal and vertical directions of the above table, and then the above horizontal direction. And a table item number designating means for designating a desired number of table items by changing the initial number of table items in the horizontal and vertical directions of the table by an arbitrary change designation operation of each table item number in the vertical direction, The table in the horizontal direction and the vertical direction in which the number of table items in the horizontal direction and the vertical direction is specified by the table item number specifying unit according to the specification by the table item number specifying unit in the table creation mode. item And the display position specified by the position specification operation with the cursor in the table creation mode, and the table image of the table newly created by the table creation means under the table creation mode. And display means for displaying.

【0008】[0008]

【作用】本発明の手段の作用は次の通りである。表の新
たな作成を示す表作成モードが任意に指定された時点に
おいて、表作成モードになり、この表作成モード下にお
いて、表の横方向及び縦方向における初期の表項目数と
して予め決められていた所定数が、上記表の横方向及び
縦方向における表項目数として自動的に指定され、更に
この後の上記横方向及び縦方向における各表項目数の任
意の変更指定操作により、上記横方向及び縦方向におけ
る初期の表項目数が指定される。この指定に応じて、横
方向及び縦方向の表項目数が上記表項目数指定手段によ
り指定された上記横方向及び縦方向の表項目数で決まる
表が作成され、この新規に作成された表の表イメージ
が、上記表作成モード下におけるカーソルによる位置指
定操作で指定された表示位置に表示される。
The operation of the means of the present invention is as follows. When a table creation mode that indicates new creation of a table is arbitrarily specified, the table creation mode is entered, and under this table creation mode, a predetermined number of table items in the horizontal and vertical directions of the table is predetermined. The specified number is automatically specified as the number of table items in the horizontal and vertical directions of the table, and the horizontal direction can be changed by any subsequent operation of specifying and changing the number of table items in the horizontal and vertical directions. And the initial number of table items in the vertical direction is specified. In accordance with this designation, a table in which the number of table items in the horizontal and vertical directions is determined by the number of table items in the horizontal and vertical directions designated by the table item number designating means is created, and this newly created table is created. The table image is displayed at the display position designated by the position designation operation with the cursor in the table creation mode.

【0009】従って、表作成モードを指定して新規な表
を作成する際に、その表作成モードを指定した時点にお
いて、まず表の横項目数及び縦項目数の初期の値として
所定数で自動的に指定されるので、オペレータはこれを
基準にこの値を変更して所望する表項目数になるように
指定操作を行なうだけで、その指定内容に基づいた新規
な表を直ちに作成でき、またこの作成された表を表示カ
ーソルで指定した所望する表示位置に表示させることが
できる。
Therefore, when a new table is created by designating the table creation mode, at the time when the table creation mode is designated, first, a predetermined number of horizontal items and vertical items are automatically set as initial values. Since the operator can change this value based on this and perform a specifying operation to obtain the desired number of table items, a new table based on the specified content can be immediately created, and The created table can be displayed at a desired display position designated by the display cursor.

【0010】[0010]

【実施例】図1はこの発明の一実施例を示すブロック図
であり、ここではページレイアウト表示部をもつワード
プロセッサを例にとり、上記表示部上にてキー入力操作
により作表作業を行なうものとする。図1に於いて、1
1はキーボードであり、ここでは、作業モードを指定す
るための特定のファンクションキーとして作業キーfk
が設けられ、この作業キーfkの操作による作業モード
指定後、後述する基本表パターンをもとに、作業のため
の入力作業が行なわれるもので、この際の項目数、及び
項目領域の増加/減少等の指定入力にはカーソルキーc
r,cl,cd,cu、及び実行キーekが用いられ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS 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. To do. In FIG. 1, 1
Reference numeral 1 denotes a keyboard, and here, a work key fk is used as a specific function key for designating a work mode.
Is provided, and after the work mode is specified by operating the work key fk, the input work for work is performed based on the basic table pattern described later. At this time, the number of items and the item area are increased / decreased. Cursor key c is used to specify the decrease
r, cl, cd, cu, and the execution key ek are used.

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

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

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

【0014】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)及び縦罫長さ
(Ll)の各格納部を罫線長レジスタと称す。
Storage units 15 to 18 are connected to the memory bus of the CPU 14, and access control is performed by the CPU 14. Of these, 15 is a document memory for storing document information, and here, it has a storage capacity of one page consisting of 44 columns × 60 rows. Reference numeral 16 is a table memory for storing table information. Here, the item horizontal size (c1, c2, which represents the horizontal size of each item in units of digits)
.. c20), item horizontal size (l1, l2, ... l30) representing the vertical size of each item in row units, horizontal item number (n), vertical item number (m), and the like are stored. Reference numeral 17 denotes 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 (X0, Y0), and a display. Address of memory 20 (x0,
y0), horizontal ruled line length (Lc), vertical ruled line length (Ll), etc. are stored. Here, the storage unit of the table mode flag (F) is referred to as a table mode flag register, the storage unit of the table memory address (i) is referred to as a table memory address register, and the storage unit of the cursor position (CXR, CYR) is referred to. It is called the cursor position register and is used to create a table starting position (X0,
Y0) storage is referred to as a tabulation start position register, display memory address (x0, y0) storage is referred to as a display memory address register, and horizontal ruled line length (Lc) and vertical ruled line length (Ll) The storage unit is called a ruled line length register.

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

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

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

【0018】図3乃至図9はそれぞれ作表モード時に於
ける処理フローを示すフローチャートであり、図10)
乃至図12はそれぞれ上記図3乃至図9に対応する動作
説明図である。
3 to 9 are flow charts showing the processing flow in the tabulation mode, respectively (FIG. 10).
12 to 12 are operation explanatory diagrams corresponding to FIGS. 3 to 9, respectively.

【0019】以下、図1乃至図12を参照して一実施例
の作用を説明する。表入力時に於いては、キーボード1
1の作表キーfkを操作して作表モードを指定した後、
カーソルキーcr,cl,cd,cu、及び実行キーe
kを操作することにより、表示部12のページレイアウ
ト表示部DLに表示される図2に示すような基本表パタ
ーンをもとに項目数及び項目領域の増減処理が開始され
るもので、その具体的な処理動作を図3乃至図9、及び
図10乃至12に従い説明する。
The operation of the embodiment will be described below with reference to FIGS. Keyboard 1 when entering the table
After specifying the tabulation mode by operating the tabulation key fk of 1,
Cursor keys cr, cl, cd, cu, and execution key e
By operating k, the increase / decrease process of the number of items and the item area is started based on the basic table pattern displayed on the page layout display unit DL of the display unit 12 as shown in FIG. Processing operation will be described with reference to FIGS. 3 to 9 and FIGS.

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

【0021】作表キーfkの操作による作表モード指定
後、キーボード11上のカーソルキーcr,cl,c
d,cuの何れかが操作されることにより、その操作さ
れたカーソルキーに対応する図3の処理が実行される。
After the tabulation mode is specified by operating the tabulation key fk, the cursor keys cr, cl, c on the keyboard 11 are selected.
When either d or cu is operated, the processing of FIG. 3 corresponding to the operated cursor key is executed.

【0022】即ち、右(→)方向カーソルキーcrが操
作された際は、ステップA11Rで、実行キーekの操
作回数に応じて変化するRAM17内の作表モードフラ
グ(F)の内容が「0」であるか否かが判断される。こ
こで、実行キーekの操作回数が「0」であることが判
断されると、ステップA12Rで、RAM17内の横
(X)方向カーソル位置レジスタの内容(CXR)が右
端桁位置(ここでは44桁目)に達しているか否かが判
断され、達していなければステップA13Rで、上記カ
ーソル位置レジスタの内容(CXR)が更新(+1)さ
れて、カーソルが[+X]方向(右方向)に一桁(1ド
ット)移動する。上記ステップA11Rで、実行キーe
kの操作回数が「0」でないことが判断されると、後述
する図6に示すステップB11の処理に入る。又、上記
ステップA12Rで、横方向カーソル位置レジスタの内
容(CXR)が右端桁位置(44桁目)に達しているこ
とが判断されると、そのカーソル操作が無効となり、カ
ーソル位置の移動が行なわれず、カーソルが右端桁位置
に止どまる。
That is, when the right (→) direction cursor key cr is operated, in step A11R, the contents of the table mode flag (F) in the RAM 17, which changes according to the number of times the execution key ek is operated, is "0". , ”Is determined. If it is determined that the number of operations of the execution key ek is "0", the content (CXR) of the lateral (X) direction cursor position register in the RAM 17 is set to the rightmost digit position (44 in this case) in step A12R. It is determined whether or not it has reached the (digit). If not, the content (CXR) of the cursor position register is updated (+1) in step A13R, and the cursor is moved in the [+ X] direction (to the right). Move digit (1 dot). In step A11R above, the execution key e
If it is determined that the number of operations of k is not “0”, the process of step B11 shown in FIG. 6 described later is started. If it is determined in step A12R that the content (CXR) of the horizontal cursor position register has reached the rightmost digit position (44th digit), the cursor operation becomes invalid and the cursor position is moved. Instead, the cursor stays at the rightmost digit position.

【0023】又、左(←)方向カーソルキーclが操作
された際は、ステップA11Lで、作表モードフラグ
(F)の内容が「0」であるか否かが判断され、実行キ
ーekの操作回数が「0」であることが判断されると、
ステップA12Lで、RAM17内の横(X)方向カー
ソル位置レジスタの内容(CXR)が左端桁位置(第1
桁目)に達しているか否かが判断され、達していなけれ
ば、ステップA13Lで、上記カーソル位置レジスタの
内容(CXR)が負方向に更新(−1)されて、カーソ
ルが[−X]方向(左方向)に一桁(1ドット)移動す
る。上記ステップA11Lで、実行キーekの操作回数
が「0」でないことが判断されると、後述する図6に示
すステップB21の処理に入る。又、上記ステップA1
2Lで、横方向カーソル位置レジスタの内容(CXR)
が左端桁位置(第1桁)に達していることが判断される
と、そのカーソル操作が無効となり、カーソル位置の移
動が行なわれず、カーソルが左端桁位置に止どまる。
When the left (←) direction cursor key cl is operated, it is determined in step A11L whether or not the content of the tabulation mode flag (F) is "0", and the execution key ek is pressed. When it is determined that the number of operations is “0”,
At step A12L, the content (CXR) of the horizontal (X) direction cursor position register in the RAM 17 is changed to the leftmost digit position (first
It is determined whether or not it has reached the (digit). If not, the content (CXR) of the cursor position register is updated in the negative direction (-1) in step A13L, and the cursor is in the [-X] direction. Move one digit (one dot) to the left. When it is determined in step A11L that the number of operations of the execution key ek is not "0", the process of step B21 shown in FIG. 6 described later is started. Also, the above step A1
2L, horizontal cursor position register contents (CXR)
Is determined to have reached the leftmost digit position (first digit), the cursor operation becomes invalid, the cursor position is not moved, and the cursor remains at the leftmost digit position.

【0024】又、下(↓)方向カーソルキーcdが操作
された際は、ステップA11Dで、作表モードフラグ
(F)の内容が「0」であるか否かが判断され、実行キ
ーekの操作回数が「0」であることが判断されると、
ステップA12Dで、RAM17内の縦(Y)方向カー
ソル位置レジスタの内容(CYR)が最下行位置(ここ
では60行)に達しているか否かが判断され、達してい
なければ、ステップA13Dで、上記カーソル位置レジ
スタの内容(CYR)が更新(+1)されて、カーソル
が[+Y]方向(下方向)に一行(1ドット)移動す
る。上記ステップA11Dで、実行キーekの操作回数
が「0」でないことが判断されると、後述する図7に示
すステップC11の処理に入る。又、上記ステップA1
2Dで、縦方向カーソル位置レジスタの内容(CYR)
が最下行位置(60行)に達していることが判断される
と、そのカーソル操作が無効となり、カーソル位置の移
動が行なわれず、カーソルが最下行位置に止どまる。
When the down (↓) direction cursor key cd is operated, it is determined in step A11D whether or not the content of the tabulation mode flag (F) is "0", and the execution key ek is pressed. When it is determined that the number of operations is “0”,
In step A12D, it is determined whether or not the content (CYR) of the vertical (Y) direction cursor position register in the RAM 17 has reached the bottom row position (here, 60 rows). If not, in step A13D, The content (CYR) of the cursor position register is updated (+1), and the cursor moves one line (one dot) in the [+ Y] direction (downward). When it is determined in step A11D that the number of times the execution key ek has been operated is not "0", the process of step C11 shown in FIG. Also, the above step A1
Contents of vertical cursor position register (CYR) in 2D
Is determined to have reached the bottom row position (60th row), the cursor operation becomes invalid, the cursor position is not moved, and the cursor remains at the bottom row position.

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

【0026】つぎに、作表モード指定に伴う実行キーe
kの操作により、表示部12のページレイアウト表示部
DLに基本表パターンが表示されるまでの処理について
図4のフローを参照して説明する。
Next, the execution key e associated with the specification of the tabulation mode
The process until the basic table pattern is displayed on the page layout display section DL of the display section 12 by the operation of k will be described with reference to the flow of FIG.

【0027】実行キーekが操作されると、ステップA
21にて作表モードであるか否かの判断が行なわれる。
ここで作表モードでないときは通常の文書作成処理によ
る実行キーekの操作入力判定がなされ、通常の文書作
成処理フローに戻る。又、作表モードの際は、ステップ
A22で、作表モードフラグ(F)の内容が「0」であ
るか否かが調べられ、「0」以外である際は、図6のス
テップB31の処理に入る。又、作表モードフラグ
(F)の内容が「0」である際は、作表モードフラグ
(F)の内容更新(0→1)に先立ち、ステップA23
〜ステップA30の処理が実行される。即ち、ステップ
A23で、RAM17内の横項目数(n)を貯える横項
目数レジスタに「3」が設定され、ステップA24で、
RAM17内の縦項目数(m)を貯える縦項目数レジス
タに「3」が設定され、ステップA25で、RAM17
内の予め定められた3つの項目横サイズ(c1,c2,
c3)を貯える各項目横サイズレジスタに、それぞれ横
項目サイズが最小桁、即ち1桁であることを示す「1」
が設定され、ステップA26で、RAM17内の予め定
められた3つの項目縦サイズ(l1,l2,l3)を貯
える各項目縦サイズレジスタに、それぞれ縦項目サイズ
が最小行、即ち1行であることを示す「1」が設定さ
れ、ステップA27で、RAM17内の残る項目横サイ
ズ(c4,c5,…c20)を貯える各項目横サイズレ
ジスタにそれぞれクリアし、ステップA28で、RAM
17内の残る項目縦サイズ(l4,l5,…l30)を
貯える各項目縦サイズレジスタをそれぞれクリアし、ス
テップA29で、RAM17内のカーソル位置(CX
R,CYR)を貯えるカーソル位置レジスタの内容を同
RAM17内の作表開始位置(X0,Y0)を貯える作
表開始位置レジスタにセットし、ステップA30で、R
AM17内のカーソル位置(CXR)を貯えるカーソル
位置レジスタの内容を「+1」する。この後、ステップ
A31で、RAM17内の作表モードフラグレジスタの
内容が「+1」されて「F=1」となる。
When the execution key ek is operated, step A
At 21, it is determined whether or not the table mode is set.
If not in the tabulation mode, the operation input of the execution key ek is determined by the normal document creation process, and the process returns to the normal document creation 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". If it is other than "0", step B31 in FIG. Start processing. When the content of the tabulation mode flag (F) is “0”, the contents of the tabulation mode flag (F) are updated (0 → 1) before step A23.
~ The process of step A30 is executed. That is, in step A23, "3" is set in the lateral item number register for storing the lateral 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, and the RAM 17 is set in step A25.
Predetermined three item horizontal sizes (c1, c2,
In each item horizontal size register storing c3), "1" indicating that the horizontal item size is the minimum digit, that is, one digit
Is set, and in step A26, each item vertical size register for storing three predetermined item vertical sizes (l1, l2, l3) in the RAM 17 has a minimum vertical item size, that is, one line. Is set to 1, and in step A27, the remaining item horizontal size (c4, c5, ... c20) in the RAM 17 is cleared in each item horizontal size register, and in step A28, the RAM is stored.
Each item vertical size register that stores the remaining item vertical size (l4, l5, ... l30) in 17 is cleared, and in step A29, the cursor position (CX
The contents of the cursor position register for storing R, CYR) are set in the table forming start position register for storing the table forming start position (X0, Y0) in the same RAM 17, and R is set in step A30.
The content of the cursor position register that stores the cursor position (CXR) in the AM 17 is incremented by "+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".

【0028】その後、ステップA32〜A44の処理に
より、上記ステップA23〜A30で設定されたデータ
に従い、図10(A)に示されるような基本表パターン
の表示処理が実行される。即ち、ステップA32で横罫
の長さ(Lc)が求められ、ステップA33で縦罫の長
さ(Ll)が求められて、その各値がRAM17内の対
応するレジスタにセットされる。ここでは、上記ステッ
プA23,A24にて、RAM17内の横項目数レジス
タ及び縦項目数レジスタにそれぞれ「3」(n=3,m
=3)がセットされ、ステップA25〜A28にて、R
AM17内の各項目横サイズレジスタ及び項目縦サイズ
レジスタのうち、項目横サイズ(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. 10A 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 in steps A25 to A28, R
Of each item horizontal size register and item vertical size register in the AM 17, the item horizontal size (c1, c2, c3),
And "1" is set only in the registers that store the item vertical size (l1, l2, l3), respectively,
Data (Lc = 6, Ll = 6) indicating the length of “6” dots for both the horizontal rule and the vertical rule are set in the corresponding ruled line length registers in the RAM 17.

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

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

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

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

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

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

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

【0036】又、上記基本表パターンの入力後、又は上
記横項目数の増加処理後に於いて、左(←)方向カーソ
ルキーclが操作されると横項目数の減少処理が行なわ
れる。即ち、左(←)方向カーソルキーclが1回操作
されると、この際も上記した横項目数の増加処理と同様
に、既に作業用RAM17内の作表モードフラグ(F)
の内容が「0」でなく「1」となっていることから、図
6のステッップB21以降の処理に入る。この図6の処
理は、先ずステップB21で、作業用RAM17内の作
表モードフラグ(F)の内容が「1」であるか否かが判
断される。ここで、実行キーekの操作回数が「1」で
あることが判断されると、ステップB22で、作業用R
AM17内の表メモリアドレスレジスタに、表メモリ1
6の項目縦横サイズ(l20,c20)の格納番地を示
す表メモリアドレス(i=20)が設定され、ステップ
B23で、そのアドレスにより指定される表メモリ16
内の項目横サイズ(c20)の内容が調べられる。ここ
で上記項目横サイズ(c20)の内容が「0」で、項目
登録がされていないことを示している場合は、ステップ
B24に於いてその項目数が最小項目数「1」に達した
か否かの判断がなされた後、ステップB25に於いて、
作業用RAM17内の表メモリアドレスレジスタの表メ
モリアドレス(i)が「−1」され、上記ステップB2
3の処理に戻って次の(即ち1横項目手前の)項目横サ
イズ(c19)の内容が調べられる。このステップB2
3の項目横サイズ(ci)の内容判別時に於いて、表メ
モリアドレス(i)で指定される項目横サイズ(ci)
の内容が「1」である(既に登録である)ことが判断さ
れると、ステップB26にて、上記表メモリ16内の上
記表メモリアドレス(i)で指定される項目横サイズ
(ci)の記憶領域が「0」に書き直され、更にステッ
プB27で同メモリ16内の横項目数(n)が「−1」
された後、上記図4のステップ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 tabulation mode flag (F) already in the working RAM 17 is also present at this time, as in the above-described horizontal item number increasing process.
Since the content of is not "0" but "1", the processing after step B21 in FIG. 6 is started. In the process of FIG. 6, first, in step B21, it is determined whether or not the content of the table 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”, in step B22, the work R
The table memory 1 is stored in the table memory address register in the AM17.
The table memory address (i = 20) indicating the storage address of the item 6 vertical / horizontal size (120, c20) is set, and in step B23, the table memory 16 designated by the address is set.
The content of the item horizontal size (c20) in is checked. If the content of the item horizontal size (c20) is "0", indicating that no item is registered, whether the item number has reached the minimum item number "1" in step B24. After it is judged whether or not it is, in step B25,
The table memory address (i) of the table memory address register in the work RAM 17 is decremented by "-1", and the above step B2 is executed.
Returning to the processing of 3, the content of the next item horizontal size (that is, before the next one horizontal item) (c19) is examined. This step B2
Item horizontal size (ci) specified by table memory address (i) when determining the contents of item horizontal size (ci) of 3
When it is determined that the content of the item is "1" (already registered), in step B26, the item horizontal size (ci) specified by the table memory address (i) in the table memory 16 is stored. The storage area is rewritten to "0", and in step B27, the number of lateral items (n) in the memory 16 is "-1".
After that, the ruled line display processing after step A32 in FIG. 4 is started. By the processing of steps B21 to B27, the number of horizontal items is sequentially reduced according to the operation of the cursor key cl.

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

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

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

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

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

【0042】又、上(↑)方向カーソルキーcuが操作
されると、縦項目数の減少処理が行なわれる。即ち、上
(↑)方向カーソルキーcuが1回操作されると、この
際も上記した縦項目数の増加処理と同様に、既に作業用
RAM17内の作表モードフラグ(F)の内容が「2」
となっていることから、図7のステップC21以降の処
理に入る。この図7の処理は、先ずステップC21で、
作業用RAM17内の作表モードフラグ(F)の内容が
「2」であるか否かが判断される。ここで、実行キーe
kの操作回数が「2」であることが判断されると、ステ
ップC22で、作業用RAM17内の表メモリアドレス
レジスタに、表メモリ16の項目縦サイズ(l30)の
格納番地を示す表メモリアドレス(i=30)が設定さ
れ、ステップC23で、そのアドレスにより指定される
表メモリ16内の項目縦サイズ(l30)の内容が調べ
られる。ここで上記項目縦サイズ(l30)の内容が
「0」で、項目登録がされていないことを示している場
合は、ステップC24に於いてその項目数が最小項目数
「1」に達したか否かの判断がなされた後、ステップC
25に於いて、作業用RAM17内の表メモリアドレス
レジスタの表メモリアドレス(i)が「−1」され、更
にその後、上記ステップC23の処理に戻って次の(即
ち1縦項目手前の)項目縦サイズ(l29)の内容が調
べられる。このステップC23の項目縦サイズ(li)
の内容判別時に於いて、表メモリアドレス(i)で指定
される項目縦サイズ(li)の内容が「1」である(既
に登録である)ことが判断されると、ステップC26に
て、上記表メモリ16内の上記表メモリアドレス(i)
で指定される項目縦サイズ(li)の記憶領域が「0」
に書き直され、更にステップC27で同メモリ16内の
縦項目数(m)が「−1」された後、上記図4のステッ
プ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 tabulation mode flag (F) in the work RAM 17 have already been changed to “Similar to the above-described vertical item number increasing process. 2 "
Therefore, the processing after step C21 in FIG. 7 is started. In the process of FIG. 7, first in step C21,
It is determined whether or not the content of the tabulation mode flag (F) in the work RAM 17 is "2". Here, the execution key e
When it is determined that the number of operations of k is "2", in step C22, the table memory address register in the working RAM 17 stores the table memory address indicating the storage address of the item vertical size (l30) of the table memory 16. (I = 30) is set, and in step C23, the content of the item vertical size (l30) in the table memory 16 specified by the address is checked. If the content of the item vertical size (l30) is "0", indicating that no item is registered, has the number of items reached the minimum item number "1" in step C24? After a decision is made, step C
In 25, the table memory address (i) of the table memory address register in the working RAM 17 is decremented by "-1", and thereafter, the process returns to the processing of the step C23 and the next (that is, one vertical item before) item. The content of the vertical size (129) is checked. Item vertical size of this step C23 (li)
When it is determined that the content of the item vertical size (li) designated by the table memory address (i) is “1” (already registered) in the content determination of step C26, The table memory address (i) in the table memory 16
The storage area of the item vertical size (li) specified by is 0
And the number of vertical items (m) in the memory 16 is decremented by "-1" in step C27, and then the ruled line display processing from step A32 onward in FIG. 4 is started. 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.

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

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

【0045】即ち、上述した縦項目数の増加/減少処理
の後、実行キーekが操作されると、図7のステップC
31に於いて、作表モードフラグ(F)の内容が「2」
であるか否か(第3回目の実行キーek操作であるか否
か)が判断される。ここで、作表モードフラグ(F)の
内容が「2」以外である際は図8のステップD31以降
の処理に入り、又、作表モードフラグ(F)の内容が
「2」である際は、ステップC32で、作表開始位置レ
ジスタに貯えられた作表開始位置(X0,Y0)のXア
ドレス(X0)が「+1」されて、その更新されたアド
レス値がカーソル位置レジスタにセットされ、カーソル
位置(CXR,CYR)が更新される。これにより表示
画面上のカーソルは、図12(A)に示すように、作表
開始位置(X0,Y0)より1ドット右方に移動した位
置、即ち横方向第1項目位置上に表示される。このカー
ソル位置制御の後、ステップC33にて、作表モードフ
ラグレジスタの作表モードフラグ(F)が「2」から
「3」に書き換えられ、ステップC34にて、表メモリ
16の項目縦横サイズ(l1,c1)の格納番地を示す
表メモリアドレス(i=1)が設定され、その後、上記
図4のステップA32以降の罫線表示処理に入る。
That is, when the execute key ek is operated after the above-described vertical item number increase / decrease process, step C in FIG.
In 31, the content of the tabulation mode flag (F) is “2”
Or not (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 of FIG. 8 is started, and when the content of the tabulation mode flag (F) is "2". In step C32, the X address (X0) of the tabulation start position (X0, Y0) stored in the tabulation start position register is set to "+1", and the updated address value is set in the cursor position register. , The cursor position (CXR, CYR) is updated. As a result, the cursor on the display screen is displayed, as shown in FIG. 12A, at a position moved to the right by one dot from the tabulation start position (X0, Y0), that is, on the horizontal first item position. . After this cursor position control, in step C33, the tabulation mode flag (F) in the tabulation mode flag register is rewritten from "2" to "3", and in step C34, the vertical and horizontal sizes of items in the table memory 16 ( The table memory address (i = 1) indicating the storage address of (11, c1) is set, and then the ruled line display processing of step A32 and subsequent steps in FIG. 4 is started.

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

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

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

【0049】又、カーソルが例えば図10(B)に示す
ような横方向第1項目位置上にある際に、左(←)方向
カーソルキーclが1回操作されると、先ずステップD
21で、作業用RAM17内の作表モードフラグ(F)
の内容が「3」であるか否かが判断される。ここで、実
行キーekの操作回数が「3」であることが判断される
と、ステップD22に於いて、表メモリアドレスレジス
タに貯えられた表メモリアドレス(i=1)により指定
される項目横サイズ(c1)の内容が「1」以上である
か否かが判断され、「1」以上であれば、ステップD2
3にて、上記表メモリアドレス(i=1)により指定さ
れる項目横サイズ(c1)の内容が「−1」された後、
上記図4のステップA32以降の罫線表示処理に入る。
このようなステップD21〜D23の処理により横項目
領域の削減処理が行なわれる。
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. 10B, for example, step D
21, a table mode flag (F) in the work RAM 17
It is determined whether or not the content of 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. It is determined whether or not the content of the size (c1) is "1" or more, and if it is "1" or more, step D2
3, after the content of the item horizontal size (c1) designated by the table memory address (i = 1) is "-1",
The ruled line display processing after step A32 in FIG. 4 is started.
The horizontal item area reduction processing is performed by the processing of steps D21 to D23.

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

【0051】以上の如くして、実行キー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.

【0052】(5).縦項目領域の増加/減少処理(図
9,図12(B)) 上述の如くして、横項目数、縦項目数の増減処理がなさ
れ、又はその後の横項目領域の増減処理がなされて、実
行キーekが操作されることにより、以後、カーソルキ
ーcd,cuの操作に従い縦項目領域の増加/減少処理
が行なわれるもので、その具体的な処理動作を図9のフ
ローを参照して説明する。尚、この際も実行キーekの
操作により増減処理対象となる項目領域が指定される
が、この処理動作については後に述べる。
(5). Vertical item area increase / decrease processing (FIGS. 9 and 12B) As described above, the horizontal item number and vertical item number increase / decrease processing is performed, or the horizontal item area increase / decrease processing is performed thereafter. When the execution key ek is operated, the vertical item area increase / decrease processing is subsequently performed according to the operation of the cursor keys cd and cu. The specific processing operation will be described with reference to the flow of FIG. To do. Also in this case, the item area to be increased / decreased is designated by the operation of the execution key ek. The processing operation will be described later.

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

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

【0055】又、カーソルが例えば図11に示すような
縦方向第1項目位置上にある際に、上(↑)方向カーソ
ルキーcuが1回操作されると、先ずステップE21
で、作業用RAM17内の作表モードフラグ(F)の内
容が「4」であるか否かが判断される。ここで、実行キ
ーekの操作回数が「4」であることが判断されると、
ステップE22に於いて、表メモリアドレスレジスタに
貯えられた表メモリアドレス(i=1)により指定され
る項目縦サイズ(l1)の内容が「1」以上であるか否
かが判断され、「1」以上であれば、ステップE23に
て、上記表メモリアドレス(i=1)により指定される
項目縦サイズ(l1)の内容が「−1」された後、上記
図4のステップA32以降の罫線表示処理に入る。この
ようなステップE21〜E23の処理により縦項目領域
の削減処理が行なわれる。
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. 11, for example, step E21 is first executed.
Then, it is determined whether or not the content of the tabulation mode flag (F) in the work RAM 17 is "4". Here, if it is determined that the number of operations of the execution key ek is “4”,
At step E22, it is judged whether or not the content of the item vertical size (l1) designated by the table memory address (i = 1) stored in the table memory address register is "1" or more. If it is greater than or equal to "," in step E23, after the content of the item vertical size (l1) specified by the table memory address (i = 1) is set to "-1", the ruled line after step A32 in FIG. Enter display processing. The vertical item area reduction processing is performed by the processing of steps E21 to E23.

【0056】又、上記した縦項目領域増減処理の際は、
図9に示すステップ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,CYR)が上記縦項目
位置上にアドレス更新された後、上記図4のステップA
32以降の罫線表示処理に入る。又、上記ステップE3
2に於いて、表メモリアドレス(i)が最終項目縦サイ
ズ(l30)の格納位置を超えた場合、又はステップE
34に於いて、項目縦サイズ(l1)が「0」である
(登録項目がない)場合は、実行キーekの操作が項目
処理の終了指定であると判断し、ステップE36に於い
て、作表開始位置レジスタに貯えられた作表開始位置
(X0,Y0)アドレスをカーソル位置レジスタにセッ
トし、更にステップE37にて、作表モードフラグ
(F)を「4」から「0」に書き換えた後、上記図4の
ステップA32以降の罫線表示処理に入る。
When the vertical item area increase / decrease processing described above is performed,
By the processing of steps E31 to E37 shown in FIG. 9, the item area to be increased / decreased is specified, and the execution key ek is operated any number of times to move the cursor to the desired area increase / decrease item position, and then , Cursor key cd,
By operating cu, the vertical area increase / decrease process of the designated item as described above is performed. That is, first, in step E31, it is determined whether or not the content of the tabulation mode flag (F) in the work RAM 17 is "4". If it is determined that the number of operations of the execution key ek is "4", it is determined in step E32 whether the table memory address (i) exceeds the storage position of the final item vertical size (130). Is determined and the storage position of the item vertical size (l30) is not exceeded, in step E33,
After the table memory address (i) is incremented by "+1", it is determined in step E34 whether the content is "1" or more (whether there is a registration item). Here, if the item vertical size (l1) according to the table memory address (i) is "1" or more, the cursor position (CXR, CYR) of the cursor position register is addressed to the vertical item position in step E35. After being updated, step A in FIG. 4 above
The process for displaying ruled lines after 32 is started. Also, the above step E3
In 2, if the table memory address (i) exceeds the storage position of the final item vertical size (130), or step E
If the item vertical size (l1) is "0" in 34 (there is no registered item), it is determined that the operation of the execution key ek is the end designation of the item processing, and in step E36, the operation is performed. The table start position (X0, Y0) address stored in the table start position register is set in the cursor position register, and the table mode flag (F) is rewritten from "4" to "0" in step E37. After that, the ruled line display processing after step A32 of FIG. 4 is started.

【0057】以上の如くして、実行キー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.

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

【0059】尚、上記した実施例に於いては、表示部1
2のページレイアウト表示部DLに表パターンを表示す
る構成としているが、これに限るものではなく、例えば
文書表示に混在させて表を表示させる構成としてもよ
い。
In the embodiment described above, the display unit 1
Although the table pattern is displayed on the second page layout display section DL, the table pattern is not limited to this, and the table may be displayed in a mixed manner in the document display, for example.

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

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

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

【0063】又、上記した実施例では基本表パターンを
3×3項目とし、かつ各項目領域を1文字領域としてい
るが、これに限らず1項目・1文字領域以上の任意の項
目数であればよい。
In the above 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. Good.

【0064】又、上記実施例に於いては横項目、及び縦
項目の表作成処理について述べたが、これに限ることは
なく、何れか一方のみの項目の表作成処理手段であって
もよい。
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 them may be used. .

【0065】[0065]

【発明の効果】本発明によれば、表作成モードを指定し
て新規な表を作成する際に、その表作成モードを指定し
た時点において、まず表の横項目数及び縦項目数の初期
の値として所定数で自動的に指定されるので、オペレー
タはこれを基準にこの値を変更して所望する表項目数に
なるように指定操作を行なうだけで、その指定内容に基
づいた新規な表を直ちに作成でき、またこの作成された
表を表示カーソルで指定した所望する表示位置に表示さ
せることができる。
According to the present invention, when a table creation mode is specified and a new table is created, at the time when the table creation mode is specified, the initial number of horizontal items and vertical items is first set. The value is automatically specified in a specified number, so the operator only needs to change this value and specify the desired number of table items, and a new table based on the specified content will be displayed. Can be immediately created, and the created table can be displayed at a desired display position designated by the display cursor.

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

【図1】実施例のブロック図である。FIG. 1 is a block diagram of an embodiment.

【図2】実施例の基本表パターンの表示例を示す図であ
る。
FIG. 2 is a diagram showing a display example of a basic table pattern according to the embodiment.

【図3】〜[Figure 3]

【図9】実施例における処理を示すフローチャートであ
る。
FIG. 9 is a flowchart showing a process in the embodiment.

【図10】〜FIG. 10

【図12】実施例の動作説明図である。FIG. 12 is an explanatory diagram of the operation of the embodiment.

【符号の説明】[Explanation of symbols]

11 キーボード 12 表示部 15 文書メモリ 16 表メモリ 11 keyboard 12 display unit 15 document memory 16 table memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 表の新たな作成を示す表作成モードを任
意に指定するモード指定手段と、 このモード指定手段での指定がなされた時点において、
表の新たな作成を示す上記表作成モードになり、この表
作成モード下において、表の横方向及び縦方向における
初期の表項目数として予め決められていた所定数を、上
記表の横方向及び縦方向における表項目数として指定
し、更にこの後の上記横方向及び縦方向における各表項
目数の任意の変更指定操作により、上記表の横方向及び
縦方向における上記初期の表項目数を変更して所望する
表項目数を指定する表項目数指定手段と、 上記表作成モード下にある状態での上記表項目数指定手
段による指定に応じて、横方向及び縦方向の表項目数が
上記表項目数指定手段により指定された上記横方向及び
縦方向の表項目数で決まる新規な表を作成する表作成手
段と、 上記表作成モード下において上記表作成手段により新規
に作成された表の表イメージを、上記表作成モード下に
おけるカーソルによる位置指定操作で指定された表示位
置に表示する表示手段と、 を具備したことを特徴とする表作成装置。
1. A mode designating means for arbitrarily designating a table creation mode indicating a new creation of a table, and at the time of designation by this mode designating means,
In the table creation mode showing the new creation of the table, under this table creation mode, the predetermined number that was previously determined as the initial number of table items in the horizontal and vertical directions of the table Specify the number of table items in the vertical direction, and then change the initial number of table items in the horizontal and vertical directions of the table by any change specifying operation of the number of table items in the horizontal and vertical directions. Then, according to the table item number designating means for designating the desired number of table items and the table item number designating means under the table creation mode, the number of table items in the horizontal and vertical directions is as described above. Table creating means for creating a new table determined by the number of table items in the horizontal and vertical directions specified by the table item number specifying means, and a table newly created by the table creating means under the table creating mode. Table Table creation unit, wherein a di-, equipped with a display means for displaying the designated display position by the position specifying operation by the cursor under the table creation mode.
JP6167603A 1994-07-20 1994-07-20 Table preparation device Pending JPH0749867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6167603A JPH0749867A (en) 1994-07-20 1994-07-20 Table preparation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6167603A JPH0749867A (en) 1994-07-20 1994-07-20 Table preparation device

Related Parent Applications (1)

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

Publications (1)

Publication Number Publication Date
JPH0749867A true JPH0749867A (en) 1995-02-21

Family

ID=15852841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6167603A Pending JPH0749867A (en) 1994-07-20 1994-07-20 Table preparation device

Country Status (1)

Country Link
JP (1) JPH0749867A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6060686A (en) * 1983-09-13 1985-04-08 富士通株式会社 Start control system for image data

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6060686A (en) * 1983-09-13 1985-04-08 富士通株式会社 Start control system for image data

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
JP2595196B2 (en) Table setting method
JPH0749867A (en) Table preparation device
JP2553493B2 (en) Tabulation method
JPH03156668A (en) Document preparing device
JP2663967B2 (en) Information storage control method
JP2828301B2 (en) Control display processor for graphs and tables
JPH0357079A (en) Graphic register control system
JP2635311B2 (en) Document processing device
JPH06325144A (en) Layout design system
JP3193635B2 (en) Image processing apparatus, system, method and map processing apparatus
JP2921975B2 (en) Handwritten document creation device
JPH06110442A (en) Character and figure processor and method for deforming character of figure
JPH0619902A (en) Japanese word processor
JP3009609U (en) CAD device capable of managing character arrangement and character information
JPH07234868A (en) Document preparing device
JPH05189424A (en) Device and method for editing document
JPH06236365A (en) Word processor and format setting method
JPH06124106A (en) Method for setting screen output from digitizer
JPH0696069A (en) Ruled line drawing device with format
JPS63163954A (en) Forme system
JPH06266706A (en) Word processor with character size changing function
JPH0248942B2 (en)
JPS62286160A (en) Word processor
JPH08287049A (en) Data display device