JPS59128683A - Tabulating method - Google Patents

Tabulating method

Info

Publication number
JPS59128683A
JPS59128683A JP58002219A JP221983A JPS59128683A JP S59128683 A JPS59128683 A JP S59128683A JP 58002219 A JP58002219 A JP 58002219A JP 221983 A JP221983 A JP 221983A JP S59128683 A JPS59128683 A JP S59128683A
Authority
JP
Japan
Prior art keywords
field
text
output
boundary
input
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
JP58002219A
Other languages
Japanese (ja)
Inventor
Tetsuzo Uehara
上原 徹三
Mitsuko Takatori
鷹取 みつ子
Hideko Mikami
三上 秀子
Masao Fujiyama
藤山 政雄
Kazuharu Suzuki
和春 鈴木
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP58002219A priority Critical patent/JPS59128683A/en
Publication of JPS59128683A publication Critical patent/JPS59128683A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Landscapes

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

Abstract

PURPOSE:To form a high tabulating function by a word processor or the like by setting up the line arrangement of a text in a table automatically, setting up a ruled line output position corresponding to the arrangement automatically and correcting the format and contents of the formed table simply. CONSTITUTION:Data are inputted from a terminal keyboard 1 and a tabulation display output is shown on a display device 13. The tabulation is controlled by an input controlling part 2, a field definition controlling part 7, a text arrangement controlling part 9, and an output controlling part 12 under control by a whole control part 4. A text inputted by said procedure is arranged in each field until field border specification appears, and a text character string exceeding field length is arranged by folding it in each field. End/continuation border specification is stored in each field and a lateral ruled line by each field border specification is displayed respectively.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、作表方式に関し、特に複雑な表の形式を簡便
に指定し、自動的に表のマス目を決定してテキストを配
置出力し、またその罫線出力を行うことが可能なテキス
ト編集システムやワード・プロセッサ等の作表方式に関
するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a tabulation method, and particularly relates to a tabulation method that easily specifies a complicated table format, automatically determines grids of the table, and arranges and outputs text. The present invention also relates to a table format for text editing systems, word processors, etc., which can output ruled lines.

〔従来技術〕[Prior art]

伝票には、各行を一様な長さの複数個のフィールドに区
切った単純な形式の表が記載されている場合が多いのに
対して、一般のテキストでは、単純な形式のものは少な
く複雑な形式の表が記載されている。複雑な形式の第1
は、縦と横のマス目の大きさが一様でないこと、そして
第2は1つのマス目の中で、文章が複数行にわたって配
置されることである。上記の第1と第2の形式に対して
、従来のワード・プロセッサの作表機能は、タブ機能と
罫線表示機能が具備されているに過ぎないため、特に上
記第2の形式に対応することができない。また、表テキ
スト内容と罫線表示とが独立に行われるために、テキス
ト内容の変更の際に、ユーザは罫線についても変更する
必要がある。したがって、従来の作表機能では、単純な
表を作成する場合であれば問題はないが、一般の表の作
成に対しては、ユーザの入力操作数が多くなシ、さらに
一旦入力した表を修正する場合にはきわめて煩雑となる
。上記のように、従来のワード・プロセッサの作表機能
は、タイプライタのタブ機能と罫線表示機能のみである
ため、ユーザは、あらかじめ各フィールド内の文字の配
置を行単位に決定して、それにしたがって入力する必要
がある。エリア内に説明文突詰め込まれるような種類の
表では初期入力も煩雑でるる上、一旦入力した表の形式
(例えば、フィールド長)の変更も煩雑である。
Vouchers often contain simple tables with each line divided into fields of uniform length, whereas general text has fewer simple formats and more complicated formats. A table in a format is included. The first complex form
The second problem is that the vertical and horizontal grid sizes are not uniform, and the second problem is that the text is arranged over multiple lines within one grid. In contrast to the first and second formats above, the tabulation function of conventional word processors only has a tab function and a ruled line display function, so it is especially important to support the second format above. I can't. Furthermore, since table text content and ruled line display are performed independently, the user must also change the ruled lines when changing the text content. Therefore, with the conventional tabulation function, there is no problem when creating a simple table, but when creating a general table, it requires a large number of input operations from the user, and It becomes extremely complicated to modify. As mentioned above, the tabulation function of conventional word processors is limited to the tab function and ruled line display function of typewriters, so the user must decide in advance the arrangement of characters in each field line by line, and then Therefore, it is necessary to input it. In the case of a type of table in which explanatory text is crammed into an area, the initial input is complicated, and it is also complicated to change the format (for example, field length) of the table once it has been input.

また、罫線表示位置は、本来、表の形式と対応して決定
されるのが妥当であるが、実際にはそれとはi立に指定
する方法がとられているため、ユーザ操作に無駄があり
、さらにテキスト形式(タブ定義)の変更に罫線表示が
連動しないという問題がある。従来のワード・プロセッ
サでは、基盤目状の表においても、エリアが複数行から
なる場合には、その作成に困難を生じている。
Additionally, although it is originally appropriate for the ruled line display position to be determined in accordance with the format of the table, in reality it is specified in an i-vertical manner, which results in wasteful user operations. Furthermore, there is a problem that the display of ruled lines is not linked to changes in the text format (tab definition). Conventional word processors have difficulty creating basic grid tables when the area consists of multiple lines.

