JPH08137857A - Document processor - Google Patents

Document processor

Info

Publication number
JPH08137857A
JPH08137857A JP6304333A JP30433394A JPH08137857A JP H08137857 A JPH08137857 A JP H08137857A JP 6304333 A JP6304333 A JP 6304333A JP 30433394 A JP30433394 A JP 30433394A JP H08137857 A JPH08137857 A JP H08137857A
Authority
JP
Japan
Prior art keywords
input
cell
character
expression
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6304333A
Other languages
Japanese (ja)
Inventor
Mitsuharu Tanaka
光治 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP6304333A priority Critical patent/JPH08137857A/en
Publication of JPH08137857A publication Critical patent/JPH08137857A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide the document processor which can display an ordinary character string and an expression calculation result together in one cell. CONSTITUTION: When a character is inputted at a cursor position by a character input means 4, a CRT display device 1 displays the inputted character at the cursor position under the control of control means 6 and 7. A specifying means 5 specifies a cursor position at an optional position of a character string displayed on the CRT display device 1 and when setting operation is done after an expression is inputted by an expression input means 4, the control means 6 and 7 finds the calculation result of the inputted expression. The display means 1 displays the expression calculation result at the cursor position under the control of the control means 6 and 7. Consequently, the expression calculation result can be displayed in the cell where the character string is inputted. In addition, after the expression calculation result found through the expression input operation and its setting operation is displayed, an optional character string can be inputted before and after the expression calculation result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、表組編集が可能な文書
処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing device capable of editing a table.

【0002】[0002]

【従来の技術】従来の文書処理装置における表組編集で
は、セルは文字列が入った通常セルと計算式が入った式
セルとに分けられ、式セルに対しては式のみが入力可能
であり、式セルに文字を入力すると、式セルが通常セル
に変更されていた。
2. Description of the Related Art In table editing in a conventional document processing apparatus, cells are divided into normal cells containing character strings and formula cells containing calculation formulas, and only formulas can be entered in formula cells. Yes, when I typed a character in a formula cell, the formula cell was changed to a normal cell.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
文書処理装置では、式セルは単位・符号等を変更可能で
あるが、任意の文字列を入力することができず、また、
通常セルに式を入力することができないという問題があ
った。
However, in the conventional document processing device, although the unit and sign of the formula cell can be changed, an arbitrary character string cannot be input, and
There was a problem that formulas could not be entered in ordinary cells.

【0004】そこで、本発明は、上記事情に鑑みてなさ
れたものであり、同一のセル内に通常の文字列と式計算
結果文字列とを混在して表示させることが可能な文書処
理装置を提供することを目的とするものである。
Therefore, the present invention has been made in view of the above circumstances, and provides a document processing apparatus capable of displaying a normal character string and a formula calculation result character string in a mixture in the same cell. It is intended to be provided.

【0005】[0005]

【課題を解決するための手段】請求項1記載の文書処理
装置は、罫線編集機能を用いて縦罫線と横罫線とで囲ま
れた複数のセルを作成した後、各セル内に文字又は式を
入力する表組編集が可能な文書処理装置において、前記
表組を表示する表示手段、任意の前記セル内で文字又は
式の入力位置を指定する指定手段と、この指定手段によ
り指定された入力位置に文字を入力する文字入力手段
と、前記指定手段により指定された入力位置に式を入力
する式入力手段と、前記文字入力手段による文字入力操
作に基づいて、入力された文字を当該入力位置に表示す
るとともに、前記式入力手段による式入力操作及びその
設定操作に基づいて、入力された式の計算結果を求め、
この式計算結果を当該入力位置に表示する制御手段とを
有することを特徴とするものである。
According to a first aspect of the present invention, a document processing apparatus uses a ruled line editing function to create a plurality of cells surrounded by vertical ruled lines and horizontal ruled lines. In a document processing device capable of editing a table set, a display means for displaying the table set, a designating means for designating an input position of a character or an expression in an arbitrary cell, and an input designated by the designating means. A character input means for inputting a character at a position; an expression input means for inputting an expression at the input position specified by the specifying means; and a character input operation for inputting a character based on a character input operation by the character input means. Displayed on the screen, and based on the formula input operation and the setting operation by the formula input means, obtain the calculation result of the input formula,
And a control means for displaying the result of the formula calculation at the input position.

【0006】請求項2記載の文書処理装置は、前記制御
手段は、同一の式に対して複数の入力位置が指定された
場合は、各入力位置に式計算結果を表示することを特徴
とするものである。
According to a second aspect of the present invention, the control means displays the formula calculation result at each input position when a plurality of input positions are designated for the same formula. It is a thing.

【0007】請求項3記載の文書処理装置は、罫線編集
機能を用いて縦罫線と横罫線とで囲まれた複数のセルを
作成した後、各セル内に文字又は式を入力する表組編集
が可能な文書処理装置において、前記表組を表示する表
示手段、任意の前記セル内で文字の入力位置を指定する
指定手段と、この指定手段により指定された入力位置に
文字を入力する文字入力手段と、文字が入力されたセル
を選択するセル選択手段と、このセル選択手段により選
択されたセル内に式を入力する式入力手段と、前記文字
入力手段による文字入力操作に基づいて、入力された文
字を当該入力位置に表示するとともに、前記式入力手段
による式入力操作に基づいて、入力位置を記憶させるた
めの式コマンドを前記セル選択手段により選択されたセ
ル内の文字列の先頭に挿入した後、式を設定して前記入
力された式の計算結果を求め、この式計算結果を当該先
頭に表示する制御手段とを有することを特徴とするもの
である。
According to a third aspect of the present invention, a document processing apparatus uses a ruled line editing function to create a plurality of cells surrounded by vertical ruled lines and horizontal ruled lines, and then edits a table group for inputting characters or expressions in each cell. In a document processing device capable of performing the above, a display means for displaying the table set, a designating means for designating a character input position in an arbitrary cell, and a character input for inputting a character at the input position designated by the designating means Means, cell selecting means for selecting a cell in which a character is input, formula inputting means for inputting a formula in the cell selected by the cell selecting means, and input based on the character inputting operation by the character inputting means The displayed character is displayed at the input position, and based on the formula input operation by the formula input unit, a formula command for storing the input position is added to the end of the character string in the cell selected by the cell selection unit. After insertion into, and set an expression calculated a result of the input expression, the expression calculation result is characterized in that a control means for displaying on the top.

【0008】[0008]

【作用】請求項1記載の文書処理装置によれば、指定手
段で指定した入力位置に文字入力手段により文字を入力
すると、表示手段は、制御手段の制御の下に、入力され
た文字を当該入力位置に表示する。指定手段で表示手段
が表示している文字列の任意の位置に入力位置を指定
し、式入力手段により式を入力した後、設定操作を行う
と、制御手段は、入力された式の計算結果を求める。表
示手段は、制御手段の制御の下に、式計算結果を当該入
力位置に表示する。これにより、文字列を入力したセル
に式計算結果を表示することができる。これとは逆に、
式入力操作及びその設定操作に基づいて求めた式計算結
果を表示した後、その式計算結果の前後に任意の文字列
を入力することもできる。
According to the document processing apparatus of the present invention, when a character is input by the character input means to the input position designated by the designating means, the display means controls the input character under the control of the control means. Display at the input position. When the input position is designated at the arbitrary position of the character string displayed by the display unit by the designating unit, the formula is inputted by the formula inputting unit, and then the setting operation is performed, the control unit causes the calculation result of the inputted formula to be calculated. Ask for. The display means displays the formula calculation result at the input position under the control of the control means. As a result, the formula calculation result can be displayed in the cell in which the character string is input. On the contrary,
After displaying the formula calculation result obtained based on the formula input operation and the setting operation, an arbitrary character string can be input before and after the formula calculation result.

【0009】請求項2記載の文書処理装置によれば、制
御手段は、同一の式に対して複数の入力位置が指定され
た場合は、各入力位置に式計算結果を表示する。これに
より、同一のセル内に複数の式計算結果を表示すること
ができる。
According to the second aspect of the present invention, the control means displays the formula calculation result at each input position when a plurality of input positions are designated for the same formula. As a result, a plurality of formula calculation results can be displayed in the same cell.

【0010】請求項3記載の文書処理装置によれば、制
御手段は、文字入力操作に基づいて入力された文字を当
該入力位置に表示する。セル選択手段により文字が入力
されたセルを選択して式入力手段により式を入力する
と、制御手段は、式コマンドを文字列の先頭に挿入した
後、式を設定して、入力された式の計算結果を求める。
表示手段は、制御手段の制御の下に、式計算結果を文字
列の先頭に表示する。これにより、式計算結果を表示す
る位置の指定を省略できる。
According to the document processing apparatus of the third aspect, the control means displays the character input based on the character input operation at the input position. When a cell in which a character has been input by the cell selection means is selected and a formula is input by the formula input means, the control means inserts a formula command at the beginning of the character string, sets the formula, and sets the input formula. Obtain the calculation result.
The display means displays the expression calculation result at the beginning of the character string under the control of the control means. This makes it possible to omit the specification of the position for displaying the formula calculation result.

【0011】[0011]

【実施例】以下、本発明の実施例を図面を参照して詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0012】図1は本発明の文書処理装置の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the document processing apparatus of the present invention.

