JP2004145892A - Mixture processing method and its device of character string and ruled line - Google Patents

Mixture processing method and its device of character string and ruled line Download PDF

Info

Publication number
JP2004145892A
JP2004145892A JP2003386383A JP2003386383A JP2004145892A JP 2004145892 A JP2004145892 A JP 2004145892A JP 2003386383 A JP2003386383 A JP 2003386383A JP 2003386383 A JP2003386383 A JP 2003386383A JP 2004145892 A JP2004145892 A JP 2004145892A
Authority
JP
Japan
Prior art keywords
ruled line
character string
line
predetermined
ruled
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
JP2003386383A
Other languages
Japanese (ja)
Inventor
Taiji Nishio
西尾 太治
Katsumi Mochizuki
望月 克己
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.)
A I Soft Inc
Original Assignee
A I Soft Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by A I Soft Inc filed Critical A I Soft Inc
Priority to JP2003386383A priority Critical patent/JP2004145892A/en
Publication of JP2004145892A publication Critical patent/JP2004145892A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To clarify the interface of arrangement of a character string and a ruled line in creating a document or the like where the character string and the ruled line are mixed to enhance the convenience of mixture document processing, and to particularly clarify the relationship between the character string and the ruled line when the sizes of the characters constituting the character string can freely be set. <P>SOLUTION: When a ruled line is inserted into a line with a line attribute such as right justification or even arrangement set, or an existing ruled line is deleted from the line, the line attribute is reset to its initial setting, and a space is calculated and inserted so as to keep the arrangement positions of a tab and an indent as they are in relation to a region divided by the ruled line or a region integrated by the deletion of the ruled line. When the character string overlaps the ruled line, the characters are erased, and the portion of the erased characters are filled with a space. <P>COPYRIGHT: (C)2004,JPO

Description

 本発明は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、この文字列と罫線とを混在処理する混在処理方法およびその装置に関する。 The present invention relates to a mixed processing method and apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line.

 従来、ワードプロセッサ装置あるいはコンピュータにて処理されるワードプロセッサソフトの多くは、文字列の任意の箇所に罫線を挿入する機能を有しており、文字列により表現したい文章を罫線により区画することで視覚的な表現力を高めたり、情報の理解を容易にする手助けなどに用いられている。 2. Description of the Related Art Conventionally, most word processing software processed by a word processing device or computer has a function of inserting a ruled line at an arbitrary position in a character string. It is used for enhancing expressive power and helping to understand information easily.

 また、この種の装置あるいはソフトは、上記視覚的効果をより一層顕著なものとするため、罫線の描画に使用する線種として実線、点線など複数の線幅を用意するなど罫線描画の表示形式に配慮している。 In addition, in order to make the above visual effect even more remarkable, this type of device or software prepares a ruled line drawing display format such as preparing a plurality of line widths such as a solid line and a dotted line as a line type used for drawing a ruled line. We are careful about.

 日本語を処理するワードプロセッサでは、従来、文字幅はいわゆる全角とその1/2幅の半角、更に全角の倍の幅を有する倍角など、文字の大きさが整数倍となっており、この幅を単位として罫線を引くことが一般的であった。また、当初罫線は文字と同じ位置に引かれ、既に文字が書かれた位置に罫線を引くと文字が上書きされてしまったが、最近では文字と文字の間に罫線を引くいわゆる行間(文字間)罫線も用いられるようになっている(下記特許文献1参照)。 Conventionally, in a word processor that processes Japanese, the character width is an integer multiple, such as a so-called full-width and half-width half-width, and a double-width that is twice the width of a full-width. It is common to draw a ruled line as a unit. Also, initially, the ruled line was drawn at the same position as the character, and if the ruled line was drawn at the position where the character was already written, the character was overwritten, but recently, the ruled line between the characters is called the line spacing (character spacing) ) Ruled lines are also used (see Patent Document 1 below).

特開平6−28346号JP-A-6-28346

 しかし、上記の装置あるいはソフトは、取り扱う文字の幅が同一、せいぜい整数倍の何種類かの文字が存在する程度を想定しているに過ぎず、大きさの異なる複数種類の文字が混在する文書については、どのように罫線を取り扱ったら良いか分からないのが現状であった。近年、コンピュータの情報処理を担当するマイクロプロセッサの大幅な能力向上により、文字列を構成する各文字としてアウトラインフォントを採用し、任意のポイント数の文字を綺麗に表示、印刷することが可能となっているが、こうしたアウトラインフォントを採用した装置あるいはソフトにおいては、文字の描画範囲が一義的に決定できないため、文字に合わせて罫線を引くことができないのである。従って、例えば文字が存在する場所に罫線を引いた場合、文字と罫線とを単純に置き換える従来方式では、フォントの違い、文字の大きさ(ポイント数)によっては、予期しない空白や文字の非消耗な移動あるいは文字と罫線との干渉や重なり合いが発生してしまう。 However, the above device or software only assumes that the width of the characters to be handled is the same and that there are several types of characters that are at most an integral multiple, and a document in which a plurality of types of characters having different sizes are mixed. At present, it is not clear how to handle ruled lines. In recent years, with the drastic improvement in the performance of microprocessors in charge of computer information processing, it has become possible to adopt outline fonts for each character that constitutes a character string, and to display and print characters of any number of points neatly. However, in a device or software using such an outline font, a drawing range of a character cannot be uniquely determined, so that a ruled line cannot be drawn in accordance with the character. Therefore, for example, when a ruled line is drawn in a place where a character exists, the conventional method of simply replacing the character with the ruled line may cause unexpected white space or non-consumption of characters depending on the font and the size (point number) of the character. Movement, interference between characters and ruled lines, and overlapping may occur.

 更に、既に文字が配置された行に様々な配置状態が設定されている場合、罫線を引いた後や既存の罫線を削除した後で、その行の文字の配置をどうするのが望ましいかという問題も存在した。文字の配置状態、例えば左寄せ、右寄せ、中央寄せ、均等割付あるいはタブ、インデント等が設定されている場合、その行を分割する罫線が引かれたとき、罫線により文字列が分割されるとすれば、罫線により分割された複数の領域毎に、既存の配置状態を用いて文字を配置すべきか否か等の問題である。実際には、罫線の挿入や削除により、文字列を再配置すると、再位置のための移動量が大きい場合があり、使用者にとって非所望の処理がなされてしまうこともあった。 Further, when various arrangement states are set in a line where characters are already arranged, it is desirable to arrange the characters in the line after drawing a ruled line or deleting an existing ruled line. Also existed. If the character arrangement state, for example, left-aligned, right-aligned, center-aligned, evenly allocated, tabbed, indented, etc., is set, if a ruled line that divides the line is drawn, the character string is divided by the ruled line The problem is whether characters should be arranged using an existing arrangement state for each of a plurality of areas divided by ruled lines. Actually, when a character string is rearranged by inserting or deleting a ruled line, a moving amount for repositioning may be large, and a process undesired for a user may be performed.

 更に、文字の大きさや幅が多様化すると、罫線を付加する位置についても従来方式以上の高い分解能が要求されることになるから、予め定めた所定幅・高さを単位として移動するカーソルにより指定する従来の指定方式に代えて、マウスやタブレットなどのポインティングデバイスを利用することが考えられている。しかし、従来方式では、ポインティングデバイスを有効に利用して縦横の罫線の配置位置を簡単に指示するまでには未だに至っていない。 Furthermore, if the size and width of the characters are diversified, a higher resolution than that of the conventional method is required for the position where the ruled line is added. Therefore, it is specified by a cursor that moves in a predetermined width and height as a unit. Instead of the conventional designation method, it is considered to use a pointing device such as a mouse or a tablet. However, the conventional method has not yet reached the point where the pointing device is effectively used to easily indicate the arrangement positions of the vertical and horizontal ruled lines.

 本発明の文字列と罫線の混在処理方法およびその装置は、こうした問題点を解決し、文字及び罫線が混在した文書を作成する使用者にとって最も快適なインタフェイスを提供し、多種類の文字列への対処、ポインティングデバイスを有効に利用した罫線の配置位置の簡易的指示を可能とすることを目的としてなされ、次の構成を採った。 The mixed character string / ruled line processing method and apparatus of the present invention solves these problems and provides the most comfortable interface for a user who creates a document with mixed characters and ruled lines. The purpose of the present invention is to make it possible to easily specify the arrangement position of the ruled line by effectively using the pointing device, and adopt the following configuration.

 請求項1の文字列と罫線の混在処理方法は、
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 前記文字列の一部に前記罫線が重複して描かれることを検出し、
 前記文字列中の前記重複の発生した文字を消去して罫線を優先して表示し、
 表示した罫線と該消去された文字に続く文字との間隔と略同一の幅を有するスペースを演算し、
 該演算したスペースを前記重複の発生した文字に代えて前記文字列に挿入すること
 を要旨とする。
The mixed processing method of a character string and a ruled line according to claim 1,
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Detecting that the ruled line is drawn overlapping part of the character string,
The duplicated characters in the character string are deleted and ruled lines are displayed with priority,
Calculate a space having substantially the same width as the interval between the displayed ruled line and the character following the erased character,
The gist is that the calculated space is inserted into the character string in place of the duplicated character.

 この処理方法によれば、罫線と文字列とが重複した場合には、文字を消去して罫線を優先して表示するが、文字を消去した際、表示した罫線と消去した文字に続く文字との間隔と略同一の幅を有するスペースを演算し、重複の発生した文字に代えてこのスペースを挿入する。この結果、文字の消去にも関わらず、元の文字列は概ね同一の位置に表示される。 According to this processing method, when the ruled line and the character string overlap, the character is deleted and the ruled line is displayed with priority, but when the character is deleted, the displayed ruled line and the character following the deleted character are displayed. Is calculated, and this space is inserted in place of the duplicated character. As a result, the original character string is displayed at substantially the same position despite the erasure of the character.

 請求項2は、請求項1記載の文字列と罫線の混在処理方法において、スペースの演算を、表示した罫線と消去された文字に続く文字との間隔と略同一の幅となるスペースの個数を演算する処理として行なうものである。文字の種類によっては、同一のフォントでも文字によって文字幅が異なる。例えば、プロポーショナルなフォントでは「W」と「i」とで文字幅が異なるのが通常である。この場合、「W」が消去された場合に代替すべきスペースの個数と「i」が消去された場合に代替すべきスペースの個数とは異なる。従って、請求項2の処理方法によれば、代替すべきスペースの個数を求めることで、置き換えを簡略に行なうのである。 According to a second aspect of the present invention, in the method for processing a mixture of a character string and a ruled line according to the first aspect, the calculation of the space is performed by determining the number of spaces having a width substantially equal to the interval between the displayed ruled line and the character following the deleted character. This is performed as an arithmetic operation. Depending on the type of character, the character width varies depending on the character even in the same font. For example, in a proportional font, the character width is usually different between “W” and “i”. In this case, the number of spaces to be replaced when “W” is erased is different from the number of spaces to be replaced when “i” is erased. Therefore, according to the processing method of the second aspect, the replacement is performed simply by obtaining the number of spaces to be replaced.

 請求項3は、請求項1記載の文字列と罫線の混在処理方法において、スペースの演算は、表示した罫線と消去された文字に続く文字との間隔と略同一の幅となるスペースの大きさを演算する処理として行なうものである。消去した文字を代替するのに必要なスペースをスペースの個数で調整するもの(請求項2)に対して、請求項3では、スペースそのもののポイント数等を演算することにより、置き換えを行なうものである。 According to a third aspect of the present invention, in the method for processing a mixture of a character string and a ruled line according to the first aspect of the present invention, the calculation of the space is a size of a space having substantially the same width as the interval between the displayed ruled line and a character following the erased character. Is calculated. Whereas the space required to replace the erased character is adjusted by the number of spaces (claim 2), in claim 3, replacement is performed by calculating the number of points of the space itself. is there.

 請求項4の文字列と罫線の混在処理方法は、
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に前記罫線が挿入されたとき、これを検出し、
 該罫線の挿入箇所を境界として左右に分割された領域毎に、前記文字列の配置状態を初期の配置状態に復帰すること
 を要旨としている。
The mixed processing method of character strings and ruled lines according to claim 4 is
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When the ruled line is inserted in the line where the character string is arranged in the arrangement state, this is detected,
The gist is to restore the arrangement state of the character string to the initial arrangement state for each of the left and right divided regions with the insertion point of the ruled line as a boundary.

 従って、この処理方法によれば、罫線が挿入された行では、罫線より分割された領域毎に文字列の配置は初期の配置状態に復帰する。元の行に、右寄せ、左寄せ、インデント等様々な配置状態が設定し得るが、これらは罫線の挿入により初期の配置状態に戻すことが最も使用者にとって素直なインタフェイスの一つだからである。 {Accordingly, according to this processing method, in the line where the ruled line is inserted, the arrangement of the character strings is returned to the initial arrangement state for each area divided by the ruled line. Various arrangement states such as right-alignment, left-alignment, and indentation can be set in the original line, but it is one of the most straightforward interfaces for the user to return to the initial arrangement state by inserting ruled lines.

 請求項5は、請求項4の文字列と罫線の混在処理方法において、文字列の配置状態が、左寄せ、右寄せ、センタリング、均等配置または両端揃え(両端に文字があり内部が均等配置されたもの)であるものを特定する。これは、文書を処理するものにおいて最低限必要となる処理である。 According to a fifth aspect of the present invention, there is provided the character string and ruled line mixed processing method according to the fourth aspect, wherein the arrangement state of the character string is left-justified, right-justified, centering, evenly arranged, or both-justified (characters at both ends and the inside is uniformly arranged). ). This is the minimum processing required for processing a document.

 請求項6記載の文字列と罫線の混在処理方法は、
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に前記罫線が挿入されたとき、
  前記配置状態の設定を初期状態に戻し、
  該挿入された罫線により分割された区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置もしくはその近傍となるよう所定幅のスペースを演算し、
  該演算したスペースを挿入すること
 を要旨とする。
A mixed processing method of a character string and a ruled line according to claim 6,
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When the ruled line is inserted in the line where the character string is arranged in the arrangement state,
Return the setting of the arrangement state to the initial state,
A space of a predetermined width is calculated so that the arrangement position of each character string in the section divided by the inserted ruled line is the arrangement in the arrangement state or in the vicinity thereof,
The gist is to insert the calculated space.

 この処理方法によれば、所定の配置状態が設定されている行に罫線が挿入されると、配置状態の設定を初期状態に戻すと共に、既に配置された文字列についてはその位置を保持するようにスペースを演算して挿入する。したがって、配置状態の設定は初期化されるが文字列の配置はほとんど変わらず、使用者が違和感を感じることがない。 According to this processing method, when a ruled line is inserted into a line in which a predetermined arrangement state is set, the arrangement state setting is returned to the initial state, and the position of the already arranged character string is held. Calculate and insert a space. Therefore, the setting of the arrangement state is initialized, but the arrangement of the character strings hardly changes, and the user does not feel uncomfortable.

 請求項7は、請求項6の文字列と罫線の混在処理方法において、文字列の配置状態が、タブまたはインデントによる配置であるものを特定している。これらは、文書の配置状態として必要となるものである。 According to a seventh aspect of the present invention, in the method for processing a mixed character string and ruled line according to the sixth aspect, the arrangement state of the character string is specified by a tab or an indent. These are necessary as the arrangement state of the document.

 請求項8の文字列と罫線の混在処理方法は、
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に存在した罫線が削除されたとき、該罫線により分割されていたそれぞれの区間毎に、前記所定コマンドの実行により所定の配置状態とされた文字列を、該区間毎の初期位置もしくはその近傍に復帰させること
 を要旨とする。
The mixed character string and ruled line processing method of claim 8 is
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When a ruled line existing in a line where a character string is arranged in the arrangement state is deleted, a character string in a predetermined arrangement state by execution of the predetermined command is deleted for each section divided by the ruled line. The gist of the present invention is to return to the initial position of each section or its vicinity.

 この処理方法によれば、所定の配置状態が設定された行に存在した罫線が削除されたとき、所定の配置状態とされた文字列を、罫線により分割されていた区間毎に初期位置もしくはその近傍位置に復帰させる。従って、罫線により分割された区間で、例えば右寄せされていた文字列は、罫線が削除されると、初期状態(例えば左寄せの状態)に復帰される。罫線が削除されて分割されていた区間がなくなった場合には、区間毎の配置状態を初期状態に戻すのが使用者にとって分かりやすい対応のひとつだからである。 According to this processing method, when a ruled line existing in a row in which a predetermined arrangement state is set is deleted, a character string in a predetermined arrangement state is replaced with an initial position or its initial position for each section divided by the ruled line. Return to the nearby position. Therefore, for example, a character string that has been right-justified in a section divided by ruled lines is returned to an initial state (eg, left-aligned state) when the ruled lines are deleted. This is because, when the ruled line is deleted and the divided section disappears, returning the arrangement state of each section to the initial state is one of the measures that can be easily understood by the user.

 請求項9は、請求項8記載の文字列と罫線の混在処理方法において、初期位置への復帰を、タブコードあるいは所定幅のスペースの挿入により行なうものである。従って、初期状態への復帰を容易を行なうことができる。 According to a ninth aspect of the present invention, in the method for processing mixed character strings and ruled lines according to the eighth aspect, the return to the initial position is performed by inserting a tab code or a space having a predetermined width. Therefore, it is possible to easily return to the initial state.

 請求項10記載の文字列と罫線の混在処理方法は、
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に存在した罫線が削除されたとき、
  前記配置状態の設定を初期状態に戻し、
  該削除された罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置位置もしくはその近傍となるよう所定幅のスペースを演算し、
  該演算したスペースを挿入すること
 を要旨とする。
