JPH0585929B2 - - Google Patents

Info

Publication number
JPH0585929B2
JPH0585929B2 JP60044007A JP4400785A JPH0585929B2 JP H0585929 B2 JPH0585929 B2 JP H0585929B2 JP 60044007 A JP60044007 A JP 60044007A JP 4400785 A JP4400785 A JP 4400785A JP H0585929 B2 JPH0585929 B2 JP H0585929B2
Authority
JP
Japan
Prior art keywords
calculation
range specification
range
address
cursor
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
JP60044007A
Other languages
Japanese (ja)
Other versions
JPS61202272A (en
Inventor
Sumio Hori
Tadashi Kimura
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 JP60044007A priority Critical patent/JPS61202272A/en
Publication of JPS61202272A publication Critical patent/JPS61202272A/en
Publication of JPH0585929B2 publication Critical patent/JPH0585929B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明は、文章の作成、編集を行なえる文字処
理装置、特に文章中の数値を参照して計算し、そ
の結果を文章中に出力する文字処理装置である。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a character processing device that can create and edit sentences, and particularly a character processing device that calculates with reference to numerical values in a sentence and outputs the results in the sentence.

[従来の技術] 従来この種の文字処理装置では、範囲指定を行
ないその部分の合計を計算することはできたが、
一度の範囲指定で小計及び合計を一括して計算、
出力することはできなかつた。
[Prior Art] Conventionally, in this type of character processing device, it was possible to specify a range and calculate the sum of that part.
Calculate subtotals and totals at once by specifying a range,
It was not possible to output it.

また、上記従来の文字処理装置では、計算結果
を所望の位置に出力させるためには、計算の実行
に際して、カーソル等を用いて位置を指定する必
要があつた。
Furthermore, in the conventional character processing device described above, in order to output the calculation result at a desired position, it was necessary to specify the position using a cursor or the like when executing the calculation.

ところで、計算の実行以前に、計算結果を出力
する位置に対応するように、“小計”、“合計”等
の文字列を入力しておく場合には、計算結果の出
力位置は、その時点ですでに決定されているもの
である。しかしながら、従来か、このような場合
にも、計算時点での出力位置の指定操作が要求さ
れていた。
By the way, if you input a string such as "subtotal" or "total" to correspond to the position where the calculation result will be output before executing the calculation, the output position of the calculation result will be at that point. It has already been decided. However, conventionally, even in such cases, an operation for specifying the output position at the time of calculation has been required.

[目的] 本発明の目的は、上述の欠点を除去するととも
に、演算内容を指示する文字列によつて演算結果
の出力位置を指定することのできる文字処理装置
を提供するものである。
[Objective] An object of the present invention is to provide a character processing device that eliminates the above-mentioned drawbacks and can specify the output position of a calculation result by a character string indicating the content of the calculation.

本発明の他の目的は文字列に従つて複数個の異
なつた演算を行なうことができる文字処理装置を
提供するものである。
Another object of the present invention is to provide a character processing device capable of performing a plurality of different operations on a character string.

本発明の他の目的は、作表時に小計、合計の出
力場所が指定でき、カーソル等で出力位置を指示
することが不要な為、より手書きに近い作表作業
が行なえる文字処理装置を提供することである。
Another object of the present invention is to provide a character processing device that allows the output location of subtotals and totals to be specified at the time of tabulation, and it is not necessary to specify the output location using a cursor or the like, so that the tabulation work can be performed more like handwriting. It is to be.

[実施例] 本発明は、文字の入力及び表示を、マイクロプ
ロセツサーによつて制御するものであり、第1図
に示す如くキー入力装置、文章中の一部の範囲を
指定する範囲指定装置、指定範囲内の計算を実行
する計算実行指示装置、入力された文字列等を記
憶する文章記憶装置、及び文章記憶装置に記憶さ
れている内容を表示装置に表示する表示制御装置
によつて構成されている文字処理装置であり、こ
の図に示される様に、これはキー入力装置によつ
て入力された文字列を文章記憶装置によつて記憶
し、その一部を範囲指定装置によつて示し、計算
実行装置によつて小計・合計の計算を行ない、そ
の結果を文章記憶装置の指示された位置に出力し
表示制御装置によつて表示装置に出力する文字処
理装置である。
[Embodiment] The present invention controls the input and display of characters by a microprocessor, and as shown in FIG. A calculation execution instruction device that executes calculations within a specified range, a text storage device that stores input character strings, etc., and a display control device that displays the contents stored in the text storage device on a display device. As shown in this figure, this is a character processing device that stores character strings input using a key input device using a text storage device, and stores part of the string using a range specifying device. This is a character processing device that calculates subtotals and totals using a calculation execution device, outputs the results to a designated position in a text storage device, and outputs them to a display device using a display control device.

第2図は、本発明による実施例の構成を示すブ
ロツク図である。図においてKBはキーボードで
あり、アルフアベツトキー ANK、カーソル移
動キー CRK、範囲指定キー HSK、計算実行
キー EXEC等を備えている。
FIG. 2 is a block diagram showing the configuration of an embodiment according to the present invention. In the figure, KB is a keyboard, which includes an alphanumeric key ANK, a cursor movement key CRK, a range specification key HSK, a calculation execution key EXEC, etc.

CPUはマイクロプロセツサーであり、文字処
理装置における演算、論理判断を行ない、後述す
る共通バス、BUSに接続された各構成要素を制
御する。BUSは共通バスであり、バスに接続さ
れた機器の指示、制御及びデータの転送に使用さ
れる。
The CPU is a microprocessor that performs calculations and logical judgments in the character processing device, and controls each component connected to the common bus and BUS, which will be described later. BUS is a common bus and is used for instructions, control, and data transfer for devices connected to the bus.

ROMは読み出し専用メモリであり、第6図〜
第8図に記述されたCPU(マイクロプロセツサ
ー)による制御手順等を記憶させておくものであ
る。
ROM is a read-only memory and is shown in Figure 6~
It is used to store control procedures and the like by the CPU (microprocessor) described in FIG.

DBUFは文章メモリであり、KB(キーボード)
等から入力された文字列を蓄えておく。
DBUF is sentence memory, KB (keyboard)
Store the character strings input from etc.

第3図は、文章メモリDBUFの配置図である。
本実施例では、16文字×15行の容量を持つている
ものとする。KB(キーボード)等から入力され
た文字列、記号等はDBUF(文章メモリ)に蓄え
られ、そのままの位置関係でCRT(表示器)に表
示される。
FIG. 3 is a layout diagram of the text memory DBUF.
In this embodiment, it is assumed that the capacity is 16 characters x 15 lines. Character strings, symbols, etc. entered from the KB (keyboard) etc. are stored in the DBUF (text memory) and displayed on the CRT (display) in the same positional relationship.

カーソルレジスタ CRは、列カーソルレジス
タ CRX、行カーソルレジスタ CRYによつて
構成されている。CR(カーソル・レジスタ)の内
容は、CRK(カーソル移動キー)によつて変化す
る。CRTCはCRTコントローラであり、DBUF
(文章メモリ)の内容を表示器CRTに表示した
り、CR(カーソル・レジスタ)で示される位置に
カーソルを表示する。CRTは陰極線管等の表示
装置である。PRTはプリンタであり、DBUF(文
章メモリ)に蓄えられた内容を印刷する為に使用
される。CGはキヤラクタ・ジエネレータであり、
CRT(表示器)やPRT(プリンタ)に文字を出力
する際、文字パターンを発生させる為に使用され
る。
Cursor register CR consists of column cursor register CRX and row cursor register CRY. The contents of CR (cursor register) change depending on CRK (cursor movement key). CRTC is CRT controller and DBUF
Displays the contents of the (text memory) on the CRT display, or displays the cursor at the position indicated by the CR (cursor register). CRT is a display device such as a cathode ray tube. PRT is a printer and is used to print the contents stored in DBUF (document memory). CG is a character generator,
It is used to generate character patterns when outputting characters to a CRT (display) or PRT (printer).

RAMはランダムアクセスメモリであり、前述
の文章メモリDBUF中の内容を計算する為に次
のパラメータが設定される。範囲指定モード
ARIMODE、範囲指定開始列アドレス
SACRX、範囲指定開始行アドレスSACRY、範
囲指定終了列アドレスEACRX、範囲指定終了行
アドレスEACRY、小計結果PTOTAL、合計結
果 ATOTAL、計算ワークTWORK、計算中の
行アドレスLINEY、数値の最大列アドレス
PUTX、最下位桁の列アドレス NLAST等によ
つて構成されている。第4図は、本実施例説明の
為の初期状態図で、数値及び“小計”、“合計”が
入力されている状態で、範囲指定を行なう順序を
示している。第5図は、第4図の状態で範囲指定
が行なわれた後、EXEC(計算実行キー)が入力
されたことにより範囲指定内の上から下へ順に加
算が実行され、小計、合計の結果が指定された位
置に出力されたことを示している。小計、合計の
出力指定位置は、“小計”、“合計”の文字が存在
する行と、それより上にある数値の中で最下位桁
が最右列にある列とによつて決まる座標に、小
計・合計結果の最下位桁が出力されるように決定
される。
RAM is a random access memory, and the following parameters are set to calculate the contents of the text memory DBUF described above. Range specification mode
ARIMODE, range specification starting column address
SACRX, Range specification start row address SACRY, Range specification end column address EACRX, Range specification end row address EACRY, Subtotal result PTOTAL, Total result ATOTAL, Calculation work TWORK, Row address being calculated LINEY, Maximum column address of numerical values
It consists of PUTX, the column address of the least significant digit NLAST, etc. FIG. 4 is an initial state diagram for explaining this embodiment, and shows the order in which range designation is performed in a state where numerical values, "subtotal" and "total" are input. Figure 5 shows that after the range has been specified in the state shown in Figure 4, addition is executed sequentially from top to bottom within the specified range by inputting EXEC (calculation execution key), resulting in subtotals and totals. is output to the specified location. The specified output position for subtotals and totals is determined by the row where the characters "subtotal" and "total" exist, and the column whose lowest digit is in the rightmost column among the numbers above it. , the lowest digit of the subtotal/total result is determined to be output.

第6図は、本実施例を示すジエネラル・フロー
チヤートである。かかる図を使用して上述の実施
例を説明する。図において処理1では、電源投入
時の初期設定を行ない、BUS(共通バス)に接続
された機器を使用可能な状態にする。尚、本実施
例において、初期設定、文字の入力等は公知の技
術で実現されるので詳しい説明は省略する。処理
2でキー入力が検知され、処理3で入力されたキ
ーを判定し、それぞれのキーに対応した処理が選
択される。処理2においてカーソル移動キー
CRKが入力されると、処理2によつて処理4が
選択される。処理4では、カーソルの移動方向に
よつてCRX(列アドレス・レジスタ)又はCRY
(行アドレス・レジスタ)を変化させカーソル表
示位置を定める。
FIG. 6 is a general flowchart showing this embodiment. The above-mentioned embodiment will be explained using these figures. In process 1 in the figure, initial settings are performed when the power is turned on, and devices connected to a BUS (common bus) are made available for use. In this embodiment, initial settings, character input, etc. are implemented using known techniques, so detailed explanations will be omitted. A key input is detected in process 2, and the input key is determined in process 3, and a process corresponding to each key is selected. In process 2, press the cursor movement key
When CRK is input, process 2 selects process 4. In process 4, depending on the direction of cursor movement, CRX (column address register) or CRY
(row address register) to determine the cursor display position.

処理2において範囲指定キーHSKが入力され
ると、処理2によつて処理5が選択される。処理
5では、範囲指定の開始位置及び終了位置を
RAM(ランダム・アクセス・メモリ)内の
SACRX(範囲指定開始列アドレス)、SACRY(範
囲指定開始行アドレス)、EACRX(範囲指定終了
列アドレス)、EACRY(範囲指定終了行アドレ
ス)へ、その時点のCR(カーソル・レジスタ)内
のCRX(列アドレス・レジスタ)及びCRY(行カ
ーソル・レジスタ)の値を格納する。開始位置か
終了位置かの判定は、ARIMODE(範囲指定モー
ド)によつて決まる。本実施例においては、処理
1において ARIMODE(範囲指定モード)を0
に初期設定しておき、以後HSK(範囲指定キー)
が入力される毎にARIMODE(範囲指定モード)
を1又は0に反転させることによつて、
ARIMODE(範囲指定モード)が0であれば範囲
指定開始、ARIMODE(範囲指定モード)が1で
あれば範囲指定終了とみなす。
When the range designation key HSK is input in process 2, process 5 is selected by process 2. In process 5, the start and end positions of the range specification are
in RAM (Random Access Memory)
SACRX (range specification start column address), SACRY (range specification start row address), EACRX (range specification end column address), EACRY (range specification end row address), CRX (in the CR (cursor register) at that point) Column address register) and CRY (row cursor register). The determination of the start position or end position is determined by ARIMODE (range specification mode). In this example, in process 1, ARIMODE (range specification mode) is set to 0.
Initialize it to , and then use HSK (range specification key)
ARIMODE (range specification mode) every time is input
By inverting to 1 or 0,
If ARIMODE (range specification mode) is 0, range specification starts, and if ARIMODE (range specification mode) is 1, range specification ends.