【0013】この文書処理装置は、罫線編集機能を用い
て縦罫線と横罫線とで囲まれた複数のセルを作成し、各
セル内に文字又は式を入力する表組編集が可能な装置で
あり、編集中の文書、各種メッセージメニューなどを表
示する表示手段としてのCRT表示装置1と、CRT表
示装置1の画面に表示されるイメージを展開記憶するビ
デオRAM(VRAM)2と、メモリ間あるいはメモリ
と各デバイス間のデータ転送をコントロールするビット
ムーブユニット(BMU)3と、文書編集などを行うた
めの各種キーを備えたキーボード4と、画面上のアイコ
ンなどを指し示すためなどに用いられるポインティング
デバイス(PD)5と、制御プログラム(文書編集に係
るプログラムやエラー処理プログラムをはじめ、後述す
る本発明の処理を実現するためのプログラムも記憶され
ている)を記憶するROM7及びROM7に記憶された
制御プログラムに基づいて本装置の各部を制御するCP
U6からなる制御手段と、上述した各種プログラムをC
PU6が実行する時にワークエリア、エラー処理時の一
時退避エリアとして用いられるRAM8と、ハードディ
スク(HD)及びフロッピーディスク(FD)を後述す
るアプリケーションプログラムやデータ、ライブラリな
どの保存用として用いるハードディスクドライブ(HD
D)9及びフロッピーディスクドライブ(FDD)10
と、他の文書処理装置との間でネットワークを経由して
データ転送を行うためにネットワーク上のデータ制御、
診断を行うネットワークインタフェース(Net−I/
F)11と、上述した各ユニット間を接続するアドレス
バス、データバス及び制御バスからなるI/Oバス12
とを具備している。
This document processing device is a device capable of editing a table set in which a plurality of cells surrounded by vertical ruled lines and horizontal ruled lines are created by using a ruled line editing function, and a character or an expression is input in each cell. Yes, between a CRT display device 1 as a display means for displaying a document being edited, various message menus, etc., a video RAM (VRAM) 2 for expanding and storing an image displayed on the screen of the CRT display device 1, and between memories or A bit move unit (BMU) 3 for controlling data transfer between a memory and each device, a keyboard 4 having various keys for editing a document, a pointing device used for pointing an icon on the screen, etc. (PD) 5 and a control program (a program related to document editing and an error processing program, as well as the processing of the present invention described later) CP for controlling each unit of the apparatus based on programs the stored) ROM7 and ROM7 a control program stored in storing for the current
Control means consisting of U6 and the various programs described above
A RAM 8 used as a work area when the PU 6 executes, a temporary save area at the time of error processing, and a hard disk drive (HD) that uses a hard disk (HD) and a floppy disk (FD) for storing application programs, data, libraries, etc. described later.
D) 9 and floppy disk drive (FDD) 10
And data control on the network to transfer data between other document processing devices via the network,
Network interface for diagnosis (Net-I /
F) 11 and an I / O bus 12 including an address bus, a data bus, and a control bus that connect the above-mentioned units.
Is provided.

【0014】キーボード4は、CRT表示装置1の表示
画面に表示された複数のセルのうち任意のセル内で文字
又は式の入力位置をカーソル(図16等を参照)301
で指定する例えば「↑」キー、「↓」キー、「←」キ
ー、「→」キーなどの如き指定手段と、この指定手段に
より指定された入力位置(カーソル位置)に文字を入力
する文字入力手段と、カーソル位置に式を入力する式入
力手段と、入力した式を設定するための設定キーとを備
えている。
The keyboard 4 is a cursor (see FIG. 16 etc.) 301 for inputting a character or an expression in an arbitrary cell of a plurality of cells displayed on the display screen of the CRT display device 1.
Specifying means such as "↑" key, "↓" key, "←" key, "→" key, etc., and character input for inputting characters at the input position (cursor position) specified by this specifying means Means, expression input means for inputting an expression at the cursor position, and a setting key for setting the input expression.

【0015】制御手段は、本装置の各部を制御するとと
もに、キーボード4の文字入力手段による文字入力操作
に基づいて、入力された文字をカーソル位置に表示する
とともに、式入力手段による式入力操作及び設定キーの
操作に基づいて、その入力された式の計算結果を求め、
この式計算結果をカーソル位置に表示するものである。
The control means controls each part of the apparatus, displays the input character at the cursor position based on the character input operation by the character input means of the keyboard 4, and performs the expression input operation by the expression input means. Based on the operation of the setting key, obtain the calculation result of the input formula,
This formula calculation result is displayed at the cursor position.

【0016】なお、本実施例でROM7に記憶している
プログラムは、本装置に直接接続されているハードディ
スク(HD)やフロッピーディスク(FD)などの記憶
媒体にも記憶されていてもよく、さらに、ネットワーク
で接続されている他の装置上に記憶されていてもよい。
また、本発明のプログラムは、FDやHDなどの記憶媒
体やネットワークを介して他のシステムや装置に供給し
てもよい。
The program stored in the ROM 7 in this embodiment may be stored in a storage medium such as a hard disk (HD) or a floppy disk (FD) directly connected to the apparatus, and further. , May be stored on another device connected to the network.
Further, the program of the present invention may be supplied to another system or device via a storage medium such as FD or HD or a network.

【0017】ここで「表組」とは、図1の装置上の処理
プログラム内において、文書の一部として表を表現する
形態をいう。表組では、様々な線種を用いた罫線編集機
能を用いてセルを作成し、文字修飾や強調書体などを用
いた文字編集機能を用いてセル内に文字を入力すること
ができる。さらに、セル内の文字列(文字情報)は、セ
ル属性(揃えなどの情報)に基づいて組版を行ってから
表示される。このようは表組の機能により、複雑な編集
を施した表を表現することが可能となる。また、「セ
ル」とは、縦罫線と横罫線とで完全に囲まれた矩形領域
をいう。
Here, the "table set" refers to a form in which a table is expressed as a part of a document in the processing program on the apparatus of FIG. In the table set, a cell can be created by using a ruled line editing function using various line types, and a character can be input into the cell by using a character editing function using a character modification or an emphasized typeface. Further, the character string (character information) in the cell is displayed after typesetting based on the cell attribute (information such as alignment). In this way, the table setting function makes it possible to represent a table that has undergone complicated editing. The "cell" refers to a rectangular area that is completely surrounded by vertical and horizontal ruled lines.

【0018】次に、図1の装置上で処理される表組デー
タの編集時のデータ構造を図2乃至図15を参照して説
明する。
Next, the data structure at the time of editing the table data processed on the apparatus of FIG. 1 will be described with reference to FIGS.

【0019】表組編集時、表組のデータは図2、図3に
示すように、処理の便宜上、編集データ領域21とロー
カルデータ領域22の2つの領域に分かれて図1のRA
M8上に存在する。
At the time of editing the table set, the data of the table set is divided into two areas, an edit data area 21 and a local data area 22, as shown in FIGS.
Present on M8.

【0020】編集データ領域21の表組制御情報(図2
で詳細説明)23の領域を除いた部分24には、編集中
にのみ作成・消去する一時的なデータを保持している。
Table setting control information in the edit data area 21 (see FIG. 2)
(Details will be described later.) A portion 24 excluding the area 23 holds temporary data that is created / erased only during editing.

【0021】ローカルデータ領域22には、表組を構成
する罫線・文字など各要素の情報などを保持していて、
編集終了後データを保存する場合は、この領域のデータ
と表組制御情報23から保存形式のデータを作成する。
このローカルデータ領域22には、作業領域管理情報2
5、区切れ情報26、区切れ情報フリーリスト27、セ
ル情報28、セル情報フリーリスト29、斜罫線情報
(図6で詳細説明)30、横罫線情報(図7で詳細説
明)31、縦罫線情報(図8で詳細説明)32、罫線レ
コードフリーリスト33、セル属性情報34、セル属性
情報フリーリスト35、オプションセル属性情報36、
オプションセル属性情報フリーリスト37などを保持す
る。
The local data area 22 holds information about each element such as ruled lines and characters that make up the table set,
When saving data after the editing is completed, data in a save format is created from the data in this area and the table control information 23.
In this local data area 22, work area management information 2
5, break information 26, break information free list 27, cell information 28, cell information free list 29, diagonal ruled line information (detailed description in FIG. 6) 30, horizontal ruled line information (detailed description in FIG. 7) 31, vertical ruled lines Information (detailed description in FIG. 8) 32, ruled line record free list 33, cell attribute information 34, cell attribute information free list 35, option cell attribute information 36,
The option cell attribute information free list 37 and the like are held.

【0022】作業領域管理情報(図5で詳細説明)25
は、編集データ領域21及びローカルデータ領域22内
の各情報を管理する情報である。
Work area management information (detailed description with reference to FIG. 5) 25
Is information for managing each information in the edit data area 21 and the local data area 22.

【0023】区切れ情報26及び区切れ情報フリーリス
ト27は、区切れ情報(図13で詳細説明)の実体と、
新たな区切れ情報を作成するための専用の予約領域(区
切れ情報と同サイズ)が、混在して集まった領域であ
る。ここで、各情報は、区切れ情報は区切れ情報同士、
予約領域は予約領域同士で次の情報へのポインタと前の
情報へのポインタを保持する形式になっており、先頭の
情報から全ての情報が追跡可能になっている。以下、本
実施例ではこの形式のデータ構造を「リスト構造」と呼
ぶ。
The break information 26 and the break information free list 27 are the entity of the break information (described in detail in FIG. 13).
A reserved area (same size as the break information) dedicated for creating new break information is a mixed area. Here, each piece of information is division information,
The reserved area has a format in which a pointer to the next information and a pointer to the previous information are held between the reserved areas, and all the information can be traced from the head information. Hereinafter, in this embodiment, this type of data structure is referred to as a “list structure”.

【0024】セル情報28及びセル情報フリーリスト2
9は、セル情報(図9で詳細説明)の実体と、新たなセ
ル情報を作成するための専用の予約領域(セル情報と同
サイズ)が、混在して集まった領域である。この部分も
リスト構造である。
Cell information 28 and cell information free list 2
Reference numeral 9 is an area in which the entity of cell information (described in detail in FIG. 9) and a dedicated reserved area (same size as the cell information) for creating new cell information are mixed together. This part also has a list structure.

【0025】斜罫線情報30、横罫線情報31、縦罫線
情報32及び罫線レコードフリーリスト33は、斜罫線
情報(図6で詳細説明)の実体と、横罫線情報(図7で
詳細説明)の実体と、縦罫線情報(図8で詳細説明)の
実体と、新たな罫線情報を作成するための専用の予約領
域(各罫線情報と同サイズ)が、混在して集まった領域
である。この部分もリスト構造である。なお、斜罫線情
報30、横罫線情報31、縦罫線情報32は、新たな罫
線情報を作成するための専用の予約領域を共通に使用す
るために全て同サイズとなっている。
The diagonal ruled line information 30, the horizontal ruled line information 31, the vertical ruled line information 32, and the ruled line record free list 33 are composed of the substance of the diagonal ruled line information (described in detail in FIG. 6) and the horizontal ruled line information (described in detail in FIG. 7). The entity, the vertical ruled line information (described in detail in FIG. 8), and the reserved area dedicated to creating new ruled line information (same size as each ruled line information) are mixed and gathered. This part also has a list structure. The diagonal ruled line information 30, the horizontal ruled line information 31, and the vertical ruled line information 32 all have the same size in order to commonly use a dedicated reserved area for creating new ruled line information.

