JP2001147916A - Document input editing device and computer readable recording medium with recorded document input editing program - Google Patents

Document input editing device and computer readable recording medium with recorded document input editing program

Info

Publication number
JP2001147916A
JP2001147916A JP33123599A JP33123599A JP2001147916A JP 2001147916 A JP2001147916 A JP 2001147916A JP 33123599 A JP33123599 A JP 33123599A JP 33123599 A JP33123599 A JP 33123599A JP 2001147916 A JP2001147916 A JP 2001147916A
Authority
JP
Japan
Prior art keywords
character
modification
character string
format information
coordinates
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
JP33123599A
Other languages
Japanese (ja)
Inventor
Koichi Nozaki
浩一 野崎
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 JP33123599A priority Critical patent/JP2001147916A/en
Publication of JP2001147916A publication Critical patent/JP2001147916A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To unnecessitate complicated operation such as adjusting a position by inserting a space or the like when setting a character modification. SOLUTION: This device is provided with a text storage part 11 for storing a character string to be inputted in a RAM, character format storage part 12 for storing character format information on characters, which compose of the character string, in the RAM, character modification setting part 9 for setting a character modification object to be applied to one part of the character string, character modification storage part 13 for storing the character modification object in the RAM, modification format setting part 10 for setting modification format information concerning the character modification object, modification format storage part 14 for storing the modification format information in the RAM, composition part 15 for locating the character string of one part, to which the character modification object is applied based on the modification format information, in the character string based on the character format information, and display data storage part 19 for storing the located character string in an auxiliary storage device after converting it into a data form, with which the character string can be outputted to a CRT.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字を入力および
編集し、文書を作成する文書入力編集装置および文書入
力編集プログラムを記録したコンピュータ読み取り可能
な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document input / editing apparatus for inputting and editing characters and creating a document, and a computer-readable recording medium storing a document input / 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 input / editing device such as a Japanese word processor or a personal computer which executes Japanese word processor software. These document input / editing apparatuses have a character modification function for modifying a character string such as an overline, an underline, hatching, and surrounding rules. With this character modification function, the amount of space from the character string to be modified to the character modification can be adjusted by setting the character modification format.

【0003】例えば、図7(a)に示す文字修飾として
の囲み罫31においては、被修飾文字列32と囲み罫3
1との空き量がそれぞれ左右10ポイントで設定されて
いる。したがって、被修飾文字列32の最初の文字
「あ」から左に10ポイントの空きを挟んだ位置に囲み
罫31の左縦線が表示され、最終の文字「う」の右に1
0ポイントの空きを挟んだ位置に囲み罫31の右縦線が
表示される。このように、従来の文字修飾書式設定にお
いては、文字修飾は被修飾文字列32に対してのみ相対
的に付随するものであり、これに隣接する上下左右の文
字列には無関係である。
For example, in an enclosing rule 31 as a character modification shown in FIG.
The free space with 1 is set at 10 points on each side. Therefore, the left vertical line of the encircling rule 31 is displayed at a position sandwiching a space of 10 points to the left of the first character “A” of the character string 32 to be modified, and 1 character is displayed to the right of the last character “U”.
A right vertical line of the surrounding ruler 31 is displayed at a position sandwiching the empty space of 0 points. As described above, in the conventional character modification format setting, the character modification is relatively associated only with the character string 32 to be modified, and is irrelevant to the upper, lower, left and right character strings adjacent thereto.

【0004】そのため、文字修飾を掛けることにより被
修飾文字列32や、この被修飾文字列32の上下左右に
隣接する文字等の位置(座標)には何の変化も与えな
い。すなわち、図7(b)に示すように、被修飾文字列
「あいう」の前後に文字「A」や「B」が存在しても、
被修飾文字列「あいう」に文字修飾を掛けることによっ
て、被修飾文字列「あいう」や文字「A」「B」の位置
が変化することはない。
[0004] Therefore, by applying character modification, no change is given to the position (coordinates) of the character string 32 to be modified and characters adjacent to the character string 32 to be modified vertically and horizontally. That is, as shown in FIG. 7B, even if the characters “A” and “B” exist before and after the character string “
By applying the character modification to the character string to be modified “Ai”, the positions of the character string to be modified “Ai” and the characters “A” and “B” do not change.

【0005】[0005]

【発明が解決しようとする課題】したがって、文字修飾
書式設定によっては、囲み罫31等の線が被修飾文字列
32に隣接する文字と重なって表示されることがある。
図7(b)に示す例では、被修飾文字列「あいう」とそ
の前後の文字「A」「B」との間の空き量1ポイントに
対し、囲み罫31の被修飾文字列「あいう」との左右の
空き量が10ポイントに設定されている。
Therefore, depending on the character modification format setting, a line such as the enclosing rule 31 may be displayed overlapping with the character adjacent to the character string 32 to be modified.
In the example shown in FIG. 7B, the modified character string “Ai” of the enclosing rule 31 corresponds to one point of the free space between the character string “Ai” to be modified and the characters “A” and “B” before and after it. Are set to 10 points.

【0006】このように文字修飾と文字とが重なってし
まった場合、文書入力編集装置の操作者は文字修飾とそ
の上下左右の文字とが重ならないように調整する必要が
ある。しかしながら、この調整作業は、文字書式設定に
て重なる部分の空き量を調整したり、あるいは重なる位
置にスペースを入れるなどといった非常に煩わしい操作
をその都度行わなければならない。
When the character modification and the character overlap as described above, the operator of the document input / editing apparatus needs to adjust the character modification so that the upper, lower, left and right characters do not overlap. However, in this adjustment work, it is necessary to perform a very troublesome operation such as adjusting the free space of the overlapping portion in the character format setting or inserting a space in the overlapping position each time.

【0007】そこで、本発明においては、文字修飾を設
定する場合に、スペース等を挿入して位置調整を行うと
いった煩わしい操作を不要とした文書入力編集装置およ
び文書入力編集プログラムを記録したコンピュータ読み
取り可能な記録媒体を提供することを目的とする。
Accordingly, in the present invention, a document input / editing apparatus and a computer readable recording of a document input / editing program which eliminate the need for a troublesome operation such as inserting a space or the like to perform position adjustment when setting character modification. It is intended to provide a simple recording medium.

【0008】[0008]

【課題を解決するための手段】本発明の文書入力編集装
置においては、文字修飾オブジェクトとこの文字修飾オ
ブジェクトを施す文字列との間の空き量等の修飾書式情
報に基づいて文字修飾オブジェクトを施した一部の文字
列を、隣接する文字間の空き量等の文字書式情報に基づ
いて文字列中に配置するように構成したものである。
According to the document input / editing apparatus of the present invention, a character modification object is assigned based on modification format information such as a free space between a character modification object and a character string to which the character modification object is applied. A part of the character string is arranged in the character string based on character format information such as the space between adjacent characters.

【0009】これにより、文字修飾オブジェクトを施し
た一部の文字列を、文字書式情報に基づいて文字列中に
隣接する文字と文字修飾オブジェクトとが重ならないよ
うに配置することが可能となり、文字修飾を設定する場
合に、スペース等を挿入して位置調整を行うといった煩
わしい操作が不要となる。
[0009] This makes it possible to arrange a part of the character string to which the character modification object has been applied so that adjacent characters in the character string do not overlap with the character modification object based on the character format information. When setting the decoration, a troublesome operation such as inserting a space or the like to adjust the position is not required.

【0010】[0010]

