JPS62200458A - Listing system - Google Patents

Listing system

Info

Publication number
JPS62200458A
JPS62200458A JP61041430A JP4143086A JPS62200458A JP S62200458 A JPS62200458 A JP S62200458A JP 61041430 A JP61041430 A JP 61041430A JP 4143086 A JP4143086 A JP 4143086A JP S62200458 A JPS62200458 A JP S62200458A
Authority
JP
Japan
Prior art keywords
block
line
key
character
column
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.)
Granted
Application number
JP61041430A
Other languages
Japanese (ja)
Other versions
JP2540800B2 (en
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 JP61041430A priority Critical patent/JP2540800B2/en
Priority to DE19873706492 priority patent/DE3706492A1/en
Publication of JPS62200458A publication Critical patent/JPS62200458A/en
Application granted granted Critical
Publication of JP2540800B2 publication Critical patent/JP2540800B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0489Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To simplify an input operation for generating a table, and a correcting operation, and to obtain a man/machine interface having a very high efficiency, by correcting automatically the size of a table block in accordance with the number of input characters in the table block. CONSTITUTION:At the time of generating a table, first of all, a fundamental block which becomes the left upper part of the table is called by operating a listing key 1-1, and subsequently, when a character key is operated successively, the block is enlarged and a character data is inputted, a display cursor moves to the next digit, and by operating an end key 1-5, the table is completed. Also, by operating an execution key 1-2, the table block of the next line is set. Also, when it is desired to bring a character line to a line feed in the table block, it can be executed by depressing a line feed key 1-3, and when it is desired to shift to the second line after the block of the first line is completed, it can be executed by depressing a line increase key 1-4. In this regard, the line feed of the block after the second line is executed by an execution key 1-2.

Description

【発明の詳細な説明】 [産業上の利用分野1 この発明はワードプロセッサ等における作表方式に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field 1] This invention relates to a tabulation system in word processors and the like.

[発明の概要] この発明は、ワードプロセッサ等の作表方式において、
各表ブロック内の入力文字数を管理することにより表ブ
ロックの寸法を自動調整するようにしたものである。
[Summary of the Invention] This invention provides a tabulation system for word processors, etc.
The size of the table block is automatically adjusted by managing the number of input characters in each table block.

[従来の技術] 従来、ワードプロセッサ等で表を作成する場合には、最
初に1表の枠、大きさを定義し、ディスプレイ上に表の
枠が完成してから各表ブロック内に文字データを入力す
るという方式を採用している。この場合、表の大きさや
枠の大きさはその範囲指定、π線指定等のコマンドをキ
ー人力することによってのみワードプロセッサ内のメモ
リ上に定義町イ先である。
[Prior Art] Conventionally, when creating a table using a word processor, etc., the frame and size of one table are first defined, and after the table frame is completed on the display, character data is inserted into each table block. We use an input method. In this case, the size of the table and the size of the frame can only be defined on the memory in the word processor by manually inputting commands such as range specification and pi line specification.

[発明の解決しようとする問題点] したがって従来方式においては、表ブロック内に入力で
きる最大の文字データ数は、その表ブロックの横の巾と
縦の巾、すなわち、定義ずみの桁数、行数で制限されて
しまうため1表ブロックの寸法より長い文字データを入
力しようとすると、途中でオーバーフローが生じてしま
う、このような場合には1表の枠や大きさを定義し直す
必要があるが、この修正はできない場合があり、できる
にしても非常に複雑な修正操作をオペレータに強いてい
た。また、このような理由から、オペレータは1表作成
に当っては表の各ブロックに入れる文字数をあらかじめ
入念にチェックした上で表の大きさや枠の大きさを決め
ざるを(りす、大きな負担となっていた。この発明は以
上の点を鑑みてなされたもので、オペレータが表の大き
さや各表ブロックの大きさについて考慮を払うことなく
、また複雑な表修正操作を必要とすることなく所望の表
を作成することのできる作表方式を提供することを目的
とするものである。
[Problem to be solved by the invention] Therefore, in the conventional method, the maximum number of character data that can be input in a table block is the width and height of the table block, that is, the defined number of digits and rows. Because it is limited by the number, if you try to input character data that is longer than the dimensions of one table block, an overflow will occur in the middle.In such a case, it is necessary to redefine the frame and size of one table. However, this correction may not be possible in some cases, and even if it is possible, the operator is forced to perform extremely complicated correction operations. In addition, for this reason, when creating a table, operators are forced to carefully check the number of characters to be included in each block of the table before deciding on the size of the table and the size of the frame. This invention was made in view of the above points, and allows the operator to perform desired operations without having to consider the size of the table or the size of each table block, and without having to perform complicated table modification operations. The purpose of this is to provide a tabulation method that allows the creation of tables.

[問題点を解決するための手段] 第1図は本発明の機能ブロック図である。同図において
、Aは表ブロック内の入力文字データ数を計数する計数
手段、Bは計数手段Aの計数値に基づいて表ブロックの
大きさを制御する表ブロックサイズ制御手段である。
[Means for Solving the Problems] FIG. 1 is a functional block diagram of the present invention. In the figure, A is a counting means for counting the number of input character data in a table block, and B is a table block size control means for controlling the size of the table block based on the count value of the counting means A.

[作用、展開] 本発明の特徴は、表ブロックの大きさがすペレータの指
定を介してのみ定義される従来方式と全く対照的に、表
ブロック内に入る文字数によって表ブロックの大きさが
自由に再定義(更新)されていくことにある、すなわち
、計数手段Aの計数した表ブロック内の入力文字データ
数に合わせて表ブロックサイズ制御手段Bは表ブロー、
りの大きさを変えていく。
[Operation and Development] A feature of the present invention is that the size of the table block can be freely resized depending on the number of characters that fit in the table block, in stark contrast to the conventional method in which the size of the table block is defined only through the specification of the operator. In other words, the table block size control means B controls the table block size according to the number of input character data in the table block counted by the counting means A.
The size of the ri is changed.

望ましくは、計数手段Aには同じ列を構成する複数の表
ブロー2り内の入力文字桁数のうちで最大の値を計数す
る最大桁計数手段を設け、上記表ブロックサイズ制御手
段Bにはこの最大桁計数手段の内容に合わせて同じ列と
なる各表ブロックの列巾(横の寸法)を一致させる列寸
法11111手段を設けるとよい、さらに望ましくは、
計数手段Bには同じ行を構成する複数の表ブロック内の
入力文字行数のうちで最大のイ4を計数する最大行計数
手段を設け、表ブロックサイズ制御手段にはこの最大行
計数手段の内容に合わせて同じ行となる各表ブロックの
行巾(縦の寸法)を−・致させる行寸法制御手段を設け
るとよい。
Preferably, the counting means A is provided with maximum digit counting means for counting the maximum value among the number of input character digits in a plurality of table blocks 2 constituting the same column, and the table block size control means B is provided with It is preferable to provide a column dimension 11111 means for matching the column width (horizontal dimension) of each table block in the same column according to the contents of the maximum digit counting means, and more preferably,
The counting means B is provided with a maximum row counting means for counting the maximum number of input character rows in a plurality of table blocks constituting the same row, and the table block size control means is provided with a maximum row counting means for counting the maximum number of input character rows in a plurality of table blocks constituting the same row. It is preferable to provide a line size control means for adjusting the line width (vertical dimension) of each table block in the same line according to the contents.

[¥施例] 以下1本発明の一実施例について詳細に説明する。[¥Example] An embodiment of the present invention will be described in detail below.

梗−戎 本実施例の構成を第2図に示す0本実施例においては、
基本的に各表ブロック内への文字データ入力のみによっ
て、自動的に表ブロックの寸法が更新され、結果として
表が自動的に作成される。
The configuration of this embodiment is shown in FIG. 2. In this embodiment,
Basically, just by inputting character data into each table block, the dimensions of the table block are automatically updated, and as a result, a table is automatically created.

表作成のためのデータ入力の順序はいろいろ考えられる
が、説明の便宜上1本実施例ではN行×M列の表を作成
する場合、左上を作成する表の開始位置とし、そこから
1行分の枠内データを人力し、以下次行の枠内データを
順次入力し、最後に右下の枠内データを人力した時点で
表が完成するようにしている(第5図、第6図参照)。
Various data input orders can be considered for creating a table, but for convenience of explanation, in this example, when creating a table with N rows and M columns, the top left is the starting position of the table to be created, and one row from there. The table is completed by manually inputting the data in the frame, then sequentially inputting the data in the frame in the next row, and finally inputting the data in the lower right frame (see Figures 5 and 6). ).

第2図において、lはキー人力部であり、各種の図示し
ない制御キー、文字キーの外1表作成の開始及び基本表
ブロックの設定を指示する作表キー1−1、ブロックの
列の更新(次列ブロックの設定)及び2行目以降はブロ
ックの行の更新(次行ブロックの設定)も兼ねる実行キ
ー1−2)ブロック内の文字行の改行設定(ブロックの
行巾の拡大)を行う改行キー1−3.1行目のブロック
の終了及び新しいブロック行の設定を行う増生キー1−
4、表作成の終了を指示する終了キー1−5、文字の削
除を指示する削除キーl−6を備える。
In FIG. 2, l is a key manual section, in addition to various control keys (not shown) and character keys, a tabulation key 1-1 for instructing the start of table creation and setting of basic table blocks, and update of block columns. (Setting the next column block) and from the second line onwards, also serves as updating the block line (setting the next line block) Execution key 1-2) Sets a line break for the character line in the block (increasing the line width of the block) Line feed key 1-3. Extend key 1- to end the first line block and set a new block line
4. An end key 1-5 for instructing the end of table creation, and a delete key l-6 for instructing deletion of characters.

