JP2001184346A - Document editor and computer readable recording medium stored with document editing program - Google Patents

Document editor and computer readable recording medium stored with document editing program

Info

Publication number
JP2001184346A
JP2001184346A JP36719199A JP36719199A JP2001184346A JP 2001184346 A JP2001184346 A JP 2001184346A JP 36719199 A JP36719199 A JP 36719199A JP 36719199 A JP36719199 A JP 36719199A JP 2001184346 A JP2001184346 A JP 2001184346A
Authority
JP
Japan
Prior art keywords
character
virtual object
document
object area
objects
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
JP36719199A
Other languages
Japanese (ja)
Inventor
Naoto Omuta
直人 大牟田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP36719199A priority Critical patent/JP2001184346A/en
Publication of JP2001184346A publication Critical patent/JP2001184346A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prepare a document, in which objects such as graphics or formulas are mixed, easily by adjusting the intervals of an adjacent character string and the object. SOLUTION: This device is provided with an object preparing part 8 for preparing the object such as graphic or formula to be inserted in a character string, virtual object area setting part 9 for setting a virtual object area in a relative relation to the object, object arrangement information setting part 11 for setting the position to insert the object into the character string, character/virtual object area arranging part 13 for arranging character string and virtual object areas, and object arranging part 14 for arranging the object at the position relative to the virtual object area arranged by the character/virtual object area arranging part 13.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、図形や数式等のオ
ブジェクトが混在した文書を編集するための文書編集装
置および文書編集プログラムを記録したコンピュータ読
み取り可能な記録媒体に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a document editing apparatus for editing a document in which objects such as figures and mathematical expressions are mixed, and a computer-readable recording medium storing a document editing program.

【0002】[0002]

【従来の技術】文字を入力および編集することにより文
書を作成する手段として、ワードプロセッサやワードプ
ロセッサソフトウェアを実行するパーソナルコンピュー
タ等の文書編集装置がある。近年、これらの文書編集装
置においては、文字の他、図形や数式等のオブジェクト
を文字からなる文書中に挿入することも可能であり、文
字とオブジェクトとが混在した文書を作成する機能を備
えている。
2. Description of the Related Art As a means for creating a document by inputting and editing characters, there is a document editing device such as a word processor or a personal computer which executes word processor software. In recent years, in these document editing apparatuses, in addition to characters, it is also possible to insert objects such as figures and mathematical formulas into a document composed of characters, and have a function of creating a document in which characters and objects are mixed. I have.

【0003】図11から図14は従来の文書編集装置に
よるオブジェクトが混在した文書の作成例を示す図であ
る。
FIGS. 11 to 14 are diagrams showing examples of creating a document in which objects are mixed by a conventional document editing apparatus.

【0004】図11に示す文字列中にオブジェクト51
が存在する文書を作成する場合、図13に示すように文
字列「私は」と文字列「が好きです」との間に図形オブ
ジェクト51を挿入する。図12に示す例では、文字配
置情報として文字間隔をPに設定し、この文字配置情報
に従って文字と文字との間隔および文字とオブジェクト
51との間隔をPとして配置してある。
[0004] In the character string shown in FIG.
Is created, the graphic object 51 is inserted between the character string “I am” and the character string “I like” as shown in FIG. In the example shown in FIG. 12, the character spacing is set to P as the character arrangement information, and the space between the characters and the space between the characters and the object 51 are arranged as P according to the character arrangement information.

【0005】しかし、図12に示す例では、オブジェク
ト51とその前後の文字「は」「が」との間隔は、文書
の見やすさ等といった点から他の文字と文字との間隔よ
りも少し広い方が適当である。
However, in the example shown in FIG. 12, the space between the object 51 and the characters "ha" and "ga" before and after the object 51 is slightly wider than the space between other characters from the point of viewability of the document. Is more appropriate.

【0006】そこで、図13に示すように、文字「は」
とオブジェクト51との間およびオブジェクト51と文
字「が」との間に空白(スペース)52を挿入すること
により調整することが行われる。あるいは、図14に示
すように、文字「は」とオブジェクト51と文字「が」
との文字間隔のみをQに設定することにより調整するこ
とも可能である。こうして、図11に示すように、オブ
ジェクト51が文字列「私は」「が好きです」中に適切
に配置された文書が完成する。
[0006] Therefore, as shown in FIG.
The adjustment is performed by inserting a space (space) 52 between the object 51 and the object 51 and between the object 51 and the character “GA”. Alternatively, as shown in FIG. 14, the character "wa", the object 51, and the character "ga"
It is also possible to make adjustments by setting only the character spacing of Q to Q. In this way, as shown in FIG. 11, a document in which the object 51 is appropriately arranged in the character strings “I like” and “I like” is completed.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、図13
に示すように、文字「は」とオブジェクト51との間お
よびオブジェクト51と文字「が」との間に空白52を
挿入して間隔を広げる場合、空白52の大きさは一般に
固定された大きさであるため、空白52の挿入により、
微妙な位置の調整をすることは難しい。
However, FIG.
As shown in the figure, when the space 52 is inserted between the character "ha" and the object 51 and between the object 51 and the character "ga" to increase the space, the size of the space 52 is generally a fixed size. Therefore, by inserting the space 52,
It is difficult to finely adjust the position.