【0026】セル属性情報34及びセル属性情報フリー
リスト35は、セル属性情報(図11で詳細説明)の実
体と、新たなセル情報を作成するための専用の予約領域
(セル属性情報と同サイズ)が、混在して集まった領域
である。この部分もリスト構造である。
The cell attribute information 34 and the cell attribute information free list 35 are the substance of the cell attribute information (described in detail in FIG. 11) and a dedicated reserved area (same size as the cell attribute information) for creating new cell information. ) Is a mixed area. This part also has a list structure.

【0027】オプションセル属性情報36及びオプショ
ンセル属性情報フリーリスト37は、オプションセル属
性情報(図12で詳細説明)の実体と、新たなセル情報
を作成するための専用の予約領域(オプションセル属性
情報36と同サイズ)が、混在して集まった領域であ
る。この部分もリスト構造である。なお、オプションセ
ル属性情報36は、新たなオプションセル属性情報36
を作成するための専用の予約領域を共通に使用するため
に、オプション属性の種類にかかわらず全て同サイズと
なっている。
The option cell attribute information 36 and the option cell attribute information free list 37 are the substance of the option cell attribute information (described in detail in FIG. 12) and a dedicated reserved area (option cell attribute) for creating new cell information. The same size as the information 36) is a mixed area. This part also has a list structure. The option cell attribute information 36 is the new option cell attribute information 36.
All have the same size regardless of the type of option attribute in order to commonly use the dedicated reserved area for creating.

【0028】図4は表組制御情報23の詳細な構造を示
す図である。表組制御情報23は、同図に示すように、
表組データの開始を示すコマンド41と、文字入力時に
セルの自動拡張を行うか否かを示す情報などの表組全体
の編集に係るフラグ42と、表組データが作られた時の
各処理プログラムのバージョンなどを示す情報43乃至
46と、セルの最終アドレス47と、表組データ内で使
用しているグループの最終番号48と、将来の機能拡張
などによるデータフォーマットの変化に備えたリザーブ
領域49と、メジャー(グリッド)に関する、グリッド
の表示/非表示やグリッド指定単位を示すフラグ50、
グリッドの間隔を示す値51、52及び将来の機能拡張
などによるデータフォーマットの変化に備えたリザーブ
領域53と、指定親子罫に関する、上線幅54、線間隔
55及び下線幅56とから構成されている。
FIG. 4 is a diagram showing a detailed structure of the table group control information 23. The table group control information 23, as shown in FIG.
A command 41 indicating the start of table group data, a flag 42 for editing the entire table group such as information indicating whether or not to automatically expand cells at the time of character input, and each process when the table group data is created Information 43 to 46 indicating the version of the program, the final address 47 of the cell, the final number 48 of the group used in the table data, and the reserved area for the data format change due to future function expansion. 49, a flag 50 indicating the grid display / non-display and the grid designation unit regarding the measure (grid),
It is composed of values 51 and 52 indicating grid intervals, a reserve area 53 prepared for a data format change due to future function expansion, and an upper line width 54, a line interval 55, and an underline width 56 related to a designated parent-child rule. .

【0029】図5は作業管理情報25の詳細な構造を示
す図である。作業管理情報25は、同図に示すように、
データを識別するためのID61と、編集データ領域2
1の先頭アドレス62と、確保された編集データ領域2
1全体のサイズ63と、編集データの有効サイズ64
と、表組制御情報編集データ領域(図2の表組制御情報
23が格納される領域)へのポインタ65と、編集デー
タ領域21の空き部分(図2の24の部分の内、有効編
集データが占めている部分以外の部分)の管理情報66
と、ローカルデータ領域22内の罫線に関する情報の領
域(図3の30乃至33)に存在する斜罫線情報のリス
トの先頭レコードへのポインタ67と、横罫線の先頭レ
コードへのポインタ68と、縦罫線の各先頭レコードへ
のポインタ69と、セルの数、カレントセルのセル情報
へのポイントなどを保持しているセル情報の管理情報7
0と、ローカルデータ領域22内のセルに関する情報の
領域(図3の28、29)に存在するセル情報のリスト
の先頭レコードへのポインタ71と、ローカルデータ領
域22内のセル属性に関する情報の領域(図3の34、
35)に存在するセル属性情報のリストの先頭レコード
へのポインタ72と、ローカルデータ領域2内の区切れ
情報の領域(図3の26、27)に存在する区切れ情報
用の予約領域のリストの先頭レコードへのポインタ73
と、セル情報用の予約領域のリストの先頭レコードへの
ポインタ74と、文字データ用の予約領域のリストの先
頭レコードへのポインタ75と、罫線情報用の予約領域
のリストの先頭レコードへのポインタ76と、セル属性
情報用の予約領域のリストの先頭レコードへのポインタ
77と、ローカルデータ領域22内のオプションセル属
性情報の領域(図3の36、37)に存在するオプショ
ンセル属性情報用の予約領域のリストの先頭レコードへ
のポインタ78と、表組編集中の取消処理のためのUn
do制御情報79と、編集中のカレントな情報(処理中
のメニュー種別など)を示す表組動作情報80と、選択
中の罫線を示す選択罫線情報ヘッダ(図14で詳細説
明)81と、選択中のセルを示す選択セル情報ヘッダ
(図15で詳細説明)82と、ワーク領域83と、ロー
カルデータ領域22内の空き領域(図3の38)を管理
するローカルデータ領域空き管理情報84とから構成さ
れている。
FIG. 5 is a diagram showing a detailed structure of the work management information 25. The work management information 25, as shown in FIG.
ID 61 for identifying data and edit data area 2
1 start address 62 and secured edit data area 2
1 overall size 63 and effective size 64 of edited data
A pointer 65 to a table group control information edit data area (area in which the table group control information 23 of FIG. 2 is stored), and a vacant portion of the edit data area 21 (effective edit data of 24 in FIG. 2). Management information 66 of a portion other than the portion occupied by
A pointer 67 to the first record of the list of diagonal ruled line information existing in the information area (30 to 33 in FIG. 3) related to ruled lines in the local data area 22, a pointer 68 to the first record of the horizontal ruled line, and a vertical Pointer 69 to each head record of the ruled line, management information 7 of cell information holding the number of cells, points to cell information of the current cell, etc.
0, a pointer 71 to the first record of the cell information list existing in the area of information about cells in the local data area 22 (28 and 29 in FIG. 3), and an area of information about cell attributes in the local data area 22 (34 in FIG. 3,
35) a pointer 72 to the first record of the list of cell attribute information and a list of reserved areas for break information existing in the break information areas (26 and 27 in FIG. 3) in the local data area 2. 73 to the first record of
, A pointer 74 to the first record of the list of reserved areas for cell information, a pointer 75 to the first record of the list of reserved areas for character data, and a pointer to the first record of the list of reserved areas for ruled line information. 76, a pointer 77 to the first record of the list of reserved areas for cell attribute information, and option cell attribute information existing in the option cell attribute information areas (36 and 37 in FIG. 3) in the local data area 22. A pointer 78 to the first record in the list of reserved areas and an Un for canceling processing during table group editing.
do control information 79, table operation information 80 indicating current information being edited (menu type being processed, etc.), selected ruled line information header (detailed description in FIG. 14) 81 indicating the selected ruled line, and selection From a selected cell information header (detailed description with reference to FIG. 15) 82 indicating a cell inside, a work area 83, and local data area free space management information 84 that manages a free space (38 in FIG. 3) in the local data area 22. It is configured.

【0030】図6は斜罫線レコードの詳細な構造を示す
図である。斜罫線レコードは、同図に示すように、斜罫
線の始点(ここで始点とはy座標の小さい方の端点とす
る。)の座標91と、実線、点線、一点鎖線、二点鎖
線、破線、長破線、隠れ線のいずれかが指定されている
線種92と、線幅93と、罫線ロックなどの情報を示す
フラグ94と、角丸に関する情報95と、線の色に関す
る情報96、97と、線の縦方向の長さ98と、負の値
をとり得る線の横方向の長さ99と、次のレコードが存
在しない場合はNULLとなっている、次の斜罫線レコ
ードへのポインタ100と、先頭レコードの場合はNU
LLとなっている、前の斜罫線レコードへのポインタ1
01とから構成され、ポインタ100、101の情報に
よりリスト構造を形成し、罫線に関する情報の領域(図
3の30乃至33)に存在する。
FIG. 6 is a diagram showing the detailed structure of the diagonal ruled line record. As shown in the figure, the diagonal ruled line record includes the coordinates 91 of the starting point of the diagonal ruled line (here, the starting point is the end point having the smaller y coordinate), the solid line, the dotted line, the one-dot chain line, the two-dot chain line, and the broken line. , A long broken line, a hidden line, a line type 92, a line width 93, a flag 94 indicating information such as ruled line lock, information about a rounded corner 95, and information about a line color 96 and 97. , The vertical length 98 of the line, the horizontal length 99 of the line that can take a negative value, and NULL if the next record does not exist. Pointer 100 to the next diagonal ruled line record. And NU for the first record
Pointer 1 to the previous diagonal ruled line record that is LL
01, a list structure is formed by the information of the pointers 100 and 101, and the list structure exists in the area of information regarding ruled lines (30 to 33 in FIG. 3).

