JP4183017B2 - Ruled line processing method and apparatus - Google Patents

Ruled line processing method and apparatus Download PDF

Info

Publication number
JP4183017B2
JP4183017B2 JP2007204284A JP2007204284A JP4183017B2 JP 4183017 B2 JP4183017 B2 JP 4183017B2 JP 2007204284 A JP2007204284 A JP 2007204284A JP 2007204284 A JP2007204284 A JP 2007204284A JP 4183017 B2 JP4183017 B2 JP 4183017B2
Authority
JP
Japan
Prior art keywords
ruled line
display
line
rectangular
instruction
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.)
Expired - Lifetime
Application number
JP2007204284A
Other languages
Japanese (ja)
Other versions
JP2008010004A (en
Inventor
太治 西尾
克己 望月
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007204284A priority Critical patent/JP4183017B2/en
Publication of JP2008010004A publication Critical patent/JP2008010004A/en
Application granted granted Critical
Publication of JP4183017B2 publication Critical patent/JP4183017B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

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

Description

本発明は、所定の線種の罫線をディスプレイ上に表示し、この罫線を処理する処理方法およびその装置に関する。 The present invention displays a ruled line of Jo Tokoro line type on the display, relates to processing methods and apparatus that processes the this border.

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

また、この種の装置あるいはソフトは、上記視覚的効果をより一層顕著なものとするため、罫線の描画に使用する線種として実線、点線など複数の線幅を用意するなど罫線描画の表示形式に配慮している。   Also, this type of device or software makes the above visual effects even more prominent, so that a ruled line drawing display format such as preparing multiple line widths such as solid lines and dotted lines as line types used for drawing ruled lines. Consideration.

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

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

ところで、文字の大きさや幅が多様化すると、罫線を付加する位置についても従来方式以上の高い分解能が要求されることになるから、予め定めた所定幅・高さを単位として移動するカーソルにより指定する従来の指定方式に代えて、マウスやタブレットなどのポインティングデバイスを利用することが考えられている。しかし、従来方式では、ポインティングデバイスを有効に利用して縦横の罫線の配置位置を簡単に指示するまでには未だに至っていない。 By the way, if the size and width of the characters are diversified, the position where the ruled line is added requires higher resolution than the conventional method, so it is specified by a cursor that moves in units of a predetermined width and height. 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 simply designate the arrangement positions of the vertical and horizontal ruled lines.

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

本発明の罫線の処理方法は、
ディスプレイ上のポインタの位置を指示する指示手段を用いて、所定の線種の罫線をディスプレイ上に表示し、該罫線を処理する方法であって、
前記指示手段により前記ディスプレイ上に指定される第1の位置を、罫線による矩形表示の開始位置とし、
該第1の位置を指定した後に前記指示手段の操作に基づいて、前記ディスプレイ上に表示されたポインタが移動すると、該移動に伴って、前記第1の位置と該指示手段による指示に基づく位置とを対向する2つの隅とする矩形の罫線を第1の線種で表示し、
前記第1の位置が指定された後で前記矩形の罫線が確定操作がなされる前に、前記ディスプレイ上に、前記矩形の罫線が第1の線種で表示されている状態で、前記指示手段の操作に基づいて所定の分割操作がなされた場合、該分割操作がなされた時点の前記指示手段による指示に基づく位置を、前記矩形表示を縦横に分割する罫線を、前記第1の線種で表示する位置とし、
前記分割操作の後でありかつ前記矩形の罫線の確定操作がなされる前に、前記指示手段によって指示される位置が、前記分割操作された位置および前記第1の位置から遠ざかる方向に移動した時、前記分割操作された位置を通る前記分割する罫線を、前記第1の線種で表示し、
前記指示手段による指示に基づく位置でありかつ前記ディスプレイ上の前記第1の位置とは異なる第2の位置で、前記矩形の罫線の確定操作がなされたとき、前記第1の位置と該第2の位置とを対向する2つの隅とする矩形の罫線および前記分割する罫線を、前記第1の線種に代えて、該第1の線種とは異なる第2の線種で表示すること
を要旨とする。
The ruled line processing method of the present invention includes:
A method of displaying a ruled line of a predetermined line type on a display using an instruction means for indicating the position of a pointer on the display, and processing the ruled line,
The first position designated on the display by the instruction means is a start position of rectangular display by ruled lines,
When the pointer displayed on the display is moved based on the operation of the instruction means after the first position is designated, the first position and the position based on the instruction by the instruction means are accompanied by the movement. A rectangular ruled line with two corners facing each other in the first line type,
Before the rectangular borders after the first position is designated the confirmation operation is performed, before SL on the display, in a state where the rectangular borders are displayed in the first line type, the indication When a predetermined division operation is performed based on the operation of the unit, the position based on the instruction by the instruction unit at the time when the division operation is performed, the ruled line that divides the rectangular display vertically and horizontally, and the first line type And position to display with
When the position indicated by the instruction means moves in a direction away from the divided operation position and the first position after the dividing operation and before the rectangular ruled line is confirmed. The ruled line to be divided passing through the position where the division operation has been performed is displayed in the first line type,
When the determination operation of the rectangular ruled line is performed at a second position that is based on an instruction from the instruction means and is different from the first position on the display, the first position and the second position A rectangular ruled line having two corners facing each other and the ruled line to be divided are displayed with a second line type different from the first line type instead of the first line type. The gist.

この罫線の処理方法によれば、ディスプレイ上に表示されたポインタの位置を指示する指示手段を用いて第1の位置を開始点とし第2の位置を第1の位置に対向する隅部とする矩形の罫線を第2の線種で表示する以前に、所定の分割操作がなされたとき、この位置を通る縦横の罫線を発生させ、矩形の罫線を分割し、第1の線種で表示する。矩形の罫線を引く場合には、その内部に縦横に分割する罫線を引くことは多いので、この処理方法を用いれば、極めて容易に分割罫線を有する矩形の罫線を引くことができる。 According to this ruled line processing method, the first position is set as the starting point using the instruction means for indicating the position of the pointer displayed on the display , and the second position is set as the corner portion facing the first position. When a predetermined division operation is performed before the rectangular ruled line to be displayed with the second line type is generated, vertical and horizontal ruled lines that pass through this position are generated, and the rectangular ruled line is divided and displayed with the first line type. To do. When drawing a rectangular ruled line, a ruled line that is divided vertically and horizontally is often drawn inside the rectangular ruled line. If this processing method is used, a rectangular ruled line having divided ruled lines can be drawn very easily.

ここで、この罫線の処理方法において、所定の操作がなされた後で、指示手段の操作により指示される指示位置が、分割操作がなされた位置よりも第1の位置側に至ったとき、第1の線種で表示された矩形縦横に分割する罫線を消去するものとしてもよい。この罫の処理方法によれば、一度発生させた縦横に分割する罫線を容易に取り消すことができる。 Here, in the processing method of this border, after a predetermined operation is performed, when an instruction position indicated by the operation instruction means, that has reached the first position side than the division operation is performed position, a rectangle is displayed in the first line type may also erase the borders for dividing vertically and horizontally. According to processing methods ruled lines of this, it is possible to cancel easily ruled line is divided into vertical and horizontal which once generated.

あるいは、所定の操作がなされた後で、指示手段の操作により指示される位置が、分割操作がなされた位置もしくはその近傍に至った状態で所定の操作がなされたとき、矩形表示を縦横に分割する罫線を消去するものとしても良い。従って、この罫の処理方法によれば、消去したい縦横罫線のみを選択的に消去することができ、使い勝手が向上する。 Alternatively, after a predetermined operation is performed, the position indicated by the operation instruction means, when a predetermined operation in a state split operation that led to the position or near was made was made, vertically and horizontally rectangle display it may be as shall be erased borders to divide. Therefore, according to the processing method of the ruled lines of this, it is possible to selectively erase only vertical and horizontal ruled lines to be deleted, thereby enhancing usability.

本発明の罫線の処理装置は、所定の線種の罫線をディスプレイ上に表示し、該罫線を処理する装置であって、
前記ディスプレイ上のポインタの位置を指示する指示手段と、
該指示手段の操作により、前記ディスプレイ上に指定される第1の位置を、矩形表示の開始位置として罫線の描画を開始する描画開始手段と、
該第1の位置を指定した後に前記前記指示手段の操作に基づいて、前記ディスプレイ上に表示されたポインタが移動すると、該移動に伴って、前記第1の位置と該指示手段による指示に基づく位置とを対向する2つの隅とする矩形の罫線を第1の線種で表示する矩形仮表示手段と、
前記第1の位置が指定された後で前記矩形の罫線が確定操作がなされる前に、前記ディスプレイ上にに、前記矩形の罫線が第1の線種で表示されている状態で、前記指示手段の操作に基づいて所定の分割操作がなされた場合、該分割操作がなされた時点の前記指示手段による指示に基づく位置を通過し前記矩形表示を縦横に分割する罫線を、前記第1の線種で表示する位置とし、該分割操作の後でありかつ前記矩形の罫線の確定操作がなされる前に、前記指示手段によって指示される位置が、前記分割操作された位置および前記第1の位置から遠ざかる方向に移動した時、前記分割操作された位置を通る前記分割する罫線を、前記第1の線種で表示する罫線表示手段と
前記指示手段による指示に基づく位置でありかつ前記ディスプレイ上の前記第1の位置とは異なる第2の位置で、前記矩形の罫線の確定操作がなされたとき、前記第1の位置と該第2の位置とを対向する2つの隅とする矩形の罫線および前記分割する罫線を、前記第1の線種とは異なる第2の線種で表示する描画完了手段と
を備えたことを要旨とする。
The ruled line processing apparatus of the present invention is an apparatus that displays a ruled line of a predetermined line type on a display and processes the ruled line,
Indicating means for indicating the position of the pointer on the display;
Drawing start means for starting drawing a ruled line with the first position designated on the display as a start position of rectangular display by operation of the instruction means;
When the pointer displayed on the display moves based on the operation of the instruction means after designating the first position, the first position and the instruction by the instruction means are associated with the movement. A rectangular provisional display means for displaying a rectangular ruled line having two corners facing each other in a first line type;
After the first position is designated and before the rectangular ruled line is confirmed , the instruction is performed in a state where the rectangular ruled line is displayed in the first line type on the display. When a predetermined division operation is performed based on the operation of the means, a ruled line that passes the position based on the instruction by the instruction means at the time when the division operation is performed and divides the rectangular display vertically and horizontally is the first line The position indicated by the seed is the position indicated by the instruction means after the division operation and before the rectangular ruled line determination operation is performed, and the position where the division operation is performed and the first position A ruled line display means for displaying the dividing ruled line passing through the divided operation position with the first line type when moved in a direction away from the position, and a position based on an instruction from the instruction means and on the display in front When the rectangular ruled line is determined at a second position different from the first position, a rectangular ruled line having two corners facing the first position and the second position, and A gist of the invention is that it comprises: a drawing completion means for displaying the ruled line to be divided by a second line type different from the first line type.

の罫線の処理装置によれば、指示手段の操作により第1の位置を開始点とし第2の位置を第1の位置に対向する隅部とする矩形の罫線を第2の線種で表示する以前に、所定の分割操作がなされたとき、この位置を通る縦横の罫線を第1の線種で表示させ、矩形の罫線を分割する。矩形の罫線を引く場合には、その内部に縦横に分割する罫線を引くことは多いので、この処理装置を用いれば、極めて容易に分割罫線を有する矩形の罫線を引くことができる。 According to the processing apparatus of this border, as a starting point the first position by the operation of the instruction means, a rectangular border to opposite corners of the second position to the first position in the second line type Before a display, when a predetermined division operation is performed, vertical and horizontal ruled lines that pass through this position are displayed in the first line type, and rectangular ruled lines are divided. When drawing a rectangular ruled line, a ruled line that is divided vertically and horizontally is often drawn inside the rectangular ruled line. If this processing apparatus is used, a rectangular ruled line having divided ruled lines can be drawn very easily.

こうした罫線を処理する装置において、前記所定の分割操作がなされた後で、前記指示手段により指示される指示位置が、該分割操作がなされた位置よりも前記第1の位置側に至ったことを検出する検出手段と、この検出手段による検出がなされたとき、前記矩形表示を縦横に分割する前記第1の線種により表示された罫線を消去する罫線消去手段とを備えるものとしても良い。この罫の処理装置によれば、一度発生させた縦横に分割する罫線を容易に取り消すことができる。 An apparatus for processing these borders, after the predetermined splitting operation is performed, the designated position indicated by the indicating means, led to the first position side than the position where said dividing operation is performed detection means for detecting a come and detection by this detecting means is made, or as comprising a border erasing means for erasing the borders displayed by the first line type that divides the rectangular display vertically and horizontally. According to the processing apparatus of ruled lines of this, it is possible to cancel easily ruled line is divided into vertical and horizontal which once generated.

あるいは、罫線を処理する装置において、前記所定の分割操作がなされた後で、前記指示手段により指示される指示位置が、該分割操作がなされた位置もしくはその近傍に至った状態となったことを検出する指示点検出手段と、該指示点検出手段により検出がなされた状態で所定の操作がなされたとき、前記矩形表示を縦横に分割する前記第1の線種で表示された罫線を消去する分割罫線消去手段とを備えたものとすることができる。従って、この罫の処理装置によれば、消去したい縦横罫線のみを選択的に消去することができ、使い勝手が向上する。 Alternatively, an apparatus for processing a border, after the predetermined splitting operation is performed, the designated position indicated by the indicating means, and the state the split operation that led to the position or near been made a designated point detecting means for detecting, when a predetermined operation is performed in a state where the detection was made by the indicated point detecting means, the ruled lines displayed in the first line type that divides the front Symbol rectangular display vertically and horizontally Divided ruled line erasing means for erasing can be provided. Therefore, according to the processing apparatus of ruled lines of this, it is possible to selectively erase only vertical and horizontal ruled lines to be deleted, thereby enhancing usability.

以上説明した本発明の構成、作用を一層明らかにするために、以下本発明の文字列と罫線の混在処理方法およびその装置の好適な実施例について説明する。図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 the character string / ruled line mixed processing method and apparatus of the present invention will be described below. FIG. 1 is an explanatory diagram of a basic window screen displayed on a display 40 when a Japanese word processor application software adopting a mixed processing method of character strings and ruled lines according to an embodiment is operated on a computer, and FIG. It is a functional block diagram inside the personal computer 20 which has started the software. That is, by executing this software on a normal personal computer 20, the character string and ruled line mixed processing method of the present embodiment is realized. If this 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, the internal configuration of the personal computer 20 will be described first. As shown in the functional block diagram of FIG. 2, the personal computer 20 in which the software is started has a well-known basic configuration, and the CPU 22 that executes logical operations, the program executed by the CPU 22, and the like are nonvolatile. A ROM 24, a logic circuit portion comprising a large-capacity RAM 26 for storing programs and data, a display 40 as a peripheral device portion, and a mouse 42 as a pointing device for indicating any one point on the display 40 , A keyboard 46, a printer 48, and input / output interfaces 28 to 36 with the hard disk 50. Recently, there are also known various types of high-speed buses used around the CPU 22 for the purpose of improving the processing speed. Therefore, a hardware configuration suitable for processing speed and storage capacity may be employed. .

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

図1に示すアプリケーションの基本ウインドウ画面の最上部は、実施例であるアプリケーションソフトの名前及び現在処理中であるデータファイルのファイル名を表示するタイトルバー402である。このタイトルバー402の左端にあるボタン402Aはシステムメニューをプルダウンするためのボタンであり、その下欄には「ファイル」、「編集」といった表示がされるメニューバー404が配置される。このメニューバー404の任意の表示をマウス42でクリックすると、その表示名に関連したコマンドがプルダウン表示され、コマンド名を覚えたりキーボード46からコマンド名を入力するなど手間が省略される。   The top part of the basic window screen of the application 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 the system menu, and a menu bar 404 for displaying “file” and “edit” 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 manner, and the trouble of 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 right end of the tool bar 406 and the title bar 402 in the lower part of the menu bar 404 is not the interface prepared in the OS described above, but is a place where main commands unique to this application software are displayed by icons or command names. When the button 402B (ruled line button) on the right end of the title bar 402 is selected with the mouse 42, a pull-down menu in which commands such as ruled line drawing form, ruled line erasure, and ruled line area enlargement / reduction are iconized is displayed as shown in the figure. . When the button 402C (line type button) on the right side is similarly selected by the mouse 42, a part of 14 types of lines used for ruled line drawing is displayed as shown in the figure. The tool bar 406 includes a character input mode, which is a basic operation mode of the application software of this embodiment, which is a Japanese word processor, a ruled line creation mode, and commands for automatic placement such as left alignment, center alignment, and right alignment, and character outlines. Commands such as the font type and the number of points are displayed by icons, and a command is input to the application software simply by selecting the icons with the mouse 42.

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

上述した概略構成を有する本実施例のアプリケーションソフトは、日本語ワードプロセッサとして一般的なルビ機能、脚注機能、ヘッダやフッタを指定する書式機能、カナ漢字変換機能、辞書機能等を独自にあるいは他のツールを利用して達成することは勿論であるが、これらの機能については一般的なソフトと同様であるため説明を省略する。   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 headers and footers, a kana-kanji conversion function, a dictionary function, etc. Of course, this function is achieved by using a tool, but since these functions are the same as those of general software, the description thereof is omitted.

本実施例のアプリケーションソフトは、操作領域410の大部分を占めている編集部418の内部で視覚的に処理される文字列とこの文字列を区画して文章の理解に供される罫線との混在処理に関し、以下のように独特かつ巧みなインタフェイスを有している。以下、本アプリケーションソフトに独特の文字列と罫線の混在処理方法について詳述する。   The application software of this embodiment includes a character string that is 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 is used for understanding the sentence. The mixed processing has a unique and skillful interface as follows. Hereinafter, a mixed processing method of character strings and ruled lines unique to this application software will be described in detail.

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

まず、罫線データの管理について説明する。図3に示した各領域のうち、編集部418に描画される罫線データは、これだけを取り出せば、図4に示したように、計7行に亘る罫線領域を形成している。この罫線データは、図5に示すデータ構造を有する罫線描画情報として管理される。すなわち、罫線描画情報は、その罫線がどこに存在するかを大まかに表す情報であり、罫線がある範囲に亘って連続している箇所を1ブロックとしてとらえたものである。罫線描画情報には、開始位置、大きさ、罫線データポインタが含まれる。一つの罫線ブロックが一つの罫線(縦罫線、横罫線、矩形罫線)を定義しているので、文書毎に最大n個の罫線ブロックを管理することができる。罫線描画情報における開始位置とは、罫線が開始される行位置であり、大きさとは、罫線が縦方向に何行連続するかを示すものである。これらの情報は、罫線の描画単位が行桁の場合には行を単位として示される。   First, management of ruled line data will be described. If only the ruled line data drawn in the editing unit 418 is extracted from each area shown in FIG. 3, a ruled line area covering a total of seven rows is formed as shown in FIG. This ruled line data is managed as ruled line drawing information having the data structure shown in FIG. In other words, the ruled line drawing information is information that roughly represents where the ruled line exists, and is obtained by capturing a portion that 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 starting position in the ruled line drawing information is a line position where the ruled line is started, and the size indicates how many lines the ruled line continues in the vertical direction. These pieces of information are shown in units of lines when the ruled line drawing unit is a row digit.

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

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

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

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

この様に本アプリケーションソフトは、一つの文章(データファイル)毎に、上記データ構造に則った編集領域情報,罫線描画情報,文字列情報をRAM26またはハードディスク50上に新規作成、更新、削除することで、文字列と罫線の混在したデータファイルを管理している。次に、本実施例のアプリケーションソフトが行なう独特かつ巧みな文字列と罫線の混在処理方法、すなわち上記3つの編集領域情報,罫線描画情報,文字列情報を更新する具体例について詳述する。   As described above, this application software newly creates, updates, and deletes edit area information, ruled line drawing information, and character string information in accordance with the data structure for each sentence (data file) on the RAM 26 or the hard disk 50. So, we manage data files with mixed character strings and ruled lines. Next, a specific and skillful character string / ruled line mixed processing method 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文字間隔毎のタブ設定,インデント設定がなされている。これらの設定は、図示されていないが、以下の説明では、配置状況の初期設定として扱う。   FIGS. 8 and 9 are an explanatory diagram for explaining a processing method when a ruled line drawing is instructed for a character string displayed and fixed on the display 40, and a flowchart of the program of that part. . As for the characters in the editing area, in this application software, left alignment, tab setting every 5 character intervals, and indent setting are made as the default (initial setting) of the arrangement status. Although these settings are not shown, in the following description, they are treated as initial settings of the arrangement state.

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

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

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

次に、実施例における他の罫線関係の機能について説明する。以下は、上記のような罫線の挿入が、アプリケーションソフトのデフォルト値である左寄せ以外の行属性、例えば均等配置,右寄せ,中央寄せ等が設定された行においてなされた場合の処理方法である。この場合の処理について、図10(A),(B),(C)の説明図及び図11のフローチャートに従って説明する。 Next, another ruled line related function in the embodiment will be described. The following is a processing method in the case where the ruled line is inserted in a line attribute other than the left justification which is the default value of the application software, for example, a line in which uniform placement, right justification, center justification, etc. are set. Processing in this case will be described with reference to 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 process is executed, first, a ruled line is created according to the user's instruction (step S200), and then whether or not the line attribute set in the line on which the ruled line is drawn is a default value, that is, a left-justified attribute. Judgment is made (step S202), and if it is the default value, the process ends by exiting to “END”. When the line attribute has been changed from the default value, that is, as shown in FIGS. 10A to 10C, when the uniform alignment, right alignment, or center alignment is set, the character string is displayed on the line where the ruled line is drawn. (Step S204), and the following processing is executed only when the character string already exists. First, if a character is present at the position where the ruled line is drawn, the character is deleted as in the previous embodiment (see FIGS. 8 and 9) (step S206). The line attribute of the left character string is returned to the default 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 default left alignment (step S212), a line feed code is added to the end of the character string (step S214), and this process ends.

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

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

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

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

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

図14(A),(B)及び図15は、アプリケーションソフトのデフォルト値が採用された行、すなわち左寄せ属性で、かつ、タブ,インデントの変更設定がなされていない行に描画されている罫線を削除する際の処理説明図及びフローチャートであり、その処理の概要を示す。 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 that has a left-justified attribute and is not set to change tabs and indents. It is process explanatory drawing at the time of deleting, and a flowchart, and shows the outline | summary of the process .

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

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

上記の罫線消去処理によれば、罫線が既に存在した行においてその罫線が消去されるても、消去された罫線によりそれまで左右の編集領域に分割されていたそれぞれの文字列の配置位置はほぼ同一に保たれる。従って、作成中の文書のイメージは維持され、文書作成の効率を低下させることがない。しかも、この文字列の配置位置をほぼ同一に維持するためのスペース情報が自動演算されるため、文字列にアウトラインフォントを使用している本実施例のOSにおいても高い精度で文書イメージを維持することが可能となる。 According to the ruled line erasing process described above , even if the ruled line is erased in a line in which the ruled line already exists, the arrangement positions of the respective character strings divided up to the left and right editing areas by the erased ruled line are almost the same. Keep 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 positions of the character strings almost the same is automatically calculated, the document image is maintained with high accuracy even in the OS of this embodiment using outline fonts for the character strings. It becomes possible.

他の罫線処理機能の一つとして、罫線により左右に分割された編集領域の何れかにアプリケーションソフトの初期設定である左寄せ以外の行属性の設定、例えば均等配置,右寄せ,中央寄せがなされている場合の処理について、図16の説明図及び図17のフローチャートに従い説明する。 As one of the other ruled line processing functions, setting of line attributes other than left-alignment, which is the initial setting of the application software, for example, equal placement, right-alignment, and center-alignment is performed in any of the editing areas divided into right and left by the ruled line. The processing in this case will be described according 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 specified ruled line is deleted according to the user's instruction (step S500), and then the ruled line deletion causes the integration of the left and right editing areas that have been divided by the ruled line until then. It is determined whether or not (step S502), and if the integration of the areas does not occur, the ruled line erasing process (step S504) is immediately executed and the program is terminated. On the other hand, if it is determined in step S502 that region integration has occurred, it is determined whether or not the row attribute of the left editing region to be integrated is a setting other than the initial setting (left-justified attribute in the embodiment) (step S502). S506) If any change has been made since the initial setting, that is, if the uniform arrangement or the like is set as illustrated in FIG. 16, the setting is returned to the default value of left justification (step S508). (Refer to the state of the middle stage shown in FIG. 16). Then, for the right editing area to be integrated, it is determined whether or not the attribute setting is the default left alignment (step S510), and the paragraph setting value is set as the default value of the left alignment attribute only when it is not left alignment (step S512). Then, a ruled line erasing process (step S504) is executed (see the lower state shown in FIG. 16), and this process is terminated.

この罫線消去処理によれば、罫線を消去したことで統合されて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 a line that is integrated by deleting the ruled line and becomes one editing area. Therefore, it is possible to smoothly perform editing activities in the editing area newly generated by ruled line deletion. In addition, when the character strings existing in the left and right editing areas are integrated, the space information is calculated and inserted so that the distance is equal to the distance between the character strings existing in the state divided by the ruled lines. Accordingly, as shown in the lower part of FIG. 16, since the new editing area is maintained while maintaining the state of the character string divided into the left and right, the document is based on the character string having the positional relationship as before even after the area integration. Creation can be performed.

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

この場合、罫線消去の処理が指示されると、使用者の指示に従って罫線を消去した後(ステップS600)、その罫線消去により領域の統合が発生するか否かを判断し(ステップS602)、領域統合が発生しない場合にはこの処理を終了する。一方、ステップS602の判断処理により領域統合が発生すると判定された場合には、統合される罫線左側領域の文字列にタブデータが存在するか否かを判断し(ステップS604)、タブデータが存在する場合には、該タブデータを、そのタブデータにより表示上形成される空白の幅と略同一となるスペース情報にて置換する(ステップS606)。次いで、統合される罫線右側領域についても同様にタブデータの有無について判断する処理を行ない(ステップS608)、更にタブデータが存在する場合、スペース情報へ置換する処理(ステップS610)を実行する(図18(A)を参照)。   In this case, when the ruled line erasing process is instructed, the ruled line is erased according to the user's instruction (step S600), and then it is determined whether or not the 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 region integration occurs, it is determined whether or not tab data exists in the character string in the left region of the ruled line to be integrated (step S604), and tab data exists. 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, processing for determining the presence or absence of tab data is similarly performed for the right side of the ruled line to be integrated (step S608), and when tab data is present, processing for replacing with space information (step S610) is executed (FIG. 5). 18 (A)).

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

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

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

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

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

以上、罫線の挿入と消去に関する各種処理方法について説明したが、このアプリケーションソフトはこれ以外にも罫線により区画される編集領域の管理及び罫線作成に関して優れたユーザ・インタフェイスを用意している。次に、これらのユーザ・インタフェイスの参考例と実施例について詳述する。 Having described various processing method for Deletion and insertion borders, we are prepared user interface application software excellent in managing and borders on the Edit region defined by borders other than this this. Next, reference examples and examples of these user interfaces will be described in detail.

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

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

この様な編集領域の処理により、罫線により区画された編集領域内の文字列の情報量が増加した場合、罫線を自動延長して文字列が編集領域内に収まるように処理できることは勿論である。そして更に、この様な自動延長機能に加え、自動延長した罫線による編集領域に対して文字列の情報量が小さいものとなったとき、自動延長した領域に限って罫線を縮小する。換言するならば、罫線作成時の編集領域の大きさを基準として、その編集領域に記入される文字列の占有面積に応じて罫線による領域の大きさは自動伸縮するのであり、文書編集の作業効率が大幅に向上する。例えば、大量の文字列を編集領域に入力した場合、編集領域を区画する罫線は更新されてその文字列を収納するに十分な大きさに拡大され、しかも入力されたこの文字列が削除されたりした場合には、罫線は初期値の大きさまで漸次縮小する。   When the amount of information of the character string in the editing area defined by the ruled line is increased by such editing area processing, the ruled line is 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 amount of information of the character string is small with respect to the editing area by the automatically extended ruled line, the ruled line is reduced only in the automatically extended area. In other words, based on the size of the editing area at the time of 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 written in the editing area. Efficiency is greatly improved. For example, if a large number of character strings are entered in the editing area, the ruled lines that divide the editing area are updated to a size that is large enough to accommodate the character string, and the input character string is deleted. In this case, the ruled line is gradually reduced to the initial value.

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

使用者は、矩形の罫線を作成する際、作成しようとする罫線の左上隅の位置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 creating 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 nth ruled line block. Thereafter, when the mouse 42 is moved, the pointer P is moved accordingly, and a rectangle RS having the movement 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 is called a display in the rubber band format because it moves freely according to the movement of the pointer P. Then, when the user moves the mouse 42 while looking at the display 40 and operates a predetermined key (for example, “TAB” key) of the keyboard 46 at a desired position P2, the position P2 is detected, and this position is set as a dividing point. Processing to memorize is performed. When the dividing points are stored, the vertical and horizontal dividing ruled lines RL having the start position P1 as the upper left corner and the dividing point as an intersection are displayed in the same display manner as the rectangular ruled 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, “RETURN” key) assigned to a predetermined key of the keyboard 46, this is detected, and the ruled line is determined as a ruled line of a predetermined line type from the drawing state of the rubber band format. The drawn ruled line is displayed after changing to the drawing state. Internally, ruled line block information 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 various other operations as well as being assigned to a key other than the “TAB” key. . For example, an operation of a button to which a mouse function is not assigned, an instruction at a predetermined position on the tablet, or a designation with a light pen when a tablet exists may be used.

