JPH09319745A - Character data processor - Google Patents

Character data processor

Info

Publication number
JPH09319745A
JPH09319745A JP8138677A JP13867796A JPH09319745A JP H09319745 A JPH09319745 A JP H09319745A JP 8138677 A JP8138677 A JP 8138677A JP 13867796 A JP13867796 A JP 13867796A JP H09319745 A JPH09319745 A JP H09319745A
Authority
JP
Japan
Prior art keywords
hierarchy
character data
list
data
area
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
JP8138677A
Other languages
Japanese (ja)
Inventor
Kazunobu Sugitani
和宣 杉谷
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP8138677A priority Critical patent/JPH09319745A/en
Publication of JPH09319745A publication Critical patent/JPH09319745A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To instantaneously prepare a hierarchical graphic without manual work necessitating time and labor in spite of data change in a data processor preparing a hierarchical graphic from input character data through the use of characters or ruled lines. SOLUTION: Character data with plural attributes such as the list of the employees of a company (enterprise) is written in the LIST area 9b of RAM 9, and CPU 1 forms a hierarchy corresponding to the attribute through the use of the WORK area 9a of RAM 9 and forms the hierarchical graphic such as an organizational graphic expressing this formed hierarchy. At the time, the kinds and the number of the hierarchies of sections, posts, etc., from the character data to prepare the hierarchical graphic according to the detecting result in a two-dimensional XY coordinate.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字や罫線を用い
て入力文字データから階層図を作成する文字データ処理
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character data processing device for creating a hierarchical diagram from input character data by using characters and ruled lines.

【0002】[0002]

【従来の技術】従来、例えば会社(企業)における組織
図や、科学分野における各種物質あるいは生物などの分
類系統図のような階層図を表現するに当たっては、その
階層の段階数や各階層に含まれる人数や物質などをその
都度手作業及び手動計算で決定し、その結果を画面に表
示したり、用紙に書き込んだりしている。
2. Description of the Related Art Hitherto, in expressing a hierarchical diagram such as an organizational chart of a company or a classification system diagram of various substances or organisms in the scientific field, the number of stages of the hierarchy and the hierarchy of each hierarchy are included. The number of people and substances to be stored are determined by manual work and manual calculation each time, and the results are displayed on the screen or written on paper.

【0003】このため、階層の種類や段階数、あるいは
そこに含まれる人数や物質数に変更があると、その都度
再度手作業で手直しする必要があり、非常に手間の掛か
る作業が必要になる。
For this reason, if the number of layers or the number of layers, or the number of persons or the number of substances contained therein is changed, it is necessary to manually rework each time, which requires a very troublesome work. .

【0004】[0004]

【発明が解決しようとする課題】従来の文字データから
階層図を作成するデータ処理装置にあっては、上記のよ
うに階層の段階数やその階層に含まれる人数や物質数な
どのデータに変更があると、その都度手間の掛かる手直
し作業が必要となるという問題点があった。
In a conventional data processing apparatus for creating a hierarchy diagram from character data, the data is changed to the number of steps of a hierarchy, the number of persons included in the hierarchy, the number of substances, etc., as described above. If so, there is a problem that a troublesome rework work is required each time.

【0005】本発明は、上記のような問題点を除去する
ためになされたもので、データ変更があった場合にも手
間の掛かる手作業を行うことなく即座に階層図を作成す
ることが可能な文字データ処理装置を提供することを目
的としている。
The present invention has been made in order to eliminate the above-mentioned problems, and it is possible to immediately create a hierarchical diagram without any troublesome manual work even when data is changed. An object of the present invention is to provide a character data processing device.

【0006】[0006]

【課題を解決するための手段】本発明に係る文字データ
処理装置は、任意の複数の属性を持つ文字データからそ
の属性に応じた階層を形成する階層形成手段と、該形成
された階層の構造を表わす図形を作成する図形作成手段
とを備えたものである。
A character data processing apparatus according to the present invention comprises a layer forming means for forming a layer corresponding to an attribute from character data having arbitrary plural attributes, and a structure of the formed layer. And a graphic creating means for creating a graphic representing the.

【0007】また、上記の階層形成手段は文字データか
ら階層の種類及び数を検出し、図形作成手段はその検出
結果に応じて図形を二次元直角座標にて作成するように
構成したものである。
Further, the layer forming means detects the type and number of layers from the character data, and the figure creating means creates a figure in two-dimensional rectangular coordinates according to the detection result. .

【0008】[0008]

