JPH08287276A - Character layout device - Google Patents

Character layout device

Info

Publication number
JPH08287276A
JPH08287276A JP7108996A JP10899695A JPH08287276A JP H08287276 A JPH08287276 A JP H08287276A JP 7108996 A JP7108996 A JP 7108996A JP 10899695 A JP10899695 A JP 10899695A JP H08287276 A JPH08287276 A JP H08287276A
Authority
JP
Japan
Prior art keywords
character
layout
graphic
character layout
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
JP7108996A
Other languages
Japanese (ja)
Inventor
Shigeki Yamada
茂樹 山田
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 JP7108996A priority Critical patent/JPH08287276A/en
Publication of JPH08287276A publication Critical patent/JPH08287276A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To array a character string beautifully and easily in a figure by deciding a closed area of the generated area and arranging the inputted character string in the decided arbitrary area by a character layout means. CONSTITUTION: A control part 6 decides the closed area of the figure generated through an input part 1, and a layout part 3 arrays the character string inputted from the input part 1 in the decided closed area. The layout part 3 decides the area inside the figure stored in a storage part 2 and lays out the characters obtained from the input part 1 and storage part 2 so that they do not project from the area. When a character is inputted, the control part 6 automatically decides whether or not the character is put in the area. Consequently, the operator only inputs characters one after another and the character string is arranged orderly in the figure.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、パーソナルコンピュー
タやワードプロセッサ等に具備されて文字や図形を綺麗
にレイアウトする文字レイアウト装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character layout device which is provided in a personal computer, a word processor or the like to lay out characters and figures in a beautiful manner.

【0002】[0002]

【従来の技術】従来、例えば、丸、菱形、ハート形等の
閉じた図形の内部に文字がきっちりと収まるようにレイ
アウトする場合、操作者は、まず、何等かの方法で図形
を描き、次に、マウスやキーボードを巧みに操作して、
文字の挿入位置と改行位置とを決定していた。
2. Description of the Related Art Conventionally, when laying out characters such that they fit exactly inside a closed figure such as a circle, a rhombus, or a heart, the operator first draws the figure by some method, then , Skillfully operate the mouse and keyboard,
The insertion position and line feed position of the character were determined.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来例にあっては、操作者は、図形の内部にきっちり
と文字列が収まるように、スペースキーで文字列の先頭
にスペースを挿入したり、改行をして、文字列の長さを
調節したり、文字列の長さを調節したり、文字列全体を
移動したりする等の繁雑な操作を必要とするという問題
点があった。
However, in the above-mentioned conventional example, the operator inserts a space at the beginning of the character string by using the space key so that the character string fits exactly inside the figure. However, there has been a problem in that a complicated operation such as a line feed and adjusting the length of the character string, adjusting the length of the character string, or moving the entire character string is required.

【0004】本発明は上述した従来の技術の有するこの
ような問題点に鑑みてなされたものであり、その目的と
するところは、図形の内部に綺麗に、しかも簡単に文字
列を配置することができるようにした文字レイアウト装
置を提供しようとするものである。
The present invention has been made in view of the above problems of the above-mentioned prior art, and its object is to arrange a character string neatly and easily inside a figure. The present invention is intended to provide a character layout device capable of performing the above.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明の請求項1の文字レイアウト装置は、図形を作
成する図形作成手段と、文字を入力する文字入力手段
と、図形の閉領域を判定する閉領域判定手段と、文字を
レイアウトする文字レイアウト手段とを具備し、前記図
形作成手段により作成された図形に対して前記閉領域判
定手段により閉領域を判定し、該判定した任意の閉領域
の中に、前記文字入力手段により入力された文字列を、
前記文字レイアウト手段により配置することを特徴とす
るものである。
In order to achieve the above object, a character layout device according to a first aspect of the present invention is a character layout device for creating a graphic, a character input device for inputting a character, and a closed area for the graphic. And a character layout means for laying out characters, wherein the closed area determination means determines a closed area for the figure created by the figure creation means, and the determined arbitrary area In the closed area, the character string input by the character input means,
The characters are arranged by the character layout means.

【0006】同じ目的を達成するために本発明の請求項
2の文字レイアウト装置は、請求項1の文字レイアウト
装置において、前記図形作成手段は、任意の数の閉領域
を作成できることを特徴とするものである。
To achieve the same object, a character layout device according to a second aspect of the present invention is the character layout device according to the first aspect, characterized in that the graphic creating means can create an arbitrary number of closed regions. It is a thing.

【0007】同じ目的を達成するために本発明の請求項
3の文字レイアウト装置は、請求項1の文字レイアウト
装置において、前記図形作成手段は、任意の数の閉領域
をグループ化するグループ化手段を有することを特徴と
するものである。
To achieve the same object, a character layout device according to a third aspect of the present invention is the character layout device according to the first aspect, wherein the graphic forming means groups the arbitrary number of closed areas into grouping means. It is characterized by having.

【0008】同じ目的を達成するために本発明の請求項
4の文字レイアウト装置は、請求項3の文字レイアウト
装置において、前記グループ化手段は、多値の塗りつぶ
しによりグループ化を行うことを特徴とするものであ
る。
In order to achieve the same object, a character layout device according to a fourth aspect of the present invention is the character layout device according to the third aspect, characterized in that the grouping means performs grouping by multivalued filling. To do.

