JPS6215670A - Editing system for intra-graphic character string - Google Patents

Editing system for intra-graphic character string

Info

Publication number
JPS6215670A
JPS6215670A JP60153993A JP15399385A JPS6215670A JP S6215670 A JPS6215670 A JP S6215670A JP 60153993 A JP60153993 A JP 60153993A JP 15399385 A JP15399385 A JP 15399385A JP S6215670 A JPS6215670 A JP S6215670A
Authority
JP
Japan
Prior art keywords
character string
character
data
string
closed
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
Application number
JP60153993A
Other languages
Japanese (ja)
Other versions
JPH0827843B2 (en
Inventor
Tetsuo Iwamoto
岩本 哲夫
Michihiro Mese
目瀬 道弘
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60153993A priority Critical patent/JPH0827843B2/en
Publication of JPS6215670A publication Critical patent/JPS6215670A/en
Publication of JPH0827843B2 publication Critical patent/JPH0827843B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To completely store a character string within a closed pattern by calculating the distributing position of each character to display again these characters at each calculated position when the closed pattern is deformed or the distributing start point of the character string is changed. CONSTITUTION:When a closed pattern is deformed, the new coordinate data is fetched and the apex coordinates of the graphic data on a graphic table are changed. Then the closed pattern is changed into a closed pattern 100 and displayed on a (CRT) 4. While the position of the character string which is inclined in the pattern 100 and can be arranged is obtained from the type 52 of the character, the character pitch 53, the line pitch 54 and the X and Y coordinates 56 and 57 of character string start point which are included in the data 43 on a character string of a character table 40 as well as the form data of the pattern 100. This obtained position of the character string is displayed on the CRT 4 in the form of rectangles 101 shown by broken lines. Then the data 43 on the character string is set again at the distributable position of the character string and displayed on the CRT 4. In such a way, the re-editing job is possible so that the character string is included automatically within the pattern 100 of an optional form.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、情報処理装置において文字1図形画像を含む
文書を作成する場合のその作成方式に係り、特にプレゼ
ンテーシ1ン用文書の文字列編集方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a method for creating a document including one character graphic image in an information processing device, and particularly relates to character string editing of a presentation screen document. Regarding the method.

〔発明の背景〕[Background of the invention]

従来、ワードプロセッサでは、ブロック編集と呼ばれる
機能が実現されている。これは、ケイ線や書式、または
行形式の変更によって生じた境界で分割された矩形の区
画をブロックと呼び、そのブロックの範囲内で文字列の
入力・編集を行なう機能である。しかし、プロ、り編集
1では、矩形領域しか定義することができず、しかも、
ブロックの形状を変更しても、すでに定義された文字列
の配置は変更費きない。ところが、プレゼンテーシ冒ン
文誉では、矩形だけでな(円、多角形などの図形を含む
ため、事実上、ブロック編集機能が使えず、図形の変更
や、文′字列の変更に応じて、文字列を数文字単位に編
集し直していた。このため、文字列の編集に時間がかか
るという問題があった。
Conventionally, word processors have implemented a function called block editing. This is a function that allows you to input and edit character strings within the range of blocks, which are called blocks, which are rectangular sections divided by boundaries caused by changes in lines, formats, or line formats. However, in Pro Edit 1, only rectangular areas can be defined, and furthermore,
Even if you change the shape of the block, there is no need to change the arrangement of already defined strings. However, in Presentation Enbunyo, the block editing function cannot be used because it includes shapes such as not only rectangles (circles, polygons, etc.), , the string was re-edited in units of several characters.Therefore, there was a problem in that it took time to edit the string.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記の欠点、すなわち、任意形状の閉
図形内で文字列編集が行なえないという問題点を解消す
る図形同文字列編集方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a figure-same character string editing method that solves the above-mentioned drawback, namely, that character strings cannot be edited within a closed figure of arbitrary shape.

〔発明の概要〕[Summary of the invention]

本発明は、上記目的を達成するために、文書を作成する
情報処理装置において、文字列データと文字列を入れる
閉図形データ、文字列を配置する始点位置のデータを対
応をとって別々に管理し、対応するこれらのデータが変
更されるごとに、文字列が閉図形内に含まれるかどうか
なチェックし、閉図形外にあれば改行して、次の行に移
して再チェックをすることを繰り返して、文字列の再配
置を必要な部分だけ行なうものである。
In order to achieve the above object, the present invention separately manages character string data, closed figure data into which the character string is placed, and data on the starting point position where the character string is placed in an information processing apparatus that creates a document. Then, each time these corresponding data are changed, check whether the string is included within the closed shape, and if it is outside the closed shape, insert a line break, move to the next line, and recheck. is repeated to rearrange the string only as needed.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例を示すための文書作成装置
のブロック図である。
FIG. 1 is a block diagram of a document creation device to illustrate one embodiment of the present invention.

1はプログラムやデータを格納するファイル、2はメモ
リ、5は中央処理装置(CPU)、4は作成された図形
や文字を含む文書を表示するためのディスプレイ、5は
キーボード、6はマウスあるいはタブレットなどのボイ
ンティング入力装置である。
1 is a file that stores programs and data, 2 is a memory, 5 is a central processing unit (CPU), 4 is a display for displaying documents containing created figures and characters, 5 is a keyboard, and 6 is a mouse or tablet It is a pointing input device such as.

第2図は、第1図の装置を用いて、文書を作成している
時の斜視図である。
FIG. 2 is a perspective view of a document being created using the apparatus shown in FIG.

第2図の7は使用者、8は文書を作成する時に用いるメ
ニーー、9はボインティング入力装置6の画面上の位置
を示すカーソル、1oはボインティング入力装置6で定
義された多角形の閉図形を示したものであり、その他の
番号は第1図と同じものを表わす。
In FIG. 2, 7 is a user, 8 is a menu used when creating a document, 9 is a cursor that indicates the position of the pointing input device 6 on the screen, and 1o is a closed polygon defined by the pointing input device 6. Figures are shown, and the other numbers represent the same things as in FIG. 1.

次に、閉図形10を定義し、その図形内に文字列を入力
・編集する方法について説明する。この処理フローを説
明する前に、使用するテーブルについて、まず説明する
Next, a method for defining a closed figure 10 and inputting and editing a character string within the figure will be explained. Before explaining this processing flow, the tables used will first be explained.

第5図は、定義された固形データを保存するための図形
テーブル2oである。図形テーブル2゜では図形1のデ
ータ21、図形2のデータ22.・・・図形iのデータ
25・・・というように、各図形を表わすデータが可変
長で保存されている。各図形データは、図形の有効/無
効を示すフラグ50゜図形データのレコード長51、多
角形、円などの図形のタイプ52、図形の色コード55
、図形を定義する点の数(3・)54、点1のX座標5
5、点1゛のX座標56.・・・、点ル・のX座標37
、点ηのX座標58から構成されている。例えば、図形
のタイプ52が多角形の場合、図形データ25は点1か
ら点恥を頂点とする多角形を表わすことになる。
FIG. 5 shows a graphic table 2o for storing defined solid data. In figure table 2°, data 21 for figure 1, data 22 for figure 2. . . . Data 25 for figure i... Data representing each figure is stored in a variable length. Each figure data includes a flag 50 to indicate whether the figure is valid or invalid, a figure data record length 51, a figure type 52 such as polygon or circle, and a figure color code 55.
, number of points defining the figure (3.) 54, X coordinate of point 1 5
5. X coordinate of point 1゛56. ..., X coordinate of point Le 37
, the X coordinate 58 of point η. For example, if the graphic type 52 is a polygon, the graphic data 25 represents a polygon whose vertices are from point 1 to point 1.

第4図は、定義された閉図形内に入れる文字列データを
保存するための文字列テーブル40である。文字列テー
ブル40では、図形テーブル20と同様に、文字列1の
データ41、文字列2のデータ42.・・・、文字列j
のデータ45・・・というように、各文字列を表わすデ
ータが可変長で保存されている。各文字列データは、文
字列の有効/無効を示すフラグ50、文字列データのレ
コード長51、文字の大ぎさを示す文字タイプ52、文
字と文字との間隔を示す文字間隔55、行間隔54゜当
該文字列が含まれる図形扁55、文字列始点X座標56
、同Y座標57、文字列の色コード58、文字列の文字
数(mi )59、文字1のコード60.・・・、文字
mjのコード61から構成されている。
FIG. 4 shows a character string table 40 for storing character string data to be inserted into a defined closed figure. In the character string table 40, similarly to the graphic table 20, data 41 for character string 1, data 42 for character string 2, etc. ..., string j
Data 45 . . . , data representing each character string is stored in a variable length. Each character string data includes a flag 50 indicating whether the character string is valid/invalid, a record length 51 of the character string data, a character type 52 indicating the size of the characters, a character spacing 55 indicating the spacing between characters, and a line spacing 54.゜Graphic plane 55 that includes the character string, character string starting point X coordinate 56
, the same Y coordinate 57, the color code of the character string 58, the number of characters in the character string (mi) 59, the code of character 1 60. ..., the code 61 of the letter mj.

次に、上記の2つのテーブルを使って、第5図に従って
処理フローを説明する。
Next, the processing flow will be explained according to FIG. 5 using the above two tables.

ブロック70へ74=ブロツク70で本処理を開始する
。ブロック71で閉図形を定義する。閉図形定義の例と
して、第6図に示す多角形90を例に説明する。まず、
使用者7はボインティング人力装置6でメニュー8の中
から、多角形を定義するためのメニュー項目14を指示
した後、多角形90を構成する頂点91〜95を指示す
る。図形メニューとして、これ以外にも直線12、円1
5等が考えられる。ブロック72では、ブロック71で
指示された図形タイプ14と多角形90を構成する頂点
91〜95のデータをテーブル20の図形−のデータ2
5のそれぞれに対応する項目に保存し、ディスプレイ4
上に多角形90として表示する。ブロック75では、利
用者7はボインティング入力装置6でメニー−8の中か
ら、文字を定義するメニュー項目11を指示した後、文
字列の始点位置96を指示する。ブロック74では、ブ
ロック75で指示された始点位置96と現在設定されて
いる文字のタイプ、文字間隔、行間隔属性データを用い
て、まず、文字列テーブルの文字列データ45として、
それぞれ対応する項目に保存し、次に閉図形90内に含
まれ配置可能な文字列位置を求め、ディスプレイ4上に
破線矩形97として表示する。
To block 70 74=The process begins at block 70. Block 71 defines a closed figure. As an example of closed figure definition, a polygon 90 shown in FIG. 6 will be explained as an example. first,
The user 7 uses the pointing device 6 to specify the menu item 14 for defining a polygon from the menu 8, and then specifies the vertices 91 to 95 constituting the polygon 90. In addition to this, there are 12 straight lines and 1 circle as shape menus.
5th grade is possible. In block 72, the data of the figure type 14 specified in block 71 and the vertices 91 to 95 constituting the polygon 90 are transferred to the figure data 2 of the table 20.
Save it in the item corresponding to each of 5 and display 4.
It is displayed as a polygon 90 on the top. In block 75, the user 7 uses the pointing input device 6 to specify a menu item 11 that defines a character from the menu 8, and then specifies the starting position 96 of the character string. In block 74, using the starting point position 96 specified in block 75 and the currently set character type, character spacing, and line spacing attribute data, first, as character string data 45 in the character string table,
Each character string is stored in the corresponding item, and then the position of the character string that can be placed within the closed figure 90 is determined and displayed as a broken line rectangle 97 on the display 4.

ブロック75〜77:ブロック75で使用者7はキーボ
ード5より、ブロック74で求めた文字列の配置可能な
位置97上に置く文字列を入力・編集する。編集は、使
用者7がポインティング入力装置6でメニー−8の訂正
15、削除16、挿入17のいずれかの項目を指示した
後、編集対象の部分文字列を指示して行なう。ブロック
76では、ブロック75で入力・編集された文字列98
を文字列テーブルの文字列コードデータ60〜61とし
て保存し、文字列の配置可能な位置97上に順番に配置
し表示する。ブロック77では、使用者7は文字列の入
力・編集を終了するかを判断ず金。
Blocks 75 to 77: In block 75, the user 7 uses the keyboard 5 to input and edit a character string to be placed on the position 97 where the character string determined in block 74 can be placed. Editing is performed by the user 7 using the pointing input device 6 to specify any one of correction 15, deletion 16, and insertion 17 of menu-8, and then specifying a partial character string to be edited. In block 76, the character string 98 entered/edited in block 75 is
are stored as character string code data 60 to 61 in the character string table, and are arranged and displayed in order on positions 97 where character strings can be placed. In block 77, the user 7 does not decide whether to finish inputting/editing the character string.

終了する場合にはブロック7Bへ行く、文字列の始点位
置を変更する場合にはブロック75へ、文字列の入力ま
たは編集を行なう場合にはブロック75へ行く。
To end the process, go to block 7B, to change the starting position of the character string, go to block 75, and to input or edit the character string, go to block 75.

ブロック78〜85ニブロツク78では、使用者7は図
形を編集するかどうかを判断する。図形を編集しない場
合にはブロック83へ行く。図形を編集する場合にはブ
ロック79へ行く。ブロック79では、図形の移動、変
形などの編集を行なう。
Blocks 78-85 At block 78, user 7 determines whether to edit the graphic. If the figure is not to be edited, the process goes to block 83. If the figure is to be edited, go to block 79. In block 79, editing such as moving and transforming the figure is performed.

ここでは、−例として、閉図形90を変形する例につい
【説明する。使用者7はポインティング入力装置6でメ
ニユー8の訂正150項目を指示し、変形する図形の頂
点95を指示し、頂点95の新しい位置94を指示する
。ブロック80では、ブロック79で指示された頂点9
5の新しい座標データ94を取り込みテーブル200図
形データ25の頂点座標を変更し、閉図形90を第7図
に示す閉園。
Here, as an example, an example of deforming the closed figure 90 will be described. The user 7 uses the pointing input device 6 to indicate 150 correction items on the menu 8, indicates the vertex 95 of the figure to be transformed, and indicates the new position 94 of the vertex 95. In block 80, the vertex 9 indicated in block 79
The new coordinate data 94 of 5 is taken in, the vertex coordinates of the figure data 25 of the table 200 are changed, and the closed figure 90 is closed as shown in FIG.

形100に変更してディスプレイ4上に表示する。The image is changed to the shape 100 and displayed on the display 4.

また、文字列テーブル400文字列データ451C含ま
れている文字のタイプ52、文字間隔55、行間隔54
、文字列始点X座標56、同Y座標57と閉図形100
の形状データから、閉図形100内に含まれ配置可能な
文字列位置を求め、ディスプレイ4上に破線矩形101
として表示する。ブロック81では、ブロック80で求
めた文字列の配置可能な位置に1文字列テーブル40の
文字列データ43を再配置し、ディスプレイ4上に表示
する。ブロック82では、使用者7は本処理を終了する
かどうかを判断する。終了する場合にはブロック85へ
行く。文字列の始点位置を変更する場合にはブロック7
5へ、文字列の入力または編集を行なう場合にはブロッ
ク75へ、図形の編集を行なう場合にはブへックフタ八
行(。ブロック85で本処理を終了する。
In addition, the character string table 400, character string data 451C, included character type 52, character spacing 55, line spacing 54
, character string starting point X coordinate 56, same Y coordinate 57, and closed figure 100
From the shape data of
Display as . In block 81, the character string data 43 of the one-character string table 40 is rearranged at a position where the character string determined in block 80 can be placed and displayed on the display 4. In block 82, the user 7 determines whether to end this process. If finished, go to block 85. Block 7 to change the starting position of the string
5, to enter or edit a character string, go to block 75; to edit a figure, go to block 8 lines (. At block 85, the process ends.

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

本発明によれば、定義された任意形状の閉図形内で文字
列を入力・編集できるだけでなく、当該閉図形の移動・
変形等の編集に対しても、自動的に文字列を当該閉図形
内に含まれるように再編集することができるので、従来
、ワードプロセッサで非常に時間のかかつていた図形内
に文字列を配置することが短時間で実現できるという効
果がある。
According to the present invention, it is not only possible to input and edit character strings within a defined closed figure of any shape, but also to move and edit the closed figure.
Even when editing such as transformation, the string can be automatically re-edited so that it is included within the closed shape, so it is now possible to place the string inside the shape, which previously took a lot of time with a word processor. The effect is that things can be accomplished in a short period of time.

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

第1図は本発明の一実施例を示すための文書作成装置の
ブロック図、第2図は第1図の装置を用いて閉図形内に
文字列を入力・編集してい・る時の斜視図、第5図は図
形テーブルの模式図、第4図は文字列テーブルの模式図
、第5図は閉図形内に文字列を入力・編集するための処
理7    ′ローを示したフローチャート、第6図は
閉図形内に文字列を入力した時の表示画面の例を示す説
明図、第7図は第6図で示した閉図形を変形した時の文
字列が再配置された表示画面の例を示した説明図、であ
る。 1・・・ファイル、2・・・メモリ、5・・・中央処理
装置、4・・・ディスプレイ、5・・・キーボード、6
・・・。 ポインティング入力装置、7・・・使用者、8・・・メ
二ニー、90・・・閉図形、98・・・文字列、100
・・・変形した閉図形、10シ・・・再配置された文字
列。 代理人弁理士 小 川 勝 i−′ 第 1 図 X2図 萬3 図 図形テークつし 菓牛回 3ξ客ダリテーフウレ 篤 2 図 窮 7 図
Fig. 1 is a block diagram of a document creation device showing an embodiment of the present invention, and Fig. 2 is a perspective view of inputting and editing a character string in a closed figure using the device shown in Fig. 1. 5 is a schematic diagram of the figure table, FIG. 4 is a schematic diagram of the character string table, FIG. Figure 6 is an explanatory diagram showing an example of the display screen when a character string is input into a closed figure, and Figure 7 is an illustration of the display screen with the rearranged character strings when the closed figure shown in Figure 6 is transformed. It is an explanatory diagram showing an example. 1... File, 2... Memory, 5... Central processing unit, 4... Display, 5... Keyboard, 6
.... Pointing input device, 7... User, 8... Many, 90... Closed figure, 98... Character string, 100
... Deformed closed figure, 10 characters... Rearranged character string. Representative Patent Attorney Masaru Ogawa i-' 1st Figure

Claims (1)

【特許請求の範囲】[Claims] 1)文字、図形、画像を含む文書を作成する情報処理装
置において、外部からの入力操作で、まず、閉図形を定
義し、次に、その図形内に配置する文字列と、文字列の
配置始点位置を定義することにより、文字列が閉図形内
に完全におさまるように、該文字列の各文字の配置位置
を計算し、該文字列の各文字を該位置に表示するように
した図形内文字列編集方式において、外部からの入力操
作により、閉図形を変形したり、文字列の配置始点位置
を変更した場合、文字列を閉図形内に完全におさまるよ
うに、該文字列の各文字の配置位置を計算し、該文字列
の各文字を該位置に再表示するようにしたことを特徴と
する図形内文字列編集方式。
1) In an information processing device that creates a document containing characters, figures, and images, a closed figure is first defined by an external input operation, and then a character string to be placed within that figure and the arrangement of the character string are defined. By defining the starting point position, the position of each character in the string is calculated so that the string fits completely within the closed shape, and each character in the string is displayed at that position. In the inner string editing method, when a closed shape is transformed or the starting position of a string is changed by an external input operation, each character string is edited so that the string completely fits inside the closed shape. A character string editing method in a figure, characterized in that the position of character arrangement is calculated, and each character of the character string is redisplayed at the position.
JP60153993A 1985-07-15 1985-07-15 How to edit a character string in a figure Expired - Lifetime JPH0827843B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60153993A JPH0827843B2 (en) 1985-07-15 1985-07-15 How to edit a character string in a figure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60153993A JPH0827843B2 (en) 1985-07-15 1985-07-15 How to edit a character string in a figure

Publications (2)

Publication Number Publication Date
JPS6215670A true JPS6215670A (en) 1987-01-24
JPH0827843B2 JPH0827843B2 (en) 1996-03-21

Family

ID=15574569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60153993A Expired - Lifetime JPH0827843B2 (en) 1985-07-15 1985-07-15 How to edit a character string in a figure

Country Status (1)

Country Link
JP (1) JPH0827843B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435448U (en) * 1987-08-28 1989-03-03
JPH01108674A (en) * 1987-10-21 1989-04-25 Hitachi Ltd Document editing device
JPH01194078A (en) * 1988-01-29 1989-08-04 Canon Inc Character/graphic processor
JPH0452871A (en) * 1990-06-15 1992-02-20 Hitachi Ltd Character/graphic processor
JPH07261742A (en) * 1993-10-12 1995-10-13 Casio Comput Co Ltd Character string output method
JPH07287565A (en) * 1993-10-12 1995-10-31 Casio Comput Co Ltd Character string output method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6014292A (en) * 1983-07-06 1985-01-24 株式会社東芝 Document generator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6014292A (en) * 1983-07-06 1985-01-24 株式会社東芝 Document generator

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435448U (en) * 1987-08-28 1989-03-03
JPH01108674A (en) * 1987-10-21 1989-04-25 Hitachi Ltd Document editing device
JPH01194078A (en) * 1988-01-29 1989-08-04 Canon Inc Character/graphic processor
JPH0452871A (en) * 1990-06-15 1992-02-20 Hitachi Ltd Character/graphic processor
JPH07261742A (en) * 1993-10-12 1995-10-13 Casio Comput Co Ltd Character string output method
JPH07287565A (en) * 1993-10-12 1995-10-31 Casio Comput Co Ltd Character string output method

Also Published As

Publication number Publication date
JPH0827843B2 (en) 1996-03-21

Similar Documents

Publication Publication Date Title
US5619628A (en) 3-Dimensional animation generating apparatus
JPS6014292A (en) Document generator
JPH05210722A (en) Graphics-display-tool
JP2835791B2 (en) Graphic processing unit
JPS6215670A (en) Editing system for intra-graphic character string
JPH0415753A (en) Data base system
JPS5943754B2 (en) Graphic processing system
JP3100614B2 (en) Document processing apparatus and document processing method
JPH0830666A (en) Method and device for arranging character string
JP2718782B2 (en) Figure creation device
JPH0565903B2 (en)
JPH0554114A (en) Image display device
JP2937374B2 (en) Interactive graphics processor
JPH02151972A (en) Document retrieving system
JPS5850039A (en) List output method
JPH0683553A (en) Tabulation device
JPH04248677A (en) Method and device for drawing wall or beam in building drawing or the like
JPH05135050A (en) Line segment attribute display method
JPS6381575A (en) Graphic data management device
JPH01246673A (en) Graphic processor
JPH0573544A (en) Document editing device
JPH05216877A (en) Document preparation device
JPH0696145A (en) Processing system for character string/graphic
JPH04139572A (en) Document processor
JPH04367969A (en) Information display processor