JPH0525348B2 - - Google Patents

Info

Publication number
JPH0525348B2
JPH0525348B2 JP61115093A JP11509386A JPH0525348B2 JP H0525348 B2 JPH0525348 B2 JP H0525348B2 JP 61115093 A JP61115093 A JP 61115093A JP 11509386 A JP11509386 A JP 11509386A JP H0525348 B2 JPH0525348 B2 JP H0525348B2
Authority
JP
Japan
Prior art keywords
graphic
area
data
document
section
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.)
Expired - Lifetime
Application number
JP61115093A
Other languages
Japanese (ja)
Other versions
JPS62295181A (en
Inventor
Junichiro Kubota
Tomoaki Tsukajima
Yoshuki Naganuma
Kimio Nagasawa
Masahiro Ishiba
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.)
Sanyo Electric Co Ltd
Original Assignee
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP61115093A priority Critical patent/JPS62295181A/en
Publication of JPS62295181A publication Critical patent/JPS62295181A/en
Publication of JPH0525348B2 publication Critical patent/JPH0525348B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は、文書中に複数の図形エリアを指定可
能であつて、該図形エリアに所望の図形を作成す
る図形作成機能を有するワードプロセツサに関す
る。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial application field The present invention is a word processor that can specify a plurality of graphic areas in a document and has a graphic creation function that creates a desired graphic in the graphic area. Regarding Setsa.

(ロ) 従来の技術 ワードプロセツサには、図形作成機能を有する
ものがあり、三洋製ワードプロセツサSWP−
1100のオペレーシヨンマニユアルに開示されてい
るように、文書作成中に、グラフキーあるいは図
形キー等の特定キーを操作することにより、図形
作成モードに入る。そして、図形作成モードで
は、先ず、図形を書き込むべきエリアを示す図形
エリアを、カーソルキーを用いて指定し、その
後、この図形エリア内に所望の図形を描くように
している。尚、第4図に示すように、表示画面1
では、図形エリア2は罫線で枠取りされ、図形エ
リア2内にカーソル3を移動して、上述のグラフ
キーあるいは図形キーを押すと、カーソル3は十
字の図形カーソル(クロスヘアカーソル)4に替
わる。
(b) Conventional technology Some word processors have a graphic creation function, such as Sanyo's word processor SWP-
As disclosed in the 1100 operation manual, a graphic creation mode is entered by operating a specific key such as a graph key or a graphic key during document creation. In the figure creation mode, first, a figure area indicating an area in which a figure is to be written is specified using the cursor keys, and then a desired figure is drawn within this figure area. Furthermore, as shown in Fig. 4, the display screen 1
In this case, the graphic area 2 is framed by ruled lines, and when the cursor 3 is moved within the graphic area 2 and the above-mentioned graph key or graphic key is pressed, the cursor 3 changes to a cross-shaped graphic cursor (crosshair cursor) 4.

一般に、このようなワードプロセツサにおいて
は、1文書のデータ格納領域が、第5図に示すよ
うに、文字データを記憶する文字テキスト部5
と、図形データを記憶する図形データ部6より構
成されている。
Generally, in such a word processor, the data storage area for one document is a character text section 5 that stores character data, as shown in FIG.
and a graphic data section 6 for storing graphic data.

そして、従来は、1文書内の複数の図形エリア
に、連続した図形エリアナンバーを割り当て、文
字テキスト部5においては、各図形エリアに対応
するデータエリア全体に、その図形エリアナンバ
ーを書き込み、図形データ部6には、図形エリア
毎に、描かれた円、直線等に対応する図形要素デ
ータを書き込むようにしていた。
Conventionally, consecutive graphic area numbers are assigned to a plurality of graphic areas within one document, and in the character text section 5, the graphic area number is written in the entire data area corresponding to each graphic area, and the graphic area number is In section 6, graphic element data corresponding to drawn circles, straight lines, etc. is written for each graphic area.