【0008】一方、図14に示すように、文字「は」と
オブジェクト51と文字「が」の文字間隔のみを別の設
定とした場合、文字「は」から文字「が」までの範囲の
文字間隔をQとして設定したものであるため、オブジェ
クト51と文字「が」との間に文字列「とみかん」を追
加すると、挿入した文字列「とみかん」のそれぞれの文
字間隔もQとなり、再び文字間隔を変更する必要があ
り、面倒である。
On the other hand, as shown in FIG. 14, if only the character spacing between the character "ha", the object 51 and the character "ga" is set differently, the characters ranging from the character "wa" to the character "ga" Since the interval is set as Q, if the character string “Tomikan” is added between the object 51 and the character “GA”, the character spacing of each of the inserted character strings “Tomikan” also becomes Q, and again. Character spacing needs to be changed, which is troublesome.

【0009】そこで、本発明においては、文書中にオブ
ジェクトを挿入する場合に、隣接する文字列とオブジェ
クトとの間隔を簡単に調節して、図形や数式等のオブジ
ェクトが混在した文書を作成することが可能な文書編集
装置および文書編集プログラムを記録したコンピュータ
読み取り可能な記録媒体を提供する。
Therefore, according to the present invention, when an object is inserted into a document, a document in which objects such as figures and mathematical expressions are mixed is created by simply adjusting the interval between adjacent character strings and the object. And a computer-readable recording medium recording a document editing program.

【0010】[0010]

【課題を解決するための手段】本発明は、図形や数式等
のオブジェクトが混在した文書を作成する際、オブジェ
クトに対して仮想のオブジェクト領域を設定し、オブジ
ェクトと共に仮想のオブジェクト領域を文字配置情報に
従って文字列中に配置するように構成したものである。
According to the present invention, when creating a document in which objects such as figures and mathematical formulas are mixed, a virtual object area is set for the object, and the virtual object area is set together with the object with character arrangement information. Are arranged in a character string according to.

【0011】これにより、文字配置情報に従って文字列
中に配置した仮想のオブジェクト領域は、これに対する
オブジェクトと共に文字と同様に取り扱われるため、文
字列と共に移動やスクロール等をさせることが可能とな
る。そして、仮想のオブジェクト領域とオブジェクトと
の相対位置を調節することで前後に隣接する文字列とオ
ブジェクトとの間隔を簡単に調節して、図形や数式等の
オブジェクトが混在した文書を作成することが可能とな
る。
Accordingly, the virtual object area arranged in the character string according to the character arrangement information is handled in the same manner as the character together with the corresponding object, so that it is possible to move or scroll with the character string. Then, by adjusting the relative position between the virtual object area and the object, it is possible to easily adjust the distance between the character string and the object adjacent before and after, thereby creating a document in which objects such as figures and mathematical expressions are mixed. It becomes possible.

【0012】[0012]

【発明の実施の形態】請求項1に記載の発明は、文字配
置情報に従って配置される文字列中にオブジェクトを挿
入可能な文書編集装置であって、オブジェクトに対して
仮想のオブジェクト領域を設定する手段と、オブジェク
トと共に仮想のオブジェクト領域を文字配置情報に従っ
て文字列中に配置する手段と、を備えた文書編集装置と
したものである。これにより、文字配置情報に従って文
字列中に配置した仮想のオブジェクト領域は、これに対
するオブジェクトと共に文字と同様に取り扱われるた
め、文字列と共に移動やスクロール等をさせることが可
能となる。そして、仮想のオブジェクト領域とオブジェ
クトとの相対位置を調節することで前後に隣接する文字
列とオブジェクトとの間隔を簡単に微調節することがで
きる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 is a document editing apparatus capable of inserting an object into a character string arranged according to character arrangement information, wherein a virtual object area is set for the object. The document editing apparatus includes means for arranging a virtual object area together with an object in a character string in accordance with character arrangement information. Thus, the virtual object area arranged in the character string according to the character arrangement information is handled in the same manner as the character together with the object corresponding to the virtual object area, and thus can be moved or scrolled together with the character string. Then, by adjusting the relative position between the virtual object area and the object, it is possible to easily finely adjust the distance between the character string adjacent to the front and back and the object.

【0013】請求項2に記載の発明は、仮想のオブジェ
クト領域を可視化する手段を備えた請求項1記載の文書
編集装置としたものである。これにより、破線等を用い
て可視化した仮想のオブジェクト領域を確認しながら、
オブジェクトとその前後の文字列との位置を調整するこ
とが可能となる。
According to a second aspect of the present invention, there is provided the document editing apparatus according to the first aspect, further comprising means for visualizing a virtual object area. As a result, while confirming the virtual object area visualized using a broken line or the like,
It is possible to adjust the position of the object and the character strings before and after the object.

【0014】請求項3に記載の発明は、請求項1または
2記載の文書編集装置としてコンピュータを機能させる
ための文書編集プログラムを記録したコンピュータ読み
取り可能な記録媒体としたものである。このような文書
編集プログラムを記録した記録媒体をシステムあるいは
装置に供給し、そのシステムあるいは装置のコンピュー
タ(またはCPUやMPU等)が記録媒体に記録された
プログラムを読み出し実行することによって、請求項1
または2記載の発明と同様の作用が得られる。
According to a third aspect of the present invention, there is provided a computer-readable recording medium storing a document editing program for causing a computer to function as the document editing apparatus according to the first or second aspect. A recording medium storing such a document editing program is supplied to a system or an apparatus, and a computer (or a CPU or an MPU) of the system or the apparatus reads and executes the program recorded on the recording medium, whereby the system or the apparatus reads out the program.
Alternatively, an effect similar to that of the invention described in 2 is obtained.

【0015】以下、本発明の実施の形態について、図1
から図10を用いて説明する。
FIG. 1 shows an embodiment of the present invention.
This will be described with reference to FIG.

【0016】(実施の形態)図1は本発明の実施の形態
における文書編集装置のハードウェアブロック図であ
り、図2はその機能ブロック図である。
(Embodiment) FIG. 1 is a hardware block diagram of a document editing apparatus according to an embodiment of the present invention, and FIG. 2 is a functional block diagram thereof.

