JPS63184169A - Cad device - Google Patents

Cad device

Info

Publication number
JPS63184169A
JPS63184169A JP62016449A JP1644987A JPS63184169A JP S63184169 A JPS63184169 A JP S63184169A JP 62016449 A JP62016449 A JP 62016449A JP 1644987 A JP1644987 A JP 1644987A JP S63184169 A JPS63184169 A JP S63184169A
Authority
JP
Japan
Prior art keywords
text
area
text area
computer
character
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
JP62016449A
Other languages
Japanese (ja)
Inventor
Yoshihisa Miyazaki
宮崎 義久
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62016449A priority Critical patent/JPS63184169A/en
Publication of JPS63184169A publication Critical patent/JPS63184169A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently generate a technical data in which texts are combined, by performing edit so as to arrange the text in a designated text area automatically. CONSTITUTION:A character data group inputted by a character data input device is stored as a text file by a text file storage means 5. Meanwhile, the text area which displays the text by a text area designating means 6 on a drawing displayed by a display device is designated by using a coordinate reader. The edit is performed so that the text stored as the text file is arranged in the designated text area automatically by an automatic text editing means 7.

Description

【発明の詳細な説明】 〔発明の目的〕 (産業上の利用分野) 本発明は図形と文章が組み合された技術資料を作成する
CAD装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a CAD device for creating technical data in which figures and text are combined.

(従来の技術) 従来、図形と文章の組み合せからなる技術資料を作成す
るものとして2つの装置があった。1つは文章処理を主
とし、簡単な作図機能を有するワードプロセッサであり
、もう1つは図形処理を主とし、簡単な文章処理機能を
有するCAD装置である。
(Prior Art) Conventionally, there have been two devices for creating technical data consisting of a combination of figures and text. One is a word processor that mainly processes text and has a simple drawing function, and the other is a CAD device that mainly processes graphics and has a simple text processing function.

(発明が解決しようとする問題点) ワードプロセッサは文章を処理する多くの機能を有して
いるが、図形処理としては直線や円などの簡単な図形を
作図する機能を有しているにすぎない。一方、CAD装
置は長円、自由曲線等を作図する多くの作図機能を有し
ているが、文章処理としては1行ずつ文章を作成し、基
準点指定により図面中に入力したり文章作成中に改行指
定されたt!数行の文章を入力したりするなどの簡単な
処理しかできない。したがって文章の長さや基準点の位
置指定によっては図形と重なることがあった。
(Problem to be solved by the invention) Word processors have many functions for processing text, but in terms of graphical processing, they only have the ability to draw simple shapes such as straight lines and circles. . On the other hand, CAD devices have many drawing functions for drawing ellipses, free curves, etc., but for text processing, they create texts line by line, and input them into drawings by specifying reference points or while creating text. A line break was specified for t! Can only perform simple tasks such as inputting a few lines of text. Therefore, depending on the length of the text and the position of the reference point, it may overlap with the figure.

本発明は図形と文章が組み合された技術資料を効率良く
作成することのできるCAD装置を提供することを目的
とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a CAD device that can efficiently create technical data that combines figures and text.

〔発明の構成〕[Structure of the invention]

(問題点を解決するための手段) 本発明は計算機と、この計算機にコマンドおよび文字デ
ータ群 計算機に図形データを入力する図形データ入力手段と、
計算機内に記憶された図形および文字を表示する表示装
置と、この表示装置の表示画面上の点の座標を読取り、
この座標を計算機に入力する座標読取装置とを備えてい
るCAD装置において、文字データ入力装置によって入
力された文字データ群を文章ファイルとして記憶する文
章ファイル記憶手段と、表示装置によって表示された図
面の中に、座標読取装置を用い、文章を表示する文章領
域を指定する文章領域指定手段と、この文章領域指定手
段によって指定された文章領域に文章ファイル記憶手段
によって記憶された文章が自動的に配置されるように編
集を行う自動文章編集手段とを備えたことを特徴とする
(Means for Solving the Problems) The present invention includes a computer, a graphic data input means for inputting commands to the computer and graphic data to the character data group calculator,
A display device that displays figures and characters stored in the computer, and reads the coordinates of points on the display screen of this display device,
In a CAD device equipped with a coordinate reading device for inputting these coordinates into a computer, a text file storage means for storing a group of character data inputted by the character data input device as a text file, and a drawing displayed by a display device. The text area specifying means uses a coordinate reading device to specify a text area in which a text is to be displayed, and the text stored by the text file storage means is automatically placed in the text area specified by the text area specifying means. The present invention is characterized by comprising an automatic text editing means for editing the text so as to be edited.