例えば、第6図に示すように、文書中で図形エ
リア1及び図形エリア2が指定され、図形エリア
1には円と四角が、そして、図形エリア2には円
のみが描かれたとすると、第7図に示すように、
文字テキスト部5には、図形エリア1に対応する
データエリア7全体に、図形エリアナンバーが
書き込まれ、図形エリア2に対応するデータエリ
ア8全体に、図形エリアナンバーが書き込ま
れ、図形データ部6には、図形エリア1の円及び
四角を示す図形要素データと、図形エリア2の円
を示す図形要素データがセパレータ9により分け
られて書き込まれる。尚、言うまでもないが、図
形要素データとは、円や直線等の図形の種類を示
すデータだけでなく、中心座標や半径等のデータ
を含むものである。
For example, as shown in Figure 6, if graphic area 1 and graphic area 2 are designated in the document, and a circle and a square are drawn in graphic area 1, and only a circle is drawn in graphic area 2, then As shown in Figure 7,
In the character text portion 5, a graphic area number is written in the entire data area 7 corresponding to the graphic area 1, a graphic area number is written in the entire data area 8 corresponding to the graphic area 2, and the graphic area number is written in the entire data area 7 corresponding to the graphic area 2. , graphic element data indicating circles and squares in graphic area 1 and graphic element data indicating circles in graphic area 2 are separated by a separator 9 and written. Needless to say, the graphic element data includes not only data indicating the type of figure such as a circle or a straight line, but also data such as center coordinates and radius.

(ハ) 発明が解決しようとする問題点 従来のワードプロセツサにおいては、1文書内
の複数の図形エリアに、連続した図形エリアナン
バーを付すようにしていたが、このナンバー付け
は文書毎に行なわれていたので、文書呼出を実行
して図形エリアを含む他の文書を呼出すと、呼出
された図形エリアに書込まれている図形エリアナ
ンバーが、元の文書の図形エリアナンバーと同一
になつたり、あるいは、連続しなくなるので、呼
出した図形エリアのナンバーを、連続したナンバ
ーに書き替えるという面倒なナンバー管理作業が
必要であつた。
(c) Problems to be solved by the invention In conventional word processors, consecutive graphic area numbers are assigned to multiple graphic areas within one document, but this numbering is not done for each document. Therefore, when you execute a document call and load another document containing a graphic area, the graphic area number written in the recalled graphic area may become the same as the graphic area number of the original document. Or, since the numbers are not consecutive, it is necessary to perform the troublesome number management work of rewriting the numbers of the called graphic area to consecutive numbers.

例えば、第7図において、図形エリア1と2の
間に、図形エリアナンバーが書き込まれた図形
エリア10を有する文書11を呼出すと、第8図
に示すように、その図形データ部12の内容は、
元の文書の図形データ部6に追加されるだけであ
るが、文字テキスト部13では、図形エリアナン
バーが、連続するナンバーに全て書き替えら
れて、文字テキスト部5に挿入されることとな
る。
For example, in FIG. 7, when a document 11 having a graphic area 10 between graphic areas 1 and 2 in which a graphic area number is written is called, the contents of the graphic data section 12 will be changed as shown in FIG. ,
Although it is only added to the graphic data section 6 of the original document, all the graphic area numbers in the character text section 13 are rewritten to consecutive numbers and inserted into the character text section 5.

又、図形エリアを複数指定する場合、それらの
図形エリアが重ならないように、図形エリアのサ
イズをチエツクする必要があるが、従来は、文字
テキスト部に図形エリアナンバーが単に書き込ま
れているだけであつたので、文字テキスト部の図
形エリアナンバーを検索するという面倒な作業を
行なわなければ、図形エリアのサイズをチエツク
できないという欠点があつた。
Also, when specifying multiple graphic areas, it is necessary to check the size of the graphic areas so that they do not overlap, but conventionally, the graphic area number was simply written in the text section. The problem was that the size of the graphic area could not be checked without the troublesome task of searching for the graphic area number in the text section.

(ニ) 問題点を解決するための手段 本発明は、図形データ部を、複数の図形エリア
毎に図形要素データを格納する図形要素データ格
納域と、複数の図形エリア毎に図形エリアの文書
中での位置を定義するエリア定義データを格納す
るエリア定義データ格納域とより構成すると共
に、文字テキスト部には、図形エリアの境界に対
応する位置のみに、図形エリア区切りデータを書
込むことにより、上記問題点を解決するものであ
る。
(d) Means for Solving Problems The present invention provides a graphic data storage area that stores graphic element data for each of a plurality of graphic areas, and a graphic element data storage area that stores graphic element data for each of a plurality of graphic areas. It consists of an area definition data storage area that stores area definition data that defines the position of the graphic area, and the graphic area delimiter data is written only in the position corresponding to the boundary of the graphic area in the character text part. This solves the above problems.

