JP2012088858A - Automatic document layout system - Google Patents
Automatic document layout system Download PDFInfo
- Publication number
- JP2012088858A JP2012088858A JP2010233890A JP2010233890A JP2012088858A JP 2012088858 A JP2012088858 A JP 2012088858A JP 2010233890 A JP2010233890 A JP 2010233890A JP 2010233890 A JP2010233890 A JP 2010233890A JP 2012088858 A JP2012088858 A JP 2012088858A
- Authority
- JP
- Japan
- Prior art keywords
- item
- items
- frame
- output
- processing unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 claims abstract description 104
- 238000004364 calculation method Methods 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 8
- 238000013500 data storage Methods 0.000 description 7
- 230000006872 improvement Effects 0.000 description 7
- 101000785063 Homo sapiens Serine-protein kinase ATM Proteins 0.000 description 5
- 101000597183 Homo sapiens Telomere length regulation protein TEL2 homolog Proteins 0.000 description 5
- 101001057127 Homo sapiens Transcription factor ETV7 Proteins 0.000 description 5
- 102100039580 Transcription factor ETV6 Human genes 0.000 description 5
- 102100027263 Transcription factor ETV7 Human genes 0.000 description 5
- 230000008859 change Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000009467 reduction Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000007639 printing Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 3
- 230000006866 deterioration Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
- Document Processing Apparatus (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本発明は、業務システムで出力する帳票のデータの一覧性、視認性を向上させる帳票自動レイアウトシステムに関する。
The present invention relates to a form automatic layout system that improves the listability and visibility of form data output by a business system.
近年、企業などにおいては、その業務活動の遂行にあたり、企業内のデータを収集し、さまざまな角度から分析し、経営戦略の実行を支援する各種の業務システムが用いられている。このような業務システムは、導入したあとも、ユーザである企業の成長や戦略にあわせて、柔軟かつタイムリーにその業務システムを変更する必要がある。そのため、業務システムの修正、変更が不可欠となっている。 2. Description of the Related Art In recent years, enterprises and the like use various business systems that collect data in a company, analyze it from various angles, and support the execution of management strategies when performing the business activities. Even after such a business system is introduced, it is necessary to change the business system flexibly and in a timely manner according to the growth and strategy of the user company. Therefore, it is essential to modify and change the business system.
しかし、完成品であるパッケージシステムの業務システムの場合、これらのシステム修正、変更は、システムの開発元、ベンダーなどに委託して行う必要があり、多くのコストと工数とを要することとなる。 However, in the case of a package system business system that is a finished product, these system corrections and changes need to be outsourced to the system developer, vendor, etc., which requires a lot of costs and man-hours.
そこで、それらを改善するために、業務システムにおいてカスタマイズを行うことが可能なカスタマイズシステムが用いられる。このカスタマイズシステムを用いることによって、業務システムの修正、変更に伴うプログラマ等の作業工数を軽減できるので、システム修正、変更にかかるコストや工数を軽減することが出来る。 Therefore, in order to improve them, a customization system that can be customized in a business system is used. By using this customization system, it is possible to reduce the man-hours for programmers and the like accompanying the correction and change of the business system, so that the costs and man-hours required for system correction and change can be reduced.
ところが、カスタマイズシステムを用いて業務システムを修正、変更した上で業務システムにおける帳票を出力する場合、カスタマイズシステムによって各項目のレイアウトなどが自由に配置されるように設計されるため、それをそのまま出力したのでは、業務システムであらかじめ用意されている定型の帳票レイアウトに比較すると、一覧性、視認性の点で問題がある。とくに、1レコードが複数行にわたって表示される帳票の場合には、一覧性、視認性が著しく低下することとなる。このような帳票の一例を図11に示す。 However, when a business system is modified or changed using a customization system and a form is output in the business system, it is designed so that the layout of each item can be arranged freely by the customization system. As a result, there are problems in terms of listability and visibility as compared with the standard form layout prepared in advance in the business system. In particular, in the case of a form in which one record is displayed over a plurality of lines, the listability and visibility are significantly lowered. An example of such a form is shown in FIG.
図11の場合、1レコードに「社員コード」、「社員名」、「フリガナ」、「性別」、「社員区分」、「在籍区分」、「所属コード」、「所属名」、「役職コード」、「役職名」、「職種コード」、「職種名」、「個人外線(所属代表以外)」、「個人内線」、「携帯TEL1」、「携帯TEL2」、「メモ」、「マスター検索表示区分」の各項目が含まれている。そのため、1レコードあたり、3行にわたって表示されることとなる。 In the case of FIG. 11, “Employee code”, “Employee name”, “Reading”, “Gender”, “Employee classification”, “Enrollment classification”, “Affiliation code”, “Affiliation name”, “Position code” are included in one record. , “Job title”, “Job title code”, “Job title”, “Personal outside line (other than representative)”, “Personal extension”, “Mobile phone TEL1”, “Mobile phone TEL2”, “Memo”, “Master search display classification "Each item is included. Therefore, it is displayed over 3 lines per record.
一般的には、各レコードが順に表示されるため、図11に示すように、1レコードあたり、単純に3行ずつにわたって、そのデータを表示することとなるが、ある項目の名称とデータとの対応や、どこまでが1レコードであるかが、極めて分かりにくく、一覧性、視認性に欠けることとなる。 In general, since each record is displayed in order, as shown in FIG. 11, the data is simply displayed over three lines per record. It is extremely difficult to understand the correspondence and how far a record is, and the listability and visibility are lacking.
そこで帳票の一覧性、視認性を向上させるために、特許文献1に記載のシステムでは、自動的に帳票レイアウトを決定するシステムが開示されている。また非特許文献1、非特許文献2のソフトウェアを用いることで、帳票のレイアウトについて、視認性を向上させることが出来る。
Therefore, in order to improve the listability and visibility of the form, the system described in
特許文献1のシステムでは、データの内容を判別して、自動的に帳票レイアウトを決定する構成を採っている。しかし、データの存在しない行を自動的に判別し、この行を削除して表示させることが記載されているのみであるから、上述の図11のように、各レコードのデータ項目にデータが含まれている場合には、対応することが出来ない。
The system of
また非特許文献1および非特許文献2のソフトウェアでは、帳票の各項目の罫線幅をユーザが手動で変更可能とすることで、視認性を向上させるものである。そのため、1レコードが複数行にわたる場合に、自動でその一覧性、視認性を向上させるものではない。
In the software of Non-Patent
そこで本発明者は、1レコードが複数行にわたるような複雑な帳票の場合であっても、業務システムで出力する帳票のデータの一覧性、視認性を向上させる帳票自動レイアウトシステムを発明した。 Therefore, the present inventors have invented a form automatic layout system that improves the listability and visibility of form data output by a business system even in the case of a complicated form in which one record extends over a plurality of lines.
第1の発明は、1レコードの項目が複数行にわたって表示される帳票の自動レイアウトを行う帳票自動レイアウトシステムであって、前記帳票自動レイアウトシステムは、出力対象となる帳票の各項目のうち、各項目のデータの最大桁数を算出する最大桁数算出処理部と、前記算出した項目ごとの最大桁数に基づいて、少なくとも該項目のデータを表示するための領域である枠の必要数を算出する枠数算出処理部と、前記1レコードの項目を、前記枠数算出処理部で算出した枠単位で配置する項目配置処理部と、前記配置した項目に対応する位置に、前記帳票のデータを出力する出力処理部と、を備えており、前記項目配置処理部は、枠に従って前記項目を1行目から順に配置を開始し、前記1レコードの項目の配置が複数行にわたる場合には、1行目の2項目目以降または2枠目以降に対応する位置を2行目以降の項目の配置の開始位置として、2行目以降の項目の配置を行う、帳票自動レイアウトシステムである。
1st invention is a form automatic layout system which performs the automatic layout of the form in which the item of 1 record is displayed over several lines, Comprising: The said form automatic layout system is each of each item of the form used as output object, Based on the maximum number of digits calculation processing unit that calculates the maximum number of digits of the data of the item and the calculated maximum number of digits for each item, the required number of frames that are at least an area for displaying the data of the item is calculated A frame number calculation processing unit, an item arrangement processing unit that arranges the items of the one record in units of frames calculated by the frame number calculation processing unit, and data of the form at a position corresponding to the arranged items. An output processing unit for outputting, wherein the item arrangement processing unit starts arranging the items in order from the first line according to a frame, and the arrangement of the items of one record extends over a plurality of lines As a starting position of the placement of the item position the second and subsequent rows corresponding to the
本発明のように構成することで各項目が枠単位で配置されることになる。そのため、各項目の縦方向の配置位置が整列され、項目の名称とデータとの対応がわかりやすくなり、一覧性、視認性の向上に繋がる。また、2行目以降の項目の配置の開始位置は、少なくとも1枠以上の空欄が設けられていることとなる。そのため、どこまでが1レコードであるかの認識がわかりやすく、帳票のデータの一覧性、視認性の向上に繋がる。 By configuring as in the present invention, each item is arranged in a frame unit. Therefore, the arrangement positions in the vertical direction of the items are aligned, the correspondence between the item names and the data becomes easy to understand, which leads to improvement in listability and visibility. In addition, the start position of the arrangement of the items on and after the second line is provided with at least one blank space. For this reason, it is easy to recognize how far one record is, which leads to an improvement in the listability and visibility of the form data.
上述の発明において、前記項目配置処理部は、枠に従って前記項目を1行目から順に配置を開始し、前記1レコードの項目の配置が複数行にわたる場合には、前記出力対象となる帳票の出力条件に対応する例外条件に該当するかを判定し、例外条件に該当しない場合には、1行目の2項目目以降または2枠目以降に対応する位置を2行目以降の項目の配置の開始位置として、2行目以降の項目の配置を行い、例外条件に該当する場合には、前記例外条件に該当しない場合の開始位置を定める条件とは異なる条件による開始位置から、2行目以降の項目の配置を行う、帳票自動レイアウトシステムのように構成することも出来る。 In the above-described invention, the item arrangement processing unit starts arranging the items in order from the first line according to the frame, and when the arrangement of the items of one record extends over a plurality of lines, the output of the form to be output is performed. It is determined whether the exception condition corresponding to the condition is met. If the exception condition is not met, the position corresponding to the second item after the first line or the second frame is set to the arrangement of the items after the second line. As the start position, items on the second and subsequent lines are arranged, and if the exception condition is met, the second and subsequent lines from the start position based on a condition different from the condition for determining the start position when the exception condition is not met It can also be configured like a form automatic layout system that arranges the items.
左端あるいは左側に配置される項目のデータの桁数が多い場合には、あらかじめ設定された条件に従ってそのまま配置したのでは、逆にデータの一覧性、視認性の悪化に繋がる。そこで、本発明のように、1レコードの項目が複数行にわたって配置される場合には、まず例外条件に該当するかを判定し、それに該当するか否かで、2行目以降の項目の配置の開始位置の条件を区別すると良い。 If the number of digits of data of items arranged at the left end or the left side is large, if the data is arranged as it is in accordance with preset conditions, the data listability and visibility are deteriorated. Therefore, as in the present invention, when items of one record are arranged over a plurality of lines, it is first determined whether or not an exception condition is met, and whether or not the items in the second and subsequent lines are arranged is determined according to whether or not the condition is met. It is advisable to distinguish the conditions of the start positions.
上述の発明において、前記項目配置処理部は、枠に従って前記項目を1行目に順に配置を開始し、前記1レコードの項目の配置が複数行にわたる場合には、前記出力対象となる帳票の出力条件に対応する例外条件に該当するかを判定し、例外条件に該当しない場合には、1行目の3項目目に対応する位置を開始位置として、2行目以降の項目の配置を行い、例外条件に該当する場合には、1行目の3項目目に対応する位置よりも左側の枠の位置を開始位置として、2行目以降の項目の配置を行う、帳票自動レイアウトシステムのように構成することも出来る。 In the above invention, the item arrangement processing unit starts arranging the items in order on the first line according to the frame, and when the arrangement of the item of one record extends over a plurality of lines, the output of the form to be output is output. It is determined whether the exception condition corresponding to the condition is met, and if the exception condition is not met, the position corresponding to the third item on the first line is set as the start position, and the items on the second and subsequent lines are arranged, When the exception condition is met, as in the form automatic layout system that arranges items in the second and subsequent lines, starting from the position of the frame on the left side of the position corresponding to the third item in the first line It can also be configured.
2行目以降の項目の配置の開始位置の条件として、本発明のような2つの条件によって区別しても良い。 As a condition of the start position of the arrangement of items in the second and subsequent lines, it may be distinguished according to two conditions as in the present invention.
上述の発明において、前記項目配置処理部は、前記項目と項目とを縦方向に区切る縦罫線について、前記項目における端の枠に隣接する1桁または前記項目における枠の端の1桁に縦線を描画することで、縦罫線を設ける、帳票自動レイアウトシステムのように構成することも出来る。 In the above-described invention, the item arrangement processing unit has a vertical ruled line that vertically separates the items from each other in one digit adjacent to the end frame of the item or one digit of the end of the frame of the item. Can be configured as a form automatic layout system that provides vertical ruled lines.
従来、項目と項目とを区切る縦罫線には、桁と桁との間に設けられる。そのため、データと縦罫線とが密着し、視認性の悪化に繋がっている。そこで本発明のように、縦罫線として1桁を用いることによって、データと縦罫線との間に間隙を設けることが出来る。これによって、データと縦罫線とが密着することなく、視認性の向上に繋がる。 Conventionally, a vertical ruled line separating items is provided between the digits. Therefore, the data and the vertical ruled lines are in close contact with each other, leading to deterioration of visibility. Therefore, as in the present invention, by using one digit as the vertical ruled line, a gap can be provided between the data and the vertical ruled line. As a result, the data and the vertical ruled lines are not in close contact with each other, leading to an improvement in visibility.
上述の発明において、前記出力対象となる帳票の出力条件として、出力サイズである、帳票自動レイアウトシステムのように構成することが出来る。 In the above-described invention, the output condition of the form to be output can be configured as a form automatic layout system that is an output size.
例外条件は、出力サイズによって変わることが好ましい。出力サイズの相違によって、出力可能な範囲が変わるためである。 The exception condition preferably varies depending on the output size. This is because the output possible range varies depending on the output size.
本発明の帳票自動レイアウトシステムを用いることによって、1レコードが複数行にわたるような複雑な帳票のデータの一覧性、視認性を向上させた上で、出力することが可能となる。 By using the form automatic layout system of the present invention, it is possible to output data with improved listability and visibility of complicated form data in which one record extends over a plurality of lines.
本発明の帳票自動レイアウトシステム1のシステム構成の一例を図1の概念図に模式的に示す。
An example of the system configuration of the form
本発明の帳票自動レイアウトシステム1は、業務システムと連動して用いられることが好ましく、業務システムで出力する(印刷での出力、画面表示での出力、ファイルへの出力などが含まれる)帳票にかかる処理を実行する際に用いられることが好ましい。本明細書における帳票とは、行方向および/または列方向に設定された項目のそれぞれにデータが対応づけられるデータ形式である。またデータがない項目については、空欄(NULL)としても良い。
The form
なお本明細書において、項目のデータには、項目におけるデータ(たとえば図12における「第一事業部 販売課」など)のほか、項目における項目名(たとえば図12における「所属名」など)も含まれる。 In this specification, item data includes item data (for example, “First Division Sales Section” in FIG. 12) and item name (for example, “Affiliation Name” in FIG. 12) in the item. It is.
業務システムは、企業などの業務活動の遂行に用いるコンピュータシステムである。業務システムには、上記業務活動に関する処理を実行する基幹系システム、情報系システムが該当する。これらの一例としては、たとえば販売管理システム、購買管理システム、財務管理システム、人事管理システム、給与管理システム、生産管理システム、グループウェアシステム、ドキュメント管理システム、ワークフローシステム、スケジューラーシステムなどが該当するが、これらに限定されるものではない。 The business system is a computer system used for performing business activities of a company or the like. The business system corresponds to a backbone system and an information system that execute processing related to the business activity. Examples of these include sales management systems, purchasing management systems, financial management systems, personnel management systems, payroll management systems, production management systems, groupware systems, document management systems, workflow systems, scheduler systems, etc. It is not limited to these.
帳票自動レイアウトシステム1、業務システムは、プログラムの演算処理を実行するCPUなどの演算装置20と、情報を記憶するRAMやハードディスクなどの記憶装置21と、ディスプレイ(画面)などの表示装置22と、キーボードやポインティングデバイス(マウスやテンキーなど)などの入力装置23と、演算装置20の処理結果や記憶装置21に記憶する情報をインターネットやLANなどのネットワークを介して送受信する通信装置24とを有していることが好ましい。コンピュータ上で実現する各機能(各手段)は、その処理を実行する手段(プログラムやモジュールなど)が演算装置20に読み込まれることでその処理が実行される。各機能は、記憶装置21に記憶した情報をその処理において使用する場合には、該当する情報を当該記憶装置21から読み出し、読み出した情報を適宜、演算装置20における処理に用いる。図3に帳票自動レイアウトシステム1、業務システムのハードウェア構成の一例を模式的に示す。また、帳票自動レイアウトシステム1、業務システムは、複数のコンピュータ端末またはサーバに、その機能が分散配置されていても良い。
The form
本発明における各手段は、その機能が論理的に区別されているのみであって、物理上あるいは事実上は同一の領域を為していても良い。 Each means in the present invention is only logically distinguished in function, and may be physically or practically the same area.
また帳票自動レイアウトシステム1と業務システムとは一体的に構成されていても良い。つまり、帳票自動レイアウトシステム1が業務システムの一機能として取り込まれていても良い。
The form
業務システムは、各種の帳票データを記憶する帳票データ記憶部とそれを用いた業務活動に関する処理を実行する業務処理部とを有している。帳票データ記憶部に記憶する帳票データとしては、社員情報マスタファイル、得意先マスタファイル、仕入先マスタファイル、商品マスタファイルなどがあるが、これらに限定されず、業務システムの目的に応じた各種のマスタファイル(帳票データ)を備えている。また、これらは、出力の際に、帳票形式で出力されるデータを含んでいる。 The business system includes a form data storage unit that stores various form data and a business processing unit that executes processes related to business activities using the form data storage unit. The form data stored in the form data storage unit includes employee information master files, customer master files, supplier master files, product master files, etc. Master file (form data). These include data that is output in a form format when output.
業務処理部は、帳票データ記憶部に記憶するデータを読み出し/記憶させ、目的に応じた業務活動に関する処理を実行する。 The business processing unit reads / stores data stored in the form data storage unit, and executes processing related to business activities according to the purpose.
業務システムとしては、通常の業務システムであればよく、また、特許第4486159号のようにカスタマイズ、特に帳票データとして出力するデータのカスタマイズが行えても良い。 The business system may be an ordinary business system, and may be customized as in Japanese Patent No. 4486159, in particular, data output as form data may be customized.
帳票自動レイアウトシステム1は、最大桁数算出処理部2と枠数算出処理部3と項目配置処理部4と出力処理部5とを有する。
The form
最大桁数算出処理部2は、業務システムの帳票データ記憶部に記憶する帳票データのうち、出力対象となる帳票データにおける各項目において、項目ごとのデータの最大桁数を算出する。なお、ここで桁とは、半角1文字を1桁とするが、全角1文字を1桁としても良いことは言うまでもない。またデータの桁数としては、実際に入力されているデータの最大桁数であっても良いし、データ定義として確保されている最大桁数であっても良い。
The maximum number-of-digits
つまり最大桁数算出処理部2は、出力対象となる帳票データにおける各データの桁数(半角文字(または全角文字)での文字数)を取得し、それに基づいて、最大の桁数を、各項目ごとに算出する。
That is, the maximum number of digits
枠数算出処理部3は、最大桁数算出処理部2で算出した、各項目の最大桁数に基づいて、所定数の桁を一単位とする枠の必要数を算出する。なお枠とは、各項目のデータ(または項目のデータ、縦罫線)を表示するための領域であり、この枠内に、各項目のデータが表示される。また1枠に何桁を表示させるかは任意に設定可能であり、たとえば10桁、16桁のように定めることも出来る。
The frame number
必要な枠数は、たとえば図4に模式的に示す参照テーブルを参照することで枠数を算出することが出来る。図4(a)は1枠に16桁、1行に最大10枠が表示できる場合の参照テーブルである。また図4(b)は図4(a)の1枠と同じまま、1枠内に表示するデータを所定の縮小率(図4(b)の場合には80%)で表示する場合である。すなわち、通常の大きさであれば16桁のデータが1枠に収まるが、最大桁数が17桁〜20桁の場合には、該当部分のデータを80%などの所定の比率で縮小し、1枠内に収める場合である。従って、図4(b)の場合には、1枠に最大で20桁のデータが収まる。 The required number of frames can be calculated by referring to a reference table schematically shown in FIG. 4, for example. FIG. 4A is a reference table when 16 digits per frame and a maximum of 10 frames per line can be displayed. FIG. 4B shows the case where the data to be displayed in one frame is displayed at a predetermined reduction rate (80% in the case of FIG. 4B) while keeping the same as one frame in FIG. 4A. . That is, if it is a normal size, 16-digit data can fit in one frame, but if the maximum number of digits is 17 to 20 digits, the data of the corresponding part is reduced by a predetermined ratio such as 80%, This is a case where it fits within one frame. Therefore, in the case of FIG. 4B, data of 20 digits at the maximum fits in one frame.
データの縮小は、所定比率、たとえば80%の比率の文字フォントのサイズで対応すればよい。また、最大桁数が17桁〜20桁の項目については、当該項目のすべてのデータを当該縮小率で表示しても良いし、1桁〜16桁のデータについては通常の大きさで表示し、17桁〜20桁のデータだけ当該縮小率で縮小しても良い。 Data reduction may be dealt with by a character font size of a predetermined ratio, for example, a ratio of 80%. For items with a maximum number of digits of 17 to 20 digits, all data of the item may be displayed at the reduction ratio, and for data of 1 to 16 digits, it is displayed in a normal size. , 17-digit to 20-digit data may be reduced at the reduction rate.
縦罫線とは、縦方向に枠と枠とを区切る罫線である。この処理については後述の項目配置処理部4で説明する。
A vertical ruled line is a ruled line that divides a frame into a vertical direction. This process will be described later in the item
枠数算出処理部3は、ある項目の最大桁数が15桁の場合には、当該項目としての必要な枠数を1枠、最大桁数が18桁の場合には当該項目としての必要な枠数を1枠、最大桁数が27桁の場合には当該項目としての必要な枠数を2枠、最大桁数が100桁の場合には、必要な枠数として5枠として算出する。なお必要な枠数は、1枠あたりの桁数、縮小率、などによっても変わるが、その場合には,それらに応じた参照テーブルを用いることで、枠数を算出可能である。
When the maximum number of digits of a certain item is 15 digits, the frame number
なお、図4のような参照テーブルを用いるほか、所定の換算式によって、必要な枠数を算出しても良い。 In addition to using the reference table as shown in FIG. 4, the necessary number of frames may be calculated by a predetermined conversion formula.
項目配置処理部4は、枠数算出処理部3で算出した枠単位で表示される項目を、1行目左側から順に配置をする。ただし帳票データのすべての項目を配置するのが1行に収まらない場合には、2行目以降にわたって配置する。
The item
なお、1行に収まるか否かは、1行の大きさを枠数の大きさで除すれば算出できるが、出力する際のサイズ(たとえば「A4横」、「A4縦」など)に応じて、1行あたりの枠数をあらかじめ設定しておいても良い。 Whether it fits in one line can be calculated by dividing the size of one line by the size of the number of frames, but it depends on the output size (eg, “A4 horizontal”, “A4 vertical”, etc.) The number of frames per line may be set in advance.
項目配置処理部4が2行以上にわたって項目を配置する場合、まず例外条件に該当するかを項目配置処理部4は判定する。ここで例外条件とは、紙や表示装置22、ファイルに出力する際の出力条件、たとえば出力サイズ(たとえば「A4横」、「A4縦」など)、カラー印刷か否か、出力方法(紙、表示、ファイル)などに応じて設定されることが好ましい。
When the item
たとえばA4横のサイズで出力する場合の例外条件としては、1行目の2項目目の終了位置または1項目目の終了位置が3枠内に収まっていない場合には、2行目以降については、左側に所定枠数(たとえば3枠)を空欄とし、その次の枠(上記例では4枠目)を2行目以降の項目配置の開始位置として設定する。これを模式的に示すのが、図6である。 For example, as an exception condition when outputting in the A4 horizontal size, if the end position of the second item on the first line or the end position of the first item is not within the 3 frame, The predetermined number of frames (for example, 3 frames) is left blank on the left side, and the next frame (the 4th frame in the above example) is set as the starting position of item arrangement for the second and subsequent lines. This is schematically shown in FIG.
元の帳票データが図6(a)のような場合、1行目の2項目目の終了位置が4枠目であることから、例外条件が適用されることを、項目配置処理部4は判定する。従って、項目配置処理部4は、2行目以降については、左側の所定枠数(たとえば3枠)を空欄とし、その次の枠(4枠目)を2行目以降の項目配置の開始位置として設定し、各項目のデータをそれらに対応するように配置する。これを模式的に示すのが図6(b)である。
When the original form data is as shown in FIG. 6A, since the end position of the second item in the first row is the fourth frame, the item
また、A4縦のサイズで出力する場合の例外条件としては、1行目の2項目目の終了位置または1項目目の終了位置が2枠内に収まっていない場合には、2行目以降については、左側に所定枠数(たとえば2枠)を空欄とし、その次の枠(上記例では3枠目)を2行目以降の項目配置の開始位置として設定する。これを模式的に示すのが図7である。 Also, as an exception condition when outputting in A4 vertical size, if the end position of the second item on the first line or the end position of the first item is not within the two frames, the second and subsequent lines Sets a predetermined number of frames (for example, 2 frames) on the left side as a blank, and sets the next frame (the 3rd frame in the above example) as the start position of the item arrangement for the second and subsequent lines. This is schematically shown in FIG.
元の帳票データが図7(a)のような場合、1行目の2項目目の終了位置が3枠目であることから、例外条件が適用されることを、項目配置処理部4は判定する。従って、項目配置処理部4は、2行目以降については、左側の所定枠数(たとえば2枠)を空欄とし、その次の枠(3枠目)を2行目以降の項目配置の開始位置として設定し、各項目のデータをそれらに対応するように配置する。これを模式的に示すのが図7(b)である。
When the original form data is as shown in FIG. 7A, since the end position of the second item in the first row is the third frame, the item
また、項目配置処理部4は、あらかじめ定められた例外条件に該当しないことを判定した場合には、2行目以降について、あらかじめ設定された項目(たとえば1行目の3項目に対応する位置が一例としてあるが、これに限定されない。少なくとも左側に1枠以上の空欄がある枠の位置であれば良い)から配置を行う。たとえば1行目の2項目に相当する枠数を空欄とし、その次(1行目の3項目に対応する位置)から配置を行う。
In addition, when the item
元の帳票データが図8(a)のような場合(出力するサイズがA4横であるとする)、1行目の2項目目の終了位置が3枠目であることから、例外条件は適用されないことを、項目配置処理部4は判定する。従って、項目配置処理部4は、2行目以降については、1行目の3項目に対応する位置を開始位置として設定し、各項目のデータをそれらに対応するように2行目に配置する。これを模式的に示すのが図8(b)である。
If the original form data is as shown in FIG. 8A (assuming that the output size is A4 horizontal), the end position of the second item on the first line is the third frame, so the exception condition applies The item
なお図6乃至図8において、枠数は説明のために示していることから、実際には枠数の表示がなされないようにしても良い。 6 to 8, since the number of frames is shown for explanation, the number of frames may not actually be displayed.
また項目配置処理部4は、縦罫線に関する処理を実行(縦罫線を描画)する。縦罫線とは、枠を区切るために表示する縦方向の罫線である。通常、罫線は、桁と桁の間で引かれるが、本発明の帳票自動レイアウトシステム1では、縦罫線のために1桁を利用して、そこに縦線を描画する。好ましくは、各項目の端の枠に隣接する1桁(たとえば、項目が1枠の場合にはその枠に隣接する1桁、項目が2枠の場合には左側の枠に隣接する1桁や右側の枠に隣接する1桁、項目が3枠の場合には左端の枠に隣接する1桁や右端の枠に隣接する1桁)を確保し、その1桁のうち、中心付近に縦線を描画することがよい。これによって、1枠の最大桁数のデータとなった場合でも、半桁ずつの間隙が出来るので、データの視認性が向上する。縦罫線についての説明を図5に示す。なお図5では、1枠が16桁の場合を示しているが、上述のように、1枠の桁数は任意に設定することが出来る。また枠および桁は、説明のために示しているに過ぎず、実際には表示がなされないようにしてもよい。
In addition, the item
なお上述の説明や図5では、縦罫線を描画する桁が枠に隣接する場合を示したが、項目における端の枠の端の1桁において、縦罫線が描画されても良い。この場合、項目と項目とが隣接する場合には、いずれか一方の項目における端の枠の端の1桁に縦罫線が描画され、隣接する他方の項目における端の枠には縦罫線を描画せずとも良い。2重に縦罫線が描画されることを防止するためである。 Although the above description and FIG. 5 show the case where the digit for drawing the vertical ruled line is adjacent to the frame, the vertical ruled line may be drawn at one digit of the end frame of the item. In this case, when an item and an item are adjacent to each other, a vertical ruled line is drawn at one digit of the end frame of one of the items, and a vertical ruled line is drawn at the end frame of the other adjacent item. You don't have to. This is to prevent double vertical ruled lines from being drawn.
図5(a)は、本発明のように、縦罫線のために1桁を利用した場合を示す図である。また、図5(b)は、縦罫線を従来どおりの方法で引いた場合を示す図である。図5(b)の場合、縦罫線が桁と桁との間の区切り線として引かれるため、その前後にデータが入った場合、データと縦罫線とが密着し、視認性が悪化する。一方、本願発明の図5(a)の場合、縦罫線のために1桁を利用しているため、仮にその前後にデータが入ったとしても、データと縦罫線とが密着することがなく、半桁分の間隙が生じる。そのため、視認性を保つことが出来る。 FIG. 5A shows a case where one digit is used for the vertical ruled line as in the present invention. FIG. 5B is a diagram showing a case where a vertical ruled line is drawn by a conventional method. In the case of FIG. 5B, since the vertical ruled line is drawn as a separating line between the digits, when data enters before and after that, the data and the vertical ruled line are brought into close contact with each other, and the visibility is deteriorated. On the other hand, in the case of FIG. 5A of the present invention, since one digit is used for the vertical ruled line, even if data enters before and after that, the data and the vertical ruled line are not in close contact with each other. A half-digit gap is generated. Therefore, visibility can be maintained.
出力処理部5は、帳票データ記憶部に記憶する帳票データを参照し、項目配置処理部4で配置した項目に従って、それぞれに対応するデータをそれぞれの枠内に表示させ、出力処理を実行する。出力処理としては、ユーザが利用する所定の印刷装置(図示せず)から紙媒体に印刷し出力する、ユーザが利用する所定の表示装置22に表示する、ユーザが利用するコンピュータ端末にファイルとして出力する、などがある。
The
つぎに本発明の帳票自動レイアウトシステム1の処理プロセスを図2のフローチャートを用いて説明する。なお、本実施例では、帳票データ記憶部に記憶する帳票データである社員情報マスタファイルのデータを出力する場合を説明する。またその各項目のデータの内容の一部が図9であるとする。
Next, the processing process of the form
業務システムを利用するユーザが、社員情報マスタファイルの帳票データの出力を所望する場合、当該ユーザが利用するコンピュータ端末(以下、「ユーザ端末」という)において所定の操作を行う。そうすると、図10に示すような自動レイアウトを行うか否かを選択するための画面がユーザ端末において、表示される。 When a user using a business system desires to output form data of an employee information master file, a predetermined operation is performed on a computer terminal (hereinafter referred to as “user terminal”) used by the user. Then, a screen for selecting whether or not to perform automatic layout as shown in FIG. 10 is displayed on the user terminal.
この画面において、ユーザが、「2行以上になったときに列を揃える」など、自動レイアウトを行うことを意味する選択を行うと、ユーザ端末から業務システムに対して、自動レイアウトを行った上での出力指示が送られる。一方、この画面において、ユーザが、「2行以上になったときに列を揃える」など、自動レイアウトを行うことを意味する選択を行わないと、ユーザ端末から業務システムに対して、通常どおりの出力指示が送られる。また、この際に、出力サイズ(たとえば「A4横」、「A4縦」など。なお、これらに限定されない)を指定することが好ましい。 On this screen, if the user makes a selection that means performing automatic layout, such as “align columns when there are more than two rows”, the user terminal performs automatic layout on the business system. The output instruction at is sent. On the other hand, on this screen, if the user does not make a selection meaning that automatic layout is performed, such as “align columns when there are more than two rows”, the user terminal performs a normal operation on the business system. An output instruction is sent. At this time, it is preferable to specify an output size (for example, “A4 horizontal”, “A4 vertical”, etc., but not limited thereto).
そして、自動レイアウトを行わない場合には(S100)、業務システムの業務処理部は、ユーザ端末から送られた、通常どおりの出力指示を受け取り、通常どおり、社員情報マスタファイルから、出力対象となるデータを抽出し、出力処理を実行する。通常どおりの出力指示の場合、図9のデータの内容は、左側から順に出力される。この場合の出力の一例を図11に示す。 When automatic layout is not performed (S100), the business processing unit of the business system receives a normal output instruction sent from the user terminal, and is normally output from the employee information master file. Data is extracted and output processing is executed. In the case of a normal output instruction, the contents of the data in FIG. 9 are output in order from the left side. An example of the output in this case is shown in FIG.
一方、自動レイアウトを行う場合には(S100)、業務システムの業務処理部は、ユーザ端末から送られた、自動レイアウトを行った上での出力指示を受け取る。そして、自動レイアウトを行った上で出力処理を行うことを業務処理部は、帳票自動レイアウトシステム1に渡す。この際に、出力対象のデータを特定する情報(たとえば対象となる帳票データ、出力範囲、部数、出力サイズなど)があわせて渡されると良い。
On the other hand, when performing automatic layout (S100), the business processing unit of the business system receives an output instruction sent from the user terminal after performing automatic layout. Then, the business processing unit transfers to the form
帳票自動レイアウトシステム1で自動レイアウトを行った上での出力指示を業務処理部から受け取ると、最大桁数算出処理部2は、出力対象となる帳票データである、社員情報マスタファイルを参照することで、各項目のデータにおける最大桁数を算出する(S110)。
When receiving an output instruction from the business processing unit after the
つまり、各項目「社員コード」、「社員名」、「フリガナ」、「性別」、「社員区分」、「在籍区分」、「所属コード」、「所属名」、「役職コード」、「役職名」、「職種コード」、「職種名」、「個人外線(所属代表以外)」、「個人内線」、「携帯TEL1」、「携帯TEL2」、「メモ」、「マスター検索表示区分」のそれぞれのデータの桁数を算出し、その中から、項目ごとに最大の桁数を算出する。 That is, each item "employee code", "employee name", "phonetic", "gender", "employee classification", "enrollment classification", "affiliation code", "affiliation name", "title code", "title" ”,“ Occupation code ”,“ Occupation name ”,“ Personal outside line (other than affiliation representative) ”,“ Personal extension ”,“ Mobile TEL1 ”,“ Mobile TEL2 ”,“ Memo ”,“ Master search display category ” Calculate the number of digits of data, and calculate the maximum number of digits for each item.
図9の各項目のデータについて、最大桁数算出処理部2が項目ごとの最大の桁数を算出した場合、たとえば「社員コード」が6桁、「社員名」が30桁、「フリガナ」が30桁、「性別」が8桁、「社員区分」が8桁、「在籍区分」が8桁、「所属コード」が6桁、「所属名」が20桁、「役職コード」が6桁、「役職名」が10桁、「職種コード」が6桁、「職種名」が10桁、「個人外線(所属代表以外)」が24桁、「個人内線」が10桁、「携帯TEL1」が13桁、「携帯TEL2」が13桁、「メモ」が100桁、「マスター検索表示区分」が16桁、であったとする。
When the maximum number of digits
つぎに、枠数算出処理部3は、最大桁数算出処理部2で算出した、各項目ごとの最大桁数に基づいて、図4に示す参照テーブルを参照することで、各項目ごとに必要な枠数を算出する(S120)。
Next, the frame number
上記例の場合、各項目の最大桁数に基づいて、図4(b)の参照テーブルを参照すると、「社員コード」が1枠、「社員名」が2枠、「フリガナ」が2枠、「性別」が1枠、「社員区分」が1枠、「在籍区分」が1枠、「所属コード」が1枠、「所属名」が1枠、「役職コード」が1枠、「役職名」が1枠、「職種コード」が1枠、「職種名」が1枠、「個人外線(所属代表以外)」が2枠、「個人内線」が1枠、「携帯TEL1」が1枠、「携帯TEL2」が1枠、「メモ」が5枠、「マスター検索表示区分」が1枠として、必要な枠数を算出することが出来る。 In the case of the above example, referring to the reference table of FIG. 4B based on the maximum number of digits of each item, “employee code” is 1 frame, “employee name” is 2 frames, “frigana” is 2 frames, “Gender” is 1 frame, “Employee category” is 1 frame, “Enrollment category” is 1 frame, “Affiliation code” is 1 frame, “Affiliation name” is 1 frame, “Job title code” is 1 frame, “Job title” "1", "Occupation code" is 1 frame, "Occupation name" is 1 frame, "Personal outside line (other than affiliation representative)" is 2 frames, "Individual extension" is 1 frame, "Mobile TEL1" is 1 frame, The required number of frames can be calculated assuming that “mobile TEL2” is 1 frame, “memo” is 5 frames, and “master search display category” is 1 frame.
そして、項目配置処理部4は、各項目について、必要となる枠数に従って、1行目から順に配置をする(S130)。たとえば、本実施例では「A4横」のサイズでの出力指示であり、1行に10枠の出力が可能であるとして設定されている場合、項目配置処理部4は、10枠分の項目を順に、配置する。そうすると、1行目には、左から順に、「社員コード」(1枠)、「社員名」(2枠)、「フリガナ」(2枠)、「性別」(1枠)、「社員区分」(1枠)、「在籍区分」(1枠)、「所属コード」(1枠)、「所属名」(1枠)が順に配置される。
Then, the item
そして1行では項目を配置しきれていないので、項目配置処理部4は、2行目以降にも各項目を配置する(S140)。この際に、項目配置処理部4は、あらかじめ定められた例外条件に該当するかを判定する(S150)。
Since items cannot be arranged in one line, the item
本実施例では出力サイズが「A4横」であることから、例外条件としては、「1行目の2項目目の終了位置または1項目目の終了位置が3枠内に収まっているか」を項目配置処理部4は判定する。そうすると、項目配置処理部4は、1行目の2項目の終了位置、1項目目の終了位置は3枠内に収まっていることを判定するので、例外条件が適用されないことを判定する。
In this embodiment, since the output size is “A4 horizontal”, an exception condition is “whether the end position of the second item on the first line or the end position of the first item is within three frames”. The
例外条件が適用されない場合には、項目配置処理部4は、2行目以降の項目については、あらかじめ設定された項目(ここでは1行目の3項目目に対応する位置)から配置を行う(S160)。
When the exceptional condition is not applied, the item
従って、「役職コード」(1枠)は、1行目の3項目目である「フリガナ」の位置から配置を開始する。そのため、2行目には、「役職コード」(1枠)、「役職名」(1枠)、「職種コード」(1枠)、「職種名」(1枠)、「個人外線(所属代表以外)」(2枠)、「個人内線」(1枠)が配置される。 Therefore, the “position code” (one frame) starts to be arranged from the position of “the reading” that is the third item in the first row. Therefore, in the second line, “Position Code” (1 frame), “Position Name” (1 frame), “Occupation Code” (1 frame), “Occupation Name” (1 frame), “Personal Outside Line (Representative Representative) Other than) ”(2 frames) and“ personal extension ”(1 frame).
同様に、3行目については、「携帯TEL1」(1枠)、「携帯TEL2」(1枠)、「メモ」(5枠)が、1行目の3項目目である「フリガナ」の位置から配置される。そして4行目についても同様に、「マスター検索表示区分」(1枠)が、1行目の3項目目である「フリガナ」の位置から配置される。 Similarly, for the third line, “mobile TEL1” (one frame), “mobile TEL2” (one frame), and “memo” (five frames) are the positions of the “first” in the third line. It is arranged from. Similarly, in the fourth row, the “master search display category” (one frame) is arranged from the position of “the reading” that is the third item in the first row.
以上のようにして、項目配置処理部4は、図9の項目を複数行にわたって、順に配置する。またその際に、項目配置処理部4は、縦罫線をそれぞれの項目の間の1桁を利用して描画する。
As described above, the item
そして、各項目の配置処理が終了後、出力処理部5は、社員情報マスタファイルの各項目のデータを、それぞれの対応位置に出力する(S180)。このようにして出力処理されるのが図12である。
Then, after the arrangement processing of each item is completed, the
そして出力処理部5で生成した出力データ(図12)を業務処理部は、ユーザ端末に送り、ユーザ端末で出力処理を実行する。
Then, the business processing unit sends the output data (FIG. 12) generated by the
以上のように、1レコードの項目が2行以上にわたる場合に、2行目以降の項目の配置を、1行目の所定項目目(ここでは3項目目)または所定枠目(例外条件が適用される場合)から配置を行うことによって、2行目以降の項目は、左側に空欄が自動的に生成される。そのため、一連のデータであることの認識が容易に行える。これは、本発明による出力(図12)と、従来の出力(図11)とを比較しても、データの一覧性、視認性の良さは、明白である。 As described above, when the items of one record extend over two or more lines, the arrangement of the items after the second line is changed to the predetermined item (here, the third item) or the predetermined frame (exception condition is applied) on the first line. ), The blank on the left side is automatically generated for the items in the second and subsequent lines. Therefore, it can be easily recognized that it is a series of data. Even when the output according to the present invention (FIG. 12) and the conventional output (FIG. 11) are compared, the data listability and visibility are clear.
なお、上述のS140において、1レコードの項目が2行以上にわたらない場合には、そのまま、項目配置処理部4で配置した項目に従って、それぞれに対応するデータをそれぞれの枠に表示させ、出力処理を実行すればよい。1レコードの項目が2行以上にわたらない場合には、従来と同様の見え方での出力となる。
In the above-described S140, if the item of one record does not extend over two lines, the corresponding data is displayed in the respective frames according to the items arranged by the item
また、上述の例では、S150において例外条件に該当しない場合であったが、例外条件に該当する場合には、例外条件に従って、2行目以降の項目を配置する(S170)。すなわち、「A4横」のサイズの場合には、2行目以降については、左側に所定枠数(たとえば3枠)を空欄とし、その次の枠(上記例では4枠目)を2行目以降の項目配置の開始位置として設定する。 In the above example, the exception condition is not met in S150. However, if the exception condition is met, the second and subsequent items are arranged according to the exception condition (S170). That is, in the case of “A4 horizontal” size, for the second and subsequent lines, a predetermined number of frames (for example, three frames) is left blank, and the next frame (the fourth frame in the above example) is the second line. Set as the starting position for subsequent item placement.
1行目の1項目目、2項目目に多くの枠数を利用している場合(1項目目、2項目目の最大桁数が大きい場合)、2行目以降の項目を、そのままS160に従って(例外条件ではなく通常どおりの項目の配置条件に従って)、1行目の3項目目の位置から配置してしまうと、逆に視認性が悪化することとなる。そこで、1行目の所定項目(好ましくは、1項目目と2項目目)の枠数に応じて、例外条件であるかを判定し、その結果に従って、2行目以降の項目の開始位置を設定することで、常に一覧性、視認性良く、出力することが出来る。 When a large number of frames are used for the first item and the second item in the first row (when the maximum number of digits of the first item and the second item is large), the items after the second row are directly subjected to S160. If it arranges from the position of the 3rd item of the 1st line (according to the usual item arrangement condition instead of the exception condition), the visibility will be deteriorated. Therefore, it is determined whether it is an exceptional condition according to the number of frames of the predetermined item (preferably, the first item and the second item) on the first line, and the start position of the second and subsequent items is determined according to the result. By setting, it is possible to always output with good listability and visibility.
本発明の帳票自動レイアウトシステム1を用いることによって、1レコードが複数行にわたるような複雑な帳票のデータの一覧性、視認性を向上させた上で、出力することが可能となる。
By using the form
1:帳票自動レイアウトシステム
2:最大桁数算出処理部
3:枠数算出処理部
4:項目配置処理部
5:出力処理部
20:演算装置
21:記憶装置
22:表示装置
23:入力装置
24:通信装置
1: form automatic layout system 2: maximum digit number calculation processing unit 3: frame number calculation processing unit 4: item arrangement processing unit 5: output processing unit 20: arithmetic unit 21: storage unit 22: display unit 23: input unit 24: Communication device
第1の発明は、1レコードの項目が複数行にわたって表示される帳票の自動レイアウトを行う帳票自動レイアウトシステムであって、前記帳票自動レイアウトシステムは、出力対象となる帳票の各項目のうち、各項目に入力されているデータの最大桁数を算出する最大桁数算出処理部と、前記算出した項目ごとの最大桁数を用いて、表示桁数と必要枠数との対応関係を示した参照テーブルを参照または所定の換算式に代入することで、少なくとも該項目のデータを表示するための領域である枠の必要数を算出する枠数算出処理部と、前記1レコードの項目を、前記枠数算出処理部で算出した枠単位で配置する項目配置処理部と、前記配置した項目に対応する位置に、前記帳票のデータを出力する出力処理部と、を備えており、前記項目配置処理部は、枠に従って前記項目を1行目から順に配置を開始し、前記1レコードの項目の配置が複数行にわたる場合には、1行目の2項目目以降または2枠目以降に対応する位置を2行目以降の項目の配置の開始位置として、2行目以降の項目の配置を行い、前記項目と項目とを縦方向に区切る縦罫線について、前記項目における端の枠に隣接する1桁または前記項目における枠の端の1桁に縦線を描画することで、縦罫線を設ける、帳票自動レイアウトシステムである。
1st invention is a form automatic layout system which performs the automatic layout of the form in which the item of 1 record is displayed over several lines, Comprising: The said form automatic layout system is each of each item of the form used as output object, A reference that shows the correspondence between the number of display digits and the required number of frames using the maximum number of digits calculation processing unit that calculates the maximum number of digits of data input to the item , and the calculated maximum number of digits for each item . By referring to the table or substituting it into a predetermined conversion formula, a frame number calculation processing unit that calculates at least the necessary number of frames, which is an area for displaying the data of the item, and the item of the one record as the frame An item arrangement processing unit arranged in frame units calculated by the number calculation processing unit, and an output processing unit for outputting the form data at a position corresponding to the arranged item. The section starts arranging the items in order from the first line according to the frame, and when the arrangement of the items of the one record extends over a plurality of lines, the position corresponding to the second item or later on the first line or the second frame or later as the start position of arrangement of
本発明のように構成することで各項目が枠単位で配置されることになる。そのため、各項目の縦方向の配置位置が整列され、項目の名称とデータとの対応がわかりやすくなり、一覧性、視認性の向上に繋がる。また、2行目以降の項目の配置の開始位置は、少なくとも1枠以上の空欄が設けられていることとなる。そのため、どこまでが1レコードであるかの認識がわかりやすく、帳票のデータの一覧性、視認性の向上に繋がる。
また、従来、項目と項目とを区切る縦罫線には、桁と桁との間に設けられる。そのため、データと縦罫線とが密着し、視認性の悪化に繋がっている。そこで本発明のように、縦罫線として1桁を用いることによって、データと縦罫線との間に間隙を設けることが出来る。これによって、データと縦罫線とが密着することなく、視認性の向上に繋がる。
By configuring as in the present invention, each item is arranged in a frame unit. Therefore, the arrangement positions in the vertical direction of the items are aligned, the correspondence between the item names and the data becomes easy to understand, which leads to improvement in listability and visibility. In addition, the start position of the arrangement of the items on and after the second line is provided with at least one blank space. For this reason, it is easy to recognize how far one record is, which leads to an improvement in the listability and visibility of the form data.
Conventionally, a vertical ruled line that separates items is provided between the digits. Therefore, the data and the vertical ruled lines are in close contact with each other, leading to deterioration of visibility. Therefore, as in the present invention, by using one digit as the vertical ruled line, a gap can be provided between the data and the vertical ruled line. As a result, the data and the vertical ruled lines are not in close contact with each other, leading to an improvement in visibility.
上述の発明において、前記項目配置処理部は、枠に従って前記項目を1行目から順に配置を開始し、前記1レコードの項目の配置が複数行にわたる場合には、前記出力対象となる帳票の出力条件に対応する例外条件に該当するかを判定し、例外条件に該当しない場合には、1行目の2項目目以降または2枠目以降に対応する位置を2行目以降の項目の配置の開始位置として、2行目以降の項目の配置を行い、例外条件に該当する場合には、前記例外条件に該当しない場合の開始位置を定める条件とは異なる条件による開始位置から、2行目以降の項目の配置を行い、前記項目と項目とを縦方向に区切る縦罫線について、前記項目における端の枠に隣接する1桁または前記項目における枠の端の1桁に縦線を描画することで、縦罫線を設ける、帳票自動レイアウトシステムのように構成することもできる。
In the above-described invention, the item arrangement processing unit starts arranging the items in order from the first line according to the frame, and when the arrangement of the items of one record extends over a plurality of lines, the output of the form to be output is performed. It is determined whether the exception condition corresponding to the condition is met. If the exception condition is not met, the position corresponding to the second item after the first line or the second frame is set to the arrangement of the items after the second line. As the start position, items on the second and subsequent lines are arranged, and if the exception condition is met, the second and subsequent lines from the start position based on a condition different from the condition for determining the start position when the exception condition is not met For the vertical ruled line that vertically separates the items from each other, the vertical line is drawn at one digit adjacent to the end frame of the item or one digit at the end of the frame of the item. , providing a vertical line, It may be configured as a vote automatic layout system.
左端あるいは左側に配置される項目のデータの桁数が多い場合には、あらかじめ設定された条件に従ってそのまま配置したのでは、逆にデータの一覧性、視認性の悪化に繋がる。そこで、本発明のように、1レコードの項目が複数行にわたって配置される場合には、まず例外条件に該当するかを判定し、それに該当するか否かで、2行目以降の項目の配置の開始位置の条件を区別すると良い。
また、従来、項目と項目とを区切る縦罫線には、桁と桁との間に設けられる。そのため、データと縦罫線とが密着し、視認性の悪化に繋がっている。そこで本発明のように、縦罫線として1桁を用いることによって、データと縦罫線との間に間隙を設けることが出来る。これによって、データと縦罫線とが密着することなく、視認性の向上に繋がる。
If the number of digits of data of items arranged at the left end or the left side is large, if the data is arranged as it is in accordance with preset conditions, the data listability and visibility are deteriorated. Therefore, as in the present invention, when items of one record are arranged over a plurality of lines, it is first determined whether or not an exception condition is met, and whether or not the items in the second and subsequent lines are arranged is determined according to whether or not the condition is met. It is advisable to distinguish the conditions of the start positions.
Conventionally, a vertical ruled line that separates items is provided between the digits. Therefore, the data and the vertical ruled lines are in close contact with each other, leading to deterioration of visibility. Therefore, as in the present invention, by using one digit as the vertical ruled line, a gap can be provided between the data and the vertical ruled line. As a result, the data and the vertical ruled lines are not in close contact with each other, leading to an improvement in visibility.
以下の発明のように構成することもできる。1レコードの項目が複数行にわたって表示される帳票の自動レイアウトを行う帳票自動レイアウトシステムであって、前記帳票自動レイアウトシステムは、出力対象となる帳票の各項目のうち、各項目に入力されているデータの最大桁数を算出する最大桁数算出処理部と、前記算出した項目ごとの最大桁数を用いて、表示桁数と必要枠数との対応関係を示した参照テーブルを参照または所定の換算式に代入することで、少なくとも該項目のデータを表示するための領域である枠の必要数を算出する枠数算出処理部と、前記1レコードの項目を、前記枠数算出処理部で算出した枠単位で配置する項目配置処理部と、前記配置した項目に対応する位置に、前記帳票のデータを出力する出力処理部と、を備えており、前記項目配置処理部は、枠に従って前記項目を1行目に順に配置を開始し、前記1レコードの項目の配置が複数行にわたる場合には、前記出力対象となる帳票の出力条件に対応する例外条件に該当するかを判定し、例外条件に該当しない場合には、1行目の3項目目に対応する位置を開始位置として、2行目以降の項目の配置を行い、例外条件に該当する場合には、1行目の3項目目に対応する位置よりも左側の枠の位置を開始位置として、2行目以降の項目の配置を行い、前記項目と項目とを縦方向に区切る縦罫線について、前記項目における端の枠に隣接する1桁または前記項目における枠の端の1桁に縦線を描画することで、縦罫線を設ける、帳票自動レイアウトシステムである。
It can also be configured as in the following invention. An automatic form layout system for automatically laying out a form in which items of one record are displayed over a plurality of lines. The automatic form layout system is input to each item among the items of the form to be output. Refer to a reference table that indicates the correspondence between the number of display digits and the number of required frames using the maximum number of digits calculation processing unit that calculates the maximum number of digits of data and the calculated maximum number of digits for each item. By substituting into the conversion formula, at least the frame number calculation processing unit for calculating the necessary number of frames, which is an area for displaying the data of the item, and the item for one record are calculated by the frame number calculation processing unit. and the item arrangement processing unit to place a frame basis and, in a position corresponding to the item above are arranged, and and an output processing unit that outputs data of the form, the item arrangement processing unit may follow the frame The arrangement of the items on the first line is started in order, and if the arrangement of the item of one record extends over a plurality of lines, it is determined whether the exception condition corresponding to the output condition of the form to be output is satisfied. If the exception condition is not met, the position corresponding to the third item on the first line is set as the start position, and the second and subsequent items are arranged. If the exception condition is met, the first line starting at the left position of the frame than the position corresponding to the three items th have line arrangement of
上述の発明において、前記出力対象となる帳票の出力条件として、紙、表示またはファイルの出力サイズである、帳票自動レイアウトシステムのように構成することができる。 In the above-described invention, the output condition of the form to be output can be configured as a form automatic layout system which is the output size of paper, display or file .
Claims (5)
前記帳票自動レイアウトシステムは、
出力対象となる帳票の各項目のうち、各項目のデータの最大桁数を算出する最大桁数算出処理部と、
前記算出した項目ごとの最大桁数に基づいて、少なくとも該項目のデータを表示するための領域である枠の必要数を算出する枠数算出処理部と、
前記1レコードの項目を、前記枠数算出処理部で算出した枠単位で配置する項目配置処理部と、
前記配置した項目に対応する位置に、前記帳票のデータを出力する出力処理部と、
を備えており、
前記項目配置処理部は、
枠に従って前記項目を1行目から順に配置を開始し、
前記1レコードの項目の配置が複数行にわたる場合には、1行目の2項目目以降または2枠目以降に対応する位置を2行目以降の項目の配置の開始位置として、2行目以降の項目の配置を行う、
ことを特徴とする帳票自動レイアウトシステム。 A form automatic layout system that performs automatic layout of forms in which items of one record are displayed over a plurality of lines,
The form automatic layout system
Among the items of the form to be output, the maximum number of digits calculation processing unit that calculates the maximum number of digits of the data of each item,
Based on the calculated maximum number of digits for each item, at least a frame number calculation processing unit that calculates a necessary number of frames that are areas for displaying data of the item;
An item arrangement processing unit that arranges the items of one record in units of frames calculated by the frame number calculation processing unit;
An output processing unit for outputting the data of the form at a position corresponding to the arranged item;
With
The item arrangement processing unit
Start placing the items in order from the first line according to the frame,
When the arrangement of the items of one record extends over a plurality of lines, the position corresponding to the second item or later in the first line or the second frame or later is used as the start position of the arrangement of items in the second line or later. To arrange items of
A form automatic layout system characterized by that.
枠に従って前記項目を1行目から順に配置を開始し、
前記1レコードの項目の配置が複数行にわたる場合には、前記出力対象となる帳票の出力条件に対応する例外条件に該当するかを判定し、
例外条件に該当しない場合には、1行目の2項目目以降または2枠目以降に対応する位置を2行目以降の項目の配置の開始位置として、2行目以降の項目の配置を行い、
例外条件に該当する場合には、前記例外条件に該当しない場合の開始位置を定める条件とは異なる条件による開始位置から、2行目以降の項目の配置を行う、
ことを特徴とする請求項1に記載の帳票自動レイアウトシステム。 The item arrangement processing unit
Start placing the items in order from the first line according to the frame,
When the arrangement of the item of one record extends over a plurality of lines, it is determined whether an exception condition corresponding to the output condition of the form to be output is satisfied,
If the exception condition is not met, the second and subsequent items are placed using the position corresponding to the second and subsequent items on the first row as well as the second and subsequent frames as the start position of the second and subsequent items. ,
When the exception condition is met, the items in the second and subsequent lines are arranged from the start position based on a condition different from the condition for determining the start position when the exception condition is not met.
The form automatic layout system according to claim 1.
枠に従って前記項目を1行目に順に配置を開始し、
前記1レコードの項目の配置が複数行にわたる場合には、前記出力対象となる帳票の出力条件に対応する例外条件に該当するかを判定し、
例外条件に該当しない場合には、1行目の3項目目に対応する位置を開始位置として、2行目以降の項目の配置を行い、
例外条件に該当する場合には、1行目の3項目目に対応する位置よりも左側の枠の位置を開始位置として、2行目以降の項目の配置を行う、
ことを特徴とする請求項1または請求項2に記載の帳票自動レイアウトシステム。 The item arrangement processing unit
Start placing the items in order on the first line according to the frame,
When the arrangement of the item of one record extends over a plurality of lines, it is determined whether an exception condition corresponding to the output condition of the form to be output is satisfied,
When the exception condition is not met, the position corresponding to the third item on the first line is set as the start position, and the items on the second and subsequent lines are arranged.
If the exception condition is met, the second and subsequent items are arranged starting from the position on the left side of the position corresponding to the third item on the first row,
3. The form automatic layout system according to claim 1, wherein the form is automatically laid out.
前記項目と項目とを縦方向に区切る縦罫線について、前記項目における端の枠に隣接する1桁または前記項目における枠の端の1桁に縦線を描画することで、縦罫線を設ける、
ことを特徴とする請求項1から請求項3のいずれかに記載の帳票自動レイアウトシステム。 The item arrangement processing unit
For vertical ruled lines that vertically separate the items from each other, a vertical ruled line is provided by drawing a vertical line in one digit adjacent to the frame at the end of the item or one digit at the end of the frame in the item.
The form automatic layout system according to any one of claims 1 to 3.
ことを特徴とする請求項2または請求項3に記載の帳票自動レイアウトシステム。 As an output condition of the form to be output, the output size,
The form automatic layout system according to claim 2 or claim 3, wherein
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010233890A JP4719819B1 (en) | 2010-10-18 | 2010-10-18 | Automatic form layout system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010233890A JP4719819B1 (en) | 2010-10-18 | 2010-10-18 | Automatic form layout system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP4719819B1 JP4719819B1 (en) | 2011-07-06 |
JP2012088858A true JP2012088858A (en) | 2012-05-10 |
Family
ID=44350500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010233890A Active JP4719819B1 (en) | 2010-10-18 | 2010-10-18 | Automatic form layout system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4719819B1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015082310A (en) * | 2013-10-24 | 2015-04-27 | 富士通株式会社 | Data output program, data output method, and data output device |
JP2020123149A (en) * | 2019-01-30 | 2020-08-13 | 富士通株式会社 | Patient information list display program, method and information processor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0785173A (en) * | 1993-06-25 | 1995-03-31 | Casio Comput Co Ltd | Slip printer |
JPH09190486A (en) * | 1996-01-12 | 1997-07-22 | Hitachi Inf Syst Ltd | Format output method |
JP2007265059A (en) * | 2006-03-29 | 2007-10-11 | Hitachi Ltd | Data display method |
-
2010
- 2010-10-18 JP JP2010233890A patent/JP4719819B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0785173A (en) * | 1993-06-25 | 1995-03-31 | Casio Comput Co Ltd | Slip printer |
JPH09190486A (en) * | 1996-01-12 | 1997-07-22 | Hitachi Inf Syst Ltd | Format output method |
JP2007265059A (en) * | 2006-03-29 | 2007-10-11 | Hitachi Ltd | Data display method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015082310A (en) * | 2013-10-24 | 2015-04-27 | 富士通株式会社 | Data output program, data output method, and data output device |
JP2020123149A (en) * | 2019-01-30 | 2020-08-13 | 富士通株式会社 | Patient information list display program, method and information processor |
JP7239811B2 (en) | 2019-01-30 | 2023-03-15 | 富士通株式会社 | PATIENT INFORMATION LIST DISPLAY PROGRAM, METHOD AND INFORMATION PROCESSING DEVICE |
Also Published As
Publication number | Publication date |
---|---|
JP4719819B1 (en) | 2011-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101542511B (en) | Business form creating system, network system using the same, and business form creating method | |
EP2668595A2 (en) | Associating captured image data with a spreadsheet | |
US20110179004A1 (en) | Method and system for an internet browser add-on providng simultaneous multiple interactive websites | |
CN110083346B (en) | Screening configuration method and device based on data visualization interface | |
WO2011145649A1 (en) | Electronic device, display control method, program, and computer-readable non-temporary recording medium | |
US20160078015A1 (en) | Representation of data records in graphic tables | |
JP2010015458A (en) | Program correction support system, program correction support method, and program correction support program | |
JP4719819B1 (en) | Automatic form layout system | |
JP2009093389A (en) | Information processor, information processing method, and program | |
JP6489340B1 (en) | Comparison target company selection system | |
EP3605441A1 (en) | Information processing system and program | |
JP2016115022A (en) | Information processing apparatus, information processing method, and program | |
JP2019091383A (en) | Input screen generating apparatus, input screen generating method, and program | |
JPWO2018079647A1 (en) | Process control apparatus, process control method and program | |
JP7033914B2 (en) | Registration screen processing device, registration screen processing method, and registration screen processing program | |
JP4257284B2 (en) | Accounting processing system, accounting processing apparatus and program | |
JP5194889B2 (en) | Production management apparatus and computer program | |
JP2009076017A (en) | Input/output screen generating system | |
JP2006221230A (en) | System, computer program, and method for adjusting work shift | |
JP3148485U (en) | Printing device for printing OCR paper for specific customers | |
JP7324162B2 (en) | Cost output device, cost output method, and cost output program | |
JP2017174087A (en) | Information processing device and information processing program | |
JP7283120B2 (en) | Information processing device and program | |
JP3521822B2 (en) | Electronic report device and machine-readable recording medium recording program | |
JP6950156B2 (en) | Management support equipment and programs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110329 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110404 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4719819 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140408 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313115 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |