JPH0962752A - Table preparation device and method therefor - Google Patents

Table preparation device and method therefor

Info

Publication number
JPH0962752A
JPH0962752A JP7221834A JP22183495A JPH0962752A JP H0962752 A JPH0962752 A JP H0962752A JP 7221834 A JP7221834 A JP 7221834A JP 22183495 A JP22183495 A JP 22183495A JP H0962752 A JPH0962752 A JP H0962752A
Authority
JP
Japan
Prior art keywords
character
data
column
size
row direction
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
JP7221834A
Other languages
Japanese (ja)
Inventor
Shigeo Seko
繁夫 背古
Masahiko Sakai
正彦 酒井
Kouei Kobayashi
宏栄 小林
Kazuaki Ogata
和昭 尾形
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.)
Nippon Steel Corp
Original Assignee
Sumitomo Metal Industries 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 Sumitomo Metal Industries Ltd filed Critical Sumitomo Metal Industries Ltd
Priority to JP7221834A priority Critical patent/JPH0962752A/en
Publication of JPH0962752A publication Critical patent/JPH0962752A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a table preparation device such as an electronic composition device, a table top publishing system, etc., which can easily prepare a table with high working efficiency and high quality by using a function to write the data into every character frame and to calculate the sizes and numbers of necessary character frames for composition of the table. SOLUTION: A reading means 1 reads the character string data which are written into the character frames of a table. A table composition means 2 writes the character string data into the character frames and calculates the vertical and horizontal sizes of characters necessary for writing the data and also calculates the numbers of character frames in both row and column directions. Then the means 2 composes a table. A calculation means 3 calculates the total of vertical and horizontal sizes of composed character frames and compares the size of an entire table set by a setting means 4 with the total character frame sizes calculated from the character string data which are actually read. Then a table composition means 2 composes again a table based on the processing contents of a character arrangement means 6, a connection/ omission means 7, a compression means 8, a size adjustment means 9 and a rule generation means 10 respectively.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば電子組版装
置、卓上出版システムのような表作成装置及びその表作
成方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a table preparation device such as an electronic typesetting device and a desktop publishing system, and a table preparation method thereof.

【0002】[0002]

【従来の技術】従来の電子組版装置、卓上出版システム
等の表作成装置では、縦横の罫線で仕切られた表枠の各
欄に文字、数値等を入力するワードプロセッサ等での表
作成のアプローチと異なり、表の各欄に相当するデータ
書き込み領域(以下、文字枠という)に、文字、数値等
を書き込み、文字枠を集合させて表を作成する。
2. Description of the Related Art In a conventional table forming device such as an electronic typesetting device or a desktop publishing system, a table creating approach using a word processor or the like for inputting characters, numerical values, etc. into each column of a table frame partitioned by vertical and horizontal ruled lines is used. Differently, characters, numerical values, etc. are written in a data writing area (hereinafter referred to as a character frame) corresponding to each column of the table, and the character frames are collected to create a table.

【0003】このような従来の表作成装置で表を作成す
る場合、オペレータが、表の行方向及び列方向に配置す
る各文字枠のサイズ及び数を指定し、各文字枠に書き込
むべき文字、数値等を装置に読み込ませると、文字枠が
表の形に仮配置される。このとき、文字枠を仮配置した
表が、目的の大きさより大き過ぎたり、小さ過ぎたりす
ると、オペレータは、表を拡大又は縮小すべき伸縮量を
文字枠に分配して文字枠を拡大又は縮小させ、表のサイ
ズを調整する。
When a table is created by such a conventional table creating apparatus, the operator specifies the size and number of each character box to be arranged in the row direction and the column direction of the table, and the characters to be written in each character box, When a numerical value or the like is read into the device, the character frame is temporarily arranged in the form of a table. At this time, if the table in which the character frames are tentatively arranged is too large or too small as compared with the intended size, the operator distributes the expansion / contraction amount to enlarge or reduce the table to the character frames to enlarge or reduce the character frames. And adjust the size of the table.

【0004】[0004]

【発明が解決しようとする課題】しかし、表のサイズ調
整のために各文字枠に伸縮量を分配して文字枠の大きさ
を均等に拡大又は縮小すると、文字列があふれたり、余
白が多くなり過ぎたりする文字枠が出る可能性があるの
で、オペレータは各文字枠の文字のあふれ状態、余白の
状態等をにらみながら、表全体のサイズが目的のサイズ
となるように各文字枠のサイズを調整しなければなら
ず、表作成作業が煩雑であった。
However, if the amount of expansion and contraction is distributed to each character frame to adjust the size of the table and the size of the character frame is enlarged or reduced evenly, the character string overflows and a lot of white space is left. Since there is a possibility that the character frame will become too large, the operator looks at the character overflow condition of each character frame, the state of margins, etc., and adjust the size of each character frame so that the size of the entire table becomes the target size. Had to be adjusted, and the table preparation work was complicated.

【0005】また、従来の表作成装置ではオペレータが
文字枠のサイズを指定してから文字、数値等の各欄のデ
ータを読み込むので、実際に文字枠に文字、数値等を書
き込んだ時に文字列が文字枠からあふれたり、余白が発
生したりする。また、従来の表作成装置ではオペレータ
が文字枠の数を指定してから文字、数値等の各欄のデー
タを読み込むので、文字枠の数の指定を誤った場合は表
を作成し直さなければならない。
Further, in the conventional table creating apparatus, since the operator specifies the size of the character frame and then reads the data in each column of the character, numerical value, etc., the character string is actually written in the character frame. May overflow from the character frame or a blank space may occur. Further, in the conventional table creating device, the operator specifies the number of character frames and then reads the data in each column such as characters and numerical values, so if the number of character frames is incorrectly specified, the table must be recreated. I won't.

【0006】本発明はこのような問題点を解決するため
になされたものであって、各文字枠にデータを書き込ん
で、必要な文字枠のサイズ、数を算出して表を組み立て
る機能を設けることにより、表の作成が容易で作業効率
が高く、質の高い表を作成する表作成装置及びその表作
成方法の提供を目的とする。
The present invention has been made in order to solve such a problem, and has a function of writing data in each character frame, calculating the size and number of necessary character frames, and assembling a table. Accordingly, it is an object of the present invention to provide a table creation device and a table creation method for creating a high-quality table that is easy to create a table and has high work efficiency.

【0007】[0007]

【課題を解決するための手段】第1発明の表作成装置
は、表の各欄に対応するデータ書き込みの領域を行方向
及び列方向に配して表を組み立てる表作成装置におい
て、各領域に書き込むべきデータを読み込む手段と、該
手段が読み込んだデータを各領域に書き込んで各領域の
サイズ、及び行方向・列方向の領域の数を算出し、算出
したサイズの各領域を、算出した数だけ各行及び各列に
配置して表を組み立てる手段とを備えたことを特徴とす
る。
According to a first aspect of the present invention, there is provided a table creating apparatus for assembling a table by arranging data writing areas corresponding to respective columns of the table in a row direction and a column direction. A means for reading the data to be written, writing the data read by the means to each area, calculating the size of each area, and the number of areas in the row direction / column direction, and calculating the number of each area of the calculated size And a means for assembling a table by arranging each row and each column.