A method for processing a mixture of a character string and a ruled line according to claim 10,
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When the ruled line existing in the line where the character string is arranged in the arrangement state is deleted,
Return the setting of the arrangement state to the initial state,
A space having a predetermined width is calculated so that the arrangement position of each character string in the section divided by the deleted ruled line is at or near the arrangement position in the arrangement state,
The gist is to insert the calculated space.

 この処理方法によれば、所定の配置状態が設定された行に存在した罫線が削除されると、罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、その配置状態での配置位置もしくはその近傍となるように、所定幅のスペースを演算し挿入する。従って、罫線を削除しても、既に所定の配置状態に配置された文字列は、ほぼ元の位置に配置される。この処理方法は、使用者にとって違和感のない処理の一つである。 According to this processing method, when a ruled line existing in a line in which a predetermined arrangement state is set is deleted, the arrangement position of each character string in the section divided by the ruled line is changed to the arrangement position in the arrangement state. Alternatively, a space of a predetermined width is calculated and inserted so as to be in the vicinity thereof. Therefore, even if a ruled line is deleted, a character string already arranged in a predetermined arrangement state is arranged almost at the original position. This processing method is one of the processings that does not cause a user to feel uncomfortable.

 請求項11は、請求項10の文字列と罫線の混在処理方法において、文字列の配置状態が、タブまたはインデントによる配置状態であるものを特定する。タブまたはインデントは、文書における配置状態のうち基本的なものの一つである。 According to an eleventh aspect of the present invention, in the method for processing a mixed character string and ruled line according to the tenth aspect, the arrangement state of the character string is specified by a tab or an indent. Tabs or indents are one of the basic arrangements in a document.

 請求項12記載の文字列と罫線の混在処理方法は、
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 前記罫線により区画された領域の初期の大ききを記憶し、
 文字列が入力された場合には、該領域内部を文書領域として編集を行ない、
 該記憶した領域内で編集された文字列の大きさが該領域に収容できる範囲を越えるものとなったとき、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を延長し、
 前記記憶した領域内で編集された文字列の大きさが該領域内に収容できる範囲を下回るものとなったとき、前記領域の初期の大きさを限度として、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を縮小すること
 を要旨とする。
The mixed processing method of a character string and a ruled line according to claim 12 is
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Storing the initial size of the area defined by the ruled line,
If a character string is input, edit the inside of the area as a document area,
When the size of the edited character string in the stored area exceeds the range that can be accommodated in the area, the size of the ruled line that partitions the area is changed to change the area defined by the ruled line. Extend,
When the size of the character string edited in the stored area becomes smaller than the range that can be accommodated in the area, the size of the ruled line that partitions the area up to the initial size of the area To reduce the area defined by the ruled line.

 この文字列と罫線の混在処理方法によれば、罫線により区画された領域内の文字列に対する編集の結果に応じて、領域を区画する罫線の大きさを変更して区画された領域を延長または縮小するが、領域の縮小に際しては、領域の初期の大きさを限度とし、それ以下への縮小は行なわない。従って、罫線により区画された領域は、内部の文字列の編集に応じて延長・縮小し、かつその初期の大きさ以下にはならないので、領域の変形が非所望なものにはならないという利点がある。 According to this method of processing a mixture of a character string and a ruled line, the size of the ruled line dividing the area is changed to extend or separate the partitioned area according to the result of editing the character string in the area partitioned by the ruled line. The area is reduced, but when the area is reduced, the initial size of the area is limited, and the area is not reduced. Therefore, the area defined by the ruled lines is extended or reduced in accordance with the editing of the internal character string, and does not become smaller than its initial size. Therefore, there is an advantage that the deformation of the area does not become undesired. is there.

 請求項13記載の文字列と罫線の混在処理方法は、
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 カーソルキー操作により移動されるカーソルまたはポインティングデバイスにより前記ディスプレイ上に指定される第1の位置を、罫線による矩形表示の開始位置とし、
 該第1の位置を指定した後に前記指示される指示位置が移動すると、該移動に伴って、前記第1の位置と該指示位置を対向する2つの隅とする矩形を表示し、
 前記カーソルキー操作により移動されるカーソルまたは前記ポインティングデバイスにより前記ディスプレイ上の第2の位置が指定されたとき、前記第1の位置と該第2の位置を対向する2つの隅とする矩形を固定的に表示し、
 前記第1の位置から第2の位置まで指示点が移動する間に、所定の操作がなされたとき、該操作がなされた時点の前記指示点を通過し前記矩形表示を縦横に分割する罫線を発生させること
 を要旨とする。
According to a thirteenth aspect of the present invention, there is provided a method for processing mixed character strings and ruled lines.
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
A first position specified on the display by a cursor or a pointing device moved by a cursor key operation is set as a start position of a rectangular display by a ruled line;
When the designated position moves after the first position has been designated, a rectangle having the first position and the designated position as two opposite corners is displayed with the movement,
When a second position on the display is designated by the cursor or the pointing device moved by the cursor key operation, a rectangle having two corners facing the first position and the second position is fixed. Display,
When a predetermined operation is performed while the designated point moves from the first position to the second position, a ruled line that passes through the designated point at the time when the designated operation is performed and divides the rectangular display vertically and horizontally is formed. The point is to make it occur.

 この文字列と罫線の混在処理方法によれば、カーソルキー操作により移動するカーソルまたはポインティングデバイスを用いて第1の位置を開始点とし第2の位置を第1の位置に対向する隅部とする矩形の罫線を引く途中で所定の操作がなされたとき、この点を通る縦横の罫線を発生させ、矩形の罫線を分割する。矩形の罫線を引く場合には、その内部に縦横に分割する罫線を引くことは多いので、この処理方法を用いれば、極めて容易に分割罫線を有する矩形の罫線を引くことができる。 According to the method for processing a mixture of a character string and a ruled line, the first position is used as a start point and the second position is used as a corner facing the first position using a cursor or a pointing device that is moved by operating a cursor key. When a predetermined operation is performed in the course of drawing a rectangular ruled line, vertical and horizontal ruled lines passing through this point are generated, and the rectangular ruled line is divided. In the case of drawing a rectangular ruled line, a ruled line dividing vertically and horizontally is often drawn inside the rectangular ruled line. Therefore, by using this processing method, a rectangular ruled line having a divided ruled line can be drawn very easily.

 請求項14は、請求項13記載の文字列と罫線の混在処理方法において、所定の操作がなされた後で、カーソルキー操作により移動するカーソルまたはポインティングデバイスにより指示される点が、操作がなされた点よりも第1の位置側に至ったとき、先に発生された矩形表示を縦横に分割する罫線を消去するものを特定する。この文字列と罫線の混在処理方法によれば、一度発生させた縦横に分割する罫線を容易に取り消すことができる。 According to a fourteenth aspect of the present invention, in the method for processing a mixture of a character string and a ruled line according to the thirteenth aspect, after a predetermined operation is performed, the point designated by a cursor or a pointing device moved by a cursor key operation is operated. When reaching the first position side from the point, the one that deletes the ruled line dividing the previously generated rectangular display vertically and horizontally is specified. According to this method of processing a mixed character string and ruled line, the ruled line once generated vertically and horizontally can be easily canceled.

 請求項15は、請求項13記載の文字列と罫線の混在処理方法において、所定の操作がなされた後で、カーソルキー操作により移動するカーソルまたはポインティングデバイスにより指示される点が、操作がなされた点もしくはその近傍に至った状態で所定の操作がなされたとき、先に発生された矩形表示を縦横に分割する罫線を消去するものを特定する。従って、この文字列と罫線の混在処理方法によれば、消去したい縦横罫線のみを選択的に消去することができ、使い勝手が向上する。 According to a fifteenth aspect of the present invention, in the method for processing a mixture of a character string and a ruled line according to the thirteenth aspect, after a predetermined operation is performed, the point designated by a cursor or a pointing device moved by a cursor key operation is performed. When a predetermined operation is performed in the state of reaching the point or the vicinity thereof, the one that deletes the ruled line that divides the previously generated rectangular display vertically and horizontally is specified. Therefore, according to the method for processing a mixture of a character string and a ruled line, only the vertical and horizontal ruled lines to be deleted can be selectively deleted, and the usability is improved.

 請求項16は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 前記文字列の一部に前記罫線が重複して描かれることを検出する検出手段と、
 前記文字列中の前記重複の発生した文字を消去して罫線を優先して表示する罫線表示手段と、
 該表示した罫線と前記消去された文字に続く文字との間隔と略同一の文字幅を有するスペースを演算するスペース演算手段と、
 該演算したスペースを前記重複の発生した文字に代えて前記文字列に挿入する挿入手段と
 を備えたことを要旨とする。
Claim 16 is an apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Detecting means for detecting that the ruled line is drawn in a part of the character string,
Ruled line display means for erasing the duplicated characters in the character string and preferentially displaying ruled lines;
Space calculating means for calculating a space having a character width substantially equal to the interval between the displayed ruled line and the character following the erased character;
Insertion means for inserting the calculated space into the character string in place of the duplicated character.

 この処理装置によれば、罫線と文字列とが重複した場合には、文字を消去して罫線を優先して表示するが、文字を消去した際、表示した罫線と消去された文字に続く文字との間隔と略同一の幅を有するスペースを演算し、重複の発生した文字に代えてこのスペースを挿入する。この結果、文字の消去にも関わらず、元の文字列は概ね同一の位置に表示される。 According to this processing device, when a ruled line and a character string overlap, the character is erased and the ruled line is displayed with priority, but when the character is erased, the character following the displayed ruled line and the erased character is displayed. Is calculated, and a space having substantially the same width as the space is calculated, and this space is inserted in place of the character in which the overlap has occurred. As a result, the original character string is displayed at substantially the same position despite the erasure of the character.

 請求項17記載の文字列と罫線の混在処理装置は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力された所定のコマンドを実行し、前記ディスプレイ上に表示された文字列を、該所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に罫線を入力する罫線入力手段と、
 該配置状態に文字列が配置された行に前記罫線が挿入されたとき、該罫線の挿入箇所を境界として左右に分割された領域毎に、前記文字列の配置状態を初期の配置状態に復帰させる配置状態復帰手段と
 を備えことを要旨とする。