【発明の実施の形態】図1は本発明に係るデータ処理装
置の機器構成を示すブロック図である。同図において、
1は全体を制御するCPU(中央処理装置)で、以下に
示す各部とバスライン(BL)6を通じて接続されてお
り、それらの各部の制御を行う。
1 is a block diagram showing a device configuration of a data processing apparatus according to the present invention. In the figure,
Reference numeral 1 denotes a CPU (central processing unit) for controlling the whole, which is connected to the respective units shown below through a bus line (BL) 6 and controls the respective units.

【0009】すなわち、2はカーソル移動や一般的な文
字入力及び編集処理を行うためのキーボード(KB)
で、カーソルを上下及び左右方向に移動させるためのカ
ーソル移動キー2aや、入力された元データ(文字デー
タ)から階層の作成を指示する階層作成キー2bを有し
ており、CPU1は任意の複数の属性を持つ入力データ
からその属性に応じた階層を形成する。
That is, reference numeral 2 is a keyboard (KB) for moving the cursor and for general character input and editing processing.
In addition, the CPU 1 has a cursor movement key 2a for moving the cursor up and down and left and right, and a hierarchy creation key 2b for instructing creation of a hierarchy from the input original data (character data). A hierarchy corresponding to the attribute is formed from the input data having the attribute.

【0010】3はLCD表示器で、表示用の書き込み専
用メモリであるVRAM4に書き込まれた文字,図形デ
ータを表示する。5は作成された図形データを格納する
フロッピーディスク(FD)、7はプリンター(PR
T)で、本実施例では会社の社員名簿や作成された会社
の組織図などが印刷される。
An LCD display 3 displays the character and graphic data written in the VRAM 4, which is a write-only memory for display. 5 is a floppy disk (FD) for storing the created graphic data, 7 is a printer (PR)
In T), the employee list of the company and the organization chart of the created company are printed in T).

【0011】8は読み出し専用メモリであるROMで、
CPU1を制御するための図2のフローチャートで示す
PRG(プログラム)エリア8aや、文字パターンを格
納するFONTエリア8bを有している。
Reference numeral 8 denotes a ROM which is a read-only memory,
It has a PRG (program) area 8a shown in the flowchart of FIG. 2 for controlling the CPU 1 and a FONT area 8b for storing a character pattern.

【0012】9は書き込み可能な不揮発性のメモリであ
るRAMで、上記のプログラムを実行するために使用さ
れるWORK(ワーク)エリア9a、階層や属性を持っ
た表形式のデータ(例えば会社の社員名簿)を格納する
LISTエリア9b、最終的な階層図(例えば会社の組
織図)を形成するためのFORMエリア9c、及び元デ
ータから階層を割り出して作成した階層図のXY座標テ
ーブルを格納するTBL(テーブル)エリア9dを有し
ている。そして、LISTエリア9bやFORMエリア
9cの内容がプリンター7にて印刷される。
Reference numeral 9 denotes a writable non-volatile memory RAM, which is a work area 9a used for executing the above-mentioned program, and data in a tabular format having hierarchies and attributes (for example, employees of a company). LIST area 9b for storing a name list), FORM area 9c for forming a final hierarchy diagram (for example, organization chart of a company), and TBL for storing an XY coordinate table of a hierarchy diagram created by indexing the hierarchy from the original data. It has a (table) area 9d. Then, the contents of the LIST area 9b and the FORM area 9c are printed by the printer 7.

【0013】上記のように構成されたデータ処理装置に
おいては、CPU1の制御により任意の複数の属性を持
つ文字データからその属性に応じた階層が形成され、ま
た形成された階層の構造を表わす図形(階層図)が作成
されるようになっている。
In the data processing apparatus configured as described above, under the control of the CPU 1, a hierarchy corresponding to the attributes is formed from character data having an arbitrary plurality of attributes, and a graphic representing the structure of the formed hierarchy. (Hierarchical diagram) is created.

【0014】本実施例では、上述の文字データから階層
の種類及び数を検出し、その検出結果に応じて階層図を
二次元直角座標にて作成するようにしている。図3はそ
の階層図の一例を示したもので、ここでは図4に示す会
社の社員名簿(文字データ)から作成した会社の組織図
となっている。
In the present embodiment, the type and number of layers are detected from the above-mentioned character data, and a layer diagram is created in two-dimensional rectangular coordinates according to the detection result. FIG. 3 shows an example of the hierarchical diagram, and here is an organizational chart of the company created from the employee list (character data) of the company shown in FIG.