【0008】第2発明の表作成装置は、第1発明に加え
て、同列に配置した他の領域と行方向の位置を揃えるべ
きデータを設定する手段と、同列に配置した領域に書き
込むデータから、その行方向の位置を揃えるべきデータ
を検知する手段と、同列に配置した領域内の、設定され
たデータの行方向の位置を揃える手段とを備えたことを
特徴とする。
In addition to the first invention, the table creating apparatus of the second invention comprises means for setting data for aligning the position in the row direction with other areas arranged in the same column, and data to be written in the areas arranged in the same column. , A means for detecting data whose positions in the row direction are to be aligned, and a means for aligning the positions in the row direction of the set data in the regions arranged in the same column.

【0009】第3発明の表作成装置は、第2発明に加え
て、同列に配置した他の領域と行方向の位置を揃えるべ
きデータを複数個設定する手段と、同列に配置した複数
の領域に書き込むデータから、その行方向の位置を揃え
るべきデータを検知する手段と、同一領域に書き込むデ
ータのうちの該複数個のデータ以外のデータの揃え位置
を設定する手段と、設定された複数個のデータの行方向
の位置を揃え、また該複数個のデータ以外のデータを設
定された揃え位置に揃える手段とを備えたことを特徴と
する。
In addition to the second aspect of the invention, the table creating apparatus of the third aspect of the invention includes means for setting a plurality of data whose positions in the row direction should be aligned with other areas disposed in the same column, and a plurality of regions arranged in the same column. Means for detecting data to be aligned in the row direction from the data to be written to, a means for setting the alignment position of data other than the plurality of data to be written in the same area, and a plurality of set data. Means for aligning the positions of the data in the row direction and aligning data other than the plurality of data to the set alignment position.

【0010】第4発明の表作成方法は、表の各欄に対応
するデータ書き込みの領域を行方向及び列方向に配して
表を組み立てる表作成装置で使用する表作成方法におい
て、各領域に書き込むべきデータを読み込み、読み込ん
だデータを各領域に書き込んで各領域のサイズ、及び行
方向・列方向の領域の数を算出し、算出したサイズの各
領域を、算出した数だけ各行及び各列に配置して表を組
み立てることを特徴とする。
According to the table creating method of the fourth invention, in the table creating method used in the table creating apparatus for assembling the table by arranging the data writing areas corresponding to the respective columns of the table in the row direction and the column direction, Read the data to be written, write the read data to each area, calculate the size of each area, and the number of areas in the row and column directions, and calculate each area of the calculated size for each row and each column It is characterized in that the table is assembled by arranging in.

【0011】第5発明の表作成方法は、同列に配置した
他の領域と行方向の位置を揃えるべきデータを設定し、
同列に配置した領域に書き込むデータから、その行方向
の位置を揃えるべきデータを検知し、同列に配置した領
域内の、設定されたデータの行方向の位置を揃えること
を特徴とする。
In the table creating method of the fifth aspect of the present invention, the data which should be aligned in the row direction with other areas arranged in the same column are set,
It is characterized in that data to be aligned in the row direction is detected from the data to be written in the regions arranged in the same column, and the set data in the row direction is aligned in the regions arranged in the same column.

【0012】第6発明の表作成方法は、同列に配置した
他の領域と行方向の位置を揃えるべきデータを複数個設
定し、同列に配置した複数の領域に書き込むデータか
ら、その行方向の位置を揃えるべきデータを検知し、同
一領域に書き込むデータのうちの該複数個のデータ以外
のデータの揃え位置を設定し、設定した複数個のデータ
の行方向の位置を揃え、また該複数個のデータ以外のデ
ータを設定した揃え位置に揃えることを特徴とする。
In the table creating method according to the sixth aspect of the invention, a plurality of pieces of data which should be aligned in the row direction with other areas arranged in the same column are set, and the data written in the plurality of areas arranged in the same column are changed in the row direction. The data to be aligned is detected, the alignment position of the data other than the plurality of data to be written in the same area is set, the aligned positions of the plurality of data in the row direction are aligned, and the plurality of data are aligned. It is characterized in that the data other than the data of is aligned at the set alignment position.

【0013】[0013]

【発明の実施の形態】図1は、例えば電子組版装置、卓
上出版システムのような、本発明の表作成装置の構成図
である。読み込み手段1は、表の各文字枠に書き込むべ
き文字列データを読み込み、表組み立て手段2は、読み
込み手段1が読み込んだ文字列データを文字枠に書き込
んで、データ書き込みに必要な各文字枠の縦横サイズ、
行方向及び列方向の文字枠の数を算出し、表を組み立て
る。算出手段3は、表組み立て手段2が組み立てた表の
各文字枠の縦横サイズの合計を算出し、設定手段4によ
り設定された表全体の大きさと、実際に読み込まれた文
字列データより算出された各文字枠のサイズの合計とを
比較する。また、表組み立て手段2は、文字揃え手段
6、結合・省略手段7、圧縮手段8、サイズ調整手段
9、罫線発生手段10の処理内容(後に詳述する)に応じ
て、表を組み立て直す。
1 is a block diagram of a table preparation device of the present invention, such as an electronic typesetting device and a desktop publishing system. The reading unit 1 reads the character string data to be written in each character frame of the table, and the table assembling unit 2 writes the character string data read by the reading unit 1 in the character frame to create a character frame of each character frame necessary for writing the data. Vertical and horizontal size,
Calculate the number of character boxes in the row and column directions and assemble a table. The calculating means 3 calculates the total of the vertical and horizontal sizes of the character frames of the table assembled by the table assembling means 2, and the size of the entire table set by the setting means 4 and the character string data actually read. Compare the total size of each character box. Further, the table assembling means 2 reassembles the table according to the processing contents (detailed later) of the character aligning means 6, the combining / omitting means 7, the compressing means 8, the size adjusting means 9, and the ruled line generating means 10.

【0014】設定手段4は、以下の各値(1.〜10. )
を設定する手段である。 1.各文字枠の縦及び横のサイズ 表を構成する各文字枠の縦及び横のサイズについて以下
の属性を設定できる。 (1) 実数値 (2) なりゆき;文字列データの読み込み処理を行った結
果算出される、実際に文字枠を構成するのに必要な領域
サイズ
The setting means 4 has the following values (1 to 10.)
Is a means for setting. 1. Vertical and horizontal size of each character frame The following attributes can be set for the vertical and horizontal sizes of each character frame that make up the table. (1) Real value (2) Nariyuki; Area size required to actually construct a character frame, calculated as a result of reading character string data

【0015】2.表スタイル(文字枠の数) 表を構成する文字枠の行方向及び列方向の数について以
下の属性を設定できる。 (1) 実数値 (2) 無限大(∞):文字列データの読み込み処理を行っ
た結果算出される、実際に表を構成するのに必要な行方
向又は列方向の文字枠の数
2. Table style (number of character frames) The following attributes can be set for the number of character frames that make up a table in the row and column directions. (1) Real value (2) Infinity (∞): Number of character frames in the row or column direction required to actually compose a table, calculated as a result of reading character string data.

【0016】3.揃え文字 行方向に隣接している文字枠内の特定の文字の行方向の
位置、即ち、列方向をx、行方向をyとした場合のx座
標を合わせる揃え文字を設定する。
3. Alignment character Set the alignment character that aligns the position in the row direction of a specific character in a character frame adjacent in the row direction, that is, the x coordinate when the column direction is x and the row direction is y.