A mixed character string and ruled line processing device according to claim 17 is a device that displays a character string of a desired size and a ruled line of a predetermined line type on a display, and performs mixed processing of the character string and the ruled line. So,
Command input means for inputting a predetermined command;
Character string arranging means for executing the inputted predetermined command and arranging a character string displayed on the display in a predetermined arrangement state according to the predetermined command;
Ruled line input means for inputting a ruled line at a predetermined position on the display;
When the ruled line is inserted into the line where the character string is arranged in the arrangement state, the character string arrangement state is returned to the initial arrangement state for each of the left and right regions divided by the insertion point of the ruled line. And an arrangement state returning means for causing the state to be provided.

 従って、この処理装置によれば、罫線が挿入された行では、罫線より分割された領域毎に文字列の配置は初期の配置状態に復帰する。元の行に、右寄せ、左寄せ、インデント等様々な配置状態が設定し得るが、これらは罫線の挿入により初期の配置状態に戻すことが最も使用者にとって素直なインタフェイスの一つだからである。 {Accordingly, according to this processing device, in the line where the ruled line is inserted, the arrangement of the character strings is returned to the initial arrangement state for each area divided by the ruled line. Various arrangement states such as right-alignment, left-alignment, and indentation can be set in the original line, but it is one of the most straightforward interfaces for the user to return to the initial arrangement state by inserting ruled lines.

 請求項18の文字列と罫線の混在処理装置は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力された所定のコマンドを実行し、前記ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に罫線を入力する罫線入力手段と、
 前記配置状態に文字列が配置された行に前記罫線が挿入されたとき、前記配置状態の設定を初期状態に戻す配置状態初期化手段と、
 該挿入された罫線により分割された区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置もしくはその近傍となるよう所定幅のスペースを挿入するスペース挿入手段と
 を備えたことを要旨とする。
The character string and ruled line mixed processing device according to claim 18 is a device that displays a character string of a desired size and a ruled line of a predetermined line type on a display, and performs mixed processing of the character string and the ruled line. hand,
Command input means for inputting a predetermined command;
A character string arranging means for executing the inputted predetermined command, and arranging a character string displayed on the display in a predetermined arrangement state according to the predetermined command,
Ruled line input means for inputting a ruled line at a predetermined position on the display;
When the ruled line is inserted in a line where a character string is arranged in the arrangement state, an arrangement state initializing unit for returning the setting of the arrangement state to an initial state,
Space insertion means for inserting a space of a predetermined width so that the arrangement position of each character string in the section divided by the inserted ruled line is at or near the arrangement in the arrangement state. .

 この処理装置によれば、所定の配置状態が設定されている行に罫線が挿入されると、配置状態の設定を初期状態に戻すと共に、既に配置された文字列についてはその位置を保持するようにスペースを演算して挿入する。したがって、配置状態の設定は初期化されるが文字列の配置はほとんど変わらず、使用者が違和感を感じることがない。 According to this processing device, when a ruled line is inserted into a line where a predetermined arrangement state is set, the arrangement state setting is returned to the initial state, and the position of the already arranged character string is held. Calculate and insert a space. Therefore, the setting of the arrangement state is initialized, but the arrangement of the character strings hardly changes, and the user does not feel uncomfortable.

 請求項19の文字列と罫線の混在処理装置は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力されたコマンドを実行し、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に入力された罫線を削除する罫線削除手段と、
 前記配置状態に文字列が配置された行に存在した罫線が削除されたとき、該罫線により分割されていたそれぞれの区間毎に、前記所定コマンドの実行により所定の配置状態とされた文字列を、該区間毎の初期位置もしくはその近傍に復帰させる配置状態初期化手段と
 を備えたことを要旨とする。
The character string and ruled line mixed processing device according to claim 19 is a device for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line. hand,
Command input means for inputting a predetermined command;
Character string arranging means for executing the input command and arranging a character string displayed on a display in a predetermined arrangement state according to the predetermined command;
Ruled line deletion means for deleting a ruled line input at a predetermined position on the display;
When a ruled line existing in a line where a character string is arranged in the arrangement state is deleted, a character string in a predetermined arrangement state by executing the predetermined command is deleted for each section divided by the ruled line. And arrangement state initializing means for returning to the initial position for each section or its vicinity.

 この処理装置によれば、所定の配置状態が設定された行に存在した罫線が削除されたとき、所定の配置状態とされた文字列を、罫線により分割されていた区間毎に初期位置もしくはその近傍位置に復帰させる。従って、罫線により分割された区間で、例えば右寄せされていた文字列は、罫線が削除されると、初期状態(例えば左寄せの状態)に復帰される。罫線が削除されて分割されていた区間がなくなった場合には、区間毎の配置状態を初期状態に戻すのが使用者にとって分かりやすい対応のひとつだからである。 According to this processing device, when a ruled line existing in a line in which a predetermined arrangement state is set is deleted, a character string in the predetermined arrangement state is replaced with an initial position or its initial position for each section divided by the ruled line. Return to the nearby position. Therefore, for example, a character string that has been right-justified in a section divided by ruled lines is returned to an initial state (eg, left-aligned state) when the ruled lines are deleted. This is because, when the ruled line is deleted and the divided section disappears, returning the arrangement state of each section to the initial state is one of the measures that can be easily understood by the user.

 請求項20記載の文字列と罫線の混在処理装置は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力されたコマンドを実行し、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に入力された罫線を削除する罫線削除手段と、
 前記配置状態に文字列が配置された行に存在した罫線が削除されたとき、前記配置状態の設定を初期状態に戻す配置状態初期化手段と、
 該削除された罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置位置もしくはその近傍となるよう所定幅のスペースを挿入するスペース挿入手段と
 を備えたことを要旨とする。
A character string and ruled line mixed processing device according to claim 20, wherein a character string of a desired size and a ruled line of a predetermined line type are displayed on a display, and the character string and the ruled line are mixedly processed. So,
Command input means for inputting a predetermined command;
Character string arranging means for executing the input command and arranging a character string displayed on a display in a predetermined arrangement state according to the predetermined command;
Ruled line deletion means for deleting a ruled line input at a predetermined position on the display;
When a ruled line existing in a line in which a character string is arranged in the arrangement state is deleted, an arrangement state initializing means for returning the arrangement state setting to an initial state,
Space insertion means for inserting a space of a predetermined width so that the arrangement position of each character string in the section divided by the deleted ruled line is at or near the arrangement position in the arrangement state. And

 この処理装置によれば、所定の配置状態が設定された行に存在した罫線が削除されると、罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、その配置状態での配置位置もしくはその近傍となるように、所定幅のスペースを演算し挿入する。従って、罫線を削除しても、既に所定の配置状態に配置された文字列は、ほぼ元の位置に配置される。この処理装置は、使用者にとって違和感のない処理の一つを提供する。 According to this processing device, when a ruled line existing in a line in which a predetermined arrangement state is set is deleted, the arrangement position of each character string in the section divided by the ruled line is changed to the arrangement position in the arrangement state. Alternatively, a space of a predetermined width is calculated and inserted so as to be in the vicinity thereof. Therefore, even if a ruled line is deleted, a character string already arranged in a predetermined arrangement state is arranged almost at the original position. This processing device provides one of the processes that does not cause a user to feel uncomfortable.

 請求項21の文字列と罫線の混在処理装置は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 前記罫線により区画された領域の初期の大ききを記憶する罫線領域初期値記憶手段と、
 文字列を前記領域内に入力する文字列入力手段と、
 該入力された文字列に対して、該領域内部を文書領域として編集を行なう編集手段と、
 該記憶した領域内で編集された文字列の大きさが該領域に収容できる範囲を越えるものとなったとき、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を延長する罫線延長手段と、
 前記記憶した領域内で編集された文字列の大きさが該領域内に収容できる範囲を下回るものとなったとき、前記罫線領域初期値記憶手段に記憶された領域の初期の大きさを限度として、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を縮小する罫線縮小手段と
 を備えたことを要旨とする。
A character string and ruled line mixed processing device according to claim 21 is a device that displays a character string of a desired size and a ruled line of a predetermined line type on a display, and performs mixed processing of the character string and the ruled line. hand,
Ruled line area initial value storage means for storing an initial size of an area partitioned by the ruled line;
Character string input means for inputting a character string into the area;
Editing means for editing the input character string using the inside of the area as a document area;
When the size of the edited character string in the stored area exceeds the range that can be accommodated in the area, the size of the ruled line that partitions the area is changed to change the area defined by the ruled line. Ruled line extending means for extending,
When the size of the character string edited in the stored area falls below the range that can be accommodated in the area, the initial size of the area stored in the ruled line area initial value storage unit is limited. Ruled line reducing means for changing the size of the ruled line that partitions the area and reducing the area partitioned by the ruled line.

 この文字列と罫線の混在処理装置によれば、罫線により区画された領域内の文字列に対する編集の結果に応じて、領域を区画する罫線の大きさを変更して区画された領域を延長または縮小するが、領域の縮小に際しては、領域の初期の大きさを限度とし、それ以下への縮小は行なわない。従って、罫線により区画された領域は、内部の文字列の編集に応じて延長・縮小し、かつその初期の大きさ以下にはならないので、領域の変形が非所望なものにはならないという利点がある。 According to the mixed processing device for character strings and ruled lines, the size of the ruled lines that define the area is changed to extend or separate the partitioned area in accordance with the result of editing the character string in the area defined by the ruled lines. The area is reduced, but when the area is reduced, the initial size of the area is limited, and the area is not reduced. Therefore, the area defined by the ruled lines is extended or reduced in accordance with the editing of the internal character string, and does not become smaller than its initial size. Therefore, there is an advantage that the deformation of the area does not become undesired. is there.

 請求項22の文字列と罫線の混在処理装置は、所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 カーソルキー操作により移動するカーソルまたはポインティングデバイスにより前記ディスプレイ上に指定される第1の位置を、矩形表示の開始位置として罫線の描画を開始する描画開始手段と、
 該第1の位置を指定した後に前記指示される指示位置が移動すると、該移動に伴って、前記第1の位置と該指示位置を対向する2つの隅とする矩形を一時的に表示する矩形仮表示手段と、
 前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより前記ディスプレイ上の第2の位置が指定されたとき、前記第1の位置と該第2の位置を対向する2つの隅とする矩形を固定的に表示する描画完了手段と、
 前記第1の位置から第2の位置まで前記指示点が移動する間に、所定の操作がなされたとき、該操作がなされた時点の前記指示点を通過し前記矩形表示を縦横に分割する罫線を発生させる罫線発生手段と
 を備えたことを要旨とする。
A character string and ruled line mixed processing device according to claim 22 is a device that displays a character string of a desired size and a ruled line of a predetermined line type on a display, and performs mixed processing of the character string and the ruled line. hand,
Drawing start means for starting drawing a ruled line with a first position specified on the display by a cursor or a pointing device moved by a cursor key operation as a start position of a rectangular display;
When the designated position moves after designating the first position, a rectangle that temporarily displays a rectangle having the first position and the designated position as two opposing corners is associated with the movement. Temporary display means;
When a second position on the display is designated by the cursor moved by the cursor key operation or the pointing device, a rectangle having two corners facing the first position and the second position is fixed. Drawing completion means to be displayed on the
When a predetermined operation is performed while the designated point moves from the first position to the second position, a ruled line that passes through the designated point at the time of the operation and divides the rectangular display vertically and horizontally And a ruled line generating means for generating.

 この文字列と罫線の混在処理装置によれば、カーソルキー操作により移動するカーソルまたはポインティングデバイスによりを用いて第1の位置を開始点とし第2の位置を第1の位置に対向する隅部とする矩形の罫線を引く途中で所定の操作がなされたとき、この点を通る縦横の罫線を発生させ、矩形の罫線を分割する。矩形の罫線を引く場合には、その内部に縦横に分割する罫線を引くことは多いので、この処理装置を用いれば、極めて容易に分割罫線を有する矩形の罫線を引くことができる。 According to this mixed processing device for character strings and ruled lines, the first position is used as the start point and the second position is used as a corner opposite to the first position using a cursor or a pointing device that is moved by operating a cursor key. When a predetermined operation is performed in the course of drawing a rectangular ruled line, a vertical and horizontal ruled line passing through this point is generated, and the rectangular ruled line is divided. When a rectangular ruled line is to be drawn, a ruled line for dividing vertically and horizontally is often drawn inside the rectangular ruled line. Therefore, using this processing apparatus, a rectangular ruled line having a divided ruled line can be drawn very easily.

 請求項23は、請求項22記載の記載の文字列と罫線を混在処理する装置において、前記所定の操作がなされた後で、前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより指示される点が、該操作がなされた点よりも前記第1の位置側に至ったことを検出する検出手段と、この検出手段による検出がなされたとき、前記発生された前記矩形表示を縦横に分割する罫線を消去する罫線消去手段とを備えたことを特徴とする。この文字列と罫線の混在処理装置によれば、一度発生させた縦横に分割する罫線を容易に取り消すことができる。 According to a twenty-third aspect of the present invention, in the apparatus for processing a character string and a ruled line according to the twenty-second aspect, after the predetermined operation is performed, the cursor or the pointing device is moved by the cursor key operation. Detecting means for detecting that the first position has been reached from the point at which the operation has been performed; and a ruled line for dividing the generated rectangular display vertically and horizontally when the detection is performed by the detecting means. And a ruled line erasing means for erasing the line. According to the character string and ruled line mixed processing device, a ruled line once generated vertically and horizontally divided can be easily canceled.

 請求項24の発明は、請求項22記載の文字列と罫線を混在処理する装置において、前記所定の操作がなされた後で、前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより指示される点が、該操作がなされた点もしくはその近傍に至った状態となったことを検出する指示点検出手段と、該指示点検出手段により検出がなされた状態で所定の操作がなされたとき、前記発生された前記矩形表示を縦横に分割する罫線を消去する分割罫線消去手段とを備えたことを特徴とする。従って、この文字列と罫線の混在処理装置によれば、消去したい縦横罫線のみを選択的に消去することができ、使い勝手が向上する。 According to a twenty-fourth aspect of the present invention, in the apparatus for processing a character string and a ruled line according to the twenty-second aspect, after the predetermined operation is performed, the cursor or the pointing device is moved by the cursor key operation. Pointing point detecting means for detecting that the operation has been performed at or near the point where the operation has been performed; and when a predetermined operation is performed in a state where the detection is performed by the pointing point detecting means, Dividing ruled line erasing means for erasing ruled lines dividing the rectangular display vertically and horizontally. Therefore, according to the mixed character string and ruled line processing device, only the vertical and horizontal ruled lines to be deleted can be selectively deleted, and the usability is improved.

 以上説明した本発明の構成、作用を一層明らかにするために、以下本発明の文字列と罫線の混在処理方法およびその装置の好適な実施例について説明する。図1は実施例である文字列と罫線の混在処理方法を採用した日本語ワードプロセッサ・アプリケーションソフトをコンピュータ上で動作させたときディスプレイ40に表示される基本ウインドウ画面の説明図、図2はそのアプリケーションソフトを起動しているパーソナルコンピュータ20の内部の機能ブロック図である。即ち、通常のパーソナルコンピュータ20でこのソフトを実行することで、本実施例の文字列と罫線の混在処理方法が実現される。また、このパーソナルコンピュータ20上でこのソフトウェアを実行すれば、全体として、実施例の文字列と罫線の混在処理装置が実現されることになる。 In order to further clarify the configuration and operation of the present invention described above, a preferred embodiment of a method and apparatus for mixing character strings and ruled lines according to the present invention will be described below. FIG. 1 is an explanatory view of a basic window screen displayed on a display 40 when a Japanese word processor application software employing a method of processing mixed character strings and ruled lines according to an embodiment is operated on a computer, and FIG. FIG. 3 is a functional block diagram of the inside of a personal computer 20 running software. That is, by executing this software on a normal personal computer 20, the method of processing a mixed character string and ruled line according to the present embodiment is realized. Further, if the software is executed on the personal computer 20, the character string and ruled line mixed processing apparatus of the embodiment is realized as a whole.

 説明の都合上、まずパーソナルコンピュータ20の内部構成について説明する。ソフトが起動されるパーソナルコンピュータ20は、図2の機能ブロック図に示すように、その基本構成は周知のものであり、論理演算を実行するCPU22,そのCPU22により実行されるプログラム等を不揮発的に記憶しているROM24,プログラムやデータを記憶する大容量のRAM26からなる論理回路部分と、周辺機器部分であるディスプレイ40,このディスプレイ40上の任意の一点を指示するためのポインティングデバイスであるマウス42,キーボード46,プリンタ48,ハードディスク50との入出力インターフェイス28〜36から構成されている。なお、最近では処理速度の向上を目的として各種の高速バスをCPU22の周辺に採用したものなども知られているので、処理速度や記憶容量などの点で適したハードウェア構成を採用すれば良い。 {For convenience of explanation, first, the internal configuration of the personal computer 20 will be described. As shown in the functional block diagram of FIG. 2, the basic configuration of the personal computer 20 on which the software is started is well-known, and a CPU 22 that executes a logical operation and a program executed by the CPU 22 are stored in a nonvolatile manner. A logic circuit portion including a ROM 24 that stores therein, a large-capacity RAM 26 that stores programs and data, a display 40 that is a peripheral device portion, and a mouse 42 that is a pointing device for pointing an arbitrary point on the display 40. , A keyboard 46, a printer 48, and an input / output interface 28-36 with the hard disk 50. In recent years, various types of high-speed buses have been used around the CPU 22 for the purpose of improving the processing speed. Therefore, a hardware configuration suitable in terms of the processing speed, storage capacity, and the like may be used. .

 実施例のアプリケーションプログラムは、オペレーティングシステム(以下、OSと呼ぶ)の管理によるグラフィカル・ユーザ・インタフェイス(GUI)の下で動作するようプログラムされており、予めこのOSに用意されたGUIのためのツールを用いることで、他のアプリケーションソフトとの操作方法の統一化が図られている。また、OSレベルでサポートされるアウトラインフォント(文字の形状をベクトルデータとして記述し、指定されたポイント数に応じて対応する大きさの文字のドットを生成するフォント)を利用し、文書作成に際して任意の大きさの文字を滑らかに表示することができる。 The application program according to the embodiment is programmed to operate under a graphical user interface (GUI) managed by an operating system (hereinafter, referred to as an OS). By using tools, the operation method with other application software is unified. Also, an outline font (a font that describes the shape of a character as vector data and generates a dot of a character having a corresponding size according to a designated number of points) supported at the OS level is used for creating a document. Can be displayed smoothly.

 図1に示すアプリケーションの基本ウインドウ画面の最上部は、実施例であるアプリケーションソフトの名前及び現在処理中であるデータファイルのファイル名を表示するタイトルバー402である。このタイトルバー402の左端にあるボタン402Aはシステムメニューをプルダウンするためのボタンであり、その下欄には「ファイル」、「編集」といった表示がされるメニューバー404が配置される。このメニューバー404の任意の表示をマウス42でクリックすると、その表示名に関連したコマンドがプルダウン表示され、コマンド名を覚えたりキーボード46からコマンド名を入力するなど手間が省略される。 最 上 At the top of the application basic window screen shown in FIG. 1 is a title bar 402 that displays the name of the application software according to the embodiment and the file name of the data file currently being processed. A button 402A at the left end of the title bar 402 is a button for pulling down a system menu, and a menu bar 404 on which “file”, “edit”, and the like are displayed is arranged below the button 402A. When an arbitrary display on the menu bar 404 is clicked with the mouse 42, a command related to the display name is displayed in a pull-down display, so that a trouble such as memorizing the command name or inputting the command name from the keyboard 46 is omitted.

 メニューバー404下欄のツールバー406及び上記タイトルバー402右端は、上述したOSに用意されたインタフェイスではなく、本アプリケーションソフトに独自の主たるコマンドがアイコンあるいはコマンド名により表示される箇所である。タイトルバー402右端のボタン402B(罫線ボタン)をマウス42により選択すると、罫線の描画形態、罫線の消去、罫線領域の拡大・縮小などのコマンドをアイコン化したプルダウンメニューが、図示のごとく表示される。その右隣のボタン402C(線種ボタン)は、同様にマウス42により選択されたとき、図示するように罫線描画に使用する14種の線の一部を表示する。また、ツールバー406には、日本語ワードプロセッサである本実施例のアプリケーションソフトの基本的な動作モードである文字入力モード、罫線作成モード及び左寄せ、中央配置、右寄せ等の自動配置のコマンドや文字のアウトラインフォント種類、ポイント数更等のコマンドがアイコンにより表示されており、このアイコンをマウス42で選択するだけで本アプリケーションソフトに対するコマンド入力がなされる。 The toolbar 406 in the lower section of the menu bar 404 and the right end of the title bar 402 are places where main commands unique to the application software are displayed by icons or command names, not interfaces provided in the OS described above. When a button 402B (ruled line button) at the right end of the title bar 402 is selected with the mouse 42, a pull-down menu in which commands such as a ruled line drawing mode, a ruled line deletion, and a ruled line area enlargement / reduction are iconified is displayed as illustrated. . Similarly, a button 402C (line type button) on the right side, when selected by the mouse 42, displays a part of 14 types of lines used for drawing ruled lines as illustrated. Also, a toolbar 406 includes a character input mode, a ruled line creation mode, and automatic alignment commands such as left alignment, center alignment, and right alignment, and character outlines, which are basic operation modes of the application software of this embodiment, which is a Japanese word processor. Commands such as the font type and the number of points are displayed as icons. Simply by selecting this icon with the mouse 42, a command is input to the application software.

 基本ウインドウ画面の中央に当たる操作領域410は、日本語ワードプロセッサである本アプリケーションソフトに独特の情報編集領域であり、その上方には文字数をカウントしたり、タブやインデントを設定するためのルーラ部412、左側縁には各行に設定された属性を表示する属性表示部414、右側縁及び下側縁にはウインドウを上下左右にスクロールするためのスクロール部416が配置されている。また、ウインドウ画面の最下部の一行は、本アプリケーションソフトの動作状態、例えば編集中の頁数、行数等の状態を表示するステータスバー420である。 An operation area 410 corresponding to the center of the basic window screen is an information editing area peculiar to the application software which is a Japanese word processor. Above the operation area 410, a ruler section 412 for counting the number of characters, setting tabs and indents, An attribute display section 414 for displaying the attribute set for each line is provided on the left side edge, and a scroll section 416 for scrolling the window up, down, left and right is provided on the right side edge and the lower side edge. The bottom line of the window screen is a status bar 420 for displaying the operation state of the application software, for example, the number of pages being edited and the number of lines.

 上述した概略構成を有する本実施例のアプリケーションソフトは、日本語ワードプロセッサとして一般的なルビ機能、脚注機能、ヘッダやフッタを指定する書式機能、カナ漢字変換機能、辞書機能等を独自にあるいは他のツールを利用して達成することは勿論であるが、これらの機能については一般的なソフトと同様であるため説明を省略する。 The application software of the present embodiment having the above-described schematic configuration has a ruby function, a footnote function, a format function for designating a header and a footer, a kana-kanji conversion function, a dictionary function, etc., independently or as a Japanese word processor. Of course, it can be achieved by using a tool, but these functions are the same as those of general software, and a description thereof will be omitted.

 本実施例のアプリケーションソフトは、操作領域410の大部分を占めている編集部418の内部で視覚的に処理される文字列とこの文字列を区画して文章の理解に供される罫線との混在処理に関し、以下のように独特かつ巧みなインタフェイスを有している。以下、本アプリケーションソフトに独特の文字列と罫線の混在処理方法について詳述する。 The application software according to the present embodiment includes a character string visually processed inside the editing unit 418 that occupies most of the operation area 410 and a ruled line that divides the character string and provides a text understanding. For mixed processing, it has a unique and clever interface as follows. Hereinafter, a method of processing a mixed character string and ruled line unique to the present application software will be described in detail.

 図3ないし図7は、以下に説明する独特の文字列と罫線の混在処理方法を達成するために、本アプリケーションソフトにて採用している文字列と罫線のデータ構造を説明するための図である。図3は、以下のデータ構造説明に利用する文字列と罫線とが編集部418に表示されている状態の説明図である。図示した例では、編集部418は全体として縦17行×横30文字の文字編集領域を有している。この内部に罫線がない状態では、この文字編集領域は単一の領域として扱われるが、いったんこの文字編集領域内に罫線が作成されると、編集処理は、罫線により分割された領域毎に行なわれることになる。例えば、図3に示すように矩形の罫線(図中の実線四角)が引かれた場合には、この文字編集領域は、罫線の4つの辺を境界線とし、行方向を優先方向として区分される5つの編集領域1,編集領域2,・・・・・・,編集領域5(5つの点線四角)に分けられ、文字列は各領域毎に管理される。 FIGS. 3 to 7 are diagrams for explaining the data structure of character strings and ruled lines employed in this application software in order to achieve the unique mixed character string and ruled line processing method described below. is there. FIG. 3 is an explanatory diagram of a state in which a character string and a ruled line used for the following description of the data structure are displayed on the editing unit 418. In the illustrated example, the editing unit 418 has a character editing area of 17 rows by 30 columns as a whole. When there is no ruled line inside, this character editing area is treated as a single area. However, once a ruled line is created in this character editing area, the editing process is performed for each area divided by the ruled line. Will be. For example, when a rectangular ruled line (solid square in the figure) is drawn as shown in FIG. 3, this character editing area is divided with the four sides of the ruled line as boundaries and the line direction as the priority direction. .., And editing area 5 (five dotted squares), and the character string is managed for each area.

 まず、罫線データの管理について説明する。図3に示した各領域のうち、編集部418に描画される罫線データは、これだけを取り出せば、図4に示したように、計7行に亘る罫線領域を形成している。この罫線データは、図5に示すデータ構造を有する罫線描画情報として管理される。すなわち、罫線描画情報は、その罫線がどこに存在するかを大まかに表す情報であり、罫線がある範囲に亘って連続している箇所を1ブロックとしてとらえたものである。罫線描画情報には、開始位置、大きさ、罫線データポインタが含まれる。一つの罫線ブロックが一つの罫線(縦罫線、横罫線、矩形罫線)を定義しているので、文書毎に最大n個の罫線ブロックを管理することができる。罫線描画情報における開始位置とは、罫線が開始される行位置であり、大きさとは、罫線が縦方向に何行連続するかを示すものである。これらの情報は、罫線の描画単位が行桁の場合には行を単位として示される。 First, management of ruled line data will be described. Of the areas shown in FIG. 3, the ruled line data drawn in the editing unit 418, if taken out alone, forms a ruled line area of a total of seven lines as shown in FIG. The ruled line data is managed as ruled line drawing information having the data structure shown in FIG. That is, the ruled line drawing information is information that roughly indicates where the ruled line exists, and captures a portion where the ruled line is continuous over a certain range as one block. The ruled line drawing information includes a start position, a size, and a ruled line data pointer. Since one ruled line block defines one ruled line (vertical ruled line, horizontal ruled line, rectangular ruled line), a maximum of n ruled line blocks can be managed for each document. The start position in the ruled line drawing information is the line position where the ruled line starts, and the size indicates how many lines the ruled line continues in the vertical direction. These pieces of information are indicated in units of lines when the drawing unit of the ruled line is a line column.

 罫線データポインタは、実際に描画される罫線の形、線種を表すデータの保存された場所を指し示すポインタである。本実施例では、この罫線データポインタが指し示す場所(アドレス)に、図4に示すように、二次元の領域が確保されている。この領域は、横方向には罫線の情報を記述するのに必要な大きさが確保され、縦方向には罫線が縦方法に連続する大きさが確保される。従って、図1に例示した罫線では、縦方向に7行の領域が確保される。各行に対応したメモリには罫線の形や線種を表すデータが、罫線の存在に対応する形態で格納されている。なお、この罫線描画情報においても座標位置や大きさを表す単位として前述の文字数を利用しているが、これに限定されないことは先に述べた。 The ruled line data pointer is a pointer that indicates a location where data representing the shape and line type of the ruled line to be actually drawn is stored. In the present embodiment, a two-dimensional area is secured at the location (address) indicated by the ruled line data pointer, as shown in FIG. In this area, a size necessary for describing ruled line information is secured in the horizontal direction, and a size in which the ruled line continues in the vertical direction is secured in the vertical direction. Therefore, in the ruled line illustrated in FIG. 1, an area of seven rows is secured in the vertical direction. In the memory corresponding to each row, data representing the shape and line type of the ruled line is stored in a form corresponding to the existence of the ruled line. In the ruled line drawing information, the number of characters described above is used as a unit indicating the coordinate position and the size, but it is not limited to this, as described above.

 この様に罫線が描画されると、画面はいくつかの矩形領域に分割される。この分割された各領域は、内部的に編集は領域毎に行なわれている。この点を説明する。罫線により分割される各編集領域n(nは任意の自然数である)とは、文字を挿入、削除する際、流れ込みなど既存文字列に対して影響が及ぶ区域である。図6は、第n編集領域までの各編集領域を管理するための編集領域情報のデータ構造の説明図である。図示するように各編集領域nの情報は、その左上隅の座標位置である開始横座標,開始縦座標、その座標からの横方向の大きさ(横大きさ)と縦方向の大きさ(縦大きさ)とによって規定されている。第1編集領域を例に取ると、この領域は、開始横座標1および開始縦座標1(即ち画面左上隅)を開始位置とし、横方向の大きさが30、縦方向の大きさが2となっている。また、先頭文字列インデックスには値1が格納されており、後述する図7に示す文字列情報において第1文字列から、この領域内の文字列が始まっていることが示されている。 と When the ruled line is drawn in this way, the screen is divided into several rectangular areas. Each of the divided areas is internally edited for each area. This point will be described. Each editing area n (n is an arbitrary natural number) divided by a ruled line is an area that affects an existing character string such as a flow when inserting or deleting a character. FIG. 6 is an explanatory diagram of the data structure of edit area information for managing each edit area up to the n-th edit area. As shown in the figure, the information of each editing area n includes a starting horizontal coordinate, a starting vertical coordinate which is a coordinate position of the upper left corner, a horizontal size (horizontal size) from the coordinates, and a vertical size (vertical size). Size). Taking the first editing area as an example, this area starts at the start abscissa 1 and the start ordinate 1 (ie, the upper left corner of the screen), and has a horizontal size of 30, a vertical size of 2, and so on. Has become. Further, the value 1 is stored in the leading character string index, and character string information shown in FIG. 7 described later indicates that the character string in this area starts from the first character string.

 なお、本実施例では各編集領域nの位置と大きさを示す単位として、編集部418にて編集される標準的なポイント数(デフォルトでは12ポイント)の文字を採用し、文字数表示としているが、この様な単位はプログラム毎に統一しておりさえすればよく、mm単位やドット単位など任意に選択可能である。また、各編集領域nの情報として管理される先頭文字列インデックスとは、後述する文字列情報(図7参照)に格納されている文字列にアクセスするためのインデックスで、編集領域nの先頭に表示される文字列を指し示している。 In the present embodiment, as a unit indicating the position and size of each editing area n, a character having a standard number of points (12 points by default) edited by the editing unit 418 is adopted, and the number of characters is displayed. Such units need only be unified for each program, and can be arbitrarily selected such as mm units or dot units. The leading character string index managed as information of each editing area n is an index for accessing a character string stored in character string information (see FIG. 7) described later. Indicates the character string to be displayed.

 次に、編集部418に記述される文字列の情報について、その概要を説明する。文字列は、図7に示す様に、文字列を単位とするテーブルによって管理される。テーブルには、文字列ポインタ、アトリビュートポインタ、次の文字列情報といった情報が含まれる。ここでいう文字列とは改行コードが挿入されるまでの一塊の文字の集まりであり、文字列ポインタとは文字列が実際に格納されたメモリへのアクセスポインタである。また、アトリビュートポインタとは、文字に対するアトリビュートの情報の格納場所を示すポインタである。文字列を構成する文字は、1文字毎に、フォントの種類,ポイント数,文字飾り(修飾)などの情報が設定可能であり、アトリビュートポインタは、この設定(アトリビュート)がメモリに実際に格納されている場所を指し示す。また、次の文字列情報とは、この文字列に続く文字列が存在する場合のインデックスであり、一つの編集領域内で最終の文字列の場合には「0」がセットされる。図3に示した例では、第1文字列が「あいうえお<改行>」であり、次の文字列は第2文字列「ABCDE<改行>」であるから、次の文字列情報の欄には、値2が記憶されている。即ち、図6および図7に示したテーブルにより、全編集領域の文字列が管理されるのである。 Next, an outline of character string information described in the editing unit 418 will be described. The character strings are managed by a table in units of the character strings as shown in FIG. The table includes information such as a character string pointer, an attribute pointer, and next character string information. Here, the character string is a group of characters before a line feed code is inserted, and the character string pointer is an access pointer to a memory in which the character string is actually stored. The attribute pointer is a pointer indicating a storage location of attribute information for a character. Information such as font type, number of points, character decoration (modification) and the like can be set for each character constituting a character string. For an attribute pointer, this setting (attribute) is actually stored in a memory. Point to where you are. The next character string information is an index when a character string following this character string exists, and “0” is set in the case of the last character string in one editing area. In the example shown in FIG. 3, the first character string is “Aieo <new line>” and the next character string is the second character string “ABCDE <new line>”. , Value 2 are stored. That is, the character strings of the entire editing area are managed by the tables shown in FIGS.

 この様に本アプリケーションソフトは、一つの文章(データファイル)毎に、上記データ構造に則った編集領域情報,罫線描画情報,文字列情報をRAM26またはハードディスク50上に新規作成、更新、削除することで、文字列と罫線の混在したデータファイルを管理している。次に、本実施例のアプリケーションソフトが行なう独特かつ巧みな文字列と罫線の混在処理方法、すなわち上記3つの編集領域情報,罫線描画情報,文字列情報を更新する具体例について詳述する。 As described above, the present application software newly creates, updates, and deletes editing area information, ruled line drawing information, and character string information in the RAM 26 or the hard disk 50 for each sentence (data file). Manages data files in which character strings and ruled lines are mixed. Next, a specific example of the unique and skillful processing of mixing character strings and ruled lines performed by the application software of this embodiment, that is, a specific example of updating the above three editing area information, ruled line drawing information, and character string information will be described in detail.

 図8,図9は、ディスプレイ40に表示され確定している文字列に対して重複して罫線描画が指示された場合の処理方法を説明するための説明図及びその部分のプログラムのフローチャートである。なお、編集領域の文字については、本アプリケーションソフトでは、配置状況のデフォルト(初期設定)として、左寄せ,5文字間隔毎のタブ設定,インデント設定がなされている。これらの設定は、図示されていないが、以下の説明では、配置状況の初期設定として扱う。 FIG. 8 and FIG. 9 are explanatory diagrams for explaining a processing method when a ruled line drawing is instructed redundantly for a character string displayed and confirmed on the display 40 and a flowchart of a program of the portion. . For the characters in the editing area, in this application software, as the default (initial setting) of the arrangement status, tab setting to the left, tab setting every five character intervals, and indent setting are made. These settings are not shown, but will be treated as initial settings of the arrangement status in the following description.

 図9に示すように、アプリケーションプログラムの処理が、罫線作成のモードに入ると(ステップS100)、まず確定した文字上に罫線が重なる状況が発生したか否かを判断し(ステップS102)、重複が発生していないときには以下の処理を行なうことなく、「END」に抜けて本処理ルーチンを終了する。これに対して、文字列に対する罫線の重複が発生したと判定したときには、その罫線に掛かる文字を消去する処理を行なう(ステップS104)。文字列を構成する文字は、プロポーショナルなフォントでは文字毎に幅は相違するものの、文字毎に指定されたフォントおよびポイント数から定まる幅を持つものとして管理されている。他方、罫線は表示される線幅とは無関係に一定の幅をもつものとして扱われている。従って、両者の重なり合いを演算により求めることは容易である。罫線が所定の幅を持つため、縦に1本の罫線を引いただけで、複数の文字との重複を生じ、結果的に複数の文字が消去されることも有り得る。 As shown in FIG. 9, when the processing of the application program enters a ruled line creation mode (step S100), it is first determined whether or not a situation where a ruled line overlaps a determined character has occurred (step S102). If the error has not occurred, the process goes to “END” without performing the following processing, and the processing routine ends. On the other hand, when it is determined that the ruled line overlaps with the character string, a process for erasing the character on the ruled line is performed (step S104). The characters constituting the character string are managed as having a width determined by the font and the number of points specified for each character, although the width differs for each character in a proportional font. On the other hand, ruled lines are treated as having a constant width regardless of the displayed line width. Therefore, it is easy to obtain the overlap between them by calculation. Since the ruled line has a predetermined width, only a single ruled line is drawn vertically, and overlapping with a plurality of characters may occur, with the result that a plurality of characters may be erased.

 重複が生じた文字を消去した後、指定されている線種の罫線をその場所に描き(ステップS106)、この罫線の左の文字列の終端から罫線までに空白があるか否かを判断する(ステップS108)。そして、罫線左の文字列終端から罫線までに空白がある場合には、この空白と略同一の文字幅となるアウトラインフォントによるスペース情報、すなわちスペースの個数やポイント数を自動演算し(ステップS110)、これを罫線の左側に挿入する(ステップS112)。続いて、罫線から罫線右の文字列先頭まで空白があるか否かを判断し(ステップS114)、この空白がある場合には上記同様に空白を埋め尽くすだけのスペース情報を自動演算し(ステップS116)、これをその罫線右側の空白部分に挿入する(ステップS118)。こうして罫線の挿入に因っても従前の文字列の位置が不変となるように出来る限り文字幅が同一となるスペースを挿入するが、上記処理によっても以前として余りの空白がある場合には(ステップS120)、この空白を埋め尽くすために罫線右側の文字列をその余り空白部分に移動させ(ステップS122)、処理を完了する。 After erasing the overlapped character, a ruled line of the designated line type is drawn at that location (step S106), and it is determined whether there is a blank from the end of the character string to the left of the ruled line to the ruled line. (Step S108). If there is a space from the end of the character string on the left side of the ruled line to the ruled line, space information using an outline font having substantially the same character width as the space, that is, the number of spaces and the number of points are automatically calculated (step S110). This is inserted to the left of the ruled line (step S112). Subsequently, it is determined whether or not there is a blank from the ruled line to the beginning of the character string on the right of the ruled line (step S114). If there is this blank, space information for completely filling the blank is calculated automatically as described above (step S114). This is inserted into the blank portion on the right side of the ruled line (S116). In this way, a space having the same character width is inserted as much as possible so that the position of the previous character string does not change due to the insertion of the ruled line. In step S120), the character string on the right side of the ruled line is moved to the remaining blank portion to fill up the blank (step S122), and the process is completed.

 こうした処理により、図8に示すように文字列「あいうえお」の「い」という文字情報に重ねて罫線描画が指令された場合、その重なる文字情報「い」を消去して罫線描画を優先し、その他の文字列「あうえお」の位置が従前の位置と変わらないように罫線の左あるいは右の空白部にスペースが自動挿入されるのである。これにより、アウトラインフォントにより任意の大きさに設定されている文字列に対して一定幅の罫線が重複描画された場合にも、文字列の配置位置は従前とほぼ同一となり、使用者の文書作成イメージが壊されることなく、文字列と罫線との混在したデータファイルを手早く作成することができる。空白を埋めるスペース情報の演算は、所定幅のスペースの個数を演算することでも良いし、スペースのポイント数等を演算することでも良い。 By such processing, when a ruled line drawing is instructed to be superimposed on the character information "i" of the character string "aiueo" as shown in FIG. 8, the overlapping character information "i" is erased and priority is given to ruled line drawing. A space is automatically inserted in the left or right blank portion of the ruled line so that the position of the other character string "Aueo" does not change from the previous position. As a result, even if a ruled line of a fixed width is drawn over a character string set to an arbitrary size by the outline font, the position of the character string becomes almost the same as before, and the user creates a document. A data file in which character strings and ruled lines are mixed can be quickly created without destroying an image. The calculation of the space information for filling the space may be performed by calculating the number of spaces having a predetermined width, or by calculating the number of points of the space.

 次に、本発明の第2の実施例について説明する。第2実施例は、上記のような罫線の挿入が、アプリケーションソフトのデフォルト値である左寄せ以外の行属性、例えば均等配置,右寄せ,中央寄せ等が設定された行においてなされた場合の処理方法である。この場合の処理について、図10(A),(B),(C)の説明図及び図11のフローチャートに従って説明する。 Next, a second embodiment of the present invention will be described. The second embodiment is a processing method in a case where the above-described insertion of a ruled line is performed in a line in which a line attribute other than the left alignment, which is a default value of the application software, for example, a uniform alignment, a right alignment, or a center alignment is set. is there. The processing in this case will be described with reference to the explanatory diagrams of FIGS. 10A, 10B, and 10C and the flowchart of FIG.

 罫線の作成処理が実行されると、まず使用者の指示に従って罫線を作成した後(ステップS200)、この罫線が描かれた行に設定された行属性がデフォルト値、即ち左寄せ属性か否かを判断し(ステップS202)、デフォルト値である場合には「END」に抜けて処理を終了する。行属性がデフォルト値から変更されていた場合、すなわち図10(A)〜(C)に示すように均等配置,右寄せあるいは中央寄せが設定されている場合には、罫線が描かれる行に文字列があるか否かを判断し(ステップS204)、文字列が既に存在する場合にのみ以下の処理を実行する。まず、罫線が描画されたその位置に文字が存在した場合には先の実施例同様(図8,図9参照)その文字を削除し(ステップS206)、罫線により左右に分割された領域のうち左の文字列の行属性を初期設定である左寄せに戻し(ステップS208)、その文字列の最後に改行コードを付加する(ステップS210)。同様に、罫線右側の文字列の文字列の行属性も、初期設定である左寄せに戻し(ステップS212)、その文字列の最後に改行コードを付加し(ステップS214)、この処理を終了する。 When the ruled line creation processing is executed, first, a ruled line is created according to a user's instruction (step S200), and it is determined whether the line attribute set for the line on which the ruled line is drawn is a default value, that is, whether or not the line is left-aligned. Judgment is made (step S202), and if it is the default value, the process ends with "END". If the line attribute has been changed from the default value, that is, if uniform arrangement, right alignment or center alignment is set as shown in FIGS. 10A to 10C, a character string is placed on the line where the ruled line is drawn. It is determined whether or not there is (step S204), and the following processing is executed only when the character string already exists. First, if there is a character at the position where the ruled line is drawn, as in the previous embodiment (see FIGS. 8 and 9), the character is deleted (step S206), and the right and left regions divided by the ruled line are selected. The line attribute of the left character string is returned to the initial setting of left alignment (step S208), and a line feed code is added to the end of the character string (step S210). Similarly, the line attribute of the character string of the character string on the right side of the ruled line is also returned to the initial setting of left alignment (step S212), a line feed code is added to the end of the character string (step S214), and this processing ends.

 罫線が引かれたことで行が分割された場合、その罫線を境界とする左右両側の領域については、行属性である均等配置,右寄せなどが独立して設定可能となっているので、罫線による分割前の設定と分割後の設定との関係が問題となる。本実施例では、予め行属性が設定されている行に罫線が挿入されたときを取り上げており、行の分割による行属性の設定変更について、罫線左右の両領域に対して初期設定(デフォルト)の行属性に自動的に戻すものとしている。なお、この処理は、文字列が罫線によって分割されない場合(例えば右寄せされた文字列の左側隔たった位置に罫線を引いた場合)でも同様である。また、文字の上に罫線が作成された場合には、その重なった文字は、図9のフローチャートにて説明したと処理に準じて取り扱い、その文字を削除する。 If a line is divided due to a ruled line, the left and right sides of the line that are bounded by the ruled line can be set independently, such as line attributes such as uniform arrangement and right alignment. The relationship between the setting before the division and the setting after the division becomes a problem. In the present embodiment, a case where a ruled line is inserted into a line for which a line attribute is set in advance is taken up. With respect to a change in the setting of the line attribute by dividing the line, initial setting is performed for both left and right regions of the ruled line (default). Automatically returns to the row attribute. This processing is the same even when the character string is not divided by the ruled line (for example, when the ruled line is drawn at a position separated from the right-aligned character string by the left side). When a ruled line is created on a character, the overlapping character is handled according to the processing described in the flowchart of FIG. 9 and the character is deleted.

 次に、本発明の第3の実施例について説明する。第3実施例の文字列と罫線の混在処理方法は、タブ,インデント等が設定された行に罫線を引いた場合の処理に関する。タブやインデントは、文字列を所望の位置に配置するための設定であるが、このタブ,インデントについては、実施例では上記図11のフローチャートとは異なる次の処理を行なっている。図12(A),(B),(C)及び図13は、タブが存在するか、インデントがデフォルト値から変更された段落について罫線が描かれた場合の処理の説明図及びそのフローチャートである。なお、デフォルトでは、タブは8文字毎に設定されており、インデントは左マージン位置と同一位置に設定されている。なお、タブやインデントの設定は、全角または半角の標準の文字の大きさを単位として設定するものとしたが、ミリ等の長さの単位やドット数等の単位を用いて設定することも可能である。 Next, a third embodiment of the present invention will be described. The processing method for mixing character strings and ruled lines according to the third embodiment relates to processing when a ruled line is drawn on a line on which tabs, indents, and the like are set. The tabs and indents are settings for arranging a character string at a desired position. In the tabs and indents, the embodiment performs the following processing different from the flowchart of FIG. FIGS. 12A, 12B, 13C, and 13 are explanatory diagrams and flowcharts of a process in the case where a ruled line is drawn for a paragraph where a tab exists or the indent has been changed from the default value. . By default, tabs are set every eight characters, and indents are set at the same position as the left margin position. Note that tabs and indents are set in units of full-width or half-width standard characters, but they can also be set using units such as millimeters or units such as the number of dots. It is.

 図13に示した処理が開始されると、使用者の指示に従って罫線を作成した後(ステップS300)、この罫線が描かれた行にデフォルト値と異なるインデント設定がなされているかを判断し(ステップS302)、デフォルト値から何等かの変更がなされている場合、すなわち図12(B),(C)に示すようにインデント設定されている場合には、インデントによる空白量をスペース情報によって置換する(ステップS304)。続いて、罫線が描かれる文字列にタブが含まれているか否かを判断し(ステップS306)、タブが含まれている場合(図12(A)を参照)には、このタブによる空白量をスペース情報に置換する(ステップS308)。こうしてインデント,タブによる空白部分がすべてスペース情報に置換された後には、罫線左のインデントの設定をデフォルト値に復帰させ(ステップS310)、罫線右のインデントの設定をデフォルト値に復帰させ(ステップS312)、罫線左のタブ設定を標準タブに復帰させ(ステップS314)、罫線右のタブ設定を標準タブに復帰させ(ステップS316)、処理を終了する。なお、ステップS304およびステップS308で置換されるスペース情報は、第1実施例で説明したスペース情報と同じものである。スペースによる置換は、インデントまたはタブによる構成された空白をこれとほぼ同じ幅となる個数のスペースで置き換えるものとしても良いし、スペースのポイント数等を演算して大きな幅のスペースと置き換えを行なうものとしても差し支えない。 When the process shown in FIG. 13 is started, a ruled line is created according to a user's instruction (step S300), and it is determined whether an indent setting different from the default value is made in the line on which the ruled line is drawn (step S300). S302), if there is any change from the default value, that is, if the indent is set as shown in FIGS. 12B and 12C, the blank amount due to the indent is replaced with the space information (S302). Step S304). Subsequently, it is determined whether or not a tab is included in the character string on which the ruled line is drawn (step S306). If the tab is included (see FIG. 12A), the amount of blank space caused by the tab is determined. Is replaced with space information (step S308). After all the blanks caused by the indents and tabs are replaced with the space information, the setting of the left indent of the ruled line is returned to the default value (step S310), and the setting of the indent on the right of the ruled line is returned to the default value (step S312). ), The tab setting on the left side of the ruled line is returned to the standard tab (step S314), the tab setting on the right side of the ruled line is returned to the standard tab (step S316), and the process ends. The space information replaced in step S304 and step S308 is the same as the space information described in the first embodiment. The replacement by spaces may be replaced by blanks composed of indents or tabs with spaces of almost the same width as this, or by replacing the spaces with large spaces by calculating the number of space points, etc. No problem.

 即ち、タブやインデントが設定されている行では、罫線が挿入されて行が分割された場合、第2実施例で説明した右寄せや均等配置の場合のように、文字列の配置を初期設定の配置(実施例では左寄せ)に戻すのではなく、罫線を作成する前の配置とほぼ同一の位置に配置するようにスペースを挿入しているのである。これは、タブ,インデントが、前述した行属性である均等配置,右寄せなどと異なり、段落毎に設定使用されることが一般的であり、罫線が挿入された後においても文字列の配置位置をそのままの状態とすることが使用者の文書作成のイメージに合致すると考えられるからである。また、罫線挿入後の左右の領域の文字列には、タブ,インデントのデフォルト値が自動設定されるため、使用者には文書作成のイメージが残存されたまま、かつ、文書作成に最も多用されるデフォルト値による操作環境が提供され、極めて使い勝手に優れたものとなる。なお、タブ,インデントは1文字とみなし、この上に罫線が描かれる場合には図9にて説明した文字削除処理と同様に実行される。 That is, in a line in which tabs and indents are set, when a ruled line is inserted and the line is divided, the arrangement of character strings is initialized as in the case of right alignment or uniform arrangement described in the second embodiment. Instead of returning to the arrangement (in the embodiment, left alignment), a space is inserted so as to be arranged at substantially the same position as the arrangement before the ruled line is created. This is because tabs and indents are generally set and used for each paragraph, unlike the line attributes described above, such as uniform arrangement and right alignment. Even after a ruled line is inserted, the position of a character string can be changed. This is because it is considered that keeping the state as it is matches the user's image of document creation. In addition, since default values of tabs and indents are automatically set in the character strings in the left and right areas after the insertion of the ruled line, the user is left with the image of document creation and is most frequently used for document creation. An operation environment with default values is provided, which makes it extremely easy to use. Note that tabs and indents are regarded as one character, and when a ruled line is drawn thereon, the processing is executed in the same manner as the character deletion processing described with reference to FIG.

 以上、罫線を追加する際の各種処理について説明したが、本実施例のアプリケーションソフトは、既に描画されている罫線を削除する際にも以下のような優れたインタフェイスを用意している。これらについて以下の実施例で説明する。 Although various processes for adding a ruled line have been described above, the application software of the present embodiment also provides the following excellent interface for deleting a ruled line that has already been drawn. These will be described in the following examples.

 図14(A),(B)及び図15は、アプリケーションソフトのデフォルト値が採用された行、すなわち左寄せ属性で、かつ、タブ,インデントの変更設定がなされていない行に描画されている罫線を削除する際の処理説明図及びフローチャートであり、第4実施例の概要を示す。 FIGS. 14A, 14B, and 15 show ruled lines drawn on a line in which the default value of the application software is adopted, that is, a line with a left-aligned attribute and no tab or indent change setting. It is a processing explanatory diagram and a flowchart at the time of deletion, and shows an outline of the fourth embodiment.

 図15に示した処理が開始されると、罫線を消去する処理(ステップS400)がまずなされる。罫線の消去は罫線上のある点から他の点までを指定して「DEL」キー等を操作することで実行可能である。罫線の消去がなされると、その罫線により分割されていた左右の区間に存在していた文字列の統合(図14(A)を参照)が生じるか否か(ステップS402)、そして少なくとも削除された罫線の右側の編集領域に文字列が存在(図14(B)を参照)するか否かを判断する(ステップS404)。この何れかの条件が成立しない場合には、単純に罫線を削除するためにその消去した罫線に替わってスペース情報を挿入(ステップS406)して処理を終了する。スペース情報の挿入は、第1実施例で説明した手法が用いられる。 When the process shown in FIG. 15 is started, a process of deleting ruled lines (step S400) is first performed. Deletion of a ruled line can be executed by designating from a certain point on the ruled line to another point and operating a “DEL” key or the like. When the ruled line is erased, it is determined whether or not integration of character strings existing in the left and right sections divided by the ruled line (see FIG. 14A) occurs (step S402), and at least the character string is deleted. It is determined whether a character string exists in the editing area on the right side of the ruled line (see FIG. 14B) (step S404). If any of these conditions is not satisfied, space information is inserted in place of the erased ruled line to simply delete the ruled line (step S406), and the process ends. For the insertion of the space information, the method described in the first embodiment is used.

 他方、ステップS402とS404の両条件が成立する場合には、消去した罫線の左側に存在する文字列の終端から右側に存在する文字列の先頭までの空白量と略同一の文字幅となるアウトラインフォントによるスペース情報、すなわちスペースの個数やポイント数を自動演算し(ステップS408)、これをその空白部にに挿入する(ステップS410)。そして、こうして罫線の消去に因っても従前の文字列の位置が不変となるように出来る限り文字幅が同一となるスペース情報を挿入するが、上記処理によっても以前として余りの空白がある場合には(ステップS412)、この空白を埋め尽くすために右側の編集領域の文字列をその余り空白部分に移動させ(ステップS414)、処理を完了する。 On the other hand, if both the conditions of steps S402 and S404 are satisfied, the outline having a character width substantially equal to the blank amount from the end of the character string existing on the left side of the erased ruled line to the head of the character string existing on the right side is deleted. The space information based on the font, that is, the number of spaces and the number of points are automatically calculated (step S408), and inserted into the blank portion (step S410). Then, space information with the same character width is inserted as much as possible so that the position of the previous character string remains unchanged even when the ruled line is erased. (Step S412), the character string in the right editing area is moved to the remaining blank portion to fill up the blank (Step S414), and the process is completed.

 第4実施例の罫線消去処理によれば、罫線が既に存在した行においてその罫線が消去されるても、消去された罫線によりそれまで左右の編集領域に分割されていたそれぞれの文字列の配置位置はほぼ同一に保たれる。従って、作成中の文書のイメージは維持され、文書作成の効率を低下させることがない。しかも、この文字列の配置位置をほぼ同一に維持するためのスペース情報が自動演算されるため、文字列にアウトラインフォントを使用している本実施例のOSにおいても高い精度で文書イメージを維持することが可能となる。 According to the ruled line erasing process of the fourth embodiment, even if the ruled line is erased in a line where the ruled line already exists, the arrangement of the respective character strings previously divided into the left and right editing areas by the erased ruled line is determined. The position is kept almost the same. Therefore, the image of the document being created is maintained, and the efficiency of document creation is not reduced. In addition, since the space information for maintaining the arrangement position of the character string is substantially the same, the document image is maintained with high accuracy even in the OS of this embodiment using the outline font for the character string. It becomes possible.

 次に、第5実施例として、罫線により左右に分割された編集領域の何れかにアプリケーションソフトの初期設定である左寄せ以外の行属性の設定、例えば均等配置,右寄せ,中央寄せがなされている場合の処理について、図16の説明図及び図17のフローチャートに従い説明する。 Next, as a fifth embodiment, a case where line attributes other than the left alignment, which is the initial setting of the application software, such as uniform arrangement, right alignment, and center alignment are set in any of the editing areas divided into right and left by ruled lines. Will be described with reference to the explanatory diagram of FIG. 16 and the flowchart of FIG.

 この処理が開始されると、使用者の指示により、指定された罫線を消去した後(ステップS500)、罫線の消去により、それまで罫線により分割されていた左右の編集領域の統合が発生するか否かを判断し(ステップS502)、領域の統合が発生しない場合には直ちに罫線消去処理(ステップS504)を実行して本プログラムを終了する。一方、領域の統合が発生するとステップS502にて判定された場合には、統合される左側の編集領域の行属性が初期設定(実施例では左寄せ属性)以外の設定か否かを判断し(ステップS506)、初期設定から何等かの変更がなされている場合、すなわち図16に例示するように均等配置などが設定されている場合にはその設定をデフォルト値である左寄せに復帰(ステップS508)させる(図16に示す中段の状態参照)。そして、統合される右側の編集領域についても、属性の設定がデフォルトの左寄せか否かを判断し(ステップS510)、左寄せでない場合のみその段落設定値をデフォルト値の左寄せ属性に設定し(ステップS512)、その後に罫線消去処理(ステップS504)を実行して(図16に示す下段の状態参照)、この処理を終了する。 When this process is started, the designated ruled line is erased according to the user's instruction (step S500), and then the ruled line is erased so that the left and right editing areas divided by the ruled line are integrated. It is determined whether or not the area is unified (step S502). If the integration of the areas does not occur, the ruled line erasing process (step S504) is immediately executed, and the program ends. On the other hand, if it is determined in step S502 that area integration has occurred, it is determined whether the line attribute of the left editing area to be integrated is a setting other than the initial setting (in the embodiment, the left alignment attribute) (step S502). S506) If there is any change from the initial setting, that is, if the uniform arrangement is set as illustrated in FIG. 16, the setting is returned to the default left alignment (step S508). (See the middle state shown in FIG. 16). Then, it is determined whether the attribute setting of the right editing area to be integrated is the default left alignment (step S510), and only when the attribute setting is not left alignment, the paragraph setting value is set to the default left alignment attribute (step S512). Then, a ruled line erasing process (step S504) is executed (see the lower state shown in FIG. 16), and this process ends.

 この罫線消去処理によれば、罫線を消去したことで統合されて1つの編集領域となる行に対し、文書作成に際して最も使用頻度の高い初期設定である左寄せ属性が自動的に設定される。従って、罫線消去により新たに発生した編集領域での編集活動を円滑に行なうことができる。しかも、左右の編集領域に存在した文字列を統合する際には、罫線により分割されていた状態で存在した文字列間の隔たりと等しい距離となるようスペース情報を演算して挿入する。従って、図16の下段に示すように、左右に分割されていた文字列の状態を保ったまま、新たな編集領域とするので、領域統合後も従前どおり位置関係にある文字列をベースとして文書作成を実行することができる。 According to this ruled line erasing process, the left-aligned attribute, which is the most frequently used initial setting when creating a document, is automatically set for the lines that are integrated by deleting the ruled lines and become one editing area. Therefore, the editing activity in the editing area newly generated by the ruled line erasure can be smoothly performed. In addition, when integrating the character strings existing in the left and right editing areas, space information is calculated and inserted so that the distance becomes equal to the distance between the character strings existing in the state divided by the ruled line. Therefore, as shown in the lower part of FIG. 16, a new editing area is created while maintaining the state of the character string that has been divided into right and left. Creation can be performed.

 なお、タブ,インデントについては、前記罫線の挿入と同様に、上記図16,図17に示した実施例とは異なる処理が用意されている。この処理を第6実施例として説明する。図18(A),(B)及び図19は、タブが存在するかインデントがデフォルト値から変更された段落についての罫線消去処理の説明図及びフローチャートである。 For tabs and indents, a process different from that of the embodiment shown in FIGS. 16 and 17 is prepared as in the case of inserting the ruled line. This process will be described as a sixth embodiment. FIGS. 18A, 18B, and 19 are an explanatory diagram and a flowchart of a ruled line erasing process for a paragraph in which a tab is present or an indent is changed from a default value.

 この場合、罫線消去の処理が指示されると、使用者の指示に従って罫線を消去した後(ステップS600)、その罫線消去により領域の統合が発生するか否かを判断し(ステップS602)、領域統合が発生しない場合にはこの処理を終了する。一方、ステップS602の判断処理により領域統合が発生すると判定された場合には、統合される罫線左側領域の文字列にタブデータが存在するか否かを判断し(ステップS604)、タブデータが存在する場合には、該タブデータを、そのタブデータにより表示上形成される空白の幅と略同一となるスペース情報にて置換する(ステップS606)。次いで、統合される罫線右側領域についても同様にタブデータの有無について判断する処理を行ない(ステップS608)、更にタブデータが存在する場合、スペース情報へ置換する処理(ステップS610)を実行する(図18(A)を参照)。 In this case, when a ruled line erasing process is instructed, the ruled line is erased according to the user's instruction (step S600), and it is determined whether or not area integration is caused by the ruled line erasing (step S602). If no integration occurs, this process ends. On the other hand, if it is determined in step S602 that area integration will occur, it is determined whether tab data exists in the character string in the left area of the ruled line to be integrated (step S604). If so, the tab data is replaced with space information that is substantially the same as the width of the blank formed on the display by the tab data (step S606). Next, a process for similarly judging the presence / absence of tab data is performed for the right side area of the ruled line to be integrated (step S608). If tab data exists, a process of replacing the tab data with space information (step S610) is executed (FIG. 18 (A)).

 統合される左右領域についてのタブデータの置換処理が完了すると、続いてインデントを設定する処理に移行する。すなわち、統合される左側領域にデフォルト値と異なるインデント設定がなされているか否かを判断し(ステップS612)、何等かのインデント設定がなされている場合、すなわち図18(B)に示すようにインデント設定されている場合には、インデントによる空白量をスペース情報によって置換する処理を行なう(ステップS614)。統合される右側領域についても同様にデフォルト値と異なるインデントの設定がなされているか否かを判断し(ステップS616)、インデントの設定がある場合にはこれに相当する空白量をスペース情報により置換する処理を行なう(ステップS618)。この様子を、図18(B)に示した。その後、先に指示された罫線を消去する処理(ステップS620)を実行し、統合された編集領域について、タブ,インデントの設定をデフォルト値に復帰させ(ステップS622)、「END」に抜けて処理を終了する。 (6) When the tab data replacement process for the left and right areas to be integrated is completed, the process proceeds to a process of setting an indent. That is, it is determined whether or not an indent setting different from the default value has been made in the left area to be integrated (step S612). If any indent setting has been made, that is, as shown in FIG. If it is set, a process of replacing the blank amount due to the indent with the space information is performed (step S614). Similarly, it is determined whether an indent different from the default value is set for the right area to be integrated (step S616). If there is an indent setting, the corresponding blank amount is replaced with space information. The processing is performed (step S618). This state is shown in FIG. Thereafter, the process of deleting the previously instructed ruled line is executed (step S620), and the tab and indent settings of the integrated editing area are returned to the default values (step S622), and the process exits to "END". To end.

 以上説明した第6実施例の処理により、段落毎に設定使用されるタブ,インデントについては、左右編集領域の統合前の文字列配置位置を維持しつつ、新たな統合編集領域を生成することができる。すなわち、罫線を消去した行の変更が同一段落の他の文字列配置位置に何等の影響を及ぼさないように処理し、使用者の段落イメージに合致した形式にて罫線を消去する処理を行なうのである。しかも、統合された編集領域では、タブ,インデントの設定はデフォルト値に自動復帰されるため、それ以後の文書作成作業が円滑となるのである。 With the processing of the sixth embodiment described above, for the tabs and indents set and used for each paragraph, it is possible to generate a new integrated editing area while maintaining the character string arrangement positions of the left and right editing areas before integration. it can. That is, processing is performed so that the change of the line from which the ruled line is deleted does not have any effect on other character string arrangement positions of the same paragraph, and the process of deleting the ruled line in a format matching the user's paragraph image is performed. is there. In addition, in the integrated editing area, the tab and indent settings are automatically returned to the default values, so that the subsequent document creation work becomes smooth.

 以上いくつかの実施例により説明したように、実施例の文字列と罫線の混在処理方法およびその装置によれば、文字列の配置状態をデフォルト値の左寄せから、右寄せ、中央寄せ設定している場合、または段落設定をデフォルトのインデント設定から変更している場合あるいは段落にタブが設定されている場合についても罫線の挿入,削除を使用者の感覚に合致した形で行なうことができる。また、編集領域の統廃合に応じてその編集領域の行配置や段落設定などを適宜デフォルト値に復帰させるため、罫線の挿入,削除処理を行なった後の文書作成が極めて簡単となる。 As described in the above several embodiments, according to the method and apparatus for mixing character strings and ruled lines according to the embodiments, the arrangement state of character strings is set from left-justified, right-justified, and center-aligned default values. Also, in the case where the paragraph setting is changed from the default indent setting, or in the case where a tab is set in the paragraph, insertion and deletion of the ruled line can be performed in a manner that matches the user's sense. In addition, since the line arrangement and the paragraph setting of the editing area are appropriately restored to the default values in accordance with the consolidation of the editing area, the document creation after performing the process of inserting and deleting the ruled line becomes extremely simple.

 また、文字情報の削除や上記各種設定の変更に伴って空白部が発生するときには、その空白部を埋めるスペース情報が自動演算、自動挿入されるため、文書全体のイメージを保ったままで罫線の挿入,削除を行なうことができる。これによって使用者は、罫線操作前の文書イメージを描き続けたまま、操作後の文書編集ができるのである。 In addition, when a blank part occurs due to deletion of character information or change of the above various settings, the space information filling the blank part is automatically calculated and automatically inserted, so that the ruled line can be inserted while keeping the image of the entire document. , Can be deleted. This allows the user to edit the document after the operation while continuing to draw the document image before the ruled line operation.

 更に、罫線を付加する位置についてもマウス42を有効に利用することで、編集部418の任意の位置を高い分解能で指示することができ、かつ、縦横の罫線の配置位置が一操作で完了する。 Further, by effectively using the mouse 42 also at the position where the ruled line is added, an arbitrary position of the editing unit 418 can be specified at a high resolution, and the arrangement position of the vertical and horizontal ruled lines can be completed by one operation. .

 以上、罫線の挿入と消去に関する各種処理方法について説明したが、本実施例のアプリケーションソフトはこれ以外にも罫線により区画される編集領域の管理及び罫線作成に関して優れたユーザ・インタフェイスを用意している。次に、これらのユーザ・インタフェイスについて詳述する。 The various processing methods relating to insertion and deletion of ruled lines have been described above. However, the application software of this embodiment also provides a user interface excellent in management of an editing area defined by ruled lines and creation of ruled lines. I have. Next, these user interfaces will be described in detail.

 図20(A),(B),(C)及び図21は、編集領域の管理に関する処理の説明図及びその部分のプログラムのフローチャートであり、第7実施例の概要を示すものである。なお、図20は、矩形の罫線KLにより区画された編集領域に文字列「abc…xyz」が予め入力されており(図20(A))、この文字列の途中に「123」という文字列を挿入し(20図(B))、その追加した文字列から文字「3」のみを消去(図20(C))するという一連の文書編集処理を施した過程を例として、編集部418の表示状態の変化を示している。また、この処理プログラムは、罫線KLにより区画された編集領域にカーソルが配置され、その編集領域内においてカーソルのある位置の文字列が編集される際に実行される。すなわち、この処理は、文字列の編集作業と同時かつ並行的に処理されるものである。文字列の編集作業とは、文字列に対して情報の追加,挿入,削除,フォントやポイント数の変更などを行ない、その作業に応じた画面描画や各種管理情報の変更を実行する処理である。 FIGS. 20 (A), (B), (C) and FIG. 21 are explanatory diagrams of processing related to management of an editing area and a flowchart of a program of the part, and show the outline of the seventh embodiment. In FIG. 20, a character string "abc... Xyz" is input in advance in an editing area defined by a rectangular ruled line KL (FIG. 20A), and a character string "123" is inserted in the middle of this character string. Is inserted (FIG. 20 (B)), and only a character “3” is deleted from the added character string (FIG. 20 (C)). This shows a change in the display state. The processing program is executed when a cursor is placed in an editing area defined by the ruled line KL and a character string at a position where the cursor is located in the editing area is edited. That is, this processing is performed simultaneously and in parallel with the character string editing operation. The character string editing operation is a process of adding, inserting, and deleting information to the character string, changing the font and the number of points, and performing screen drawing and various management information changes in accordance with the operation. .

 使用者による文字列の編集作業が開始されると、まず初めにその編集領域の縦方向の大きさ(初期値)を所定の記憶領域に記憶する(ステップS700)。その後、使用者による文字列の編集がなされると、編集後の文字列の占有面積を算出し(ステップS702)、この新たな占有面積とステップS700にて記憶した編集領域との大小関係を判断する(ステップS704)。記憶した編集領域の当初の大きさ(初期値)よりも算出された占有面積が大きい場合には、編集されつつある文字列が収まる編集領域の大きさを演算し(ステップS706)、編集領域の下辺を区画している罫線の位置を下方向に延長する(ステップS708)。実際には、下辺の罫線を消去して新たな罫線を描画する処理を実行するのである。即ち、図20(A)の状態から同図(B)の状態へ、罫線KLを変更する。もとより、占有面積が編集領域の初期値より大きいのであれば、編集によって占有面積が減った場合にも、矩形の罫線KLの書き直しがなされる。一方、編集に伴って算出した占有面積がステップS700にて記憶した編集領域の初期値より小さいとステップS704にて判断された場合には、本処理を終了し、罫線描画をそのままの状態、すなわち当該編集領域のデフォルトの大きさに維持する(図20(B)の状態から同図(C)の状態への変更)。 When the user starts editing a character string, first, the vertical size (initial value) of the editing area is stored in a predetermined storage area (step S700). Thereafter, when the character string is edited by the user, the occupied area of the edited character string is calculated (step S702), and the magnitude relationship between the new occupied area and the editing area stored in step S700 is determined. (Step S704). If the calculated occupied area is larger than the initial size (initial value) of the stored editing area, the size of the editing area in which the character string being edited fits is calculated (step S706), and the size of the editing area is calculated. The position of the ruled line dividing the lower side is extended downward (step S708). Actually, a process of erasing the lower ruled line and drawing a new ruled line is executed. That is, the ruled line KL is changed from the state shown in FIG. 20A to the state shown in FIG. If the occupied area is larger than the initial value of the editing area, the rectangular ruled line KL is rewritten even if the occupied area is reduced by the editing. On the other hand, if it is determined in step S704 that the occupied area calculated in association with the editing is smaller than the initial value of the editing area stored in step S700, the process ends, and the ruled line drawing is left as it is, ie, The edit area is maintained at the default size (change from the state in FIG. 20B to the state in FIG. 20C).

 この様な編集領域の処理により、罫線により区画された編集領域内の文字列の情報量が増加した場合、罫線を自動延長して文字列が編集領域内に収まるように処理できることは勿論である。そして更に、この様な自動延長機能に加え、自動延長した罫線による編集領域に対して文字列の情報量が小さいものとなったとき、自動延長した領域に限って罫線を縮小する。換言するならば、罫線作成時の編集領域の大きさを基準として、その編集領域に記入される文字列の占有面積に応じて罫線による領域の大きさは自動伸縮するのであり、文書編集の作業効率が大幅に向上する。例えば、大量の文字列を編集領域に入力した場合、編集領域を区画する罫線は更新されてその文字列を収納するに十分な大きさに拡大され、しかも入力されたこの文字列が削除されたりした場合には、罫線は初期値の大きさまで漸次縮小する。 When the information amount of the character string in the editing area defined by the ruled line increases by such processing of the editing area, it is needless to say that the ruled line can be automatically extended so that the character string can be accommodated in the editing area. . Further, in addition to such an automatic extension function, when the information amount of the character string becomes smaller than the editing area by the automatically extended ruled line, the ruled line is reduced only in the automatically extended region. In other words, based on the size of the editing area when creating the ruled line, the size of the area by the ruled line automatically expands and contracts according to the occupied area of the character string entered in the editing area. Efficiency is greatly improved. For example, if a large number of character strings are entered in the edit area, the ruled lines that divide the edit area are updated to be enlarged to a size sufficient to accommodate the character strings, and that the input character strings are deleted. In this case, the ruled line is gradually reduced to the size of the initial value.

 次に、第8実施例について説明する。第8実施例では、上述した罫線の生成、削除を伴う処理において、罫線を描画する処理自身を取り上げ、マウス42を利用して簡単に縦横の罫線描画を行なうことができるユーザインタフェイスについて説明する。図22は、本実施例のアプリケーションソフトで採用しているマウス42を利用した罫線の描画の操作手順に則し、罫線の描画が完成するまでのディスプレイ40の表示の状態を時系列的に示した説明図である。各図に添えられている文字は、その図の状態となるためになされる操作などについて説明するものである。図22(A)に示するように、罫線描画に際して本ソフトにより処理は次のように行なわれる。 Next, an eighth embodiment will be described. In the eighth embodiment, in the processing involving the generation and deletion of the ruled line described above, the process of drawing the ruled line itself will be taken up, and a user interface that can easily perform vertical and horizontal ruled line drawing using the mouse 42 will be described. . FIG. 22 shows the display state of the display 40 in time series until the drawing of the ruled line is completed in accordance with the operation procedure of drawing the ruled line using the mouse 42 employed in the application software of this embodiment. FIG. The characters attached to each figure are used to describe operations and the like performed to achieve the state of the figure. As shown in FIG. 22A, the processing is performed by the software at the time of drawing a ruled line as follows.

 使用者は、矩形の罫線を作成する際、作成しようとする罫線の左上隅の位置P1でマウス42の左ボタン422を押圧する。位置P1を指定すると、その位置が第n罫線ブロックの開始位置として記憶される。その後、マウス42が移動されるとこれに応じてポインタPが移動し、ポインタPの移動位置を矩形罫線の右下隅とする矩形RSが、ディスプレイ40に表示される。この状態での罫線の表示は、ポインタPの移動に応じて自由に動くので、ラバーバンド形式による表示と呼んでいる。そして、使用者がディスプレイ40を見ながらマウス42を移動させ、所望の位置P2でキーボード46の所定キー(例えば「TAB」キー)を操作すると、その位置P2が検出され、この位置を分割点として記憶する処理がなされる。分割点が記憶されると、開始位置P1を左上隅とし当該分割点を交点とする縦横の分割罫線RLを、矩形の罫線と同様の表示の態様で表示する(図22(B))。従って、以上の処理を繰り返すならば、図22(C)に示すように、分割点の個数(P2,P3・・・)に応じた多数の縦横の罫線が表示されることになる。その後、使用者がキーボード46の所定キーに割り付けられた終了キー(例えば「RETURN」キー)を操作すると、これが検出され、罫線は、ラバーバンド形式の描画状態から、所定の線種の罫線としての描画状態に変更され、確定された罫線が表示される。また、内部的には、罫線ブロックの情報が確定される(図22(D))。上記例では、「TAB」の操作により分割点を記憶するものとしたが、分割点の記憶は、「TAB」キー以外のキーに割り当てることはもとより、他の種々の操作によっても指定可能である。例えば、マウスの機能が割り当てられていないボタンの操作、タブレットが存在する場合にはタブレット上の所定の位置での指示、ライトペンによる指定等であっても差し支えない。 When the user creates a rectangular ruled line, the user presses the left button 422 of the mouse 42 at the position P1 of the upper left corner of the ruled line to be created. When the position P1 is designated, the position is stored as the start position of the n-th ruled line block. Thereafter, when the mouse 42 is moved, the pointer P moves in response thereto, and a rectangle RS having the moved position of the pointer P as the lower right corner of the rectangular ruled line is displayed on the display 40. The display of the ruled line in this state moves freely according to the movement of the pointer P, and is called a display in a rubber band format. Then, when the user moves the mouse 42 while looking at the display 40 and operates a predetermined key (for example, a “TAB” key) of the keyboard 46 at a desired position P2, the position P2 is detected, and this position is set as a division point. Processing for storing is performed. When the division points are stored, the vertical and horizontal division rule lines RL having the start position P1 as the upper left corner and the division points as intersections are displayed in the same display mode as the rectangular rule lines (FIG. 22B). Therefore, if the above processing is repeated, a large number of vertical and horizontal ruled lines corresponding to the number of division points (P2, P3...) Are displayed as shown in FIG. Thereafter, when the user operates an end key (for example, a “RETURN” key) assigned to a predetermined key of the keyboard 46, this is detected, and the ruled line is converted from a drawing state in a rubber band format to a ruled line of a predetermined line type. The state is changed to the drawing state, and the determined ruled line is displayed. Also, internally, the information of the ruled line block is determined (FIG. 22D). In the above example, the division point is stored by the operation of "TAB". However, the storage of the division point can be designated by not only the key other than the "TAB" key but also various other operations. . For example, an operation of a button to which no mouse function is assigned, an instruction at a predetermined position on the tablet when a tablet is present, or a specification with a light pen may be used.

 第1実施例において説明した図1の描画状態は、この操作方法により罫線の開始位置を指定してラバーバンド形式の矩形罫線をドラッグしている状態を示したものである。この状態でキーボード46に割り付けられた終了キーを操作すると、図23に示すように所定の線種として選択されている罫線により描画が完了し、かつ、前記した各種の文字列と罫線の混在処理方法に基づくデータ処理が実行されるのである。もとより、矩形の罫線の描画の途中で分割点が指定されていれば、その分割点を通る縦横の罫線も表示される。 The drawing state of FIG. 1 described in the first embodiment shows a state in which the starting position of the ruled line is designated by this operation method and the rectangular ruled line in the rubber band format is dragged. When the end key assigned to the keyboard 46 is operated in this state, the drawing is completed by the ruled line selected as the predetermined line type as shown in FIG. 23, and the various character strings and the ruled line are mixed. Data processing based on the method is performed. If a dividing point is specified during the drawing of a rectangular ruled line, vertical and horizontal ruled lines passing through the dividing point are also displayed.

 一方、図22(C)に示したように、ラバーバンド形式で罫線が表示されており、まだ確定していない状態において、既に指定した分割点を取り消したい場合が有り得る。図22(E),(F)は、分割点を取り消す操作方法の一つを示すものである。ある分割点Pnを指定した後で、マウス42を操作してポインタPを、この分割点よりも矩形の罫線の開始位置P1側に持ってきた場合には、先に指定した分割点Pnを消去するものとし、この分割点に関する情報もメモリ上から消去する。この分割点を交点とする縦横の罫線も同様に消去される。複数の分割点がある場合、図22(E)及び(F)に示しているように、ポインタPがその内側(開始位置側)に移動した分割点P3は消去されるが、ポインタPがその外側に位置している分割点P2は消去されない(図22(E))。そしてこの状態から更にマウス42をドラッグして分割キーを操作すると、図22(F)に示すように、新たな位置を分割点P3として新たな縦横の罫線の表示がなされるのである。 On the other hand, as shown in FIG. 22 (C), there is a case in which ruled lines are displayed in a rubber band format, and it is desired to cancel a designated dividing point in a state where the ruled line has not yet been determined. FIGS. 22E and 22F show one of the operation methods for canceling the division point. When the mouse 42 is operated to move the pointer P to the start position P1 side of the rectangular ruled line after specifying a certain division point Pn, the previously specified division point Pn is deleted. The information on the division point is also deleted from the memory. Vertical and horizontal ruled lines having the division points as intersections are similarly deleted. When there are a plurality of division points, as shown in FIGS. 22 (E) and (F), the division point P3 at which the pointer P has moved inward (on the start position side) is erased, but the pointer P becomes The division point P2 located outside is not deleted (FIG. 22E). When the mouse is further dragged from this state and the division key is operated, a new vertical and horizontal ruled line is displayed with the new position as the division point P3 as shown in FIG. 22 (F).

 この様な罫線作成のユーザインタフェイスによれば、従来の罫線作成の手順のように縦方向の罫線と横方向の罫線とを別個に位置指定する手間が省略され、縦横の罫線を一操作で簡単に作成することができる。また、マウス42の操作により簡単に縦横の罫線の指定を取り消すことができる。なお、図22(X),(Y)に示したように、ポインタPを戻すだけで分割点を取り消す構成に代えて、ポインタPを分割点の上において所定の操作(例えば分割キーやマウスボタンの再度の操作)を行なうことで分割点を取り消す構成とすることも差し支えない。この場合には、複数個の分割点うち開始位置P1に近い側のものを他の分割点を取り消すことなく取り消すという操作が可能となる。なお、本実施例では、ポインタPの移動にはマウスやトラックボール等のポインティングデバイスを用いるものとして説明したが、カーソルキー等の操作によりポインタを移動するものとしても差し支えない。 According to the user interface for creating such a ruled line, the trouble of separately specifying the vertical ruled line and the horizontal ruled line as in the conventional ruled line creating procedure is omitted, and the vertical and horizontal ruled lines can be operated by one operation. It can be easily created. Further, the designation of the vertical and horizontal ruled lines can be easily canceled by operating the mouse 42. As shown in FIGS. 22 (X) and (Y), instead of the configuration in which the pointer P is simply returned to cancel the division point, the pointer P is moved over the division point by a predetermined operation (for example, a division key or a mouse button). The above operation may be performed again to cancel the division point. In this case, it is possible to perform an operation of canceling one of the plurality of division points closer to the start position P1 without canceling the other division points. In the present embodiment, the pointer P is moved using a pointing device such as a mouse or a trackball. However, the pointer P may be moved by operating a cursor key or the like.

 以上本発明の実施例について説明したが、本発明はこうした実施例に何等限定されるものではなく、その要旨を逸脱しない種々なる態用により具現化されることは勿論である。 Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and may be embodied in various forms without departing from the gist thereof.

 以上説明したように本発明の文字列と罫線の混在処理方法およびその装置は、文字及び罫線が混在したデータファイルを作成する使用者にとって最も快適なインタフェイスを提供し、大きさを自由に設定できる文字列と罫線の混在への適切な対処、カーソルキー操作やポインティングデバイスを有効に利用した罫線の配置指示などを可能とする。 As described above, the character string and ruled line mixed processing method and apparatus of the present invention provide the most comfortable interface for a user who creates a data file in which characters and ruled lines are mixed, and freely set the size. It is possible to appropriately cope with possible mixing of a character string and a ruled line, to perform a cursor key operation, and to instruct a layout of a ruled line by effectively using a pointing device.

 特に請求項1の処理方法および請求項16記載の処理装置によれば、罫線と文字列とが重複した場合には、文字を消去して罫線を優先して表示するが、文字を消去した際、消去した文字と略同一の幅を有するスペースを演算し、重複の発生した文字に代えてこのスペースを挿入するので、文字の消去にも関わらず、元の文字列は概ね同一の位置に表示されるという効果を奏する。 In particular, according to the processing method of claim 1 and the processing device of claim 16, when the ruled line and the character string overlap, the character is erased and the ruled line is displayed with priority. Calculates a space that has almost the same width as the erased character, and inserts this space in place of the duplicated character, so that the original character string is displayed in almost the same position despite the deletion of the character This has the effect of being performed.

 また、請求項4の処理方法および請求項17記載の処理装置によれば、罫線が挿入された行では、罫線より分割された領域毎に文字列の配置は初期の配置状態に復帰するので、使用者にとって素直なインタフェイスが実現される。 According to the processing method of the fourth aspect and the processing apparatus of the seventeenth aspect, in the line where the ruled line is inserted, the arrangement of the character strings is returned to the initial arrangement state for each area divided by the ruled line. A user-friendly interface is realized.

 請求項6の処理方法および請求項18記載の処理装置によれば、所定の配置状態が設定されている行に罫線が挿入されると、配置状態の設定を初期状態に戻すと共に、既に配置された文字列についてはその位置を保持するようにスペースを演算して挿入するので、配置状態の設定は初期化されるが文字列の配置はほとんど変わらず、使用者が違和感を感じることがないという効果が得られる。 According to the processing method of the sixth aspect and the processing apparatus of the eighteenth aspect, when a ruled line is inserted into a row in which a predetermined arrangement state is set, the setting of the arrangement state is returned to the initial state, and the arrangement state is already set. The space is calculated and inserted to maintain the position of the character string, so the setting of the arrangement state is initialized, but the arrangement of the character string hardly changes, and the user does not feel uncomfortable The effect is obtained.

 請求項8の処理方法および請求項19の処理装置によれば、所定の配置状態が設定された行に存在した罫線が削除されたとき、所定の配置状態とされた文字列を、罫線により分割されていた区間毎に初期位置もしくはその近傍位置に復帰させるので、罫線により分割された区間で、例えば右寄せされていた文字列は、罫線が削除されると、初期状態(例えば左寄せの状態)に復帰される。罫線が削除されて分割されていた区間がなくなった場合、使用者にとって分かりやすいインタフェイスが実現される。 According to the processing method of the eighth aspect and the processing apparatus of the nineteenth aspect, when a ruled line existing in a line in which a predetermined arrangement state is set is deleted, a character string in the predetermined arrangement state is divided by the ruled line. Each section that has been set is returned to the initial position or a position close to the initial position. For example, in a section divided by a ruled line, a character string that has been right-aligned will be returned to an initial state (for example, left-aligned state) when the ruled line is deleted. Is restored. When the ruled line is deleted and the divided section disappears, an interface that is easy for the user to understand is realized.

 請求項10の処理方法および請求項20の処理装置によれば、所定の配置状態が設定された行に存在した罫線が削除されると、罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、その配置状態での配置位置もしくはその近傍となるように、所定幅のスペースを演算し挿入するので、罫線を削除しても、既に所定の配置状態に配置された文字列は、ほぼ元の位置に配置され、使用者にとって違和感のないインタフェイスが実現されるという効果が得られる。 According to the processing method of the tenth aspect and the processing device of the twentieth aspect, when a ruled line existing in a line in which a predetermined arrangement state is set is deleted, the arrangement of each character string in a section divided by the ruled line is performed. Since a space of a predetermined width is calculated and inserted so that the position is at or near the arrangement position in the arrangement state, even if the ruled line is deleted, the character string already arranged in the predetermined arrangement state is almost completely removed. An effect is obtained that the interface is arranged at the original position and an interface that is comfortable for the user is realized.

 請求項12の文字列と罫線の混在処理方法および請求項21の処理装置によれば、罫線により区画された領域内の文字列に対する編集の結果に応じて、領域を区画する罫線の大きさを変更して区画された領域を延長または縮小するが、領域の縮小に際しては、領域の初期の大きさを限度とし、それ以下への縮小は行なわない。従って、罫線により区画された領域は、内部の文字列の編集に応じて延長・縮小し、かつその初期の大きさ以下にはならないので、領域の変形が非所望なものにはならないという効果を奏する。 According to the method for processing mixed character strings and ruled lines according to the twelfth aspect and the processing device according to the twenty-first aspect, the size of the ruled lines defining the area is determined according to the result of editing the character strings in the area defined by the ruled lines. The area partitioned by the change is extended or reduced, but when the area is reduced, the initial size of the area is limited, and the area is not reduced. Therefore, the area defined by the ruled lines is extended / reduced in accordance with the editing of the internal character string, and does not become smaller than its initial size. Therefore, the effect that the deformation of the area does not become undesired can be obtained. Play.

 請求項13文字列と罫線の混在処理方法および請求項22の処理装置によれば、ポインティングデバイスを用いて第1の位置を開始点とし第2の位置を第1の位置に対向する隅部とする矩形の罫線を引く途中で所定の操作がなされたとき、この点を通る縦横の罫線を発生させ、矩形の罫線を分割するので、極めて容易に分割罫線を有する矩形の罫線を引くことができるという効果を奏する。 According to a thirteenth aspect of the present invention, there is provided a method for processing a mixture of a character string and a ruled line and a processing device according to the twenty-second aspect, wherein the first position is used as a start point and the second position is defined as a corner portion facing the first position using a pointing device. When a predetermined operation is performed in the middle of drawing a rectangular ruled line, vertical and horizontal ruled lines passing through this point are generated and the rectangular ruled line is divided, so that a rectangular ruled line having a divided ruled line can be drawn very easily. This has the effect.