【0009】同じ目的を達成するために本発明の請求項
5の文字レイアウト装置は、請求項1の文字レイアウト
装置において、前記文字レイアウト手段は、文字レイア
ウトの後に、前記図形作成手段で作成した図形を変形ま
たは交換しても、それに追従して文字のレイアウトも自
動的に変化することを特徴とするものである。
To achieve the same object, a character layout device according to a fifth aspect of the present invention is the character layout device according to the first aspect, in which the character layout means creates a graphic created by the graphic creating means after the character layout. Even if the characters are transformed or replaced, the layout of the characters is automatically changed accordingly.

【0010】[0010]

【作用】請求項1の文字レイアウト装置は、図形作成手
段により作成された図形に対して閉領域が、閉領域判定
手段により判定され、該判定された任意の閉領域の中
に、文字入力手段により入力された文字列が、前記文字
レイアウト手段により配置される。
According to the character layout apparatus of the present invention, the closed area of the graphic created by the graphic creating means is determined by the closed area determining means, and the character inputting means is placed in any of the determined closed areas. The character string input by is arranged by the character layout means.

【0011】請求項2の文字レイアウト装置は、請求項
1の文字レイアウト装置の作用に加えて、前記図形作成
手段により任意の数の閉領域を作成することができる。
According to the character layout device of the second aspect, in addition to the operation of the character layout device of the first aspect, it is possible to create an arbitrary number of closed areas by the graphic creating means.

【0012】請求項3の文字レイアウト装置は、請求項
1の文字レイアウト装置の作用に加えて、前記図形作成
手段が、任意の数の閉領域をグループ化するグループ化
手段を有する。
In the character layout device according to a third aspect of the present invention, in addition to the operation of the character layout device according to the first aspect, the graphic forming means has a grouping means for grouping an arbitrary number of closed regions.

【0013】請求項4の文字レイアウト装置は、請求項
3の文字レイアウト装置の作用に加えて、前記グループ
化手段が、多値の塗りつぶしによりグループ化を行う。
According to the character layout device of claim 4, in addition to the operation of the character layout device of claim 3, the grouping means performs grouping by multi-valued filling.

【0014】請求項5の文字レイアウト装置は、請求項
1の文字レイアウト装置において、前記文字レイアウト
手段が、文字レイアウトの後に、前記図形作成手段で作
成した図形を変形または交換しても、それに追従して文
字のレイアウトも自動的に変化する。
A character layout device according to a fifth aspect is the character layout device according to the first aspect, wherein even if the character layout means deforms or replaces the graphic created by the graphic creating means after the character layout, the character layout means follows the character layout. And the layout of the characters also changes automatically.

【0015】[0015]

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

【0016】(第1実施例)まず、本発明の第1実施例
を図1〜図6に基づき説明する。本実施例として、葉
書、招待状、広告チラシ等の図形と文字を含むレイアウ
トに関して説明する。
(First Embodiment) First, a first embodiment of the present invention will be described with reference to FIGS. As the present embodiment, a layout including graphics and characters, such as a postcard, an invitation card, and an advertisement leaflet, will be described.

【0017】図1は、本発明の第1実施例に係る文字レ
イアウト装置の構成を示すブロック図であり、同図中、
1は入力部で、キーボードを用いて文字を入力したり、
マウス等のポインティングデバイスを用いて、コマンド
を選択したり、文書中の位置を指定するものである。2
は蓄積部で、文字列のファイルや、予め作成された図形
データを保存しておくものであり、例えば、ハードディ
スク等の記憶装置が用いられる。
FIG. 1 is a block diagram showing the configuration of a character layout device according to the first embodiment of the present invention. In FIG.
Reference numeral 1 is an input unit for inputting characters using a keyboard,
A pointing device such as a mouse is used to select a command or specify a position in a document. Two
Is a storage unit that stores a file of character strings and previously created graphic data. For example, a storage device such as a hard disk is used.

【0018】3はレイアウト部で、蓄積部2に記憶され
ている図形の内部の領域を判定し、入力部1や蓄積部2
から得られる文字を領域からはみ出ることのないよう
に、レイアウトを行う機能を有する。4は表示部で、レ
イアウトの過程や結果をCRTモニター画面上に表示
し、リアルタイムで認識できるものである。5は印刷部
で、レイアウトの結果を印刷用紙に印刷して出力するも
ので、白黒、またはカラーのインクジェットプリンタや
レーザープリンタのような点の集合で文字や画像を印刷
する機能を持っている。6は制御部で、上記各部1〜5
を制御するものであり、CPU(中央演算処理装置)等
からなる。
Reference numeral 3 denotes a layout section, which determines the area inside the graphic stored in the storage section 2, and determines the input section 1 and the storage section 2.
It has the function of laying out characters so that they will not run out of the area. A display unit 4 displays the layout process and results on the CRT monitor screen so that they can be recognized in real time. A printing unit 5 prints and outputs the layout result on a printing paper, and has a function of printing characters and images by a set of dots such as a monochrome or color inkjet printer or a laser printer. Reference numeral 6 denotes a control unit, which is each of the above units 1 to 5
And is composed of a CPU (central processing unit) or the like.

【0019】次に、本実施例に係る文字レイアウト装置
における操作者の作業手順を、図2のフローチャートに
基づき説明する。
Next, the work procedure of the operator in the character layout apparatus according to this embodiment will be described with reference to the flowchart of FIG.