【0017】4.揃え文字で区切られた揃え文字以外の
文字列の揃え位置 設定された揃え文字によって区切られる、前、中、後の
揃え文字以外の文字列を揃える位置を以下のように設定
する。 (1) 先頭 (2) 中央 (3) 後ろ (4) 小数点
4. Alignment position of strings other than alignment characters separated by alignment character Set the position to align the character strings other than the alignment characters that are separated by the set alignment character, except for the alignment characters before, after, and after. (1) Head (2) Center (3) Back (4) Decimal point

【0018】5.文字枠の結合処理、省略処理、及び省
略後の置き換え文字 行方向、列方向に隣接している文字枠内の文字列が等し
い場合の文字枠の結合処理、いずれかの文字枠の文字列
の省略処理をするかどうかを設定する。また、省略処理
後の置き換え文字を設定する。 結合処理(する:しない) 省略処理(する:しない) 省略後の置き換え文字
5. Character box merging processing, omission processing, and replacement character after omission Character box merging processing when character strings in adjacent character boxes in the row direction and column direction are the same, Set whether to omit processing. Also, the replacement character after the omission processing is set. Join processing (Yes: No) Omission processing (Yes: No) Replacement character after omission

【0019】6.文字枠内の余白の圧縮処理 行方向又は列方向に隣接している文字枠内に余白が存在
する場合に、文字枠サイズを変更して余白を圧縮するか
どうかを設定する。 圧縮処理(する:しない)
6. Margin compression processing within a character frame When a margin exists in a character frame that is adjacent in the row or column direction, set whether to change the character frame size and compress the margin. Compression processing (Yes: No)