本発明の一実施例である文字列と罫線の混在処理方法を実現するアプリケーションソフトウェアが採用する基本ウインドウ画面の説明図である。FIG. 9 is an explanatory diagram of a basic window screen adopted by application software for implementing a method of processing a mixed character string and ruled line according to an embodiment of the present invention. 実施例の文字列と罫線の混在処理装置を実現するコンピュータの概略ブロック図である。It is a schematic block diagram of a computer which realizes a mixed processing device of a character string and a ruled line of an embodiment. アプリケーションソフト内部のデータ構造を説明するための説明図である。FIG. 4 is an explanatory diagram for describing a data structure inside application software. 罫線データ構造のイメージを示す説明図である。FIG. 4 is an explanatory diagram illustrating an image of a ruled line data structure. 罫線のデータ構造の説明図である。FIG. 4 is an explanatory diagram of a data structure of a ruled line. 編集領域のデータ構造の説明図である。FIG. 4 is an explanatory diagram of a data structure of an editing area. 文字列情報のデータ構造の説明図である。FIG. 4 is an explanatory diagram of a data structure of character string information. 文字列に重ねて罫線を引く様子を示す説明図である。FIG. 9 is an explanatory diagram showing a state where a ruled line is drawn over a character string. 罫線を文字列に重ねて引いた場合の処理を示すフローチャートである。It is a flowchart which shows the process at the time of drawing a ruled line over a character string. 行属性が設定される文字列に罫線を挿入する様子を示す説明図である。FIG. 11 is an explanatory diagram illustrating a state where a ruled line is inserted into a character string to which a line attribute is set. 行属性が設定される文字列に罫線を挿入する処理を示すフローチャートである。11 is a flowchart illustrating a process of inserting a ruled line into a character string to which a line attribute is set. 段落設定がなされている文字列に罫線を挿入する様子を示す説明図である。FIG. 11 is an explanatory diagram illustrating a state where a ruled line is inserted into a character string for which a paragraph is set. 段落設定がなされている文字列に罫線を挿入する処理を示すフローチャートである。9 is a flowchart illustrating a process of inserting a ruled line into a character string for which a paragraph is set. 文字列から罫線を消去する様子を示す説明図である。FIG. 9 is an explanatory diagram showing how ruled lines are deleted from a character string. 文字列から罫線を消去する処理を示すフローチャートである。It is a flowchart which shows the process which deletes a ruled line from a character string. 行属性が設定された文字列から罫線を消去する様子を示す説明図である。FIG. 9 is an explanatory diagram illustrating a state in which ruled lines are deleted from a character string for which a line attribute is set. 行属性が設定された文字列から罫線を消去する処理を示すフローチャートである。11 is a flowchart illustrating a process of deleting a ruled line from a character string for which a line attribute has been set. 段落設定がなされている文字列から罫線を消去する様子を示す説明図である。FIG. 11 is an explanatory diagram illustrating a state in which ruled lines are deleted from a character string for which a paragraph has been set. 段落設定がなされている文字列から罫線を消去する処理を示すフローチャートである。9 is a flowchart illustrating a process of deleting a ruled line from a character string for which a paragraph has been set. 罫線により区画された領域を伸縮する様子を示す説明図である。It is explanatory drawing which shows a mode that the area | region partitioned by the ruled line is expanded and contracted. 罫線により区画された領域を伸縮する処理を示すフローチャートである。It is a flowchart which shows the process which expands and contracts the area | region partitioned by the ruled line. 矩形の罫線をマウスで描画する様子を示す説明図である。It is explanatory drawing which shows a mode that a rectangular ruled line is drawn with a mouse. 矩形の罫線をマウスで描画しつつ縦横の分割罫線を発生および消去する例を示す説明図である。FIG. 9 is an explanatory diagram showing an example of generating and deleting vertical and horizontal divided ruled lines while drawing a rectangular ruled line with a mouse.

符号の説明Explanation of reference numerals

  20…パーソナルコンピュータ
  22…CPU
  24…ROM
  26…RAM
  28〜36…入出力インターフェイス
  40…ディスプレイ
  42…マウス
  46…キーボード
  48…プリンタ
  50…ハードディスク
 402…タイトルバー
 402A…ボタン
 402B…ボタン
 402C…ボタン
 404…メニューバー
 406…ツールバー
 410…操作領域
 412…ルーラ部
 414…属性表示部
 416…スクロール部
 418…編集部
 420…ステータスバー
 422…左ボタン
20 ... Personal computer 22 ... CPU
24 ... ROM
26 ... RAM
28-36 ... Input / output interface 40 ... Display 42 ... Mouse 46 ... Keyboard 48 ... Printer 50 ... Hard disk 402 ... Title bar 402A ... Button 402B ... Button 402C ... Button 404 ... Menu bar 406 ... Tool bar 410 ... Operation area 412 ... Ruler section 414: attribute display part 416: scroll part 418 ... editing part 420 ... status bar 422 ... left button

Claims (24)

 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 前記文字列の一部に前記罫線が重複して描かれることを検出し、
 前記文字列中の前記重複の発生した文字を消去して罫線を優先して表示し、
 表示した罫線と該消去された文字に続く文字との間隔と略同一の文字幅を有するスペースを演算し、
 該演算したスペースを前記重複の発生した文字に代えて前記文字列に挿入する
 文字列と罫線の混在処理方法。
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Detecting that the ruled line is drawn overlapping part of the character string,
The duplicated characters in the character string are deleted and ruled lines are displayed with priority,
Calculate a space having a character width substantially equal to the space between the displayed ruled line and the character following the erased character,
A method for processing a mixture of a character string and a ruled line, wherein the calculated space is inserted into the character string in place of the duplicated character.
 請求項1記載の文字列と罫線の混在処理方法であって、
 前記スペースの演算は、表示した罫線と消去された文字に続く文字との間隔と略同一の文字幅となる前記スペースの個数を演算する処理である文字列と罫線の混在処理方法。
2. The method according to claim 1, wherein the character string and the ruled line are mixed.
The method of calculating a space is a mixed character string and ruled line processing method for calculating the number of spaces having a character width substantially equal to the space between the displayed ruled line and the character following the erased character.
 請求項1記載の文字列と罫線の混在処理方法であって、
 前記スペースの演算は、表示した罫線と消去された文字に続く文字との間隔と略同一の文字幅となる前記スペースの大きさを演算する処理である文字列と罫線の混在処理方法。
2. The method according to claim 1, wherein the character string and the ruled line are mixed.
The method of calculating a space is a mixed character string and ruled line processing method for calculating the size of the space having a character width substantially equal to the space between the displayed ruled line and the character following the erased character.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に前記罫線が挿入されたとき、これを検出し、
 該罫線の挿入箇所を境界として左右に分割された領域毎に、前記文字列の配置状態を初期の配置状態に復帰する
 文字列と罫線の混在処理方法。
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When the ruled line is inserted in the line where the character string is arranged in the arrangement state, this is detected,
A character string and ruled line mixed processing method, wherein the arrangement state of the character string is returned to an initial arrangement state for each of the left and right regions divided by the insertion point of the ruled line.
 前記文字列の配置状態が、左寄せ、右寄せ、センタリング、均等配置または両端揃え(両端に文字があり内部が均等配置されたもの)である請求項4記載の文字列と罫線の混在処理方法。 5. The method according to claim 4, wherein the arrangement state of the character strings is left-aligned, right-aligned, centered, evenly aligned, or both-end aligned (characters at both ends and the inside is evenly arranged).  所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に前記罫線が挿入されたとき、
  前記配置状態の設定を初期状態に戻し、
  該挿入された罫線により分割された区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置もしくはその近傍となるよう所定幅のスペースを演算し、
  該演算したスペースを挿入する
 文字列と罫線の混在処理方法。
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When the ruled line is inserted in the line where the character string is arranged in the arrangement state,
Return the setting of the arrangement state to the initial state,
A space of a predetermined width is calculated so that the arrangement position of each character string in the section divided by the inserted ruled line is the arrangement in the arrangement state or in the vicinity thereof,
A method of mixing character strings and ruled lines to insert the calculated space.
 文字列の配置状態が、タブまたはインデントによる配置である請求項6記載の文字列と罫線の混在処理方法。 7. The method according to claim 6, wherein the arrangement state of the character string is an arrangement by tabs or indents.  所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に存在した罫線が削除されたとき、該罫線により分割されていたそれぞれの区間毎に、前記所定コマンドの実行により所定の配置状態とされた文字列を、該区間毎の初期位置もしくはその近傍に復帰させる
 文字列と罫線の混在処理方法。
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When a ruled line existing in a line where a character string is arranged in the arrangement state is deleted, a character string in a predetermined arrangement state by execution of the predetermined command is deleted for each section divided by the ruled line. A method for processing a mixture of a character string and a ruled line to be returned to or near the initial position of each section.
 前記初期位置への復帰は、タブコードあるいは所定幅のスペースの挿入により行なう請求項8記載の文字列と罫線の混在処理方法。 9. The method according to claim 8, wherein the return to the initial position is performed by inserting a tab code or a space having a predetermined width.  所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 所定コマンドの実行により、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置し、
 該配置状態に文字列が配置された行に存在した罫線が削除されたとき、
  前記配置状態の設定を初期状態に戻し、
  該削除された罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置位置もしくはその近傍となるよう所定幅のスペースを演算し、
  該演算したスペースを挿入する
 文字列と罫線の混在処理方法。
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
By executing the predetermined command, the character string displayed on the display is arranged in a predetermined arrangement state according to the predetermined command,
When the ruled line existing in the line where the character string is arranged in the arrangement state is deleted,
Return the setting of the arrangement state to the initial state,
A space of a predetermined width is calculated so that the arrangement position of each character string in the section divided by the deleted ruled line is at or near the arrangement position in the arrangement state,
A method of mixing character strings and ruled lines to insert the calculated space.
 文字列の配置状態が、タブまたはインデントによる配置状態である請求項10記載の文字列と罫線の混在処理方法。 11. The method according to claim 10, wherein the arrangement state of the character strings is an arrangement state by tabs or indents.  所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 前記罫線により区画された領域の初期の大ききを記憶し、
 文字列が入力された場合には、該領域内部を文書領域として編集を行ない、
 該記憶した領域内で編集された文字列の大きさが該領域に収容できる範囲を越えるものとなったとき、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を延長し、
 前記記憶した領域内で編集された文字列の大きさが該領域内に収容できる範囲を下回るものとなったとき、前記領域の初期の大きさを限度として、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を縮小する
 文字列と罫線の混在処理方法。
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Storing the initial size of the area defined by the ruled line,
If a character string is input, edit the inside of the area as a document area,
When the size of the edited character string in the stored area exceeds the range that can be accommodated in the area, the size of the ruled line that partitions the area is changed to change the area defined by the ruled line. Extend,
When the size of the character string edited in the stored area falls below the range that can be accommodated in the area, the size of the ruled line that partitions the area, up to the initial size of the area To reduce the area defined by the ruled line.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する方法であって、
 カーソルキー操作により移動するカーソルまたはポインティングデバイスにより前記ディスプレイ上に指定される第1の位置を、罫線による矩形表示の開始位置とし、
 該第1の位置を指定した後に前記指示される指示位置が移動すると、該移動に伴って、前記第1の位置と該指示位置を対向する2つの隅とする矩形を表示し、
 前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより前記ディスプレイ上の第2の位置が指定されたとき、前記第1の位置と該第2の位置を対向する2つの隅とする矩形を固定的に表示し、
 前記第1の位置から第2の位置まで前記指示点が移動する間に、所定の操作がなされたとき、該操作がなされた時点の前記指示点を通過し前記矩形表示を縦横に分割する罫線を発生させる
 文字列と罫線の混在処理方法。