【0020】まず、ステップS201で図形の作成を行
う。具体的には、操作者は、図1の入力部1に接続され
ているマウスを用いて表示部4に接続されているモニタ
ー画面上に表示されているプルダウンメニューの「図
形」、「作成」を選択する。制御部6は、図形作成コマ
ンドを受け取り、前記モニター画面上に図3に示す図形
作成メニューが表示される。これには予め色々な図形作
成用のツールが揃っている。例えば、図3(a)におい
て、31は図形の範囲、図形の移動、拡大縮小を行うツ
ールである。32は直線を描くツール、33は曲線を描
くツール、34は連続して直線を描くツールである。操
作者は、これらのツール31〜34を用いて図3(b)
に示すような任意の自由曲線で閉領域図形35、36、
37、38を作成する。
First, in step S201, a graphic is created. Specifically, the operator uses the mouse connected to the input unit 1 in FIG. 1 to select "graphic" or "create" in the pull-down menu displayed on the monitor screen connected to the display unit 4. Select. The control unit 6 receives the graphic creation command, and the graphic creation menu shown in FIG. 3 is displayed on the monitor screen. It has various tools for creating various figures in advance. For example, in FIG. 3A, reference numeral 31 is a tool for performing graphic range, graphic movement, and enlargement / reduction. 32 is a tool for drawing a straight line, 33 is a tool for drawing a curve, and 34 is a tool for drawing a continuous straight line. The operator uses these tools 31 to 34 to generate the image shown in FIG.
In the free-form curve as shown in FIG.
Create 37 and 38.

【0021】次に、ステップS202で図形の位置決め
を行う。具体的には、例えば、前記ステップS201に
おいて任意の曲線を組み合わせて三角形を作成したとす
ると、前記モニター画面上には、図4に示すように三角
図形401が表示される。この三角図形401の周囲に
は、位置決め用のフレーム402が表示される。前記マ
ウスを用いて、図形の拡大、縮小、位置の移動等が行え
る。グリッド上の10または14の位置を上下に動かす
ことによって、縦方向の変倍が行える。また、グリッド
上の12または16の位置を動かすことによって、横方
向の変倍が行える。更に、グリッド上の11、13、1
5、17の位置を動かすことによって、縦方向及び横方
向の変倍が同時に行える。また、フレーム402の点線
上を前記マウスで選択してドラッグすれば、図形の移動
が行える。これらの制御は、図1の制御部6が行う。こ
れらの操作を組み合わせて、図形の位置決めを完了す
る。
Next, in step S202, the figure is positioned. Specifically, for example, if a triangle is created by combining arbitrary curves in step S201, a triangular figure 401 is displayed on the monitor screen as shown in FIG. A positioning frame 402 is displayed around the triangular figure 401. Using the mouse, the figure can be enlarged, reduced, or moved in position. By moving the position of 10 or 14 on the grid up and down, vertical scaling can be performed. Further, by moving the position of 12 or 16 on the grid, it is possible to perform lateral magnification change. Furthermore, 11, 13, 1 on the grid
By moving the positions of 5 and 17, it is possible to perform vertical and horizontal scaling at the same time. Also, if the mouse is selected on the dotted line of the frame 402 and dragged, the figure can be moved. These controls are performed by the control unit 6 in FIG. The positioning of the figure is completed by combining these operations.

【0022】次に、ステップS203で図形のグループ
化を行う。例えば、図3(b)に示すように4個の図形
35〜38を作成したとする。グループダウンメニュー
の「図形」、「グループ化」を選択する。すると、図5
に示すようなダイアログボックス、具体的には、「グル
ープ化を行う図形を選択して下さい」というメッセージ
501と、「終了」ボタン502と、「キャンセル」ボ
タン503とが表示部4のモニター画面上に表示され
る。ここで、図3(b)の図形35、36だけに文字列
をレイアウトする場合、操作者は、前記マウスを用いて
図形35、36の輪郭線上をクリックする。すると図4
に示すような各図形をそれぞれ囲む形でフレームが前記
モニター画面上に表示される。図3の場合は、図形3
5、36をそれぞれ囲むようなフレームが前記モニター
画面上に表示される。
Next, in step S203, the figures are grouped. For example, it is assumed that four figures 35 to 38 are created as shown in FIG. Select "Figure" or "Group" from the group down menu. Then, as shown in FIG.
On the monitor screen of the display unit 4, a dialog box as shown in, specifically, a message 501 "Please select a figure to be grouped", an "End" button 502, and a "Cancel" button 503 are displayed. Is displayed in. Here, when laying out a character string only in the figures 35 and 36 of FIG. 3B, the operator clicks on the contour lines of the figures 35 and 36 using the mouse. Then Fig. 4
A frame is displayed on the monitor screen so as to surround each figure as shown in FIG. In the case of FIG. 3, figure 3
A frame surrounding each of 5 and 36 is displayed on the monitor screen.

【0023】このようにして選択が終了したならば図5
の「終了」ボタン502を、また、途中でグループ化を
やめたい場合は「キャンセル」ボタン503をそれぞれ
選択する。「終了」ボタン502が選択されると、選択
されたグループは、同一の値で塗りつぶされる。本実施
例の場合、塗りつぶしの値として8個の値を用いること
が可能となっている。換言すれば、図形を8個のグルー
プに分けることが可能である。この塗りつぶしの値は、
8個に限られるものではなく、いくつにしても原理的に
は同じである。
When the selection is completed in this way, FIG.
“End” button 502 of “No”, and when canceling the grouping on the way, the “Cancel” button 503 is selected. When the “end” button 502 is selected, the selected group is filled with the same value. In the case of the present embodiment, it is possible to use eight values as the filling value. In other words, the figure can be divided into eight groups. The value of this fill is
The number is not limited to eight, and in principle, the number is the same.