【発明の実施の形態】本発明の請求項1に記載の発明
は、入力装置と記憶装置と出力装置とを備えた文書入力
編集装置において、入力装置により入力する文字列を記
憶装置に格納するテキスト格納手段と、文字列を構成す
る文字に関する文字書式情報を記憶装置に格納する文字
書式格納手段と、文字列の一部に対して施す文字修飾オ
ブジェクトを設定する文字修飾設定手段と、文字修飾オ
ブジェクトを記憶装置に格納する文字修飾格納手段と、
文字修飾オブジェクトに関する修飾書式情報を設定する
修飾書式設定手段と、修飾書式情報を記憶装置に格納す
る修飾書式格納手段と、修飾書式情報に基づいて文字修
飾オブジェクトを施した一部の文字列を文字書式情報に
基づいて文字列中に配置する組版手段と、同組版手段に
より配置した文字列を出力装置に出力可能なデータ形式
に変換して記憶装置に格納する出力データ格納手段と、
を備えたことを特徴とする文書入力編集装置としたもの
である。これにより、文字修飾オブジェクトを施した一
部の文字列を、文字書式情報に基づいて文字列中に隣接
する文字と文字修飾オブジェクトとが重ならないように
配置することが可能となる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS According to a first aspect of the present invention, in a document input / editing apparatus having an input device, a storage device, and an output device, a character string input by the input device is stored in the storage device. Text storage means, character format storage means for storing character format information relating to characters constituting a character string in a storage device, character modification setting means for setting a character modification object to be applied to a part of the character string, and character modification Character modification storage means for storing the object in the storage device;
A modification format setting unit for setting modification format information on a character modification object, a modification format storage unit for storing the modification format information in a storage device, and a character string obtained by applying a character modification object based on the modification format information to a character. Typesetting means for arranging in a character string based on the format information; output data storage means for converting the character string arranged by the typesetting means into a data format that can be output to an output device and storing the data in a storage device;
And a document input / editing apparatus characterized by comprising: This makes it possible to arrange a part of the character string to which the character modification object has been applied so that adjacent characters in the character string do not overlap with the character modification object based on the character format information.

【0011】本発明の請求項2に記載の発明は、文字書
式情報は、隣接する文字間の空き量に関するものであ
り、組版手段は、空き量に基づいて文字列の一部に施し
た文字修飾オブジェクトと同文字修飾オブジェクトに隣
接する文字列との間隔を調整するものであることを特徴
とする請求項1記載の文書入力編集装置としたものであ
る。これにより、文字修飾オブジェクトとこれに隣接す
る文字列との間隔を、隣接する文字間の空き量に基づい
て容易に調整し、文字修飾オブジェクトとこれに隣接す
る文字とが重ならないように配置することが可能とな
る。
In the invention according to a second aspect of the present invention, the character format information relates to a space between adjacent characters, and the typesetting means performs character processing performed on a part of a character string based on the space. 2. The document input / editing apparatus according to claim 1, wherein an interval between the decoration object and a character string adjacent to the character decoration object is adjusted. Thereby, the interval between the character decoration object and the character string adjacent thereto is easily adjusted based on the space between the adjacent characters, and the character decoration object and the adjacent characters are arranged so as not to overlap. It becomes possible.

【0012】本発明の請求項3に記載の発明は、組版手
段は、文字書式情報に基づいて文字列を構成する各文字
の座標を算出する文字組版手段と、修飾書式情報および
文字修飾オブジェクトを施す文字列の座標から文字修飾
オブジェクトの座標を算出する文字修飾配置手段と、文
字組版手段により算出した座標と文字修飾配置手段によ
り算出した座標から文字修飾オブジェクトと同文字修飾
オブジェクトに隣接する文字列との間隔を算出する差分
算出手段と、によって構成された請求項2記載の文書入
力編集装置としたものである。これにより、文字修飾オ
ブジェクトとこれに隣接する文字列との間隔を、文字列
を構成する各文字の座標と文字修飾オブジェクトの座標
とから算出し、これに基づいて文字修飾オブジェクトと
これに隣接する文字とが重ならないように配置すること
が可能となる。
According to a third aspect of the present invention, the typesetting means includes a character typesetting means for calculating coordinates of each character constituting a character string based on the character format information; A character modification arrangement unit for calculating the coordinates of the character modification object from the coordinates of the character string to be applied; a character modification object and a character string adjacent to the character modification object based on the coordinates calculated by the character composition unit and the coordinates calculated by the character modification arrangement unit And a difference calculating means for calculating an interval between the document input and the editing device. Thereby, the space between the character decoration object and the character string adjacent thereto is calculated from the coordinates of each character constituting the character string and the coordinates of the character decoration object, and based on this, the character decoration object and the adjacent character string are calculated. Characters can be arranged so as not to overlap.

【0013】本発明の請求項4に記載の発明は、修飾書
式情報は、文字修飾オブジェクトと同文字修飾オブジェ
クトを施す文字列との間の空き量に関するものであるこ
とを特徴とする請求項1から3のいずれかに記載の文書
入力編集装置としたものである。これにより、文字修飾
オブジェクトとこれを施す文字列との間の空き量を設定
し、文字修飾オブジェクトとこれを施す文字列との位置
関係を容易に調整することが可能となる。
According to a fourth aspect of the present invention, the modification format information relates to an amount of space between a character modification object and a character string to which the character modification object is applied. Or the document input / editing device described in any one of (1) to (3). This makes it possible to set the free space between the character modification object and the character string to which the character modification object is applied, and easily adjust the positional relationship between the character modification object and the character string to which the character modification object is to be applied.

【0014】本発明の請求項5に記載の発明は、入力装
置と記憶装置と出力装置とを備えたコンピュータを文書
入力編集装置として機能させる文書入力編集プログラム
を記録したコンピュータ読み取り可能な記録媒体であっ
て、入力装置により入力する文字列を記憶装置に格納す
るテキスト格納手段と、文字列を構成する文字に関する
文字書式情報を記憶装置に格納する文字書式格納手段
と、文字列の一部に対して施す文字修飾オブジェクトを
設定する文字修飾設定手段と、文字修飾オブジェクトを
記憶装置に格納する文字修飾格納手段と、文字修飾オブ
ジェクトに関する修飾書式情報を設定する修飾書式設定
手段と、修飾書式情報を記憶装置に格納する修飾書式格
納手段と、修飾書式情報に基づいて文字修飾オブジェク
トを施した一部の文字列を文字書式情報に基づいて文字
列中に配置する組版手段と、同組版手段により配置した
文字列を出力装置に出力可能なデータ形式に変換して記
憶装置に格納する出力データ格納手段と、してコンピュ
ータを機能させる文書入力編集プログラムを記録したコ
ンピュータ読み取り可能な記録媒体としたものである。
このような文書入力編集プログラムを記録した記録媒体
をシステムあるいは装置に供給し、そのシステムあるい
は装置のコンピュータ(またはCPUやMPU等)が記
録媒体に記録されたプログラムを読み出し実行すること
によって、文字修飾オブジェクトを施した一部の文字列
を、文字書式情報に基づいて文字列中に隣接する文字と
文字修飾オブジェクトとが重ならないように配置するこ
とが可能となる。
According to a fifth aspect of the present invention, there is provided a computer-readable recording medium storing a document input / editing program for causing a computer having an input device, a storage device, and an output device to function as a document input / editing device. Text storage means for storing a character string input by an input device in a storage device, character format storage means for storing character format information relating to characters constituting the character string in the storage device, and a part of the character string. Character modification setting means for setting a character modification object to be applied, character modification storage means for storing the character modification object in a storage device, modification format setting means for setting modification format information relating to the character modification object, and storing modification format information Modification format storage means to be stored in the device, and some statements with character modification objects based on the modification format information Typesetting means for arranging a string in a character string based on character format information; output data storage means for converting the character string arranged by the typesetting means into a data format that can be output to an output device and storing the converted data in a storage device; And a computer-readable recording medium on which a document input / editing program for causing a computer to function is recorded.
A recording medium on which such a document input / editing program is recorded is supplied to a system or an apparatus, and a computer (or CPU, MPU, or the like) of the system or apparatus reads and executes the program recorded on the recording medium to perform character modification. Part of the character string with the object can be arranged based on the character format information such that adjacent characters in the character string do not overlap with the character modification object.

【0015】本発明の請求項6に記載の発明は、文字書
式情報は、隣接する文字間の空き量に関するものであ
り、組版手段は、空き量に基づいて文字列の一部に施し
た文字修飾オブジェクトと同文字修飾オブジェクトに隣
接する文字列との間隔を調整するものであることを特徴
とする請求項5記載の文書入力編集プログラムを記録し
たコンピュータ読み取り可能な記録媒体としたものであ
る。上記と同様、この記録媒体に記録された文書入力編
集プログラムを実行することにより、文字修飾オブジェ
クトとこれに隣接する文字列との間隔を、隣接する文字
間の空き量に基づいて容易に調整し、文字修飾オブジェ
クトとこれに隣接する文字とが重ならないように配置す
ることが可能となる。
In the invention according to claim 6 of the present invention, the character format information relates to an empty space between adjacent characters, and the typesetting means performs a character processing on a part of a character string based on the empty space. 6. A computer-readable recording medium recording a document input / editing program according to claim 5, wherein an interval between the modification object and a character string adjacent to the character modification object is adjusted. As described above, by executing the document input / editing program recorded on this recording medium, the distance between the character modification object and the character string adjacent thereto can be easily adjusted based on the space between adjacent characters. Can be arranged so that the character modification object and the character adjacent thereto do not overlap.