【0031】図7は横罫線レコードの詳細な構造を示す
図である。横罫線は、連続しているかぎり一本の罫線と
して一つのレコードで表現する。画面操作上は、縦罫
線、斜罫線と交差した部分で分割された単位を一本の罫
線として扱うが、それは各横罫線レコードが保持する他
の罫線との交点の情報(「区切れ情報」26と呼称し、
図13で詳細説明)を基に判断する。ただし、連続した
横罫線でも線種や色が変わった場合、または他の罫線と
の交点で角丸が指定された場合は、その部分からは別の
罫線とみなし、別のレコードで管理する。横罫線レコー
ドは、横罫線の始点(ここで始点とはx座標の小さい方
の端点とする。)の座標111と、実線、点線、一点鎖
線、二点鎖線、破線、長破線、隠れ線、双柱罫、親子罫
1、親子罫2、指定親子罫1、指定親子罫2のいずれか
が指定されている線種112と、線幅113と、罫線ロ
ックなどの情報を示すフラグ114と、角丸に関する情
報115と、線の色に関する情報116、117と、線
の長さ118と、次のレコードが存在しない場合はNU
LLとなっている、次の横罫線レコードへのポインタ1
19と、先頭レコードの場合はNULLとなっている、
前の横罫線レコードへのポインタ120と、横罫線の先
頭区切れ情報へのポインタ121と、横罫線のy座標の
小さいほうから順に付けたシリアル番号122とから構
成され、ポインタ119、120の情報によりリスト構
造を形成し、罫線情報に関する領域(図3の30乃至3
3)に存在する。従って、同一y座標を持つ横罫線レコ
ードには、全て同じ番号が付与される。
FIG. 7 is a diagram showing the detailed structure of a horizontal ruled line record. The horizontal ruled line is expressed by one record as one ruled line as long as it is continuous. In the screen operation, the unit divided at the intersection of the vertical ruled line and the diagonal ruled line is treated as one ruled line, but it is the information of the intersection with other ruled lines held by each horizontal ruled line record (“break information”). 26,
The detailed determination will be made with reference to FIG. 13). However, if the line type or color is changed even with continuous horizontal ruled lines, or if a rounded corner is specified at the intersection with another ruled line, it is regarded as another ruled line from that part and managed by another record. The horizontal ruled line record includes the coordinates 111 of the start point of the horizontal ruled line (here, the start point is the end point of the smaller x coordinate), the solid line, the dotted line, the one-dot chain line, the two-dot chain line, the broken line, the long broken line, the hidden line, and the double line. A line type 112 in which any one of column rule, parent-child rule 1, parent-child rule 2, designated parent-child rule 1, and designated parent-child rule 2 is designated, a line width 113, a flag 114 indicating information such as ruled line lock, and a corner. Circle information 115, line color information 116 and 117, line length 118, and NU if no next record exists
Pointer 1 to the next horizontal ruled line record that is LL
19 and NULL for the first record,
The pointer 120 to the previous horizontal ruled line record, the pointer 121 to the leading delimiter information of the horizontal ruled line, and the serial number 122 assigned in ascending order of the y coordinate of the horizontal ruled line, and the information of the pointers 119 and 120. A list structure is formed by using the area (30 to 3 in FIG. 3) related to ruled line information.
It exists in 3). Therefore, the same number is assigned to all horizontal ruled line records having the same y coordinate.

【0032】図8に縦罫線レコードの詳細な構造を示す
図である。縦罫線は、連続しているかぎり一本の罫線と
して一つのレコードで表現する。画面操作上は、横罫
線、斜罫線と交差した部分で分割された単位を一本の罫
線として扱うが、それは各横罫線レコードが保持する他
の罫線との交点の情報(「区切れ情報」26と呼称し、
図13で詳細説明)を基に判断する。ただし、連続した
縦罫線でも線種や色が変わった場合、または他の罫線と
の交点で角丸が指定された場合は、その部分からは別の
罫線とみなし、別のレコードで管理する。縦罫線レコー
ドは、縦罫線の始点(ここで始点とはy座標の小さい方
の端点とする。)の座標131と、実線、点線、一点鎖
線、二点鎖線、破線、長破線、隠れ線、双柱罫、親子罫
1、親子罫2、指定親子罫1、指定親子罫2のいずれか
が指定されている線種132と、線幅133と、罫線ロ
ックなどの情報を示すフラグ134と、角丸に関する情
報135と、線の色に関する情報136、137と、線
の長さ138と、次のレコードが存在しない場合はNU
LLとなっている、次の縦罫線レコードへのポインタ1
39と、先頭レコードの場合はNULLとなっている、
前の縦罫線レコードへのポインタ140と、縦罫線の先
頭区切れ情報へのポインタ141と、横罫線のx座標の
小さいほうから順に付けたシリアル番号142とから構
成され、ポインタ139、140の情報によりリスト構
造を形成し、罫線に関する情報の領域(図3の30乃至
33)に存在する。従って、同一x座標を持つ縦罫線レ
コードには、全て同じ番号が付与される。
FIG. 8 shows the detailed structure of the vertical ruled line record. The vertical ruled line is expressed by one record as one ruled line as long as it is continuous. In the screen operation, the unit divided at the intersection with the horizontal ruled line and the diagonal ruled line is treated as one ruled line, but it is the information of the intersection with other ruled lines held by each horizontal ruled line record (“break information”). 26,
The detailed determination will be made with reference to FIG. 13). However, if the line type or color has changed even with continuous vertical ruled lines, or if a rounded corner is specified at the intersection with another ruled line, that part is regarded as another ruled line and is managed in another record. The vertical ruled line record includes coordinates 131 of the start point of the vertical ruled line (here, the start point is the end point of the smaller y coordinate) and the solid line, the dotted line, the one-dot chain line, the two-dot chain line, the broken line, the long broken line, the hidden line, and the double line. A line type 132 in which any of the pillar ruled line, the parent-child ruled line 1, the parent-child ruled line 2, the designated parent-child ruled line 1, and the designated parent-child ruled line 2 is designated, the line width 133, the flag 134 indicating information such as ruled line lock, and the corner. Circle information 135, line color information 136, 137, line length 138, and NU if no next record exists
Pointer 1 to the next vertical ruled line record that is LL
39, and NULL for the first record,
The pointer 140 to the previous vertical ruled line record, the pointer 141 to the leading delimiter information of the vertical ruled line, and the serial number 142 sequentially assigned from the x coordinate of the horizontal ruled line in the ascending order. A list structure is formed by and exists in the information area (30 to 33 in FIG. 3) related to ruled lines. Therefore, the same number is assigned to all vertical ruled line records having the same x coordinate.

【0033】図9はセル情報の詳細な構造を示す図であ
る。セルを形成する罫線の数は4本以上ならば何本でも
構わない。一つのセルは一つのセル情報28で管理す
る。またセルは、文字列が入った通常セルと、計算式が
入った式セルの2種類に分かれる。セル情報28は、セ
ルの上辺を形成する横罫線のうち一番左側にある横罫線
の横罫線レコードへのポインタ151と、セルの左辺を
形成する縦罫線のうち一番上側にある縦罫線の縦罫線レ
コードへのポインタ152と、セルの左上の座標153
と、セルのサイズ154と、セルの上辺を構成する横罫
線の数155と、セルの4角それぞれの角丸情報156
と、セルの4辺それぞれを形成する罫線の情報を基に各
辺の最大線幅を求めた情報157と、そのセルに属する
文字に関する情報である文字レコード(図10で詳細説
明)158と、セル内の文字列を組版した結果の文字位
置などの情報へのポインタ159と、セルが通常セルの
場合にのみ有効であり、計算時にセルが計算対象となっ
た時に計算処理プログラムに渡すセルの値を示す情報へ
のポインタ160と、次の情報が存在しない場合はNU
LLとなっている、次のセル情報へのポインタ161
と、先頭の情報の場合はNULLとなっている、前のセ
ル情報へのポインタ162とから構成され、ポインタ1
61、162の情報によりリスト構造を形成し、セル属
性に関する情報の領域(図3の34、35)に存在す
る。
FIG. 9 is a diagram showing a detailed structure of cell information. The number of ruled lines forming cells may be any number as long as it is four or more. One cell is managed by one cell information 28. There are two types of cells: normal cells containing character strings and formula cells containing calculation formulas. The cell information 28 includes a pointer 151 to the horizontal ruled line record of the leftmost horizontal ruled line of the horizontal ruled lines forming the upper side of the cell, and the vertical ruled line at the top of the vertical ruled lines forming the left side of the cell. A pointer 152 to the vertical ruled line record and the upper left coordinate 153 of the cell
, The cell size 154, the number of horizontal ruled lines 155 constituting the upper side of the cell, and rounded corner information 156 for each of the four corners of the cell
Information 157 in which the maximum line width of each side is obtained based on the information of the ruled lines forming each of the four sides of the cell, and a character record (detailed description in FIG. 10) 158 that is information regarding the characters belonging to the cell, A pointer 159 to information such as the character position of the result of formatting the character string in the cell, and is valid only when the cell is a normal cell, and the value of the cell to be passed to the calculation processing program when the cell becomes the calculation target at the time of calculation. Pointer 160 to information indicating the value, and NU if the next information does not exist
Pointer 161 to the next cell information, which is LL
And a pointer 162 to the previous cell information, which is NULL in the case of the information at the beginning.
A list structure is formed by the information 61 and 162, and the list structure exists in the information area (34 and 35 in FIG. 3) regarding the cell attribute.