(作 用) 文字データ入力装置によって入力された文字データ群を
文章ファイル記憶手段によって文章ファイルとして記憶
する。一方、座標読取装置を用い、表示装置によって表
示された図面の中に文章領域指定手段によって文章を表
示する文章領域を指定する。そしてこの指定された文章
領域に文章ファイルとして記憶された文章が自動的に配
置されるよう自動文章編集手段によって編集を行う。
(Function) A group of character data inputted by the character data input device is stored as a text file by the text file storage means. On the other hand, a coordinate reading device is used to designate a text area in which text is to be displayed in a drawing displayed by a display device using text area specifying means. Editing is then performed by automatic text editing means so that the text stored as a text file is automatically placed in this designated text area.

これにより本発明によれば図形と文章が組み合された技
術資料を効率良く作成することができる。
As a result, according to the present invention, technical data in which figures and text are combined can be efficiently created.

(実施例) 第2図に本発明によるCAD装置のハードの構成を示す
。このCAD装置はコマンドや文字データを入力するキ
ーボード2と、図面上の座標位置を入力するマウス3と
、入力されたデータを演算処理するCPU4aおよび処
理されたデータを保存するメモリ4bを有する計算機4
と、処理されたデータを表示するCRTIを備えている
(Embodiment) FIG. 2 shows the hardware configuration of a CAD device according to the present invention. This CAD device includes a keyboard 2 for inputting commands and character data, a mouse 3 for inputting coordinate positions on the drawing, a computer 4 having a CPU 4a for processing input data, and a memory 4b for storing processed data.
and a CRTI for displaying processed data.

第1図に、本発明によるCAD装置の文章処理機能を示
す。このCAD装置の文章処理機能はCRTIとキーボ
ード2により作成された文字コードのみの文章を、メモ
リ4bに登録する文章ファイル記憶手段5と、CRTI
上の図面の中にマウス3により順次座標指定し文章領域
を指定する文章領域指定手段6と、メモリ4bに登録さ
れている文章を文章領域指定手段6で指定された文章領
域に入るように自動編集を行なう自動文章編集手段7と
から構成される。
FIG. 1 shows the text processing function of the CAD device according to the present invention. The text processing function of this CAD device includes a text file storage means 5 for registering text with only character codes created by the CRTI and keyboard 2 in the memory 4b, and
A text area specifying means 6 that sequentially specifies the coordinates using the mouse 3 in the above drawing to specify a text area, and a text area specifying means 6 that automatically moves the text registered in the memory 4b into the text area specified by the text area specifying means 6. It is comprised of automatic text editing means 7 for editing.

文章ファイル記憶手段5でCRTIとキーボード2を使
い文字コードのみの文章を作成する。作成された文章は
、計算機4内のメモリ4bに登録される。文章領域指定
手段6では、CRTIとマウス3を使うことにより、文
章領域を指定する。
A sentence containing only character codes is created using the CRTI and keyboard 2 in the sentence file storage means 5. The created text is registered in the memory 4b within the computer 4. The text area specifying means 6 specifies a text area by using the CRTI and the mouse 3.

1つの図面中に文章領域となる閉領域はいくつでも指定
できる。第3図、第4図に文章領域の指定例を示す。第
3図と第4図は、どちらも同じ図形データの入った図面
であるとする。第3図は、1つの閉領域からなる文章領
域8を指定した例を示し、第4図は、2つの閉領域によ
り2つの文章領域9,10を指定した例を示すものであ
る。
Any number of closed areas that serve as text areas can be specified in one drawing. FIGS. 3 and 4 show examples of specifying text areas. It is assumed that FIG. 3 and FIG. 4 are both drawings containing the same graphic data. FIG. 3 shows an example in which a text area 8 consisting of one closed area is specified, and FIG. 4 shows an example in which two text areas 9 and 10 are specified by two closed areas.

第3図に示された文章領域8は点 P (X 、Y )、P2 (X2.Y2)・・・・・
・P8 (x8.Y8)で囲まれた閉領域である。
The text area 8 shown in Fig. 3 is the point P (X, Y), P2 (X2.Y2)...
- It is a closed area surrounded by P8 (x8.Y8).