【0020】7.表全体のサイズ、文字枠の縦横のサイ
ズが設定された場合に文字枠から文字列が、あるいは表
全体から文字枠がはみ出した場合のサイズ調整処理内容 (1) 文字サイズ 設定モード(絶対値:現状のサイズからの相対値) 文字サイズを変更させる文字の種類(和:欧:両方) 文字サイズ (2) 長体 設定モード(絶対値:現状の変形率からの相対値) 変形率 (3) 平体 設定モード(絶対値:現状の変形率からの相対値) 変形率 (4) 文字幅 (5) 文字間 設定モード(絶対値:現状の文字間からの相対値) 文字間詰め量 (6) かな詰め(する:しない) (7) 行間 設定モード(絶対値:現状の行間からの相対値) 行間詰め量
[7] FIG. Size adjustment processing contents when the size of the entire table, the vertical and horizontal sizes of the character frame are set, and the character string extends from the character frame or the character frame extends from the entire table (1) Character size setting mode (absolute value: Character size to change the character size (Japanese: European: Both) Character size (2) Long setting mode (Absolute value: Relative value from the current deformation rate) Deformation rate (3) Flat body setting mode (Absolute value: Relative value from current deformation rate) Deformation rate (4) Character width (5) Character spacing setting mode (Absolute value: Relative value from current character spacing) Character spacing (6 ) Kana padding (Yes: No) (7) Line spacing setting mode (Absolute value: Relative value from current line spacing) Line spacing

【0021】8.表の各文字枠の属性 文字枠の属性(タイトル:データ) 9.文字枠毎の罫線 表外枠の縦横の罫線/タイトルの属性を持つ文字枠と、
データの属性を持つ文字枠との間の縦横の罫線/タイト
ルの属性を持つ文字枠間の縦横の罫線/データの属性を
持つ文字枠間の縦横の罫線の種類を設定する。 10. タイトル文字列 タイトルの属性を持つ文字枠に書き込む文字列を設定す
る。
8. Attribute of each character box in the table Attribute of the character box (Title: Data) 9. Ruled lines for each character frame Character frames with vertical and horizontal ruled lines / title attributes of the outer frame,
Sets the type of vertical and horizontal ruled lines between character frames having data attributes / horizontal and horizontal ruled lines between character frames having title attributes / vertical and horizontal ruled lines between character frames having data attributes. 10. Title character string Set the character string to be written in the character frame having the attribute of title.

【0022】表組み立て手段2は、読み込み手段1によ
り読み込まれたデータ文字列を文字枠に書き込み、又は
設定手段4により設定された表スタイルを基に、行方向
及び列方向の文字枠の数を算出し、又は決定する。設定
手段4による設定が、 実数値:設定された値 無限大:読み込んだデータにより、実際に必要となる行
方向及び列方向の文字枠の数を算出する
The table assembling means 2 writes the data character string read by the reading means 1 into a character frame, or based on the table style set by the setting means 4, determines the number of character frames in the row and column directions. Calculate or decide. The setting by the setting means 4 is as follows: real value: set value infinity: the number of character frames in the row and column directions actually required is calculated from the read data.

【0023】検知手段5は、以下(1.〜4.)を検知
する。 1.文字列中の揃え文字の有無 設定手段4により設定された揃え文字が文字列中に存在
するかどうかを検索する。 2.文字枠間での結合・省略を行えるかどうか 行方向及び列方向に隣接する文字枠中の文字列データが
等しいかどうかをチェックする。
The detecting means 5 detects the following (1.-4.). 1. Presence / absence of alignment character in character string It is searched whether the alignment character set by the setting means 4 exists in the character string. 2. Whether the character frames can be combined or omitted Check whether the character string data in the adjacent character frames in the row and column directions are the same.

【0024】3.文字枠間での圧縮を行えるかどうか 行方向及び列方向に隣接している文字枠内に圧縮処理を
行える余白が存在するかどうかをチェックする。 4.サイズ調整処理を行うかどうか (1) 行方向に隣接する文字枠の、列方向のサイズが最大
の文字枠を検索する (2) 列方向に隣接する文字枠の、行方向のサイズが最大
の文字枠を検索する (3) 設定手段4により設定された文字枠サイズの属性が 実数値の場合:設定された文字枠の大きさと上記(1)
(2) により検索された文字枠の大きさを比較した結果を
取得する なりゆきの場合:何もしない (4) 設定手段4により設定された表全体の大きさの属性
が 実数値の場合:設定された表全体の大きさと、実際に読
み込まれた文字列データより算出された各文字枠のサイ
ズの合計とを比較した結果を算出手段3から取得する なりゆきの場合:何もしない
3. Whether compression can be performed between character frames Checks whether there is a margin for compression processing in the character frames that are adjacent in the row and column directions. 4. Whether to perform size adjustment processing (1) Search for a character box with the largest column size in the character boxes adjacent to each other in the row direction (2) Have the largest size in the row direction with each adjacent character box in the column direction Retrieval of character frame (3) When the attribute of the character frame size set by the setting means 4 is a real value: the size of the set character frame and the above (1)
(2) Acquire the result of comparing the size of the character frame searched by: In case of Narinaki: Nothing (4) When the attribute of the size of the entire table set by the setting means 4 is a real value: Set The result of comparing the size of the entire table created with the total size of the character frames calculated from the actually read character string data is obtained from the calculating means 3 In the case of becoming naive: doing nothing

【0025】文字揃え手段6は、検知手段5の検知結果
に応じて、 揃え文字が存在する:文字揃え処理を実行する 揃え文字が存在しない:文字揃え処理を実行しない
According to the detection result of the detection means 5, the character alignment means 6 has an alignment character: executes the character alignment process. Does not have the alignment character: does not execute the character alignment process.

【0026】結合・省略手段7は、設定手段4による設
定と、検知手段5による検知結果に応じて、 (a) 文字列が等しい場合 する:結合・省略処理を実行する しない:結合・省略処理を実行しない (b) 文字列が異なる場合 結合処理及び省略処理をする・しないの設定にかかわら
ず、実行しない
According to the setting made by the setting means 4 and the detection result obtained by the detecting means 5, the combining / omitting means 7: (a) if the character strings are the same: does not execute the combining / omitting process: does not perform the combining / omitting process (B) When the character strings are different Do not execute regardless of the setting of whether to perform the combining process and the omitting process

【0027】圧縮手段8は、設定手段4による設定と、
検知手段5による検知結果に応じて、 (a) 余白が存在する場合 する:圧縮処理を実行する しない:圧縮処理を実行しない (b) 余白が存在しない場合 圧縮処理をする・しないの設定にかかわらず、圧縮処理
を実行しない
The compression means 8 is set by the setting means 4 and
Depending on the detection result of the detection means 5, (a) if there is a blank space: do not perform compression processing: do not perform compression processing (b) if there is no blank space, regardless of whether compression processing is performed or not No compression processing

【0028】サイズ調整手段9は、検知手段5による検
知結果に応じて、以下の調整処理を実行する。 (1) 上下に隣接する文字枠の、横のサイズが最大の文字
枠に横のサイズを合わせる (2) 左右に隣接する文字枠の、縦のサイズが最大の文字
枠に縦のサイズを合わせる (3) 検知の結果、 (a) 設定手段4により設定された文字枠の大きさの方が
大きい:何もしない (b) 設定手段4により設定された文字枠の大きさの方が
小さい:設定手段4により設定された文字サイズの調整
内容を、文字列が文字枠の大きさに収まるまで順次実行
する
The size adjusting means 9 executes the following adjusting process according to the detection result of the detecting means 5. (1) Align the horizontal size of the vertically adjacent character boxes with the largest horizontal size. (2) Align the vertical size of the vertically adjacent character boxes with the largest vertical size. (3) As a result of the detection, (a) the size of the character frame set by the setting means 4 is larger: nothing is done (b) the size of the character frame set by the setting means 4 is smaller: The adjustment contents of the character size set by the setting means 4 are sequentially executed until the character string fits within the size of the character frame.

【0029】(4) 検知の結果、 (a) 設定手段4により設定された表全体サイズの方が大
きい:設定された表全体サイズ及び文字枠のサイズの合
計の差と、各文字枠の大きさとの比率により算出した拡
大値を各文字枠に加算する。ただし、文字枠の大きさが
実数値で設定されている場合は、その文字枠は加算対象
としない (b) 設定手段4により設定された表全体サイズの方が小
さい:設定された表全体サイズ及び文字枠のサイズの合
計の差と、各文字枠の大きさとの比率により算出した縮
小値を各文字枠から減算する。ただし、文字枠の大きさ
が実数値で設定されている場合は、その文字枠は減算対
象としない
(4) As a result of the detection, (a) the overall table size set by the setting means 4 is larger: the difference between the set overall table size and the total character box size, and the size of each character box. The enlargement value calculated by the ratio with the is added to each character frame. However, if the size of the character frame is set as a real value, that character frame is not added. (B) The whole table size set by the setting means 4 is smaller: the set whole table size. And a reduction value calculated from the ratio of the difference between the total size of the character frames and the size of each character frame is subtracted from each character frame. However, if the size of the character box is set to a real value, that character box is not subject to subtraction.

【0030】罫線発生手段10は、設定手段4により文字
枠毎及び表全体に対して罫線の線種が設定されているか
どうかの検知手段5の検知結果に応じて、罫線の線種が
設定されている場合は、設定手段4により設定された文
字枠毎及び表全体に対し、設定された種類の罫線の描画
処理を実行する。
The ruled line generating means 10 sets the ruled line type in accordance with the detection result of the detecting means 5 indicating whether the setting means 4 has set the ruled line type for each character frame or for the entire table. If so, the drawing process of the set type of ruled line is executed for each character frame set by the setting means 4 and for the entire table.

【0031】次に、本発明の表作成装置における表作成
の手順を、図11乃至図17に示すフローチャートを基に説
明する。図11は表作成の概要のフローチャートであっ
て、設定手段4により各種属性を設定し(S1)、設定
内容を解釈する(S2)。表組み立て手段2は、設定手
段4により設定され、又は読み込み手段1が読み込んだ
データ文字列を文字枠に書き込んで算出したサイズ及び
数の文字枠を行方向及び列方向に配置して表を組み立て
る(S3)。設定手段4による設定内容、及び表組み立
て手段2により組み立てられた表からの検知手段5の検
知結果に応じて、文字揃え処理(S4)、結合・省略処
理(S5)、圧縮処理(S6)、サイズ調整処理(S
7)、及び/又は罫線発生処理(S8)を実行する。
Next, the procedure for creating a table in the table creating apparatus of the present invention will be described based on the flowcharts shown in FIGS. 11 to 17. FIG. 11 is a flow chart of the outline of table creation, in which various attributes are set by the setting means 4 (S1) and the set contents are interpreted (S2). The table assembling unit 2 assembles a table by arranging the character frames of the size and number calculated by writing the data character string set by the setting unit 4 or read by the reading unit 1 in the row direction and the column direction. (S3). Character alignment processing (S4), combining / elimination processing (S5), compression processing (S6), according to the setting content of the setting means 4 and the detection result of the detection means 5 from the table assembled by the table assembly means 2. Size adjustment process (S
7) and / or ruled line generation processing (S8).

【0032】図12は表組み立て処理のフローチャートで
ある。文字列データを読み込み(S301 )、文字列デー
タの数をカウントする(S302 、S303 )。文字列デー
タの総数と、設定手段4による行及び列方向の文字枠の
数の設定内容とにより、表全体の行及び列方向の文字枠
の数を決定する(S304 )。このとき、設定手段4によ
る文字枠の設定が無限大である場合は、読み込んだ文字
列データを基に行及び列方向の文字枠の数を算出する。
FIG. 12 is a flowchart of the table assembling process. The character string data is read (S301) and the number of character string data is counted (S302, S303). The number of character frames in the row and column directions of the entire table is determined by the total number of character string data and the setting contents of the number of character frames in the row and column directions by the setting means 4 (S304). At this time, if the setting of the character frames by the setting means 4 is infinite, the number of character frames in the row and column directions is calculated based on the read character string data.

【0033】図13は文字揃え処理のフローチャートであ
る。最左位に属する列をチェックし(S401 )、同列に
属する最上位文字枠を検索する(S402 )。文字列中
に、設定手段4により設定された揃え文字が存在するか
否かを判定し(S403 )、存在しない場合はステップS
405 にジャンプする。ステップS403 の判定の結果、揃
え文字が存在する場合は、揃え文字の位置座標(x座
標)を取得する(S404 )。以上の処理を、同列に属す
る最終文字枠まで繰り返す(S403 〜S406 )。
FIG. 13 is a flowchart of the character alignment process. The leftmost column is checked (S401), and the highest character frame belonging to the same column is searched (S402). It is determined whether or not the alignment character set by the setting means 4 exists in the character string (S403).
Jump to 405. If the result of determination in step S403 is that there are aligned characters, the position coordinates (x coordinate) of the aligned characters are acquired (S404). The above process is repeated up to the last character frame belonging to the same column (S403 to S406).

【0034】同列に属する最終文字枠の検索が終了する
と、同列に属する文字枠で揃え文字が存在した文字枠中
の揃え文字の座標の最大値を取得し(S407 )、同列に
属する文字枠で揃え文字が存在した文字枠中の揃え文字
の座標を、ステップS407 で取得した最大x座標に合わ
せ、それに伴い、前後の文字列を調整する(S408 )。
1列の文字枠が終了したら最終列まで、ステップS402
〜S410 の処理を繰り返す。
When the search for the last character frame belonging to the same column is completed, the maximum value of the coordinates of the aligned characters in the character frame in which the aligned characters exist in the character frame belonging to the same column is acquired (S407), and the character frames belonging to the same column are acquired. The coordinate of the aligned character in the character frame in which the aligned character exists is matched with the maximum x coordinate acquired in step S407, and the character strings before and after are adjusted accordingly (S408).
When the character frame of one row is finished, the step S402 is performed until the last row.
The process of to S410 is repeated.

【0035】図14は結合・省略処理のフローチャートで
ある。最左位に属する列をチェックし(S501 )、同列
に属する最上位文字枠を検索する(S502 )。設定手段
4による設定内容(設定なし/結合/省略)を判定し
(S503 )、設定なしの場合はステップS510 にジャン
プして同列に属する次の文字枠を検索する(S510 、S
511 )。ステップS503 の判定の結果、結合処理を実行
する場合、上下左右に隣接する文字枠中の文字列をチェ
ックし(S504 )、同一文字列か否かを判定する(S50
5 )。同一文字列でない場合はステップS510 にジャン
プして同列に属する次の文字枠を検索する(S510 、S
511 )。一方、ステップS505 の判定の結果、同一文字
列であった場合は文字枠を結合して1つの文字枠にし、
同一文字列データを1つだけ残して削除する(S506
)。
FIG. 14 is a flowchart of the combining / omitting process. The leftmost column is checked (S501), and the uppermost character frame belonging to the same column is searched (S502). The content set by the setting means 4 (no setting / combination / omission) is determined (S503). If no setting has been made, the process jumps to step S510 to search for the next character frame belonging to the same column (S510, S).
511). If the result of determination in step S503 is that the combining process is to be executed, the character strings in the character frames that are adjacent vertically and horizontally are checked (S504), and it is determined whether they are the same character string (S50).
Five ). If they are not the same character string, the process jumps to step S510 to search for the next character frame belonging to the same string (S510, S).
511). On the other hand, if the result of determination in step S505 is that they are the same character string, the character frames are combined into one character frame,
Only one identical character string data is left and deleted (S506).
).