(ホ) 作用 本発明では、文書呼出実行時、従来の如き図形
エリアナンバーの管理が不要となつて、エリア定
義データを書き替えるという簡単な作業で済み、
又、図形エリアのサイズチエツクも、エリア定義
データをチエツクするだけで済む。
(E) Effects In the present invention, when executing a document call, there is no need to manage graphic area numbers as in the past, and the simple task of rewriting the area definition data is sufficient.
Also, checking the size of the graphic area can be done by simply checking the area definition data.

(ヘ) 実施例 第6図の文書は、従来例においては、第7図に
示すように格納されたが、本発明では、第1図に
示すように格納される。
(f) Embodiment The document shown in FIG. 6 was stored as shown in FIG. 7 in the conventional example, but in the present invention, it is stored as shown in FIG. 1.

即ち、本実施例では、第1図に示すように、文
字テキスト部5には、図形エリアの縦方向の境界
に対応する位置のみに、図形エリア区切りデータ
14が書き込まれ、この図形エリア区切りデータ
14は、従来の如く、各図形エリア個有の情報で
はなく、単に図形エリアの区切りを示す情報とし
て、各図形エリア共通に使用されるものであつ
て、罫線として表示される非印字のデータであ
る。つまり、文書区切り記号としてインデントマ
ークが用いられるように、図形の区切りを示すた
めデータ14が用いられる。
That is, in this embodiment, as shown in FIG. 1, the graphic area delimiter data 14 is written in the character text section 5 only at positions corresponding to the vertical boundaries of the graphic area. 14 is not information specific to each graphic area, as in the past, but is used in common to all graphic areas simply as information indicating divisions between graphic areas, and is non-printed data displayed as ruled lines. be. That is, just as an indent mark is used as a document delimiter, the data 14 is used to indicate the delimitation of figures.

一方、図形データ部6は、エリア定義データ格
納域15の図形要素データ格納域16から構成さ
れており、図形要素データ格納域16には、従来
と同様、各図形エリア毎に図形要素データが格納
される。エリア定義データ格納域15は、各図形
エリア毎に、各図形エリアの文書中での位置を定
義するエリア定義データを格納する領域であり、
本実施例では、図形エリアの左上端の行及び列の
座標Lと右下端の行及び列の座標Rとを対にし
て、エリア定義データ(L、R)としている。従
つて、第1図の場合、図形エリア1及び2に各々
対応して、(L1、R1)及び(L2、R2)がエリア
定義データ格納域15に格納される。
On the other hand, the graphic data section 6 is composed of a graphic element data storage area 16 of an area definition data storage area 15, and the graphic element data storage area 16 stores graphic element data for each graphic area as before. be done. The area definition data storage area 15 is an area for storing area definition data that defines the position of each graphic area in the document for each graphic area,
In this embodiment, the coordinates L of the row and column at the upper left end of the graphic area and the coordinates R of the row and column at the lower right end are paired as area definition data (L, R). Therefore, in the case of FIG. 1, (L1, R1) and (L2, R2) are stored in the area definition data storage area 15 corresponding to graphic areas 1 and 2, respectively.

そこで、図形エリア1と図形エリア2の間で、
図形エリア17を有する文書18を呼出すと、文
書呼出時に、図形データ部6については、新たな
図形エリア17の図形要素データの書込みの他
に、図形エリア2のエリア定義データを(L2、
R2)から(L4、R4)へ変更する処理と、新たな
図形エリア17のエリア定義データ(L3、R3)
を、図形エリア3のデータとして格納する処理と
が追加されるが、文字テキスト部5については、
面倒な図形エリアのナンバー管理を行なう必要が
なく、データを挿入しさえすれば良くなる。
Therefore, between figure area 1 and figure area 2,
When a document 18 having a graphic area 17 is called, in addition to writing the graphic element data of the new graphic area 17, the area definition data of the graphic area 2 is written to the graphic data section 6 (L2,
Process to change from R2) to (L4, R4) and area definition data of new graphic area 17 (L3, R3)
is added as data in the graphic area 3, but for the character text section 5,
There is no need for troublesome figure area number management; all you have to do is insert the data.

又、図形エリアのサイズチエツクは、エリア定
義データ格納域15の内容をチエツクするだけの
簡単な処理で済み、従来の如き文字テキスト部5
の検索は不要となる。
In addition, checking the size of the graphic area is as simple as checking the contents of the area definition data storage area 15, and the size check of the graphic area is as simple as checking the contents of the area definition data storage area 15.
There is no need to search for .

ところで、第3図に示すように、以上説明した
ような構成の文書は、フロツピーデイスクにて成
る文書フアイル19に記憶されており、キーボー
ド20からのキー入力に応じて、FDD21を介
して文字テキスト部5の内容はテキストメモリ2
2に読出され、図形データ部6の内容は図形デー
タメモリ23に読出される。そして、テキストメ
モリ22の文字コードはキヤラクタジエネレータ
24でドツトパターンに変換されて、ビデオ
RAM25に書込まれ、図形データメモリ23の
内容は、制御部26で演算により図形を示すドツ
トパターンに変換され、同様に、ビデオRAM2
5に書込まれ、CRTデイスプレイ27の画面に、
両パターンが合成して表示される。
By the way, as shown in FIG. 3, the document having the above-described structure is stored in a document file 19 made up of a floppy disk, and in response to key input from the keyboard 20, characters are sent via the FDD 21. The contents of text section 5 are stored in text memory 2.
2, and the contents of the graphic data section 6 are read into the graphic data memory 23. Then, the character code in the text memory 22 is converted into a dot pattern by the character generator 24, and the
The content of the graphic data memory 23 is written into the RAM 25 and converted into a dot pattern representing a graphic by a calculation in the control unit 26.
5, and on the screen of CRT display 27,
Both patterns are displayed in combination.

尚、文字テキスト部5の図形エリア内部には、
通常の文字を書くことも可能であり、この場合、
文字と図形が同時に表示される。
In addition, inside the graphic area of the character text section 5,
It is also possible to write normal characters, in this case,
Text and graphics are displayed at the same time.

(ト) 発明の効果 本発明に依れば、図形エリアのサイズチエツク
が簡単になると共に、文書呼出時に面倒な図形エ
リアナンバー管理が不要となり、システムが簡素
化される。更に、図形エリア内において、図形と
文字との合成表示を、極めて簡単に実現すること
ができる。
(G) Effects of the Invention According to the present invention, it becomes easy to check the size of a graphic area, and there is no need for troublesome graphic area number management when calling a document, thereby simplifying the system. Furthermore, it is possible to extremely easily display a composite display of graphics and characters within the graphics area.

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

第1図は本発明の実施例における文書データの
格納状況を示す説明図、第2図は実施例において
文書呼出を実行した後の文書データの格納状況を
示す説明図、第3図は実施例のハード構成を示す
ブロツク図、第4図は図形作成時の表示例を示す
図、第5図は文書データ格納領域の構成を示す説
明図、第6図は文書の一例を示す図、第7図は従
来例における文書データの格納状況を示す説明
図、第8図は従来例において文書呼出を実行した
後の文書データの格納状況を示す説明図である。 2……図形エリア、5……文字テキスト部、6
……図形データ部、15……エリア定義データ格
納域、16……図形要素データ格納域。
FIG. 1 is an explanatory diagram showing the storage status of document data in an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the storage status of document data after executing document retrieval in the embodiment, and FIG. 3 is an explanatory diagram showing the storage status of document data in the embodiment. 4 is a block diagram showing a display example when creating a figure, FIG. 5 is an explanatory diagram showing the structure of a document data storage area, FIG. 6 is a diagram showing an example of a document, and FIG. FIG. 8 is an explanatory diagram showing the storage status of document data in the conventional example, and FIG. 8 is an explanatory diagram showing the storage status of document data after document retrieval is executed in the conventional example. 2...Graphic area, 5...Character text section, 6
...Graphic data section, 15...Area definition data storage area, 16...Graphic element data storage area.