また、従来、その他の作表方式として、テキスト文字列
分割と罫線指定情報を多重に与える方法、および横方向
の配置指定を横方向の罫線指定で兼用する方法を用いる
ものもあるが、入力キー数が多くなるとともに、出力す
る表の形式の自由度を損うという問題がある。
In addition, conventionally, other tabulation methods have been used, such as giving text string division and ruling line specification information multiple times, and using horizontal layout specification as horizontal ruled line specification. As the number increases, there is a problem in that the degree of freedom in the format of the table to be output is lost.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、これら従来の問題点を改善するため、
表内のテキストの行装置の自動化、テキスト配置に応じ
た罫線出力位置の自動的設定および作成した表の形式と
内容の修正の簡単化が可能な作表方式を提供することに
ある。
The purpose of the present invention is to improve these conventional problems,
To provide a tabulation method capable of automating a text line device in a table, automatically setting a ruled line output position according to text arrangement, and simplifying correction of the format and contents of a created table.

〔発明の概要〕[Summary of the invention]

本発明の作表方式は、表の縦割り(フィールド)の個数
、各フィールド長、およびテキストのフィールド境界と
横割りの設定/非設定とを兼ねた境界指定を指定して入
力することにより、入力されたテキストを境界指定が現
われるまで各フィールに配置し、各フィールド内ではフ
ィールド長を越えるテキスト文字列は折り曲げて配置し
、かつフィールドごとの終了/継続の境界指定を記憶し
て、各フィール境界指定による縦方向罫線および終了境
界指定による横方向罫線を、それぞれ出力することに特
徴がある。
The tabulation method of the present invention specifies and inputs the number of vertical divisions (fields) in the table, the length of each field, and the boundary specification that also serves as the field boundary of the text and setting/non-setting of the horizontal division. Place the input text in each field until the boundary specification appears, wrap text strings that exceed the field length within each field, and remember the end/continuation boundary specification for each field. The feature is that a vertical ruled line based on a boundary specification and a horizontal ruled line based on an end boundary specification are respectively output.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の原理と実施例を、図面により説明する。 Hereinafter, the principle and embodiments of the present invention will be explained with reference to the drawings.

第1図〜第4図は、作表に関する各種の形式例、入出力
例を説明する図である。
FIGS. 1 to 4 are diagrams for explaining various format examples and input/output examples regarding tabulations.

図の説明に先立って、用語の定義を行う。Before explaining the figures, some terms will be defined.

表を縦割ヤの分割単位で見るとき、その各単位をフィー
ルドと呼び、フィールドの横幅をフィールド長と呼ぶ。
When looking at a table in units of vertical division, each unit is called a field, and the width of the field is called the field length.

フィールドを横方向に分割してできる長方形の領域を、
エリアと呼ぶ。エリアの縦方向の長さを、エリアの深さ
と呼ぶ。
The rectangular area created by dividing the field horizontally is
called an area. The length of the area in the vertical direction is called the depth of the area.

単純な基盤目状の表の例を、第1図に示す。An example of a simple matrix chart is shown in FIG.

第1図の表は、横に隣接するエリアの深さが等しく表金
体が同じフィールド分割からなる。
The table of FIG. 1 consists of field divisions in which horizontally adjacent areas have the same depth and the same face plate.

第2図は、第1図よシ複雑な非基盤目状の表の例を示す
図である。
FIG. 2 is a diagram showing an example of a table with a non-substrate pattern that is more complicated than that in FIG. 1.

非基盤目状の表としては、次のような性質を有する表が
考えられる。(1)フィールド分割が表の途中で変更に
なること、(2)隣接するエリアの下端が異なること、
(3)フィールド分割の変更位置にまたがるエリアがあ
ること、等である。
As a non-substrate table, a table having the following properties can be considered. (1) The field division changes in the middle of the table; (2) the bottom edges of adjacent areas are different;
(3) There is an area that straddles the changed position of field division.

このよう力性質の表は、一般の文章の中に現われる表と
して格別珍しいものではなく、テキスト編集システムや
ワード・プロセッサとしては、これらの表を簡単に作成
できる機能を具備することが当然である。
Tables of force properties like this are not particularly unusual as tables that appear in general texts, and it is natural for text editing systems and word processors to have functions that allow them to be easily created. .

ところで、基盤目状および非基盤目状の両種の表作成機
能をサポートするためには、最低限水の機能を具備する
ことが必要である。(1)フィールド定義が表の途中で
変更できること、(2)エリアの深さをあらかじめ決め
ておくのではなく、テキストの量から自動的に決定でき
ること、(3)複数フィールドのエリアの下限を一致さ
せる指定ができること、(4)上記の結果として、実現
される表の形式にしたがって罫線を自動的に出力できる
こと、等である。
By the way, in order to support the table creation function for both basic and non-substrate patterns, it is necessary to have at least a water function. (1) field definitions can be changed mid-table, (2) area depth can be automatically determined based on the amount of text rather than predetermined, and (3) the lower limit of areas for multiple fields is consistent. (4) As a result of the above, ruled lines can be automatically output in accordance with the format of the table to be realized.

これらの基本的機能を具備した上で、簡便な入力法をユ
ーザに示し、その入力法にしたがって表テキストを出力
することが望ましい。
In addition to providing these basic functions, it is desirable to show the user a simple input method and output table text according to the input method.