【0036】ステップS503 の判定の結果、省略処理を
実行する場合、上下に隣接する文字枠中の文字列をチェ
ックし(S507 )、同一文字列か否かを判定する(S50
8 )。同一文字列でない場合はステップS510 にジャン
プして同列に属する次の文字枠を検索する(S510 、S
511 )。一方、ステップS505 の判定の結果、同一文字
列であった場合は同一文字列データを、設定された省略
後の置き換え文字に置き換える(S509 )。以上の処理
を、同列に属する最終文字枠まで繰り返し(S503 〜S
509 )、また、1列の文字枠が終了したら最終列まで、
ステップS502 〜S511 の処理を繰り返す。
When the omission processing is executed as a result of the determination in step S503, the character strings in vertically adjacent character frames are checked (S507) and it is determined whether they are the same character string (S50).
8). If they are not the same character string, the process jumps to step S510 to search for the next character frame belonging to the same string (S510, S).
511). On the other hand, if the result of determination in step S505 is that they are the same character string, the same character string data is replaced with the set replacement character after omission (S509). The above process is repeated until the last character frame belonging to the same column (S503-S
509), and when the character frame of one column is finished, until the last column,
The processing of steps S502 to S511 is repeated.

【0037】図15は圧縮処理のフローチャートである。
最左位に属する列をチェックし(S601 )、同列に属す
る最上位文字枠を検索する(S602 )。設定手段4によ
る設定内容から、圧縮処理を実行するか否かを判定し
(S603 )、圧縮処理を実行しない場合はステップS60
6 にジャンプして同列に属する次の文字枠を検索する
(S606 、S607 )。一方、圧縮処理を実行する場合は
余白が存在するか否かを判定し(S604 )、余白が存在
しない場合はステップS606 にジャンプして同列に属す
る次の文字枠を検索する(S606 、S607 )。ステップ
S604 の判定の結果、余白が存在する場合は余白を除去
した枠サイズを再計算し(S605 )、以上の処理を、同
列に属する最終文字枠まで繰り返し(S603 〜S607
)、また、1列の文字枠が終了したら最終列まで、ス
テップS602 〜S609 の処理を繰り返す。
FIG. 15 is a flowchart of the compression process.
The leftmost column is checked (S601), and the highest character frame belonging to the same column is searched (S602). It is determined from the contents set by the setting means 4 whether or not the compression processing is to be executed (S603), and if the compression processing is not to be executed, step S60.
It jumps to 6 and searches for the next character frame belonging to the same column (S606, S607). On the other hand, when the compression process is executed, it is determined whether or not there is a blank space (S604), and when there is no blank space, the process jumps to step S606 to search the next character frame belonging to the same column (S606, S607). . If the result of determination in step S604 is that there is a blank space, the frame size from which the blank space has been removed is recalculated (S605), and the above processing is repeated until the final character frame belonging to the same column (S603 to S607).
) Further, when the character frame of one column is completed, the processes of steps S602 to S609 are repeated until the final column.

【0038】図16はサイズ調整処理のフローチャートで
ある。最左位に属する列をチェックし(S701 )、同列
に属する最上位文字枠を検索する(S702 )。検知手段
5による検知結果から、文字列が文字枠からはみ出して
いるか余白があるかを判定する(S703 )。文字列がは
み出している場合は文字サイズの調整等の全ての不具合
回避処理が終了したか否かを判定し(S704 )、不具合
が回避できるまで不具合回避処理を繰り返す(S704 〜
S706 )。全ての不具合回避処理が終了すると、エラー
処理を実行し(S709 )、ステップS709 に移行する。
FIG. 16 is a flowchart of the size adjustment process. The leftmost column is checked (S701), and the highest character frame belonging to the same column is searched (S702). Based on the detection result of the detection means 5, it is determined whether the character string is out of the character frame or has a margin (S703). If the character string is protruding, it is determined whether or not all defect avoidance processing such as character size adjustment has been completed (S704), and the defect avoidance processing is repeated until the defect can be avoided (S704-
S706). When all the trouble avoidance processing is completed, error processing is executed (S709), and the process proceeds to step S709.

【0039】一方、ステップS703 の判定の結果、文字
枠に余白がある場合は、余白が発生しない文字枠サイズ
を再計算し(S708 )、ステップS709 に移行する。以
上の処理を、同列に属する最終文字枠まで繰り返し(S
703 〜S710 )、また、1列の文字枠が終了したら最終
列まで、ステップS702 〜S712 の処理を繰り返す。
On the other hand, if the result of determination in step S703 is that there is a margin in the character frame, the size of the character frame in which no margin is generated is recalculated (S708), and the process proceeds to step S709. The above process is repeated until the last character frame belonging to the same column (S
703 to S710), and when the character frame of one column is completed, the processes of steps S702 to S712 are repeated until the last column.