【0016】本発明の請求項7に記載の発明は、組版手
段は、文字書式情報に基づいて文字列を構成する各文字
の座標を算出する文字組版手段と、修飾書式情報および
文字修飾オブジェクトを施す文字列の座標から文字修飾
オブジェクトの座標を算出する文字修飾配置手段と、文
字組版手段により算出した座標と文字修飾配置手段によ
り算出した座標から文字修飾オブジェクトと同文字修飾
オブジェクトに隣接する文字列との間隔を算出する差分
算出手段と、によって構成された請求項6記載の文書入
力編集プログラムを記録したコンピュータ読み取り可能
な記録媒体としたものである。上記と同様、この記録媒
体に記録された文書入力編集プログラムを実行すること
により、文字修飾オブジェクトとこれに隣接する文字列
との間隔を、文字列を構成する各文字の座標と文字修飾
オブジェクトの座標とから算出し、これに基づいて文字
修飾オブジェクトとこれに隣接する文字とが重ならない
ように配置することが可能となる。
According to a seventh aspect of the present invention, the typesetting means includes a character typesetting means for calculating coordinates of each character constituting a character string based on the character format information; A character modification arrangement unit for calculating the coordinates of the character modification object from the coordinates of the character string to be applied; a character modification object and a character string adjacent to the character modification object based on the coordinates calculated by the character composition unit and the coordinates calculated by the character modification arrangement unit And a difference calculating means for calculating an interval between the document input and editing program according to claim 6 and a computer-readable recording medium. As described above, by executing the document input / editing program recorded on this recording medium, the interval between the character modification object and the character string adjacent to the character modification object is adjusted by the coordinates of each character constituting the character string and the character modification object. Calculated from the coordinates, and based on this, it is possible to arrange the character modified object and the character adjacent thereto so as not to overlap.

【0017】本発明の請求項8に記載の発明は、修飾書
式情報は、文字修飾オブジェクトと同文字修飾オブジェ
クトを施す文字列との間の空き量に関するものであるこ
とを特徴とする請求項5から7のいずれかに記載の文書
入力編集プログラムを記録したコンピュータ読み取り可
能な記録媒体としたものである。上記と同様、この記録
媒体に記録された文書入力編集プログラムを実行するこ
とにより、文字修飾オブジェクトとこれを施す文字列と
の間の空き量を設定し、文字修飾オブジェクトとこれを
施す文字列との位置関係を容易に調整することが可能と
なる。
According to an eighth aspect of the present invention, the modification format information relates to an empty space between a character modification object and a character string to which the character modification object is applied. A computer-readable recording medium on which the document input / editing program according to any one of Items 1 to 7 is recorded. As described above, by executing the document input / editing program recorded on the recording medium, the amount of space between the character decoration object and the character string to which the character modification object is set is set. Can be easily adjusted.

【0018】以下、本発明の実施の形態について図1か
ら図6を用いて説明する。
An embodiment of the present invention will be described below with reference to FIGS.

【0019】図1は本発明の実施の形態における文書入
力編集装置のハードウェア構成図、図2は本発明の実施
の形態における文書入力編集装置の機能ブロック図であ
る。
FIG. 1 is a hardware configuration diagram of the document input / editing apparatus according to the embodiment of the present invention, and FIG. 2 is a functional block diagram of the document input / editing apparatus according to the embodiment of the present invention.

【0020】図1において、本発明の実施の形態におけ
る文書入力編集装置は、装置全体を制御する中央処理演
算装置としてのCPU1、CPU1が実行するプログラ
ムコードを格納する記憶装置としてのROM(Read
Only Memory)2、文書に存在するオブジ
ェクトの情報等を格納する記憶装置としてのRAM(R
andom Access Memory)3、入力装
置として文字を入力するためのキーボード4並びにポイ
ンティングデバイスであるマウス5、文書データを表示
する出力装置としての陰極線管ディスプレイ等のCRT
6、および作成した文書の情報をファイル形式で保存す
るための記憶装置としての補助記憶装置7を備える。
In FIG. 1, a document input / 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) as a storage device for storing program codes executed by the CPU 1.
Only Memory 2, a RAM (R) as a storage device for storing information on objects existing in a document, and the like.
and a CRT such as a cathode ray tube display as an output device for displaying document data, a keyboard 4 for inputting characters as an input device, a mouse 5 as a pointing device, and an output device for displaying document data.
And an auxiliary storage device 7 as a storage device for storing information of the created document in a file format.

【0021】また、文書入力編集装置は、図2に示すよ
うに、文字の入力や書式および文字修飾の設定等を行う
編集部8、操作者が入力した文字列としてのテキストを
RAM3に格納するテキスト格納部11、テキストを構
成する文字に関する文字書式情報(文字サイズ、文字間
隔や字送り等)をRAM3に格納する文字書式格納部1
2、後述する文字修飾オブジェクトをRAM3に格納す
る文字修飾格納部13、後述する文字修飾オブジェクト
に関する修飾書式情報をRAM3に格納する修飾書式格
納部14、文字修飾オブジェクトを施したテキストをテ
キスト中に配置する組版部15、組版した結果の表示デ
ータをRAM3に格納する表示データ格納部19、およ
び表示データ格納部19によって格納された表示データ
を表示する表示部20として機能する。
Further, as shown in FIG. 2, the document input / editing apparatus stores an editing section 8 for inputting characters, setting a format and character modification, and stores text as a character string input by the operator in the RAM 3. A text storage unit 11 for storing character format information (character size, character spacing, character feed, etc.) relating to characters constituting the text in the RAM 3
2. A character modification storage unit 13 for storing character modification objects to be described later in the RAM 3, a modification format storage unit 14 for storing modification format information relating to the character modification objects to be described later in the RAM 3, and a text provided with the character modification object is arranged in the text. It functions as a typesetting unit 15, a display data storage unit 19 for storing display data resulting from the typesetting in the RAM 3, and a display unit 20 for displaying the display data stored by the display data storage unit 19.

【0022】編集部8には、テキストに対して施す囲み
罫等の文字修飾オブジェクトを設定する文字修飾設定部
9と、文字修飾オブジェクトに関する修飾書式情報(被
修飾テキストとの空き量等)を設定する修飾書式設定部
10とを備える。
The editing unit 8 sets a character modification setting unit 9 for setting character modification objects such as an enclosing rule to be applied to text, and modification format information (a free space with the text to be modified, etc.) relating to the character modification objects. And a modification format setting unit 10 for performing the setting.

【0023】また、組版部15には、文字書式情報に基
づいてテキストを構成する各文字の座標を算出する文字
組版部16と、修飾書式情報および文字修飾オブジェク
トを施す被修飾テキストの座標から文字修飾オブジェク
トの座標を算出する文字修飾配置部17と、文字組版部
16により算出した座標と文字修飾配置部17により算
出した座標から文字修飾オブジェクトとこの文字修飾オ
ブジェクトに隣接するテキストとの間隔を算出する差分
算出部18とを備える。
The typesetting unit 15 calculates a coordinate of each character constituting the text based on the character format information, and a character formatting unit and a character formatting unit based on the coordinates of the text to be modified to which the character modifying object is applied. A character modification arrangement unit 17 for calculating the coordinates of the modification object, and a distance between the character modification object and the text adjacent to the character modification object is calculated from the coordinates calculated by the character composition unit 16 and the coordinates calculated by the character modification arrangement unit 17. And a difference calculating unit 18 that performs the calculation.

【0024】次に、図3および図4を参照しながら、本
実施の形態における文書入力編集装置による具体的な処
理について説明する。図3(a)は本発明の実施の形態
における文書編集処理の修飾処理前の状態を示す図、図
3(b)は本発明の実施の形態における文書編集処理の
修飾処理後の状態を示す図、図4は本発明の実施の形態
における記憶装置へのテキストおよび文字修飾オブジェ
クトの格納状態を示す説明図である。
Next, a specific process performed by the document input / edit device according to the present embodiment will be described with reference to FIGS. FIG. 3A shows a state before the modification processing of the document editing processing according to the embodiment of the present invention, and FIG. 3B shows a state after the modification processing of the document editing processing according to the embodiment of the present invention. FIGS. 4A and 4B are explanatory diagrams showing storage states of text and character-modified objects in the storage device according to the embodiment of the present invention.