2は装置全体を制御するCPUであり、上記キー人力部
1をはじめ各種の周辺デバイスと動作結合している。
Reference numeral 2 denotes a CPU that controls the entire apparatus, and is operatively connected to the key human power section 1 and various peripheral devices.

3は文書/表メモリであり、キー人力部lからのキー人
力をCPU2を介して処理された文書データ、表データ
を格納する0例えば、表データは第3図に例示するよう
な各種ブロックパターン(表の罫線のプリミティブ)を
発生させる制御コードの形式をとる。
Reference numeral 3 denotes a document/table memory, which stores document data and table data processed by the key input from the key input unit 1 via the CPU 2. For example, table data is stored in various block patterns as illustrated in FIG. It takes the form of a control code that generates (a table border primitive).

4は例えばCRTのような表示部であり、CPU2から
のデータに基づいて最終的な表示パターン(ブロックパ
ターン、文字パターン)を生成し、画面とに表示させる
4 is a display unit such as a CRT, which generates a final display pattern (block pattern, character pattern) based on data from the CPU 2 and displays it on the screen.

5はCPU2が表の自動作成1表ブロックサイズの制御
のために用いる表パラメータレジスタ群であり、以下の
レジスタより構成される。
Reference numeral 5 denotes a table parameter register group used by the CPU 2 to automatically create a table and control the table block size, and is composed of the following registers.