ユーザにとシ、表テキストの入力は、左のフィールドか
ら右のフィールドへ、まとまった量ごとに入力していき
、同一フィールド内では、上から下の方向へと入力して
いく方法が便利である。まとまった単位としては、エリ
ア1個分のテキストが考えられるが、これに限定するこ
とは望ましくない。そこで、1フイール内のテキストが
まとめて入力される単位を、1エリアまたはその任意の
部分とし、その単位の入力を終ると、次のフィールドの
入力を行うものとする。フィールド間の境界には、2種
の区切シ指定キー(継続キー、終了キー)を入力するも
のとする。終了キーは、そのフィールドの1エリアのテ
キスト入力が終ったことを示す。また、継続キーは、そ
のフィールドのエリアのテキストの入力が未完であるこ
とを示す。
For users, it is convenient to enter table text in large amounts from the left field to the right field, and within the same field, input from top to bottom. be. As a unit, one area of text can be considered, but it is not desirable to limit it to this. Therefore, the unit in which the texts in one file are collectively input is one area or an arbitrary part thereof, and when the input of that unit is completed, the input of the next field is performed. Two types of delimiter designation keys (continuation key and end key) are input at the boundaries between fields. The end key indicates that text input for one area of the field has ended. Further, the continuation key indicates that input of text in the field area is incomplete.

罫線を各エリアの境界に出力することは、自動的に行え
る。表のエリアによシ、罫線出力を細かく指定するため
には、表金体に対して、外枠の出力法、フィールド定義
において各フィールド境界線の出力法、終了区切シ指定
でエリア境界線の出力法を指定すれば十分である。
Outputting ruled lines at the boundaries of each area can be done automatically. In order to specify the area of the table and the output of ruled lines in detail, you need to specify the output method of the outer frame, the output method of each field boundary line in the field definition, and the output method of the area boundary line by specifying the ending delimiter for the table metal body. It is sufficient to specify the output method.

結局、本発明の作表方式の入力法は、次の要点を有して
いる。
In conclusion, the table-based input method of the present invention has the following key points.

(1)  フィールド定義手段を有し、かつこのフィー
ルド定義は、表の途中でも変えることができる。
(1) It has a field definition means, and this field definition can be changed even in the middle of the table.

(2)テキスト入力は左のフィールドから右のフィール
ドへと順に行う。また、同一フィールドのテキストの入
力量は、1個のエリアの範囲を越えない限シ自由である
(2) Text input is performed in order from the left field to the right field. Further, the amount of text input in the same field is free as long as it does not exceed the range of one area.

(3)テキストのフィールド境界の指定は、継続区切シ
キーおよび終了区切りキーによる。
(3) Text field boundaries are specified using the continuation delimiter key and the end delimiter key.

(4)継続/終了の区切りキーは、フィールドの境界を
示すとともに、そのフィールドのエリアのテキストの入
力未完/入力完了を示す。
(4) The continuation/end delimiter key indicates the boundary of a field and indicates whether input of text in the area of the field is incomplete or complete.

(5)罫線出力法の指示は、表の外枠の有無、フィール
ド境界線の有無、エリア境界線の有無という形で与える
(5) Instructions for the ruled line output method are given in the form of the presence or absence of an outer frame of a table, the presence or absence of a field boundary line, and the presence or absence of an area boundary line.

以上のように与えられた入力に対して、本発明の作表方
式では、次のようにして表テキストを作成する。
In the tabulation method of the present invention, table text is created in the following manner for inputs given as described above.

(1)各エリア内のテキストを、フィールド長にしたが
って自動的に折曲げて出力する。
(1) The text in each area is automatically folded and output according to the field length.

(2)各フィールドの対応するエリアの下限を一致させ
る調整を自動的に行う。
(2) Automatically adjust the lower limits of the corresponding areas of each field to match.

(3)決定されたフィールド/エリアの境界への罫線表
示を自動的に行う。ただし、罫線表示に関する指定にし
たがって、罫線表示を部分的に抑止するととがある。
(3) Automatically display ruled lines at the boundaries of the determined field/area. However, the display of ruled lines may be partially suppressed according to the specified display of ruled lines.

第3図は、本発明の実施例を示す作表方式の入力順序の
説明図であシ、第4図は、第3図の入力(9) に対する出力結果を示す説明図である。
FIG. 3 is an explanatory diagram of the input order of the tabulation method showing the embodiment of the present invention, and FIG. 4 is an explanatory diagram showing the output result for input (9) in FIG.

第3図において、四角で囲まれた部分は、作表機能に対
する指令等の特別の意味を有する入力であることを示す
つそれらのうち”FB”と’FB”とは、各々フィール
ド定義の開始および終了であシ、その間に各フィールド
の長さを句読点で区切って入力している。また、ED”
とCD”とは、それぞれ、終了/継続の区切りキーであ
る。
In Figure 3, the boxed areas indicate inputs with special meanings, such as commands for the tabulation function. and end, between which the length of each field is entered, separated by punctuation marks. Also, ED”
and CD'' are end/continuation delimiter keys, respectively.

四角で囲んでいない文字は、通常文字の入力の部分であ
る。すなわち、第3図において、フィールド定義の開始
″’FB″と終了″’FE″で囲まれた数字1,3,3
,3.2は、それぞれ、フィールド長を文字の大きさを
単位として示している。次に配列されりA、 Bt t
 Bt e Bs t C1+ Ct *Cse・・・
・・・・・・は、先にフィールド定義された各フィール
ド内に入る文字であシ、その間に挿入される区切りキー
はエリアのテキストがいずれも入力完了するので’ED
”である。次のフィールド定義はFB”と”FE”に囲
まれた1、3,6.2であシ、それらの各フィールド・
エリアにF、G。
Characters not enclosed in a square are normal character input parts. In other words, in Figure 3, the numbers 1, 3, and 3 surrounded by the start ``FB'' and the end ``FE'' of the field definition.
, 3.2 each indicate the field length in units of character size. Next, they are arranged as A, Bt t
Bt e Bs t C1+ Ct *Cse...
...... is the character that will be placed in each field defined earlier, and the delimiter key inserted between them will be 'ED' because all the text in the area has been input.
".The next field definition is 1, 3, 6.2 surrounded by "FB" and "FE", and each of those fields
F, G in the area.