【0034】図10は文字レコードの詳細な構造を示す
図である。文字レコード158は、セル情報28と一対
一で対応したセル内の文字に関する情報で、セル情報2
8内に保持され、表組データをファイルとして保存した
場合に文字レコード全体のバイト数を保持する編集中は
使用しない領域171と、セルロック、見出し指定、セ
ルの種別(通常または式)を示すフラグ172と、セル
がグループ化されていた場合のグループ番号173と、
グループの先頭メンバセルの時のみ有効のグループメン
バ数174と、セルがグループ化されている時のみ有効
であり、グループ内で何番目のメンバであるかを示すグ
ループ内メンバ番号175と、計算処理時に式がセルを
特定する指標となるセルアドレス176と、セル属性情
報(図11で詳細説明)34へのポインタ177と、こ
の文字レコードが所属するセルの先頭横罫線を特定する
情報178と、グループ化されたセルの場合に各メンバ
セル毎に文字列を管理するための情報179と、通常セ
ルの場合は文字データバッファ(通常セル)183、式
セルの場合は文字データバッファ(式セル)185の領
域全体のサイズを文字数で示す文字データカウント18
0と、文字データカウント180と同様に文字データバ
ッファのサイズを文字数で示す文字データバッファのサ
イズ181と、文字データバッファへのポインタ182
とから構成されている。ここでグループとは、グループ
化することにより複数のセルを1つのセルとみなす表組
独自の処理形態で、それに対して入力された文字列は、
グループの先頭メンバからグループメンバ番号に従って
順に各セルに割り当てて表示する。また、セルが通常セ
ルの場合、文字データバッファは、文字列(文字編集処
理のコマンドと文字コード)184のみで占められる。
また、式セルの場合、文字データバッファは、図10に
186〜191で示す部分に分かれる。文字データバッ
ファ(式セル)185には、計算結果をオプションセル
属性(図12で詳細説明)として保持する計算値表示属
性を参照して加工した文字列(文字編集処理のコマンド
と文字コード)187とその文字数186とからなる表
示文字列情報と、計算結果の情報を格納する領域188
と、計算処理プログラムによる処理時に用いるための計
算に必要な情報を格納する領域189と、セルが保持す
る式本体で逆ポーランド形式のデータ191とその文字
数190とからなる式情報とから構成されている。
FIG. 10 is a diagram showing the detailed structure of a character record. The character record 158 is information about characters in a cell that has a one-to-one correspondence with the cell information 28.
8 shows the area 171 that is not used during editing and holds the number of bytes of the entire character record when table data is saved as a file, and cell lock, heading specification, and cell type (normal or formula) A flag 172, a group number 173 when cells are grouped,
The number of group members 174 that is valid only for the first member cell of the group, the member number 175 in the group that is valid only when the cells are grouped, and indicates the number of members in the group, and the calculation process A cell address 176, which is an index for identifying a cell, a pointer 177 to cell attribute information (detailed description in FIG. 11) 34, information 178 for identifying the top horizontal ruled line of the cell to which this character record belongs, and a group Information 179 for managing a character string for each member cell in the case of a converted cell, a character data buffer (normal cell) 183 in the case of a normal cell, and a character data buffer (expression cell) 185 in the case of a formula cell Character data count that indicates the size of the entire area by the number of characters 18
0, a character data buffer size 181 indicating the size of the character data buffer in the same way as the character data count 180, and a pointer 182 to the character data buffer
It consists of and. Here, a group is a processing method unique to a table group in which a plurality of cells are regarded as one cell by grouping, and a character string input thereto is
The cells are displayed in order from the first member of the group according to the group member number. When the cell is a normal cell, the character data buffer is occupied only by the character string (command and character code of character edit processing) 184.
Further, in the case of the formula cell, the character data buffer is divided into the portions indicated by 186 to 191 in FIG. In the character data buffer (formula cell) 185, a character string (command and character code of character editing process) 187 processed with reference to the calculated value display attribute that holds the calculation result as an option cell attribute (detailed description in FIG. 12). Area 188 for storing display character string information including the number of characters and the number of characters 186, and calculation result information
And an area 189 for storing information necessary for calculation to be used at the time of processing by the calculation processing program, and expression information including data 191 in reverse Polish format in the expression body held by the cell and the number of characters 190 thereof. There is.

【0035】図11はセル属性情報の詳細な構造を示す
図である。セル属性情報34は、同図に示すように、各
文字レコードが必ず1つだけ持つ情報で、1つのセル属
性情報34が複数の文字レコードから参照される場合も
あり、セル属性情報34全体のバイト数201と、その
セル情報が幾つの文字レコードから参照されているかを
示す値202と、組方向などの情報である組フラグ20
3と、文字タイプ(全角、半角など)、上下左右の揃え
などの情報である文字フラグ204と、セル内で日本語
を入力した時に使用する書体に関する標準書体情報20
5と、セル内で英数字を入力した時に使用する書体に関
する欧文書体情報206と、文字の背景色に関する情報
207と、行間208と、左余白209と、右余白21
0と、上余白211と、下余白212と、ここで持って
いないオプション属性はデフォルトのオプション属性を
用いてこのセル属性がどの種類のオプション属性をもっ
ているかを示す情報213と、セルの面種情報214
と、箇条書き字下げ文字数215と、段落字下げ文字数
216と、和文と欧文混在文章をきれいに表示するため
のベースライン調整量217と、オプション属性を一つ
も保持していない場合はNULLとなっており、このセ
ル属性が保持するオプション属性情報へのポインタ21
8とから構成されている。
FIG. 11 is a diagram showing a detailed structure of cell attribute information. As shown in the figure, the cell attribute information 34 is information that each character record always has only one, and one cell attribute information 34 may be referred to by a plurality of character records. The number of bytes 201, a value 202 indicating how many character records refer to the cell information, and a set flag 20 that is information such as a set direction.
3 and a character flag 204, which is information such as character type (full-width, half-width, etc.), and alignment of top, bottom, left, and right, and standard typeface information 20 about the typeface used when Japanese is input in a cell
5, the European typeface information 206 regarding the typeface used when an alphanumeric character is input in the cell, the information 207 regarding the background color of the character, the line spacing 208, the left margin 209, and the right margin 21.
0, an upper margin 211, a lower margin 212, information 213 indicating which type of optional attribute this cell attribute has by using default optional attributes not included here, and cell face information 214
The number of bullet indentation characters 215, the number of paragraph indentation characters 216, the amount of baseline adjustment 217 for displaying Japanese and European mixed sentences neatly, and NULL if no option attribute is held. And a pointer 21 to the option attribute information held by this cell attribute
And 8.

【0036】図12はオプション属性情報の詳細な構造
を示す図である。オプション属性は、一つのセル属性情
報に対して一つのオプション属性リストという形式で保
持する。ここでオプション属性リストとは、オプション
属性情報がセル属性情報のオプション属性フラグ(図1
1参照)213で指定された種類分だけ図12の224
に示すようにつながったものをいう。オプション属性情
報は、和文強調書体1〜5、欧文強調書体1〜5、式計
算値表示属性、タブ情報の12種類のオプション属性の
データ種別221と、処理の便宜上、各種別とも同サイ
ズであって種別に応じた形式のデータが格納されている
オプション属性のデータ本体222と、次のオプション
属性がない場合はNULLとなっている、次のオプショ
ン属性情報へのポインタ223とから構成されている。
FIG. 12 is a diagram showing a detailed structure of the option attribute information. Option attributes are held in the form of one option attribute list for one cell attribute information. Here, the optional attribute list is an optional attribute flag whose optional attribute information is cell attribute information (see FIG. 1).
1) 224 of FIG. 12 for the type specified in 213
It is connected as shown in. The option attribute information has the same size for each type as the data type 221 of 12 types of optional attributes such as Japanese emphasized typefaces 1 to 5, European emphasized typefaces 1 to 5, formula calculation value display attributes, and tab information. And a pointer 223 to the next option attribute information, which is NULL when there is no next option attribute and which is NULL when there is no next option attribute. .

【0037】図13に区切れ情報の詳細な構造を示す。
区切れ情報26は、同図に示すように、次の情報が存在
しない場合はNULLとなっている、次の区切れ情報2
6へのポインタ231と、先頭の情報の場合はNULL
となっている、前の区切れ情報26へのポインタ232
と、交差方向を示すグラフ233と、区切れ位置の座標
234と、交差する相手の罫線レコードへのポインタ2
35とから構成され、ポインタ231、232の情報に
よりリスト構造を形成し、区切れ情報の領域(図3の2
6、27)に存在する。
FIG. 13 shows the detailed structure of the break information.
The break information 26 is NULL when the next information does not exist, as shown in FIG.
6 for pointer 231 and NULL for the first information
232 is a pointer 232 to the previous break information 26.
, A graph 233 indicating the crossing direction, the coordinates 234 of the break position, and a pointer 2 to the ruled line record of the other party to cross.
35, a list structure is formed by the information of the pointers 231, 232, and an area of the break information (2 in FIG. 3).
6, 27).

【0038】図14は選択罫線情報の詳細な構造を示す
図である。選択罫線情報ヘッダ81は、選択中の罫線に
関する情報で、ローカルデータ領域内の作業領域管理情
報内(図5の81)に保持する。選択罫線情報は、選択
中の全罫線範囲の左上の座標241と、同じく右下の座
標242と、選択罫線情報の配列用に確保しているメモ
リ上に、幾つの選択罫線情報を格納できるかを示す値
で、領域が不足した場合は新たに領域を確保し直す最大
選択罫線数243と、選択中の罫線数244と、選択罫
線情報の配列の先頭アドレス245と、縦、横、斜罫線
のいずれかの罫線種別246と、その罫線レコードへの
ポインタ247と、罫線の一部(区切れ単位で)のみが
選択されている場合に、その部分を特定するための情報
248、249とから構成されている。
FIG. 14 is a diagram showing a detailed structure of the selected ruled line information. The selected ruled line information header 81 is information regarding the selected ruled line and is held in the work area management information (81 in FIG. 5) in the local data area. As for the selected ruled line information, how many selected ruled line information can be stored in the upper left coordinate 241 of the entire selected ruled line range, the lower right coordinate 242, and the memory reserved for the arrangement of the selected ruled line information. , The maximum number of selected ruled lines 243 to reallocate a new area when the region is insufficient, the number of selected ruled lines 244, the start address 245 of the array of selected ruled line information, and the vertical, horizontal, and diagonal ruled lines. Of any of the ruled line types 246, a pointer 247 to the ruled line record, and information 248, 249 for specifying the part of the ruled line (in units of breaks) when selected. It is configured.

【0039】図15に選択セル情報の詳細な構造を示
す。選択セル情報ヘッダ82は、選択中のセルに関する
情報で、ローカルデータ領域内の作業領域管理情報内
(図5の82)に保持する。選択セル情報ヘッダ82
は、選択セル情報の配列用に確保しているメモリ上に、
幾つの選択罫線情報を格納できるかを示す値で、領域が
不足した場合は新たに領域を確保し直す最大選択セル数
251と、選択中のセル数252と、選択セル情報の配
列の先頭アドレス253とから構成されている。各選択
セル情報は、処理時に用いるワーク用のフラグ254
と、セル情報へのポインタ255とから構成されてい
る。
FIG. 15 shows the detailed structure of the selected cell information. The selected cell information header 82 is information regarding the selected cell and is held in the work area management information (82 in FIG. 5) in the local data area. Selected cell information header 82
On the memory reserved for the array of selected cell information,
A value indicating how many pieces of selection ruled line information can be stored. When the area is insufficient, the maximum number of selected cells 251, the number of selected cells 252, and the start address of the array of selected cell information are newly secured. And 253. Each selected cell information has a work flag 254 used at the time of processing.
And a pointer 255 to cell information.

【0040】次に、本実施例の動作を図16乃至図19
をも参照し、図23及び図24のフローチャートに従っ
て説明する。図16乃至図19は空セルに通常の文字列
を入力した後、式を入力する場合の動作を説明するため
の図、図23は本実施例装置のCPU6による式入力処
理を示すフローチャート、図24は図23におけるステ
ップS4の表示処理の詳細を示すフローチャートであ
る。
Next, the operation of this embodiment will be described with reference to FIGS.
Also, referring to FIG. 16 to 19 are diagrams for explaining the operation when a formula is inputted after a normal character string is inputted to an empty cell, and FIG. 23 is a flowchart showing a formula input process by the CPU 6 of the apparatus of this embodiment. 24 is a flowchart showing details of the display process of step S4 in FIG.