施例において説明した図1の描画状態は、この操作方法により罫線の開始位置を指定してラバーバンド形式の矩形罫線をドラッグしている状態を示したものである。この状態でキーボード46に割り付けられた終了キーを操作すると、図23に示すように所定の線種として選択されている罫線により描画が完了し、かつ、前記した各種の文字列と罫線の処理方法に基づくデータ処理が実行されるのである。もとより、矩形の罫線の描画の途中で分割点が指定されていれば、その分割点を通る縦横の罫線も表示される。 Drawing state of FIG. 1 explained in the real施例is a diagram showing a state in which to specify the starting position of the border is dragging a rectangle borders rubberband form by this method of operation. When operating the end key assigned to the keyboard 46 in this state, rendering the ruled lines is selected as a predetermined line type is completed as shown in FIG. 23, and processing of various string and ruled lines described above Data processing based on the method is executed. Of course, if a dividing point is specified during the drawing of a rectangular ruled line, vertical and horizontal ruled lines passing through the divided 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. 22C, there may be a case where it is desired to cancel the already specified division point in a state where the ruled lines are displayed in the rubber band format and are not yet determined. 22E and 22F show one of the operation methods for canceling the dividing points. After designating a certain dividing point Pn, if the pointer 42 is moved to the start position P1 of the rectangular ruled line from this dividing point by operating the mouse 42, the previously designated dividing point Pn is deleted. The information regarding the division point is also deleted from the memory. The vertical and horizontal ruled lines with the division points as intersections are similarly deleted. When there are a plurality of division points, as shown in FIGS. 22E and 22F, the division point P3 where the pointer P has moved to the inside (start position side) is erased, but the pointer P is The dividing point P2 located outside is not erased (FIG. 22E). If the mouse 42 is further dragged from this state and the division key is operated, new vertical and horizontal ruled lines are 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 such a ruled line creation user interface, the trouble of specifying the vertical ruled line and the horizontal ruled line separately as in the conventional ruled line creation procedure is eliminated, and the vertical and horizontal ruled lines can be operated with one operation. It can be created easily. Also, the designation of vertical and horizontal ruled lines can be easily canceled by operating the mouse 42. As shown in FIGS. 22X and 22Y, instead of a configuration in which the dividing point is canceled by simply returning the pointer P, the pointer P is moved to a predetermined operation (for example, a dividing key or a mouse button) on the dividing point. It is also possible to adopt a configuration in which the dividing point is canceled by performing the operation again. In this case, an operation of canceling the one near the start position P1 among the plurality of division points without canceling other division points becomes possible. In the present embodiment, the pointer P is moved by using a pointing device such as a mouse or a trackball. However, the pointer 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 it is needless to say that the present invention can be embodied in various ways without departing from the gist thereof.