【0024】次に、ステップS204で文字の入力を行
う。この文字の入力の場合、制御部6において文字が図
形内にきっちり収まるように領域判定が自動的に行われ
る。これが本発明の最も重要な部分である。具体的に
は、マウスで図形の内部の文字を挿入したい位置をクリ
ックする。すると、その位置でカーソルが点滅し、文字
の挿入モードになる。入力部1に接続されているキーボ
ードから文字列を入力すると、カーソルの位置から文字
が挿入され、、図形の境界線までくると、自動的に改行
される。そして、カーソルは、図形内部で次の行の先頭
に移動する。
Next, in step S204, characters are input. In the case of inputting this character, the control unit 6 automatically determines the area so that the character fits within the figure. This is the most important part of the invention. Specifically, click the position inside the figure where you want to insert the character with the mouse. Then, the cursor blinks at that position and the character insertion mode is set. When a character string is input from the keyboard connected to the input unit 1, a character is inserted from the position of the cursor, and when the character reaches the boundary line of the figure, the line is automatically broken. Then, the cursor moves to the beginning of the next line within the figure.

【0025】従って、操作者は次々と文字を入力してい
くだけで、図形の内部に文字列が整然と配置されること
になる。操作者は、改行位置、改行後の次の行の先頭位
置を気にする必要は全くなく、いとも簡単に文字のレイ
アウトが行えることになる。なお、文字のレイアウト処
理動作の詳細については、図7に基づき後述する。図6
に領域判定のための説明図を示す。例えば、前記ステッ
プS201において図形として三角形を作成したとす
る。作成された三角形は、予め内部領域が塗りつぶされ
ている。図6において20、21、22等が1文字の領
域に相当する。20と22は、文字領域が全て三角形の
図形の範囲に入っていないので、ここへは文字を挿入し
ない。21は、文字領域が全て三角形の図形の範囲に入
っているので、文字を挿入することが可能である。
Therefore, the operator only needs to input characters one after another, and the character string is arranged in order inside the figure. The operator does not need to care about the line feed position and the beginning position of the next line after the line feed, and the layout of characters can be done easily. The details of the character layout processing operation will be described later with reference to FIG. Figure 6
An explanatory diagram for area determination is shown in FIG. For example, assume that a triangle is created as a figure in step S201. The internal area of the created triangle is filled in advance. In FIG. 6, 20, 21, 22 and the like correspond to the area of one character. Since the character areas of 20 and 22 are not all within the range of the triangular figure, no character is inserted here. In No. 21, since the character area is entirely within the range of the triangular figure, it is possible to insert the character.

【0026】次に、ステップS205で文字のレイアウ
トの修正を行う。図形の内部に隙間がなく、文字列を配
列する場合は、前記をステップS203において得られ
た結果で十分であるが、場合によっては、単語の区切
り、文章の区切りで変則的に改行を入れたい場合等があ
る。また、文頭にスペースを挿入したい場合もある。そ
のような場合、前記マウスで文字の挿入位置を指定し、
前記キーボードからスペースや改行を挿入することによ
り、文字のレイアウトの修正が行える。これらの制御
は、図1の制御部6が行う。
Next, in step S205, the character layout is corrected. When there are no gaps inside the figure and the character strings are arranged, the result obtained in step S203 is sufficient, but in some cases, it is desirable to insert line breaks irregularly at word breaks and sentence breaks. There are cases, etc. You may also want to insert a space at the beginning of the sentence. In such a case, specify the insertion position of the character with the mouse,
By inserting spaces and line breaks from the keyboard, the layout of characters can be modified. These controls are performed by the control unit 6 in FIG.

【0027】次に、ステップS205で図形、文字のレ
イアウト後の結果を、図1の印刷部5により印刷用紙に
印刷する。
Next, in step S205, the result of the layout of figures and characters is printed on the printing paper by the printing unit 5 of FIG.

【0028】具体的には、操作者は、プルダウンメニュ
ーから「印刷」を選択する。すると、印刷部5へデータ
が転送され、表示部4のモニター画面に表示されている
通りの印刷結果が得られる。このステップS205にお
ける印刷処理を実行後は、本処理動作を終了する。
Specifically, the operator selects "print" from the pull-down menu. Then, the data is transferred to the printing unit 5, and the printing result as displayed on the monitor screen of the display unit 4 is obtained. After the printing process in step S205 is executed, this processing operation is ended.

【0029】次に、本実施例に係る文字レイアウト装置
における文字レイアウトの処理動作を、図7のフローチ
ャートを用いて説明する。
Next, a character layout processing operation in the character layout apparatus according to the present embodiment will be described with reference to the flowchart of FIG.

【0030】まず、ステップS701で文字の挿入位置
が図形領域に含まれるか否かを判断する。なお、予め図
形の内部領域は塗りつぶされているため、文字領域との
領域判定は、簡単且つ迅速に行うことが可能となってい
る。そして、図6で説明したように、文字の領域が全て
図形の領域内に入っている場合は、ステップS702へ
進み文字の挿入を行う。具体的には、挿入位置(カーソ
ル位置)に前記キーボードから入力された文字を挿入す
る。次に、ステップS703で文字挿入位置を1文字分
右へ移動した後、前記ステップS701へ戻り、再び文
字の挿入位置が図形領域に含まれるか否かを判断する。
First, in step S701, it is determined whether the character insertion position is included in the graphic area. Since the internal area of the graphic is filled in advance, the area determination as a character area can be performed easily and quickly. Then, as described with reference to FIG. 6, when the character area is entirely within the graphic area, the process advances to step S702 to insert the character. Specifically, the character input from the keyboard is inserted at the insertion position (cursor position). Next, in step S703, the character insertion position is moved to the right by one character, and then the process returns to step S701 to determine again whether the character insertion position is included in the graphic area.