【0015】この場合、図1のRAM9上に図4に示す
ような元データとなる階層や属性を表わしたリストを持
たせておく。そして、このリストから階層の深さや種
類、また各階層に含まれる数を算出し、階層表現の基礎
となるXY座標テーブルを作成する。図5にその一例を
示す。
In this case, the RAM 9 shown in FIG. 1 is provided with a list representing the hierarchy and attributes as the original data as shown in FIG. Then, the depth and type of the hierarchy and the number included in each hierarchy are calculated from this list to create an XY coordinate table which is the basis of the hierarchy expression. FIG. 5 shows an example thereof.

【0016】次に、データの一つ一つを吟味して階層の
どの位置に納まるかを検証し、階層図をRAM9に作成
して行く。その結果上述の図3に示すような会社の組織
図ができ上がる。また、最初のリストの内容を変更すれ
ば、再度新たな階層図も容易に作成することが可能であ
る。
Next, the data is examined one by one to verify at which position in the hierarchy it is stored, and a hierarchy diagram is created in the RAM 9. As a result, the organizational chart of the company as shown in FIG. 3 is completed. Further, if the contents of the first list are changed, it is possible to easily create a new hierarchical diagram again.

【0017】次に、上述の会社の社員名簿から会社の組
織図を作成する工程について、図2のフローチャートに
より詳細に説明する。これは、ROM8に格納されたプ
ログラムをCPU1が実行することにより動作するもの
である。
Next, the process of creating the organization chart of the company from the above-mentioned employee list of the company will be described in detail with reference to the flowchart of FIG. This is operated by the CPU 1 executing a program stored in the ROM 8.

【0018】ここで、社員名簿は予め図4に示すものが
RAM9のLISTエリア9bに作成されているものと
する。この社員名簿の詳細を見てみると、まず各行に渡
って氏名,役職,以下部署名が記入されている。部署名
は三つに分かれているが、最初は大きな部署で、この例
では「本部」になっている。次が「部」で、最後に
「課」となっている。但し、役職が上位の人はそれ以下
の部署名は当然ながら記入されていない。
Here, it is assumed that the employee list shown in FIG. 4 is created in advance in the LIST area 9b of the RAM 9. Looking at the details of this employee list, first of all, the name, title, and department name below are filled in on each line. The department name is divided into three, but initially it is a large department, and in this example, it is the "headquarters". The next is "department" and the last is "section". However, those with higher positions are not filled in with department names below that.

【0019】そして、上記の名簿に氏名やその人の役
職、所属する部署を登録しておけば、以下に説明する動
作によって組織図に掲載されることになる。
If the name, the post of the person, and the department to which the person belongs are registered in the above list, the organization chart will be posted by the operation described below.

【0020】すなわち、この階層作成工程においては、
まず上述の名簿を作っておき然る後にキーボード2の階
層作成キー2bを操作することにより、図2のフローチ
ャートに示すプログラムが動作する。
That is, in this hierarchy creating step,
First, by operating the hierarchy creation key 2b of the keyboard 2 after the above list has been created, the program shown in the flowchart of FIG. 2 operates.

【0021】その結果、まずRAM9の階層図のFOR
Mエリア9cをクリアする。これは、新たに組織図を作
成するに当たって不要なデータが残らないようにするた
めである(ステップS1)。
As a result, first, the FOR of the hierarchical diagram of the RAM 9 is obtained.
Clear M area 9c. This is to prevent unnecessary data from remaining when a new organization chart is created (step S1).

【0022】次に、名簿のLISTエリア9bの内容を
吟味して、部署の階層と数と非役職者の人数を算出し、
適切な配置となるようにXY座標のテーブルを作成し、
RAM9のTBLエリア9bに格納する(ステップS
2)。
Next, by examining the contents of the list LIST area 9b, the hierarchy and number of departments and the number of non-executives are calculated,
Create a table of XY coordinates so that it will be arranged appropriately,
Store in the TBL area 9b of the RAM 9 (step S
2).

【0023】本実施例では、階層は右方向に深さを、縦
方向に広がりを持たせるようにしてあるので、部署が小
さくなる毎にX座標を右に進ませ、同じレベルの部署を
下方向つまりY方向に進ませるようにしてある。すなわ
ち、同じレベルの部署はX座標が同じである。図6に階
層(部署)と座標の関係を示す。
In this embodiment, since the hierarchy has a depth in the right direction and a spread in the vertical direction, the X coordinate is advanced to the right each time the department becomes smaller, and the departments at the same level are descended. Direction, that is, the Y direction. That is, departments at the same level have the same X coordinate. FIG. 6 shows the relationship between the hierarchy (department) and the coordinates.