【0040】各文字枠に対するサイズ調整が終了する
と、調整の結果、表全体に対する文字枠のはみ出し又は
不足があるか否かを判定し(S713 )、はみ出し又は不
足がない場合は処理を終了する。ステップS713 の判定
の結果、はみ出し又は不足がある場合は、行列毎になり
ゆき文字列に対し、過不足を比率に応じて分配し、ステ
ップS701 に戻って、各文字枠に対するサイズ調整を繰
り返す(S701 〜S712)。
When the size adjustment for each character frame is completed, it is determined as a result of the adjustment whether or not there is a character frame protrusion or insufficiency for the entire table (S713). If there is no protrusion or insufficiency, the process ends. If the result of determination in step S713 is that there is protrusion or deficiency, excess or deficiency is distributed according to the ratio for each row of character strings, and the process returns to step S701 to repeat size adjustment for each character frame ( S701 to S712).

【0041】図17は罫線発生処理のフローチャートであ
る。最左位に属する列をチェックし(S801 )、同列に
属する最上位文字列を検索する(S802 )。罫線発生対
象の文字枠の属性(タイトル/データ)を検索し(S80
3 )、次に、上下左右に隣接する文字枠の属性を検索
し、罫線発生対象の文字枠の上辺/下辺/左辺/右辺
が、それぞれ表外枠、タイトル境界等、どの属性に相当
するのか決定する(S804 )。以上の処理を、同列に属
する最終文字枠まで繰り返し(S803 〜S806 )、ま
た、1列の文字枠が終了したら最終列まで、ステップS
802 〜S808 の処理を繰り返す。文字枠の上辺/下辺/
左辺/右辺の属性決定が終了すると、各文字枠の過接な
場所に、設定された種類の罫線を発生させる(S809
)。
FIG. 17 is a flowchart of ruled line generation processing. The leftmost column is checked (S801), and the highest character string belonging to the same column is searched (S802). The attribute (title / data) of the character frame for which the ruled line is generated is searched (S80
3) Next, search the attributes of the character boxes that are adjacent to each other in the up, down, left, and right directions, and find out what attributes the top, bottom, left, and right sides of the character frame for which the ruled line is generated correspond to the outer frame, title boundary, etc. It is determined (S804). The above processing is repeated until the last character frame belonging to the same column (S803 to S806), and when the character frame of one column is completed, the process is repeated until the last column.
The processing of 802 to S808 is repeated. Upper side / lower side of character frame /
When the left / right side attribute determination is completed, a ruled line of the set type is generated at an excessively tangent place of each character frame (S809).
).

【0042】次に、本発明の表作成装置による表作成の
過程を、図2乃至図10に示す具体例を用いて説明する。 1)表組仮配置処理 図2(a) に示すように、各文字枠をなりゆきで配置する
ことにより、文字枠の縦方向及び横方向の数を求める。
このとき、文字枠を配置するために、文字列をなりゆき
で配置して得られるサイズを仮の文字枠サイズとして設
定する。ただし、文字枠サイズが実数値で設定されてい
る場合は行わない。図2(b) に示すように、タイトル付
きの場合も同様に文字枠を並べる。
Next, the process of creating a table by the table creating apparatus of the present invention will be described with reference to the concrete examples shown in FIGS. 1) Temporary table layout process As shown in FIG. 2 (a), by arranging each character frame in a straight line, the numbers in the vertical and horizontal directions of the character frame are obtained.
At this time, in order to arrange the character frame, the size obtained by arranging the character strings in a traced manner is set as the temporary character frame size. However, it is not performed when the character box size is set to a real value. As shown in Fig. 2 (b), the character frames are arranged in the same manner even when the title is attached.

【0043】2)揃え処理 仮配置された文字枠の文字列を、設定されている指定文
字及び指定方法で揃える。揃え処理では、揃え文字、揃
え場所及び揃え位置を指定する。本実施例では第1揃え
文字、第2揃え文字の2つまで指定可能である。揃え場
所、揃え位置の指定は以下のようである。 <揃え場所> (前)…揃え文字で文字枠を区切った時の最初の領域 (後)…揃え文字で文字枠を区切った時の最後の領域 (中)…揃え文字で文字枠を区切った時の最初と最後以
外の全ての領域 <揃え位置> 先頭・中央・後ろ・小数点の4種類
2) Alignment processing The character strings in the temporarily arranged character frame are aligned with the set designated characters and designated method. In the alignment process, the alignment character, alignment location, and alignment position are specified. In this embodiment, it is possible to specify up to two of the first alignment character and the second alignment character. The alignment location and alignment position are specified as follows. <Alignment location> (Before) ... First area when the character frame is separated by the alignment character (Back) ... Last area when the character frame is separated by the alignment character (Middle) ... Character frame is separated by the alignment character All areas except the beginning and end of the time <Alignment position> 4 types of head, center, back and decimal point

【0044】図3(a) は、図2(a) の右端の文字枠に対
して「第1揃え文字“×”、第2揃え文字“なし”、
(前)後ろ揃え、(中)後ろ揃え、(後)先頭揃え」が
指定されている場合の揃え処理結果を示す。図3(b)
は、「第1揃え文字“×”、第2揃え文字“,”」が指
定されている場合の揃え処理結果を示す。図3(c) は、
「第1揃え文字“×”、第2揃え文字“なし”、(前)
小数点揃え、(後)小数点揃え」が指定されている場合
の揃え処理結果を示す。以上の文字揃えによって、表は
美しく見やすくなる。
FIG. 3A shows "first alignment character" x ", second alignment character" none ", with respect to the rightmost character frame in FIG. 2 (a).
The following shows the alignment processing results when (front) back alignment, (middle) back alignment, and (rear) top alignment are specified. Fig. 3 (b)
Indicates the alignment processing result when "first alignment character" x ", second alignment character", "" is specified. Figure 3 (c) shows
"First alignment character" x ", second alignment character" none ", (previous)
The following shows the alignment processing result when decimal point alignment and (after) decimal point alignment are specified. The above character alignment makes the table beautiful and easy to see.

【0045】3)結合処理・省略処理、及び圧縮処理 上下左右に隣接している文字枠間で同一データが続く場
合、複数の文字枠を1つの文字枠に結合するか、又は2
つ目以降のデータを、設定された置き換え文字に置き換
える。図4(a) は中央の文字枠を縦方向に結合した場合
を示す。図4(b) は左から2つの文字枠を横方向に結合
した場合を示す。図5(a) は下段のデータを省略し、置
き換え文字“〃”に置き換えた場合を示す。また、結合
の結果、文字枠に余白が発生した場合にその余白を圧縮
する。図5(b) は縦方向の余白を圧縮した場合を示す。
3) Combining / Omitting, and Compressing When the same data continues between vertically and horizontally adjacent character frames, a plurality of character frames are combined into one character frame, or 2
Replace the data after the first with the set replacement character. FIG. 4 (a) shows the case where the character frames in the center are connected in the vertical direction. FIG. 4 (b) shows a case where two character frames are joined horizontally from the left. FIG. 5 (a) shows a case where the lower data is omitted and replaced with the replacement character "〃". Further, when a blank space is generated in the character frame as a result of the combination, the blank space is compressed. FIG. 5B shows a case where the vertical margin is compressed.