【0031】一方、前記ステップS701において文字
の領域が全て図形の領域内に入っていない場合は、ステ
ップS704へ進み、前記ステップS701と同様の判
定方法で、次の行に文字が挿入できるか否かを判断す
る。そして、次の行に文字が挿入できる場合は、ステッ
プS705で挿入位置を次の行へ移動した後、前記ステ
ップS702へ進み文字の挿入を行う。
On the other hand, if it is determined in step S701 that the character area is not entirely within the figure area, the flow advances to step S704 to determine whether the character can be inserted in the next line by the same determination method as in step S701. To judge. If a character can be inserted in the next line, the insertion position is moved to the next line in step S705, and then the process proceeds to step S702 to insert the character.

【0032】また、前記ステップS704において次の
行に文字が挿入できない場合は、ステップS706で挿
入不可能処理を行う。具体的には、挿入不可能であるこ
とを示す、例えば「もう、これ以上文字を挿入できませ
ん」等の警告ダイアログを表示部4のモニター画面に表
示することにより、操作者に通知する。
If a character cannot be inserted in the next line in step S704, an uninsertable process is performed in step S706. Specifically, the operator is notified by displaying a warning dialog indicating that the character cannot be inserted, such as "I cannot insert any more characters" on the monitor screen of the display unit 4.

【0033】前記ステップS606における挿入不可能
処理を実行後は、本処理動作を終了する。
After executing the non-insertable processing in step S606, this processing operation is terminated.

【0034】(第2実施例)次に、本発明の第2実施例
を図8に基づき説明する。
(Second Embodiment) Next, a second embodiment of the present invention will be described with reference to FIG.

【0035】上述した第1実施例においては、文字列は
キーボードからの入力について述べたが、本実施例は、
予めワードプロセッサーのソフトで作成された文書ファ
イルを読み込み、その読み込みデータに対して、文字レ
イアウト処理を行うようにしたものである。
In the first embodiment described above, the character string was described as input from the keyboard, but in this embodiment,
A document file created in advance with word processor software is read, and the read data is subjected to character layout processing.

【0036】なお、本実施例に係る文字レイアウト装置
の基本的な構成は、上述した図1と同一であるから、同
図を流用して説明する。
Since the basic configuration of the character layout device according to this embodiment is the same as that of FIG. 1 described above, the description will be given by diverting the drawing.

【0037】図8は、本実施例に係る文字レイアウト装
置における操作者の作業手順を示すフローチャートであ
り、同図のステップS801〜ステップS803、ステ
ップS805、ステップS806は、上述した図2のス
テップS201〜ステップS203、ステップS20
5、ステップS206とそれぞれ同一であるから、本実
施例特有の処理ステップであるステップS804につい
て説明する。
FIG. 8 is a flow chart showing the work procedure of the operator in the character layout apparatus according to the present embodiment. Steps S801 to S803, Step S805, and Step S806 in the figure are the steps S201 in FIG. ~ Step S203, Step S20
5 and step S206, respectively, so step S804, which is a processing step peculiar to this embodiment, will be described.

【0038】ステップS803で図形のグループ化を行
った後、ステップS804で文書ファイルの読み込みを
行う。この文書ファイルの入力の場合に、図1の制御部
6において文字が図形内にきっちり収まるように領域判
定が自動的に行われる。これが本発明の最も重要な部分
である。具体的には、マウスで図形の内部の文字を挿入
したい位置をクリックする。すると、その位置でカーソ
ルが点滅し、文字の挿入モードになる。
After the figures are grouped in step S803, the document file is read in step S804. In the case of inputting this document file, the area determination is automatically performed by the control unit 6 of FIG. 1 so that the characters fit exactly in the figure. This is the most important part of the invention. Specifically, click the position inside the figure where you want to insert the character with the mouse. Then, the cursor blinks at that position and the character insertion mode is set.

【0039】前記マウスでプルダウンメニューの「ファ
イル」、「開く」を選択する。すると、予め作成してあ
る文書ファイルの一覧を表示するダイアログボックスが
表示部4のモニター画面に表示される。その中からレイ
アウトしたいファイルを選択し、「OK」ボタンを選択
する。すると、蓄積部3に記憶されているファイルが制
御部6に読み込まれ、カーソルの位置から文書が挿入さ
れ、図形の境界線までくると自動的に改行され、次々と
文字列をレイアウトして行く。
With the mouse, select "File" or "Open" from the pull-down menu. Then, a dialog box displaying a list of document files created in advance is displayed on the monitor screen of the display unit 4. Select the file you want to lay out and select the "OK" button. Then, the file stored in the storage unit 3 is read by the control unit 6, the document is inserted from the position of the cursor, and a line is automatically laid out when the boundary of the figure is reached, and character strings are laid out one after another. .

【0040】従って、操作者は、入力ファイルを指定す
るだけで、図形の内部に文字列が整然と配置されること
になる。操作者は、改行位置、改行後の次の行の先頭位
置を気にする必要は全くなく、いとも簡単に文字のレイ
アウトが行えることになる。 (第3実施例)次に、本発明の第3実施例を図9に基づ
き説明する。
Therefore, the operator only needs to specify the input file, and the character strings are arranged in order inside the figure. The operator does not need to care about the line feed position and the beginning position of the next line after the line feed, and the layout of characters can be done easily. (Third Embodiment) Next, a third embodiment of the present invention will be described with reference to FIG.