Claims (1)

【特許請求の範囲】[Claims] 1 文書データ格納領域が文字テキスト部と図形
データ部とより成り、文書中に複数の図形エリア
を指定可能な図形作成機能を有するワードプロセ
ツサにおいて、前記図形データ部を、前記複数の
図形エリア毎に図形要素データを格納する図形要
素データ格納域と、前記複数の図形エリア毎に、
図形エリアの文書中での位置を定義するエリア定
義データを格納するエリア定義データ格納域とよ
り構成すると共に、前記文字テキスト部には、前
記図形エリアの境界に対する位置のみに、図形エ
リア区切りデータを書き込むようにし、更に、デ
イスプレイに表示すべきデータを記憶するビデオ
RAMと、前記文字テキスト部に格納された文字
コードをドツトパターンに変換して前記ビデオ
RAMに書き込み、且つ、前記図形データ部に格
納された図形を表すドツトパターンを前記ビデオ
RAM上に展開する制御部とを設け、文字テキス
ト部の図形エリア内に書き込まれた文字と、該図
形エリア内の図形とを合成して表示できるように
したことを特徴とするワードプロセツサ。
1. In a word processor whose document data storage area consists of a character text section and a graphic data section, and which has a graphic creation function that allows specifying a plurality of graphic areas in a document, the graphic data section is divided into sections for each of the plurality of graphic areas. a graphic element data storage area for storing graphic element data, and a graphic element data storage area for storing graphic element data, and a
and an area definition data storage area that stores area definition data that defines the position of the graphic area in the document, and the character text section stores graphic area delimiter data only at the position relative to the boundary of the graphic area. Video to write and also store data to be displayed on the display
RAM and converts the character code stored in the character text section into a dot pattern and converts it into the video.
A dot pattern representing the figure written to the RAM and stored in the figure data section is written to the video.
A word processor comprising a control section that is developed on a RAM, and is capable of displaying a composite of characters written in a graphic area of a character text section and graphics in the graphic area.
JP61115093A 1986-05-20 1986-05-20 Word processor Granted JPS62295181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61115093A JPS62295181A (en) 1986-05-20 1986-05-20 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61115093A JPS62295181A (en) 1986-05-20 1986-05-20 Word processor

Publications (2)

Publication Number Publication Date
JPS62295181A JPS62295181A (en) 1987-12-22
JPH0525348B2 true JPH0525348B2 (en) 1993-04-12

Family

ID=14654029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61115093A Granted JPS62295181A (en) 1986-05-20 1986-05-20 Word processor

Country Status (1)

Country Link
JP (1) JPS62295181A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6118036A (en) * 1984-07-04 1986-01-25 Nec Corp Document correction system
JPS6121570A (en) * 1984-07-10 1986-01-30 Yokogawa Hokushin Electric Corp Sentence generating device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6118036A (en) * 1984-07-04 1986-01-25 Nec Corp Document correction system
JPS6121570A (en) * 1984-07-10 1986-01-30 Yokogawa Hokushin Electric Corp Sentence generating device

Also Published As

Publication number Publication date
JPS62295181A (en) 1987-12-22

Similar Documents

Publication Publication Date Title
JPH0525348B2 (en)
JPH0452476B2 (en)
JPH0522933B2 (en)
JP2994387B2 (en) Document input device
JP3016248B2 (en) Document display device
JP3067083B2 (en) Document input device
JPH01290065A (en) Document processor
JPH0338874B2 (en)
JPH048473Y2 (en)
JPH0346831B2 (en)
JPS60238969A (en) Computation control system by card page change
JP2672940B2 (en) Document processing device
JPS6095589A (en) Terminal
JPS62156768A (en) Word processor with memo function
JPH0556533B2 (en)
JPH03129518A (en) Character string display system
JPH02297279A (en) Document processor with next registration code display function
JPS60204026A (en) Chinese character data displaying system
Stallman RFC0746: SUPDUP graphics extension
JPS59117621A (en) Document editing and proofreading system
JPH02297146A (en) Information processor
Stallman SUPDUP graphics extension
JPH0685170B2 (en) Numerical item digit rounding control method
JPH0758485B2 (en) Character processor
JPS61114295A (en) Character/graphic display