(10) H1〜H4、It * It が入れられる。それらの
うち、F、It 、Itはエリアの下限が終了せず、入
力未完のためCI)”で区切られ、その他の文字は入力
完了のためE D”で区切られる。以下詳細な説明は省
略するが、同じように順次入力される。
(10) H1 to H4, It * It are entered. Among them, F, It, and It are separated by CI)'' because the lower limit of the area is not finished and the input is incomplete, and the other characters are separated by ED'' because the input is completed. Although a detailed explanation will be omitted below, the information is input sequentially in the same way.

第5図は、本発明の実施例を示す作表方式のブロック図
である。
FIG. 5 is a block diagram of a tabulation system showing an embodiment of the present invention.

第5図の作表処理装置は、キーボード1、入力制御部2
、キーバッファ3、全体制御部4、文字列バッファ5、
モード・レジスタ6、フィールド定義制御部7、フィー
ル定義メモリ8、テキスト配置制御部9、割付は制御メ
モリ10、テキスト・メモリ11、出力制御部12およ
びディスプレイ13から構成される。
The tabulation processing device shown in FIG. 5 includes a keyboard 1, an input control section 2
, key buffer 3, overall control section 4, character string buffer 5,
It is composed of a mode register 6, a field definition control section 7, a field definition memory 8, a text arrangement control section 9, an allocation control memory 10, a text memory 11, an output control section 12, and a display 13.

入力は、端末キーボード1より行われ、作表表示出力は
、端末ディスプレイ13に行われる。制御は、全体制御
部4の管理の下に、入力制御部2、フィールド定義制御
部7、テキスト配置制御部9、および出力制御部12に
より行われる。
Input is performed using the terminal keyboard 1, and table display output is performed on the terminal display 13. Control is performed by the input control section 2, field definition control section 7, text arrangement control section 9, and output control section 12 under the management of the overall control section 4.

(11) 入力制御部2は、キー人力をキー・バッファ3に設定す
る。例えば、第3図に示す順序でキー人力された場合に
は、FB、、、1,3,3,3,2゜PE、A・・・・
・・の順にキーバッファ3に格納していく。全体制御部
4は、それらのうちの文字列情報のみを文字列バッファ
5に設定する。すなわち、A * Bt + B2 *
 Bs + Ct + Cz + Cs + Dt e
 Dz +D3・・・・・・の順序で格納されていく。
(11) The input control unit 2 sets the key input in the key buffer 3. For example, if the keys are pressed manually in the order shown in Figure 3, FB, , 1, 3, 3, 3, 2°PE, A...
... are stored in the key buffer 3 in this order. The overall control unit 4 sets only the character string information among them in the character string buffer 5. That is, A * Bt + B2 *
Bs + Ct + Cz + Cs + Dt e
They are stored in the order of Dz +D3...

全体制御部4は、モード・レジスタ6に表作成モードを
設定する。フィールド定義メモリ8は、フィールド定義
制御部7を介して、フィールド定義情報を表示位置に変
換し、それらの値を格納する。割付は制御メモリ10は
、テキスト配置制御部9を介して、フィールド定義メモ
リ8から情報を受は取シ、割付けに必要なワーク情報、
つまシ現在配置中のフィールド番号などの情報等を格納
する。テキスト・メモリ11には、テキスト配置制御部
9の制御により、テキスト配置の結果、つまり第4図に
示すような作表結果を格納する。
The overall control unit 4 sets the table creation mode in the mode register 6. The field definition memory 8 converts the field definition information into display positions via the field definition control unit 7, and stores the values thereof. The layout control memory 10 receives information from the field definition memory 8 via the text layout control unit 9, and receives work information necessary for layout,
Stores information such as the field number currently being placed. The text memory 11 stores the result of text arrangement, that is, the tabulation result as shown in FIG. 4, under the control of the text arrangement control section 9.

キーボード1から入力されたキー情報は、入力(12) 制御部2によって、キーバッファ3に格納される。Key information entered from keyboard 1 is input (12) The control unit 2 stores the key buffer 3 in the key buffer 3.

すなわち、キーバッファ3には、キーボード1から入力
された全情報が設定されるので、制御情報と文字情報と
が混合して格納される。制御情報としては、表の開始と
終了(各々、BB、BEキーと呼ぶ)、フィールド定義
の開始と終了(各々、FB、FBキーと呼ぶ)フィール
ド終了区切りと継続区切り(各々、ED、CDキーと呼
ぶ)がある。全体制御部4は、キーバッファ3の情報を
調べ、文字情報(第3図のA+ Bl m 82 m 
B3 + CI+C* e C3+ DI・・・・・・
等の、制御情報でない通常の文字キー)の場合顛は、文
字列バッファ5に転送し、制御情報を検出したときには
、次の処理を行う。先ず、”BB”の制御清報を検出す
ると、モード・レジスタ6に表先頭モードを設定する。
That is, all the information input from the keyboard 1 is set in the key buffer 3, so that a mixture of control information and character information is stored. Control information includes the start and end of a table (referred to as BB and BE keys, respectively), the start and end of a field definition (referred to as FB and FB keys, respectively), field end delimiter and continuation delimiter (respectively, ED and CD keys). ). The overall control unit 4 checks the information in the key buffer 3 and inputs character information (A+ Bl m 82 m in FIG. 3).
B3 + CI+C* e C3+ DI・・・・・・
(such as normal character keys that are not control information), the data is transferred to the character string buffer 5, and when control information is detected, the following processing is performed. First, when the control information of "BB" is detected, the table top mode is set in the mode register 6.

