JPH038089A - Automatic graph preparing device - Google Patents

Automatic graph preparing device

Info

Publication number
JPH038089A
JPH038089A JP1098337A JP9833789A JPH038089A JP H038089 A JPH038089 A JP H038089A JP 1098337 A JP1098337 A JP 1098337A JP 9833789 A JP9833789 A JP 9833789A JP H038089 A JPH038089 A JP H038089A
Authority
JP
Japan
Prior art keywords
data
graph
section
document
storing part
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
JP1098337A
Other languages
Japanese (ja)
Inventor
Takeshi Inoue
武志 井上
Yutaka Nakamatsu
豊 中松
Kouichirou Uchigata
内潟 浩一郎
Masahiro Ishiba
石場 正大
Kimio Nagasawa
長沢 喜美男
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.)
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Original Assignee
Tokyo Sanyo Electric Co Ltd
Tottori Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Sanyo Electric Co Ltd, Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP1098337A priority Critical patent/JPH038089A/en
Publication of JPH038089A publication Critical patent/JPH038089A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To simplify operation for preparing a graph by providing a document storing part to store document data including ruled line data, graph data deciding part, which selects and converts numerical data into a table based on the data in the storing part, and graph preparing part. CONSTITUTION:When a graph preparation key is inputted by an input part 1, the inside of a document storing part 2 is retrieved through a main control part 4 and a graph data deciding part 5 and reference positions A-D of a table 11 are found out. Afterwards, based on these reference positions A-D, item data and numerical data in the table 11 are read and stored in a graph data storing part 6. Next, the deciding part 5 outputs a graph preparing signal on a line (b). The signal is inputted to a graph preparing part 7 and based on the data in the storing part 6, for example, a polygonal line graph 12 corresponding to the inside of the storing part 2 is written to an arbitrarily designated position and can be displayed through a display control part 9 to a display part 8 together with the data in the storing part.

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は自動グラフ作成装置に関する。[Detailed description of the invention] (b) Industrial application fields The present invention relates to an automatic graph creation device.

(ロ)従来の技術 現在、ワードプロセッサ等において、付加機能として自
動グラフ作成機能を有したものが商品化されている。
(B) Prior Art Currently, word processors and the like that have an automatic graph creation function as an additional function are commercialized.

断る機能は、三洋電機(株)製日本語ワードプロセッサ
S W P −3400のオペレーションマニュアル等
に開示されている如く、文書作成中に入力された例えば
第6図に示す様な表を基にグラフを自動的に作成するも
のである。
As disclosed in the operation manual of the Japanese word processor SWP-3400 manufactured by Sanyo Electric Co., Ltd., the function to decline is to create a graph based on a table, such as the one shown in Figure 6, input during document creation. It is automatically created.

具体的には、まず上記表中の項目データ(100)を指
定し、次いで数値データ(200)を指定することによ
り、表中の項目データと数値データとを分離せしめ、断
る分離された数値データに基づいてグラフを作成する様
に構成されている。
Specifically, by first specifying the item data (100) in the table above and then specifying the numerical data (200), the item data and numerical data in the table are separated, and the separated numerical data is rejected. It is configured to create graphs based on.

(ハ)発明が解決しようとする課題 この様に、従来の装置では表中の項目データと数値デー
タとを分離するために個々の項目を指定する必要があり
操作が煩雑となっていた。
(c) Problems to be Solved by the Invention As described above, in the conventional device, in order to separate item data and numerical data in a table, it was necessary to specify each item, making the operation complicated.

(ニ)  課題を解決するための手段 本発明は斯る点に鑑みてなされたもので、その構成的特
徴は、文書中で罫線を用いて作成された表を基に自動的
にグラフを作成する装置であって、表を規定する罫線デ
ータを含む文書データが格納される文書記憶部、該文書
記憶部中の罫線データを基に上記表中に数値データを選
択するグラフデータ判定部、該判定部により選択された
数値データをグラフデータに変換するグラフ作成部を備
えたことにある。
(d) Means for Solving the Problems The present invention has been made in view of the above points, and its structural feature is that a graph is automatically created based on a table created using ruled lines in a document. The apparatus comprises: a document storage section in which document data including ruled line data defining a table is stored; a graph data determination section that selects numerical data in the table based on the ruled line data in the document storage section; The present invention includes a graph creation section that converts the numerical data selected by the determination section into graph data.