【0024】また、非管理職の課員は縦方向に並べるた
め、同じ課員でもY方向に移動しなければならない。こ
のため、別の課はそれより下に位置させる必要があるの
で、先の課員がn人いた場合は次の課のY座標はnだけ
下げた位置にする。
Furthermore, since non-managerial staffs are lined up in the vertical direction, even the same staff member must move in the Y direction. For this reason, another section needs to be located below that, so if there are n previous employees, the Y coordinate of the next section is lowered by n.

【0025】同様に、部についても上に位置する部の人
数全てより下に位置しなければならないので、その人数
を勘案して次の部のY座標を決定する。図5に示す例で
は技術部のY座標はyaとしているが、これはその上の
開発部の人数を考慮した座標である。同じことが本部単
位でも言える。業務本部のY座標がybとなっている
が、事務機本部全員の人数を考慮した座標としているた
めである。
Similarly, a section must be positioned below the total number of persons in the upper section, so the Y coordinate of the next section is determined in consideration of the number of persons. In the example shown in FIG. 5, the Y coordinate of the engineering department is ya, but this is a coordinate considering the number of development departments above it. The same can be said for headquarters. The Y coordinate of the business headquarters is yb, but this is because it is a coordinate that takes into consideration the number of all the office machine headquarters.

【0026】以上で部署別のXY座標が完成し、一人一
人の名前あるいは部署名を階層図のFORMエリア9c
に格納する作業に入る。
With the above, the XY coordinates for each department are completed, and the name or department name of each person is formed in the FORM area 9c of the hierarchy diagram.
Enter the work to store.

【0027】名簿から1名検索し(ステップS3)、役
職者か否かを判別する(ステップS4)。もし、役職者
なら座標テーブルのTBLエリア9dに登録された座標
位置に基づいてその部署名と名前を階層図のFORMエ
リア9cに格納する(ステップS8)。役職者でないな
らば、座標テーブルのTBLエリア9dに登録された座
標位置を検索し(ステップS5)、その座標に基づいた
階層図のFORMエリア9cの内容をチェックする(ス
テップS6)。
One person is searched from the name list (step S3), and it is determined whether or not the person is a manager (step S4). If it is a manager, based on the coordinate position registered in the TBL area 9d of the coordinate table, its department name and name are stored in the FORM area 9c of the hierarchical diagram (step S8). If it is not a manager, the coordinate position registered in the TBL area 9d of the coordinate table is searched (step S5), and the contents of the FORM area 9c of the hierarchical diagram based on the coordinate are checked (step S6).

【0028】上記階層図のFORMエリア9cに既に名
前が格納されている場合は、Y座標を1つ進めて(ステ
ップS7)、再度内容をチェックする。そして、空であ
るなら階層図FORMエリア9cに名前を格納する(ス
テップS9)。
When the name is already stored in the FORM area 9c of the above hierarchical diagram, the Y coordinate is advanced by 1 (step S7), and the contents are checked again. If it is empty, the name is stored in the hierarchy diagram FORM area 9c (step S9).

【0029】以上で、役職者も非役職者も階層図のFO
RMエリア9cに名前を格納したことになるので、全員
終了したか否かを判別し(ステップS10)、全員終了
していない場合は、再度名簿から順次検索しては同じ処
理を繰り返す。そして、全員終了したら階層図は完成し
たことになり、罫線で組織をつないで全体を表示する
(ステップS11)。その結果、図3に示すような組織
図が完成する。
As described above, both the executive and non-executive personnel have the FO of the hierarchical diagram.
Since the names have been stored in the RM area 9c, it is determined whether or not all are finished (step S10). If all are not finished, the names are sequentially searched again and the same processing is repeated. When all the members are finished, the hierarchical diagram is completed, and the whole is displayed by connecting the organizations with ruled lines (step S11). As a result, the organization chart as shown in FIG. 3 is completed.

【0030】このように、階層や属性を付加したデータ
の一覧表さえ作成しておけば、即座に階層図を作成する
ことができる。したがって、データ変更があった場合に
も年間の掛かる手作業を行うことなく、即座に階層図を
作成することができる。
As described above, a hierarchical diagram can be created immediately by creating a list of data to which layers and attributes are added. Therefore, even if there is a data change, it is possible to immediately create a hierarchical diagram without the need for manual labor that takes years.

【0031】[0031]