以上説明したように本発明の文字列と罫線の混在処理方法およびその装置は、文字及び罫線が混在したデータファイルを作成する使用者にとって最も快適なインタフェイスを提供し、大きさを自由に設定できる文字列と罫線の混在への適切な対処、カーソルキー操作やポインティングデバイスを有効に利用した罫線の配置指示などを可能とする。   As described above, the character string and ruled line mixed processing method and apparatus according to 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 the size can be freely set. Appropriate countermeasures against mixed character strings and ruled lines, cursor key operations, and ruled line placement instructions that make effective use of pointing devices are made possible.

特に請求項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 deleted and the ruled line is preferentially displayed. Since the space having almost the same width as the erased character is calculated and this space is inserted in place of the duplicated character, the original character string is displayed at almost the same position even though the character is erased. The effect that it is done.

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

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

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

請求項10の処理方法および請求項20の処理装置によれば、所定の配置状態が設定された行に存在した罫線が削除されると、罫線により分割されていた区間におけるそれぞれの文字列の配置位置が、その配置状態での配置位置もしくはその近傍となるように、所定幅のスペースを演算し挿入するので、罫線を削除しても、既に所定の配置状態に配置された文字列は、ほぼ元の位置に配置され、使用者にとって違和感のないインタフェイスが実現されるという効果が得られる。   According to the processing method of claim 10 and the processing device of claim 20, when a ruled line existing in a line for which a predetermined arrangement state is set is deleted, the arrangement of each character string in the section divided by the ruled line Since a space with 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 There is an effect that an interface which is arranged at the original position and does not feel uncomfortable for the user is realized.

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