【0046】4)サイズ調整処理 (1) サイズ揃え 表形式を整えるため、文字枠のサイズを縦横で揃える。
図6に幅揃え及び高さ揃えの経過を示す。
4) Size adjustment processing (1) Size alignment In order to arrange the table format, the sizes of the character frames are aligned vertically and horizontally.
FIG. 6 shows the progress of width alignment and height alignment.

【0047】(2) 変形処理 表全体のサイズが設定されている場合、表全体を設定サ
イズに調整する。図7(a) に、表全体が設定サイズを超
えた場合の処理過程を示す。設定サイズよりはみ出した
長さを各文字枠のサイズの比により分配し、それぞれの
文字枠サイズを縮小する。図7(b) に、表全体が設定サ
イズに満たない場合の処理過程を示す。設定サイズに満
たない長さを各文字枠のサイズの比により分配し、それ
ぞれの文字枠サイズを拡大する。また、サイズ調整によ
り文字がはみ出した場合は、文字列の変形処理を行う。
図8は、表全体サイズ調整後、文字枠より文字列がはみ
出した場合の処理過程を示し、各文字枠に、設定された
サイズ調整処理を実行した結果はみ出した文字列を長体
に変形した場合を示す。
(2) Deformation processing When the size of the entire table is set, the entire table is adjusted to the set size. FIG. 7 (a) shows the processing procedure when the entire table exceeds the set size. The length that exceeds the set size is distributed according to the size ratio of each character frame, and the size of each character frame is reduced. FIG. 7 (b) shows a processing process when the entire table is smaller than the set size. The length less than the set size is distributed according to the ratio of the size of each character frame, and each character frame size is expanded. In addition, when the character is projected due to the size adjustment, the character string is deformed.
FIG. 8 shows a process in the case where a character string protrudes from the character frame after the size of the entire table is adjusted. As a result of executing the size adjusting process set in each character frame, the protruded character string is transformed into a rectangular shape. Indicate the case.

【0048】(3) 枠内揃え 文字枠内の文字列の位置揃えを行う。図9は左列の文字
枠に右揃えが設定されている場合を示す。 5)罫線 設定された各文字枠の罫線の属性(表外枠/タイトル中
線/タイトル境界線/データ中線)に基づき、設定され
た線種の罫線を図10に示すように引く。
(3) Alignment within frame The position of a character string within a character frame is aligned. FIG. 9 shows a case where right alignment is set in the character frame in the left column. 5) Ruled line Based on the set ruled line attribute of each character frame (outer frame / title middle line / title boundary line / data middle line), a ruled line of the set line type is drawn as shown in FIG.

【0049】[0049]

【発明の効果】以上のように、本発明の表作成装置及び
表作成方法は、各文字枠にデータを書き込んで、必要な
文字枠のサイズ、数を算出して表を組み立てる機能を設
けたので、表の作成が容易で作業効率が高く、質の高い
表を作成するという優れた効果を奏する。
As described above, the table creating apparatus and the table creating method of the present invention are provided with the function of writing data in each character frame, calculating the size and number of necessary character frames, and assembling the table. Therefore, it is easy to create a table, has high work efficiency, and has an excellent effect of creating a high-quality table.

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

【図1】本発明の表作成装置の構成図である。FIG. 1 is a configuration diagram of a table creation device of the present invention.

【図2】文字枠を仮配置した状態の具体例を示す図であ
る。
FIG. 2 is a diagram showing a specific example of a state in which character frames are provisionally arranged.

【図3】揃え処理結果の文字枠の状態の具体例を示す図
である。
FIG. 3 is a diagram showing a specific example of a state of character frames as an alignment processing result.

【図4】結合処理前及び結合処理後の文字枠の状態の具
体例を示す図である。
FIG. 4 is a diagram showing a specific example of a state of a character frame before and after a combining process.

【図5】省略処理前・省略処理後、及び圧縮処理前・圧
縮処理後の文字枠の状態の具体例を示す図である。
FIG. 5 is a diagram showing a specific example of a state of a character frame before the omission processing / after the omission processing and before the compression processing / after the compression processing.

【図6】文字枠サイズ調整前及び調整後の文字枠の状態
の具体例を示す図である。
FIG. 6 is a diagram showing a specific example of the state of the character frame before and after the character frame size adjustment.

【図7】表全体が、設定サイズを超えた場合、満たない
場合の変形処理前及び変形処理後の文字枠の状態の具体
例を示す図である。
FIG. 7 is a diagram showing a specific example of a state of a character frame before and after transformation processing when the entire table exceeds or does not exceed the set size.

【図8】文字列が文字枠をはみ出した場合の変形処理前
及び変形処理後の文字枠の状態の具体例を示す図であ
る。
FIG. 8 is a diagram showing a specific example of the state of the character frame before and after the deformation process when the character string extends beyond the character frame.

【図9】文字枠内の文字列位置揃え処理後の文字枠の状
態の具体例を示す図である。
FIG. 9 is a diagram showing a specific example of a state of the character frame after the character string alignment processing within the character frame.

【図10】罫線発生後の文字枠の状態の具体例を示す図
である。
FIG. 10 is a diagram showing a specific example of a state of a character frame after a ruled line is generated.

【図11】表作成方法の概要のフローチャートである。FIG. 11 is a flow chart outlining a table creation method.

【図12】表組み立て処理のフローチャートである。FIG. 12 is a flowchart of a table assembling process.

【図13】文字揃え処理のローチャートである。FIG. 13 is a row chart of character alignment processing.

【図14】結合・省略処理のフローチャートである。FIG. 14 is a flowchart of a combining / omitting process.

【図15】圧縮処理のフローチャートである。FIG. 15 is a flowchart of compression processing.

【図16】サイズ調整処理のフローチャートである。FIG. 16 is a flowchart of a size adjustment process.

【図17】罫線発生処理のフローチャートである。FIG. 17 is a flowchart of ruled line generation processing.

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