【発明の効果】以上説明したように、本発明によれば、
文字データから階層図を作成するに際して、データ変更
があっても手間の掛かる手作業を行うことなく、即座に
階層図を作成することができるという効果がある。
As described above, according to the present invention,
When creating a hierarchical diagram from character data, there is an effect that a hierarchical diagram can be created immediately without any troublesome manual work even if the data is changed.

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

【図1】 本発明に係る文字データ処理装置の機器構成
を示すブロック図
FIG. 1 is a block diagram showing a device configuration of a character data processing device according to the present invention.

【図2】 階層作成処理の流れを示すフローチャートFIG. 2 is a flow chart showing the flow of layer creation processing.

【図3】 作成した階層図の一例を示す説明図FIG. 3 is an explanatory diagram showing an example of a created hierarchy diagram.

【図4】 文字データの一例を示す説明図FIG. 4 is an explanatory diagram showing an example of character data.

【図5】 XY座標テーブルの一例を示す説明図FIG. 5 is an explanatory diagram showing an example of an XY coordinate table.

【図6】 実施例における部署と座標の関係を示す説明
FIG. 6 is an explanatory diagram showing the relationship between departments and coordinates in the embodiment.

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

1 CPU 2 キーボード 2b 階層作成キー 3 LCD表示器 4 VRAM 8 ROM 8a PRGエリア 9 RAM 9a WORKエリア 9b LISTエリア 9c FORMエリア 9d TBLエリア 1 CPU 2 keyboard 2b layer creation key 3 LCD display 4 VRAM 8 ROM 8a PRG area 9 RAM 9a WORK area 9b LIST area 9c FORM area 9d TBL area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 任意の複数の属性を持つ文字データから
その属性に応じた階層を形成する階層形成手段と、該形
成された階層の構造を表わす図形を作成する図形作成手
段とを備えたことを特徴とする文字データ処理装置。
1. A hierarchy forming means for forming a hierarchy according to the attribute from character data having arbitrary plural attributes, and a figure creating means for producing a figure representing the structure of the formed hierarchy. Character data processing device characterized by.
【請求項2】 階層形成手段は文字データから階層の種
類及び数を検出し、図形作成手段はその検出結果に応じ
て図形を二次元直角座標にて作成することを特徴とする
請求項1記載の文字データ処理装置。
2. The layer forming means detects the type and number of layers from the character data, and the figure creating means creates a figure in two-dimensional rectangular coordinates according to the detection result. Character data processor.
JP8138677A 1996-05-31 1996-05-31 Character data processor Pending JPH09319745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8138677A JPH09319745A (en) 1996-05-31 1996-05-31 Character data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8138677A JPH09319745A (en) 1996-05-31 1996-05-31 Character data processor

Publications (1)

Publication Number Publication Date
JPH09319745A true JPH09319745A (en) 1997-12-12

Family

ID=15227532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8138677A Pending JPH09319745A (en) 1996-05-31 1996-05-31 Character data processor

Country Status (1)

Country Link
JP (1) JPH09319745A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000200280A (en) * 1999-01-05 2000-07-18 Nec Software Kobe Ltd Device and method for automatic generation of organization constitution information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000200280A (en) * 1999-01-05 2000-07-18 Nec Software Kobe Ltd Device and method for automatic generation of organization constitution information

Similar Documents

Publication Publication Date Title
CN1607524B (en) Method for checking multiple variable data document and computer device
JPH08235162A (en) Document preparation device
JPH07129658A (en) Layout design device
JPH0689324A (en) Tool kit and method for establishing form
JPH06251007A (en) Table data input device
JPH09319745A (en) Character data processor
JPH0419584B2 (en)
JP2004029049A (en) Gis customizing system and program
JPH0734204B2 (en) Form design system
JPH06124185A (en) Multiwindow plotting managing device
JPH06325144A (en) Layout design system
JPH07253864A (en) Image controller
JPH02116961A (en) Document preparing device
JP3014268U (en) CAD device
JP3004526U (en) Device for creating standard document including figures
JPH01290065A (en) Document processor
JPS63109577A (en) Goods allocation device on screen
JPS6349883A (en) Graphic processor
JPH09282398A (en) Object attribute setting method and electronic slips production system
JPH03176716A (en) Electronic apparatus
JPS6324477A (en) Composite document processor
JPH07295777A (en) Gui construction tool
JPH08339393A (en) Drawing control system
JPS63127371A (en) Character and image allocating device
JPH07182321A (en) Device for documentation and method for generating data

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060124