LM:表ブロックの行数を格納するものである。初期値
は“l”で増生キー1−4 操作により“2”となり、以降はC= CM=C下での実行+ −1−2操作でインクリメント
される0表作成中は現 在入力中のブロック行番号を表わす。
LM: Stores the number of rows in the table block. The initial value is "l" and becomes "2" by operating the increase key 1-4, and thereafter it is incremented by C= CM=C execution + -1-2 operation.0 While creating the table, it is the block currently being input. Represents the line number.

CM二表ブロックの列数を格納するものである。1行目
のブロック作成中、実行キ ー1−2操作でインクリメントされ、 増生キー1−4操作による1行終了指 示により、固定される。すなわち、表 が何列のプロー2りでできているかを示す。
This stores the number of columns in the CM two-table block. During the creation of the first line block, it is incremented by operating the execute key 1-2, and is fixed by instructing the end of one line by operating the increase key 1-4. In other words, it shows how many rows of plows the table is made of.

C:現在1表の何列目のブロックを処理中であるかを示
すものである。実行キー により更新される。したがって、1行 目のブロック作成中はC=CMとな り、2行目以降はC<CMの間は、実 行キー1−2の操作ごとにインクリメ ントされ、C=CMの条件下での実行 革−1−2156作に対しては初期化される(第1列に
戻る)。
C: Indicates which column of the block in table 1 is currently being processed. Updated by execution key. Therefore, during block creation in the first line, C=CM, and from the second line onwards, while C<CM, it is incremented every time the execution key 1-2 is operated, and the execution change under the condition of C=CM. It is initialized for works 1-2156 (returns to the first column).

L:同一行におけるブロックのうちで最大の行巾を有す
るブロックの行巾を示す ものである。いいかえれば、同一行に あるブロック内の最大文字行数を格納 する。
L: Indicates the line width of the block with the largest line width among blocks on the same line. In other words, it stores the maximum number of character lines in a block on the same line.

交:現在の入力データに係るブロック内の現在の文字行
番号を示す、改行キー1 −3でインクリメントされる。また。
Cross: Indicates the current character line number in the block related to the current input data, and is incremented by line feed keys 1-3. Also.

増生キー1−4あるいは実行キーl− 2により初期化される(次のブロック に移るため)。Increase key 1-4 or execution key l- Initialized by 2 (next block ).

C(i):表のi列目のブロックのうちで最大の列10
を有するブロックの列巾な示すものである。いいかえれ
ば第1列にある ブロック内の最大文字桁数を格納す る。
C(i): Maximum column 10 of the i-th block in the table
This shows the row width of a block with . In other words, the maximum number of character digits in the block in the first column is stored.

CC:現在処理中のブロック内の文字行に。CC: To the character line in the block currently being processed.

現在、何桁目まで文字が入力済である かを示すものである0文字キー操作ご とにインクリメントされ、改行キー1 −31行増生−1−4、実行キーl− 2で初期化される。Currently, characters have been entered up to which digit. Each 0 character key operation indicates and is incremented by the new line key 1 -31 line increase-1-4, execution key l- It is initialized with 2.

以下、LM、CM、C,L、1.C(i)、cCのレジ
スタは、夫々、ブロック行数レジスタ、ブロック列数レ
ジスタ、ブロック列数カウンタ、最大行巾レジスタ、行
巾カウンタ、最大列巾レジスタ、列巾カウンタと呼ぶか
、あるいは単に記号で示すことにする。
Below, LM, CM, C, L, 1. The C(i) and cC registers are respectively referred to as block row number register, block column number register, block column number counter, maximum row width register, row width counter, maximum column width register, column width counter, or simply as I will show it with symbols.

動作(第4〜6図、第7A〜70図) 次に、以上のように構成した実施例の動作について説明
する。
Operation (FIGS. 4-6, FIGS. 7A-70) Next, the operation of the embodiment configured as above will be described.

第4図は本実施例により作成される表の例を示したもの
である0例i)〜V)まで図示してある、そして、これ
らの表の作成の手順(キー操作と表示内容)を第5図と
第6図に示しである。なお第5図と第6図において、O
で囲んだ数字は作成の順序を示している。
FIG. 4 shows examples of tables created according to this embodiment. Examples i) to V) are illustrated, and the procedure for creating these tables (key operations and display contents) is illustrated. This is shown in FIGS. 5 and 6. In addition, in Figures 5 and 6, O
The numbers in brackets indicate the order of creation.