BE”の制御情報を検出すると、モード・レジスタ6に
表末尾モードを設定する。また、’FB”。
When the control information of 'BE' is detected, the table end mode is set in the mode register 6. Also, 'FB' is detected.

′FE”の制御情報の場合には、フィールド定義制御部
7に制御を渡す。さらに、′ED”。
In the case of the control information 'FE', control is passed to the field definition control unit 7. Furthermore, 'ED'.

’EC”キーの場合には、テキスト配置制御部9(13
) に制御を渡す。テキスト配置制御部9から制御が戻ると
、出力制御部12によりディスプレイ13に出力して画
面に表示する。全体制御部4は、キーバッファ3に格納
された文字キー制御情報キーのキーチェックの動作から
繰り返えすう次に、各部の動作、特にフィールド定義制
御部7と、テキスト配置制御部9の動作を詳しく説明す
る。
In the case of the 'EC' key, the text layout control section 9 (13
). When control is returned from the text placement control unit 9, the output control unit 12 outputs the data to the display 13 and displays it on the screen. The overall control section 4 repeats the key check operation of the character key control information key stored in the key buffer 3. Next, the operation of each section, especially the operation of the field definition control section 7 and the text arrangement control section 9, is performed. will be explained in detail.

第6図は、第5図におけるフィールド定義メモリの情報
格納状態図である。
FIG. 6 is an information storage state diagram of the field definition memory in FIG. 5.

フィールド定義制御部7は、FBキーでフィールド定義
メモリ8を初期設定し、FEキーでキーバッファ3のフ
ィールド定義情報をフィールド定義メモリ8に格納する
。すなわち、フィールド定義メモリ8は、第6図に示す
ように、Nおよび5o−8にの値を保持している。Nは
フィールドの個数を設定する値であり、Soは表の左端
の出力位置を示す値で、別途定められる値である。以下
のS+  (i=1.2.・・・・・・N)は、第iフ
ィールドの先頭文字位置を示し、次式で求められる。
The field definition control unit 7 initializes the field definition memory 8 using the FB key, and stores the field definition information of the key buffer 3 in the field definition memory 8 using the FE key. That is, the field definition memory 8 holds the values of N and 5o-8, as shown in FIG. N is a value that sets the number of fields, and So is a value that indicates the output position at the left end of the table, which is a separately determined value. The following S+ (i=1.2...N) indicates the first character position of the i-th field, and is determined by the following formula.

(14) S+=S+−++F+        ・・・・・・・
・・(1)ただし、FIは第1フイールドの長さであり
、フィールド定義より直接得られる。
(14) S+=S+-++F+ ・・・・・・・
(1) However, FI is the length of the first field and can be obtained directly from the field definition.

この情報は、テキスト配置制御部9から参照される。テ
キスト配置制御部9は、モード・レジスタ6をチェック
し、表先頭モードがあれば、フィールド定義メモリ8の
SL情報にしたがって、表の先頭の罫線清報をテキスト
・メモリ11内に作成し、モード・レジスタ6を表途中
モードに更新する。
This information is referred to by the text placement control unit 9. The text layout control unit 9 checks the mode register 6, and if there is a table header mode, creates a ruled line information for the header of the table in the text memory 11 according to the SL information in the field definition memory 8, and sets the mode. - Update register 6 to midway mode.

第7図は、テキスト配置制御部により作成される表の先
頭の罫線情報を示す図である。
FIG. 7 is a diagram showing ruled line information at the beginning of a table created by the text layout control unit.

すなわち、入カキ−から第3図に示す順序の制御清報(
FB、1,3,3,3,2FE)が入力されると、テキ
スト配置制御部9はフィールド定義メモリ8の清報、す
なわち上記制御清報が示す先頭位置の値を参照し、その
位置に罫線を持ち、かつ、それぞれ1,3,3,3.2
のフィールド長を持った表の先頭の罫線情報をテキスト
・メモリ11に書き込む。
That is, the control information (from the input key) in the order shown in FIG.
When FB, 1, 3, 3, 3, 2FE) is input, the text placement control unit 9 refers to the information in the field definition memory 8, that is, the value of the start position indicated by the control information, and places the text at that position. Has ruled lines and 1, 3, 3, 3.2 respectively
The ruled line information at the beginning of the table having a field length of is written to the text memory 11.

(15) 第8図は、第5図における割付は制御メモリの情報格納
状態図である。
(15) FIG. 8 is a diagram showing the information storage state of the control memory with the layout in FIG. 5.

テキスト配置制御部9は、表の先頭の罫線情報をテキス
ト・メモリ11内に作成するとともに、割付は制御メモ
IJ 10の現フイールド番号101の値を「1」に設
定する。
The text layout control unit 9 creates the ruled line information at the beginning of the table in the text memory 11, and sets the value of the current field number 101 of the layout control memo IJ 10 to "1".

割付は制御メモリ10は、第8図に示すように、現フイ
ールド番号101、吹出力行リスト102、吹出力カラ
ム・リスト103およびフィールド・フラグ・リスト1
04を格納している。現フイールド番号101は、現在
配置中のフィールドの番号を保持するもので上記のよう
に表の先頭の罫線情報をテキスト・メモリ11に書き込
んだ時点では、現フイールド番号101は「1」の値に
される。また、吹出力行リスト102は、各フィールド
の犬山力行を保持する。N L +は、フィールド逼の
犬山力行を示す情報である。吹出力カラム・リスト10
3は、各フィールドの吹出力カラム番号を保持するっN
 C+は、フィールドiの吹出力カラム番号を示す。例