【0025】本実施の形態における文書入力編集装置に
おいて、操作者はキーボード4およびマウス5を操作す
ることでテキストおよび書式等を設定する。操作者がテ
キスト等の入力を行うと、編集部8は、テキスト格納部
11によって入力したテキストデータをRAM3に格納
する。設定された文字サイズ、文字間隔や字送り量等は
文字書式格納部12によってRAM3に格納される。
In the document input / editing apparatus according to the present embodiment, an operator operates a keyboard 4 and a mouse 5 to set a text, a format, and the like. When the operator inputs text or the like, the editing unit 8 stores the text data input by the text storage unit 11 in the RAM 3. The set character size, character spacing, character feed amount, and the like are stored in the RAM 3 by the character format storage unit 12.

【0026】図3(a)は、文字書式情報として文字サ
イズ10ポイント,文字間隔0ポイント,文字修飾なし
と設定された場合のテキスト「AあいうB」の組版の結
果を示している。組版部15は、先頭(左端)の文字
「A」の位置を設定し、その次(右隣)の文字「あ」の
組版処理を行う。文字組版部16は、前述の文字書式情
報に基づいて文字「あ」の座標を算出する。具体的に
は、前の文字「A」の座標(0,0)、文字サイズ10
ポイント、文字間隔0ポイントおよび文字修飾なし(文
字修飾補正オフセット0)に基づいて、文字「あ」のX
座標は10(ポイント)と算出される。
FIG. 3 (a) shows the result of the typesetting of the text "A / B" when the character format information is set to a character size of 10 points, a character interval of 0 points, and no character modification. The typesetting unit 15 sets the position of the leading (left-most) character “A” and performs the typesetting processing of the next (rightward) character “A”. The character typesetting unit 16 calculates the coordinates of the character “A” based on the character format information described above. Specifically, the coordinates (0, 0) of the previous character “A” and the character size 10
X based on the point, character spacing 0 point, and no character modification (character modification correction offset 0)
The coordinates are calculated as 10 (points).

【0027】また、操作者はキーボード4およびマウス
5を操作することで、上記テキストの一部に文字修飾オ
ブジェクトを施すことができる。図3(b)は、図3
(a)のテキストの一部「あいう」に対し、文字修飾オ
ブジェクトとしての囲み罫21を施す場合の組版の結果
を示している。文字修飾設定部9により設定した文字修
飾オブジェクトは、文字修飾格納部13によりRAM3
に格納される。一方、修飾書式情報設定部10により設
定される修飾書式情報は修飾書式格納部14によりRA
M3に格納される。
By operating the keyboard 4 and the mouse 5, the operator can apply a character modification object to a part of the text. FIG.
FIG. 9A shows a typesetting result in a case where an enclosing rule 21 as a character modification object is applied to a part of the text “Aoi”. The character modification object set by the character modification setting unit 9 is stored in the RAM 3 by the character modification storage unit 13.
Is stored in On the other hand, the modified format information set by the modified format information setting unit 10
It is stored in M3.

【0028】上記構成の文書入力編集装置において、編
集部8により文字サイズ、文字間隔や行間隔等の値を変
更すると、変更された結果は、文字書式格納部12によ
ってRAM3に格納される。一方、文字修飾オブジェク
トと被修飾テキストとの空き量を変更すると、変更され
た結果は、修飾書式格納部14によりRAM3に格納さ
れる。テキストやその書式、あるいは文字修飾オブジェ
クトやその書式等が更新され、再表示が必要になると、
編集部8よりテキストと書式情報が組版部15に渡され
る。
In the document input / editing apparatus having the above-described structure, when values such as the character size, character spacing, and line spacing are changed by the editing unit 8, the changed results are stored in the RAM 3 by the character format storage unit 12. On the other hand, when the free space between the character decoration object and the text to be modified is changed, the changed result is stored in the RAM 3 by the modification format storage unit 14. If the text or its format, or the character-modifying object or its format, is updated and needs to be redisplayed,
The text and format information are passed from the editing unit 8 to the typesetting unit 15.

【0029】組版部15は、文字サイズ、文字間隔や字
送り量等の文字書式情報に基づき、文字組版部16によ
りテキスト先頭から順に表示する各文字の座標を一文字
ごとの算出し、表示データ格納部19によりCRT6に
出力可能なデータ形式に変換してRAM3に格納してい
く。組版部15において、テキストが示すコードが文字
修飾コードであると判断されると、文字修飾配置部17
により文字修飾オブジェクトの座標が算出される。その
後、差分算出部18により被修飾テキストおよびそれに
続く文字をずらす量が算出される。差分算出部18で求
められた値は文字組版部16に送られ、被修飾テキスト
とそれに続く文字の座標が変更される。
The typesetting unit 15 calculates the coordinates of each character to be displayed in order from the beginning of the text by the character typesetting unit 16 for each character based on character format information such as character size, character spacing and character feed amount, and stores display data. The data is converted into a data format that can be output to the CRT 6 by the unit 19 and stored in the RAM 3. When the typesetting unit 15 determines that the code indicated by the text is a character modification code, the character modification arrangement unit 17
Calculates the coordinates of the character decoration object. After that, the difference calculator 18 calculates the amount by which the text to be modified and the characters following it are shifted. The value obtained by the difference calculating unit 18 is sent to the character typesetting unit 16, and the coordinates of the text to be modified and the characters following it are changed.

【0030】文字組版部16および文字修飾配置部17
で決定された座標は、表示データ格納部19によりCR
T6に出力可能なデータ形式に変換してRAM3に格納
され、管理される。テキストを構成するすべての文字お
よび文字修飾オブジェクトの座標が決定し、表示データ
が作成されると、組版部15は表示データ格納部19に
表示命令を出す。表示データ格納部19は管理している
表示データを表示部20に送り、CRT6に表示する。
Character typesetting section 16 and character modification arrangement section 17
Are determined by the display data storage unit 19 as CR.
The data is converted into a data format that can be output to T6, stored in the RAM 3, and managed. When the coordinates of all the characters constituting the text and the character-modified objects are determined and the display data is created, the typesetting unit 15 issues a display command to the display data storage unit 19. The display data storage unit 19 sends the managed display data to the display unit 20 and displays it on the CRT 6.

【0031】図3(b)に示す例では、操作者が入力し
たテキスト「AあいうB」および文字修飾オブジェクト
(囲み罫)は、図4に示すフォーマットのテキスト列と
してRAM3に格納されている。図3(a)に示すよう
に、文字修飾なしの場合にはテキスト格納部11によっ
てRAM3には2バイトの文字コードのみが格納される
が、図3(b)に示すように、囲み罫等の文字修飾オブ
ジェクトを施す場合には、被修飾テキストを構成する文
字コードの直後に2バイトの修飾ファンクションコード
が格納される。具体的には、囲み罫21を施す文字
「あ」を示す文字コード「0x82A0」の直後に囲み
罫ファンクション「0x1C38」が格納され、その後
に文字「い」を示す文字コード「0x82A2」が並べ
て格納される。また、図示していないが、修飾書式情報
としての被修飾テキストと囲み罫21との間の空き量は
上下左右すべて10ポイントとして設定している。
In the example shown in FIG. 3B, the text "A" or "B" and the character modification object (surrounding rule) input by the operator are stored in the RAM 3 as a text string in the format shown in FIG. As shown in FIG. 3A, in the case where there is no character modification, only two-byte character codes are stored in the RAM 3 by the text storage unit 11, but as shown in FIG. When the character-modified object is applied, a 2-byte modified function code is stored immediately after the character code constituting the text to be modified. Specifically, immediately after the character code "0x82A0" indicating the character "A" to be subjected to the enclosing rule 21, the enclosing rule function "0x1C38" is stored, and thereafter, the character code "0x82A2" indicating the character "I" is stored side by side. Is done. Although not shown, the free space between the text to be modified as the modification format information and the enclosing rule 21 is set to 10 points in all of the upper, lower, left and right directions.