処理2において、EXEC(計算実行キー)が入
力されると処理3によて処理6が選択される。処
理6では、処理5によつて指定された範囲内の数
値及び“合計”、“小計”の文字列を読み取り、数
値を加算し文字列に従つて合計・小計結果を指示
位置に出力する。詳細は後述する。
In process 2, when EXEC (calculation execution key) is input, process 6 is selected in process 3. In process 6, the numerical values within the range specified in process 5 and the character strings for "total" and "subtotal" are read, the numerical values are added, and the total and subtotal results are output to the indicated positions according to the character strings. Details will be described later.

処理2において、上記3種類(CRK、HSK、
EXEC)以外のキーが入力されると、処理3によ
つて処理7が選択される。処理7では、DBUF
(文章メモリ)への文字出力、編集等が行なわれ
る。
In processing 2, the above three types (CRK, HSK,
When a key other than EXEC) is input, process 7 is selected by process 3. In process 7, DBUF
Outputting characters to (text memory), editing, etc. are performed.

第7図は、第6図における処理5の範囲指定処
理を詳しく示している。第7図の説明を本実施例
の第4図を例として行なう。カーソルが最初の位
置で、HSK(範囲指定キー)が入力されると、
ARIMODE(範囲指定モード)が0になつている
ので、処理5−1によつて処理5−2が選択され
る。処理5−2ではCR(カーソル・レジスタ)の
内容を範囲指定開始位置として保存する。本実施
例ではCRX(列カーソル・レジスタ)の値3が
SACRX(範囲指定開始列アドレス)へ、CRY(行
カーソル・レジスタ)の値3がSACRY(範囲指
定開始行アドレス)へそれぞれ格納される。更に
ARIMODE(範囲指定モード)を1に反転させ
る。次に、カーソルを指定したい範囲の右下に移
動させ、HSK(範囲指定キー)を押す。前操作に
よりARIMODE(範囲指定モード)は1となつて
いるので、処理5−1によつて処理5−3が選択
される。処理5−3ではCR(カーソル・レジス
タ)の内容を範囲指定終了位置として保存する。
本実施例では、CRX(列カーソル・レジスタ)の
値10をEACRX(範囲指定終了列アドレス)へ、
CRY(行カーソル・レジスタ)の値13をEACRY
(範囲指定終了行アドレス)へそれぞれ格納する。
更に、ARIMODE(範囲指定モード)を0にす
る。
FIG. 7 shows in detail the range designation process of process 5 in FIG. FIG. 7 will be explained using FIG. 4 of this embodiment as an example. When the cursor is in the first position and HSK (range specification key) is input,
Since ARIMODE (range specification mode) is 0, processing 5-2 is selected by processing 5-1. In process 5-2, the contents of the CR (cursor register) are saved as the range specification start position. In this example, the value 3 of CRX (column cursor register) is
The value 3 of CRY (row cursor register) is stored to SACRX (range specification start column address) and CRY (row cursor register) to SACRY (range specification start row address). Furthermore
Invert ARIMODE (range specification mode) to 1. Next, move the cursor to the bottom right of the range you want to specify and press HSK (range specification key). Since ARIMODE (range specification mode) is set to 1 due to the previous operation, processing 5-3 is selected by processing 5-1. In process 5-3, the contents of the CR (cursor register) are saved as the range specification end position.
In this example, the value 10 of CRX (column cursor register) is transferred to EACRX (range specification end column address),
EACRY the value 13 of CRY (row cursor register)
(range specified end line address).
Furthermore, set ARIMODE (range specification mode) to 0.