A method of displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
A first position specified on the display by a cursor or a pointing device moved by a cursor key operation as a start position of a rectangular display by a ruled line;
When the designated position moves after the first position has been designated, a rectangle having the first position and the designated position as two opposite corners is displayed with the movement,
When a second position on the display is designated by the cursor moved by the cursor key operation or the pointing device, a rectangle having two corners facing the first position and the second position is fixed. To display,
When a predetermined operation is performed while the designated point moves from the first position to the second position, a ruled line that passes through the designated point at the time of the operation and divides the rectangular display vertically and horizontally Generates a method of mixing character strings and ruled lines.
 請求項13記載の文字列と罫線の混在処理方法であって、
 前記所定の操作がなされた後で、前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより指示される点が、該操作がなされた点よりも前記第1の位置側に至ったとき、前記発生された前記矩形表示を縦横に分割する罫線を消去する
 文字列と罫線の混在処理方法。
14. A method according to claim 13, wherein the character string and the ruled line are mixed.
When the point pointed by the cursor or the pointing device moved by the cursor key operation after the predetermined operation is performed is closer to the first position than the point at which the operation is performed, the generation is performed. A method of processing a mixed character string and ruled line for deleting a ruled line dividing the rectangular display vertically and horizontally.
 請求項13記載の文字列と罫線の混在処理方法であって、
 前記所定のキー操作がなされた後で、前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより指示される点が、該操作がなされた点もしくはその近傍に至った状態で所定の操作がなされたとき、前記発生された前記矩形表示を縦横に分割する罫線を消去する
 文字列と罫線の混在処理方法。