請求項13文字列と罫線の混在処理方法および請求項22の処理装置によれば、ポインティングデバイスを用いて第1の位置を開始点とし第2の位置を第1の位置に対向する隅部とする矩形の罫線を引く途中で所定の操作がなされたとき、この点を通る縦横の罫線を発生させ、矩形の罫線を分割するので、極めて容易に分割罫線を有する矩形の罫線を引くことができるという効果を奏する。   According to the mixed processing method of the character string and the ruled line and the processing device according to claim 22, the first position is used as a starting point and the second position is opposed to 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 it is very easy to draw a rectangular ruled line having divided ruled lines. There is an effect.

参考例および実施例としてのアプリケーションソフトウェアが採用する基本ウインドウ画面の説明図である。It is explanatory drawing of the basic window screen which application software as a reference example and an Example employ | adopt. 参考例および実施例の罫線の処理装置を実現するコンピュータの概略ブロック図である。It is a schematic block diagram of a computer that realizes the processing device borders of Reference Examples and Examples. アプリケーションソフト内部のデータ構造を説明するための説明図である。It is explanatory drawing for demonstrating the data structure inside application software. 罫線データ構造のイメージを示す説明図である。It is explanatory drawing which shows the image of a ruled line data structure. 罫線のデータ構造の説明図である。It is explanatory drawing of the data structure of a ruled line. 編集領域のデータ構造の説明図である。It is explanatory drawing of the data structure of an edit area. 文字列情報のデータ構造の説明図である。It is explanatory drawing of the data structure of character string information. 文字列に重ねて罫線を引く様子を示す説明図である。It is explanatory drawing which shows a mode that a ruled line is drawn on a character string. 罫線を文字列に重ねて引いた場合の処理を示すフローチャートである。It is a flowchart which shows the process at the time of drawing a ruled line over a character string. 行属性が設定される文字列に罫線を挿入する様子を示す説明図である。It is explanatory drawing which shows a mode that a ruled line is inserted in the character string to which a line attribute is set. 行属性が設定される文字列に罫線を挿入する処理を示すフローチャートである。It is a flowchart which shows the process which inserts a ruled line in the character string to which a line attribute is set. 段落設定がなされている文字列に罫線を挿入する様子を示す説明図である。It is explanatory drawing which shows a mode that a ruled line is inserted in the character string by which the paragraph setting was made. 段落設定がなされている文字列に罫線を挿入する処理を示すフローチャートである。It is a flowchart which shows the process which inserts a ruled line in the character string by which the paragraph setting was made. 文字列から罫線を消去する様子を示す説明図である。It is explanatory drawing which shows a mode that a ruled line is erase | eliminated from a character string. 文字列から罫線を消去する処理を示すフローチャートである。It is a flowchart which shows the process which erases a ruled line from a character string. 行属性が設定された文字列から罫線を消去する様子を示す説明図である。It is explanatory drawing which shows a mode that a ruled line is deleted from the character string to which the line attribute was set. 行属性が設定された文字列から罫線を消去する処理を示すフローチャートである。It is a flowchart which shows the process which erases a ruled line from the character string to which the line attribute was set. 段落設定がなされている文字列から罫線を消去する様子を示す説明図である。It is explanatory drawing which shows a mode that a ruled line is erase | eliminated from the character string by which the paragraph setting was made. 段落設定がなされている文字列から罫線を消去する処理を示すフローチャートである。It is a flowchart which shows the process which erases a ruled line from the character string in which the paragraph setting is made. 罫線により区画された領域を伸縮する様子を示す説明図である。It is explanatory drawing which shows a mode that the area | region divided by the ruled line is expanded-contracted. 罫線により区画された領域を伸縮する処理を示すフローチャートである。It is a flowchart which shows the process which expands / contracts the area | region divided by the ruled line. 矩形の罫線をマウスで描画しつつ縦横の分割罫線を表示および消去する様子を示す説明図である。It is explanatory drawing which shows a mode that a vertical and horizontal division | segmentation ruled line is displayed and deleted , drawing a rectangular ruled line with a mouse | mouth. 矩形の罫線をマウスで描画する例を示す説明図である。The rectangular border is an explanatory diagram showing an example that hide draw with the mouse.