(ホ)作用 上記構成によればグラフ作成の操作が簡素化できる。(e) Effect According to the above configuration, the graph creation operation can be simplified.

(へ) 実施例 第1図は、本発明の実施例を示すブロック図であり、図
中(1)は入力部であり、該入力部は文字、数字及び罫
線等の文書データを入力するためキー、カーソル移動キ
ー及びグラフ作成を指示するグラフ作成キーを有する。
(F) Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, (1) is an input section, and the input section is for inputting document data such as letters, numbers, and ruled lines. key, a cursor movement key, and a graph creation key for instructing graph creation.

(2)は文書データを格納する文書記憶部、(3)はカ
ーソル位置記憶部であり、該記憶部には上記文書記憶部
(2)中のデータに関連した位置データが格納される。
(2) is a document storage section that stores document data, and (3) is a cursor position storage section, in which position data related to the data in the document storage section (2) is stored.

(4>、。(4>,.

は例工ばマイクロコンピュータからなる主制御部であり
、該制御部は入力部(1)からの入力に基づいて各部の
制御を司る。具体的には、文書データ入カキ−が入力さ
れると斯る入カキ−に応答して文書記憶部(2)中のデ
ータを変更し、また、カーソル移動キーが入力されると
カーソル位置記憶部(3)中の位置データを更新する。
is a main control section consisting of, for example, a microcomputer, and this control section controls each section based on input from the input section (1). Specifically, when a document data input key is input, the data in the document storage section (2) is changed in response to the input key, and when a cursor movement key is input, the cursor position is stored. Update the position data in section (3).

更に、グラフ作成キー人力されるとラインa上にグラフ
データ判定信号を出力する。
Further, when the graph creation key is pressed manually, a graph data determination signal is output on line a.

(5)はグラフデータ判定部であり、該判定部はグラフ
データ判定信号が入力されると、後述する様にカーソル
位置記憶部(3)中のデータ及び文書記憶部(2)中の
データに基づいて文書データとして格納された表中より
項目データ及び斯るデータに対応する数値データを判別
すると共に、斯る判別が終了するとラインa上にグラフ
作成信号を出力する。(6)はグラフデータ記憶部であ
り、該記憶部は上記判定部(5)で判別きれた項目デー
タ及び数値データを格納する。(7)はグラフ作成部で
あり、該作成部はグラフ作成信号に応答してグラフデー
タ記憶部(6)中のデータに基づき文書記憶部(2)に
対応するグラフを示すデータを格納する。
(5) is a graph data judgment unit, and when a graph data judgment signal is input, this judgment unit converts the data in the cursor position storage unit (3) and the data in the document storage unit (2) as described later. Based on the table data stored as document data, item data and numerical data corresponding to the data are discriminated, and when such discrimination is completed, a graph creation signal is output on line a. (6) is a graph data storage section, and this storage section stores the item data and numerical data that have been determined by the determination section (5). Reference numeral (7) denotes a graph creation section, which stores data representing a corresponding graph in the document storage section (2) based on the data in the graph data storage section (6) in response to a graph creation signal.

(8)は例えばCRT、LCD等からなる表示部、(9
)は表示制御部であり、該制御部は文書記憶部(2)中
のデータを表示部(8ンに表示すると共にカーソル位置
記憶部(3)中のデータと対応する位置にカーソルを表
示する。
(8) is a display unit consisting of, for example, CRT, LCD, etc.;
) is a display control unit, which displays the data in the document storage unit (2) on the display unit (8) and displays a cursor at a position corresponding to the data in the cursor position storage unit (3). .

第2図は、グラフデータ判定部(5)の動作を示すフロ
ーチャートであり、該チャートに基づいて一へ体例の動
作を説明する。
FIG. 2 is a flowchart showing the operation of the graph data determination section (5), and the operation of the one-helical field example will be explained based on this chart.

今、第3図に示す如く表示部(8)上に文書データ及び
カーソル(10)が表示されているとする。
It is now assumed that document data and a cursor (10) are displayed on the display section (8) as shown in FIG.

尚、第3図中の表(11)は文書記憶部(2)内では第
4図に示す如く各文字及び罫線が破線枠で囲まれた排口
を一文字単位として格納されている。また、各データの
位置は第3図及び第4図に示す如<<x、yンで表わξ
れる。
Note that the table (11) in FIG. 3 is stored in the document storage unit (2) in units of characters, with each character and ruled line surrounded by a broken line frame, as shown in FIG. In addition, the position of each data is represented by <<x, y as shown in Figures 3 and 4.
It will be done.

断る状態において、入力部(1)でグラフ作成キーが入
力されると、これに応答して主制御部(4)−はライン
a上にグラフデータ判定信号を出力する。従って、グラ
フデータ判定部(5)はまず第2図の81ステツプにお
いて、文書記憶部(2)中を検索することにより表(1
1)の基準位置を見出す。
When the graph creation key is inputted at the input section (1) in the declining state, in response, the main control section (4) outputs a graph data determination signal on line a. Therefore, the graph data determination unit (5) first searches the document storage unit (2) at step 81 in FIG.
1) Find the reference position.

斯る基準位置とは、第3図中において基準点A〜Dとし
て示す如く表(11)の左上点、右上点、数値f−夕の
格納される領域の左上点及び表(11)の右下点である
。また、上記各点の検索は、第3図及び第4図により明
らかな様に各点が表(11)を構成する罫線データの「
「4、「1」、「ト1、「、J、が位置する点である所
に注目して行なう、即ち、文書記憶部(2)中において
、カーソル位置記憶部(3)中の位置データに対応する
位置を始点とし、各行を水平方向(X方向)に走査しな
がら上記各罫線データが初めに現れた位置を上記基準点
A−Dとして記憶する。
These reference positions are the upper left point, the upper right point of table (11), the upper left point of the area where the numerical value f is stored, and the right point of table (11), as shown as reference points A to D in FIG. It is the lowest point. In addition, as shown in Figures 3 and 4, the above search for each point is performed using "
This is done by paying attention to the point where ``4, ``1'', ``T1, ``, J'' is located, that is, the position data in the cursor position storage unit (3) in the document storage unit (2). The position corresponding to is set as the starting point, and while each row is scanned in the horizontal direction (X direction), the position where each of the ruled line data first appears is stored as the reference point A-D.

その後、S2ステツプにおいて上記基準点A〜Dを基に
表(11)中の項目データ及び数値データを読出しグラ
フデータ記憶部(6)に格納する。
Thereafter, in step S2, the item data and numerical data in the table (11) are read out based on the reference points A to D and stored in the graph data storage section (6).

具体的には、今基準点A−Dの位置が夫々(Xos、Y
Ds)、(Xot、 Ypt)、(Xss、Yss)、
(X st、 Y iw)で表わされるとすると、まず
基準点A、Bの位置データを基に(Y□+1)行の(X
□+1)列乃至XDE列を順次走査し、罫線データ「1
.により区分けされた文書データを項目デ−タとじて読
出し、グラフデータ記憶部(6)に格納する。従って、
本実施例では項目データとして1項目1」、1項目2」
、1項目3」が格納される。次いで、数値データの読出
しを行なうが、斯る読出しは、基準点C,Dの位置デー
タを基に(Yis+1)列乃至(Yst−1>行の各行
の(Xss+1)列乃至Xst列を順次走査し、罫線デ
ータ「1ノにより区分けされた文書データを数値データ
として読出し、左記に読出きれた項目データに対応づけ
てグラフデータ記憶部(6)に格納する。
Specifically, the positions of the current reference points A-D are respectively (Xos, Y
Ds), (Xot, Ypt), (Xss, Yss),
If it is expressed as (X st, Y iw), first, based on the position data of reference points A and B, (X
□+1) column to XDE column are sequentially scanned, and the ruled line data “1”
.. The document data divided by the above are read out as item data and stored in the graph data storage section (6). Therefore,
In this example, the item data is 1 item 1", 1 item 2"
, 1 item 3'' are stored. Next, the numerical data is read out by sequentially scanning the (Xss+1) column to the Xst column of each row from (Yis+1) column to (Yst-1> row) based on the position data of the reference points C and D. Then, the document data divided by the ruled line data "1" is read out as numerical data and stored in the graph data storage unit (6) in association with the item data that has been read out as shown on the left.

斯る対応づけは、各行の走査により読出されるデータの
読出し順が一致するものが夫々対応しているものとして
行なわれる。従って、本実施例では、項目ブーツ1項目
1」に対応する数値データとしては’too、、「50
」、’100Jが、また項目ブーツ1項目2」に対応す
る数値データとしては「50」、1″100」、’15
0Jが更に項目ブーツ1項目3.に対応する数値データ
としては’200J、’150.、’100」が夫々グ
ラフデータ記憶部(6)に格納される。
Such correspondence is performed on the assumption that data read out by scanning each row whose reading order matches each other corresponds to each other. Therefore, in this embodiment, the numerical data corresponding to "Item Boot 1 Item 1" is 'too,', '50
”, '100J', and the numerical data corresponding to "Item Boots 1 Item 2" are "50", 1"100", '15
0J has additional item boots 1 item 3. The numerical data corresponding to '200J, '150. , '100' are respectively stored in the graph data storage unit (6).

上記S2ステツプが終了すると処理はS3ステツプに進
む。斯るS3ステツプではラインb上にグラフ作成信号
を出力する。これによりグラフデータ判定部(5)の一
連の動作は終了することとなる。
When the step S2 is completed, the process proceeds to step S3. In step S3, a graphing signal is output on line b. This ends the series of operations of the graph data determining section (5).

上記ラインb上に出力きれたグラフ作成信号はグラフ作
成部(7)に入力する。従って、斯るグラフ作成部(7
)はグラフデータ記憶部(6)中の格納データに基づい
て文書記憶部(2)中に対応する例えば折線グラフを書
込む、尚、斯るグラフ書込みは、「従来例の技術、の項
で挙げた5WP−3400等において周知であるので詳
細は省略する。
The graphing signal outputted onto the line b is input to the graphing section (7). Therefore, the graph creation section (7
) writes a corresponding, for example, a line graph in the document storage unit (2) based on the data stored in the graph data storage unit (6). Such graph writing is described in the section “Prior Art”. Since the above-mentioned 5WP-3400 and the like are well known, details will be omitted.

この様にして文書記憶部(2)に書込まれたグラフも既
格納済の文書データと共に表示制御部(9)により表示
部(8)に表示される。従って、表示部(8)の表示内
容は第5図に示す如く変更されることとなる。尚、本実
施例では表示部(8ン上のグラフ(12)の表示位置を
表(11)の右下としたが、この様な位置は任意に指定
可能とすることができる。
The graph written in the document storage section (2) in this manner is also displayed on the display section (8) by the display control section (9) together with the already stored document data. Therefore, the display content on the display section (8) will be changed as shown in FIG. In this embodiment, the display position of the graph (12) on the display section (8th column) was set to the lower right of the table (11), but such a position can be specified arbitrarily.

(ト)発明の効果 本発明によれば、表からグラフを作成する際に、表中の
項目及び数値データの指示が不要となるので、操作性が
向上する。
(g) Effects of the Invention According to the present invention, when creating a graph from a table, there is no need to specify items and numerical data in the table, so operability is improved.

【図面の簡単な説明】 第1図は本発明の実施例を示すブロック図、第2図は本
実施例のグラフデータ判定部の動作を示すフローチャー
ト、第3図及び第5図は本実施例の表示部の表示状態を
示す模式図、第4図は本発明の文書記憶部中の記憶状態
を示す模式図、第6図は従来例を説明するための模式図
である。 (1)・・・入力部、(2)・・・文書記憶部、(5)
・・・グラフデータ判定部、(7)・・・グラフ作成部
。 第2図 第6図
[Brief Description of the Drawings] Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a flowchart showing the operation of the graph data determination section of this embodiment, and Figs. 3 and 5 are this embodiment. FIG. 4 is a schematic diagram showing the display state of the display section of the present invention, FIG. 4 is a schematic diagram showing the storage state in the document storage section of the present invention, and FIG. 6 is a schematic diagram for explaining a conventional example. (1)...Input section, (2)...Document storage section, (5)
...Graph data determination section, (7)...Graph creation section. Figure 2 Figure 6

Claims (1)

【特許請求の範囲】[Claims] (1)文書中で罫線を用いて作成された表を基に自動的
にグラフを作成する装置であって、表を規定する罫線デ
ータを含む文書データが格納される文書記憶部、該文書
記憶部中の罫線データを基に上記表中の数値データを選
択するグラフデータ判定部、該判定部により選択された
数値データをグラフデータに変換するグラフ作成部を備
えたことを特徴とする自動グラフ作成装置。
(1) A device that automatically creates a graph based on a table created using ruled lines in a document, a document storage unit in which document data including ruled line data defining the table is stored; An automatic graph comprising: a graph data determining section that selects the numerical data in the table based on the ruled line data in the section; and a graph creating section that converts the numerical data selected by the determining section into graph data. Creation device.
JP1098337A 1989-04-18 1989-04-18 Automatic graph preparing device Pending JPH038089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1098337A JPH038089A (en) 1989-04-18 1989-04-18 Automatic graph preparing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1098337A JPH038089A (en) 1989-04-18 1989-04-18 Automatic graph preparing device

Publications (1)

Publication Number Publication Date
JPH038089A true JPH038089A (en) 1991-01-16

Family

ID=14217089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1098337A Pending JPH038089A (en) 1989-04-18 1989-04-18 Automatic graph preparing device

Country Status (1)

Country Link
JP (1) JPH038089A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013532316A (en) * 2010-04-30 2013-08-15 マイクロソフト コーポレーション Spin control user interface for selecting options

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298566A (en) * 1987-05-29 1988-12-06 Fujitsu Ltd Automatic retrieval processing for calculating/repeating range

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298566A (en) * 1987-05-29 1988-12-06 Fujitsu Ltd Automatic retrieval processing for calculating/repeating range

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013532316A (en) * 2010-04-30 2013-08-15 マイクロソフト コーポレーション Spin control user interface for selecting options

Similar Documents

Publication Publication Date Title
JPH06337896A (en) Device and method for retrieving electronic book display
JP3389876B2 (en) Character string display control device
JPH038089A (en) Automatic graph preparing device
JPH0565905B2 (en)
JP2975981B2 (en) Image search method
JP2845897B2 (en) Document search / display method and apparatus
JPH01118190A (en) Information processor
JPH0713687A (en) Handwriting input device
JP2985324B2 (en) Table support device
JPH05210656A (en) Document preparing machine
JP2760620B2 (en) Ruled line additional creation device
JP2708922B2 (en) Document creation device
KR100803582B1 (en) Image processing apparatus capable of studying and method thereof
JP2752727B2 (en) Display information processing device
JP2787021B2 (en) Document editing device
JPH07200625A (en) Electronic file device
JPS63254557A (en) Character processor
JPH08221444A (en) Paging retrieval device
JPH08147302A (en) Index detection method for document processor
JPH0764975A (en) Document preparing device and page calling method
JPH02267671A (en) Retrieval display device for table format database
JPH04190390A (en) Data display device for multi-window
JPS63233475A (en) Image retrieving device
JPH0581275A (en) Document forming device
JPS6386010A (en) Input system for document processing system