【0041】まず、CRT表示装置1の表示画面は、図
16に示すように、文字カーソル301がセル300の
中央に表示され、何も入力されていないセル300の文
字入力を開始した状態となっているとする。
First, on the display screen of the CRT display device 1, as shown in FIG. 16, the character cursor 301 is displayed in the center of the cell 300 and the character input of the cell 300 in which nothing has been input is started. Suppose

【0042】ここで、オペレータが、キーボード4の文
字入力手段を操作して例えば「あいうえお」の如く通常
の文字列302を入力すると、図17のようにその入力
した文字列302がCRT表示装置1に表示される。次
に、オペレータが、キーボード4の指定手段を操作して
図18のように式計算結果を表示させたい位置(例えば
文字「い」、「う」間)に文字カーソル301を移動さ
せ、続いてキーボード4の式入力手段により式の入力を
行うと、CPU6は、図23のフローチャートに示すよ
うに、入力された式の文法が正しいか否かをチェックす
る(S1)。式の文法が正しくない場合は、式の入力処
理を終了する。式の文法が正しい場合は、現在の文字カ
ーソル301の位置に「式コマンド」を挿入する(S
2)。なお、「式コマンド」とは、文字列中の式計算結
果を表示させる位置を記憶するコマンドであり、図10
の文字データバッファ(通常セル)183にて、通常の
文字列データと一緒に管理されるものである。CPU6
は、入力された式を実際に設定し計算を行い(S3)、
その式計算結果(文字列)303の表示処理を行う(S
4、S5乃至S8)。この表示処理では、図24のフロ
ーチャートに示すように、CPU6が、表示する対象が
式コマンドか否かを調べる(S5)。式コマンドであっ
た場合は、図19に示すように、式コマンドの位置に式
計算結果文字列303を表示する(S6)。式コマンド
でなかった場合は、通常の文字列302の表示を行う
(S7)。前記ステップS6又はS7にて式計算結果3
03又は通常の文字列302を表示した後、全ての文字
列302、303の表示が終了したか否かを調べる(S
8)。全ての文字列302、303の表示が終了したな
らば、セル文字列の表示処理を終了し、続いて式入力処
理も終了する。文字列302、303の表示が終了して
いなければ、前記ステップS5に戻って次の式計算結果
302又は通常の文字列302の表示を行う。
When the operator operates the character input means of the keyboard 4 to input a normal character string 302 such as "aiueo", the input character string 302 is displayed on the CRT display device 1 as shown in FIG. Is displayed in. Next, the operator operates the designating means of the keyboard 4 to move the character cursor 301 to a position (for example, between the letters "i" and "u") where the formula calculation result is to be displayed as shown in FIG. When an expression is input by the expression input means of the keyboard 4, the CPU 6 checks whether or not the grammar of the input expression is correct, as shown in the flowchart of FIG. 23 (S1). If the grammar of the expression is incorrect, the input processing of the expression ends. If the grammar of the expression is correct, the "expression command" is inserted at the current position of the character cursor 301 (S
2). The “expression command” is a command for storing the position of displaying the expression calculation result in the character string.
The character data buffer (normal cell) 183 is managed together with normal character string data. CPU6
Actually sets the input expression and calculates (S3),
Display processing of the formula calculation result (character string) 303 is performed (S
4, S5 to S8). In this display processing, as shown in the flowchart of FIG. 24, the CPU 6 checks whether the display target is an expression command (S5). When it is an expression command, as shown in FIG. 19, the expression calculation result character string 303 is displayed at the position of the expression command (S6). If it is not an expression command, the normal character string 302 is displayed (S7). Formula calculation result 3 in step S6 or S7
After displaying 03 or the normal character string 302, it is checked whether or not the display of all character strings 302 and 303 is completed (S
8). When the display of all the character strings 302 and 303 is completed, the cell character string display process is ended, and then the formula input process is also ended. If the display of the character strings 302 and 303 has not been completed, the process returns to step S5 and the next expression calculation result 302 or the normal character string 302 is displayed.

【0043】図16乃至図19では、空セル300に通
常の文字列302を入力した後、式を入力する場合につ
いて説明したが、図16及び図20乃至図22では、空
セル300に式を入力し、後から通常の文字列302を
入力する場合について説明する。図16の何も入力され
ていない空セル300に式を入力すると、前記ステップ
S1乃至S8の処理が行われ、図20のように式の計算
結果302が表示される。次に、図21のように文字カ
ーソル301を任意の位置(例えば式の計算結果の先
頭)に移動させて例えば「あいう」の如く文字列302
を入力すると、図21のようになる。ここで、カーソル
301を別の位置(式の計算結果の最後)に移動させて
例えば「かきく」の如く文字列302を入力すると、図
22のようになる。なお、1つのセル300に対して式
は1つのみ入力可能であるが、1つのセル300に対し
て同じ式を複数回設定すると、その都度カーソル位置に
式コマンドが挿入されるため、図25に示すように、式
の計算結果302を複数の位置に表示させることができ
る。
16 to 19, the case where the formula is input after the normal character string 302 is input to the empty cell 300 has been described, but in FIGS. 16 and 20 to 22, the formula is input to the empty cell 300. The case of inputting and then the normal character string 302 will be described. When an expression is input to the empty cell 300 in FIG. 16 in which nothing is input, the processes of steps S1 to S8 are performed, and the calculation result 302 of the expression is displayed as shown in FIG. Next, as shown in FIG. 21, the character cursor 301 is moved to an arbitrary position (for example, the head of the calculation result of the formula), and the character string 302 such as “Ai” is displayed.
When is input, it becomes as shown in FIG. Here, when the cursor 301 is moved to another position (the end of the calculation result of the formula) and the character string 302 such as "Kakiku" is input, the result is as shown in FIG. Note that only one formula can be input to one cell 300, but if the same formula is set multiple times to one cell 300, the formula command is inserted at the cursor position each time, so that FIG. As shown in, the calculation result 302 of the formula can be displayed at a plurality of positions.

【0044】次に、本発明の第2の実施例を説明する。
本実施例では、セルの文字編集中(文字編集モード)に
おける式の入力について示したが、本実施例から文字を
入力する文字入力手段と文字カーソル表示手段を削除し
て、セル選択手段とセルの文字列中に式コマンドが存在
するか否かを判定する判定手段を追加することにより、
セルを編集対象としてセル属性を設定したりセルをロッ
クしたりするモード(セル選択モード)において実施す
ることも可能である。セル選択モードにて式を入力する
場合は、式コマンドが存在しない場合は、選択されたセ
ル内の文字列の先頭に挿入し、式コマンドが存在する場
合は、新たな式コマンドの挿入は行わない。
Next, a second embodiment of the present invention will be described.
In the present embodiment, the input of the formula during the character editing of the cell (character editing mode) has been described. However, the character input means for inputting the character and the character cursor display means are deleted from the present embodiment to replace the cell selecting means and the cell. By adding the judgment means to judge whether the expression command exists in the character string of
It is also possible to carry out in a mode (cell selection mode) in which the cell attribute is set or the cell is locked with the cell as an edit target. When entering a formula in cell selection mode, if no formula command exists, insert it at the beginning of the character string in the selected cell, and if a formula command exists, insert a new formula command. Absent.

【0045】この第2の実施例の動作を図26乃至図2
8を参照し、図29のフローチャートに従って説明す
る。図26乃至図28は第2の実施例の表示例を示した
ものである。図29は第2の実施例の式入力処理を示す
フローチャートである。図26に示すように、オペレー
タが、「たちつてと」の如く文字列302が入力された
通常セルをセル選択手段にて選択すると、図27に示す
ように、例えば文字列302と地の部分304とが白黒
反転表示される。ここで、オペレータが、キーボード4
を操作して式を入力すると、CPU6は、入力された式
の文法が正しいか否かチェックし(S9)、式の文法が
正しくなければ終了する。式の文法が正しければ、選択
されているセル300に式コマンドが存在するか否かを
調べる(S10)。式コマンドがある場合は、式の設定
処理を行う(S12)。式コマンドがない場合は、CP
U6は、選択されているセル300内の文字列302の
先頭に式コマンドを挿入し(S11)、式の設定処理を
行う(S12)。図28に示すように、式コマンドを挿
入した文字列302の先頭に「0.234%」の如く式
計算結果303を表示して表示処理を終了する(S1
3)。
The operation of the second embodiment will be described with reference to FIGS.
8 will be described with reference to the flowchart of FIG. 26 to 28 show display examples of the second embodiment. FIG. 29 is a flow chart showing the expression input process of the second embodiment. As shown in FIG. 26, when the operator selects a normal cell in which the character string 302 is input such as “Tachitsuto” by the cell selecting means, as shown in FIG. 27, for example, the character string 302 and the ground portion are displayed. 304 and black and white are displayed in reverse. Here, the operator uses the keyboard 4
When is operated to input an expression, the CPU 6 checks whether or not the grammar of the input expression is correct (S9), and ends if the expression grammar is not correct. If the grammar of the formula is correct, it is checked whether or not a formula command exists in the selected cell 300 (S10). If there is an expression command, expression setting processing is performed (S12). CP if no expression command
U6 inserts an expression command at the beginning of the character string 302 in the selected cell 300 (S11) and performs expression setting processing (S12). As shown in FIG. 28, the expression calculation result 303 is displayed at the beginning of the character string 302 in which the expression command is inserted, such as "0.234%", and the display processing is ended (S1.
3).

【0046】次に、本発明の第3の実施例について説明
する。本実施例では式の設定を行ううと、カーソル位置
に式コマンドが挿入されたが、この他に新たに式コマン
ドの挿入を行う式コマンド挿入手段を加えることによ
り、文字編集中に任意のカーソル位置に式コマンドを挿
入することができる。
Next, a third embodiment of the present invention will be described. In this embodiment, when the expression was set, the expression command was inserted at the cursor position.However, by adding an expression command inserting means for newly inserting the expression command, any cursor position can be edited during character editing. You can insert an expression command into.