符号の説明Explanation of symbols

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 ... I / O 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 ... Toolbar 410 ... Operation area 412 ... Ruler section 414 ... Attribute display unit 416 ... Scroll unit 418 ... Editing unit 420 ... Status bar 422 ... Left button

Claims (8)

ディスプレイ上のポインタの位置を指示する指示手段を用いて、所定の線種の罫線をディスプレイ上に表示し、該罫線を処理する方法であって、
前記指示手段により前記ディスプレイ上に指定される第1の位置を、罫線による矩形表示の開始位置とし、
該第1の位置を指定した後に前記指示手段の操作に基づいて、前記ディスプレイ上に表示されたポインタが移動すると、該移動に伴って、前記第1の位置と該指示手段による指示に基づく位置とを対向する2つの隅とする矩形の罫線を第1の線種で表示し、
前記第1の位置が指定された後で前記矩形の罫線が確定操作がなされる前に、前記ディスプレイ上に、前記矩形の罫線が第1の線種で表示されている状態で、前記指示手段の操作に基づいて所定の分割操作がなされた場合、該分割操作がなされた時点の前記指示手段による指示に基づく位置を、前記矩形表示を縦横に分割する罫線を、前記第1の線種で表示する位置とし、
前記分割操作の後でありかつ前記矩形の罫線の確定操作がなされる前に、前記指示手段によって指示される位置が、前記分割操作された位置および前記第1の位置から遠ざかる方向に移動した時、前記分割操作された位置を通る前記分割する罫線を、前記第1の線種で表示し、
前記指示手段による指示に基づく位置でありかつ前記ディスプレイ上の前記第1の位置とは異なる第2の位置で、前記矩形の罫線の確定操作がなされたとき、前記第1の位置と該第2の位置とを対向する2つの隅とする矩形の罫線および前記分割する罫線を、前記第1の線種に代えて、該第1の線種とは異なる第2の線種で表示する
罫線の処理方法。
A method of displaying a ruled line of a predetermined line type on a display using an instruction means for indicating the position of a pointer on the display, and processing the ruled line,
The first position designated on the display by the instruction means is a start position of rectangular display by ruled lines,
When the pointer displayed on the display is moved based on the operation of the instruction means after the first position is designated, the first position and the position based on the instruction by the instruction means are accompanied by the movement. A rectangular ruled line with two corners facing each other in the first line type,
Before the rectangular borders after the first position is designated the confirmation operation is performed, before SL on the display, in a state where the rectangular borders are displayed in the first line type, the indication When a predetermined division operation is performed based on the operation of the unit, the position based on the instruction by the instruction unit at the time when the division operation is performed, the ruled line that divides the rectangular display vertically and horizontally, and the first line type And position to display with
When the position indicated by the instruction means moves in a direction away from the divided operation position and the first position after the dividing operation and before the rectangular ruled line is confirmed. The ruled line to be divided passing through the position where the division operation has been performed is displayed in the first line type,
When the determination operation of the rectangular ruled line is performed at a second position that is based on an instruction from the instruction means and is different from the first position on the display, the first position and the second position Instead of the first line type, a rectangular ruled line having two corners facing each other and the ruled line to be divided are displayed with a second line type different from the first line type. Processing method.
前記分割操作は、キーボードの所定のキーの押下操作である請求項1記載の罫線の処理方法。   The ruled line processing method according to claim 1, wherein the dividing operation is a pressing operation of a predetermined key of a keyboard. 前記所定のキーは、タブキーである請求項2記載の罫線の処理方法。   The ruled line processing method according to claim 2, wherein the predetermined key is a tab key. ディスプレイ上のポインタの位置を指示する指示手段を用いて、所定の線種の罫線をディスプレイ上に表示し、該罫線を処理する方法であって、
前記指示手段により前記ディスプレイ上に指定される第1の位置を、罫線による矩形表示の開始位置とし、
該第1の位置を指定した後に前記指示手段の操作に基づいて、前記ディスプレイ上に表示されたポインタが移動すると、前記第1の位置と該指示手段による指示に基づく位置とを対向する2つの隅とする矩形の罫線を、前記ポインタの移動に伴って該罫線の表示が移動するラバーバンド形式で表示し、
前記第1の位置が指定された後で前記矩形の罫線が確定操作がなされる前であり、前記矩形の罫線を前記ラバーバンド形式で表示している状態で、前記指示手段の操作に基づいて所定の分割操作がなされた場合、該分割操作がなされた時点の前記指示手段による指示に基づく位置を、前記矩形表示を縦横に分割する罫線を表示する位置とし、
前記分割操作の後でありかつ前記矩形の罫線の確定操作がなされる前に、前記指示手段によって指示される位置が、前記分割操作された位置および前記第1の位置から遠ざかる方向に移動した時、前記分割操作された位置を通る前記分割する罫線を、前記ラバーバンド形式で表示される矩形の罫線の移動に伴って伸縮する態様で表示する
罫線の処理方法。
A method of displaying a ruled line of a predetermined line type on a display using an instruction means for indicating the position of a pointer on the display, and processing the ruled line,
The first position designated on the display by the instruction means is a start position of rectangular display by ruled lines,
When the pointer displayed on the display moves based on the operation of the instruction means after designating the first position, the first position and the position based on the instruction by the instruction means are opposed to each other. A rectangular ruled line as a corner is displayed in a rubber band format in which the display of the ruled line moves as the pointer moves,
After the first position is designated and before the rectangular ruled line is confirmed, and in a state where the rectangular ruled line is displayed in the rubber band format, based on the operation of the instruction unit When a predetermined division operation is performed, a position based on an instruction by the instruction unit at the time when the division operation is performed is a position for displaying a ruled line that divides the rectangular display vertically and horizontally,
When the position indicated by the instruction means moves in a direction away from the divided operation position and the first position after the dividing operation and before the rectangular ruled line is confirmed. The ruled line processing method, wherein the dividing ruled line passing through the divided operation position is displayed in such a manner that the ruled line is expanded and contracted with the movement of the rectangular ruled line displayed in the rubber band format.
定の線種の罫線をディスプレイ上に表示し、該罫線を処理する装置であって、
前記ディスプレイ上のポインタの位置を指示する指示手段と、
該指示手段の操作により、前記ディスプレイ上に指定される第1の位置を、矩形表示の開始位置として罫線の描画を開始する描画開始手段と、
該第1の位置を指定した後に前記前記指示手段の操作に基づいて、前記ディスプレイ上に表示されたポインタが移動すると、該移動に伴って、前記第1の位置と該指示手段による指示に基づく位置とを対向する2つの隅とする矩形の罫線を第1の線種で表示する矩形仮表示手段と、
前記第1の位置が指定された後で前記矩形の罫線が確定操作がなされる前に、前記ディスプレイ上にに、前記矩形の罫線が第1の線種で表示されている状態で、前記指示手段の操作に基づいて所定の分割操作がなされた場合、該分割操作がなされた時点の前記指示手段による指示に基づく位置を通過し前記矩形表示を縦横に分割する罫線を、前記第1の線種で表示する位置とし、該分割操作の後でありかつ前記矩形の罫線の確定操作がなされる前に、前記指示手段によって指示される位置が、前記分割操作された位置および前記第1の位置から遠ざかる方向に移動した時、前記分割操作された位置を通る前記分割する罫線を、前記第1の線種で表示する罫線表示手段と
前記指示手段による指示に基づく位置でありかつ前記ディスプレイ上の前記第1の位置とは異なる第2の位置で、前記矩形の罫線の確定操作がなされたとき、前記第1の位置と該第2の位置とを対向する2つの隅とする矩形の罫線および前記分割する罫線を、前記第1の線種とは異なる第2の線種で表示する描画完了手段と
を備えた罫線の処理装置。
Display Jo Tokoro line style borders on a display, an apparatus for processing該罫line,
Indicating means for indicating the position of the pointer on the display;
Drawing start means for starting drawing a ruled line with the first position designated on the display as a start position of rectangular display by operation of the instruction means;
When the pointer displayed on the display moves based on the operation of the instruction means after designating the first position, the first position and the instruction by the instruction means are associated with the movement. A rectangular provisional display means for displaying a rectangular ruled line having two corners facing each other in a first line type;
After the first position is designated and before the rectangular ruled line is confirmed , the instruction is performed in a state where the rectangular ruled line is displayed in the first line type on the display. When a predetermined division operation is performed based on the operation of the means, a ruled line that passes the position based on the instruction by the instruction means at the time when the division operation is performed and divides the rectangular display vertically and horizontally is the first line The position indicated by the seed is the position indicated by the instruction means after the division operation and before the rectangular ruled line determination operation is performed, and the position where the division operation is performed and the first position A ruled line display means for displaying the dividing ruled line passing through the divided operation position with the first line type when moved in a direction away from the position, and a position based on an instruction from the instruction means and on the display in front When the rectangular ruled line is determined at a second position different from the first position, a rectangular ruled line having two corners facing the first position and the second position, and A ruled line processing apparatus comprising: a drawing completion unit configured to display the divided ruled line with a second line type different from the first line type.
記分割操作は、キーボードの所定のキーの押下操作である請求項5記載の罫線の処理装置。 Before Symbol dividing operation, borders of the processing apparatus according to claim 5, wherein the pressing operation of a predetermined key of the keyboard. 記所定のキーは、タブキーである請求項6記載の罫線の処理装置。 Before SL predetermined key ruled line of the processing apparatus according to claim 6, wherein a tab key. 定の線種の罫線をディスプレイ上に表示し、該罫線を処理する装置であって、
前記ディスプレイ上のポインタの位置を指示する指示手段と、
該指示手段の操作により前記ディスプレイ上に指定される第1の位置を、矩形表示の開始位置として罫線の描画を開始する描画開始手段と、
該第1の位置を指定した後に前記指示手段の操作に基づいて、前記ディスプレイ上に表示されたポインタが移動すると、前記第1の位置と該指示手段による指示に基づく位置とを対向する2つの隅とする矩形の罫線を、前記ポインタの移動に伴って該罫線の表示が移動するラバーバンド形式で表示する矩形仮表示手段と、
前記第1の位置が指定された後で前記矩形の罫線が確定操作がなされる前であり、前記矩形の罫線を前記ラバーバンド形式で表示している状態で、前記指示手段の操作に基づいて所定の分割操作がなされた場合、該分割操作がなされた時点の前記指示手段による指示に基づく位置を、前記矩形表示を縦横に分割する罫線を、前記第1の線種で表示する位置とすると共に、前記分割操作の後でありかつ前記矩形の罫線の確定操作がなされる前に、前記指示手段によって指示される位置が、前記分割操作された位置および前記第1の位置から遠ざかる方向に移動した時、前記分割操作された位置を通る前記分割する罫線を、前記ラバーバンド形式で表示される矩形の罫線の移動に伴って伸縮する態様で表示する罫線表示手段と
を備えた罫線の処理装置。
Display Jo Tokoro line style borders on a display, an apparatus for processing該罫line,
Indicating means for indicating the position of the pointer on the display;
Drawing start means for starting drawing a ruled line with the first position designated on the display by the operation of the instruction means as a start position of rectangular display;
When the pointer displayed on the display moves based on the operation of the instruction means after designating the first position, the first position and the position based on the instruction by the instruction means are opposed to each other. Rectangle provisional display means for displaying a rectangular ruled line as a corner in a rubber band format in which the display of the ruled line moves as the pointer moves;
After the first position is designated and before the rectangular ruled line is confirmed, and in a state where the rectangular ruled line is displayed in the rubber band format, based on the operation of the instruction unit When a predetermined division operation is performed, a position based on an instruction by the instruction unit at the time when the division operation is performed is a position where a ruled line that divides the rectangular display vertically and horizontally is displayed as the first line type. At the same time, after the division operation and before the confirmation operation of the rectangular ruled line is performed, the position indicated by the instruction means moves in a direction away from the division operation position and the first position. And a ruled line display means for displaying the ruled line to be divided passing through the position where the division operation has been performed in a manner that expands and contracts with the movement of the rectangular ruled line displayed in the rubber band format. apparatus.
JP2007204284A 2007-08-06 2007-08-06 Ruled line processing method and apparatus Expired - Lifetime JP4183017B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007204284A JP4183017B2 (en) 2007-08-06 2007-08-06 Ruled line processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007204284A JP4183017B2 (en) 2007-08-06 2007-08-06 Ruled line processing method and apparatus

