JP2010003046A - Tabular work edition device, method, program, and recording medium - Google Patents
Tabular work edition device, method, program, and recording medium Download PDFInfo
- Publication number
- JP2010003046A JP2010003046A JP2008160233A JP2008160233A JP2010003046A JP 2010003046 A JP2010003046 A JP 2010003046A JP 2008160233 A JP2008160233 A JP 2008160233A JP 2008160233 A JP2008160233 A JP 2008160233A JP 2010003046 A JP2010003046 A JP 2010003046A
- Authority
- JP
- Japan
- Prior art keywords
- column
- width
- width value
- editing
- data
- 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
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
本発明は、表組み編集を行う装置、方法、プログラム、及び記録媒体に関するものである。
本発明は特に、表組みを変更する作業において、表の体裁を維持するための調整作業の能率を向上させる場合に有用である。
The present invention relates to an apparatus, method, program, and recording medium for performing table composition editing.
The present invention is particularly useful for improving the efficiency of adjustment work for maintaining the appearance of a table in an operation for changing a table layout.
規則的な構造を持った情報は、表形式に編集(=表組み)することで、読みやすい体裁にすることができる。
たとえば、カタログやチラシに掲載する商品情報は、商品名・商品コード・価格・商品の特徴などの規則的な構造を持ったテキスト情報であるので、これを表組みに編集することが適している。
以下に、表組み作業とその問題点を説明する。
《1.表の割付》
最近のカタログやチラシは、情報誌としての側面も備えており、表組みした商品情報と、読み物としての文章とを併記したものも多い。自動組版では、表や文章を紙面に割り付ける。
たとえば、特許文献1では、段組された紙面に表や文章を割り付けるときに、表が大きくて1つの段に収まらないときには、その表を複数の段に分割して、各段では無駄な空白が生じないように分割した表を拡大処理して割り付ける技術が開示されている。
Information with a regular structure can be edited in a table format (= table composition) to make it easier to read.
For example, product information that appears in catalogs and flyers is text information with a regular structure such as product name, product code, price, and product characteristics, so it is suitable to edit it into a table. .
The table work and its problems are described below.
<< 1. Table assignment >>
Recent catalogs and flyers also have an aspect as an information magazine, and many of them include written product information and sentences as reading materials. In automatic typesetting, tables and sentences are allocated on the page.
For example, in
《2.表の変更》
従来の自動組版における表組組版では、表の構成を変更した場合には、割付体裁が整わない事態が発生していた。たとえば、表の列を削除した場合には、表の幅は、削除した列の幅分だけ短くなり、当初の割付体裁が崩れてしまうということが生じた。
そこで、DTP(Desk Top Publishing)編集者は、表の幅を元の状態に戻すための拡大処理の作業や、拡大処理した表の文字列の割り付ける修正処理の作業を行う必要があった。
また、逆に、表に列を追加した場合には、表の幅は、追加した列の幅分だけ長くなるので、DTP編集者は、同様に、表の幅を元の状態に戻すための縮小処理の作業や、縮小処理した表の文字列の割り付ける修正処理の作業を行う必要があった。
<< 2. Change table >>
In the conventional table composition in the automatic composition, when the composition of the table is changed, there is a situation in which the layout format is not arranged. For example, when a table column is deleted, the width of the table is shortened by the width of the deleted column, and the original layout appearance is lost.
Therefore, a DTP (Desk Top Publishing) editor needs to perform an enlargement process for returning the table width to the original state and a modification process for assigning the character string of the enlarged table.
Conversely, when a column is added to the table, the width of the table is increased by the width of the added column, so the DTP editor can similarly restore the table width to the original state. It was necessary to perform a reduction processing work and a correction processing work for assigning character strings in the reduced table.
しかしながら、特許文献1の技術では、表の特定の列を削除あるいは追加することで表の列の構成を変更して、変更した表を所定の幅に拡大や縮小することはできない。
However, with the technique of
本発明は以上のような点を解決するためになされたものであって、本発明の課題は、表の特定の列を削除あるいは追加することで表の列の構成を変更して、変更した表を所定の幅に拡大や縮小する表組み編集装置、方法、プログラム、及び記録媒体を提供することである。
The present invention has been made in order to solve the above-described points, and the object of the present invention is to change the configuration of a table column by deleting or adding a specific column of the table. To provide a table composition editing apparatus, method, program, and recording medium for enlarging or reducing a table to a predetermined width.
本発明は、以下の各態様に記載の手段により、前記課題を解決する。
すなわち、本願の第1の発明は、列幅値を有する列を配列した表組みデータを用いる表組み編集装置において、指定した列を削除または追加する変更指示の入力を受け付けて、受け付けた変更指示に従って、前記表組みデータに対して、指定された列のデータを削除または追加する列編集手段と、該列編集手段が列を削除または追加した表組みデータに対して、各列の列幅値の比率を維持しながら、列幅値を調整して、列編集前の表の表幅値を維持する列幅調整手段と、を備えることを特徴とする表組み編集装置である。
This invention solves the said subject by the means as described in each following aspect.
That is, according to the first invention of the present application, in a table composition editing apparatus using table composition data in which columns having column width values are arranged, an input of a change instruction for deleting or adding a designated column is received, and the received change instruction is received. In accordance with the table editing data, column editing means for deleting or adding the data of the designated column, and the column width value of each column for the table data with the column editing means deleting or adding the column And a column width adjusting unit that adjusts the column width value while maintaining the ratio and maintains the table width value of the table before column editing.
このように、表中の列を削除したり、表に列を追加したりしても、表組みにて当初設定された表の幅を維持することが可能である。従って、表の列を追加・削除しても、表のデザイン性を失う事なく自動的に表組の体裁を整えることが可能である。 Thus, even if a column in the table is deleted or a column is added to the table, it is possible to maintain the table width initially set in the table assembly. Therefore, even if a table column is added or deleted, the table format can be automatically arranged without losing the design of the table.
本願の第2の発明は、前記列幅調整手段は、列編集前の表組みデータが有する各列の列幅値を全て加算して、列編集前の表の表幅値を算出する表幅算出手段と、前記列編集手段が表から列を削除した場合には、前記表幅算出手段が算出した表幅値と一致するように、前記列編集手段が列を削除した表組みデータの各列の列幅値を拡大する列幅拡大手段と、前記列編集手段が表に列を追加した場合には、前記表幅算出手段が算出した表幅値と一致するように、前記列編集手段が列を追加した表組みデータの各列の列幅値を縮小する列幅縮小手段と、から構成される、ことを特徴とする請求項1に記載の表組み編集装置である。
According to a second aspect of the present invention, the column width adjusting means adds all the column width values of each column included in the table data before column editing to calculate a table width value of the table before column editing. When the column is deleted from the table by the calculating unit and the column editing unit, each of the table data in which the column editing unit has deleted the column so as to match the table width value calculated by the table width calculating unit. A column width enlarging means for enlarging a column width value of the column; and when the column editing means adds a column to the table, the column editing means so as to match the table width value calculated by the table
本願の第3の発明は、前記列幅拡大手段は、列を削除された表組みデータの全ての列幅値を用いて各列の列幅値の比率を算出して、前記表幅算出手段が算出した表幅値に対して、前記算出した各列の列幅値の比率を適用して、表幅値を各列の列幅値の比率で按分して、対応する列の列幅値を算出し、前記列幅縮小手段は、追加された列の列幅値と列編集前の表組みデータが有する全ての列の列幅値を用いて列幅値の比率を算出して、表幅算出手段が算出した表幅値に対して、前記算出した各列の列幅値の比率を適用して、列編集前の表の表幅値を各列の列幅値の比率で按分して、対応する列の列幅値を算出する、
ことを特徴とする請求項2に記載の表組み編集装置である。
According to a third invention of the present application, the column width enlarging means calculates a ratio of column width values of each column using all column width values of the table data from which the columns are deleted, and the table width calculating means Applying the ratio of the calculated column width value of each column to the calculated table width value, and dividing the table width value by the ratio of the column width value of each column, the column width value of the corresponding column The column width reduction means calculates the ratio of the column width value using the column width value of the added column and the column width values of all the columns included in the table data before editing the column. By applying the ratio of the calculated column width value of each column to the table width value calculated by the width calculating means, the table width value of the table before column editing is divided by the ratio of the column width value of each column. To calculate the column width value of the corresponding column,
The table composition editing apparatus according to
本願の第4の発明は、列幅値を有する列を配列した表組みデータを用いる表組み編集方法であって、
(1)指定した列を削除または追加する変更指示の入力を受け付けて、受け付けた変更指示に従って、表組みデータに対して、指定された列を削除または追加する列編集ステップと、
(2)列を削除または追加した表に対して、表の各列の列幅値の比率を維持しながら、列編集前の表の表幅値を保持するように、以下のステップを実行して各列の列幅値を調整する列幅調整ステップと、
(2−1)列編集前の表組みデータが有する各列の列幅値を全て加算して、列編集前の表の表幅値を算出する表幅算出ステップと、
(2−2)表から列を削除した場合には、前記表幅算出ステップで算出した表幅値と一致するように、列が削除された表組みデータの各列の列幅値値を拡大する列幅拡大ステップと、
(2−3)表に列を追加した場合には、前記表幅算出ステップで算出した表幅値と一致するように、列が追加された表組みデータの各列の列幅値を縮小する列幅縮小ステップと、
を含んだ手順でなされることを特徴とする表組み編集方法である。
A fourth invention of the present application is a table composition editing method using table composition data in which columns having column width values are arranged,
(1) A column editing step for receiving an input of a change instruction for deleting or adding a specified column and deleting or adding the specified column to the table data according to the received change instruction;
(2) For the table with the column deleted or added, execute the following steps to maintain the table width value of the table before column editing while maintaining the ratio of the column width value of each column of the table. Column width adjustment step for adjusting the column width value of each column,
(2-1) A table width calculating step of adding all the column width values of each column included in the table data before column editing to calculate a table width value of the table before column editing;
(2-2) When the column is deleted from the table, the column width value value of each column of the table data from which the column is deleted is expanded so as to match the table width value calculated in the table width calculation step. A column width expansion step to be performed;
(2-3) When a column is added to the table, the column width value of each column of the table data to which the column is added is reduced so as to match the table width value calculated in the table width calculation step. A column width reduction step;
This is a table composition editing method characterized by being performed in a procedure including
本願の第5の発明は、コンピュータに組込むことによって、コンピュータを請求項1から請求項3のいずれか1項に記載の表組み編集装置として動作させることを特徴とするコンピュータプログラムである。
According to a fifth aspect of the present invention, there is provided a computer program that causes a computer to operate as the table composition editing apparatus according to any one of
本願の第6の発明は、請求項5に記載のコンピュータプログラムを記録したコンピュータ読取り可能な記録媒体である。
A sixth invention of the present application is a computer-readable recording medium on which the computer program according to claim 5 is recorded.
本願発明によれば、表のデザイン性を失う事なく自動的に表組の体裁を整えることが可能である。
According to the present invention, it is possible to automatically arrange the appearance of a table without losing the design of the table.
以下、図面等を参照しながら、本発明の実施の形態について、更に詳しく説明する。 Hereinafter, embodiments of the present invention will be described in more detail with reference to the drawings.
図1は、本発明による表組み編集装置100の概要を説明する図である。
FIG. 1 is a diagram for explaining the outline of a table
表組み編集装置100は、既存の文書編集プログラムを備えたパーソナルコンピュータに、後述する専用プログラムを搭載したものである。
表組み編集装置100は、表示部103と入力部102を備える。入力部102は、マウス102aやキーボード102bからなる。
The table
The
表組み編集装置100は、表組みデータを記憶する記憶部を有する。
表組みデータの例としては、商品カタログの商品情報を表に割り付けたデータなどがある。
The table
As an example of the table data, there is data in which product information of a product catalog is assigned to a table.
図2は表組み編集装置100の大まかな処理の流れを説明する。
ここで、表とは、列方向と行方向に配列された升目と、升目に配列されたデータ(たとえあば、文字列や画像)から構成されるものである。列方向に配列された升目を、列と称する。
《1.表の表示》
DTP編集者は、表組み編集装置100の表示部に、表組みデータを用いて表を表示する。(図2(1))。
《2.列の変更》
DTP編集者は、表を構成する列を削除する変更指示、あるいは、列を追加する変更指示を入力する(同(2))。
表組み編集装置100は、表示された表に対して、変更指示に基づいて、列の削除や追加をして、変更前の表の表幅値になるように各列の列幅値を調整した表を表示する(同(3))。
FIG. 2 illustrates a rough processing flow of the table
Here, the table is composed of cells arranged in the column direction and the row direction, and data (for example, character strings and images) arranged in the cells. The cells arranged in the column direction are called columns.
<< 1. Table display >>
The DTP editor displays a table on the display unit of the
<< 2. Change column >>
The DTP editor inputs a change instruction for deleting a column constituting the table or a change instruction for adding a column ((2)).
The
なお、列が削除された場合には、表組み編集装置100は、残された列の幅の比率を維持しながら、列幅値を拡大して、変更前の表(以下、列編集前の表)の表幅値にする。
列が追加された場合には、表組み編集装置100は、各列の列幅値の比率を維持しながら、列幅値を縮小して、列編集前の表の表幅値にする。
When a column is deleted, the table
When a column is added, the table
図3と図4を用いて、表の列を追加・削除変更の説明をする。 The addition / deletion / change of a table column will be described with reference to FIGS. 3 and 4.
図3は、表の列を削除するときの例を説明する図である。 FIG. 3 is a diagram for explaining an example of deleting a table column.
図3の(a)には、列編集前の表19aが例示されている。
変更前の表19aは、4つの列91a/b/c/dから構成されている。各列91a/b/c/dは、列に割り付けられた文字列の数に応じて列幅値が設定されている。
FIG. 3A illustrates a table 19a before column editing.
The table 19a before the change is composed of four
図3の(b)には、表の列を削除した表19bが例示されている。
列を削除した表19bは、列編集前の表19aから、列91dを削除した状態のもので列幅値調整前である。
列を削除した表(以下、列幅値調整前の表)19bは、3列91a/b/cから構成されている。
FIG. 3B illustrates a table 19b from which the table columns are deleted.
The table 19b from which the column is deleted is the one in which the
The table from which the columns are deleted (hereinafter, the table before adjusting the column width value) 19b is composed of three
図3の(c)には、列幅値調整をした表19cが例示されている。
列幅値調整後の表19cは、列幅値調整前の表19bを用いて列幅値調整をした表である。
列幅値調整後の表19cの3列91a/b/cの幅の比率は、列幅値調整前の表19bの3列91a/b/cの幅の比率と等しい。
列幅値調整表19cの表幅は、列編集前の表19aの幅と等しい。
FIG. 3C illustrates a table 19c in which the column width value is adjusted.
Table 19c after the column width value adjustment is a table in which the column width value is adjusted using the table 19b before the column width value adjustment.
The width ratio of the three
The table width of the column width value adjustment table 19c is equal to the width of the table 19a before column editing.
図4は、表の列を追加するときの例を説明する図である。 FIG. 4 is a diagram illustrating an example when adding a table column.
図4の(a)には、列編集前の表19aが例示されている。
変更前の表19aは、3列91a/b/cから構成されている。各列91a/b/cは、列に割り付けられた文字列の数に応じて列幅値が設定されている。
FIG. 4A illustrates a table 19a before column editing.
Table 19a before the change is composed of three
図4の(b)には、列を追加した表19bが例示されている。
列を追加した表19bは、列編集前の表19aに、列91dを追加した状態のもので列幅値調整前である。
FIG. 4B illustrates a table 19b to which a column is added.
The table 19b with the added column is a table 19a with the
図4の(c)には、列幅値調整をした表19cが例示されている。
列を追加した表19bは、4列91a/b/c/dから構成されている。
列幅値調整をした表19cは、列幅値調整前の表19bから列幅値調整をした表である。
列幅値調整をした表19cの4列193a/b/c/dの幅の比率は、列幅値調整前の表19bの4列191a/b/c/dの幅の比率と等しい。
列幅値調整表19cの表幅は、列編集前の表19aの幅と等しい。
FIG. 4C illustrates a table 19c in which the column width value is adjusted.
The table 19b with the added columns is composed of four
The table 19c after the column width value adjustment is a table in which the column width value is adjusted from the table 19b before the column width value adjustment.
The ratio of the widths of the four columns 193a / b / c / d in Table 19c after the column width value adjustment is equal to the ratio of the widths of the four columns 191a / b / c / d in Table 19b before the column width value adjustment.
The table width of the column width value adjustment table 19c is equal to the width of the table 19a before column editing.
図5は、表組データを説明する図である。
図5の(a)は、表組データの形式である。
表組データ191は、表組み定義部191aと割付文字部191bとから構成される。
表組み定義部191aは、最大列数と、列幅の値の集合とを有する。
なお、列幅の値の集合において、列幅の値の配列は、表の列の配列に対応している。
最大列数は、整数値である。最大列数とは、表組みが可能な最大の列の数である。
列幅の値は、数値である。
割付文字部191bは、各列に割り付ける文字列である。
文字列は、表の升目に配列された文字列を、行方向に並べたものである。
FIG. 5 is a diagram for explaining the table data.
FIG. 5A shows a table data format.
The table set
The table composition defining unit 191a has a maximum number of columns and a set of column width values.
In the set of column width values, the array of column width values corresponds to the array of columns in the table.
The maximum number of columns is an integer value. The maximum number of columns is the maximum number of columns that can be tabulated.
The column width value is a numerical value.
The assigned
The character string is a character string arranged in the cell of the table arranged in the row direction.
図5の(b)は、表組データの例である。
表組み定義部191aは、「4、30、40、50、60」である。
割付文字部191bは、「番号、サイス、色、味、12-1、L、赤、甘い、12-2、M、青、酸っぱい、・・・」である。
表組データの例の意味は、表組みできる最大の列の個数が、「4」個で、表組みされている列の幅の値が、それぞれ「30」、「40」、「50」、「60」(単位ポイント)である4列の表であるということである。また、この表の各行に割り付けられた文字は、「番号 サイス 色 味」「 12-1 L 赤 甘い」、「12-2 M 青 酸っぱい」などということである。
FIG. 5B is an example of table data.
The table definition part 191a is “4, 30, 40, 50, 60”.
The assigned
The meaning of the table data example is that the maximum number of columns that can be assembled is "4", and the width values of the columns that are assembled are "30", "40", "50", That is, it is a table with 4 columns of “60” (unit points). In addition, the characters assigned to each line in this table are “number size color”, “12-1 L red sweet”, “12-2 M blue sour”.
図6は、表組み編集装置100の詳細な構成図である。
表組み編集装置100は、CPU101と、入力部102と、表示部103と、記憶部109と、専用プログラムと、備える。
FIG. 6 is a detailed configuration diagram of the table
The table
CPU101は、中央演算装置である。
入力部102は、マウス102aやキーボード102bである。
入力部102は、キーボード102bやマウス102aや表示部103に表示されたソフトキーボードを用いてもよい。
表示部103は、液晶表示装置や有機EL表示装置である。
The CPU 101 is a central processing unit.
The input unit 102 is a
As the input unit 102, a soft keyboard displayed on the
The display unit 103 is a liquid crystal display device or an organic EL display device.
記憶部109は、半導体メモリや磁気メモリである。
記憶部109は、表組みデータ191と、専用プログラムとを記憶する。
表組みデータ191は、列データから構成されるデータである。
The
The
The
このほかに、列編集手段110と、列幅調整手段120と、を備える。これらの各手段は、それぞれの専用プログラムによって実現され、専用プログラムがCPU101に解釈・実行されることによって機能する。
In addition, a
列編集手段110は、指定した列を削除または追加する変更指示の入力を受け付けて、受け付けた変更指示に従って、表組みデータ191に対して、指定された列のデータを削除または追加する。
たとえば、列を削除する変更指示の入力を受け付けた場合には、列編集手段110は、表組み定義部191aに対して、削除された列の列幅値を削除し、割付文字部191bに対して、削除された列に割り付けられた文字列を削除する。
あるいは、列を追加する変更指示の入力を受け付けた場合には、列編集手段110は、追加された列の列幅値を算出して、表組み定義部191aの追加された列の列幅値を格納する位置に追加し、追加された列に割り付ける文字列を割付文字部191bに追加する。
The
For example, when an input of a change instruction for deleting a column is received, the
Alternatively, when an input of a change instruction for adding a column is received, the
列幅調整手段120は、表幅算出手段130と、列幅拡大手段140と、列幅縮小手段150と、から構成される。
The column width adjusting unit 120 includes a table width calculating unit 130, a column
列幅調整手段120は、列編集手段110が列データを削除または追加した表組みデータ191に対して、表組みデータの各列の列幅値の比率を維持しながら、列編集前の表の表幅値を保持するように、列幅値を調整する。
The column width adjusting unit 120 maintains the ratio of the column width value of each column of the table data to the
表幅算出手段130は、列編集前の表組みデータが有する列幅値を全て加算して、列編集前の表の表幅値を算出する。
列編集手段110が表から列を削除した場合には、列幅拡大手段140は、表幅算出手段130が算出した表幅値と一致するように、列編集手段110が列を削除した表組みデータ191の各列幅値を拡大する。
列編集手段110が表に列を追加した場合には、列幅縮小手段150は、表幅算出手段130が算出した表幅値と一致するように、列編集手段110が列を追加した表組みデータ191の各列幅値を縮小する。
The table width calculating unit 130 adds all the column width values of the table data before column editing, and calculates the table width value of the table before column editing.
When the
When the
図7は、表組み変更処理のフローチャートである。
(1)表組み編集装置100は、表組みデータを用いて、表を表示する。(ステップS110)
(2)列編集手段110は、指定した列を削除または追加する変更指示の入力を受け付ける。(ステップS120)
(3)受け付けた変更指示は、列の追加か、削除かを判定する。
列を削除する変更指示の入力を受け付けた場合には、ステップS140に進む。
列を追加する変更指示の入力を受け付けた場合には、ステップS140に進む。(ステップS130)
(4)列を追加した表の列数が、表組データ191が有する最大数表組み定義部191aに含まれる最大列数を超えるか否かを判定する。
超えない場合には、ステップS150に進む。超えた場合には、ステップS190に進む。(ステップS140)
(5)列編集手段110は、追加された列に割り付ける文字列を、追加された列の位置に相当する割付文字部191bに、追加する。次に、列編集手段110は、追加された列に割り付ける文字列を用いて、追加された列の幅値を算出する。(ステップS150)
(6)表幅算出手段130は、列編集前の表組みデータが有する各列の列幅値を全て加算して、列編集前の表組みの表幅値を算出する。(ステップS160)
(7)列幅縮小手段150は、表幅算出手段130が算出した表幅値と一致するように、列編集手段110が列を追加した表組みデータ191の各列の列幅値を縮小して、終了する。(ステップS170)
(8)表組み編集装置100は、列を追加できない旨の警告表示をして、終了する。(ステップS180)
(9)表幅算出手段130は、列編集前の表組みデータが有する各列の列幅値を全て加算して、列編集前の表組みの表幅値を算出する。
(ステップS190)
(10)列幅拡大手段140は、表幅算出手段130が算出した表幅値と一致するように、列編集手段110が列を削除した表組みデータ191の各列幅値を拡大して、終了する。(ステップS200)
FIG. 7 is a flowchart of the table composition changing process.
(1) The table
(2) The
(3) The received change instruction determines whether a column is added or deleted.
If an input of a change instruction for deleting a column is accepted, the process proceeds to step S140.
If an input of a change instruction for adding a column is accepted, the process proceeds to step S140. (Step S130)
(4) It is determined whether or not the number of columns in the table to which the column is added exceeds the maximum number of columns included in the maximum number table assembly definition unit 191a included in the
If not, the process proceeds to step S150. If exceeded, the process proceeds to step S190. (Step S140)
(5) The
(6) The table width calculating unit 130 adds all the column width values of each column included in the table assembly data before column editing, and calculates the table width value of the table assembly before column editing. (Step S160)
(7) The column width reduction unit 150 reduces the column width value of each column of the
(8) The
(9) The table width calculation unit 130 adds all the column width values of each column included in the table assembly data before column editing, and calculates the table width value of the table assembly before column editing.
(Step S190)
(10) The column
100 表組み編集装置
19a 列編集前の表、変更前の表
19b 列幅調整前の表
19c 列幅調整後の表
91a/b/c/d 列
110 列編集手段
120 列幅調整手段
130 表幅算出手段
140 列幅拡大手段
150 列幅縮小手段
191 表組みデータ
191a 表組み定義部
191b 割付文字部
100 Table Editing Device 19a Table Before Column Editing, Table 19b Before Change Table 19b Table 19c Before Column Width Adjustment Table 91a / b / c / d After Column
Claims (6)
指定した列を削除または追加する変更指示の入力を受け付けて、受け付けた変更指示に従って、前記表組みデータに対して、指定された列のデータを削除または追加する列編集手段と、
該列編集手段が列を削除または追加した表組みデータに対して、各列の列幅値の比率を維持しながら、列幅値を調整して、列編集前の表の表幅値を維持する列幅調整手段と、
を備えることを特徴とする表組み編集装置。 In a table editor using table data in which columns having column width values are arranged,
A column editing means for receiving input of a change instruction for deleting or adding a specified column, and deleting or adding data of the specified column with respect to the table data in accordance with the received change instruction;
While maintaining the ratio of the column width value of each column to the table data from which the column is deleted or added by the column editing means, the column width value is adjusted to maintain the table width value of the table before column editing. Column width adjusting means to perform,
A table editing apparatus characterized by comprising:
列編集前の表組みデータが有する各列の列幅値を全て加算して、列編集前の表の表幅値を算出する表幅算出手段と、
前記列編集手段が表から列を削除した場合には、前記表幅算出手段が算出した表幅値と一致するように、前記列編集手段が列を削除した表組みデータの各列幅値を拡大する列幅拡大手段と、
前記列編集手段が表に列を追加した場合には、前記表幅算出手段が算出した表幅値と一致するように、前記列編集手段が列を追加した表組みデータの各列幅値を縮小する列幅縮小手段と、
から構成される、
ことを特徴とする請求項1に記載の表組み編集装置。 The column width adjusting means includes
Table width calculation means for calculating the table width value of the table before column editing by adding all the column width values of each column included in the table data before column editing,
When the column editing unit deletes a column from the table, the column editing unit deletes each column width value of the table data from which the column is deleted so that it matches the table width value calculated by the table width calculating unit. Means for expanding the column width;
When the column editing unit adds a column to the table, the column editing unit adds the column width value of the table data to which the column has been added so that it matches the table width value calculated by the table width calculating unit. Column width reducing means for reducing;
Composed of,
The table composition editing apparatus according to claim 1.
列を削除された表組みデータの全ての列幅値を用いて各列の列幅値の比率を算出して、前記表幅算出手段が算出した表幅値に対して、前記算出した各列の列幅値の比率を適用して、表幅値を各列の列幅値の比率で按分して、対応する列の列幅値を算出し、
前記列幅縮小手段は、
追加された列の列幅値と列編集前の表組みデータが有する全ての列の列幅値を用いて列幅値の比率を算出して、表幅算出手段が算出した表幅値に対して、前記算出した各列の列幅値の比率を適用して、列編集前の表の表幅値を各列の列幅値の比率で按分して、対応する列の列幅値を算出する、
ことを特徴とする請求項2に記載の表組み編集装置。 The column width expanding means is
The ratio of the column width value of each column is calculated using all the column width values of the table data from which the column has been deleted, and each calculated column is calculated with respect to the table width value calculated by the table width calculating means. Applying the column width value ratio for the table, apportioning the table width value by the column width value ratio for each column to calculate the column width value for the corresponding column,
The column width reducing means includes
Calculate the ratio of the column width value using the column width value of the added column and the column width value of all the columns of the table data before column editing, and the table width value calculated by the table width calculation means Applying the calculated ratio of the column width value of each column, and dividing the table width value of the table before column editing by the ratio of the column width value of each column, the column width value of the corresponding column is calculated. To
The table composition editing apparatus according to claim 2, wherein:
(1)指定した列を削除または追加する変更指示の入力を受け付けて、受け付けた変更指示に従って、表組みデータに対して、指定された列を削除または追加する列編集ステップと、
(2)列を削除または追加した表に対して、表の各列の列幅値の比率を維持しながら、列編集前の表の表幅値を保持するように、以下のステップを実行して各列の列幅値を調整する列幅調整ステップと、
(2−1)列編集前の表組みデータが有する各列の列幅値を全て加算して、列編集前の表の表幅値を算出する表幅算出ステップと、
(2−2)表から列を削除した場合には、前記表幅算出ステップで算出した表幅値と一致するように、列が削除された表組みデータの各列幅値を拡大する列幅拡大ステップと、
(2−3)表に列を追加した場合には、前記表幅算出ステップで算出した表幅値と一致するように、列が追加された表組みデータの各列幅値を縮小する列幅縮小ステップと、
を含んだ手順でなされることを特徴とする表組み編集方法。 A table editing method that uses table data in which columns having column width values are arranged,
(1) A column editing step for receiving an input of a change instruction for deleting or adding a specified column and deleting or adding the specified column to the table data according to the received change instruction;
(2) For the table with the column deleted or added, execute the following steps to maintain the table width value of the table before column editing while maintaining the ratio of the column width value of each column of the table. Column width adjustment step for adjusting the column width value of each column,
(2-1) A table width calculating step of adding all the column width values of each column included in the table data before column editing to calculate a table width value of the table before column editing;
(2-2) When a column is deleted from the table, the column width for expanding each column width value of the table data from which the column is deleted so as to coincide with the table width value calculated in the table width calculation step Enlargement step,
(2-3) When a column is added to the table, the column width for reducing each column width value of the table data to which the column is added so as to match the table width value calculated in the table width calculation step A reduction step;
A table editing method characterized by being performed in a procedure including
A computer-readable recording medium on which the computer program according to claim 5 is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008160233A JP2010003046A (en) | 2008-06-19 | 2008-06-19 | Tabular work edition device, method, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008160233A JP2010003046A (en) | 2008-06-19 | 2008-06-19 | Tabular work edition device, method, program, and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010003046A true JP2010003046A (en) | 2010-01-07 |
Family
ID=41584736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008160233A Pending JP2010003046A (en) | 2008-06-19 | 2008-06-19 | Tabular work edition device, method, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010003046A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03204764A (en) * | 1990-01-08 | 1991-09-06 | Internatl Business Mach Corp <Ibm> | Table editing device |
JPH04275665A (en) * | 1991-03-04 | 1992-10-01 | Nec Corp | Table preparation system |
JPH0567095A (en) * | 1991-09-09 | 1993-03-19 | Canon Inc | Document processing method and device |
JPH07271771A (en) * | 1994-03-29 | 1995-10-20 | Matsushita Electric Ind Co Ltd | Tabulation editing device |
-
2008
- 2008-06-19 JP JP2008160233A patent/JP2010003046A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03204764A (en) * | 1990-01-08 | 1991-09-06 | Internatl Business Mach Corp <Ibm> | Table editing device |
JPH04275665A (en) * | 1991-03-04 | 1992-10-01 | Nec Corp | Table preparation system |
JPH0567095A (en) * | 1991-09-09 | 1993-03-19 | Canon Inc | Document processing method and device |
JPH07271771A (en) * | 1994-03-29 | 1995-10-20 | Matsushita Electric Ind Co Ltd | Tabulation editing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10409895B2 (en) | Optimizing a document based on dynamically updating content | |
CN101876967B (en) | Method for generating PDF text paragraphs | |
US20070074109A1 (en) | Document production system, document production method, program, and storage medium | |
US20100153834A1 (en) | Business form creating system, network system using the same, and business form creating method | |
US20090210819A1 (en) | System, method, and program for executing applications | |
US6332148B1 (en) | Appearance and positioning annotation text string and base text string specifying a rule that relates the formatting annotation, base text characters | |
US20040268255A1 (en) | Method for aligning text to baseline grids and to CJK character grids | |
JP2005044279A (en) | Method, program and apparatus for business form processing | |
US8122351B2 (en) | Document edit device and storage medium | |
CN115039064A (en) | Dynamic typesetting | |
JP7000536B1 (en) | Layout method, program, or information processing system | |
US7123261B2 (en) | Coordinating grid tracking and mojikumi spacing of Japanese text | |
JP2010003046A (en) | Tabular work edition device, method, program, and recording medium | |
JP4107668B2 (en) | Editing apparatus, editing method, and program | |
WO2014181563A1 (en) | Document processing device and document processing program | |
US20180189251A1 (en) | Automatic multi-lingual editing method for cartoon content | |
JPH09156066A (en) | Kerning process | |
US10042833B2 (en) | Optimizing the placement of clustered textural annotations | |
JP3721766B2 (en) | Document data processing apparatus and program recording medium thereof | |
JP3433428B2 (en) | Line editing device | |
JP4195888B2 (en) | Typesetting program | |
JP2005202739A (en) | Machine translation apparatus, machine translation method and machine translation program | |
JPH01262149A (en) | Document output device having dot-character font forming function | |
JP2008015910A (en) | Print processing setting method, device and storage medium recording program | |
JP3006529B2 (en) | Character font conversion method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110427 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121023 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130305 |