【0041】上述した第1実施例においては、文字列は
キーボードからの入力について述べたが、本実施例は、
光学式文字認識装置(以下、OCRと記述する)を用い
て文字列を読み込み、その読み込みデータに対して文字
レイアウト処理を行うようにしたものである。
In the above-described first embodiment, the character string is described as input from the keyboard, but in this embodiment,
A character string is read using an optical character recognition device (hereinafter, referred to as OCR), and character layout processing is performed on the read data.

【0042】なお、本実施例に係る文字レイアウト装置
の基本的な構成は、上述した図1と同一であるから、同
図を流用して説明する。
Since the basic configuration of the character layout device according to this embodiment is the same as that of FIG. 1 described above, the description will be given by diverting the drawing.

【0043】OCRは、紙に書かれた活字文字や、手書
き文字をスキャナを用いて画像として読み取り、その中
から文字を認識する装置である。前記スキャナは入力部
1に接続され、該入力部1において文字認識を行い、そ
の認識結果を制御部6に転送するようになっている。
The OCR is a device for reading typed characters and handwritten characters written on a paper as an image using a scanner and recognizing the characters from them. The scanner is connected to the input unit 1, performs character recognition in the input unit 1, and transfers the recognition result to the control unit 6.

【0044】図9は、本実施例に係る文字レイアウト装
置における操作者の作業手順を示すフローチャートであ
り、同図のステップS901〜ステップS903、ステ
ップS905、ステップS906は、上述した図2のス
テップS201〜ステップS203、ステップS20
5、ステップS206とそれぞれ同一であるから、本実
施例特有の処理ステップであるステップS904につい
て説明する。
FIG. 9 is a flow chart showing the work procedure of the operator in the character layout apparatus according to this embodiment. Steps S901 to S903, step S905, and step S906 in the figure are the steps S201 in FIG. ~ Step S203, Step S20
5 and step S206, respectively, and therefore step S904, which is a processing step peculiar to this embodiment, will be described.

【0045】ステップS903で図形のグルーを化を行
った後、ステップS904でOCRを用いて文字列の読
み込みを行う。この文字列の入力の場合に、制御部6に
おいて文字が図形内にきっちり収まるように領域判定が
自動的に行われる。これが本発明の最も重要な部分であ
る。具体的には、マウスで図形の内部の文字を挿入した
い位置をクリックする。すると、その位置でカーソルが
点滅し、文字の挿入モードになる。予め、用紙に文字列
を記入してスキャナにセットしておく。
After the figure is glued in step S903, the character string is read using OCR in step S904. When this character string is input, the control unit 6 automatically determines the area so that the character fits within the figure. This is the most important part of the invention. Specifically, click the position inside the figure where you want to insert the character with the mouse. Then, the cursor blinks at that position and the character insertion mode is set. In advance, write the character string on the form and set it on the scanner.

【0046】前記マウスでプルダウンメニューの「ファ
イル」、「OCR」を選択する。すると、前記用紙はス
キャンされ、入力部1で認識され、その認識結果が表示
部4のモニター画面に表示される。認識に誤りがある場
合は、前記マウスを用いて候補文字の中から正しい文字
を選択して修正する。該修正が終了したならば、「終
了」ボタンを選択し、OCR入力を終了する。すると、
カーソルの位置から文書が挿入され、図形の境界線まで
くると自動的に改行され、次々と文字列をレイアウトし
て行く。
With the mouse, select "File" or "OCR" from the pull-down menu. Then, the paper is scanned and recognized by the input unit 1, and the recognition result is displayed on the monitor screen of the display unit 4. If the recognition is incorrect, the correct character is selected from the candidate characters using the mouse and corrected. When the correction is completed, the "end" button is selected to end the OCR input. Then
A document is inserted from the cursor position, and a line is automatically laid out when it reaches the boundary of the figure, and character strings are laid out one after another.

【0047】従って、操作者は、OCRからの入力を指
定するだけで、図形の内部に文字列が整然と配置される
ことになる。操作者は、改行位置、改行後の次の行の先
頭位置を気にする必要は全くなく、いとも簡単に文字の
レイアウトが行えることになる。
Therefore, the operator only needs to specify the input from the OCR, and the character string is arranged in order inside the figure. The operator does not need to care about the line feed position and the beginning position of the next line after the line feed, and the layout of characters can be done easily.

【0048】(第4実施例)次に、本発明の第4実施例
を図10に基づき説明する。
(Fourth Embodiment) Next, a fourth embodiment of the present invention will be described with reference to FIG.

【0049】上述した第1実施例においては、文字入力
後において文字のレイアウトの修正のみを行う場合につ
いて述べたが、本実施例は、文字入力後において図形の
修正及び文字のレイアウトの修正を行うようにしたもの
である。
In the above-described first embodiment, the case where only the layout of the characters is corrected after the character input is described, but in the present embodiment, the figure and the layout of the character are corrected after the character input. It was done like this.

【0050】なお、本実施例に係る文字レイアウト装置
の基本的な構成は、上述した図1と同一であるから、同
図を流用して説明する。
The basic layout of the character layout device according to this embodiment is the same as that shown in FIG.

