JPH01128160A - Document processor - Google Patents

Document processor

Info

Publication number
JPH01128160A
JPH01128160A JP62286822A JP28682287A JPH01128160A JP H01128160 A JPH01128160 A JP H01128160A JP 62286822 A JP62286822 A JP 62286822A JP 28682287 A JP28682287 A JP 28682287A JP H01128160 A JPH01128160 A JP H01128160A
Authority
JP
Japan
Prior art keywords
input
document
memory
data
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.)
Pending
Application number
JP62286822A
Other languages
Japanese (ja)
Inventor
Mitsutoshi Uchida
光俊 内田
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 JP62286822A priority Critical patent/JPH01128160A/en
Publication of JPH01128160A publication Critical patent/JPH01128160A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily and quickly produce a document including tables by using a means which stores the right end position of a frame to which a cursor belongs in a table and a means which stores temporarily the data supplied into the frame. CONSTITUTION:A digit number counter COUNT24 and a write-close-to-right data input memory 21 are initialized with push of a write-close-to-right mode switch key 13. Then the contents of a document memory are stored in an RCOLUMN22 after searching a vertical ruled line toward the right from the position of a cursor to store the digit position contiguous to the left of said ruled line into the RCOLUMN22. Then the contents of the document memory are stored in an NUM23 after searching the vertical ruled line toward the left from the cursor position and defining the number of digits covering the digit position contiguous to the right of the ruled line through the digit position stored in the RCOLUMN22 as the number of input digits. Then a data input window screen 26 is displayed on a display device 16 under the cursor position as shown in the figure. Then the key input if received is decided and the input data are successively displayed on the window. The contents of the memory 21 are moved to a document storing memory 20 when the end of input is decided. Then the screen 26 is erased for completion of the operations of a document processor.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は作表機能を有する文書処理装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document processing device having a tabulation function.

〔従来技術〕[Prior art]

従来、横書文書の入力においては、入力開始位置を示す
カーソルを文書データの入力に従い左から右方向へ歩進
せしめていたため、あらかじめ作成された表内に右詰で
データを入力しだい場合にはデータを入力したい枠内の
右端から入力データの桁数だけ左の位置にカーソルを移
動せしめそこからデータを入力していた。
Conventionally, when inputting horizontal documents, the cursor indicating the input start position was moved from left to right as the document data was input. The cursor was moved to the left position by the number of digits of input data from the right edge of the frame where data was to be input, and data was input from there.

上記従来例では、データ毎に入力桁数を意識し、その桁
数に応じて入力開始位置へカーソルを正確に移動させた
後でなければデータを入力できないという文書入力速度
を向上させる上での障害があった。
In the conventional example above, the number of input digits for each piece of data is considered, and data can only be entered after accurately moving the cursor to the input start position according to the number of digits. There was a problem.

〔目的〕〔the purpose〕

本発明は、文書メモリ内の表の中でカーソルが属してい
る枠内の右端位置を記憶する手段および上記枠内に入力
するデータを一時的に格納するメモリとその内容を表示
する手段とを設け、データ格納メモリ内のデータの最後
が、記憶しておいた前記右端位置に揃うように文書メモ
リに移す処理を行う文書処理装置を提供することを目的
としている。
The present invention includes a means for storing the right end position of a frame to which a cursor belongs in a table in a document memory, a memory for temporarily storing data to be input into the frame, and a means for displaying the contents. It is an object of the present invention to provide a document processing device which performs a process of transferring data to a document memory so that the end of data in the data storage memory is aligned with the stored right end position.

〔実施例〕〔Example〕