14. A method according to claim 13, wherein the character string and the ruled line are mixed.
After the predetermined key operation is performed, the predetermined operation is performed in a state where the cursor moved by the cursor key operation or the point designated by the pointing device reaches the point where the operation is performed or in the vicinity thereof. At this time, a method of processing a mixed character string and a ruled line for deleting the ruled line dividing the generated rectangular display vertically and horizontally.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 前記文字列の一部に前記罫線が重複して描かれることを検出する検出手段と、
 前記文字列中の前記重複の発生した文字を消去して罫線を優先して表示する罫線表示手段と、
 その消去した文字と略同一の文字幅を有するスペースを演算するスペース演算手段と、
 該演算したスペースを前記重複の発生した文字に代えて前記文字列に挿入する挿入手段と
 を備えた文字列と罫線の混在処理装置。
An apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Detecting means for detecting that the ruled line is drawn in a part of the character string,
Ruled line display means for erasing the duplicated characters in the character string and preferentially displaying ruled lines;
Space calculating means for calculating a space having substantially the same character width as the erased character;
Insertion means for inserting the calculated space into the character string in place of the duplicated character, and a mixed processing apparatus for character strings and ruled lines.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力された所定のコマンドを実行し、前記ディスプレイ上に表示された文字列を、該所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に罫線を入力する罫線入力手段と、
 該配置状態に文字列が配置された行に前記罫線が挿入されたとき、該罫線の挿入箇所を境界として左右に分割された領域毎に、前記文字列の配置状態を初期の配置状態に復帰させる配置状態復帰手段と、
 を備えた文字列と罫線の混在処理装置。
An apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Command input means for inputting a predetermined command;
Character string arranging means for executing the inputted predetermined command and arranging a character string displayed on the display in a predetermined arrangement state according to the predetermined command;
Ruled line input means for inputting a ruled line at a predetermined position on the display;
When the ruled line is inserted into the line where the character string is arranged in the arrangement state, the character string arrangement state is returned to the initial arrangement state for each of the left and right regions divided by the insertion point of the ruled line. Arrangement state return means for causing
A mixed processing device for character strings and ruled lines.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力された所定のコマンドを実行し、前記ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に罫線を入力する罫線入力手段と、
 前記配置状態に文字列が配置された行に前記罫線が挿入されたとき、前記配置状態の設定を初期状態に戻す配置状態初期化手段と、
 該挿入された罫線により分割された区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置もしくはその近傍となるよう所定幅のスペースを挿入するスペース挿入手段と
 を備えた文字列と罫線の混在処理装置。
An apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Command input means for inputting a predetermined command;
A character string arranging means for executing the inputted predetermined command, and arranging a character string displayed on the display in a predetermined arrangement state according to the predetermined command,
Ruled line input means for inputting a ruled line at a predetermined position on the display;
When the ruled line is inserted in a line where a character string is arranged in the arrangement state, an arrangement state initializing unit for returning the setting of the arrangement state to an initial state,
Space insertion means for inserting a space of a predetermined width so that the arrangement position of each character string in the section divided by the inserted ruled line is at or near the arrangement in the arrangement state. Mixed processing equipment.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力されたコマンドを実行し、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に入力された罫線を削除する罫線削除手段と、
 前記配置状態に文字列が配置された行に存在した罫線が削除されたとき、該罫線により分割されていたそれぞれの区間毎に、前記所定コマンドの実行により所定の配置状態とされた文字列を、該区間毎の初期位置もしくはその近傍に復帰させる配置状態初期化手段と
 を備えた文字列と罫線の混在処理装置。
An apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Command input means for inputting a predetermined command;
Character string arranging means for executing the input command and arranging a character string displayed on a display in a predetermined arrangement state according to the predetermined command;
Ruled line deletion means for deleting a ruled line input at a predetermined position on the display;
When a ruled line existing in a line where a character string is arranged in the arrangement state is deleted, a character string in a predetermined arrangement state by executing the predetermined command is deleted for each section divided by the ruled line. A character string and ruled line mixed processing device, comprising: an arrangement state initializing means for returning to an initial position or its vicinity for each section.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 所定のコマンドを入力するコマンド入力手段と、
 該入力されたコマンドを実行し、ディスプレイ上に表示された文字列を、前記所定コマンドに応じて予め定められた配置状態に配置する文字列配置手段と、
 前記ディスプレイの所定の位置に入力された罫線を削除する罫線削除手段と、
 前記配置状態に文字列が配置された行に存在した罫線が削除されたとき、前記配置状態の設定を初期状態に戻す配置状態初期化手段と、
 該削除された罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、前記配置状態の配置位置もしくはその近傍となるよう所定幅のスペースを挿入するスペース挿入手段と
 を備えた文字列と罫線の混在処理装置。
An apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Command input means for inputting a predetermined command;
Character string arranging means for executing the input command and arranging a character string displayed on a display in a predetermined arrangement state according to the predetermined command;
Ruled line deletion means for deleting a ruled line input at a predetermined position on the display;
When a ruled line existing in a line in which a character string is arranged in the arrangement state is deleted, an arrangement state initializing means for returning the arrangement state setting to an initial state,
And a space insertion unit for inserting a space of a predetermined width so that the arrangement position of each character string in the section divided by the deleted ruled line is at or near the arrangement position in the arrangement state. Ruled line mixed processing device.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 前記罫線により区画された領域の初期の大ききを記憶する罫線領域初期値記憶手段と、
 文字列を前記領域内に入力する文字列入力手段と、
 該入力された文字列に対して、該領域内部を文書領域として編集を行なう編集手段と、
 該記憶した領域内で編集された文字列の大きさが該領域に収容できる範囲を越えるものとなったとき、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を延長する罫線延長手段と、
 前記記憶した領域内で編集された文字列の大きさが該領域内に収容できる範囲を下回るものとなったとき、前記罫線領域初期値記憶手段に記憶された領域の初期の大きさを限度として、前記領域を区画する罫線の大きさを変更して該罫線により区画される領域を縮小する罫線縮小手段と
 を備えた文字列と罫線の混在処理装置。
An apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Ruled line area initial value storage means for storing an initial size of an area partitioned by the ruled line;
Character string input means for inputting a character string into the area;
Editing means for editing the input character string using the inside of the area as a document area;
When the size of the edited character string in the stored area exceeds the range that can be accommodated in the area, the size of the ruled line that partitions the area is changed to change the area defined by the ruled line. Ruled line extending means for extending,
When the size of the character string edited in the stored area falls below the range that can be accommodated in the area, the initial size of the area stored in the ruled line area initial value storage unit is limited. A character line and ruled line mixing device, comprising: a ruled line reducing means for changing a size of a ruled line defining the region and reducing an area defined by the ruled line.
 所望の大きさの文字列と所定の線種の罫線とをディスプレイ上に表示し、該文字列と該罫線とを混在処理する装置であって、
 カーソルキー操作により移動するカーソルまたはポインティングデバイスにより前記ディスプレイ上に指定される第1の位置を、矩形表示の開始位置として罫線の描画を開始する描画開始手段と、
 該第1の位置を指定した後に前記指示される指示位置が移動すると、該移動に伴って、前記第1の位置と該指示位置を対向する2つの隅とする矩形を一時的に表示する矩形仮表示手段と、
 前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより前記ディスプレイ上の第2の位置が指定されたとき、前記第1の位置と該第2の位置を対向する2つの隅とする矩形を固定的に表示する描画完了手段と、
 前記第1の位置から第2の位置まで前記指示点が移動する間に、所定の操作がなされたとき、該操作がなされた時点の前記指示点を通過し前記矩形表示を縦横に分割する罫線を発生させる罫線発生手段と
 を備えた文字列と罫線の混在処理装置。
An apparatus for displaying a character string of a desired size and a ruled line of a predetermined line type on a display, and performing mixed processing of the character string and the ruled line,
Drawing start means for starting drawing a ruled line with a first position specified on the display by a cursor or a pointing device moved by a cursor key operation as a start position of a rectangular display;
When the designated position moves after designating the first position, a rectangle that temporarily displays a rectangle having the first position and the designated position as two opposing corners is associated with the movement. Temporary display means;
When a second position on the display is designated by the cursor moved by the cursor key operation or the pointing device, a rectangle having two corners facing the first position and the second position is fixed. Drawing completion means to be displayed on the
When a predetermined operation is performed while the designated point moves from the first position to the second position, a ruled line that passes through the designated point at the time of the operation and divides the rectangular display vertically and horizontally And a ruled line generating means for generating a character string and a ruled line mixed processing device.
 請求項22記載の文字列と罫線を混在処理する装置であって、
 前記所定の操作がなされた後で、前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより指示される点が、該操作がなされた点よりも前記第1の位置側に至ったことを検出する検出手段と、
 該検出手段による検出がなされたとき、前記発生された前記矩形表示を縦横に分割する罫線を消去する罫線消去手段と
 を備えた文字列と罫線の混在処理装置。
23. An apparatus for mixing and processing character strings and ruled lines according to claim 22,
After the predetermined operation is performed, it is detected that the point moved by the cursor or the pointing device moved by the cursor key operation is closer to the first position than the point where the operation is performed. Detecting means;
A mixed line processing device for character strings and ruled lines, comprising: ruled line deleting means for deleting ruled lines dividing the generated rectangular display vertically and horizontally when the detection is performed.
 請求項22記載の文字列と罫線を混在処理する装置であって、
 前記所定の操作がなされた後で、前記カーソルキー操作により移動するカーソルまたは前記ポインティングデバイスにより指示される点が、該操作がなされた点もしくはその近傍に至った状態となったことを検出する指示点検出手段と、
 該指示点検出手段により検出がなされた状態で所定の操作がなされたとき、前記発生された前記矩形表示を縦横に分割する罫線を消去する分割罫線消去手段と
 を備えた文字列と罫線の混在処理装置。
23. An apparatus for mixing and processing character strings and ruled lines according to claim 22,
An instruction to detect that the cursor moved by the cursor key operation or the point pointed by the pointing device after the predetermined operation is performed has reached the point where the operation was performed or the vicinity thereof. Point detection means;
When a predetermined operation is performed in a state where detection is performed by the designated point detecting means, a divided ruled line erasing means for erasing the generated ruled lines dividing the rectangular display vertically and horizontally is provided. Processing equipment.
JP2003386383A 2003-11-17 2003-11-17 Mixture processing method and its device of character string and ruled line Pending JP2004145892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003386383A JP2004145892A (en) 2003-11-17 2003-11-17 Mixture processing method and its device of character string and ruled line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003386383A JP2004145892A (en) 2003-11-17 2003-11-17 Mixture processing method and its device of character string and ruled line

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP09782995A Division JP3728768B2 (en) 1995-03-29 1995-03-29 Method and apparatus for mixed processing of character string and ruled line

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005335539A Division JP4062332B2 (en) 2005-11-21 2005-11-21 Ruled line processing method and apparatus

Publications (1)

Publication Number Publication Date
JP2004145892A true JP2004145892A (en) 2004-05-20

Family

ID=32463875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003386383A Pending JP2004145892A (en) 2003-11-17 2003-11-17 Mixture processing method and its device of character string and ruled line

Country Status (1)

Country Link
JP (1) JP2004145892A (en)

Similar Documents

Publication Publication Date Title
JP5465819B2 (en) Text grid creation tool
JP4065545B2 (en) Layout control method and apparatus and program thereof
JP2003308310A (en) Display method, display, display program, and recording medium recorded with display program
US20080134021A1 (en) Document edit support device, document edit device, program and computer-readable storage medium
JP3728768B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP4062332B2 (en) Ruled line processing method and apparatus
JPH10283492A (en) Layout typesetting method
JP4201056B2 (en) Ruled line processing method and apparatus
JP2004145892A (en) Mixture processing method and its device of character string and ruled line
JP4466780B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP4254904B2 (en) Ruled line processing method and apparatus
JP4183017B2 (en) Ruled line processing method and apparatus
JP4275808B2 (en) Character assignment processing device
JPH0916566A (en) Document processor and method therefor
JP2608300B2 (en) Document processing method
JPH0554114A (en) Image display device
JP2823162B2 (en) Document processing device
JP2851846B2 (en) Document processing method and apparatus
JPH0969098A (en) Document preparation device
JPH03176148A (en) Document layout edition device
JP2862239B2 (en) Document processing device
JP2008108187A (en) Cad data converter, cad data conversion method, and cad data conversion program
JPH08137853A (en) Document processor
JPH087012A (en) Method and device for editing output mode of data
JP3071801B2 (en) Character editing system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20041015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050920

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051121

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060418

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060619

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060626

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20060728

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070604