ここでXl、Yl (i−1,−’8)はそれぞれ点P
1のX座標およびY座標を表す。
Here, Xl, Yl (i-1, -'8) are each point P
represents the X and Y coordinates of 1.

第4図に示された1つの文章領域9は点P1゜P2.P
7、およびP8で囲まれた閉領域であり、もう1つの文
章領域10は点p3.p4.p5、およびP6で囲まれ
た閉領域である。
One text area 9 shown in FIG. 4 is located at the point P1°P2. P
7, and P8, and another text area 10 is a closed area surrounded by points p3. p4. This is a closed region surrounded by p5 and P6.

自動文章編集手段7は、文章ファイル記憶手段5によっ
て記憶された文章を文章領域指定手段6で指定された文
章領域に入るように、自動的に文章の編集を行なう。自
動文章編集手段7の具体例のフローチャートを第5図に
示す。この自動文章編集手段7は自動改行手段11と、
行数制御手段12と、文章制御手段13とを備えている
。文章領域の横の長さと文章を表示する文字のサイズ(
横ピッチ)とに基づいて自動改行手段11によって文章
領域内に文章が入るように自動改行を行う。そして文章
領域の縦長と改行ピッチとに基づいて行数制御手段12
によって比較し、文章領域を越えないように行数を制御
する。このとき文章ファイルのどの文字までを文章領域
に出力したかを文章制御手段によって記憶しておき、次
の文章領域に続きの文字から出力できるように制御する
The automatic text editing means 7 automatically edits the text so that the text stored by the text file storage means 5 enters the text area specified by the text area specifying means 6. A flowchart of a specific example of the automatic text editing means 7 is shown in FIG. This automatic text editing means 7 includes an automatic line break means 11,
It includes a line number control means 12 and a text control means 13. The horizontal length of the text area and the font size for displaying text (
Based on the horizontal pitch), the automatic line feed means 11 performs automatic line feed so that the text enters the text area. And line number control means 12 based on the vertical length of the text area and the line feed pitch.
to control the number of lines so as not to exceed the text area. At this time, the text control means memorizes which characters of the text file have been output to the text area, and performs control so that the subsequent characters can be output to the next text area.

このように構成された自動文章編集手段7の機能を第3
図に示された文章領域8を用いて具体的に説明する。文
章領域8に文章を配置する場合、自動改行手段11によ
って文章領域8の開始点P と点P のX座標の差の絶
対値IX、−X21と文字サイズとに基づいて文章領域
を越えないように1行の文字列数を決定し、この文字列
数よりも文章が長い場合自動的に改行するように編集す
る。そして順次、点P3まで文字を配置する。
The function of the automatic text editing means 7 configured in this way is
This will be specifically explained using the text area 8 shown in the figure. When placing a text in the text area 8, the automatic line feed means 11 prevents it from exceeding the text area based on the absolute value IX, -X21 of the difference between the X coordinates of the starting point P and point P of the text area 8, and the font size. The number of character strings in one line is determined, and if the text is longer than this number of character strings, the text is edited so that line breaks are automatically inserted. Then, characters are sequentially arranged up to point P3.

この行の文字の最−L部の座標がY3以下となる場合、
点P1とP4のX座標の差の絶対値lX1−X41と文
字サイズとに基づいて、同様の処理で改行し、文字の最
下部の座標が点P8のY座標Y8以下とならないところ
まで文字を配置する。文字の最下部の座標がY8以下の
文字列は、点P7とP5のX座標の差の絶対値lX7−
X51と文字サイズとに基づいて、同様の処理にて改行
し、文字の最下部の座標が点P5のY座標Y5以下とな
らないところまで文字を配置する。
If the coordinates of the -L part of the characters in this line are less than or equal to Y3,
Based on the absolute value lX1-X41 of the difference between the X coordinates of points P1 and P4 and the character size, a line break is performed in the same way, and the characters are inserted until the bottom coordinate of the character is not less than the Y coordinate Y8 of point P8. Deploy. For character strings whose bottom coordinates are Y8 or less, the absolute value of the difference between the X coordinates of points P7 and P5 is lX7-
Based on X51 and the character size, a line break is performed in the same manner, and the characters are arranged until the bottom coordinate of the character is not less than the Y coordinate Y5 of point P5.

第4図の文章領域9.10に文章を配置する場合も同様
の処理を行なう。文章領域9の残照域が無くなった場合
、自動的に続きの文章か文章領域10に配置されるよう
に制御される。
Similar processing is performed when placing a text in the text area 9.10 of FIG. 4. When the afterglow area in the text area 9 disappears, the next text is automatically placed in the text area 10.

本実施例によれば図形と文章を別々に作成する二とがで
き、図形と文章の配置も後から任意に指定することがで
きるため、文章の入力および配置が短O,+7間で行う
ことができる。
According to this embodiment, it is possible to create figures and text separately, and the arrangement of figures and text can be specified later, so text input and arrangement can be done between short O and +7. Can be done.

なおデータ入力装置として、文字読取装置(OCR)を
用いればキーボードにより文章を作成する必要がなくな
るのでさらに文章の入力が早くなる。また文章領域と文
章ファイルの文字数を比較することにより、文章領域内
にすべての文章が配置されるように文字サイズ(文字ピ
ッチ、改行ピッチ)を自動的に決定することも本発明に
含まれることはいうまでもない。
Note that if a character reading device (OCR) is used as the data input device, there is no need to use a keyboard to create sentences, which further speeds up the input of sentences. The present invention also includes automatically determining the character size (character pitch, line break pitch) so that all sentences are placed within the text area by comparing the number of characters in the text area and the text file. Needless to say.

〔発明の効果〕〔Effect of the invention〕

本発明によれば図形と文章が組み合された技術資料を効
率良く作成することができる。
According to the present invention, it is possible to efficiently create technical data that combines figures and text.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明によるCAD装置の文章処理機能部分の
構成図、第2図は本発明によるCAD装置のハードの構
成図、第3図および第4図は文章領域の配置図、第5図
は自動文章編集手段の具体的な構成図である。 1・・・CRT、2・・・キーボード、3・・・マウス
、4・・・=1°算機、4a・・・CPU、4b・・・
メモリ、5・・・文章ファイル記憶手段、6・・・文章
領域指定手段、7・・・自動文章編集手段。 出願人代理人  佐  藤  −雄 躬1図   も2図 躬5図
FIG. 1 is a block diagram of the text processing function part of the CAD device according to the present invention, FIG. 2 is a block diagram of the hardware of the CAD device according to the present invention, FIGS. 3 and 4 are layout diagrams of the text area, and FIG. 1 is a specific configuration diagram of automatic text editing means. 1...CRT, 2...Keyboard, 3...Mouse, 4...=1° calculator, 4a...CPU, 4b...
Memory, 5... text file storage means, 6... text area designation means, 7... automatic text editing means. Applicant's agent: Sato - Yumi Figure 1 Figure 2 Figure 5

Claims (1)

【特許請求の範囲】 計算機と、この計算機にコマンドおよび文字データを入
力する文字データ入力装置と、前記計算機に図形データ
を入力する図形データ入力手段と、前記計算機内に記憶
された図形および文字を表示する表示装置と、この表示
装置の表示画面上の点の座標を読取り、この座標を前記
計算機に入力する座標読取装置とを備えているCAD装
置において、 前記文字データ入力装置によって入力された文字データ
群を文章ファイルとして記憶する文章ファイル記憶手段
と、前記表示装置によって表示された図面の中に、前記
座標読取装置を用い、文章を表示する文章領域を指定す
る文章領域指定手段と、この文章領域指定手段によって
指定された文章領域に前記文章ファイル記憶手段によっ
て記憶された文章が自動的に配置されるように編集を行
う自動文章編集手段とを備えたことを特徴とするCAD
装置。
[Scope of Claims] A computer, a character data input device for inputting commands and character data into the computer, a graphic data input means for inputting graphic data into the computer, and a graphic data input device for inputting graphic data and characters stored in the computer. In a CAD device, the CAD device is equipped with a display device for displaying a display, and a coordinate reading device for reading the coordinates of a point on the display screen of the display device and inputting the coordinates into the computer, the characters input by the character data input device. text file storage means for storing a data group as a text file; text area specifying means for specifying a text area in which a text is to be displayed using the coordinate reading device in the drawing displayed by the display device; A CAD characterized by comprising automatic text editing means for editing so that the text stored by the text file storage means is automatically placed in the text area specified by the area specifying means.
Device.
JP62016449A 1987-01-27 1987-01-27 Cad device Pending JPS63184169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62016449A JPS63184169A (en) 1987-01-27 1987-01-27 Cad device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62016449A JPS63184169A (en) 1987-01-27 1987-01-27 Cad device

Publications (1)

Publication Number Publication Date
JPS63184169A true JPS63184169A (en) 1988-07-29

Family

ID=11916552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62016449A Pending JPS63184169A (en) 1987-01-27 1987-01-27 Cad device

Country Status (1)

Country Link
JP (1) JPS63184169A (en)

Similar Documents

Publication Publication Date Title
JPH0527880B2 (en)
KR940022322A (en) Display method and device
JP3524987B2 (en) Display screen creation device
JPS63184169A (en) Cad device
JPS6215670A (en) Editing system for intra-graphic character string
JP2663967B2 (en) Information storage control method
JP3345142B2 (en) Document processing device with ruled line display function
JPH08272994A (en) Device and method for information processing
JP2921975B2 (en) Handwritten document creation device
JP2616427B2 (en) String display device
JPH0525115B2 (en)
JP2655900B2 (en) Character processor
JPH01280866A (en) Japanese word processing system
JPH0528434B2 (en)
JP2860024B2 (en) Text editing device
JP2523003B2 (en) Graphic fair copy method
JP2889760B2 (en) An electronic typesetting device that combines characters and figures
JP2616426B2 (en) String display device
JPH0610447Y2 (en) Image processing device
JPH05216877A (en) Document preparation device
JPH04367969A (en) Information display processor
JPH053007B2 (en)
JPH03294957A (en) Sentence generating device
JPH0314168A (en) Character processor
JPH01282679A (en) Cad system