【0017】図1において、本発明の実施の形態におけ
る文書編集装置は、装置全体を制御する中央処理演算装
置としてのCPU1、CPU1が実行するプログラムコ
ードを格納する記憶装置としてのROM(Read O
nly Memory)2、文書中に存在するオブジェ
クトの情報等を格納する記憶装置としてのRAM(Ra
ndom Access Memory)3、入力手段
として文字および数式や図形等のオブジェクトを入力す
るためのキーボード4並びにポインティングデバイスで
あるマウス5、作成した文書等の表示データを表示する
表示装置としての陰極線管ディスプレイ等のCRT6、
および、作成した文書の情報をファイル形式で保存する
ための記憶装置としての補助記憶装置7を備える。
In FIG. 1, a document editing apparatus according to an embodiment of the present invention has a CPU 1 as a central processing unit for controlling the entire apparatus, and a ROM (Read O / O) as a storage device for storing program codes executed by the CPU 1.
nly Memory 2, a RAM (Ra) as a storage device for storing information on objects existing in a document, etc.
a keyboard 4 for inputting objects such as characters, formulas, and figures as input means, a mouse 5 as a pointing device, and a cathode ray tube display as a display device for displaying display data of a created document or the like. CRT6,
Further, an auxiliary storage device 7 is provided as a storage device for storing information of the created document in a file format.

【0018】上記構成の文書編集装置は、図2に示すよ
うに、文字列中に挿入する図形や数式等のオブジェクト
を作成するオブジェクト作成部8、オブジェクトに対し
て相対関係にある仮想のオブジェクト領域を設定する仮
想オブジェクト領域設定部9、オブジェクト作成部8に
より作成したオブジェクトおよび仮想オブジェクト領域
設定部9により設定した仮想のオブジェクト領域をRA
M3に格納するオブジェクト記憶部10、文字列中への
オブジェクトの挿入位置(配置情報)を設定するオブジ
ェクト配置情報設定部11、文書の本文を構成する文字
列を示す文字情報およびオブジェクト配置情報設定部1
1により設定したオブジェクト配置情報をRAM3に格
納する本文記憶部12、本文記憶部12によってRAM
3に格納した文字列および仮想オブジェクト領域を配置
する文字・仮想オブジェクト領域配置部13、文字・仮
想オブジェクト領域配置部13によって配置される仮想
オブジェクト領域との相対位置にオブジェクトを配置す
るオブジェクト配置部14、文字・仮想オブジェクト領
域配置部13およびオブジェクト配置部14により配置
される文字列およびオブジェクトをCRT6上に表示さ
せる表示部15として機能する。
As shown in FIG. 2, the document editing apparatus having the above-described structure includes an object creating section 8 for creating an object such as a figure or a mathematical expression to be inserted into a character string, a virtual object area relative to the object. The object created by the virtual object area setting unit 9, the object created by the object creating unit 8, and the virtual object area set by the virtual object area setting unit 9 are set to RA.
Object storage unit 10 for storing in M3, object arrangement information setting unit 11 for setting the insertion position (arrangement information) of an object in a character string, character information and object arrangement information setting unit for indicating a character string constituting the text of a document 1
The text storage unit 12 stores the object arrangement information set in step 1 in the RAM 3, and the text storage unit 12
3, a character / virtual object area arranging section 13 for arranging the character string and the virtual object area, and an object arranging section 14 for arranging the object at a position relative to the virtual object area arranged by the character / virtual object area arranging section 13. , Functions as a display unit 15 for displaying a character string and an object arranged by the character / virtual object area arrangement unit 13 and the object arrangement unit 14 on the CRT 6.

【0019】図3は図1に示す文書編集装置による文書
の作成例を示す図、図4は本文記憶部12によってRA
M3に格納される内容を示す図、図5は図4に示すオブ
ジェクトA,Bの配置情報の内容を示す図、図6はオブ
ジェクト記憶部10によってRAM3へ格納される情報
の内容を示す図である。なお、図3に示す例では、文字
配置情報として文字間隔をP、行間隔をRとして設定し
てある。
FIG. 3 is a diagram showing an example of creating a document by the document editing apparatus shown in FIG. 1, and FIG.
FIG. 5 is a diagram showing the contents stored in M3, FIG. 5 is a diagram showing the contents of the arrangement information of the objects A and B shown in FIG. 4, and FIG. 6 is a diagram showing the contents of the information stored in the RAM 3 by the object storage unit 10. is there. In the example shown in FIG. 3, the character spacing is set as P and the line spacing is set as R as the character arrangement information.

【0020】本実施の形態における文書編集装置により
図3に示す文書を作成する場合、キーボード4やマウス
5を用いて入力された文字列「あい」「う」「え」
「お」および改行コードは、本文記憶部12によって、
図4に示すようにRAM3へと格納される。また、これ
らの文字列中に挿入される図形や数式等のオブジェクト
A,B(図3参照)も同様に、キーボード4やマウス5
を用いてオブジェクト作成部8により作成され、作成さ
れた各オブジェクトA,Bは、オブジェクト記憶部10
によりRAM3へと格納される。図6に示すように、オ
ブジェクトA,Bはそれぞれ1番目のオブジェクトの情
報(外接矩形の横幅W1 ,外接矩形の高さH1 ,固
有の情報)、2番目のオブジェクトの情報(外接矩形の
横幅W2 ,外接矩形の高さH2 ,固有の情報)とし
てRAM3へ格納される。
When the document shown in FIG. 3 is created by the document editing apparatus according to the present embodiment, a character string “Ai”, “U”, “E” inputted using the keyboard 4 or the mouse 5 is used.
“O” and the line feed code are stored in the body storage unit 12.
The data is stored in the RAM 3 as shown in FIG. Similarly, objects A and B (see FIG. 3) such as figures and mathematical formulas inserted into these character strings are similarly assigned to the keyboard 4 and the mouse 5.
The objects A and B created by the object creating unit 8 using the
Is stored in the RAM 3. As shown in FIG. 6, objects A and B are information on the first object (width W1 of the circumscribed rectangle, height H1 of the circumscribed rectangle, unique information), and information on the second object (width W2 of the circumscribed rectangle). , Circumscribed rectangle height H2, and unique information).