【0032】このように文字コードと修飾ファンクショ
ンコードが混在するテキスト列を、組版部15は1コー
ドづつ参照し処理していく。図3(b)に示す例におい
て、RAM3には、図4に示すように文字「A」を示す
文字コードと、文字「あ」を示すコードと、文字「あ」
に施す文字修飾オブジェクトを示す修飾ファンクション
コードとが順に並んだテキスト列が格納されている。
The text format in which the character code and the modification function code are mixed as described above is processed by the formatting unit 15 with reference to each code. In the example shown in FIG. 3B, the RAM 3 stores a character code indicating the character "A", a code indicating the character "A", and a character "A" as shown in FIG.
Is stored in the form of a text string in which character-modifying objects representing character-modifying objects to be applied are sequentially arranged.

【0033】文字組版部16は、このテキスト列の文字
コード部分に対して組版を行い、文字書式情報(文字サ
イズ10ポイント,文字間隔0ポイント)に基づいてそ
れぞれの文字座標を算出する。例えば、最初の文字
「A」の座標を(0,0)と設定し、これに続く文字
「あ」の座標を(10,0)した表示データを作成す
る。すべての文字コードの示す文字に対する座標が求ま
ると、文字修飾配置部17は再び文字列の先頭から修飾
ファンクションコードを検索し、文字修飾を配置してい
く。図3(b)に示す例では、文字「あ」を示す文字コ
ードの次に最初の囲み罫ファンクションコードが現れる
ので、文字修飾配置部17は囲み罫21の左上座標を文
字「あ」の座標(10,0)と同じ座標に設定する。そ
して、組版部15は、差分算出部18に文字「A」と文
字「あ」との間隔を調整するための値(差分)を求める
ように命令する。図3(b)では、囲み罫21の上下左
右の空き量が10ポイントであるので、文字「あ」の座
標を右に10ポイント、下に10ポイント移動し、(2
0,10)と仮定する。この座標(20,10)と文字
組版部16で求めた文字「あ」の座標(10,0)の差
分値(10,10)が差分算出部18で求められる。
The character typesetting unit 16 performs typesetting on the character code portion of the text string, and calculates respective character coordinates based on character format information (character size 10 points, character spacing 0 points). For example, display data is created in which the coordinates of the first character "A" are set to (0, 0) and the coordinates of the subsequent character "A" are (10, 0). When the coordinates for the characters indicated by all the character codes are obtained, the character modification arranging unit 17 searches the modification function code from the beginning of the character string again, and arranges the character modification. In the example shown in FIG. 3B, since the first enclosing rule function code appears after the character code indicating the character "A", the character modification arrangement unit 17 sets the upper left coordinates of the enclosing rule 21 to the coordinates of the character "A". Set to the same coordinates as (10, 0). Then, the typesetting unit 15 instructs the difference calculation unit 18 to obtain a value (difference) for adjusting the interval between the character “A” and the character “A”. In FIG. 3B, since the amount of free space at the top, bottom, left, and right of the enclosing rule 21 is 10 points, the coordinates of the character "A" are moved 10 points to the right and 10 points down, and
0,10). A difference value (10, 10) between the coordinates (20, 10) and the coordinates (10, 0) of the character “a” obtained by the character typesetting unit 16 is obtained by a difference calculation unit 18.

【0034】差分算出部18で差分値が求まると、組版
部15は文字「あ」の座標を更新するため、文字組版部
16により、表示データ格納部19に記憶している表示
データの中から文字「あ」の表示データを検索し、文字
「あ」の表示データの座標に差分を加えた座標(20,
10)へ更新する。このとき、文字「A」の座標も文字
「あ」のY座標と合わせて、座標(0,10)へ更新す
る。また、ここで求められた差分値(10,10)は、
文字「あ」以降の文字の座標を更新するのに必要である
ため、RAM3に格納される。
When the difference value is obtained by the difference calculating unit 18, the typesetting unit 15 updates the coordinates of the character "A" from the display data stored in the display data storage unit 19 by the character typesetting unit 16. The display data of the character “A” is searched, and the coordinates (20,
Update to 10). At this time, the coordinates of the character “A” are updated to the coordinates (0, 10) together with the Y coordinate of the character “A”. The difference value (10, 10) obtained here is
Since it is necessary to update the coordinates of the characters subsequent to the character “A”, it is stored in the RAM 3.

【0035】次に、文字修飾配置部17は、文字「い」
を示す文字コードの直後の修飾ファンクションコードを
検出する。この修飾ファンクションコードは、文字
「あ」と同じコードであるため、文字修飾配置部17
は、この修飾ファンクションコードによる差分の更新は
ないと判断する。つまり、文字「あ」で求められ、RA
M3に記憶されている差分値(10,10)が引き継が
れる。文字「い」の座標は差分値(10,10)によ
り、座標(20,0)から座標(30,10)に変更さ
れる。文字「う」の場合も、文字「い」と同様に座標が
更新され、差分値(10,10)により座標(30,
0)から座標(40,10)に変更される。
Next, the character modification arranging section 17 outputs the character "i"
The modified function code immediately after the character code indicating is detected. Since this modification function code is the same code as the character “A”, the character modification arrangement unit 17
Determines that the difference is not updated by the modified function code. In other words, the character "A"
The difference value (10, 10) stored in M3 is taken over. The coordinates of the character "i" are changed from coordinates (20, 0) to coordinates (30, 10) according to the difference value (10, 10). In the case of the character "U", the coordinates are updated similarly to the character "I", and the coordinates (30,
0) to coordinates (40, 10).

【0036】文字「B」に続いて修飾ファンクションコ
ードがないことを文字修飾配置部17が検出すると、差
分算出部18は囲み罫21の右側線による空き量10ポ
イントを加えた値、つまり差分値(10,10)から差
分値(20,10)に更新し、RAM3に記憶する。こ
の新しい差分値(20,10)に従って、文字「B」の
座標は(40,0)から(60,10)に変更される。
When the character modification arrangement section 17 detects that there is no modification function code following the character "B", the difference calculation section 18 adds a value obtained by adding 10 points of free space by the right line of the enclosing rule 21, that is, the difference value The value is updated from (10, 10) to the difference value (20, 10) and stored in the RAM 3. According to the new difference value (20, 10), the coordinates of the character “B” are changed from (40, 0) to (60, 10).

【0037】以上のように、修飾書式情報(上下左右の
空き量がすべて10ポイント)に基づいて囲み罫21を
施した被修飾文字列「あいう」を、文字書式情報(文字
サイズ10ポイント,文字間隔0ポイント)に基づいて
「A」と「B」との間に配置することにより、囲み罫2
1を施した被修飾文字列「あいう」を、これに隣接する
文字「A」「B」と重ならないように配置することが可
能となり、囲み罫21等の文字修飾を設定する場合に、
スペース等を挿入して位置調整を行うといった煩わしい
操作が不要となる。
As described above, the character string to be modified "Ai", which is provided with the enclosing rule 21 based on the modified format information (the amount of free space at the top, bottom, left and right is 10 points), is converted into the character format information (character size 10 points, character By arranging it between “A” and “B” based on an interval of 0 point),
It is possible to arrange the character string to be modified “Aoi” to which 1 is applied so as not to overlap with the adjacent characters “A” and “B”, and when character modification such as the enclosing rule 21 is set,
The troublesome operation of adjusting the position by inserting a space or the like becomes unnecessary.

【0038】次に、本実施の形態における文書入力編集
装置による文書入力編集処理の流れについて図5に示す
本発明の実施の形態における文書入力編集装置による文
書入力編集処理を示すフローチャート図に基づいて説明
する。
Next, the flow of the document input / edit processing by the document input / edit apparatus according to the present embodiment will be described with reference to the flowchart shown in FIG. 5 which shows the document input / edit processing by the document input / edit apparatus according to the embodiment of the present invention. explain.

【0039】テキストの更新または書式の変更により再
組版が必要になると、編集部8によりテキスト、文字書
式情報、文書修飾オブジェクトおよび修飾書式情報がそ
れぞれRAM3から取り出され、組版部15に渡され
る。組版部15は図4に示すテキスト列の1文字目が格
納されているメモリアドレスを最初の処理位置として設
定する。
When recomposition is necessary due to updating or changing the format of the text, the editing unit 8 takes out the text, character format information, document modification object, and modification format information from the RAM 3 and passes them to the composition unit 15. The typesetting unit 15 sets a memory address where the first character of the text string shown in FIG. 4 is stored as a first processing position.