1 読み込み手段 2 表組み立て手段 3 算出手段 4 設定手段 5 検知手段 6 文字揃え手段 7 結合・省略手段 8 圧縮手段 9 サイズ調整手段 10 罫線発生手段 1 Reading Means 2 Table Assembling Means 3 Calculating Means 4 Setting Means 5 Detecting Means 6 Character Aligning Means 7 Combining / Omitting Means 8 Compressing Means 9 Size Adjusting Means 10 Ruled Line Generating Means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 尾形 和昭 大阪府大阪市中央区北浜4丁目5番33号 住友金属工業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Kazuaki Ogata 4-533 Kitahama, Chuo-ku, Osaka-shi, Osaka Sumitomo Metal Industries, Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 表の各欄に対応するデータ書き込みの領
域を行方向及び列方向に配して表を組み立てる表作成装
置において、各領域に書き込むべきデータを読み込む手
段と、該手段が読み込んだデータを各領域に書き込んで
各領域のサイズ、及び行方向・列方向の領域の数を算出
し、算出したサイズの各領域を、算出した数だけ各行及
び各列に配置して表を組み立てる手段とを備えたことを
特徴とする表作成装置。
1. In a table creating apparatus for assembling a table by arranging data writing areas corresponding to respective columns of the table in a row direction and a column direction, a means for reading data to be written in each area, and a means for reading the data. A means for assembling a table by writing data in each area, calculating the size of each area, and the number of areas in the row direction / column direction, arranging each area of the calculated size in each row and each column A table preparation device comprising:
【請求項2】 同列に配置した他の領域と行方向の位置
を揃えるべきデータを設定する手段と、同列に配置した
領域に書き込むデータから、その行方向の位置を揃える
べきデータを検知する手段と、同列に配置した領域内
の、設定されたデータの行方向の位置を揃える手段とを
備えた請求項1記載の表作成装置。
2. A means for setting data to be aligned in the row direction with another area arranged in the same column, and a means for detecting data to be aligned in the row direction from the data written in the area arranged in the same column. 2. The table creation device according to claim 1, further comprising: a means for aligning the positions of the set data in the row direction within the areas arranged in the same column.
【請求項3】 同列に配置した他の領域と行方向の位置
を揃えるべきデータを複数個設定する手段と、同列に配
置した複数の領域に書き込むデータから、その行方向の
位置を揃えるべきデータを検知する手段と、同一領域に
書き込むデータのうちの該複数個のデータ以外のデータ
の揃え位置を設定する手段と、設定された複数個のデー
タの行方向の位置を揃え、また該複数個のデータ以外の
データを設定された揃え位置に揃える手段とを備えた請
求項2記載の表作成装置。
3. A means for setting a plurality of data whose positions in the row direction should be aligned with other regions arranged in the same column, and data which should be aligned in the row direction from the data to be written in the plurality of regions arranged in the same column. Detecting means, a means for setting an alignment position of data other than the plurality of data to be written in the same area, a position in the row direction of the set plurality of data is aligned, and 3. The table creating apparatus according to claim 2, further comprising means for aligning data other than the data of 1. to the set alignment position.
【請求項4】 表の各欄に対応するデータ書き込みの領
域を行方向及び列方向に配して表を組み立てる表作成装
置で使用する表作成方法において、各領域に書き込むべ
きデータを読み込み、読み込んだデータを各領域に書き
込んで各領域のサイズ、及び行方向・列方向の領域の数
を算出し、算出したサイズの各領域を、算出した数だけ
各行及び各列に配置して表を組み立てることを特徴とす
る表作成方法。
4. In a table creating method used in a table creating apparatus for assembling a table by arranging data writing areas corresponding to each column of the table in a row direction and a column direction, data to be written in each area is read and read. Data is written in each area, the size of each area and the number of areas in the row direction and column direction are calculated, and each area of the calculated size is arranged in each row and each column and the table is assembled. A method of creating a table characterized by the above.
【請求項5】 同列に配置した他の領域と行方向の位置
を揃えるべきデータを設定し、同列に配置した領域に書
き込むデータから、その行方向の位置を揃えるべきデー
タを検知し、同列に配置した領域内の、設定されたデー
タの行方向の位置を揃える請求項4記載の表作成方法。
5. Set data for aligning the position in the row direction with other regions arranged in the same column, detecting the data for aligning the position in the row direction from the data to be written in the region arranged in the same column, and setting the data in the same column. The table creation method according to claim 4, wherein the positions of the set data in the row direction are aligned in the arranged area.
【請求項6】 同列に配置した他の領域と行方向の位置
を揃えるべきデータを複数個設定し、同列に配置した複
数の領域に書き込むデータから、その行方向の位置を揃
えるべきデータを検知し、同一領域に書き込むデータの
うちの該複数個のデータ以外のデータの揃え位置を設定
し、設定した複数個のデータの行方向の位置を揃え、ま
た該複数個のデータ以外のデータを設定した揃え位置に
揃える請求項5記載の表作成方法。
6. A plurality of pieces of data to be aligned in the row direction with other areas arranged in the same column are set, and data to be aligned in the row direction is detected from the data to be written in the plurality of areas arranged in the same column. Then, set the alignment position of the data other than the plurality of data to be written in the same area, align the positions in the row direction of the set plurality of data, and set the data other than the plurality of data. The table creating method according to claim 5, wherein the table is prepared at the prepared alignment position.
JP7221834A 1995-08-30 1995-08-30 Table preparation device and method therefor Pending JPH0962752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7221834A JPH0962752A (en) 1995-08-30 1995-08-30 Table preparation device and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7221834A JPH0962752A (en) 1995-08-30 1995-08-30 Table preparation device and method therefor

Publications (1)

Publication Number Publication Date
JPH0962752A true JPH0962752A (en) 1997-03-07

Family

ID=16772931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7221834A Pending JPH0962752A (en) 1995-08-30 1995-08-30 Table preparation device and method therefor

Country Status (1)

Country Link
JP (1) JPH0962752A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002046315A (en) * 2000-08-03 2002-02-12 Toshiba Tec Corp Image forming apparatus
JP2006178963A (en) * 2004-12-20 2006-07-06 Microsoft Corp Method for generating multiple column layout and computer-readable medium
JP2009230382A (en) * 2008-03-21 2009-10-08 Hitachi East Japan Solutions Ltd Gantt chart display method, gantt chart display program and gantt chart display
JP2011090526A (en) * 2009-10-22 2011-05-06 Fujitsu Ltd Compression program, method, and device, and decompression program, method, and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002046315A (en) * 2000-08-03 2002-02-12 Toshiba Tec Corp Image forming apparatus
JP2006178963A (en) * 2004-12-20 2006-07-06 Microsoft Corp Method for generating multiple column layout and computer-readable medium
JP2009230382A (en) * 2008-03-21 2009-10-08 Hitachi East Japan Solutions Ltd Gantt chart display method, gantt chart display program and gantt chart display
JP2011090526A (en) * 2009-10-22 2011-05-06 Fujitsu Ltd Compression program, method, and device, and decompression program, method, and device

Similar Documents

Publication Publication Date Title
JP2000113193A (en) Synthesizing method for multi-viewpoint three- dimensional data and recording medium
JPH05205012A (en) Method of changing cad data
JPH08194840A (en) Graphic input and output device
JPH0962752A (en) Table preparation device and method therefor
JPH07311858A (en) Method and device for preparing free curved surface
US7765240B2 (en) Computer-aided modeling
WO1992022888A1 (en) Method of correctly aligning the line width of outline font
JP4771807B2 (en) Computer-aided design apparatus, program and method thereof
JP7239050B2 (en) Image processing device, image processing system, image processing method, and image processing program
JP3389388B2 (en) Drawing editing device
JP4494625B2 (en) Method and system for creating data of surface mount components
JPH0744731A (en) Method and device for generating stereoscopic model
JP2570954B2 (en) Straight line shape judgment method at the time of three-dimensional spline dimension conversion
WO1998055950A1 (en) Integrated circuit layout synthesis tool
CN116910868A (en) Dynamo and Excel-based asymmetric curve box Liang Jianmo method
JPH0696178A (en) Graphic processing system
JP2001243269A (en) Method and device for processing vertex movement in three-dimensional shape processing system and recording medium
JPH03291748A (en) Table data preparation control method and data processor
JP2833971B2 (en) Drafting symbol data conversion method between different models
JP2524621B2 (en) Automatic offset figure creation device
Gao Advances in element differential method and free element method
CN117270312A (en) Method for accurately extracting center line of photomask of circuit layout
JPS6318478A (en) Digital differential analyzer
JPH07210547A (en) Automatic table preparing method for table editing system
JPH07234868A (en) Document preparing device