【0021】これらの各オブジェクトA,Bが、図3に
示すようにそれぞれ「い」「う」間、「え」「お」間に
挿入される場合、図4に示すように本文記憶部12によ
って「い」「う」間および「え」「お」間に、図5に示
す内容のオブジェクトA,Bの配置情報がそれぞれ記憶
される。各オブジェクトA,Bの配置情報は、図5に示
すように、各オブジェクトA,Bが存在することを示す
コードと、各オブジェクトA,Bがオブジェクト記憶部
10によってRAM3の何番目に格納されているかを示
す数字とによって構成される。
When these objects A and B are inserted between "I" and "U" and between "E" and "O", respectively, as shown in FIG. 3, the text storage unit 12 shown in FIG. Thus, the arrangement information of the objects A and B having the contents shown in FIG. 5 is stored between "i" and "u" and between "e" and "o". As shown in FIG. 5, the arrangement information of each of the objects A and B includes a code indicating that each of the objects A and B exists, and the number of the object A and B stored in the RAM 3 by the object storage unit 10. Or a number that indicates

【0022】図3に示すように、仮想オブジェクト領域
設定部9は、横幅W1 ,高さH1の外接矩形のオブジ
ェクトAに対して、横幅vW1 ,高さvH1 の仮想
オブジェクト領域Xを設定し、さらにオブジェクトAに
対する相対座標(wX1,wY1 )を設定する。こう
して設定した仮想オブジェクト領域Xは、オブジェクト
記憶部10によりRAM3へ格納される。図6に示すよ
うに、仮想オブジェクト領域Xは、仮想オブジェクト領
域の大きさとしての仮想オブジェクト領域の横幅vW1
および仮想オブジェクト領域の高さvH1 と、オブ
ジェクトAの左上座標と仮想オブジェクト領域Xの左上
座標との相対位置を示すパラメータとしての「左へ/右
へ」の移動方向およびX座標の距離wX1 と「上へ/
下へ」の移動方向およびY座標の距離wY1 としてR
AM3へ格納される。
As shown in FIG. 3, the virtual object area setting section 9 sets a virtual object area X having a width vW1 and a height vH1 for a circumscribed rectangular object A having a width W1 and a height H1. The relative coordinates (wX1, wY1) with respect to the object A are set. The virtual object area X set in this way is stored in the RAM 3 by the object storage unit 10. As shown in FIG. 6, the virtual object area X has a width vW1 of the virtual object area as the size of the virtual object area.
And the height vH1 of the virtual object area, the moving direction of “left / right” as a parameter indicating the relative position between the upper left coordinate of the object A and the upper left coordinate of the virtual object area X, and the distance wX1 of the X coordinate and “ Up /
The moving direction of “down” and the distance wY1 of the Y coordinate are R
Stored in AM3.

【0023】なお、ここでは、オブジェクトAの仮想オ
ブジェクト領域Xについてのみ説明したが、オブジェク
トBの仮想オブジェクト領域Yについても同様である。
Although only the virtual object area X of the object A has been described here, the same applies to the virtual object area Y of the object B.

【0024】次に、図7および図8を用いて本実施の形
態の文書編集装置による文字列中へのオブジェクトA,
Bの配置から表示までの処理について説明する。図7は
文字列中へのオブジェクトA,Bの配置から表示までの
処理を示すフローチャート、図8は文字列中へのオブジ
ェクトA,Bの配置例を示す説明図である。
Next, referring to FIG. 7 and FIG. 8, the object A,
The processing from the arrangement of B to the display will be described. FIG. 7 is a flowchart showing a process from the arrangement of the objects A and B in the character string to the display, and FIG. 8 is an explanatory diagram showing an example of the arrangement of the objects A and B in the character string.

【0025】図7に示すように、ステップS21におい
て、文字・仮想オブジェクト領域配置部13は、図4の
文字情報およびオブジェクト配置情報を示すコードを取
得する。ステップS22において、文字・仮想オブジェ
クト領域配置部13は、取得したコードが文字情報かオ
ブジェクト配置情報かを判別する。取得したコードが文
字情報である場合、ステップS23において、文字・仮
想オブジェクト領域配置部13は、文字配置情報に従っ
て、取得した文字情報の示す文字を配置する。図8
(a)および(b)は、文字「あ」「い」を文字間隔P
一定,文字上下揃え位置中央の文字配置情報により配置
する様子を示している。
As shown in FIG. 7, in step S21, the character / virtual object area arranging unit 13 obtains codes indicating the character information and the object arrangement information shown in FIG. In step S22, the character / virtual object area arrangement unit 13 determines whether the acquired code is character information or object arrangement information. If the acquired code is character information, in step S23, the character / virtual object area arrangement unit 13 arranges the character indicated by the acquired character information according to the character arrangement information. FIG.
(A) and (b) show the characters “A” and “I” in the character spacing P
This figure shows a state in which the characters are arranged at a fixed position in the center of the character alignment position.