【0040】ステップS11において、処理位置のメモ
リアドレスがテキスト列を格納する末尾のメモリアドレ
スでない場合、ステップS12へ処理を移行する。ステ
ップS12において、処理位置のメモリアドレス内に格
納されているコードが修飾オブジェクトコードである場
合、ステップS15へ処理を移行する。一方、ステップ
S12で文字コードの場合は、ステップS13で文字組
版部16により文字の座標が算出され、ステップS14
において組版部15により表示データが作成される。ス
テップS12からステップS14において、処理位置の
文字コードに対して表示データが作成されると、処理位
置の文字コードに続く文字コードを処理するために、ス
テップS15で処理位置を示すメモリアドレス値を2バ
イト加算する。2バイト加算することで次の文字コード
が格納されているメモリアドレスが得られ、ステップS
11へ処理を戻す。
In step S11, if the memory address at the processing position is not the last memory address for storing the text string, the process proceeds to step S12. In step S12, if the code stored in the memory address at the processing position is a decoration object code, the process proceeds to step S15. On the other hand, in the case of a character code in step S12, the coordinates of the character are calculated by the character typesetting unit 16 in step S13.
, Display data is created by the typesetting unit 15. When display data is created for the character code at the processing position in steps S12 to S14, in order to process the character code following the character code at the processing position, the memory address value indicating the processing position is set to 2 in step S15. Add byte. By adding 2 bytes, a memory address where the next character code is stored is obtained.
The process returns to step 11.

【0041】ステップS11において処理位置のメモリ
アドレスがテキスト列を格納する末尾のメモリアドレス
と一致すると、すべてのコードに対する表示データが作
成されたとして、組版部15は再びテキスト列の1文字
目が格納されているメモリアドレスを最初の処理位置と
して設定し、文字修飾による座標更新を行うための差分
データ情報を「差分なし」状態、つまり差分値(0,
0)へ設定し、ステップS16の文字修飾オブジェクト
の組版処理に移行する。
In step S11, when the memory address of the processing position matches the last memory address for storing the text string, it is determined that the display data for all the codes has been created, and the typesetting unit 15 stores the first character of the text string again. Is set as the first processing position, and the difference data information for performing the coordinate update by the character modification is in the “no difference” state, that is, the difference value (0,
0), and the process proceeds to the typesetting processing of the character decoration object in step S16.

【0042】ステップS16において、処理位置のメモ
リアドレスがテキスト列を格納する末尾のメモリアドレ
スでない場合、ステップS17へ処理を移行する。ステ
ップS17において処理位置のメモリアドレスに格納さ
れているコードが修飾オブジェクトコードである場合、
ステップS18において差分算出部18により差分値を
更新する。つまり、図3(b)の例では文字「あ」の次
の囲み罫ファンクションコードにより、この修飾ファン
クションコードが現れる以前の差分値(0,0)が囲み
罫21の上余白、左余白を考慮した値(10,10)へ
更新される。
If it is determined in step S16 that the memory address of the processing position is not the last memory address for storing the text string, the process proceeds to step S17. If the code stored at the memory address of the processing position is the decoration object code in step S17,
In step S18, the difference calculation unit 18 updates the difference value. In other words, in the example of FIG. 3B, the difference value (0, 0) before the appearance of this modified function code is determined by the upper and left margins of the enclosing rule 21 by the enclosing rule function code next to the character “A”. The updated value (10, 10) is updated.

【0043】ステップS19において、文字修飾配置部
17は、被修飾テキストの座標から囲み罫21の座標を
算出し、組版部15は表示データを作成する。ステップ
S17において、処理位置のメモリアドレスに格納され
ているコードが修飾オブジェクトコードでなく文字コー
ドである場合、ステップS20に移行する。
In step S19, the character modification arrangement unit 17 calculates the coordinates of the enclosing rule 21 from the coordinates of the text to be modified, and the typesetting unit 15 creates display data. In step S17, if the code stored in the memory address at the processing position is not a decoration object code but a character code, the process proceeds to step S20.

【0044】ステップS20では、先のステップS11
からステップS15で作成され、表示データ格納部19
に格納されている表示データの中から、処理位置の文字
コードに対応する表示データを検索し、検索された表示
データ内に記録されている描画座標を更新する。ここ
で、描画座標の更新とは、検索された表示データ内に記
録されている座標データに、差分データ情報を加算する
ことを指す。
In step S20, the previous step S11
From the display data storage unit 19
Is searched for display data corresponding to the character code at the processing position from among the display data stored in the display data, and the drawing coordinates recorded in the searched display data are updated. Here, updating the drawing coordinates means adding the difference data information to the coordinate data recorded in the searched display data.

【0045】図3(b)の例では、処理位置のメモリア
ドレスに格納されている文字コードが文字「い」を示す
ものである場合、この時点での差分データ情報は(1
0,10)である。また、文字「い」の座標は(20,
0)となっているので、ステップS20において描画座
標は(30,10)に更新される。更新された情報は再
び表示データ格納部19によりRAM3へ格納される。
In the example of FIG. 3B, if the character code stored in the memory address of the processing position indicates the character "i", the difference data information at this point is (1).
0,10). The coordinates of the character "i" are (20,
0), the drawing coordinates are updated to (30, 10) in step S20. The updated information is stored in the RAM 3 by the display data storage unit 19 again.

【0046】ステップS19で文字修飾オブジェクトの
表示データの作成、またはステップS21で文字表示デ
ータに記録されている座標の更新が行われると、ステッ
プS22において、処理位置を次の文字の位置とするた
め、処理位置を示すメモリアドレス値を2バイト加算
し、ステップS16へ処理を移す。
When the display data of the character-modified object is created in step S19 or the coordinates recorded in the character display data are updated in step S21, the processing position is set to the position of the next character in step S22. , The memory address value indicating the processing position is added by 2 bytes, and the process proceeds to step S16.

【0047】ステップS16において、処理位置のメモ
リアドレスがテキスト列を格納する末尾のメモリアドレ
スと一致すると、すべてのコードに対する表示データが
作成されたとして、ステップS23へ進む。ステップS
23において組版部15は表示データ格納部19に表示
データの描画命令を出す。表示データ格納部19はRA
M3に格納している表示データを表示部20に渡し、表
示部20はCRT6上に表示する。
In step S16, if the memory address at the processing position matches the last memory address for storing the text string, it is determined that display data for all codes has been created, and the flow advances to step S23. Step S
At 23, the typesetting unit 15 issues a display data drawing instruction to the display data storage unit 19. The display data storage unit 19 stores the RA
The display data stored in M3 is passed to the display unit 20, and the display unit 20 displays the data on the CRT 6.

【0048】図6(a)は本発明の実施の形態における
筆算式入力編集処理の修飾処理前の状態を示す図、図6
(b)は本発明の実施の形態における筆算式入力編集処
理の修飾処理後の状態を示す図である。
FIG. 6A is a diagram showing a state before modification processing of the handwriting-type input editing processing according to the embodiment of the present invention.
(B) is a figure which shows the state after the modification processing of the handwriting-type input edit processing in embodiment of this invention.

【0049】図6(a)は、本実施の形態における文書
入力編集装置によって筆算式を入力および編集し、図6
(b)に示す文字修飾オブジェクトとしての仕切り罫2
2,23を施す前の状態を示している。なお、図6
(a)に示す例では、文字書式情報として文字サイズを
10ポイント、行間隔を「文字サイズの100%」と設
定しているため、各行の間隔は10ポイント空けられて
いる。
FIG. 6 (a) shows the input and editing of a pen expression by the document input / editing apparatus according to the present embodiment.
Partition rule 2 as a character modification object shown in (b)
This shows a state before performing steps 2 and 23. FIG.
In the example shown in (a), the character size is set to 10 points and the line interval is set to "100% of the character size" as character format information, so the line intervals are separated by 10 points.

【0050】図6(b)に示す仕切り罫22の修飾書式
情報として、「上空き量50%」「下空き量50%」が
設定されている。各行の間隔は、同図(a)に示すよう
に10ポイントであるため、文字列「×11」から10
ポイントの50%(=5ポイント)空けた位置に仕切り
罫22は配置され、仕切り罫22からさらに下方の10
ポイントの50%(=5ポイント)空けた位置に下の行
の文字列「123」は配置される。すなわち、仕切り罫
22の場合、上空き量と下空き量の合計が100%とな
るため仕切り罫22を挟んだ上下の文字列の間隔は変わ
らない。
As the modification format information of the partition rule 22 shown in FIG. 6B, “upper empty amount 50%” and “lower empty amount 50%” are set. Since the interval between the lines is 10 points as shown in FIG.
The partition rule 22 is arranged at a position 50% (= 5 points) apart from the point, and the partition rule 22 is located further below the partition rule 22 by 10%.
The character string “123” on the lower line is arranged at a position 50% (= 5 points) apart from the point. That is, in the case of the partition rule 22, the sum of the upper empty space and the lower empty space is 100%, so that the space between the upper and lower character strings sandwiching the partition rule 22 does not change.