【0047】この第3の実施例の動作を図30乃至図3
2を参照し、図33のフローチャートに従って説明す
る。図30乃至図32は式コマンドの挿入動作を説明す
るための図である。図33は第3の実施例の式コマンド
挿入処理を示すフローチャートである。まず、図30に
示すように、式と文字列302が混在したセル300の
式コマンドの位置に「0.234%」の如く式計算結果
303が表示されているとする。ここで、図31に示す
ように、オペレータが、キーボード4を操作して文字カ
ーソル301を式計算結果303を表示したい任意の位
置に移動させ、式コマンド挿入手段により文字編集中の
セル300のカーソル位置に式コマンドを挿入すると
(S14)、CPU6は、図32に示すように、カーソ
ル301のあった位置に式計算結果303を表示する
(S15)。
The operation of the third embodiment will be described with reference to FIGS.
Referring to FIG. 2, description will be given according to the flowchart of FIG. 30 to 32 are diagrams for explaining the inserting operation of the expression command. FIG. 33 is a flow chart showing the expression command insertion processing of the third embodiment. First, as shown in FIG. 30, it is assumed that the formula calculation result 303 such as “0.234%” is displayed at the position of the formula command of the cell 300 in which the formula and the character string 302 are mixed. Here, as shown in FIG. 31, the operator operates the keyboard 4 to move the character cursor 301 to an arbitrary position where the formula calculation result 303 is to be displayed, and the cursor of the cell 300 during character editing by the formula command inserting means. When the formula command is inserted at the position (S14), the CPU 6 displays the formula calculation result 303 at the position of the cursor 301 (S15), as shown in FIG.

【0048】次に、本発明の第4の実施例につて説明す
る。本実施例では言及しなかったが、新たにカーソル位
置の1つ前の1文字を削除する文字削除手段を加え、式
コマンドの後ろにカーソル301を移動させて削除を実
行することで、式コマンドを削除することが可能とな
る。これにより、式コマンドの位置に表示されていた式
計算結果は、表示されなくなる。さらに、セル300の
文字列中に式コマンドが存在するか否かを判定する判定
手段を加えることにより、セル300内の全ての式コマ
ンドを削除してセル300の編集を終了すると、そのセ
ル300に設定されていた式を削除することも可能であ
る。図34は第4の実施例のセルの文字編集処理を示す
フローチャートである。オペレータは、キーボード4を
操作してカーソル301を削除したい式コマンドの1つ
後ろに移動し、文字削除手段により式の削除操作を行う
と判定手段が、セル300の文字列中に式コマンドが存
在するか否かを調べ(S16)、式コマンドが存在しな
い場合は、CPU6は、セル300の文字編集の終了処
理を行う(S19)。式コマンドがある場合は、CPU
6は、セル300に式が設定されているか否かを調べ
(S17)、式が設定されていない場合は、セル300
の文字編集の終了処理を行う(S19)。式が設定され
ている場合は、CPU6は、その式の削除を行い(S1
8)、セル300の文字編集の終了処理を行う(S1
9)。続いてセル300の文字列の表示処理を行った後
(S20)、処理を終了する。
Next, a fourth embodiment of the present invention will be described. Although not mentioned in the present embodiment, a character deleting means for newly deleting one character before the cursor position is added, and the cursor 301 is moved after the expression command to execute the deletion. Can be deleted. As a result, the formula calculation result displayed at the position of the formula command is no longer displayed. Furthermore, by adding a determining means for determining whether or not a formula command exists in the character string of the cell 300, when all the formula commands in the cell 300 are deleted and the editing of the cell 300 ends, the cell 300 It is also possible to delete the expression that was set to. FIG. 34 is a flow chart showing a cell character editing process of the fourth embodiment. When the operator operates the keyboard 4 to move the cursor 301 to the back of the expression command one wants to delete, and when the character deletion means performs the expression deletion operation, the determination means determines that the expression command exists in the character string of the cell 300. It is checked whether or not to execute (S16), and if there is no formula command, the CPU 6 performs a character edit end process of the cell 300 (S19). CPU if there is an expression command
6 checks whether or not the formula is set in the cell 300 (S17), and if the formula is not set, the cell 300 is checked.
A character edit end process is performed (S19). When the expression is set, the CPU 6 deletes the expression (S1
8), end processing of character editing of cell 300 is performed (S1)
9). Subsequently, after displaying the character string of the cell 300 (S20), the process ends.

【0049】次に、本発明の第5の実施例について説明
する。第4の実施例に関連してカット・コピー・ペース
トなどの通常の文字に対して行う手段を式コマンドに対
しても可能とすることで、式コマンドの編集を通常の文
字を編集するのと同じ感覚で行うことができる。
Next, a fifth embodiment of the present invention will be described. In connection with the fourth embodiment, the means for performing ordinary characters such as cut, copy, paste, etc. is also enabled for the equation command, so that the expression command can be edited as ordinary characters. You can do it with the same feeling.

【0050】次に、本発明の第6の実施例について説明
する。本実施例では特に言及していないが、式コマンド
の文字列を通常の文字列と同様に一般の組版ルールで組
版を行うと、式コマンドの途中で自動改行が発生する場
合が考えられるので、式コマンドの文字列を自動的に分
離禁止することで、これを回避することが可能となる。
図35、図36は第6の実施例に関する図である。図3
5は「¥5,000.00」の如く式計算結果303を
一般の組版ルールで組版した場合を示しており、「,]
の後ろで自動改行が発生してしまっている。一方、図3
6は式計算結果303が分離禁止扱いで組版した結果を
示しており、式計算結果303が一体となって次の行に
追出されている。
Next, a sixth embodiment of the present invention will be described. Although not particularly mentioned in the present embodiment, if the character string of the expression command is formatted by a general formatting rule like a normal character string, an automatic line break may occur in the middle of the expression command, so This can be avoided by automatically prohibiting the character string of the expression command from being separated.
35 and 36 are diagrams relating to the sixth embodiment. FIG.
5 shows the case where the formula calculation result 303 is typeset by a general typesetting rule like “¥ 5,000.00”.
An automatic line break has occurred after the. On the other hand, FIG.
Reference numeral 6 shows the result of the formula calculation result 303 being formatted in the prohibition of separation, and the formula calculation result 303 is integrated and added to the next line.

【0051】次に、本発明の第7の実施例について説明
する。本実施例にさらに、セル300の文字列中に式コ
マンドが存在するか否かを判定する判定手段と、セル3
00中の全ての式コマンドを削除する式コマンド削除手
段とを設けることにより、セル300の文字列中に複数
入力されている式コマンドを一括して削除することが可
能となる。図37は第7の実施例の式コマンド削除処理
を示すフローチャートである。判定手段が、セル300
の文字列中に式コマンドが存在するか否かを調べる(S
21)。式コマンドが存在しない場合は、セル文字列の
表示を行って(S23)終了する。式コマンドが存在す
る場合は、セル300内の文字列中の最初に見つかった
式コマンドを式コマンド削除手段により削除した後(S
22)、再度前記ステップS21へ進む。このステップ
S21、S22の処理を繰り返すことにより、セル30
0の文字列中から全ての式コマンドを削除する。
Next, a seventh embodiment of the present invention will be described. The present embodiment further includes a determination unit that determines whether or not an expression command exists in the character string of the cell 300, and a cell 3
By providing a formula command deleting unit that deletes all formula commands in 00, it is possible to collectively delete a plurality of formula commands input in the character string of the cell 300. FIG. 37 is a flow chart showing the formula command deletion processing of the seventh embodiment. The determination means is the cell 300
Check whether there is an expression command in the character string of (S
21). If there is no formula command, the cell character string is displayed (S23) and the process ends. If there is an expression command, the expression command found first in the character string in the cell 300 is deleted by the expression command deleting means (S).
22), and the process again proceeds to step S21. By repeating the processing of steps S21 and S22, the cell 30
Delete all expression commands from the 0 character string.

【0052】このような上記実施例によれば、式セルに
対して任意の文字の入力が可能となり、通常の文字列と
式計算結果を1セル中に混在して表示させることができ
るようになり、1つのセルに複数の式計算結果を表示す
ることが可能となった。これにより、文書中(1セル
中)に複数の計算結果を引用して用いることが可能とな
った。また、文字編集中の式の設定を行うことが可能と
なった(実現が容易になった)。さらに、式計算結果に
対して通常の文字のように文字修飾や強調書体の設定が
行えるようになった。
According to the above-described embodiment, it is possible to input an arbitrary character to the formula cell, and it is possible to display the normal character string and the formula calculation result in a mixed manner in one cell. It is now possible to display multiple formula calculation results in one cell. This makes it possible to cite and use a plurality of calculation results in a document (one cell). Also, it became possible to set the expression during character editing (implementation became easier). In addition, it is now possible to set character decorations and emphasized typefaces for formula calculation results like ordinary characters.

【0053】[0053]

【発明の効果】以上詳述した本発明によれば、以下の効
果を奏する。
According to the present invention described in detail above, the following effects can be obtained.

【0054】請求項1記載の発明によれば、文字が入力
されたセルに式を入力でき、式が入力されたセルに文字
を入力できるので、同一のセル内に通常の文字列と式計
算結果とを混在して表示させることが可能な文書処理装
置を提供することができる。
According to the first aspect of the invention, the formula can be entered in the cell in which the character is entered, and the character can be entered in the cell in which the formula is entered. Therefore, the normal character string and the formula calculation can be performed in the same cell. It is possible to provide a document processing device capable of displaying a mixed result.

【0055】請求項2記載の発明によれば、同一セルに
複数の式計算結果を表示することができる。
According to the second aspect of the invention, a plurality of formula calculation results can be displayed in the same cell.

【0056】請求項3記載の発明によれば、式計算結果
を表示する位置の指定を行わずに、同一のセル内に通常
の文字列と式計算結果とを混在して表示させることが可
能となる。
According to the third aspect of the invention, it is possible to display the normal character string and the formula calculation result in a mixed manner in the same cell without designating the position for displaying the formula calculation result. Becomes

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

【図1】本実施例のブロック図である。FIG. 1 is a block diagram of this embodiment.

【図2】表組のデータ構造を示す図である。FIG. 2 is a diagram showing a data structure of a table set.

【図3】表組のデータ構造を示す図である。FIG. 3 is a diagram showing a data structure of a table group.

【図4】表組制御情報の詳細な構造を示す図である。FIG. 4 is a diagram showing a detailed structure of table group control information.

【図5】作業管理情報の詳細な構造を示す図である。FIG. 5 is a diagram showing a detailed structure of work management information.