【0051】図10は、本実施例に係る文字レイアウト
装置における操作者の作業手順を示すフローチャートで
あり、同図のステップS1001〜ステップS100
4、ステップS1006、ステップS1007は、上述
した図2のステップS201〜ステップS204、ステ
ップS206、ステップS207とそれぞれ同一である
から、本実施例特有の処理ステップであるステップS1
005について説明する。
FIG. 10 is a flow chart showing the work procedure of the operator in the character layout apparatus according to the present embodiment. Steps S1001 to S100 in FIG.
Since Step 4, Step S1006 and Step S1007 are the same as Step S201 to Step S204, Step S206 and Step S207 of FIG. 2 described above, respectively, Step S1 which is a processing step peculiar to this embodiment.
005 will be described.

【0052】ステップS1004において文字入力後に
ステップS1005で、図形の修正、すなわち、図形の
交換または編集を行う。多くの場合、前記ステップS1
004の結果で満足のいく結果が得られる。その場合
は、ステップS1005をスキップしてステップS10
06の処理へ進む。そうでない場合、つまり、前記ステ
ップS1004の結果に満足できない場合は、ステップ
S1005で図形の交換、または編集を行う。
After the characters are input in step S1004, the graphic is modified, that is, the graphic is exchanged or edited in step S1005. In many cases, the step S1
A result of 004 gives satisfactory results. In that case, step S1005 is skipped and step S10 is performed.
The process proceeds to 06. If not, that is, if the result of step S1004 is not satisfied, graphics are exchanged or edited in step S1005.

【0053】図形の交換を行う場合、操作者は、まず、
図3のツール31を用いて、削除したい図形を選択す
る。グループ化を行っていれば、グループが選択され
る。次に、表示部4に接続されているモニター画面上に
表示されているプルダウンメニューの「編集」、「切り
取り」を選択し、選択した図形を削除する。ここで、図
形は削除されるが、次に、前記ステップS1001とス
テップS1002の処理により新たな図形の作成を行
う。図形の作成が終了したならば、前記プルダウンメニ
ューの「図形」、「交換」を選択する。すると、「図形
と文字の組み合わせを指定して下さい」というメッセー
ジが前記モニター画面上に表示されるので、新たに作成
した図形と、それまであった文字列を順に指定する。す
ると、文字レイアウト部3は、新たに作成した図形の内
部に文字を綺麗にレイアウトし直す。
When exchanging figures, the operator first
A graphic to be deleted is selected using the tool 31 shown in FIG. If grouping is done, the group is selected. Next, “Edit” or “Cut” in the pull-down menu displayed on the monitor screen connected to the display unit 4 is selected, and the selected figure is deleted. Here, the figure is deleted, but next, a new figure is created by the processing of steps S1001 and S1002. When the figure has been created, select "Graphic" or "Exchange" from the pull-down menu. Then, a message "Please specify the combination of figure and character" is displayed on the monitor screen, and the newly created figure and the character string up to that point are specified in order. Then, the character layout unit 3 cleanly rearranges the characters inside the newly created figure.

【0054】次いでステップS1006及びステップS
1007の処理を順次行う。
Next, step S1006 and step S
The processing of 1007 is sequentially performed.

【0055】[0055]

【発明の効果】以上詳述したように本発明の文字レイア
ウト装置によれば、図形の内部に綺麗に、しかも簡単に
文字列を配置することができるという効果を奏する。
As described above in detail, according to the character layout device of the present invention, it is possible to arrange a character string beautifully and easily inside a figure.

【0056】また、図形作成手段により作成された複数
の図形の中から、少なくとも1つの図形を選択し、それ
に対してグループ化することにより、指定されたグルー
プだけに文字列を配置することが可能である。更に、文
字レイアウト後に、図形作成手段により作成した図形を
変形または交換しても、それに追従して文字のレイアウ
トも自動的に変化するので、図形の作成や編集を何度で
も繰り返して行うことができる。
Further, by selecting at least one figure from a plurality of figures created by the figure creating means and grouping it, the character string can be arranged only in the designated group. Is. Further, even if the figure created by the figure creating means is transformed or exchanged after the character layout, the layout of the characters automatically changes accordingly, so that the figure creation and editing can be repeated any number of times. it can.

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

【図1】本発明の第1実施例に係る文字レイアウト装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a character layout device according to a first embodiment of the present invention.

【図2】同実施例に係る文字レイアウト装置における操
作者の作業手順を示すフローチャートである。
FIG. 2 is a flowchart showing a work procedure of an operator in the character layout device according to the embodiment.

【図3】同実施例に係る文字レイアウト装置における図
形作成メニューの一例を示す図である。
FIG. 3 is a diagram showing an example of a graphic creation menu in the character layout device according to the embodiment.

【図4】同実施例に係る文字レイアウト装置における図
形のレイアウトの一例を示す図である。
FIG. 4 is a diagram showing an example of a layout of figures in the character layout device according to the embodiment.

【図5】同実施例に係る文字レイアウト装置におけるグ
ループ化用ダイアログボックスの一例を示す図である。
FIG. 5 is a diagram showing an example of a grouping dialog box in the character layout device according to the embodiment.

【図6】同実施例に係る文字レイアウト装置における図
形の領域判定の説明図である。
FIG. 6 is an explanatory diagram of area determination of a figure in the character layout device according to the embodiment.

【図7】同実施例に係る文字レイアウト装置における文
字レイアウト処理の制御手順を示すフローチャートであ
る。
FIG. 7 is a flowchart showing a control procedure of a character layout process in the character layout device according to the embodiment.