第1図は本発明による一実施例の文書処理装置の機器構
成を示す。ここで10はキーボードであシ、数字人カキ
−11、データ入力完了キー12、右詰モード切替キー
13その他のキー14を有する。15はCPU(中央処
理装置)であシ、ROM17に記憶されたプログラム1
8に従って、パスライン25を介して接続される各装置
に対して文書処理のだめに必要な制御を行っている。又
、19は11(、AM(ランダムアクセスメモリ)であ
って文書格納メモリ20、右詰データ人力メモリ21、
カーソルが位置する枠内の右端の桁位置を表わす変数エ
リアを記憶するRCOLUMNメモリ22、カーソルが
位置する枠内の桁数を示す変数エリアNUM23および
入力されたデータの桁数カウンタ変数エリアC0UNT
24を格納している。16は文書格納メモリ20の内容
や右詰データ人力メモリ21の内容、その他の文書処理
に関する情報を表示する陰極線管、液晶表示器、プラズ
マデイスプレィ等の表示器である。
FIG. 1 shows the equipment configuration of a document processing apparatus according to an embodiment of the present invention. Here, numeral 10 is a keyboard having keys 11, a data input completion key 12, a right-aligned mode switching key 13, and other keys 14. 15 is a CPU (central processing unit), and program 1 is stored in ROM 17.
8, each device connected via the path line 25 is controlled to complete document processing. Further, 19 is 11 (, AM (random access memory), which includes a document storage memory 20, a right-aligned data manual memory 21,
RCOLUMN memory 22 that stores a variable area that represents the rightmost digit position within the frame where the cursor is located, variable area NUM23 that represents the number of digits within the frame where the cursor is located, and digit number counter variable area C0UNT of the input data.
24 is stored. Reference numeral 16 denotes a display device such as a cathode ray tube, a liquid crystal display, or a plasma display for displaying the contents of the document storage memory 20, the contents of the right-justified data manual memory 21, and other information related to document processing.

第2図は数字データのみを表中に右詰入力する本実施例
の処理中の表示器16の画面を示したものである。図中
26は右詰データ人力メモリの内容を表示するために右
詰データ入力モード中のみカーソルの下に表示されるウ
ィンドウ画面であり右詰データ入力モードが終了したら
消えて、元の文書格納メモリ20の内容に戻る。
FIG. 2 shows the screen of the display 16 during the process of this embodiment in which only numerical data is input right-justified into a table. 26 in the figure is a window screen that is displayed under the cursor only during the right-justified data input mode to display the contents of the right-justified data manual memory. When the right-justified data input mode ends, it disappears and returns to the original document storage memory. Return to the contents of 20.

なお、このウィンドウ画面はカーソルが位置する枠内の
桁数のデータを入力するのに必要な巾だけ表示される。
Note that this window screen is displayed only in the width necessary to input data of the number of digits within the frame where the cursor is located.

以上の構成から成る本実施例である表中への数字データ
右詰入力処理手順を第3図のフローチャートを参照して
説明する。
The processing procedure for inputting numerical data to the right in a table according to this embodiment having the above configuration will be explained with reference to the flowchart shown in FIG.

本実施例では、通常の文書入力モードにおいて第1図に
示す右詰モード切替キー13を押すと第3図のステップ
S1へ進む。ここでは、入力データの桁数カウンタC0
UNT24へOを格納し、右詰データ人力メモリ21を
全て空白文字コードに初期化してステップS2へ進む。
In this embodiment, when the right-aligned mode switching key 13 shown in FIG. 1 is pressed in the normal document input mode, the process proceeds to step S1 in FIG. 3. Here, the input data digit number counter C0
O is stored in the UNT 24, the right-justified data manual memory 21 is all initialized to blank character codes, and the process advances to step S2.

ステップS2では文書メモリの内容をカーソル位置から
右方向へ縦罫線をサーチし、縦罫線の左に接する桁位置
をRCOLUMN 22へ格納する。
In step S2, the content of the document memory is searched for a vertical ruled line from the cursor position to the right, and the digit position adjacent to the left of the vertical ruled line is stored in RCOLUMN 22.

縦罫線が存在しない場合は行末の桁位置をR,COLU
MN22へ格納する。次にステップS3では文書メモリ
の内容をカーソル位置から左方向へ縦罫線をサーチし、
縦罫線の右に接する桁位置からRCOLUMN22に格
納されている桁位置までの桁数を入力桁数としてNUM
23へ格納する。縦罫線が存在しない場合は行頭の桁位
置からRCOLUMN22に格納されている桁位置まで
の桁数をNUM23へ格納する。続いて、ステップS4
へ進んで第2図中26のウィンドウ画□面を表示器16
に表示する。ウィンドウの表示位置はカーソル位置の下
で、表示する領域が不足する場合は文書データ表示をウ
ィンドウが表示可能となるまで上方向へスクロールする
If there is no vertical ruled line, set the column position at the end of the line to R, COLU
Store in MN22. Next, in step S3, the content of the document memory is searched for vertical ruled lines from the cursor position to the left,
NUM is the number of digits from the digit position touching the right side of the vertical ruled line to the digit position stored in RCOLUMN22 as the input digit number.
23. If there is no vertical ruled line, the number of digits from the digit position at the beginning of the line to the digit position stored in RCOLUMN 22 is stored in NUM 23. Subsequently, step S4
Proceed to 26 window screen □ in Figure 2 on display 16.
to be displayed. The window display position is below the cursor position, and if the display area is insufficient, the document data display is scrolled upward until the window can be displayed.

またウィンドウの巾は変数NUM23に格納された桁数
の数字を入力できるだけである。ウィンドウ表示が完了
しだらステップS5へ進み、キーボード10からのキー
人力を待つ。何らかのキーが押されたらステップS6へ
進み入カキ−を判別し、データ入力完了キーである場合
はステップS12へ進み、それ以外の場合はステップS
7へ進み再び入カキ−を判別する。ここで数字キー以外
であればステップS5へ戻り、数字キーである場合には
ステップS8へ進む。
Further, the width of the window can only be entered by the number of digits stored in the variable NUM23. When the window display is completed, the process advances to step S5 and waits for key input from the keyboard 10. If any key is pressed, the process advances to step S6, and the input key is determined. If it is a data input completion key, the process advances to step S12; otherwise, the process advances to step S.
Proceed to step 7 to determine the input key again. Here, if it is other than a numeric key, the process returns to step S5, and if it is a numeric key, the process proceeds to step S8.

ステップS8では入力された数字を文字コード化して右
詰データ人力メモリ内の〔1文字分のバイト数xcOU
NTO値〕で示される位置に格納してステップS9へ進
む。ステップS9では右詰データ人力メモリ21の内容
をステップS4で表示したウィンドウ画面内に表示した
後ステップ810でCO[JNT24の値をインクリメ
ントし、ステップ811へ進む。ここで入力されだ数字
の桁数が入力可能桁数に達した場合、すなわちC0UN
T 24の値がNUM23の値と一致した場合はステッ
プ812へ進み、一致しない場合にはステップS25へ
戻シ、以上の処理をくシ返す。
In step S8, the input digits are converted into character codes and stored in the right-aligned data manual memory as [number of bytes for one character xcOU].
NTO value] and proceeds to step S9. In step S9, the contents of the right-aligned data manual memory 21 are displayed in the window screen displayed in step S4, and then in step 810 the value of CO[JNT24 is incremented, and the process proceeds to step 811. If the number of digits entered here reaches the maximum number of digits that can be entered, that is, C0UN
If the value of T24 matches the value of NUM23, the process advances to step 812; if they do not match, the process returns to step S25, repeating the above process.

ステップ812では数字入力の有無を判別し、入力がな
い場合すなわちC0UNT24の値が0の場合はステッ
プ814へ進み、入力があった場合すなわちC0UNT
24の値がO以外の場合はステップS13へ進む。
In step 812, it is determined whether or not a number has been input. If there is no input, that is, the value of C0UNT24 is 0, the process advances to step 814, and if there is an input, that is, the value of C0UNT24 is 0.
If the value of 24 is other than O, the process advances to step S13.

ステップ813では右詰データ人力メモリ21の先頭か
らC0UNT24の値が示す文字数の文字コードデータ
を文書格納メモリ20へ移す。
In step 813, the character code data of the number of characters indicated by the value of C0UNT24 is transferred from the beginning of the right-aligned data manual memory 21 to the document storage memory 20.

文書格納メモリ20内の格納場所はカーソルが位置する
行の以下の式が示す桁位置以降である。
The storage location in the document storage memory 20 is after the column position indicated by the following formula in the line where the cursor is located.

格納桁位置二RCOLUMN22−COUNT24+1
ステップ813の処理が完了したらステップS14へ進
む。ステップ814では表示器16からウィンドウ画面
26を消去し、ウィンドウ画面で見えなかった文書デー
タを再表示して右詰データ入力モードを終了し通常の文
書入力モードへ戻る。
Storage digit position 2 RCOLUMN22-COUNT24+1
When the process of step 813 is completed, the process advances to step S14. In step 814, the window screen 26 is erased from the display 16, the document data that was not visible on the window screen is redisplayed, the right-aligned data input mode is ended, and the process returns to the normal document input mode.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、文書中の表内に
右詰でデータを入力する場合には、入力をしたい枠内に
カーソルを移動させて入力モードを切替えるだけで入力
を開始することが可能となる。従って、表を含んだ文書
を作成する作業を容易にかつ高速にするという効果を有
する。
As explained above, according to the present invention, when inputting data right-aligned in a table in a document, inputting can be started simply by moving the cursor within the frame where the input is desired and switching the input mode. becomes possible. Therefore, it has the effect of making it easier and faster to create a document including tables.

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

第1図は本発明による文書処理装置の一実施例の構成を
示すブロック図、 第2図は本発明による一実施例の実行中の表示画面例を
示す略図、 第3図は本発明を適用した右詰データ入力処理の手順の
一例を示すフローチャートである。 11・・・数字入カキ− 12・・・データ入力完了キー 13・・・右詰モード切替キー 15 ・・・ CPU 16・・・表示器 17・・・R,0M 18・・・プログラム
FIG. 1 is a block diagram showing the configuration of an embodiment of a document processing device according to the present invention, FIG. 2 is a schematic diagram showing an example of a display screen during execution of an embodiment of the present invention, and FIG. 3 is an application of the present invention. 3 is a flowchart illustrating an example of the procedure of right-justified data input processing. 11...Number entry key 12...Data input completion key 13...Right mode switching key 15...CPU 16...Display 17...R,0M 18...Program

Claims (2)

【特許請求の範囲】[Claims] (1)文書情報を表示する表示手段、 前記表示手段上において、表示位置を指示する指示手段
、 前記指示手段によつて指示される位置を含む枠内の右端
位置を記憶する記憶手段、 前記枠内に表示すべき入力文書情報を一時格納する格納
手段、 前記格納手段に格納される文書情報の最終が、前記記憶
手段に記憶される右端位置に表示される様前記表示手段
を制御する制御手段とを有したことを特徴とする文書処
理装置。
(1) Display means for displaying document information; instruction means for indicating a display position on the display means; storage means for storing the right end position within a frame including the position indicated by the instruction means; and the frame. storage means for temporarily storing input document information to be displayed in the storage means; control means for controlling the display means so that the last of the document information stored in the storage means is displayed at the right end position stored in the storage means; A document processing device comprising:
(2)前記枠は、前記文書情報を表示すべき枠を含む表
の一部であることを特徴とする特許請求の範囲第1項記
載の文書処理装置。
(2) The document processing apparatus according to claim 1, wherein the frame is a part of a table including a frame in which the document information is to be displayed.
JP62286822A 1987-11-13 1987-11-13 Document processor Pending JPH01128160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62286822A JPH01128160A (en) 1987-11-13 1987-11-13 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62286822A JPH01128160A (en) 1987-11-13 1987-11-13 Document processor

Publications (1)

Publication Number Publication Date
JPH01128160A true JPH01128160A (en) 1989-05-19

Family

ID=17709485

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62286822A Pending JPH01128160A (en) 1987-11-13 1987-11-13 Document processor

Country Status (1)

Country Link
JP (1) JPH01128160A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04125729A (en) * 1990-09-17 1992-04-27 Sharp Corp Electronic computer with field display function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04125729A (en) * 1990-09-17 1992-04-27 Sharp Corp Electronic computer with field display function

Similar Documents

Publication Publication Date Title
JPH0535685A (en) Mixed fraction input displaying type electronic computer
JPH01128160A (en) Document processor
JPH02126361A (en) Chinese language input apparatus
JPS58163036A (en) Automatic numbering device
JP2596945B2 (en) Character processor
JPH0115906B2 (en)
JPS6237722A (en) Document processor
JP2555036B2 (en) Character string input device
JPH0343633B2 (en)
JPS63255764A (en) Table data inputting system
JP3082940B2 (en) Character processing apparatus and method
JPS59180625A (en) Chinese character input system
JPH04367895A (en) Page turnover control device in display device
JPS6087390A (en) Character processor
JPH05173692A (en) Key input method
JPS5922255B2 (en) Kanji input method
JPH04256164A (en) Ruled line producing device
JPS5814689B2 (en) Kanji-mixed sentence input device that sequentially displays homonyms
JPH04326118A (en) Character processor
JPH05282287A (en) Kana/kanji conversion processor
JPS6366664A (en) Method for displaying and controlling japanese word processor
JPH0425553B2 (en)
JPS6121569A (en) Front data input device
JPS63257862A (en) Character processor
JPH0736912A (en) Translation assisting device