【0051】一方、仕切り罫23については、「上空き
量100%」「下空き量100%」が設定されている。
このため、文字列「123」から10ポイントの100
%(=10ポイント)空けた位置に仕切り罫23は配置
され、仕切り罫23からさらに下方の10ポイント空け
た位置に下の行の文字列「1353」は配置される。
On the other hand, with respect to the partition rule 23, "upper empty amount 100%" and "lower empty amount 100%" are set.
Therefore, 10 points of 100
The partition rule 23 is arranged at a position separated by% (= 10 points), and the character string “1353” in the lower row is disposed at a position further separated by 10 points from the partition rule 23.

【0052】すなわち、仕切り罫22,23を挟んだ上
下の文字列の位置は自動的に調節され、仕切り罫22,
23とこれを挟んだ上下の文字列が重なることがない。
また、この上下の文字列と仕切り罫22,23との配置
の調節は、文字書式情報および修飾書式情報を再設定す
ることによって容易に行うことが可能である。
That is, the positions of the upper and lower character strings sandwiching the dividers 22 and 23 are automatically adjusted, and the positions of the dividers 22 and 23 are automatically adjusted.
23 does not overlap the upper and lower character strings sandwiching it.
Adjustment of the arrangement of the upper and lower character strings and the partition rules 22 and 23 can be easily performed by resetting the character format information and the modification format information.

【0053】なお、本発明の目的は、前述した実施の形
態の機能を実現するソフトウェアのプログラムコードを
記録した記録媒体を、システムあるいは装置に供給し、
そのシステムあるいは装置のコンピュータが記録媒体に
格納されたプログラムコードを読み出し実行することに
よっても、達成されることは言うまでもない。この場
合、記録媒体から読み出されたプログラムコード自体が
前述した実施の形態の機能を実現することになり、その
プログラムコードを記録した記録媒体は本発明を構成す
ることになる。
An object of the present invention is to supply a recording medium storing software program codes for realizing the functions of the above-described embodiments to a system or an apparatus,
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.

【0054】このようなプログラムコードを供給するた
めの記録媒体としては、例えば、フレキシブルディスク
(フロッピーディスク)、ハードディスク、光ディス
ク、光磁気ディスク、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.

【0055】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施の形態の
機能が実現されるだけでなく、そのプログラムコードの
指示に基づき、コンピュータ上で稼働している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 implements the functions of the above-described actual embodiments.

【0056】さらに、記録媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わる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 instruction 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.

【0057】[0057]

【発明の効果】本発明によれば、文字修飾オブジェクト
とこの文字修飾オブジェクトを施す文字列との間の空き
量等の修飾書式情報に基づいて文字修飾オブジェクトを
施した一部の文字列を、隣接する文字間の空き量等の文
字書式情報に基づいて文字列中に配置するように構成す
ることによって、文字修飾オブジェクトを施した一部の
文字列を、文字書式情報に基づいて文字列中に隣接する
文字と文字修飾オブジェクトとが重ならないように配置
することが可能となり、文字修飾を設定する場合に、ス
ペース等を挿入して位置調整を行うといった煩わしい操
作が不要となる。
According to the present invention, a part of a character string subjected to a character modification object based on modification format information such as a free space between the character modification object and the character string to which the character modification object is applied is obtained. By arranging in a character string based on character format information such as the space between adjacent characters, a part of the character string subjected to the character modification object can be converted into a character string based on the character format information. Can be arranged so that the character adjacent to the character and the character modification object do not overlap, and when setting character modification, a cumbersome operation such as inserting a space or the like to perform position adjustment is unnecessary.

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

【図1】本発明の実施の形態における文書入力編集装置
のハードウェア構成図
FIG. 1 is a hardware configuration diagram of a document input / editing apparatus according to an embodiment of the present invention.

【図2】本発明の実施の形態における文書入力編集装置
の機能ブロック図
FIG. 2 is a functional block diagram of the document input / edit device according to the embodiment of the present invention;

【図3】(a)本発明の実施の形態における文書編集処
理の修飾処理前の状態を示す図 (b)本発明の実施の形態における文書編集処理の修飾
処理後の状態を示す図
FIG. 3A is a diagram illustrating a state before a modification process of a document editing process according to an embodiment of the present invention; FIG. 3B is a diagram illustrating a state after a modification process of the document editing process according to the embodiment of the present invention;

【図4】本発明の実施の形態における記憶装置へのテキ
ストおよび文字修飾オブジェクトの格納状態を示す説明
FIG. 4 is an explanatory diagram showing a storage state of a text and a character decoration object in the storage device according to the embodiment of the present invention.

【図5】本発明の実施の形態における文書入力編集装置
による文書入力編集処理を示すフローチャート
FIG. 5 is a flowchart illustrating a document input / edit process performed by the document input / edit device according to the embodiment of the present invention;

【図6】(a)本発明の実施の形態における筆算式入力
編集処理の修飾処理前の状態を示す図 (b)本発明の実施の形態における筆算式入力編集処理
の修飾処理後の状態を示す図
FIG. 6A is a diagram showing a state before modification processing of a handwriting-type input editing process according to an embodiment of the present invention; FIG. 6B is a diagram showing a state after modification processing of a handwriting-type input editing process according to the embodiment of the present invention; Diagram shown

【図7】従来の文書入力編集装置により文字修飾を施し
た文書例を示す図
FIG. 7 is a diagram showing an example of a document in which character modification has been performed by a conventional document input / editing apparatus.

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