えば第3図の2行目の制御(16) 情報は、FB、1,3,6.2PEであるため、1.3
,6.2の各位より小さい整数がNC1゜NC2、NC
s 、NCa として書き込まれる。また、フィールド
・フラグ・リスト104は、各フィールドの継続/終了
状態を保持するもので、第3図の2行目の例では、F、
CD、G、BD。
As shown in FIG. 8, the control memory 10 is assigned a current field number 101, a blowout line list 102, a blowout column list 103, and a field flag list 1.
04 is stored. The current field number 101 holds the number of the field currently being arranged, and when the ruled line information at the beginning of the table is written to the text memory 11 as described above, the current field number 101 has a value of "1". be done. Further, the blowout line list 102 holds Riki Inuyama of each field. N L + is information indicating Rikiyuki Inuyama in the field. Blower output column list 10
3 holds the blowout output column number of each field.N
C+ indicates the blowout output column number of field i. For example, the control (16) information on the second line in Figure 3 is FB, 1, 3, 6.2 PE, so 1.3
, 6. The integer smaller than each digit of 2 is NC1°NC2, NC
s, written as NCa. Further, the field flag list 104 holds the continuation/end status of each field, and in the example on the second line of FIG.
CD, G, BD.

Ht 、 H2、Hs 、 FI4 、 BD、 It
 、 Iz 、 CDであるため、第1フイールドと第
4フイールドのエリアが継続区切りで、残りの第2フイ
ールド、第3フイールドが終了区切りである。
Ht, H2, Hs, FI4, BD, It
, Iz, and CD, the first and fourth fields are continuation delimiters, and the remaining second and third fields are end delimiters.

先ず、テキスト配置制御部9は、表先頭モードから表途
中モードへの切換えに際して、割付は制御メモリ10の
初期設定を行う。その場合、上記の現フイールド番号1
01の設定値「1」の他に吹出力行リスト102の設定
(各要素とも等しく、次の出力行番号をセットする)、
吹出力カラム・リスト103の設定(NCI =8+−
t ) 、フィールド・フラグ・リスト104の設定(
すべて継続状態)を行う。
First, the text layout control unit 9 initializes the layout control memory 10 when switching from the table top mode to the table middle mode. In that case, the current field number 1 above
In addition to the setting value "1" of 01, the settings of the blowout output line list 102 (each element is equal and the next output line number is set),
Setting of blowout output column list 103 (NCI =8+-
t), setting of field flag list 104 (
all continuous state).

表途中モードでのテキスト配置制御部9の動作(17) を、次に述べる。現フイールド番号101の値をiとす
る。このとき文字列バッファ5に格納されている文字列
をテキスト・メモリ11のフィールドiに配置するため
、テキスト・メモリ11のN L +行目でNCIカラ
ム目(これをTM(NLt。
The operation (17) of the text placement control unit 9 in the mid-table mode will be described below. Let the value of the current field number 101 be i. At this time, in order to place the character string stored in the character string buffer 5 in field i of the text memory 11, the NCI column (TM(NLt)) is placed in the N L +th line of the text memory 11.

NCI )と記す)以降に配置する。配置は、先ず1文
字をTM(NLt 、NCI )に置き、NC1を1だ
け増加する。ただしN Cr = 81やlとなると、
N L +を1だけ増して、NCI=SLとする。この
あと、次の文字を配置する。例えば、第4図の例のJI
J2J3J4JSの配置の場合現フイールド番号101
の値は「2」であり、文字列バッファ5に格納されてい
るのはJIJzJsJ4Jsの文字列である。そのうち
J!をフィールド2に配置するため、NL!行目でNC
tカラム目(TM (NLt −NC2))に書き込む
。セしてJ2 、Jsを続いて書き込んでNCRを1だ
け増加するとNC*=83になるので、NLtを1だけ
増してNC* =S*に戻す。以後同様に・J4sJ1
1は次の行の当該フィールドの先頭から配置される。
It is placed after NCI). For arrangement, first place one character in TM (NLt, NCI) and increase NC1 by one. However, when N Cr = 81 or l,
Increase N L + by 1 and set NCI=SL. After this, place the next character. For example, JI in the example shown in Figure 4
In case of J2J3J4JS arrangement, current field number 101
The value is "2", and the character string stored in the character string buffer 5 is JIJzJsJ4Js. One of these days J! In order to place NL! in field 2, NL! NC on line
Write in the t column (TM (NLt - NC2)). If you write J2 and Js in succession and increase NCR by 1, NC*=83, so increase NLt by 1 and return to NC*=S*. Similarly ・J4sJ1
1 is placed from the beginning of the field in the next line.

(18) 文字列バッファ5に格納されている文字列のテキスト・
メモリ11への配置を終了すると、制御キーが”CD″
のときPL+を継続状態とし、また制御キーが’ED”
のときFL+を終了状態とし、かつN L Iの値を1
だけ増してN e tをsIとする。次に、iがフィー
ルド定義メモリ8のフィールド個数Nより小さいときに
は、iを1だけ増加して(つまり、現フイールド番号1
01の値を1だけ増加して)、全体制御部4に制御を戻
す。
(18) Text of the string stored in string buffer 5
When the arrangement in the memory 11 is completed, the control key is set to "CD".
When , PL+ is in continuous state and the control key is 'ED'
When FL+ is in the final state, and the value of N L I is 1
Let N et be sI. Next, when i is smaller than the number of fields N in the field definition memory 8, i is increased by 1 (that is, the current field number 1 is
01 by 1) and returns control to the overall control unit 4.