【図8】本発明の第2実施例に係る文字レイアウト装置
における操作者の作業手順を示すフローチャートであ
る。
FIG. 8 is a flowchart showing a work procedure of an operator in the character layout device according to the second exemplary embodiment of the present invention.

【図9】本発明の第3実施例に係る文字レイアウト装置
における操作者の作業手順を示すフローチャートであ
る。
FIG. 9 is a flowchart showing a work procedure of an operator in the character layout device according to the third exemplary embodiment of the present invention.

【図10】本発明の第4実施例に係る文字レイアウト装
置における操作者の作業手順を示すフローチャートであ
る。
FIG. 10 is a flow chart showing a work procedure of an operator in the character layout device according to the fourth exemplary embodiment of the present invention.

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

1 入力部(文字入力手段、図形作成手段) 2 蓄積部(図形記憶手段、文書記憶手段) 3 レイアウト部(文字レイアウト手段) 4 表示部 5 印刷部 6 制御部(閉領域判定手段) 1 input unit (character input unit, graphic creation unit) 2 storage unit (graphic storage unit, document storage unit) 3 layout unit (character layout unit) 4 display unit 5 printing unit 6 control unit (closed region determination unit)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 図形を作成する図形作成手段と、文字を
入力する文字入力手段と、図形の閉領域を判定する閉領
域判定手段と、文字をレイアウトする文字レイアウト手
段とを具備し、前記図形作成手段により作成された図形
に対して前記閉領域判定手段により閉領域を判定し、該
判定した任意の閉領域の中に、前記文字入力手段により
入力された文字列を、前記文字レイアウト手段により配
置することを特徴とする文字レイアウト装置。
1. A graphic forming means for creating a graphic, a character inputting means for inputting a character, a closed area judging means for judging a closed area of the graphic, and a character layout means for laying out a character, wherein the graphic The closed area determination means determines the closed area for the graphic created by the creating means, and the character string input by the character input means is inserted by the character layout means in the determined arbitrary closed area. A character layout device characterized by being arranged.
【請求項2】 前記図形作成手段は、任意の数の閉領域
を作成できることを特徴とする請求項1記載の文字レイ
アウト装置。
2. The character layout apparatus according to claim 1, wherein the graphic creating means can create an arbitrary number of closed areas.
【請求項3】 前記図形作成手段は、任意の数の閉領域
をグループ化するグループ化手段を有することを特徴と
する請求項1記載の文字レイアウト装置。
3. The character layout apparatus according to claim 1, wherein the graphic creating unit has a grouping unit that groups an arbitrary number of closed regions.
【請求項4】 前記グループ化手段は、多値の塗りつぶ
しによりグループ化を行うことを特徴とする請求項3記
載の文字レイアウト装置。
4. The character layout device according to claim 3, wherein the grouping unit performs grouping by multi-valued filling.
【請求項5】 前記文字レイアウト手段は、文字レイア
ウトの後に、前記図形作成手段で作成した図形を変形ま
たは交換しても、それに追従して文字のレイアウトも自
動的に変化することを特徴とする請求項1記載の文字レ
イアウト装置。
5. The character layout means is characterized in that, even if the figure created by the figure creating means is transformed or exchanged after the character layout, the character layout is also automatically changed following the change. The character layout device according to claim 1.
JP7108996A 1995-04-10 1995-04-10 Character layout device Pending JPH08287276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7108996A JPH08287276A (en) 1995-04-10 1995-04-10 Character layout device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7108996A JPH08287276A (en) 1995-04-10 1995-04-10 Character layout device

Publications (1)

Publication Number Publication Date
JPH08287276A true JPH08287276A (en) 1996-11-01

Family

ID=14498944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7108996A Pending JPH08287276A (en) 1995-04-10 1995-04-10 Character layout device

Country Status (1)

Country Link
JP (1) JPH08287276A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990747A (en) * 2019-12-17 2020-04-10 北京思维造物信息科技股份有限公司 Image generation method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990747A (en) * 2019-12-17 2020-04-10 北京思维造物信息科技股份有限公司 Image generation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
JP5049515B2 (en) Information processing apparatus, information processing method, and information processing program
US6249908B1 (en) System and method for representing graphical font data and for converting the font data to font instructions
KR100716084B1 (en) Layout adjustment method and apparatus
JP4065545B2 (en) Layout control method and apparatus and program thereof
JP4236267B2 (en) Information processing apparatus, layout control method executed in the apparatus, and program thereof
JP2005122728A (en) User interface for creation and editing of variable data document
JP2005216179A (en) Document processor, document processing method, and document processing program
JP4329750B2 (en) Print control program
US8788936B2 (en) Information processing apparatus and method
EP2002352B1 (en) Applying effects to a merged text path
JP5149690B2 (en) Image processing apparatus, image processing method, and image processing program
JP2009110391A (en) Information processor, control method, and control program
KR100583473B1 (en) numerical formula editor for word processor and editing method thereof
JPH0812668B2 (en) Handwriting proofreading method
JPH08287276A (en) Character layout device
JP3933892B2 (en) Specification creation program and computer-readable medium storing specification creation program
JPH08287277A (en) Character layout device
JP4458640B2 (en) Drawing instruction apparatus, drawing instruction method thereof, and computer-readable storage medium
JP4263089B2 (en) Information processing apparatus, information processing method, program, and recording medium
JP4006113B2 (en) Graphic processing method and apparatus
JP4574347B2 (en) Image processing apparatus, method, and program
JP3607913B2 (en) Image display device
Hagen Metafun
JPH087012A (en) Method and device for editing output mode of data
JPH01269983A (en) Text layout device