これらの図からもわかるように1表作成に当っては、ま
ず作表キー1−1を操作して、表の左上となる基本ブロ
ック(第3図参照)を呼びだす。
As can be seen from these figures, when creating a table, first operate the tabulation key 1-1 to call up the basic block (see Fig. 3) which is the upper left corner of the table.

次いで文字キーを順次操作すれば、ブロックが拡大され
つつ文字データが入力され、表示カーソルは次桁に移動
する(■、■参照)、終了キー1−5を操作すれば表が
完成する(■、■、@l参照)、また実行キー1−2を
操作すれば、次の列の表ブロックが設定される(■、@
、0参照)。
Next, by operating the character keys sequentially, the block is enlarged and character data is input, and the display cursor moves to the next digit (see ■, ■). By operating the end keys 1-5, the table is completed (■ , ■, @l), and by operating execution keys 1-2, the table block for the next column is set (■, @
, 0).

また、表ブロック内で文字行を改行したいときには改行
キー1−3を押せばよい(■、・、0参照)、また、1
行目のブロック完了後、2行目に移りたいときには増生
キー1−4を押せばよい(■、[株]参照)、なお1図
示しないが、2行目以降のブロック改行は実行キー1−
2で行なわれる。
Also, if you want to break a line of text within a table block, you can press the line feed keys 1-3 (see ■, ., 0).
After completing the block on the first line, if you want to move to the second line, press the increase key 1-4 (see ■, [Stocks]).Although not shown in the figure, you can press the execution key 1-4 to move to the second line.
It is done in 2.

次に、各キー処理のフローチャート(第7A〜70図)
を参照して、さらに詳細に説明する。
Next, a flowchart of each key process (Figures 7A to 70)
This will be explained in more detail with reference to .

まず、作表キー1−1を操作したときには、:57A図
のステップSlに示すように、基本ブロックが設定され
、またステップS2に示すように表パラメータレジスタ
群5は初期化される0以上により1作表モードが確立す
る。
First, when the tabulation key 1-1 is operated, the basic block is set as shown in step Sl in Figure 57A, and the table parameter register group 5 is initialized by 0 or more as shown in step S2. 1 tabulation mode is established.

次に、第5図の■、■等に例示するように、文字キーを
操作したときには、ステップS3で文字入力され、ステ
ップS4で列巾カウンタCCがインクリメントされ、ス
テップS5で列巾カウンタの内容と、C列目すなわち現
在入力中のブロックと同列のブロックにおける最大列巾
C(c)が比較される。第5図の■に例示するように入
力文字桁数がそれまでに入力済の同じ列にあるブロック
内の最大文字桁の数より大きくないときには(cc≦C
(C) ) 、ステップS8へ進みカーソルを次桁に移
動する。一方、第5図の■、■。
Next, as illustrated by ■, ■, etc. in FIG. 5, when a character key is operated, a character is input in step S3, a column width counter CC is incremented in step S4, and the contents of the column width counter are incremented in step S5. The maximum column width C(c) in the C-th column, that is, the block in the same column as the block currently being input, is compared. As shown in ■ in Figure 5, when the number of input character digits is not greater than the maximum number of character digits in the block in the same column that has been input (cc≦C
(C) ), the process advances to step S8 and the cursor is moved to the next digit. On the other hand, ■ and ■ in Figure 5.

■、■に例示するように、入力文字桁数がそれまでに入
力済の同じ列にあるブロー7り内の最大文字桁数より大
きい場合には、ステップS8へ進む前に、(cc−1)
を最大列巾レジスタC(i)に格納し、このレジスタC
(f)の値に基づいて列巾を1桁分拡大する(ステップ
S6、ステップS7)。
As exemplified in ■ and ■, if the number of input character digits is larger than the maximum number of character digits in the blow 7 in the same column that has been input, before proceeding to step S8, (cc-1 )
is stored in the maximum column width register C(i), and this register C
The column width is expanded by one digit based on the value of (f) (step S6, step S7).

表作成を終了させるときには終了キーを押す。To finish creating the table, press the end key.

この場合、第7A図の終了キーのフローかられかるよう
に、終了キーt−Sが1行目で操作されたか2行目以降
のブロックまで作成したところで操作されたかによって
処理が異なる(ステップS9)、■、■のように1行目
(LM= 1)のときには、1桁分列巾を縮小しくステ
ップ510)、第3図に例示するような経列ブロックを
設定しくステップ5ti)、同じく第3図に例示するよ
うな路行ブロックを設定する(ステップ512)、妙の
ように2行目以降のときはステップS12の路行ブロッ
クの設定のみ行う、これは、本例では、第1行目のブロ
ックの作成を完了した時点で、表のブロー、りの列数は
確定したものとして取扱っているからである。
In this case, as can be seen from the flow of the end key in FIG. 7A, the processing differs depending on whether the end key t-S is operated on the first line or when blocks from the second line onwards have been created (step S9). ), ■, ■, when it is the first row (LM = 1), reduce the column width by one digit (step 510), set the line block as shown in Fig. 3 (step 5ti), and similarly A road block as illustrated in FIG. 3 is set (step 512), and when it is the second or subsequent line like Tae, only the road block setting in step S12 is performed. This is because the number of columns in the table is treated as fixed once the creation of the block in the row is completed.