ただしiがフィールド定義メモリ8のフィールド個数N
に等しいときには、PL、が終了状態であるようなjの
全体Jについて、NL、の最大値を求め、各々のNL、
の値を、この最大値とする。
where i is the number of fields in the field definition memory 8 N
When it is equal to , find the maximum value of NL for all j such that PL is in the final state, and find the maximum value of NL, for each NL,
Let the value of be this maximum value.

例えば、第3図の順序で入力された場合、第3図の7行
目では、フィールド定義メモリ8のフィールド個数N=
5であるため、i=5になったときFLI 、 FLx
 、 FLs 、 PL4が終了状態であることから、
各々のNLs 、 NLz 、 NLs 、 NL4の
値をこのうちの最大値(この場合、NLs =NL3が
最大である)にセットする。
For example, if input is made in the order shown in FIG. 3, in the seventh line of FIG. 3, the number of fields in the field definition memory 8 N=
5, so when i=5, FLI, FLx
, FLs, and PL4 are in the finished state, so
Set the values of each of NLs, NLz, NLs, and NL4 to the maximum value among them (in this case, NLs = NL3 is the maximum).

(19) すなわち、 として、J”Jの各々のjについて、 N L 1 = N Lama       ・・・・
・・・・・(3)とする。このとき、Jに属する各フィ
ールドの横罫線情報をテキスト・メモリ11に設定して
、全体制御部4に制御を返す。
(19) That is, for each j of J''J, N L 1 = N Lama . . .
...(3). At this time, the horizontal ruled line information of each field belonging to J is set in the text memory 11, and control is returned to the overall control section 4.

全体制御部4は、テキスト・メモリ11の内容を出力制
御部12によりディスプレイ13に出力させた後、再び
入力モードに戻る。
The overall control section 4 causes the output control section 12 to output the contents of the text memory 11 to the display 13, and then returns to the input mode again.

表の終了″’BE”を検出すると、全体制御部4は、表
末尾モードをモード・レジスタ6に設定して、テキスト
配置制御部9を呼出す。テキスト配置制御部9は、表の
最下位の罫線情報を設定する。
When the end of the table ``BE'' is detected, the overall control section 4 sets the table end mode in the mode register 6 and calls the text arrangement control section 9. The text layout control unit 9 sets the bottom ruled line information of the table.

なお、実施例では、フィールドとエリアの境界には罫線
を出力するものとしたが、フィールド定義の縦罫線出力
指示と、終了区切りの横罫線出力指定を追加すれば、各
フィールド、エリア境界の罫線出力を自由に制御するこ
とができる。上では、(20) 罫線自身は文字幅を取らないと仮定したが、同様の方式
で文字幅をもつ罫線の取扱いもできる。また、実施例で
は、すべて横書きのテキストを前提としたが、縦書き、
横書きのモードを設けることにより、出力制御部12の
変更のみで、縦書きの表の作成も可能である。
In the example, it is assumed that ruled lines are output at the boundaries between fields and areas, but if you add a vertical ruled line output instruction in the field definition and a horizontal ruled line output specification for the end delimiter, the ruled lines at the boundaries of each field and area can be output. Output can be freely controlled. In the above, we assumed (20) that the ruled line itself does not take up the character width, but ruled lines with character width can also be handled in a similar manner. In addition, in the examples, all text is written horizontally, but vertically written,
By providing a horizontal writing mode, it is also possible to create a vertical writing table by simply changing the output control unit 12.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、表内のテキスト
の行装置を自動的に設定し、かつその配置に応じた罫線
出力位置を自動的に設定し、しかも作成した表の形式と
内容を簡単に修正できるので、テキスト編集システムや
ワード・プロセッサにおいて高度な作表機能と入カニ数
の減少を実現することが可能であろう
As explained above, according to the present invention, the line device of text in a table is automatically set, the ruled line output position is automatically set according to the arrangement, and the format and contents of the created table are automatically set. can be easily corrected, so it will be possible to realize advanced tabulation functions and reduce the number of inputs in text editing systems and word processors.

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

第1図、第2図は本発明により作成される基盤目状の表
と、非基盤目状の表を示す図、第3図は非基盤目状の表
作成のための入力例を示す図、第4図は第3図の入力に
より作成された出力の図、第5図は本発明の実施例を示
す作表方式のブロン(21) り図、第6図は第5図のフィールド定義メモリの内容説
明図、第7図は表の先頭の出方例を示す図、第8図は第
5図の割付は制御メモリの内容説明図である。 1・・・キーボード、2・・・入力制御部、3・・・キ
ーバッファ、4・・・全体制御部、5川文字列バッファ
、6・・・モード・レジスタ、7・・・フィールド定義
制御部、8・・・フィールド定義メモリ、9・・・テキ
スト配置制御部、10・・・割付は制御メモリ、11・
・・テキスト・メモリ、12・・・出力制御部、13・
・・端末ディスプレイ。 VJ  1  図 築 3 図 り司R2尺zR3’l司 第 2 図 第 4 図 第 5 図 i ? 人lす′fP部 〜−ノN′ヅ7ア 全体制 支丁列ノぐツファ 9                        
                7千キス)I!!I
Z                        
       、イールド冨 6 図 奮 7  図 第 g 図