以上のような処理により、範囲指定開始位置、
範囲指定終了位置が設定され範囲指定処理は完了
する。
Through the above processing, the range specification start position,
The range specification end position is set and the range specification process is completed.

第8図は、範囲指定終了後 EXEC(計算実行
キー)が入力された時の計算実行処理を詳しく示
したものである。処理6−1で初期設定が行なわ
れる。PTOTAL(小計結果)、ATOTAL(合計結
果)、PUTX(数値の最右列アドレス)及び
NLAST(最下位桁の列アドレス)を0にし、
LINEY(計算中の行アドレス)にSACRY(範囲
指定開始行アドレス)の値を代入する。
FIG. 8 shows in detail the calculation execution process when EXEC (calculation execution key) is input after range specification is completed. Initial settings are performed in process 6-1. PTOTAL (subtotal result), ATOTAL (total result), PUTX (number's rightmost column address) and
Set NLAST (column address of least significant digit) to 0,
Assign the value of SACRY (range specification start line address) to LINEY (line address being calculated).

処理6−2では、LINEY(計算中の行アドレ
ス)が指定する文章メモリの中の文字列に“合
計”が存在するか否かを判定し、存在すれば処理
6−3存在しなければ処理6−5を選択する。第
5図による本実施例を用いて説明すると、最
LINEY(計算中の行アドレス)は3であり、この
行中には文字列“合計”は存在しないので、処理
6−5を選択する。処理6−3は、LINEY(計算
中の行アドレス)によつて示される行と、
PUTX(数値の最右列アドレス)によつて示され
る列とによつて定まる座標に、ATOTAL(合計
結果)の最下位桁がくるようにDBUF(文章バツ
フア)へATOTAL(合計結果)を出力する。処
理6−4では、ATOTAL(合計結果)及び
PTOTAL(小計結果)の値を0にする。処理6
−5では、LINEY(計算中の行アドレス)の中に
文字列“小計”が存在するか否かを判定し、存在
すれば処理6−6を、存在しなければ処理6−8
を選択する。
In process 6-2, it is determined whether "total" exists in the character string in the text memory specified by LINEY (line address being calculated), and if it exists, process 6-3. If it does not exist, process Select 6-5. To explain using this embodiment shown in FIG.
Since LINEY (line address under calculation) is 3 and the character string "total" does not exist in this line, process 6-5 is selected. Process 6-3 is the line indicated by LINEY (line address being calculated),
Output ATOTAL (total result) to DBUF (text buffer) so that the least significant digit of ATOTAL (total result) is located at the coordinates determined by the column indicated by PUTX (number's rightmost column address). . In process 6-4, ATOTAL (total result) and
Set the value of PTOTAL (subtotal result) to 0. Processing 6
In -5, it is determined whether the character string "subtotal" exists in LINEY (line address being calculated), and if it exists, process 6-6, otherwise process 6-8.
Select.

処理6−6では、LINEY(計算中の行アドレ
ス)によつて示される行と、PUTX(数値の最右
列アドレス)によつて示される列とによつて定ま
る座標に、PTOTAL(小計結果)の最下位桁が
くるようにDBUF(文章バツフア)へPTOTAL
(小計結果)を出力する。
In process 6-6, PTOTAL (subtotal result) is added to the coordinates determined by the row indicated by LINEY (the row address being calculated) and the column indicated by PUTX (the rightmost column address of the numerical value). PTOTAL to DBUF (text buffer) so that the least significant digit of
(Subtotal result) is output.

処理6−7では、PTOTAL(小計結果)の値
を0にする。
In process 6-7, the value of PTOTAL (subtotal result) is set to 0.

処理6−8では、LINEY(計算中の行アドレ
ス)中に数値が存在するか否かを判定し、存在す
れば処理6−9を、存在しなければ処理6−14を
選択する。
In process 6-8, it is determined whether or not a numerical value exists in LINEY (line address being calculated), and if so, process 6-9 is selected, and if not, process 6-14 is selected.

処理6−9では、TWORK(計算ワーク)に
LINEY(計算中の行アドレス)中にある数値を格
納する。
In process 6-9, TWORK (calculation work)
Store the numerical value in LINEY (line address being calculated).

処理6−10では、NLAST(最下位桁の列アド
レス)にLINEY(計算中の行アドレス)中にある
数値の最下位桁の列アドレスを格納する。処理6
−11では、PUTX(数値の最右列アドレス)と
NLAST(最下位桁の列アドレス)との大小を比
較し、PUTX(数値の最右列アドレス)が等しい
か大きければ処理6−13を、NLAST(最下位桁
の列アドレス)が大きければ処理6−12を選択す
る。
In process 6-10, the column address of the least significant digit of the numerical value in LINEY (row address under calculation) is stored in NLAST (column address of the least significant digit). Processing 6
−11, PUTX (the rightmost column address of the number) and
Compare the size with NLAST (column address of the least significant digit), and if PUTX (the rightmost column address of the numerical value) is equal or greater, perform process 6-13, and if NLAST (column address of the least significant digit) is greater, perform process 6. Select −12.

処理6−12では、PUTX(数値の最右列アドレ
ス)にNLAST(最下位桁の列アドレス)を代入
する。従つて、PUTX(数値の最右列アドレス)
には、LINEY(計算中の行アドレス)より上の行
で最下位桁が最も右にある数値のその最下位桁の
列アドレスが格納されている。処理6−13では、
PTOTAL(小計結果)及びATOTAL(合計結果)
にTWORK(計算ワーク)即ちLINEY(計算中の
行アドレス)中にある数値を加える。
In process 6-12, NLAST (the column address of the least significant digit) is substituted for PUTX (the rightmost column address of the numerical value). Therefore, PUTX (number's rightmost column address)
contains the column address of the least significant digit of the number whose least significant digit is the rightmost in the row above LINEY (the row address being calculated). In process 6-13,
PTOTAL (subtotal result) and ATOTAL (total result)
Add the value in TWORK (calculation work), that is, LINEY (line address being calculated) to.

処理6−14では、LINEY(計算中の行アドレ
ス)に1を加え次の行へ実行を移す。
In process 6-14, 1 is added to LINEY (line address under calculation) and execution is moved to the next line.

処理6−15では、LINEY(計算中の行アドレ
ス)とEACRY(範囲指定終了行アドレス)との
大小を比較し、EACRY(範囲指定終了行アドレ
ス)の方が大きければ計算処理を終了し、等しい
か小さければ処理6−2へ戻りLINEY(計算中の
行アドレス)がEACRY(範囲指定終了行アドレ
ス)を越えるまで計算処理を繰り返す。
In process 6-15, the magnitude of LINEY (line address being calculated) and EACRY (range specified end line address) is compared, and if EACRY (range specified end line address) is larger, the calculation process is ended and they are equal. If it is smaller, the process returns to step 6-2 and the calculation process is repeated until LINEY (line address under calculation) exceeds EACRY (range specification end line address).

[その他の実施例] 前記実施例に於ては“小計”“合計”のみを用
いたが、他の文字列も使用可能にできる。また、
合計の総計等を付加することもできる。
[Other Examples] In the above example, only "subtotal" and "total" were used, but other character strings can also be used. Also,
It is also possible to add a total of totals, etc.

さらに前記実施例に於ては、縦の計算のみを示
したが、同様の方法によつて横、縦横同時の計算
も実現できる。
Further, in the embodiment described above, only vertical calculations were shown, but horizontal, vertical and horizontal calculations can also be realized at the same time using a similar method.

[効果] 以上説明したように、複数個の小計及び合計が
一度の範囲指定によつて計算できる。また、小
計、合計の出力場所もいちいちカーソル等で指定
する必要がなく作表時に出力場所を決定できる。
従つて、より迅速な作表作業が実現できる。
[Effects] As explained above, multiple subtotals and totals can be calculated by specifying a range once. In addition, there is no need to specify the output location of subtotals and totals each time using a cursor, etc., and the output location can be determined at the time of tabulation.
Therefore, faster tabulation work can be achieved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明による文字処理装置の概念を
説明する為の図、第2図は、本発明の構成を示す
ブロツク図、第3図は、DBUF(文書メモリ)の
配置図、第4図は、本実施例説明の為のDBUF
(文書メモリ)の初期状態図、第5図は、本実施
例説明の為のDBUF(文書メモリ)の計算結果状
態図、第6図は、本実施例を示すメイン・フロー
チヤート、第7図は、範囲指定処理の詳細フロー
チヤート、第8図は、計算処理の詳細フローチヤ
ート。 DBUF…文書メモリ。
FIG. 1 is a diagram for explaining the concept of a character processing device according to the present invention, FIG. 2 is a block diagram showing the configuration of the present invention, FIG. 3 is a layout diagram of a DBUF (document memory), and FIG. The figure is a DBUF for explaining this example.
(document memory) initial state diagram, FIG. 5 is a calculation result state diagram of DBUF (document memory) for explaining this embodiment, FIG. 6 is a main flowchart showing this embodiment, and FIG. 7 8 is a detailed flowchart of range specification processing, and FIG. 8 is a detailed flowchart of calculation processing. DBUF…Document memory.

Claims (1)

【特許請求の範囲】 1 文書情報を記憶する記憶手段と、 該記憶手段に記憶された文書情報を表示させる
表示制御手段と、 前記文書中の数値情報を用いた演算の実行を指
示する指示手段と、 該指示手段の指示を受けて、前記演算を実行す
る演算手段と、 該指示手段の指示を受けて、前記文書情報中よ
り所定の文字列を検索する検索手段と、 該検索手段によつて検出された前記所定の文字
列の表示上での位置に基づいて、前記演算手段に
よる演算結果の表示位置を決定する位置決定手段
と、 該位置決定手段によつて決定された表示位置に
前記演算結果を表示させる結果表示手段とを有す
ることを特徴とする文字処理装置。
[Scope of Claims] 1. Storage means for storing document information; Display control means for displaying the document information stored in the storage means; Instruction means for instructing execution of calculations using numerical information in the document. a calculation means for executing the calculation in response to an instruction from the instruction means; a search means for searching for a predetermined character string from the document information in response to an instruction from the instruction means; position determining means for determining the display position of the calculation result by the calculation means based on the position on the display of the predetermined character string detected by the position determination means; 1. A character processing device comprising: result display means for displaying calculation results.
JP60044007A 1985-03-06 1985-03-06 Character processor Granted JPS61202272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60044007A JPS61202272A (en) 1985-03-06 1985-03-06 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60044007A JPS61202272A (en) 1985-03-06 1985-03-06 Character processor

Publications (2)

Publication Number Publication Date
JPS61202272A JPS61202272A (en) 1986-09-08
JPH0585929B2 true JPH0585929B2 (en) 1993-12-09

Family

ID=12679641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60044007A Granted JPS61202272A (en) 1985-03-06 1985-03-06 Character processor

Country Status (1)

Country Link
JP (1) JPS61202272A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2670441B2 (en) * 1986-09-09 1997-10-29 キヤノン株式会社 Document processing device
JPS6361063U (en) * 1986-10-03 1988-04-22
JP2669839B2 (en) * 1988-01-29 1997-10-29 株式会社日立製作所 Formula input editing device
JP2768577B2 (en) * 1991-10-07 1998-06-25 シャープ株式会社 Japanese word processor

Also Published As

Publication number Publication date
JPS61202272A (en) 1986-09-08

Similar Documents

Publication Publication Date Title
JPH0585929B2 (en)
JPH0210982B2 (en)
JP3064323B2 (en) Character string replacement device with attributes
JP2670441B2 (en) Document processing device
JPH0522933B2 (en)
JP3817747B2 (en) Typeface information setting device
JPH0445875B2 (en)
JPH023212B2 (en)
JP2608269B2 (en) Character processor
JP2944666B2 (en) Character processor
JPH025175A (en) Character processor
JP2575650B2 (en) Kana-Kanji conversion device
JPH0479024B2 (en)
JP2899103B2 (en) Information processing apparatus and method
JPH0545987B2 (en)
JPS62229316A (en) Character processor
JP2672940B2 (en) Document processing device
JPH0532781B2 (en)
JPH0565899B2 (en)
JPH0225547B2 (en)
JP3067083B2 (en) Document input device
JP2761606B2 (en) Document data processing device
JPH0410105B2 (en)
JPS62229361A (en) Character processor
JPH0750470B2 (en) Data processing device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term