表ブロック内で文字行の改行を行うときには改行キー1
−3を操作する。これにより、まずステップS13で示
すように、行巾カウンタ立の内容が+1され、これから
入力する文字行が何番目の行かが示される0次に、ステ
ップ514で、見〉Lか否か、すなわち、これから入力
しようとする文字行番が、同じブロック行において既に
設定されている最大の文字行数ないし行巾より大きいか
否かが判定される。第5図の■、第6図の■のようにこ
れから入力しようとする文字行番がそれまで同一ブロッ
ク行において入力された最大の文字行数より大きくなる
場合には、LiをレジスタLに格納して最大増巾を更新
しくステップ515)、その最大行巾値に合わせて同じ
行にある全てのブロックの行巾を拡大しくステップ5t
S)、 カーソルを次の文字行の先頭文字桁へ設定しく
ステップ317)、列巾カウンタCCを初期化する(ス
テップ518)、一方、:56図のOのようにこれから
人力しようとする文字行がそれまでの同一ブロック行に
おいて設定ずみのブローり行[口に収容できるときは、
ステップS15とステップS16の処理は不要であり、
ステップ517とステップS18の処理のみ行う。
When performing a line break for a character line within a table block, use the line feed key 1.
- Operate 3. As a result, first, as shown in step S13, the contents of the line width counter are incremented by 1, which indicates the number of the character line to be input.Next, in step 514, it is determined whether or not it is , it is determined whether the character line number that is about to be input is larger than the maximum number of character lines or line width that has already been set in the same block line. If the character line number you are about to input is larger than the maximum character line number input in the same block line, as shown in ■ in Figure 5 and ■ in Figure 6, Li is stored in register L. and update the maximum line width (step 515), and enlarge the line widths of all blocks in the same line according to the maximum line width value (step 5t).
S), Set the cursor to the first character column of the next character line (step 317), initialize the column width counter CC (step 518), while: is the blow line set in the same block line up until then [if it can be accommodated in the mouth,
The processing in step S15 and step S16 is unnecessary,
Only the processes of step 517 and step S18 are performed.

次に実行キーと増生キーの処理について説明する。第7
B図のフローかられかるように、実行キーの処理は1行
目かそれ以降か、また、2行目以降であればC=CMか
否かで異なる(ステップS19、ステップ330)。
Next, processing of the execution key and the increase key will be explained. 7th
As can be seen from the flow in Figure B, the processing of the execution key differs depending on whether it is in the first line or later, and if it is in the second or later line, whether C=CM or not (step S19, step 330).

1行目(LM=1)のときに実行キー1−2が操作され
たときは、ブロック列数レジスタCMとブロック列数カ
ウンタCの内容は共に+1される(ステップ520)つ
まり、1行目のブロック列の作成中はC=CMを保ちつ
つ、列を増やす指示ごとに両者はインクリメントされる
。さらに、CMの更新に従って第3図に例示するような
次列ブロックが設定され(ステップ521)、カーソル
が次列(右側のブロック)の先頭文字桁ヘセットされ(
ステップ522)、最後に、ステップS23で4巾カウ
ンタCCと行巾カウンタ立を初期化する0例えば、第5
図の■や第6図の0のような場合に以上の処理がなされ
る。
When the execution key 1-2 is operated in the first row (LM=1), the contents of the block column number register CM and the block column number counter C are both incremented by 1 (step 520). While creating a block sequence, C=CM is maintained, and both are incremented for each instruction to increase the sequence. Furthermore, according to the CM update, the next column block as illustrated in FIG. 3 is set (step 521), and the cursor is set to the first character digit of the next column (right block) (
Step 522), and finally, in step S23, the 4-width counter CC and the line width counter are initialized to 0, for example, the 5th
The above processing is performed in cases such as ■ in the figure and 0 in FIG.

一方、2行目以降で実行+−1−2が操作されたときは
C=CMか否かで処理が異なる。第5図のOのような場
合には、ブロック列数レジスタCMの値の方がブロック
列数カウンタCの値より小さくなっている(C<CM)
、CMの値は一行目のブロック作成完了で確定する表の
ブロックの列の数を示すものであり、一方Cの値は現在
処理中のブロックの列番号を示すものである。したがっ
て、現在処理中のブロックの列が、CMにより定められ
る表の右端の列に達するまでの間はC<CMとなり、こ
の1例が第5図の@である。この場合、第7B図のステ
ップS31で示すように、ブロック列数カウンタCを+
1し、ステップS32でカーソルを次列(右側の列)の
先頭桁へ設定してから、上記ステップS23へ進む。
On the other hand, when execution +-1-2 is operated on the second line or later, the processing differs depending on whether C=CM or not. In a case like O in Figure 5, the value of the block column number register CM is smaller than the value of the block column number counter C (C<CM).
, CM indicate the number of column blocks in the table that is determined upon completion of block creation in the first row, while the value C indicates the column number of the block currently being processed. Therefore, until the column of the block currently being processed reaches the rightmost column of the table defined by CM, C<CM, and an example of this is @ in FIG. In this case, as shown in step S31 in FIG. 7B, the block column number counter C is set to +
1 and sets the cursor to the first digit of the next column (right column) in step S32, and then proceeds to step S23.

一方、ステップ330でC=CMとなるのは、2行目以
降において表の右端の列のブロック内への文字入力完了
後に実行キー1−2を操作したときである。このような
場合には、実行キー1−2にブロック行の改行機能をも
たせている。すなわち、ステップ32Bでブロック別数
カウンタCと最大行巾レジスタLと行巾カウンタ見を1
に初期化し1列巾カウンタc clOに初期化し、ステ
ップS27でブロック行数レジスタLMの値を+1し、
ステップ528で第3図に例示するような改行ブロック
を設定し、最後にステップS29でカーソルを改行の先
頭列のブロック内の先頭文字桁に設定する。
On the other hand, C=CM in step 330 when the execution key 1-2 is operated after character input into the block in the rightmost column of the table is completed in the second and subsequent rows. In such a case, the execution key 1-2 is provided with a line feed function for block lines. That is, in step 32B, the block number counter C, maximum line width register L, and line width counter are set to 1.
and initialize it to a 1-column width counter cclO, and in step S27, add 1 to the value of the block row number register LM.
In step 528, a line feed block as illustrated in FIG. 3 is set, and finally in step S29, the cursor is set to the first character digit in the block in the first column of the line feed.

ブロック行を1行目から2行目に改行するときは増生キ
ー1−4を操作する(例えば、第5図の■、Q))、こ
の場合、第7B図のステップS24で示すように、右端
のブロックは1文字桁分列巾が縮小され、ステップS2
5で第3図に例示するような経列ブロックが設定される
。あとは、上述した実行キーによる2行目以降のブロッ
ク改行処理と同様に、ステップ326からステップ32
9の処理が行なわれる。
When changing the block line from the first line to the second line, operate the increase keys 1-4 (for example, ■, Q in Fig. 5). In this case, as shown in step S24 in Fig. 7B, The column width of the rightmost block is reduced by one character digit, and step S2
In step 5, a route block as illustrated in FIG. 3 is set. After that, in the same way as the block line feed processing for the second and subsequent lines using the execution key described above, from step 326 to step 32
9 processing is performed.