Related Parent 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 (2)

Publication Number Publication Date
JP2008010004A JP2008010004A (en) 2008-01-17
JP4183017B2 true JP4183017B2 (en) 2008-11-19

Family

ID=39068082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007204284A Expired - Lifetime JP4183017B2 (en) 2007-08-06 2007-08-06 Ruled line processing method and apparatus

Country Status (1)

Country Link
JP (1) JP4183017B2 (en)

Also Published As

Publication number Publication date
JP2008010004A (en) 2008-01-17

Similar Documents

Publication Publication Date Title
JP4065545B2 (en) Layout control method and apparatus and program thereof
JP3734852B2 (en) Image editing method and editing system
JP4236267B2 (en) Information processing apparatus, layout control method executed in the apparatus, and program thereof
JP2005122728A (en) User interface for creation and editing of variable data document
JP2005216179A (en) Document processor, document processing method, and document processing program
JP2003308310A (en) Display method, display, display program, and recording medium recorded with display program
JP4062332B2 (en) Ruled line processing method and apparatus
JP4183017B2 (en) Ruled line processing method and apparatus
JP3728768B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP4201056B2 (en) Ruled line processing method and apparatus
JP4254904B2 (en) Ruled line processing method and apparatus
JP4466780B2 (en) Method and apparatus for mixed processing of character string and ruled line
JP4275808B2 (en) Character assignment processing device
JP2004145892A (en) Mixture processing method and its device of character string and ruled line
JPH0916566A (en) Document processor and method therefor
JP2608300B2 (en) Document processing method
KR101522200B1 (en) Method and apparatus for dispalying electronic documents displaying calculation results in one or more calculation result region
JP4119573B2 (en) Allocation processing device
JP2823162B2 (en) Document processing device
JP2851846B2 (en) Document processing method and apparatus
JP2862239B2 (en) Document processing device
JP2621869B2 (en) Document editing device
JPH0969098A (en) Document preparation device
JP3788466B2 (en) Diagram creation apparatus and diagram creation method
JP3071801B2 (en) Character editing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080616

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080812

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080825

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130912

Year of fee payment: 5

EXPY Cancellation because of completion of term