JPH0228759A - Document generating device - Google Patents
Document generating deviceInfo
- Publication number
- JPH0228759A JPH0228759A JP63178533A JP17853388A JPH0228759A JP H0228759 A JPH0228759 A JP H0228759A JP 63178533 A JP63178533 A JP 63178533A JP 17853388 A JP17853388 A JP 17853388A JP H0228759 A JPH0228759 A JP H0228759A
- Authority
- JP
- Japan
- Prior art keywords
- document
- file
- stored
- file name
- created
- 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
Links
- 230000004044 response Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 abstract description 37
- 230000015654 memory Effects 0.000 description 19
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 241000723353 Chrysanthemum Species 0.000 description 1
- 235000005633 Chrysanthemum balsamita Nutrition 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
本発明は、作成された文書をファイル名と結び付けて記
憶する文書作成装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document creation device that stores created documents in association with file names.
[従来の技術]
従来より、入力手段からの入力データに応じて作成され
た文書を文書記憶手段に記憶し、文書作成後は、入力手
段からの入力に応じて登録行程に移行し、入力手段から
入力されるファイル名に応じて、そのファイル名と文書
記憶手段の記憶内容とを結び付けてファイル記憶手段に
記憶している。[Prior Art] Conventionally, a document created according to input data from an input means is stored in a document storage means, and after the document is created, a registration process is performed according to the input from the input means. Depending on the file name input from the document storage means, the file name and the storage contents of the document storage means are associated and stored in the file storage means.
一方、文書作成中に一旦文書の作成を中断して、装置の
電源を切った場合には、この作成中の文書は文書記憶手
段に記憶されており、装置の電源を投入した場合には、
自動的に文書記憶手段に記憶された作成中の文書が読み
出されている。On the other hand, if document creation is temporarily interrupted during document creation and the power of the device is turned off, the document being created is stored in the document storage means, and when the power of the device is turned on,
A document being created that is automatically stored in the document storage means is being read out.
[発明が解決しようとする課題]
しかしながら、こうした従来の装置では、あるオペレー
タが文書作成中に一旦文書の作成を中断して、若しくは
、文書の作成は終了したが登録行程に移行してファイル
記憶手段に記憶せずに、装置の電源を切った場合に、こ
の文書は文書記憶手段に記憶されている。その後に、別
のオペレータが、自己の文書を作成しようとして、その
装置の電源を投入した場合には、前記あるオペレータが
入力した文書が自動的に文書記憶手段から読み出される
。その為、この別のオペレータは、読み出された文書の
後に続けて自己の文書を入力して文書を作成してしまっ
たり、あるいは誤って、前記あるオペレータが作成した
文書を削除してしまう場合がある。例えは、特に装置の
デイスプレィが、文書を1行〜数行程度表示するもので
は、文書が読み出された際に、たまたま空白行であった
りするとデイスプレィには何も表示されないので、この
別のオペレータは、文書が読み出されたことに気が付か
ない場合がある。[Problems to be Solved by the Invention] However, with these conventional devices, if an operator temporarily interrupts document creation while creating a document, or if the document creation is completed but moves to the registration process and the file is stored. If the device is switched off without being stored in the document storage means, this document is stored in the document storage means. Thereafter, when another operator turns on the power of the apparatus in order to create his own document, the document inputted by the certain operator is automatically read out from the document storage means. Therefore, if this other operator creates a document by inputting his own document after the read document, or if he accidentally deletes the document created by the above-mentioned operator. There is. For example, especially if the display of the device only displays one or several lines of a document, if there is a blank line when the document is read, nothing will be displayed on the display, so this The operator may not be aware that the document has been read.
又、この別のオペレータが、前記あるオペレータが作成
した文書が既に文書記憶手段に記憶されていたと気が1
1いても、読み出された文書をファイル記憶手段に記憶
するべきか、あるいは削除してもよいものなのか不明で
あり、取り合えず登録行程に移行して、あるオペレータ
が作成した文書をファイル記憶手段に記憶しなければ成
らない。Also, this other operator may realize that the document created by the certain operator has already been stored in the document storage means.
1, it is unclear whether the read document should be stored in the file storage means or whether it can be deleted. You can't do it unless you memorize it.
この様に、装置を使用するオペレータが、異なった場合
に、後から使用するオペレータは、文書記憶手段に既に
文書が記憶されていると、課ってその文書を削除してし
まったり、あるいはその文書に続けて自己の文書を作成
してしまったりするという問題があり、又、文書記憶手
段に文書が記憶されていたと気が付いた場合でも、取り
合えず登録行程に移行して文書をファイル記憶手段に記
憶させなければならないという煩わしさがあった。In this way, if the operator using the device is different, the operator who uses the device later may forcefully delete the document if it is already stored in the document storage means, or There is a problem of creating your own document following the document, and even if you realize that the document has been stored in the document storage device, you can't move on to the registration process and save the document to the file storage device. It was a hassle to have to memorize it.
そこで本発明は上記の課題を解決することを目的とし、
容易に文書記憶手段に文書が記憶されていることを知る
ことができ、又文書記憶手段に記憶された文書を容易に
ファイル名に結び付けて登録することができる文書作成
装置を提供することにある。Therefore, the present invention aims to solve the above problems,
To provide a document creation device capable of easily knowing that a document is stored in a document storage means and easily registering a document stored in a document storage means by linking it to a file name. .
[課題を解決するための手段]
かかる目的を達成すべく、本発明は課題を解決するため
の手段として次の構成を取った。即ち、=3−
=4
第1図に例示する如く、
入力手段M1からの入力データに応じて新たに作成され
た文書を記憶する文書記憶手段M2と、前記文書をファ
イル名と結び付けて記憶するファイル記憶手段M3とを
備え、前記入力手段M2からのファイル名の入力に応じ
てそのファイル名と前記文書記憶手段M2の記憶内容と
を結び付けて前記ファイル記憶手段M3に記憶させる登
録行程を有する文書作成装置において、前記文書記憶手
段M2に作成中の文書が記゛憶されていることを記憶す
る状態記憶手段M4と、前記装置起動直後に前記状態記
憶手段M4により前記文書記憶手段M2に作成中の文書
が記憶されていることが検出されたときには、前記登録
行程に自動的に移行する登録移行手段M5と、を備えた
ことを特撮とする文書作成装置の構成がそれである。[Means for Solving the Problems] In order to achieve the above object, the present invention has the following configuration as a means for solving the problems. That is, =3-=4 As illustrated in FIG. 1, there is a document storage means M2 that stores a newly created document according to input data from the input means M1, and a document storage means M2 that stores the document in association with a file name. a file storage means M3, and a document having a registration step of associating the file name with the storage content of the document storage means M2 in response to input of a file name from the input means M2 and storing it in the file storage means M3. In the creation device, a status storage device M4 stores information that a document being created is stored in the document storage device M2, and a state storage device M4 stores the document being created in the document storage device M2 by the status storage device M4 immediately after the device is started. This is the structure of the document creation device which is equipped with a registration transfer means M5 that automatically moves to the registration process when it is detected that the document is stored.
[作用コ
前記構成を有する文書作成装置は、文書記憶手段M2が
、入力手段M1からの入力データに応じて新たに作成さ
れた文書を記憶し、状態記憶手段M4が、文書記憶手段
M2に作成中の文書が記憶されていることを記憶し、登
録移行手段M5が、装置起動直後に状態記憶手段M4に
より文書記憶手段M2に作成中の文書が記憶されている
ことが検出されたときには、登録行程に自動的に移行し
て、ファイル記憶手段M3が、入力手段M1からのファ
イル名の入力に応じてそのファイル名と文書記憶手段M
2の記憶内容とを結び付けて記憶する。[Function] In the document creation device having the above configuration, the document storage means M2 stores a newly created document according to the input data from the input means M1, and the state storage means M4 stores the newly created document in the document storage means M2. When the registration transfer means M5 detects that the document being created is stored in the document storage means M2 by the status storage means M4 immediately after the device is started, the registration transfer means M5 registers the document stored in the document storage means M2. In response to the input of the file name from the input means M1, the file storage means M3 stores the file name and the document storage means M.
The memory contents of 2 are linked and stored.
[実施例コ 以下本発明の実施例を図面に基づいて詳細に説明する。[Example code] Embodiments of the present invention will be described in detail below based on the drawings.
第2図は本発明の一実施例である文書作成装置の概略構
成図である。この文書作成装置は、文字や編集指示等を
入力するための入力手段M1としてのキーボード1、文
字や図形を表示するデイスプレィ3、外部記録装置とし
てのフレキシブルディスクドライブ5、文字や図形をデ
イジ−ホイール型の活字を用いて印字するプリンタ7、
及びこれらの装置に接続され、文書ファイルや作成文書
の印刷等を行うための各種制御処理を実行する電子制御
装置10等から構成されている。FIG. 2 is a schematic configuration diagram of a document creation device that is an embodiment of the present invention. This document creation device includes a keyboard 1 as an input means M1 for inputting characters and editing instructions, a display 3 for displaying characters and figures, a flexible disk drive 5 as an external recording device, and a daisy wheel for inputting characters and figures. a printer 7 that prints using typefaces;
The electronic control unit 10 is connected to these devices and executes various control processes for printing document files and created documents.
電子制御装置10は、周知のCPUII、ROM12.
RAM14等を中心に論理演算回路として構成され、デ
イスプレィ3に表示する文字や図形のパターンデータを
記録するビデオRAM15、キーボード1からのキーデ
ータの入力を行うキーボード入力ボート16、フレキシ
ブルディスクドライブ5を制御してデータの読み取り・
書き込みを行うフレキシブルディスクドライブコントロ
ーラ18、プリンタ7への印字データの出力を行うプリ
ンタ出力ポート20等を備える。The electronic control device 10 includes a well-known CPU II, ROM 12.
It is configured as a logic operation circuit mainly including RAM 14, etc., and controls a video RAM 15 that records pattern data of characters and figures to be displayed on the display 3, a keyboard input board 16 that inputs key data from the keyboard 1, and a flexible disk drive 5. and read the data.
It includes a flexible disk drive controller 18 for writing, a printer output port 20 for outputting print data to the printer 7, and the like.
RAM14は、基本文書ファイルを記憶するテキストメ
モリ14a、文書ファイルをファイル名と結び付けて記
憶する複数のファイルメモリ14bを備え各種データを
書換え可能に記憶している。The RAM 14 includes a text memory 14a for storing basic document files, and a plurality of file memories 14b for storing document files in association with file names, and stores various data in a rewritable manner.
次にビデオRAM15は、所謂デュアルポートRAMの
構成を有し、CPUIIとは独立に設けられたデイスプ
レィコントローラ22によってもアクセスし得る構成と
されている。デイスプレィコントローラ22は、デイス
プレィ3の走査周波数によって定まる周期でビデオRA
M15の内容を繰り返し読み出し、これをデイスプレィ
3に表示する。従ってCPUII!こよりビデオRAM
l5の所定の領域に書き込まれたデータは、直ちにデイ
スプレィ3に表示される。Next, the video RAM 15 has a so-called dual port RAM configuration, and is configured to be accessible also by a display controller 22 provided independently of the CPU II. The display controller 22 controls the video RA at a period determined by the scanning frequency of the display 3.
The contents of M15 are repeatedly read out and displayed on the display 3. Therefore CPUII! Koyori video RAM
The data written in the predetermined area of 15 is immediately displayed on the display 3.
又キーボード1には、1〜9及び0の数字の入力を行う
ための数字キー30、文字入力を行うための文字キー3
1、改行やデータの確定入力を行うためのリターンキー
32、文書の作成、編集、印刷等の各種指令を行うだめ
の指示キー33、文書登録の指令を行うエンドキー34
、カーソルを移動させるためのカーソルキー35、装置
の電源を入り切りする電源スィッチ36が備えられてい
る。The keyboard 1 also includes numeric keys 30 for inputting numbers 1 to 9 and 0, and character keys 3 for inputting characters.
1. Return key 32 for entering line breaks and finalizing data; instruction key 33 for issuing various commands such as document creation, editing, and printing; and end key 34 for issuing document registration commands.
, a cursor key 35 for moving the cursor, and a power switch 36 for turning on and off the power of the device.
次に前述した電子制御装置10において行われる文書作
成ルーチンについて、第3図及び第4図のフローチャー
トによって説明する。本文書作成装置は、電源スィッチ
36が投入されると、本文書作成制御ルーチンを、他の
制御ルーチンと共に実行する。Next, a document creation routine performed in the electronic control device 10 described above will be explained with reference to flowcharts shown in FIGS. 3 and 4. When the power switch 36 is turned on, the document creation device executes the document creation control routine along with other control routines.
一
まず、後述する処理で、新たな文書が作成中であるとき
には1にセットされるファイル作成途中フラグFaが1
にセットされているか否かを判定する(ステップ100
、以下単に5100で表す。First, in the process described later, the file creation in progress flag Fa, which is set to 1 when a new document is being created, is set to 1.
is set (step 100).
, hereinafter simply expressed as 5100.
他のステップに付いても同じ。)。次に、ファイル名と
結び付けられて登録された既成の文書を作成中には1こ
こセットされる既成ファイルフラグFbを0にリセット
して(S 110)、デイスプレィ3に新たな文書を作
成するためのニューファイル作成画面を表示する(S1
20)。続いて、メモリスタートポインタに作成する文
書の最初のアドレスデータをセットして(S130)、
新たな文書作成中であることを示すファイル作成途中フ
ラグFaに1をセットしくS 140)、キー入力があ
ったことを示すキーインフラグFinを0にリセットす
る(S150)。The same goes for other steps. ). Next, the existing file flag Fb, which is set to 1 while creating an existing document that is registered in conjunction with the file name, is reset to 0 (S110), and a new document is created on the display 3. Display the new file creation screen (S1
20). Next, the first address data of the document to be created is set in the memory start pointer (S130).
The file creation flag Fa, which indicates that a new document is being created, is set to 1 (S140), and the key flag Fin, which indicates that a key input has been made, is reset to 0 (S150).
次に、デイスプレィ3に何かのデータが表示されてテキ
ストメモリ14aにデータが有るか否かを判定しくS
160)、データが有れば、キーインフラグF団に1を
セットする(S170)。又、データがなけれは、51
70の処理を実行することなく、何れかのキー入力があ
ったか否かを判定しく9180)、キー入力があるまで
待機する。Next, some data is displayed on the display 3 and it is necessary to judge whether or not there is data in the text memory 14a.
160), if there is data, set 1 to key infrag group F (S170). Also, if there is no data, 51
Instead of executing the process 70, it is determined whether or not any key input has been made (9180), and the process waits until there is a key input.
キー入力があると、改行が行われたか否かを、リターン
キー32が押下されたか、あるいは、いわゆるオートリ
ターン若しくはワードラップ処理が行われて改行された
かにより判定しくS 190)、改行が行われていない
と、エンドキー34が押下されたか否かを判定する(S
200)。キー入力がエンドキー34の入力でないと、
そのキー入力にしたがって、その処理を実行する(S2
10)。When a key is input, it is determined whether a line feed has been performed or not depending on whether the return key 32 has been pressed or whether a line feed has been performed by so-called auto return or word wrap processing (S190), and a line feed has been performed. If not, it is determined whether the end key 34 has been pressed (S
200). If the key input is not the end key 34 input,
The process is executed according to the key input (S2
10).
例えば、そのキー入力が文字キー31であると、入力さ
れた文字キー310文字をデイスプレィ3上のカーソル
の位置に表示して、カーソルを1文字分移動する処理を
実行する。続いて、8180〜210の処理を繰り返し
実行して、オペレータにより入力される文字キー31、
数字キー30等のキー入力にしたがって、文書が作成さ
れる。For example, if the key input is the character key 31, the inputted character key 310 characters are displayed at the cursor position on the display 3, and the cursor is moved by one character. Subsequently, the processes 8180 to 210 are repeatedly executed to control the character keys 31 input by the operator.
A document is created according to key inputs such as the numeric keys 30.
又、5180〜210の処理を繰り返し実行して、行末
乙こなり、リターンキー32が押下されて改行されると
(S 190)、テキストメモリ14aに作成した1行
分のデータを格納する(S220)。次tz メモリ
エンドポインタにこの行の最後のアドレスデータをセッ
トする(S 230)。Further, by repeatedly executing the processes from 5180 to 210, when the end of the line is reached and the return key 32 is pressed to start a new line (S190), the data for one line created in the text memory 14a is stored (S220). ). Next tz The last address data of this line is set in the memory end pointer (S230).
そして、キー入力があったことを示すキーインフラグF
団に1をセットする(S240)。こうして、前記81
80〜240の処理が繰り返し実行されて、キー入力に
応じて新たに作成された文書がテキストメモリ14aに
記憶される。このテキストメモリ14aに記憶される文
書は、新たに作成中の文書であり、まだファイル名は入
力されておらず、ファイル名と結び付けられずに記憶さ
れている。この5180〜240の処理が繰り返し実行
されているときに、電源スィッチ36がオフされると、
本制御ルーチンを一旦終了するが、作成中の文書は、そ
の状態でテキストメモリ14aに記憶されている。Then, the key in flag F indicating that there was a key input
The group is set to 1 (S240). In this way, said 81
The processes 80 to 240 are repeatedly executed, and a newly created document in response to the key input is stored in the text memory 14a. The document stored in the text memory 14a is a newly created document, no file name has been input yet, and the document is stored without being associated with a file name. When the power switch 36 is turned off while the processes 5180 to 240 are being repeatedly executed,
Although this control routine is once terminated, the document being created is still stored in the text memory 14a.
一方、新たな文書の作成ではなく、既にファイル名が登
録されている既成の文書に、更に文書を追加、あるいは
訂正をするときには、電源スィッチを投入後に、まず、
エンドキー34を押下する。On the other hand, when adding or making corrections to an existing document whose file name has already been registered, instead of creating a new document, first, after turning on the power switch,
Press the end key 34.
これにより、5210,220〜240の処理が実行さ
れることなく、エンドキー34が押下されたと判定され
(S200)、キーインフラグFinが1ではないと判
定されて(S250)、デイスプレィ3にファイル名の
インデックス画面を表示する(S 260)。次に、オ
ペレータにより新たなファイルが選択されたときには(
S 270)、前記8110以下の処理を同様に実行す
る。又、オペレータにより既成ファイル名が選択される
と(9280)、既成ファイルにより文書を作成してい
ることを示す既成ファイルフラグFbに1をセットして
(S290)、選択された既成ファイル名に結び付けら
れた文書をファイルメモリ14bから読みだしてデイス
プレィ3に表示する(S300)。続いて、前記815
0以下の処理を繰り返し実行して、5170の処理の実
行によりキーインフラグFinに1がセットされて文書
の追加、訂正が行われる。As a result, it is determined that the end key 34 has been pressed (S200), the key in flag Fin is determined not to be 1 (S250), and the file name is displayed on the display 3 without executing the processes 5210, 220 to 240. The index screen is displayed (S260). Then, when a new file is selected by the operator (
S270), the processes from 8110 onwards are executed in the same way. Further, when a ready-made file name is selected by the operator (9280), a ready-made file flag Fb indicating that a document is created using a ready-made file is set to 1 (S290), and is linked to the selected ready-made file name. The read document is read from the file memory 14b and displayed on the display 3 (S300). Subsequently, the above 815
The processes 0 and below are repeatedly executed, and by executing the process 5170, 1 is set in the key infrastructure flag Fin, and the document is added and corrected.
又、新たなファイルの選択でもなく (S270)、既
成ファイルの選択でもないときには(8280)、キー
入力乞こ応じた他の処理を実行してから(S310)、
前記8260以下の処理を繰り返し実行する。Also, if a new file is not selected (S270) or an existing file is not selected (8280), other processing is executed in response to the key input request (S310).
The processing from 8260 onwards is repeatedly executed.
この様に、新たな文書が作成されて、若しくは登録済み
の既成の文書を訂正、文書の追加されて文書が作成され
て、文書の作成が完了した後、文書のファイル名に応じ
て登録するために、エンドキー34が押下されると(S
200)、キーインフラグFinが1にセットされてい
るので、以下の登録行程に移行し、既に同じファイル名
が登録されているか否かが判定される(S320)。同
じファイル名がないときには、新たに作成された文書で
あると判定して、ファイル名入力モードに移行して、デ
イスプレィ3上にファイル名入力のための表示をする(
S330)。次に、キー入力があったか否かを判定して
(S340)、キー入力があったときには、その入力が
数字キー30、文字キー31で有るか否かを判定する(
S350)。In this way, a new document is created, a registered existing document is corrected, a document is added, a document is created, and after the creation of the document is completed, it is registered according to the file name of the document. Therefore, when the end key 34 is pressed (S
200), since the key flag Fin is set to 1, the process moves to the following registration step, and it is determined whether the same file name has already been registered (S320). If there is no file with the same name, it is determined that it is a newly created document, moves to file name input mode, and displays a file name input screen on display 3 (
S330). Next, it is determined whether there is a key input (S340), and if there is a key input, it is determined whether the input is from the numeric keys 30 or character keys 31 (S340).
S350).
数字キー30、文字キー31の入力があったときむこは
、その入力ここ応じたファイル名がセラI・される(3
360)。When a number key 30 or a letter key 31 is input, the file name corresponding to the input is displayed (3
360).
ファイル名のセットが完了して、リターンキー32が押
下されると(S370)、前記入力されたファイル名に
応じてそのファイル名と文書とを結び付けてファイルメ
モリ14bに記憶して文書を登録する(S390)。次
に、文書の作成を一応完了したとしてファイル作成途中
フラグFaをクリアする(S400)。When the setting of the file name is completed and the return key 32 is pressed (S370), the file name and document are associated according to the input file name and stored in the file memory 14b to register the document. (S390). Next, it is assumed that the document creation has been completed, and the file creation in progress flag Fa is cleared (S400).
一方、前記5320において、既に同じファイル名があ
ると判定されると、追加、訂正されて作成された文書を
、−旦アドレスの若い順に並べ直して整理し、同じファ
イル名と結び付けてファイルメモリ14bに記憶して、
文書を登録する(S410)。On the other hand, if it is determined in step 5320 that a file with the same name already exists, the added, corrected and created documents are rearranged and rearranged in descending order of address, and are associated with the same file name in the file memory 14b. memorize it,
The document is registered (S410).
こうして、作成された新たな文書や、追加、訂正された
文書が、そのファイル名と結び付けられてファイルメモ
リ14bに記憶されて、文書が登録される。この文書の
登録が終了すると、前記8260以下の処理が繰り返し
実行されて、ディスプレイ3ζこインデックス画面が表
示されて、オペレータに新たな文書を作成するのか、既
成の文書に更に文書を追加あるいは訂正するのかの選択
が促される(S270,280)。オペレータによりい
ずれかの選択が行われると、前述した処理を繰り返し実
行して、文書が作成されてRAM14に記憶される。又
、オペレータにより電源スィッチ36がオフされると、
文書作成制御ルーチンの実行を一旦終了する。In this way, the created new document, added or corrected document is stored in the file memory 14b in association with its file name, and the document is registered. When the registration of this document is completed, the processes from 8260 onward are repeatedly executed, and the display 3 index screen is displayed to prompt the operator to create a new document, add or correct an existing document. The user is prompted to select one (S270, 280). When the operator makes one of the selections, the above-described process is repeatedly executed to create a document and store it in the RAM 14. Further, when the power switch 36 is turned off by the operator,
Execution of the document creation control routine is temporarily ended.
一方、前述した如く、ファイル名が入力されることなく
新たな文書が作成されているときには、8180〜24
0の処理が繰り返し実行されて、その作成中の文書は、
テキストファイル14aに記憶さている。この状態で、
オペレータにより、エンドキー34が押下されることな
く、即ち、8250以下の処理を実行することなく、電
源スィッチ36がオフされると、本文書作成制御ルーチ
ンは一旦終了する。この時、作成途中の文書は、テキス
トファイル14aに記憶されており、又、ファイル名の
登録が行われていないので(S390.400)、ファ
イル作成途中フラグFaは1にセットされた状態のまま
である。On the other hand, as mentioned above, when a new document is created without a file name being input, 8180-24
0 process is executed repeatedly, and the document being created is
It is stored in the text file 14a. In this state,
When the operator turns off the power switch 36 without pressing the end key 34, that is, without executing the processes below 8250, the document creation control routine ends once. At this time, the document being created is stored in the text file 14a, and the file name has not been registered (S390.400), so the file creation halfway flag Fa remains set to 1. It is.
よって、この状態で、再び電源スィッチ36が投入され
ると、本文書作成制御ルーチンを実行し、5100にお
いて、ファイル作成途中フラグPaが1にセットされて
いると判定して、8320以下の処理を実行する。即ち
、前述した如く、登録行程に移行して、テキストファイ
ル14aに作成中の文書が記憶されていることをオペレ
ータに報知する。5320では、新たに作成された文書
であると判定して、ファイル名入力モードに移行して、
デイスプレィ3上にファイル名入力のための表示をする
(S330)。次に、前述した如く、キー入力に応じて
ファイル名がセットされ(5340〜360)、リター
ンキー32が押下されると(S370)、前記入力され
たファイル名に応じてそのファイル名と文書とを結び付
けてファイルメモリ14bに記憶して文書を登録する(
S390)。次に、登録を完了したとしてファイル作成
途中フラグFaをクリアする(S400)。Therefore, when the power switch 36 is turned on again in this state, the main document creation control routine is executed, and in 5100, it is determined that the file creation in progress flag Pa is set to 1, and the processing from 8320 onwards is executed. Execute. That is, as described above, the process moves to the registration process, and the operator is notified that the document being created is stored in the text file 14a. In step 5320, it is determined that the document is newly created, and the file name input mode is entered.
A display for inputting a file name is displayed on the display 3 (S330). Next, as described above, the file name is set according to the key input (5340-360), and when the return key 32 is pressed (S370), the file name and document are set according to the input file name. , and store it in the file memory 14b to register the document (
S390). Next, it is assumed that the registration has been completed and the file creation in progress flag Fa is cleared (S400).
尚、5180〜240の処理及びテキストメモリ14a
が文書記憶手段M2として働き、3180〜240,3
30〜390の処理及びファイルメモリ14bがファイ
ル記憶手段M3として働き、5140,400の処理が
状態記憶手段M4として働き、5100の処理が登録移
行手段M5として働く。In addition, the processing of 5180 to 240 and the text memory 14a
serves as the document storage means M2, and 3180 to 240,3
The processes 30 to 390 and the file memory 14b function as file storage means M3, the processes 5140 and 400 function as state storage means M4, and the processes 5100 function as registration transfer means M5.
この様に、本実施例の文書作成装置は、オペレータによ
る作成途中の新たな文書がある時には、ファイル作成途
中フラグFaを1にセットし、作成中の文書をテキスト
ファイル14aに記憶し、電源スィッチ36がオフされ
たときには、ファイル作成途中フラグFaを1にセット
した状態で、記憶している。オペレータにより再度電源
スィッチ36が投入された起動直後に、ファイル作成途
中フラグFinに1がセットされているか否かを判定し
て、セットされているときには、作成途中の文書がある
と判定して、自動的にファイル名と作成している文書と
を結び付けて登録する登録行程に移行する。In this manner, when there is a new document being created by the operator, the document creation device of this embodiment sets the file creation in progress flag Fa to 1, stores the document being created in the text file 14a, and turns on the power switch. 36 is turned off, the file creation in progress flag Fa is set to 1 and stored. Immediately after startup when the power switch 36 is turned on again by the operator, it is determined whether or not the file creation in progress flag Fin is set to 1, and if it is set, it is determined that there is a document in the process of creation, The process moves to a registration process that automatically associates and registers the file name with the document being created.
従って、オペレータは、再度電源スィッチ36を投入し
て起動した直後に、ファイル名を登録する画面が表示さ
れるので、テキストファイル14a内に作成途中の文書
が記憶されていることを知ることができる。よって、文
書作成途中で電源スィッチ36をオフしたオペレータと
、その後に電源スィッチ36を投入したオペレータとが
別人であっても、後からのオペレータは、容易に作成途
中の文書がテキストファイル14aに記憶されているこ
とを知ることができ、その作成途中の文書をi4って削
除したり、誤ってその作成途中の文書に別の文書を続け
て入力してしまうことを防止できる。更に、その作成途
中の文書がある時には、登録行程に移行しているので、
そのままファイル名を入力して作成途中の文書を登録し
、次に、新たな文書を作成するのか、既成の文書を使用
するのかを選択して、自己の文書作成作業を実行すると
とができる。Therefore, immediately after the operator turns on the power switch 36 again and starts up, a screen for registering a file name is displayed, so that the operator can know that a document that is being created is stored in the text file 14a. . Therefore, even if the operator who turned off the power switch 36 in the middle of document creation and the operator who turned on the power switch 36 afterwards are different people, a subsequent operator can easily store the document being created in the text file 14a. It is possible to prevent the user from deleting a document that is currently being created using i4, or from accidentally inputting another document following the document that is currently being created. Furthermore, when there is a document in the process of being created, it is moved to the registration process, so
You can register the document you are currently creating by inputting the file name as is, then select whether to create a new document or use an existing document to create your own document.
以上本発明の実施例について説明したが、本発明はこの
様な実施例に何等限定されるものではなく、本発明の要
旨を逸脱しない範囲において種々なる態様で実施し得る
ことは勿論である。Although the embodiments of the present invention have been described above, the present invention is not limited to these embodiments in any way, and it goes without saying that it can be implemented in various forms without departing from the gist of the present invention.
[発明の効果]
以上詳述したように本発明の文書作成装置は、作成途中
の文書が記憶されていることを検出することができるの
で、装置起動直後に、作成途中の文書があるときには、
登録行程に自動的に移行して、オペレータに作成途中の
文書があることを報知する。よって、オペし−9が誤っ
て作成途中の文書を削除したり、誤ってその文書に続け
て別の文書を作成したりすることを防止するという効果
を奏する。又、登録行程に移行しているので、オペレー
タはそのままファイル名を入力して文書を登録すること
ができ、操作が容易となるという効果も奏する。[Effects of the Invention] As detailed above, the document creation device of the present invention can detect that a document that is being created is stored.
Automatically moves to the registration process and notifies the operator that there is a document being created. Therefore, it is possible to prevent the operator 9 from accidentally deleting a document that is in the process of being created, or from accidentally creating another document following that document. Furthermore, since the process has moved on to the registration process, the operator can register the document by inputting the file name as is, which has the effect of making the operation easier.
第1図は本発明の基本的構成を例示するブロック図、第
2図は本実施例の文書作成装置の概略構成図、第3図及
び第4図は本実施例の電子制御装置において行われる制
御ルーチンの一例を示すフローチャートである。
Ml−・・入力手段 M2・・−文書記憶手段M
3・・・ファイル記″憶手段
M4・・・状態記憶手段
1・・・キーボード
14a・・・テキストメモリ
14b・・−ファイルメモリ
30−・・数字キー
34−・・エンドキーFIG. 1 is a block diagram illustrating the basic configuration of the present invention, FIG. 2 is a schematic configuration diagram of the document creation device of this embodiment, and FIGS. 3 is a flowchart showing an example of a control routine. Ml--Input means M2--Document storage means M
3...File storage means M4...Status storage means 1...Keyboard 14a...Text memory 14b...-File memory 30--Numeric keys 34--End key
Claims (1)
書を記憶する文書記憶手段と、前記文書をファイル名と
結び付けて記憶するファイル記憶手段とを備え、前記入
力手段からのファイル名の入力に応じてそのファイル名
と前記文書記憶手段の記憶内容とを結び付けて前記ファ
イル記憶手段に記憶させる登録行程を有する文書作成装
置において、 前記文書記憶手段に作成中の文書が記憶されていること
を記憶する状態記憶手段と、 前記装置起動直後に前記状態記憶手段により前記文書記
憶手段に作成中の文書が記憶されていることが検出され
たときには、前記登録行程に自動的に移行する登録移行
手段と、 を備えたことを特徴とする文書作成装置。[Scope of Claims] Document storage means for storing a newly created document in accordance with input data from the input means; and file storage means for storing the document in association with a file name; In the document creation device, the document creation device has a registration step of associating the file name with the storage contents of the document storage means in response to an input of a file name and storing the result in the file storage means, wherein the document being created is stored in the document storage means. a state storage means for storing a document being created in the document storage means immediately after the apparatus is started up; A document creation device comprising: a registration transfer means for transferring;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63178533A JPH0228759A (en) | 1988-07-18 | 1988-07-18 | Document generating device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63178533A JPH0228759A (en) | 1988-07-18 | 1988-07-18 | Document generating device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0228759A true JPH0228759A (en) | 1990-01-30 |
Family
ID=16050136
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63178533A Pending JPH0228759A (en) | 1988-07-18 | 1988-07-18 | Document generating device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0228759A (en) |
-
1988
- 1988-07-18 JP JP63178533A patent/JPH0228759A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS60189568A (en) | Information processor | |
| JPS6289989A (en) | Document generator | |
| JPH0228759A (en) | Document generating device | |
| US4934851A (en) | Text processing system including plural text and corresponding memories | |
| JPH0437951A (en) | document processing device | |
| JPS63126775A (en) | document editing device | |
| JPH0330977A (en) | Page printer control system | |
| JPH0522933B2 (en) | ||
| JP2606303B2 (en) | Data setting device | |
| JPH07182320A (en) | Character processor | |
| JPH0521159Y2 (en) | ||
| JPH0245218B2 (en) | ||
| JPH0373374A (en) | Image forming device | |
| JP2773731B2 (en) | Keyboard device | |
| JPS63293669A (en) | character processing device | |
| JPS59135582A (en) | Idle feed control system of printer for sentence processor | |
| JPH0512276A (en) | Document processor | |
| JP2778740B2 (en) | Document creation device | |
| JPH03136164A (en) | Method and system for document processing | |
| JPH0422653A (en) | printing device | |
| JPS61286925A (en) | Document forming device | |
| JPH033068A (en) | Word processor | |
| JPH076166A (en) | How to set the document format | |
| JPH0589132A (en) | Document creation device | |
| JPH07152743A (en) | Layout preparing device |