次に編集時等において、表ブロック内の文字を削除する
場合について説明する。この場合にはカーソルを削除し
たい文字の位置にセットした後削除キー1−6を押す、
これにより、通常の文字削除処理が行なわれた後、第7
C図のステップS33に示すように、削除処理が行なわ
れた表ブロック内の文字桁数が計数されaレジスタに格
納される0次にステップS34で示すように、削除処理
が行なわれた表ブロックと同じ列にある他の表ブロック
のうちで最大の文字桁数を有するものの文字桁数が読み
取られbレジスタに格納される。そしてステップS35
でa≧bか否かが判定される。baaとなるのは、同列
において、文字を削除したブロー2り以外のブロックが
その列における最大の列巾をもっているときである。し
たがってこの場合にはなにもせずフローを抜ける。一方
、a>bとなるのは1文字を削除したブロックがその列
における最大の列巾をもっているときである。そして、
このブロックは1文字削除により、文字桁数が1つ滅っ
ている。したがって、この場合にはステップ336で示
すように、対応する最大列巾レジスタC(+)の内容を
−1し、ステップ537で示すように4巾を縮小し、削
除を行ったブロック列より右側にある表の部分を1文字
桁公人にシフトさせる。
Next, a case will be described in which characters in a table block are deleted during editing or the like. In this case, press the delete key 1-6 after setting the cursor to the position of the character you want to delete.
As a result, after normal character deletion processing is performed, the seventh
As shown in step S33 in Figure C, the number of character digits in the table block on which the deletion process has been performed is counted and stored in the a register.0 Next, as shown in step S34, the table block in which the deletion process has been performed The number of character digits of the other table block in the same column with the largest number of character digits is read and stored in the b register. And step S35
It is determined whether or not a≧b. baa occurs when, in the same row, blocks other than Blow 2 from which characters have been deleted have the maximum row width in that row. Therefore, in this case, the flow exits without doing anything. On the other hand, a>b holds when the block from which one character has been deleted has the maximum column width in that column. and,
In this block, the number of character digits is reduced by one due to the deletion of one character. Therefore, in this case, as shown in step 336, the contents of the corresponding maximum column width register C(+) are decreased by 1, as shown in step 537, the width is reduced by 4, and the block column on the right side of the deleted block column is Shift the part of the table in the table to one character digit public figure.

以上の説明かられかるように、上記実施例ではCPU2
は表パラメータレジスタ群5のパラメータを文字キー人
力と少数の制御キー人力に従って書き換えるとともにパ
ラメータの値に基づいて表の大きさ、枠の大きさ、構成
を決めている。いいかえれば表パラメータで表のサイズ
、枠の大きさ等を定義しているわけである。したがって
、表パラメータの書き換えにより表が自由に再定義(修
正)されるわけである。
As can be seen from the above explanation, in the above embodiment, CPU2
The table rewrites the parameters of the table parameter register group 5 according to the manual input of the character keys and a small number of control keys, and also determines the size of the table, the size of the frame, and the configuration based on the parameter values. In other words, table parameters define the table size, frame size, etc. Therefore, the table can be freely redefined (modified) by rewriting the table parameters.