【0026】一方、ステップS22において、取得した
コードがオブジェクト配置情報である場合、文字・仮想
オブジェクト領域配置部13は、ステップS24におい
て、図6に示すオブジェクト情報を取得する。さらに、
ステップS25において、図8(c)に示すように、配
置した文字列「あい」に続く位置に仮想オブジェクト領
域Xを文字として文字列「あい」と同様の文字用の書式
を用いて文字間隔P一定,文字上下揃え位置中央の文字
配置情報により配置する。さらに、オブジェクト配置部
14は、図6に示すオブジェクト情報に基づいて仮想オ
ブジェクト領域XにオブジェクトAを配置する。すなわ
ち、オブジェクト配置部14は、仮想オブジェクト領域
Xの左上座標に対してオブジェクトAの左上座標の相対
位置が図6に示すオブジェクト情報の関係となるように
配置する(図3参照)。
On the other hand, if the acquired code is the object arrangement information in step S22, the character / virtual object area arrangement unit 13 acquires the object information shown in FIG. 6 in step S24. further,
In step S25, as shown in FIG. 8C, the character spacing P is set at a position following the arranged character string "Ai" using the same character format as the character string "Ai" using the virtual object area X as a character. Constantly, the characters are arranged according to the character arrangement information at the center of the character vertical alignment position. Further, the object placement unit 14 places the object A in the virtual object area X based on the object information shown in FIG. That is, the object placement unit 14 places the object A such that the relative position of the upper left coordinate of the object A with respect to the upper left coordinate of the virtual object area X has the relationship of the object information shown in FIG. 6 (see FIG. 3).

【0027】ステップS26では、RAM3に次のコー
ドが格納されているかどうかを判別し、次のコードが格
納されている場合、そのコードが文字・仮想オブジェク
ト領域配置部13により取得されてステップS22へと
戻る。
In step S26, it is determined whether or not the next code is stored in the RAM 3. If the next code is stored, the code is obtained by the character / virtual object area arrangement unit 13 and the process proceeds to step S22. And return.

【0028】上記ステップS22〜S26を繰り返し、
図8(d),(e),(f)に示すように残りの文字
「う」、「え」、仮想オブジェクト領域Yおよびオブジ
ェクトB、文字「お」が配置される。なお、2行目の文
字「え」、仮想オブジェクト領域Yおよび文字「お」を
配置する際、文字・仮想オブジェクト領域配置部13
は、1行目の文字「あ」「い」、仮想オブジェクト領域
Xおよびオブジェクト「う」に対して行間隔Rを空けて
配置する。ステップS26により、最後のコードが確認
されると、ステップS27において、表示部15によっ
て、上記配置した文字列「あ」「い」「う」「え」
「お」およびオブジェクトA,Bが、仮想オブジェクト
領域を可視化して示す破線と共にCRT6上への表示処
理がなされる。
The above steps S22 to S26 are repeated,
As shown in FIGS. 8D, 8E and 8F, the remaining characters "U" and "E", the virtual object area Y and the object B, and the character "O" are arranged. When arranging the character “E”, the virtual object area Y and the character “O” on the second line, the character / virtual object area
Are arranged at a line interval R with respect to the characters “A” and “I” on the first line, the virtual object area X, and the object “U”. When the last code is confirmed in step S26, in step S27, the displayed character strings "a", "i", "u", "e" are displayed on the display unit 15.
“O” and the objects A and B are displayed on the CRT 6 together with a broken line that indicates the virtual object area by visualization.

【0029】ここで、図8(f)において、仮想オブジ
ェクト領域Yに対して配置するオブジェクトBは、仮想
オブジェクト領域Yよりも大きなオブジェクトとなって
いるが、このような場合においても、仮想オブジェクト
領域Yの左上座標に対するオブジェクトBの左上座標の
関係を仮想オブジェクト領域の情報として、オブジェク
ト記憶部10によりRAM3へ格納することによって実
現される。
Here, in FIG. 8 (f), the object B to be arranged with respect to the virtual object area Y is an object larger than the virtual object area Y. This is realized by storing the relationship between the upper left coordinate of the object B and the upper left coordinate of the object B as information on the virtual object area in the RAM 3 by the object storage unit 10.

【0030】以上のように、オブジェクトA,Bに対し
てそれぞれ仮想オブジェクト領域X,Yを設定し、図形
や数式等のオブジェクトA,Bと共に仮想オブジェクト
領域X,Yを文字配置情報に従って文字列「あいうえ
お」中に配置することによって、仮想オブジェクト領域
X,YはオブジェクトA,Bと共に文字と同様に取り扱
われるため、文字列と共に移動やスクロール等をさせる
ことが可能となる。そして、仮想のオブジェクト領域
X,YとオブジェクトA,Bとのそれぞれの相対位置を
調節することで前後に隣接する文字列「あい」「う」
「え」「お」とオブジェクトA,Bとの間隔を簡単に調
節して、図形や数式等のオブジェクトが混在した文書を
作成することが可能となる。すなわち、オブジェクト
A,Bを挿入する位置の空白の個数を増減したり、一部
の文字間隔の設定を変更したりする手間が省かれる。
As described above, the virtual object areas X and Y are set for the objects A and B, respectively, and the virtual object areas X and Y together with the objects A and B such as figures and mathematical formulas are represented by the character strings " By arranging the virtual object areas X and Y together with the objects A and B in the same manner as the characters by arranging them in “Aioe”, it is possible to move or scroll with the character strings. Then, by adjusting the relative positions of the virtual object areas X and Y and the objects A and B, the character strings “Ai” and “U” adjacent in front and behind are adjusted.
It is possible to easily adjust the distance between "e" and "o" and the objects A and B to create a document in which objects such as figures and mathematical formulas are mixed. That is, the trouble of increasing or decreasing the number of blanks at the positions where the objects A and B are inserted and changing the setting of a part of the character spacing can be omitted.