FIGS. 1 and 2 are diagrams showing a table of base grains and a table of non-base grains created according to the present invention, and FIG. 3 is a diagram showing an example of input for creating a table of non-base grains. , FIG. 4 is a diagram of the output created by the input shown in FIG. 3, FIG. 5 is a diagram of the tabulation system according to the embodiment of the present invention (21), and FIG. 6 is the field definition of FIG. 5. FIG. 7 is an explanatory diagram of the contents of the memory, FIG. 7 is a diagram showing an example of how the top of the table appears, and FIG. 8 is an explanatory diagram of the contents of the control memory with the layout of FIG. 5. DESCRIPTION OF SYMBOLS 1...Keyboard, 2...Input control section, 3...Key buffer, 4...Overall control section, 5-character string buffer, 6...Mode register, 7...Field definition control section, 8...Field definition memory, 9...Text arrangement control section, 10...Allocation control memory, 11.
...Text memory, 12...Output control section, 13.
...Terminal display. VJ 1 Tsuzuki 3 Tsurisushi R2 ShakuzR3'l Tsuji 2nd Figure 4 Figure 5 Figure i? Person l'fP Department~-ノN'zu7a General System Support Row Nogtufa 9
7,000 kisses) I! ! I
Z
, Yield wealth 6 Figure 7 Figure g

Claims (1)

【特許請求の範囲】 1、表の縦割#)(フィールド)の個数、各フィールド
長およびテキストのフィールド境界と横割シ境界とを併
せて示す終了/継続の境界指定をそれぞれ指定して入力
することによシ、入力されたテキストを上記フィールド
境界指定が現われるまで、各フィールドに配置し、各フ
ィールド内ではフィールド長を越えるテキスト文字列は
折り曲げて配置し、かつフィールドごとの上記終了/継
続の境界指定を記憶して、各フィールド境界指定による
縦方向羅線および終了境界指定による横方向罫線をそれ
ぞれ出力することを特徴とする作表方式。 2、前記フィールドの個数と各フィールド長は、フィー
ルド定義メモリのフィールド個数および各フィールドの
先頭文字位置の指定情報として記憶されることを特徴と
する特許請求の範囲第1項記載の作表方式。 3、前記テキストのフィールド内への配置は、割付は制
御メモリの現フイールド番号、犬山カ行リスト、犬山力
カラム・リスト、およびフィールド・フラグ・リストを
参照して実行されることを特徴とする特許請求の範囲第
1項記載の作表方式。
[Claims] 1. Specify and input the number of vertical division #) (fields) of the table, the length of each field, and the end/continuation boundary designation that indicates both the text field boundary and the horizontal division boundary. In particular, place the entered text in each field until the field boundary specification above appears, wrap any text string that exceeds the field length within each field, and specify the end/continuation line for each field. A tabulation method characterized by storing boundary specifications and outputting vertical ruled lines based on each field boundary specification and horizontal ruled lines based on end boundary specification. 2. The tabulation method according to claim 1, wherein the number of fields and the length of each field are stored as information specifying the number of fields and the first character position of each field in a field definition memory. 3. The arrangement of the text in the field is performed by referring to the current field number in the control memory, the Inuyama column list, the Inuyama Riki column list, and the field flag list. Tabulation method according to claim 1.
JP58002219A 1983-01-12 1983-01-12 Tabulating method Pending JPS59128683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58002219A JPS59128683A (en) 1983-01-12 1983-01-12 Tabulating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58002219A JPS59128683A (en) 1983-01-12 1983-01-12 Tabulating method

Publications (1)

Publication Number Publication Date
JPS59128683A true JPS59128683A (en) 1984-07-24

Family

ID=11523243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58002219A Pending JPS59128683A (en) 1983-01-12 1983-01-12 Tabulating method

Country Status (1)

Country Link
JP (1) JPS59128683A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256078A (en) * 1986-04-28 1987-11-07 Nec Corp General table form editor realization system for interactive information processing system
JPS63155260A (en) * 1986-12-18 1988-06-28 Dainippon Printing Co Ltd Editing method for table by computer
US7236979B2 (en) * 2002-06-26 2007-06-26 Microsoft Corporation Menu-less system and method for interactively manipulating and reformatting data entered in a tabular format in a data processing application

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256078A (en) * 1986-04-28 1987-11-07 Nec Corp General table form editor realization system for interactive information processing system
JPS63155260A (en) * 1986-12-18 1988-06-28 Dainippon Printing Co Ltd Editing method for table by computer
US7236979B2 (en) * 2002-06-26 2007-06-26 Microsoft Corporation Menu-less system and method for interactively manipulating and reformatting data entered in a tabular format in a data processing application

Similar Documents

Publication Publication Date Title
US7137063B2 (en) Method for displaying editable characters in a divided table cell
JPH10289230A (en) Automatic layout of contents in page composition
JPH028339B2 (en)
US7366978B1 (en) Method and system for creating a grid-like coordinate system for addressing data contained in an irregular computer-generated table
AU1923692A (en) Method and apparatus for automated page layout of text and graphic elements
CN104424174B (en) Document processing system and document processing method
JPS59128683A (en) Tabulating method
JP2004213607A (en) Grid tracking and character composition space for adjusting japanese text
JPH0438005B2 (en)
JP2888745B2 (en) Character spacing adjustment method
HRABOVSKYI et al. How to Enhance the Management and Quality of Electronic Publications?
Jenkin Some principles of screen design and software for their support
JP3721766B2 (en) Document data processing apparatus and program recording medium thereof
JP2685762B2 (en) Compound document creating apparatus and compound document creating method
JP3275629B2 (en) Layout correction device
JP2656470B2 (en) Writing method
Hrabovskyi et al. How to Enhance the Managementand Quality of Electronic Publications?
JPH01115665A (en) Output processor for outputting predetermined format data
JPH01100662A (en) Display device
JP2677442B2 (en) Method of capturing illustrations in editing machine and editing machine
JPH025176A (en) Document logical structure editor
JPH01115667A (en) Output device for outputting predetermined format data
JPS59186028A (en) Layout display unit
JPH03188555A (en) Document processing system
JPH0573545A (en) Document editing device