なお1表パラメータの種類を増やせば、さらにフレキシ
ビイリティの高い作表処理が可能である0例えば、上記
実施例では、表作成の順序が決まっているが、オペレー
タからの種々の順序のキー人力に対して、同一の表が完
成されるようにすることができる0例えば表の各行につ
いてその列数を定めるパラメータを格納するレジスタ#
1や、表の各列についてその行数を定めるパラメータを
格納するレジスタ#2を設け、カーソルキーで自由に動
かされるカーソルが位こする現在処理中の表の列番号1
行番号を定めるパラメータを格納するレジスタ#3を用
い、レジスタ#3の与える現在の列または行番号のとこ
ろでブロックの数列や改行が指示されたときに対応する
列数や行数を扱うレジスタ#lやレジスタ#2の内容を
更新し、更新した値を基にして、表を出力するようにし
てもよい、同様にして、N列×M行のマトリクス構成以
外の表を作成することも可能である。
Note that by increasing the types of table parameters, it is possible to perform tabulation processing with even greater flexibility.For example, in the above example, the order of table creation is fixed, but the operator can input key manual inputs in various orders. For example, a register storing a parameter defining the number of columns for each row of the table, allowing the same table to be completed for #
1 and a register #2 that stores a parameter that determines the number of rows for each column of the table, and the column number 1 of the table currently being processed is placed by the cursor that can be freely moved using the cursor keys.
Using register #3 that stores parameters that determine the row number, register #l handles the number of columns and rows that correspond to when a block sequence or line break is instructed at the current column or row number given by register #3. It is also possible to update the contents of register #2 and output a table based on the updated values.In the same way, it is also possible to create a table other than the matrix structure of N columns x M rows. be.

また、表の編集処理としては1文字削除に限らず、文字
挿入、表ブロック削除、追加などを行わせることも可能
である。
Further, table editing processing is not limited to deleting one character, but may also include character insertion, table block deletion, addition, etc.

[発明の効果] 以上詳述したように本発明によれば表ブロック内の入力
文字数に応じて表ブロックの大きさが自動的に修正され
るため、表作成の入力操作、修正操作が簡単であり、非
常に効率のよいマン/マシンインターフェースが提供さ
れる。
[Effects of the Invention] As detailed above, according to the present invention, the size of the table block is automatically corrected according to the number of input characters in the table block, so input operations and correction operations for table creation are easy. It provides a very efficient man/machine interface.

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

第1図は本発明のall能ブロック図、第2図は本発明
の一実施例の構成図、第3図は実施例で使用するブロッ
クパターンのプリミティブの例を示す図、第4図は作表
例を示す図、第5図と第6図は第4図に例示する表の作
成手順を示す図、第7A図、第7B図、第7C図は実施
例の動作のフローチャートである。 1・・・・・・キー人力部、2・・・・・・CPU、3
・・・・・・文書/表メモリ、5・・・・・・表パラメ
ータレジスタ群、LM・・・・・・ブロック行数レジス
タ、CM・・・・・・ブロック列数レジスタ、C・・・
・・・ブロック列数カウンタ。 L・・・・・・最大行巾レジスタ、愛・・・・・・行[
ロレジスタ。 C(i)・・・・・・最大列巾レジスタ、CC・・・・
・・列巾カウンタ。 特許出願人  カシオ計算機株式会社 二 −1 代理人 弁理士  町 1)俊 正 −1。 −ニー・ニーj ダ 第1図 第2図 l−j 第3図 第4図 第6図 第7g図 第7A図
Fig. 1 is an all function block diagram of the present invention, Fig. 2 is a block diagram of an embodiment of the present invention, Fig. 3 is a diagram showing an example of block pattern primitives used in the embodiment, and Fig. 4 is a block diagram of the block pattern used in the embodiment. 5 and 6 are diagrams showing a table creation procedure illustrated in FIG. 4, and FIGS. 7A, 7B, and 7C are flowcharts of the operation of the embodiment. 1...Key personnel department, 2...CPU, 3
...Document/table memory, 5...Table parameter register group, LM...Block row number register, CM...Block column number register, C...・
...Block column number counter. L...Maximum line width register, A...Line [
lore register. C(i)...Maximum column width register, CC...
...Column width counter. Patent applicant Casio Computer Co., Ltd. 2-1 Agent Patent attorney Machi 1) Masa Toshi -1. -nee knee j da Fig. 1 Fig. 2 l-j Fig. 3 Fig. 4 Fig. 6 Fig. 7g Fig. 7A

Claims (3)