【図6】斜罫線レコードの詳細な構造を示す図である。FIG. 6 is a diagram showing a detailed structure of a diagonal ruled line record.

【図7】横罫線レコードの詳細な構造を示す図である。FIG. 7 is a diagram showing a detailed structure of a horizontal ruled line record.

【図8】縦罫線レコードの詳細な構造を示す図である。FIG. 8 is a diagram showing a detailed structure of a vertical ruled line record.

【図9】セル情報の詳細な構造を示す図である。FIG. 9 is a diagram showing a detailed structure of cell information.

【図10】文字レコードの詳細な構造を示す図である。FIG. 10 is a diagram showing a detailed structure of a character record.

【図11】セル属性情報の詳細な構造を示す図である。FIG. 11 is a diagram showing a detailed structure of cell attribute information.

【図12】オプション属性情報の詳細な構造を示す図で
ある。
FIG. 12 is a diagram showing a detailed structure of option attribute information.

【図13】区切れ情報の詳細な構造を示す図である。FIG. 13 is a diagram showing a detailed structure of break information.

【図14】選択罫線情報の詳細な構造を示す図である。FIG. 14 is a diagram showing a detailed structure of selected ruled line information.

【図15】選択セル情報の詳細な構造を示す図である。FIG. 15 is a diagram showing a detailed structure of selected cell information.

【図16】空セルの文字入力開始状態を示す図である。FIG. 16 is a diagram showing a character input start state of an empty cell.

【図17】空セルに文字列を入力した後、式を入力する
場合を説明するための図である。
FIG. 17 is a diagram for explaining a case of inputting a formula after inputting a character string in an empty cell.

【図18】空セルに文字列を入力した後、式を入力する
場合を説明するための図である。
FIG. 18 is a diagram for explaining a case of inputting a formula after inputting a character string in an empty cell.

【図19】空セルに文字列を入力した後、式を入力する
場合を説明するための図である。
FIG. 19 is a diagram for explaining a case of inputting a formula after inputting a character string in an empty cell.

【図20】空セルに式を入力した後、文字列を入力する
場合を説明するための図である。
FIG. 20 is a diagram for explaining a case of inputting a character string after inputting a formula in an empty cell.

【図21】空セルに式を入力した後、文字列を入力する
場合を説明するための図である。
FIG. 21 is a diagram for explaining a case of inputting a character string after inputting a formula in an empty cell.

【図22】空セルに式を入力した後、文字列を入力する
場合を説明するための図である。
FIG. 22 is a diagram for explaining a case of inputting a character string after inputting a formula in an empty cell.

【図23】本実施例の動作を示すフローチャートであ
る。
FIG. 23 is a flowchart showing the operation of this embodiment.

【図24】本実施例の動作を示すフローチャートであ
る。
FIG. 24 is a flowchart showing the operation of this embodiment.

【図25】式計算結果を複数の位置に表示する例を示す
図である。
FIG. 25 is a diagram showing an example of displaying formula calculation results at a plurality of positions.

【図26】第2の実施例を説明するための図である。FIG. 26 is a diagram for explaining the second embodiment.

【図27】第2の実施例を説明するための図である。FIG. 27 is a diagram for explaining the second embodiment.

【図28】第2の実施例を説明するための図である。FIG. 28 is a diagram for explaining the second embodiment.

【図29】第2の実施例の式入力処理を示すフローチャ
ートである。
FIG. 29 is a flowchart showing an expression input process of the second embodiment.

【図30】第3の実施例を説明するための図である。FIG. 30 is a diagram for explaining the third embodiment.

【図31】第3の実施例を説明するための図である。FIG. 31 is a diagram for explaining the third embodiment.

【図32】第3の実施例を説明するための図である。FIG. 32 is a diagram for explaining the third embodiment.

【図33】第3の実施例の式コマンド挿入処理を示すフ
ローチャートである。
FIG. 33 is a flowchart showing an expression command insertion process of the third embodiment.

【図34】第4の実施例のセルの文字編集処理を示すフ
ローチャートである。
FIG. 34 is a flow chart showing a cell character editing process of the fourth embodiment.

【図35】第6の実施例を説明するための図である。FIG. 35 is a diagram for explaining the sixth embodiment.

【図36】第6の実施例を説明するための図である。FIG. 36 is a diagram for explaining the sixth embodiment.

【図37】第7の実施例の式コマンド削除処理を示すフ
ローチャートである。
FIG. 37 is a flow chart showing an expression command deletion process of the seventh embodiment.

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

1 CRT表示装置(表示手段) 2 ビデオRAM 3 BMU 4 キーボード 5 ポインティングデバイス 6 CPU(制御手段) 7 ROM(制御手段) 8 作業用のRAM 9 ハードディスクドライブ 10 フロッピーディスクドライブ 11 ネットワークインタフェース 12 I/Oバス 300 セル 301 カーソル 302 通常の文字列 303 式計算結果 1 CRT display device (display means) 2 video RAM 3 BMU 4 keyboard 5 pointing device 6 CPU (control means) 7 ROM (control means) 8 working RAM 9 hard disk drive 10 floppy disk drive 11 network interface 12 I / O bus 300 cell 301 cursor 302 ordinary character string 303 formula calculation result

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 罫線編集機能を用いて縦罫線と横罫線と
で囲まれた複数のセルを作成した後、各セル内に文字又
は式を入力する表組編集が可能な文書処理装置におい
て、前記表組を表示する表示手段、任意の前記セル内で
文字又は式の入力位置を指定する指定手段と、この指定
手段により指定された入力位置に文字を入力する文字入
力手段と、前記指定手段により指定された入力位置に式
を入力する式入力手段と、前記文字入力手段による文字
入力操作に基づいて、入力された文字を当該入力位置に
表示するとともに、前記式入力手段による式入力操作及
びその設定操作に基づいて、入力された式の計算結果を
求め、この式計算結果を当該入力位置に表示する制御手
段とを有することを特徴とする文書処理装置。
1. A document processing device capable of editing a table group in which a plurality of cells surrounded by vertical ruled lines and horizontal ruled lines are created using a ruled line editing function, and then a character or an expression is input in each cell, Display means for displaying the table set, designating means for designating an input position of a character or expression in any of the cells, character input means for inputting a character at the input position designated by the designating means, and the designating means Based on the character input operation by the expression input means for inputting an expression to the input position designated by, the input character is displayed at the input position, and the expression input operation by the expression input means and A document processing apparatus comprising: a control unit that obtains a calculation result of an input expression based on the setting operation and displays the calculation result of the expression at the input position.
【請求項2】 前記制御手段は、同一の式に対して複数
の入力位置が指定された場合は、各入力位置に式計算結
果を表示することを特徴とする請求項1記載の文書処理
装置。
2. The document processing apparatus according to claim 1, wherein, when a plurality of input positions are designated for the same expression, the control means displays the expression calculation result at each input position. .
【請求項3】 罫線編集機能を用いて縦罫線と横罫線と
で囲まれた複数のセルを作成した後、各セル内に文字又
は式を入力する表組編集が可能な文書処理装置におい
て、前記表組を表示する表示手段、任意の前記セル内で
文字の入力位置を指定する指定手段と、この指定手段に
より指定された入力位置に文字を入力する文字入力手段
と、文字が入力されたセルを選択するセル選択手段と、
このセル選択手段により選択されたセル内に式を入力す
る式入力手段と、前記文字入力手段による文字入力操作
に基づいて、入力された文字を当該入力位置に表示する
とともに、前記式入力手段による式入力操作に基づい
て、入力位置を記憶させるための式コマンドを前記セル
選択手段により選択されたセル内の文字列の先頭に挿入
した後、式を設定して前記入力された式の計算結果を求
め、この式計算結果を当該先頭に表示する制御手段とを
有することを特徴とする文書処理装置。
3. A document processing device capable of table group editing, wherein a plurality of cells surrounded by vertical ruled lines and horizontal ruled lines are created using a ruled line editing function, and then characters or expressions are input in each cell. Display means for displaying the table set, designating means for designating a character input position in any of the cells, character input means for inputting a character at the input position designated by the designating means, and character input Cell selecting means for selecting cells,
Formula input means for inputting a formula in the cell selected by the cell selection means, and based on the character input operation by the character input means, the input character is displayed at the input position, and at the same time by the formula input means. Based on the formula input operation, after inserting the formula command for storing the input position at the beginning of the character string in the cell selected by the cell selecting means, set the formula and the calculation result of the inputted formula And a control means for displaying the formula calculation result at the head.
JP6304333A 1994-11-14 1994-11-14 Document processor Pending JPH08137857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6304333A JPH08137857A (en) 1994-11-14 1994-11-14 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6304333A JPH08137857A (en) 1994-11-14 1994-11-14 Document processor

Publications (1)

Publication Number Publication Date
JPH08137857A true JPH08137857A (en) 1996-05-31

Family

ID=17931748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6304333A Pending JPH08137857A (en) 1994-11-14 1994-11-14 Document processor

Country Status (1)

Country Link
JP (1) JPH08137857A (en)

Similar Documents

Publication Publication Date Title
US4912669A (en) Document-editing system
JPH08137857A (en) Document processor
JPH0916566A (en) Document processor and method therefor
JP3501483B2 (en) Document processing apparatus and document processing method
JPH1069480A (en) Method and processor for document processing, and storage medium
JP2002342696A (en) Device/method for creating business form, program and storage medium
JPH08137853A (en) Document processor
JPH07200558A (en) Document processing device
JPH08137839A (en) Document processor
JP3728768B2 (en) Method and apparatus for mixed processing of character string and ruled line
JPH086928A (en) Method and device for processing document
JPH08292992A (en) Device and method for document processing
JPH08137976A (en) Document processor
JPH07121509A (en) Document processor and method for joining ruled lines
JPH08137835A (en) Device and method for document processing
JPH07220010A (en) Method and device for table processing
JPH07200559A (en) Document processing device
JPH07219933A (en) Method for processing ruled line and document processor using the method
JPH08137854A (en) Document processor
JPH0830599A (en) Device and method for processing document
JPH08202695A (en) Device and method for ruled-line processing
JPH1074076A (en) Document processing method and apparatus therefor as well as memory medium
JPH0916565A (en) Document processor and method therefor
JPH086927A (en) Method and device for processing document
JPS6231470A (en) Linking system for documentation device