【0031】次に、図9および図10を用いて、仮想オ
ブジェクト領域の調整手順について説明する。図9は仮
想オブジェクト領域の設定手順を示すフローチャート、
図10は仮想オブジェクト領域設定メニューを示す図で
ある。
Next, the procedure for adjusting the virtual object area will be described with reference to FIGS. 9 and 10. FIG. FIG. 9 is a flowchart showing a procedure for setting a virtual object area;
FIG. 10 is a diagram showing a virtual object area setting menu.

【0032】図9に示すように、ステップS31におい
てキーボード4またはマウス5により仮想オブジェクト
領域設定機能を選択すると、ステップS32において仮
想オブジェクト領域設定メニューが図10に示すように
CRT6上に表示される。なお、この仮想オブジェクト
領域設定機能により設定される以前の仮想オブジェクト
領域は、オブジェクトの外接矩形と同一の領域となるよ
うに設定されている。
As shown in FIG. 9, when the virtual object area setting function is selected by the keyboard 4 or the mouse 5 in step S31, a virtual object area setting menu is displayed on the CRT 6 as shown in FIG. 10 in step S32. The virtual object area before being set by the virtual object area setting function is set to be the same area as the circumscribed rectangle of the object.

【0033】ステップS33においては、図10に示す
各設定項目のパラメータを入力および変更することがで
きる。図10において、「左上座標との関係」の各設定
項目は、図6に示すオブジェクトの配置情報(「左へ/
右へ」の移動方向および「X座標の距離wX」と「上へ
/下へ」の移動方向および「Y座標の距離wY」)を設
定するためのものである。「幅」および「高さ」は、図
6に示す仮想オブジェクト領域の情報(「横幅vW」お
よび「高さvH」)を設定するためのものである。
In step S33, the parameters of each setting item shown in FIG. 10 can be input and changed. In FIG. 10, each setting item of “Relation with upper left coordinates” is the object placement information (“Left /
The moving direction of “to the right”, the “distance wX of the X coordinate”, the moving direction of “up / down”, and the “distance wY of the Y coordinate” are set. “Width” and “height” are used to set information (“width vW” and “height vH”) of the virtual object area shown in FIG.

【0034】これらの入力がなされたパラメータは、ス
テップS34において、図10に示す「実行」ボタンが
選択されると、ステップS35において、オブジェクト
記憶部10によりRAM3へ格納される。ステップS3
4において、図10に示す「取消」ボタンが選択される
と、ステップS35はスキップして次のステップS36
へと進む。ステップS36において、図10に示す仮想
オブジェクト領域設定メニューはCRT6上より消去さ
れる。
When the "execute" button shown in FIG. 10 is selected in step S34, these input parameters are stored in the RAM 3 by the object storage unit 10 in step S35. Step S3
In step 4, if the "cancel" button shown in FIG. 10 is selected, step S35 is skipped and the next step S36
Proceed to. In step S36, the virtual object area setting menu shown in FIG.

【0035】このように図10に示すような仮想オブジ
ェクト領域設定メニュー中の各設定項目を変更すること
によって、仮想オブジェクト領域情報(「横幅vW」お
よび「高さvH」)を自由に設定することができ、仮想
オブジェクト領域X,Yの大きさをそれぞれに配置する
オブジェクトA,Bの大きさに合わせて最適な形状とな
るように設定することができる。また、オブジェクトの
配置情報(「左へ/右へ」の移動方向および「X座標の
距離wX」と「上へ/下へ」の移動方向および「Y座標
の距離wY」)を自由に設定することができるため、仮
想オブジェクト領域X,Yのそれぞれに対して配置する
オブジェクトA,Bの配置を調節することにより、前後
に隣接する文字列「あい」「う」「え」「お」とオブジ
ェクトX,Yとの位置関係を調節して自由にオブジェク
トが混在した文書を作成することができる。
By changing each setting item in the virtual object area setting menu as shown in FIG. 10, the virtual object area information ("width vW" and "height vH") can be freely set. The size of the virtual object areas X and Y can be set so as to have an optimal shape according to the size of the objects A and B to be arranged respectively. Also, the arrangement information of the objects (the moving direction of “left / right” and “distance wX of X coordinate”, the moving direction of “up / down” and “distance wY of Y coordinate”) are freely set. Therefore, by adjusting the arrangement of the objects A and B arranged in each of the virtual object areas X and Y, the character strings “Ai”, “U”, “E”, “O” and By adjusting the positional relationship between X and Y, it is possible to freely create a document in which objects are mixed.

【0036】さらに、図8(f)および図3に示すオブ
ジェクトBのように、仮想オブジェクト領域Yのサイズ
がオブジェクトのサイズより大きい場合であっても、文
字列中に文字として配置される仮想オブジェクト領域Y
だけが前後の文字との配置に関係するものであるため、
オブジェクトBの大きさは前後の文字に何ら影響を及ぼ
すことはない。
Furthermore, even if the size of the virtual object area Y is larger than the size of the object, as in the case of the object B shown in FIGS. Area Y
Only relates to the alignment with the surrounding characters,
The size of the object B does not affect the characters before and after.

【0037】なお、本発明の目的は、前述した実施の形
態の機能を実現するソフトウェアのプログラムコードを
記録した記録媒体を、システムあるいは装置に供給し、
そのシステムあるいは装置のコンピュータが記録媒体に
格納されたプログラムコードを読み出し実行することに
よっても、達成されることは言うまでもない。この場
合、記録媒体から読み出されたプログラムコード自体が
前述した実施の形態の機能を実現することになり、その
プログラムコードを記録した記録媒体は本発明を構成す
ることになる。
An object of the present invention is to provide a system or an apparatus with a recording medium storing a program code of software for realizing the functions of the above-described embodiments,
It is needless to say that the present invention is also achieved when the computer of the system or the apparatus reads out and executes the program code stored in the recording medium. In this case, the program code itself read from the recording medium realizes the function of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention.

【0038】このようなプログラムコードを供給するた
めの記録媒体としては、例えば、フレキシブルディスク
(フロッピーディスク)、ハードディスク、光ディス
ク、光磁気ディスク、CD−ROM、CD−R、磁気テ
ープ、不揮発性のメモリカードやROMなどを用いるこ
とができる。また、インターネット・プロバイダ等のサ
ーバ上におかれたこれらの記録媒体にプログラムコード
を格納し、インターネットを介してこのプログラムコー
ドを提供する形態であっても本発明を構成する。
As a recording medium for supplying such a program code, for example, a flexible disk (floppy disk), hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory A card, a ROM, or the like can be used. In addition, the present invention is configured in a form in which a program code is stored in these recording media placed on a server such as an Internet provider and the program code is provided via the Internet.

【0039】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施の形態の
機能が実現されるだけでなく、そのプログラムコードの
指示に基づき、コンピュータ上で稼働しているOS(オ
ペレーティングシステム)などが実際の処理の一部また
は全部を行い、その処理によって前述した実施の形態の
機能が実現される場合も含まれることは言うまでもな
い。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. It is needless to say that the system may perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0040】さらに、記録媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPUなどが実際の処理の一部または全部を行
い、その処理によって前述した実施の形態の機能が実現
される場合も言うまでもない。
Further, after the program code read from the recording medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that a CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

【0041】[0041]

【発明の効果】本発明によれば、図形や数式等のオブジ
ェクトが混在した文書を作成する際、オブジェクトに対
して仮想のオブジェクト領域を設定し、オブジェクトと
共に仮想のオブジェクト領域を文字配置情報に従って文
字列中に配置することによって、文字配置情報に従って
文字列中に配置した仮想のオブジェクト領域は、これに
対するオブジェクトと共に文字と同様に取り扱われるた
め、文字列と共に移動やスクロール等をさせることが可
能となる。そして、仮想のオブジェクト領域とオブジェ
クトとの相対位置を調節することで前後に隣接する文字
列とオブジェクトとの間隔を簡単に調節して、図形や数
式等のオブジェクトが混在した文書を作成することが可
能となる。すなわち、オブジェクトを挿入する位置の空
白の個数を増減したり、一部の文字間隔の設定を変更し
たりする手間が省かれる。
According to the present invention, when creating a document in which objects such as figures and formulas are mixed, a virtual object area is set for the object, and the virtual object area is set together with the object in accordance with the character arrangement information. By arranging them in a line, the virtual object area arranged in the character string according to the character arrangement information is handled in the same manner as the character together with the corresponding object, so that it is possible to move or scroll with the character string. . Then, by adjusting the relative position between the virtual object area and the object, it is possible to easily adjust the distance between the character string and the object adjacent before and after, thereby creating a document in which objects such as figures and mathematical expressions are mixed. It becomes possible. That is, the trouble of increasing or decreasing the number of blanks at the position where the object is inserted and changing the setting of a part of the character spacing can be omitted.

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

【図1】本発明の実施の形態における文書編集装置のハ
ードウェアブロック図
FIG. 1 is a hardware block diagram of a document editing apparatus according to an embodiment of the present invention.

【図2】図1に示す文書編集装置の機能ブロック図FIG. 2 is a functional block diagram of the document editing device shown in FIG. 1;

【図3】図1に示す文書編集装置による文書の作成例を
示す図
FIG. 3 is a view showing an example of creating a document by the document editing apparatus shown in FIG. 1;

【図4】本文記憶部によってRAMに格納される内容を
示す図
FIG. 4 is a diagram showing contents stored in a RAM by a text storage unit.

【図5】図4に示すオブジェクトの配置情報の内容を示
す図
FIG. 5 is a diagram showing contents of arrangement information of the objects shown in FIG. 4;

【図6】オブジェクト記憶部によってRAMへ格納され
る情報の内容を示す図
FIG. 6 is a diagram showing contents of information stored in a RAM by an object storage unit.

【図7】文字列中へのオブジェクトA,Bの配置から表
示までの処理を示すフローチャート
FIG. 7 is a flowchart showing processing from arrangement of objects A and B in a character string to display;

【図8】文字列中へのオブジェクトの配置例を示す説明
FIG. 8 is an explanatory diagram showing an example of arrangement of objects in a character string.

【図9】仮想オブジェクト領域の設定手順を示すフロー
チャート
FIG. 9 is a flowchart showing a procedure for setting a virtual object area;

【図10】仮想オブジェクト領域設定メニューを示す図FIG. 10 is a diagram showing a virtual object area setting menu.

【図11】従来の文書編集装置によるオブジェクトが混
在した文書の作成例を示す図
FIG. 11 is a diagram showing an example of creating a document in which objects are mixed by a conventional document editing apparatus.

【図12】従来の文書編集装置によるオブジェクトが混
在した文書の作成例を示す図
FIG. 12 is a diagram showing an example of creating a document in which objects are mixed by a conventional document editing apparatus.

【図13】従来の文書編集装置によるオブジェクトが混
在した文書の作成例を示す図
FIG. 13 is a diagram showing an example of creating a document in which objects are mixed by a conventional document editing apparatus.

【図14】従来の文書編集装置によるオブジェクトが混
在した文書の作成例を示す図
FIG. 14 is a diagram showing an example of creating a document in which objects are mixed by a conventional document editing apparatus.

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

1 CPU 2 ROM 3 RAM 4 キーボード 5 マウス 6 CRT 7 補助記憶装置 8 オブジェクト作成部 9 仮想オブジェクト領域設定部 10 オブジェクト記憶部 11 オブジェクト配置情報設定部 12 本文記憶部 13 文字・仮想オブジェクト領域配置部 14 オブジェクト配置部 15 表示部 A,B オブジェクト X,Y 仮想オブジェクト領域 DESCRIPTION OF SYMBOLS 1 CPU 2 ROM 3 RAM 4 Keyboard 5 Mouse 6 CRT 7 Auxiliary storage device 8 Object creation part 9 Virtual object area setting part 10 Object storage part 11 Object arrangement information setting part 12 Body storage part 13 Character / virtual object area arrangement part 14 Object Arrangement unit 15 Display unit A, B object X, Y Virtual object area

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】文字配置情報に従って配置される文字列中
にオブジェクトを挿入可能な文書編集装置であって、前
記オブジェクトに対して仮想のオブジェクト領域を設定
する手段と、前記オブジェクトと共に仮想のオブジェク
ト領域を前記文字配置情報に従って前記文字列中に配置
する手段と、を備えた文書編集装置。
1. A document editing apparatus capable of inserting an object into a character string arranged according to character arrangement information, comprising: means for setting a virtual object area for the object; and a virtual object area together with the object. Means for arranging in the character string according to the character arrangement information.
【請求項2】前記仮想のオブジェクト領域を可視化する
手段を備えた請求項1記載の文書編集装置。
2. The document editing apparatus according to claim 1, further comprising means for visualizing the virtual object area.
【請求項3】請求項1または2記載の文書編集装置とし
てコンピュータを機能させるための文書編集プログラム
を記録したコンピュータ読み取り可能な記録媒体。
3. A computer-readable recording medium on which a document editing program for causing a computer to function as the document editing apparatus according to claim 1 or 2 is recorded.
JP36719199A 1999-12-24 1999-12-24 Document editor and computer readable recording medium stored with document editing program Pending JP2001184346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36719199A JP2001184346A (en) 1999-12-24 1999-12-24 Document editor and computer readable recording medium stored with document editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36719199A JP2001184346A (en) 1999-12-24 1999-12-24 Document editor and computer readable recording medium stored with document editing program

Publications (1)

Publication Number Publication Date
JP2001184346A true JP2001184346A (en) 2001-07-06

Family

ID=18488703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36719199A Pending JP2001184346A (en) 1999-12-24 1999-12-24 Document editor and computer readable recording medium stored with document editing program

Country Status (1)

Country Link
JP (1) JP2001184346A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1313916C (en) * 2004-01-30 2007-05-02 佳能株式会社 Layout control method and layout control apparatus
CN100351770C (en) * 2004-01-30 2007-11-28 佳能株式会社 Layout adjustment method and apparatus
JP2011090692A (en) * 2010-11-15 2011-05-06 Seiko Epson Corp Document editing device, program, and storage medium
CN103314368A (en) * 2011-01-25 2013-09-18 惠普发展公司,有限责任合伙企业 Document design capture and reuse system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1313916C (en) * 2004-01-30 2007-05-02 佳能株式会社 Layout control method and layout control apparatus
CN100351770C (en) * 2004-01-30 2007-11-28 佳能株式会社 Layout adjustment method and apparatus
JP2011090692A (en) * 2010-11-15 2011-05-06 Seiko Epson Corp Document editing device, program, and storage medium
CN103314368A (en) * 2011-01-25 2013-09-18 惠普发展公司,有限责任合伙企业 Document design capture and reuse system
CN103314368B (en) * 2011-01-25 2016-01-06 惠普发展公司,有限责任合伙企业 Document design is caught and is reused system

Similar Documents

Publication Publication Date Title
JP3813579B2 (en) Moving picture editing apparatus, moving picture editing program, computer-readable recording medium
JP2972510B2 (en) Document creation device
JP2008158765A (en) Information processing device, information processing method, and program for executing it by computer
JP5290433B2 (en) Display processing device, display processing device control method, control program, and computer-readable recording medium recording control program
JPH11250271A (en) Layout editing method, device therefor and record medium recorded with program for executing the processing
JP2001184346A (en) Document editor and computer readable recording medium stored with document editing program
JP2011048477A (en) Device, method, and program for drawing flow chart
JP2006004086A (en) Window display controller, its method, and program
JPH11345061A (en) Extension scroll system
JPH1091382A (en) Text editing device and method
KR100953586B1 (en) Word processor based method for electronically proofreading a document and a computer-readable recording medium containing programs for the same method
JP3674905B2 (en) Document editing device
JPS6215670A (en) Editing system for intra-graphic character string
JP3506087B2 (en) Style and data structure simultaneous creation device
JP3443840B2 (en) Ruled line output method and ruled line output device
JP2685762B2 (en) Compound document creating apparatus and compound document creating method
KR102045541B1 (en) Method and apparatus for navigation using mini-map
JPH0325235Y2 (en)
JP2002169793A (en) Document editing device, document editing method and recording medium recording document editing program
JP3639661B2 (en) Graphic processing apparatus and method
Mössenböck et al. Oberon0—A Case Study
JPH04554A (en) Document processor
JPH10188024A (en) Graphic editing device, its method and recording medium
JP2001147916A (en) Document input editing device and computer readable recording medium with recorded document input editing program
JPH06236365A (en) Word processor and format setting method