【特許請求の範囲】[Claims] (1)表ブロック内に入力される文字数を計数する計数
手段と、 この計数手段の内容に基づいて表ブロックの大きさを制
御する表ブロックサイズ制御手段と、を有することを特
徴とする作表方式。
(1) A tabulation table characterized by having a counting means for counting the number of characters input in a table block, and a table block size control means for controlling the size of the table block based on the contents of the counting means. method.
(2)特許請求の範囲第1項記載の作表方式において、
前記計数手段は、同一列を構成する複数の表ブロック内
に入力される文字桁数の最大値を計数する最大桁計数手
段を有し、前記表ブロックサイズ制御手段は、この最大
桁計数手段の内容に基づいて同一列の各表ブロックの列
巾を一致させる列寸法制御手段を有することを特徴とす
る作表方式。
(2) In the tabulation method described in claim 1,
The counting means has a maximum digit counting means for counting the maximum number of character digits input in a plurality of table blocks constituting the same column, and the table block size control means has a maximum digit counting means of the maximum digit counting means. A tabulation method characterized by having column size control means for matching the column widths of table blocks in the same column based on the contents.
(3)特許請求の範囲第1項または第2項記載の作表方
式において、前記計数手段は、同一行を構成する複数の
表ブロック内に入力される文字行数の最大値を計数する
最大行計数手段を有し、前記表ブロックサイズ制御手段
は、この最大行計数手段の内容に基づいて同一行の各表
ブロックの行巾を一致させる行寸法制御手段を有するこ
とを特徴とする作表方式。
(3) In the tabulation method according to claim 1 or 2, the counting means counts the maximum number of character lines input in a plurality of table blocks constituting the same line. A tabulation table comprising a row counting means, and the table block size control means having a row size control means for matching the row widths of each table block in the same row based on the contents of the maximum row counting means. method.
JP61041430A 1986-02-28 1986-02-28 Table making device Expired - Lifetime JP2540800B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61041430A JP2540800B2 (en) 1986-02-28 1986-02-28 Table making device
DE19873706492 DE3706492A1 (en) 1986-02-28 1987-02-27 Method and electronic device to generate a table corresponding to data inputs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61041430A JP2540800B2 (en) 1986-02-28 1986-02-28 Table making device

Publications (2)

Publication Number Publication Date
JPS62200458A true JPS62200458A (en) 1987-09-04
JP2540800B2 JP2540800B2 (en) 1996-10-09

Family

ID=12608150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61041430A Expired - Lifetime JP2540800B2 (en) 1986-02-28 1986-02-28 Table making device

Country Status (2)

Country Link
JP (1) JP2540800B2 (en)
DE (1) DE3706492A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01125660A (en) * 1987-11-11 1989-05-18 Canon Inc Tabulation system
JPH03110665A (en) * 1988-12-30 1991-05-10 Soft View Inc Method and apparatus for preparation of general form
JPH03266068A (en) * 1990-03-16 1991-11-27 Fujitsu Ltd Automatic reduction processing system for table block
JPH05305748A (en) * 1992-04-30 1993-11-19 Brother Ind Ltd Printer

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3838729C2 (en) * 1987-11-16 1994-05-05 Canon Kk Document processing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58195945A (en) * 1982-05-11 1983-11-15 Sanyo Electric Co Ltd Word processor
JPS6293745A (en) * 1985-10-18 1987-04-30 Nec Corp Table information correcting system at the time of table format data is inputted

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3138734A1 (en) * 1980-09-29 1982-04-29 Canon K.K., Tokyo Word-processing device
JPS5771072A (en) * 1980-10-20 1982-05-01 Sharp Corp Electronic computer
JPS5844563A (en) * 1981-09-10 1983-03-15 Sharp Corp Processor of ruled line

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58195945A (en) * 1982-05-11 1983-11-15 Sanyo Electric Co Ltd Word processor
JPS6293745A (en) * 1985-10-18 1987-04-30 Nec Corp Table information correcting system at the time of table format data is inputted

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01125660A (en) * 1987-11-11 1989-05-18 Canon Inc Tabulation system
JPH03110665A (en) * 1988-12-30 1991-05-10 Soft View Inc Method and apparatus for preparation of general form
JPH03266068A (en) * 1990-03-16 1991-11-27 Fujitsu Ltd Automatic reduction processing system for table block
JPH05305748A (en) * 1992-04-30 1993-11-19 Brother Ind Ltd Printer

Also Published As

Publication number Publication date
DE3706492A1 (en) 1987-09-03
DE3706492C2 (en) 1993-05-13
JP2540800B2 (en) 1996-10-09

Similar Documents

Publication Publication Date Title
JPH11219355A (en) Document coloring edition device
JPS62200458A (en) Listing system
JPS602668B2 (en) Character pattern registration processing method
JP3118379B2 (en) Layout processing device
JPS58163036A (en) Automatic numbering device
JP3150316B2 (en) Document editing device
JPH01147770A (en) Document editing device
JPH05188909A (en) Device and method for font generation
JPH06251006A (en) Document processor
JPS6375964A (en) Table preparing system
JP2644246B2 (en) Document maker
JPS6364168A (en) Table form changing method
JPH02277667A (en) Registering method for character through operating panel of printer
JPS6260057A (en) Character processor
JPH0330051A (en) Document processor
JPH03141466A (en) Document control method and document preparing device
JPH05189527A (en) Screen data processing system
JPH0330053A (en) Document processor
JPH0589104A (en) Character input editing device
JPS5990160A (en) Conversation type planning system
JPH0236018B2 (en)
JPS63317872A (en) Document producing device
JPS63317818A (en) Intra-field document editing device
JPS6336378A (en) Character processor
JPH07230453A (en) Processor and method for document processing

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term