1 CPU 2 ROM 3 RAM 4 キーボード 5 マウス 6 CRT 7 補助記憶装置 8 編集部 9 文字修飾設定部 10 修飾書式設定部 11 テキスト格納部 12 文字書式格納部 13 文字修飾格納部 14 修飾書式格納部 15 組版部 16 文字組版部 17 文字修飾配置部 18 差分算出部 19 表示データ格納部 20 表示部 1 CPU 2 ROM 3 RAM 4 Keyboard 5 Mouse 6 CRT 7 Auxiliary Storage 8 Editing Unit 9 Character Modification Setting Unit 10 Modification Format Setting Unit 11 Text Storage Unit 12 Character Format Storage Unit 13 Character Modification Storage Unit 14 Modification Format Storage Unit 15 Typesetting Unit 16 character composition unit 17 character modification arrangement unit 18 difference calculation unit 19 display data storage unit 20 display unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】入力装置と記憶装置と出力装置とを備えた
文書入力編集装置において、 前記入力装置により入力する文字列を前記記憶装置に格
納するテキスト格納手段と、 前記文字列を構成する文字に関する文字書式情報を前記
記憶装置に格納する文字書式格納手段と、 前記文字列の一部に対して施す文字修飾オブジェクトを
設定する文字修飾設定手段と、 前記文字修飾オブジェクトを前記記憶装置に格納する文
字修飾格納手段と、 前記文字修飾オブジェクトに関する修飾書式情報を設定
する修飾書式設定手段と、 前記修飾書式情報を前記記憶装置に格納する修飾書式格
納手段と、 前記修飾書式情報に基づいて前記文字修飾オブジェクト
を施した一部の文字列を前記文字書式情報に基づいて前
記文字列中に配置する組版手段と、 同組版手段により配置した前記文字列を前記出力装置に
出力可能なデータ形式に変換して前記記憶装置に格納す
る出力データ格納手段と、 を備えたことを特徴とする文書入力編集装置。
1. A document input / editing apparatus comprising an input device, a storage device, and an output device, wherein: a text storage means for storing a character string input by the input device in the storage device; Character format storage means for storing character format information relating to the character string in the storage device; character modification setting means for setting a character modification object to be applied to a part of the character string; and storing the character modification object in the storage device. Character modification storage means, modification format setting means for setting modification format information relating to the character modification object, modification format storage means for storing the modification format information in the storage device, and the character modification based on the modification format information Typesetting means for arranging a part of the character string on which the object has been applied in the character string based on the character format information; Document input editing apparatus is characterized in that and an output data storage means for storing in the storage device the string placed into a printable data format to the output device by.
【請求項2】前記文字書式情報は、隣接する文字間の空
き量に関するものであり、前記組版手段は、前記空き量
に基づいて前記文字列の一部に施した文字修飾オブジェ
クトと同文字修飾オブジェクトに隣接する文字列との間
隔を調整するものであることを特徴とする請求項1記載
の文書入力編集装置。
2. The character formatting information relates to an empty space between adjacent characters, and the formatting means includes a character modifying object and a character modifying object applied to a part of the character string based on the empty space. 2. The document input / editing apparatus according to claim 1, wherein an interval between a character string adjacent to the object is adjusted.
【請求項3】前記組版手段は、 前記文字書式情報に基づいて前記文字列を構成する各文
字の座標を算出する文字組版手段と、 前記修飾書式情報および前記文字修飾オブジェクトを施
す文字列の座標から文字修飾オブジェクトの座標を算出
する文字修飾配置手段と、 前記文字組版手段により算出した座標と前記文字修飾配
置手段により算出した座標から前記文字修飾オブジェク
トと同文字修飾オブジェクトに隣接する文字列との間隔
を算出する差分算出手段と、 によって構成されたことを特徴とする請求項2記載の文
書入力編集装置。
3. A typesetting means for calculating the coordinates of each character constituting the character string based on the character format information; and coordinates of the character string to which the modification format information and the character modification object are applied. Character modification arrangement means for calculating the coordinates of the character modification object from the coordinates of the character modification object and the character string adjacent to the character modification object from the coordinates calculated by the character composition means and the coordinates calculated by the character modification arrangement means. 3. The document input / editing apparatus according to claim 2, comprising: a difference calculating means for calculating an interval.
【請求項4】前記修飾書式情報は、前記文字修飾オブジ
ェクトと同文字修飾オブジェクトを施す文字列との間の
空き量に関するものであることを特徴とする請求項1か
ら3のいずれかに記載の文書入力編集装置。
4. The apparatus according to claim 1, wherein the modification format information relates to an empty amount between the character modification object and a character string to which the character modification object is applied. Document input editing device.
【請求項5】入力装置と記憶装置と出力装置とを備えた
コンピュータを文書入力編集装置として機能させる文書
入力編集プログラムを記録したコンピュータ読み取り可
能な記録媒体であって、 前記入力装置により入力する文字列を前記記憶装置に格
納するテキスト格納手段と、 前記文字列を構成する文字に関する文字書式情報を前記
記憶装置に格納する文字書式格納手段と、 前記文字列の一部に対して施す文字修飾オブジェクトを
設定する文字修飾設定手段と、 前記文字修飾オブジェクトを前記記憶装置に格納する文
字修飾格納手段と、 前記文字修飾オブジェクトに関する修飾書式情報を設定
する修飾書式設定手段と、 前記修飾書式情報を前記記憶装置に格納する修飾書式格
納手段と、 前記修飾書式情報に基づいて前記文字修飾オブジェクト
を施した一部の文字列を前記文字書式情報に基づいて前
記文字列中に配置する組版手段と、 同組版手段により配置した前記文字列を前記出力装置に
出力可能なデータ形式に変換して前記記憶装置に格納す
る出力データ格納手段と、 してコンピュータを機能させることを特徴とする文書入
力編集プログラムを記録したコンピュータ読み取り可能
な記録媒体。
5. A computer-readable recording medium recording a document input / editing program for causing a computer including an input device, a storage device, and an output device to function as a document input / editing device, wherein a character input by the input device is provided. Text storage means for storing a string in the storage device; character format storage means for storing character format information relating to characters forming the character string in the storage device; and a character modification object to be applied to a part of the character string Character modification setting means for setting character modification objects, character modification storage means for storing the character modification objects in the storage device, modification format setting means for setting modification format information relating to the character modification objects, and storing the modification format information. A modified format storage means for storing the modified character information in the device; Formatting means for arranging a part of the character string which has been applied to the character string based on the character format information, and converting the character string arranged by the formatting means into a data format which can be output to the output device. And a computer-readable recording medium storing a document input / editing program for causing a computer to function.
【請求項6】前記文字書式情報は、隣接する文字間の空
き量に関するものであり、前記組版手段は、前記空き量
に基づいて前記文字列の一部に施した文字修飾オブジェ
クトと同文字修飾オブジェクトに隣接する文字列との間
隔を調整するものであることを特徴とする請求項5記載
の文書入力編集プログラムを記録したコンピュータ読み
取り可能な記録媒体。
6. The character formatting information relates to a space between adjacent characters, and the formatting means includes a character modification object and a character modification object applied to a part of the character string based on the space. 6. A computer-readable recording medium recording a document input / editing program according to claim 5, wherein the distance between a character string adjacent to the object is adjusted.
【請求項7】前記組版手段は、 前記文字書式情報に基づいて前記文字列を構成する各文
字の座標を算出する文字組版手段と、 前記修飾書式情報および前記文字修飾オブジェクトを施
す文字列の座標から文字修飾オブジェクトの座標を算出
する文字修飾配置手段と、 前記文字組版手段により算出した座標と前記文字修飾配
置手段により算出した座標から前記文字修飾オブジェク
トと同文字修飾オブジェクトに隣接する文字列との間隔
を算出する差分算出手段と、 によって構成されたことを特徴とする請求項6記載の文
書入力編集プログラムを記録したコンピュータ読み取り
可能な記録媒体。
7. The typesetting means for calculating the coordinates of each character constituting the character string based on the character format information; and the coordinates of the character string to which the modified format information and the character modified object are applied. Character modification arrangement means for calculating the coordinates of the character modification object from the coordinates of the character modification object and the character string adjacent to the character modification object from the coordinates calculated by the character composition means and the coordinates calculated by the character modification arrangement means. 7. A computer-readable recording medium storing a document input / editing program according to claim 6, comprising: difference calculating means for calculating an interval.
【請求項8】前記修飾書式情報は、前記文字修飾オブジ
ェクトと同文字修飾オブジェクトを施す文字列との間の
空き量に関するものであることを特徴とする請求項5か
ら7のいずれかに記載の文書入力編集プログラムを記録
したコンピュータ読み取り可能な記録媒体。
8. The apparatus according to claim 5, wherein the modification format information relates to an empty space between the character modification object and a character string to which the character modification object is applied. A computer-readable recording medium on which a document input editing program is recorded.
JP33123599A 1999-11-22 1999-11-22 Document input editing device and computer readable recording medium with recorded document input editing program Pending JP2001147916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33123599A JP2001147916A (en) 1999-11-22 1999-11-22 Document input editing device and computer readable recording medium with recorded document input editing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33123599A JP2001147916A (en) 1999-11-22 1999-11-22 Document input editing device and computer readable recording medium with recorded document input editing program

Publications (1)

Publication Number Publication Date
JP2001147916A true JP2001147916A (en) 2001-05-29

Family

ID=18241418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33123599A Pending JP2001147916A (en) 1999-11-22 1999-11-22 Document input editing device and computer readable recording medium with recorded document input editing program

Country Status (1)

Country Link
JP (1) JP2001147916A (en)

Similar Documents

Publication Publication Date Title
JPS6177981A (en) Picture processing system
JPH08161309A (en) Word processor
JP2001147916A (en) Document input editing device and computer readable recording medium with recorded document input editing program
US5263133A (en) Text processing apparatus having a frame preparation function
JP3674905B2 (en) Document editing device
JP2621486B2 (en) Document editing method and apparatus
JP2751212B2 (en) Document creation device
JPH09305599A (en) Layout processor
JP2828591B2 (en) Typesetting equipment
JP3129375B2 (en) Document processing device with space / tab conversion function
JP2001184346A (en) Document editor and computer readable recording medium stored with document editing program
JPS61250688A (en) Curve generation system
JPH0235346B2 (en)
JPH03291748A (en) Table data preparation control method and data processor
JP2001154991A (en) Formula input and editing device and computer readable recording medium stored with formula input and editing program
JP3081481B2 (en) Table processing equipment
JP2780384B2 (en) Contour editing device
JPH05189424A (en) Device and method for editing document
JPS6132889A (en) Display system for document processor
JPH0567105A (en) Character input editor
JPH0567089A (en) Word processor
JPH06250632A (en) Character editing device
JP2001147917A (en) Device and method for hand calculation type input editing and computer readable recording medium with recorded hand calculation type input editing program
JPH07129155A (en) Sheet of music preparing device
JPH04310170A (en) Document preparing device including numerical formula